/* Baselius maroon and gold, taken from the college logo. Light theme by default, dark theme follows the
   device unless the player picks one in Profile (data-theme on <html>). */
:root {
  --bg: #f6f2ef; --surface: #ffffff; --surface-2: #faf6f3; --ink: #211a19; --ink-2: #5d5351; --ink-3: #8b807d;
  --line: #e8dfda; --brand: #7a2a2a; --brand-2: #5c1f1f; --brand-soft: #f6e9e7; --on-brand: #ffffff;
  --gold: #b98a1f; --gold-2: #e2bf62; --gold-soft: #f8efd6;
  --up: #0c8048; --up-soft: #e2f4ea; --down: #c62f28; --down-soft: #fbe7e5; --warn: #9a6200; --warn-soft: #fff3d9;
  --info: #24539f; --info-soft: #e8effb; --shadow: 0 1px 2px rgba(60, 20, 20, .06), 0 6px 20px rgba(60, 20, 20, .06);
  --radius: 14px; --side: 248px; --tab: 62px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141111; --surface: #1e1a1a; --surface-2: #262121; --ink: #f3edeb; --ink-2: #bdb2af; --ink-3: #8f8582;
    --line: #362e2d; --brand: #b4514b; --brand-2: #5c1f1f; --brand-soft: #33201f; --on-brand: #ffffff;
    --gold: #e2bf62; --gold-2: #e2bf62; --gold-soft: #33290f;
    --up: #45c887; --up-soft: #12301f; --down: #ff756c; --down-soft: #3a1917; --warn: #f0b84a; --warn-soft: #34270d;
    --info: #7fa9f0; --info-soft: #17233a; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #141111; --surface: #1e1a1a; --surface-2: #262121; --ink: #f3edeb; --ink-2: #bdb2af; --ink-3: #8f8582;
  --line: #362e2d; --brand: #b4514b; --brand-2: #5c1f1f; --brand-soft: #33201f; --on-brand: #ffffff;
  --gold: #e2bf62; --gold-2: #e2bf62; --gold-soft: #33290f;
  --up: #45c887; --up-soft: #12301f; --down: #ff756c; --down-soft: #3a1917; --warn: #f0b84a; --warn-soft: #34270d;
  --info: #7fa9f0; --info-soft: #17233a; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 22px; letter-spacing: -.01em; }
h2 { font-size: 17px; letter-spacing: -.01em; }
h3 { font-size: 15px; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); } .muted { color: var(--ink-3); } .ink2 { color: var(--ink-2); }
.small { font-size: 13px; } .tiny { font-size: 12px; } .bold { font-weight: 650; } .right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; } .grow { flex: 1; min-width: 0; } .hide { display: none !important; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; } .stack-s > * + * { margin-top: 6px; }
.mt { margin-top: 12px; } .mt-l { margin-top: 20px; }

/* ---------- shell ---------- */
.app { min-height: 100vh; }
.side { display: none; }
.top { position: sticky; top: 0; z-index: 20; background: var(--brand-2); color: #fff; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top));
  display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--gold-2); }
.top .mark { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.top .ttl { font-weight: 650; font-size: 15px; line-height: 1.15; }
.top .sub { font-size: 11px; opacity: .8; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; font-weight: 650; font-size: 13px; flex: none; }
.view { padding: 14px 14px calc(var(--tab) + 26px + env(safe-area-inset-bottom)); max-width: 1120px; margin: 0 auto; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line);
  display: flex; padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; height: var(--tab); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--ink-3); font-size: 11px; font-weight: 550; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--brand); }
.statusbar { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; margin-top: 5px; }
.dot.open { background: var(--up); box-shadow: 0 0 0 3px var(--up-soft); } .dot.warn { background: var(--warn); }
.page-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: var(--side) 1fr; }
  .top, .tabbar { display: none; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: var(--brand-2); color: #fff; padding: 16px 12px; overflow: auto; }
  .side .banner { width: 100%; border-radius: 10px; display: block; }
  .side .name { font-weight: 650; margin: 12px 6px 2px; font-size: 15px; line-height: 1.25; }
  .side .dept { font-size: 11.5px; opacity: .75; margin: 0 6px 14px; }
  .side nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 550; margin-bottom: 2px; }
  .side nav a svg { width: 20px; height: 20px; }
  .side nav a:hover { background: rgba(255, 255, 255, .08); }
  .side nav a.on { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 3px 0 0 var(--gold-2); }
  .side .foot { margin-top: auto; font-size: 11px; opacity: .7; line-height: 1.5; padding: 12px 6px 0; }
  .view { padding: 26px 32px 40px; width: 100%; }
}

