.points-note { margin: 22px 0 6px; }
.floor { display: grid; gap: 34px; margin-top: 18px; }
.tabs { display: flex; gap: 0; border-bottom: var(--rule); overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 12px 14px 10px; font-size: 14px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs button:first-child { padding-left: 0; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--terra); font-weight: 500; }
.live { font-size: 12.5px; color: var(--ink-2); padding: 12px 0 2px; display: flex; align-items: center; gap: 8px; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); opacity: .5; flex: none; }
.live .dot.on { background: var(--teal); opacity: 1; box-shadow: 0 0 0 3px rgba(63, 143, 134, .18); }
.tz { font-size: 12px; color: var(--ink-2); margin-top: 14px; }
.empty { padding: 24px 0; color: var(--ink-2); }

/* one card per coin, its questions stacked underneath */
.coin { border: var(--rule); border-radius: 6px; margin-top: 14px; background: var(--paper); box-shadow: 3px 3px 0 rgba(58, 42, 31, .12); overflow: hidden; }
.coin-h { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 12px; background: var(--paper-2); border-bottom: 1px dashed rgba(58, 42, 31, .35); }
.coin-h h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 19px; line-height: 1.2; font-variation-settings: "opsz" 24; overflow-wrap: anywhere; }
.coin-h .tk { font-size: 13px; font-weight: 500; color: var(--terra); margin-left: 4px; }
.coin-id { min-width: 0; }
.coin .meta { font: 400 12.5px "Plex Mono", monospace; color: var(--ink-2); margin-top: 3px; }
.coin .meta b { font-weight: 500; color: var(--terra); }
.coin-logo, .emb { width: 48px; height: 48px; border-radius: 50%; }
.coin-logo { object-fit: cover; background: var(--paper); border: 1.5px solid var(--ink); }
.emb { display: grid; place-items: center; position: relative; border: 1.5px solid var(--ink);
  background: repeating-linear-gradient(45deg, var(--terra) 0 5px, #c2602f 5px 10px); }
.emb::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(251, 243, 230, .8); }
.emb b { width: 30px; height: 30px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; font: 500 10.5px "Plex Mono", monospace; color: var(--ink); position: relative; z-index: 1; }
.pf { font-size: 12.5px; text-decoration: none; border: var(--hair); border-radius: 4px; padding: 6px 9px; white-space: nowrap; background: var(--paper); }
.pf:hover { border-color: var(--ink); }
.pf .lg { display: none; }
.mkt { padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start; }
.mkt + .mkt { border-top: var(--hair); }
.facts { padding: 10px 14px 12px; border-bottom: var(--hair); }
.facts-h { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.facts ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.facts li { font-size: 12px; line-height: 1.35; padding: 3px 8px; border: 1px dashed rgba(58, 42, 31, .4); border-radius: 3px; background: var(--paper-2); }
.mkt .qt { font-size: 16.5px; line-height: 1.35; font-weight: 500; }
.mkt .when { white-space: nowrap; }
.chance { text-align: right; font-family: "Plex Mono", monospace; }
.chance b { font-size: 24px; font-weight: 500; display: block; line-height: 1; }
.chance small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.sides { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.side-btn { height: 44px; border-radius: 4px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font: 500 15px "Plex Mono", monospace; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; }
.side-btn.yes { background: var(--terra); border-color: var(--terra); color: #FBF3E6; }
.side-btn:hover { filter: brightness(.94); }
.side-btn[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.ticket { grid-column: 1 / -1; margin-top: 8px; border: var(--rule); border-radius: 4px; padding: 14px; background: var(--paper-2); }
.ticket label { font: 400 12px "Plex Mono", monospace; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.amt { display: flex; gap: 6px; margin: 6px 0 10px; flex-wrap: wrap; }
.amt input { width: 110px; height: 40px; border: var(--rule); border-radius: 4px; padding: 0 10px; background: var(--paper); font: 500 16px "Plex Mono", monospace; }
.amt button { height: 40px; padding: 0 10px; border: var(--hair); border-radius: 4px; background: var(--paper); cursor: pointer; font: 400 13px "Plex Mono", monospace; }
.ticket .calc { font: 400 13.5px "Plex Mono", monospace; margin-bottom: 12px; }
.ticket .btn { width: 100%; height: 46px; font-size: 16px; }
.ticket .err { color: var(--terra); font-size: 13px; margin-top: 8px; }
.coin.res .coin-h { border-bottom: 0; }
.coin.res h3 { font-family: inherit; font-size: 15.5px; font-weight: 500; }
.outcome { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.outcome.yes { color: var(--terra); }
.outcome.void { color: var(--ink-2); }
.side-note { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 10px; }

.side section, .side .desk { border-top: var(--rule); padding: 16px 0 22px; }
.side h2 { font-weight: 600; font-size: 22px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
#desk { display: grid; grid-template-columns: 1fr auto; }
#desk dt, #desk dd { padding: 6px 0; border-bottom: var(--hair); font-size: 14px; }
#desk dd { text-align: right; font-weight: 500; }
.pos { display: grid; grid-template-columns: 1fr auto; font: 400 13px "Plex Mono", monospace; padding: 8px 0; border-bottom: var(--hair); }
.pos small { color: var(--ink-2); grid-column: 1 / -1; }
.pos .yes { color: var(--terra); }
.reset { background: none; border: 0; text-decoration: underline; font-size: 12.5px; color: var(--ink-2); cursor: pointer; margin-top: 10px; }
.board { list-style: none; counter-reset: b; }
.board li { display: grid; grid-template-columns: 28px 1fr auto; padding: 7px 0; border-bottom: var(--hair); font-size: 14px; counter-increment: b; }
.board li::before { content: counter(b, decimal-leading-zero); color: var(--ink-2); }
.board li.you { font-weight: 500; color: var(--terra); }
.badges { list-style: none; }
.badges li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: var(--hair); font-size: 14px; }
.badges li i { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed var(--ink-2); display: grid; place-items: center; font: 500 10px "Plex Mono", monospace; font-style: normal; color: var(--ink-2); }
.badges li.got i { border: 0; background: var(--mustard); color: var(--ink); }
.badges li small { display: block; color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }
.badges li:not(.got) b { color: var(--ink-2); }
@media (min-width: 640px) { .pf .lg { display: inline; } }
@media (min-width: 900px) {
  .floor { grid-template-columns: 1fr 340px; gap: 56px; }
  .mkt { grid-template-columns: 1fr 64px 250px; align-items: center; gap: 0 18px; }
  .sides { grid-column: 3; grid-row: 1; margin-top: 0; }
  .chance { grid-column: 2; grid-row: 1; }
  .mkt .q { grid-column: 1; grid-row: 1; }
  .side { position: sticky; top: 16px; align-self: start; }
}
@media (max-width: 400px) { .tabs button { padding: 12px 9px 10px; font-size: 13px; } }
