:root {
    --ground: #0B0C0E;
    --surface: #111317;
    --surface-2: #16191F;
    --rule: #22262E;
    --ink: #EAECEF;
    --body: #B3BAC6;
    --muted: #7B8596;
    --amber: #C9A96E;
    --green: #34D399;
    --red: #E06C75;
    --base: 16px;
  }
  ::selection { background: color-mix(in srgb, var(--amber) 32%, transparent); color: var(--ink); }
  input, textarea { caret-color: var(--amber); }
  html.light {
    --ground: #F6F5F1;
    --surface: #FFFFFF;
    --surface-2: #EFECE5;
    --rule: #E2DFD7;
    --ink: #121417;
    --body: #434A54;
    --muted: #757D8A;
    --amber: #9A6B2F;
    --green: #0F766E;
    --red: #B42318;
  }
  html.large-text { --base: 20px; }
  html { font-size: var(--base); font-family: 'Inter', system-ui, -apple-system, sans-serif; overflow-y: auto; -webkit-text-size-adjust: 100%; }
  body { background: var(--ground); color: var(--ink); line-height: 1.45; letter-spacing: -0.005em; overflow-x: hidden; overflow-x: clip; overflow-y: auto; }
  button, a.btn, input, select { touch-action: manipulation; }
  .disp { font-family: 'Inter', system-ui, sans-serif; letter-spacing: -0.02em; font-weight: 600; }
  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
  .board { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; }
  .sub { background: var(--surface-2); border: 1px solid var(--rule); border-radius: 4px; }
  .c-body { color: var(--body); }
  .c-muted { color: var(--muted); }
  .nav-link { color: var(--muted); border-bottom: 2px solid transparent; padding: 11px 2px; font-weight: 500; white-space: nowrap; transition: color 0.12s; }
  .nav-link:hover { color: var(--ink); }
  .nav-active { color: var(--ink) !important; border-bottom-color: var(--ink) !important; font-weight: 600; }
  .hdr-btn { padding: 4px 9px; font-size: 0.74rem; line-height: 1.25; white-space: nowrap; }
  .btn { border: 1px solid var(--rule); background: transparent; color: var(--body); border-radius: 4px; font-weight: 500; cursor: pointer; transition: background 0.12s, color 0.12s, border-color 0.12s; }
  .btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--muted); }
  .btn-amber { background: var(--ink); color: var(--ground); border: 1px solid var(--ink); border-radius: 4px; font-weight: 600; cursor: pointer; transition: opacity 0.12s; }
  .btn-amber:hover { opacity: 0.9; }
  html.light .btn-amber { background: var(--ink); color: #FFFFFF; }
  button:focus-visible, input:focus-visible, select:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
  input.sub:focus, input.board:focus, select.sub:focus { border-color: var(--muted); }
  input::placeholder { color: var(--muted); opacity: 0.75; }
  /* Line Movement module */
  .mk-pill { background: var(--surface-2); border: 1px solid var(--rule); border-radius: 4px; padding: 8px 12px; text-align: left; cursor: pointer; min-width: 0; color: var(--ink); transition: border-color 0.12s; }
  .mk-pill:hover { border-color: var(--muted); }
  .mk-pill[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
  .delta-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-weight: 600; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); }
  #lmChartWrap { position: relative; height: 340px; }
  html.large-text #lmChartWrap { height: 400px; }
  #lmChart, #lmCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  #lmTip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 6px 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); white-space: nowrap; }
  /* Live Action Strip (monochrome editorial ticker) */
  .act-pill { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: 4px; font-weight: 500; font-size: 0.82rem; cursor: pointer; white-space: nowrap; max-width: 100%; transition: background 0.12s, border-color 0.12s; }
  .act-pill .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.72em; letter-spacing: 0.05em; font-weight: 600; }
  .act-green { background: color-mix(in srgb, var(--green) 10%, transparent); border: 1px solid color-mix(in srgb, var(--green) 32%, transparent); color: var(--green); }
  .act-green:hover { background: color-mix(in srgb, var(--green) 18%, transparent); }
  .act-amber { background: color-mix(in srgb, var(--amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 32%, transparent); color: var(--amber); }
  .act-amber:hover { background: color-mix(in srgb, var(--amber) 18%, transparent); }
  /* Live Action Strip scrollbar: thin Matte Ink, never the bright default Windows bar */
  .strip-scroll { scrollbar-width: thin; scrollbar-color: #22262E #0B0C0E; -webkit-overflow-scrolling: touch; }
  .strip-scroll::-webkit-scrollbar { height: 4px; }
  .strip-scroll::-webkit-scrollbar-track { background: #0B0C0E; }
  .strip-scroll::-webkit-scrollbar-thumb { background: #22262E; border-radius: 2px; }
  .strip-scroll::-webkit-scrollbar-thumb:hover { background: #2E333D; }
  .strip-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .strip-scroll::-webkit-scrollbar-corner { background: #0B0C0E; }
  /* Sprint 9/20: Cross-Market dense table (shares .live-tbl; tight padding for zero horizontal overflow) */
  .x-tbl thead th { padding: 8px 8px; }
  .x-tbl td { vertical-align: top; padding: 8px 8px; }
  .x-tbl .x2 > div { line-height: 1.4rem; white-space: nowrap; }
  .x-tbl .x-team { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 500; }
  .x-tbl .call-s { max-width: 28ch; }
  .x-tbl td.x-cons { color: var(--ink); font-weight: 600; }
  .x-tbl td.x-out { color: var(--amber); }
  .x-tbl .x-meta { font-size: 0.72rem; color: var(--muted); margin-top: 3px; white-space: nowrap; }
  .x-tbl .book-pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; margin-bottom: 3px; border-radius: 3px; font-size: 0.68rem; font-weight: 600; white-space: nowrap; cursor: pointer; background: var(--surface-2); color: var(--body); border: 1px solid var(--rule); transition: border-color 0.12s, color 0.12s; }
  .x-tbl .book-pill:hover, .x-tbl .book-pill[aria-expanded="true"] { border-color: var(--amber); color: var(--ink); }
  .x-tbl .book-pill-muted { cursor: default; color: var(--muted); opacity: 0.75; }
  .x-tbl .book-pill-muted:hover { border-color: var(--rule); color: var(--muted); }
  .live-tbl tr.g-row.acc-watch td:first-child { box-shadow: inset 2px 0 0 var(--amber); }
  .live-tbl tr.g-row.flash-target td { background: color-mix(in srgb, var(--ink) 6%, transparent); }
  /* Sprint 15: subtle clickable Sharp Split / Line Gap pills + inline detail drawer */
  .x-pill { display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 8px; border-radius: 3px; font-size: 0.76rem; font-weight: 500; white-space: nowrap; cursor: pointer; background: transparent; color: var(--amber); border: 1px solid var(--rule); transition: border-color 0.12s, color 0.12s; }
  .x-pill:hover { border-color: var(--muted); color: var(--ink); }
  .x-pill[aria-expanded="true"] { border-color: var(--amber); color: var(--ink); background: var(--surface-2); }
  .x-pill .mono { color: var(--body); font-size: 0.95em; }
  .live-tbl tr.cross-detail-row > td { border-top: 0; padding: 2px 12px 12px; background: var(--surface-2); }
  .xd-box { border-left: 2px solid var(--amber); padding: 6px 12px; color: var(--body); }
  .xd-h { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); margin-right: 6px; }
  .vol-tag b { color: var(--ink); font-weight: 600; }
  .book-names { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
  .flash-target { outline: 2px solid var(--ink); outline-offset: 2px; transition: outline-color 0.4s; }
  @keyframes runFlash { 0% { box-shadow: 0 0 0 2px var(--amber); background-color: rgba(245,158,11,0.10); } 100% { box-shadow: 0 0 0 0 transparent; background-color: transparent; } }
  .run-flash { animation: runFlash 0.7s ease-out; }
  .run-stamp { font-size: 0.68rem; color: var(--muted); margin-top: 6px; letter-spacing: 0.02em; }
  /* Live Box-Score Audit drawer */
  .audit-btn { white-space: nowrap; }
  .audit-btn[aria-expanded="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
  .box-tbl { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; font-size: 0.85rem; }
  .box-tbl th { font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-align: right; padding: 6px 10px; white-space: nowrap; }
  .box-tbl td { text-align: right; padding: 6px 10px; border-top: 1px solid var(--rule); color: var(--body); white-space: nowrap; }
  .box-tbl th:first-child, .box-tbl td:first-child { text-align: left; }
  .box-tbl td.tm { font-family: 'Inter', sans-serif; font-weight: 500; color: var(--ink); }
  .box-tbl .pct { color: var(--muted); font-size: 0.85em; margin-left: 4px; }
  .bonus-pill { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 3px; font-size: 0.68rem; font-weight: 600; border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); color: var(--amber); vertical-align: 1px; }
  .bonus-pill.hot { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); }
  .audit-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 0.48em; }
  .anchor-tag { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 8px; border-radius: 3px; border: 1px solid var(--rule); background: var(--surface); }
  #soundBtn[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
  /* Sprint 5: institutional Live Board table (one table, one row per game) */
  .live-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
  .live-tbl thead th { background: var(--surface-2); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); text-align: left; padding: 8px 9px; white-space: nowrap; border-bottom: 1px solid var(--rule); }
  .live-tbl thead th.text-right { text-align: right; }
  .live-tbl td { padding: 8px 9px; border-top: 1px solid var(--rule); vertical-align: middle; color: var(--body); }
  .live-tbl tbody tr.g-row:first-child td { border-top: 0; }
  .live-tbl tr.g-row:hover td { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
  .live-tbl tr.g-row.acc-yes td:first-child { box-shadow: inset 2px 0 0 var(--green); }
  .live-tbl tr.g-row.acc-block td:first-child { box-shadow: inset 2px 0 0 var(--red); }
  .live-tbl tr.g-pre td { color: var(--muted); padding-top: 6px; padding-bottom: 6px; font-size: 0.85rem; }
  .live-tbl tr.audit-row > td { border-top: 0; padding: 4px 12px 14px; background: var(--surface-2); }
  .live-tbl .num { font-family: 'JetBrains Mono', monospace; text-align: right; white-space: nowrap; }
  .live-tbl .call-h { font-weight: 700; white-space: nowrap; }
  .live-tbl .call-s { font-size: 0.75rem; color: var(--muted); margin-top: 1px; max-width: 28ch; }
  .live-tbl .line-in { width: 4.5rem; padding: 4px 6px; font-size: 0.85rem; }
  /* Live Board 8-column fit at 1280px desktop viewport (zero horizontal overflow / Ask Gemini clipping) */
  #liveBoardList .live-tbl thead th, #liveBoardList .live-tbl td { padding: 7px 6px; }
  #liveBoardList .live-tbl .tm-matchup { gap: 4px; font-size: 0.84rem; }
  #liveBoardList .live-tbl .tm-unit { gap: 4px; }
  #liveBoardList .live-tbl .call-h { font-size: 0.82rem; }
  #liveBoardList .live-tbl .call-s { font-size: 0.72rem; max-width: 21ch; }
  #liveBoardList .live-tbl .line-in { width: 4.9rem; padding: 3px 6px; font-size: 0.8rem; }
  #liveBoardList .live-tbl .btn, #liveBoardList .live-tbl .btn-amber { padding: 3px 6px; font-size: 0.72rem; }
  #liveBoardList .live-tbl .ask-btn { min-width: 5.2rem; }
  #liveBoardList .live-tbl .audit-btn { padding: 3px 7px; }

/* Sprint 10B-10D: Card & Positions badges and exposure gauges */
.tkt-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 600; border: 1px solid var(--rule); background: var(--surface-2); color: var(--muted); }
.tkt-badge.green { border-color: color-mix(in srgb, var(--green) 40%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); }
.tkt-badge.red { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); }
.tkt-badge.amber { border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); color: var(--amber); }
.exp-bar { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--rule); }
.exp-fill { height: 100%; transition: width 0.25s ease; }

