/* Shared look of the generator pages (index.html = one match, day.html = day batch).
   System: one accent (22BET red), Geist, light + dark by system preference.
   Radius rule: panels 28 (shell) / 22 (core), tiles 16, fields 12, buttons and chips are pills.
   Panels are "double bezel": .bezel (tray) > .core (plate). */
:root {
  color-scheme: light dark;
  --bg: #eef0f3;
  --tint-a: rgba(214, 44, 53, 0.08);
  --tint-b: rgba(22, 150, 165, 0.09);
  --shell: rgba(18, 20, 26, 0.035);
  --shell-line: rgba(18, 20, 26, 0.07);
  --core: #ffffff;
  --field: #f3f4f7;
  --line: rgba(18, 20, 26, 0.1);
  --hi: rgba(255, 255, 255, 0.9);
  --text: #12141a;
  --muted: #586070;
  --faint: #8b92a0;
  --accent: #d62c35;
  --accent-ink: #ffffff;
  --accent-text: #c2242d;
  --accent-soft: rgba(214, 44, 53, 0.1);
  --ok: #157347;
  --ok-soft: rgba(21, 115, 71, 0.11);
  --warn: #8f5200;
  --warn-soft: rgba(200, 122, 0, 0.14);
  --bad: #b8232c;
  --bad-soft: rgba(184, 35, 44, 0.1);
  --glass: rgba(255, 255, 255, 0.78);
  --scrim: rgba(20, 24, 34, 0.45);
  --shadow: 0 28px 60px -32px rgba(28, 38, 66, 0.3), 0 2px 8px -4px rgba(28, 38, 66, 0.1);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0f;
    --tint-a: rgba(214, 44, 53, 0.16);
    --tint-b: rgba(22, 150, 165, 0.13);
    --shell: rgba(255, 255, 255, 0.035);
    --shell-line: rgba(255, 255, 255, 0.08);
    --core: #14161d;
    --field: #0d0f15;
    --line: rgba(255, 255, 255, 0.1);
    --hi: rgba(255, 255, 255, 0.06);
    --text: #eef0f4;
    --muted: #a3a9b6;
    --faint: #6d7482;
    --accent-text: #ff7a81;
    --accent-soft: rgba(240, 71, 77, 0.16);
    --ok: #62d49c;
    --ok-soft: rgba(98, 212, 156, 0.13);
    --warn: #f3b75e;
    --warn-soft: rgba(243, 183, 94, 0.14);
    --bad: #ff868d;
    --bad-soft: rgba(255, 134, 141, 0.13);
    --glass: rgba(16, 18, 24, 0.78);
    --scrim: rgba(0, 0, 0, 0.66);
    --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85), 0 2px 8px -4px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
/* soft colour wash that echoes the 22BET background; fixed so it never repaints on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60vw 50vh at 8% -10%, var(--tint-a), transparent 70%), radial-gradient(55vw 55vh at 100% 0%, var(--tint-b), transparent 70%);
}
a { color: inherit; }
.page { max-width: 1280px; margin: 0 auto; padding: 0 24px 160px; }
@media (max-width: 720px) { .page { padding: 0 16px 200px; } }

/* ---------- floating nav island ---------- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--shell-line);
  box-shadow: var(--shadow), inset 0 1px 0 var(--hi);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.nav .brand { display: flex; align-items: baseline; gap: 7px; padding: 0 14px 0 16px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.nav .brand span { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.nav .tabs { display: flex; gap: 2px; }
.nav .tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: background 0.5s var(--ease), color 0.5s var(--ease); white-space: nowrap; }
.nav .tabs a:hover { color: var(--text); }
.nav .tabs a.on { background: var(--text); color: var(--bg); }

/* ---------- page head ---------- */
.head { padding: 56px 0 28px; display: grid; gap: 10px; }
.head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 650; }
.head p { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 720px) { .head { padding: 36px 0 20px; } }

