/* UI3: sportsbook-inspired shell (Hard Rock + FanDuel + DraftKings patterns)
   Default: Light / Hard Rock vibe (soft greys, rounded tiles)
   Dark mode: set <html data-theme="dark"> (DK/FanDuel vibe)
*/

:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface-2:#f1f5f9;
  --text:#0f172a;
  --muted:#64748b;
  --border:rgba(15,23,42,.12);
  --shadow:0 10px 30px rgba(2,6,23,.10);

  /* Brand accents */
  --accent:#6d4aff;           /* primary */
  --accent-2:#b79cff;         /* soft */
  --good:#20c997;             /* teal/green */
  --warning:#f59e0b;
  --bad:#ef4444;

  --radius:18px;
  --radius-sm:12px;
  --radius-xs:10px;

  --max:1120px;
  --pad:16px;
  --topbar-h:64px;

  /* Bottom nav sizing (bigger for readability) */
  --bottombar-h:92px;
  --bnav-ic:24px;
  --bnav-text:13px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

html[data-theme="dark"]{
  --bg:#070a12;
  --surface:#0b1020;
  --surface-2:#0f172a;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --border:rgba(148,163,184,.20);
  --shadow:0 18px 50px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }

/* --- Layout shell --- */
.ui3{
  min-height:100vh;
  padding-bottom:calc(var(--bottombar-h) + env(safe-area-inset-bottom));
}

/* Full-width on mobile, capped on desktop */
.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

@media (max-width: 520px){
  :root{ --pad:12px; } /* tighter on phone */
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  height:calc(var(--topbar-h) + env(safe-area-inset-top));
  padding-top:env(safe-area-inset-top);
  backdrop-filter:saturate(150%) blur(10px);
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom:1px solid var(--border);
}

.topbar .inner{
  height:var(--topbar-h);
  display:flex;
  align-items:center;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-.02em;
}
.brand .mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:radial-gradient(120% 120% at 20% 10%, var(--accent-2), var(--accent));
  box-shadow:0 10px 24px rgba(109,74,255,.32);
  display:grid;
  place-items:center;
  color:white;
  font-weight:900;
}
.brand .name{ line-height:1; }
.brand .name .sub{ display:block; font-size:11px; font-weight:600; color:var(--muted); margin-top:2px; }

.grow{ flex:1; }

/* Hard Rock style search bar */
.search{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  max-width:560px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 14px;
  box-shadow:0 1px 0 rgba(2,6,23,.04);
}
.search .ic{ opacity:.7; }
.search input{
  border:none;
  outline:none;
  width:100%;
  background:transparent;
  color:var(--text);
  font-size:14px;
}

.actions{ display:flex; align-items:center; gap:10px; }

.btn{
  border:none;
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
}
.btn.primary{
  background:var(--accent);
  color:white;
  border-color:transparent;
  box-shadow:0 10px 26px rgba(109,74,255,.25);
}
.btn.ghost{ background:transparent; }

/* --- Content --- */
.section{ padding:18px 0; }
.h1{ font-size:22px; font-weight:900; letter-spacing:-.02em; margin:0 0 10px; }
.h2{ font-size:16px; font-weight:900; letter-spacing:-.01em; margin:0 0 10px; }
.muted{ color:var(--muted); }

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* Hard Rock: quick action tile grid */
.tile-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}
.tile{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
  cursor:pointer;
}
.tile .t-ic{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, var(--surface));
  border:1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.tile .t-title{ font-weight:900; font-size:13px; }
.tile .t-sub{ font-size:12px; color:var(--muted); }

/* Promo banner like Hard Rock */
.promo{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--border);
  background:radial-gradient(120% 120% at 15% 10%, color-mix(in srgb, var(--accent) 35%, transparent), transparent),
             linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface));
}
.promo .inner{ padding:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.promo .kicker{ font-weight:900; font-size:12px; opacity:.8; }
.promo .headline{ font-weight:1000; font-size:18px; letter-spacing:-.02em; margin:2px 0 8px; }
.promo .cta{ display:flex; gap:8px; }

/* Odds-style row */
.game{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--surface);
}
.team{ display:flex; align-items:center; gap:10px; }
.badge{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--surface-2);
  display:grid;
  place-items:center;
  font-weight:900;
}
.team .name{ font-weight:900; }
.team .meta{ font-size:12px; color:var(--muted); }

.odds{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:8px;
}
.odd{
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface-2);
  padding:10px;
  text-align:center;
}
.odd .lab{ font-size:10px; color:var(--muted); font-weight:800; letter-spacing:.08em; }
.odd .val{ font-size:15px; font-weight:1000; margin-top:4px; color:var(--accent); }

