.game-picker { background:#24131f url('/assets/game_bg_gorgeous.jpg') center/cover }
.game-selection { width:min(88cqw,1100px); max-height:93cqh }
.game-selection h1 { font-size:clamp(19px,5.1cqh,39px); color:#fff1d8; margin:0 0 2.7cqh; letter-spacing:.09em }
.choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.8cqw }
.choice { position:relative; overflow:hidden; display:flex; flex-direction:column; text-decoration:none; color:#fff6e2; border:1px solid #d9b986; border-radius:clamp(11px,1.5cqw,20px); background:#35202e; box-shadow:0 9px 25px #19051070 }
.choice:hover,.choice:focus-visible { border-color:#fff0b9; outline:2px solid #fcd87b; outline-offset:2px }
.choice-picture { position:relative; display:block; height:clamp(64px,36cqh,300px); overflow:hidden }
.choice-mj .choice-picture { background:#f1ac6c url('/assets/mj-preview-plain.webp') center 47%/cover no-repeat }
.choice-poker .choice-picture { background:radial-gradient(ellipse at 50% 58%,#624254,#291626 86%) }
.choice-poker .choice-picture::before { content:''; position:absolute; inset:16% 3% 0; background:url('/assets/table_gorgeous.png') center/contain no-repeat }
.choice-poker .choice-picture::after { content:''; position:absolute; inset:0 37% 55%; background:url('/assets/dealer-cat.webp') center bottom/contain no-repeat }
.choice-knives .choice-picture {display:grid;place-items:center;background:radial-gradient(ellipse at 50% 35%,#356a81,#162b44 80%);isolation:isolate}
.knife-preview-hand {display:flex;align-items:center;justify-content:center;width:100%;height:100%;transform:rotate(-5deg)}
.knife-preview-hand .card {width:auto;height:53%;box-shadow:0 5px 9px #07142170;--face-x:100%;--face-y:0%}
.knife-preview-hand .card:nth-child(1) {transform:rotate(-12deg);--face-x:25%;--face-y:33.3333%}
.knife-preview-hand .card:nth-child(2) {margin-left:-10%;transform:rotate(-1deg);--face-x:33.3333%;--face-y:100%}
.knife-preview-hand .card:nth-child(3) {margin-left:3%;transform:rotate(1deg);--face-y:66.6667%}
.knife-preview-hand .card:nth-child(4) {margin-left:-10%;transform:rotate(12deg)}
.choice-text { display:grid; grid-template-columns:1fr auto; align-items:center; padding:2cqh 1.8cqw; border-top:1px solid #d8b77a44 }
.choice-text small { grid-column:1/-1; color:#e8cdaa; font-size:clamp(11px,2.5cqh,18px) }
.choice-text strong { font-size:clamp(17px,4.4cqh,35px) }
.choice-text span { font-size:clamp(11px,2.7cqh,19px); color:#ffdda5 }
@container (max-width:760px){.choice-text{grid-template-columns:1fr;gap:.25em}.choice-text span{font-size:11px}.choice-text small{font-size:11px}}
.back-games { color:#ffdda5; font-size:clamp(12px,2.6cqh,17px); text-decoration:none; white-space:nowrap }
.lobby-heading h1 { margin-right:auto }
.player-account {position:fixed;inset:0;overflow:auto;overscroll-behavior:contain;color-scheme:light;background:#f4f4ef;color:#182c25;font-family:"DM Sans","PingFang TC","Microsoft JhengHei",sans-serif;padding:env(safe-area-inset-top) max(14px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(14px,env(safe-area-inset-left));font-variant-numeric:tabular-nums}
.account-wrap {width:min(100%,680px);margin:0 auto;padding:16px 0 22px}
.account-nav,.account-head,.account-week summary {display:flex;align-items:center}
.account-nav {justify-content:space-between;border-bottom:1px solid #cdd6cc;padding:2px 0 12px;font-size:13px;letter-spacing:.05em}
.account-nav a,.player-account button {color:#245e47;font-weight:700}
.account-nav a {text-decoration:none;padding:5px 0}
.account-head {justify-content:space-between;padding:18px 2px 15px}
.account-head h1 {font-size:clamp(23px,4vw,31px);margin:0;line-height:1.25}
.account-head p {color:#475e53;font-size:14px;margin:4px 0 0}
.account-avatar {position:relative;width:43px;height:43px;flex:none;background:#d8e6d9;color:#325741;border-radius:50%;display:grid;place-items:center;font-size:18px;font-weight:700;overflow:hidden}
.account-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.account-week {margin-bottom:8px;border:1px solid #ccd6c9;background:#fffefa;border-radius:8px;overflow:hidden}
.account-week summary {gap:10px;padding:11px 14px;list-style:none;cursor:pointer;min-height:57px}
.account-week summary::-webkit-details-marker {display:none}
.account-week[open] summary {background:#edf2eb;border-bottom:1px solid #dce4d8}
.account-period,.account-due {display:grid;gap:2px}
.account-period {flex:1}
.account-period strong {font-size:16px}
.account-week small,.account-note,.account-count {font-size:12px;color:#4f6358}
.account-due {text-align:right}
.account-due b {font-size:18px}
.amount-credit {color:#0058a9}.amount-debit {color:#a72b28}
.account-caret {color:#466555}.account-week[open] .account-caret {transform:rotate(180deg)}
.account-detail {padding:8px 14px 12px}
.account-lines {border-collapse:collapse;width:100%;text-align:right;font-size:14px}
.account-lines :is(th,td) {padding:6px 2px;font-weight:500}
.account-lines tr>:first-child {text-align:left}
.account-lines thead th {font-size:12px;color:#425a4b}
.account-lines tbody tr:last-child {border-top:1px solid #d7ddcf}
.account-lines tbody tr:last-child>* {font-weight:700}
.account-fees {display:grid;grid-template-columns:1fr auto;gap:5px;margin:7px 0;padding:9px 2px;border-block:1px solid #e4e6db;font-size:13px}
.account-fees dd {margin:0;text-align:right;font-weight:650}
.account-note {margin:14px 2px 0;line-height:1.55}
.player-account button {border:1px solid #afc4b5;border-radius:4px;background:#fffefa;padding:4px 9px}
