/* TopChatPages.com main stylesheet */

/* =========================================================
   VARIABLES / RESET
========================================================= */

:root {
    --navy: #08163f;
    --navy-2: #0f235c;
    --purple: #713cff;
    --purple-2: #9b6cff;
    --teal: #16c6b7;
    --cyan: #36b9e8;
    --ink: #121a34;
    --muted: #66708a;
    --line: #e8ebf4;
    --soft: #f7f8fd;
    --soft-purple: #f3f0ff;
    --soft-teal: #eefcf9;
    --white: #fff;
    --gold: #ffb11b;
    --shadow: 0 24px 70px rgba(21, 30, 72, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 22, 63, .97);
    backdrop-filter: blur(12px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -.6px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(113, 60, 255, .35);
}

.logo-mark span {
    font-size: 18px;
    line-height: 1;
}

.logo b {
    color: #fff;
}

.logo em {
    font-style: normal;
    color: #9f82ff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    color: #dce3ff;
    transition: .2s ease;
}

.nav a:hover,
.nav a.active {
    color: #fff;
}

.nav a.active {
    position: relative;
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--purple));
    border-radius: 99px;
}

.lang {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dce3ff;
}

/* =========================================================
   HEADER LOGO RESPONSIVE
========================================================= */

/* Desktop / large tablet */
@media (max-width: 980px) {

    .logo {
        font-size: 29px;
        gap: 10px;
    }

    .logo-mark {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
    }

}


/* When desktop menu changes to mobile menu */
@media (max-width: 780px) {

    .logo {
        font-size: 27px;
        gap: 9px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

}


/* Smaller phones */
@media (max-width: 520px) {

    .logo {
        font-size: clamp(21px, 5.5vw, 25px);
        gap: clamp(6px, 1.8vw, 8px);
    }

    .logo-mark {
        width: clamp(29px, 8vw, 33px);
        height: clamp(29px, 8vw, 33px);
        flex: 0 0 clamp(29px, 8vw, 33px);
    }

}


/* Very small phones - keep shrinking smoothly */
@media (max-width: 360px) {

    .logo {
        min-width: 0;

        font-size: clamp(14px, 5.5vw, 20px);
        gap: clamp(4px, 1.8vw, 7px);

        letter-spacing: clamp(-0.6px, -0.15vw, -0.2px);

        white-space: nowrap;
    }

    .logo-mark {
        width: clamp(24px, 8vw, 30px);
        height: clamp(24px, 8vw, 30px);
        flex: 0 0 clamp(24px, 8vw, 30px);
    }

}

/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff 0%,
            #fbfaff 48%,
            #f0edff 100%
        );

    padding: 58px 0 46px;
}


/* Background glow */

.hero::after {
    content: "";

    position: absolute;

    left: -10%;
    right: -10%;
    bottom: -90px;

    height: 190px;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(113, 60, 255, .13),
            transparent 38%
        ),
        radial-gradient(
            circle at 65% 10%,
            rgba(22, 198, 183, .10),
            transparent 35%
        );

    filter: blur(2px);

    pointer-events: none;
}


/* =========================================================
   HERO INTRO
========================================================= */

.hero-intro {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 1080px;

    margin-bottom: 48px;
}


.hero-intro h1 {
    margin: 0 0 7px;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    width: 100%;
    max-width: 100%;

    font-size: clamp(18px, 7vw, 94px);

    font-weight: 900;

    line-height: .94;

    letter-spacing: clamp(-4px, -0.3vw, -1px);

    color: #111a3c;

    white-space: nowrap;
}


.hero-intro h1 span {
    color: var(--purple);
}


.hero-intro .hero-copy {
    width: 100%;
    max-width: 1080px;

    margin: 0;

    color: #4d5775;

    font-size: clamp(10px, 2vw, 26px);

    font-weight: 800;

    line-height: 1.42;

    letter-spacing: clamp(-0.45px, -0.05vw, -0.1px);

    text-transform: uppercase;

    white-space: normal;
}

.hero-intro .hero-copy strong {
    color: #5530d3;
}


/* =========================================================
   HERO SHOWCASE
   LEFT VISUAL + RIGHT RANKING
========================================================= */

.hero-showcase {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(270px, .72fr)
        minmax(0, 1.45fr);

    gap: clamp(32px, 5vw, 66px);

    align-items: center;
}


/* =========================================================
   LEFT VISUAL
========================================================= */

.hero-visual {
    position: relative;

    width: 100%;
    min-width: 0;
    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}

.hero-visual-image {
    display: block;

    width: min(100%, 470px);
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

/* =========================================================
   RANKING INSIDE HERO
========================================================= */

.hero-showcase .rank-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}


/* =========================================================
   HERO BENEFITS
========================================================= */

.hero > .container > .hero-points {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 40px;
}


.point {
    padding: 14px 0;
}


.point-icon {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    margin-bottom: 10px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #eee9ff,
            #e2fbf7
        );

    font-size: 22px;
}


.point strong {
    display: block;

    font-size: 13px;
}


.point span {
    display: block;

    margin-top: 4px;

    color: #77809a;

    font-size: 12px;
}


/* =========================================================
   RANKING CARD
========================================================= */

.rank-card {
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #ebe8ff;
}

