:root {
    color-scheme: dark;
    --bg: #070912;
    --bg-2: #0b0f1d;
    --panel: rgba(18, 23, 42, .88);
    --panel-solid: #12172a;
    --panel-2: #181f38;
    --line: rgba(255,255,255,.11);
    --line-strong: rgba(255,255,255,.2);
    --text: #f7f8ff;
    --muted: #aeb6d7;
    --blue: #5670ff;
    --blue-2: #7890ff;
    --pink: #ec5dff;
    --mint: #59efc4;
    --danger: #ff6b7c;
    --shadow: 0 30px 90px rgba(0,0,0,.46);
    --radius: 28px;
    --max: 1440px;
    /* Where the 4:5 crop anchors vertically. Biased above center so hair and
       foreheads survive the crop instead of getting sliced off the top. */
    --face-focus: 30%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(72, 89, 255, .24), transparent 35%),
        radial-gradient(circle at 95% 20%, rgba(236, 93, 255, .09), transparent 24%),
        linear-gradient(180deg, #080b16 0%, #060810 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    min-height: 86px;
    padding: 16px clamp(20px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(7, 9, 18, .78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(24px) saturate(150%);
    transition: transform .32s ease;
    will-change: transform;
}
/* Slides the header out of the way when scrolling down so it never covers the
   photo mid-vote. It drops back in the moment you scroll up. */
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
    .site-header { transition: none; }
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--blue-2), #3a43da 58%, #202759);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 10px 32px rgba(64,79,255,.28);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.06em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 21px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a {
    padding: 12px 16px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 750;
    font-size: 18px;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.main-nav .nav-upload { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,.06); }

.site-main { position: relative; z-index: 1; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.flash { margin: 24px auto 0; max-width: 900px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-solid); font-weight: 700; }
.flash-success { border-color: rgba(89,239,196,.4); color: #aaffea; }
.flash-error { border-color: rgba(255,107,124,.4); color: #ffc0c8; }

.hero-strip {
    min-height: 52px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.hero-strip strong { color: var(--text); }
.hero-strip p { margin: 0; }
.live-dot { display: inline-block; width: 10px; height: 10px; margin-right: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(89,239,196,.11); }

.rate-layout {
    display: flex;
    justify-content: center;
    padding: clamp(14px, 2vw, 26px) 0 clamp(22px, 3vw, 40px);
}
.rate-layout .rating-card { width: min(500px, 94vw); flex: 0 0 auto; }
/* On desktop, keep the card + result inside one screen. It holds a full 4:5 on
   tall viewports and gives back height on short ones by cropping from the bottom
   (foreheads and hair stay), rather than pushing the share button below the fold. */
@media (min-width: 761px) {
    .rate-layout .photo-stage { aspect-ratio: auto; height: clamp(300px, calc(100vh - 424px), 625px); }
}

.rating-card {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 34px;
    background: var(--panel-solid);
    box-shadow: var(--shadow), 0 0 0 1px rgba(107,125,255,.08);
}
.photo-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111629;
    container-type: size;
}
.photo-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--face-focus); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,6,12,.92) 100%); pointer-events: none; }
.photo-meta {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}
.photo-meta h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: .98; letter-spacing: -.055em; }
.photo-meta p { margin: 6px 0 0; color: #d8dcf0; }
.icon-button {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(10,12,20,.52);
    cursor: pointer;
    backdrop-filter: blur(14px);
    font-size: 18px;
}
.icon-button:hover { background: rgba(255,255,255,.16); }

.rating-reveal {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Bottom padding keeps the centered score clear of the name row. */
    padding: 28px 30px 92px;
    /* Translucent black, no blur and no color cast: the face reads straight
       through it while the score stays legible. */
    background:
        radial-gradient(120% 80% at 50% 40%, rgba(0,0,0,.36), transparent 62%),
        linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.34) 46%, rgba(0,0,0,.72) 100%);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.rating-reveal.is-visible { opacity: 1; visibility: visible; transform: scale(1); }
