/* Borro. A video rental shop for shares: carpet, black tapes, handwritten labels, price stickers. */

:root {
  --carpet: #20205a;
  --carpet-deep: #17174a;
  --tape: #121217;
  --tape-edge: #2b2b36;
  --label: #fbf8ef;
  --ink: #16162b;
  --sticker: #ffd83a;
  --neon: #ff4f9a;
  --mint: #3fe0b5;
  --soft: #c3c3ee;
  --ui: Archivo, "Helvetica Neue", Arial, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { background: var(--carpet-deep); }
body {
  margin: 0; color: var(--label); font-family: var(--ui); font-size: 17px; line-height: 1.5;
  background-color: var(--carpet);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke-width='3' stroke-linecap='round' opacity='.22'%3E%3Cpath d='M20 30l14 8-14 8z' stroke='%23ff4f9a'/%3E%3Cpath d='M120 22q8-10 16 0t16 0' stroke='%233fe0b5'/%3E%3Cpath d='M180 96l10 10m0-10l-10 10' stroke='%23ffd83a'/%3E%3Ccircle cx='64' cy='120' r='7' stroke='%233fe0b5'/%3E%3Cpath d='M22 176q8-10 16 0t16 0' stroke='%23ffd83a'/%3E%3Cpath d='M130 150l14 8-14 8z' stroke='%23ffd83a'/%3E%3Cpath d='M92 70l10 10m0-10l-10 10' stroke='%23ff4f9a'/%3E%3Ccircle cx='186' cy='186' r='7' stroke='%23ff4f9a'/%3E%3C/g%3E%3C/svg%3E");
}
a { color: var(--sticker); }
h1, h2, h3 { font-stretch: 125%; font-weight: 900; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.soft { color: var(--soft); }
.hand { font-family: var(--hand); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */

.btn {
  font: inherit; font-weight: 800; font-stretch: 110%; color: var(--ink); background: var(--sticker);
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap;
  box-shadow: 0 4px 0 #b8940a; transition: transform .08s, box-shadow .08s;
}
.btn:hover { background: #ffe366; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8940a; }
.btn.line { background: transparent; color: var(--label); box-shadow: inset 0 0 0 2px var(--label); }
.btn.line:hover { background: rgba(251, 248, 239, .1); }
.btn.line:active { transform: none; }
.btn.sm { padding: 8px 16px; font-size: 15px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- top bar */

.bar { display: flex; align-items: center; gap: 22px; padding: 16px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); font-weight: 900; font-stretch: 125%; font-size: 24px; }
.brand img { width: 34px; height: 34px; }
.brand small { font-family: var(--hand); font-weight: 400; font-stretch: 100%; font-size: 19px; color: var(--neon); transform: rotate(-4deg); margin-left: 2px; }
.bar nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.bar nav a, .bar nav button {
  font: inherit; font-weight: 600; color: var(--soft); background: none; border: 0; padding: 8px 12px; border-radius: 8px;
  cursor: pointer; text-decoration: none;
}
.bar nav a:hover, .bar nav button:hover { color: var(--label); }
.bar nav button[aria-current="page"] { color: var(--ink); background: var(--label); }

/* ---------------------------------------------------------------- tapes */

/* A tape lying flat: black shell, paper label, round price sticker. Used as the rows of the shelf. */
.pile { display: grid; gap: 10px; margin-top: 22px; }
.tape {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  background: linear-gradient(var(--tape-edge), var(--tape) 14%, var(--tape) 86%, #000);
  border-radius: 6px; padding: 10px 14px 10px 10px; color: var(--label);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .35);
}
.tape .label {
  background: var(--label); color: var(--ink); border-radius: 3px; padding: 8px 14px;
  display: grid; grid-template-columns: minmax(150px, 1.4fr) repeat(3, minmax(90px, 1fr)); gap: 6px 18px; align-items: baseline;
  border-left: 10px solid var(--neon);
}
.tape:nth-child(3n+2) .label { border-left-color: var(--mint); }
.tape:nth-child(3n) .label { border-left-color: var(--sticker); }
.tape .who b { font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1; margin-right: 8px; }
.tape .who span { font-size: 15px; }
.tape .cell span { display: block; font-size: 13px; color: #55557a; }
.tape .cell b { font-weight: 700; font-variant-numeric: tabular-nums; }
.tape .side { display: flex; align-items: center; gap: 12px; }
.tape .acts { display: flex; gap: 8px; }
.sticker {
  width: 78px; height: 78px; border-radius: 50%; background: var(--sticker); color: var(--ink);
  display: grid; place-content: center; text-align: center; font-weight: 900; font-stretch: 80%; line-height: 1;
  transform: rotate(-9deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .3); font-size: 21px;
}
.sticker small { display: block; font-weight: 600; font-size: 11.5px; margin-top: 3px; }
/* Rates of six characters or more (1,453%, 12.34%) set smaller so they stay inside the circle. */
.sticker.long { font-size: 16.5px; }

/* ---------------------------------------------------------------- landing */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 30px 0 64px; }
.hero h1 { font-size: clamp(38px, 4.9vw, 58px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero p { font-size: 19px; max-width: 29em; margin-top: 18px; color: var(--soft); }
.hero .go { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero .go .btn { padding-left: 18px; padding-right: 18px; }

.card { background: var(--label); color: var(--ink); border-radius: 10px; padding: 28px; }
.card h2 { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 20px; margin: 22px 0 8px; }
.card .soft { color: #55557a; }
.card a { color: #4a2fd0; }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin: 10px 0; padding-left: 4px; }
.steps li::marker { font-weight: 900; }

/* Why short here: a till receipt and the prize sign. */
.receipt {
  background: #fff; color: var(--ink); padding: 26px 28px 40px; transform: rotate(-1.6deg); font-stretch: 78%; font-size: 19px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.r-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.r-top b { font-stretch: 125%; font-weight: 900; font-size: 30px; }
.r-top .hand { font-size: 22px; color: #b3124f; }
.receipt ul { list-style: none; margin: 0; padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 2px dotted #c9c4b2; }
.receipt li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt li.r-rule { border-bottom: 2px solid var(--ink); }
.receipt li.r-total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 3px; padding-top: 12px; font-weight: 900; font-size: 25px; }
.receipt li.r-note { border-bottom: 0; padding-top: 2px; font-size: 13px; color: #6b6b88; font-weight: 500; }
.basis { margin: 10px 0 0; font-size: 13.5px; }
.receipt .up { color: #087a5b; }
.receipt .down { color: #b3124f; }
.r-foot { font-size: 21px; color: #55557a; margin-top: 10px; }
.marquee {
  display: block; text-decoration: none; color: var(--label); padding: 20px; border-radius: 16px; margin-top: 10px;
  background: radial-gradient(circle, var(--sticker) 0 3.6px, transparent 4.6px) 0 0 / 20px 20px, #0c0c10;
  animation: chase 1.4s steps(2, jump-none) infinite;
}
@keyframes chase { to { background-position: 10px 10px, 0 0; } }
.marquee:hover .board, .marquee:focus-visible .board { border-color: var(--sticker); }
.board {
  background: var(--carpet-deep); border: 2px solid var(--neon); border-radius: 8px; padding: 20px 22px 22px; text-align: center;
  box-shadow: inset 0 0 26px rgba(255, 79, 154, .35);
}
.board .hand { display: block; font-size: 27px; color: var(--neon); text-shadow: 0 0 12px rgba(255, 79, 154, .8); }
.board b {
  display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(42px, 6vw, 66px); line-height: 1.05; color: var(--sticker);
  text-shadow: 0 0 24px rgba(255, 216, 58, .45); margin: 2px 0 8px;
}
.board b.small { font-size: clamp(26px, 3.4vw, 36px); }

/* House rules: one sticker each, the full rule inside. */
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; align-items: start; }
.rule { background: var(--label); color: var(--ink); border-radius: 8px; border-left: 10px solid var(--sticker); }
.rule:nth-child(3n+2) { border-left-color: var(--neon); }
.rule:nth-child(3n) { border-left-color: var(--mint); }
.rule summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 800; font-stretch: 110%; font-size: 18px; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after { content: "+"; margin-left: auto; font-size: 28px; font-weight: 400; line-height: .8; }
.rule[open] summary::after { content: "\2212"; }
.rule summary svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rule p { padding: 0 18px 16px 54px; font-size: 16px; }

.rules { padding-bottom: 80px; }
.rules h2 { font-size: 40px; margin-bottom: 8px; }
.rules ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; max-width: 46em; }
.rules li { padding: 14px 18px; border-left: 6px solid var(--sticker); background: rgba(0, 0, 0, .22); border-radius: 0 8px 8px 0; }
.rules li b { display: block; }

.foot { border-top: 2px solid rgba(251, 248, 239, .18); padding: 22px 0 40px; font-size: 14.5px; color: var(--soft); }

/* ---------------------------------------------------------------- app */

.banner { background: var(--tape); border-radius: 8px; padding: 10px 16px; font-size: 15.5px; margin-bottom: 10px; }
.banner:empty { display: none; }
/* Weekend: the stock feeds are paused; Hyperliquid's prices are shown for reference. */
.banner.weekend { background: #2b2b36; border-left: 6px solid var(--sticker); }
.tape .cell small.shares { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: #55557a; }
.tape .cell small.wk { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tape .cell small.wk.up { color: #087a5b; }
.tape .cell small.wk.down { color: #b3124f; }
.notice { display: none; padding: 12px 16px; border-radius: 8px; margin-bottom: 10px; background: var(--neon); color: var(--ink); font-weight: 600; }
.notice.show { display: block; }
.notice.ok { background: var(--mint); }

section[data-tab] { padding: 18px 0 70px; }
section[data-tab] > h1 { font-size: clamp(34px, 5vw, 54px); }
section[data-tab] > h1 + p { margin-top: 8px; max-width: 40em; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.field { margin-top: 16px; }
.field label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field label > span:last-child:not(.lab) { margin-left: auto; text-align: right; }
.field label span { font-weight: 400; color: #55557a; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 19px; font-variant-numeric: tabular-nums; padding: 11px 13px; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 8px;
}
.help { font-size: 14.5px; color: #55557a; margin-top: 12px; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.more { margin-top: 24px; border-top: 1px dashed #b9b4a2; padding-top: 14px; }
.more summary { cursor: pointer; font-weight: 700; }
.card .btn { margin-top: 18px; }
.card .btn.line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.card .btn.line:hover { background: rgba(22, 22, 43, .07); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.facts { list-style: none; margin: 14px 0 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px dashed #b9b4a2; }
.facts li:last-child { border-bottom: 0; }
.facts li.sum { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 4px; padding-top: 12px; font-weight: 700; }
.pot { font-weight: 900; font-stretch: 125%; font-size: clamp(44px, 7vw, 72px); line-height: 1; margin: 6px 0 10px; }
.pot small { display: block; font-family: var(--hand); font-weight: 400; font-stretch: 100%; font-size: 24px; color: #b3124f; margin-top: 6px; }
.facts li b { font-variant-numeric: tabular-nums; text-align: right; }
.facts li b .btn { margin: 0 0 0 10px; vertical-align: middle; }

.meter { height: 14px; border-radius: 99px; background: #e3ddc9; overflow: hidden; margin-top: 14px; }
.meter i { display: block; height: 100%; width: 0; background: var(--mint); transition: width .25s; }
.meter.warn i { background: var(--sticker); }
.meter.bad i { background: var(--neon); }

.empty { font-family: var(--hand); font-size: 22px; color: #55557a; padding: 8px 0; }

/* ---------------------------------------------------------------- app: the shelf */

.app .bar nav button { padding: 8px 10px; }
/* Wider than a tablet, the app's ten tabs no longer fit beside the brand and the wallet controls: the brand and the
   controls (languages, sound, Connect wallet) keep the top row, controls at the right, and the tabs take a row of their
   own, as they already do below 860px. Roy, 2026-10-06, after Pairs pushed the controls under the logo. */
@media (min-width: 861px) {
  .app .bar { row-gap: 12px; }
  .app .bar > nav.tabs { order: 3; flex-basis: 100%; margin-left: 0; }
  .app .bar > .lang { margin-left: auto; }
  .app .bar > .lang ~ .snd, .app .bar > .lang ~ .btn { margin-left: 0; }
}
/* Tablet: ten tabs do not fit one row (Rules ran off the edge), so two rows of five, styled like the phone grid. */
@media (max-width: 860px) and (min-width: 621px) {
  .app .bar nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .app .bar nav button { padding: 7px 2px; text-align: center; background: rgba(0, 0, 0, .2); border-radius: 7px; }
  .app .bar nav button[aria-current="page"] { background: var(--label); color: var(--ink); }
}
/* Below 700px the tagline would push Connect wallet onto a row of its own under the logo. */
@media (max-width: 700px) {
  .app .brand small { display: none; }
}
/* 521-540px: still too narrow for the language pill on the top row, so it drops under the tabs as it does on a phone. */
@media (max-width: 540px) and (min-width: 521px) {
  .app .bar > .lang { order: 4; margin: 0 auto; }
  .app .bar > .lang ~ .snd { margin-left: auto; }
}
.tape .label { grid-template-columns: minmax(104px, 1fr) minmax(74px, .9fr) minmax(158px, 1.7fr) repeat(3, minmax(74px, 1fr)); }
.app .tape .who b { display: block; }
.app .tape .who span { display: block; font-size: 13.5px; line-height: 1.2; margin-top: 2px; }
.app .tape .cell b { white-space: nowrap; }
.tape .cell.borro b { font-size: 14px; font-weight: 700; }
.tape .acts { flex-wrap: wrap; justify-content: flex-end; }
.tape-usdg { background: linear-gradient(#1f6b58, #10392f 14%, #10392f 86%, #06140f); }
.tape-usdg .label { border-left-color: var(--mint) !important; }
.sticker.mint { background: var(--mint); }

/* Totals on a VCR's front panel: green numbers behind dark glass. */
.vcr {
  margin-top: 22px; padding: 14px 16px 10px; border-radius: 14px;
  background: linear-gradient(#2c2c38, #131318 28%, #0b0b0f); box-shadow: 0 6px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.vcr-face {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; padding: 12px 18px; border-radius: 8px;
  background: #060609; box-shadow: inset 0 0 0 2px #1d1d26, inset 0 0 34px rgba(63, 224, 181, .09);
}
.vcr-read span { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #8d8db0; font-weight: 700; }
.vcr-read b {
  display: block; font-weight: 800; font-stretch: 72%; font-size: clamp(24px, 3vw, 36px); line-height: 1.12; color: var(--mint);
  text-shadow: 0 0 12px rgba(63, 224, 181, .55); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.vcr-face { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vcr-read small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: #8d8db0; white-space: nowrap; }
.vcr-deck { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vcr-deck .slot { flex: 0 0 42%; height: 10px; border-radius: 3px; background: #040406; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .07); }
.vcr-deck .led { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.vcr-deck .knob { width: 28px; height: 12px; border-radius: 3px; background: #2b2b36; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .45); }

/* ---------------------------------------------------------------- app: picking a stock */

/* Short tapes standing on a shelf. The picked one is pulled forward and lit. */
.picker {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin-top: 26px; padding: 20px 12px 0;
  border-bottom: 12px solid #0c0c10; box-shadow: 0 8px 0 rgba(0, 0, 0, .3);
}
.pk {
  flex: 1 1 0; min-width: 0; max-width: 108px; height: 132px; position: relative; padding: 8px 7px 0; border: 0; cursor: pointer;
  font: inherit; color: var(--ink); border-radius: 5px 5px 0 0; transform-origin: bottom center; transition: transform .15s, box-shadow .15s;
  background: linear-gradient(90deg, var(--tape-edge), var(--tape) 12%, var(--tape) 88%, #000);
}
.pk:nth-child(3n+2) { height: 126px; }
.pk:nth-child(4n+3) { height: 136px; }
.pk:nth-child(5n+4) { height: 129px; }
.pk:hover { transform: translateY(-6px); }
.pk-label {
  display: flex; flex-direction: column; align-items: center; gap: 2px; height: 80px; padding-top: 6px; overflow: hidden;
  background: var(--label); border-radius: 3px; border-top: 9px solid var(--band, var(--neon));
}
.pk-label b { font-family: var(--hand); font-weight: 400; font-size: 23px; line-height: 1; }
.pk-label small { font-size: 9.5px; font-weight: 600; font-stretch: 85%; text-align: center; line-height: 1.1; color: #55557a; padding: 0 2px; }
.pk-dot {
  position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%) rotate(-7deg); min-width: 50px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 99px; background: var(--sticker); box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  font-weight: 800; font-stretch: 80%; font-size: 12.5px; white-space: nowrap;
}
.pk-usdg { background: linear-gradient(90deg, #1f6b58, #10392f 12%, #10392f 88%, #06140f); }
.pk-usdg .pk-dot { background: var(--mint); }
.pk[aria-checked="true"] { transform: translateY(-16px); box-shadow: 0 0 0 3px var(--neon), 0 0 22px rgba(255, 79, 154, .55); }

/* A switch drawn on the card: on is mint. */
.toggle {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; cursor: pointer;
  border: 2px dashed #b9b4a2; border-radius: 10px;
}
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .switch { flex: none; position: relative; width: 48px; height: 28px; margin-top: 1px; border-radius: 99px; background: #e3ddc9; box-shadow: inset 0 0 0 2px var(--ink); transition: background .15s; }
.toggle .switch::after { content: ""; position: absolute; top: 5px; left: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .15s; }
.toggle input:checked + .switch { background: var(--mint); }
.toggle input:checked + .switch::after { transform: translateX(20px); }
.toggle input:focus-visible + .switch { outline: 3px solid var(--neon); outline-offset: 3px; }
.toggle input:disabled + .switch { opacity: .4; }
.toggle:has(input:checked) { border-style: solid; border-color: var(--ink); background: #fff; }
.toggle b { display: block; font-weight: 800; }
.toggle small { display: block; font-size: 14px; color: #55557a; margin-top: 2px; }
.field label .lab { font-weight: 700; color: inherit; }

/* The limit meter: an amplifier's needle on a cream face. */
.gauge { max-width: 290px; margin: 4px auto 0; }
.gauge svg { display: block; width: 100%; height: auto; }
.g-bezel { fill: var(--tape); }
.g-face { fill: #fffdf6; }
.g-zone { fill: none; stroke-width: 15; }
.g-ok { stroke: var(--mint); }
.g-warn { stroke: var(--sticker); }
.g-bad { stroke: var(--neon); }
.g-ticks path { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.g-end { font: 700 11px var(--ui); fill: #77779a; }
.g-needle { transform-box: view-box; transform-origin: 120px 122px; transform: rotate(-90deg); transition: transform .45s cubic-bezier(.3, 1.35, .5, 1); }
.g-needle path { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.g-needle circle { fill: var(--ink); }
.g-needle .g-pin { fill: var(--neon); }
.g-read { text-align: center; margin-top: 2px; }
.g-read b { display: block; font-weight: 900; font-stretch: 125%; font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.g-read span { font-family: var(--hand); font-size: 19px; color: #55557a; }
.gauge.warn .g-read b { color: #8a6a00; }
.gauge.bad .g-read b { color: #b3124f; }

/* Where the USDG vault lends: one bar per market, the borrowed part darker. */
.alloc { display: grid; gap: 7px; margin-top: 8px; }
.a-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px 10px; align-items: center; }
.a-row > b { font-family: var(--hand); font-weight: 400; font-size: 20px; line-height: 1; }
.a-bar { height: 14px; border-radius: 3px; overflow: hidden; background: #e8e2cf; }
.a-bar > i { position: relative; display: block; height: 100%; background: var(--mint); }
.a-bar .a-used { position: absolute; inset: 0 auto 0 0; background: #1f9e7c; }
.a-row > span { grid-column: 2; font-size: 13px; color: #55557a; }
.exit { margin-top: 18px; }
.exit[open] { background: #fff; border: 2px solid var(--neon); border-radius: 10px; padding: 12px 14px; }

/* ---------------------------------------------------------------- app: shorts and baskets */

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: 640px; }
.mode {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--label); border: 0; border-radius: 10px;
  padding: 12px 18px 14px 28px; background: var(--tape); box-shadow: 0 5px 0 rgba(0, 0, 0, .35); transition: transform .12s;
}
.mode::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 11px; border-radius: 10px 0 0 10px; background: var(--neon); }
.mode + .mode::before { background: var(--mint); }
.mode b { display: block; font-family: var(--hand); font-weight: 400; font-size: 29px; line-height: 1.05; }
.mode span { font-size: 14px; color: var(--soft); }
.mode[aria-selected="true"] { background: var(--label); color: var(--ink); transform: translateY(-3px); }
.mode[aria-selected="true"] span { color: #55557a; }

/* The basket: a carry case of tapes, each as wide as its share. */
.bag {
  position: relative; display: flex; gap: 4px; align-items: stretch; min-height: 96px; margin-top: 34px; padding: 18px 10px 10px;
  border-radius: 12px; background: var(--tape); box-shadow: inset 0 0 0 3px #2b2b36, 0 5px 0 rgba(0, 0, 0, .25);
}
.bag::before {
  content: ""; position: absolute; left: 50%; top: -22px; width: 96px; height: 30px; margin-left: -48px;
  border: 6px solid var(--tape); border-bottom: 0; border-radius: 40px 40px 0 0;
}
.bag i {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px;
  font-style: normal; overflow: hidden; background: var(--label); border-radius: 3px; border-top: 8px solid var(--band, var(--neon));
  transition: flex-grow .3s;
}
.bag i b { font-family: var(--hand); font-weight: 400; font-size: 22px; line-height: 1; }
.bag i small { font-weight: 800; font-size: 12.5px; }
.bag-empty { margin: auto; padding: 0 10px; text-align: center; color: var(--label); font-size: 21px; }
.legs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.leg {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "pick pick pick" "rate w unit"; align-items: center; gap: 2px 4px; min-height: 66px;
  padding: 6px 8px; border: 2px solid #ddd6c1; border-radius: 8px;
}
.leg.on { border-color: var(--ink); background: #fff; }
.leg label { grid-area: pick; display: flex; align-items: center; gap: 6px; min-width: 0; cursor: pointer; }
.leg label input { width: 18px; height: 18px; accent-color: var(--ink); }
.leg label b { font-family: var(--hand); font-weight: 400; font-size: 22px; line-height: 1; }
.leg label span { display: none; }
.leg .rate { grid-area: rate; font-size: 12px; color: #6a6a8a; }
.leg .w { grid-area: w; width: 54px; font: inherit; font-size: 15px; padding: 3px 6px; text-align: right; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 6px; font-variant-numeric: tabular-nums; }
.leg .w:disabled { border-color: transparent; background: transparent; }
.leg .unit { grid-area: unit; font-size: 14px; }
.leg:not(.on) .unit { visibility: hidden; }
.row-btns.tight .btn { margin-top: 10px; }
.pickrow { display: flex; align-items: center; gap: 8px; cursor: pointer; min-width: 0; }
.pickrow input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.pickrow b { font-family: var(--hand); font-weight: 400; font-size: 22px; line-height: 1; }
.pickrow span { font-size: 14px; color: #55557a; }

/* ---------------------------------------------------------------- app: dashboard */

.dash-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 26px; }
/* A video club membership card. */
.member {
  position: relative; max-width: 580px; border-radius: 20px; overflow: hidden; color: var(--ink); transform: rotate(-1.2deg);
  background: linear-gradient(135deg, #fff7cf, var(--sticker) 58%, #f1c419);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .32), inset 0 0 0 2px rgba(22, 22, 43, .12);
}
.member::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 48%, transparent 56%); pointer-events: none; }
.m-band { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--label); }
.m-band b { font-weight: 900; font-stretch: 125%; font-size: 26px; }
.m-band .hand { color: var(--neon); font-size: 23px; transform: rotate(-3deg); }
.m-body { padding: 16px 22px 18px; }
.m-who span, .m-nums span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b5a10; }
.m-who b { font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1.1; }
.m-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.m-nums b { font-weight: 900; font-stretch: 105%; font-size: clamp(19px, 2.3vw, 28px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.m-code {
  flex: none; width: 150px; height: 34px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px, var(--ink) 13px 16px, transparent 16px 17px);
}
.m-foot .hand { font-size: 18px; color: #6b5a10; line-height: 1.1; }
.m-stamp {
  position: absolute; right: 16px; top: 82px; transform: rotate(9deg); padding: 3px 12px; border: 4px solid currentColor; border-radius: 10px;
  font-weight: 900; font-stretch: 115%; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; opacity: .88; background: rgba(255, 255, 255, .25);
}
.m-stamp.good { color: #087a5b; }
.m-stamp.warn { color: #8a5a00; }
.m-stamp.bad { color: #b3124f; }
.receipt.till { transform: rotate(1.3deg); font-size: 17.5px; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts.rows li { align-items: flex-start; }
.facts.rows li > span { min-width: 0; }
.facts.rows li > span b { display: block; text-align: left; font-family: var(--hand); font-weight: 400; font-size: 23px; line-height: 1.05; }
.facts.rows li > span small { display: block; font-size: 13.5px; color: #55557a; }
.facts.rows li > b { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.facts.rows li > b .btn { margin: 0; }
.facts.wallet { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); column-gap: 26px; }
.facts.wallet li:last-child { border-bottom: 1px dashed #b9b4a2; }

/* ---------------------------------------------------------------- app: rewards */

/* A claim ticket with a tear-off stub. */
.coupon {
  --stub: 150px; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); margin-top: 26px; transform: rotate(-1.4deg);
  background: var(--label); color: var(--ink); border-radius: 14px; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .35));
  -webkit-mask: radial-gradient(circle 15px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 15px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 15px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 15px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.c-main { padding: 22px 26px 22px; border-right: 3px dashed #b9b4a2; min-width: 0; }
.c-main .hand { display: block; font-size: 25px; color: #b3124f; }
.c-main b { display: block; font-weight: 900; font-stretch: 120%; font-size: clamp(40px, 5.6vw, 62px); line-height: 1.02; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.c-unit { font-weight: 800; letter-spacing: .22em; font-size: 14px; }
.c-main p { margin-top: 10px; font-size: 15px; color: #55557a; }
.c-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; background: var(--neon); }
.c-stub .btn { margin: 0; }
.c-admit { font-family: var(--hand); font-size: 30px; line-height: 1; transform: rotate(-8deg); }
.coupon.dim .c-stub { background: #e3ddc9; }
.facts.on-dark { margin-top: 26px; }
.facts.on-dark li { border-bottom-color: rgba(251, 248, 239, .22); }
.facts.on-dark li span { color: var(--soft); }
.help.on-dark { color: var(--soft); }
/* The $BORRO strip: the contract address on the landing's hero and the Rewards page. */
.coin { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 26px; padding: 14px 18px; border-radius: 10px; background: var(--label); color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .28); }
.coin:empty { display: none; }
.cn-tag { flex: none; padding: 5px 11px; border-radius: 7px; background: var(--neon); color: var(--label); font-weight: 900; font-stretch: 115%; font-size: 17px; transform: rotate(-3deg); }
.cn-words { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; min-width: 0; flex: 1 1 260px; }
.cn-words b { font-weight: 800; font-stretch: 110%; font-size: 19px; }
.cn-say { font-family: var(--hand); font-size: 20px; line-height: 1.2; color: #55557a; }
.coin code { font: 700 15px/1.3 var(--ui); font-variant-numeric: tabular-nums; padding: 5px 9px; border-radius: 6px; background: #ece6d3; overflow-wrap: anywhere; }
.cn-act { display: flex; gap: 8px; flex: none; }
/* The landing's big $BORRO bar, under the hero buttons: once live, the contract address is the loudest thing in it. */
.hero-ca { margin-top: 24px; max-width: 640px; padding: 14px 16px; border: 3px solid var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.hero-ca .cn-tag { font-size: 18px; }
.hero-ca.live code { font-size: 19px; padding: 7px 10px; letter-spacing: .01em; }
.hero-ca.live .cn-words { flex-basis: 100%; }
.btn.ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); text-decoration: none; }
.btn.ink:hover { background: rgba(22, 22, 43, .08); }
.btn.ink:active { transform: none; }
section[data-tab="rewards"] .coin { margin: 18px 0 22px; }
.pools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.pool { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-radius: 10px; background: var(--label); color: var(--ink); }
.pool b { font-weight: 800; font-stretch: 110%; font-size: 18px; }
.pool span { font-size: 14.5px; color: #55557a; }
.pool a { margin-top: auto; padding-top: 8px; font-weight: 700; color: #4a2fd0; }
.p-pic { display: block; height: 92px; margin-bottom: 6px; border-radius: 6px; background: #efe9d6 center / contain no-repeat; }
.p-lend { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 92'%3E%3Crect x='20' y='80' width='120' height='7' rx='2' fill='%23121217'/%3E%3Cg transform='rotate(-6 70 80)'%3E%3Crect x='52' y='14' width='30' height='66' rx='3' fill='%23121217'/%3E%3Crect x='58' y='20' width='18' height='40' rx='2' fill='%23fbf8ef'/%3E%3Crect x='58' y='20' width='18' height='7' fill='%23ff4f9a'/%3E%3C/g%3E%3Crect x='86' y='22' width='30' height='58' rx='3' fill='%23121217'/%3E%3Crect x='92' y='28' width='18' height='36' rx='2' fill='%23fbf8ef'/%3E%3Crect x='92' y='28' width='18' height='7' fill='%233fe0b5'/%3E%3Ccircle cx='118' cy='30' r='13' fill='%23ffd83a' stroke='%2316162b' stroke-width='2.5'/%3E%3Cpath d='M112 30h12M118 24v12' stroke='%2316162b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.p-usdg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 92'%3E%3Cg transform='rotate(-8 70 50)'%3E%3Crect x='30' y='30' width='76' height='40' rx='5' fill='%233fe0b5' stroke='%2316162b' stroke-width='2.5'/%3E%3Ccircle cx='68' cy='50' r='10' fill='%23fbf8ef' stroke='%2316162b' stroke-width='2.2'/%3E%3Cpath d='M68 43v14M71 46c-1-1.5-6-1.6-6 1 0 2.6 6 1.3 6 4 0 2.5-5 2.3-6.2.6' fill='none' stroke='%2316162b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(6 90 46)'%3E%3Crect x='54' y='22' width='76' height='40' rx='5' fill='%233fe0b5' stroke='%2316162b' stroke-width='2.5'/%3E%3Ccircle cx='92' cy='42' r='10' fill='%23fbf8ef' stroke='%2316162b' stroke-width='2.2'/%3E%3C/g%3E%3Ccircle cx='128' cy='68' r='13' fill='%23ffd83a' stroke='%2316162b' stroke-width='2.5'/%3E%3Cpath d='M122 68h12M128 62v12' stroke='%2316162b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.p-short { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 92'%3E%3Crect x='14' y='80' width='70' height='7' rx='2' fill='%23121217'/%3E%3Crect x='24' y='16' width='30' height='64' rx='3' fill='%23121217'/%3E%3Crect x='30' y='22' width='18' height='38' rx='2' fill='%23fbf8ef'/%3E%3Crect x='30' y='22' width='18' height='7' fill='%23ffd83a'/%3E%3Crect x='58' y='16' width='30' height='64' rx='3' fill='none' stroke='%23b9b4a2' stroke-width='2.2' stroke-dasharray='5 5'/%3E%3Cg transform='rotate(-10 122 44)'%3E%3Crect x='94' y='30' width='58' height='28' rx='5' fill='none' stroke='%23ff4f9a' stroke-width='4'/%3E%3Ctext x='123' y='51' text-anchor='middle' font-family='Arial Black,Arial' font-weight='900' font-size='17' fill='%23ff4f9a'%3ESOLD%3C/text%3E%3C/g%3E%3C/svg%3E"); }
.marquee.in-app { margin-top: 24px; }
.marquee.in-app .board span:last-child { color: var(--soft); }

/* ---------------------------------------------------------------- app: rules */

.risks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.risks li { padding: 10px 12px; font-size: 15px; background: #fff; border-left: 6px solid var(--neon); border-radius: 0 8px 8px 0; }
.risks li:nth-child(3n+2) { border-left-color: var(--sticker); }
.risks li:nth-child(3n) { border-left-color: var(--mint); }
.facts.addresses li.head { border-bottom: 0; padding: 16px 0 0; }
.facts.addresses li.head b { font-family: var(--hand); font-weight: 400; font-size: 23px; text-align: left; }

/* ---------------------------------------------------------------- app: what lenders get */

/* Before anyone borrows there is no rent or interest yet, so the sticker says BORRO, which lenders get from day one. */
.sticker.word { font-size: 15.5px; font-stretch: 88%; letter-spacing: .02em; }
.sticker.word small { max-width: 64px; margin: 3px auto 0; font-size: 9.5px; line-height: 1.1; letter-spacing: 0; }
/* Two facts at the top of each Supply card: rent (or interest), and BORRO. */
.earns { display: grid; gap: 10px; margin: 2px 0 6px; }
.earn { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: start; }
.e-tag {
  justify-self: start; padding: 5px 10px; border-radius: 99px; background: var(--sticker); color: var(--ink); transform: rotate(-4deg);
  font-weight: 900; font-stretch: 85%; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.e-tag.e-borro { background: var(--neon); color: var(--label); }
.earn p { font-size: 15px; line-height: 1.4; }
.a-bar > i.a-parked { background: var(--sticker); }

/* ---------------------------------------------------------------- app: the wallet picker */

/* Each wallet the browser announces is a tape to pull off the shelf: its own icon and name on the label. */
.wallets {
  width: min(460px, calc(100% - 32px)); padding: 22px 22px 18px; border: 0; border-radius: 14px;
  background: var(--label); color: var(--ink); box-shadow: 0 10px 0 rgba(0, 0, 0, .35);
}
.wallets::backdrop { background: rgba(12, 12, 40, .74); }
.w-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.w-head h2 { font-size: 28px; }
.w-head .hand { font-size: 21px; color: #b3124f; transform: rotate(-2deg); }
.w-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.w-pick {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border: 0; border-radius: 6px; cursor: pointer;
  font: inherit; text-align: left; color: var(--label); transition: transform .1s;
  background: linear-gradient(var(--tape-edge), var(--tape) 14%, var(--tape) 86%, #000); box-shadow: 0 5px 0 rgba(0, 0, 0, .3);
}
.w-pick:hover, .w-pick:focus-visible { transform: translateY(-3px); }
.w-label {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 3px;
  background: var(--label); color: var(--ink); border-left: 10px solid var(--band, var(--neon));
}
.w-label img { flex: none; width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
.w-letter { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--ink); color: var(--label); font-family: var(--hand); font-style: normal; font-size: 20px; }
.w-label b { min-width: 0; font-family: var(--hand); font-weight: 400; font-size: 26px; line-height: 1.05; overflow-wrap: anywhere; }
.w-last {
  flex: none; padding: 6px 9px; border-radius: 99px; background: var(--sticker); color: var(--ink); transform: rotate(-7deg);
  font-weight: 800; font-stretch: 85%; font-size: 12px; box-shadow: 0 2px 0 rgba(0, 0, 0, .3);
}
.w-last.w-on { background: var(--mint); }
.w-none p { margin-top: 10px; }
.w-none b { font-size: 18px; }
.w-foot { margin-top: 16px; }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 18px; gap: 34px; }
  .cols, .three, .rule-grid { grid-template-columns: 1fr; }
  .receipt { transform: none; }
  .tape { grid-template-columns: 1fr; }
  .tape .label { grid-template-columns: 1fr 1fr; }
  .tape .who { grid-column: 1 / -1; }
  .tape .side { justify-content: space-between; }
  .bar { gap: 10px 14px; }
  .bar > .btn { margin-left: auto; }
  .bar nav { margin-left: 0; width: 100%; order: 3; flex-wrap: nowrap; gap: 2px; justify-content: space-between; }
  .bar nav a, .bar nav button { padding: 7px 8px; font-size: 15px; white-space: nowrap; }
}
@media (max-width: 460px) {
  .brand small { display: none; }
  .bar nav a, .bar nav button { padding: 7px 5px; font-size: 14px; }
}
@media (max-width: 520px) {
  body:not(.app) .bar nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  body:not(.app) .bar nav a { text-align: center; padding: 7px 4px; background: rgba(0, 0, 0, .2); border-radius: 7px; }
}
@media (max-width: 620px) {
  .rule p { padding-left: 18px; }
}
@media (max-width: 1100px) {
  .app .bar nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .app .bar > .btn { margin-left: auto; }
  .cols.three { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dash-top { grid-template-columns: 1fr; gap: 30px; }
  .member, .receipt.till, .coupon { transform: none; }
  .vcr-face { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcr-free { grid-column: 1 / -1; padding: 8px 0; border-top: 1px dashed #2b2b3a; border-bottom: 1px dashed #2b2b3a; }
  .app .bar nav { justify-content: space-between; }
}
@media (max-width: 620px) {
  .app .bar nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .app .bar nav button { padding: 7px 2px; font-size: 14px; text-align: center; background: rgba(0, 0, 0, .2); border-radius: 7px; }
  .app .bar nav button[aria-current="page"] { background: var(--label); color: var(--ink); }
  .picker { gap: 4px; padding: 16px 6px 0; }
  .pk { height: 112px; padding: 5px 3px 0; }
  .pk:nth-child(3n+2) { height: 106px; }
  .pk:nth-child(4n+3) { height: 116px; }
  .pk:nth-child(5n+4) { height: 110px; }
  .pk:hover { transform: none; }
  .pk[aria-checked="true"] { transform: translateY(-12px); }
  .pk-label { height: 74px; padding-top: 5px; border-top-width: 7px; }
  .pk-label b { writing-mode: vertical-rl; font-size: 17px; }
  .pk-label small { display: none; }
  .pk-dot { min-width: 0; width: calc(100% - 2px); height: 18px; padding: 0; bottom: 7px; font-size: 8.5px; transform: translateX(-50%) rotate(-5deg); }
  .mode { padding: 10px 10px 12px 21px; }
  .mode b { font-size: 23px; }
  .mode span { display: block; font-size: 12.5px; line-height: 1.25; }
  .coupon { --stub: 104px; }
  .c-main { padding: 18px 16px; }
  .c-admit { font-size: 24px; }
  .c-stub .btn { padding: 10px 14px; }
  .pools { grid-template-columns: 1fr; }
  .m-nums { grid-template-columns: 1fr 1fr; }
  .m-stamp { top: 64px; right: 12px; font-size: 13px; padding: 2px 8px; border-width: 3px; }
  .m-band, .m-body { padding-left: 16px; padding-right: 16px; }
  .card { padding: 22px 18px; }
  .tape .acts .btn { padding: 7px 12px; }
  .card .btn { white-space: normal; }
  .facts li { gap: 10px; }
  .vcr { padding: 10px 10px 8px; }
  .vcr-face { padding: 10px 12px; }
  .legs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Terms of Use and Privacy Policy: a readable cream column on the carpet. */
.legal { background: var(--label); color: var(--ink); border-radius: 18px; padding: clamp(24px, 5vw, 52px) clamp(18px, 5vw, 56px); margin: 6px 0 34px; box-shadow: 0 10px 0 rgba(0, 0, 0, .3); }
.legal h1 { font-family: var(--ui); font-weight: 900; font-stretch: 125%; font-size: clamp(34px, 6vw, 56px); line-height: 1; letter-spacing: -.015em; margin: 0; }
.legal .updated { font-family: var(--hand); color: #b3124f; font-size: 22px; margin: 8px 0 18px; }
.legal .lead { font-size: 19px; line-height: 1.55; max-width: 68ch; }
.legal .toc { background: #efeadb; border-radius: 14px; padding: 18px 22px; margin: 22px 0 30px; max-width: 68ch; }
.legal .toc ol { margin: 0; padding-left: 24px; columns: 2 260px; column-gap: 32px; }
.legal .toc li { font-size: 15.5px; line-height: 1.7; break-inside: avoid; }
.legal section { max-width: 68ch; padding-top: 6px; scroll-margin-top: 16px; }
.legal h2 { font-family: var(--ui); font-weight: 800; font-size: 23px; line-height: 1.25; margin: 26px 0 8px; display: flex; gap: 12px; align-items: baseline; }
.legal h2 span { font-family: var(--hand); font-weight: 400; color: var(--neon); font-size: 22px; min-width: 30px; }
.legal p, .legal li { font-size: 17px; line-height: 1.62; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal a { color: #b3124f; font-weight: 600; text-underline-offset: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; }
.foot-links a { color: var(--label); }


/* Verify on chain (Rules): every market, with its Morpho id and where to read it. */
.verify { margin-top: 22px; }
.verify .lead { color: #55557a; max-width: 62em; }
.verify .lead code, .v-id code { font: 700 13px/1.3 var(--ui); font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 6px; background: #ece6d3; }
/* For agents (the MCP server): the address and the client snippets, wrapping on a phone instead of scrolling. */
.agents { margin-top: 22px; }
.agents .lead { color: #55557a; max-width: 62em; }
.agents code { font: 700 13px/1.4 var(--ui); overflow-wrap: anywhere; }
.agents pre { margin: 6px 0 12px; padding: 10px 12px; border-radius: 8px; background: #ece6d3; white-space: pre-wrap; overflow-wrap: anywhere; }
.v-total { margin: 16px 0 4px; padding: 12px 14px; border-radius: 8px; background: var(--ink); color: var(--label); font-weight: 800; font-stretch: 105%; }
.v-list { display: grid; gap: 0; }
.v-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.7fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #b9b4a2; }
.v-row:last-child { border-bottom: 0; }
.v-name b { display: block; font-weight: 800; }
.v-name small { display: block; margin-top: 2px; font-size: 13px; color: #55557a; }
.v-num span, .v-id > span { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8a8aa6; font-weight: 700; }
.v-num b { display: block; font-variant-numeric: tabular-nums; }
.v-num small { display: block; font-size: 12.5px; color: #55557a; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.v-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.v-id > span { flex-basis: 100%; }
.v-id .btn { margin-top: 0; padding: 4px 12px; }
.v-id a { font-size: 14px; font-weight: 700; }
.vcr-read .vcr-verify { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--sticker); text-decoration: underline; text-underline-offset: 3px; }
.mk-list li { padding: 7px 0; font-size: 15px; }
@media (max-width: 860px) {
  .v-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
  .v-name, .v-id { grid-column: 1 / -1; }
}

/* HIGH SCORES (chain.js mountBoard): the weekly prize as a 90s arcade cabinet's high-score screen. A bezel, a dark
   screen with scanlines and phosphor glow, neon ranks (gold, silver, bronze), an LCD countdown over its unlit
   segments, and a blinking 1UP. Reduced motion stops the blinking (the global rule above). */
.arcade { --phos: #8ff5d4; --arc-gold: #ffd83a; --arc-silver: #e3e9f7; --arc-bronze: #ff9d57; margin-top: 26px; }
.arc-screen {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(18px, 3vw, 30px) clamp(16px, 3vw, 34px) 22px;
  background: radial-gradient(ellipse at 50% 40%, #0d0d24 0%, #06060f 70%, #020206 100%);
  border: 12px solid #121217; box-shadow: 0 0 0 3px #2b2b36, 0 14px 0 rgba(0, 0, 0, .35), inset 0 0 60px rgba(0, 0, 0, .9), inset 0 0 18px rgba(63, 224, 181, .15);
  font-family: VT323, ui-monospace, monospace; color: var(--phos); text-shadow: 0 0 6px rgba(143, 245, 212, .55);
}
.arc-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 14px;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .75);
}
.arc-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.arc-title { margin: 0; font-family: VT323, monospace; font-weight: 400; font-size: clamp(44px, 7vw, 76px); line-height: .9; letter-spacing: .06em; text-align: center;
  color: var(--neon); text-shadow: 0 0 8px rgba(255, 79, 154, .9), 0 0 26px rgba(255, 79, 154, .6), 3px 3px 0 #3a0c22; }
.arc-jack { display: grid; justify-items: start; line-height: 1; }
.arc-jack span { font-size: 20px; letter-spacing: .18em; color: var(--soft); text-shadow: none; }
.arc-jack b { font-weight: 400; font-size: clamp(34px, 4.6vw, 52px); color: var(--arc-gold); text-shadow: 0 0 8px rgba(255, 216, 58, .9), 0 0 24px rgba(255, 216, 58, .5); }
.arc-clock { position: relative; justify-self: end; display: grid; justify-items: end; line-height: 1; padding: 6px 10px 4px; border-radius: 6px; background: #071510; box-shadow: inset 0 0 0 2px #0f3528; }
.arc-clock .ghost, .arc-clock .time { grid-area: 1 / 1; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .04em; }
.arc-clock .ghost { color: rgba(63, 224, 181, .12); text-shadow: none; }
.arc-clock .time { color: var(--mint); text-shadow: 0 0 8px rgba(63, 224, 181, .9); }
.arc-clock small { font-size: 14px; letter-spacing: .16em; color: var(--soft); text-shadow: none; margin-top: 2px; }
.arc-week { text-align: center; font-size: 22px; letter-spacing: .14em; color: var(--soft); margin: 10px 0 14px; text-shadow: none; }
.arc-list { position: relative; z-index: 1; display: grid; gap: 2px; }
.arc-row {
  display: grid; grid-template-columns: 82px minmax(0, 1.5fr) 64px 112px 96px minmax(0, 1.1fr); gap: 10px; align-items: baseline;
  padding: 6px 10px; border-radius: 6px; color: inherit; text-decoration: none; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1;
}
a.arc-row:hover, a.arc-row:focus-visible { background: rgba(143, 245, 212, .08); }
.arc-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-hdr { font-size: 17px; letter-spacing: .14em; color: var(--soft); text-shadow: none; padding-bottom: 2px; border-bottom: 1px dashed rgba(195, 195, 238, .3); border-radius: 0; }
.arc-row .c-score { color: #fff; }
.arc-row .c-score.neg { color: #ff8fb8; }
.arc-row .c-status.live { color: var(--neon); }
.arc-row.r1 { color: var(--arc-gold); text-shadow: 0 0 8px rgba(255, 216, 58, .85); font-size: clamp(26px, 2.9vw, 36px); }
.arc-row.r2 { color: var(--arc-silver); text-shadow: 0 0 8px rgba(227, 233, 247, .7); }
.arc-row.r3 { color: var(--arc-bronze); text-shadow: 0 0 8px rgba(255, 157, 87, .75); }
.arc-row .up { font-style: normal; font-size: .62em; margin-left: 6px; color: var(--neon); text-shadow: 0 0 6px var(--neon); animation: arc-blink 1s steps(2, jump-none) infinite; vertical-align: .2em; }
@keyframes arc-blink { 50% { opacity: 0; } }
.arc-row.practice { opacity: .55; font-size: clamp(19px, 2vw, 24px); }
.arc-row.practice .c-status { color: #ffb3cf; }
.arc-div { margin: 14px 0 4px; text-align: center; font-size: 20px; letter-spacing: .3em; color: var(--soft); text-shadow: none; display: flex; align-items: center; gap: 12px; }
.arc-div::before, .arc-div::after { content: ""; flex: 1; border-top: 1px dashed rgba(195, 195, 238, .35); }
.arc-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 18px 10px 10px; }
.arc-empty .arc-coin { font-weight: 400; font-size: clamp(40px, 6vw, 64px); color: var(--arc-gold); letter-spacing: .08em; text-shadow: 0 0 10px rgba(255, 216, 58, .9), 0 0 30px rgba(255, 216, 58, .45);
  animation: arc-pulse 1.2s steps(2, jump-none) infinite; }
@keyframes arc-pulse { 50% { opacity: .3; } }
.arc-empty span { font-size: clamp(20px, 2.4vw, 26px); color: var(--phos); }
.arc-start { margin-top: 8px; font-family: var(--ui); text-shadow: none; }
.arc-wait, .arc-note { margin: 10px 0; text-align: center; font-size: 22px; color: var(--soft); text-shadow: none; }
.arc-foot { position: relative; z-index: 1; margin: 16px 0 0; font-family: var(--ui); font-size: 13.5px; line-height: 1.45; color: var(--soft); text-shadow: none; }
.arc-hall { margin-top: 16px; padding: 14px 18px 16px; border-radius: 14px; background: #0c0c10; border: 2px solid var(--sticker); box-shadow: inset 0 0 22px rgba(255, 216, 58, .18);
  font-family: VT323, monospace; color: var(--sticker); }
.arc-hall h4 { margin: 0 0 6px; font-family: VT323, monospace; font-weight: 400; font-size: 30px; letter-spacing: .2em; text-align: center; text-shadow: 0 0 8px rgba(255, 216, 58, .7); }
.arc-hof { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; padding: 4px 6px; color: inherit; text-decoration: none; font-size: 24px; }
.arc-hof:hover { background: rgba(255, 216, 58, .08); }
.arc-hof b { font-weight: 400; }
.arcade.compact .arc-title { font-size: clamp(38px, 5.4vw, 60px); }
.arc-more { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--sticker); }
.hs-landing { margin-top: 46px; }
@media (max-width: 640px) {
  .arc-head { grid-template-columns: 1fr 1fr; }
  .arc-title { grid-column: 1 / -1; grid-row: 1; }
  .arc-week { font-size: 18px; letter-spacing: .08em; }
  .arc-clock .ghost, .arc-clock .time { font-size: 23px; white-space: nowrap; }
  .arc-hdr { display: none; }
  .arc-row {
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "rank who score" "rank stock status"; row-gap: 0; column-gap: 12px;
    padding: 8px 6px; border-bottom: 1px dashed rgba(195, 195, 238, .18); border-radius: 0;
  }
  .arc-row .c-rank { grid-area: rank; align-self: center; }
  .arc-row .c-who { grid-area: who; }
  .arc-row .c-score { grid-area: score; text-align: right; }
  .arc-row .c-stock { grid-area: stock; font-size: .8em; color: var(--soft); }
  .arc-row .c-status { grid-area: status; text-align: right; font-size: .8em; }
  .arc-row .c-size { display: none; }
  .arc-row .c-stock::after { content: attr(data-size); }
  .arc-hof { grid-template-columns: 1fr auto; font-size: 20px; }
  .arc-hof span:first-child { grid-column: 1 / -1; color: var(--soft); }
}

/* ---------------------------------------------------------------- the Terminal (app-term.js)
   A 90s trading terminal on the shop floor: near-black panels, phosphor green up and pink down, VT323 for
   headers and tickers, the UI font for numbers. Wider than the page on big screens; stacked on phones. */

.term {
  --t-bg: #07070d; --t-panel: #0b0b14; --t-line: #23233a; --t-dim: #8d8ab0; --t-up: #39ff9c; --t-down: #ff4f9a;
  position: relative; width: min(1560px, 100vw - 56px); margin-inline: calc((100% - min(1560px, 100vw - 56px)) / 2);
  display: grid; gap: 10px; padding: 10px; background: var(--t-bg); border: 1px solid var(--t-line); border-radius: 14px;
  grid-template-columns: 336px minmax(0, 1fr) 380px;
  grid-template-rows: auto minmax(560px, 1fr) auto;
  grid-template-areas: "status status status" "watch chart ticket" "panel panel ticket";
  box-shadow: 0 18px 0 rgba(0, 0, 0, .28); color: #e8e6ff; font-size: 14px; line-height: 1.35;
}
.term::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.term > * { min-width: 0; }
.t-status, .t-watch, .t-chart, .t-panel { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: 8px; }
.t-head, .t-status, .t-cols, .t-tabs button, .t-table th, .t-keys, .t-paused, .t-frames button { font-family: VT323, ui-monospace, monospace; letter-spacing: .06em; }

.t-status { grid-area: status; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; padding: 6px 14px; font-size: 19px; color: var(--t-dim); }
.t-status b { font-weight: 400; color: var(--t-up); text-shadow: 0 0 6px rgba(57, 255, 156, .45); }
.t-status #tClock { margin-left: auto; color: #e8e6ff; }
.t-status .good { color: var(--t-up); }
.t-status .warn { color: var(--sticker); }

.t-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--t-line); font-size: 19px; color: var(--t-up); }
.t-head input { margin-left: auto; width: 120px; font: 16px VT323, monospace; color: #e8e6ff; background: #05050a; border: 1px solid var(--t-line); border-radius: 4px; padding: 3px 7px; }
.t-head input:focus { outline: 2px solid var(--t-up); outline-offset: 1px; }

.t-watch { grid-area: watch; display: flex; flex-direction: column; }
.t-cols, #tWatch li { display: grid; grid-template-columns: 50px minmax(0, 1fr) 58px 50px 56px; gap: 6px; align-items: baseline; }
.t-cols { padding: 6px 12px 4px; font-size: 15px; color: var(--t-dim); }
.t-cols span:not(:first-child), #tWatch li span:not(.tk) { text-align: right; }
#tWatch { list-style: none; margin: 0; padding: 0 0 6px; }
#tWatch li { padding: 7px 12px; cursor: pointer; border-left: 3px solid transparent; font-variant-numeric: tabular-nums; }
#tWatch li:hover { background: #12121f; }
#tWatch li.on { background: #15152a; border-left-color: var(--t-up); }
#tWatch .tk { font: 21px VT323, monospace; letter-spacing: .04em; color: #fff; }
#tWatch .px { color: #e8e6ff; }
#tWatch .chg, #tWatch .rent, #tWatch .free { color: var(--t-dim); font-size: 13px; }
.term .up { color: var(--t-up); }
.term .down { color: var(--t-down); }
.t-keys { margin-top: auto; padding: 8px 12px; border-top: 1px solid var(--t-line); font-size: 15px; color: var(--t-dim); }

.t-chart { grid-area: chart; display: flex; flex-direction: column; }
.t-sym b { font: 26px VT323, monospace; color: #fff; letter-spacing: .05em; }
.t-sym small { margin-left: 8px; font: 13px var(--ui); color: var(--t-dim); letter-spacing: 0; }
.t-px { font: 600 14px var(--ui); letter-spacing: 0; color: #e8e6ff; }
.t-paused { padding: 1px 8px; border: 1px solid var(--sticker); border-radius: 4px; color: var(--sticker); font-size: 16px; }
.t-frames { margin-left: auto; display: flex; gap: 4px; }
.t-frames button { font-size: 17px; color: var(--t-dim); background: transparent; border: 1px solid var(--t-line); border-radius: 4px; padding: 1px 8px; cursor: pointer; }
.t-frames button[aria-pressed="true"] { color: #05050a; background: var(--t-up); border-color: var(--t-up); }
.t-chartbox { position: relative; flex: 1 1 auto; min-height: 470px; }
.t-legend { position: absolute; left: 10px; top: 8px; z-index: 3; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--t-dim); pointer-events: none; }
.t-legend i { display: inline-block; width: 14px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px dashed currentColor; }
.t-legend .feed { color: var(--sticker); }
.t-legend .entry { color: #7ec8ff; }
.t-legend .entry i { border-top-style: dotted; }
.t-legend .liq { color: var(--t-down); }
.t-legend .liq i { border-top-style: solid; }
.t-chartmsg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t-dim); font: 20px VT323, monospace; z-index: 2; pointer-events: none; }
.t-src { padding: 6px 12px 8px; border-top: 1px solid var(--t-line); color: var(--t-dim); font-size: 12px; }

.t-ticket { grid-area: ticket; display: flex; flex-direction: column; gap: 8px; }
.t-ticket > .card { margin: 0; padding: 22px 22px 20px; }
.t-ticket > .card h2 { font-size: 26px; margin-bottom: 8px; }
.t-ticket .gauge { max-width: 210px; }
.t-ticket .facts li { padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
.t-ticket .help { font-size: 13px; }
.t-basket { align-self: center; font-size: 14px; color: var(--soft); }

.t-panel { grid-area: panel; display: flex; flex-direction: column; min-height: 200px; }
.t-tabs { display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--t-line); }
.t-tabs button { font-size: 19px; color: var(--t-dim); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 4px 12px 5px; cursor: pointer; }
.t-tabs button[aria-selected="true"] { color: var(--t-up); border-bottom-color: var(--t-up); }
.t-body { padding: 4px 10px 10px; overflow-x: auto; }
.t-empty { padding: 26px 8px; text-align: center; color: var(--t-dim); font: 20px VT323, monospace; letter-spacing: .04em; }
.t-note { margin-top: 8px; color: var(--t-dim); font-size: 12px; }
.t-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t-table th { padding: 8px 8px 5px; text-align: left; font-weight: 400; font-size: 15px; color: var(--t-dim); border-bottom: 1px solid var(--t-line); white-space: nowrap; }
.t-table td { padding: 7px 8px; border-bottom: 1px solid #16162a; white-space: nowrap; }
.t-table tr.on td, .t-table tr.me td { background: #12122a; }
.t-table .btn.sm { padding: 5px 14px; font-size: 13px; box-shadow: 0 3px 0 #b8940a; }
.t-table .btn.sm.line { box-shadow: none; }
.t-link { font: inherit; color: var(--sticker); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.t-table .t-link { font: 20px VT323, monospace; text-decoration: none; color: #fff; }
.t-table a.t-link { font: inherit; color: var(--sticker); text-decoration: underline; }
.t-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.t-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 2px; border-bottom: 1px solid #16162a; }
.t-facts span { color: var(--t-dim); }
.t-facts b { font-weight: 700; text-align: right; }
.t-credit { margin: 12px 0 0; text-align: center; color: var(--soft); font-size: 12px; }
.t-credit a { color: var(--soft); }

/* Mid widths: the watchlist becomes a row of chips over the chart and the ticket. */
@media (max-width: 1240px) {
  .term { grid-template-columns: 370px minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "status status" "watch watch" "chart chart" "ticket panel"; }
  .t-chartbox { min-height: 440px; }
  .t-cols, .t-keys { display: none; }
  #tWatch { display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: thin; }
  #tWatch li { display: flex; flex-direction: column; flex: none; gap: 0; padding: 6px 10px; border: 1px solid var(--t-line); border-left-width: 1px; border-radius: 6px; min-width: 92px; }
  #tWatch li.on { border-color: var(--t-up); }
  #tWatch li span:not(.tk) { text-align: left; }
  #tWatch .rent, #tWatch .free { display: none; }
  .t-head input { width: 110px; }
}
/* Phones: one column, chart then ticket then the panels. */
@media (max-width: 860px) {
  .term { width: auto; margin-inline: 0; padding: 8px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "status" "watch" "chart" "ticket" "panel"; }
  .t-legend { font-size: 11px; }
  .t-status { font-size: 16px; gap: 2px 14px; }
  .t-status #tClock { margin-left: 0; }
  .t-head { flex-wrap: wrap; }
  .t-frames { margin-left: 0; }
  .t-chartbox { min-height: 330px; }
  .t-facts { grid-template-columns: minmax(0, 1fr); }
  .t-body { overflow-x: visible; }
  .t-table thead { display: none; }
  .t-table, .t-table tbody, .t-table tr, .t-table td { display: block; width: 100%; }
  .t-table tr { padding: 8px 0; border-bottom: 1px solid var(--t-line); }
  .t-table td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 4px; border: 0; white-space: normal; text-align: right; }
  .t-table td::before { content: attr(data-label); color: var(--t-dim); font: 15px VT323, monospace; letter-spacing: .05em; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .term * { transition: none !important; }
}