/* --- Bottom bar (legacy) --- */
/* Disable legacy bottom bar (we use .bnav everywhere) */
.bottombar{ display:none !important; }

/* Desktop tweaks */
@media (min-width: 980px){
  .ui3{ padding-bottom:28px; }
  .tile-grid{ grid-template-columns:repeat(8, minmax(0,1fr)); }
  .game{ grid-template-columns:1fr 460px; }
}

@media (max-width: 520px){
  .tile-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
  .search{ display:none; }
  .promo .inner{ flex-direction:column; align-items:flex-start; }
  .game{ grid-template-columns:1fr; }
}

/* ------------------------------------------------------------------
   UI3 components used across pages
   ------------------------------------------------------------------ */

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 720px){
  .grid-2{ grid-template-columns:1fr; }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface-2);
  border:1px solid var(--border);
  font-size:12px;
  color:var(--muted);
  font-weight:800;
}

.card.mini{
  padding:14px;
  border-radius:18px;
  transition:transform .12s ease;
}
.card.mini:hover{ transform:translateY(-1px); }
.mini-top{ display:flex; align-items:center; gap:12px; }
.mini-ic{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, var(--surface));
  border:1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.mini-title{ font-weight:1000; }
.mini-foot{ margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }

/* Chips / tabs */
.chip-row{
  display:flex;
  gap:8px;
  padding:4px 0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.chip-row::-webkit-scrollbar{ display:none; }
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
.chip.active{
  background:color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color:color-mix(in srgb, var(--accent) 26%, var(--border));
  color:color-mix(in srgb, var(--accent) 70%, var(--text));
}

/* Live edges preview list (Home) */
.edge-list{ display:flex; flex-direction:column; }
.edge-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid var(--border);
}
.edge-row:first-child{ border-top:none; }
.edge-game{ font-weight:1000; }
.edge-meta{ font-size:12px; color:var(--muted); margin-top:2px; }
.edge-pill{
  min-width:110px;
  text-align:right;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface-2);
}
.edge-pill .edge-side{ font-size:10px; letter-spacing:.10em; font-weight:1000; color:var(--muted); }
.edge-pill .edge-num{ margin-top:2px; font-weight:1100; color:var(--accent); }
.edge-pill.over .edge-num{ color:var(--accent); }
.edge-pill.under .edge-num{ color:var(--good); }

/* Bottom nav (bigger + readable) */
.bnav{
  position:fixed;
  left:0; right:0; bottom:0;
  height:calc(var(--bottombar-h) + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:color-mix(in srgb, var(--surface) 92%, transparent);
  border-top:1px solid var(--border);
  backdrop-filter:blur(14px) saturate(160%);
  z-index:30;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
}
.bnav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:var(--bnav-text);
  color:var(--muted);
  padding-top:6px;
}
.bnav .b-ic{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  font-size:var(--bnav-ic);
  line-height:1;
}
.bnav .b-t{
  font-size:var(--bnav-text);
  line-height:1;
}
.bnav a.active{ color:var(--accent); }
.bnav a.active .b-ic{
  background:color-mix(in srgb, var(--accent) 12%, transparent);
  border-color:color-mix(in srgb, var(--accent) 18%, transparent);
}
@media (min-width: 980px){
  .bnav{ display:none; }
}

/* Collapsible bottom nav (mobile)
   User can hide the tab bar to maximize content.
   ui3.js toggles body.bnav-collapsed and persists preference.
*/
body.bnav-collapsed .bnav{
  transform: translateY(calc(var(--bottombar-h) + env(safe-area-inset-bottom) - 14px));
  opacity: 0.25;
}
body.bnav-collapsed .bnav a{ pointer-events:none; }

.bnav-toggle{
  position:fixed;
  right:12px;
  bottom:calc(var(--bottombar-h) + 10px + env(safe-area-inset-bottom));
  z-index:31;
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:color-mix(in srgb, var(--surface) 92%, transparent);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  backdrop-filter: blur(14px) saturate(160%);
  color:var(--text);
  user-select:none;
}

body.bnav-collapsed .bnav-toggle{
  bottom:calc(12px + env(safe-area-inset-bottom));
}

@media (max-width: 979px){
  .bnav-toggle{ display:flex; }
}

/* ------------------------------------------------------------------
   Marketplace / Community / Account (Board wiring)
   ------------------------------------------------------------------ */

.row{ display:flex; align-items:center; }
.stack{ display:flex; flex-direction:column; }

.divider{ height:1px; background:var(--border); margin:12px 0; }

.price{ font-weight:1100; font-size:20px; letter-spacing:-.02em; }