.reveal-kicker, .eyebrow { color: #cdd5ff; font-size: 18px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.rating-reveal .reveal-kicker { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.rating-reveal > strong {
    font-size: clamp(76px, 26cqh, 150px);
    line-height: .84;
    letter-spacing: -.09em;
    text-shadow: 0 3px 26px rgba(0,0,0,.78), 0 18px 50px rgba(0,0,0,.55);
}
.rating-reveal .out-of { color: #cfd6f4; text-shadow: 0 1px 12px rgba(0,0,0,.62); }
.out-of { font-size: 20px; font-weight: 900; letter-spacing: .18em; color: var(--muted); }
.rating-reveal p { margin: 14px 0 6px; font-size: 24px; font-weight: 800; text-shadow: 0 2px 16px rgba(0,0,0,.66); }
.rating-reveal small { color: var(--muted); font-size: 18px; }
.reveal-meta { color: #d8ddf6; text-shadow: 0 1px 12px rgba(0,0,0,.66); }
.reveal-meta strong { color: #fff; }

.rating-panel { padding: 18px 28px 18px; }
.rating-prompt { transition: opacity .28s ease; }
.rating-prompt.is-hidden { display: none; }
.rating-prompt h2 { margin: 7px 0 0; font-size: 31px; letter-spacing: -.04em; }
.rating-prompt > p { margin: 6px 0 16px; color: var(--muted); }
.number-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.score-button {
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.score-button:hover, .score-button:focus-visible { transform: translateY(-4px); background: var(--blue); border-color: var(--blue-2); outline: none; }
.score-button[disabled] { cursor: wait; opacity: .55; }
.rating-ends { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 18px; }
.post-vote { display: none; }
.post-vote.is-visible { display: grid; gap: 12px; animation: rise .45s ease both; }
.post-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.share-nudge { margin: 4px 0 0; text-align: center; color: var(--muted); }

.primary-button, .secondary-button {
    min-height: 56px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}
.primary-button { color: #fff; background: linear-gradient(135deg, #6f83ff, #4759e8 58%, #7d46d5); box-shadow: 0 16px 36px rgba(69,85,232,.25); }
.primary-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.secondary-button { border-color: var(--line-strong); background: rgba(255,255,255,.045); }
.secondary-button:hover { background: rgba(255,255,255,.09); }
.full-button { width: 100%; }

.home-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 80px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(14,18,33,.56);
    overflow: hidden;
}
.home-proof > div { padding: 28px; display: grid; gap: 5px; }
.home-proof > div + div { border-left: 1px solid var(--line); }
.home-proof strong { font-size: 21px; }
.home-proof span { color: var(--muted); }

.share-intro { max-width: 680px; margin: 42px auto 22px; display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); }
.share-intro p { margin: 0; }
.compact-share { min-height: 46px; padding: 9px 15px; white-space: nowrap; }
.share-intro strong { color: var(--text); }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; margin-left: -9px; border-radius: 50%; border: 3px solid var(--bg); background: linear-gradient(145deg, #556dff, #ef5dff); }
.avatar-stack span:first-child { margin-left: 0; }
.single-card-wrap { width: min(620px, 100%); margin: 0 auto 58px; }
.result-context { max-width: 900px; margin: 0 auto 80px; padding: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-context h2 { margin: 8px 0 0; font-size: 32px; letter-spacing: -.04em; }
.result-context p { margin: 0; color: var(--muted); }

.empty-state { min-height: 610px; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-orb { width: 112px; height: 112px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 34px; background: linear-gradient(145deg, var(--blue-2), #3b45d3); box-shadow: 0 22px 60px rgba(76,92,255,.32); font-size: 52px; font-weight: 900; }
.empty-state h1, .empty-state h2 { margin: 10px 0; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.06em; }
.empty-state h2 { font-size: 46px; }
.empty-state p { max-width: 600px; margin: 0 0 26px; color: var(--muted); }
.empty-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.compact-empty { min-height: 430px; }

.upload-layout { padding: clamp(22px, 4vw, 48px) 0; display: grid; grid-template-columns: 1fr minmax(420px, 560px); gap: clamp(30px, 5vw, 72px); align-items: start; }
.upload-copy h1 { max-width: 560px; margin: 12px 0 18px; font-size: clamp(44px, 6vw, 78px); line-height: .9; letter-spacing: -.07em; }
.upload-copy > p { max-width: 610px; color: var(--muted); font-size: 21px; }
.upload-benefits { margin-top: 42px; display: grid; gap: 12px; }
.upload-benefits div { padding: 14px 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.upload-benefits strong { color: var(--blue-2); letter-spacing: .08em; }
.upload-benefits span { font-weight: 750; }
.upload-form { padding: 30px; border: 1px solid var(--line-strong); border-radius: 30px; background: rgba(16,21,39,.85); box-shadow: var(--shadow); }
.drop-zone { position: relative; aspect-ratio: 4 / 5; width: 100%; margin: 0 auto 20px; overflow: hidden; display: grid; place-items: center; border: 1px dashed rgba(137,151,255,.55); border-radius: 24px; background: linear-gradient(145deg, rgba(83,103,255,.08), rgba(255,255,255,.025)); cursor: pointer; }
.drop-zone.is-dragging { border-style: solid; background: rgba(83,103,255,.15); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--face-focus); }
.drop-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; text-align: center; }
.drop-zone.has-preview .drop-copy { opacity: 0; }
/* On desktop, hold the 4:5 box within the viewport so the fields below stay
   reachable. Mobile keeps it full width and scrolls. */
@media (min-width: 761px) {
    .drop-zone { max-width: calc(min(54vh, 540px) * 0.8); }
}
.drop-zone.has-preview::after {
    content: "4 : 5 CROP";
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(4,6,13,.72);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .06em;
}
.upload-icon { width: 72px; height: 72px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 24px; background: var(--blue); font-size: 42px; line-height: 1; }
.drop-copy strong { font-size: 24px; }
.drop-copy small { color: var(--muted); font-size: 18px; }
.crop-hint { margin: -12px 2px 20px; color: var(--muted); font-size: 18px; }
.field-label { display: grid; gap: 9px; margin: 18px 0; }
.field-label > span { font-weight: 800; }
.field-label em { color: var(--muted); font-style: normal; font-weight: 500; }
.field-label input { width: 100%; min-height: 58px; padding: 0 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); color: var(--text); outline: none; font-size: 18px; }
.field-label input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(86,112,255,.14); }
.check-row { margin: 15px 0; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--muted); cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--blue); }
.form-errors { margin-bottom: 20px; padding: 16px 18px; border: 1px solid rgba(255,107,124,.4); border-radius: 14px; background: rgba(255,107,124,.08); color: #ffc2c9; }
.form-errors p { margin: 0; }
.form-errors p + p { margin-top: 7px; }
.form-fineprint { margin: 16px 0 0; text-align: center; color: var(--muted); }
.form-fineprint a { text-decoration: underline; }

.leaderboard-hero { padding: clamp(60px, 8vw, 120px) 0 48px; border-bottom: 1px solid var(--line); }
.leaderboard-hero h1 { margin: 10px 0 18px; font-size: clamp(64px, 10vw, 130px); line-height: .86; letter-spacing: -.08em; }
.leaderboard-hero p { max-width: 740px; margin: 0; color: var(--muted); font-size: 21px; }
.leaderboard-grid { padding: 34px 0 90px; display: grid; gap: 14px; }
.leader-card { min-height: 130px; padding: 14px 20px 14px 14px; display: grid; grid-template-columns: 82px 88px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: rgba(17,22,39,.68); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.leader-card:hover { transform: translateX(6px); border-color: rgba(118,137,255,.45); background: rgba(23,29,53,.9); }
.leader-card img { width: 88px; height: 100px; object-fit: cover; object-position: 50% var(--face-focus); border-radius: 15px; }
.leader-rank { text-align: center; color: var(--blue-2); font-size: 28px; font-weight: 950; }
.leader-info { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.leader-info > div { display: grid; }
.leader-info strong { font-size: 24px; }
.leader-info span { color: var(--muted); }
.leader-score { text-align: right; }
.leader-score strong { font-size: 40px; line-height: 1; }
.new-grid { padding: 35px 0 90px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.new-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel-solid); }
.new-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% var(--face-focus); transition: transform .35s ease; }
.new-card:hover img { transform: scale(1.035); }
.new-card > div { padding: 18px; display: flex; justify-content: space-between; gap: 12px; }
.new-card > div span { color: var(--muted); }

.legal-page { max-width: 900px; margin: 0 auto; padding: 90px 0 120px; }
.legal-page h1 { margin: 8px 0 22px; font-size: clamp(60px, 9vw, 108px); line-height: .9; letter-spacing: -.07em; }
.legal-page .legal-lead { color: var(--text); font-size: 24px; }
.legal-page h2 { margin: 46px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.legal-page p { color: var(--muted); }

.site-footer { position: relative; z-index: 1; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 30px 0 42px; display: flex; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer > div:first-child { display: grid; }
.site-footer strong { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 26px; max-width: min(500px, calc(100% - 32px)); padding: 15px 20px; border: 1px solid var(--line-strong); border-radius: 15px; background: #171d32; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: .25s ease; text-align: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Admin */
.admin-shell { max-width: 1200px; margin: 50px auto 100px; }
.admin-login { max-width: 520px; margin: 100px auto; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel-solid); }
.admin-login h1 { font-size: 46px; letter-spacing: -.05em; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0; }
.admin-stat { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-solid); }
.admin-stat strong { display: block; font-size: 36px; }
.admin-stat span { color: var(--muted); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-toolbar h1 { font-size: 52px; letter-spacing: -.06em; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel-solid); }
.admin-card img { width: 100%; aspect-ratio: 4/4; object-fit: cover; }
.admin-card-body { padding: 18px; }
.admin-card-body h2 { margin: 0; }
.admin-card-body p { margin: 4px 0; color: var(--muted); }
.status-pill { display: inline-block; margin: 8px 0 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions button, .admin-actions a { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.05); cursor: pointer; }
.danger-button { color: #ffc4cb; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
    .upload-layout { grid-template-columns: 1fr; }
    .upload-copy { max-width: 760px; }
    .new-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    body { font-size: 18px; }
    .site-header { position: relative; padding: 14px 18px; align-items: flex-start; }
    .brand-copy small { display: none; }
    .main-nav { gap: 2px; }
    .main-nav a { padding: 11px 10px; }
    .main-nav a:first-child { display: none; }
    .site-main, .site-footer { width: min(100% - 24px, var(--max)); }
    .hero-strip { min-height: 64px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
    .rate-layout { padding: 24px 0 54px; }
    .rating-card { border-radius: 24px; }
    .photo-meta { padding: 22px; }
    .rating-reveal { padding: 26px 22px 98px; }
    .rating-panel { padding: 23px 20px 24px; }
    .number-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
    .score-button { min-height: 52px; aspect-ratio: auto; }
    .post-actions { grid-template-columns: 1fr; }
    .home-proof { grid-template-columns: 1fr; }
    .home-proof > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .share-intro { justify-content: flex-start; margin-top: 24px; flex-wrap: wrap; }
    .result-context { grid-template-columns: 1fr; gap: 15px; }
    .upload-layout { padding-top: 32px; }
    .upload-copy h1 { font-size: 46px; }
    .upload-form { padding: 20px; border-radius: 22px; }
    .leaderboard-hero h1 { font-size: 68px; }
    .leader-card { grid-template-columns: 56px 70px 1fr; padding-right: 14px; }
    .leader-card img { width: 70px; height: 84px; }
    .leader-info strong { font-size: 20px; }
    .leader-score strong { font-size: 30px; }
    .new-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .new-card > div { display: grid; padding: 14px; }
    .site-footer { flex-direction: column; }
    .admin-stats, .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
    .brand-mark { width: 46px; height: 46px; }
    .brand-copy strong { font-size: 19px; }
    .main-nav a { font-size: 18px; padding: 10px 8px; }
    .photo-stage { aspect-ratio: 4/5.4; }
    .rating-reveal > strong { font-size: 118px; }
    .new-grid { grid-template-columns: 1fr 1fr; }
    .leader-card { grid-template-columns: 48px 64px 1fr; gap: 11px; }
    .leader-card img { width: 64px; height: 78px; }
    .leader-info { display: grid; }
    .leader-score { text-align: left; display: flex !important; gap: 8px; align-items: baseline; }
}


