/* Afterkick match program */
:root {
  --paper: #f7f3e8;
  --navy: #101935;
  --blue: #1c39ba;
  --orange: #ff994c;
  --mint: var(--orange);
  --chalk: var(--paper);
  --ink: var(--navy);
  --dim: #c3c8d6;
  --faint: #a5adc1;
  --line: #ffffff26;
  --line2: #ffffff50;
}
body { background: #101729; }
#grain { opacity: .035; }
.ak-mark {
  display: block; width: 30px; height: 25px; flex-shrink: 0;
  background: repeating-linear-gradient(110deg, var(--navy) 0 5px, transparent 5px 8px);
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}
.bug-brand { background: var(--orange); color: var(--navy); padding-left: 12px; }
.bug-word { letter-spacing: -.06em; font-variation-settings: 'wdth' 98; }
#acts, .bug-seg { background: #101935f5; }
.btn::before, .btn-go:hover::before { border-radius: 3px; transform: none; box-shadow: none; }
.btn-go::before { background: var(--orange); }
.btn-go:hover::before { background: #ffb479; }
.btn, .sheet-head, .sheet-go, .ln-bh { font-style: normal; font-variation-settings: 'wdth' 100; }
#kick {
  background: radial-gradient(ellipse at 90% 0%, #3354d8, transparent 62%), var(--blue);
  border-bottom: 8px solid var(--orange);
}
#led { filter: grayscale(1); mix-blend-mode: screen; }
#led.on { opacity: .34; }
.kick-copy h1 { font-size: clamp(56px, 6.7vw, 108px); font-weight: 785; line-height: .94; letter-spacing: -.012em; word-spacing: .04em; font-variation-settings: 'wdth' 86; text-shadow: none; }
.kick-copy h1 .l2 { color: var(--orange); }
.kick-copy .sub { font-family: Arial, sans-serif; color: #f0f1fe; max-width: 43ch; }
.kick-led-cap, .kick-led-cap b { color: var(--paper); }
.pitch {
  height: 25%; background-color: #263da7;
  background-image: repeating-radial-gradient(ellipse 65% 180% at 18% 195%, transparent 0 48px, #afc0ed66 49px 50px, transparent 51px 70px);
  mask-image: linear-gradient(transparent, black 29%);
}
.pitch-line { background: #b9c8f288; }
#ballCv, #lnBallCv, .tac-ball img { filter: grayscale(1) sepia(.15) contrast(1.1); }
.sheet {
  color: var(--navy); background: var(--paper); border: 0; border-radius: 3px;
  box-shadow: 6px 6px 0 #0d1853; backdrop-filter: none;
}
.sheet-head { background: var(--navy); color: var(--paper); padding-block: 15px; }
.sheet-rows li, .sheet-go { border-color: #19233d33; }
.sheet-rows li:hover, .sheet-go:hover { background: #e9e4d7; }
.sheet-rows .nm span { color: #464d63; }
.sheet .jersey { color: var(--navy); border: none; border-radius: 0; background: #e6e0d1; }
.sheet .side { transform: none; border-radius: 2px; }
.sheet .side.long { color: #19318d; background: #dfe5ff; }
.sheet .side.short { color: #8c3600; background: #ffdfbd; }
.sheet-go { color: var(--navy); text-align: right; }
.sheet-rows .nm span i { color: inherit !important; }
.lower-tag { background: var(--orange); }
.lower > span:last-child { background-color: #101935e8; color: #ececf3; }
h2, .ln-h { letter-spacing: -.055em; font-variation-settings: 'wdth' 86; }
#board, #rules { background: var(--paper); color: var(--navy); }
#board .match, #board .pbp, #rules .rule { color: var(--paper); background: var(--navy); }
#rules .rule { border-radius: 0; box-shadow: inset 0 2px var(--orange); }
.board-wrap, .tv { background: #192d80; border-radius: 5px; }
.ln-block, .reach-card, .match, .pbp, .perp, .film-frame { border-radius: 5px; }
.ln-block { background: #192138; border-top: 2px solid #7782a5; }
.ln-bh b { border-radius: 50%; transform: none; }
.tv-top { background: var(--blue); color: var(--paper); }
.foot-word { background: none; color: var(--paper); letter-spacing: -.08em; font-variation-settings: 'wdth' 92; }
:focus-visible { outline: 3px solid #fcab63; outline-offset: 3px; }
@media (max-width: 640px) {
  .kick-copy h1 { font-size: clamp(54px, 13.7vw, 84px); }
  .kick-copy .sub { margin-top: 16px; }
  .sheet { box-shadow: 3px 4px 0 #0d1853; }
  .pitch { height: 245px; }
  .ak-mark { width: 23px; height: 20px; }
}

/* ---------- Elysium build: status notice, coin stats, trade box, proof ---------- */
#notice { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80; max-width: min(720px, calc(100% - 28px)); padding: 12px 18px; background: var(--paper); color: var(--navy); font: 600 14px/1.45 Arial, sans-serif; border-radius: 3px; box-shadow: 4px 4px 0 #0d1853; }
.dim { color: var(--dim); }
.pl { font-family: var(--mono); font-size: 11.5px; color: var(--orange); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.pl:hover { color: #ffb479; }
.c-head .ca { border: 0; background: none; text-align: left; padding: 0; display: block; }
.c-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.c-stats > div { padding: 14px 16px; background: #192138; border-top: 2px solid #7782a5; border-radius: 5px; }
.c-stats span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.c-stats b { display: block; margin-top: 4px; font: 700 20px/1.2 var(--mono); color: var(--paper); }
.c-wait { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--orange); background: #192138; color: var(--dim); font-size: 14.5px; }
.c-grid > div { display: grid; gap: 18px; align-content: start; }
.pos.on { background: #ff994c14; }
.acc { padding: 14px 18px; font-size: 12.5px; line-height: 1.9; color: var(--dim); }
.acc a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.trade { padding-bottom: 18px; }
.trade .seg, .trade .fld, .trade .td-q, .trade .btn { margin: 14px 18px 0; }
.trade .seg { display: grid; grid-template-columns: 1fr 1fr; }
.trade .fld em { float: right; font-style: normal; }
.trade .btn { width: calc(100% - 36px); }
.td-q { font-size: 13.5px; color: var(--dim); min-height: 20px; }
.pf { padding-top: 120px; padding-bottom: 80px; padding-inline: 24px; }
.pf .sub { margin: 14px 0 26px; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; align-items: start; }
.pf-wide { margin-top: 18px; }
.pf-live { padding: 14px 18px 4px; }
.pf .c-card > .btn { margin: 6px 18px 18px; }
.lc { border: 1px solid var(--line); border-radius: 5px; margin-bottom: 8px; background: #0b1030; }
.lc summary { cursor: pointer; padding: 10px 12px; font-size: 14px; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.lc summary span { margin-left: auto; font: 12px var(--mono); color: var(--faint); }
.lc.ok summary b { color: #97fce4; } .lc.no summary b { color: var(--red); }
.lc pre { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); font: 12px/1.5 var(--mono); color: var(--dim); white-space: pre-wrap; word-break: break-all; max-height: 320px; overflow: auto; }
.pf-limits { padding: 16px 18px 18px 38px; display: grid; gap: 10px; color: var(--dim); font-size: 15px; }
.pf .rd-log { max-height: 640px; overflow: auto; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.seg button[disabled] { opacity: .35; cursor: not-allowed; }
#modal .acts { display: flex; gap: 10px; flex-wrap: wrap; }
#modal .fine { margin-top: 14px; }
@media (max-width: 980px) {
  .c-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf { padding-top: 96px; padding-inline: 14px; }
}
#notice { padding-right: 44px; } #notice .nx { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; font: 700 20px Arial, sans-serif; color: var(--navy); cursor: pointer; }