/* Segmented control (DK-ish) */
.seg{
  display:inline-flex;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px;
  gap:4px;
}
.seg-btn{
  border:none;
  background:transparent;
  color:var(--muted);
  font-weight:1000;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}
.seg-btn.active{
  background:color-mix(in srgb, var(--accent) 14%, var(--surface));
  color:color-mix(in srgb, var(--accent) 70%, var(--text));
}

/* Board layout */
.split{ display:grid; grid-template-columns:1fr; gap:14px; align-items:start; }
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.panel-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
@media (min-width: 980px){
  .split{ grid-template-columns:1fr 360px; }
  .panel{ position:sticky; top:calc(var(--topbar-h) + 18px); }
}

.list{ display:flex; flex-direction:column; gap:12px; }
.pick{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:20px;
  padding:14px;
  box-shadow:0 1px 0 rgba(2,6,23,.05);
}
.pick-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.pick-title{ font-weight:1100; letter-spacing:-.01em; }
.pick-sub{ font-size:12px; color:var(--muted); margin-top:3px; }
.pick-badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface-2);
  font-size:12px;
  color:var(--muted);
  font-weight:900;
}
.tag.good{ color:color-mix(in srgb, var(--good) 70%, var(--text)); background:color-mix(in srgb, var(--good) 12%, var(--surface)); border-color:color-mix(in srgb, var(--good) 30%, var(--border)); }
.tag.accent{ color:color-mix(in srgb, var(--accent) 70%, var(--text)); background:color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color:color-mix(in srgb, var(--accent) 30%, var(--border)); }

.pick-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* Cart */
.cart{ display:flex; flex-direction:column; gap:10px; min-height:60px; }
.cart-empty{ padding:12px; border:1px dashed var(--border); border-radius:16px; color:var(--muted); text-align:center; }
.cart-item{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:10px; border-radius:16px; background:var(--surface-2); border:1px solid var(--border); }
.cart-item .ci-title{ font-weight:1000; font-size:13px; }
.cart-item .ci-sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.cart-item .ci-price{ font-weight:1000; }
.iconbtn{ border:none; background:transparent; cursor:pointer; font-size:18px; line-height:1; padding:6px; border-radius:10px; }
.iconbtn:hover{ background:color-mix(in srgb, var(--surface) 70%, transparent); }

/* Sheets (mobile) */
.sheet{ position:fixed; inset:0; z-index:40; display:none; }
.sheet.open{ display:block; }
.sheet-scrim{ position:absolute; inset:0; background:rgba(2,6,23,.55); }
.sheet-card{
  position:absolute;
  left:0; right:0; bottom:0;
  background:var(--surface);
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  padding:14px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  max-height:78vh;
  overflow:auto;
}
.sheet-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }

/* Forms */
.field{ display:flex; flex-direction:column; gap:6px; }
.lab{ font-size:12px; color:var(--muted); font-weight:900; }
.input{
  width:100%;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
  font:inherit;
}
textarea.input{ resize:vertical; min-height:100px; }

/* Select styling */
.select{
  width:100%;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
  font:inherit;
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat:no-repeat;
}

/* Community */
.feed{ display:flex; flex-direction:column; gap:12px; }
.post{ padding:14px; border-radius:20px; border:1px solid var(--border); background:var(--surface); box-shadow:0 1px 0 rgba(2,6,23,.05); }
.post-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.post-topic{ font-weight:1100; }
.post-meta{ font-size:12px; color:var(--muted); margin-top:2px; }
.post-body{ margin-top:10px; color:color-mix(in srgb, var(--text) 88%, transparent); line-height:1.35; white-space:pre-wrap; }
.post-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.vote{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border); background:var(--surface-2); padding:6px 10px; border-radius:999px; font-weight:1000; color:var(--muted); }

.thread-list{ display:flex; flex-direction:column; gap:10px; }
.thread{ padding:12px; border-radius:18px; border:1px solid var(--border); background:var(--surface-2); }
.thread .t-title{ font-weight:1100; }
.thread .t-sub{ font-size:12px; color:var(--muted); margin-top:4px; }

.stars{ display:inline-flex; gap:6px; }
.star{ cursor:pointer; font-size:18px; line-height:1; opacity:.45; }
.star.on{ opacity:1; }

/* Pricing / tiers */
.checklist{ margin:0; padding-left:18px; color:color-mix(in srgb, var(--text) 88%, transparent); }
.checklist li{ margin:8px 0; }

.tier{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px; border-radius:18px; background:var(--surface-2); border:1px solid var(--border); }
.tier-name{ font-weight:1100; }
.tier-sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.tier-price{ font-weight:1100; color:var(--accent); white-space:nowrap; }

