/* ==========================================================================
   desk.css: the signed-in desk (/home). Reads terminal.css's tokens.
   One job per block: check a price, see tonight on your books, see the record.
   Faces are the players' photos on a disc of their club's colour; prices are
   white, verdicts are a word on a quiet tint (DESIGN.md: colour means status).
   ========================================================================== */

/* ---------- player face (used on every page that shows a player) -------- */
.pf {
  position: relative; flex: none; display: inline-block; overflow: hidden;
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--tc, #2a2f37) 70%, #000), color-mix(in srgb, var(--tc, #2a2f37) 30%, #0b0c0e) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
/* ESPN's crop is 4:3 with the head in the upper middle: scale it so the face fills the disc */
.pf img { position: absolute; left: 50%; top: 4%; width: 156%; height: auto; transform: translateX(-50%); }
/* the fallback cutouts are square with more of the body: a smaller scale puts the face in the same place */
.pf.is-sq img { width: 128%; top: 2%; }
.pf-i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.pf.is-xs { width: 28px; height: 28px; }
.pf.is-xs .pf-i { font-size: 10px; }
.pf.is-sm { width: 36px; height: 36px; }
.pf.is-lg { width: 64px; height: 64px; }
.pf.is-lg .pf-i { font-size: 20px; }
/* the header portrait: a squared card, the full head-and-shoulders crop */
.pf.is-hero { width: 132px; height: 132px; border-radius: 26px; }
.pf.is-hero img { width: 140%; top: 6%; }
.pf.is-hero .pf-i { font-size: 40px; }

/* ---------- page ---------------------------------------------------------- */
.dk-head { padding: 56px 0 30px; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.dk-head .t-title { font-size: clamp(40px, 4.6vw, 68px); }
.dk-head .t-sub { margin-top: 12px; }
.dk-head-sp { flex: 1; }
.dk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; align-items: start; }
.dk-main, .dk-side { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 1100px) { .dk-grid { grid-template-columns: minmax(0, 1fr); } }
.dk-h { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 14px; }
.dk-h h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.dk-h p { color: var(--t-ink-3); font-size: 14px; }
.dk-h .t-sp { flex: 1; }
.dk-h a { font-size: 13.5px; color: var(--t-ink-2); }
.dk-h a:hover { color: #fff; }

/* ---------- first-run setup ---------------------------------------------- */
.dk-setup { padding: 26px 26px 24px; }
.dk-setup h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.dk-setup > p { margin-top: 6px; color: var(--t-ink-2); font-size: 15px; max-width: 60ch; }
.dk-step { margin-top: 24px; }
.dk-step h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.dk-step h3 b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #fff; color: #000; font-size: 12px; }
.dk-step small { display: block; margin: 4px 0 0 32px; color: var(--t-ink-3); font-size: 13px; }
.dk-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 32px; }
.dk-pick {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 15px 0 12px; border-radius: 10px;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.dk-pick:hover { border-color: var(--t-line-3); color: var(--t-ink); }
.dk-pick[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
.dk-pick svg { width: 15px; height: 15px; flex: none; }
.dk-pick .dk-tick { display: none; }
.dk-pick[aria-pressed="true"] .dk-tick { display: block; }
.dk-pick[aria-pressed="true"] .dk-plus { display: none; }
.dk-pick em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--t-ink-3); }
.dk-pick[aria-pressed="true"] em { color: #555; }
.dk-setup-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 0 32px; }
.dk-link { background: none; border: 0; padding: 12px 4px; font: inherit; font-size: 14px; color: var(--t-ink-2); cursor: pointer; }

/* setup spans the card (2026-10-20): where you bet beside what you follow, each
   split into sportsbooks / prediction markets and sports / beyond sports */
.dk-setup-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.dk-grp { margin: 16px 0 0 32px; }
.dk-grp[hidden] { display: none; }
.dk-grp h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--t-ink-3); }
.dk-grp .dk-picks { margin: 10px 0 0; }
.dk-grp-note { margin-top: 10px; font-size: 13px; color: var(--t-ink-3); max-width: 46ch; }
.dk-soon { font-size: 12px; font-weight: 600; color: var(--t-ink-2); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); }
@media (max-width: 900px) { .dk-setup-cols { grid-template-columns: minmax(0, 1fr); } }

