:root {
  --bg: #0b0e14; --panel: #12161f; --panel2: #171c27; --line: #232a38; --text: #f4f1ea; --muted: #8f99ab;
  --c1: #f4f1ea; --c2: #0b0e14; --live: #ff3b5c; --gold: #f2c14e; --green: #3ddc84;
  --cond: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif; --sans: 'Barlow', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; }
h1 { font-size: 44px; font-weight: 900; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: .12em; margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
h4 { font-size: 15px; font-weight: 700; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.crest { display: inline-block; vertical-align: middle; flex: none; }
.btn { display: inline-block; background: var(--text); color: var(--bg); font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 10px 18px; font-size: 16px; border-radius: 3px; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.tag { display: inline-block; background: var(--c1); color: var(--c2); font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; font-size: 12px; border-radius: 2px; }
.more { display: inline-block; margin-top: 10px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); font-size: 13px; }
.more:hover { color: var(--text); }

/* header */
.top { display: flex; align-items: center; gap: 24px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #10141c, var(--bg)); position: sticky; top: 0; z-index: 10; }
.wordmark { display: flex; flex-direction: column; line-height: .9; font-family: var(--cond); text-transform: uppercase; }
.wm-a { font-size: 26px; font-weight: 900; letter-spacing: .04em; } .wm-b { font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--muted); } .wm-c { font-size: 9px; letter-spacing: .3em; color: var(--muted); margin-top: 2px; }
nav { display: flex; gap: 4px; margin-left: 8px; }
nav a { font-family: var(--cond); text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: 15px; padding: 8px 12px; color: var(--muted); border-radius: 3px; }
nav a:hover { color: var(--text); background: var(--panel2); }
.me { margin-left: auto; }
.me-club { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-left: 4px solid var(--c1); border-radius: 3px; }
.ticker { display: flex; align-items: center; gap: 18px; padding: 6px 24px; background: #15111a; border-bottom: 1px solid #2a1a24; font-family: var(--cond); font-size: 15px; overflow-x: auto; white-space: nowrap; }
.ticker-label { color: var(--live); font-weight: 800; letter-spacing: .2em; }
.tick-item { display: inline-flex; gap: 6px; align-items: baseline; } .tick-item em { color: var(--muted); font-style: normal; font-size: 12px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,59,92,.6); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,92,.6);} 70% { box-shadow: 0 0 0 8px rgba(255,59,92,0);} 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0);} }

main { max-width: 1180px; margin: 0 auto; padding: 20px 24px 60px; }
footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .top { flex-wrap: wrap; gap: 10px; } nav { order: 3; width: 100%; overflow-x: auto; margin: 0; } h1 { font-size: 34px; } }

/* choose */
.choose-hero { text-align: center; padding: 30px 0 10px; }
.choose-hero h1 { font-size: 64px; } .choose-hero p { color: var(--muted); font-size: 16px; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 20px; }
.club-card { background: var(--panel); border: 1px solid var(--line); border-top: 6px solid var(--c1); border-radius: 6px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: transform .15s, border-color .15s; }
.club-card:hover { transform: translateY(-3px); border-color: var(--c1); background: var(--panel2); }
.club-card.current { outline: 2px solid var(--c1); }
.club-card h2 { font-size: 26px; margin-top: 8px; } .cc-city { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--cond); }
.club-card p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* hero */
.hero { background: radial-gradient(1200px 300px at 50% -60%, rgba(255,255,255,.08), transparent), var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px 26px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c1); }
.hero-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; letter-spacing: .22em; font-size: 13px; color: var(--muted); }
.hero.is-live .hero-label { color: var(--live); }
.hero-fx, .sb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 14px; }
.ht { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .04em; }
.ht.me b { text-decoration: underline; text-decoration-color: var(--c1); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.hm { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 200px; }
.countdown { font-family: var(--cond); font-weight: 900; font-size: 64px; letter-spacing: .04em; font-variant-numeric: tabular-nums; line-height: 1; }
.ko { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--cond); }
.score { font-family: var(--cond); font-weight: 900; font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock { font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--live); letter-spacing: .1em; }
.hero .btn { margin-top: 16px; }
.hero.champ h1 { font-size: 56px; margin-top: 10px; } .hero.champ p { color: var(--muted); }
@media (max-width: 640px) { .hero-fx, .sb-main { grid-template-columns: 1fr; } .ht { flex-direction: row; font-size: 18px; } .countdown { font-size: 44px; } .score { font-size: 56px; } .hm { min-width: 0; } }