/* Account */
.avatar{ width:48px; height:48px; border-radius:18px; display:grid; place-items:center; background:radial-gradient(120% 120% at 20% 10%, var(--accent-2), var(--accent)); color:white; font-weight:1100; }
.stat{ min-width:120px; padding:10px; border-radius:18px; border:1px solid var(--border); background:var(--surface-2); }
.stat-num{ font-weight:1100; font-size:18px; }
.stat-lab{ font-size:12px; color:var(--muted); margin-top:2px; }
.subs{ display:flex; flex-direction:column; gap:10px; }
.subrow{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px; border-radius:18px; border:1px solid var(--border); background:var(--surface-2); }
.subrow .s-title{ font-weight:1100; }
.subrow .s-sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.purchase{ display:flex; flex-direction:column; }
.purchase-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px 14px; border-top:1px solid var(--border); }
.purchase-row:first-child{ border-top:none; }
.purchase-row .p-title{ font-weight:1100; }
.purchase-row .p-sub{ font-size:12px; color:var(--muted); margin-top:2px; }

/* Live page cards (used by live.js) */
.live-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.live-card{
  border-radius:18px;
  border:1px solid var(--border);
  background:var(--surface);
  padding:14px;
  margin:12px 0;
}
.live-row1{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.live-game{ font-weight:1100; }
.live-meta{ font-size:12px; color:var(--muted); margin-top:2px; }
.live-chip-edge{
  padding:8px 10px;
  border-radius:14px;
  background:color-mix(in srgb, var(--good) 14%, var(--surface));
  border:1px solid color-mix(in srgb, var(--good) 30%, var(--border));
  color:color-mix(in srgb, var(--good) 70%, var(--text));
  font-size:12px;
  font-weight:1000;
  white-space:nowrap;
}
.live-chip-edge.over{
  background:color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color:color-mix(in srgb, var(--accent) 30%, var(--border));
  color:color-mix(in srgb, var(--accent) 70%, var(--text));
}
.live-row2{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}
.live-row2 strong{ color:var(--text); }

/* Promo markup variants */
.promo .promo-inner{ padding:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.promo .promo-eyebrow{ font-weight:1000; font-size:12px; opacity:.8; }
.promo .promo-title{ font-weight:1100; font-size:18px; letter-spacing:-.02em; margin:2px 0 8px; }
.promo .promo-sub{ color:var(--muted); }
.promo .promo-actions{ display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.promo .promo-art{ font-size:40px; opacity:.9; }

/* ------------------------------------------------------------------
   ADDED: Vault / Predictions-style card grid + hidden scrollbars
   ------------------------------------------------------------------ */

.list.vault-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

/* Make cards feel like predictions tiles */
.list.vault-grid .pick{
  border-radius:22px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
}
.list.vault-grid .pick-title{
  font-size:14px;
  line-height:1.2;
}
.list.vault-grid .pick-sub{
  font-size:12px;
}

/* responsive breakpoints */
@media (max-width: 1100px){
  .list.vault-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .list.vault-grid{
    grid-template-columns:unset;
    grid-auto-flow:column;
    grid-auto-columns:minmax(280px, 86%);
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:6px;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .list.vault-grid::-webkit-scrollbar{ display:none; }
  .list.vault-grid .pick{
    scroll-snap-align:start;
  }
}

/* Optional: hide scrollbars on any x-scroll region */
.hide-scrollbar{
  scrollbar-width:none;
}
.hide-scrollbar::-webkit-scrollbar{ display:none; }

/* ==================================================================
   BOARD SCROLL FIX (DESKTOP HARDENING)
   ================================================================== */
.board-scroll{
  scroll-behavior:smooth;
  outline:none;
}
@media (min-width: 980px){
  #boardList.board-scroll{
    scroll-snap-type:x proximity !important;
  }
}

/* =========================================================
   Home menu row (one row scrollable on mobile + desktop)
   ========================================================= */
.menu-row{
  display:flex;
  gap:12px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:2px 2px 10px;
  margin:0;
}
.menu-row::-webkit-scrollbar{ display:none; }

.menu-tile{
  flex:0 0 auto;
  min-width:240px;
  max-width:320px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 12px;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  box-shadow:0 1px 0 rgba(2,6,23,.05);
}
.menu-tile .mi{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, var(--surface));
  border:1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  font-size:18px;
}
.menu-tile .mt{ font-weight:1000; }
.menu-tile .ms{ margin-top:2px; font-size:12px; color:var(--muted); }

/* Desktop: KEEP it a scroll shelf (don’t disable overflow) */
@media (min-width: 980px){
  .menu-row{
    overflow-x:auto;
    padding-bottom:10px;
  }
  .menu-tile{
    flex:0 0 320px;
    max-width:360px;
    min-width:320px;
  }
}
