:root{font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,Inter,system-ui,sans-serif;line-height:1.5;font-weight:400;color:#f2f6f3;background:#07120d;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(120% 90% at 50% 0%,#16372a,#0a1a13 55%,#050c09)}kbd{font-family:inherit;font-size:11px;padding:2px 6px;border-radius:6px;border:1px solid rgba(255,255,255,.28);opacity:.75}.page{max-width:920px;margin:0 auto;padding:32px 20px 48px;display:grid;gap:20px}.page__head{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:flex-end;justify-content:space-between}.page__title{margin:0 0 6px;font-size:clamp(22px,4vw,30px);letter-spacing:.02em;color:#f7e6b8}.page__subtitle{margin:0;max-width:56ch;font-size:14px;color:#a9c3b5}.meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px}.meta__round,.meta__last{padding:4px 10px;border-radius:999px;border:1px solid rgba(247,230,184,.28);background:#f7e6b814;color:#e8d9a8;white-space:nowrap}.meta__last--player{border-color:#6ee7b766;background:#10b98124;color:#a7f3d0}.meta__last--dealer{border-color:#f8717166;background:#f8717124;color:#fecaca}.meta__last--push{color:#e2e8f0}.table{position:relative;display:grid;gap:16px;padding:22px 20px 20px;border-radius:18px;border:2px solid rgba(247,230,184,.35);background:radial-gradient(90% 70% at 50% 0%,#1c6b45,#135536 55%,#0d3f28);box-shadow:inset 0 0 60px #00000059,0 24px 48px #00000073}.table__divider{height:1px;background:linear-gradient(to right,transparent,rgba(247,230,184,.28),transparent)}.hand{display:grid;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid transparent;transition:border-color .16s ease,background-color .16s ease}.hand--active{border-color:#f7e6b859;background:#00000024}.hand__head{display:flex;align-items:baseline;gap:10px;justify-content:space-between}.hand__title{margin:0;font-size:14px;font-weight:600;letter-spacing:.16em;color:#cfe3d6}.hand__total{font-size:13px;font-weight:600;color:#f7e6b8;font-variant-numeric:tabular-nums}.hand__cards{display:flex;flex-wrap:wrap;gap:8px;min-height:128px;align-items:center}.playing-card{position:relative;width:84px;height:118px;flex:0 0 auto;border-radius:9px;background:#fdfdfb;box-shadow:0 8px 18px #00000052;animation:deal-in .24s ease-out both;display:grid;grid-template-areas:"card"}.card-corner{position:absolute;top:6px;left:7px;display:grid;justify-items:center;line-height:1}.card-corner--bottom{inset:auto 7px 6px auto;transform:rotate(180deg)}.card-rank{font-size:15px;font-weight:700;letter-spacing:-.02em}.card-suit{font-size:13px}.card-center{grid-area:card;place-self:center;font-size:40px;opacity:.92;align-self:center;justify-self:center}.playing-card--red{color:#c2263b}.playing-card--black{color:#17222b}.playing-card--back{background:repeating-linear-gradient(45deg,#1e4f8f 0 6px,#2a5fa5 6px 12px);border:3px solid #f4f1e4;display:grid;place-items:center}.card-back-emblem{font-size:30px;color:#f4f1e4d9}@keyframes deal-in{0%{opacity:0;transform:translateY(-14px) rotate(-3deg)}to{opacity:1;transform:translateY(0) rotate(0)}}.status{display:grid;gap:4px;justify-items:center;text-align:center;padding:12px 14px;border-radius:12px;background:#030c0852;border:1px solid rgba(247,230,184,.16);min-height:58px}.status__detail{font-size:14px;color:#c4d8cc}.status__result{font-size:20px;letter-spacing:.04em}.status__result--player{color:#8ef0c0}.status__result--dealer{color:#ffb2b2}.status__result--push{color:#e6e9ee}.controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.btn{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;font-size:15px;font-weight:600;font-family:inherit;color:#12281d;background:#e9f2ea;border:1px solid rgba(255,255,255,.4);border-radius:999px;cursor:pointer;transition:transform .12s ease,filter .12s ease,opacity .12s ease}.btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.04)}.btn:active:not(:disabled){transform:translateY(0)}.btn:focus-visible{outline:2px solid #f7e6b8;outline-offset:2px}.btn:disabled{opacity:.42;cursor:not-allowed}.btn--primary{background:linear-gradient(180deg,#ffe6a8,#f0c96d);color:#3b2a06}.btn--ghost{background:transparent;color:#e9f2ea;border-color:#e9f2ea73}.btn--ghost kbd{border-color:#e9f2ea73}.rules{padding:16px 20px;border-radius:14px;border:1px solid rgba(247,230,184,.16);background:#ffffff08}.rules h3{margin:0 0 8px;font-size:14px;letter-spacing:.12em;color:#e8d9a8}.rules ul{margin:0;padding-left:20px;display:grid;gap:6px;font-size:13px;color:#a9c3b5}@media(max-width:520px){.page{padding:20px 12px 32px}.table{padding:16px 12px}.playing-card{width:62px;height:88px}.card-center{font-size:28px}.card-rank{font-size:12px}.card-suit{font-size:11px}.hand__cards{min-height:96px}.btn{flex:1 1 40%;justify-content:center;padding:10px 14px}}@media(prefers-reduced-motion:reduce){.playing-card{animation:none}}