/* simple layout (2026-10-21): one setup question at a time, roomier desk */
.dk-setup { padding: 36px 36px 32px; max-width: 760px; }
.dk-setup > p { margin-top: 8px; }
.dk-step { margin-top: 32px; }
.dk-step[hidden] { display: none; }
.dk-step small { margin-top: 6px; font-size: 14px; }
.dk-grp { margin-top: 22px; }
.dk-picks { gap: 10px; }
.dk-later > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--t-ink-2); }
.dk-later > summary::-webkit-details-marker { display: none; }
.dk-later > summary:hover { color: #fff; }
.dk-later[open] > summary { margin-bottom: 4px; }
.dk-setup-go { margin-top: 36px; }
.dk-setup-go [hidden] { display: none; }
.dk-grid { gap: 24px; }
.dk-main, .dk-side { gap: 24px; }
.dk-h { margin: 40px 0 16px; flex-wrap: wrap; row-gap: 4px; }
.bk-steps { gap: 30px; margin-top: 30px; }
@media (max-width: 640px) {
  .dk-setup { padding: 26px 20px; }
  .dk-step small { margin-left: 0; }
  .dk-h p { flex-basis: 100%; }
  .dk-h .t-sp { display: none; }
}
@media (max-width: 640px) {
  .dk-setup { padding: 22px 18px; }
  .dk-grp, .dk-setup-go { margin-left: 0; }
  .dk-pick { height: 44px; }
}
.dk-link:hover { color: #fff; }

/* ---------- the checker: three taps ------------------------------------------ */
.bk { padding: 26px 26px 24px; }
.bk-top { display: flex; align-items: flex-start; gap: 14px; }
.bk-top h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.bk-top p { margin-top: 4px; color: var(--t-ink-2); font-size: 15px; }
.bk-top .t-sp { flex: 1; }
.bk-steps { list-style: none; display: grid; gap: 22px; margin-top: 24px; }
.bk-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.bk-step-h b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #fff; color: #000; font-size: 12.5px; font-weight: 800; }
.bk-hint { font-size: 13.5px; color: var(--t-ink-3); }

/* sport tabs, then the games as one row of chips */
.bk-sports { display: inline-flex; gap: 4px; padding: 3px; margin-bottom: 10px; border-radius: 10px; background: var(--t-panel-2); border: 1px solid var(--t-line); }
.bk-sport { height: 30px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--t-ink-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bk-sport[aria-selected="true"] { background: #fff; color: #000; }
.gchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gchips::-webkit-scrollbar { display: none; }
.gchip {
  flex: none; display: grid; gap: 4px; justify-items: start; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink-2); font: inherit; font-size: 12.5px;
  transition: border-color 150ms ease, background 150ms ease;
}
.gchip:hover { border-color: var(--t-line-3); }
.gchip[aria-checked="true"] { border-color: #fff; background: #fff; color: #333; }
.gchip-teams { display: flex; align-items: center; gap: 6px; color: var(--t-ink); }
.gchip[aria-checked="true"] .gchip-teams { color: #000; }
.gchip-teams b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.gchip-teams i { font-style: normal; font-size: 12px; color: var(--t-ink-3); margin: 0 2px; }
.gchip-live { color: var(--t-live); font-weight: 700; }
.gchip[aria-checked="true"] .gchip-live { color: #04803f; }

/* the bets, as buttons */
.bgroups { display: grid; gap: 14px; }
.bg-h { font-size: 13px; font-weight: 600; color: var(--t-ink-3); margin-bottom: 8px; }
.bg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.bt:hover { border-color: var(--t-line-3); }
.bt[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
.bt .tm { width: 22px; height: 22px; }
.bg-props { display: grid; gap: 8px; }
.bp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 12px; background: var(--t-panel-2); border: 1px solid var(--t-line); }
.bp-t b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-t small { display: block; font-size: 13px; color: var(--t-ink-2); }
.bp-opts { display: flex; gap: 6px; }
.bp-opts .bt { min-height: 40px; min-width: 76px; font-size: 14px; }
@media (max-width: 560px) {
  .bp { grid-template-columns: auto minmax(0, 1fr); }
  .bp-opts { grid-column: 1 / -1; }
  .bp-opts .bt { flex: 1; }
}
.bk-more { margin-top: 12px; }
.bk-more > summary { cursor: pointer; list-style: none; display: inline-block; font-size: 13.5px; color: var(--t-ink-2); }
.bk-more > summary::-webkit-details-marker { display: none; }
.bk-more > summary:hover { color: #fff; }
.bk-more-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; margin-top: 10px; }
@media (max-width: 560px) { .bk-more-in { grid-template-columns: minmax(0, 1fr); } }

/* the price */
.bk-chosen { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--t-ink-3); }
.bk-chosen b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--t-ink); }
.bk-chosen small { display: block; font-size: 13px; color: var(--t-ink-3); }
.bk-pricebar { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px; }
@media (max-width: 560px) { .bk-pricebar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bk-pricebar .btn { grid-column: 1 / -1; } }
.bk select, .bk input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink);
  font: inherit; font-size: 15px; font-weight: 500; outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.bk select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a8b1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.bk select:disabled { color: var(--t-ink-4); cursor: not-allowed; }
.bk select option, .bk select optgroup { background: #0c0e11; color: var(--t-ink); }
.bk input { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.bk input::placeholder { color: var(--t-ink-4); font-weight: 700; }
.bk select:focus-visible, .bk input:focus-visible { border-color: var(--t-line-3); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.bk input[aria-invalid="true"] { border-color: rgba(255,123,123,0.6); }
.bk-pricebar .btn { height: 50px; padding: 0 26px; font-size: 16px; }
.bk-pricebar .btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.bk-err { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: #ff9b9b; }

/* the answer: one big line, one plain sentence, two numbers */
.bk-res { margin-top: 20px; padding: 22px; border-radius: 14px; display: none; background: var(--t-panel-2); border: 1px solid var(--t-line-2); }
.bk-res.is-on { display: block; animation: bk-in 520ms var(--e-expo) both; }
.bk-res[data-v="GOOD_PRICE"] { border-color: rgba(0,230,118,0.35); }
.bk-res[data-v="BAD_PRICE"] { border-color: rgba(255,123,123,0.35); }
@keyframes bk-in { from { transform: translateY(8px); } }
.bk-v { display: flex; align-items: center; gap: 14px; }
.bk-big { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.bk-tag { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.bk-tag svg { width: 22px; height: 22px; }
.bk-tag[data-v="GOOD_PRICE"] { color: var(--t-live); background: rgba(0,230,118,0.12); }
.bk-tag[data-v="BAD_PRICE"] { color: #ff8a8a; background: rgba(255,123,123,0.12); }
.bk-tag[data-v="NO_READ"] { color: var(--t-ink-2); background: rgba(255,255,255,0.07); }
.bk-say { margin-top: 12px; font-size: 16.5px; line-height: 1.5; color: var(--t-ink-2); max-width: 62ch; }
.bk-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; max-width: 460px; }
.bk-cmp > div { padding: 12px 14px; border-radius: 12px; background: var(--t-panel); border: 1px solid var(--t-line); }
.bk-cmp span { display: block; font-size: 12.5px; color: var(--t-ink-3); }
.bk-cmp b { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.bk-foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--t-ink-3); }
.dk-mine { margin-top: 10px; font-size: 15px; color: var(--t-ink-2); }
.dk-mine a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--t-line-3); }
.dk-plan-line { padding: 4px 4px 0; font-size: 13px; line-height: 1.5; color: var(--t-ink-3); }

/* ---------- player cards (after the pick'em apps: the face leads) --------- */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; }
.pc {
  font: inherit; text-align: left; cursor: pointer; width: 100%; padding: 0;
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; color: inherit;
  background: var(--t-panel-2); border: 1px solid var(--t-line);
  transition: border-color 150ms ease, transform 500ms var(--e-expo);
}
.pc:hover { color: inherit; border-color: var(--t-line-3); transform: translateY(-2px); }
.pc-photo {
  position: relative; height: 152px; overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 120%, color-mix(in srgb, var(--tc, #2a2f37) 75%, #000) 0%, transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--tc, #2a2f37) 22%, #0c0e11), #0c0e11);
}
.pc-photo img.pc-face { position: absolute; left: 50%; bottom: -2px; height: 112%; width: auto; transform: translateX(-50%); }
.pc-photo .pc-init { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: rgba(255,255,255,0.85); }
.pc-photo .tm { position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; }
.pc-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(transparent, rgba(12,14,17,0.9)); }
.pc-body { padding: 12px 14px 14px; display: grid; gap: 10px; }
.pc-name b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-name small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--t-line); }
.pc-line span { font-size: 13px; color: var(--t-ink-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-line span strong { color: var(--t-ink); font-weight: 700; }
.pc-line b { flex: none; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.pc-line em { flex: none; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.pc-line b.is-none { font-size: 13px; font-weight: 600; color: var(--t-ink-3); letter-spacing: 0; }
.pc-more { font-size: 12.5px; color: var(--t-ink-3); }

/* ---------- side panels ---------------------------------------------------- */
.dk-rows { display: grid; }
.dk-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--t-line); font-size: 14px; }
.dk-row:first-child { border-top: 0; padding-top: 0; }
.dk-row > b { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.dk-row p { color: var(--t-ink-2); font-size: 13px; line-height: 1.4; }
.dk-row .wlp { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.dk-note { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--t-ink-3); }
.dk-plan { display: grid; gap: 12px; }

/* ---------- account menu (nav) --------------------------------------------- */
.t-acct { position: relative; }
.t-acct > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px 0 4px; border-radius: 10px;
  cursor: pointer; color: var(--t-ink); font-size: 13.5px; font-weight: 600; border: 1px solid var(--t-line-2); background: var(--t-panel-2);
}
.t-acct > summary::-webkit-details-marker { display: none; }
.t-acct > summary:hover { border-color: var(--t-line-3); }
/* the account mark: a quiet outline figure, not a white letter tile (2026-11-14) */
.t-acct-av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--t-line); color: var(--t-ink-2); }
.t-acct-av svg { width: 15px; height: 15px; }
.t-acct > summary:hover .t-acct-av { color: #fff; }
.t-acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; border-radius: 12px; z-index: 60;
  background: #0c0e11; border: 1px solid var(--t-line-2); box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.t-acct-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--t-ink); }
.t-acct-menu a:hover { background: var(--t-panel-3); color: #fff; }
.t-acct-menu small { color: var(--t-ink-3); font-size: 12.5px; }
.t-acct-menu hr { border: 0; border-top: 1px solid var(--t-line); margin: 6px 4px; }
.t-acct-who { padding: 10px 12px 8px; font-size: 13px; color: var(--t-ink-3); }
.t-acct-who b { display: block; color: var(--t-ink); font-size: 14px; }
@media (max-width: 760px) { .t-acct > summary span:not(.t-acct-av) { display: none; } .t-acct > summary { padding: 0 4px; } }

/* ---------- tonight's games ------------------------------------------------ */
.dk-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dk-quiet { padding: 20px 18px; text-align: left; }
.dk-quiet b { font-size: 15px; }

/* a player chip in a headline: face, then name */
.t-pchip.has-face { gap: 6px; padding-left: 3px; }
.pf.is-chip { width: 17px; height: 17px; }
.pf.is-chip .pf-i { font-size: 7px; }
.dk-games .t-game-foot { gap: 10px; }
.dk-games .t-game-open { white-space: nowrap; }

/* the game board's player cards open on the photo */
.dk-pair { display: inline-flex; flex: none; }
.dk-pair .tm + .tm { margin-left: -8px; }

/* grid children shrink to the screen; the game chips scroll inside their row */
.bk, .bk-steps > li, .bgroups, .bg, .bk-form { min-width: 0; }
.gchips { max-width: 100%; position: relative; }
@media (max-width: 560px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-photo { height: 118px; }
  .pc-body { padding: 10px 12px 12px; gap: 8px; }
  .pc-name b { font-size: 14.5px; }
  .pc-line { flex-wrap: wrap; gap: 2px 8px; }
}

/* ---------- simple layout (2026-10-21) --------------------------------------
   The bet check shows a step only once it is reached, player bets fold away,
   and the blocks sit further apart (the setup's own rules are above). */
.dk-head { padding: 72px 0 40px; }
.dk-grid { gap: 24px; }
.dk-main, .dk-side { gap: 24px; }
.dk-h { margin: 56px 0 18px; }
.dk-setup, .bk { scroll-margin-top: 140px; }
.bk-more > summary { display: inline-flex; align-items: center; gap: 8px; }
.bk-more > summary::after,
.dk-later > summary::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 300ms var(--e-expo); }
.bk-more[open] > summary::after,
.dk-later[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.bk { padding: 32px 32px 28px; }
.bk-steps { gap: 32px; margin-top: 28px; }
.bk-step[hidden] { display: none; }
.bk-step:not([hidden]) { animation: bk-in 520ms var(--e-expo) both; }
.bgroups { gap: 18px; }
.bg-fold > summary { padding: 4px 0; }
.bg-fold .bg-props { margin-top: 12px; }
.bp { grid-template-columns: minmax(0, 1fr) auto; }
.bp-who { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bp-who .bp-t { min-width: 0; }
.bp-who:hover b { text-decoration: underline; text-underline-offset: 3px; }
.bp-who:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
@media (max-width: 560px) { .bp { grid-template-columns: minmax(0, 1fr); } .bp-opts { grid-column: auto; } }
.dk-side .t-panel .t-pb { padding-top: 6px; }
@media (max-width: 640px) {
  .dk-head { padding: 40px 0 28px; }
  .bk { padding: 24px 18px 22px; }
  .dk-h { margin: 44px 0 14px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .bk-step:not([hidden]) { animation: none; } }

/* ---------- info first (2026-10-27) ------------------------------------------
   Search leads the desk, then the players on tonight's board, then the list the
   member starred; the bet check and the record sit below. Same tokens as above. */
#dk-body[hidden] { display: none; }
.t-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-find { padding: 24px; }
.dk-q { position: relative; display: block; }
.dk-q-i { position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--t-ink-3); pointer-events: none; }
.dk-q-i svg { width: 100%; height: 100%; display: block; }
.dk-q input {
  width: 100%; height: 68px; padding: 0 20px 0 58px; border-radius: 14px;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink);
  font: inherit; font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em; outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.dk-q input::placeholder { color: var(--t-ink-4); }
.dk-q input:focus-visible { border-color: var(--t-line-3); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.dk-q input::-webkit-search-cancel-button { display: none; }
.dk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dk-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--t-line-2); background: var(--t-panel-2); color: var(--t-ink-2); font: inherit; font-size: 13.5px; font-weight: 600;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.dk-chip:hover { border-color: var(--t-line-3); color: var(--t-ink); }
.dk-chip[aria-selected="true"] { background: #fff; border-color: #fff; color: #000; }
.dk-chip .dk-soon { padding: 2px 7px; font-size: 11.5px; }
.dk-chip[aria-selected="true"] .dk-soon { background: rgba(0,0,0,0.08); color: #444; }
.dk-results { display: grid; gap: 6px; margin-top: 14px; }
.dk-results[hidden] { display: none; }
.dk-res, .dk-fw { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 12px; background: var(--t-panel-2); border: 1px solid var(--t-line); transition: border-color 150ms ease; }
.dk-res:hover, .dk-fw:hover { border-color: var(--t-line-3); }
.dk-res-open, .dk-fw-open { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px; }
.dk-fw-open[disabled] { cursor: default; }
.dk-res-open:focus-visible, .dk-fw-open:focus-visible, .dk-pl-open:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dk-res-open .tm, .dk-fw-open .tm { width: 36px; height: 36px; flex: none; }
.dk-res-t { min-width: 0; flex: 1; }
.dk-res-t b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-res-t small { display: block; margin-top: 1px; font-size: 13px; color: var(--t-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-res-open em { flex: none; font-style: normal; font-size: 12.5px; color: var(--t-ink-3); }
.dk-res-none { padding: 10px 4px 2px; font-size: 14px; color: var(--t-ink-2); }
.dk-star { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--t-ink-3); cursor: pointer; transition: color 150ms ease, background 150ms ease; }
.dk-star svg { width: 19px; height: 19px; }
.dk-star:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dk-star[aria-pressed="true"] { color: #fff; }
.dk-star[aria-pressed="true"] svg { fill: currentColor; }

/* the players on tonight's board: one row of faces that scrolls sideways */
/* the row scrolls, which clips both axes: padding gives the hover lift room, the negative margin keeps the row on the grid */
.dk-rail { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 6px; margin: -6px -4px 0; }
.dk-rail::-webkit-scrollbar { display: none; }
.dk-rail > .t-panel { flex: 1; }
/* photo cards: head and shoulders over the club's colour, name and game below */
.dk-pl { position: relative; flex: none; width: 212px; overflow: hidden; border-radius: 18px; background: var(--t-panel-2); border: 1px solid var(--t-line); transition: border-color 150ms ease, transform 500ms var(--e-expo); }
.dk-pl:hover { border-color: var(--t-line-3); transform: translateY(-3px); }
.dk-pl-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dk-pl-open .pc-photo { height: 196px; }
.dk-pl-t { display: block; padding: 14px 16px 16px; }
.dk-pl-t b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-pl-t small { display: block; margin-top: 3px; font-size: 13px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-pl .dk-star { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: rgba(0,0,0,0.45); color: rgba(255,255,255,0.8); }
.dk-pl .dk-star:hover { background: rgba(0,0,0,0.7); }

/* your list */
.dk-follow { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.dk-follow-none { grid-column: 1 / -1; padding: 20px 22px; }
.dk-follow-none b { font-size: 15px; }
.dk-follow-none p { margin-top: 4px; font-size: 14px; color: var(--t-ink-2); }
/* sections sit well apart, each with one heading and one line saying what it is */
.dk-sec { margin-top: 72px; }
.dk-sec[hidden], .dk-cats[hidden] { display: none; }
.dk-sec > .dk-h { margin: 0 0 20px; }

/* sports: plain tabs with a white underline on the current one */
.dk-cats { display: flex; gap: 28px; margin-top: 64px; border-bottom: 1px solid var(--t-line); overflow-x: auto; scrollbar-width: none; }
.dk-cats::-webkit-scrollbar { display: none; }
.dk-cat { position: relative; flex: none; padding: 0 0 14px; border: 0; background: none; color: var(--t-ink-3); font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: color 150ms ease; }
.dk-cat:hover { color: var(--t-ink); }
.dk-cat[aria-selected="true"] { color: #fff; }
.dk-cat[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #fff; }
.dk-cats + .dk-sec { margin-top: 40px; }

/* the big game */
.dk-spot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; padding: 0; overflow: hidden; }
.dk-spot-main { display: grid; align-content: center; gap: 28px; padding: 36px 40px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dk-spot-main:focus-visible, .dk-spot-p:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 12px; }
.dk-spot-when { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--t-ink-2); }
.dk-spot-clock { padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.dk-spot-clock:empty { display: none; }
.dk-spot-teams { display: flex; align-items: center; gap: 28px; }
.dk-spot-teams > i { font-style: normal; font-size: 15px; color: var(--t-ink-3); }
.dk-spot-team { display: grid; justify-items: start; gap: 12px; min-width: 0; }
.dk-spot-team b { font-size: clamp(18px, 1.7vw, 24px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.dk-spot-watch { display: grid; align-content: center; gap: 18px; padding: 32px 36px; border-left: 1px solid var(--t-line); background: rgba(255,255,255,0.015); }
.dk-spot-wh { font-size: 14px; font-weight: 600; color: var(--t-ink-3); }
.dk-spot-ppl { display: grid; gap: 6px; }
.dk-spot-p { display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 150ms ease; }
.dk-spot-p:hover { background: rgba(255,255,255,0.05); }
.dk-spot-p .pf.is-lg { width: 52px; height: 52px; }
.dk-spot-p b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .dk-spot { grid-template-columns: minmax(0, 1fr); }
  .dk-spot-watch { border-left: 0; border-top: 1px solid var(--t-line); }
}

/* headlines: two calm columns, the source first, the people it names last */
.dk-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dk-news > .t-panel { grid-column: 1 / -1; }
.dk-nw { display: grid; align-content: start; gap: 12px; padding: 22px 24px; border-radius: 16px; background: var(--t-panel-2); border: 1px solid var(--t-line); color: inherit; transition: border-color 150ms ease; }
.dk-nw:hover { color: inherit; border-color: var(--t-line-3); }
.dk-nw-meta { display: flex; gap: 10px; font-size: 13px; color: var(--t-ink-3); }
.dk-nw-meta b { color: var(--t-ink-2); font-weight: 600; }
.dk-nw-t { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.015em; color: var(--t-ink); }
.dk-nw:hover .dk-nw-t { color: #fff; }
.dk-nw-ext { color: var(--t-ink-3); }
.dk-nw-ppl { display: flex; flex-wrap: wrap; gap: 8px; }
.dk-nw-who { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255,255,255,0.05); font-size: 13px; font-weight: 600; color: var(--t-ink-2); }
.dk-nw-who .pf.is-xs, .dk-nw-who .tm.is-xs { width: 24px; height: 24px; }
@media (max-width: 760px) { .dk-news { grid-template-columns: minmax(0, 1fr); } }

/* the price check, folded to one quiet row until it is opened */
.dk-check > summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px; cursor: pointer; background: var(--t-panel-2); border: 1px solid var(--t-line); transition: border-color 150ms ease; }
.dk-check > summary::-webkit-details-marker { display: none; }
.dk-check > summary:hover { border-color: var(--t-line-3); }
.dk-check > summary > span { flex: 1; min-width: 0; }
.dk-check > summary b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.dk-check > summary small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--t-ink-3); }
.dk-check > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.8px solid var(--t-ink-2); border-bottom: 1.8px solid var(--t-ink-2); transform: translateY(-2px) rotate(45deg); transition: transform 300ms var(--e-expo); }
.dk-check[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.dk-check[open] > summary { margin-bottom: 12px; }

/* tonight's games on the hub: who and when, no prices */
.dk-gm { display: grid; gap: 14px; width: 100%; padding: 20px 22px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 150ms ease, transform 500ms var(--e-expo); }
.dk-gm:hover { border-color: var(--t-line-3); transform: translateY(-2px); }
.dk-gm:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dk-gm-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--t-ink-3); }
.dk-gm-clock { color: var(--t-ink-2); font-variant-numeric: tabular-nums; }
.dk-gm-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dk-gm-team b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-gm-foot { padding-top: 12px; border-top: 1px solid var(--t-line); font-size: 13px; color: var(--t-ink-3); }

@media (max-width: 640px) {
  .dk-find { padding: 16px; }
  .dk-q input { height: 58px; padding-left: 50px; }
  .dk-q-i { left: 16px; width: 22px; height: 22px; }
  .dk-pl { width: 168px; }
  .dk-pl-open .pc-photo { height: 156px; }
  .dk-follow { grid-template-columns: minmax(0, 1fr); }
  .dk-sec { margin-top: 56px; }
  .dk-cats { gap: 22px; margin-top: 48px; }
  .dk-spot-main { padding: 26px 22px; gap: 22px; }
  .dk-spot-teams { gap: 18px; }
  .dk-spot-watch { padding: 24px 22px; }
  .dk-nw { padding: 18px 18px; }
}

/* live score on a desk tile (slate.games[].live); absent renders nothing */
.dk-live { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.dk-books-guide { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--t-ink-2); }
.dk-books-guide:hover { color: var(--t-ink); }

/* ---------- tonight (2026-11-14): games lead; players and players live now sit under them */
.dk-sub { margin-top: 44px; }
.dk-sec > .dk-sub > .dk-h-sub { margin: 0 0 16px; align-items: center; }
.dk-h-sub h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; letter-spacing: -0.025em; }
.dk-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
.dk-arw { display: flex; gap: 8px; }
.dk-arw[hidden] { display: none; }
.dk-arw-b { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--t-line-2, var(--t-line)); background: var(--t-panel-2); color: #fff; cursor: pointer; transition: background 150ms ease, opacity 150ms ease; }
.dk-arw-b svg { width: 16px; height: 16px; }
.dk-arw-b:hover:not(:disabled) { background: var(--t-line-3, #2a2f37); }
.dk-arw-b:disabled { opacity: 0.3; cursor: default; }
.dk-arw-b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dk-rail { scroll-snap-type: x proximity; scroll-padding: 0 4px; cursor: grab; }
.dk-rail.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.dk-rail.is-drag .dk-pl { transform: none; }
.dk-rail > .dk-pl { scroll-snap-align: start; }
.dk-pl .pc-photo { position: relative; }
.dk-pl-live { position: absolute; z-index: 1; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: #fff; color: #000; font-size: 12px; font-weight: 700; }
.dk-pl.is-live { border-color: rgba(255,255,255,0.28); }
.dk-live-none { padding: 22px 24px; text-align: left; font-size: 14px; color: var(--t-ink-3); }
@media (hover: none), (max-width: 720px) { .dk-arw { display: none; } }
