[hidden] { display: none !important; }
:root {
  --ink: #2b2a2e; --dayglo: #ffe14d; --red: #c81d25; --chalk: #fbf8ee; --stripe: #2f62a8; --tarmac: #3d3b3a; --green: #1f7a3c;
  --sm-bg: #ffe14d; --sm-text: #2b2a2e; --sm-muted: #5a4f2a; --sm-accent: #c81d25; --sm-hover: #ffd21a; --sm-up: #1f6b33; --sm-down: #a3141c;
  --sm-font: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; --sm-head: 'Shrikhand', Georgia, serif; --sm-head-weight: 400; --sm-size: 17px;
  --sm-radius: 6px; --sm-border: 3px solid #2b2a2e; --sm-shadow: 6px 6px 0 rgba(43, 42, 46, .85);
  --sm-top: 84px; --sm-right: calc(10px + env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; font-variant-ligatures: none; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #f2b98a; }
body { font: 500 1rem/1.3 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; color: var(--ink); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--stripe); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(70, 30, 10, .35)); }

/* the cash: a little painted sign in the corner */
.board { position: fixed; left: max(10px, env(safe-area-inset-left)); top: max(10px, env(safe-area-inset-top)); display: grid; gap: 0; padding: .35rem .8rem .45rem;
  background: var(--chalk); border: 3px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 rgba(43, 42, 46, .8); transform: rotate(-1.5deg); pointer-events: none; }
.board b { font: 400 1.75rem/1.05 'Shrikhand', Georgia, serif; color: var(--red); font-variant-numeric: tabular-nums; }
.board span { font-weight: 700; font-size: .95rem; }
.board #clock.late { color: var(--red); }
.board .rep { font-size: .8rem; letter-spacing: .1em; color: #8a6a00; }
/* v0.6: the day's weather, under the stars on a wet day */
.board .wx { font-size: .8rem; font-weight: 700; color: #2f62a8; max-width: 15.5rem; line-height: 1.2; margin-top: .1rem; }
.board .wx::before { content: '\2602\FE0E  '; }

/* the Sloppy menu: a price star on a string */
.tag { position: fixed; z-index: 6; top: env(safe-area-inset-top, 0px); right: max(8px, env(safe-area-inset-right)); width: 56px; height: 78px; padding: 0; border: 0; background: none; }
.tag svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 0; filter: drop-shadow(2px 3px 0 rgba(43, 42, 46, .55)); }
.tag .eyes > *, .tag .lines > * { transform-box: fill-box; transition: transform .2s ease; }
.tag .eyes > * { transform-origin: center; }
.tag .lines > * { transform-origin: left center; transform: scaleX(0); }
.tag .lines > :nth-child(2) { transition-delay: .05s; } .tag .lines > :nth-child(3) { transition-delay: .1s; }
.tag:hover .eyes > *, .tag:focus-visible .eyes > *, .tag.cue .eyes > *, .sm-open .tag .eyes > * { transform: scaleY(0); }
.tag:hover .lines > *, .tag:focus-visible .lines > *, .tag.cue .lines > *, .sm-open .tag .lines > * { transform: scaleX(1); }
.tag:hover svg, .tag.cue svg { animation: swing 1.6s ease-out; }
.tag:focus-visible { outline-offset: -4px; }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(14deg); } 45% { transform: rotate(-9deg); } 70% { transform: rotate(4deg); } 100% { transform: rotate(0); } }

.toast { position: fixed; left: 50%; top: calc(max(10px, env(safe-area-inset-top)) + 4.6rem); transform: translateX(-50%); margin: 0; max-width: min(92vw, 30rem); width: max-content;
  padding: .5rem .9rem; background: var(--ink); color: var(--dayglo); font-weight: 700; font-size: 1rem; border-radius: 4px; text-align: center; pointer-events: none; }
.toast.pop { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: translateX(-50%) scale(.85); } to { transform: translateX(-50%) scale(1); } }
@media (min-width: 700px) { .toast { top: 1rem; } }

.wave { white-space: nowrap; position: fixed; left: 50%; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 4px); transform: translateX(-50%); min-height: 3.2rem; padding: .5rem 1.4rem;
  border: 3px solid var(--ink); border-radius: 4px; background: var(--dayglo); font-weight: 700; font-size: 1.15rem; box-shadow: 4px 4px 0 rgba(43, 42, 46, .85); }
.wave:active { transform: translateX(-50%) translate(2px, 2px); box-shadow: 2px 2px 0 rgba(43, 42, 46, .85); }

