* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(900px 500px at 50% -10%, #1d6b46, #0f3d28); color: #eafaf0;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.cz-header { width: 100%; max-width: 620px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.cz-header h1 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.cz-header h1 span { font-size: 0.55rem; color: #9ed3b3; font-weight: 600; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.cz-main { width: 100%; max-width: 620px; padding: 8px 14px 28px; display: flex; flex-direction: column; align-items: center; }

.message { min-height: 26px; font-weight: 800; font-size: 1.1rem; color: #ffe082; text-align: center; margin-bottom: 14px; }
.seat { width: 100%; text-align: center; margin-bottom: 14px; }
.seat-label { font-size: 0.72rem; color: #9ed3b3; letter-spacing: 0.05em; margin-bottom: 8px; text-transform: uppercase; }
.split { display: flex; gap: 18px; justify-content: center; }
.split-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.col-label { font-size: 0.65rem; color: #7fc49a; text-transform: uppercase; letter-spacing: 0.04em; }
.hand { justify-content: center; min-height: 90px; flex-wrap: wrap; gap: 5px; }
.hand.seven { gap: 6px; }
.readout { font-size: 0.85rem; color: #cfe9d8; margin-top: 8px; }
.readout b { color: #ffe082; }
.foul { color: #ff8a7a; font-weight: 800; }

.pick { position: relative; cursor: pointer; border-radius: 9px; padding: 3px; transition: transform 0.1s; }
.pick:hover { transform: translateY(-3px); }
.pick.low { background: rgba(155, 231, 255, 0.18); box-shadow: 0 0 0 2px #3aa0d8 inset; }
.pick.high { background: rgba(255, 224, 130, 0.12); box-shadow: 0 0 0 2px #b98f1f inset; }
.pick .tag { display: block; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.05em; margin-top: 2px; }
.pick.low .tag { color: #9be7ff; } .pick.high .tag { color: #ffe082; }

.pc.joker { background: linear-gradient(135deg,#6a3fb5,#3a1f7a); color: #ffe082; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pc.joker .pc-mid { font-size: 1.8rem; }

.set-controls { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.cz-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.credit-box { font-size: 1.05rem; } .credit-box strong { color: #6fe39a; }
.bet-row { display: flex; align-items: center; gap: 10px; } .bet-row strong { color: #ffe082; min-width: 24px; text-align: center; }
.ctrl { background: #0f3d28; color: #eafaf0; border: 1px solid #2a5e44; border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.ctrl.big { padding: 12px 18px; } .ctrl.small { font-size: 0.72rem; padding: 5px 9px; } .ctrl:disabled { opacity: 0.45; cursor: not-allowed; }
.action-btn { background: linear-gradient(180deg,#ffe082,#f0b000); color: #2a1f00; border: none; border-radius: 10px; padding: 12px 36px; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.action-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.version-info { position: fixed; bottom: 6px; right: 8px; font-size: 0.65rem; color: rgba(255,255,255,0.35); }