/* fixtures */
.fx-list { display: flex; flex-direction: column; gap: 6px; } .fx-list.two { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.fx { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; font-family: var(--cond); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.fx:hover { background: var(--panel2); }
.fx.mine { border-left: 4px solid var(--c1); }
.fx.live { border-color: #3a1e28; }
.fx-team { display: flex; align-items: center; gap: 8px; min-width: 0; } .fx-team.away { justify-content: flex-end; text-align: right; }
.fx-team.me .tn { color: var(--text); } .fx .tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx .score { font-size: 20px; padding: 0 6px; min-width: 52px; text-align: center; } .fx .vs { color: var(--muted); font-size: 14px; min-width: 52px; text-align: center; }
.fx .st { font-size: 11px; letter-spacing: .1em; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; min-width: 60px; justify-content: flex-end; }
.fx .st.live { color: var(--live); } .fx .st.ft { color: var(--muted); }
.fx.big { padding: 14px 16px; font-size: 20px; } .fx.big .score { font-size: 34px; }
.bump { animation: bump .9s ease; } @keyframes bump { 0% { transform: scale(1);} 30% { transform: scale(1.25); color: var(--gold);} 100% { transform: scale(1);} }
.report-lead { color: var(--muted); margin: 10px 0 0; } .report-lead b { color: var(--text); font-family: var(--cond); font-size: 18px; text-transform: uppercase; }
.live-strip { margin-top: 20px; }

/* table */
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.table th { font-family: var(--cond); font-weight: 700; letter-spacing: .1em; color: var(--muted); font-size: 12px; text-align: center; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.table td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.table .club, .table th.club { text-align: left; } .table .club a { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.table .pos { color: var(--muted); width: 28px; } .table .pts { font-weight: 700; font-family: var(--cond); font-size: 17px; }
.table tr.me td { background: rgba(255,255,255,.04); } .table tr.me .club a { color: var(--text); }
.table tr.me td:first-child { box-shadow: inset 4px 0 0 var(--c1); }
.table tr.first .pos { color: var(--gold); font-weight: 700; }
.table .form { text-align: left; }
.f { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 10px; font-weight: 700; border-radius: 2px; margin-right: 2px; font-style: normal; font-family: var(--cond); }
.f.W { background: var(--green); color: #05230f; } .f.D { background: #4b5566; color: #fff; } .f.L { background: var(--live); color: #fff; }
.ranked { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.ranked li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.ranked li::before { content: counter(r); color: var(--muted); width: 20px; font-family: var(--cond); font-weight: 700; }
.ranked li a { display: flex; align-items: center; gap: 8px; flex: 1; } .ranked em { font-style: normal; font-family: var(--cond); font-size: 20px; font-weight: 800; }

/* news */
.news-list { display: flex; flex-direction: column; }
.news { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news:hover .nh span { text-decoration: underline; }
.news .when { color: var(--muted); font-size: 12px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }
.news .nh { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px; }
.news.mine .nh { font-weight: 600; } .news.mine .when::before { content: '●'; color: var(--c1); margin-right: 5px; font-size: 9px; vertical-align: 2px; }
.news.k-report .nh { font-family: var(--cond); text-transform: uppercase; font-size: 17px; font-weight: 700; }
.news-full { padding: 18px 0; border-bottom: 1px solid var(--line); max-width: 760px; }
.news-full .when { color: var(--muted); font-size: 12px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }
.news-full h2 { font-size: 26px; margin: 6px 0 8px; } .news-full p { margin: 0; color: #cfd5df; }

/* club + player */
.club-hero { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-left: 8px solid var(--c1); border-radius: 8px; padding: 24px; }
.club-hero .sub, .player-hero .sub { color: var(--muted); font-size: 13px; margin: 6px 0; } .club-hero .identity { margin: 10px 0 12px; max-width: 700px; font-size: 16px; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pc { display: grid; grid-template-columns: 78px 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; align-items: stretch; }
.pc:hover { background: var(--panel2); border-color: var(--c1); }
.pc-img { background: #161a22; display: flex; align-items: flex-end; } .pc-img img { width: 78px; height: 91px; display: block; }
.pc-body { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 8px 0; min-width: 0; }
.pc-name { font-family: var(--cond); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.pc-meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--cond); }
.pc-blurb { font-size: 12.5px; color: #cfd5df; } .pc-stats { font-size: 12px; color: var(--muted); margin-top: auto; }
.pc-form i { display: inline-block; font-style: normal; font-size: 11px; font-family: var(--cond); padding: 1px 4px; border-radius: 2px; background: #232a38; margin-right: 3px; } .pc-form i.g { background: var(--green); color: #05230f; } .pc-form i.b { background: var(--live); }
.inj { color: var(--live); }
.player-hero { display: grid; grid-template-columns: 200px 1fr 260px; gap: 26px; background: var(--panel); border: 1px solid var(--line); border-left: 8px solid var(--c1); border-radius: 8px; padding: 24px; align-items: start; }
.player-hero .portrait { width: 200px; height: 233px; border-radius: 4px; }
.ph-club { color: var(--muted); font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; } .ph-club a { display: inline-flex; align-items: center; gap: 6px; }
.player-hero h1 { font-size: 54px; margin: 6px 0 2px; }
.ph-arch { font-family: var(--cond); font-weight: 800; letter-spacing: .2em; color: var(--c1); font-size: 15px; margin: 0; }
.ph-blurb { font-size: 17px; margin: 10px 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin-top: 12px; max-width: 520px; }
.stat { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 13px; }
.sl { color: var(--muted); letter-spacing: .1em; } .sv { text-align: right; font-size: 15px; }
.sb { height: 7px; background: #232a38; border-radius: 4px; overflow: hidden; } .sb i { display: block; height: 100%; background: var(--text); } .sb i.hi { background: var(--gold); } .sb i.lo { background: var(--live); }
.ph-season { background: var(--panel2); border-radius: 6px; padding: 14px; } .ph-season h4 { color: var(--muted); letter-spacing: .16em; margin-bottom: 8px; }
.big-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.big-stats div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; background: var(--panel); border-radius: 4px; }
.big-stats b { font-family: var(--cond); font-size: 28px; font-weight: 900; line-height: 1; } .big-stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.fr { font-style: normal; font-family: var(--cond); font-weight: 700; } .fr.g { color: var(--green); } .fr.b { color: var(--live); }
@media (max-width: 900px) { .player-hero { grid-template-columns: 1fr; } .player-hero .portrait { width: 160px; height: 187px; } .club-hero { grid-template-columns: 1fr; } }

/* match */
.scoreboard { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px 24px 22px; text-align: center; }
.scoreboard.live { border-color: #3a1e28; box-shadow: 0 0 0 1px rgba(255,59,92,.15), 0 12px 40px rgba(255,59,92,.08); }
.sb-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; letter-spacing: .2em; font-size: 13px; color: var(--muted); }
.scoreboard.live .sb-label { color: var(--live); }
.scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; color: var(--muted); font-size: 13px; } .scorers span:first-child { text-align: right; } .scorers span:last-child { text-align: left; }
.report { max-width: 760px; margin: 22px 0 6px; } .report h2 { font-size: 34px; margin-bottom: 10px; } .report p { color: #cfd5df; font-size: 16px; }
.motm-line { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--gold) !important; }
.preview { margin: 14px 0; }
.feed { list-style: none; padding: 0; margin: 0; }
.ev { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ev-min { font-family: var(--cond); font-weight: 800; font-size: 16px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; padding-top: 1px; }
.ev-body { display: flex; align-items: flex-start; gap: 8px; } .ev-body .crest { margin-top: 1px; }
.ev-text { flex: 1; } .ev-score { font-family: var(--cond); font-weight: 900; font-size: 20px; color: var(--gold); }
.ev.goal { background: linear-gradient(90deg, rgba(242,193,78,.14), transparent); padding-left: 8px; margin-left: -8px; border-radius: 4px; } .ev.goal .ev-text { font-weight: 600; font-size: 16px; } .ev.goal .ev-min { color: var(--gold); }
.ev.red .ev-text { color: var(--live); font-weight: 600; } .ev.yellow .ev-min { color: var(--gold); }
.ev.halftime, .ev.fulltime, .ev.kickoff, .ev.secondhalf { background: var(--panel2); padding-left: 8px; margin-left: -8px; border-radius: 4px; } .ev.halftime .ev-text, .ev.fulltime .ev-text { font-family: var(--cond); text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.ev.filler .ev-text { color: var(--muted); }
.ev.fresh { animation: slidein .5s ease; } @keyframes slidein { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: none;} }
.ev-link { color: var(--muted); font-size: 12px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; margin-left: 8px; }
.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lineup ol { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; } .lineup li { padding: 4px 0; border-bottom: 1px solid var(--line); } .lineup li b { display: inline-block; width: 22px; color: var(--muted); font-family: var(--cond); }
.lineup .rt { font-style: normal; color: var(--gold); font-family: var(--cond); font-weight: 700; margin-left: 4px; } .motm { color: var(--gold); }
.lineup h4 { padding-bottom: 6px; border-bottom: 2px solid var(--c1); }
body.goal-flash { animation: flash 1.8s ease; } @keyframes flash { 0% { background: var(--bg);} 15% { background: #2b2410;} 100% { background: var(--bg);} }
#toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; background: var(--panel2); border: 1px solid var(--gold); border-radius: 8px; box-shadow: 0 16px 50px rgba(0,0,0,.6); animation: slidein .4s ease; }
#toast a { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; } #toast img { width: 64px; height: 75px; border-radius: 4px; }
#toast b { display: block; font-family: var(--cond); font-size: 20px; text-transform: uppercase; letter-spacing: .04em; } #toast em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.round.current h3 { color: var(--text); }
.round { margin-bottom: 8px; }

/* social queue */
.social-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; margin-top: 14px; }
.social { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.social.is-done { opacity: .45; }
.social-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); } .social-meta .done { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.social textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 8px; font: 14px/1.4 var(--sans); resize: vertical; }
.social-actions { display: flex; align-items: center; gap: 10px; } .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); cursor: pointer; }
