* { 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; }

.message { min-height: 26px; font-weight: 800; font-size: 1.1rem; color: #ffe082; text-align: center; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-bottom: 18px; }
.kn { aspect-ratio: 1; border: 1px solid #2a5e44; background: #114a30; color: #eafaf0; border-radius: 6px; font-weight: 700; font-size: 0.8rem; cursor: pointer; font-family: inherit; transition: transform 0.08s; }
.kn:hover { transform: scale(1.06); }
.kn.picked { background: #2e86de; border-color: #2e86de; color: #fff; }
.kn.drawn { background: #555; border-color: #777; color: #ddd; }
.kn.hit { background: #f0b000; border-color: #ffe082; color: #2a1f00; }

.cz-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.info 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: 10px 16px; } .ctrl.small { font-size: 0.72rem; padding: 5px 9px; } .ctrl:disabled { opacity: 0.45; cursor: not-allowed; }
.action-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.action-btn { background: linear-gradient(180deg,#ffe082,#f0b000); color: #2a1f00; border: none; border-radius: 10px; padding: 11px 34px; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.action-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.version-info { position: fixed; bottom: 6px; right: 8px; font-size: 0.65rem; color: rgba(255,255,255,0.35); }
