:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --glass-edge: rgba(255, 255, 255, 0.10);
  --glass-shine: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.08);
  --track: #232328;
  --text: #f2f1f7; --muted: #a6a3b5; --faint: #6e6b7d;
  /* accents are plain white: the only colors that mean something are green (hit), yellow (waiting) and red (miss) */
  --accent: #ffffff; --accent-deep: #cfcfcf; --accent-soft: rgba(255, 255, 255, 0.10); --accent-glow: rgba(255, 255, 255, 0.06);
  --good: #3fd846; --good-deep: #13b84f; --good-soft: rgba(63, 216, 70, 0.13);
  --warn: #ffd21f; --warn-deep: #8a6d00; --warn-soft: rgba(255, 210, 31, 0.13);
  --bad: #ff5c6c; --bad-soft: rgba(255, 92, 108, 0.14);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: transparent;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  /* one faint green glow in the top-left corner, so quiet screens aren't a bare black page */
  background: radial-gradient(900px 600px at 6% -10%, rgba(63, 216, 70, 0.10), transparent 60%);
}

/* liquid glass */
.glass, .top, .card, .slip, .panel, details.hslip, .lesson, .empty {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 45%, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-shine), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s, background .25s;
}
.card:hover, .slip:hover, .panel:hover, details.hslip:hover, .lesson:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 32px var(--accent-glow);
}

.top {
  position: sticky; top: 0; z-index: 5; border-radius: 0; border-width: 0 0 1px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 24px;
}
/* the Binkz wordmark (brand/binkz-logos-v5-wordmark), transparent, top left */
.brand { display: inline-flex; align-items: center; padding: 0 10px 0 2px; margin: -4px 0; line-height: 0; }
.brand img { height: 46px; width: auto; display: block; }
@media (max-width: 560px) { .brand img { height: 32px; } }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { font-size: 13px; padding: 7px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
nav a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.5); }
nav a.on { background: var(--accent-soft); color: #ffffff; border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 18px var(--accent-glow); }
nav a.soon { opacity: .45; cursor: default; }
nav a.soon:hover { border-color: var(--line); color: var(--muted); }

main { max-width: 980px; margin: 0 auto; padding: 26px 16px 72px; }
.view[hidden] { display: none; }
h2 { font-size: 19px; font-weight: 700; margin: 0; }
h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.updated { font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
.updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.err { color: var(--bad); }

/* summary cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.card { padding: 16px 18px; display: flex; flex-direction: column; }
.label { font-size: 13px; color: var(--muted); }
.big { font-size: 28px; font-weight: 700; margin: 2px 0; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.sub { font-size: 12px; color: var(--faint); }
.pos { color: var(--good); text-shadow: 0 0 18px rgba(63, 216, 70, 0.35); }
.neg { color: var(--bad); }

/* open bet cards */
.slip { padding: 0; margin-bottom: 16px; overflow: hidden; }
.slip.dead { opacity: .72; }
.slip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; cursor: pointer; user-select: none; }
.slip-title { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.chev { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--muted); font-size: 11px; transition: transform .25s; flex: none; }
.slip.collapsed .chev { transform: rotate(-90deg); }
.slip-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.slip-money { font-size: 14px; color: var(--muted); margin-top: 6px; }
.slip-money b { color: var(--text); font-size: 18px; }
.slip-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.badge { font-size: 12px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; font-weight: 600; border: 1px solid transparent; }
.badge.alive, .badge.pending { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 210, 31, 0.35); }
.badge.dead, .badge.lost { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 92, 108, 0.35); }
.badge.won { background: var(--good-soft); color: var(--good); border-color: rgba(63, 216, 70, 0.4); box-shadow: 0 0 14px rgba(63, 216, 70, 0.25); }
.tally { display: flex; gap: 5px; flex-wrap: nowrap; justify-content: flex-end; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--warn); flex: none; }
.dot.hit { background: var(--good); border-color: var(--good); box-shadow: 0 0 8px rgba(63, 216, 70, 0.6); }
.dot.miss { background: var(--bad); border-color: var(--bad); }
.dot.waiting { border-color: var(--faint); }
.scoreline { display: flex; gap: 12px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); font-size: 13px; color: var(--muted); }
.scoreline .clock { margin-left: auto; color: var(--faint); }
.legs { padding: 4px 20px 10px; }
.slip.collapsed .legs { display: none; }

