/* SEALSLAB base.css: design tokens, self-hosted fonts, type, chrome (nav, drawer, phone strip, preview bar, footer), components.
   Pastel holographic, cool, light only. Rainbow / iridescence never appears here (only on holo/chase cards and the pack foil, in 3D).
   Owner: APP. LANDING imports it read-only; request changes in BRIEF.md "Change log". */

@font-face { font-family: 'Shrikhand'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/shrikhand-latin-400.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/newsreader-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/newsreader-latin-italic.woff2) format('woff2'); }

:root {
  color-scheme: light;
  /* brief tokens */
  --paper: #F3F5FB;
  --paper-2: #E8ECF6;
  --panel: #FFFFFF;
  --line: #D3D9E8;
  --ink: #1D2747;
  --dim: #66708C;
  --lilac: #B8A6F0;
  --mint: #9EE2CC;
  --peach: #FFC6A6;
  --sky: #A8D1F4;
  --tier-common: #C7CFE0;
  --tier-rare: #A8D1F4;
  --tier-holo: #B8A6F0;      /* DOM stand-in only; the real holo look is the 3D shader */
  --tier-chase: #FFC6A6;
  --ok: #2E9E77;
  --bad: #D9545A;
  /* derived (contrast-checked: all ≥ 4.5:1 on --paper, --panel and --paper-2) */
  --muted: #556079;          /* small secondary text */
  --ok-ink: #1F7A5B;         /* green text */
  --bad-ink: #B8414A;        /* red text */
  --ink-2: #2B3760;          /* hover for ink buttons */
  --line-2: #BCC4D8;         /* stronger hairline (inputs) */
  --lilac-wash: #EFEBFC;
  --mint-wash: #E4F6EF;
  --peach-wash: #FFF0E7;
  --sky-wash: #E6F1FC;
  --bad-wash: #FBE9EA;

  --display: 'Shrikhand', 'Newsreader', Georgia, serif;
  --body: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 0 rgba(29, 39, 71, .04), 0 10px 28px -16px rgba(29, 39, 71, .28);
  --shadow-sm: 0 1px 0 rgba(29, 39, 71, .05), 0 4px 12px -8px rgba(29, 39, 71, .25);
  --nav-h: 64px;
  --mbar-h: 0px;
  --banner-h: 0px;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + var(--banner-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-mbar { padding-bottom: var(--mbar-h); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lilac); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── type ─────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; }
h1, .display { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 1.02; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
small, .small { font-size: 15px; }
.tiny { font-size: 13px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.num, .tbl td, .kv dd, .stat .v { font-variant-numeric: tabular-nums lining-nums; }
.mono-ish { font-variant-numeric: tabular-nums lining-nums; letter-spacing: .01em; }
.break { word-break: break-all; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.label, .kicker {
  font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.kicker { display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--lilac); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink); max-width: 62ch; }
em, i { font-style: italic; }
code, kbd {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .84em;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.ok-t { color: var(--ok-ink); }
.bad-t { color: var(--bad-ink); }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--panel); color: var(--ink);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--lilac-wash); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-bad { border-color: var(--bad-ink); color: var(--bad-ink); }
.btn-bad:hover { background: var(--bad-wash); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 18px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; flex: none;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--lilac-wash); border-color: var(--lilac); }
.icon-btn svg { width: 18px; height: 18px; }

/* ── chips, tags, dots ────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 500 15px/1 var(--body); cursor: pointer;
}
.chip:hover { border-color: var(--lilac); background: var(--lilac-wash); }
.chip svg { width: 15px; height: 15px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 12.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  background: var(--paper-2); border: 1px solid transparent; white-space: nowrap;
}
.tag-common { background: var(--tier-common); }
.tag-rare { background: var(--tier-rare); }
.tag-holo { background: var(--tier-holo); }
.tag-chase { background: var(--tier-chase); border-color: var(--ink); }
.tag-mint { background: var(--mint); }
.tag-lilac { background: var(--lilac); }
.tag-peach { background: var(--peach); }
.tag-sky { background: var(--sky); }
.tag-ok { background: var(--mint-wash); color: var(--ok-ink); border-color: var(--mint); }
.tag-bad { background: var(--bad-wash); color: var(--bad-ink); border-color: #F2C3C5; }
.tag-line { background: transparent; border-color: var(--line-2); color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; vertical-align: middle; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(46, 158, 119, .18); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(217, 84, 90, .16); }
.dot.wait { background: var(--peach); box-shadow: 0 0 0 3px rgba(255, 198, 166, .4); }
.dot.blink { animation: sb-blink 1.6s ease-in-out infinite; }
@keyframes sb-blink { 50% { opacity: .35; } }

/* ── panels ───────────────────────────────────────────── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-h h2, .card-h h3 { font-size: 19px; }
.card-h .meta { margin-left: auto; }
.card-b { padding: 18px; }
.sunk { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.stat .v { font-size: 25px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.stat .sub { font-size: 14px; color: var(--muted); }
.stat.accent-lilac { box-shadow: inset 0 4px 0 var(--lilac); }
.stat.accent-mint { box-shadow: inset 0 4px 0 var(--mint); }
.stat.accent-peach { box-shadow: inset 0 4px 0 var(--peach); }
.stat.accent-sky { box-shadow: inset 0 4px 0 var(--sky); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* dense price-guide table */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th {
  text-align: left; font-weight: 600; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper); white-space: nowrap; position: sticky; top: 0;
}
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) td { background: #F9FAFD; }
.tbl .r, .tbl th.r { text-align: right; }
.tbl td.r, .tbl td.num, .tbl .ext, .tbl .tag { white-space: nowrap; }
.tbl a { text-decoration-color: var(--line-2); }
.tbl .empty-row td { color: var(--muted); text-align: center; padding: 22px; font-style: italic; }

/* forms */
.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--panel);
  font: 400 16px/1 var(--body); color: var(--ink);
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lilac-wash); }
select.input { padding-right: 34px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* notices */
.banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px;
  background: var(--sky-wash); border: 1px solid var(--sky); font-size: 16px;
}
.banner.warn { background: var(--peach-wash); border-color: var(--peach); }
.banner.bad { background: var(--bad-wash); border-color: #F2C3C5; }
.banner.ok { background: var(--mint-wash); border-color: var(--mint); }
.note { padding: 12px 16px; border-left: 4px solid var(--lilac); background: var(--lilac-wash); border-radius: 0 12px 12px 0; font-size: 16px; }
.err-box { padding: 12px 16px; border-radius: 12px; background: var(--bad-wash); color: var(--bad-ink); border: 1px solid #F2C3C5; }
.empty { padding: 26px; text-align: center; color: var(--muted); font-style: italic; }
.skel {
  display: inline-block; min-width: 80px; height: 1em; border-radius: 6px; vertical-align: middle;
  background: linear-gradient(90deg, var(--paper-2) 0%, #F7F8FC 50%, var(--paper-2) 100%); background-size: 200% 100%;
  animation: sb-shimmer 1.3s linear infinite;
}
@keyframes sb-shimmer { to { background-position: -200% 0; } }
.bar { height: 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--mint); box-shadow: inset 0 0 0 1px rgba(29, 39, 71, .12); transition: width .6s ease; }

/* ── nav ──────────────────────────────────────────────── */
.sb-skiplink { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.sb-skiplink:focus { top: 10px; }
.sb-nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgba(243, 245, 251, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.sb-nav.overlay { position: fixed; left: 0; right: 0; background: rgba(243, 245, 251, .72); }
.sb-nav > .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.sb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.sb-logo:hover { text-decoration: none; }
.sb-logo svg { width: 30px; height: 30px; }
.sb-word { font: 400 23px/1 var(--display); letter-spacing: .01em; transform: translateY(1px); }
.sb-links { display: flex; align-items: center; gap: 2px; }
.sb-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); }
.sb-links a:hover { background: var(--paper-2); }
.sb-links a[aria-current="page"] { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--lilac); }
.sb-nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sb-ca-chip { white-space: nowrap; flex-shrink: 0; }
.sb-ca-chip .sb-ca-k { font-weight: 600; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.sb-burger { display: none; }
.sb-drawer {
  display: none; position: fixed; z-index: 39; left: 0; right: 0; top: var(--nav-h);
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.sb-drawer.open { display: block; }
.sb-dl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 20px; font-weight: 500; }
.sb-dl .label { font-size: 12px; }
.sb-dl[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lilac); text-decoration-thickness: 3px; }
.sb-drawer-row { display: flex; align-items: center; gap: 10px; padding-top: 14px; flex-wrap: wrap; }

/* countdown */
.sb-countdown { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sb-countdown .soon { font-style: italic; color: var(--muted); }
.sb-countdown .live { font-weight: 600; color: var(--ok-ink); }
.sb-countdown .c { display: inline-flex; align-items: baseline; gap: 1px; }
.sb-countdown .c b { font-weight: 600; }
.sb-countdown .c small { font-size: 11px; color: var(--muted); }
.sb-countdown .when { color: var(--muted); font-size: 13px; }
.sb-countdown.big { font-size: 22px; gap: 12px; flex-wrap: wrap; white-space: normal; }
.sb-countdown.big .c b { font: 400 34px/1 var(--display); }

/* CA strip */
.sb-ca { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.sb-ca-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sb-ca-addr { font-size: 15px; overflow-wrap: anywhere; min-width: 0; }
.sb-ca-addr.pending { color: var(--muted); font-style: italic; }

/* preview bar (full-width, under the nav) */
.sb-preview {
  position: relative; z-index: 38; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 8px var(--gutter); background: var(--peach-wash); border-bottom: 1px solid var(--peach); font-size: 15px; text-align: center;
}
.sb-preview .tag { background: var(--peach); }
.sb-preview.fixed { position: fixed; left: 0; right: 0; top: var(--nav-h); }

/* phone bottom strip */
.sb-mbar { display: none; }

/* footer */
.sb-foot { margin-top: 72px; background: var(--paper-2); border-top: 1px solid var(--line); padding: 44px 0 28px; }
.sb-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.sb-foot h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sb-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sb-foot ul a { display: inline-block; padding: 4px 0; text-decoration: none; }
.sb-foot ul a:hover { text-decoration: underline; }
.sb-foot-about { max-width: 52ch; margin: 14px 0; color: var(--muted); }
.sb-foot-social { display: flex; gap: 8px; }
.sb-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.sb-legal { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 110ch; }
.sb-legal b { color: var(--ink); font-weight: 600; }

/* toast + dialog */
.sb-toast {
  position: fixed; z-index: 90; left: 50%; top: calc(var(--nav-h) + var(--banner-h) + 12px); transform: translate(-50%, -8px);
  max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--paper);
  font-size: 16px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.sb-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sb-toast.ok { background: var(--ok-ink); }
.sb-toast.err { background: var(--bad-ink); }
.sb-dialog { border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.sb-dialog::backdrop { background: rgba(29, 39, 71, .32); }
.sb-dialog header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 20px; border-bottom: 1px solid var(--line); }
.sb-dialog h3 { font-size: 20px; }
.sb-dialog .body { padding: 16px 20px; }
.sb-dialog .actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 18px; }
.sb-wallets { display: grid; gap: 8px; }
.sb-wallets button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 500; text-align: left; }
.sb-wallets button:hover { background: var(--lilac-wash); border-color: var(--lilac); }
.sb-wallets img { width: 28px; height: 28px; border-radius: 6px; }
.sb-connect.wrong { border-color: var(--bad-ink); color: var(--bad-ink); }

/* ── shared content bits (also usable by the 3D pages) ── */
.ext { display: inline-flex; align-items: center; gap: 3px; }
.ext svg { width: 13px; height: 13px; opacity: .7; flex: none; }
.ext-i { display: inline-flex; }

/* grading-label chips for cards (DOM stand-in: a slab label, never a card picture) */
.slabs { display: flex; gap: 6px; flex-wrap: wrap; }
.slab {
  display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; min-width: 0;
  padding: 5px 9px 5px 9px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line-2);
  box-shadow: inset 0 3px 0 var(--tier-common); font-size: 13.5px; line-height: 1.2; white-space: nowrap;
}
.slab b { font: 400 15px/1.1 var(--display); letter-spacing: .01em; }
.slab .v { color: var(--muted); font-variant-numeric: tabular-nums; }
.slab.t1 { box-shadow: inset 0 3px 0 var(--tier-rare); }
.slab.t2 { box-shadow: inset 0 3px 0 var(--tier-holo); background: var(--lilac-wash); }
.slab.t3 { box-shadow: inset 0 3px 0 var(--tier-chase); background: var(--peach-wash); border-color: var(--ink); }
.slab.gone { background: var(--paper-2); }
.slab.pending { border-style: dashed; }