/* ---------- building blocks ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card > h2, .card > h3 { margin-bottom: 10px; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .g4 { grid-template-columns: repeat(4, 1fr); } .cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; } .cols > .stack { margin-top: 0; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.tile .k { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.tile .v { font-size: 17px; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .s { font-size: 12px; margin-top: 1px; font-variant-numeric: tabular-nums; }

.hero { background: linear-gradient(135deg, #5a1e1e 0%, #7d2d2a 60%, #8f3a30 100%); color: #fff; border-radius: 18px; padding: 18px; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(90, 30, 30, .25); border: 1px solid rgba(226, 191, 98, .45); }
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(226, 191, 98, .12); }
.hero .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .8; font-weight: 600; }
.hero .big { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.hero .chip { display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.hero .chip.up { color: #8cf0b9; } .hero .chip.down { color: #ffb0a8; }
.hero .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.hero .trio > div { background: rgba(0, 0, 0, .18); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.hero .trio .k { font-size: 10.5px; } .hero .trio .v { font-weight: 650; font-size: 14.5px; font-variant-numeric: tabular-nums; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.pill.up { background: var(--up-soft); color: var(--up); border-color: transparent; }
.pill.down { background: var(--down-soft); color: var(--down); border-color: transparent; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.pill.gold { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.pill.brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 10px; padding: 9px 14px; font-weight: 600; min-height: 40px; text-decoration: none; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn.primary:hover { background: #6d2626; }
.btn.buy { background: #0c8048; border-color: #0c8048; color: #fff; }
.btn.sell { background: #c62f28; border-color: #c62f28; color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--brand); }
.btn.sm { min-height: 32px; padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; } .btn.lg { min-height: 48px; font-size: 16px; }
.icon-btn { border: 0; background: transparent; padding: 6px; border-radius: 8px; color: inherit; }
.icon-btn svg { width: 20px; height: 20px; }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; max-width: 100%; }
.seg.block { display: flex; } .seg.block button { flex: 1; }
.seg button { border: 0; background: transparent; padding: 7px 13px; border-radius: 8px; font-weight: 600; color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--brand); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg button.on.buy { background: #0c8048; color: #fff; } .seg button.on.sell { background: #c62f28; color: #fff; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 550; white-space: nowrap; color: var(--ink-2); }
.chips button.on { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }

.field { display: block; }
.field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.field small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.inp, select.inp, textarea.inp { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; min-height: 42px; outline: none; }
.inp:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search { position: relative; }
.search svg { position: absolute; left: 11px; top: 12px; width: 18px; height: 18px; color: var(--ink-3); }
.search .inp { padding-left: 36px; }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; border: 0; background: var(--surface-2); font-size: 20px; font-weight: 600; color: var(--ink-2); }
.stepper input { flex: 1; min-width: 0; border: 0; text-align: center; background: transparent; font-weight: 650; font-size: 17px; outline: none; padding: 9px 4px; font-variant-numeric: tabular-nums; }

.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; }
.item:first-child { border-top: 0; }
button.item:hover, a.item:hover { background: var(--surface-2); }
.item .t { font-weight: 620; } .item .d { font-size: 12.5px; color: var(--ink-3); }
.empty { padding: 26px 16px; text-align: center; color: var(--ink-3); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; }
.sec-h h2 { font-size: 15px; } .sec-h a, .sec-h button { font-size: 13px; font-weight: 600; text-decoration: none; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 650; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.me td { background: var(--gold-soft); }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: var(--surface-2); }
.scroll-x { overflow-x: auto; }
@media (max-width: 640px) { .hide-s { display: none !important; } .tbl th, .tbl td { padding: 9px 8px; } }

.banner-msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--ink); border: 1px solid rgba(185, 138, 31, .35); font-size: 14px; }
.banner-msg svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--gold); }
.note { padding: 10px 12px; border-radius: 10px; background: var(--info-soft); color: var(--ink); font-size: 13.5px; border-left: 3px solid var(--info); }
.note.warn { background: var(--warn-soft); border-color: var(--warn); } .note.good { background: var(--up-soft); border-color: var(--up); } .note.bad { background: var(--down-soft); border-color: var(--down); }
.progress { height: 7px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold-2); border-radius: 99px; }
.progress.done i { background: var(--up); }
.rank-badge { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); flex: none; font-variant-numeric: tabular-nums; }
.rank-badge.r1 { background: #f3cf5e; color: #5b3d00; border-color: #d9ad2c; } .rank-badge.r2 { background: #dfe3e8; color: #3a4350; border-color: #b9c0ca; } .rank-badge.r3 { background: #e8b88f; color: #5a2d0c; border-color: #cf955f; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 0; font-size: 14px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; padding-left: 14px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 560; word-break: break-word; }
.kv .total { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 700; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* option chain */
.chain { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chain th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 8px 6px; background: var(--surface-2); position: sticky; top: 0; }
.chain td { padding: 0; border-top: 1px solid var(--line); text-align: center; }
.chain td.k { font-weight: 700; padding: 0 8px; background: var(--surface-2); width: 26%; }
.chain button { width: 100%; border: 0; background: transparent; padding: 11px 6px; font-weight: 600; }
.chain button:hover { background: var(--brand-soft); }
.chain td.itm { background: var(--gold-soft); }
.chain tr.atm td.k { background: var(--brand-2); color: #fff; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(20, 10, 10, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet { background: var(--surface); width: 100%; max-width: 480px; max-height: 94vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); animation: rise .2s ease; }
.sheet.wide { max-width: 760px; }
.sheet-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
@media (min-width: 700px) { .overlay { align-items: center; padding: 20px; } .sheet { border-radius: 18px; } }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { transform: translateY(24px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .overlay, .sheet, .toast { animation: none; } }
#toasts { position: fixed; left: 0; right: 0; top: calc(10px + env(safe-area-inset-top)); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast { background: #2a2221; color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 14px; max-width: 460px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); animation: rise .2s ease; border-left: 4px solid var(--gold-2); pointer-events: auto; }
.toast.good { border-color: #45c887; } .toast.bad { border-color: #ff756c; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.dark { border-color: var(--line); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sign-in ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px 14px 30px; background:
  radial-gradient(1200px 500px at 50% -10%, rgba(122, 42, 42, .16), transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .logo { width: 100%; border-radius: 12px; display: block; box-shadow: 0 8px 24px rgba(90, 30, 30, .22); }
.auth-card h1 { margin-top: 16px; text-align: center; }
.auth-card .tag { text-align: center; color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.credit { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.steps { display: flex; gap: 6px; margin-bottom: 14px; }
.steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--brand); }
.quiz label { display: flex; gap: 8px; align-items: flex-start; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; font-size: 14px; cursor: pointer; }
.quiz input { margin-top: 3px; accent-color: var(--brand); }
.idcard { background: linear-gradient(135deg, #5a1e1e, #8f3a30); color: #fff; border-radius: 16px; padding: 16px; border: 1px solid rgba(226, 191, 98, .5); }
.idcard .kv dt { color: rgba(255, 255, 255, .7); } .idcard .kv dd { font-weight: 650; }
.rules-box { max-height: 170px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; background: var(--surface-2); }
.rules-box li { margin: 3px 0; } .rules-box ul { margin: 0; padding-left: 18px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }

/* ---------- learn ---------- */
.learn details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow); }
.learn summary { list-style: none; cursor: pointer; padding: 13px 14px; display: flex; align-items: center; gap: 12px; font-weight: 650; }
.learn summary::-webkit-details-marker { display: none; }
.learn summary .n { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.learn summary .d { font-weight: 400; font-size: 12.5px; color: var(--ink-3); display: block; }
.learn summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--ink-3); font-weight: 400; line-height: 1; }
.learn details[open] > summary::after { content: "\2212"; }
.learn .body { padding: 2px 14px 14px; font-size: 14.5px; color: var(--ink); }
.learn .body p { margin: 8px 0; } .learn .body ul, .learn .body ol { margin: 8px 0; padding-left: 20px; } .learn .body li { margin: 4px 0; }
.learn .body h4 { margin: 14px 0 4px; font-size: 14.5px; color: var(--brand); }
.learn .eg { background: var(--gold-soft); border-radius: 10px; padding: 10px 12px; margin: 10px 0; font-size: 14px; border-left: 3px solid var(--gold-2); }
.learn table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
.learn th, .learn td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.learn th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-3); }

.demo-bar { background: #2a2221; color: #f6e7c3; font-size: 12px; padding: 5px 10px; display: flex; gap: 4px 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.demo-bar > span { flex-basis: 100%; text-align: center; }
@media (min-width: 700px) { .demo-bar > span { flex-basis: auto; margin-right: 6px; } }
.demo-bar button { border: 1px solid rgba(246, 231, 195, .4); background: transparent; color: #f6e7c3; border-radius: 7px; padding: 2px 7px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.demo-bar b { color: #fff; }
.splash { min-height: 100vh; display: grid; place-items: center; text-align: center; color: var(--ink-2); padding: 20px; }
.splash img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 14px; display: block; }