/* ---------- double-bezel panel ---------- */
.bezel { padding: 6px; border-radius: 28px; background: var(--shell); border: 1px solid var(--shell-line); }
.bezel + .bezel { margin-top: 14px; }
.core { border-radius: 22px; background: var(--core); padding: 22px; box-shadow: var(--shadow), inset 0 1px 0 var(--hi); }
.core > h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 720px) { .core { padding: 16px; } }

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, label.lbl { font-size: 12px; font-weight: 500; color: var(--muted); }
input[type="text"], input[type="date"], input[type="search"], input[type="url"] {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--field);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
input::placeholder { color: var(--faint); }
input:hover:not(:disabled) { border-color: var(--line); }
input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input:disabled { opacity: 0.5; }

/* ---------- buttons (pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--core);
  color: var(--text);
  font: inherit;
  font-weight: 550;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.5s var(--ease);
}
.btn:hover:not(:disabled) { border-color: var(--faint); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn i { font-size: 17px; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); height: 48px; padding: 0 6px 0 22px; font-weight: 600; font-size: 15px; }
.btn.primary:hover:not(:disabled) { border-color: transparent; }
/* button-in-button: the arrow sits in its own disc, flush with the right padding */
.btn .disc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); margin-left: 4px; transition: transform 0.6s var(--ease); }
.btn.primary:hover:not(:disabled) .disc { transform: translate(2px, -1px) scale(1.06); }
.btn.ghost { background: transparent; }
.btn.small { height: 34px; padding: 0 13px; font-size: 13px; }
.btn.icon { width: 38px; height: 38px; padding: 0; }

/* ---------- segmented control ---------- */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; white-space: nowrap; transition: background 0.5s var(--ease), color 0.5s var(--ease); }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--core); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), inset 0 1px 0 var(--hi); }
.seg button b { font-weight: 600; color: var(--faint); margin-left: 5px; }
.seg button.on b { color: var(--accent-text); }
.seg.wide { display: flex; }
.seg.wide button { flex: 1; padding: 0 8px; }

