:root{color-scheme:dark;--ink:#f8f4e7;--muted:#d0dcd2;--gold:#e6c46c;--felt:#123c30}*{box-sizing:border-box}body{margin:0;background:#091c17;color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}a{color:#f0d995;text-underline-offset:.22em}header,main,footer{max-width:1100px;margin:auto;padding:24px}header{padding-top:80px}.bj-nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.bj-languages{display:flex;gap:12px;margin-left:auto}.bj-languages [aria-current]{font-weight:800;color:white}.bj-hero{margin:28px 0 8px}.bj-hero h1{font:700 clamp(2.4rem,8vw,5rem)/1.1 Georgia,serif;letter-spacing:-.03em;margin:12px 0}.bj-eyebrow{font-size:.8rem;text-transform:uppercase;letter-spacing:.15em;color:var(--gold)}.bj-hero>p:last-child{max-width:660px;font-size:1.16rem;color:var(--muted)}.bj-score{display:flex;gap:34px;border-top:1px solid #335449;padding:16px 4px}.bj-score span{display:block;color:var(--muted);font-size:.85rem}.bj-score strong{font-size:1.8rem;font-variant-numeric:tabular-nums}.bj-table{border:1px solid #648573;border-radius:28px;background:radial-gradient(ellipse at 50% 0%,#25634c,#103b2e 70%);box-shadow:0 14px 50px #0005;padding:26px}.bj-hands{display:grid;grid-template-columns:1fr 1fr;gap:28px}.bj-hands h2{font-size:1.13rem;font-weight:600;margin:0 0 18px}.bj-total{display:block;color:var(--muted);font-size:.85rem;font-weight:400}.bj-hand{display:flex;flex-wrap:wrap;gap:12px;min-height:166px}.bj-card{flex:0 0 100px;height:145px;position:relative;background:#fffdf6;color:#19251f;border:1px solid #e6dfc5;border-radius:10px;box-shadow:0 5px 12px #0003;animation:deal .18s ease-out}.bj-red{color:#a42532}.bj-corner{position:absolute;left:8px;top:3px;font:700 23px/1 Georgia,serif}.bj-corner small{display:block;font-size:19px}.bj-bottom{left:auto;top:auto;right:8px;bottom:3px;transform:rotate(180deg)}.bj-suit{position:absolute;inset:0;display:grid;place-items:center;font-size:48px}.bj-back{border:6px solid #e9ddbc;background:repeating-linear-gradient(45deg,#143c53 0 4px,#2b5667 4px 7px);color:#f2d38c;display:grid;place-items:center;font-size:42px}.bj-empty{display:grid;place-items:center;width:100px;height:145px;border:1px dashed #a4b9a4;border-radius:10px;font:28px Georgia,serif;color:#d0dcd2}.bj-status{min-height:60px;background:#06291f;border-left:3px solid var(--gold);border-radius:4px;padding:14px 16px;margin:24px 0;font-size:1.08rem}.bj-actions{display:flex;gap:12px;flex-wrap:wrap}button{font-family:inherit;font-size:1rem;font-weight:700;line-height:1.4;cursor:pointer;min-height:48px;padding:12px 20px;border:1px solid #b7ccbe;border-radius:10px;background:#f3f4e9;color:#142d23}button.bj-primary{background:var(--gold);border-color:var(--gold)}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #fff;outline-offset:4px}.bj-bottom-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.bj-bottom-row p{max-width:660px;color:var(--muted);font-size:.88rem}.bj-reset{background:transparent;color:#e8eddc;font-size:.85rem}.bj-rules{border:1px solid #35584a;border-radius:12px;padding:14px 20px}.bj-rules summary{cursor:pointer;font-weight:700}.bj-rules p{max-width:850px;color:var(--muted)}footer{font-size:.85rem;color:var(--muted)}@keyframes deal{from{transform:translateY(-5px);opacity:.3}to{transform:none;opacity:1}}@media(max-width:720px){header,main,footer{padding:16px}header{padding-top:76px}.bj-languages{margin-left:0;flex-wrap:wrap}.bj-hands{grid-template-columns:1fr;gap:24px}.bj-table{padding:18px;border-radius:18px}.bj-card{flex-basis:84px;height:124px}.bj-hand{gap:8px;min-height:124px}.bj-actions button{flex:1 1 130px}.bj-bottom-row{display:block}.bj-score{gap:24px}}@media(prefers-reduced-motion:reduce){.bj-card{animation:none}}