:root {
    --red: #da001c;
    --red-dark: #b50017;
    --grey: #484f56;
    --ink: #202529;
    --muted: #687078;
    --paper: #f3f3f1;
    --white: #fff;
    --line: #dedfdf;
    --radius: 28px;
    --shadow: 0 24px 70px rgba(27, 31, 34, .12);
    font-family: "Roboto", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky; top: 0; z-index: 50; height: 84px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between;
    background: var(--white); color: var(--ink); box-shadow: 0 1px 0 rgba(32,37,41,.09);
}
.brand img { width: 205px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; padding: 10px 0; font-size: .78rem; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

.hero {
    position: relative; min-height: 690px; overflow: hidden; display: grid; grid-template-columns: 1fr; align-items: center;
    padding: 80px max(24px, calc((100vw - 1180px) / 2)) 130px; color: var(--white); background: #111820 url("hero-section.jpg") center center / cover no-repeat;
    border-radius: 0 0 48px 48px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,18,.94) 0%, rgba(3,11,18,.78) 34%, rgba(3,11,18,.22) 64%, rgba(3,11,18,.06) 100%), linear-gradient(0deg, rgba(3,11,18,.42), transparent 48%); }
.hero::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 120px -100px rgba(0,0,0,.75); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.campaign-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #e7e9ea; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(218,0,28,.18); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(4rem, 7.5vw, 7.6rem); line-height: .83; letter-spacing: -.075em; font-weight: 900; }
.hero h1 span { color: var(--red); }
.hero-tagline { margin: 28px 0 18px; font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 400; letter-spacing: -.025em; }
.hero-tagline strong { color: var(--red); }
.hero-intro { max-width: 555px; margin: 0; color: #bdc1c4; font-size: 1.08rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 32px rgba(218,0,28,.27); }
.button-primary:hover { background: #ef0020; box-shadow: 0 18px 38px rgba(218,0,28,.36); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-outline-light { border: 1px solid rgba(255,255,255,.28); background: transparent; color: var(--white); }
.deadline { display: grid; gap: 3px; padding-left: 20px; border-left: 2px solid var(--red); }
.deadline strong { font-size: .75rem; color: #949a9f; letter-spacing: .08em; text-transform: uppercase; }
.deadline span { font-size: .95rem; font-weight: 700; }

.hero-art { position: relative; z-index: 1; height: 430px; align-self: center; }
.ball { position: absolute; z-index: 3; top: 25px; left: 50%; display: grid; place-items: center; width: 230px; height: 230px; transform: translateX(-42%) rotate(-8deg); font-size: 10rem; filter: grayscale(1) contrast(1.2) drop-shadow(0 35px 28px rgba(0,0,0,.45)); }
.orbit { position: absolute; left: 50%; top: 25px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; transform: translateX(-45%) rotate(-20deg); }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 470px; height: 330px; top: 60px; transform: translateX(-50%) rotate(24deg); }
.podium { position: absolute; z-index: 2; bottom: 0; display: grid; place-items: start center; padding-top: 18px; border-radius: 18px 18px 0 0; background: linear-gradient(145deg, #5a6269, #32383d); box-shadow: inset 0 1px rgba(255,255,255,.15); }
.podium span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: white; font-weight: 900; font-size: 1.3rem; }
.podium-1 { left: 38%; width: 142px; height: 140px; background: linear-gradient(145deg, #e80020, #9e0014); }
.podium-2 { left: 12%; width: 130px; height: 100px; }
.podium-3 { right: 5%; width: 125px; height: 74px; }
.confetti { position: absolute; width: 7px; height: 17px; border-radius: 2px; background: var(--red); transform: rotate(27deg); }
.c1 { left: 10%; top: 14%; }.c2 { right: 6%; top: 34%; transform: rotate(72deg); }.c3 { left: 21%; top: 56%; background: white; transform: rotate(112deg); }.c4 { right: 27%; top: 4%; background: white; transform: rotate(-20deg); }
.hero-stats { position: absolute; z-index: 3; bottom: 0; left: max(24px, calc((100vw - 1180px) / 2)); right: max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); color: var(--ink); border-radius: 24px 24px 0 0; }
.hero-stats div { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { color: var(--red); font-size: 2.1rem; line-height: 1; }
.hero-stats span { max-width: 110px; color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }

.section-wrap { width: min(1180px, calc(100vw - 48px)); margin: 0 auto; }
.how-section { padding: 110px 0 100px; }
.section-heading { max-width: 650px; margin-bottom: 44px; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2, .entry-heading h2, .success-card h2, .panel-title h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; letter-spacing: -.045em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { position: relative; min-height: 260px; padding: 32px; overflow: hidden; border-radius: 20px; background: var(--white); border: 1px solid #e5e5e3; }
.steps article::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.steps article:hover::after { transform: scaleX(1); }
.step-number { position: absolute; right: 24px; top: 22px; color: #dedfdf; font-size: 2.5rem; font-weight: 900; }
.step-icon { width: 58px; height: 58px; margin-bottom: 35px; border-radius: 50%; display: grid; place-items: center; background: #f6e7e9; color: var(--red); font-size: 1.45rem; font-weight: 900; }
.steps h3 { margin: 0 0 10px; font-size: 1.2rem; }
.steps p { margin: 0; max-width: 270px; color: var(--muted); line-height: 1.55; }

.entry-section { padding: 90px 24px; background: var(--grey); border-radius: 46px 46px 0 0; }
.entry-shell { width: min(1080px, 100%); margin: 0 auto; padding: 52px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.entry-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.entry-progress { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.entry-progress span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white); }
.alert { margin: 24px 0; padding: 15px 18px; border-radius: 10px; font-size: .93rem; line-height: 1.45; }
.alert-error { border: 1px solid #f2b7bf; background: #fff0f2; color: #8f0013; }
.prediction-fieldset { padding: 32px 0; margin: 0; border: 0; }
.prediction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.team-select-card { position: relative; min-width: 0; display: grid; padding: 24px; overflow: visible; border: 1px solid #dedfde; border-radius: 17px; background: #f8f8f7; transition: border-color .2s, box-shadow .2s, transform .2s; }
.team-select-card.is-open { z-index: 8; }
.team-select-card:hover, .team-select-card:focus-within { border-color: #bbbebf; box-shadow: 0 12px 30px rgba(23,27,29,.08); transform: translateY(-2px); }
.team-select-card.has-value { border-color: var(--red); background: #fffafa; }
.placement-number { position: absolute; right: 18px; top: 14px; color: #e1e2e2; font-size: 2.6rem; font-weight: 900; letter-spacing: -.08em; }
.medal { position: relative; font-size: 1.55rem; }
.place-label { position: relative; margin-top: 18px; font-size: 1.15rem; font-weight: 900; }
.place-small { position: relative; margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.select-wrap { position: relative; display: block; margin-top: 22px; }
.select-wrap select { width: 100%; height: 50px; padding: 0 38px 0 13px; border: 1px solid #cfd1d1; border-radius: 10px; appearance: none; background: var(--white); color: var(--ink); font-weight: 800; cursor: pointer; }
.select-wrap select:focus { outline: 3px solid rgba(218,0,28,.14); border-color: var(--red); }
.select-trigger, .select-options { display: none; }
.custom-select-ready > select { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.custom-select-ready .select-trigger { width: 100%; height: 50px; padding: 0 38px 0 13px; border: 1px solid #cfd1d1; border-radius: 10px; display: flex; align-items: center; background: var(--white); color: var(--ink); font-weight: 800; text-align: left; cursor: pointer; }
.custom-select-ready .select-trigger:focus-visible { outline: 3px solid rgba(218,0,28,.14); border-color: var(--red); }
.select-trigger-value { min-width: 0; display: flex; align-items: center; gap: 10px; }
.select-trigger-value img, .select-option img { width: 30px; height: 20px; flex: 0 0 auto; object-fit: cover; border: 1px solid rgba(32,37,41,.14); border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.custom-select-ready .select-options { position: absolute; z-index: 10; top: calc(100% + 7px); left: 0; right: 0; max-height: 270px; padding: 6px; overflow-y: auto; border: 1px solid #cfd1d1; border-radius: 12px; display: grid; gap: 2px; background: var(--white); box-shadow: 0 18px 45px rgba(23,27,29,.18); }
.custom-select-ready .select-options[hidden] { display: none; }
.select-option { width: 100%; min-height: 43px; padding: 8px 10px; border: 0; border-radius: 8px; display: flex; align-items: center; gap: 11px; background: transparent; color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; }
.select-option:hover, .select-option:focus-visible, .select-option[aria-selected="true"] { outline: 0; background: #fff0f2; color: var(--red-dark); }
.select-option:disabled { opacity: .35; cursor: not-allowed; }
.select-chevron { position: absolute; right: 13px; top: 50%; color: var(--red); font-weight: 900; pointer-events: none; transform: translateY(-58%); }
.selection-help { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.selection-help.is-error { color: var(--red); font-weight: 700; }
.details-block { padding-top: 32px; border-top: 1px solid var(--line); }
.form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.form-heading span { font-size: 1.25rem; font-weight: 900; }
.form-heading small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.field { display: grid; gap: 8px; margin-bottom: 17px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 800; }
.field input { width: 100%; height: 51px; padding: 0 15px; border: 1px solid #cfd1d1; border-radius: 10px; background: var(--white); color: var(--ink); outline: 0; }
.field input::placeholder { color: #a4a8aa; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,0,28,.12); }
.terms-check { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; margin: 10px 0 24px; color: #515960; font-size: .88rem; line-height: 1.55; cursor: pointer; }
.terms-check input { position: absolute; opacity: 0; }
.custom-check { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #b9bdc0; border-radius: 5px; color: transparent; background: var(--white); transition: .2s; }
.terms-check input:checked + .custom-check { color: var(--white); border-color: var(--red); background: var(--red); }
.terms-check input:focus-visible + .custom-check { outline: 3px solid rgba(218,0,28,.18); }
.text-button { padding: 0; border: 0; background: none; color: var(--red); font-weight: 800; text-decoration: underline; cursor: pointer; }
.submit-button { width: 100%; min-height: 58px; font-size: 1rem; }
.privacy-note { margin: 13px 0 0; color: #858b8f; text-align: center; font-size: .77rem; }

.success-card { max-width: 760px; margin: 0 auto; padding: 20px 0; text-align: center; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 2rem; font-weight: 900; box-shadow: 0 12px 30px rgba(218,0,28,.25); }
.success-card > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 0; color: var(--muted); line-height: 1.6; }
.success-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 9px; margin: 38px 0 26px; }
.success-podium div { min-height: 110px; display: grid; align-content: center; gap: 9px; padding: 15px; border-radius: 16px 16px 5px 5px; background: #eceeed; }
.success-podium .winner { min-height: 145px; background: #ffecef; }
.success-podium span { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.success-podium strong { font-size: 1.1rem; }

.prizes-section { padding: 110px 0; }
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prize-card { position: relative; min-height: 315px; padding: 34px; overflow: hidden; border: 1px solid #dedfdd; border-radius: 20px; background: var(--white); }
.prize-first { color: white; border-color: var(--red); background: var(--red); }
.prize-rank { position: absolute; top: 24px; right: 25px; color: #e0e1e1; font-size: 3.6rem; font-weight: 900; line-height: 1; }
.prize-first .prize-rank { color: rgba(255,255,255,.28); }
.prize-rank sup { font-size: .85rem; vertical-align: top; }
.prize-icon { width: 72px; height: 72px; margin-bottom: 55px; border-radius: 50%; display: grid; place-items: center; background: #f7e8ea; color: var(--red); font-weight: 900; font-size: 1.2rem; }
.prize-first .prize-icon { color: white; background: rgba(255,255,255,.16); }
.prize-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.prize-first .prize-icon img { width: 50px; height: 50px; object-fit: contain; }
.prize-third .prize-icon { background: var(--red); }
.prize-third .prize-icon img { width: 50px; height: 50px; object-fit: contain; }
.prize-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.prize-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.prize-first p { color: rgba(255,255,255,.78); }
.announcement { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 22px 28px; border-radius: 16px; background: var(--grey); color: white; }
.announcement-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--red); }
.announcement p { margin: 5px 0 0; color: #bec2c5; font-size: .9rem; }

.site-footer { padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: white; background: #22272b; }
.footer-main { min-height: 245px; display: grid; grid-template-columns: 220px 1fr 1.7fr; gap: 45px; align-items: center; }
.footer-main img { width: 200px; }
.footer-main p { max-width: 240px; margin: 0; color: #aeb3b6; line-height: 1.55; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px 24px; }
.footer-main nav a { font-size: .82rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.footer-main nav a:hover { color: var(--red); }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: #8f969a; font-size: .78rem; }
.footer-terms { color: #bcc1c4; }

#rules, #vote, #prizes { scroll-margin-top: 82px; }

.terms-modal { width: min(680px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 28px)); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.terms-modal::backdrop { background: rgba(19,22,24,.74); backdrop-filter: blur(5px); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 15px; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); background: white; }
.modal-head h2 { margin: 0; font-size: 1.65rem; }
.modal-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f0f1f0; font-size: 1.6rem; cursor: pointer; }
.modal-body { padding: 10px 30px 24px; color: #50585e; font-size: .91rem; line-height: 1.62; }
.modal-body p { margin: 18px 0; }
.modal-body strong { color: var(--ink); }
.modal-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding: 17px 30px; border-top: 1px solid var(--line); background: white; }

/* Admin */
.admin-body { min-height: 100vh; background: #efefed; }
.login-page { min-height: 100vh; display: grid; place-items: center; align-content: center; padding: 30px 20px; background: radial-gradient(circle at 50% 25%, #5a6269 0, var(--grey) 28%, #272c30 100%); }
.login-logo { width: 215px; margin: 0 auto 28px; }
.login-card { width: min(460px, 100%); padding: 40px; border-radius: 24px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.login-card h1 { margin: 0; font-size: 2.45rem; letter-spacing: -.05em; }
.login-card > p:not(.eyebrow) { margin: 10px 0 24px; color: var(--muted); line-height: 1.5; }
.login-card form .button { width: 100%; margin-top: 6px; }
.login-badge { float: right; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #ffeaed; }
.back-link { margin-top: 22px; color: #cdd1d3; font-size: .86rem; font-weight: 700; text-decoration: none; }
.admin-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px) / 2)); background: var(--grey); }
.admin-header img { width: 190px; }
.admin-actions { display: flex; gap: 10px; align-items: center; }
.admin-actions form { margin: 0; }
.admin-actions .button { min-height: 42px; padding: 0 16px; font-size: .82rem; }
.dashboard { width: min(1240px, calc(100vw - 40px)); margin: 0 auto; padding: 55px 0 90px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.dashboard-heading h1 { margin: 0 0 8px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.dashboard-heading > div > p:last-child { margin: 0; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; background: white; color: #425049; font-size: .78rem; font-weight: 800; box-shadow: 0 8px 25px rgba(0,0,0,.06); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #20a866; box-shadow: 0 0 0 4px #daf5e6; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.stats-grid article { display: grid; min-height: 165px; padding: 26px; border: 1px solid #dedfdd; border-radius: 18px; background: white; }
.stats-grid span { color: var(--muted); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.stats-grid strong { align-self: end; color: var(--red); font-size: 3rem; line-height: 1; }
.stats-grid .stat-time { color: var(--ink); font-size: 2rem; }
.stats-grid small { margin-top: 8px; color: #959a9e; }
.leader-section, .entries-panel { margin-top: 16px; padding: 28px; border: 1px solid #dedfdd; border-radius: 20px; background: white; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-title h2 { font-size: 1.75rem; }
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.leader-grid article { padding: 22px; border-radius: 14px; background: #f3f3f1; }
.leader-grid article > span { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.leader-grid article div { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; }
.flag-small { font-size: 1.8rem; }
.leader-grid article strong { font-size: 1.15rem; }
.leader-grid small { color: var(--red); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid #e1e2e1; border-radius: 13px; }
table { width: 100%; border-collapse: collapse; min-width: 920px; }
th { padding: 13px 16px; color: #7c8286; background: #f3f3f1; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; text-align: left; }
td { padding: 15px 16px; border-top: 1px solid #e7e8e7; font-size: .85rem; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: #8a9094; }
.team-chip { display: inline-flex; white-space: nowrap; padding: 7px 10px; border-radius: 999px; background: #f2f3f2; font-weight: 700; }
.empty-cell { padding: 50px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; background-position: 59% center; }
    .hero::before { background: linear-gradient(90deg, rgba(3,11,18,.94) 0%, rgba(3,11,18,.78) 50%, rgba(3,11,18,.26) 100%), linear-gradient(0deg, rgba(3,11,18,.48), transparent 50%); }
    .hero-copy { max-width: 720px; }
    .hero-art { display: none; }
    .hero-stats { position: relative; left: auto; right: auto; bottom: auto; grid-column: 1; margin-top: 65px; margin-bottom: -130px; }
    .how-section { padding-top: 175px; }
    .steps, .prize-grid { grid-template-columns: 1fr; }
    .steps article { min-height: 220px; }
    .prediction-grid { grid-template-columns: 1fr; }
    .team-select-card { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
    .medal { grid-row: span 2; }
    .place-label { margin: 0; }
    .place-small { margin: 0; }
    .select-wrap { grid-column: 1 / -1; width: 100%; margin-top: 16px; }
    .footer-main { grid-template-columns: 1fr 1fr; padding: 55px 0; }
    .footer-main nav { grid-column: 1 / -1; justify-content: flex-start; }
    .stats-grid, .leader-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .site-header { height: 68px; padding: 0 14px; }
    .brand img { width: 126px; }
    .site-nav { gap: 13px; }
    .site-nav a { font-size: .62rem; letter-spacing: .06em; }
    .hero { padding: 58px 20px 82px; border-radius: 0 0 28px 28px; background-position: 62% center; }
    .hero::before { background: linear-gradient(90deg, rgba(3,11,18,.94) 0%, rgba(3,11,18,.83) 68%, rgba(3,11,18,.55) 100%), linear-gradient(0deg, rgba(3,11,18,.55), transparent 52%); }
    .campaign-kicker { margin-bottom: 20px; font-size: .67rem; }
    .hero h1 { font-size: clamp(3.75rem, 18vw, 5.2rem); }
    .hero-tagline { margin-top: 23px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .hero-actions .button { width: 100%; }
    .deadline { align-self: flex-start; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); margin: 48px -2px -82px; border-radius: 16px 16px 0 0; }
    .hero-stats div { min-height: 82px; flex-direction: column; gap: 4px; text-align: center; }
    .hero-stats strong { font-size: 1.55rem; }
    .hero-stats span { font-size: .58rem; }
    .section-wrap { width: min(100% - 32px, 1180px); }
    .how-section { padding: 150px 0 75px; }
    .section-heading { margin-bottom: 28px; }
    .steps article, .prize-card { padding: 26px; }
    .entry-section { padding: 50px 12px; border-radius: 28px 28px 0 0; }
    .entry-shell { padding: 27px 18px; border-radius: 19px; }
    .entry-heading { align-items: flex-start; }
    .entry-progress { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .success-podium { gap: 4px; }
    .success-podium div { padding: 8px; }
    .success-podium strong { font-size: .88rem; }
    .prizes-section { padding: 75px 0; }
    .announcement { align-items: flex-start; padding: 20px; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-main nav { grid-column: auto; justify-content: flex-start; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
    .login-card { padding: 30px 22px; }
    .admin-header { height: auto; min-height: 76px; padding: 14px 18px; }
    .admin-header img { width: 150px; }
    .admin-actions .button-light { display: none; }
    .dashboard { width: min(100% - 24px, 1240px); padding-top: 35px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .panel-title { align-items: flex-start; flex-direction: column; }
    .panel-title .button { width: 100%; }
    .leader-section, .entries-panel { padding: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
