:root { color-scheme: light; --blue: #003399; font-family: 'Courier New', Courier, monospace; color: var(--blue); background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
main { margin: 0 auto; max-width: 1440px; border-left: 1px solid var(--blue); border-top: 1px solid var(--blue); }
.cell, .masthead > * { margin: 0; padding: 22px 18px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); min-width: 0; }
h1, h2, p { margin: 0; }
h2, label, small, .section-line, .status-line, th, td { font-size: 12px; font-weight: normal; line-height: 1.5; }
h2 { margin-bottom: 22px; }
p { line-height: 1.5; }
.masthead { display: grid; grid-template-columns: 1fr auto; }
h1 { grid-column: 1 / -1; font-size: clamp(36px, 9vw, 112px); font-weight: normal; letter-spacing: -.04em; line-height: 1; }
.edition { font-size: 16px; line-height: 1.2; }
.masthead .mode { display: flex; align-items: center; justify-content: center; background: var(--blue); color: white; font-size: 14px; border-top: 0; border-left: 0; }
.masthead .mode:focus-visible { outline-color: white; outline-offset: -7px; }
.intro { font-size: 12px; }
.intro p + p { margin-top: 8px; }
.metrics, .controls { display: grid; grid-template-columns: 1fr; }
.metric { font-size: clamp(22px, 4vw, 36px); line-height: 1.2; margin: 0 0 8px; overflow-wrap: anywhere; }
.metrics h2 { margin-bottom: 14px; }
form { display: grid; gap: 10px; }
label:not(:first-child) { margin-top: 10px; }
input, select, button { font: inherit; font-size: 14px; color: inherit; background: #fff; border: 1px solid var(--blue); border-radius: 0; min-height: 46px; padding: 10px; width: 100%; min-width: 0; }
button { cursor: pointer; }
form button { margin-top: 12px; text-align: left; }
button:hover:enabled { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px double var(--blue); outline-offset: 3px; }
:disabled { opacity: .45; cursor: not-allowed; }
.year-display { font-size: 72px; line-height: 1; padding-bottom: 28px; letter-spacing: -.07em; }
.year-display span + span { font-size: 24px; letter-spacing: -.04em; margin-left: 8px; }
.section-line { display: flex; justify-content: space-between; gap: 12px; }
.section-line span { white-space: nowrap; }
#positions { display: grid; }
.position { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--blue); min-width: 0; }
.position p { font-size: 14px; overflow-wrap: anywhere; }
.position small { display: block; margin-top: 5px; }
.position button { align-self: center; }
.genealogy > p { font-size: 12px; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th, td { padding: 12px 16px 12px 0; border-top: 1px solid var(--blue); }
.status-line { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
#status[data-error="true"] { font-weight: bold; }
footer { display: grid; gap: 22px; font-size: 12px; }
footer p + p { margin-top: 12px; }
body:has(#portfolio-dialog[open]) { overflow: hidden; }
#portfolio-dialog { color: var(--blue); background: #fff; border: 1px solid var(--blue); padding: 0; width: min(1040px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
#portfolio-dialog::backdrop { background: rgb(0 51 153 / .25); }
.portfolio-header { position: sticky; top: 0; background: white; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--blue); }
.portfolio-header h2 { margin: 0; font-size: 18px; }
#portfolio-close { width: auto; flex-shrink: 0; }
#portfolio-disclosure, #portfolio-status { padding: 12px 16px; font-size: 12px; overflow-wrap: anywhere; }
#portfolio-status[data-error="true"] { font-weight: bold; }
#portfolio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
#portfolio-grid:not(:empty) { border-top: 1px solid var(--blue); }
.portfolio-card { min-width: 0; padding: 16px; background: white; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); overflow-wrap: anywhere; }
.portfolio-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; margin-bottom: 16px; }
.portfolio-card h3 { font-size: 16px; font-weight: normal; margin: 0 0 12px; }
.portfolio-card p { font-size: 12px; }
.portfolio-card .portfolio-value { font-size: 20px; margin-bottom: 8px; }
.portfolio-genealogy { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--blue); }
@media (min-width: 560px) {
  #portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  #portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .position { grid-template-columns: 1fr 1fr 170px; align-items: center; }
  footer { grid-template-columns: 1fr 190px; align-items: center; }
}
@media (min-width: 960px) {
  .cell, .masthead > * { padding: 28px; }
  .masthead { grid-template-columns: 1fr 190px 160px; }
  h1 { grid-column: auto; font-size: 100px; }
  .edition { display: flex; align-items: center; }
}

