/* ---------- chess ---------- */
.ch-wrap { position: relative; margin: 4px 0; }
.ch-board { position: relative; display: grid; grid-template: repeat(8, 1fr) / repeat(8, 1fr); aspect-ratio: 1; width: 100%; border-radius: 12px; overflow: hidden;
            box-shadow: 0 0 0 5px #1c1540, 0 0 0 6px #ffb6275e, 0 0 0 11px #120d2c, 0 24px 44px -8px #000d; }
.ch-sq { position: relative; display: grid; place-items: center; min-width: 0; padding: 0; border: 0; background: var(--sq); }
.ch-sq.lt { --sq: #f3dfb6; } .ch-sq.dk { --sq: #b07a45; }
.ch-sq.last { background: linear-gradient(#ffd35c66, #ffd35c66), var(--sq); }
.ch-sq.sel { background: linear-gradient(#14b8a699, #14b8a699), var(--sq); }
.ch-sq.check { background: radial-gradient(circle, #ff3b3b 0 30%, #ff3b3b88 55%, transparent 75%), var(--sq); }
.ch-sq.dot::after { content: ''; position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #1a143350; }
.ch-sq.cap::after { content: ''; position: absolute; inset: 4%; border-radius: 50%; box-shadow: inset 0 0 0 4px #1a143355; }
.ch-sq small { position: absolute; font: 800 .55rem/1 var(--display); color: #1a143399; pointer-events: none; }
.ch-sq.dk small { color: #fff5dfcc; }
.ch-sq .rk { top: 3px; left: 3px; }
.ch-sq .fl { right: 3px; bottom: 2px; }
.ch-p { position: relative; z-index: 1; display: block; font-size: min(9.4vw, 44px); line-height: 1; font-family: 'Segoe UI Symbol', 'DejaVu Sans', 'Noto Sans Symbols 2', system-ui, sans-serif;
        transform: translateY(-3%); pointer-events: none; }
.ch-p.w { color: #fffaf0; -webkit-text-stroke: 1.2px #2a2340; paint-order: stroke fill; text-shadow: 0 2px 0 #0005; }
.ch-p.b { color: #241c3d; -webkit-text-stroke: .6px #fff5df88; text-shadow: 0 2px 0 #0004; }
button.ch-sq:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; z-index: 2; }
.ch-taken { display: flex; flex-wrap: wrap; align-items: center; min-height: 26px; margin: 6px 2px; }
.ch-taken .ch-p { font-size: 1.35rem; margin-right: -3px; }
.ch-moves { display: flex; gap: 6px; overflow-x: auto; margin: 6px 0 2px; padding: 8px 12px; border-radius: 12px; background: #ffffff0a; border: 1px solid var(--hair);
            font: 700 .86rem var(--display); white-space: nowrap; scrollbar-width: none; }
.ch-moves::-webkit-scrollbar { display: none; }
.ch-moves b { color: var(--muted); }
.ch-promo { position: absolute; z-index: 3; inset: 0; width: fit-content; height: fit-content; margin: auto; display: grid; justify-items: center; gap: 10px; padding: 14px;
            border-radius: 18px; background: var(--s2); border: 1px solid var(--hair-2); box-shadow: 0 16px 40px #000c; animation: pop .3s ease-out both; }
.ch-promo b { font: 800 1rem var(--display); color: var(--paper); }
.ch-promo > div { display: flex; gap: 8px; }
.ch-pick { width: 56px; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: #f3dfb6; box-shadow: 0 3px 0 #8a5a2b; }
.ch-pick .ch-p { font-size: 40px; }
.ch-mini { display: flex; align-items: flex-end; padding: 6px 8px; border-radius: 12px; transform: rotate(-5deg);
           background: repeating-conic-gradient(#f3dfb6 0 25%, #b07a45 0 50%) 0 0 / 22px 22px; box-shadow: 0 0 0 3px var(--paper), 0 6px 12px 3px #0006; }
.ch-mini .ch-p { font-size: 34px; }

/* ---------- business ---------- */
.bz-board { position: relative; display: grid; grid-template: 1.35fr repeat(8, 1fr) 1.35fr / 1.35fr repeat(8, 1fr) 1.35fr; aspect-ratio: 1; width: calc(100% + 16px); margin: 6px -8px 12px;
            gap: 1px; padding: 1px; border-radius: 14px; background: #1a143340;
            box-shadow: 0 0 0 5px #1c1540, 0 0 0 6px #ffb6275e, 0 0 0 11px #120d2c, 0 24px 44px -8px #000d; }
.bz-sq { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 0; padding: 2px 1px;
         border: 0; background: #fff5df; color: var(--ink); overflow: hidden; text-align: center; }
.bz-sq .band { position: absolute; display: grid; place-items: center; background: var(--g); color: #fff; font: 800 .5rem/1 var(--display); letter-spacing: -.05em; }
.bz-sq.s-b .band { top: 0; left: 0; right: 0; height: 22%; }
.bz-sq.s-t .band { bottom: 0; left: 0; right: 0; height: 22%; }
.bz-sq.s-l .band { top: 0; bottom: 0; right: 0; width: 22%; writing-mode: vertical-rl; }
.bz-sq.s-r .band { top: 0; bottom: 0; left: 0; width: 22%; writing-mode: vertical-rl; }
.bz-sq.s-b { padding-top: 24%; } .bz-sq.s-t { padding-bottom: 24%; } .bz-sq.s-l { padding-right: 24%; } .bz-sq.s-r { padding-left: 24%; }
.bz-sq.owned { box-shadow: inset 0 0 0 2.5px var(--o); }
.bz-sq .ic { font-size: .78rem; line-height: 1; }
.bz-sq .ic:empty { display: none; }
.bz-sq .nm { max-width: 100%; font: 800 .5rem/1.05 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.bz-sq:is(.s-t, .s-b) .nm { font-size: .46rem; letter-spacing: -.035em; }
.bz-sq .pr { font: 700 .46rem/1 var(--display); color: #6b5d3a; }
.bz-sq.s-c .ic { font-size: 1.15rem; }
.bz-sq.s-c .nm { font-size: .6rem; }
.bz-sq.k-card .ic { font: 800 .9rem/1 var(--display); color: #7c3aed; }
.bz-sq.k-tax .ic { font-weight: 800; color: #e2334a; }
.bz-sq.k-club .ic { color: #0f9284; }
.bz-sq.k-start { background: linear-gradient(140deg, #ffe08a, #fff5df); }
.bz-sq.k-gojail { background: linear-gradient(140deg, #ffc9d0, #fff5df); }
.bz-sq .tk { position: absolute; inset: auto 1px 1px; display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; pointer-events: none; }
.bz-tok { position: relative; z-index: 3; display: block; width: 11px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid #fff; background: var(--c); box-shadow: 0 1px 3px #000a; }
.bz-mid { grid-area: 2 / 2 / 10 / 10; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px;
          background: radial-gradient(90% 80% at 50% 30%, #1f9d8f, #0e5f57 60%, #083b37); color: var(--paper); text-align: center; overflow: hidden; }
.bz-round { font: 800 .66rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #bdf5ee; }
.bz-dice { display: flex; gap: 8px; }
.bz-dice .die { width: 40px; padding: 5px; border-radius: 10px; }
.bz-card { max-width: 92%; padding: 7px 10px; border-radius: 10px; background: var(--paper); color: var(--ink); font: 700 .74rem/1.25 var(--body); box-shadow: 0 6px 14px #0007; }
.bz-card small { display: block; font: 800 .58rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: #7c3aed; }
.bz-log { display: grid; gap: 2px; max-width: 100%; }
.bz-log p { font: 600 .7rem/1.25 var(--body); color: #d6fffa; overflow-wrap: anywhere; }
.bz-log p:last-child { color: #fff; font-weight: 700; }
.bz-info { display: grid; gap: 1px; padding: 5px 10px; border-radius: 10px; background: #00000038; max-width: 96%; }
.bz-info b { font: 800 .82rem/1.1 var(--display); }
.bz-info span { font: 600 .68rem/1.2 var(--body); color: #d6fffa; }
.bz-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.bz-acts.one { grid-template-columns: 1fr; }
.bz-acts .btn { min-height: 52px; }
.bz-builds, .bz-owned { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 10px; }
.bz-builds small, .bz-owned small { width: 100%; font: 800 .66rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bz-build { min-height: 36px; padding: 2px 12px 0; border: 0; border-radius: 99px; background: var(--g); color: #fff; font: 800 .82rem var(--display); box-shadow: 0 3px 0 #0007; }
.bz-own { padding: 3px 9px 1px; border-radius: 99px; border-left: 4px solid var(--g); background: #ffffff10; font: 700 .76rem var(--display); }
.bz-mini { display: block; width: 62px; aspect-ratio: 1; transform: rotate(5deg); filter: drop-shadow(0 6px 10px #0008); }
.bz-mini svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .ch-promo { animation: none; } }
