/* Gaffer — dark theme. Club colours arrive as --club / --club2 on :root. */
:root {
  --bg: #0b1016; --panel: #16212d; --panel2: #1b2836; --border: #26374a;
  --accent: #2ee59d; --accent-ink: #062b1d; --bad: #ff4d5e; --warn: #ffb020; --blue: #4da3ff;
  --text: #e6edf3; --muted: #8aa0b6; --dim: #5d7389;
  --club: #2ee59d; --club2: #0b1016;
  --r: 12px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
h1, h2, h3, h4, .head { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
h2 { font-size: 22px; } h3 { font-size: 17px; color: var(--muted); }
.num { font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .good { color: var(--accent); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; } .spread { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- panels & buttons ---- */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; min-width: 0; }
.panel > h3:first-child, .panel-head { margin-bottom: 12px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border); background: var(--panel2); border-radius: 10px; padding: 9px 14px; font-weight: 600; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { border-color: #375069; background: #213245; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #4cf0b0; }
.btn.danger { border-color: #5a2630; color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn.ghost { background: transparent; }
.btn.on { border-color: var(--accent); color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 7px 12px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--accent); color: var(--accent-ink); }
.chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.02); }
.chip.good { color: var(--accent); border-color: #1d5a43; } .chip.bad { color: var(--bad); border-color: #5a2630; } .chip.warn { color: var(--warn); border-color: #5c4413; }
input[type=text], select, textarea { background: #0f1720; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; width: 100%; outline: none; }
input[type=text]:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { font-family: ui-monospace, monospace; font-size: 11px; min-height: 90px; resize: vertical; }
input[type=color] { width: 44px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: none; padding: 2px; }
label.field { display: block; } label.field > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 1px solid var(--border); background: transparent; border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---- badges, tiles, pills, bars ---- */
.badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid; font: 800 11px/1 var(--head); letter-spacing: .03em; flex: none; }
.badge.lg { width: 64px; height: 64px; font-size: 19px; border-width: 3px; }
.badge.xl { width: 84px; height: 84px; font-size: 25px; border-width: 4px; }
.badge.sm { width: 24px; height: 24px; font-size: 8px; border-width: 1.5px; }
.rt { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 5px; border-radius: 6px; font: 700 15px/1 var(--head); color: #0b1016; flex: none; }
.rt.gold { background: linear-gradient(135deg, #ffd76a, #e2a920); }
.rt.green { background: #2ee59d; } .rt.blue { background: #4da3ff; } .rt.grey { background: #7d8b99; }
.rt.mr { min-width: 34px; }
.pos { display: inline-block; min-width: 34px; text-align: center; border-radius: 999px; padding: 1px 7px; font: 700 12px/18px var(--head); letter-spacing: .04em; flex: none; }
.pos.GK { background: #ffd43b; color: #2b2000; } .pos.DEF { background: #3b82f6; color: #fff; }
.pos.MID { background: #22c55e; color: #032b12; } .pos.ATT { background: #ef4444; color: #fff; }
.fit { display: inline-block; width: 64px; height: 5px; border-radius: 3px; background: #0f1720; overflow: hidden; vertical-align: middle; flex: none; }
.fit i { display: block; height: 100%; border-radius: 3px; }
.meter { height: 8px; border-radius: 4px; background: #0f1720; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.form { display: inline-flex; gap: 3px; }
.form b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font: 700 11px/1 var(--head); color: #0b1016; }
.form b.W { background: var(--accent); } .form b.D { background: #7d8b99; } .form b.L { background: var(--bad); color: #fff; }
.form b.x { background: #1f2c3a; }
.trait { font-size: 11px; color: var(--warn); border: 1px solid #5c4413; border-radius: 999px; padding: 0 7px; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---- app shell ---- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, var(--club-glow) 0%, rgba(11,16,22,.96) 62%), var(--bg); backdrop-filter: blur(6px); }
.tb-club { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tb-club .name { font: 800 22px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.tb-club .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.tb-info { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.tb-item .k { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tb-item .v { font: 700 17px/1.1 var(--head); white-space: nowrap; }
.continue { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 210px; padding: 9px 18px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(46,229,157,.25); }
.continue:hover { background: #4cf0b0; }
.continue .big { font: 800 22px/1 var(--head); letter-spacing: .06em; }
.continue .next { font-size: 11px; font-weight: 600; margin-top: 3px; opacity: .85; white-space: nowrap; }
.continue.matchday { background: var(--warn); color: #2b1d00; box-shadow: 0 6px 24px rgba(255,176,32,.25); }
.layout { flex: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 0; }
.sidebar { border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 74px; height: calc(100vh - 74px); overflow-y: auto; }
.sidebar button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; text-align: left; }
.sidebar button:hover { background: var(--panel); color: var(--text); }
.sidebar button.on { background: var(--panel); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.sidebar .ico { width: 20px; text-align: center; font-size: 16px; }
.sidebar .count { margin-left: auto; background: var(--bad); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 0 7px; line-height: 18px; }
.main { padding: 20px; min-width: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid { grid-template-columns: 1.4fr 1fr; }
.span2 { grid-column: span 2; }

@media (min-width: 861px) and (max-width: 1100px) {
  .tb-info .tb-item.opt { display: none; }
}
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; gap: 10px 14px; padding: 10px 12px; position: static; }
  .tb-info { order: 3; width: 100%; margin: 0; gap: 14px; overflow-x: auto; }
  .continue { margin-left: auto; min-width: 0; padding: 8px 14px; }
  .tb-club .badge.lg { width: 44px; height: 44px; font-size: 14px; }
  .tb-club .name { font-size: 19px; }
  .tb-item .v { font-size: 15px; }
  .continue .big { font-size: 18px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; height: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; z-index: 15; background: var(--bg); scrollbar-width: none; }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar button { width: auto; flex: none; padding: 8px 12px; gap: 6px; }
  .sidebar button.on { box-shadow: inset 0 -3px 0 var(--accent); }
  .sidebar .count { margin-left: 4px; }
  .main { padding: 12px; }
  .g2, .g3, .home-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .hide-sm { display: none !important; }
}

/* ---- tables & lists ---- */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 700 11px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 7px 6px; border-bottom: 1px solid rgba(38,55,74,.55); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; } td.r, th.r { text-align: right; }
tr.me td { background: rgba(46,229,157,.07); }
tr.me td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
tr.click { cursor: pointer; } tr.click:hover td { background: rgba(255,255,255,.03); }
tr.zone-ucl td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
tr.zone-uel td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
tr.zone-uecl td:first-child { box-shadow: inset 3px 0 0 #21c8c8; }
tr.zone-rel td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.table-wrap { overflow-x: auto; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(38,55,74,.55); }
.list-item:last-child { border-bottom: 0; }
.list-item.click { cursor: pointer; border-radius: 8px; } .list-item.click:hover { background: rgba(255,255,255,.03); }
.news-item { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(38,55,74,.45); font-size: 13px; }
.news-item:last-child { border-bottom: 0; }
.news-item .ic { width: 18px; text-align: center; flex: none; }
.news-item .when { margin-left: auto; color: var(--dim); font-size: 11px; white-space: nowrap; }
.res { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 5px; font: 700 12px/1 var(--head); color: #0b1016; }
.res.W { background: var(--accent); } .res.D { background: #7d8b99; } .res.L { background: var(--bad); color: #fff; }
.empty { color: var(--muted); text-align: center; padding: 24px 8px; }

/* ---- home ---- */
.nextmatch { position: relative; overflow: hidden; }
.nextmatch .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 14px 0; }
.nextmatch .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.nextmatch .side .tn { font: 700 18px/1.1 var(--head); text-transform: uppercase; }
.nextmatch .mid { text-align: center; }
.nextmatch .mid .when { font: 800 28px/1 var(--head); }
.compare { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; font-size: 13px; }
.compare .bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #0f1720; }
.compare .bar i { display: block; height: 100%; }
.probs { display: flex; height: 26px; border-radius: 8px; overflow: hidden; font: 700 12px/26px var(--head); text-align: center; margin-top: 8px; }
.probs span { min-width: 34px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.kv .k { color: var(--muted); font-size: 12px; }

/* ---- start screen ---- */
.start { max-width: 1060px; margin: 0 auto; padding: 48px 20px 60px; }
.logo { font: 800 clamp(64px, 12vw, 132px)/.9 var(--head); letter-spacing: -.01em; }
.logo span { color: var(--accent); }
.tagline { color: var(--muted); font-size: 16px; margin: 10px 0 30px; }
.bigcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bigcard { text-align: left; padding: 26px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(160deg, #1b2a38, #121b25); min-height: 170px; display: flex; flex-direction: column; gap: 8px; }
.bigcard:hover { border-color: var(--accent); }
.bigcard .t { font: 800 30px/1 var(--head); text-transform: uppercase; }
.bigcard .d { color: var(--muted); }
.bigcard .em { font-size: 34px; }
.clubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.clubbtn { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); text-align: left; }
.clubbtn:hover { border-color: #3a5470; }
.clubbtn.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.clubbtn .n { font-weight: 700; line-height: 1.2; }
.clubbtn .cs { font-size: 11px; color: var(--muted); margin-top: 2px; }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.level { padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel2); text-align: left; }
.level.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.level .t { font: 700 18px/1 var(--head); text-transform: uppercase; }
.level .d { font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .bigcards, .levels { grid-template-columns: 1fr 1fr; } .start { padding-top: 28px; } }
@media (max-width: 480px) { .bigcards { grid-template-columns: 1fr; } }

/* ---- pre-match ---- */
.banner { border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; border: 1px solid var(--border); overflow: hidden; }
.banner .md { font: 800 clamp(34px, 6vw, 58px)/.9 var(--head); text-transform: uppercase; text-align: center; letter-spacing: .03em; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.banner .side { display: flex; align-items: center; gap: 12px; }
.banner .side.r { justify-content: flex-end; text-align: right; }
.banner .tn { font: 800 22px/1 var(--head); text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.alert { border: 1px solid #5a2630; background: rgba(255,77,94,.08); border-radius: var(--r); padding: 14px 16px; }
.alert.warn { border-color: #5c4413; background: rgba(255,176,32,.07); }
.xi-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(38,55,74,.45); }
.xi-row:last-child { border-bottom: 0; }
.xi-row.bad .nm { color: var(--bad); }

/* ---- live match ---- */
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.sb-team { display: flex; align-items: center; gap: 14px; padding: 18px 22px; min-width: 0; }
.sb-team.away { justify-content: flex-end; text-align: right; }
.sb-team .tn { font: 800 clamp(16px, 2.6vw, 26px)/1 var(--head); text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.sb-mid { text-align: center; padding: 12px 18px; background: rgba(11,16,22,.7); min-width: 170px; }
.sb-score { font: 800 clamp(44px, 7vw, 66px)/1 var(--head); letter-spacing: .02em; }
.sb-min { display: inline-block; margin-top: 4px; font: 700 15px/1 var(--head); color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 6px; }
.sb-min.paused { background: var(--warn); }
.sb-sub { font-size: 11px; color: var(--muted); margin-top: 6px; }
.mctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.mgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.feed { max-height: 64vh; overflow-y: auto; }
.ev { display: flex; gap: 10px; padding: 8px 6px; border-bottom: 1px solid rgba(38,55,74,.45); animation: pop .25s ease; }
.ev .m { font: 700 13px/20px var(--head); color: var(--muted); width: 42px; flex: none; text-align: right; }
.ev .i { width: 20px; flex: none; text-align: center; }
.ev.goal { background: rgba(46,229,157,.1); border-radius: 8px; border-bottom-color: transparent; margin: 2px 0; }
.ev.goal .t { font-weight: 700; color: var(--accent); }
.ev.goal.them .t { color: var(--text); }
.ev.goal.them { background: rgba(255,255,255,.04); }
.ev.red { background: rgba(255,77,94,.12); border-radius: 8px; } .ev.red .t { color: var(--bad); font-weight: 600; }
.ev.whistle .t { color: var(--muted); font-style: italic; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.statrow { margin: 9px 0; }
.statrow .lbl { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.statrow .lbl b { font: 700 15px/1 var(--head); }
.statrow .bars { display: flex; gap: 3px; height: 7px; }
.statrow .bars i { display: block; height: 100%; border-radius: 3px; min-width: 2px; }
.onpitch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.onpitch .p { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 0; min-width: 0; }
.onpitch .p .fit { width: 42px; margin-left: auto; }
@media (max-width: 860px) {
  .mgrid { grid-template-columns: 1fr; }
  .sb-team { padding: 12px; gap: 8px; } .sb-team .badge.lg { width: 42px; height: 42px; font-size: 13px; }
  .sb-mid { min-width: 110px; padding: 10px; }
  .feed { max-height: 46vh; }
  .banner { grid-template-columns: 1fr; text-align: center; } .banner .side, .banner .side.r { justify-content: center; }
}

/* ---- pitch (tactics) ---- */
.pitch { position: relative; aspect-ratio: 68 / 80; max-width: 460px; margin: 0 auto; border-radius: 14px; background: repeating-linear-gradient(0deg, #12432c 0 10%, #155033 10% 20%); border: 2px solid #2f6b4b; overflow: hidden; }
.pitch::before { content: ''; position: absolute; left: 50%; top: 0; width: 34%; height: 13%; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.25); border-top: 0; }
.pitch::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 0; border-top: 2px solid rgba(255,255,255,.25); }
.pitch .half { position: absolute; left: 0; right: 0; bottom: 0; border-top: 2px solid rgba(255,255,255,.25); height: 0; }
.slot { position: absolute; transform: translate(-50%, 50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 96px; text-align: center; }
.slot .shirt { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--head); border: 2px solid; }
.slot .nm { font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px #000; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .fit { width: 40px; height: 4px; }
.tcard { text-align: left; padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel2); }
.tcard.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tcard .t { font: 800 22px/1 var(--head); text-transform: uppercase; }

/* ---- inbox ---- */
.inbox { display: grid; grid-template-columns: 340px 1fr; gap: 16px; }
.mail { display: flex; gap: 10px; padding: 11px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.mail:hover { background: rgba(255,255,255,.03); }
.mail.on { border-color: var(--border); background: var(--panel2); }
.mail.unread .subj { font-weight: 700; color: var(--text); }
.mail .subj { color: var(--muted); font-size: 13px; }
.mail .from { font-size: 11px; color: var(--dim); }
@media (max-width: 860px) { .inbox { grid-template-columns: 1fr; } }

/* ---- review ---- */
.verdict { text-align: center; padding: 34px 20px; border-radius: 18px; border: 1px solid var(--border); background: radial-gradient(ellipse at top, var(--club-glow), transparent 70%), var(--panel); }
.verdict .em { font-size: 64px; line-height: 1; }
.verdict .t { font: 800 clamp(40px, 8vw, 76px)/.95 var(--head); text-transform: uppercase; margin: 10px 0; }
.verdict.sacked .t { color: var(--bad); }
.verdict.warning .t { color: var(--warn); }
.verdict.celebration .t, .verdict.extension .t { color: var(--accent); }

/* ---- modal & toast ---- */
#modal:empty { display: none; }
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(4,8,12,.72); display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.dialog { width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.dialog.wide { width: min(880px, 100%); }
.dialog h2 { margin-bottom: 6px; }
.choice { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel2); margin-top: 8px; }
.choice:hover:not(:disabled) { border-color: var(--accent); }
.choice:disabled { opacity: .45; cursor: not-allowed; }
.choice .h { font-weight: 700; } .choice .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: #213245; border: 1px solid #375069; color: var(--text); padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: fade .2s ease; font-weight: 500; }
.toast.bad { border-color: #5a2630; }

/* ---- additions: tactics pitch, transfers, brackets, stats ---- */
input[type=number] { background: #0f1720; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; width: 100%; min-width: 0; outline: none; }
input[type=number]:focus { border-color: var(--accent); }
.tac-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.pitch .circle { position: absolute; left: 50%; bottom: 50%; width: 22%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%, 50%); }
.pitch .box { position: absolute; left: 50%; width: 40%; height: 13%; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.22); }
.pitch .box.top { top: 0; border-top: 0; } .pitch .box.bottom { bottom: 0; border-bottom: 0; }
.pitch .half { bottom: 50%; }
.pitch::before { display: none; }
.slot { cursor: pointer; border-radius: 12px; padding: 3px 0; transition: background .15s; }
.slot:hover { background: rgba(255,255,255,.08); }
.slot.sel { background: rgba(46,229,157,.22); box-shadow: 0 0 0 2px var(--accent); }
.slot .shirt { position: relative; width: 40px; height: 40px; font-size: 16px; }
.slot .shirt.empty { border: 2px dashed rgba(255,255,255,.45); color: rgba(255,255,255,.6); }
.slot .shirt i { position: absolute; font-style: normal; display: grid; place-items: center; border-radius: 50%; }
.slot .shirt .tired { top: -2px; right: -2px; width: 10px; height: 10px; background: var(--bad); border: 2px solid #0b1016; }
.slot .shirt .oop { bottom: -4px; right: -6px; width: 16px; height: 16px; background: var(--warn); color: #2b1d00; font: 800 11px/1 var(--head); }
.slot .shirt .cap { top: -4px; left: -6px; width: 16px; height: 16px; background: #fff; color: #0b1016; font: 800 10px/1 var(--head); }
.slot .role { font: 700 10px/1 var(--head); letter-spacing: .06em; color: rgba(255,255,255,.7); }
.xi-row.click { cursor: pointer; border-radius: 8px; padding-left: 4px; padding-right: 4px; }
.xi-row.click:hover { background: rgba(255,255,255,.04); }
.xi-row.sel { background: rgba(46,229,157,.14); box-shadow: inset 3px 0 0 var(--accent); }
.xi-row.mine { background: rgba(46,229,157,.07); }
.role-tag { display: inline-block; min-width: 34px; text-align: center; font: 700 11px/18px var(--head); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; flex: none; }
.onpitch .p .role-tag { min-width: 30px; font-size: 10px; line-height: 16px; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.steps { display: flex; gap: 8px; margin: 4px 0 10px; flex-wrap: wrap; }
.steps span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 12px; }
.steps span.on { border-color: var(--accent); color: var(--accent); }
.steps span.done { background: rgba(46,229,157,.12); color: var(--accent); border-color: #1d5a43; }
.alert.ok { border-color: #1d5a43; background: rgba(46,229,157,.07); }
.euro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
tr.zone-po td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.bracket { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.bcol { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; min-width: 210px; flex: 1; }
.bhead { font: 700 13px/1.2 var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.btie { border: 1px solid var(--border); border-radius: 10px; background: var(--panel2); padding: 4px 6px; }
.bt-team { display: flex; align-items: center; gap: 6px; padding: 3px 2px; font-size: 12px; }
.bt-team + .bt-team { border-top: 1px solid rgba(38,55,74,.6); }
.bt-team.win { font-weight: 700; color: var(--accent); }
.bt-team.lose { color: var(--dim); }
.bt-team.me { background: rgba(46,229,157,.08); border-radius: 6px; }
.bt-team.tbd { color: var(--dim); font-style: italic; }
.bt-team .badge.sm { width: 20px; height: 20px; font-size: 7px; }
@media (max-width: 860px) {
  .tac-grid, .euro-grid { grid-template-columns: 1fr; }
  .slot { width: 64px; } .slot .nm { max-width: 64px; } .slot .shirt { width: 34px; height: 34px; font-size: 14px; }
}

/* ---- login ---- */
.login .auth { max-width: 420px; }
.login .or { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; }
.login .or::before, .login .or::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
input[type=password] { background: #0f1720; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; width: 100%; outline: none; }
input[type=password]:focus { border-color: var(--accent); }
.userbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 18px; }

/* ---- training ---- */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.day { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel2); text-align: left; }
.day:hover:not(:disabled) { border-color: var(--accent); }
.day .dn { font-size: 11px; color: var(--muted); } .day .dt { font-weight: 600; font-size: 13px; }
.day.match { background: rgba(255,176,32,.08); border-color: #5c4413; cursor: default; }
.day.rest .dt { color: var(--dim); font-weight: 500; }
.day .dot { position: absolute; top: 8px; right: 8px; }
.day .small.dim { position: absolute; top: 7px; right: 8px; }

.nextday { white-space: nowrap; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
@media (max-width: 860px) { .nextday { margin-left: auto; padding: 9px 12px; } .nextday + .continue { margin-left: 0; } }

/* ---- news cards ---- */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ncard { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ncard:hover { transform: translateY(-2px); border-color: #375069; }
.nimg { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.nimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,22,0) 35%, rgba(11,16,22,.92) 100%); }
.ncat { position: absolute; top: 12px; left: 12px; background: rgba(11,16,22,.75); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 4px 11px; font: 700 13px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px); }
.ncard.transfer .ncat { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ncard.trophy .ncat, .ncard.award .ncat { background: var(--warn); color: #2b1d00; border-color: var(--warn); }
.ncard.injury .ncat, .ncard.manager .ncat { background: var(--bad); color: #fff; border-color: var(--bad); }
.nbadges { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 8px; }
.nbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.nmeta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nhead { font: 700 20px/1.15 var(--head); text-transform: none; letter-spacing: 0; color: var(--text); }
.ncard.hero { flex-direction: row; }
.ncard.hero .nimg { flex: 1.4; aspect-ratio: auto; min-height: 260px; }
.ncard.hero .nbody { flex: 1; justify-content: center; padding: 22px; }
.ncard.hero .nhead { font-size: 30px; }
.nres .rrow { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid rgba(38,55,74,.45); font-size: 13px; }
.nres .rrow > span:first-child { display: flex; align-items: center; gap: 5px; flex: none; }
.nres .rrow .badge.sm { width: 18px; height: 18px; font-size: 6px; border-width: 1px; }
.nstars { display: flex; flex-direction: column; gap: 2px; font-size: 13px; margin-top: 4px; }
.fdelta { font-size: 11px; font-weight: 600; width: 64px; text-align: right; flex: none; }
@media (max-width: 860px) { .ncard.hero { flex-direction: column; } .ncard.hero .nimg { min-height: 0; aspect-ratio: 16 / 8; } .ncard.hero .nhead { font-size: 24px; } }

.ncard.roundup { grid-row: span 2; }
.ncard.roundup .nres { max-height: none; }
.ncard.club .ncat { background: #1f6feb; color: #fff; border-color: #1f6feb; }

/* ---- player chat ---- */
.chat { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.bubble { max-width: 78%; padding: 10px 13px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--border); line-height: 1.4; }
.bubble .who { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.bubble.player, .bubble.staff { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.you { align-self: flex-end; background: rgba(46,229,157,.14); border-color: #1d5a43; border-bottom-right-radius: 4px; }
.replybox { display: flex; flex-direction: column; gap: 8px; }
.replybox textarea { font: inherit; font-size: 14px; min-height: 70px; }

.counterIn { width: 84px !important; padding: 5px 8px !important; font-size: 12px; }

.slot { touch-action: none; user-select: none; }
.slot.dragging { z-index: 5; cursor: grabbing; background: rgba(46,229,157,.25); transition: none; }
#tacPitch .slot { cursor: grab; }

/* ---- live pitch during matches ---- */
.lpwrap { padding: 10px; margin-bottom: 12px; }
.lp { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 105 / 60; border-radius: 10px; overflow: hidden;
  background: repeating-linear-gradient(90deg, #1d6e3e 0 9.09%, #1a6438 9.09% 18.18%); border: 2px solid rgba(255,255,255,.28); }
.lp > div:not(.lp-dot):not(.lp-ball):not(.lp-label) { position: absolute; border: 2px solid rgba(255,255,255,.35); pointer-events: none; }
.lp-half { left: 50%; top: -2px; bottom: -2px; width: 0; border-width: 0 0 0 2px !important; }
.lp-circle { left: 50%; top: 50%; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.lp-box { top: 22%; bottom: 22%; width: 15.7%; } .lp-box.l { left: -2px; } .lp-box.r { right: -2px; }
.lp-six { top: 37%; bottom: 37%; width: 5.2%; } .lp-six.l { left: -2px; } .lp-six.r { right: -2px; }
.lp-goal { top: 44%; bottom: 44%; width: 1.4%; background: rgba(255,255,255,.25); } .lp-goal.l { left: -2px; } .lp-goal.r { right: -2px; }
.lp-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid rgba(0,0,0,.45); box-shadow: 0 1px 3px rgba(0,0,0,.5);
  transition: left var(--lpd, .5s) ease, top var(--lpd, .5s) ease; z-index: 2; }
.lp-ball { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.8), 0 1px 2px rgba(0,0,0,.6);
  transition: left var(--lpd, .5s) cubic-bezier(.3,.7,.4,1), top var(--lpd, .5s) cubic-bezier(.3,.7,.4,1); z-index: 3; }
.lp-label { position: absolute; top: 8%; left: 50%; transform: translateX(-50%) scale(.9); font: 800 18px/1 var(--head); color: #fff; text-transform: uppercase; letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.7); opacity: 0; transition: opacity .25s, transform .25s; z-index: 4; pointer-events: none; white-space: nowrap; }
.lp-label.show { opacity: 1; transform: translateX(-50%) scale(1); }
.lp-label.goal { font-size: 34px; color: var(--accent); }

/* goals, assists and cards beside a player's name: never cut off with it */
.mev { flex: none; white-space: nowrap; }
.mev:empty { display: none; }

/* the Gaffer token */
.gaffer-token { position: fixed; z-index: 9999; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff3b0; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff6c2, #f5c542 45%, #b8860b); box-shadow: 0 0 24px 6px rgba(245,197,66,.7);
  display: grid; place-items: center; animation: token-pop 2s ease-in-out forwards; padding: 0; }
.gaffer-token span { font: 800 26px/1 'Barlow Condensed', system-ui, sans-serif; color: #5a3d00; }
@keyframes token-pop { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 12% { transform: scale(1.15) rotate(8deg); opacity: 1; }
  25%, 80% { transform: scale(1) rotate(0); opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
.legend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.legend-card { position: relative; background: linear-gradient(160deg, #3a2c05, #1a1d24 70%); border: 1px solid #f5c542; border-radius: 12px;
  padding: 16px 10px; color: inherit; cursor: pointer; text-align: center; display: grid; gap: 4px; }
.legend-card:hover { box-shadow: 0 0 18px rgba(245,197,66,.45); }
.legend-r { position: absolute; top: 8px; left: 10px; font: 800 20px/1 'Barlow Condensed', system-ui, sans-serif; color: #f5c542; }
.legend-flag { font-size: 30px; }
.gaffer-token.red { border-color: #ffc2c2; background: radial-gradient(circle at 35% 30%, #ffb3b3, #e53935 45%, #7a0b0b); box-shadow: 0 0 24px 6px rgba(229,57,53,.7); }
.gaffer-token.red span { color: #fff; }

/* the 99-rated team offer */
.t99-strip { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(90deg, #1b1300, #2b1f00 40%, #111 100%); border: 1px solid #f5c542; }
.t99-mini { font: 800 18px/1 'Barlow Condensed', system-ui, sans-serif; color: #111; background: linear-gradient(160deg, #ffe58a, #f5c542 50%, #b8860b); border-radius: 8px; padding: 6px 8px; }
.t99 { position: relative; text-align: center; padding: 8px 4px 2px; overflow: hidden; }
.t99-ribbon { position: absolute; top: 14px; right: -38px; transform: rotate(35deg); background: #000; color: #fff; border: 1px solid #f5c542;
  font: 800 13px/1 'Barlow Condensed', system-ui, sans-serif; letter-spacing: 2px; padding: 6px 44px; }
.t99-shield { width: 110px; height: 126px; margin: 6px auto 10px; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff3b0, #f5c542 45%, #8a6300); clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%);
  filter: drop-shadow(0 0 18px rgba(245,197,66,.6)); }
.t99-shield span { font: 800 58px/1 'Barlow Condensed', system-ui, sans-serif; color: #2a1d00; margin-top: -8px; }
.t99-title { margin: 0 0 6px; font-size: 26px; }
.t99-sub { color: var(--muted); max-width: 440px; margin: 0 auto; }
.t99-price { margin-top: 16px; display: grid; gap: 4px; justify-items: center; }
.t99-now { font: 800 46px/1 'Barlow Condensed', system-ui, sans-serif; color: #f5c542; }
.t99-later { font-size: 13px; color: var(--muted); }
.t99-ends { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(229,57,53,.15); color: #ff8a80; font-size: 12px; font-weight: 700; }
.t99-fine { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* the shop */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coin-bal { display: flex; align-items: center; gap: 8px; font: 800 26px/1 'Barlow Condensed', system-ui, sans-serif; }
.coin { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 13px/1 'Barlow Condensed', system-ui, sans-serif; color: #5a3d00;
  background: radial-gradient(circle at 35% 30%, #fff6c2, #f5c542 50%, #b8860b); border: 1px solid #fff3b0; vertical-align: middle; }
.coin.sm { width: 16px; height: 16px; font-size: 10px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.shop-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); }
.shop-item .btn { align-self: flex-start; }
.shop-ico { font-size: 26px; }
.shop-item.pack { align-items: center; text-align: center; padding-top: 22px; }
.shop-item.pack .btn { align-self: center; }
.pack-coins { display: flex; align-items: center; gap: 8px; font: 800 30px/1 'Barlow Condensed', system-ui, sans-serif; }
.pack-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #f5c542; color: #2a1d00; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* announcements */
.ann { text-align: center; padding: 6px 4px 2px; }
.ann-coin { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff3b0;
  background: radial-gradient(circle at 35% 30%, #fff6c2, #f5c542 45%, #b8860b); box-shadow: 0 0 26px 6px rgba(245,197,66,.55); animation: ann-spin 3s ease-in-out infinite; }
.ann-coin span { font: 800 34px/1 'Barlow Condensed', system-ui, sans-serif; color: #5a3d00; }
@keyframes ann-spin { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
.ann-kicker { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(229,57,53,.15); color: #ff8a80; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
.ann-title { margin: 8px 0 4px; font-size: 26px; }
.ann-clock { font: 800 44px/1.1 'Barlow Condensed', system-ui, sans-serif; color: #f5c542; letter-spacing: 2px; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.ann-sub { color: var(--muted); max-width: 420px; margin: 0 auto; }
.tb-token .v { color: #f5c542; font-variant-numeric: tabular-nums; }
.tb-token .k { white-space: nowrap; }

/* paying by UPI */
.pay { text-align: center; display: grid; gap: 10px; justify-items: center; }
.pay-btn { padding: 12px 18px; font-size: 16px; }
.pay-qr { width: 200px; height: 200px; background: #fff; border-radius: 10px; padding: 6px; }
.pay-qr svg { width: 100%; height: 100%; display: block; }
.pay-ref { display: grid; gap: 2px; padding: 8px 14px; border: 1px dashed var(--border); border-radius: 10px; }
.pay-ref b { font-family: ui-monospace, Menlo, monospace; letter-spacing: 1px; }
.pay-apps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pay-apps .btn { min-width: 110px; }
.pay-manual { display: grid; gap: 6px; width: 100%; max-width: 360px; padding: 10px; border: 1px dashed var(--border); border-radius: 10px; }
.pay-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px; align-items: center; text-align: left; }
.pay-line b { font-family: ui-monospace, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
/* limited-time challenge */
.ch { border-color: #5c4413; background: linear-gradient(135deg, rgba(245,197,66,.08), transparent 60%); margin-bottom: 12px; }
.ch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.ch-kicker { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(245,197,66,.15); color: #f5c542; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.ch-kicker.live { background: rgba(229,57,53,.15); color: #ff8a80; }
.ch-title { margin: 6px 0 0; font-size: 22px; }
.ch-clock { text-align: right; } .ch-clock b { font: 800 26px/1.1 'Barlow Condensed', system-ui, sans-serif; color: #f5c542; font-variant-numeric: tabular-nums; }
.ch-task { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, rgba(255,255,255,.06)); }
.ch-task.done b { color: var(--accent); }
.ch-ico { width: 22px; text-align: center; }
.ch-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); margin-top: 5px; overflow: hidden; max-width: 320px; }
.ch-bar i { display: block; height: 100%; background: #f5c542; border-radius: 3px; }
.ch-task.done .ch-bar i { background: var(--accent); }
.ch-prize { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; min-width: 52px; justify-content: flex-end; }
.ch-line { padding: 3px 0; }
.small.good { color: var(--accent); }

/* what Gaffer is, under the sign-in screen (index.html #about) */
.about { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; color: var(--muted); border-top: 1px solid var(--border); }
.about h1 { font: 800 30px/1.15 var(--head); color: var(--text); margin: 0 0 12px; letter-spacing: .3px; }
.about h2 { font: 700 22px/1.2 var(--head); color: var(--text); margin: 26px 0 8px; }
.about h3 { font-size: 15px; color: var(--text); margin: 16px 0 4px; }
.about p, .about li { font-size: 15px; line-height: 1.6; }
.about b { color: var(--text); font-weight: 600; }
.about ul { padding-left: 20px; margin: 8px 0; } .about li { margin: 6px 0; }
.about[hidden] { display: none; }
