@media screen{.geldbord-board{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr)auto;box-sizing:border-box;color:var(--text-primary);gap:1cqh;width:100%;height:100%;padding:1.5cqh 2cqw}.geldbord-head{display:flex;justify-content:space-between;align-items: flex-start;gap:2cqw}body.board-presenting .geldbord-head{padding-right:calc(3*var(--board-hit) + 2*8px + 12px)}.geldbord-readout{min-width:0}.geldbord-readout p{margin:0}.geldbord-line{display:flex;align-items:baseline;gap:2cqw}.geldbord-label{font-size:var(--board-md);color:var(--text-secondary)}.geldbord-big{font-size:var(--board-lg);color:var(--text-primary)}.geldbord-verdict{font-size:var(--board-md);color:var(--text-secondary);margin-top:.5cqh}.geldbord-verdict--ok{color:#3d6a2a;font-weight:700}.geldbord-verdict--over,.geldbord-verdict--under{color:var(--accent);font-weight:700}.geldbord-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:1cqmin}.geldbord-btn{min-height:var(--board-hit);border:2px solid var(--border-color-field);border-radius:var(--border-radius-sm);background:var(--bg-card);color:var(--text-primary);font:inherit;font-size:var(--board-sm);cursor:pointer;padding:0 1.6cqmin;font-weight:700}.geldbord-btn[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.geldbord-btn[aria-disabled=true]{opacity:.4;cursor:default}.geldbord-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.geldbord-piece:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.geldbord-matarea{container-type:size;display:grid;place-items: center;min-height:0}.geldbord-mat{position:relative;aspect-ratio:8/3;border:3px dashed var(--border-color-field);border-radius:var(--border-radius-md);background:var(--bg-card-hover);box-sizing:border-box;width:min(100cqw,266.667cqh)}.geldbord-mat:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.geldbord-hint{position:absolute;display:grid;font-size:var(--board-md);color:var(--text-muted);pointer-events:none;place-items: center;margin:0;inset:0}.geldbord-piece{display:block;font:inherit;cursor:pointer;--coin-fill:#e6c35c;--coin-edge:#8a6a1f;--note-fill:#e6e6e6;--note-edge:#6b6f75;background:0 0;border:none;padding:0}.geldbord-mat .geldbord-piece{position:absolute}.geldbord-mat button.geldbord-piece:after{content:"";position:absolute;width:max(100%,var(--board-hit));height:max(100%,var(--board-hit));top:50%;left:50%;transform:translate(-50%,-50%)}span.geldbord-piece{cursor:default}.geldbord-piece--lifted{opacity:.3}.geldbord-ghost{position:absolute;z-index:20;pointer-events:none;filter:drop-shadow(0 6px 10px #0000004d);transform:translate(-50%,-50%)}.geldbord-piece[data-tone=copper]{--coin-fill:#e6a67c;--coin-edge:#7d4423}.geldbord-piece[data-tone=silver]{--coin-fill:#d8d4cc;--coin-edge:#6b665c}.geldbord-piece[data-cents="500"]{--note-fill:#cfd2d6;--note-edge:#6b6f75}.geldbord-piece[data-cents="1000"]{--note-fill:#f0b3a8;--note-edge:#9a4a3c}.geldbord-piece[data-cents="2000"]{--note-fill:#a9c4e4;--note-edge:#3f6491}.geldbord-piece[data-cents="5000"]{--note-fill:#f3c48f;--note-edge:#8f5a1e}.geldbord-coin,.geldbord-note{display:block;object-fit:contain;width:100%;height:100%}.geldbord-coin circle{fill:var(--coin-fill);stroke:var(--coin-edge);stroke-width:3}.geldbord-note rect{fill:var(--note-fill);stroke:var(--note-edge);stroke-width:1.5}.geldbord-coin text,.geldbord-note text{fill:var(--text-primary);font-family:var(--font-heading);font-weight:700}.geldbord-tray{--units:17;--ratio:1.88;--p:min(16cqh,calc(88cqw/var(--units)));display:flex;justify-content:center;align-items: center;gap:calc(var(--p)*.15);border-top:2px solid var(--border-color);flex-wrap:wrap;padding:1cqh 0}.geldbord-piece--tray{width:var(--p);height:var(--p);min-width:var(--board-hit);min-height:var(--board-hit)}.geldbord-piece--tray[data-tone=note]{width:calc(var(--p)*var(--ratio));min-width:calc(var(--board-hit)*var(--ratio))}}
