:root {
    --ink: #111111;
    --night: #0e1510;
    --green: #1b623a;
    --red: #76070d;
    --cream: #efd7a5;
    --line: #c4c4c5;
    --muted: #777b78;
    --fantasy: #5cff04;
    --florcoin-gold: #f1d41c;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--night); }
body { min-height: 100vh; margin: 0; background: var(--night); color: var(--ink); font-family: "Manrope", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.site-shell { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; margin: 0 auto; overflow: hidden; background: #fff; }
.site-main { min-height: 50vh; display: flex; flex: 1 0 auto; flex-direction: column; }
.site-footer { flex: 0 0 auto; }
.page-gutter { padding-left: clamp(16px, 10.5vw, 168px); padding-right: clamp(16px, 10.5vw, 168px); }
.page-section { padding-top: 54px; padding-bottom: 54px; }
.dark-section { background: var(--night); color: #fff; }
.eyebrow { margin: 0 0 9px; color: var(--cream); font: 700 11px/1.2 "Inter", sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.display-title { margin: 0; font: 600 clamp(32px, 5vw, 52px)/1 "Unbounded", sans-serif; letter-spacing: -.8px; text-transform: uppercase; }
.section-title { margin: 0; font: 600 clamp(24px, 3.5vw, 38px)/1.06 "Unbounded", sans-serif; letter-spacing: -.5px; text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 15px; }
.page-heading { padding-top: 38px; padding-bottom: 38px; background: var(--night); color: #fff; }
.page-heading .section-lead { margin: 8px 0 0; color: rgba(255,255,255,.55); }
.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.text-link { color: var(--red); font: 800 13px/1.2 "Inter", sans-serif; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
.text-link:hover { opacity: .7; }
.primary-button, .outline-button, .dark-button, .green-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; border-radius: 8px; padding: 12px 18px;
    cursor: pointer; font-weight: 800; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; transition: opacity .2s, background .2s;
}
.primary-button { background: var(--red); color: #fff; }
.green-button { background: var(--green); color: #fff; }
.dark-button { background: var(--night); color: #fff; }
.outline-button { border: 1.5px solid rgba(255,255,255,.65); color: #fff; background: transparent; }
.primary-button:hover, .green-button:hover, .dark-button:hover, .outline-button:hover { opacity: .82; }
.placeholder-action { cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: #fff; }
.site-header--overlay { position: absolute; top: 0; width: 100%; background: transparent; }
.topbar { height: 36px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,.28); color: rgba(255,255,255,.7); font: 400 12px "Inter", sans-serif; }
.topbar span:first-child { color: var(--cream); font-weight: 700; letter-spacing: .95px; text-transform: uppercase; }
.navbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.club-logo { width: 61px; height: 40px; color: currentColor; }
.brand__text { display: flex; flex-direction: column; gap: 4px; text-transform: uppercase; }
.brand__text strong { font-size: 13px; font-weight: 800; line-height: 1; }
.brand__text small { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .3px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; }
.desktop-nav a { font-size: 11px; font-weight: 800; letter-spacing: .25px; text-transform: uppercase; white-space: nowrap; transition: color .15s; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--cream); }
.desktop-nav .fantasy-link, .mobile-nav .fantasy-link { padding: 5px 9px; border-radius: 5px; background: var(--fantasy); color: #0a1d0b; }
.desktop-nav .fantasy-link:hover { color: #0a1d0b; opacity: .85; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.login-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; transition: background .2s, opacity .2s; }
.login-button:hover, .login-button:focus-visible { outline: 0; background: #910b13; }
.user-icon { display: block; flex: 0 0 auto; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { height: 2px; width: 24px; background: #fff; }
.mobile-nav { padding: 12px 16px 18px; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a { display: block; padding: 11px 12px; border-radius: 7px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.mobile-nav .fantasy-link { margin: 4px 0; }
.mobile-nav .login-button { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: 52px; padding-bottom: 26px; color: #fff; background: var(--green); }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .08; background: radial-gradient(circle at 12% 110%, #fff 0 12%, transparent 12.5%), linear-gradient(145deg, transparent 55%, #000 56% 58%, transparent 59%); }
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .55fr; gap: 48px; padding-bottom: 36px; }
.footer-motto { margin: 16px 0 0; color: var(--cream); font-size: 17px; font-weight: 700; }
.footer-title { margin: 0 0 13px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
.footer-links a { color: rgba(255,255,255,.6); font-family: "Inter", sans-serif; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font: 800 11px "Inter", sans-serif; transition: border-color .15s, background .15s; }
.social-links a:hover, .social-links a:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.7); font: 400 13px/1.6 "Inter", sans-serif; }
.footer-bottom p:last-child { color: rgba(255,255,255,.45); text-align: right; }

/* Home */
.home-page .page-gutter { padding-left: clamp(16px, 11.75vw, 168px); padding-right: clamp(16px, 11.75vw, 168px); }
.hero { position: relative; height: clamp(520px, 54svh, 640px); color: #fff; background: var(--night); overflow: hidden; }
.hero__photo, .hero__shade { position: absolute; inset: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade { background: linear-gradient(90deg, rgba(10,12,10,.92) 0%, rgba(10,12,10,.76) 28%, rgba(10,12,10,.42) 55%, rgba(10,12,10,.08) 82%), linear-gradient(to bottom, rgba(0,0,0,.08) 45%, rgba(14,21,16,.5) 78%, var(--night) 100%); }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; }
.hero h1 { margin: 0 0 24px; font: 600 clamp(40px,8vw,100px)/1.03 "Unbounded", sans-serif; letter-spacing: -1.5px; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .primary-button, .hero__actions .outline-button { min-width: 184px; justify-content: space-between; }
.match-area { padding-top: 36px; padding-bottom: 60px; background: var(--night); color: #fff; }
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.match-card, .standings-card { border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.03); }
.match-card { padding: 30px 32px 26px; background: linear-gradient(135deg, #1a0a0c, var(--night)); }
.match-card__empty { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 18px; text-align: center; color: rgba(255,255,255,.55); }
.match-card__empty p { margin: 0; }
.card-label { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--cream); font: 700 11px "Inter", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
.card-label::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.09); }
.card-label small { order: 2; max-width: 45%; overflow: hidden; color: rgba(255,255,255,.35); font-size: 10px; font-weight: 500; letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-bottom: 24px; }
.team { text-align: center; }
.team__badge { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: var(--red); }
.team__badge--away { background: #292929; font: 700 15px "Unbounded", sans-serif; }
.team__badge .club-logo { width: 40px; height: 26px; }
.team strong { display: block; font: 600 17px "Unbounded", sans-serif; text-transform: uppercase; }
.team small { color: rgba(255,255,255,.4); }
.versus__center { text-align: center; }
.versus__center b { display: block; color: rgba(255,255,255,.2); font: 600 38px "Unbounded", sans-serif; }
.versus__center span { display: block; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 700; }
.ticket-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid rgba(118,7,13,.45); border-radius: 12px; background: rgba(118,7,13,.14); }
.ticket-strip p { margin: 0; }
.ticket-strip strong { color: var(--cream); font: 600 24px "Unbounded", sans-serif; }
.standings-card { padding-bottom: 12px; }
.standings-card__header { padding: 26px 28px 16px; }
.standings-card__header .card-label { margin-bottom: 8px; }
.standings-card__header p { margin: 0; color: rgba(255,255,255,.38); font-size: 13px; }
.standings { width: 100%; border-collapse: collapse; font-family: "Inter", sans-serif; font-size: 12px; }
.standings th { padding: 9px 6px; color: rgba(255,255,255,.3); font-size: 10px; text-transform: uppercase; }
.standings th:nth-child(2), .standings td:nth-child(2) { text-align: left; }
.standings td { padding: 11px 6px; border-top: 1px solid rgba(255,255,255,.05); text-align: center; color: rgba(255,255,255,.55); }
.standings tr.is-us { background: rgba(118,7,13,.2); box-shadow: inset 3px 0 var(--red); }
.standings tr.is-us td:nth-child(2), .standings td:last-child { color: #fff; font-weight: 800; }
.values { padding-top: 48px; padding-bottom: 48px; background: var(--green); color: #fff; }
.values-grid { display: grid; grid-template-columns: 1.1fr .55fr; gap: 56px; margin-top: 28px; }
.values-copy { margin: 0; font-size: clamp(16px,2vw,20px); font-weight: 500; line-height: 1.4; }
.value-stats { display: grid; gap: 10px; }
.value-stats div { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-radius: 10px; background: rgba(255,255,255,.1); }
.value-stats span { color: rgba(255,255,255,.7); font: 700 13px "Inter", sans-serif; text-transform: uppercase; }
.content-grid { display: grid; gap: 20px; }
.content-grid--three { grid-template-columns: repeat(3, 1fr); }
.content-grid--four { grid-template-columns: repeat(4, 1fr); }

/* Cards and lists */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { border: 0; border-radius: 8px; padding: 9px 16px; background: #f3f3f3; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.filter-button.is-active { background: var(--red); color: #fff; }
.news-browser { transition: opacity .16s ease; }
.news-browser.is-loading { pointer-events: none; opacity: .5; }
.news-filter-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid rgba(118,7,13,.22); border-radius: 8px; background: #fff0f0; color: var(--red); font-size: 13px; }
.news-card, .player-card, .merch-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s; }
.news-card:hover, .player-card:hover, .merch-card:hover { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(0,0,0,.1); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1.8/1; background: var(--green); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-image-placeholder { display: grid; width: 100%; height: 100%; min-height: inherit; place-items: center; background: linear-gradient(145deg, var(--green), var(--night)); color: rgba(255,255,255,.55); font: 800 11px "Inter", sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.article-hero .news-image-placeholder { opacity: .55; }
.news-empty-state { grid-column: 1 / -1; }
.news-card:hover img, .player-card:hover img, .merch-card:hover img { transform: scale(1.045); }
.news-card__body { padding: 16px; }
.date-badge, .position-badge, .category-badge, .status-badge { display: inline-block; border-radius: 5px; padding: 4px 9px; background: var(--green); color: #fff; font: 800 10px "Inter", sans-serif; letter-spacing: .3px; text-transform: uppercase; }
.news-card h3 { margin: 11px 0 6px; font: 600 15px/1.22 "Unbounded", sans-serif; letter-spacing: -.35px; text-transform: uppercase; }
.news-card p { margin: 0; font-size: 13px; line-height: 1.45; }
.player-card .card-image { aspect-ratio: 1/1.18; }
.player-card .card-image img { object-position: top; }
.player-number { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.player-card__body { padding: 14px; }
.player-card__body h3 { min-height: 38px; margin: 0 0 7px; font-size: 14px; line-height: 1.35; }
.position-badge { background: var(--green); color: var(--cream); }
.player-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); text-align: center; }
.player-stats b { display: block; font-size: 14px; }
.player-stats small { color: var(--muted); font: 400 9px "Inter", sans-serif; }
.partners-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 1px; padding: 1px; border-radius: 10px; overflow: hidden; background: var(--line); }
.partner-strip-item { min-height: 70px; display: grid; place-items: center; padding: 15px; background: #fff; color: #9b9b9c; font: 400 11px "Inter", sans-serif; letter-spacing: .7px; text-align: center; text-transform: uppercase; }
a.partner-strip-item:hover { color: var(--red); }
.partner-strip-empty { grid-column: 1 / -1; margin: 0; border: 0; border-radius: 0; }
.feature-news { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; }
.feature-news__image { min-height: 300px; }
.feature-news__image img { width: 100%; height: 100%; object-fit: cover; }
.feature-news__copy { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.feature-news__copy h2 { margin: 16px 0 9px; font: 600 21px/1.2 "Unbounded", sans-serif; text-transform: uppercase; }
.feature-news__copy p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Details */
.player-hero { padding-top: 40px; padding-bottom: 48px; background: var(--night); color: #fff; }
.player-hero__inner { display: flex; align-items: end; gap: 48px; }
.player-portrait { width: 240px; height: 310px; position: relative; flex-shrink: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: var(--green); }
.player-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.player-hero h1 { max-width: 800px; margin: 13px 0 20px; font: 600 clamp(28px,5vw,52px)/1 "Unbounded", sans-serif; text-transform: uppercase; }
.bio-stats, .score-stats { display: flex; flex-wrap: wrap; gap: 25px; }
.bio-stats div small { display: block; color: rgba(255,255,255,.42); font: 700 10px "Inter", sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.bio-stats div b { font-size: 20px; }
.score-stats { margin-top: 20px; gap: 10px; }
.score-stats div { min-width: 76px; padding: 11px 16px; border-radius: 8px; text-align: center; background: rgba(255,255,255,.07); }
.score-stats b { display: block; font-size: 25px; }
.score-stats small { color: rgba(255,255,255,.4); font: 400 10px "Inter", sans-serif; text-transform: uppercase; }
.article-copy { max-width: 830px; }
.article-copy p { font-size: 17px; line-height: 1.7; }
.article-lead { padding-left: 22px; border-left: 4px solid var(--red); font-size: 19px !important; font-weight: 600; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.article-hero { position: relative; height: 360px; overflow: hidden; background: var(--night); color: #fff; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.15)); }
.article-hero__copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 42px; }
.article-hero h1 { max-width: 850px; margin: 14px 0 0; font: 600 clamp(21px,4vw,38px)/1.12 "Unbounded", sans-serif; text-transform: uppercase; }
.related-list { display: grid; gap: 16px; }
.related-list .card-image { height: 145px; aspect-ratio: auto; }

/* Calendar, partners, fans */
.calendar-page-heading { min-height: 187px; display: flex; flex-direction: column; justify-content: center; padding-top: 34px; padding-bottom: 36px; }
.calendar-page-heading .display-title { font-size: clamp(38px,4.4vw,54px); }
.calendar-page-heading .section-lead { margin-top: 10px; }
.calendar-section { padding-top: 44px; padding-bottom: 40px; }
.match-list { display: grid; gap: 12px; margin-bottom: 50px; }
.match-list--results { margin-bottom: 0; }
.match-list-title { margin-bottom: 28px; font-size: clamp(24px,2.3vw,30px); }
.match-row { min-height: 114px; display: grid; grid-template-columns: minmax(205px,1fr) minmax(440px,2.1fr) minmax(225px,1fr); align-items: center; gap: 20px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.match-row--result { min-height: 67px; padding-top: 12px; padding-bottom: 12px; }
.match-date { display: flex; align-items: center; gap: 16px; }
.match-date__primary { min-width: 80px; }
.match-date b, .match-date span { display: block; }
.match-date b { font-size: 15px; line-height: 1.3; }
.match-date span { margin-top: 2px; color: var(--green); font: 700 13px/1.2 "Inter", sans-serif; }
.match-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; padding: 4px 9px; border-radius: 4px; background: var(--green); color: var(--cream); font: 800 9px/1 "Inter", sans-serif; letter-spacing: .25px; text-transform: uppercase; white-space: nowrap; }
.match-badge--away, .match-badge--draw { background: #727a74; color: #fff; }
.match-badge--live { background: var(--red); color: #fff; }
.match-badge--loss, .match-badge--cancelled { background: #a52e2c; color: #fff; }
.match-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 22px; font: 600 16px/1.2 "Unbounded", sans-serif; letter-spacing: -.35px; text-transform: uppercase; }
.match-teams span { overflow-wrap: anywhere; }
.match-teams span:first-child { text-align: right; }
.match-teams .is-club { color: var(--red); }
.match-teams b { white-space: nowrap; }
.match-score { color: var(--ink); font: 800 20px/1 "Manrope", sans-serif; }
.match-separator { color: var(--line); font: 500 20px/1 "Manrope", sans-serif; }
.match-meta { text-align: right; color: #c5c7c5; font: 600 11px/1.45 "Inter", sans-serif; }
.match-meta span, .match-meta strong { display: block; }
.match-meta strong { color: var(--green); font-weight: 700; }
.match-ticket { display: inline-flex; margin-top: 8px; padding: 8px 13px; border-radius: 7px; font-size: 10px; }
.empty-state { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; }
.partners-page { padding-top: 40px; padding-bottom: 40px; }
.partners-section-title { margin: 0 0 24px; font: 600 26px/1.15 "Unbounded", sans-serif; letter-spacing: -.3px; text-transform: uppercase; }
.partners-major { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-bottom: 48px; }
.partner-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.partner-level-badge { align-self: flex-start; display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 5px; background: var(--red); color: #fff; font: 800 10px/1.2 "Inter", sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.partner-card h3 { margin: 0 0 8px; font: 600 28px/1.2 "Unbounded", sans-serif; letter-spacing: -.4px; text-transform: uppercase; }
.partner-card p { margin: 0; color: var(--line); font-size: 15px; font-weight: 500; line-height: 1.5; }
.partner-card h3 a:hover, .partner-list h3 a:hover { color: var(--red); }
.partner-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-bottom: 48px; padding: 1px; overflow: hidden; border-radius: 10px; background: var(--line); }
.partner-list article { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: #fff; }
.partner-list h3 { margin: 0; font: 600 18px/1.25 "Unbounded", sans-serif; letter-spacing: -.2px; text-transform: uppercase; }
.partner-list p { margin: 10px 0 0; color: var(--line); font-size: 13px; font-weight: 500; line-height: 1.5; }
.partners-empty { margin-bottom: 48px; }
.partner-cta { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 34px; padding: 36px 40px; border-radius: 14px; background: var(--green); color: #fff; }
.partner-cta h2 { margin: 0 0 10px; font: 600 27px/1.12 "Unbounded", sans-serif; text-transform: uppercase; }
.partner-cta p { margin: 0; color: rgba(255,255,255,.7); }
.partner-cta__contact { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; text-align: right; }
.partner-cta__contact p { font-family: "Inter", sans-serif; font-size: 13px; }
.partner-cta__contact strong { color: var(--cream); font-size: 16px; }
.partner-cta__contact a { padding: 10px 20px; border-radius: 8px; background: #fff; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; transition: background .15s; }
.partner-cta__contact a:hover, .partner-cta__contact a:focus-visible { outline: 0; background: var(--line); }
.arena-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; }
.arena-card h3 { margin: 0 0 12px; }
.arena-card p { color: var(--muted); line-height: 1.6; }
.hours div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }

/* Photos and merch */
.photo-page { background: var(--night); color: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding-bottom: 58px; }
.photo-tile { position: relative; aspect-ratio: 4/3; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #071009; cursor: pointer; }
.photo-tile.is-large { grid-column: span 2; aspect-ratio: 16/9; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile--placeholder { display: grid; place-items: center; background: radial-gradient(circle at 78% 22%,rgba(92,255,4,.12),transparent 34%),linear-gradient(145deg,#0d2212,#071009); color: rgba(255,255,255,.45); cursor: default; }
.photo-tile__placeholder { font: 700 11px "Inter", sans-serif; letter-spacing: 1.1px; text-transform: uppercase; }
.photo-tile__title { position: absolute; right: 18px; bottom: 16px; left: 18px; color: rgba(255,255,255,.82); font: 600 13px/1.35 "Unbounded", sans-serif; text-transform: uppercase; }
.photo-empty-state { grid-column: 1/-1; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); }
.lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(0,0,0,.96); cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.merch-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.merch-cart-button { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.merch-cart-button:hover { background: rgba(255,255,255,.12); }
.merch-cart-count { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 800 11px "Inter", sans-serif; }
.florcoin-icon { display: block; width: 100%; height: 100%; overflow: visible; }
.florcoin-icon__body { fill: #f6c914; stroke: #dca600; stroke-width: 1.1; }
.florcoin-icon__rim { fill: none; stroke: rgba(255,239,112,.78); stroke-width: 1; }
.florcoin-icon__shine { fill: rgba(255,255,255,.42); }
.florcoin-icon__letter { fill: #8d6200; }
.merch-florcoin-promo { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin-bottom: 26px; padding: 18px 22px; border: 1px solid #eadfbd; border-radius: 11px; background: linear-gradient(110deg,#fffcf4,#fffaf0); color: var(--ink); box-shadow: 0 10px 28px rgba(91,69,14,.055); }
.merch-florcoin-promo__coin { width: 38px; height: 38px; filter: drop-shadow(0 3px 5px rgba(164,116,0,.2)); }
.merch-florcoin-promo__copy { min-width: 0; }
.merch-florcoin-promo__copy p { margin: 0 0 4px; color: #a66f00; font: 800 9px/1.2 "Inter", sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.merch-florcoin-promo__copy h2 { margin: 0 0 5px; font: 600 clamp(14px,1.65vw,18px)/1.2 "Unbounded", sans-serif; letter-spacing: -.25px; text-transform: uppercase; }
.merch-florcoin-promo__highlight { color: #d99a00; }
.merch-florcoin-promo__copy > span { display: block; max-width: 720px; color: #6e6758; font-size: 11px; line-height: 1.45; }
.merch-florcoin-promo__link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 11px; padding: 0 14px; border: 1px solid #e2cf99; border-radius: 7px; background: #fff8e7; color: var(--ink); font: 800 9px "Inter", sans-serif; letter-spacing: .25px; text-transform: uppercase; white-space: nowrap; transition: border-color .15s, background .15s; }
.merch-florcoin-promo__link:hover { border-color: #d5b55f; background: #fff2cf; }
.merch-florcoin-promo__link span { color: #bd8700; font-size: 17px; line-height: 1; }
.merch-filters { margin-bottom: 30px; }
.merch-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.merch-card { display: flex; min-width: 0; flex-direction: column; }
.merch-card .merch-card__image { aspect-ratio: 1/1; background: #f5f4f1; }
.merch-card__image img { width: 100%; height: 100%; object-fit: cover; }
.merch-category { position: absolute; top: 12px; left: 12px; background: var(--night); }
.merch-photo-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #a0a19f; background: linear-gradient(145deg,#f7f6f3,#ecebe7); font: 700 12px "Inter", sans-serif; letter-spacing: .4px; text-transform: uppercase; }
.merch-card__body { display: flex; min-height: 210px; flex: 1; flex-direction: column; padding: 17px; }
.merch-card__copy { flex: 1; }
.merch-card h2 { margin: 0 0 7px; font: 700 14px/1.35 "Manrope", sans-serif; }
.merch-description { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.merch-size-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.merch-size-button { min-width: 34px; height: 30px; padding: 0 8px; border: 1px solid #d9d9d9; border-radius: 5px; background: #fff; color: var(--ink); cursor: pointer; font: 700 11px "Inter", sans-serif; }
.merch-size-button:hover, .merch-size-button.is-selected { border-color: var(--night); background: var(--night); color: #fff; }
.merch-card-error { min-height: 16px; margin: 4px 0 0; color: var(--red); font-size: 10px; }
.merch-card__footer { display: flex; align-items: stretch; flex-direction: column; gap: 10px; margin-top: 13px; }
.merch-card__price-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; }
.merch-card__price { font: 800 18px/1 "Inter", sans-serif; white-space: nowrap; }
.merch-card__bonus { display: inline-flex; min-height: 27px; flex: 0 0 auto; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #ead9a9; border-radius: 6px; background: #fffaed; color: #9b6900; white-space: nowrap; }
.merch-card__bonus .florcoin-icon { width: 13px; height: 13px; flex: 0 0 13px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.1)); }
.merch-card__bonus strong { font: 900 10px/1 "Inter", sans-serif; }
.merch-buy-button { width: 100%; min-height: 36px; flex-shrink: 0; padding: 10px 12px; border-radius: 6px; font-size: 10px; }
.merch-empty-state { grid-column: 1 / -1; }

body.merch-checkout-open { overflow: hidden; }
.merch-drawer-overlay { position: fixed; z-index: 299; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,8,5,.58); opacity: 0; cursor: pointer; transition: opacity .22s ease; }
.merch-drawer-overlay.is-open { opacity: 1; }
.merch-drawer { position: fixed; z-index: 300; top: 0; right: 0; width: min(480px,100vw); height: 100dvh; background: #fff; box-shadow: -18px 0 48px rgba(0,0,0,.18); transform: translateX(102%); transition: transform .25s ease; }
.merch-drawer.is-open { transform: translateX(0); }
.merch-checkout-form { display: flex; height: 100%; flex-direction: column; }
.merch-drawer__header { display: grid; min-height: 72px; grid-template-columns: 36px 1fr 36px; align-items: center; padding: 0 20px; border-bottom: 1px solid #dedede; }
.merch-drawer__header h2 { grid-column: 2; margin: 0; text-align: center; font-size: 18px; }
.merch-drawer__back, .merch-drawer__close { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.merch-drawer__back { grid-column: 1; grid-row: 1; }
.merch-drawer__close { grid-column: 3; grid-row: 1; }
.merch-drawer__back:hover, .merch-drawer__close:hover { background: #f2f2f2; }
.merch-drawer__close { font-size: 25px; line-height: 1; }
.checkout-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 0; padding: 17px 20px; border-bottom: 1px solid #ededed; list-style: none; }
.checkout-steps li { position: relative; display: flex; align-items: center; gap: 7px; color: #c5c5c5; font-size: 11px; }
.checkout-steps li:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 11px; left: calc(100% - 15px); width: 30px; height: 1px; background: #d0d0d0; }
.checkout-steps span { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #ededed; font: 800 10px "Inter", sans-serif; }
.checkout-steps b { white-space: nowrap; }
.checkout-steps li.is-active { color: var(--red); }
.checkout-steps li.is-active span { background: var(--red); color: #fff; }
.checkout-steps li.is-complete { color: var(--green); }
.checkout-steps li.is-complete span { background: var(--green); color: #fff; }
.checkout-steps li.is-complete:not(:last-child)::after { background: var(--green); }
.merch-drawer__content { flex: 1; overflow-y: auto; padding: 24px; }
.checkout-global-error { margin-bottom: 16px; padding: 11px 13px; border-radius: 6px; background: #fff0f0; color: var(--red); font-size: 12px; }
.checkout-cart-list { display: grid; gap: 16px; }
.checkout-cart-empty { display: grid; min-height: 310px; place-items: center; align-content: center; color: #a3a3a3; text-align: center; }
.checkout-cart-empty h3 { margin: 14px 0 4px; color: var(--ink); font-size: 16px; }
.checkout-cart-empty p { margin: 0; font-size: 13px; }
.checkout-cart-item { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #ececec; }
.checkout-cart-item__image { display: grid; width: 86px; height: 86px; place-items: center; overflow: hidden; border-radius: 8px; background: #f2f1ee; color: #a2a2a2; font: 700 9px "Inter", sans-serif; text-transform: uppercase; }
.checkout-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.checkout-cart-item__info { display: grid; min-width: 0; grid-template-columns: 1fr auto; gap: 7px; align-content: start; }
.checkout-cart-item__copy { min-width: 0; }
.checkout-cart-item__name { margin: 0; font-size: 13px; line-height: 1.35; }
.checkout-cart-item__size { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.checkout-cart-item__price { font: 800 13px "Inter", sans-serif; white-space: nowrap; }
.checkout-cart-item__controls { display: flex; min-width: 0; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 12px; margin-top: 3px; }
.checkout-cart-item__remove { display: inline-flex; height: 30px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid rgba(118,7,13,.16); border-radius: 5px; background: rgba(118,7,13,.045); color: var(--red); cursor: pointer; font-size: 10px; font-weight: 700; }
.checkout-cart-item__remove:hover { border-color: rgba(118,7,13,.35); background: rgba(118,7,13,.09); }
.checkout-quantity { display: inline-grid; width: 104px; height: 32px; flex: 0 0 104px; grid-template-columns: 32px 1fr 32px; align-items: center; border: 1px solid #d8d8d8; border-radius: 6px; overflow: hidden; text-align: center; }
.checkout-quantity button { height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 16px; }
.checkout-quantity button:hover { background: #f2f2f2; }
.checkout-quantity span { font: 700 11px "Inter", sans-serif; }
.checkout-fieldset { display: grid; gap: 14px; margin: 0 0 27px; padding: 0; border: 0; }
.checkout-fieldset legend { width: 100%; margin-bottom: 15px; font: 800 12px "Inter", sans-serif; text-transform: uppercase; }
.checkout-methods { gap: 8px; }
.checkout-method-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 69px; padding: 13px 14px; border: 1px solid #d7d7d7; border-radius: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.checkout-method-card:has(input:checked) { border-color: var(--green); background: #f2f8f4; }
.checkout-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-method-card__icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; background: #f1f1f1; color: var(--ink); }
.checkout-method-card:has(input:checked) .checkout-method-card__icon { background: var(--green); color: #fff; }
.checkout-method-card > span:last-child { display: grid; gap: 3px; }
.checkout-method-card b { font-size: 13px; }
.checkout-method-card small { color: var(--muted); font-size: 10px; }
.checkout-field { display: grid; gap: 7px; }
.checkout-field label { color: #541014; font-size: 11px; font-weight: 600; }
.checkout-input { width: 100%; height: 48px; padding: 0 15px; border: 1px solid #c8c8c8; border-radius: 8px; outline: 0; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.checkout-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,98,58,.11); }
.checkout-input::placeholder { color: #a2a2a2; }
.checkout-field.has-error .checkout-input { border-color: #a20e16; }
.checkout-field-error { margin: -2px 0 0; color: #8d0c13; font-size: 10px; }
.checkout-address { padding-top: 3px; }
.checkout-address-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-confirmation h3 { margin: 0 0 18px; font-size: 17px; }
.checkout-confirm-item { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #ececec; font-size: 12px; }
.checkout-confirm-item span { color: var(--muted); }
.checkout-confirm-item strong { white-space: nowrap; }
.checkout-confirm-details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 25px 0 0; font-size: 12px; }
.checkout-confirm-details dt { color: var(--muted); }
.checkout-confirm-details dd { margin: 0; text-align: right; }
.merch-drawer__footer { padding: 16px 24px 20px; border-top: 1px solid #d8d8d8; background: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.035); }
.checkout-price-lines { display: grid; gap: 7px; margin-bottom: 12px; }
.checkout-price-lines > div, .checkout-total { display: flex; justify-content: space-between; gap: 14px; }
.checkout-price-lines > div { color: var(--muted); font-size: 11px; }
.checkout-price-lines strong { color: var(--ink); }
.checkout-total { align-items: baseline; margin-bottom: 15px; }
.checkout-total > span { font-size: 12px; font-weight: 700; }
.checkout-total small { color: var(--muted); font-weight: 400; }
.checkout-total > strong { font: 800 19px "Inter", sans-serif; }
.checkout-next-button { width: 100%; min-height: 52px; border-radius: 7px; }
.checkout-next-button:disabled { cursor: not-allowed; opacity: .4; }
.checkout-next-button[aria-busy="true"] { cursor: wait; }
.merch-success { position: fixed; z-index: 400; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(7,14,9,.88); }
.merch-success__card { width: min(440px,100%); padding: 42px 34px; border-radius: 15px; background: #fff; text-align: center; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.merch-success__icon { display: grid; width: 58px; height: 58px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 28px; }
.merch-success__card .eyebrow { color: var(--green); }
.merch-success__card h2 { margin: 7px 0 13px; font: 700 25px/1.2 "Unbounded", sans-serif; text-transform: uppercase; }
.merch-success__card p:not(.eyebrow) { margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Fantasy */
.fantasy-page { background: #0a1d0b; color: #fff; }
.fantasy-hero { position: relative; min-height: 620px; overflow: hidden; background: url("../img/fantasy-bg.3ddf1b7d22f6.png") center top / cover no-repeat; }
.fantasy-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(10,29,11,.94),rgba(10,29,11,.68) 48%,rgba(10,29,11,.4)); }
.fantasy-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent,#0a1d0b); }
.fantasy-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-top: 65px; }
.fantasy-hero h1 { margin: 0 0 18px; font: 600 clamp(30px,5vw,48px)/1.05 "Unbounded", sans-serif; text-transform: uppercase; }
.fantasy-hero h1 span { color: var(--fantasy); }
.fantasy-hero__copy > p { max-width: 510px; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.55; }
.fantasy-prizes { position: relative; min-height: 390px; }
.fantasy-prizes img { width: 100%; height: 360px; object-fit: contain; object-position: right; }
.fantasy-rating-button { background: rgba(5,20,7,.28); }
.fantasy-rating-button:hover, .fantasy-rating-button:focus-visible { border-color: var(--fantasy); outline: 0; background: rgba(92,255,4,.08); opacity: 1; }
.fantasy-steps { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 40px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.04); backdrop-filter: blur(12px); }
.fantasy-steps div { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.fantasy-steps div:first-child { border-left: 0; }
.fantasy-steps b { color: var(--fantasy); font-size: 38px; }
.fantasy-steps span { font-size: 14px; }
.fantasy-builder { padding-top: 56px; padding-bottom: 64px; }
.fantasy-builder .section-lead { color: rgba(255,255,255,.5); }
.fantasy-notices { display: grid; gap: 8px; margin: 18px 0 24px; }
.fantasy-notices:empty { display: none; }
.fantasy-notice { margin: 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.05); font-size: 13px; }
.fantasy-notice--success { border-color: rgba(92,255,4,.35); background: rgba(92,255,4,.08); color: #baff96; }
.fantasy-notice--error { border-color: rgba(255,120,120,.4); background: rgba(255,80,80,.08); color: #ffb7b7; }
.fantasy-notice--locked { border-color: rgba(241,212,28,.42); background: rgba(241,212,28,.09); color: #f7e989; }
.builder-grid { display: grid; grid-template-columns: 1fr 440px; gap: 32px; }
.pitch { position: relative; min-height: 540px; overflow: hidden; border-radius: 16px; background: linear-gradient(170deg,#0d3312,#0a1e0c); }
.pitch::before { content: ""; position: absolute; inset: 24px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; }
.pitch::after { content: ""; position: absolute; left: 28px; right: 28px; top: 50%; border-top: 1px solid rgba(255,255,255,.12); }
.pitch-row { position: absolute; z-index: 2; left: 10%; right: 10%; display: flex; justify-content: space-around; }
.pitch-row--goal { top: 44px; }
.pitch-row--defence { top: 225px; }
.pitch-row--attack { bottom: 44px; }
.pitch-slot { padding: 0; border: 0; outline: 0; background: transparent; color: inherit; text-align: center; cursor: pointer; }
.pitch-slot:disabled { opacity: .58; cursor: not-allowed; }
.pitch-slot:focus-visible .pitch-slot__box { border-color: var(--fantasy); box-shadow: 0 0 0 3px rgba(92,255,4,.16); }
.pitch-slot__box { width: 78px; height: 88px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.35); border-radius: 12px; background: rgba(0,0,0,.3); color: rgba(92,255,4,.6); font-size: 34px; }
.pitch-slot.has-player .pitch-slot__box { border-style: solid; border-color: rgba(92,255,4,.42); }
.pitch-slot.is-swap-target .pitch-slot__box { border-color: #f1d41c; box-shadow: 0 0 0 3px rgba(241,212,28,.14); }
.pitch-slot__empty { line-height: 1; }
.pitch-slot small { display: block; margin-top: 6px; color: rgba(255,255,255,.45); font-size: 11px; }
.pitch-player-card { position: relative; width: 100%; height: 100%; display: block; overflow: hidden; border-radius: 11px; background: #102c13; }
.pitch-player-card img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.pitch-player-card__meta { position: absolute; inset: auto 0 0; display: grid; gap: 1px; padding: 16px 4px 5px; background: linear-gradient(transparent,rgba(0,0,0,.9)); text-align: center; }
.pitch-player-card__meta b { overflow: hidden; color: #fff; font-size: 8px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.pitch-player-card__meta span { color: var(--fantasy); font-size: 8px; font-weight: 800; }
.bench { margin-top: 20px; padding: 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); }
.bench h3 { margin: 0 0 6px; font-size: 15px; text-transform: uppercase; }
.bench p { margin: 0; color: rgba(255,255,255,.4); font-size: 12px; }
.bench-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 9px; margin-top: 18px; }
.bench-player { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 9px; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.05); color: #fff; text-align: left; cursor: pointer; }
.bench-player:hover, .bench-player:focus-visible { border-color: rgba(92,255,4,.5); outline: 0; background: rgba(92,255,4,.07); }
.bench-player:disabled { opacity: .58; cursor: not-allowed; }
.bench-player.is-pending { border-color: #f1d41c; background: rgba(241,212,28,.08); }
.bench-player img { width: 44px; height: 48px; border-radius: 7px; object-fit: cover; object-position: top; }
.bench-player__copy { min-width: 0; display: grid; gap: 2px; }
.bench-player__copy b { overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.bench-player__copy small { color: rgba(255,255,255,.48); font-size: 9px; }
.bench-player__copy em { color: var(--fantasy); font-size: 8px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.bench-empty { grid-column: 1 / -1; padding: 14px; border: 1px dashed rgba(255,255,255,.16); border-radius: 9px; text-align: center; }
.fantasy-panel { display: grid; align-content: start; gap: 14px; }
.fantasy-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fantasy-filters select { width: 100%; padding: 12px 42px 12px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; appearance: none; background-color: #0e2410; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 17px center; background-repeat: no-repeat; background-size: 12px 8px; color: #fff; cursor: pointer; }
.fantasy-filters select:hover { border-color: rgba(92,255,4,.36); }
.fantasy-filters select:focus-visible { border-color: rgba(92,255,4,.62); outline: 0; box-shadow: 0 0 0 3px rgba(92,255,4,.1); }
.fantasy-premium-note { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(241,212,28,.18); border-radius: 8px; background: rgba(255,255,255,.04); }
.fantasy-premium-note > span { width: 18px; height: 18px; display: grid; flex: 0 0 18px; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#f1d41c,#ce8c21); color: #0a1d0b; font-size: 9px; }
.fantasy-premium-note small { color: #f1d41c; font-size: 11px; }
.fantasy-player-list-title { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.fantasy-player-list { max-height: 390px; display: grid; gap: 7px; padding-right: 9px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(92,255,4,.62) rgba(255,255,255,.055); scrollbar-width: thin; }
.fantasy-player-list::-webkit-scrollbar, .fantasy-rating-dialog__body::-webkit-scrollbar { width: 7px; }
.fantasy-player-list::-webkit-scrollbar-track, .fantasy-rating-dialog__body::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.055); }
.fantasy-player-list::-webkit-scrollbar-thumb, .fantasy-rating-dialog__body::-webkit-scrollbar-thumb { border: 1px solid #0a1d0b; border-radius: 999px; background: linear-gradient(180deg,var(--fantasy),#2cae21); }
.fantasy-player-list::-webkit-scrollbar-thumb:hover, .fantasy-rating-dialog__body::-webkit-scrollbar-thumb:hover { background: #7dff3b; }
.fantasy-player-row { display: grid; grid-template-columns: 42px 26px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.04); }
.fantasy-player-row.is-premium { border-color: rgba(241,212,28,.28); }
.fantasy-player-row img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; object-position: top; }
.fantasy-player-row b { display: block; font-size: 12px; }
.fantasy-player-row small { color: rgba(255,255,255,.5); font-size: 11px; }
.fantasy-player-number { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(255,255,255,.07); font: 700 10px/1 "Inter", sans-serif; }
.fantasy-player-number.is-premium { border-color: #ce8c21; background: linear-gradient(135deg,#f1d41c,#ce8c21); color: #0a1d0b; }
.fantasy-player-copy { min-width: 0; }
.fantasy-player-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fantasy-premium-star { color: #f1d41c; font-size: 9px; }
.fantasy-player-actions { min-width: 94px; display: grid; justify-items: end; gap: 5px; }
.fantasy-player-actions form { margin: 0; }
.fantasy-buy-button, .fantasy-player-status { display: inline-flex; min-height: 25px; align-items: center; justify-content: center; padding: 5px 8px; border: 0; border-radius: 5px; font-size: 9px; font-weight: 800; letter-spacing: .2px; line-height: 1; text-transform: uppercase; }
.fantasy-buy-button { background: var(--fantasy); color: #0a1d0b; cursor: pointer; }
.fantasy-buy-button:hover { opacity: .82; }
.fantasy-buy-button:disabled { background: rgba(255,255,255,.1); color: rgba(255,255,255,.35); cursor: not-allowed; opacity: 1; }
.fantasy-player-status { background: rgba(92,255,4,.12); color: var(--fantasy); }
.coin, .fantasy-balance-value, .fantasy-line-value { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.coin { color: var(--florcoin-gold); font-weight: 800; }
.fantasy-coin-icon { width: 15px; height: 15px; flex: 0 0 15px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.22)); }
.balance-card { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.04); }
.balance-card__top { display: flex; justify-content: space-between; margin-bottom: 14px; font-weight: 800; text-transform: uppercase; }
.balance-card__top strong { color: var(--fantasy); font-size: 20px; }
.balance-card__top .fantasy-balance-value { color: var(--florcoin-gold); }
.fantasy-balance-coin { width: 18px; height: 18px; flex: 0 0 18px; }
.balance-lines { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.balance-lines div { display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 12px; }
.fantasy-line-value { color: var(--florcoin-gold); }
.fantasy-line-coin { width: 13px; height: 13px; flex: 0 0 13px; }
.balance-card button { width: 100%; margin-top: 14px; border: 0; background: rgba(255,255,255,.1); color: rgba(255,255,255,.3); }
.roster-feedback { min-height: 30px; margin: 12px 0 0; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.4; }
.roster-feedback.is-ready { color: #baff96; }
.roster-feedback.is-warning { color: #f1d41c; }
.fantasy-roster-save:not(:disabled) { background: var(--fantasy); color: #0a1d0b; cursor: pointer; }
.fantasy-roster-save:not(:disabled):hover { opacity: .84; }
.fantasy-rating-dialog { width: min(660px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; border: 1px solid rgba(92,255,4,.22); border-radius: 18px; outline: 0; background: #0d2110; color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.58); }
.fantasy-rating-dialog::backdrop { background: rgba(3,10,4,.84); backdrop-filter: blur(5px); }
.fantasy-rating-dialog__card { max-height: calc(100dvh - 48px); display: grid; grid-template-rows: auto minmax(0,1fr); }
.fantasy-rating-dialog__header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 30px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fantasy-rating-dialog__header .eyebrow { margin-bottom: 7px; color: var(--fantasy); }
.fantasy-rating-dialog__header h2 { margin: 0 50px 0 0; font: 600 24px/1.2 "Unbounded", sans-serif; text-transform: uppercase; }
.fantasy-rating-dialog__body { overflow-y: auto; padding: 20px 30px 30px; overscroll-behavior: contain; scrollbar-color: rgba(92,255,4,.62) rgba(255,255,255,.055); scrollbar-width: thin; }
.fantasy-rating-dialog__description { margin: 0 0 18px; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.55; }
.fantasy-current-rank { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(92,255,4,.22); border-radius: 12px; background: rgba(92,255,4,.16); }
.fantasy-current-rank div { min-width: 0; display: grid; gap: 5px; padding: 15px 18px; background: #102a13; }
.fantasy-current-rank span { color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.fantasy-current-rank strong { color: var(--fantasy); font-size: 16px; }
.fantasy-rating__grid { display: block; }
.fantasy-leaderboard-card { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.035); }
.fantasy-rating-card__title { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fantasy-rating-card__title h3 { margin: 0; font-size: 14px; text-transform: uppercase; }
.fantasy-rating-card__title span { color: rgba(255,255,255,.42); font-size: 11px; }
.fantasy-leaderboard { margin: 0; padding: 8px; list-style: none; }
.fantasy-leaderboard li { min-height: 49px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px; }
.fantasy-leaderboard li + li { border-top: 1px solid rgba(255,255,255,.055); }
.fantasy-leaderboard li.is-current { background: rgba(92,255,4,.09); color: #fff; }
.fantasy-leaderboard__rank { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; }
.fantasy-leaderboard li.is-current .fantasy-leaderboard__rank { background: var(--fantasy); color: #0a1d0b; }
.fantasy-leaderboard__name { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fantasy-leaderboard li > strong { color: var(--fantasy); font-size: 12px; }
.fantasy-rating-empty { margin: 0; padding: 22px 18px; color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.5; }
.fantasy-purchase-dialog { width: min(500px,calc(100% - 32px)); max-width: none; padding: 0; overflow: visible; border: 1px solid rgba(92,255,4,.22); border-radius: 18px; outline: 0; background: #0d2110; color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.fantasy-purchase-dialog::backdrop { background: rgba(3,10,4,.82); backdrop-filter: blur(4px); }
.fantasy-purchase-card { position: relative; padding: 30px; }
.fantasy-purchase-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.05); color: rgba(255,255,255,.72); cursor: pointer; font-size: 24px; line-height: 1; }
.fantasy-purchase-close:hover, .fantasy-purchase-close:focus-visible { border-color: rgba(92,255,4,.55); outline: 0; background: rgba(92,255,4,.08); color: #fff; }
.fantasy-purchase-eyebrow { margin: 0 46px 8px 0; color: var(--fantasy); font: 800 10px/1.2 "Inter", sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.fantasy-purchase-dialog h2 { margin: 0 46px 22px 0; font: 600 23px/1.2 "Unbounded", sans-serif; letter-spacing: -.35px; text-transform: uppercase; }
.fantasy-purchase-player { display: grid; grid-template-columns: 64px 36px minmax(0,1fr); align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.05); }
.fantasy-purchase-player img { width: 64px; height: 70px; border-radius: 9px; object-fit: cover; object-position: top; background: #102c13; }
.fantasy-purchase-number { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.07); font: 800 11px/1 "Inter", sans-serif; }
.fantasy-purchase-player-copy { min-width: 0; display: grid; gap: 4px; }
.fantasy-purchase-player-copy strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.fantasy-purchase-player-copy small { color: rgba(255,255,255,.5); font-size: 12px; }
.fantasy-purchase-description { margin: 19px 0 16px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }
.fantasy-purchase-inline-price { display: inline-flex; align-items: center; gap: 4px; color: var(--florcoin-gold); white-space: nowrap; }
.fantasy-purchase-balance { display: grid; gap: 9px; margin: 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.fantasy-purchase-balance div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fantasy-purchase-balance dt { color: rgba(255,255,255,.5); font-size: 12px; }
.fantasy-purchase-balance dd { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: var(--florcoin-gold); font: 800 14px/1 "Inter", sans-serif; }
.fantasy-purchase-balance div:last-child dd { color: var(--florcoin-gold); }
.fantasy-purchase-actions { display: grid; grid-template-columns: minmax(120px,.8fr) minmax(220px,1.4fr); gap: 10px; margin-top: 22px; }
.fantasy-purchase-actions button { min-height: 48px; margin: 0; border-radius: 9px; }
.fantasy-purchase-confirm.primary-button { gap: 6px; background: var(--fantasy); color: #0a1d0b; }
.fantasy-purchase-confirm:disabled { cursor: wait; opacity: .58; }
.fantasy-purchase-confirm .fantasy-coin-icon { filter: drop-shadow(0 1px 1px rgba(0,0,0,.16)); }
body.fantasy-purchase-open, body.fantasy-rating-open { overflow: hidden; }

/* Profile */
.profile-page { flex: 1; padding: 48px 0 64px; background: radial-gradient(circle at 90% 0, rgba(27,98,58,.15), transparent 32%), #eef2ec; }
.profile-layout { display: grid; gap: 22px; }
.profile-hero { min-height: 168px; display: flex; align-items: center; gap: 24px; padding: 32px 36px; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 88% -15%, rgba(92,255,4,.18), transparent 34%), linear-gradient(135deg, #0b150e, #123c24); color: #fff; box-shadow: 0 18px 44px rgba(11,34,20,.14); }
.profile-avatar { width: 90px; height: 90px; display: grid; flex: 0 0 90px; place-items: center; border: 1px solid rgba(92,255,4,.45); border-radius: 50%; background: rgba(92,255,4,.1); color: var(--fantasy); font: 600 28px/1 "Unbounded", sans-serif; }
.profile-identity { min-width: 0; }
.profile-identity .eyebrow { margin-bottom: 8px; color: var(--fantasy); }
.profile-identity h1 { margin: 0; font: 600 clamp(25px,3.2vw,36px)/1.08 "Unbounded", sans-serif; letter-spacing: -.7px; text-transform: uppercase; }
.profile-identity > p:last-child { margin: 9px 0 0; color: rgba(255,255,255,.68); font-size: 14px; overflow-wrap: anywhere; }
.profile-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.profile-stat { position: relative; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 19px 48px 19px 22px; border: 1px solid #d9e1da; border-radius: 15px; background: #fff; color: inherit; box-shadow: 0 9px 24px rgba(20,51,31,.055); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s; }
.profile-stat::after { content: "→"; position: absolute; top: 50%; right: 20px; color: #8a978e; font-size: 15px; transform: translateY(-50%); }
.profile-stat:hover, .profile-stat:focus-visible { border-color: rgba(27,98,58,.38); outline: 0; box-shadow: 0 12px 28px rgba(20,51,31,.09); transform: translateY(-2px); }
.profile-stat:hover::after, .profile-stat:focus-visible::after { color: var(--green); }
.profile-stat--toggle::after { content: none; }
.profile-stat__chevron { position: absolute; top: 50%; right: 17px; width: 18px; height: 18px; color: #758279; transform: translateY(-50%); transition: color .15s, transform .18s; }
.profile-stat__chevron svg { width: 100%; height: 100%; display: block; }
.profile-stat--toggle:hover .profile-stat__chevron, .profile-stat--toggle:focus-visible .profile-stat__chevron { color: var(--green); }
.profile-stat--toggle[aria-expanded="true"] .profile-stat__chevron { transform: translateY(-50%) rotate(180deg); }
.profile-stat--florcoins { grid-column: 1; grid-row: 1; }
.profile-stat--rating { grid-column: 2; grid-row: 1; }
.profile-stat--collection { grid-column: 3; grid-row: 1; }
.profile-stat__icon { width: 48px; height: 48px; display: grid; flex: 0 0 48px; place-items: center; border-radius: 50%; }
.profile-stat__icon { padding: 8px; background: #fff8d1; }
.profile-stat__icon--metric { padding: 12px; background: #e6f3e9; color: var(--green); }
.profile-stat__icon svg { width: 100%; height: 100%; }
.profile-stat > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 5px; }
.profile-stat small { grid-column: 1 / -1; margin-bottom: 3px; color: var(--muted); font: 700 9px/1.2 "Inter", sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.profile-stat strong { color: var(--night); font: 800 23px/1 "Inter", sans-serif; }
.profile-stat > div > span { color: var(--muted); font-size: 11px; }
.profile-panel { overflow: hidden; scroll-margin-top: 126px; border: 1px solid #d9e1da; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(20,51,31,.06); }
.profile-stats > .profile-history-panel, .profile-stats > .profile-rating-panel, .profile-stats > .profile-collection-panel { grid-column: 1 / -1; grid-row: 2; }
.profile-collection-panel, .profile-history-panel, .profile-rating-panel { animation: profile-panel-reveal .18s ease-out; }
.profile-collection-panel .profile-player-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
@keyframes profile-panel-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.profile-panel__header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 21px 24px; border-bottom: 1px solid #e5e9e5; }
.profile-panel__header .eyebrow { margin-bottom: 6px; color: var(--green); }
.profile-panel__header h2 { margin: 0; font: 600 18px/1.15 "Unbounded", sans-serif; letter-spacing: -.3px; text-transform: uppercase; }
.profile-panel__header > a { flex: 0 0 auto; font: 800 10px/1.3 "Inter", sans-serif; letter-spacing: .45px; text-transform: uppercase; }
.profile-panel__action { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 0 15px; border-radius: 9px; background: var(--green); color: #fff; transition: background .15s, transform .15s; }
.profile-panel__action::after { content: "→"; font-size: 14px; line-height: 1; }
.profile-panel__action:hover, .profile-panel__action:focus-visible { outline: 0; background: #14532d; transform: translateY(-1px); }
.profile-player-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; }
.profile-player-card { min-width: 0; display: grid; grid-template-columns: 78px minmax(0,1fr); overflow: hidden; border: 1px solid #e0e6e0; border-radius: 13px; background: #f8faf8; }
.profile-player-card__photo { min-height: 104px; background: linear-gradient(145deg, #173e27, #0c1810); }
.profile-player-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-player-card__copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px; }
.profile-player-card__meta { display: flex; gap: 8px; color: #56665b; font: 700 11px/1.2 "Inter", sans-serif; letter-spacing: .25px; text-transform: uppercase; }
.profile-player-card__meta span + span::before { content: "·"; margin-right: 8px; }
.profile-player-card h3 { margin: 7px 0 10px; overflow: hidden; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.profile-player-card__details { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.profile-player-card__details > span { padding: 4px 7px; border-radius: 5px; background: #ecefed; color: #667069; font: 800 8px/1 "Inter", sans-serif; text-transform: uppercase; }
.profile-player-card__details > span.is-active { background: #dff5e4; color: var(--green); }
.profile-player-card__details small { color: #5f6c63; font-size: 11px; white-space: nowrap; }
.florcoin-history { margin: 0; padding: 8px 18px 14px; list-style: none; }
.florcoin-history li { min-height: 69px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 4px; }
.florcoin-history li + li { border-top: 1px solid #e9ece9; }
.florcoin-history__marker { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font: 800 17px/1 "Inter", sans-serif; }
.florcoin-history__marker.is-positive { background: #dff5e4; color: var(--green); }
.florcoin-history__marker.is-negative { background: #fff3d6; color: #a66a00; }
.florcoin-history li > div { min-width: 0; display: grid; gap: 4px; }
.florcoin-history strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.florcoin-history time { color: #68746b; font: 400 11px/1.2 "Inter", sans-serif; }
.florcoin-history li > b { font: 800 14px/1 "Inter", sans-serif; }
.florcoin-history li > b.is-positive { color: var(--green); }
.florcoin-history li > b.is-negative { color: #a66a00; }
.profile-history-panel .florcoin-history { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 18px 14px; }
.profile-history-panel .florcoin-history li { padding-right: 18px; padding-left: 18px; }
.profile-history-panel .florcoin-history li + li { border-top: 0; border-left: 1px solid #e9ece9; }
.rating-history { display: grid; gap: 14px; padding: 18px; }
.rating-history__match { overflow: hidden; border: 1px solid #e0e6e0; border-radius: 14px; background: #f8faf8; }
.rating-history__match-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 19px; border-bottom: 1px solid #e2e7e2; background: #f2f6f2; }
.rating-history__match-header > div { min-width: 0; }
.rating-history__match-header time { color: #68746b; font: 700 10px/1.2 "Inter", sans-serif; letter-spacing: .35px; text-transform: uppercase; }
.rating-history__match-header h3 { margin: 5px 0 4px; color: var(--night); font-size: 14px; }
.rating-history__match-header p { margin: 0; color: #68746b; font-size: 11px; line-height: 1.35; }
.rating-history__match-total { flex: 0 0 auto; color: var(--green); font: 800 22px/1 "Inter", sans-serif; }
.rating-history__players { margin: 0; padding: 0 18px; list-style: none; }
.rating-history__players li { min-height: 72px; display: grid; grid-template-columns: minmax(170px,.75fr) minmax(260px,1.6fr) auto; align-items: center; gap: 18px; padding: 12px 0; }
.rating-history__players li + li { border-top: 1px solid #e5e9e5; }
.rating-history__player { min-width: 0; display: grid; gap: 4px; }
.rating-history__player strong { overflow: hidden; color: var(--night); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rating-history__player small { color: #68746b; font-size: 10px; }
.rating-history__breakdown { display: flex; flex-wrap: wrap; gap: 5px; }
.rating-history__breakdown span { padding: 5px 7px; border-radius: 6px; background: #e8eee9; color: #5f6c63; font-size: 9px; line-height: 1.25; }
.rating-history__breakdown b { color: var(--green); }
.rating-history__player-total { color: var(--green); font-size: 14px; }
.profile-empty { display: grid; justify-items: start; gap: 8px; margin: 18px; padding: 26px; border-radius: 12px; background: #f5f7f5; }
.profile-empty strong { font-size: 14px; }
.profile-empty p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-empty a { padding: 10px 14px; border-radius: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.profile-empty--compact { margin-top: 12px; }
.profile-signout { display: flex; justify-content: flex-end; padding-right: 2px; }
.profile-signout button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #68746b; cursor: pointer; font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.profile-signout button:hover, .profile-signout button:focus-visible { outline: 0; color: var(--red); text-decoration-color: currentColor; }

/* Payments */
.payment-page { min-height: 650px; display: grid; flex: 1; place-items: center; padding: 52px 16px 70px; background: radial-gradient(circle at 82% 0, rgba(27,98,58,.24), transparent 35%), #eef2ec; }
.payment-card { width: min(100%,620px); padding: 32px; border: 1px solid #d8e1d9; border-radius: 20px; background: #fff; box-shadow: 0 24px 65px rgba(14,42,24,.12); }
.payment-back { display: inline-flex; margin-bottom: 28px; color: #68746b; font-size: 12px; font-weight: 700; }
.payment-back:hover, .payment-back:focus-visible { outline: 0; color: var(--green); }
.payment-card__header .eyebrow, .payment-result > .eyebrow { margin-bottom: 8px; color: var(--green); }
.payment-card__header h1, .payment-result h1 { margin: 0; color: var(--night); font: 600 clamp(24px,4vw,34px)/1.12 "Unbounded", sans-serif; letter-spacing: -.6px; text-transform: uppercase; }
.payment-card__header > p:last-child, .payment-result > p { margin: 14px 0 0; color: #68746b; font-size: 14px; line-height: 1.6; }
.payment-form { display: grid; gap: 20px; margin-top: 28px; }
.payment-field { display: grid; gap: 7px; }
.payment-field label { color: var(--night); font-size: 12px; font-weight: 800; }
.payment-input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #cad5cc; border-radius: 10px; outline: 0; background: #f8faf8; color: var(--night); font: 800 18px/1 "Inter", sans-serif; }
.payment-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,98,58,.1); }
.payment-field__error { margin: 0; color: #a52e2c; font-size: 12px; }
.payment-summary { display: grid; gap: 10px; margin: 0; padding: 17px 0; border-top: 1px solid #e3e8e4; border-bottom: 1px solid #e3e8e4; }
.payment-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.payment-summary dt { color: #68746b; font-size: 12px; }
.payment-summary dd { margin: 0; color: var(--night); font-size: 15px; font-weight: 800; }
.payment-summary div:last-child dd { color: var(--green); font-size: 19px; }
.payment-submit, .payment-secondary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 10px; cursor: pointer; font: 800 12px/1 "Inter", sans-serif; letter-spacing: .35px; text-transform: uppercase; }
.payment-submit { background: var(--green); color: #fff; }
.payment-submit:hover, .payment-submit:focus-visible { outline: 0; background: #14532d; }
.payment-secondary { margin-top: 18px; border: 1px solid #cad5cc; background: #f5f8f5; color: var(--green); }
.payment-disclaimer { margin: -6px 0 0; color: #7b867e; font-size: 11px; line-height: 1.5; text-align: center; }
.payment-alert { margin-top: 26px; padding: 18px; border: 1px solid #d8e1d9; border-radius: 11px; background: #f5f8f5; color: #56665b; }
.payment-alert strong { color: var(--night); font-size: 14px; }
.payment-alert p { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.payment-alert--error { margin: 0; border-color: #f0c9c8; background: #fff5f5; color: #8d2927; }
.payment-alert--error p { margin: 0; }
.payment-result { text-align: center; }
.payment-result__icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; font: 800 28px/1 "Inter", sans-serif; }
.payment-result__icon--success { background: #dff5e4; color: var(--green); }
.payment-result__icon--canceled { background: #fee4e3; color: #a52e2c; }
.payment-result__icon--pending { background: #fff3d6; color: #9b6704; }
.payment-result__summary { margin: 28px 0 20px; text-align: left; }
.payment-result > .payment-submit { width: 100%; }

/* Auth */
.auth-page { min-height: 640px; display: grid; flex: 1; place-items: center; padding: 48px 16px; background: radial-gradient(circle at 70% 0, rgba(27,98,58,.4), transparent 42%), var(--night); }
.auth-card { width: min(100%, 460px); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: #0e1510; color: #fff; box-shadow: 0 32px 80px rgba(0,0,0,.45); }
.auth-card__header { padding: 26px 28px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.auth-card__header h1 { margin: 0; font: 600 18px "Unbounded", sans-serif; letter-spacing: -.3px; text-transform: uppercase; }
.auth-card__header p { margin: 5px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }
.auth-card__body { padding: 26px 28px 28px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.05); }
.auth-switch a { padding: 10px; border-radius: 8px; color: rgba(255,255,255,.45); text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.auth-switch a.is-active { background: var(--green); color: #fff; }
.auth-form { display: grid; gap: 15px; }
.auth-field label { display: block; margin-bottom: 6px; color: rgba(255,255,255,.55); font-size: 12px; }
.auth-input { width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: 0; background: rgba(255,255,255,.06); color: #fff; font-size: 14px; }
.auth-input:focus { border-color: var(--cream); }
.auth-input::placeholder { color: rgba(255,255,255,.25); }
.auth-error { margin: 6px 0 0; color: #ffaaa9; font-size: 12px; }
.auth-submit { width: 100%; margin-top: 3px; padding: 13px; border: 0; border-radius: 10px; background: var(--green); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.auth-submit:disabled { cursor: wait; opacity: .62; }
.auth-hint { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(239,215,165,.15); border-radius: 10px; background: rgba(239,215,165,.07); color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.5; }
.auth-hint strong { color: var(--cream); }
.auth-message { color: rgba(255,255,255,.65); line-height: 1.6; }
.auth-message a { margin-top: 20px; }

@media (max-width: 1400px) {
    .navbar.page-gutter { padding-left: 32px; padding-right: 32px; }
    .desktop-nav { gap: 14px; }
    .desktop-nav a { font-size: 10px; }
}

@media (max-width: 1120px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
}

@media (max-width: 900px) {
    .page-section { padding-top: 42px; padding-bottom: 42px; }
    .match-grid, .article-layout, .builder-grid { grid-template-columns: 1fr; }
    .content-grid--four, .merch-grid { grid-template-columns: repeat(3,1fr); }
    .match-row { grid-template-columns: 150px minmax(0,1fr); }
    .match-date { align-items: flex-start; flex-direction: column; gap: 9px; }
    .match-meta { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #eceeed; text-align: left; }
    .match-ticket { float: right; margin-top: -6px; }
    .fantasy-hero__grid { grid-template-columns: 1fr; }
    .fantasy-prizes { min-height: 340px; }
    .fantasy-steps { grid-template-columns: 1fr 1fr; }
    .profile-collection-panel .profile-player-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .page-gutter { padding-left: 16px; padding-right: 16px; }
    .home-page .page-gutter { padding-left: 16px; padding-right: 16px; }
    .topbar { display: none; }
    .navbar { height: 62px; }
    .navbar .club-logo { width: 48px; height: 32px; }
    .navbar .brand__text small { display: none; }
    .nav-actions > .login-button { display: none; }
    .site-header--overlay { position: absolute; }
    .hero { height: clamp(540px, 78svh, 680px); }
    .hero__content { bottom: 48px; }
    .hero__actions .primary-button, .hero__actions .outline-button { min-width: 0; }
    .match-area { padding: 30px 0; }
    .match-card { padding: 22px 16px; }
    .versus { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .team { min-width: 0; }
    .team__badge { width: 58px; height: 58px; }
    .team strong { min-height: 32px; display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
    .team small { min-height: 36px; display: flex; align-items: flex-start; justify-content: center; font-size: 11px; line-height: 1.45; }
    .versus__center { min-width: 0; }
    .versus__center b { font-size: 27px; }
    .versus__center span { padding: 8px 4px; font-size: 12px; }
    .ticket-strip { align-items: end; }
    .ticket-strip strong { font-size: 19px; }
    .standings th:nth-child(5), .standings td:nth-child(5), .standings th:nth-child(6), .standings td:nth-child(6) { display: none; }
    .values-grid, .footer-grid, .partner-cta, .arena-card { grid-template-columns: 1fr; gap: 28px; }
    .content-grid--three { grid-template-columns: 1fr; }
    .content-grid--four, .merch-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .partners-strip { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
    .feature-news { grid-template-columns: 1fr; }
    .feature-news__image { min-height: 205px; }
    .feature-news__copy { padding: 20px; }
    .player-hero__inner { align-items: start; flex-direction: column; gap: 24px; }
    .player-portrait { width: 180px; height: 230px; }
    .article-hero { height: 250px; }
    .article-hero__copy { bottom: 24px; }
    .calendar-page-heading { min-height: 168px; padding-top: 30px; padding-bottom: 30px; }
    .calendar-page-heading .display-title { font-size: 34px; }
    .calendar-section { padding-top: 34px; padding-bottom: 34px; }
    .match-list { margin-bottom: 40px; }
    .match-list-title { margin-bottom: 20px; font-size: 22px; }
    .match-row, .match-row--result { min-height: 0; grid-template-columns: 1fr; gap: 16px; padding: 18px 16px; }
    .match-date { align-items: center; flex-direction: row; justify-content: space-between; gap: 12px; }
    .match-date__primary { min-width: 0; }
    .match-teams { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 10px; font-size: 12px; }
    .match-score { font-size: 18px; }
    .match-meta { padding-top: 14px; font-size: 10px; }
    .match-ticket { min-height: 34px; margin-top: -3px; }
    .partners-major, .arena-card { grid-template-columns: 1fr; }
    .partner-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .partner-cta { padding: 28px 24px; }
    .partners-page { padding-top: 32px; padding-bottom: 40px; }
    .partners-section-title { margin-bottom: 20px; font-size: 20px; }
    .partners-major { gap: 16px; margin-bottom: 40px; }
    .partner-card { min-height: 150px; padding: 24px; }
    .partner-card h3 { font-size: 22px; }
    .partner-card p { font-size: 14px; }
    .partner-list { margin-bottom: 40px; }
    .partner-list article { min-height: 110px; padding: 16px; }
    .partner-list h3 { font-size: 15px; }
    .partner-list p { font-size: 12px; }
    .partner-cta__contact { align-items: flex-start; text-align: left; }
    .photo-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
    .photo-tile.is-large { grid-column: span 2; }
    .merch-page-heading { align-items: center; }
    .merch-page-heading .display-title { font-size: 30px; }
    .merch-cart-button { min-height: 42px; padding: 0 13px; }
    .merch-cart-button > span:not(.merch-cart-count) { display: none; }
    .merch-florcoin-promo { grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 16px; }
    .merch-florcoin-promo__coin { width: 32px; height: 32px; }
    .merch-florcoin-promo__copy h2 { font-size: 14px; line-height: 1.25; }
    .merch-florcoin-promo__copy > span { font-size: 11px; }
    .merch-florcoin-promo__link { z-index: 1; grid-column: 1 / -1; width: 100%; }
    .merch-card__body { padding: 12px; }
    .merch-card h2 { font-size: 12px; }
    .merch-card__body { min-height: 205px; }
    .merch-card__price { font-size: 16px; }
    .merch-drawer__header { min-height: 64px; padding: 0 14px; }
    .checkout-steps { padding: 15px 14px; }
    .checkout-steps li { gap: 5px; font-size: 9px; }
    .checkout-steps li:not(:last-child)::after { left: calc(100% - 11px); width: 22px; }
    .merch-drawer__content { padding: 20px 18px; }
    .merch-drawer__footer { padding: 14px 18px 18px; }
    .fantasy-hero__grid { padding-top: 38px; }
    .fantasy-prizes { min-height: 300px; }
    .fantasy-prizes img { height: 280px; }
    .fantasy-steps { grid-template-columns: 1fr 1fr; }
    .fantasy-steps div { padding: 13px; }
    .fantasy-steps b { font-size: 30px; }
    .fantasy-steps span { font-size: 12px; }
    .fantasy-rating-dialog { width: 100%; max-height: calc(100dvh - 12px); margin: auto 0 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 18px 18px 0 0; }
    .fantasy-rating-dialog__card { max-height: calc(100dvh - 12px); }
    .fantasy-rating-dialog__header { padding: 23px 18px 17px; }
    .fantasy-rating-dialog__header h2 { font-size: 18px; }
    .fantasy-rating-dialog__body { padding: 17px 18px max(22px,env(safe-area-inset-bottom)); }
    .fantasy-current-rank { grid-template-columns: 1fr; }
    .pitch { min-height: 500px; }
    .pitch-row { left: 2%; right: 2%; }
    .pitch-slot__box { width: 68px; height: 78px; }
    .fantasy-purchase-dialog { width: 100%; max-height: calc(100dvh - 12px); margin: auto 0 0; overflow-y: auto; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 18px 18px 0 0; }
    .fantasy-purchase-card { padding: 26px 18px max(20px,env(safe-area-inset-bottom)); }
    .fantasy-purchase-dialog h2 { font-size: 19px; }
    .fantasy-purchase-player { grid-template-columns: 56px 34px minmax(0,1fr); gap: 10px; }
    .fantasy-purchase-player img { width: 56px; height: 62px; }
    .fantasy-purchase-actions { grid-template-columns: .8fr 1.35fr; }
    .fantasy-purchase-actions button { min-height: 46px; padding-right: 12px; padding-left: 12px; font-size: 12px; }
    .profile-page { padding: 24px 0 38px; }
    .profile-hero { min-height: 0; align-items: flex-start; flex-wrap: wrap; gap: 16px; padding: 24px 20px; }
    .profile-avatar { width: 68px; height: 68px; flex-basis: 68px; font-size: 21px; }
    .profile-identity { width: calc(100% - 84px); }
    .profile-identity h1 { font-size: 23px; }
    .profile-stats { display: flex; flex-direction: column; }
    .profile-stat--florcoins { order: 1; }
    .profile-history-panel { order: 2; }
    .profile-stat--rating { order: 3; }
    .profile-rating-panel { order: 4; }
    .profile-stat--collection { order: 5; }
    .profile-collection-panel { order: 6; }
    .profile-stat { padding: 15px 17px; }
    .profile-stat::after { right: 17px; }
    .profile-panel__header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 19px 18px; }
    .profile-panel__header h2 { font-size: 16px; }
    .profile-panel__action { width: 100%; }
    .profile-collection-panel .profile-player-list { grid-template-columns: 1fr; }
    .profile-player-list { grid-template-columns: 1fr; padding: 12px; }
    .profile-history-panel .florcoin-history { display: block; padding: 8px 18px 14px; }
    .profile-history-panel .florcoin-history li { padding-right: 4px; padding-left: 4px; }
    .profile-history-panel .florcoin-history li + li { border-top: 1px solid #e9ece9; border-left: 0; }
    .rating-history { padding: 12px; }
    .rating-history__match-header { align-items: flex-start; padding: 15px; }
    .rating-history__players { padding: 0 14px; }
    .rating-history__players li { grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; padding: 14px 0; }
    .rating-history__breakdown { grid-column: 1 / -1; grid-row: 2; }
    .rating-history__player-total { grid-column: 2; grid-row: 1; }
    .profile-signout { justify-content: center; }
    .footer-bottom { align-items: start; flex-direction: column; }
    .footer-bottom p:last-child { text-align: left; }
    .section-heading-row { align-items: start; }
    .section-heading-row .text-link { font-size: 10px; }
}