.artwork { position: relative; margin: 0; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.artwork img, .artwork canvas { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.artwork canvas, .bloom-animation { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.artwork button { position: absolute; bottom: 0; right: 0; z-index: 2; width: auto; background: #fff; }
#market-art, #burn-preview { max-width: 220px; width: 100%; margin: auto; }
#motion-toggle { width: auto; margin-top: 10px; }
details { margin-top: 18px; } summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 13px; }
details p { margin-bottom: 12px; font-size: 12px; } .artistic form { max-width: 600px; }
.confirm { display: flex; align-items: center; gap: 12px; } .confirm input { width: 24px; min-width: 24px; }
.portfolio-art { height: auto; } .portfolio-art img { object-fit: contain; }

/* LIVE / SEPOLIA additions. Same grid, fonts and #003399 blue as the root page. */
[hidden] { display: none !important; }
a { color: inherit; }
.wallet-line { display: grid; gap: 12px; margin-bottom: 12px; }
.wallet-line p { overflow-wrap: anywhere; }
.wallet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet-actions button { width: auto; flex: 1 1 160px; text-align: left; }
.add-cash { margin-top: 18px; font-size: 14px; }
.add-cash a { display: inline-block; min-height: 44px; padding: 12px 0; }
.calendar { font-size: 14px; margin-bottom: 12px; }
.countdown-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 8px; }
#countdown { font-size: 28px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#clock-note { display: block; margin-bottom: 18px; }
#clock-note:empty { display: none; }
.genesis { background: var(--blue); color: #fff; padding: 18px; margin: 0 0 18px; }
.genesis p { font-size: 13px; margin: 0 0 10px; }
.genesis .genesis-date { font-size: 12px; letter-spacing: .08em; }
.genesis blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.3; }
.genesis .genesis-call { margin: 0; font-size: 14px; letter-spacing: .04em; }
.prices-scroll table { white-space: normal; }
caption { text-align: left; font-size: 12px; padding-bottom: 8px; }
.prices-scroll th, .prices-scroll td { padding: 10px 0 10px 16px; text-align: right; font-variant-numeric: tabular-nums; }
.prices-scroll th:first-child, .prices-scroll td:first-child { padding-left: 0; text-align: left; }
.prices-scroll table { table-layout: fixed; }
.prices-scroll th:first-child { width: 34%; }
details.sub-fold { margin-top: 18px; }
.portfolio-card .portfolio-art { padding: 0; border: 0; background: none; aspect-ratio: auto; }
.portfolio-card .portfolio-art .position-art { width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; object-fit: contain; }
.portfolio-card .portfolio-art.bloom-art, .portfolio-card .portfolio-art .bloom-art { width: 100%; aspect-ratio: 1; }
details.fold > summary.section-line h2 { flex: 1; }
details.fold > summary.section-line span { margin-left: auto; }
.review p, .pending p { font-size: 13px; margin-bottom: 12px; overflow-wrap: anywhere; }
#review-copy { white-space: pre-line; }
.review-actions, .burn-actions { display: grid; gap: 10px; }
.review-actions button, .burn-actions button, #check-pending { text-align: left; margin-top: 0; }
.artistic h3 { font-size: 12px; font-weight: normal; margin: 18px 0 8px; }
.artistic ul { margin: 0 0 12px; padding-left: 18px; font-size: 12px; line-height: 1.5; }
#deadbloom-status[data-error="true"] { font-weight: bold; }
#deadbloom-review-copy { white-space: pre-line; font-size: 12px; overflow-wrap: anywhere; }
#deadbloom-pending-copy, #deadbloom-inventory { overflow-wrap: anywhere; }
.deadbloom-input { display: grid; gap: 6px; margin: 10px 0; }
.deadbloom-input label { margin-top: 0; }
#deadbloom-review button, #deadbloom-pending button { margin-top: 12px; text-align: left; }
.confirm { align-items: flex-start; line-height: 1.5; }
.confirm input { min-height: 24px; margin-top: 2px; }
#diagnostics { overflow-wrap: anywhere; font-size: 11px; }
.status-line #status { overflow-wrap: anywhere; min-width: 0; }
.portfolio-card img.portfolio-art { object-fit: contain; image-rendering: pixelated; aspect-ratio: auto; }
@media (min-width: 640px) {
  .wallet-line { grid-template-columns: 1fr auto; align-items: center; }
  .review-actions, .burn-actions { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; }
}

/* WIZARD + EXCHANGE REVIEW DIALOGS. Modeled on the white/blue /mint/ steps:
   step counter, one question per screen, one primary button, typewriter
   titles and the EP imprint while waiting. Animations namespaced (wiz-*). */
.artistic > p { font-size: 13px; margin-bottom: 18px; max-width: 640px; overflow-wrap: anywhere; }
.artistic > small { display: block; margin-top: 12px; }
.wiz-entry { max-width: 400px; min-height: 56px; text-align: left; font-size: 14px; letter-spacing: .01em; }
body:has(dialog.wiz[open]) { overflow: hidden; }
dialog.wiz { color: var(--blue); background: #fff; border: 1px solid var(--blue); padding: 0; width: min(560px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
dialog.wiz::backdrop { background: rgb(0 51 153 / .25); }
.wiz-head { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--blue); font-size: 12px; }
.wiz-x { width: auto; min-height: 44px; border: 0; padding: 10px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.wiz-x:hover:enabled { background: transparent; color: var(--blue); }
.wiz-body { padding: 28px 20px 24px; display: grid; gap: 18px; min-width: 0; }
.wiz-typewriter { max-width: 100%; min-width: 0; }
.wiz-title { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.wiz-type { width: max-content; max-width: 100%; white-space: nowrap; overflow: hidden; border-right: 1px solid var(--blue); animation: wiz-type 1.2s steps(24, end) both, wiz-cursor .8s step-end infinite; }
.wiz-step { display: grid; gap: 14px; min-width: 0; }
.wiz-q { font-size: 15px; line-height: 1.45; }
.wiz-note, .wiz-reason, .wiz-sub p, .wiz-review p, .wiz-review li { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.wiz-reason:empty { display: none; }
.wiz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--blue); border-left: 1px solid var(--blue); }
.wiz-card { display: grid; gap: 6px; align-content: start; justify-items: start; text-align: left; padding: 10px; min-height: 0; border: 0; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); font-size: 12px; }
.wiz-card strong { font-weight: normal; font-size: 12px; overflow-wrap: anywhere; }
.wiz-card small { font-size: 10px; }
.wiz-card[aria-pressed="true"] { background: var(--blue); color: #fff; }
.wiz-art { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; background: #fff; }
.wiz-mark { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 1px solid currentColor; font-size: 28px; }
.wiz-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--blue); }
.wiz-row label { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.wiz-row input { min-height: 44px; text-align: right; }
.wiz-check { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--blue); display: grid; gap: 4px; font-size: 13px; }
.wiz-check li[data-ok="false"] { opacity: .6; }
.wiz-sub { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--blue); }
.wiz-sub ul { margin: 0; padding-left: 18px; font-size: 12px; }
.wiz-sub button { text-align: left; }
.wiz-review { display: grid; gap: 10px; }
.wiz-review h3 { font-size: 12px; font-weight: normal; margin: 4px 0 0; }
.wiz-review ul { margin: 0; padding-left: 18px; }
.wiz-receive { font-size: 16px !important; }
.wiz-warning { padding: 10px 12px; border: 1px solid var(--blue); }
.wiz-details { margin-top: 0; }
.wiz-details p { white-space: pre-line; overflow-wrap: anywhere; font-size: 11px; }
#deadbloom-review { display: grid; gap: 14px; }
#deadbloom-review .confirm { font-size: 12px; margin: 0; }
.wiz-result { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.wiz-result:empty { display: none; }
.wiz-nav { display: grid; gap: 8px; }
.wiz-primary { min-height: 52px; font-size: 14px; text-align: left; margin-top: 0; }
.wiz-text { width: auto; justify-self: start; min-height: 44px; border: 0; padding: 10px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.wiz-text:hover:enabled { background: transparent; color: var(--blue); }
.wiz-links { display: grid; justify-items: start; margin: 0; }
.wiz-links a.wiz-text { display: inline-block; }
.wiz-loading { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wiz-loading p { font-size: 13px; line-height: 1.6; }
.wiz-imprint { position: relative; flex: 0 0 84px; width: 84px; height: 48px; border: 1px solid var(--blue); display: grid; place-items: center; animation: wiz-stamp 2.4s ease-in-out infinite; }
.wiz-imprint span { font-size: 20px; letter-spacing: -.06em; }
.wiz-imprint i { position: absolute; width: 4px; height: 4px; background: var(--blue); animation: wiz-pixel 1.6s steps(2, end) infinite; }
.wiz-imprint i:nth-of-type(1) { top: 7px; left: 7px; } .wiz-imprint i:nth-of-type(2) { top: 7px; right: 7px; animation-delay: .2s; }
.wiz-imprint i:nth-of-type(3) { bottom: 7px; right: 7px; animation-delay: .4s; } .wiz-imprint i:nth-of-type(4) { bottom: 7px; left: 7px; animation-delay: .6s; }
#review-dialog .review p { font-size: 13px; margin: 0; }
#review-copy { white-space: pre-line; overflow-wrap: anywhere; font-size: 14px !important; line-height: 1.6; }
#review-dialog .review { display: grid; gap: 16px; }
@keyframes wiz-stamp { 0%, 100% { transform: translateY(2px); opacity: .45; } 50% { transform: translateY(-2px); opacity: 1; } }
@keyframes wiz-pixel { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes wiz-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wiz-cursor { 50% { border-color: transparent; } }
@media (max-width: 380px) { .wiz-row { grid-template-columns: 1fr; } .wiz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .wiz-body { padding: 36px 32px 28px; gap: 20px; } .wiz-title { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .wiz-imprint, .wiz-imprint i, .wiz-type { animation: none; } .wiz-imprint { opacity: 1; } .wiz-type { border: 0; clip-path: none; } }

/* Sacrifice value meter: basket value vs required, shown on steps 2-3. */
.wiz-meter { border: 1px solid var(--blue); padding: 12px 14px; margin: 12px 0 16px; }
.wiz-meter[hidden] { display: none; }
.wiz-meter-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .08em; }
.wiz-meter-big { font-size: 22px; letter-spacing: -.02em; margin-top: 2px; }
.wiz-meter-bar { height: 6px; border: 1px solid var(--blue); margin-top: 10px; position: relative; overflow: hidden; }
.wiz-meter-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); transition: width .25s ease; }
.wiz-meter-note { font-size: 12px; margin: 8px 0 0; }
.wiz-meter[data-ok="true"] .wiz-meter-note::before { content: "✓ "; }
.wiz-meter[data-ok="false"] .wiz-meter-bar i { animation: wiz-meter-blink 1.2s step-end infinite; }
@keyframes wiz-meter-blink { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .wiz-meter-bar i { transition: none; animation: none; } }
.wiz-meter { position: sticky; top: 0; z-index: 2; background: var(--white, #fff); }

/* Owned Dead Blooms lead the portfolio, full width. */
.portfolio-bloom { grid-column: 1 / -1; background: var(--blue); color: #fff; }
.portfolio-bloom h3, .portfolio-bloom p { color: #fff; }
.portfolio-bloom-mark { display: block; font-size: 44px; line-height: 1; margin-bottom: 10px; }

/* Square Dead Bloom artwork in the portfolio (1:1, never stretched). */
.portfolio-bloom-art { display: block; width: min(100%, 420px); aspect-ratio: 1 / 1; height: auto; border: 0; background: #000; margin: 0 0 12px; }

.portfolio-bloom-art { image-rendering: pixelated; object-fit: contain; }
.portfolio-bloom-play { color: #fff; font-size: 11px; letter-spacing: .06em; display: inline-block; margin-bottom: 8px; }

/* INFLATION 1924 → 2024 · SIMULATION (history-sim.mjs). Scoped under .hsim; same white/blue grid. */
.hsim { --red: #d0021b; --soft: #f5f7fc; min-width: 0; }
.hsim .section-line { flex-wrap: wrap; align-items: baseline; margin-bottom: 12px; }
.hsim .section-line h2 { margin-bottom: 0; }
.hsim-badge { font-size: 11px; letter-spacing: .06em; padding: 2px 8px; background: var(--blue); color: #fff; white-space: normal !important; }
.hsim-disclosure { font-size: 12px; max-width: 720px; margin-bottom: 18px; overflow-wrap: anywhere; }
.hsim-loading { font-size: 12px; opacity: .7; min-height: 320px; }
.hsim-mount { min-width: 0; }
.hsim-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hsim h3 { font-size: 12px; font-weight: normal; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.hsim-hero { padding: 10px 0 22px; }
.hsim-year { font-size: 12px; opacity: .7; }
.hsim-headline { font-size: clamp(26px, 6vw, 56px); line-height: 1.08; letter-spacing: -.04em; margin: 8px 0 16px; max-width: 22ch; }
.hsim-lost { color: var(--red); white-space: nowrap; }
.hsim-money { font-size: clamp(20px, 3.4vw, 32px); line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hsim-unit { font-size: 12px; letter-spacing: 0; text-transform: uppercase; }
.hsim-note { font-size: 12px; opacity: .8; margin-top: 6px; }
.hsim button { width: auto; min-height: 44px; padding: 10px 14px; font-size: 12px; text-align: left; }
.hsim button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.hsim-controls { display: grid; gap: 16px; padding: 16px 0 20px; border-top: 1px solid var(--blue); }
.hsim-timeline { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
.hsim-slider { display: block; margin: 0 !important; min-width: 0; }
.hsim input[type="range"] { width: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; accent-color: var(--blue); background: transparent; cursor: pointer; }
.hsim-ends { grid-column: 2; display: flex; justify-content: space-between; font-size: 10px; opacity: .6; }
.hsim-toggles { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.hsim-group { display: flex; flex-wrap: wrap; }
.hsim-group button + button { border-left: 0; }
.hsim-seedline { font-size: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hsim-seed { font-variant-numeric: tabular-nums; }
.hsim .hsim-text { border: 0; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; background: none; }
.hsim .hsim-text:hover:enabled { background: none; color: var(--blue); }
.hsim-chart-panel { border-top: 1px solid var(--blue); padding-top: 16px; }
.hsim-chart-panel small { text-transform: none; opacity: .6; font-size: 11px; }
.hsim-chart { margin-top: 12px; min-width: 0; }
.hsim-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hsim-chart text { font-family: 'Courier New', Courier, monospace; }
.hsim-compare { font-size: 12px; margin-top: 10px; min-height: 3em; overflow-wrap: anywhere; }
.hsim-assets { border-top: 1px solid var(--blue); margin-top: 20px; padding-top: 12px; }
.hsim-assets-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hsim-cols { display: none; }
.hsim-list { list-style: none; margin: 0; padding: 0; }
.hsim-row { border-top: 1px solid rgb(0 51 153 / .25); padding: 10px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; min-width: 0; }
.hsim-row[data-selected="true"] { background: var(--soft); }
.hsim .hsim-name { border: 0; padding: 0; min-height: 32px; background: none; font-size: 14px; letter-spacing: .02em; text-decoration: underline; text-decoration-color: rgb(0 51 153 / .3); text-underline-offset: 3px; justify-self: start; }
.hsim .hsim-name:hover:enabled { background: none; color: var(--blue); }
.hsim-row[data-selected="true"] .hsim-name { font-weight: bold; text-decoration-color: var(--blue); }
.hsim-growth { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 12px; }
.hsim-growth input[type="range"] { min-height: 32px; }
.hsim-growth output { text-align: right; font-variant-numeric: tabular-nums; }
.hsim-price { grid-column: 2; grid-row: 1; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; transition: background-color .35s ease-out; }
.hsim-price[data-flash="up"] { background: #dfe6ff; }
.hsim-price[data-flash="down"] { background: #ffe0e3; }
.hsim-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.hsim-stat { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hsim-stat .k { opacity: .6; margin-right: 4px; }
.hsim-stat.down, .hsim-stat.low { color: var(--red); }
.hsim-spark { grid-column: 1 / -1; display: block; height: 24px; }
.hsim-spark svg { display: block; width: 100%; height: 24px; }
.hsim-row[data-asset="CASH"] .hsim-name, .hsim-row[data-asset="CASH"] .hsim-price, .hsim-row[data-asset="CASH"] .hsim-stat:not(.today) { color: var(--red); }
.hsim-row[data-asset="CASH"] .hsim-growth input { accent-color: var(--red); }
@media (min-width: 900px) {
  .hsim-controls { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 32px; }
  .hsim-cols, .hsim-row { grid-template-columns: 100px minmax(120px, 1fr) 110px 72px 84px 72px 72px 64px 90px; gap: 14px; }
  .hsim-cols { display: grid; font-size: 10px; opacity: .6; text-transform: uppercase; padding: 14px 0 8px; }
  .hsim-cols span:nth-child(n+3) { text-align: right; }
  .hsim-row { padding: 8px 0; }
  .hsim-name { grid-column: 1; grid-row: 1; }
  .hsim-growth { grid-column: 2; grid-row: 1; }
  .hsim-price { grid-column: 3; grid-row: 1; }
  .hsim-stats { display: contents; }
  .hsim-stat { text-align: right; grid-row: 1; }
  .hsim-stat .k { display: none; }
  .hsim-spark { grid-column: 9; grid-row: 1; }
  .hsim-spark svg { width: 90px; }
}
@media (prefers-reduced-motion: reduce) { .hsim-price { transition: none; } .hsim-price[data-flash] { background: none; } }

/* Collapsible sections (minimal: native <details>, closed by default) */
details.fold { margin-top: 0; }
details.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0; cursor: pointer; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: '+'; font-size: 18px; line-height: 1; flex-shrink: 0; }
details.fold[open] > summary::after { content: '−'; }
details.fold > summary h2 { margin: 0; }
details.fold[open] > summary { margin-bottom: 18px; }
.time-cell details.fold > summary { font-size: 12px; border-top: 1px solid var(--blue); }

/* Dashboard additions */
.disclaimer { font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
.quote { display: grid; gap: 4px; font-size: 13px; margin: 12px 0; overflow-wrap: anywhere; }
.quote:empty { display: none; }
.quote p[data-error="true"], #status[data-error="true"] { text-decoration: underline; }
.cash-notes { border-top: 1px solid var(--blue); padding: 18px 0 0; margin-top: 12px; font-size: 13px; overflow-wrap: anywhere; }
.cash-notes[hidden] { display: none; }
.cash-notes ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.position-art { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--blue); background: #fff; image-rendering: pixelated; }
.position .pos-main { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; min-width: 0; }
.position .pos-note { font-size: 12px; margin-top: 6px; }
.review-list { display: grid; gap: 6px; font-size: 13px; }
.review-list p { margin: 0; overflow-wrap: anywhere; }
.review-list b { font-weight: normal; text-decoration: underline; text-underline-offset: 3px; }
/* Side by side, the title and the wallet buttons read as one band: no rule between them. */
@media (min-width: 960px) { .masthead { grid-template-columns: 1fr 190px; } .masthead h1 { border-right: 0; } }
.position .pos-main > div { min-width: 0; }

/* 04 / MARKET */
.market h2, .legacy h2 { margin: 18px 0 6px; }
.market .section-line h2, .legacy .section-line h2 { margin: 0; }
#market-off { margin-top: 12px; font-size: 14px; }
#my-bids, #bids-on-mine { display: grid; }
.mkt-stats { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; }
.mkt-stat { display: grid; gap: 3px; flex: none; width: 168px; padding: 10px; text-align: left; font-size: 12px; min-height: 0; }
.mkt-stat b { font-size: 14px; }
.mkt-stat span { display: flex; justify-content: space-between; gap: 8px; }
.mkt-stat i, .mkt-stat em { font-style: normal; }
.mkt-stat[aria-pressed="true"], #mkt-mine[aria-pressed="true"] { background: var(--blue); color: #fff; }
.mkt-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; padding: 12px 0; }
.mkt-toolbar[hidden], .mkt-sales[hidden], #mkt-more[hidden] { display: none; }
.market .mkt-toolbar label { margin-top: 0; font-size: 12px; }
.mkt-showing { font-size: 12px; margin: 0 0 10px; }
#asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#asks > p { grid-column: 1 / -1; }
.mkt-card { display: grid; gap: 4px; align-content: start; border: 1px solid var(--blue); padding: 8px; min-width: 0; font-size: 12px; overflow-wrap: anywhere; }
.mkt-card p { margin: 0; font-size: 13px; }
.mkt-card small { display: block; margin: 0; }
.mkt-art { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--blue); overflow: hidden; margin-bottom: 4px; }
.mkt-art .art-thumb, .mkt-art .position-art { width: 100%; height: 100%; }
.mkt-noart { font-size: 11px; }
.mkt-price { font-size: 20px !important; font-weight: bold; }
.mkt-badge { justify-self: start; background: var(--blue); color: #fff; padding: 2px 6px; font-size: 11px; letter-spacing: .04em; }
.mkt-card .mkt-actions { margin-top: 6px; }
.mkt-card .mkt-actions button, .mkt-card .mkt-form > summary { min-height: 40px; padding: 8px; font-size: 13px; }
#mkt-more { margin-top: 14px; }
.mkt-sales { margin-top: 18px; border-top: 1px solid var(--blue); }
.mkt-sales > summary { cursor: pointer; padding: 12px 0; font-size: 13px; font-weight: bold; letter-spacing: .04em; }
.mkt-sale { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--blue); margin: 0; font-size: 13px; }
.mkt-sale small { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .mkt-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #asks { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (min-width: 960px) { .mkt-toolbar { grid-template-columns: 1.2fr 1fr .8fr .8fr 1.2fr auto; } }
.market form label { display: block; margin-top: 10px; }
.mkt-actions { display: grid; gap: 8px; min-width: 0; }
.mkt-actions button, .mkt-form summary { text-align: left; }
.mkt-form { min-width: 0; margin-top: 8px; }
.mkt-form > summary { cursor: pointer; border: 1px solid var(--blue); padding: 10px; min-height: 46px; display: flex; align-items: center; font-size: 14px; list-style: none; }
.mkt-form > summary::-webkit-details-marker { display: none; }
.mkt-form[open] > summary { background: var(--blue); color: #fff; }
.mkt-form form button { margin-top: 12px; }
.position .mkt-actions small, .position .mkt-form { margin-top: 0; }

/* 05 / LEGACY */
#flower-off { margin-top: 12px; font-size: 14px; }
#flower-pieces { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
#flower-pieces > p { margin: 0; }
.piece { display: flex; align-items: center; gap: 8px; border: 1px solid var(--blue); padding: 0 12px; min-height: 46px; cursor: pointer; }
.piece input { width: 20px; min-height: 20px; height: 20px; padding: 0; flex: none; accent-color: var(--blue); }
.piece:has(input:checked) { background: var(--blue); color: #fff; }
#flower-actions button { text-align: left; margin-top: 8px; }
#flower-faucet { margin-top: 14px; }
#flower-faucet[hidden] { display: none; }

.stone-line { margin-top: 28px; }
#stone-off { margin-top: 12px; font-size: 14px; }
#stone-how { font-size: 14px; padding-left: 22px; margin: 6px 0; }
#stone-how li { margin: 6px 0; }
#stone-addr { overflow-wrap: anywhere; }
.stone-stats { font-size: 14px; margin: 8px 0; }
.stone-stats:empty, #stone-reserve-result:empty, .stone-reservations:empty { display: none; }
#stone-warning { font-size: 13px; margin: 8px 0; }
#stone-reserve-result { font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
#stone-reserve-result[data-error="true"] { font-weight: bold; border-left: 3px solid var(--blue); padding-left: 8px; }
.stone-reservations { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; }
.stone-reservations li { padding: 6px 0; border-bottom: 1px solid var(--blue); overflow-wrap: anywhere; }
.stone-reservations li b { margin-right: 6px; }
#stone-voucher { display: block; width: 100%; min-height: 120px; font: inherit; font-size: 13px; color: inherit; background: #fff; border: 1px solid var(--blue); border-radius: 0; padding: 10px; resize: vertical; overflow-wrap: anywhere; }
#stone-actions button { text-align: left; margin-top: 8px; }
#stone-result { font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
#stone-result p { margin: 4px 0; }
#stone-result[data-error="true"] { font-weight: bold; border-left: 3px solid var(--blue); padding-left: 8px; }
.bloom-art { flex: none; overflow: hidden; background: #09090d; }
.bloom-art iframe { width: 384px; height: 384px; border: 0; transform: scale(.25); transform-origin: 0 0; }
.bloom-form { display: grid; gap: 6px; margin: 12px 0; }
#bloom-off { margin-top: 12px; font-size: 14px; }
#bloom-actions button { text-align: left; margin-top: 8px; }
#bloom-pending { margin-top: 14px; }
#bloom-pending[hidden] { display: none; }
#bloom-hint, #bloom-pending-copy { font-size: 14px; }

.art-thumb { display: block; flex: none; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.art-thumb::after { content: ''; position: absolute; inset: 0; }
.art-thumb:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body:has(#art-dialog[open]) { overflow: hidden; }
#art-dialog { color: var(--blue); background: #fff; border: 1px solid var(--blue); padding: 0; width: min(720px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
#art-dialog::backdrop { background: rgb(0 51 153 / .25); }
.art-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--blue); }
.art-head p { margin: 0; font-size: 13px; flex: 1; min-width: 0; }
#art-close { flex: none; width: auto; min-width: 0; font: inherit; font-size: 12px; color: var(--blue); background: none; border: 0; cursor: pointer; padding: 4px 0; }
#art-stage { aspect-ratio: 1 / 1; width: 100%; max-height: calc(100dvh - 140px); background: #09090d; display: grid; place-items: center; }
#art-stage img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; background: #fff; }
#art-stage iframe { width: 100%; height: 100%; border: 0; }
.art-foot { margin: 0; padding: 12px 16px; font-size: 12px; }
.art-foot:has(a[hidden]) { display: none; }

.bloom-buy { border-top: 1px solid var(--blue); margin-top: 20px; padding-top: 16px; }
.bloom-quotas { display: grid; gap: 6px; margin: 0 0 14px; font-size: 12px; letter-spacing: .04em; }
.bloom-quotas > div { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; }
.bloom-quotas b { font-weight: 600; }
.bloom-quotas .bar { height: 6px; border: 1px solid var(--blue); position: relative; }
.bloom-quotas .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); }
.bloom-buy p { margin: 0 0 10px; }
#bloom-buy-hint:empty { display: none; }
.break { overflow-wrap: anywhere; }
button.inline { display: inline-block; width: auto; min-height: 0; padding: 2px 8px; margin-left: 6px; font-size: 11px; }

/* Section headers: reversed white on navy, bleeding to the cell edges. */
.sec-head, .cell > details.fold:not(.sub-fold):not(#fold-prices) > summary { background: var(--blue); color: #fff; font-size: 16px; font-weight: bold; letter-spacing: .04em; line-height: 1.3; padding: 14px 18px; margin: -22px -18px 18px; border-bottom: 0; }
.cell > details.fold:not(.sub-fold):not(#fold-prices) > summary h2, .cell > details.fold:not(.sub-fold):not(#fold-prices) > summary span { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.cell > details.fold:not(.sub-fold):not(#fold-prices) > summary span { font-size: 12px; }
.cell > details.fold:not(.sub-fold):not(#fold-prices)[open] > summary { margin-bottom: 18px; }
.cell > details.fold:not(.sub-fold):not(#fold-prices):not([open]) > summary { margin-bottom: -22px; }
.cell > details.fold:not(.sub-fold):not(#fold-prices) > summary:focus-visible { outline: 3px double #fff; outline-offset: -6px; }
/* Sub-sections: bold navy subheaders with an underline rule. */
.sub-head, details.sub-fold > summary.section-line { font-size: 14px; font-weight: bold; letter-spacing: .04em; color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin: 28px 0 14px; }
details.sub-fold > summary.section-line { margin-top: 28px; }
details.sub-fold > summary.section-line h2 { font-size: inherit; font-weight: inherit; margin: 0; }
details.fold.sub-fold[open] > summary.section-line { margin-bottom: 14px; }
.piece-head { font-size: 12px; font-weight: normal; margin: 14px 0 6px; }
/* Dead Bloom wizard */
.bloom-wizard { margin-bottom: 14px; }
.wz-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 14px; margin-bottom: 10px; }
.wz-head span:nth-child(2) { letter-spacing: .15em; }
.wz-steps { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--blue); border-top: 1px solid var(--blue); }
.wz-steps li { display: flex; gap: 12px; padding: 12px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); min-width: 0; }
.wz-n { flex: none; width: 24px; height: 24px; border: 1px solid var(--blue); display: grid; place-items: center; font-size: 13px; }
.wz-body { display: grid; gap: 6px; min-width: 0; flex: 1; font-size: 13px; overflow-wrap: anywhere; }
.wz-body button { margin-top: 4px; text-align: left; }
.wz-todo { opacity: .6; }
.wz-done .wz-n, .wz-current .wz-n { background: var(--blue); color: #fff; }
.wz-current { border-left: 4px solid var(--blue); }
.wz-current .wz-body b { font-size: 14px; }
.wz-art { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; }
.bloom-advanced { margin-top: 14px; }
.bloom-advanced > summary { border: 1px solid var(--blue); padding: 0 12px; display: flex; align-items: center; min-height: 44px; font-size: 12px; cursor: pointer; }
.bloom-advanced[open] > summary { margin-bottom: 14px; }
@media (min-width: 640px) { .wz-body { grid-template-columns: 1fr auto; align-items: center; } .wz-body b, .wz-body small { grid-column: 1; } .wz-body button { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: auto; } }
#fold-prices > summary { border: 0; padding: 0 0 4px; font-size: 12px; letter-spacing: .06em; } /* a label, not a fold: always open */
@media (min-width: 960px) {
  .sec-head, .cell > details.fold:not(.sub-fold):not(#fold-prices) > summary { margin: -28px -28px 18px; padding: 14px 28px; }
  .cell > details.fold:not(.sub-fold):not(#fold-prices):not([open]) > summary { margin-bottom: -28px; }
}
/* A folded section is just its navy bar: no cell padding around it. */
.cell:has(> details.fold:not(.sub-fold):not(#fold-prices):not([open]):only-child) { padding: 0; background: var(--blue); }
.cell > details.fold:not(.sub-fold):not(#fold-prices):not([open]):only-child > summary { margin: 0; }
.masthead-actions { display: grid; gap: 10px; align-content: center; }
.masthead-actions button { width: 100%; text-align: left; }
@media (min-width: 960px) { .masthead { grid-template-columns: 1fr 260px; } }
/* Top row: REFRESH and PORTFOLIO in place of the old CASH cell; the cash line sits under PORTFOLIO. */
.metric-actions { display: grid; gap: 10px; align-content: center; }
.metric-actions button { text-align: left; }
.metric-cash { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--blue); font-size: 14px; overflow-wrap: anywhere; }
.metric-cash b { font-weight: bold; }
.metric-cash small { display: block; margin-top: 4px; }
.metric-cash small:empty { display: none; }

/* PANELS. A compact overview stays on top; PORTFOLIO / BUY / MARKET / DEAD BLOOMS share one place below it.
   Desktop: tabs and status stick under the overview as the page scrolls. Phones: they dock at the bottom. */
h1 { font-size: clamp(32px, 8vw, 72px); }
@media (min-width: 960px) { h1 { font-size: 72px; } .masthead > * { padding-top: 20px; padding-bottom: 20px; } }
.overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview .cell { padding: 14px; display: grid; align-content: start; gap: 2px; }
.overview h2 { margin: 0 0 6px; font-size: 11px; letter-spacing: .08em; }
.overview .metric { font-size: clamp(20px, 5.5vw, 28px); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.overview .metric-unit { font-size: 12px; letter-spacing: 0; }
.overview small { font-size: 11px; line-height: 1.4; }
.overview small:empty { display: none; }
.ov-wallet { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: center; }
.ov-wallet h2 { grid-column: 1; }
.ov-account { grid-column: 1; font-size: 16px; overflow-wrap: anywhere; }
.ov-wallet .metric-actions { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, auto); gap: 8px; }
.overview .metric-actions button { min-height: 40px; padding: 8px 10px; font-size: 12px; }
.ov-year .year-display { font-size: 36px; padding: 0 0 4px; letter-spacing: -.06em; }
.ov-year .year-display span + span { font-size: 16px; margin-left: 4px; }
.ov-year .calendar { font-size: 12px; margin: 0; }
.ov-year .countdown-line { gap: 8px; margin: 0; }
.ov-year #countdown { font-size: 18px; }
@media (max-width: 639px) {
  .ov-wallet { grid-template-columns: minmax(0, 1fr); }
  .ov-wallet .metric-actions { grid-column: 1; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
  .ov-year { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; align-items: baseline; }
  .ov-year h2 { grid-column: 1 / -1; }
  .ov-year .year-display { grid-column: 1; grid-row: 2 / span 2; font-size: 30px; }
  .ov-year .calendar, .ov-year .countdown-line { grid-column: 2; }
}
@media (min-width: 640px) { .overview { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ov-wallet { grid-column: auto; grid-template-columns: minmax(0, 1fr); } .ov-wallet .metric-actions { grid-column: 1; grid-row: auto; grid-template-columns: minmax(0, 1fr); margin-top: 8px; } }
@media (min-width: 900px) {
  .overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ov-wallet { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .ov-wallet .metric-actions { grid-column: 1; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
  .overview .cell { padding: 18px; }
}

.dock { position: sticky; top: 0; z-index: 30; background: #fff; }
.panel-tabs [role="tablist"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel-tabs [role="tab"] { min-height: 48px; padding: 10px 18px; border: 0; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); text-align: left; font-size: 13px; letter-spacing: .06em; }
.panel-tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; }
.panel-tabs [role="tab"][aria-selected="true"]:focus-visible { outline-color: #fff; outline-offset: -6px; }
.panel-tabs .tab-n { opacity: .6; margin-right: 6px; }
.dock .status-line { padding: 10px 18px; align-items: baseline; }
.dock .status-line #block { font-size: 11px; opacity: .75; }
.panel:focus:not(:focus-visible) { outline: none; }
/* A panel's header names it; it does not fold. */
details.fold[data-panel-head] > summary { cursor: default; }
details.fold[data-panel-head] > summary::after { content: none; }
@media (min-width: 900px) { .controls { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; } }
@media (min-width: 960px) { .panel-tabs [role="tab"] { padding: 12px 28px; } .dock .status-line { padding: 10px 28px; } }

@media (max-width: 639px) {
  .dock { position: fixed; left: 0; right: 0; top: auto; bottom: 0; height: auto; z-index: 45; display: flex; flex-direction: column-reverse; border-top: 1px solid var(--blue); padding-bottom: env(safe-area-inset-bottom); }
  .panel-tabs [role="tab"] { min-height: 52px; padding: 6px 8px; font-size: 11px; letter-spacing: .04em; text-align: center; border-bottom: 0; }
  .panel-tabs [role="tab"]:last-child { border-right: 0; }
  .panel-tabs .tab-n { display: none; }
  .dock .status-line { padding: 6px 12px; border-right: 0; max-height: 4.6em; overflow-y: auto; gap: 4px 12px; }
  .dock .status-line p, .dock .status-line span { font-size: 11px; line-height: 1.4; }
  html body { padding-bottom: calc(var(--dock-h, 0px) + 76px); }
  body .chat-tab { bottom: calc(var(--dock-h, 0px) + 12px); }
}
