[hidden] { display: none !important; }
/* MediaDesk (Seq 48): dark desk, volt accent, Big Shoulders headings and Sora text, as the Football Live app */
@font-face { font-family: 'Big Shoulders Display'; src: url(/fonts/BigShouldersDisplay.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Sora'; src: url(/fonts/Sora.ttf) format('truetype'); font-weight: 100 800; font-display: swap; }
:root { --bg: #0B0C10; --p1: #15161B; --p2: #1D1F26; --p3: #262932; --line: #2A2D36; --tx: #F2F3F5; --mut: #9EA3AD; --dim: #6B707A; --volt: #D4FF3A; --ink: #08090C;
  --ok: #3DDC84; --okb: rgba(61, 220, 132, .14); --warn: #F5B700; --warnb: rgba(245, 183, 0, .14); --bad: #FF5A66; --badb: rgba(255, 90, 102, .14); --paper: #F5F4F0; --ptx: #15161B;
  color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font: 400 14px/1.5 'Sora', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, .hd { font-family: 'Big Shoulders Display', 'Oswald', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 0; }
.mut { color: var(--mut); } .dim { color: var(--dim); }
.cap { display: flex; justify-content: space-between; gap: 12px; font: 700 11px/1.4 'Sora'; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin: 22px 0 10px; }
.cap.v { color: var(--volt); }
/* top bar */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 22px; height: 58px; padding: 0 max(16px, env(safe-area-inset-left)); background: var(--ink); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font: 900 24px/1 'Big Shoulders Display'; text-transform: uppercase; text-decoration: none; }
.logo svg { width: 26px; height: 16px; }
.nav { display: flex; gap: 4px; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 10px; text-decoration: none; color: var(--mut); font-weight: 600; border-bottom: 3px solid transparent; }
.nav a.on { color: var(--tx); border-bottom-color: var(--volt); }
.me { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--mut); font-weight: 600; white-space: nowrap; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--p3); display: inline-flex; align-items: center; justify-content: center; font: 800 11px 'Sora'; color: var(--tx); border: 0; cursor: pointer; }
main { max-width: 1240px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right)) 80px max(16px, env(safe-area-inset-left)); }
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; background: var(--p3); border: 0; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .06s; }
.btn:active { transform: scale(.97); }
.btn.v { background: var(--volt); color: var(--ink); }
.btn.big { min-height: 56px; font: 900 26px/1 'Big Shoulders Display'; text-transform: uppercase; width: 100%; }
.btn.wa { background: #12301D; color: var(--ok); }
.btn.s { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.bad { background: transparent; color: var(--bad); }
.btn[disabled] { opacity: .45; cursor: default; }
.wide { width: 100%; }
.tag { display: inline-block; font: 800 10.5px/1 'Sora'; letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; background: var(--p3); color: var(--mut); white-space: nowrap; }
.tag.ok { background: var(--okb); color: var(--ok); } .tag.warn { background: var(--warnb); color: var(--warn); } .tag.bad { background: var(--badb); color: var(--bad); }
.tag.live { background: none; color: var(--bad); padding: 0; } .tag.live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); margin-right: 6px; vertical-align: 1px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* sign in */
.sign { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.sign form { width: min(360px, 100%); display: grid; gap: 14px; }
.sign .logo { font-size: 34px; } .sign .logo svg { width: 34px; height: 21px; }
input[type=text], input[type=email], input[type=password], input[type=url], input:not([type]), textarea, select { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--p1); border: 1px solid var(--line); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--volt); }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input { text-align: center; font: 900 30px/1 'Big Shoulders Display'; padding: 8px 0; min-height: 56px; }
.err { color: var(--bad); font-weight: 600; min-height: 1.5em; }
.note { padding: 12px 14px; background: var(--p1); border-left: 3px solid var(--volt); color: var(--mut); }
.note.warn { border-color: var(--warn); color: var(--warn); background: var(--warnb); } .note.ok { border-color: var(--ok); color: var(--ok); background: var(--okb); } .note.bad { border-color: var(--bad); color: var(--bad); background: var(--badb); }
/* matches */
.lhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lhead h1 { font-size: 44px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chips button { min-height: 36px; padding: 0 14px; background: var(--p2); border: 0; font-weight: 700; cursor: pointer; }
.chips button.on { background: var(--volt); color: var(--ink); }
.mc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; background: var(--p1); margin-bottom: 8px; text-decoration: none; }
.mt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mt h2 { font-size: 28px; }
.cr { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.cr img { width: 82%; height: 82%; object-fit: contain; } .cr b { font: 800 8px 'Sora'; color: var(--ink); }
.sub { color: var(--mut); font-size: 13px; margin-top: 4px; }
.empty { padding: 30px 16px; text-align: center; color: var(--mut); background: var(--p1); }
/* match page */
.mhd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.mhd .mt h1 { font-size: 40px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button { min-height: 40px; padding: 0 14px; background: var(--p2); border: 0; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tabs button.on { background: var(--volt); color: var(--ink); }
.tabs button .n { opacity: .7; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 16px; }
.lang { display: flex; gap: 4px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.paper { background: var(--paper); color: var(--ptx); padding: 26px 26px 30px; font-family: Georgia, 'Times New Roman', serif; font-size: 16.5px; line-height: 1.65; min-height: 440px; }
.paper h2, .paper .hl { font: 700 27px/1.25 Georgia, 'Times New Roman', serif; text-transform: none; margin: 0 0 14px; outline: none; }
.paper .bd { outline: none; white-space: pre-wrap; min-height: 300px; }
.paper .bd:focus, .paper .hl:focus { background: rgba(212, 255, 58, .14); }
.paper mark { background: #FFE08A; color: inherit; padding: 0 2px; }
.paper.ro { opacity: .92; }
.side { display: flex; flex-direction: column; gap: 10px; }
.chk { padding: 10px 12px; font-weight: 600; font-size: 13px; }
.chk.ok { background: var(--okb); color: var(--ok); } .chk.no { background: var(--warnb); color: var(--warn); }
.chk small { display: block; font-weight: 400; opacity: .85; }
.log { display: grid; gap: 6px; font-size: 13px; }
.log div { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; } .log b { white-space: nowrap; } .log span:last-child { color: var(--dim); }
.facts { font-size: 12.5px; color: var(--mut); max-height: 260px; overflow: auto; background: var(--p1); padding: 10px 12px; white-space: pre-wrap; }
.grow { flex: 1; }
/* send */
.sheet { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .6); display: flex; justify-content: flex-end; }
.sheet .in { width: min(440px, 100%); background: var(--bg); height: 100%; overflow: auto; padding: 20px max(16px, env(safe-area-inset-right)) 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.rcp { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; background: var(--p1); cursor: pointer; }
.rcp input { width: 20px; height: 20px; accent-color: var(--volt); } .rcp b { flex: 1; font-weight: 600; } .rcp .tag { margin-left: auto; }
.with { padding: 10px 12px; background: var(--p1); font-size: 13px; }
/* tables */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font: 700 11px 'Sora'; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl input, .tbl select { min-height: 38px; padding: 6px 10px; }
.scroll { overflow-x: auto; }
.box { background: var(--p1); padding: 16px; }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > input { flex: 1; min-width: 180px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 13px; } .kv span:nth-child(even) { color: var(--mut); text-align: right; }
.big { font: 900 34px/1 'Big Shoulders Display'; letter-spacing: .04em; }
label.f { display: grid; gap: 6px; font-size: 12px; color: var(--mut); font-weight: 600; }
/* photos */
.drop { display: flex; align-items: center; justify-content: center; min-height: 60px; border: 2px dashed var(--line); font-weight: 700; cursor: pointer; text-align: center; padding: 10px; }
.drop.on { border-color: var(--volt); color: var(--volt); }
.phs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.ph { position: relative; background: var(--p2); }
.ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph .tk { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; background: rgba(8, 9, 12, .7); color: var(--ink); cursor: pointer; font-weight: 900; }
.ph .tk.on { background: var(--volt); }
.ph input { min-height: 34px; border: 0; background: var(--p1); font-size: 12.5px; padding: 6px 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--tx); color: var(--ink); padding: 12px 18px; font-weight: 700; z-index: 40; max-width: calc(100% - 32px); }
.toast.bad { background: var(--bad); color: #fff; }
/* the media's page */
.mp { background: var(--bg); } .mpw { max-width: 560px; margin: 0 auto; padding: 22px 16px 40px; display: grid; gap: 12px; }
.mpt { display: flex; align-items: center; gap: 8px; } .mpt img, .mpt .tl { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.mpt .tl { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: 8px; } .mpt h1 { font-size: 34px; margin-left: 4px; }
.mp .paper { min-height: 0; font-size: 15px; } .mp .paper h2 { font-size: 21px; } .mp .paper p { margin: 0 0 12px; } .mp hr { border: 0; border-top: 1px solid #ccc; margin: 18px 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.row2 > .btn, .row3 > .btn { min-width: 0; padding: 0 10px; }   /* equal buttons that fit their box */
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr; } }
.pg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pg a { position: relative; display: block; } .pg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pg span { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 8px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font-size: 12px; font-weight: 700; }
.fine { color: var(--dim); font-size: 12px; text-align: center; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .top { gap: 10px; } .nav a { padding: 0 6px; font-size: 13px; } .me .who { display: none; }
  .lhead h1 { font-size: 34px; } .mhd .mt h1 { font-size: 30px; } .mt h2 { font-size: 24px; }
  .paper { padding: 18px; font-size: 15.5px; } .paper h2, .paper .hl { font-size: 22px; }
  .mc { grid-template-columns: 1fr; } .mc .btn { width: 100%; }
  .boxes { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .logo span { display: none; } }
/* Seq 75: each league's sport; its three buttons one size, one background; backup tables line up */
.sport { margin: 4px 0 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--volt); }
.lbtn > .btn { letter-spacing: .06em; }
.lbtn > .btn.bad { background: var(--p3); }
.tbl.bk { table-layout: fixed; width: 100%; margin-top: 12px; }
/* Seq 76: a light per main PC, chips on one line, lapsed texts, Team tabs, the mailing list's groups, the grouped send sheet */
.chips.one { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .chips.one::-webkit-scrollbar { display: none; } .chips.one button { flex: none; }
.pcst { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 'Sora'; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); background: var(--p2); padding: 7px 9px; white-space: nowrap; }
.pcst i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); } .pcst.on { color: var(--tx); } .pcst.on i { background: var(--ok); }
.tag.lapse { background: transparent; border: 1px dashed var(--line); color: var(--dim); padding: 4px 6px; }
.subtabs { display: flex; gap: 4px; margin: 10px 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subtabs a { padding: 10px 14px; font-weight: 700; color: var(--mut); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.subtabs a.on { color: var(--tx); border-bottom-color: var(--volt); } .subtabs a b { font-weight: 600; color: var(--dim); margin-left: 6px; }
.tbl.ppl tbody tr { cursor: pointer; } .tbl.ppl tbody tr:hover td { background: var(--p1); }
.lgs { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
.lgl { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .lgd { min-width: 0; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--p1); text-decoration: none; outline: 2px solid transparent; }
.lrow h2 { font-size: 24px; } .lrow.on { outline-color: var(--volt); }
details.fold { background: var(--p2); margin-top: 14px; } details.fold summary { padding: 12px 14px; cursor: pointer; font-weight: 700; } details.fold .in { padding: 0 14px 14px; }
.grp { background: var(--p1); margin-bottom: 12px; } .grp > header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.grp > header h2 { font-size: 26px; } .grp > header .dim { font-size: 13px; } .grp .empty { background: none; } .grp details.fold { margin: 0; background: none; border-top: 1px solid var(--line); }
.grp .tbl td, .grp .tbl th { padding-left: 16px; } .grp .tbl select { min-width: 150px; }
.gets { display: flex; gap: 4px; flex-wrap: wrap; } .gets label { display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 'Sora'; padding: 7px 8px; background: var(--p3); color: var(--dim); cursor: pointer; white-space: nowrap; }
.gets label.on { background: rgba(212, 255, 58, .14); color: var(--volt); } .gets input { width: 13px; height: 13px; margin: 0; accent-color: var(--volt); }
.grp .o { width: 20px; height: 20px; accent-color: var(--volt); }
.rgrp { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; background: var(--p2); margin-top: 8px; font-weight: 700; cursor: pointer; }
.rgrp input { width: 20px; height: 20px; accent-color: var(--volt); } .rgrp .n { margin-left: auto; color: var(--mut); font-weight: 600; font-size: 13px; }
@media (max-width: 860px) { .lgs { grid-template-columns: 1fr; } }

.ol { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; } .mo { display: none; font: 700 12px/1 'Sora'; color: var(--dim); }
@media (max-width: 700px) {
  .grp .scroll { overflow: visible; } .tbl.ml thead { display: none; } .tbl.ml, .tbl.ml tbody { display: block; width: 100%; }
  .tbl.ml tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .tbl.ml td { display: block; padding: 0 !important; border: 0; min-width: 0; } .tbl.ml td:empty { display: none; }
  .tbl.ml td:has(> input, > select), .tbl.ml td:has(.gets) { grid-column: 1 / -1; } .tbl.ml input.n, .tbl.ml input.e, .tbl.ml select { width: 100%; min-width: 0; }
  .mo { display: inline; }
}