.rank-head {
    padding: 22px 24px 18px;
    background: linear-gradient(135deg, #4f28c6, #7a43f0);
    color: #fff;
}

.rank-head h2 {
    margin: 0;
    font-size: 23px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-head p {
    margin: 4px 0 0;
    color: #e4dbff;
    font-size: 13px;
}

.rank-table-head {
    display: grid;
    grid-template-columns: 44px 1fr 170px 96px;
    gap: 10px;
    padding: 10px 20px;
    background: #101f54;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.rank-scroll {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a69abf #f4f2fb;
}

.rank-scroll::-webkit-scrollbar {
    width: 9px;
}

.rank-scroll::-webkit-scrollbar-track {
    background: #f4f2fb;
}

.rank-scroll::-webkit-scrollbar-thumb {
    background: #a69abf;
    border-radius: 99px;
    border: 2px solid #f4f2fb;
}

.rank-row {
    display: grid;
    grid-template-columns: 44px 1fr 170px 96px;
    gap: 10px;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid #edf0f7;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.rank-row:hover {
    background: #faf9ff;
}

.rank-num {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #f0edff;
    color: #6041c2;
    font-size: 12px;
    font-weight: 900;
}

.site-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
}

.site-logo {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}

.stars {
    white-space: nowrap;
}

.star {
    font-size: 18px;
    letter-spacing: 1px;
}

.star.full {
    color: var(--gold);
}

.star.empty {
    color: #d8dce6;
}

.star.half {
    color: var(--gold);
    opacity: .72;
}

.votes {
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    color: #27304a;
}

.rank-foot {
    padding: 11px 18px;
    background: #4d2bbb;
    color: #dfd7ff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

.rank-empty {
    padding: 30px;
    text-align: center;
    color: #77809a;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.section {
    padding: 72px 0;
}

.section.alt {
    background: linear-gradient(90deg, #f6f4ff, #f4fbff);
}

.section.mint {
    background: linear-gradient(90deg, #effcf9, #f8fffe);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split.reverse .art {
    order: 2;
}

.copy h2 {
    font-size: 34px;
    line-height: 1.12;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.copy p {
    margin: 0;
    color: #68718a;
    font-size: 16px;
    max-width: 560px;
}

.art {
    min-height: 270px;
    display: grid;
    place-items: center;
}

.illustration {
    width: min(340px, 100%);
    aspect-ratio: 1.25;
    border-radius: 36px;
    background: linear-gradient(145deg, #eeeaff, #e8fffb);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.illustration::before,
.illustration::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.illustration::before {
    width: 150px;
    height: 150px;
    background: rgba(113, 60, 255, .12);
    top: -40px;
    right: -20px;
}

.illustration::after {
    width: 110px;
    height: 110px;
    background: rgba(22, 198, 183, .16);
    bottom: -30px;
    left: -20px;
}

.emoji-art {
    position: relative;
    z-index: 1;
    font-size: 96px;
    filter: drop-shadow(0 16px 16px rgba(31, 44, 96, .14));
}

.badge-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #7b849c;
    font-size: 13px;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 6px rgba(22, 198, 183, .12);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 54px 0;
    background: linear-gradient(120deg, #071437, #14266b 55%, #4b27ad);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin: 0 0 8px;
}

.cta p {
    margin: 0 0 22px;
    color: #cad4ff;
}

.cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 13px;
    background: linear-gradient(90deg, #8e4eff, #6a36e8);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(113, 60, 255, .35);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #071437;
    color: #cbd5f5;
    padding: 62px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr 1fr;
    gap: 42px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 14px;
}

.site-footer h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    max-width: 360px;
    color: #9da9cb;
    font-size: 14px;
}

.site-footer a:not(.footer-logo) {
    display: block;
    color: #aeb9d9;
    font-size: 14px;
    margin: 8px 0;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    margin-top: 42px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: #7f8aab;
}


@media (max-width: 980px) {

    .split {
        grid-template-columns: 1fr;
    }

    .copy {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .badge-line {
        justify-content: center;
    }

    .hero-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-intro {
        margin-bottom: 34px;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        padding-top: 46px;
    }

    .split.reverse .art {
        order: 0;
    }

    .section {
        padding: 56px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .hero-points {
        grid-template-columns: 1fr;
    }

    .rank-card {
        border-radius: 18px;
    }

    .copy h2 {
        font-size: 29px;
    }

    .section {
        padding: 46px 0;
    }

    .illustration {
        width: 280px;
        min-height: 220px;
    }

    .emoji-art {
        font-size: 76px;
    }

}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.site-logo-image {
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.site-logo-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.site-name-text {
    min-width: 0;
}

/* =========================================================
   CHAT SITE DETAIL PAGE
========================================================= */

.chat-site-page { background:#fff; }
.embed-section { background:#111; }
.embed-wrap { width:100%; height:min(620px,70vh); background:#000; }
.embed-wrap iframe { display:block; width:100%; height:100%; border:0; }

.site-intro { padding:64px 0; background:#fff; }
.site-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.site-summary {
    padding-left: 18px;
}

.site-summary h1 {
    margin: 0 0 18px;

    font-size: 36px;
    line-height: 1.13;
    letter-spacing: -1px;
}

.site-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0 0 14px;
}

.site-rating-stars .star {
    font-size: 39px;
    letter-spacing: -1.5px;
}

.site-rating-number {
    font-size: 21px;
    font-weight: 850;

    white-space: nowrap;
}

.age-note { margin:0 0 14px; color:#8b92a5; font-size:14px; }

.site-primary-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:4px 0 22px;
    padding:12px 18px;
    border-radius:7px;
    background:linear-gradient(90deg,var(--cyan),#27c6df);
    color:#fff;
    font-size:14px;
    font-weight:800;
    transition:transform .18s ease,box-shadow .18s ease;
}

.site-primary-button:hover {
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(54,185,232,.22);
}

.site-lead {
    margin:0;
    max-width: 100%;
    color:#7b8294;
    font-size:22px;
    line-height:1.65;
}

.featured-sites h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
}

.featured-sites-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    border-top:1px dashed #cfd4df;
    border-left:1px dashed #cfd4df;
}

    .featured-site-link {
        min-height: 96px;
    
        display: flex;
        align-items: center;
    
        gap: 22px;
    
        padding: 20px 30px;
    
        border-right: 1px dashed #cfd4df;
        border-bottom: 1px dashed #cfd4df;
    
        font-size: 20px;
        font-weight: 800;
    
        background: #fff;
    
        transition: background .18s ease;
    }

.featured-site-link:hover { background:#f8f9fd; }

.featured-site-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.featured-site-icon-image {
    background:transparent;
    overflow:hidden;
}

.featured-site-icon-image img {
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

.featured-site-icon-fallback {
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.chat-info-section { padding:68px 0; }
.chat-info-section.alt { background:#f5f5f6; }

.chat-info-grid {
    display:grid;
    grid-template-columns:.62fr 1.38fr;
    gap:72px;
    align-items:center;
}

.chat-info-grid.reverse { grid-template-columns:1.38fr .62fr; }
.chat-info-grid.reverse .chat-info-art { order:2; }

.chat-info-copy h2 {
    margin:0 0 16px;
    font-size:31px;
    line-height:1.18;
    letter-spacing:-.8px;
}

.chat-question-copy h2 { margin-bottom:24px; }

.chat-info-copy p {
    margin:0;
    color:#7a8190;
    font-size:15px;
    line-height:1.75;
}

.chat-info-art {
    display:grid;
    place-items:center;
    min-height:210px;
}

.chat-info-icon {
    width:180px;
    height:180px;
    border-radius:38px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#edf7fb,#e9e7ff);
    color:var(--cyan);
    font-size:58px;
    font-weight:900;
    border:5px solid #555b64;
    box-shadow:0 14px 34px rgba(25,35,75,.08);
}

.chat-steps { margin:12px 0 14px 20px; padding:0; }
.chat-steps li { margin:6px 0; }

@media (max-width: 980px) {

    .site-intro-grid,
    .chat-info-grid,
    .chat-info-grid.reverse {
        grid-template-columns: 1fr;
    }

    .site-summary {
        width: 100%;
        min-width: 0;
        padding-left: 0;
    }

    .chat-info-grid.reverse .chat-info-art {
        order: 0;
    }


    /* INTRO */

    .site-intro {
        padding: clamp(36px, 5vw, 58px) 0;
    }


    /* H1 - gets smaller continuously */

    .site-summary h1 {
        margin: 0 0 clamp(12px, 2vw, 18px);

        font-size: clamp(28px, 4.5vw, 36px);
        line-height: 1.12;
        letter-spacing: clamp(-1px, -0.1vw, -0.5px);

        max-width: 100%;
        overflow-wrap: anywhere;
    }


    /* RATING */

    .site-rating-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-width: 0;

        gap: clamp(6px, 1.8vw, 18px);

        margin-bottom: clamp(14px, 2vw, 20px);
    }

    .site-rating-stars {
        display: flex;
        align-items: center;

        min-width: 0;

        white-space: nowrap;
    }

    .site-rating-stars .star {
        font-size: clamp(40px, 6.2vw, 58px);
        letter-spacing: clamp(-2.5px, -0.3vw, -1.6px);
    }
    
    .site-rating-number {
        min-width: 0;
    
        font-size: clamp(22px, 3.4vw, 32px);
        font-weight: 900;
    
        white-space: nowrap;
    
        text-align: right;
    }


    /* BUTTON */

    .site-primary-button {
        display: flex;
    
        width: fit-content;
        max-width: 100%;
    
        margin:
            4px
            auto
            clamp(16px, 2.5vw, 24px);
    
        padding:
            clamp(10px, 1.8vw, 16px)
            clamp(16px, 3vw, 28px);
    
        font-size: clamp(13px, 2.2vw, 19px);
        font-weight: 850;
    
        white-space: normal;
    
        text-align: center;
        justify-content: center;
    
        border-radius: clamp(7px, 1.2vw, 10px);
    }


    /* MAIN PARAGRAPH - gets smaller continuously */

    .site-lead {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    
        margin-bottom: clamp(6px, 1vw, 10px);
    
        font-size: clamp(15px, 2.1vw, 21px);
        line-height: 1.6;
    
        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* FEATURED SITES */

    .featured-sites {
        min-width: 0;
    
        margin-top: clamp(4px, 1vw, 8px);
    }
    
    .featured-sites h2 {
        width: 100%;
        max-width: 100%;
    
        margin: 0 0 clamp(12px, 2vw, 18px);
    
        font-size: clamp(20px, 3.5vw, 32px);
        line-height: 1.15;
        font-weight: 850;
    
        white-space: nowrap;
        overflow-wrap: normal;
    }
    
    .featured-sites-grid {
        display: grid;
    
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    
        width: 100%;
        min-width: 0;
    }
    
    .featured-site-link {
        min-width: 0;
    
        min-height: clamp(70px, 10vw, 90px);
    
        display: flex;
        align-items: center;
    
        gap: clamp(12px, 2vw, 20px);
    
        padding:
            clamp(13px, 2vw, 19px)
            clamp(16px, 3vw, 28px);
    
        font-size: clamp(16px, 2.2vw, 19px);
        line-height: 1.15;
    
        overflow: hidden;
    }
    
    .featured-site-icon {
        width: clamp(32px, 4.5vw, 40px);
        height: clamp(32px, 4.5vw, 40px);
    
        flex: 0 0 clamp(32px, 4.5vw, 40px);
    }
    
    .featured-site-link > span:last-child {
        min-width: 0;
    
        font-size: inherit;
        line-height: 1.15;
    
        white-space: normal;
    
        overflow-wrap: anywhere;
    }

    /* LOWER CONTENT */

    .chat-info-section {
        padding: clamp(40px, 6vw, 62px) 0;
    }

    .chat-info-grid,
    .chat-info-grid.reverse {
        gap: clamp(24px, 5vw, 46px);
    }

    .chat-info-copy {
        min-width: 0;
        max-width: 100%;
    }

    .chat-info-copy h2 {
        margin-bottom: clamp(12px, 2vw, 16px);

        font-size: clamp(24px, 3.6vw, 30px);
        line-height: 1.18;

        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .chat-info-copy p {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        font-size: clamp(15px, 2vw, 19px);
        line-height: 1.62;

        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* ILLUSTRATIONS */

    .chat-info-art {
        min-width: 0;
        min-height: clamp(145px, 22vw, 200px);
    }

    .chat-info-icon {
        width: clamp(120px, 19vw, 170px);
        height: clamp(120px, 19vw, 170px);

        border-radius: clamp(27px, 4vw, 36px);

        font-size: clamp(40px, 6.5vw, 55px);

        border-width: clamp(3px, 0.5vw, 5px);
    }


    /* STEPS */

    .chat-steps {
        font-size: clamp(15px, 1.9vw, 17px);
        line-height: 1.55;
    }

}

/* =========================================================
   EXTERNAL SITE BUTTON
========================================================= */

.external-site-bar {
    background: #f5f3ff;
    border-bottom: 1px solid #e5e0ff;
}

.external-site-bar-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.external-site-bar span {
    font-size: 14px;
    font-weight: 700;
    color: #525d78;
}

.external-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 9px;
    background: linear-gradient(90deg, var(--purple), var(--purple-2));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.external-site-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(113, 60, 255, .22);
}

/* =========================================================
   CHAT DETAIL PAGE
   MOBILE - 600px AND BELOW
========================================================= */

@media (max-width: 600px) {

    .site-intro {
        padding: clamp(26px, 7vw, 36px) 0;
    }


    /* H1 - smooth scaling */

    .site-summary h1 {
        font-size: clamp(21px, 6.5vw, 30px);
        line-height: 1.12;

        max-width: 100%;

        overflow-wrap: anywhere;
    }


    /* Rating - stays side by side until 480px */

    .site-rating-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-width: 0;

        gap: clamp(4px, 1.5vw, 12px);

        margin-bottom: clamp(12px, 3vw, 18px);
    }

    .site-rating-stars {
        display: flex;
        align-items: center;

        min-width: 0;
        max-width: 100%;

        flex-shrink: 1;

        white-space: nowrap;
    }

    .site-rating-stars .star {
        font-size: clamp(24px, 7.5vw, 44px);
        letter-spacing: clamp(-2px, -0.35vw, -0.8px);
    }

    .site-rating-number {
        min-width: 0;
        flex-shrink: 1;

        font-size: clamp(14px, 4vw, 23px);
        font-weight: 900;

        line-height: 1.15;

        text-align: right;

        white-space: nowrap;
    }


    /* Paragraph - smooth scaling */

    .site-lead {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    
        margin-bottom: clamp(4px, 1vw, 8px);
    
        font-size: clamp(13px, 3.9vw, 17px);
        line-height: 1.58;
    
        overflow-wrap: anywhere;
    }


    /* Button */

    .site-primary-button {
        max-width: 100%;

        padding:
            clamp(8px, 2.5vw, 10px)
            clamp(11px, 3.5vw, 14px);

        font-size: clamp(11px, 3.4vw, 14px);

        white-space: normal;
        text-align: center;

        overflow-wrap: anywhere;
    }


    /* Featured */

    .featured-sites {
        min-width: 0;
    
        margin-top: clamp(2px, 0.8vw, 6px);
    }

    .featured-sites h2 {
        width: 100%;
        max-width: 100%;

        margin-bottom: clamp(8px, 2vw, 14px);

        font-size: clamp(9px, 5vw, 22px);
        line-height: 1.15;
        font-weight: 850;

        white-space: nowrap;
        overflow-wrap: normal;
    }

    .featured-sites-grid {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;
        min-width: 0;
    }

    .featured-site-link {
        min-width: 0;

        min-height: clamp(38px, 13vw, 68px);

        display: flex;
        align-items: center;

        gap: clamp(2px, 1.6vw, 12px);

        padding:
            clamp(4px, 2vw, 12px)
            clamp(3px, 1.8vw, 14px);

        font-size: clamp(8px, 3.1vw, 16px);
        line-height: 1.1;

        overflow: hidden;
    }

    .featured-site-icon {
        width: clamp(16px, 6vw, 32px);
        height: clamp(16px, 6vw, 32px);

        flex: 0 0 clamp(16px, 6vw, 32px);
    }

    .featured-site-link > span:last-child {
        min-width: 0;

        font-size: inherit;
        line-height: 1.15;

        white-space: normal;

        overflow-wrap: anywhere;
    }


    /* Lower sections */

    .chat-info-section {
        padding: clamp(30px, 9vw, 44px) 0;
    }

    .chat-info-grid,
    .chat-info-grid.reverse {
        gap: clamp(18px, 6vw, 28px);
    }

    .chat-info-copy {
        min-width: 0;
        max-width: 100%;
    }

    .chat-info-copy h2 {
        font-size: clamp(19px, 6vw, 26px);
        line-height: 1.18;

        max-width: 100%;

        overflow-wrap: anywhere;
    }

    .chat-question-copy h2 {
        margin-bottom: clamp(12px, 4vw, 18px);
    }

    .chat-info-copy p {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        font-size: clamp(13px, 3.9vw, 17px);
        line-height: 1.58;

        overflow-wrap: anywhere;
    }


    /* Illustration */

    .chat-info-art {
        min-width: 0;

        min-height: clamp(110px, 35vw, 150px);
    }

    .chat-info-icon {
        width: clamp(90px, 29vw, 125px);
        height: clamp(90px, 29vw, 125px);

        border-radius: clamp(20px, 6vw, 28px);

        font-size: clamp(30px, 9vw, 40px);

        border-width: clamp(3px, 1vw, 4px);
    }


    /* Steps */

    .chat-steps {
        margin-left: clamp(15px, 4vw, 18px);

        font-size: clamp(13px, 3.8vw, 16px);
        line-height: 1.55;
    }

}


/* =========================================================
   CHAT DETAIL PAGE
   480px AND BELOW - STACK RATING + MAKE IT BIGGER
========================================================= */

@media (max-width: 480px) {

    .site-rating-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;

        gap: clamp(2px, 1vw, 5px);

        text-align: center;
    }

    .site-rating-stars {
        width: 100%;

        justify-content: center;

        text-align: center;
    }

    .site-rating-stars .star {
        font-size: clamp(32px, 10vw, 44px);
        letter-spacing: clamp(-2px, -0.4vw, -1px);
    }

    .site-rating-number {
        width: 100%;

        font-size: clamp(18px, 5.4vw, 24px);

        text-align: center;
    }

}

/* =========================================================
   FEATURED TITLE - ULTRA NARROW
========================================================= */

@media (max-width: 180px) {

    .featured-sites h2 {
        white-space: normal;

        overflow-wrap: normal;
        word-break: normal;

        font-size: clamp(8px, 5vw, 12px);
        line-height: 1.15;
    }

}

/* =========================================================
   CHAT DETAIL PAGE - OVERFLOW SAFETY
========================================================= */

.chat-site-page,
.site-intro,
.site-intro-grid,
.site-summary,
.featured-sites,
.featured-sites-grid,
.featured-site-link,
.chat-info-section,
.chat-info-grid,
.chat-info-copy,
.chat-info-art,
.site-rating-row,
.site-rating-stars {
    min-width: 0;
    max-width: 100%;
}

.site-summary h1,
.site-lead,
.featured-sites h2,
.featured-site-link,
.chat-info-copy h2,
.chat-info-copy p {
    max-width: 100%;

    overflow-wrap: anywhere;
    word-break: normal;
}

.site-primary-button {
    max-width: 100%;

    white-space: normal;

    overflow-wrap: anywhere;
}

/* =========================================================
   TOPCHATPAGES - DESKTOP DROPDOWNS + MOBILE TWO-COLUMN MENU
   ADD THIS AT THE VERY END OF style.css
========================================================= */


/* =========================================================
   DESKTOP DROPDOWNS
========================================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    appearance: none;
    border: 0;
    outline: 0;
    background: transparent;

    color: #dce3ff;

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 0;

    cursor: pointer;

    transition: color .18s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
    color: #fff;
}

.nav-arrow {
    display: inline-block;
    font-size: 11px;
    opacity: .75;
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
    transform: rotate(180deg);
}


/* Invisible hover bridge */

.nav-dropdown::after {
    content: "";

    position: absolute;

    left: -14px;
    right: -14px;

    top: 100%;

    height: 18px;
}


/* Dropdown box */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 16px);
    right: 0;

    min-width: 200px;

    padding: 8px;

    background: #fff;

    border: 1px solid #e5e8f0;
    border-radius: 12px;

    box-shadow:
        0 18px 45px rgba(8, 22, 63, .16);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;

    z-index: 500;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* Dropdown links */

.nav-dropdown-menu a {
    display: block;

    padding: 10px 13px;

    border-radius: 8px;

    color: #515b72 !important;

    font-size: 14px;
    font-weight: 650;

    white-space: nowrap;

    transition:
        color .15s ease,
        background .15s ease;
}

.nav-dropdown-menu a:hover {
    color: var(--purple) !important;

    background: #f3f0ff;
}


/* =========================================================
   DESKTOP CHAT SITES DROPDOWN
========================================================= */

.chat-sites-dropdown {
    left: 50%;
    right: auto;

    width: 240px;

    transform: translate(-50%, -8px);
}

.nav-dropdown:hover .chat-sites-dropdown,
.nav-dropdown:focus-within .chat-sites-dropdown {
    transform: translate(-50%, 0);
}

.dropdown-scroll {
    max-height: 440px;

    overflow-y: auto;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #aab0bf #f1f2f6;
}

.dropdown-scroll::-webkit-scrollbar {
    width: 7px;
}

.dropdown-scroll::-webkit-scrollbar-track {
    background: #f1f2f6;
    border-radius: 20px;
}

.dropdown-scroll::-webkit-scrollbar-thumb {
    background: #aab0bf;
    border-radius: 20px;
}


/* =========================================================
   DESKTOP LANGUAGE DROPDOWN
========================================================= */

.language-dropdown {
    margin-left: 1px;
}

.language-menu {
    width: 185px;
}

.language-globe {
    font-size: 17px;
}


/* =========================================================
   MOBILE HAMBURGER
========================================================= */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    padding: 7px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 28px;
    height: 3px;

    margin: 5px auto;

    background: #fff;

    border-radius: 100px;
}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.mobile-menu-overlay {
    position: fixed;

    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(7, 15, 40, .42);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;

    z-index: 998;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MOBILE WHOLE MENU
========================================================= */

.mobile-menu {
    position: fixed;

    top: 68px;
    left: 0;
    bottom: 0;

    width: min(650px, 100vw);

    display: flex;

    background: transparent;

    transform: translateX(-102%);

    transition:
        transform .28s cubic-bezier(.22, .61, .36, 1);

    z-index: 999;
}

.mobile-menu.open {
    transform: translateX(0);
}


/* =========================================================
   MOBILE LEFT MAIN COLUMN
========================================================= */

.mobile-menu-main {
    width: 300px;
    flex: 0 0 300px;

    height: calc(100vh - 68px);

    background: #f3f3f3;

    position: relative;

    z-index: 3;

    box-shadow:
        4px 0 14px rgba(0, 0, 0, .08);
}


/* Mobile menu header */

.mobile-menu-header {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    background: #eeeeee;

    border-bottom: 1px solid #e4e4e4;
}


/* Mobile logo */

.mobile-menu-logo {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #666;

    font-size: 20px;
    font-weight: 700;

    text-decoration: none;
}

.mobile-menu-logo b {
    color: #707070;
}

.mobile-menu-logo em {
    color: var(--cyan);
    font-style: normal;
}

.mobile-menu-logo .logo-mark {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow: none;
}


/* Close X */

.mobile-menu-close {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--cyan);

    font-size: 48px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   MOBILE LEFT LINKS
========================================================= */

.mobile-menu-content {
    padding: 34px 0;
}

.mobile-main-link,
.mobile-side-trigger {
    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 30px;

    border: 0;

    background: transparent;

    color: #5e5e5e;

    font-family: inherit;
    font-size: 18px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        color .15s ease,
        background .15s ease;
}

.mobile-main-link {
    text-decoration: none;
}

.mobile-main-link.active {
    color: var(--cyan);
}

.mobile-main-link:hover,
.mobile-side-trigger:hover,
.mobile-side-trigger.active {
    color: var(--cyan);

    background: rgba(255, 255, 255, .6);
}


/* Right arrow */

.mobile-arrow {
    display: block;

    color: #969696;

    font-size: 31px;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   MOBILE RIGHT PANEL
========================================================= */

.mobile-menu-panel {
    width: 350px;
    flex: 0 0 350px;

    height: calc(100vh - 68px);

    position: relative;

    z-index: 2;

    background: #fff;

    border-left: 1px solid #dedede;

    box-shadow:
        4px 0 16px rgba(0, 0, 0, .12);

    transform: translateX(-100%);

    opacity: 0;
    visibility: hidden;

    transition:
        transform .25s ease,
        opacity .20s ease,
        visibility .20s ease;
}

.mobile-menu-panel.open {
    transform: translateX(0);

    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MOBILE RIGHT PANEL CONTENT
========================================================= */

.mobile-panel-content {
    display: none;

    width: 100%;
    height: calc(100vh - 68px);

    padding: 24px 0 32px;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #aaa #f1f1f1;
}

.mobile-panel-content.active {
    display: block;
}


/* Right panel links */

.mobile-panel-content a {
    display: block;

    padding: 14px 40px;

    color: #5d5d5d;

    font-size: 18px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .15s ease,
        background .15s ease;
}

.mobile-panel-content a:hover {
    color: var(--cyan);

    background: #f3f3f3;
}


/* Scrollbar */

.mobile-panel-content::-webkit-scrollbar {
    width: 6px;
}

.mobile-panel-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-panel-content::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 100px;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.mobile-menu-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE BREAKPOINT
========================================================= */

@media (max-width: 780px) {

    .desktop-nav,
    .nav.desktop-nav {
        display: none !important;
    }

    .mobile-menu-button {
        display: block !important;
    }

    .header-inner {
        height: 68px;
    }

    /*
       Override the older rule in your stylesheet that hides
       normal nav elements on mobile.
    */

    .mobile-menu a {
        display: flex;
    }

    .mobile-panel-content a {
        display: block;
    }

}


/* =========================================================
   MOBILE WIDTHS
========================================================= */

@media (max-width: 650px) {

    .mobile-menu {
        width: 100vw;
    }

    .mobile-menu-main {
        width: 47%;
        flex-basis: 47%;
    }

    .mobile-menu-panel {
        width: 53%;
        flex-basis: 53%;
    }

    .mobile-menu-header {
        padding-left: 14px;
        padding-right: 10px;
    }

    .mobile-menu-logo {
        gap: 6px;
        font-size: 17px;
    }

    .mobile-menu-logo .logo-mark {
        width: 34px;
        height: 34px;
    }

    .mobile-main-link,
    .mobile-side-trigger {
        padding-left: 20px;
        padding-right: 18px;

        font-size: 17px;
    }

    .mobile-panel-content a {
        padding-left: 28px;
        padding-right: 14px;

        font-size: 17px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .mobile-menu-main {
        width: 48%;
        flex-basis: 48%;
    }

    .mobile-menu-panel {
        width: 52%;
        flex-basis: 52%;
    }

    .mobile-menu-logo {
        font-size: 15px;
    }

    .mobile-menu-logo .logo-mark {
        width: 31px;
        height: 31px;
    }

    .mobile-main-link,
    .mobile-side-trigger {
        padding-left: 17px;
        padding-right: 12px;

        font-size: 16px;
    }

    .mobile-panel-content a {
        padding-left: 22px;
        padding-right: 10px;

        font-size: 16px;
    }

}


/* =========================================================
   DESKTOP - HIDE MOBILE ELEMENTS
========================================================= */

@media (min-width: 781px) {

    .mobile-menu,
    .mobile-menu-overlay,
    .mobile-menu-button {
        display: none !important;
    }

}

/* =========================================================
   LANGUAGE FLAGS
========================================================= */

.language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flag {
    width: 24px;
    height: 18px;

    flex: 0 0 24px;

    display: block;

    object-fit: cover;

    border-radius: 2px;

    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .08);
}


/* Mobile language list */

#mobileLanguagePanel a {
    display: flex;
    align-items: center;
    gap: 12px;
}

#mobileLanguagePanel .language-flag {
    width: 24px;
    height: 18px;

    flex: 0 0 24px;
}

/* =========================================================
   CHAT SITE ICONS IN MENUS
========================================================= */

.menu-chat-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.menu-chat-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: block;

    object-fit: contain;

    border-radius: 50%;
}


/* Desktop dropdown */

.chat-sites-dropdown .menu-chat-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}


/* Mobile right panel */

#mobileChatPanel .menu-chat-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

#mobileChatPanel .menu-chat-icon {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;
}

/* =========================================================
   RANKING TABLE
   RESPONSIVE / FLUID
========================================================= */

.rank-card,
.rank-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.rank-card {
    overflow: hidden;
}

.rank-table-head,
.rank-row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(150px, 1fr) 148px 158px;
    column-gap: 10px;
    align-items: center;
}

.rank-table-head {
    padding: 11px 18px;
    font-size: 11px;
}

.rank-row {
    min-height: 72px;
    padding: 12px 18px;
}

.rank-num {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f0edff;
    color: #6041c2;
    font-size: 14px;
    font-weight: 900;
}

.site-main {
    display: contents;
}

.site-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 18px;
    font-weight: 850;
    overflow: hidden;
}

.site-name-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.stars {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    transform: translateX(-14px);

    white-space: nowrap;
    overflow: visible;
}

.star {
    font-size: 36px;
    letter-spacing: -2px;
}

.rank-table-head span:last-child,
.votes {
    text-align: left;
}

.votes {
    min-width: 0;
    font-size: 16px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

/* =========================================================
   DESKTOP SHOWCASE
   981px+
========================================================= */

@media (min-width: 981px) {

    .rank-table-head,
    .rank-row {
        grid-template-columns:
            42px
            minmax(150px, .80fr)
            165px
            170px;

        column-gap: 8px;
    }

    .rank-row {
        min-height: 76px;
    }

    .rank-num {
        width: 34px;
        height: 34px;

        font-size: 14px;
    }

    .site-name {
        gap: 11px;

        font-size: 19px;
    }

    .site-logo {
        width: 40px;
        height: 40px;

        flex: 0 0 40px;
    }

    .stars {
        transform: translateX(-12px);
        overflow: visible;
    }

    .star {
        font-size: 36px;
        letter-spacing: -1.8px;
    }

    .votes {
        font-size: 16px;
    }

}


/* =========================================================
   DESKTOP SHOWCASE
   1101px+
========================================================= */

@media (min-width: 1101px) {

    .rank-table-head,
    .rank-row {
        grid-template-columns:
            42px
            minmax(150px, .80fr)
            165px
            170px;

        column-gap: 8px;
    }

    .rank-row {
        min-height: 76px;
    }

    .site-name {
        font-size: 19px;
    }

    .site-logo {
        width: 40px;
        height: 40px;

        flex: 0 0 40px;
    }

    .stars {
        transform: translateX(-16px);
        overflow: visible;
    }
    
    .star {
        font-size: 38px;
        letter-spacing: -1.9px;
    }

    .votes {
        font-size: 16px;
    }

}

/* =========================================================
   FULL-WIDTH TABLET
   721px - 980px
========================================================= */

@media (min-width: 721px) and (max-width: 980px) {

    .rank-scroll {
        max-height: none;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .rank-scroll::-webkit-scrollbar {
        display: none;
    }

    .rank-foot {
        display: none;
    }

    .rank-table-head,
    .rank-row {
        grid-template-columns:
            clamp(34px, 4.5vw, 42px)
            minmax(125px, .72fr)
            clamp(165px, 23vw, 205px)
            clamp(140px, 19vw, 170px);
    
        column-gap: clamp(5px, .8vw, 9px);
    
        padding-left: clamp(14px, 2vw, 20px);
        padding-right: clamp(14px, 2vw, 20px);
    }

    .rank-table-head {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: clamp(10px, 1.2vw, 12px);
    }

    .rank-row {
        min-height: clamp(68px, 8vw, 82px);
        padding-top: clamp(10px, 1.5vw, 14px);
        padding-bottom: clamp(10px, 1.5vw, 14px);
    }

    .rank-num {
        width: clamp(30px, 4vw, 36px);
        height: clamp(30px, 4vw, 36px);
        font-size: clamp(12px, 1.5vw, 14px);
    }

    .site-name {
        gap: clamp(8px, 1.3vw, 12px);
        font-size: clamp(16px, 2vw, 20px);
    }

    .site-logo {
        width: clamp(35px, 4.8vw, 44px);
        height: clamp(35px, 4.8vw, 44px);
        flex: 0 0 clamp(35px, 4.8vw, 44px);
    }

    .stars {
        transform: translateX(-18px);
        overflow: visible;
    }
    
    .star {
        font-size: clamp(30px, 4.5vw, 41px);
        letter-spacing: -1.8px;
    }

    .votes {
        font-size: clamp(14px, 1.8vw, 17px);
    }
}


/* =========================================================
   NARROW TABLET / LARGE PHONE
   521px - 720px
========================================================= */

@media (min-width: 521px) and (max-width: 720px) {

    .rank-scroll {
        max-height: none;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .rank-scroll::-webkit-scrollbar {
        display: none;
    }

    .rank-foot {
        display: none;
    }

    .rank-table-head,
    .rank-row {
        grid-template-columns:
            clamp(29px, 5vw, 34px)
            minmax(100px, .72fr)
            clamp(120px, 22vw, 145px)
            clamp(104px, 21vw, 132px);
    
        column-gap: clamp(4px, .7vw, 6px);
    
        padding-left: clamp(8px, 1.8vw, 13px);
        padding-right: clamp(8px, 1.8vw, 13px);
    }

    .rank-table-head {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: clamp(9px, 1.6vw, 10px);
    }

    .rank-row {
        min-height: clamp(61px, 10vw, 70px);
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .rank-num {
        width: clamp(26px, 4.8vw, 30px);
        height: clamp(26px, 4.8vw, 30px);
        font-size: clamp(10px, 1.8vw, 12px);
    }

    .site-name {
        gap: clamp(6px, 1.1vw, 8px);
        font-size: clamp(14px, 2.5vw, 16px);
    }

    .site-logo {
        width: clamp(29px, 5.2vw, 34px);
        height: clamp(29px, 5.2vw, 34px);
        flex: 0 0 clamp(29px, 5.2vw, 34px);
    }

    .stars {
        transform: translateX(-12px);
        overflow: visible;
    }
    
    .star {
        font-size: clamp(23px, 4.3vw, 29px);
        letter-spacing: -1.6px;
    }

    .votes {
        font-size: clamp(11px, 2vw, 13px);
    }
}


/* =========================================================
   MOBILE
   520px AND BELOW
========================================================= */

@media (max-width: 520px) {

    .rank-scroll {
        max-height: none;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .rank-scroll::-webkit-scrollbar {
        display: none;
    }

    .rank-foot {
        display: none;
    }

    .rank-table-head,
    .rank-row {
        grid-template-columns: 34px minmax(0, 1fr) minmax(108px, 34%);
        column-gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .rank-table-head {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 9px;
    }

    .rank-table-head span:nth-child(3) {
        display: none;
    }

    .rank-table-head span:last-child {
        display: block;
        min-width: 0;
        text-align: left;
        line-height: 1.2;
    }

    .rank-row {
        min-height: 72px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .rank-num {
        width: 29px;
        height: 29px;
        font-size: 11px;
    }

    .site-main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        min-width: 0;
    }

    .site-name {
        width: 100%;
        min-width: 0;
        gap: 7px;
        font-size: 15px;
        line-height: 1.1;
        overflow: hidden;
    }

    .site-name-text {
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-logo {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .stars {
        margin-top: 3px;
        margin-left: 41px;
        transform: none;
        overflow: visible;
    }

    .star {
        font-size: 18px;
        letter-spacing: -1px;
    }

    .rank-row .votes,
    .votes {
        width: 100%;
        min-width: 0;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.22;
        text-align: left;
        white-space: normal;
    }
}


/* =========================================================
   SMALL MOBILE
   400px AND BELOW
========================================================= */

@media (max-width: 400px) {

    .rank-table-head,
    .rank-row {
        grid-template-columns: 30px minmax(0, 1fr) minmax(96px, 33%);
        column-gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .rank-row {
        min-height: 67px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .rank-num {
        width: 27px;
        height: 27px;
        font-size: 10px;
    }

    .site-name {
        gap: 6px;
        font-size: 14px;
    }

    .site-logo {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
    }

    .stars {
        margin-left: 37px;
        margin-top: 2px;
    }

    .star {
        font-size: 16px;
        letter-spacing: -1px;
    }

    .rank-row .votes,
    .votes {
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   340px AND BELOW
========================================================= */

@media (max-width: 340px) {

    .rank-table-head,
    .rank-row {
        grid-template-columns: 27px minmax(0, 1fr) minmax(88px, 34%);
        column-gap: 5px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .rank-table-head {
        font-size: 8px;
    }

    .rank-row {
        min-height: 63px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .rank-num {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .site-name {
        gap: 5px;
        font-size: 13px;
    }

    .site-logo {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .stars {
        margin-left: 33px;
    }

    .star {
        font-size: 14px;
    }

    .rank-row .votes,
    .votes {
        font-size: 10px;
    }
}


/* =========================================================
   GLOBAL RESPONSIVE SAFETY
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container,
.hero-grid,
.split,
.rank-card,
.rank-scroll,
.site-main,
.site-name,
.copy,
.art {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   MOBILE CONTAINER
   KEEP SAME SIDE SPACE AS DESKTOP
========================================================= */

@media (max-width: 780px) {

    .container {
        width: calc(100% - 40px);
        max-width: 1180px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .rank-head {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rank-head h2 {
        font-size: clamp(18px, 6vw, 23px);
    }

}


/* =========================================================
   VERY SMALL WIDTHS
========================================================= */

@media (max-width: 360px) {

    .rank-head {
        padding: 17px 12px 14px;
    }

    .rank-head h2 {
        font-size: clamp(17px, 6vw, 21px);
        gap: 6px;
    }

    .rank-head p {
        font-size: 11px;
    }

    .header-inner {
        gap: 8px;
    }

    .logo {
        min-width: 0;
        gap: 7px;
        font-size: clamp(15px, 5.5vw, 19px);
    }

    .logo-mark {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
    }

    .mobile-menu-button {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        padding: 5px;
    }

}


/* Images can never force the page wider */

img,
iframe {
    max-width: 100%;
}