* { 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: 560px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.cz-header h1 { margin: 0; font-size: 1.5rem; 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: 560px; padding: 8px 16px 28px; display: flex; flex-direction: column; align-items: center; }

.statusbar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: rgba(0,0,0,0.18); border: 1px solid #2a5e44; border-radius: 10px; padding: 8px 14px; margin-bottom: 12px; font-size: 0.95rem; }
.statusbar strong { color: #6fe39a; } .statusbar span:last-child strong { color: #ffe082; }
.message { min-height: 26px; font-weight: 800; font-size: 1.1rem; color: #ffe082; text-align: center; margin-bottom: 14px; }
.table { display: flex; gap: 26px; justify-content: center; align-items: flex-start; margin-bottom: 16px; }
.card-slot { text-align: center; }
.slot-label { font-size: 0.72rem; color: #9ed3b3; letter-spacing: 0.05em; margin-bottom: 6px; text-transform: uppercase; }
.hand { justify-content: center; min-height: 90px; }
.hand .pc { transform: scale(1.25); margin: 10px; }
#next-card.pending { opacity: 0.7; }
.potline { font-size: 1rem; margin-bottom: 18px; }
.potline strong { color: #ffe082; }

.play-controls { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 16px; width: 100%; max-width: 380px; }
.guess-row { display: flex; gap: 12px; width: 100%; }
.guess-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border: none; border-radius: 12px; padding: 14px; font-size: 1.1rem; font-weight: 800; cursor: pointer; font-family: inherit; color: #fff; }
.guess-btn.up { background: linear-gradient(180deg,#2ecc71,#27955a); }
.guess-btn.down { background: linear-gradient(180deg,#e74c3c,#c0392b); }
.guess-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.gm { font-size: 0.85rem; font-weight: 700; opacity: 0.95; }
.action-btn { background: linear-gradient(180deg,#ffe082,#f0b000); color: #2a1f00; border: none; border-radius: 10px; padding: 12px 40px; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.action-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.action-btn.cashout { background: linear-gradient(180deg,#9be7ff,#3aa0d8); color: #04293a; }

.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.small { font-size: 0.72rem; padding: 5px 9px; } .ctrl: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); }