/* Sprint 11: clickable guardrail explanations */
.exp-meta-btn { background: transparent; border: 1px solid transparent; border-radius: 3px; padding: 1px 6px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; transition: border-color 0.12s, color 0.12s; }
.exp-meta-btn:hover, .exp-meta-btn[aria-expanded="true"] { border-color: var(--rule); color: var(--ink) !important; }
.exp-card { display: block; width: 100%; text-align: left; cursor: pointer; transition: border-color 0.12s; }
.exp-card:hover { border-color: var(--muted); }
.exp-card[aria-expanded="true"] { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.exp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 500; cursor: pointer; border: 1px solid color-mix(in srgb, var(--amber) 32%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); color: var(--amber); transition: background 0.12s, border-color 0.12s; }
.exp-pill:hover { background: color-mix(in srgb, var(--amber) 18%, transparent); }
.exp-pill[aria-expanded="true"] { border-color: var(--amber); }
.exp-pill .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.7em; letter-spacing: 0.05em; font-weight: 600; }
.exp-explain { border-left: 3px solid var(--amber); }
.exp-explain.ok { border-left-color: var(--green); }
.exp-explain .exp-tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.85rem; }
.exp-explain .exp-tbl th { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-align: left; padding: 4px 8px; }
.exp-explain .exp-tbl td { padding: 5px 8px; border-top: 1px solid var(--rule); color: var(--body); }
.exp-explain .exp-tbl td.num { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* Sprint 12: "My Open Bets" strip above the Live Board (units-only) */
#livePositionsStrip .pos-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
#livePositionsStrip.collapsed .pos-head { margin-bottom: 0; }
#livePositionsStrip.collapsed .pos-row, #livePositionsStrip.collapsed .pos-slips, #livePositionsStrip.collapsed .pos-summary { display: none; }
.pos-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 8px 12px; margin-bottom: 8px; border: 1px solid var(--rule); border-left: 3px solid var(--green); border-radius: 6px; background: color-mix(in srgb, var(--surface) 78%, var(--bg)); }
.pos-summary.neg { border-left-color: var(--red); }
.pos-summary-main { display: flex; flex-direction: column; gap: 2px; }
.pos-summary-today { font-size: 0.92rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.pos-summary-proj { font-size: 0.78rem; font-weight: 700; line-height: 1.25; }
.pos-summary-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pos-cat-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--rule); border-radius: 4px; background: color-mix(in srgb, var(--ink) 3%, transparent); font-size: 0.71rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
#livePositionsStrip .pos-title { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
#livePositionsStrip .pos-count { font-size: 0.72rem; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
#livePositionsStrip .pos-toggle { margin-left: auto; padding: 1px 8px; border: 1px solid var(--rule); border-radius: 3px; background: transparent; color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; cursor: pointer; }
#livePositionsStrip .pos-toggle:hover, #livePositionsStrip .pos-toggle:focus-visible { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, var(--rule)); outline: none; }
#livePositionsStrip .pos-slips { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; }
@media (min-width: 720px) { #livePositionsStrip .pos-slips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { #livePositionsStrip .pos-slips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pos-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bet-slip { display: flex; flex-direction: column; border: 1px solid var(--rule); border-left: 3px solid var(--rule); border-radius: 6px; background: color-mix(in srgb, var(--surface) 72%, var(--bg)); overflow: hidden; }
.bet-slip.live { border-left-color: var(--amber); }
.bet-slip.cashed { border-left-color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, var(--rule)); }
.bet-slip.dead { border-left-color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, var(--rule)); opacity: 0.68; }
.bet-slip-hdr { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--ink) 3%, transparent); font-size: 0.70rem; }
.bet-slip-type { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.bet-slip-venue { color: var(--muted); font-weight: 500; margin-left: 5px; }
.bet-slip-meta { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bet-slip-legs { display: flex; flex-direction: column; }
.bet-slip-leg { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 4px 8px; background: transparent; border: 0; border-bottom: 1px dashed color-mix(in srgb, var(--rule) 65%, transparent); color: var(--body); text-align: left; font-size: 0.78rem; cursor: pointer; transition: background-color .12s; }
.bet-slip-leg:last-child { border-bottom: 0; }
.bet-slip-leg:hover, .bet-slip-leg:focus-visible { background: color-mix(in srgb, var(--ink) 5%, transparent); outline: none; }
.bet-slip-leg-left { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bet-slip-logos { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.bet-slip-leg-main { display: flex; flex-direction: column; min-width: 0; }
.bet-slip-leg-pick { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-slip-leg-sub { font-size: 0.70rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-slip-leg-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 1px; }
.bet-slip-leg-st { font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.bet-slip-leg-prob { font-size: 0.66rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bet-slip-prob-wrap { padding: 5px 10px 6px; border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); background: color-mix(in srgb, var(--ink) 2%, transparent); }
.bet-slip-prob-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.69rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.bet-slip-bar { height: 4px; width: 100%; border-radius: 99px; background: color-mix(in srgb, var(--rule) 80%, transparent); overflow: hidden; }
.bet-slip-bar-fill { height: 100%; border-radius: 99px; transition: width .35s ease; }
#livePositionsStrip .pos-row { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 2px; }
#livePositionsStrip .pos-row.settled-row { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); }
#livePositionsStrip .pos-row.settled-row.hidden { display: none; }
.pos-pill { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--body); font-size: 0.82rem; line-height: 1.35; text-align: left; white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pos-pill:hover, .pos-pill:focus-visible { border-color: color-mix(in srgb, var(--ink) 30%, var(--rule)); background: color-mix(in srgb, var(--ink) 4%, transparent); outline: none; }
.pos-pill.live { box-shadow: inset 2px 0 0 var(--amber); }
.pos-pill.cashed { box-shadow: inset 2px 0 0 var(--green); border-color: color-mix(in srgb, var(--green) 35%, var(--rule)); }
.pos-pill.dead { box-shadow: inset 2px 0 0 var(--red); opacity: 0.62; border-color: color-mix(in srgb, var(--red) 35%, var(--rule)); }
.pos-pill.dead .pos-tkt { text-decoration: line-through; color: var(--muted); }
.pos-game { color: var(--ink); font-weight: 500; }
.pos-sep { color: var(--muted); }
.pos-tkt { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pos-pace { white-space: nowrap; }
.pos-pace b { font-weight: 600; }
.pos-detail { font-variant-numeric: tabular-nums; }

/* Sprint 13: Model Auto-Bot pill (Live Board toolbar) + panel (Card & Positions). Units-only. */
.c-ink { color: var(--ink); }
.bot-pill { border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--body); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s; }
.bot-pill:hover, .bot-pill:focus-visible { border-color: color-mix(in srgb, var(--ink) 30%, var(--rule)); background: color-mix(in srgb, var(--ink) 4%, transparent); outline: none; }
.bot-pill.bot-pill-static, .bot-pill:disabled { cursor: help; }
#paperBotMeta { font-variant-numeric: tabular-nums; }
.bot-sport { border: 1px solid var(--rule); border-radius: 4px; font-variant-numeric: tabular-nums; }
.bot-sport .bot-sp { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bot-tbl td { font-variant-numeric: tabular-nums; }
.bot-tbl tbody tr:first-child td { border-top: 0; }

/* Sprint 29: LineEater Hourly Breakdown (CST, units-only) inside Full Bot Panel */
.hourly-wrap { border: 1px solid var(--rule); border-radius: 4px; background: var(--surface-2); padding: 10px 12px; }
.hourly-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.hourly-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hourly-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.hourly-split-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 7px 10px; font-variant-numeric: tabular-nums; }
.hourly-tbl-wrap { max-height: 230px; overflow-y: auto; overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); }
.hourly-tbl thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); padding: 6px 8px; font-size: 0.65rem; }
.hourly-tbl td { padding: 5px 8px; font-size: 0.78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 767px) {
  .hourly-wrap { padding: 8px 10px; }
  .hourly-split { grid-template-columns: 1fr; gap: 6px; }
  .hourly-split-card { padding: 6px 8px; }
  .hourly-tbl thead th, .hourly-tbl td { padding: 5px 6px; font-size: 0.72rem; }
}

/* Sprint 19: Thin-Market Snipes, Flat-Unit Sizing Guardrail (>2.0u), and Whale Signal tags */
.thin-toggle { border: 1px solid var(--rule); border-radius: 4px; background: var(--surface-2); transition: border-color 0.12s, color 0.12s, background-color 0.12s; }
.thin-toggle:hover { border-color: var(--muted); color: var(--ink); }
.thin-toggle:has(input:checked) { border-color: color-mix(in srgb, var(--amber) 55%, var(--rule)); color: var(--amber); background: color-mix(in srgb, var(--amber) 8%, var(--surface-2)); }
.thin-snipe-pill { display: inline-block; padding: 1px 6px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--amber); white-space: nowrap; }
#kalshiBody tr.thin-row td:first-child { box-shadow: inset 2px 0 0 var(--amber); }
.cap-warn-pill { display: inline-block; padding: 1px 6px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); white-space: nowrap; }
.cap-warn-sub { font-size: 0.66rem; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.cap-input-warn { border-color: color-mix(in srgb, var(--red) 60%, var(--rule)) !important; color: var(--red); }
.live-tbl tr.cap-over td:first-child { box-shadow: inset 2px 0 0 var(--red); }
.whale-tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; border: 1px solid color-mix(in srgb, var(--amber) 38%, var(--rule)); background: color-mix(in srgb, var(--amber) 9%, transparent); color: var(--amber); white-space: nowrap; }

/* Sprint 20/25B: Official ESPN transparent team logos with light badge backdrop + uniform 2-line Live Board matchups */
.tm-logo { width: 22px; height: 22px; padding: 2px; border-radius: 5px; background: rgba(255,255,255,0.92); object-fit: contain; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.tm-matchup { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
#liveBoardList .live-tbl .tm-matchup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 0.84rem; }
#liveBoardList .live-tbl .tm-matchup > .c-muted { display: none; }
.tm-unit { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bot-pill, .act-pill, .nav-link, #botBenchmark { cursor: pointer; user-select: none; }
#actionPills .act-pill .tag { display: inline-flex; align-items: center; line-height: 1; }
.live-tbl.x-tbl thead th { padding: 7px 6px; letter-spacing: 0.04em; }
.live-tbl.x-tbl td { padding: 7px 6px; }
.live-tbl.x-tbl .x-team { max-width: 20ch; }
.live-tbl.x-tbl .call-s { max-width: 26ch; }
.live-tbl.x-tbl .x-pill { padding: 1px 6px; font-size: 0.72rem; }

/* Sprint 21B: Pro-terminal keyboard hint footer (Matte Ink, muted, zero chrome) */
.kbd-hint { max-width: 1600px; margin: 0 auto; padding: 10px 20px 14px; background: var(--ground); border-top: 1px solid var(--rule); color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.04em; text-align: center; user-select: none; }
.kbd-hint kbd { display: inline-block; min-width: 1.4em; padding: 0 5px; margin: 0 2px; border: 1px solid var(--rule); border-radius: 3px; background: var(--surface); color: var(--body); font-family: inherit; font-size: inherit; line-height: 1.5; text-align: center; }

/* Sprint 22: Header health dot (7px; green = ok + sheets synced, amber = attention) with clean hover/focus tooltip */
.health-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; cursor: help; outline: none; transition: background-color .2s; }
.health-dot.ok { background: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 16%, transparent); }
.health-dot.warn { background: var(--amber); box-shadow: 0 0 0 2px color-mix(in srgb, var(--amber) 16%, transparent); }
.health-dot:focus-visible { box-shadow: 0 0 0 2px var(--muted); }
.health-dot::after { content: attr(data-tip); position: absolute; left: -8px; top: calc(100% + 9px); z-index: 60; padding: 5px 9px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); color: var(--body); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .12s; }
.health-dot:hover::after, .health-dot:focus-visible::after { opacity: 1; }

/* Sprint 22: LineEater Tear Sheet drawer (toggled by #botBenchmark) */
.bot-pill[aria-expanded="true"] { border-color: color-mix(in srgb, var(--ink) 40%, var(--rule)); background: var(--surface-2); }
.bot-drawer .bot-drawer-h { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bot-drawer .live-tbl td, .bot-drawer .live-tbl thead th { padding: 6px 10px; }
.bot-drawer .bot-tbl tfoot td { border-top: 1px solid var(--muted); color: var(--ink); font-weight: 600; }
.bot-drawer .bot-sp-tag { display: inline-block; min-width: 2.6em; margin-right: 6px; }

/* Sprint 22: 1-click Ask Gemini brief button (fixed width so the 1.5s "Copied" flash never shifts the row) */
.ask-btn { min-width: 6.4rem; text-align: center; white-space: nowrap; }
.ask-btn.copied { border-color: color-mix(in srgb, var(--green) 45%, transparent); color: var(--green); background: color-mix(in srgb, var(--green) 8%, transparent); }
.ask-btn.copy-fail { border-color: color-mix(in srgb, var(--red) 45%, transparent); color: var(--red); }

/* Sprint 23B: crisp inline SVG brand marks (currentColor, 13px) on Kalshi / Novig / Poly / Ask Gemini */
.brand-lbl { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; vertical-align: middle; }
.brand-ico { width: 13px; height: 13px; flex-shrink: 0; display: block; opacity: 0.85; }
.large-text .brand-ico { width: 14px; height: 14px; }
.ask-btn .brand-lbl { justify-content: center; }
.x-tbl .x-team { display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-logo.x-logo { width: 19px; height: 19px; padding: 1.5px; }

/* Sprint 23B: Sportsbook Line Movement compact cards (aligned tabular-nums grid) */
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; align-content: start; }
.bm-card { background: var(--surface-2); border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px; }
.bm-card.acc-watch { box-shadow: inset 2px 0 0 var(--amber); }
.bm-card.acc-yes { box-shadow: inset 2px 0 0 var(--green); }
.bm-head { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 8px; }
.bm-sport { flex-shrink: 0; padding: 1px 6px; border: 1px solid var(--rule); border-radius: 3px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.bm-sport.hot { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 38%, var(--rule)); }
.bm-match { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--ink); font-size: 0.86rem; }
.bm-ko { flex-shrink: 0; margin-left: auto; font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.bm-rows { display: grid; grid-template-columns: minmax(0, 1fr) 4.2em 4.2em 3.8em; column-gap: 10px; row-gap: 4px; align-items: baseline; font-size: 0.82rem; }
.bm-colh { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.bm-colh:first-child { text-align: left; }
.bm-lbl { color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-n { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.bm-cur { color: var(--ink); font-weight: 700; }
.bm-delta { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; font-weight: 600; }
.bm-delta.bm-flat { color: var(--muted); }
.bm-delta.bm-mid { color: var(--amber); }
.bm-delta.bm-big { color: var(--green); }
.bm-key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.bm-key.bm-amber { background: var(--amber); }
.bm-key.bm-green { background: var(--green); }

/* Sprint 23B: Steam Tape game context (matchup + LIVE/PRE status + logos) */
.st-game { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 5px; font-size: 0.72rem; color: var(--body); }
.st-logos { display: inline-flex; gap: 3px; flex-shrink: 0; }
.st-logos .tm-logo { width: 16px; height: 16px; }
.st-match { min-width: 0; }
.st-status { flex-shrink: 0; margin-left: auto; padding: 0 5px; border: 1px solid var(--rule); border-radius: 3px; font-size: 0.64rem; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.st-status.live { color: var(--green); border-color: color-mix(in srgb, var(--green) 38%, var(--rule)); }
.lm-help { font-family: 'Inter', sans-serif; }
.exp-explain { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Mobile / iPhone responsive layout (<= 767px; desktop layout >= 768px untouched) */
@media (max-width: 767px) {
  /* Prevent iOS Safari auto-zoom on input/select focus (except compact live line input) */
  input[type="text"], input[type="number"], select { font-size: 16px !important; }
  .mob-hide { display: none !important; }
  .nav-link { padding: 8px 4px; min-height: 36px; flex-shrink: 0; font-size: 0.82rem; }
  .hdr-btn { padding: 4px 8px; font-size: 0.72rem; min-height: 30px; display: inline-flex; align-items: center; }
  main { padding-top: 8px !important; padding-bottom: 12px !important; }
  #tab-live.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 6px !important; }

  /* Top strips: compact single-row / horizontal-scroll bars */
  #tab-live > .board:first-child { padding: 6px 10px !important; gap: 6px !important; }
  #liveSportPills { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 4px !important; max-width: 100%; }
  #liveSportPills::-webkit-scrollbar, #botLivePicks::-webkit-scrollbar, #liveBoardList .live-tbl td:nth-child(7)::-webkit-scrollbar { display: none; }
  #liveSportPills button { min-height: 28px !important; padding: 2px 8px !important; font-size: 0.72rem !important; flex-shrink: 0; }
  #crossFilterPills button { min-height: 32px; display: inline-flex; align-items: center; }
  #lineEaterBar { padding: 6px 10px !important; gap: 5px !important; }
  #lineEaterBar > div:first-child { gap: 4px 6px !important; width: 100%; }
  #botLivePicks { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; width: 100%; scrollbar-width: none; }
  #botLivePicks .tkt-badge { white-space: nowrap; flex-shrink: 0; font-size: 0.66rem; padding: 1px 6px; }
  #lineEaterBar .btn, #botBenchmark { min-height: 28px !important; padding: 2px 8px !important; font-size: 0.7rem !important; display: inline-flex; align-items: center; }
  #livePositionsStrip { padding: 6px 10px !important; }
  #livePositionsStrip .pos-head { flex-wrap: wrap !important; gap: 4px 8px !important; margin-bottom: 4px !important; }
  #livePositionsStrip.collapsed .pos-head { margin-bottom: 0 !important; }
  #livePositionsStrip .pos-toggle { min-height: 26px !important; padding: 1px 7px !important; font-size: 0.64rem !important; white-space: nowrap; flex-shrink: 0; }
  #livePositionsStrip .pos-pill { min-height: 28px !important; padding: 2px 8px !important; font-size: 0.72rem !important; }
  #lmChartWrap { height: 260px; }
  html.large-text #lmChartWrap { height: 320px; }
  #tab-action .disp.text-2xl { font-size: 1.25rem; line-height: 1.3; }
  .kbd-hint { display: none; }

  /* Live Board: high-density mobile cards (~3-4 games per iPhone screen) */
  #liveBoardList .live-tbl thead { display: none; }
  #liveBoardList .live-tbl tbody { display: block; }
  #liveBoardList .live-tbl tr.g-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 6px;
    padding: 8px 10px;
    border-top: 1px solid var(--rule);
    align-items: center;
  }
  #liveBoardList .live-tbl tbody tr.g-row:first-child { border-top: 0; }
  #liveBoardList .live-tbl tr.g-row > td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0; }
  #liveBoardList .live-tbl tr.g-row > td:empty { display: none; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: 0.68rem; line-height: 1.2; letter-spacing: 0.06em; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right !important; font-size: 0.68rem; line-height: 1.2; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(2) { grid-column: 1; grid-row: 2; }
  #liveBoardList .live-tbl .tm-logo { width: 16px; height: 16px; padding: 1px; border-radius: 3px; }
  #liveBoardList .live-tbl .tm-matchup { gap: 2px; font-size: 0.8rem; line-height: 1.25; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right !important; font-size: 0.92rem; line-height: 1.2; align-self: center; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(6) { grid-column: 1; grid-row: 3; }
  #liveBoardList .live-tbl .call-h { font-size: 0.78rem; line-height: 1.25; }
  #liveBoardList .live-tbl .call-s { display: none; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(5) { grid-column: 2; grid-row: 3; text-align: right !important; font-size: 0.82rem; line-height: 1.25; align-self: center; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(5)::before { content: "PROJ "; font-size: 0.62rem; color: var(--muted); font-weight: 600; font-family: 'Inter', sans-serif; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(7) { grid-column: 1; grid-row: 4; margin-top: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  #liveBoardList .live-tbl tr.g-row > td:nth-child(8) { grid-column: 2; grid-row: 4; margin-top: 2px; justify-self: end; }
  #liveBoardList .live-tbl td:nth-child(7) > .flex,
  #liveBoardList .live-tbl td:nth-child(8) > .flex { flex-wrap: nowrap; gap: 3px; align-items: center; }
  #liveBoardList .live-tbl .line-in { width: 48px !important; min-width: 48px; height: 28px; min-height: 28px; padding: 2px 3px; font-size: 12px !important; text-align: center; }
  #liveBoardList .live-tbl .btn,
  #liveBoardList .live-tbl .btn-amber { height: 28px; min-height: 28px; padding: 0 6px !important; font-size: 11px !important; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; flex-shrink: 0; }
  #liveBoardList .live-tbl .ask-btn { min-width: 0 !important; }
  #liveBoardList .live-tbl .brand-ico { width: 10px; height: 10px; }
  #liveBoardList .live-tbl .brand-lbl { gap: 2px; }
  #liveBoardList .live-tbl tr.audit-row { display: block; padding: 0 10px 10px; border-top: 0; }
  #liveBoardList .live-tbl tr.audit-row > td { display: block; padding: 0 !important; border: 0 !important; }

  /* Cross-Market: 4-col price strip inside a clean mobile card (zero horizontal scroll) */
  #crossesGrid .x-tbl thead { display: none; }
  #crossesGrid .x-tbl tbody { display: block; }
  #crossesGrid .x-tbl tr.g-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 6px;
    padding: 12px;
    border-top: 1px solid var(--rule);
    align-items: start;
  }
  #crossesGrid .x-tbl tbody tr.g-row:first-child { border-top: 0; }
  #crossesGrid .x-tbl tr.g-row > td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(1) { grid-column: 1 / 2; grid-row: 1; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(8) { grid-column: 2 / 5; grid-row: 1; justify-self: end; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(8) > .flex { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(8) .btn { min-height: 34px; padding: 4px 10px; display: inline-flex; align-items: center; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  #crossesGrid .x-tbl .x-team { max-width: none !important; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(3) { grid-column: 1 / 2; grid-row: 3; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(4) { grid-column: 2 / 3; grid-row: 3; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(5) { grid-column: 3 / 4; grid-row: 3; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(6) { grid-column: 4 / 5; grid-row: 3; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(3)::before,
  #crossesGrid .x-tbl tr.g-row > td:nth-child(4)::before,
  #crossesGrid .x-tbl tr.g-row > td:nth-child(5)::before,
  #crossesGrid .x-tbl tr.g-row > td:nth-child(6)::before {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 2px;
  }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(3)::before { content: "POLY"; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(4)::before { content: "KALSHI"; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(5)::before { content: "BOOKS"; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(6)::before { content: "CONS"; }
  #crossesGrid .x-tbl tr.g-row > td:nth-child(7) { grid-column: 1 / -1; grid-row: 4; }
  #crossesGrid .x-tbl .call-s { max-width: none !important; }
  #crossesGrid .x-tbl .x-pill { min-height: 34px; padding: 4px 8px; }
  #crossesGrid .x-tbl tr.cross-detail-row { display: block; padding: 0 12px 12px; }
  #crossesGrid .x-tbl tr.cross-detail-row > td { display: block; padding: 0 !important; }
}

/* ===== SPRINT 43: 3-TAB LINEEATER / HALF-POINT SUB-NAV ===== */
.bot-subtabs { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.bot-subtab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  text-transform: uppercase;
  transition: color .14s ease, border-color .14s ease, background .14s ease;
}
.bot-subtab:hover { color: var(--ink); border-color: var(--accent); }
.bot-subtab.active {
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--green);
  color: var(--ink);
}
@media (max-width: 767px) {
  .bot-subtab { flex: 1 1 auto; text-align: center; padding: 7px 8px; font-size: 0.72rem; }
}

/* ===== SPRINT 44: 6-TAB NAV NO-WRAP POLISH ===== */
#mainTabs .nav-link { white-space: nowrap; flex-shrink: 0; }

/* ===== SPRINT 80: NON-BLOCKING DESK TOAST ===== */
.desk-toast { position: fixed; bottom: 20px; right: 16px; z-index: 95; max-width: 340px; padding: 8px 14px; border-radius: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--green); border-left-width: 3px; font-size: 12px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,0.45); transition: opacity .2s; }
.desk-toast.err { border-color: var(--red); }
.desk-toast.hidden { display: none; }

/* ===== SPRINT 82: UNITS-ONLY BANKROLL STRIP ===== */
.bankroll-strip { border: 1px solid var(--rule); border-radius: 4px; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bankroll-strip .bk-lbl { color: var(--muted, var(--body)); opacity: .7; margin-right: 3px; }
.bankroll-strip .bk-val { color: var(--ink); font-weight: 600; }
.bankroll-strip .bk-sep { opacity: .35; margin: 0 6px; }

/* ===== SPRINT 85: SOCCER & TENNIS SHADOW LAB ===== */
.shadow-badge { color: #a78bfa; border-color: color-mix(in srgb, #a78bfa 45%, transparent); background: color-mix(in srgb, #a78bfa 12%, transparent); }
.shadow-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.shadow-kpi { border: 1px solid var(--rule); border-radius: 4px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .shadow-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ===== SPRINT 86: ACTIVE-FIRST FOLDS + SHADOW LAB LOGOS / QUICK-JUMP ===== */
.settled-fold-body { opacity: .85; }
.tm-logo.tm-round { border-radius: 50%; padding: 0; object-fit: cover; }
.sh-avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 9px; font-weight: 700; font-family: 'JetBrains Mono', monospace; color: #a78bfa; background: color-mix(in srgb, #a78bfa 14%, transparent); border: 1px solid color-mix(in srgb, #a78bfa 40%, transparent); }
.shadow-jump { color: #a78bfa; border-color: color-mix(in srgb, #a78bfa 40%, var(--rule)); }
.shadow-jump:hover, .shadow-jump:focus-visible { border-color: #a78bfa; }
#shadowLabSlot { scroll-margin-top: 72px; }


/* ===== SPRINT 89: CLICKABLE BENCHMARK CHIPS + SLIM LIVE BAR ===== */
.bench-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.bench-chip { border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--body); padding: 2px 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s; }
.bench-chip.strong { font-weight: 700; font-size: 0.82rem; }
.bench-chip:hover, .bench-chip:focus-visible { border-color: color-mix(in srgb, var(--ink) 35%, var(--rule)); background: color-mix(in srgb, var(--ink) 5%, transparent); outline: none; }
.live-slim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12px; border: 1px solid var(--rule); border-left: 3px solid var(--green); border-radius: 4px; background: var(--surface-2); }
.live-slim-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); opacity: .6; }
#drawerTop, #drawerLiveSec, #drawerLivePace, #drawerShadowCohorts { scroll-margin-top: 72px; }

/* Sprint 94 (Claude): one-line bet rows in bot tables (matchup + call never wrap/stack) */
/* v91: scoped to the bot bet panel only - unscoped version made the Soccer/Tennis shadow table scroll sideways */
#paperBotTickets .bot-tbl td:nth-child(2) > span { flex-wrap: nowrap !important; white-space: nowrap; }
#paperBotTickets .bot-tbl td:nth-child(3) { white-space: nowrap; }

/* Sprint 95 (Claude, v97): Cross-Market Links column stacks Poly/Kalshi buttons below 1180px so the table fits 1024px (was 65px sideways scroll). */
@media (max-width: 1180px) { .x-tbl td:last-child > .flex { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* v98 (Claude): collapsible parlay cards in the positions strip */
.bet-slip-legs[hidden] { display: none !important; }
.parlay-toggle { cursor: pointer; user-select: none; }
.parlay-toggle:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.parlay-toggle:focus-visible { outline: 1px solid var(--amber); outline-offset: -1px; }
.parlay-caret { display: inline-block; width: 1em; margin-right: 3px; color: var(--muted); }

/* v99 (Claude): live player-prop progress on bet-slip legs */
.pp-wrap { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.pp-txt { font-size: 0.70rem; color: var(--body); white-space: nowrap; }
.pp-bar { flex: 1 1 auto; min-width: 40px; max-width: 120px; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.pp-fill { display: block; height: 100%; border-radius: 2px; transition: width 0.4s; }

/* v109 (12/1 Cowork): My Open Bets - Season Futures collapsed section */
.fut-sec { margin-top: 8px; }
.fut-list { margin-top: 6px; border-top: 1px solid var(--rule); }
.fut-list[hidden] { display: none; }
.fut-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 4px 2px; border-bottom: 1px solid var(--rule); font-size: 12px; }
.fut-pick { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fut-meta, .fut-u { white-space: nowrap; }

/* v110 (12/1 Cowork): Kalshi Liquid Markets - both sides of one game in one row */
#kalshiBody td.k-stack > div { min-height: 26px; line-height: 26px; white-space: nowrap; }
#kalshiBody td.k-stack > div.truncate { white-space: nowrap; }
#kalshiBody td.k-stack .btn { line-height: 1.2; }

/* v113 (12/1 Cowork): Soccer & Tennis Shadow Lab - all open tickets, scroll when long */
.shadow-scroll { max-height: 460px; overflow-y: auto; }
.shadow-scroll thead th { position: sticky; top: 0; z-index: 1; background: var(--panel, var(--bg, #0d1117)); }

/* v118 (12/1 Cowork): A+ Large now scales the tiny px text too (it only scaled rem text before) */
.text-\[10px\] { font-size: 0.68rem !important; }
.text-\[11px\] { font-size: 0.75rem !important; }

/* v118: Audit & Leaks - big, plain, average-Joe layout (all sizes in rem so A+ Large scales them) */
#botPane-audit { font-size: 1.05rem; }
.aud-sec { background: var(--surface-2); border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px; }
.aud-hero { border-left: 5px solid var(--green); padding-left: 16px; margin-bottom: 16px; }
.aud-q { font-size: 1.05rem; font-weight: 700; color: var(--ink); text-transform: none; }
.aud-answer { font-size: 1.9rem; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.aud-big { font-size: 3.2rem; font-weight: 800; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.aud-big-of { font-size: 1rem; font-weight: 600; color: var(--muted); }
.aud-say { font-size: 1rem; color: var(--body); margin-top: 8px; line-height: 1.45; }
.aud-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 1rem; color: var(--body); }
.aud-facts b { color: var(--ink); }
.aud-bar { height: 12px; background: var(--rule); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.aud-bar-fill { height: 100%; border-radius: 6px; }
.aud-grid2 { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
@media (min-width: 900px) { .aud-grid2 { grid-template-columns: 1fr 1fr; } }
#paperBotTeams > .aud-grid2 { margin-top: 0; }
.aud-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.aud-card-t { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.aud-card-n { font-size: 2.2rem; font-weight: 800; line-height: 1.1; margin-top: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
.aud-card-w { font-size: 1.05rem; font-weight: 700; margin-top: 2px; }
.aud-card-f { font-size: 0.95rem; color: var(--body); margin-top: 8px; }
.aud-det { margin-top: 14px; }
.aud-det summary { font-size: 0.9rem; color: var(--muted); cursor: pointer; user-select: none; }
.aud-det-body { font-size: 0.85rem; color: var(--muted); margin-top: 6px; line-height: 1.5; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.aud-ba-row { display: flex; align-items: stretch; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.aud-ba { flex: 1 1 220px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.aud-arrow { align-self: center; font-size: 2rem; color: var(--muted); }
.aud-h { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.aud-sub-h { font-size: 1rem; font-weight: 800; margin-top: 14px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.aud-team { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
.aud-team-n { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.aud-team-r, .aud-team-u { font-variant-numeric: tabular-nums; font-weight: 700; }
.aud-logo { width: 22px; height: 22px; padding: 2px; border-radius: 4px; background: rgba(255,255,255,0.92); object-fit: contain; }
.aud-loss { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.aud-loss-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aud-loss-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.aud-loss-u { margin-left: auto; font-size: 1rem; color: var(--body); font-variant-numeric: tabular-nums; }
.aud-loss-why { font-size: 0.95rem; color: var(--body); margin-top: 6px; }
.aud-loss .aud-bar { height: 10px; margin-top: 8px; }
.aud-tag { font-size: 0.72rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em; border: 1px solid currentColor; }
.aud-tag.fix { color: var(--amber); }
.aud-tag.luck { color: var(--muted); }

/* v119 (12/1 Cowork): plain-English Card & Positions, Exposure, Line Movement (rem sizes so A+ Large scales) */
#myPositionsList .pl-h { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.pl-h-sub { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.pl-sec { background: var(--surface-2); border: 1px solid var(--rule); border-left: 4px solid var(--green); border-radius: 8px; padding: 14px 16px; margin-top: 12px; }
.pl-sec-h { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.pl-bets { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .pl-bets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1400px) { .pl-bets { grid-template-columns: 1fr 1fr 1fr; } }
.pl-bet { display: flex; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; }
.pl-bet-pick { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.pl-bet-sub { font-size: 0.95rem; color: var(--body); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.pl-logos { display: inline-flex; gap: 3px; }
.pl-bet-when { font-size: 0.95rem; font-weight: 600; margin-top: 4px; }
.pl-bet-side { text-align: right; white-space: nowrap; }
.pl-bet-u { font-size: 1.35rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-bet-meta { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.pl-fut { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.pl-fut-pick { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.pl-fut-meta { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.pl-fut-u { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-empty { font-size: 0.95rem; color: var(--muted); padding: 6px 0; }
.pl-exp { text-align: left; }
.pl-exp-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.pl-exp-name { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.pl-exp-u { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pl-exp-say { font-size: 0.9rem; color: var(--body); margin-top: 8px; }
.pl-pill span:last-child { font-size: 0.95rem; }
#kpiOpenMeta { font-size: 0.85rem; }
.pl-mv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 4px; }
.pl-mv-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.pl-mv-d { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pl-mv-say { font-size: 0.95rem; color: var(--body); margin-top: 4px; line-height: 1.4; }
.pl-mv-say b { color: var(--ink); }
.pl-mv-other { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.pl-mv-vol { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.pl-bm-say { font-size: 0.95rem; color: var(--body); margin: 8px 0 6px; line-height: 1.35; }
.pl-bm-say b { color: var(--ink); }

/* v121 (12/1 Cowork): This week's watch list */
#weekWatchlist .pl-h { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.wl-key { font-size: 0.9rem; color: var(--body); margin-bottom: 12px; }
.wl-day { margin-top: 14px; }
.wl-day-h { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.wl-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .wl-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1400px) { .wl-grid { grid-template-columns: 1fr 1fr 1fr; } }
.wl-card { background: var(--surface-2); border: 1px solid var(--rule); border-left: 5px solid var(--amber); border-radius: 8px; padding: 12px 14px; }
.wl-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wl-tag { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; border: 1px solid currentColor; border-radius: 4px; padding: 2px 8px; }
.wl-sport { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.wl-score { font-size: 0.85rem; color: var(--muted); }
.wl-res { font-size: 0.85rem; font-weight: 800; color: var(--ink); }
.wl-u { margin-left: auto; font-size: 1.15rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.wl-pick { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.wl-line, .wl-if { font-size: 0.95rem; color: var(--body); margin-top: 4px; }
.wl-line b, .wl-if b { color: var(--ink); }
.wl-note { color: var(--muted); }
.wl-src { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.wl-src a { color: var(--muted); text-decoration: underline; }

/* v122: Live Games grouped table (matches .aud-* / .pl-* rem scale, selectable team names, zero 10-11px) */
.lg-sec { padding: 14px 18px; }
.lg-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lg-empty { font-size: 1rem; color: var(--body); padding: 8px 2px; }
.lg-tbl { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.lg-tbl thead th { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.lg-tbl thead th.text-right { text-align: right; }
.lg-tbl td { padding: 11px 10px; border-top: 1px solid var(--rule); vertical-align: middle; color: var(--body); }
.lg-tbl tbody tr.lg-row:first-child td { border-top: 0; }
.lg-tbl tr.lg-row:hover td { background: color-mix(in srgb, var(--surface) 75%, transparent); }
.lg-tbl tr.lg-row.acc-yes td:first-child { box-shadow: inset 4px 0 0 var(--green); }
.lg-tbl tr.lg-row.acc-block td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.lg-tbl tr.lg-row.flash-target td { background: color-mix(in srgb, var(--amber) 14%, transparent); }
.lg-sport { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.lg-sport.is-live { color: var(--amber); }
.lg-matchup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 1.02rem; color: var(--ink); font-weight: 600; user-select: text; }
.lg-matchup.is-live { font-weight: 700; }
.lg-team { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg-at { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.lg-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.lg-tag { display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.8rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; border: 1px solid var(--rule); color: var(--body); background: var(--surface); }
.lg-tag.green { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); }
.lg-tag.red { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); }
.lg-tag.amber { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.lg-score { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.1rem; font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.lg-clock, .lg-when { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.95rem; color: var(--body); white-space: nowrap; }
.lg-proj { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.08rem; font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.lg-call-h { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.lg-call-s { font-size: 0.9rem; color: var(--body); margin-top: 2px; line-height: 1.35; }
.lg-nomodel { font-size: 0.95rem; color: var(--body); }
.lg-line-in { width: 5.5rem; padding: 6px 8px; font-size: 0.95rem; }
.lg-act { white-space: nowrap; }
.lg-tbl tr.audit-row > td { border-top: 0; padding: 6px 12px 14px; background: var(--surface); }
.bench-chip { font-size: 0.85rem; padding: 4px 10px; }
.bench-chip.strong { font-size: 0.88rem; }
.shadow-big-btn { border: 1.5px solid #a78bfa !important; background: color-mix(in srgb, #a78bfa 14%, transparent) !important; color: var(--ink) !important; font-weight: 700; }
.shadow-big-btn:hover { background: color-mix(in srgb, #a78bfa 24%, transparent) !important; }
.bot-subtab { font-size: 0.95rem !important; padding: 8px 16px !important; }
@media (max-width: 768px) {
  .lg-tbl thead { display: none; }
  .lg-tbl, .lg-tbl tbody, .lg-tbl tr.lg-row, .lg-tbl tr.lg-row > td { display: block; width: 100%; text-align: left !important; }
  .lg-tbl tr.lg-row { padding: 12px 4px; border-top: 1px solid var(--rule); }
  .lg-tbl tr.lg-row > td { border-top: 0; padding: 3px 0; }
  .lg-tbl .lg-score { font-size: 1.15rem; }
}

/* v130 Claude: last tiny text (header buttons, open-bets strip header) up to readable size */
header button, header .btn, #livePositionsStrip .strip-head, #livePositionsStrip button { font-size: 0.8125rem !important; }


/* v132: live bot full record */
.lr-scroll{max-height:70vh;overflow-y:auto;overflow-x:hidden;}
.lr-scroll .lg-tbl{width:100%;}
.lr-scroll thead th{position:sticky;top:0;background:var(--panel,#0f172a);z-index:1;}
.lr-day td{font-weight:700;font-size:0.95rem;color:var(--ink);padding:10px 6px 4px;border-bottom:1px solid var(--line,#334155);}

#liveBotRecord,#snipeLabCard,#halfPointCard{scroll-margin-top:70px;}
.lg-wait{color:var(--body);font-weight:600;}

/* v140 (backlog #7): Kalshi & Pricer table fits with no sideways scroll. Container queries drop low-value columns as it narrows. */
.ktw{container-type:inline-size}
@container (max-width:720px){ .ktw .lg-tbl th:nth-child(4),.ktw .lg-tbl td:nth-child(4){display:none} .ktw .lg-tbl td,.ktw .lg-tbl th{padding-left:6px;padding-right:6px} .ktw .lg-tbl td .btn{white-space:normal;max-width:110px;font-size:0.85rem;padding:4px 8px} .ktw .lg-tbl td:first-child .text-base{white-space:normal} }
@container (max-width:540px){ .ktw .lg-tbl th:nth-child(3),.ktw .lg-tbl td:nth-child(3){display:none} }
@container (max-width:420px){ .ktw .lg-tbl td:nth-child(2) .text-sm{display:none} }