/* v0.2: jobs Royston leaves you, and the buyer he's luring: hand-lettered signs stacked above the card */
.jobs { position: fixed; z-index: 3; left: max(10px, env(safe-area-inset-left)); bottom: 14px; display: grid; justify-items: start; gap: .4rem; max-width: min(78vw, 22rem); pointer-events: none; }
.jobs:empty { display: none; }
.job { pointer-events: auto; min-height: 2.75rem; padding: .35rem .8rem; border: 3px solid var(--ink); border-radius: 4px; background: var(--chalk); font-weight: 700; font-size: 1rem;
  text-align: left; box-shadow: 3px 3px 0 rgba(43, 42, 46, .8); transform: rotate(-1deg); animation: jobin .35s cubic-bezier(.3, 1.6, .5, 1); }
.job:active { transform: rotate(-1deg) translate(2px, 2px); box-shadow: 1px 1px 0 rgba(43, 42, 46, .8); }
.job.lure { position: relative; overflow: hidden; display: grid; gap: .05rem; padding: .45rem .9rem .6rem; background: var(--red); color: #fff; border-color: var(--ink);
  font: 400 1.3rem/1.1 'Shrikhand', Georgia, serif; transform: rotate(1deg); animation: jobin .35s cubic-bezier(.3, 1.6, .5, 1), nudge 1.1s ease-in-out .4s infinite; }
@keyframes jobin { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.job.lure small { font: 700 .85rem/1.2 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; color: #ffe9a8; }
.job.lure .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--dayglo); transform-origin: left center; }
/* v0.5: the estate agent's For Sale board for the plot next door, and its one confirm */
.job.plot { display: grid; gap: .05rem; padding: .4rem .9rem .5rem; background: var(--dayglo); border-color: var(--red); color: var(--red);
  font: 400 1.2rem/1.1 'Shrikhand', Georgia, serif; transform: rotate(-1.5deg); }
.job.plot small { font: 700 .9rem/1.2 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; color: var(--ink); }
.job.plot.ask { cursor: default; gap: .2rem; }
.job.plot.ask .row { display: grid; grid-template-columns: 1fr 1.3fr; gap: .4rem; margin-top: .25rem; }
.job.plot.ask button { min-height: 2.75rem; padding: .2rem .7rem; border: 3px solid var(--ink); border-radius: 4px; font: 700 1rem 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; }
@keyframes nudge { 0%, 100% { transform: rotate(1deg); } 50% { transform: rotate(-1.5deg) scale(1.03); } }

/* the haggle: a dayglo price card at the bottom */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 34rem; padding: .8rem max(.9rem, env(safe-area-inset-left)) calc(.8rem + env(safe-area-inset-bottom));
  background: var(--dayglo); border: 3px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 0 rgba(43, 42, 46, .25); animation: rise .28s ease-out; }
