@font-face { font-family: 'Petrona'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/petrona.woff2) format('woff2'); }
@font-face { font-family: 'Petrona'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/petrona-italic.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-display: swap; src: url(/fonts/fira-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 500; font-display: swap; src: url(/fonts/fira-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-weight: 700; font-display: swap; src: url(/fonts/fira-sans-700.woff2) format('woff2'); }
@font-face { font-family: 'Fira Mono'; font-weight: 400; font-display: swap; src: url(/fonts/fira-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'Fira Mono'; font-weight: 500; font-display: swap; src: url(/fonts/fira-mono-500.woff2) format('woff2'); }

:root {
  --page: #f3e7db; --paper: #fcf8f3; --paper-2: #f4ede4; --ink: #222737; --quiet: #5f6273; --rule: rgba(34, 39, 55, .14);
  --night: #2f3852; --night-2: #465071; --dusk: #7d7a95; --peach: #eab996; --sun: #f9dcb2;
  --blue: #3f86e0; --blue-d: #1f5fb8; --blue-l: #dbe8fa; --wood: #b98a5c; --stone: #e9e4dc;
  --r: 18px;
  --disp: 'Petrona', Georgia, serif; --text: 'Fira Sans', system-ui, sans-serif; --mono: 'Fira Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--page); font: 400 17px/1.6 var(--text); min-height: 100vh; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -.012em; }
h1 em, h2 em { font-style: italic; font-weight: 600; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: var(--mono); }
.mono { font-size: .9em; }
.wrap { overflow-wrap: anywhere; word-break: break-all; }
.quiet { color: var(--quiet); }
.error { color: #b3361f; }
small { font-size: .82em; }

/* bands */
.ca-strip { background: var(--ink); color: var(--paper); text-align: center; padding: 8px 16px; font-size: 14px; overflow-wrap: anywhere; }
.ca-strip a { color: #9cc2f3; }
.mode-note { margin: 0; background: var(--night); color: #f3e3d2; text-align: center; padding: 7px 16px; font-size: 14px; }

/* header */
.top { display: flex; align-items: center; gap: 30px; max-width: 1340px; margin: 0 auto; padding: 22px 32px 20px; }
.mark { display: flex; align-items: center; gap: 8px; text-decoration: none; font: italic 800 44px/1 var(--disp); letter-spacing: -.02em; }
.mark svg { width: 52px; height: 52px; margin-top: -4px; }
.top nav { display: flex; gap: 24px; margin-left: 14px; font-weight: 500; font-size: 16px; }
.top nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
.top nav a.on, .top nav a:hover { background-size: 100% 2px; }
.top nav .x { color: var(--quiet); }
.top .wallet { margin-left: auto; font-family: var(--mono); }

/* buttons: flag cloth with a stitched hem */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  font: 700 17px/1 var(--text); color: #fff; background: var(--blue); border: 0; border-radius: 6px;
  padding: 15px 24px; box-shadow: inset 0 -3px 0 var(--blue-d), 0 2px 0 rgba(34, 39, 55, .35), 0 6px 14px -6px rgba(34, 39, 55, .45);
  transition: transform .08s, box-shadow .08s, background .15s;
}
.btn::after { content: ''; position: absolute; inset: 4px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 3px; pointer-events: none; }
.btn:hover { background: #4b91ea; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--blue-d), 0 0 0 rgba(34, 39, 55, .35); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 0 rgba(34, 39, 55, .35); }
.btn.ghost::after { border-color: rgba(34, 39, 55, .28); }
.btn.ghost:hover { background: #fff; }
.btn.line { background: rgba(252, 248, 243, .08); color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(252, 248, 243, .8); }
.btn.line::after { border-color: rgba(252, 248, 243, .35); }
.btn.line:hover { background: rgba(252, 248, 243, .16); }
.btn.small { font-size: 15px; padding: 10px 15px; }
.btn.small::after { inset: 3px; }
.btn.big { font-size: 19px; padding: 18px 30px; }
.top .btn.wallet { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 0 rgba(34, 39, 55, .3); }
.top .btn.wallet::after { border-color: rgba(34, 39, 55, .25); }

main { max-width: 1340px; margin: 0 auto; padding: 0 32px 40px; }
.loading { padding: 80px 0; color: var(--quiet); }

/* hero: one dawn panel, text on the sky, the flag on the right */
.hero { position: relative; height: 640px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #2f3852 0, #465071 38%, #7d7a95 56%, #c99a8f 64%, #eab996 70%, #33364a 76%, #22242f 100%); }
.hero-scene { position: absolute; inset: 0; }
.hero-scene.linked { cursor: pointer; }
.truce-scene { width: 100%; height: 100%; display: block; }
.hero-text { position: relative; z-index: 1; max-width: 610px; padding: 64px 0 0 60px; color: var(--paper); pointer-events: none; }
.hero-text a { pointer-events: auto; }
.hero h1 { font-size: clamp(72px, 8.2vw, 124px); line-height: .92; margin-bottom: 26px; letter-spacing: -.03em; }
.hero h1 em { color: #f6d9bd; }
.lede { font-size: 21px; line-height: 1.5; max-width: 520px; color: #ece3e2; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 0; }
.scene-cap { position: absolute; right: 28px; bottom: 18px; font-size: 14px; font-weight: 500; color: rgba(252, 248, 243, .78); text-align: right; }
.totals { max-width: 900px; margin: 22px auto 0; text-align: center; font: italic 500 20px/1.45 var(--disp); color: var(--ink); }

/* scene parts */
.truce-scene .pole-num { font: 500 11px var(--text); fill: #f3e6d6; opacity: .85; }
.truce-scene .ribbon-txt { font: 800 19px var(--disp); fill: #fff; paint-order: stroke; stroke: #222737; stroke-width: 3.5px; stroke-linejoin: round; }
.truce-scene .ribbon .tail { transform-box: fill-box; transform-origin: 100% 0; animation: tail 3.2s ease-in-out infinite; }
.truce-scene .ribbon .t2 { animation-duration: 4.1s; animation-delay: -1.3s; }
@keyframes tail { 50% { transform: rotate(7deg) skewX(-4deg); } }
.truce-scene .mist { animation: drift 26s ease-in-out infinite alternate; }
.truce-scene .m2 { animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(46px); } }
.truce-scene .env { animation: swing 6s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.4deg); } }
.settled .truce-scene .env { animation-duration: 10s; }
.truce-scene .env-small { font: 700 9.5px var(--text); letter-spacing: .18em; fill: #7d7262; }
.truce-scene .env-big { font: 800 27px var(--disp); fill: var(--ink); }
.truce-scene .env-unit { font: 700 12px var(--text); letter-spacing: .06em; fill: #5f6273; }
.truce-scene .flap-open { opacity: 0; transition: opacity .3s; }
.truce-scene .flap { transform-box: fill-box; transform-origin: 50% 0; transition: transform .45s cubic-bezier(.3, .7, .3, 1), opacity .3s; }
.truce-scene .seal-a, .truce-scene .seal-b { transition: transform .4s ease-out; transform-box: fill-box; }
.truce-scene .opened .flap { transform: scaleY(-.9); opacity: 0; }
.truce-scene .opened .flap-open { opacity: 1; }
.truce-scene .opened .seal-a { transform: translate(-22px, -8px) rotate(-24deg); }
.truce-scene .opened .seal-b { transform: translate(22px, -6px) rotate(26deg); }
.truce-scene .opened .env-small { fill: var(--blue-d); }
.truce-scene .opened .seal circle { opacity: 0; }
.paying .truce-scene .env { animation: none; }
@media (prefers-reduced-motion: reduce) { .truce-scene .mist, .truce-scene .env, .truce-scene .ribbon .tail { animation: none; } }

/* board: one ruled register on linen */
.board { margin-top: 44px; }
.board-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.board-top h2 { font-size: 50px; margin: 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1.5px solid var(--ink); }
.tabs button { font: 500 16px var(--text); border: 0; background: none; padding: 10px 14px 8px; cursor: pointer; color: var(--quiet); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--blue); font-weight: 700; }
.tabs small { opacity: .7; }
.slips { background: var(--paper); border-radius: var(--r); box-shadow: 0 1px 0 rgba(34, 39, 55, .12), 0 18px 40px -28px rgba(34, 39, 55, .5); overflow: hidden; }
.slip {
  display: grid; grid-template-columns: 140px minmax(0, 1.25fr) minmax(0, 1.7fr) 150px 120px; gap: 20px; align-items: center;
  padding: 18px 26px; text-decoration: none; border-top: 1px solid var(--rule); transition: background .15s;
}
.slip:first-child { border-top: 0; }
a.slip:hover { background: #fff; }
.slip.head { background: var(--paper-2); font-size: 13px; font-weight: 700; color: var(--quiet); padding-top: 12px; padding-bottom: 12px; letter-spacing: .02em; }
.slip-id { display: grid; gap: 1px; }
.slip-id .mono { font-size: 18px; font-weight: 500; }
.slip-st { font: italic 600 16px var(--disp); color: var(--quiet); }
.s-open .slip-st, .s-returned .slip-st { color: var(--blue-d); }
.s-expired .slip-st, .s-closed .slip-st { color: #8a5a3c; }
.slip-what { font-weight: 500; overflow-wrap: anywhere; }
.slip-what i { font-style: normal; color: var(--quiet); }
.slip-meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.slip-pct { font: 800 24px var(--disp); white-space: nowrap; }
.slip-pct small { font: 400 13px var(--text); color: var(--quiet); }
.slip-reward { display: grid; }
.slip-reward b { font: 800 22px var(--disp); }
.slip-reward small, .slip-time small { color: var(--quiet); }
.slip-time { font-weight: 500; font-size: 15px; }
.empty { padding: 30px 26px; margin: 0; color: var(--quiet); font: italic 500 20px var(--disp); }

/* the halyard meter: a line, a slate fill, a blue ribbon at the agreed share, a small white flag at the current share */
.halyard { position: relative; height: 26px; }
.halyard.big { height: 34px; }
.h-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(34, 39, 55, .4) 0 6px, transparent 6px 10px); }
.h-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: calc(var(--p) * 100%); background: var(--ink); border-radius: 2px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.h-ribbon { position: absolute; top: 3px; bottom: 3px; left: calc(var(--t) * 100%); width: 6px; margin-left: -3px; background: var(--blue); border-radius: 1.5px; }
.h-ribbon::after { content: ''; position: absolute; left: 1px; top: 100%; width: 4px; height: 6px; background: var(--blue-d); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 60%, 0 100%); }
.h-flag { position: absolute; left: calc(var(--p) * 100%); top: 0; width: 2px; height: 100%; margin-left: -1px; background: var(--ink); transition: left 1.2s cubic-bezier(.2, .8, .2, 1); }
.h-flag::after {
  content: ''; position: absolute; left: 2px; top: 1px; width: 20px; height: 13px; background: #fff; border: 1.5px solid var(--ink); border-left: 0;
  clip-path: polygon(0 0, 30% 12%, 62% 0, 100% 8%, 100% 92%, 66% 84%, 32% 98%, 0 86%);
}
.halyard.big .h-flag::after { width: 26px; height: 17px; }
.h-returned .h-flag::after { background: var(--blue-l); }
.h-expired .h-fill, .h-closed .h-fill { background: #9b9aa6; }
.h-expired .h-flag::after, .h-closed .h-flag::after { transform: skewY(26deg) scaleX(.6); transform-origin: 0 0; background: #e5e1da; }

/* three sides, divided by a line of whitewashed stones */
.sides { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); gap: 26px; margin-top: 64px; }
.sides h3 { font-size: 28px; }
.sides p { margin: 0; color: #393e50; }
.sides-line { background: radial-gradient(circle at 50% 50%, #fffaf2 0 4px, #c9c3b9 4.5px 5.5px, transparent 6px) 50% 0 / 18px 22px repeat-y; }

/* pages */
.page { padding-top: 22px; }
.narrow { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 66px; margin-bottom: 18px; }
.prose h2 { font-size: 30px; margin-top: 36px; }
.prose p.big { font: italic 500 24px/1.45 var(--disp); }
.prose code { background: var(--paper); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--rule); }

/* post form */
.post { max-width: 780px; margin: 0 auto; }
.post-head h1 { font-size: 66px; }
.post-head p { font: italic 500 21px/1.45 var(--disp); max-width: 660px; }
.form { margin-top: 26px; display: grid; gap: 0; background: var(--paper); border-radius: var(--r); box-shadow: 0 1px 0 rgba(34, 39, 55, .12), 0 18px 40px -28px rgba(34, 39, 55, .5); }
.field { padding: 22px 26px; display: grid; gap: 10px; border-top: 1px solid var(--rule); }
.field:first-child { border-top: 0; }
.field > label { font: 800 25px var(--disp); }
.hint { margin: 0; font-size: 15px; color: var(--quiet); }
.field input[type=text], .field input[type=number], .field select {
  width: 100%; font: 400 17px var(--text); padding: 13px 14px; border: 1.5px solid rgba(34, 39, 55, .55); border-radius: 6px; background: #fff; color: var(--ink); min-width: 0;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--blue-l); border-color: var(--blue); }
.field input.mono { font-family: var(--mono); font-size: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > input { flex: 1 1 220px; }
.chip { overflow-wrap: anywhere; word-break: break-all; display: inline-flex; align-items: center; gap: 6px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 6px 10px; max-width: 100%; }
.chip .x { border: 0; background: none; cursor: pointer; font-size: 17px; line-height: 1; padding: 0 2px; }
.picks { display: grid; gap: 8px; }
.pick { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 8px; cursor: pointer; background: #fff; }
.pick.on { border-color: var(--blue); background: var(--blue-l); }
.pick input { width: 18px; height: 18px; accent-color: var(--blue); }
.pick-amt { font-weight: 500; overflow-wrap: anywhere; }
.pick-amt.big { font: 800 22px var(--disp); }
.slider { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.slider input { width: 100%; accent-color: var(--blue); height: 28px; }
.big-out { font: 800 46px var(--disp); min-width: 3ch; text-align: right; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chipbtn { font: 500 16px var(--text); padding: 10px 16px; border: 1.5px solid rgba(34, 39, 55, .5); border-radius: 6px; background: #fff; cursor: pointer; color: var(--ink); }
.chipbtn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.submit { background: var(--paper-2); border-radius: 0 0 var(--r) var(--r); }
.note { margin: 0; font-weight: 500; min-height: 1.4em; overflow-wrap: anywhere; }

/* one truce */
.b-head h1 { font-size: 66px; margin: 6px 0 4px; }
.back-link { text-decoration: none; font-weight: 500; color: var(--quiet); }
.back-link:hover { color: var(--ink); }
.b-sub { color: var(--quiet); font: italic 500 18px var(--disp); }
.b-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 34px; align-items: start; margin-top: 12px; }
.b-left { position: sticky; top: 16px; }
.scene-big { height: 640px; position: relative; }
.scene-big .truce-scene { filter: drop-shadow(0 18px 24px rgba(34, 39, 55, .25)); }
.b-right { display: grid; gap: 16px; }
.card { background: var(--paper); border-radius: var(--r); padding: 24px 26px; min-width: 0; box-shadow: 0 1px 0 rgba(34, 39, 55, .12), 0 18px 40px -30px rgba(34, 39, 55, .5); }
.card h2 { font-size: 32px; }
.card h3 { font-size: 26px; }
.offer-line { font: 500 20px/1.55 var(--disp); }
.offer-line .addr { font: 400 16px var(--mono); }
.bars { display: grid; gap: 14px; margin: 18px 0 12px; }
.bar-top { display: flex; gap: 12px; align-items: baseline; margin-bottom: 4px; flex-wrap: wrap; }
.bar-top b { font: 800 22px var(--disp); }
.bar-pct { margin-left: auto; font: 800 26px var(--disp); }
.status-line { margin: 0; font-weight: 700; }
.add .amt { display: flex; align-items: center; gap: 8px; border: 1.5px solid rgba(34, 39, 55, .55); border-radius: 6px; background: #fff; padding: 0 14px 0 4px; flex: 1 1 160px; }
.add .amt input { border: 0; font: 800 26px var(--disp); width: 100%; padding: 8px 6px; background: none; min-width: 0; color: var(--ink); }
.add .amt span { font-weight: 700; }
.holder p { margin-bottom: .7em; }
.memo-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 10px; justify-items: start; }
.memo-box p { margin: 0; font-size: 15px; color: var(--quiet); }
.b-ledgers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; }
.ledger li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.ledger li:first-child { border-top: 0; }
.ledger li > span { min-width: 0; overflow-wrap: anywhere; }
.ledger li.late { color: var(--quiet); }
.ledger li.out b { color: var(--blue-d); }
.signed { grid-column: 1 / -1; }
.msg { font: 400 14px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; background: #fff; border-left: 4px solid var(--blue); border-radius: 4px; padding: 14px 16px; margin: 6px 0 12px; }
.closebox { grid-column: 1 / -1; box-shadow: inset 0 0 0 1.5px #b3361f; }
.paid-card {
  position: relative; display: grid; gap: 4px; margin: 14px auto 0; max-width: 380px; background: var(--paper); border-radius: 12px;
  padding: 18px 22px; text-align: center; justify-items: center; box-shadow: inset 4px 0 0 var(--blue), 0 18px 40px -26px rgba(34, 39, 55, .6);
}
.paid-amt { font: 800 42px var(--disp); color: var(--ink); }
.paid-card.hit { animation: hit .25s ease-out; }
@keyframes hit { 40% { transform: scale(1.035); } }
.note-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

/* dialog, toast */
dialog { border: 0; border-radius: 16px; padding: 0; background: var(--paper); color: var(--ink); width: min(460px, calc(100vw - 32px)); box-shadow: 0 30px 60px -20px rgba(34, 39, 55, .6); }
dialog::backdrop { background: rgba(34, 39, 55, .5); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 6px; }
.dlg-head h2 { font-size: 30px; margin: 0; }
.dlg-x { border: 0; background: none; font-size: 30px; cursor: pointer; line-height: 1; color: var(--ink); }
.dlg-body { padding: 8px 24px 24px; display: grid; gap: 12px; }
.wallets { display: grid; gap: 8px; }
.wallet-pick { display: flex; align-items: center; gap: 12px; font: 500 17px var(--text); padding: 12px 14px; border: 1.5px solid rgba(34, 39, 55, .45); border-radius: 8px; background: #fff; cursor: pointer; color: var(--ink); }
.wallet-pick:hover { border-color: var(--blue); }
.wallet-pick img { width: 28px; height: 28px; border-radius: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--night); color: var(--paper); padding: 12px 18px; border-radius: 8px; font-weight: 500; z-index: 70; max-width: calc(100vw - 32px); box-shadow: inset 4px 0 0 var(--blue); }

/* footer */
.foot { max-width: 1340px; margin: 50px auto 0; padding: 0 32px 50px; font-size: 14px; color: var(--quiet); display: grid; gap: 4px; }
.foot-line { height: 14px; margin-bottom: 22px; background: radial-gradient(ellipse 7px 4.5px at 50% 50%, #fffaf2 0 90%, transparent 100%) 0 50% / 26px 14px repeat-x, linear-gradient(var(--rule), var(--rule)) 0 100% / 100% 1px no-repeat; }
.foot .policy { color: var(--ink); font-size: 16px; }
.foot .links a { color: var(--ink); }

@media (max-width: 1100px) {
  .slip { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr) 120px; }
  .slip-time { display: none; }
}
@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 12px 18px; padding: 16px; }
  .mark { font-size: 38px; }
  .mark svg { width: 44px; height: 44px; }
  .top nav { order: 3; width: 100%; margin: 0; gap: 16px; overflow-x: auto; font-size: 15px; white-space: nowrap; }
  .top nav a { flex: none; }
  main { padding: 0 16px 30px; }
  .hero { height: auto; display: flex; flex-direction: column; background: linear-gradient(180deg, #2f3852 0, #3b4462 100%); border-radius: 22px; }
  .hero-scene { position: relative; inset: auto; height: 500px; margin-top: -6px; }
  .hero-text { order: -1; padding: 34px 22px 8px; max-width: none; }
  .hero h1 { font-size: clamp(58px, 17vw, 92px); }
  .lede { font-size: 18px; }
  .scene-cap { right: 0; left: 0; text-align: center; bottom: 10px; }
  .totals { font-size: 18px; text-align: left; }
  .board-top h2 { font-size: 40px; }
  .slip { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px 18px; }
  .slip.head { display: none; }
  .slip:nth-child(2) { border-top: 0; }
  .slip-what { grid-column: 1 / -1; order: 3; }
  .slip-meter { grid-column: 1 / -1; order: 4; }
  .slip-reward { order: 2; text-align: right; }
  .slip-time { display: none; }
  .sides { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sides-line { height: 18px; background: radial-gradient(circle at 50% 50%, #fffaf2 0 4px, #c9c3b9 4.5px 5.5px, transparent 6px) 0 50% / 22px 18px repeat-x; }
  .b-grid, .b-ledgers { grid-template-columns: minmax(0, 1fr); }
  .b-left { position: static; }
  .scene-big { height: 500px; }
  .b-head h1, .prose h1, .post-head h1 { font-size: 48px; }
  .card { padding: 20px 18px; }
  .field { padding: 18px; }
  .foot { padding: 0 16px 40px; }
  .pick { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; }
  .pick > :not(input) { grid-column: 2; }
  .row > input { flex-basis: 100%; }
}