/* feed / log */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.log li:last-child { border-bottom: 0; }
.log .t { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.log li.new { animation: sb-flash 1.6s ease-out; }
@keyframes sb-flash { from { background: var(--mint-wash); } to { background: transparent; } }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1100px) { .sb-hide-md { display: none !important; } }
@media (max-width: 860px) {
  :root { --nav-h: 60px; --gutter: 16px; }
  .sb-links, .sb-hide-sm { display: none !important; }
  .sb-burger { display: inline-grid; width: 44px; height: 44px; }
  .sb-drawer .icon-btn { width: 44px; height: 44px; }
  body.has-mbar { --mbar-h: 64px; }
  .sb-mbar {
    display: flex; align-items: center; gap: 8px; position: fixed; z-index: 41; left: 0; right: 0; bottom: 0;
    height: calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px)); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(243, 245, 251, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .sb-mbar .chip, .sb-mbar .btn { min-height: 44px; }
  .sb-mbar .chip { flex: 1; justify-content: center; min-width: 0; }
  .sb-mbar .btn { flex: 1; }
  .sb-foot-grid { grid-template-columns: 1fr 1fr; }
  .sb-foot-grid > :first-child { grid-column: 1 / -1; }
  .sb-foot ul a { padding: 10px 0; }
  .btn-sm, .chip { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .log li { grid-template-columns: 1fr auto; }
  .log li .t { grid-column: 1 / -1; }
  .sb-toast { top: auto; bottom: calc(var(--mbar-h) + 14px); }
}
@media (max-width: 420px) {
  .sb-word { font-size: 21px; }
  .stat .v { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