@keyframes rise { from { transform: translateY(24px); } to { transform: none; } }
@media (min-width: 700px) { .sheet { bottom: 14px; border-bottom: 3px solid var(--ink); border-radius: 8px; box-shadow: 6px 6px 0 rgba(43, 42, 46, .85); } }
.who b { font: 400 1.45rem/1 'Shrikhand', Georgia, serif; color: var(--red); }
.who span { font-weight: 700; font-size: .95rem; margin-left: .2rem; }
.say { margin: .35rem 0 .45rem; font-size: 1.12rem; line-height: 1.28; min-height: 2.6em; }
.say i { color: #6a4a00; font-weight: 700; }
.sheet[data-result="deal"] .say { color: var(--green); }
.car { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; padding: .35rem 0; border-top: 2px dashed rgba(43, 42, 46, .45); font-weight: 700; font-size: .95rem; }
#chips { display: contents; }
.chip { padding: .05rem .45rem; border: 2px solid var(--ink); border-radius: 3px; background: var(--chalk); font-size: .82rem; }
.chip.bad { background: var(--ink); color: var(--dayglo); }
.chip.star { background: var(--red); color: #fff; border-color: var(--red); }
.chip.wet { background: #2f62a8; color: #fff; border-color: #2f62a8; }
.guide { margin-left: auto; }
.guide b { font-variant-numeric: tabular-nums; }
.price { display: grid; grid-template-columns: 3.6rem 1fr 3.6rem; align-items: center; gap: .4rem; margin-top: .2rem; }
.pm { height: 3.4rem; border: 3px solid var(--ink); border-radius: 50%; background: var(--chalk); font-size: 2rem; font-weight: 700; line-height: 1; touch-action: manipulation; }
.pm:active { background: #fff; transform: scale(.94); }
#offer { text-align: center; font: 400 2.6rem/1 'Shrikhand', Georgia, serif; color: var(--red); font-variant-numeric: tabular-nums; }
/* v0.8: a marked-down car: the old price struck through and a red REDUCED tag over the big price */
.price .mid { display: grid; justify-items: center; align-content: center; min-width: 0; }
.cut { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .95rem; line-height: 1.1; }
.cut[hidden] { display: none; }
.cut s { color: var(--ink); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.cut b { padding: 0 .4rem; background: var(--red); color: #fff; border-radius: 2px; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; transform: rotate(-3deg); }
.sheet.reduced #offer { font-size: 2.3rem; }
#slider { width: 100%; height: 2.4rem; margin: .1rem 0 .2rem; accent-color: var(--red); touch-action: pan-x; }
.acts { display: grid; grid-template-columns: .75fr 1fr 1.35fr; gap: .45rem; }
.acts button, .choice button, .end .main { min-height: 3.2rem; padding: .3rem .5rem; border: 3px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: 1.08rem; }
.main { background: var(--ink); color: var(--dayglo); }
.second { background: var(--chalk); }
.ghost { background: transparent; }
button:disabled { opacity: .45; cursor: default; }
.acts button:active:not(:disabled), .choice button:active { transform: translate(1px, 2px); }
.choice { display: grid; gap: .5rem; margin-top: .4rem; }
.broke { margin: 0 0 .35rem; font-weight: 700; color: var(--red); font-size: .95rem; }
.hint { margin: .45rem 0 0; font-size: .92rem; color: #4a3d10; }

/* closing time */
.end { position: fixed; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(43, 25, 10, .45); }
.end .card { width: min(26rem, 100%); padding: 1.2rem 1.3rem 1.3rem; background: var(--dayglo); border: 4px solid var(--ink); border-radius: 8px; box-shadow: 8px 8px 0 rgba(43, 42, 46, .9); transform: rotate(-1deg); animation: drop .4s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes drop { from { transform: rotate(-4deg) translateY(-30px); } to { transform: rotate(-1deg); } }
.end h2 { margin: 0; font: 400 1.6rem/1.1 'Shrikhand', Georgia, serif; }
.end .profit { margin: .2rem 0 .45rem; font: 400 3.4rem/1 'Shrikhand', Georgia, serif; color: var(--green); font-variant-numeric: tabular-nums; }
.end .profit.down { color: var(--red); }
.end .cashline { margin: -.35rem 0 .5rem; font-size: .95rem; font-weight: 700; color: #4a3d10; }   /* v0.8: the cash under the day's worth */
.end p { margin: .35rem 0; font-size: 1.05rem; line-height: 1.3; }
.end .extra { color: #4a3d10; }
.end .rep { padding: .35rem .5rem; background: rgba(255, 255, 255, .45); border-left: 4px solid var(--ink); }
.end .card { max-height: calc(100dvh - 2rem); overflow-y: auto; }
#buildstamp { display: block; margin-top: .6rem; font: 500 .66rem/1 monospace; color: #5a4f2a; text-align: right; }
.end .main { width: 100%; margin-top: .7rem; font-size: 1.25rem; }
.err { position: fixed; inset: 0; display: grid; place-items: center; padding: 2rem; background: var(--dayglo); }
.err h2 { font-family: 'Shrikhand', Georgia, serif; font-weight: 400; color: var(--red); }

@media (max-height: 700px) and (max-width: 699px) { .say { font-size: 1rem; min-height: 0; } #offer { font-size: 2.2rem; } .pm { height: 3rem; } }
@media (prefers-reduced-motion: reduce) { .sheet, .end .card, .toast.pop, .tag:hover svg, .tag.cue svg, .job, .job.lure { animation: none; } }

/* v0.3: the glimpse across the road, a framed inset over the canvas (the 3D view is drawn inside it) */
.inset { position: fixed; z-index: 2; box-sizing: border-box; border: 3px solid var(--ink); border-radius: 4px; pointer-events: none;
  box-shadow: 4px 4px 0 rgba(43, 42, 46, .8), inset 0 0 0 2px #e0b23a; transform: rotate(1deg); animation: jobin .3s cubic-bezier(.3, 1.6, .5, 1); }
.inset span { position: absolute; left: -3px; bottom: -3px; padding: .1rem .5rem .15rem; background: #5a2478; color: #f0c23a; font-weight: 700; font-size: .85rem;
  border: 3px solid var(--ink); border-radius: 0 4px 0 4px; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .inset { animation: none; } }

/* v0.7: Royston's napkin. A greasy paper napkin with his price in smudgy biro, his line above, two buttons below */
.napkin { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(100%, 23rem); padding: 0 .9rem calc(.9rem + env(safe-area-inset-bottom));
  display: grid; justify-items: center; gap: .45rem; pointer-events: none; animation: slide .45s cubic-bezier(.25, 1.3, .5, 1); }
.napkin > * { pointer-events: auto; }
@keyframes slide { from { transform: translate(40px, 40px) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.nap-say { margin: 0; max-width: 100%; padding: .4rem .75rem .45rem; background: #5a2478; color: #f2e6c8; border: 3px solid var(--ink); border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(43, 42, 46, .8); font-weight: 700; font-size: 1rem; line-height: 1.25; transform: rotate(.8deg); }
.nap-say b { font: 400 1.05rem/1 'Shrikhand', Georgia, serif; color: #f0c23a; margin-right: .15rem; }
.paper { --tilt: -3deg; --sx: 2px; --sy: 1px; position: relative; display: grid; justify-items: center; width: 15.5rem; min-height: 9.6rem; padding: .7rem 1rem 1.1rem;
  color: #1f3592; transform: rotate(var(--tilt));
  background:
    radial-gradient(38% 26% at 78% 74%, rgba(196, 152, 70, .32), rgba(196, 152, 70, .12) 60%, transparent 72%),
    radial-gradient(16% 12% at 22% 22%, rgba(180, 140, 60, .28), transparent 75%),
    radial-gradient(9% 7% at 60% 16%, rgba(170, 120, 50, .22), transparent 80%),
    repeating-linear-gradient(45deg, rgba(120, 100, 70, .07) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(120, 100, 70, .07) 0 2px, transparent 2px 9px),
    #f4eedf;
  clip-path: polygon(1% 3%, 9% 0, 22% 2%, 37% 0, 52% 2%, 66% 0, 80% 2%, 93% 0, 100% 4%, 98% 18%, 100% 34%, 98% 50%, 100% 67%, 98% 83%, 100% 97%, 88% 100%, 73% 98%,
    57% 100%, 41% 98%, 26% 100%, 11% 98%, 0 100%, 2% 84%, 0 68%, 2% 51%, 0 35%, 2% 18%);
  filter: drop-shadow(4px 5px 0 rgba(43, 42, 46, .55)); }
.paper::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 49.6%, rgba(110, 90, 60, .16) 50%, transparent 50.6%),
  linear-gradient(0deg, transparent 49.4%, rgba(110, 90, 60, .12) 50%, transparent 50.8%); }
.nap-car { font: 700 1.3rem/1.1 'Caveat', 'Comic Sans MS', cursive; transform: rotate(-2deg); opacity: .85; }
.nap-was { position: relative; margin-top: .15rem; font: 700 1.5rem/1 'Caveat', 'Comic Sans MS', cursive; text-decoration: none; opacity: .8; transform: rotate(3deg); }
.nap-was::after { content: ''; position: absolute; left: -8%; right: -8%; top: 46%; height: .5rem; border-top: 3px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-8deg); border-radius: 40%; }
.nap-price { position: relative; margin-top: .05rem; font: 700 4rem/1 'Caveat', 'Comic Sans MS', cursive; letter-spacing: -.01em; font-variant-numeric: lining-nums;
  text-shadow: var(--sx) var(--sy) 2.5px rgba(31, 53, 146, .45), calc(var(--sx) * -1) 0 1px rgba(31, 53, 146, .35); transform: rotate(-4deg); }
.nap-price::after { content: ''; position: absolute; left: -4%; right: -10%; bottom: .05rem; height: .55rem; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor;
  border-radius: 0 60% 0 40%; transform: rotate(-2.5deg) skewX(-14deg); opacity: .9; }
/* rain: the napkin's soaked through in blotches and the biro runs, but you can still read it */
.paper.wet { background:
    radial-gradient(30% 24% at 30% 70%, rgba(90, 100, 120, .26), transparent 70%),
    radial-gradient(26% 20% at 75% 30%, rgba(90, 100, 120, .22), transparent 72%),
    radial-gradient(14% 10% at 58% 88%, rgba(90, 100, 120, .2), transparent 75%),
    radial-gradient(38% 26% at 78% 74%, rgba(196, 152, 70, .22), transparent 72%),
    repeating-linear-gradient(45deg, rgba(120, 100, 70, .06) 0 2px, transparent 2px 9px),
    #e2ded2; }
.paper.wet .nap-price { color: #2a45a8; text-shadow: var(--sx) calc(var(--sy) + 2px) 5px rgba(42, 69, 168, .55), calc(var(--sx) * -1.5) 1px 3px rgba(42, 69, 168, .4), 0 6px 7px rgba(42, 69, 168, .25); }
.paper.wet .nap-price::before { content: ''; position: absolute; left: 30%; top: 72%; width: 3px; height: 1.3rem; border-radius: 2px; background: linear-gradient(rgba(42, 69, 168, .5), transparent); }
.paper.wet .nap-car, .paper.wet .nap-was { text-shadow: 1px 2px 3px rgba(42, 69, 168, .45); }
.nap-block { margin: 0; padding: .25rem .6rem; background: var(--ink); color: var(--dayglo); border-radius: 4px; font-weight: 700; font-size: .95rem; }
.nap-acts { display: grid; grid-template-columns: 1fr 1.35fr; gap: .45rem; width: 100%; }
.nap-acts button { min-height: 3.2rem; padding: .3rem .5rem; border: 3px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: 1.08rem; box-shadow: 3px 3px 0 rgba(43, 42, 46, .8); }
.nap-acts button:active:not(:disabled) { transform: translate(1px, 2px); }
@media (min-width: 700px) { .napkin { bottom: 14px; } }
@media (max-height: 700px) and (max-width: 699px) { .paper { min-height: 8rem; padding: .5rem 1rem .9rem; } .nap-price { font-size: 3.4rem; } }
/* the sign for it: Royston's purple and gold */
.job.special { display: grid; gap: .05rem; padding: .4rem .9rem .5rem; background: #5a2478; border-color: var(--ink); color: #f0c23a;
  font: 400 1.15rem/1.1 'Shrikhand', Georgia, serif; transform: rotate(1deg); }
.job.special small { font: 700 .88rem/1.2 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; color: #f2e6c8; }
@media (prefers-reduced-motion: reduce) { .napkin { animation: none; } }

/* v0.8: Royston's trade card: his purple and gold, the price he'll pay big, keep it or sell it */
.job.trade { display: grid; gap: .05rem; padding: .4rem .9rem .5rem; background: #5a2478; border-color: #e0b23a; color: #f0c23a; font: 400 1.15rem/1.1 'Shrikhand', Georgia, serif; transform: rotate(1deg); }
.job.trade small { font: 700 .88rem/1.2 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; color: #fbf3d9; }
#trade { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(100%, 24rem); padding: .8rem .9rem calc(.9rem + env(safe-area-inset-bottom));
  background: #5a2478; color: #fbf3d9; border: 3px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 0 rgba(43, 42, 46, .25); animation: rise .28s ease-out; }
#trade[hidden] { display: none; }
@media (min-width: 700px) { #trade { bottom: 14px; border-bottom: 3px solid var(--ink); border-radius: 8px; box-shadow: 6px 6px 0 rgba(43, 42, 46, .85); } }
.tr-say { margin: 0 0 .5rem; font-size: 1.05rem; line-height: 1.28; }
.tr-say b { font: 400 1.3rem/1 'Shrikhand', Georgia, serif; color: #f0c23a; margin-right: .2rem; }
.tr-card { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .6rem; padding: .5rem .7rem; background: #fbf3d9; color: var(--ink); border: 3px solid #e0b23a; border-radius: 4px; transform: rotate(-1deg); }
.tr-car { font-weight: 700; font-size: 1rem; }
.tr-book { font-weight: 700; font-size: .95rem; text-align: right; font-variant-numeric: tabular-nums; }
.tr-price { grid-column: 1 / -1; font: 400 2.4rem/1.05 'Shrikhand', Georgia, serif; color: #5a2478; font-variant-numeric: tabular-nums; }
.tr-card small { grid-column: 1 / -1; font-size: .85rem; color: #4a3d10; }
.tr-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: .45rem; margin-top: .6rem; }
.tr-acts button { min-height: 3.2rem; padding: .3rem .5rem; border: 3px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: 1.08rem; }
.tr-acts .main { background: #f0c23a; color: var(--ink); }
.tr-acts .second { background: var(--chalk); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { #trade { animation: none; } }
