*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 20% 25%,#253936,transparent 52%),radial-gradient(ellipse at 80% 80%,#322c45,transparent 52%),#10151a;color:#f1ecdf;font:16px/1.5 "Segoe UI",sans-serif}header,main{max-width:1150px;margin:auto;padding:18px clamp(16px,4vw,52px)}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #948b6d45}header b,.eyebrow{letter-spacing:.23em;font-size:.82rem;color:#dbc696}h1,h2,h3,.card strong{font-family:Georgia,serif;font-weight:400}h1{font-size:clamp(4rem,10vw,8rem);line-height:1;margin:14px 0}h2{font-size:2rem;margin:.2em 0}.home{min-height:72vh;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.fan{position:relative;height:340px;display:grid;place-items:center}.fan .card{position:absolute;width:180px;min-height:252px;box-shadow:0 25px 45px #0008}.fan .card:first-child{transform:rotate(-15deg) translate(-62px,-10px)}.fan .card:last-child{transform:rotate(10deg) translate(60px,22px)}.card{color:#30251e;background:#ebe5d5;border:3px double #988568;border-radius:10px;padding:10px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0}.card strong{font-size:1.35rem}.card small{color:#724137;letter-spacing:.12em;text-transform:uppercase;font-size:.7rem}.card img{width:100%;max-height:125px;object-fit:contain}.card span{font-size:.83rem;line-height:1.3}.card.guard small{color:#305575}button,input{font:inherit;border-radius:6px;padding:10px 16px}button{border:1px solid #827a69;color:inherit;background:#232c30;cursor:pointer}button:hover:enabled{border-color:#e1c899}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e9c688;outline-offset:3px}button:disabled{opacity:.5;cursor:default}.gold{background:#dfc28a;color:#261e16;border-color:#dfc28a;font-weight:650}input{display:block;width:100%;background:#151b20;color:#fff;border:1px solid #697373;margin:5px 0 12px}label{display:block}.form{max-width:380px}details{margin:16px 0}summary{cursor:pointer;color:#e3cfa6}.table{border-radius:30px;border:1px solid #7d7559;background:radial-gradient(ellipse at center,#344841,#1e302f 70%,#192626);padding:18px;box-shadow:inset 0 0 0 6px #192222,inset 0 0 0 7px #81735a55;text-align:center}.zone{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap}.back,.pile{border:3px double #b79f73;background:repeating-linear-gradient(45deg,#283336 0 8px,#2e383b 8px 9px);color:#d7bf91;border-radius:5px;display:grid;place-items:center}.back{width:24px;height:35px;margin-left:-13px}.pile{width:82px;height:92px;font:28px Georgia}.middle{display:flex;align-items:center;justify-content:space-around;gap:10px;padding:24px 0}.middle strong{font:clamp(1.2rem,3vw,2rem) Georgia}.hand{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:14px auto}.hand .card{width:clamp(105px,14vw,150px)}.card.selected{outline:3px solid #f5c971;transform:translateY(-4px)}.card:disabled{opacity:.9}.muted{color:#c5c5bd}dialog{max-width:min(480px,93vw);background:#20292a;color:#f1ecdf;border:1px solid #a59169;border-radius:14px;padding:24px}dialog::backdrop{background:#0009}.lobby{max-width:600px;margin:9vh auto}#notice{max-width:700px;margin:0 auto;text-align:center;color:#efd69e}.actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.status{min-height:24px}.history{text-align:left}.history li{margin-bottom:5px}@media(max-width:690px){.home{grid-template-columns:1fr;gap:0}.fan{height:185px;grid-row:1;transform:scale(.61);margin:0 0 22px}.home h1{font-size:4rem}.middle{padding:14px 0}.table{padding:12px}.hand{gap:5px}.hand .card{width:100px}.hand .card img{max-height:65px}}