/* ---------- chips, status, progress ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--field); color: var(--muted); }
.chip i { font-size: 14px; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.status { font-size: 13px; color: var(--muted); min-height: 20px; }
.status.err { color: var(--bad); }
.progress { height: 4px; border-radius: 2px; background: var(--field); overflow: hidden; opacity: 0; transition: opacity 0.5s var(--ease); }
.progress.on { opacity: 1; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.banner { margin: 16px auto 0; max-width: 1232px; padding: 14px 18px; border-radius: 16px; background: var(--bad-soft); color: var(--bad); font-weight: 550; }

/* ---------- logo tile ---------- */
.tile { width: 60px; height: 60px; flex: none; padding: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--field) center/72% no-repeat; cursor: pointer; display: grid; place-items: center; color: var(--faint); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tile:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--faint); }
.tile:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
/* league logos are drawn for dark backgrounds (many are white), so their tile stays dark in both themes */
.tile[data-k="league"].set, .logo-box.on-dark { background-color: #161c28; }
.tile i { font-size: 20px; }
.tile.set i { display: none; }
.tile.missing { border: 1.5px dashed var(--bad); color: var(--bad); background-color: var(--bad-soft) !important; }

/* ---------- popover + modal ---------- */
.pop { position: absolute; z-index: 40; width: 348px; max-width: calc(100vw - 16px); padding: 6px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.pop.open { display: block; animation: pop 0.45s var(--ease); }
.pop .core { border-radius: 18px; padding: 12px; display: grid; gap: 10px; }
/* fixed height: the popover never changes size while typing, so it stays glued to its tile */
.grid-logos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: max-content; gap: 6px; height: 232px; overflow: auto; }
.grid-logos button { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; border: 1px solid transparent; background: var(--field); color: var(--muted); font: inherit; font-size: 10.5px; cursor: pointer; min-width: 0; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
.grid-logos button:hover { border-color: var(--faint); color: var(--text); }
.grid-logos button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* mid-tone plate: white logos and dark logos both stay visible, in either theme */
.grid-logos img, .results img { background: #6a7385; border-radius: 10px; padding: 5px; }
.grid-logos img { width: 46px; height: 46px; object-fit: contain; }
.grid-logos .empty { grid-column: 1 / -1; padding: 10px 4px; font-size: 13px; color: var(--muted); }
.hint { font-size: 12px; color: var(--faint); }
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 16px; background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: grid; }
.modal .bezel { width: min(430px, 100%); background: var(--glass); animation: pop 0.5s var(--ease); }
.modal .core { display: grid; gap: 12px; padding: 14px; }
.frame { aspect-ratio: 9 / 16; max-height: 68dvh; margin: 0 auto; width: auto; border-radius: 16px; background: #05070c; overflow: hidden; display: grid; place-items: center; color: #8b92a0; font-size: 13px; text-align: center; position: relative; }
.frame.post { aspect-ratio: 1 / 1; }
.frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.rise { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk { border-radius: 10px; background: linear-gradient(90deg, var(--field) 25%, var(--line) 50%, var(--field) 75%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   One match (index.html)
   ===================================================================== */
.single { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .single { grid-template-columns: 1fr; } }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .teams { grid-template-columns: 1fr; } }
.team { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: var(--field); min-width: 0; }
.team.plain { padding: 0; background: transparent; }
.team .title { font-size: 12px; font-weight: 500; color: var(--muted); }
.team input[type="text"], .team input[type="search"] { background: var(--core); }
.team.plain input[type="search"] { background: var(--field); }
.logo-row { display: flex; gap: 12px; align-items: center; }
.logo-box { width: 72px; height: 72px; flex: none; border-radius: 16px; border: 1px solid var(--line); background: var(--core) center/72% no-repeat; transition: background-color 0.5s var(--ease); }
.logo-row .grow { flex: 1; min-width: 0; display: grid; gap: 8px; }
.row { display: flex; gap: 8px; align-items: center; }
input[type="color"] { width: 42px; height: 34px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--core); cursor: pointer; flex: none; }
.picker { position: relative; }
.results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); display: none; padding: 8px; border-radius: 16px; background: var(--core); border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 268px; overflow: auto; }
.results.open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.results button { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; border: 1px solid transparent; background: var(--field); color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; min-width: 0; }
.results button:hover { border-color: var(--faint); color: var(--text); }
.results button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results img { width: 48px; height: 48px; object-fit: contain; }
.results .empty { grid-column: 1 / -1; padding: 8px 4px; font-size: 13px; color: var(--muted); }
.odds3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.odds3 input, .match .odds input { font-weight: 650; font-size: 16px; text-align: center; padding: 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.side-panel { position: sticky; top: 92px; }
.side-panel .core { display: grid; gap: 12px; }
.side-panel .core > h2 { margin: 0; }
/* story frame is sized by height so the render buttons stay on screen; the square post fills the width */
.side-panel .frame { height: min(54dvh, 640px); max-height: none; width: auto; max-width: 100%; }
.side-panel .frame.post { height: auto; width: 100%; }
.frame .busy { position: absolute; inset: 0; display: none; place-items: center; background: rgba(5, 7, 12, 0.66); color: #eef0f4; }
.frame.loading .busy { display: grid; }
.frame #placeholder { padding: 0 24px; }
.actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.results-links { display: flex; gap: 8px; }
.results-links:empty { display: none; }
.results-links a { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 38px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 550; }
.history { display: grid; gap: 2px; }
.history:empty { display: none; }
.history h2 { margin: 6px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.history a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 12px; overflow-wrap: anywhere; transition: background 0.4s var(--ease); }
.history a:hover { background: var(--field); }
.history time { color: var(--faint); flex: none; }

/* =====================================================================
   Day batch (day.html)
   ===================================================================== */
.day-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 56px 0 24px; }
.day-head .head { padding: 0; }
.steps { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 550; color: var(--faint); }
.steps li { display: flex; align-items: center; gap: 10px; transition: color 0.6s var(--ease); }
.steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line); }
.steps li.on { color: var(--text); }
.steps li.done { color: var(--ok); }
@media (max-width: 860px) { .day-head { grid-template-columns: 1fr; padding: 36px 0 20px; } }
.loader { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.loader .field { width: 190px; }
.loader input[type="date"] { height: 48px; background: var(--core); border-color: var(--line); border-radius: 999px; padding: 0 18px; font-weight: 550; }
.load-info { display: grid; gap: 8px; margin: 14px 0 26px; max-width: 760px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar .sp { flex: 1; }
.list { display: grid; gap: 6px; }
.list.bezel { background: var(--shell); }
.match { display: grid; grid-template-columns: 34px minmax(0, 1.7fr) minmax(0, 0.75fr) 216px 96px 148px; grid-template-areas: "chk duel league odds date acts" "chk note note note note note"; gap: 4px 16px; align-items: center; padding: 16px 18px 16px 14px; border-radius: 22px; background: var(--core); box-shadow: inset 0 1px 0 var(--hi); transition: opacity 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.match.off > :not(.check) { opacity: 0.4; }
.match.attn { box-shadow: inset 0 0 0 1.5px var(--warn-soft), inset 0 1px 0 var(--hi); }
.match.bad { box-shadow: inset 0 0 0 1.5px var(--bad), inset 0 1px 0 var(--hi); }
.match.filtered { display: none; }
.match > .check { grid-area: chk; }
.match > .duel { grid-area: duel; }
.match > .league { grid-area: league; }
.match > .odds { grid-area: odds; }
.match > .date-f { grid-area: date; }
.match > .acts { grid-area: acts; }
.match > .note { grid-area: note; }
.check { position: relative; width: 26px; height: 26px; cursor: pointer; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; color: transparent; transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }
.check input:active + span { transform: scale(0.9); }
.check input:disabled + span { opacity: 0.35; }
.check i { font-size: 15px; font-weight: 700; }
.duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.duel .vs { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; }
.side { display: flex; gap: 10px; align-items: center; min-width: 0; }
.side .tile-wrap { position: relative; flex: none; }
.swatch { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--core); background: #666; cursor: pointer; overflow: hidden; transition: transform 0.5s var(--ease); }
.swatch:hover { transform: scale(1.15); }
.swatch input { position: absolute; inset: -6px; width: 40px; height: 40px; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.side .who { min-width: 0; flex: 1; display: grid; gap: 2px; }
.side .cap, .league .cap { font-size: 11px; font-weight: 500; color: var(--faint); padding-left: 9px; }
.side .name { height: 34px; padding: 0 8px; background: transparent; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-overflow: ellipsis; }
.side .name:hover:not(:disabled), .side .name:focus-visible { background: var(--field); }
.league { display: flex; gap: 10px; align-items: center; min-width: 0; }
.league .who { min-width: 0; display: grid; gap: 2px; }
.league .cap { padding-left: 0; }
.league .lg-name { font-size: 13px; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.match .odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.match .field > span { text-align: center; font-size: 11px; color: var(--faint); }
.match .date-f input { text-align: center; padding: 0 6px; font-weight: 600; }
.acts { display: grid; gap: 8px; justify-items: stretch; }
.acts .chip { justify-content: center; }
.render-state { font-size: 12px; color: var(--muted); display: grid; gap: 5px; }
.render-state:empty { display: none; }
.render-state.err { color: var(--bad); }
.render-state .links { display: flex; gap: 6px; }
.render-state a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); text-decoration: none; font-weight: 600; }
.render-state .progress { opacity: 1; }
.note { margin: 6px 0 0; font-size: 13px; color: var(--warn); }
.note.bad { color: var(--bad); }
.note:empty { display: none; }
/* compact rows: still searching, or a "???" placeholder that is skipped */
.match.slim { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "chk text chip"; padding-top: 14px; padding-bottom: 14px; }
.match.slim .text { grid-area: text; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match.slim .chip, .match.slim .sk { grid-area: chip; }
.match.slim .sk { width: 120px; height: 26px; border-radius: 999px; }
@media (max-width: 1160px) {
  .match { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "chk duel duel" "chk league odds" "chk date acts" "chk note note"; gap: 14px 16px; }
  .match .date-f { max-width: 140px; }
  .match > .check { align-self: start; margin-top: 17px; }
}
@media (max-width: 720px) {
  .match { grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "chk duel" "chk league" "chk odds" "chk date" "chk acts" "chk note"; padding: 14px 14px 14px 10px; }
  .duel { grid-template-columns: 1fr; gap: 8px; }
  .duel .vs { display: none; }
}
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; color: var(--muted); border-radius: 22px; background: var(--core); }
.empty-state i { font-size: 34px; color: var(--faint); }
.empty-state b { color: var(--text); font-size: 17px; font-weight: 600; }
details.log { margin-top: 18px; }
details.log summary { cursor: pointer; font-size: 13px; color: var(--muted); width: max-content; }
details.log pre { margin: 10px 0 0; padding: 14px; border-radius: 16px; background: var(--core); color: var(--muted); font: 12px/1.5 "Geist Mono", ui-monospace, monospace; white-space: pre-wrap; max-height: 360px; overflow: auto; }

/* floating action island */
.island { position: fixed; left: 50%; bottom: 20px; z-index: 30; transform: translate(-50%, 140%); width: max-content; max-width: calc(100% - 24px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 34px; background: var(--glass); border: 1px solid var(--shell-line); box-shadow: var(--shadow), inset 0 1px 0 var(--hi); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); transition: transform 0.8s var(--ease); }
.island.on { transform: translate(-50%, 0); }
.island .status { min-height: 0; max-width: 300px; padding: 0 6px; }
.island .status:empty { display: none; }

/* ---------- offer switch (mode.js): 22BET + BetLabel / 22BET / BetLabel ---------- */
.mode-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.mode-row > span { font-size: 12px; font-weight: 500; color: var(--muted); }
body[data-brand="22bet"] [data-only="betlabel"], body[data-brand="betlabel"] [data-only="22bet"] { display: none !important; }
/* two-offer mode shows the blocks of both brands, plus the pieces that only it needs */
body:not([data-brand="both"]) [data-both] { display: none !important; }
/* BetLabel: its own accent, and no card colour (the template has no cards) */
body[data-brand="betlabel"] { --accent: #3f9a1b; --accent-text: #2f7d12; --accent-soft: rgba(76, 164, 33, 0.13); --tint-a: rgba(76, 164, 33, 0.1); --tint-b: rgba(58, 66, 105, 0.1); }
@media (prefers-color-scheme: dark) {
  body[data-brand="betlabel"] { --accent-text: #86df58; --accent-soft: rgba(93, 230, 25, 0.14); --tint-a: rgba(76, 164, 33, 0.16); }
}
body[data-brand="betlabel"] .logo-box.card, body[data-brand="betlabel"] .tile.set { background-color: #1b1e24 !important; }
select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 34px 0 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b92a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text);
  font: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.object-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.match .obj { height: 34px; font-size: 12px; padding: 0 28px 0 10px; border-radius: 999px; }
/* BetLabel prints the full date ("SEPTEMBER 07. 2026"): the date column needs the room */
@media (min-width: 1161px) {
  body[data-brand="betlabel"] .match:not(.slim), body[data-brand="both"] .match:not(.slim) { grid-template-columns: 34px minmax(0, 1.5fr) minmax(0, 0.6fr) 204px 196px 156px; }
}
.match .date-f { display: grid; gap: 6px; }
body[data-brand="betlabel"] .match .date-f, body[data-brand="both"] .match .date-f { max-width: none; }
.render-state .links { flex-wrap: wrap; }
.render-state .links a { flex: 1 1 40%; white-space: nowrap; }
.results-links { flex-wrap: wrap; }
.results-links a { flex: 1 1 40%; }

/* ---------- site pages: sign-in, automation, logos, settings ---------- */
.nav .out { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); text-decoration: none; transition: background 0.5s var(--ease), color 0.5s var(--ease); }
.nav .out:hover { color: var(--text); background: var(--field); }
.nav .tabs { flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) { .nav { border-radius: 26px; } .nav .brand { display: none; } .nav .tabs a { padding: 7px 11px; font-size: 13px; } }
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login .bezel { width: min(400px, 100%); }
.login .core { display: grid; gap: 14px; padding: 28px; }
.login h1 { margin: 0; font-size: 24px; letter-spacing: -0.03em; font-weight: 650; }
.login p { margin: 0; color: var(--muted); font-size: 14px; }
input[type="password"], input[type="number"] { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid transparent; background: var(--field); color: var(--text); font: inherit; outline: none; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stats .sp { flex: 1; }
.chip.info { background: var(--field); color: var(--muted); }
.day-group { margin-top: 22px; }
.day-group > h2 { margin: 0 0 10px 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.rows { display: grid; gap: 6px; }
.arow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 190px 340px; gap: 6px 16px; align-items: center; padding: 14px 18px; border-radius: 22px; background: var(--core); box-shadow: inset 0 1px 0 var(--hi); }
.arow .t { font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.arow .sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.arow .odds-t { font-variant-numeric: tabular-nums; font-size: 14px; }
.arow .acts2 { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.arow .acts2 a, .arow .acts2 button { height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.arow .acts2 a { background: var(--ok-soft); color: var(--ok); }
.arow .acts2 button { background: var(--field); color: var(--muted); }
.arow .acts2 button:hover { color: var(--text); }
.arow .why { grid-column: 1 / -1; font-size: 13px; color: var(--warn); }
.arow .why.bad { color: var(--bad); }
@media (max-width: 900px) { .arow { grid-template-columns: 1fr; } .arow .acts2 { justify-content: flex-start; } }
.logo-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 22px; background: var(--core); box-shadow: inset 0 1px 0 var(--hi); }
.logo-item .drop { width: 76px; height: 76px; border-radius: 16px; border: 1.5px dashed var(--line); background: #6a7385 center/78% no-repeat; display: grid; place-items: center; color: #eef0f4; cursor: pointer; padding: 0; }
.logo-item .drop.set { border-style: solid; }
.logo-item .drop.set i { display: none; }
.logo-item .drop i { font-size: 22px; }
.logo-item .t { font-weight: 600; }
.logo-item .sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.logo-item .state { font-size: 13px; color: var(--muted); text-align: right; max-width: 220px; }
.logo-item .state.ok { color: var(--ok); }
.logo-item .state.err { color: var(--bad); }
@media (max-width: 640px) { .logo-item { grid-template-columns: 76px minmax(0, 1fr); } .logo-item .state { grid-column: 1 / -1; text-align: left; max-width: none; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background 0.4s var(--ease); }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.4s var(--ease); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px var(--accent-soft); }
.switch b { font-weight: 600; }
.switch span.hint { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 14px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); }
pre.logbox { margin: 0; max-height: 320px; overflow: auto; font: 12px/1.6 "Geist Mono", ui-monospace, monospace; color: var(--muted); white-space: pre-wrap; }
pre.logbox .error { color: var(--bad); }
pre.logbox .warn { color: var(--warn); }
.empty-note { padding: 28px 18px; border-radius: 22px; background: var(--core); color: var(--muted); text-align: center; }
.day-head2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 6px 10px; }
.day-head2 h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.day-head2 .sp { flex: 1; }
.day-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.day-toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.day-group.off .rows { opacity: 0.45; }
.log-fab { text-decoration: none; position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--shell-line); background: var(--glass); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: var(--shadow), inset 0 1px 0 var(--hi); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); transition: transform 0.5s var(--ease); }
.log-fab:hover { transform: translateY(-2px); }
.log-fab i { font-size: 18px; }
.log-fab b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.modal .bezel.log-panel { width: min(980px, 100%); }
.log-panel pre.logbox { max-height: 70dvh; }
.summary { margin: 0 0 16px; padding: 16px 20px; border-radius: 22px; background: var(--core); box-shadow: inset 0 1px 0 var(--hi); font-size: 15px; line-height: 1.55; }
.summary:empty { display: none; }
.summary a { color: var(--accent-text); font-weight: 600; }
.logo-item ul.m { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; color: var(--text); }
/* automation power switch: green when on, red when off */
.power.on { background: var(--ok-soft); border-color: transparent; }
.power.off { background: var(--bad-soft); border-color: transparent; }
.power .switch .track { background: var(--bad); width: 52px; height: 30px; }
.power .switch .track::after { width: 24px; height: 24px; }
.power .switch input:checked + .track { background: #1f9d55; }
.power .switch input:checked + .track::after { transform: translateX(22px); }
.power.on #powerTitle { color: var(--ok); }
.power.off #powerTitle { color: var(--bad); }
.power #powerTitle { font-size: 17px; letter-spacing: -0.01em; }
.chip.work { background: var(--accent-soft); color: var(--accent-text); }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
.arow .why.old { color: var(--faint); }
/* automation: the two jobs side by side */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.jobs .bezel + .bezel { margin-top: 0; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr; } }
.job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 100%; }
.job h2 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.job p { margin: 0; font-size: 13px; color: var(--muted); }
.job-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--field); color: var(--muted); font-weight: 650; }
@media (max-width: 560px) { .job { grid-template-columns: auto minmax(0, 1fr); } .job .btn { grid-column: 1 / -1; } }
/* automation: the summary, one line per group of matches */
.sum { display: grid; gap: 2px; }
.sum-row { display: grid; grid-template-columns: 10px minmax(150px, 230px) 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); }
.sum-row:first-child { border-top: 0; }
.sum-row b { font-weight: 650; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.sum-next { color: var(--muted); font-size: 14px; }
.sum-next a { color: var(--accent-text); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.bad { background: var(--bad); }
@media (max-width: 640px) { .sum-row { grid-template-columns: 10px minmax(0, 1fr) 44px; } .sum-next { grid-column: 2 / -1; } }
/* automation: another design for a match or a day */
.arow .acts2 button.set, .day-head2 .btn.set { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.modal .bezel.tpl-panel { width: min(1120px, 100%); max-height: 94dvh; display: flex; }
.tpl-panel .core { overflow: auto; flex: 1; gap: 14px; padding: 20px; }
.tpl-panel h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.tpl-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.tpl-opt { width: 174px; padding: 10px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--field); color: var(--text); font: inherit; text-align: left; cursor: pointer; display: grid; gap: 8px; align-content: start; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.tpl-opt:hover { border-color: var(--faint); }
.tpl-opt.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tpl-opt .pvbox { position: relative; width: 150px; height: 150px; border-radius: 10px; overflow: hidden; background: #0d0f15; display: grid; place-items: center; color: var(--faint); }
.tpl-opt .pvbox i { font-size: 30px; }
.tpl-opt iframe { position: absolute; left: 0; top: 0; width: 1080px; height: 1080px; border: 0; transform: scale(0.13889); transform-origin: 0 0; pointer-events: none; }
.tpl-opt b { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.tpl-opt span { font-size: 12px; color: var(--muted); }
.tpl-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tpl-foot .sp { flex: 1; }
/* automation: the period of the list, like a reporting date picker */
.period-row { position: relative; z-index: 35; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -8px 0 14px; }
.period-row > span { font-size: 13px; color: var(--muted); }
.range { position: relative; }
.range-btn { gap: 8px; }
.range-btn .caret { font-size: 13px; color: var(--muted); }
.range-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: min(560px, calc(100vw - 32px)); background: var(--shell); animation: pop 0.45s var(--ease); }
.range-pop .core { background: var(--core); box-shadow: var(--shadow); }
.range-pop .core { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px; }
.range-presets { display: grid; gap: 2px; align-content: start; }
.range-presets button { text-align: left; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.range-presets button:hover { background: var(--field); }
.range-presets button.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.range-custom { display: grid; gap: 10px; align-content: start; padding-left: 16px; border-left: 1px solid var(--line); }
.range-custom h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.range-custom .two-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range-custom input[type="date"] { width: 100%; }
@media (max-width: 600px) { .range-pop .core { grid-template-columns: 1fr; } .range-custom { padding-left: 0; border-left: 0; } }
.day-group.past .day-head2 h2::after { content: " · прошедший день"; font-weight: 500; color: var(--faint); }
/* warnings since the journal was last opened, by its name in the menu */
.nav .log-mark { display: inline-block; min-width: 16px; margin-left: 5px; padding: 0 5px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 11px; font-weight: 600; line-height: 16px; text-align: center; }

/* the «API» page: one match, what each source of odds said, and the result */
.orow { display: grid; grid-template-columns: minmax(0, 1.05fr) repeat(3, minmax(0, 1fr)) minmax(0, 0.95fr); gap: 12px 14px; align-items: start; padding: 14px 16px; border-radius: 22px; background: var(--core); box-shadow: inset 0 1px 0 var(--hi); }
.orow .t { font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.orow .sub, .ocell .sub { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ocell { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ocell > h4 { margin: 0; font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: 0.04em; }
.ocell .name { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.ocell .miss { font-size: 13px; color: var(--faint); }
.ocell.err .miss { color: var(--bad); overflow-wrap: anywhere; }
.ocell.chosen { padding: 8px; margin: -8px; border-radius: 14px; background: var(--ok-soft); }
.ocell .acts3 { display: flex; flex-wrap: wrap; gap: 5px; }
.ocell .acts3 button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--field); color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ocell .acts3 button:hover { color: var(--text); }
.ocell .acts3 button:disabled { opacity: 0.5; cursor: default; }
.triple { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; font-variant-numeric: tabular-nums; }
.triple span { padding: 2px 6px; border-radius: 7px; background: var(--field); white-space: nowrap; }
.triple i { font-style: normal; color: var(--faint); margin-right: 4px; }
.triple.big { font-size: 14px; font-weight: 600; }
.ocand { display: grid; gap: 3px; width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.ocand:hover { background: var(--field); }
.ocand:disabled { opacity: 0.5; cursor: default; }
.ocand .name { font-size: 12px; }
.pct { font-weight: 600; font-size: 12px; }
.pct.hi { color: var(--ok); }
.pct.mid { color: var(--warn); }
.pct.lo { color: var(--bad); }
.src-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.src-strip > div { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 16px; background: var(--field); font-size: 13px; }
.src-strip b { font-weight: 600; }
.src-strip .hint { font-size: 12px; }
.modal .bezel.pick-panel { width: min(960px, 100%); max-height: 94dvh; display: flex; }
.pick-panel .core { flex: 1; min-height: 0; grid-template-rows: auto auto auto auto minmax(0, 1fr); padding: 18px; }
.pick-list { overflow: auto; display: grid; align-content: start; gap: 2px; min-height: 120px; }
.pick-list button { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.pick-list button:hover { background: var(--field); }
.pick-list button:disabled { opacity: 0.45; cursor: default; }
.pick-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; }
.pick-filters label { display: inline-flex; gap: 6px; align-items: center; }
.pick-search { display: grid; grid-template-columns: minmax(0, 1fr) 170px 160px; gap: 8px; }
#filter { flex-wrap: wrap; border-radius: 22px; max-width: 100%; }
.alias-list { display: grid; gap: 4px; }
.alias-list > div { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--field); font-size: 13px; }
.alias-list .sp { flex: 1; }
.alias-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.alias-form .btn { height: 42px; }
@media (max-width: 1100px) { .orow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .orow .ohead { grid-column: 1 / -1; } }
@media (max-width: 720px) {
  .orow, .src-strip, .alias-form { grid-template-columns: minmax(0, 1fr); }
  .pick-search { grid-template-columns: minmax(0, 1fr); }
  .pick-list button { grid-template-columns: minmax(0, 1fr) 44px; }
  .pick-list button .triple { grid-column: 1 / -1; grid-row: 3; }
}