/* a leg, DraftKings style */
.dleg { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.dleg:first-child { border-top: 0; }
.status { width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.status i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--warn); display: block; }
.dleg.hit .status i { border-color: var(--good); background: var(--good); box-shadow: 0 0 10px rgba(63, 216, 70, 0.6); position: relative; }
.dleg.hit .status i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 7px; border: solid #04210f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dleg.miss .status i { border-color: var(--bad); background: var(--bad); }
.dleg.waiting .status i { border-color: var(--faint); }
.dl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dl-big { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; }
.dl-our { font-size: 11px; color: var(--faint); white-space: nowrap; }
.dl-sub { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.dl-note { font-size: 11px; color: var(--faint); margin-top: 2px; }
.dleg.miss .dl-big, .dleg.miss .dl-sub { text-decoration: line-through; color: var(--faint); }

.dbar { position: relative; height: 38px; margin-top: 4px; }
.dbar .track { position: absolute; left: 0; right: 0; top: 9px; height: 7px; border-radius: 999px; background: var(--track); }
.dbar .fill { position: absolute; left: 0; top: 9px; height: 7px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 210, 31, 0.08), rgba(255, 210, 31, 0.55) 55%, var(--warn)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.dleg.hit .dbar .fill { background: linear-gradient(90deg, rgba(63, 216, 70, 0.10), rgba(63, 216, 70, 0.6) 55%, var(--good)); box-shadow: 0 0 14px rgba(63, 216, 70, 0.35); }
.dleg.miss .dbar .fill { background: linear-gradient(90deg, rgba(255, 92, 108, 0.08), var(--bad)); }
.dbar .tick { position: absolute; top: 6px; width: 2px; height: 13px; border-radius: 2px; background: #8d8a99; transform: translateX(-50%); }
.dbar .tick-label { position: absolute; top: 22px; font-size: 10.5px; color: var(--faint); transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.dbar .pill { position: absolute; top: 1px; min-width: 30px; height: 23px; padding: 0 8px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; background: #1a1708; color: var(--warn); border: 1.5px solid var(--warn);
  transition: left .8s cubic-bezier(.2, .8, .2, 1); }
.dleg.hit .dbar .pill { background: #062012; color: var(--good); border-color: var(--good); box-shadow: 0 0 14px rgba(63, 216, 70, 0.45); }
.dleg.miss .dbar .pill { background: #22090c; color: var(--bad); border-color: var(--bad); }
.dleg.waiting .dbar .pill { color: var(--muted); border-color: var(--faint); background: #15141a; }

.empty { color: var(--muted); font-size: 14px; padding: 28px; text-align: center; border-style: dashed; }

/* history */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; align-items: start; }
.panel { padding: 16px 18px; }
.panel svg { width: 100%; height: auto; display: block; }
.axis { fill: rgba(255, 255, 255, 0.85); font-size: 11px; }
.note { font-size: 12px; color: var(--faint); margin: 8px 0 0; }
.hrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) 56px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.hrow .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.bar { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.pair { display: flex; flex-direction: column; gap: 4px; }
.pair .bar { height: 7px; }
.pair .bar.exp i { background: #5d5a6b; }
.pair .bar.act i { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 10px var(--accent-glow); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button, .slipchip { font: inherit; font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); cursor: pointer; text-decoration: none; transition: all .2s; }
.chips button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.5); }
.chips button.on { background: var(--accent-soft); color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
details.hslip { margin-bottom: 12px; }
details.hslip[open] { padding-bottom: 8px; }
details.hslip.flash { border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
details.hslip summary { list-style: none; cursor: pointer; padding: 15px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
details.hslip summary::-webkit-details-marker { display: none; }
.hs-title { font-weight: 700; font-size: 15px; }
.hs-meta { font-size: 12px; color: var(--muted); grid-column: 1; }
.hs-right { grid-row: 1 / span 2; grid-column: 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.hs-money { font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 600; }
.hs-body { padding: 0 18px; }
.leg { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.leg .ico { font-size: 13px; text-align: center; font-weight: 800; color: var(--faint); }
.leg.hit .ico { color: var(--good); text-shadow: 0 0 10px rgba(63, 216, 70, 0.6); }
.leg.miss .ico { color: var(--bad); }
.leg.miss .name { text-decoration: line-through; color: var(--faint); }
.leg .note { display: block; margin: 0; }
.leg .act { font-size: 12px; color: var(--muted); text-align: right; }
.hs-foot { font-size: 12px; color: var(--faint); padding: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hs-foot a { color: #ffffff; }

/* lessons */
.intro { color: var(--muted); font-size: 14px; margin: -4px 0 20px; }
#lesson-search { font: inherit; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.05); color: var(--text); min-width: 260px; outline: none; transition: border-color .2s, box-shadow .2s; }
#lesson-search:focus { border-color: var(--accent); box-shadow: 0 0 18px var(--accent-glow); }
.lsec { margin-bottom: 24px; }
.lsec h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #ffffff; margin-bottom: 10px; }
.lesson { padding: 14px 18px; margin-bottom: 10px; }
.lesson.flash { border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.lesson.struck .l-title { text-decoration: line-through; color: var(--muted); }
.l-title { font-weight: 700; font-size: 15px; }
.l-body { font-size: 14px; color: #d6d4e0; margin-top: 4px; }
.l-src { font-size: 12px; color: var(--faint); margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.slipchip { color: #ffffff; background: var(--accent-soft); border-color: rgba(255, 255, 255, 0.4); }
.slipchip:hover { box-shadow: 0 0 14px var(--accent-glow); }

@media (max-width: 720px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charts { grid-template-columns: 1fr; }
  #lesson-search { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
  .top { padding: 10px 16px; gap: 8px; }
  nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  nav a { white-space: nowrap; padding: 6px 12px; }
  .slip-head { flex-direction: column; }
  .slip-right { flex-direction: row; align-items: center; }
  .legs, .slip-head { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* profit candles and the expanded view */
.panel.clickable { cursor: pointer; }
.expand { float: right; color: var(--faint); font-weight: 400; transition: color .2s; }
.panel.clickable:hover .expand { color: #ffffff; }
.candle rect { transition: filter .2s, opacity .2s; }
.candle.up rect { fill: var(--good); filter: drop-shadow(0 0 6px rgba(63, 216, 70, 0.45)); }
.candle.down rect { fill: var(--bad); filter: drop-shadow(0 0 5px rgba(255, 92, 108, 0.35)); }
.candles.big .candle { cursor: pointer; }
.candles.big .candle:hover rect { filter: drop-shadow(0 0 14px currentColor) brightness(1.2); }
.candles.big .axis { font-size: 13px; }
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .2s ease; }
.modal[hidden] { display: none; }
.modal-card { width: min(1100px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.45); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px var(--accent-glow);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-close { font: inherit; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--muted); cursor: pointer; transition: all .2s; }
.modal-close:hover { color: var(--text); border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.modal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.modal-stats > div { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); display: flex; flex-direction: column; }
.modal-stats b { font-size: 18px; margin-top: 2px; }
.modal-tip { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 720px) { .modal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .modal { padding: 10px; } .modal-card { padding: 16px; } }

/* build tab */
.btn { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap; transition: all .2s; }
.btn:hover { border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.btn.primary { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); border-color: rgba(255, 255, 255, 0.8); box-shadow: 0 0 18px var(--accent-glow); }
.btn.primary:hover { filter: brightness(1.12); }
.btn:disabled { opacity: .5; cursor: wait; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.35); margin-left: 6px; vertical-align: 2px; }
.tag.good { background: var(--good-soft); color: var(--good); border-color: rgba(63, 216, 70, 0.35); }
.factors .tag { margin: 0 6px 6px 0; font-weight: 400; }
.factors .tag b { font-weight: 700; }
.sched { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 10px; }
.sched-main { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.sched-name { font-weight: 700; font-size: 15px; }
.sched-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.back { display: inline-block; color: #ffffff; text-decoration: none; font-size: 13px; margin-bottom: 12px; }
.ghead { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 16px; flex-wrap: wrap; }
.ghead-name { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.pullinfo { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dossier { padding: 18px 20px; margin-bottom: 22px; }
.dossier h3 { margin: 0 0 8px; font-size: 16px; }
.dossier h4, .bteam h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #ffffff; margin: 16px 0 6px; }
.dossier .sub, .section-head .sub, .board .sub, .bteam .sub { font-size: 12px; color: var(--faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.dossier.empty-d p { color: var(--muted); font-size: 14px; margin: 0; }
.d-head { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.d-story { font-size: 14px; color: #d6d4e0; line-height: 1.6; }
.d-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.d-cols ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #d6d4e0; }
.d-cols li { margin-bottom: 4px; }
table.proj { width: 100%; border-collapse: collapse; font-size: 13px; }
table.proj th { text-align: left; color: var(--faint); font-weight: 500; font-size: 12px; padding: 4px 8px 6px 0; }
table.proj td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); color: #d6d4e0; }
.num { text-align: center; font-variant-numeric: tabular-nums; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; align-items: start; }
.tier { padding: 14px 16px; }
.tier.short { opacity: .75; }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; }
.tier-x { font-size: 26px; font-weight: 800; letter-spacing: -.5px; background: linear-gradient(135deg, #fff, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-n { font-size: 12px; color: var(--muted); }
.tier-stats { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.tier-warn { font-size: 11.5px; color: var(--warn); margin-bottom: 6px; }
.tier-legs { margin: 0; padding-left: 18px; font-size: 12.5px; }
.tier-legs li { padding: 3px 0; border-top: 1px solid var(--line); }
.tier-legs li span:first-child { margin-right: 6px; }
.pick { padding: 12px 16px; margin-bottom: 10px; }
.pick.out { opacity: .55; }
.pick-top { display: flex; justify-content: space-between; gap: 12px; }
.pick-name { font-weight: 700; font-size: 14.5px; }
.pick-why { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pick-pcts { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--faint); white-space: nowrap; }
.pick-pcts b { color: var(--good); font-size: 15px; }
.rungs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.rung { font: inherit; font-size: 12px; min-width: 62px; padding: 5px 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.3; transition: all .2s; }
.rung b { color: var(--good); font-size: 13px; }
.rung:hover { border-color: rgba(255, 255, 255, 0.6); color: var(--text); }
.rung.on { border-color: var(--accent); background: var(--accent-soft); color: var(--text); box-shadow: 0 0 14px var(--accent-glow); }
.board { padding: 14px 20px; margin: 10px 0 30px; }
.board summary { cursor: pointer; list-style: none; }
.board summary::-webkit-details-marker { display: none; }
.board h3 { margin: 0; font-size: 15px; }
.bline { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12.5px; align-items: center; }
.bl-name { color: #d6d4e0; }
.bl-name i { color: var(--faint); font-style: normal; }
.bl-rungs { display: flex; gap: 5px; flex-wrap: wrap; }
.rchip { font-size: 11.5px; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); color: var(--muted); white-space: nowrap; }
.rchip b { color: var(--good); font-weight: 600; }
.modal-card.narrow { width: min(520px, 100%); }
.confirm-text { font-size: 14px; color: #d6d4e0; }
.confirm-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.confirm-actions .modal-close { width: auto; height: auto; border-radius: 999px; }
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiers, .d-cols { grid-template-columns: 1fr; } .bline { grid-template-columns: 1fr; } .sched { flex-wrap: wrap; } }
details.day { margin-bottom: 14px; }
details.day > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px 4px; user-select: none; }
details.day > summary::-webkit-details-marker { display: none; }
details.day > summary .chev { transition: transform .25s; }
details.day:not([open]) > summary .chev { transform: rotate(-90deg); }
.day-name { font-weight: 700; font-size: 15px; }
.day-n { font-size: 12px; color: var(--faint); }
details.day > summary:hover .day-name { color: #ffffff; }
.tier-src { font-size: 11px; color: var(--faint); margin-top: 2px; }
.tier-src.claude { color: #ffffff; }
.tier-why { font-size: 12px; color: #d6d4e0; margin: 6px 0 2px; line-height: 1.4; }
.tier-legs li.shot span:first-child::after { content: " · shot"; color: var(--warn); font-size: 11px; }
.tag.shot { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 210, 31, 0.35); }
.pick.shot { border-color: rgba(255, 210, 31, 0.25); }

/* reports */
.rep { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 12px; color: inherit; text-decoration: none; }
.rep-icon { width: 46px; height: 56px; border-radius: 8px; flex: none; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #fff; background: linear-gradient(160deg, var(--accent), var(--accent-deep)); box-shadow: 0 0 18px var(--accent-glow); }
.rep-main { flex: 1; min-width: 0; }
.rep-title { font-weight: 700; font-size: 15px; }
.rep-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.rep-chips .tag { margin-left: 0; }
.rep-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pdf-frame { padding: 0; overflow: hidden; margin-bottom: 30px; }
.pdf-frame iframe { display: block; width: 100%; height: 82vh; border: 0; background: #fff; }

/* matchup pack */
.pack summary { list-style: none; cursor: pointer; }
.pack summary::-webkit-details-marker { display: none; }
.pack-refresh { float: right; margin-top: -30px; font-size: 12px; padding: 5px 12px; }
ul.flags { margin: 0; padding-left: 18px; font-size: 13.5px; color: #d6d4e0; }
ul.flags li { margin-bottom: 4px; }
.inj-team { display: inline-block; min-width: 38px; font-size: 12px; color: var(--muted); margin-right: 4px; }
.tag.bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 92, 108, 0.35); }
.tag.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 210, 31, 0.35); }
.rk { display: inline-block; min-width: 26px; text-align: center; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.rk.good { background: var(--good-soft); color: var(--good); }
.rk.bad { background: var(--bad-soft); color: var(--bad); }
table.pk { font-size: 12.5px; }
table.pk td i { color: var(--faint); font-style: normal; font-size: 11px; }
table.pk tr.qb td { color: #ffffff; }
@media (max-width: 720px) { table.pk { display: block; overflow-x: auto; white-space: nowrap; } }

/* collapsible game sections */
details.gsec { margin-bottom: 18px; }
details.gsec.glass { padding: 0; }
details.gsec > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 18px; user-select: none; }
details.gsec.bare > summary { padding: 6px 2px 10px; }
details.gsec > summary::-webkit-details-marker { display: none; }
details.gsec > summary h2 { margin: 0; font-size: 18px; }
details.gsec > summary .sub { font-size: 12px; color: var(--faint); }
details.gsec > summary .chev { align-self: center; transition: transform .25s; }
details.gsec:not([open]) > summary .chev { transform: rotate(-90deg); }
details.gsec > summary:hover h2 { color: #ffffff; }
details.gsec.glass > .gsec-body { padding: 0 20px 18px; }
details.gsec .dossier { padding: 0; margin: 0; }
.sec-actions { display: flex; justify-content: flex-end; gap: 8px; margin: -4px 0 10px; }
.ghead-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ghead-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ghead-actions .btn { font-size: 12px; padding: 6px 12px; }
@media (max-width: 560px) { .ghead-right { align-items: flex-start; } .ghead-actions { justify-content: flex-start; } }
details.gsec .tiers { margin-bottom: 4px; }
details.gsec .pick:last-child { margin-bottom: 0; }

/* team logos and jersey numbers */
.tlogo { display: inline-block; vertical-align: middle; object-fit: contain; flex: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.tpair { display: inline-flex; align-items: center; gap: 3px; margin-right: 8px; vertical-align: middle; }
.tpair i, i.at { font-style: normal; font-size: 10px; color: var(--faint); margin: 0 3px; }
.jersey { position: relative; display: inline-flex; align-items: flex-end; justify-content: center; flex: none;
  width: 24px; height: 22px; margin-right: 7px; vertical-align: -5px;
  background: var(--jc); border-bottom: 2px solid var(--ja);
  clip-path: polygon(22% 0, 38% 0, 50% 14%, 62% 0, 78% 0, 100% 20%, 90% 42%, 80% 36%, 80% 100%, 20% 100%, 20% 36%, 10% 42%, 0 20%);
  filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.6)); }
.jersey b { font-size: 9.5px; font-weight: 800; color: #fff; line-height: 1; padding-bottom: 3px; letter-spacing: -.3px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.sched-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.sched-name .tlogo { margin-right: 2px; }
.ghead-name { display: flex; align-items: center; gap: 12px; }
.pick-name, .dl-big, .tier-legs li span:first-child, .leg .name, .bl-name, table.pk td:first-child { }
.pick-name .tlogo, .tier-legs .tlogo, .dl-big .tlogo, .leg .name .tlogo { margin-right: 6px; vertical-align: -3px; }
.tier-legs .jersey { width: 20px; height: 18px; margin-right: 5px; vertical-align: -4px; }
.tier-legs .jersey b { font-size: 8.5px; padding-bottom: 2px; }
h4.with-logo { display: flex; align-items: center; gap: 8px; }
.tag .jersey { width: 18px; height: 16px; margin-right: 4px; vertical-align: -4px; }
.tag .jersey b { font-size: 8px; padding-bottom: 2px; }
.inj-team { display: inline-flex; align-items: center; }
.slip-title .tpair { margin-right: 10px; }
.hs-title .tpair { margin-right: 8px; }
.tiers { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.exposure { padding: 14px 18px; margin-top: 14px; }
.exposure h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #ffffff; }
.exposure .note { margin: 0 0 8px; }
.hrow.exp { grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 56px; }

.slips-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.scen { margin-top: 22px; }
.scen-head { display: flex; align-items: center; gap: 10px; }
.scen-head h3 { margin: 0; font-size: 16px; }
.scen-sum { font-size: 13px; color: var(--muted); margin: 4px 0 12px; max-width: 900px; }
.conf { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin: 6px 0 2px; background: rgba(255,255,255,.06); color: var(--muted); }
.conf.high { background: var(--good-soft); color: var(--good); }
.conf.medium { background: var(--accent-soft); color: #ffffff; }
.conf.low { background: var(--warn-soft); color: var(--warn); }
.tier.c-high { border-color: rgba(63, 216, 70, 0.45); box-shadow: 0 0 22px rgba(63, 216, 70, 0.12); }
.tier-cwhy { font-size: 11.5px; color: var(--faint); margin: 2px 0 6px; font-style: italic; }
details.exposure { margin-top: 12px; }
details.exposure summary { list-style: none; cursor: pointer; }
details.exposure summary::-webkit-details-marker { display: none; }
details.exposure summary h4 { display: inline; margin-right: 8px; }

/* placed on DraftKings */
.dk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px;
  background: linear-gradient(135deg, #0f8a3a, #3dff7f); color: #04210f; border-color: rgba(63, 216, 70, 0.8);
  box-shadow: 0 0 18px rgba(63, 216, 70, 0.3); font-weight: 800; }
.dk-btn:hover { filter: brightness(1.08); box-shadow: 0 0 26px rgba(63, 216, 70, 0.5); border-color: var(--good); }
.dk-btn img { border-radius: 4px; background: #fff; padding: 1px; }
.confirm-actions .dk-btn { width: auto; margin-top: 0; }
.placed-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.placed-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--good);
  padding: 6px 10px; border-radius: 999px; background: var(--good-soft); border: 1px solid rgba(63, 216, 70, 0.4); }
.placed-tag img { border-radius: 3px; background: #fff; }
.linkish { font: inherit; font-size: 11px; color: var(--faint); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.linkish:hover { color: var(--text); }
.place-legs { margin: 6px 0 10px; }
.place-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.place-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.place-form input { font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.05); color: var(--text); outline: none; }
.place-form input:focus { border-color: var(--good); box-shadow: 0 0 12px rgba(63, 216, 70, 0.25); }
@media (max-width: 560px) { .place-form { grid-template-columns: 1fr; } }

/* placed state and the full-slip modal */
.dk-btn.placed, .dk-btn.placed:hover { background: #0b3d1e; color: #8ff5b4; border-color: rgba(63, 216, 70, 0.35);
  box-shadow: none; filter: none; cursor: default; opacity: 1; }
.clickable-slip { cursor: pointer; }
.clickable-slip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.modal-card.wide-ish { width: min(760px, 100%); }
.sm-scen { font-size: 12px; color: #ffffff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.sm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.sm-stats > div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.sm-stats b { font-size: 20px; margin-top: 2px; }
.sm-why-slip { font-size: 14px; color: #d6d4e0; margin: 8px 0 4px; }
.sm-legs { margin-top: 12px; }
.sm-leg { padding: 12px 0; border-top: 1px solid var(--line); }
.sm-leg.shot .sm-bar i { background: linear-gradient(90deg, var(--warn-deep), var(--warn)); }
.sm-top { display: flex; align-items: center; gap: 10px; }
.sm-n { width: 22px; height: 22px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.sm-name { flex: 1; font-weight: 700; font-size: 14.5px; }
.sm-name .tlogo { margin-right: 6px; vertical-align: -3px; }
.sm-pct { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.sm-pct b { font-size: 18px; color: var(--good); }
.sm-pct i { font-style: normal; font-size: 10.5px; color: var(--faint); }
.sm-bar { height: 6px; border-radius: 999px; background: var(--track); margin: 8px 0 6px 32px; overflow: hidden; }
.sm-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--good-deep), var(--good)); }
.sm-why { font-size: 13px; color: #d6d4e0; margin-left: 32px; }
.sm-meta { font-size: 11.5px; color: var(--faint); margin: 4px 0 0 32px; }
.sm-foot { margin-top: 14px; }
@media (max-width: 560px) { .sm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.boost-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .2px; vertical-align: 2px; white-space: nowrap;
  background: linear-gradient(135deg, #0f8a3a, #3dff7f); color: #04210f; box-shadow: 0 0 12px rgba(63, 216, 70, 0.45); }
.dk-btn.placed + .boost-badge { margin: 8px 0 0; }

/* DraftKings prices per leg */
.price-src { font-style: normal; font-size: 10.5px; color: var(--faint); margin-left: 4px; }
.dk-in { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.dk-in input { width: 46px; font: inherit; font-size: 12px; padding: 2px 6px; border-radius: 7px; border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.05); color: var(--text); text-align: right; outline: none; }
.dk-in input:focus { border-color: var(--good); }
.sm-dk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sm-dk .note { margin: 0; }
.place-legs li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.close-when { font-size: 11.5px; color: var(--faint); }

/* not taken, and upload */
details.hslip.untaken { opacity: .8; border-style: dashed; }
details.hslip.untaken .badge { background: rgba(255, 255, 255, 0.06); color: var(--muted); border-color: var(--line); }
details.hslip.untaken[data-result="won"] .badge { background: var(--good-soft); color: var(--good); border-color: rgba(63, 216, 70, 0.4); }
.faint { color: var(--faint); }
.upload-btn { width: auto; margin: 0 0 0 auto; padding: 7px 14px; }
.inbox-n { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #04210f; color: var(--good); font-size: 11px; align-items: center; justify-content: center; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed rgba(63, 216, 70, 0.4);
  border-radius: 16px; cursor: pointer; text-align: center; transition: all .2s; background: rgba(63, 216, 70, 0.03); }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--good); background: rgba(63, 216, 70, 0.08); outline: none; }
.drop img { border-radius: 8px; background: #fff; padding: 2px; }
.up-img { display: block; max-width: 100%; max-height: 320px; margin: 12px auto 0; border-radius: 12px; border: 1px solid var(--line); }
.up-note { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.up-note input { font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--glass-edge); background: rgba(255,255,255,.05); color: var(--text); }

/* Not taken */
.slip-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.slip-actions .dk-btn { margin-top: 0; }
.nt-btn { background: linear-gradient(135deg, #8f1d2a, #ff5c6c); color: #fff; border-color: rgba(255, 92, 108, 0.8);
  box-shadow: 0 0 14px rgba(255, 92, 108, 0.25); font-weight: 800; }
.nt-btn:hover { filter: brightness(1.08); border-color: var(--bad); box-shadow: 0 0 20px rgba(255, 92, 108, 0.45); }
.nt-btn.filed, .nt-btn.filed:hover { width: 100%; margin-top: 12px; background: #3a0d13; color: #ff9aa5; border-color: rgba(255, 92, 108, 0.35);
  box-shadow: none; filter: none; cursor: default; }
.confirm-actions .nt-btn { width: auto; }
/* an under that's still under its line: green while live (not counted as a hit until the game ends) */
.dleg.under-ok .dbar .fill { background: linear-gradient(90deg, rgba(63, 216, 70, 0.10), rgba(63, 216, 70, 0.6) 55%, var(--good)); box-shadow: 0 0 12px rgba(63, 216, 70, 0.3); }
.dleg.under-ok .dbar .pill { background: #062012; color: var(--good); border-color: var(--good); }

.sharp-tag { font-size: 10.5px; margin-top: 3px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--faint); white-space: nowrap; }
.sharp-tag.agrees { background: var(--good-soft); color: var(--good); }
.sharp-tag.disagrees { background: var(--bad-soft); color: var(--bad); }
/* number columns centred, with their headers, so neighbouring columns don't run together */
table.proj th.num, table.proj td.num { text-align: center; padding-left: 10px; padding-right: 10px; }
table.pk td:has(> .rk) { text-align: center; }

/* history calendar */
.cal { padding: 16px 18px; margin-bottom: 30px; }
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-head h2 { margin: 0; min-width: 170px; text-align: center; font-size: 18px; }
.cal-nav { width: 34px; height: 34px; padding: 0; font-size: 18px; line-height: 1; }
.cal-month-total { margin-left: auto; font-size: 13px; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-w { font-size: 11px; color: var(--faint); text-align: center; padding-bottom: 2px; text-transform: uppercase; letter-spacing: .8px; }
.cal-c { font: inherit; min-height: 76px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  color: var(--text); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 8px; text-align: left; cursor: pointer; transition: all .2s; }
.cal-c:disabled { cursor: default; color: var(--faint); background: transparent; }
.cal-c.blank { border: 0; background: transparent; }
.cal-c:not(:disabled):hover { border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 14px var(--accent-glow); }
.cal-c.today .cal-d { color: #ffffff; font-weight: 800; }
.cal-c.sel { border-color: var(--accent); box-shadow: 0 0 18px var(--accent-glow); }
.cal-c.up { background: var(--good-soft); border-color: rgba(63, 216, 70, 0.35); }
.cal-c.down { background: var(--bad-soft); border-color: rgba(255, 92, 108, 0.3); }
.cal-c.pend { background: var(--warn-soft); border-color: rgba(255, 210, 31, 0.3); }
.cal-d { font-size: 12px; color: var(--muted); }
.cal-net { font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cal-c.up .cal-net { color: var(--good); }
.cal-c.down .cal-net { color: var(--bad); }
.cal-c.pend .cal-net { color: var(--warn); font-weight: 700; font-size: 12px; }
.cal-n { font-size: 10.5px; color: var(--muted); }
.cal-day { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.cal-day-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.cal-day-head b { color: var(--text); }
.cal-slip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: center; padding: 9px 4px;
  border-top: 1px solid var(--line); color: inherit; text-decoration: none; font-size: 13.5px; }
.cal-slip:hover { background: rgba(255, 255, 255, 0.03); }
.cal-slip .sub { grid-column: 2; font-size: 12px; color: var(--faint); }
.cal-slip .badge { grid-row: 1; grid-column: 3; }
.cal-slip-pl { grid-row: 1; grid-column: 4; font-weight: 800; min-width: 70px; text-align: right; }
.cal-slip-name { font-weight: 700; }
@media (max-width: 560px) { .cal-c { min-height: 60px; padding: 5px; } .cal-net { font-size: 11px; } .cal-n { display: none; } }

/* Bad Beat */
.bad-beat { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 10px; border-radius: 999px; vertical-align: 2px;
  font-size: 11px; font-weight: 900; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap;
  background: #ff1f3d; color: #fff; box-shadow: 0 0 14px rgba(255, 31, 61, 0.65); }
.cal-slips { margin-top: 8px; }
.cal-slips details.hslip { margin-bottom: 8px; }

/* the @ between logos: bright white */
.tpair i, i.at { color: #ffffff; font-weight: 700; opacity: 1; }

/* scorebug on live bets */
.scorebug { display: inline-flex; align-items: stretch; height: 30px; border-radius: 8px; overflow: hidden; font-variant-numeric: tabular-nums;
  background: #0d0c12; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); }
.sb-team { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px 0 6px; background: linear-gradient(180deg, var(--tc), color-mix(in srgb, var(--tc) 70%, #000));
  border-right: 1px solid rgba(0, 0, 0, 0.5); position: relative; }
.sb-team::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ta); opacity: .85; }
.sb-team .tlogo { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.sb-abbr { font-size: 11px; font-weight: 800; letter-spacing: .4px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.sb-score { min-width: 22px; text-align: center; font-size: 15px; font-weight: 900; color: #fff; padding-left: 4px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.sb-ball { width: 7px; height: 5px; border-radius: 50%; background: #c9862f; box-shadow: 0 0 0 1px #fff; }
.sb-status { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #e9e6f5; background: #16151d; white-space: nowrap; }
.sb-status b { color: #fff; font-weight: 900; }
.sb-live { width: 7px; height: 7px; border-radius: 50%; background: #ff3b4f; box-shadow: 0 0 8px #ff3b4f; animation: sbpulse 1.6s ease-in-out infinite; }
@keyframes sbpulse { 50% { opacity: .35; } }
.slip-right { align-items: flex-end; }
@media (max-width: 560px) { .slip-right { flex-wrap: wrap; } .scorebug { height: 28px; } .sb-abbr { display: none; } }
/* who has the ball: a small football beside the team's abbreviation, and a soft glow on that side */
.sb-ball { width: 9px; height: 6px; border-radius: 50%; background: #a8652a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 6px rgba(255, 210, 120, 0.6); position: relative; }
.sb-ball::after { content: ""; position: absolute; left: 3px; right: 3px; top: 2.5px; height: 1px; background: #fff; opacity: .9; }
.sb-team:has(.sb-ball) { box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.18); }
/* status badge sits on the same row as the leg dots, to their left */
.slip-status { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
@media (max-width: 560px) { .slip-status { flex-wrap: wrap; } }
/* open bets grouped by game, scorebug centred on top */
.game-group { padding: 14px 14px 4px; margin-bottom: 22px; }
.gg-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 14px; }
.gg-head .scorebug { height: 36px; border-radius: 10px; }
.gg-head .sb-score { font-size: 18px; min-width: 26px; }
.gg-head .sb-abbr { font-size: 12.5px; }
.gg-head .sb-status { font-size: 12px; padding: 0 12px; }
.gg-sub { font-size: 12px; color: var(--muted); }
.gg-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.game-group .slip { margin-bottom: 10px; }
.game-group .slip:hover { transform: none; }
/* clock in the middle: away | status | home (home reads score-first, mirrored) */
.scorebug .sb-team:last-child { flex-direction: row-reverse; padding: 0 6px 0 8px; border-right: 0; border-left: 1px solid rgba(0, 0, 0, 0.5); }
.scorebug .sb-team:last-child .sb-score { padding-left: 0; padding-right: 4px; }
.sb-status { justify-content: center; min-width: 74px; }

/* live play feed under the scorebug */
.pfeed { width: min(640px, 100%); display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.pf-sit { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; color: #ffffff; text-transform: uppercase; }
.pf-play { display: grid; grid-template-columns: 62px 20px minmax(0, 1fr); gap: 8px; align-items: start; padding: 6px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pf-play.latest { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.pf-play.score { border-color: rgba(63, 216, 70, 0.45); background: var(--good-soft); color: var(--text); }
.pf-play.new { animation: pfnew 1.6s ease-out; }
@keyframes pfnew { 0% { box-shadow: 0 0 0 2px var(--accent), 0 0 22px var(--accent-glow); transform: translateY(-3px); } 100% { box-shadow: none; transform: none; } }
.pf-when { font-size: 11px; font-weight: 800; color: var(--faint); white-space: nowrap; padding-top: 1px; font-variant-numeric: tabular-nums; }
.pf-team .tlogo { margin-top: 1px; }
.pf-dd { font-style: normal; font-size: 11px; color: var(--faint); margin-right: 4px; }
.pl-hl { color: #ffffff; font-weight: 800; }
.pf-play:not(.latest) { opacity: .8; }
@media (max-width: 560px) { .pf-play { grid-template-columns: 52px 18px minmax(0, 1fr); padding: 5px 8px; } }

/* how each play moves our legs */
.pf-impact { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.imp { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px 2px 6px; border-radius: 999px; white-space: nowrap; }
.imp .jersey { width: 16px; height: 14px; margin-right: 1px; vertical-align: -3px; }
.imp .jersey b { font-size: 7.5px; padding-bottom: 2px; }
.imp i { font-style: normal; opacity: .75; }
.imp.up { background: var(--good-soft); color: var(--good); border: 1px solid rgba(63, 216, 70, 0.35); }
.imp.down { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(255, 92, 108, 0.35); }

/* progress vs completed vs busted */
.imp-prog { font-weight: 900; margin-left: 2px; opacity: .95; }
.imp.hit { background: var(--good); color: #04210f; border: 1px solid var(--good); box-shadow: 0 0 14px rgba(63, 216, 70, 0.55); font-weight: 900; }
.imp.bust { background: #ff1f3d; color: #fff; border: 1px solid #ff1f3d; box-shadow: 0 0 14px rgba(255, 31, 61, 0.55); font-weight: 900; }
.pf-play:has(.imp.hit) { border-color: rgba(63, 216, 70, 0.5); }
.pf-play:has(.imp.bust) { border-color: rgba(255, 31, 61, 0.5); }

/* past games on the Build tab */
details.day.past > summary .day-name { color: var(--muted); }
.final-score { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; vertical-align: 1px; white-space: nowrap; }
.final-score .won { color: #fff; font-weight: 900; }
.final-score i { font-style: normal; opacity: .6; }
.final-score em { font-style: normal; font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--faint); }
.past-rec b.pos { color: var(--good); }
.past-rec b.neg { color: var(--bad); }
.past-btns { display: flex; gap: 8px; align-items: center; }
.ghead-final { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.ghead-final .final-score { margin-left: 0; font-size: 14px; padding: 4px 12px; }

/* past games on the Reports tab */
.rep-logos { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.rep-title .final-score { font-size: 11.5px; }
#report-view .gsec .rep-actions { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 10px; }
#report-view .gsec .pdf-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }

/* post-game report, in the page */
.pg-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pg-head .d-head { margin: 0; }
.dossier.pg h4 { margin: 18px 0 8px; }
.md p { margin: 0 0 10px; }
.md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: 6px 0 10px; padding-left: 20px; }
.md li { margin: 4px 0; line-height: 1.55; }
.md a { color: #ffffff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 2px; }
.md code { font-size: 12px; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); }
.pg-method { margin-top: 14px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.verdict { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 900; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.verdict.right { background: var(--good-soft); color: var(--good); border: 1px solid rgba(63, 216, 70, 0.4); }
.verdict.partly { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(255, 210, 31, 0.4); }
.verdict.wrong { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(255, 92, 108, 0.4); }
.verdict.none { color: var(--faint); }
.pg-table { display: flex; flex-direction: column; gap: 8px; }
.pg-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 96px; gap: 14px; align-items: start;
  padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }
.pg-row.pg-hrow { background: none; border: 0; padding: 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--faint); }
.pg-topic { font-weight: 800; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pg-stat { flex-basis: 100%; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pg-cell.pre { color: #cfcbe0; }
.pg-cell.post { color: var(--text); padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, 0.1); }
.pg-cell p { margin: 0; }
.pg-lab { display: none; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.pg-num { font-size: 18px; font-weight: 900; margin-right: 4px; font-variant-numeric: tabular-nums; color: var(--text); }
.pg-note { margin-top: 5px; font-size: 12px; color: var(--muted); }
.pg-wait { color: var(--faint); font-style: italic; }
.pg-v { display: flex; justify-content: flex-end; }
.pg-scen { padding: 4px 9px; margin-bottom: 5px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid transparent; font-size: 12.5px; }
.pg-scen b { margin-right: 4px; }
.pg-scen.hit { border-color: rgba(63, 216, 70, 0.45); background: var(--good-soft); }
.pg-sub { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 10px; }
.pg-sub .sub { font-size: 12px; font-weight: 600; color: var(--muted); }
.pg-dive { padding: 4px 0 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pg-dive h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 16px; }
.pg-qn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 900; }
.pg-sum { font-weight: 700; color: #e9e6f5; margin-bottom: 8px; }
.pg-dive .md { font-size: 13.5px; color: #d6d4e0; }
.pg-call { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); font-size: 13.5px; }
@media (max-width: 760px) {
  .pg-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pg-row.pg-hrow { display: none; }
  .pg-topic { grid-column: 1 / -1; }
  .pg-lab { display: block; }
  .pg-v { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 480px) { .pg-row { grid-template-columns: minmax(0, 1fr); } .pg-cell.post { padding-left: 10px; } }

/* game titles: logo Away @ Home logo */
.gtitle { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.gtitle .gt-names { white-space: nowrap; }
.gtitle i.at { font-size: .8em; margin: 0 2px; }
.ghead-name .gtitle { gap: 14px; }
.hs-sep { margin: 0 8px; color: var(--faint); font-weight: 400; }
@media (max-width: 480px) { .gtitle .gt-names { white-space: normal; } }

/* slip helper */
.h-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.h-lab { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.h-controls select { background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; }
.h-scens { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.h-scen { font: inherit; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.h-scen.on { background: var(--accent-soft); color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.h-empty { padding: 18px; border-radius: 12px; border: 1px dashed var(--line); text-align: center; color: var(--muted); margin: 10px 0 4px; }
.h-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.h-m { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.h-m span { font-size: 12px; color: var(--muted); }
.h-m b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.h-m b.pos { color: var(--good); } .h-m b.neg { color: var(--bad); }
.h-m i { font-style: normal; font-size: 11.5px; color: var(--faint); }
.h-bars { display: flex; flex-direction: column; gap: 6px; }
.h-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 60px; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; }
.h-bar.on { border-color: rgba(255, 255, 255, 0.55); background: var(--accent-soft); }
.h-bn { display: flex; flex-direction: column; } .h-bn em { font-style: normal; font-size: 11.5px; color: var(--faint); }
.h-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.h-track i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.h-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.h-hints { display: flex; flex-direction: column; gap: 6px; }
.h-hint { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.h-hint.bad { border-color: rgba(255, 92, 108, 0.45); } .h-hint.warn { border-color: rgba(255, 210, 31, 0.3); } .h-hint.good { border-color: rgba(63, 216, 70, 0.3); }
.h-pill { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted); white-space: nowrap; }
.h-pill.bad { background: var(--bad-soft); color: var(--bad); } .h-pill.warn { background: var(--warn-soft); color: var(--warn); } .h-pill.good { background: var(--good-soft); color: var(--good); }
.h-legs, .h-cands { display: flex; flex-direction: column; gap: 5px; }
.h-leg, .h-cand { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 13px; }
.h-ln { display: flex; align-items: center; gap: 6px; min-width: 0; }
.h-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.h-fit, .h-tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.h-fit.up { background: var(--good-soft); color: var(--good); } .h-fit.down { background: var(--bad-soft); color: var(--bad); } .h-fit.dec { color: var(--faint); }
.h-tag.bad { background: var(--bad-soft); color: var(--bad); } .h-tag.warn { background: var(--warn-soft); color: var(--warn); }
.h-pct { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.2; }
.h-pct i { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--faint); }
.h-x { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.h-x:hover { color: var(--bad); border-color: rgba(255, 92, 108, 0.5); }
.h-add { padding: 4px 12px; font-size: 12px; }
.h-q { width: 100%; margin: 0 0 8px; background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 13px; }
.h-more { margin-top: 8px; }
.h-check { margin: 4px 0 2px; padding: 4px 12px; font-size: 12px; align-self: flex-start; }
#helper-box h4 { margin: 18px 0 8px; } #helper-box h4 .sub { font-weight: 500; font-size: 12px; color: var(--faint); margin-left: 6px; }
@media (max-width: 640px) {
  .h-leg, .h-cand { grid-template-columns: minmax(0, 1fr) 56px auto; }
  .h-tags { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .h-bar { grid-template-columns: minmax(0, 1fr) 54px; } .h-track { grid-column: 1 / -1; grid-row: 2; }
}
/* slip helper rows: name with its tags underneath, then chance and button */
.h-leg, .h-cand { grid-template-columns: minmax(0, 1fr) 64px auto; grid-template-areas: "name pct btn" "tags pct btn"; row-gap: 5px; }
.h-leg .h-ln, .h-cand .h-ln { grid-area: name; }
.h-leg .h-tags, .h-cand .h-tags { grid-area: tags; justify-content: flex-start; }
.h-leg .h-tags:empty, .h-cand .h-tags:empty { display: none; }
.h-leg .h-pct, .h-cand .h-pct { grid-area: pct; }
.h-leg .h-x, .h-cand .h-add { grid-area: btn; }
@media (max-width: 640px) { .h-leg, .h-cand { grid-template-columns: minmax(0, 1fr) 56px auto; } .h-tags { grid-column: auto; grid-row: auto; } }
@media (max-width: 640px) { .h-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-m b { font-size: 19px; } }

/* ---------- gloss finish (2026-11-10, toned down the same day: David found the shine hurt readability) ----------
   Top-lit sheen, a soft diagonal light streak, a bright top edge on every glass surface,
   and a capsule shine on buttons, tabs, chips, badges and tags. Colors and layout unchanged. */
:root {
  --gloss-edge: rgba(255, 255, 255, 0.12);
  --gloss-top: rgba(255, 255, 255, 0.16);
  --gloss-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.025) 50%, rgba(255, 255, 255, 0.04) 100%);
  --gloss-streak: none;
  --gloss-cap: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 70%);
  --gloss-shadow: inset 0 1px 0 var(--gloss-top), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 12px 34px rgba(0, 0, 0, 0.5);
}
.glass, .card, .slip, .panel, details.hslip, .lesson, .empty {
  background: var(--gloss-streak), var(--gloss-sheen);
  border-color: var(--gloss-edge);
  box-shadow: var(--gloss-shadow);
}
.top {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.10), 0 10px 30px rgba(0, 0, 0, 0.45);
}
.card:hover, .slip:hover, .panel:hover, details.hslip:hover, .lesson:hover, .tier:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 42px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 34px var(--accent-glow);
}
.tier.c-high { box-shadow: inset 0 1px 0 var(--gloss-top), 0 0 22px rgba(63, 216, 70, 0.14), 0 12px 34px rgba(0, 0, 0, 0.5); }
.modal-card { background: var(--gloss-streak), linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px var(--accent-glow); }

/* inner tiles and rows: a lighter version of the same sheen */
.h-m, .h-bar, .pg-row:not(.pg-hrow), .pg-method, .pg-scen, .h-controls select {
  background-image: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* buttons: capsule shine */
.btn, .modal-close, .chips button, .slipchip, .h-scen, nav a {
  background-image: var(--gloss-cap);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn:hover, .modal-close:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 16px var(--accent-glow); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 18px var(--accent-glow);
}
nav a.on, .chips button.on, .h-scen.on {
  background: var(--accent-soft);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* badges, tags, live pills: top-lit */
.badge, .tag, .dbar .pill { background-image: none; }
.badge, .tag { box-shadow: none; }
.badge.won { box-shadow: 0 0 14px rgba(63, 216, 70, 0.25); }
.dbar .pill { box-shadow: none; }
.dleg.hit .dbar .pill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 14px rgba(63, 216, 70, 0.45); }
.dbar .track { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.04)); }
.dbar .fill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
/* colored buttons keep their own fill, now with the capsule shine on top */
.dk-btn {
  background: linear-gradient(135deg, #0f8a3a, #3dff7f);
  box-shadow: 0 0 18px rgba(63, 216, 70, 0.3);
}
.dk-btn:hover { box-shadow: 0 0 26px rgba(63, 216, 70, 0.5); }
.nt-btn {
  background: linear-gradient(135deg, #8f1d2a, #ff5c6c);
  box-shadow: none;
}
.dk-btn.placed, .dk-btn.placed:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%), #0b3d1e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.nt-btn.filed, .nt-btn.filed:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%), #3a0d13; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15); }

/* ---------- projections vs actuals (Stats tab) ---------- */
.pva { padding: 18px 20px; margin-bottom: 18px; --mk: #8b8799; --ou: #ffffff; --ac: var(--good); }
.pva:hover { transform: none; }
.pva-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pva-top .sub { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.pva-tg { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pva-tg label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pva-tg input { accent-color: var(--accent); width: 15px; height: 15px; }
.pva-trio, .pva-slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pva-m, .pva-slips > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.pva-m span, .pva-slips span { font-size: 12.5px; color: var(--muted); }
.pva-m b { font-size: 28px; font-weight: 800; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.pva-slips b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pva-m i, .pva-slips i { font-style: normal; font-size: 11.5px; color: var(--faint); }
.pva-m.mk { border-top: 2px solid var(--mk); } .pva-m.ou { border-top: 2px solid var(--ou); } .pva-m.ac { border-top: 2px solid var(--ac); }
.pva-verdict { font-size: 13px; color: var(--muted); margin: 12px 0 4px; line-height: 1.5; }
.pva-verdict b { color: var(--text); }
.pva h4 { font-size: 13px; margin: 18px 0 8px; } .pva h4 .sub { font-weight: 500; color: var(--faint); margin-left: 6px; font-size: 12px; }
.pva-game { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.pva-gname { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 700; }
.pva-gname .sub { font-size: 11.5px; font-weight: 500; color: var(--faint); }
.pva-bars { display: flex; flex-direction: column; gap: 4px; }
.pva-bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 50px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); }
.pva-bar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-size: 12px; }
.pva-bar .bar { height: 7px; }
.pva-bar.mk i { background: var(--mk); } .pva-bar.ou i { background: var(--ou); }
.pva-bar.ac i { background: linear-gradient(90deg, var(--good-deep), var(--good)); box-shadow: 0 0 10px rgba(63, 216, 70, 0.35); }
.pva-defs { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
  display: grid; gap: 7px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pva-defs b { color: var(--text); margin-right: 6px; }
.pva-defs b.mk { color: var(--mk); } .pva-defs b.ou { color: var(--ou); } .pva-defs b.ac { color: var(--ac); }
@media (max-width: 640px) {
  .pva-trio, .pva-slips { grid-template-columns: 1fr 1fr; }
  .pva-trio .pva-m.ac { grid-column: 1 / -1; }
  .pva-m b { font-size: 24px; }
  .pva-game { grid-template-columns: 1fr; gap: 8px; }
}
.mkt .kx { font-style: normal; font-size: 9px; font-weight: 800; margin-left: 3px; padding: 0 4px; border-radius: 4px; color: #b9f5d2; background: rgba(63, 216, 70, 0.14); border: 1px solid rgba(63, 216, 70, 0.3); vertical-align: 1px; }

/* ---------- game page: three blocks (Pre-Game, Slips, Post-Game), each holding collapsible sections (2026-11-10) ---------- */
details.gblock { margin-bottom: 16px; padding: 0; }
details.gblock:hover { transform: none; }
details.gblock > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; user-select: none; }
details.gblock > summary::-webkit-details-marker { display: none; }
details.gblock > summary h2 { margin: 0; font-size: 21px; letter-spacing: -.2px; }
details.gblock > summary .sub { font-size: 12.5px; color: var(--muted); margin-left: auto; }
details.gblock > summary .chev { transition: transform .25s; }
details.gblock:not([open]) > summary .chev { transform: rotate(-90deg); }
details.gblock > summary:hover h2 { color: #ffffff; }
details.gblock[open] > summary { border-bottom: 1px solid var(--line); }
.gblock-body { padding: 6px 12px 10px; }
/* sections inside a block: flat rows divided by lines, not cards inside cards */
.gblock details.gsec, .gblock details.gsec.glass { margin: 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.gblock-body > details.gsec:first-child, .gblock-body > div:first-child > details.gsec { border-top: 0; }
.gblock details.gsec > summary, .gblock details.gsec.bare > summary { padding: 12px 8px; }
.gblock details.gsec > summary h2 { font-size: 15.5px; }
.gblock details.gsec > .gsec-body, .gblock details.gsec.glass > .gsec-body { padding: 0 8px 16px; }
.gblock details.gsec .chev { width: 18px; height: 18px; font-size: 9px; }
.tag.wait { background: rgba(255, 255, 255, 0.04); color: var(--muted); border: 1px dashed rgba(255, 255, 255, 0.22); margin-left: 0; }
.gblock .empty-d p { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  details.gblock > summary { padding: 14px 14px; }
  details.gblock > summary .sub { margin-left: 0; flex-basis: 100%; }
  .gblock-body { padding: 4px 6px 8px; }
}

/* ---------- Build tab skeleton (2026-11-11) ---------- */
.bld-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.bld-top select, .bld-shead select { background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; }
.bld-note { margin: 6px 0 14px; }
.bld-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 14px; align-items: start; }
.bld-right { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.bld-picks:hover, .bld-slip:hover, .bld-help:hover { transform: none; }
.bld-hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; border-radius: 18px; overflow: hidden; background: #08070d; border: 1px solid var(--line); margin-bottom: 12px; }
.bld-team { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 12px 18px; min-width: 0; }
.bld-team.away { background: linear-gradient(100deg, color-mix(in srgb, var(--tc) 85%, #000) 0%, color-mix(in srgb, var(--tc) 35%, #08070d) 45%, #08070d 100%); }
.bld-team.home { background: linear-gradient(260deg, color-mix(in srgb, var(--tc) 85%, #000) 0%, color-mix(in srgb, var(--tc) 35%, #08070d) 45%, #08070d 100%); }
.bld-team img { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); }
.bld-team b { font-size: 17px; text-align: center; }
.bld-kick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 18px; text-align: center; }
.bld-kick .lab { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.bld-kick b { font-size: 22px; color: var(--warn); font-variant-numeric: tabular-nums; }
.bld-kick .when { font-size: 12.5px; color: var(--muted); }
.bld-others { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.bld-others button { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) { .bld-team img { width: 44px; height: 44px; } .bld-team b { font-size: 14px; } .bld-kick b { font-size: 18px; } .bld-kick { padding: 10px 8px; } }
.bld-scripts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.bld-sc button.on { background: var(--good-soft); color: var(--good); border-color: rgba(63, 216, 70, 0.5); }
.bld-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: -4px 0 10px; scrollbar-width: none; }
.bld-tabs button { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; padding: 10px 9px; background: none; border: none; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bld-tabs button:hover { color: var(--text); }
.bld-tabs button.on { color: var(--text); border-bottom-color: var(--good); }
.bld-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.bld-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bld-legend i.fit, .bld-legend i.fight { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--good); }
.bld-legend i.fight { border-color: var(--bad); }
.bld-legend .h-q { margin: 0 0 0 auto; width: 170px; padding: 6px 10px; font-size: 12.5px; }
i.star { font-style: normal; color: var(--warn); font-size: 10px; margin-left: 3px; }
.bld-gh { margin: 16px 0 4px; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .3px; }
.bld-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 22px repeat(3, minmax(64px, 92px)) 22px; gap: 5px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.bld-row2.in .nm { color: #ffffff; }
.bld-who { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bld-who .h-ln { font-size: 13.5px; font-weight: 700; }
.bld-who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bld-who .sb { font-size: 11.5px; color: var(--faint); padding-left: 2px; }
.bld-ar { width: 22px; height: 44px; border: none; background: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 6px; padding: 0; }
.bld-ar:hover:not(:disabled) { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.bld-ar:disabled { opacity: .2; cursor: default; }
.bld-cell { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.25; padding: 5px 2px; border-radius: 9px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; }
.bld-cell .l { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.bld-cell b { font-size: 15px; font-variant-numeric: tabular-nums; }
.bld-cell .s { font-size: 10.5px; color: var(--faint); min-height: 13px; white-space: nowrap; }
.bld-cell.fit { border-color: rgba(63, 216, 70, 0.55); } .bld-cell.fit b { color: var(--good); }
.bld-cell.fight { border-color: rgba(255, 92, 108, 0.55); } .bld-cell.fight b { color: var(--bad); }
.bld-cell:hover { background: rgba(255, 255, 255, 0.08); }
.bld-cell:focus-visible, .bld-ar:focus-visible, .bld-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.bld-cell.on { background: #fff; border-color: #fff; }
.bld-cell.on .l, .bld-cell.on .s { color: #444; } .bld-cell.on b { color: #0a0a0a; }
.bld-cell.on.fit { box-shadow: 0 0 0 2px var(--good); } .bld-cell.on.fight { box-shadow: 0 0 0 2px var(--bad); }
.bld-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--good); color: #062012; font-size: 12.5px; font-weight: 800; margin-left: 6px; }
.bld-shead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bld-shead h3, .bld-help h3 { margin: 0; font-size: 16px; }
.bld-help h4 { margin: 14px 0 8px; font-size: 13px; color: var(--muted); }
.bld-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bld-best { font-size: 16px !important; }
.bld-aim { font-size: 13px; margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; }
.bld-aim.good { background: var(--good-soft); color: var(--good); } .bld-aim.warn { background: var(--warn-soft); color: var(--warn); }
.bld-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.bld-actions .bld-place { width: auto; margin: 0 0 0 auto; padding: 8px 16px; }
@media (max-width: 1000px) { .bld-cols { grid-template-columns: 1fr; } .bld-right { position: static; max-height: none; overflow: visible; } }
  color: #ffffff; background: var(--accent-soft); border: 1px solid rgba(255, 255, 255, 0.5); }
@media (max-width: 640px) { .bld-grid { grid-template-columns: 1fr; } .bld-step { min-height: 0; } }

/* ---------- scouting report progress (2026-11-11) ---------- */
.prog-box { padding: 16px 20px; margin-bottom: 16px; border-color: rgba(255, 255, 255, 0.45); }
.prog-box:hover { transform: none; }
.prog-box.failed { border-color: rgba(255, 92, 108, 0.5); }
.prog-box.stale { border-color: rgba(255, 210, 31, 0.45); }
.prog-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.prog-head .sub { font-size: 12px; color: var(--faint); font-weight: 500; }
.prog-n { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.prog-bar { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; margin: 12px 0 8px; }
.prog-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 12px var(--accent-glow); transition: width .6s cubic-bezier(.2, .8, .2, 1); position: relative; overflow: hidden; }
.prog-box:not(.failed):not(.stale) .prog-bar i::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: prog-sweep 1.6s linear infinite; }
@keyframes prog-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.prog-now { font-size: 13px; color: var(--text); }
.prog-now .sub { color: var(--muted); }
.prog-steps { margin: 10px 0 0; padding-left: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 20px; font-size: 12px; color: var(--faint); }
.prog-steps li.done { color: var(--muted); }
.prog-steps li.done::marker { color: var(--good); }
.prog-steps li.now { color: #ffffff; font-weight: 700; }
.spin { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: var(--accent);
  animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tag.prog { display: inline-flex; align-items: center; gap: 6px; }
.tag.prog .spin { width: 10px; height: 10px; border-width: 1.5px; }
.tag.prog.stale .spin { animation: none; border-top-color: var(--warn); }
@media (max-width: 640px) { .prog-steps { grid-template-columns: 1fr; } }

/* ---------- key points and traps (2026-11-11) ---------- */
.kp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.kp { border-left: 4px solid var(--kc); background: rgba(255, 255, 255, 0.035); border-radius: 0 10px 10px 0; padding: 8px 12px; }
.kp b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.kp span { font-size: 12.5px; color: var(--muted); }
.d-story mark { background: rgba(255, 210, 31, 0.22); color: #fff3c4; padding: 0 3px; border-radius: 3px; }
.trap { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 92, 108, 0.3); background: rgba(255, 92, 108, 0.05); margin-bottom: 8px; }
.trap.auto { border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.trap-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.trap-top b { font-size: 14px; }
.trap-why { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.trap-why span { color: var(--text); }
.trap-why .sub { color: var(--muted); }
@media (max-width: 640px) { .kp-grid { grid-template-columns: 1fr; } }

/* ---------- Auto / Manual slip badges (2026-11-11) ---------- */
.kind-badge { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.kind-badge.auto { color: #ffffff; background: var(--accent-soft); border: 1px solid rgba(255, 255, 255, 0.45); }
.kind-badge.manual { color: #9fd3ff; background: rgba(80, 160, 255, 0.14); border: 1px solid rgba(80, 160, 255, 0.45); }
.manual-list details.hslip { margin-bottom: 10px; }
