/* Counting has fixed zones: feedback can change without moving the private hand. */
body[data-phase=count] header{padding:10px 24px;max-width:1200px;height:66px}body[data-phase=count] .logo{font-size:33px}body[data-phase=count] .logo span{font-size:9px;margin-top:4px}body[data-phase=count] main{margin:0 auto 12px;max-width:1200px}body[data-phase=count] .roomhead{margin:0 0 12px;min-height:44px}body[data-phase=count] .roomhead h1{font-size:25px}body[data-phase=count] .roomhead .actions{margin:0}body[data-phase=count] .roomhead button{font-size:14px;padding:6px 12px}body[data-phase=count] .table{gap:20px;grid-template-columns:minmax(0,1fr) 270px}body[data-phase=count] .sheet{padding:16px 20px}body[data-phase=count] .blocked{margin:0 0 8px;padding:6px 10px;font-size:14px;min-height:38px}body[data-phase=count] .token{width:29px;height:29px;font-size:15px}body[data-phase=count] .danger{margin:0 0 8px;padding:5px 10px;font-size:14px}.count-stage{display:grid;grid-template-columns:1fr 1fr;gap:20px;height:330px;align-items:center}.count-stage .counter{padding:0;min-width:0}.count-stage .counter>p:first-child{font-size:19px;margin:0 0 6px}.count-stage .count-dial{width:180px;height:180px;margin:8px auto 20px}.count-stage .count{font-size:80px;letter-spacing:-4px}.count-stage .dial-end{width:35px;height:35px;font-size:15px}.count-stage .caller-badge{padding:4px 14px;font-size:14px;bottom:-10px;max-width:180px}.count-stage .counter>p:not(:first-child){font-size:13px;line-height:1.3;margin:5px 0;min-height:34px}.count-stage .call{min-width:150px;margin:5px 0 0;padding:8px 18px;font-size:18px;animation:none}.count-stage .space-hint{font-size:11px;margin:2px 0 0}.collision-zone{height:100%;display:flex;align-items:center;justify-content:center;min-width:0;overflow:auto;overscroll-behavior:contain;padding:5px}.collision-zone .collision-card{width:100%;margin:0;padding:12px;box-shadow:0 3px 0 #d3ae83}.collision-zone .collision-card h3{font-size:17px;margin:0 0 8px}.collision-zone .collision-value{width:44px;height:44px;font-size:26px;margin-bottom:10px}.collision-zone .collision-person{padding:5px 8px;font-size:14px;gap:6px}.collision-zone .collision-person .player-token{width:29px;height:29px;font-size:16px}.collision-zone .collision-card p{font-size:12px;margin-top:10px}.collision-placeholder{text-align:center;border:2px dashed #d7b980;border-radius:16px;padding:20px 14px;width:100%;color:#546078}.collision-placeholder strong{font-size:18px;color:#223957}.collision-placeholder p{font-size:13px;line-height:1.4}.collision-placeholder .placeholder-pieces{display:flex;justify-content:center;gap:8px;margin-bottom:12px}.placeholder-pieces span{display:grid;place-items:center;width:40px;height:40px;background:#f3d68b;border:2px solid #805500;border-radius:10px;font-size:22px;font-weight:bold;transform:rotate(-9deg)}.placeholder-pieces span+span{transform:rotate(9deg);background:#dfede4;border-color:#167269}body[data-phase=count] .chosen{margin:12px 0 8px;padding:0;gap:10px}body[data-phase=count] .slot{height:65px;max-width:100px;font-size:29px;gap:2px;padding:6px}body[data-phase=count] .slot.crossed:after{top:24px}body[data-phase=count] .sheet>.chosen+p{margin:10px 0 6px;font-size:14px}body[data-phase=count] .track{height:13px;margin:0}body[data-phase=count] .sidebar h2{font-size:18px;margin:0 0 8px}body[data-phase=count] .players li{padding:8px;margin:5px 0;gap:8px}body[data-phase=count] .player-token{width:35px;height:35px;font-size:20px}body[data-phase=count] .players{max-height:420px;overflow:auto;overscroll-behavior:contain;padding:2px 4px 6px}body[data-phase=count] .stats,body[data-phase=count] .live-points,body[data-phase=count] .players .subtle{font-size:12px}.history-drawer{margin-top:10px;padding:8px;border-top:1px solid #c8b995;font-size:14px}.history-drawer summary{cursor:pointer;font-weight:bold}.history-drawer .log{max-height:150px;margin:10px 0 0;font-size:13px}.history-drawer h3{display:none}body[data-phase=count] #table-moment{top:80px;font-size:17px;padding:8px 16px;max-width:min(600px,calc(100vw - 24px))}
@media(min-width:801px) and (min-height:560px){body[data-phase=count] .table{height:calc(100dvh - 150px)}body[data-phase=count] .sheet{display:flex;flex-direction:column;min-height:0}body[data-phase=count] .count-stage{flex:1;min-height:260px;max-height:360px}body[data-phase=count] .sidebar{min-height:0;overflow:auto;overscroll-behavior:contain}body[data-phase=count] .players{max-height:calc(100dvh - 220px)}}
@media(max-width:800px){body[data-phase=count] header{height:62px;padding:8px 16px}body[data-phase=count] .logo{font-size:28px}body[data-phase=count] .logo span{font-size:8px}body[data-phase=count] nav button{min-height:38px;padding:5px 7px;font-size:13px}body[data-phase=count] nav img{width:25px;height:21px}body[data-phase=count] main{padding:0 10px;margin:0 auto 12px}body[data-phase=count] .roomhead{gap:6px;margin:0 0 8px;flex-wrap:nowrap}body[data-phase=count] .roomhead h1{font-size:18px;white-space:nowrap}body[data-phase=count] .roomhead small{display:block;font-size:10px}body[data-phase=count] .roomhead .actions{gap:6px}body[data-phase=count] .roomhead button{font-size:11px;padding:5px 8px;min-height:36px}body[data-phase=count] .table{grid-template-columns:1fr;gap:14px}body[data-phase=count] .sheet{padding:12px}.count-stage{height:280px;gap:8px;grid-template-columns:1fr 1fr}.count-stage .count-dial{width:145px;height:145px;margin:8px auto 18px}.count-stage .count{font-size:65px}.count-stage .counter>p:first-child{font-size:15px;overflow-wrap:anywhere;line-height:1.25;height:38px;display:grid;place-items:center}.count-stage .caller-badge{font-size:12px;max-width:140px}.count-stage .call{min-width:130px;padding:7px 10px;font-size:16px;min-height:44px}.count-stage .counter>p:not(:first-child){font-size:11px;min-height:30px}.collision-zone{padding:3px}.collision-zone .collision-card{padding:9px;border-radius:12px}.collision-zone .collision-card h3{font-size:14px}.collision-zone .collision-person{font-size:12px;gap:4px;padding:4px 6px}.collision-zone .collision-people{gap:6px}.collision-zone .collision-person .player-token{width:25px;height:25px;font-size:14px}.collision-zone .collision-card p{font-size:11px;line-height:1.3}.collision-placeholder{padding:15px 8px}.collision-placeholder strong{font-size:15px}.collision-placeholder p{font-size:12px}.placeholder-pieces span{width:32px;height:32px;font-size:18px}body[data-phase=count] .chosen{gap:6px;margin:8px 0 6px}body[data-phase=count] .slot{height:59px;font-size:26px;gap:2px}body[data-phase=count] .slot small{font-size:12px}body[data-phase=count] .sheet>.chosen+p{font-size:12px;margin:8px 0 5px}body[data-phase=count] .blocked{font-size:12px;gap:5px;flex-wrap:nowrap;padding:5px 7px;margin-bottom:5px}body[data-phase=count] .token{width:25px;height:25px;flex-shrink:0;font-size:13px}body[data-phase=count] .danger{font-size:12px;padding:4px 7px;margin-bottom:5px}body[data-phase=count] .sidebar h2{display:none}body[data-phase=count] .players{display:flex;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:3px 3px 8px}body[data-phase=count] .players li{flex:1 0 105px;max-width:180px;margin:0;padding:7px;gap:4px;flex-wrap:wrap;align-items:center;justify-content:flex-start;border-radius:11px}body[data-phase=count] .players li>div:first-of-type{font-size:12px;flex:1;min-width:0;overflow-wrap:anywhere}body[data-phase=count] .players .subtle{display:none}body[data-phase=count] .players .stats{width:100%;font-size:10px;text-align:center;line-height:1.25}body[data-phase=count] .players .stats br{display:none}body[data-phase=count] .players .crown{margin-left:5px}body[data-phase=count] .players .live-points{font-size:11px;padding:0}body[data-phase=count] .player-token{width:25px;height:25px;font-size:15px;border-width:2px}.history-drawer{margin-top:3px;padding:6px;font-size:12px}body[data-phase=count] #table-moment{top:110px;font-size:14px;padding:6px 12px}}
@media(max-width:800px) and (max-height:740px){body[data-phase=count] header{height:52px}.count-stage{height:235px}.count-stage .count-dial{width:115px;height:115px;margin:5px auto 14px}.count-stage .count{font-size:52px}.count-stage .counter>p:first-child{height:30px;font-size:13px}.count-stage .counter>p:not(:first-child){font-size:10px;min-height:26px}.count-stage .call{min-height:42px;padding:5px 9px}.collision-zone .collision-card p{display:none}body[data-phase=count] .slot{height:52px;font-size:24px}body[data-phase=count] .sheet{padding:9px}body[data-phase=count] .table{gap:10px}}
