.mono { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
@media (max-width: 1050px) { .mono { grid-template-columns: 1fr; } }

.mono-board-wrap { width: 100%; max-width: min(100%, calc(100vh - 120px)); margin: 0 auto; }
@media (max-width: 1050px) { .mono-board-wrap { max-width: 100%; } }
.mono-board { --u: 6px; position: relative; aspect-ratio: 1; width: 100%; display: grid;
  grid-template-columns: 1.55fr repeat(var(--L, 9), 1fr) 1.55fr; grid-template-rows: 1.55fr repeat(var(--L, 9), 1fr) 1.55fr;
  background: #9fdcf2; border: 3px solid #0b3a52; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); color: #111;
  font-size: calc(var(--u) * 1.15); user-select: none; }
.mono.mega .mono-board { font-size: calc(var(--u) * .92); }
.sq { position: relative; border: 1px solid #0b3a52; background: #e6f7fd; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1px; overflow: hidden; cursor: pointer; line-height: 1.05; transition: background .3s; }
.sq:hover { background: #fffbe6; z-index: 2; }
.sq.corner { background: #cdeefa; }
.mono-board.picking .sq:not(.hot) { filter: saturate(.7) brightness(.94); }
.sq.hot { box-shadow: inset 0 0 0 3px #ff8c2e; animation: hotpulse 1.2s ease-in-out infinite; z-index: 3; }
@keyframes hotpulse { 50% { box-shadow: inset 0 0 0 5px #ffb347; background: #fff4e0; } }
.sq .nm { font-weight: 600; font-size: .95em; padding: 0 1px; }
.sq .pr { font-size: .85em; opacity: .8; margin-top: 1px; }
.sq .ic { font-size: 2.1em; line-height: 1; }
.sq.corner .ic { font-size: 3.2em; }
.mono.mega .sq .ic { font-size: 1.7em; } .mono.mega .sq.corner .ic { font-size: 2.6em; }
.sq.corner .nm { font-size: 1.05em; }
.sq .bar { position: absolute; background: var(--gc); display: flex; align-items: center; justify-content: center; gap: 1px; }
.sq.bottom .bar { top: 0; left: 0; right: 0; height: 24%; }
.sq.top .bar { bottom: 0; left: 0; right: 0; height: 24%; }
.sq.left .bar { right: 0; top: 0; bottom: 0; width: 22%; flex-direction: column; }
.sq.right .bar { left: 0; top: 0; bottom: 0; width: 22%; flex-direction: column; }
.sq.bottom { padding-top: 26%; } .sq.top { padding-bottom: 26%; } .sq.left { padding-right: 24%; } .sq.right { padding-left: 24%; }
.house { width: calc(var(--u) * 1.1); height: calc(var(--u) * 1.1); background: #1f9d48; border: 1px solid #0b3d1c; border-radius: 1px; }
.hotel { width: calc(var(--u) * 2.4); height: calc(var(--u) * 1.3); background: #d42a2a; border: 1px solid #5c0e0e; border-radius: 2px; }
.sq.left .hotel, .sq.right .hotel { width: calc(var(--u) * 1.3); height: calc(var(--u) * 2.4); }
.sky { width: calc(var(--u) * 1.5); height: calc(var(--u) * 2.6); background: linear-gradient(#7fd3ff, #2b5f9e); border: 1px solid #0b2a52; border-radius: 2px 2px 0 0; }
.sq.left .sky, .sq.right .sky { width: calc(var(--u) * 2.6); height: calc(var(--u) * 1.5); }
/* a ferry dock: a gold band with an anchor along the inside edge (where houses go on a property), plus a gold rim */
.sq.dock { box-shadow: inset 0 0 0 2px #f2b705; }
.sq.dock::before { content: '⚓ DOCK'; position: absolute; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  background: linear-gradient(#ffd75e, #f2a900); color: #0b2a3a; font-weight: 900; font-size: 1.05em; letter-spacing: .02em; z-index: 1;
  border: 1px solid #8a5a00; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.sq.bottom.dock::before { top: 0; left: 0; right: 0; height: 24%; }
.sq.top.dock::before { bottom: 0; left: 0; right: 0; height: 24%; }
.sq.left.dock::before { right: 0; top: 0; bottom: 0; width: 22%; writing-mode: vertical-rl; }
.sq.right.dock::before { left: 0; top: 0; bottom: 0; width: 22%; writing-mode: vertical-rl; transform: rotate(180deg); }
.sq .own { position: absolute; background: var(--oc); }
.sq.bottom .own { bottom: 0; left: 0; right: 0; height: 7%; }
.sq.top .own { top: 0; left: 0; right: 0; height: 7%; }
.sq.left .own { left: 0; top: 0; bottom: 0; width: 7%; }
.sq.right .own { right: 0; top: 0; bottom: 0; width: 7%; }
.sq.mort::after { content: 'MORTGAGED'; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: .8em; letter-spacing: .5px;
  color: #8a1c1c; background: repeating-linear-gradient(45deg, rgba(255,255,255,.75) 0 4px, rgba(220,200,200,.75) 4px 8px); }
.sq.flash { animation: sqflash 1.1s ease-out; }
@keyframes sqflash { 0% { background: #fff27a; box-shadow: inset 0 0 0 3px #f2c14e; } 100% { background: #e6f7fd; } }
.sq.here { box-shadow: inset 0 0 0 3px rgba(242,193,78,.9); }

.mono-center { grid-column: 2 / span var(--L, 9); grid-row: 2 / span var(--L, 9); background: radial-gradient(circle at 30% 20%, #e3f7ff, #b7e6f7 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 1.6); position: relative; overflow: auto; font-size: calc(var(--u) * 1.75); color: #0d2a3a; }
.mono-center::before { content: 'REEF ESTATE'; position: absolute; top: 50%; left: 50%; font-weight: 900; font-size: calc(var(--u) * 8); color: rgba(20,110,160,.12); transform: translate(-50%, -50%) rotate(-38deg);
  letter-spacing: calc(var(--u) * .5); pointer-events: none; white-space: nowrap; }
.center-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 1.2); width: 100%; max-width: calc(var(--u) * 70); }
.status { font-weight: 700; text-align: center; font-size: 1.05em; }
.sub { text-align: center; color: #23495e; font-size: .85em; }
.turn-banner { font-weight: 900; font-size: 1.45em; letter-spacing: 1px; color: #fff; background: linear-gradient(90deg, #ff7a1a, #ff4f6d); padding: calc(var(--u) * .5) calc(var(--u) * 2.4);
  border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.25); text-align: center; }
.turn-banner.pop { animation: bannerpop .35s ease-out; }
.turn-banner { white-space: normal; overflow-wrap: anywhere; text-align: center; max-width: 100%; box-sizing: border-box; }
.turn-banner.other { flex-wrap: wrap; justify-content: center; }
.turn-banner.other { background: rgba(255,255,255,.75); color: #0d2a3a; font-size: 1em; font-weight: 700; letter-spacing: 0; box-shadow: none; display: flex; align-items: center; gap: 6px; }
.turn-banner.warn { background: linear-gradient(90deg, #c0392b, #e05a47); }
@keyframes bannerpop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.who-name { font-weight: 800; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.infos { justify-content: center; min-height: calc(var(--u) * 3.4); }
.infos.empty { display: none; }
.timer-slot.idle { opacity: .5; }
.timer-slot:empty { display: none; }
.stuff { width: 100%; background: rgba(255,255,255,.88); border: 2px solid #2b8fbf; border-radius: 12px; padding: calc(var(--u) * 1); display: flex; flex-direction: column; gap: calc(var(--u) * .7); }
.stuff-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stuff-title { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.cash-big { font-size: 1.5em; font-weight: 900; color: #127a3f; font-variant-numeric: tabular-nums; }
.cash-big.red { color: #c0392b; }
.stuff-tools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mono .stuff .btn.sm { font-size: calc(var(--u) * 1.6); color: var(--text); }
.mono .stuff .btn.good { color: #062b14; }
.btn.warn { background: #f2a03d; color: #2a1605; }
.mode-hint { background: #fff4e0; border-radius: 8px; padding: 3px 6px; }
.stuff .pchip { background: #eef8fc; color: #0d2a3a; font-size: .85em; }
.pchip.hot { box-shadow: 0 0 0 2px #ff8c2e; animation: hotpulse 1.2s ease-in-out infinite; }
.dice { display: flex; gap: calc(var(--u) * 1.5); }
.die { width: calc(var(--u) * 7); height: calc(var(--u) * 7); background: #fff; border-radius: calc(var(--u) * 1.2); box-shadow: 0 3px 0 #b8b8b8, 0 4px 10px rgba(0,0,0,.25);
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: calc(var(--u) * .9); }
.die.speed { background: #ffd23f; display: grid; place-items: center; padding: 0; font-size: calc(var(--u) * 3.4); }
.die.speed b { font-size: calc(var(--u) * 3.8); color: #1b1b1b; }
.mono.mega .die { width: calc(var(--u) * 6); height: calc(var(--u) * 6); }
.die i { width: 70%; height: 70%; margin: auto; border-radius: 50%; background: #1b1b1b; visibility: hidden; }
.die.rolling { animation: shake .12s linear infinite; }
@keyframes shake { 0% { transform: rotate(-12deg) translateY(-2px); } 50% { transform: rotate(12deg) translateY(2px); } 100% { transform: rotate(-12deg); } }
.acts { display: flex; gap: calc(var(--u) * 1); flex-wrap: wrap; justify-content: center; }
.mono .acts .btn { font-size: calc(var(--u) * 1.9); padding: calc(var(--u) * 1) calc(var(--u) * 2); color: var(--text); }
.mono .acts .btn.primary { color: #2a1f05; }
.mini-deed { background: #fff; border: 2px solid #111; border-radius: 6px; padding: 0 0 calc(var(--u) * .8); width: calc(var(--u) * 26); text-align: center; color: #111; font-size: .8em; }
.mini-deed .hd { background: var(--gc, #444); color: #fff; padding: calc(var(--u) * .7); font-weight: 800; margin-bottom: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.pot { background: #fff8d6; border: 2px dashed #2b8fbf; border-radius: 10px; padding: 3px 10px; font-weight: 700; font-size: .85em; }
.cardpop { background: #fff; border-radius: 10px; border: 3px solid #d98b1f; padding: calc(var(--u) * 1.2) calc(var(--u) * 1.8); max-width: calc(var(--u) * 50); text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.3); animation: flip .45s ease-out; font-size: .9em; }
.cardpop.chest { border-color: #2f7fd1; }
.cardpop b { display: block; margin-bottom: 3px; color: #a35f08; letter-spacing: 1px; font-size: .8em; }
.cardpop.chest b { color: #1d5c9a; }
@keyframes flip { from { transform: rotateY(90deg) scale(.8); } to { transform: none; } }
.auction { background: #fff; border-radius: 10px; padding: calc(var(--u) * 1.2); text-align: center; width: 100%; border: 2px solid #8a6d1f; }
.auction .hi { font-size: 1.4em; font-weight: 900; }
.auction input { width: calc(var(--u) * 12); }
.debtbox { background: #ffe9e6; border: 2px solid #c0392b; border-radius: 10px; padding: calc(var(--u) * 1.2); text-align: center; }
.winner { font-size: 1.6em; font-weight: 900; text-align: center; }
.standings { background: #fff; border-radius: 8px; padding: 6px 12px; font-size: .85em; }
.standings div { display: flex; justify-content: space-between; gap: 20px; }

.tokens { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.tok { position: absolute; width: calc(var(--u) * 4.6); height: calc(var(--u) * 4.6); border-radius: 50%; display: grid; place-items: center;
  font-size: calc(var(--u) * 2.6); background: rgba(255,255,255,.92); border: 3px solid var(--pc); box-shadow: 0 2px 6px rgba(0,0,0,.45);
  transition: left .16s ease-in-out, top .16s ease-in-out, transform .16s; transform: translate(-50%, -50%); }
.tok svg { width: 88%; height: 88%; }
.mono.mega .tok { width: calc(var(--u) * 3.8); height: calc(var(--u) * 3.8); }
.tok.hop { transform: translate(-50%, -70%) scale(1.12); }
.tok.cur { box-shadow: 0 0 0 3px #f2c14e, 0 2px 8px rgba(0,0,0,.5); z-index: 2; }
.tok.out { display: none; }

.mono-side { display: flex; flex-direction: column; gap: 12px; }
.mono-side .card { padding: 12px; }
.mono-side h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.pl { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 6px; border-radius: 10px; cursor: pointer; position: relative; border: 1px solid transparent; }
.pl:hover { background: var(--panel2); }
.pl.cur { border-color: var(--accent); background: rgba(242,193,78,.08); }
.pl.out { opacity: .45; text-decoration: line-through; }
.pl .tk { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 3px solid var(--pc); line-height: 0; }
.pl .nm { font-weight: 600; }
.pl .meta { font-size: .75rem; color: var(--muted); }
.pl .cash { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.pl .nw { font-size: .72rem; color: var(--muted); text-align: right; }
.delta { position: absolute; right: 8px; top: -6px; font-weight: 800; font-size: .85rem; animation: rise 1.6s ease-out forwards; pointer-events: none; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); }
@keyframes rise { from { transform: translateY(6px); opacity: 1; } to { transform: translateY(-18px); opacity: 0; } }
.props { display: flex; flex-wrap: wrap; gap: 5px; }
.pchip { border: none; border-left: 6px solid var(--gc); background: var(--bg2); border-radius: 6px; padding: 4px 7px; font-size: .78rem; cursor: pointer; color: var(--text); text-align: left; }
.pchip.m { opacity: .55; text-decoration: line-through; }
.pchip .h { color: #57c785; margin-left: 3px; }
#mTradeCard.incoming { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,140,46,.25); }
.trade.in { border-color: var(--accent); }
.trade { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-bottom: 6px; font-size: .85rem; }
.trade .row { margin-top: 6px; }
.log { max-height: 220px; overflow: auto; font-size: .8rem; display: flex; flex-direction: column; gap: 3px; }
.log div { padding: 2px 4px; border-radius: 4px; }
.log .me { background: rgba(242,193,78,.12); }
.log .bot { background: rgba(143,124,240,.15); }
.chatlog { max-height: 130px; overflow: auto; font-size: .82rem; }

.deed { border: 2px solid #111; border-radius: 10px; background: #fffef8; color: #111; overflow: hidden; }
.deed .hd { background: var(--gc); color: #fff; text-align: center; padding: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.deed .hd small { display: block; opacity: .9; }
.deed table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.deed td { padding: 4px 14px; }
.deed td:last-child { text-align: right; font-weight: 700; }
.deed tr.now td { background: #fff1b8; }
.deed .ft { padding: 8px 14px; font-size: .85rem; border-top: 1px solid #ddd; }
.manage { margin-top: 12px; }
.tradegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tradegrid .col { background: var(--bg2); border-radius: 10px; padding: 8px; max-height: 45vh; overflow: auto; }
.tradegrid label { display: flex; align-items: center; gap: 6px; font-size: .85rem; padding: 3px 0; border-left: 5px solid var(--gc, transparent); padding-left: 6px; margin: 2px 0; }
.tradegrid input[type=number] { width: 90px; }
@media (max-width: 520px) { .tradegrid { grid-template-columns: 1fr; } }

/* ---------- money banners that sweep across the board */
.banners { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.sweep { position: absolute; left: 50%; display: flex; align-items: center; gap: 10px; white-space: normal; overflow-wrap: anywhere; text-align: center;
  width: max-content; max-width: 88%; box-sizing: border-box; padding: calc(var(--u) * .9) calc(var(--u) * 2.6); line-height: 1.25;
  border-radius: calc(var(--u) * 2.4); font-weight: 800; font-size: calc(var(--u) * 2.6); color: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.35);
  animation: sweep 3.5s cubic-bezier(.2,.7,.3,1) forwards; }
.sweep svg { background: rgba(255,255,255,.9); border-radius: 50%; padding: 2px; flex: none; }
.sweep.good { background: linear-gradient(90deg, #12894a, #2fbf71); }
.sweep.bad { background: linear-gradient(90deg, #b3261e, #e5533f); }
.sweep.other { background: linear-gradient(90deg, #1d5f8a, #2b8fbf); }
@keyframes sweep {
  0% { transform: translateX(calc(-50% - var(--u) * 90)); opacity: 0; }
  14% { transform: translateX(-50%); opacity: 1; }
  82% { transform: translateX(-50%); opacity: 1; }
  100% { transform: translateX(calc(-50% + var(--u) * 90)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sweep { animation: none; left: 50%; transform: translateX(-50%); } }

/* ---------- buildings left in the bank */
.pot.bank { display: inline-flex; align-items: center; gap: 4px; }
.mini-house, .mini-hotel, .mini-sky { display: inline-block; width: .9em; height: .8em; border: 1px solid #0d1712; border-radius: 1px; vertical-align: -1px; }
.mini-house { background: #2e9e4f; clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); width: .8em; }
.mini-hotel { background: #d7263d; width: 1.2em; }
.mini-sky { background: linear-gradient(#7fd3ff, #2b5f9e); width: .6em; height: 1.1em; }

/* ---------- your properties in color columns */
.pcols { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.pcol { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 0 1 auto; border-top: 4px solid var(--gc); background: rgba(0,0,0,.04); border-radius: 6px; padding: 3px; }
.pcol-hd { font-size: .7em; font-weight: 800; color: #23495e; display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.pcol-hd span { opacity: .7; }
.pcol .pchip { margin: 0; text-align: left; }
.modal .pcols .pcol { background: rgba(255,255,255,.06); }
.modal .pcol-hd { color: var(--text); font-size: .8rem; }

/* ---------- deed in the middle of the board when you land */
.deed.compact { width: min(100%, calc(var(--u) * 34)); font-size: .82em; margin: 0 auto; }
.deed.compact table { font-size: 1em; } .deed.compact td { padding: 1px 6px; } .deed.compact .hd { padding: 5px; } .deed.compact .ft { padding: 3px 6px; font-size: .9em; }
ol.plan { padding-left: 1.4em; } ol.plan li { margin: 3px 0; } ol.plan b { color: #2fbf71; }

/* treasure chest drawing on Treasure Chest squares */
.sq .ic .sq-chest { width: 1.3em; height: 1.3em; display: block; margin: 0 auto; }
.deed .hd .sq-chest, h2 .sq-chest { width: 1.2em; height: 1.2em; vertical-align: -3px; }

/* ---------------------------------------------------------------- big screen (TV): a 1920 x 1080 stage */
.mtv { width: 1920px; height: 1080px; display: grid; grid-template-columns: 400px 1040px 400px; gap: 20px; padding: 20px; box-sizing: border-box;
  background: radial-gradient(ellipse at 50% 40%, #0f4a63, #051a24 75%); font-family: system-ui, 'Segoe UI', Arial, sans-serif; color: #eef6f8; overflow: hidden; }
.mtv .mono-board { width: 1040px; height: 1040px; }
.mtv.mega .mono-board { font-size: calc(var(--u) * .92); }
.mtv-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 0; }
.mtv .brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(0,0,0,.25); border-radius: 16px; padding: 10px 16px; font-size: 22px; white-space: nowrap; flex: none; }
.mtv .brand b { color: #ff8c2e; } .mtv .brand .code { font: 800 28px ui-monospace, monospace; letter-spacing: 6px; background: #0b2a3a; border-radius: 10px; padding: 2px 12px; }
.mtv .pp { background: #0e3446; border: 4px solid #25607a; border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-height: 0; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.mtv .pp.cur { border-color: #ffd24a; box-shadow: 0 0 34px rgba(255,210,74,.45); }
.mtv .pp.out { opacity: .45; }
.mtv .pp .top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mtv .pp .av { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 5px solid var(--pc); display: grid; place-items: center; flex: none; box-sizing: border-box; line-height: 0; }
.mtv .pp .nm { font-weight: 800; font-size: 32px; white-space: nowrap; overflow: hidden; flex: 1; min-width: 0; }
.mtv .pp .cash { font: 900 42px system-ui; color: #5fe08f; font-variant-numeric: tabular-nums; line-height: 1; } .mtv .pp .cash.red { color: #ff6b6b; }
.mtv .pp .tags { display: flex; flex-wrap: wrap; gap: 6px; } .mtv .pp .tag { background: #18455c; border-radius: 999px; padding: 3px 12px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.mtv .pp .tag.turn { background: #ffd24a; color: #2a1605; } .mtv .pp .tag.jail { background: #5a3340; }
.mtv .pp .sets { display: flex; flex-wrap: wrap; gap: .45em; align-content: flex-start; flex: 1; min-height: 0; overflow: hidden; }
.mtv .pp .none { opacity: .6; }
.mtv .lot { display: flex; align-items: stretch; background: #f3f9fb; color: #0d2a3a; border-radius: 8px; overflow: hidden; font-weight: 700; max-width: 100%; }
.mtv .lot i { width: .75em; background: var(--gc); flex: none; } .mtv .lot span { padding: .25em .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtv .lot.full { box-shadow: 0 0 0 3px #ffd24a; } .mtv .lot.m { opacity: .45; }
.mtv .lot .h { background: #1f9d48; color: #fff; padding: .25em .35em; } .mtv .lot .h.dk { background: #f2a900; color: #0b2a3a; }
/* the more players, the smaller each panel's name and cash */
.mtv.n5 .pp .cash, .mtv.n6 .pp .cash { font-size: 34px; } .mtv.n7 .pp .cash, .mtv.n8 .pp .cash { font-size: 28px; }
.mtv.n7 .pp .av, .mtv.n8 .pp .av { width: 48px; height: 48px; } .mtv.n7 .pp .tag, .mtv.n8 .pp .tag { font-size: 15px; }
.mtv .tv-center { justify-content: center; }
.tv-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: 100%; position: relative; z-index: 1; }
.tv-turn { font: 900 46px system-ui; color: #fff; background: linear-gradient(90deg, #ff7a1a, #ff4f6d); padding: 10px 40px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: flex; align-items: center; gap: 14px; max-width: 92%; text-align: center; }
.tv-turn.pop { animation: bannerpop .35s ease-out; } .tv-turn.warn { background: linear-gradient(90deg, #c0392b, #e05a47); } .tv-turn.win { background: linear-gradient(90deg, #f2a900, #ff7a1a); }
.tv-turn .av { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; line-height: 0; }
.tv-dice .die { width: 110px; height: 110px; border-radius: 20px; } .tv-dice { gap: 26px; }
.tv-sub { font: 700 26px system-ui; color: #0d2a3a; text-align: center; }
.tv-event { background: rgba(255,255,255,.88); border: 3px solid #2b8fbf; border-radius: 18px; padding: 12px 24px; font: 700 24px system-ui; color: #0d2a3a; max-width: 640px; text-align: center; }
.tv-card { font-size: 26px; max-width: 600px; }
.tv-auction { display: flex; gap: 24px; align-items: center; font-size: 22px; color: #0d2a3a; }
.tv-bid { font: 900 44px system-ui; color: #127a3f; } .tv-bid small { font-size: 24px; color: #0d2a3a; }
.tv-rank { background: rgba(255,255,255,.88); border-radius: 18px; padding: 12px 22px; font: 700 26px system-ui; color: #0d2a3a; min-width: 460px; }
.tv-rank div { display: flex; justify-content: space-between; gap: 20px; padding: 4px 0; }

/* ---------------------------------------------------------------- phone as a controller (a TV shows the board) */
.mono.ctl { --u: 7px; grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 1050px) { .mono.ctl { grid-template-columns: 1fr; } }
.ctl-main { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 640px; width: 100%; margin: 0 auto; }
.ctl-tv { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; background: #123d52; border: 1px solid #25607a; border-radius: 12px; padding: 8px 12px; font-size: .95rem; }
.ctl-center { position: relative; border-radius: 18px; min-height: 320px; padding: 16px 12px; font-size: 15px; }
.ctl-center .center-inner { max-width: none; }
.ctl-center .turn-banner { font-size: 1.5rem; }
.ctl-center .acts .btn { font-size: 1.15rem; padding: 14px 18px; } .ctl-center .acts .btn.big { font-size: 1.4rem; padding: 18px 26px; }
.ctl-center .die { width: 56px; height: 56px; }
.ctl-center .stuff .btn.sm { font-size: .95rem; }
.ctl-banners { position: fixed; top: 64px; left: 0; right: 0; bottom: auto; height: 50vh; z-index: 60; }

#tvRoot .tv-err { color: #eef6f8; font: 700 40px system-ui; padding: 80px; text-align: center; }
