/* Cas Inu identity: a restrained gaming interface, with the dealer as its host. */
:root{--bg:#101216;--side:#171a20;--surface:#1e222a;--raised:#252b34;--line:#2a3039;--text:#f4f6f8;--muted:#a8b0bd;--accent:#ff955c;--dark:#25170f;--radius:8px;color-scheme:dark}
body{font-family:Manrope,sans-serif;color:var(--text);font-size:14px;line-height:1.5;background:var(--bg);-webkit-font-smoothing:antialiased}
::selection{background:#ff955c;color:#171a20}
button,input,select{font-family:inherit}
a,button,input,select{transition:color 140ms,background-color 140ms,border-color 140ms,box-shadow 140ms,transform 160ms}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a8c1ff;outline-offset:3px}
.button,.button.small,.wallet-button{min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:6px;background:var(--accent);color:#25170f;font-size:12px;line-height:1.4;font-weight:800;box-shadow:none}
.button:hover{background:#ffab7d;box-shadow:none}
.button.secondary{background:#303640;border-color:#363f4b;color:#f4f6f8}
.button.secondary:hover{background:#3a4350}
.button.ghost{background:transparent;border-color:#414a57;color:#e3e7ef}
.button.danger{background:#42282b;border-color:#714148;color:#ffc6ce}
.button:disabled{opacity:.5;box-shadow:none}
.text-button{min-height:44px;font-size:12px;font-weight:650;gap:7px;color:#c1c8d2;line-height:1.5}
.text-button:hover{color:#fff}
.highlight{color:#ffb186}
.icon-button{width:44px;height:44px;border-radius:6px;flex-shrink:0;color:#b8c1ce}
.wordmark{gap:9px;font-size:25px;letter-spacing:-1.1px;white-space:nowrap;margin:0 0 28px}
.wordmark img{width:40px;height:40px;object-fit:contain;flex:none;filter:none}
.wordmark b,.mobile-brand b,.footer-brand b{color:var(--accent)}
.wordmark small{display:none}
.mobile-brand{display:none;align-items:center;font-size:18px;letter-spacing:-.7px;font-weight:800;white-space:nowrap;gap:5px}
.mobile-brand img{width:29px;height:29px;object-fit:contain}
.brand-token img{width:100%;height:100%;object-fit:contain}
.token-circle.brand-token{padding:0;background:transparent;border:0}
.footer-brand{display:inline-flex;align-items:center;gap:5px;font-size:18px;font-weight:800;letter-spacing:-.5px}
.footer-brand img{width:32px;height:32px;object-fit:contain}
.footer-brand b{margin-left:-3px}
.brand-token{display:inline-grid;place-items:center;background:transparent;border:0;flex-shrink:0}
.brand-token>img{width:100%;height:100%;object-fit:contain}
.token-pill .token-circle img{width:100%;height:100%}
.loading-state{min-height:calc(100vh - 150px)}
.loading-state img{width:46px;height:46px}
.loading-state p{font-size:13px;color:var(--muted)}
.content-panel,.session-panel,.room-list{background:#191d24;border:1px solid var(--line);border-radius:8px;box-shadow:none}
.content-panel{padding:26px;margin-bottom:22px}
.content-panel h2{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.4px;margin-bottom:16px}
.content-panel p,.rule-list{font-size:13px;line-height:1.85;color:#b9c1cd}
.content-panel a{color:#ffad7a}
.page-heading{margin:5px 0 26px;gap:20px}
.page-heading h1{font-family:Manrope,sans-serif;font-size:30px;line-height:1.2;letter-spacing:-.9px}
.page-heading p{font-size:13px;line-height:1.8;max-width:65ch;color:var(--muted)}
.notice,.cooldown-banner{background:#24272a;border:1px solid #3d434c;color:#c7ced8;border-radius:6px;font-size:12px;line-height:1.7;padding:14px 16px}
.status-pill{font-size:10px;padding:5px 7px;border-radius:4px}
.status-pill.pending{background:#302b23;color:#e0c19b}
.token-table{font-size:13px}
.token-table th{font-size:10px;color:var(--muted);padding:15px 12px}
.token-table td{font-size:13px;padding:19px 12px}
.token-roadmap small{font-size:12px;line-height:1.7;color:var(--muted)}
.fee-example{border-radius:6px;background:#232830;padding:20px;gap:20px}
.fee-example strong{font-size:24px;font-variant-numeric:tabular-nums}
.fee-example small{font-size:12px}
.setting-row strong{font-size:14px}.setting-row p{font-size:12px;color:var(--muted)}
.history-row{padding:18px 0;font-size:12px}.history-row strong{font-size:13px}.history-row small{font-size:11px}
dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;background:#1a1e25;border:1px solid #3a414d;border-radius:12px;color:var(--text);box-shadow:0 25px 90px #0008}
dialog::backdrop{background:#090b10c7;backdrop-filter:none}
.modal-head{padding:24px 24px 0;gap:16px}.modal-head h2{font-family:Manrope,sans-serif;font-size:25px;line-height:1.25;letter-spacing:-.5px;margin-bottom:8px}.modal-head p{font-size:13px;line-height:1.65;color:#b0bac8}.modal-body{padding:20px 24px 24px}
.modal-label{font-size:10px;letter-spacing:.8px;color:var(--muted)}
.modal-game-head{gap:13px}.modal-game-head .game-emoji{width:44px;height:44px;border-radius:7px}
.field{margin:18px 0}.field>span{font-size:12px;margin-bottom:8px;color:#d1d7e0}.field-row{gap:16px}
.field input,.field select,.proof-input{height:46px;border:1px solid #3a4350;border-radius:6px;background:#12161c;color:#f3f5f8;font-size:14px;padding:11px 12px}
.field input:focus,.field select:focus{border-color:#a8c1ff;outline:2px solid #a8c1ff;outline-offset:1px}.field small{font-size:11px;line-height:1.65;color:#aeb8c6;margin-top:7px}
.summary-box{padding:15px 17px;margin:20px 0;border:1px solid #37404c;border-radius:7px;background:#242b34}
.summary-row{font-size:12px;gap:14px;padding:8px 0;color:#bbc5d3}.summary-row b{max-width:65%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#f1f4f9}.summary-row.total{border-color:#414c5a;margin-top:10px;padding-top:15px;font-size:15px;color:#f1f4f9}
.check-label{font-size:12px;line-height:1.7;gap:10px;margin:17px 0}.check-label input{width:17px;height:17px;margin-top:3px;flex-shrink:0}
.game-options{padding:18px;border:1px solid #37414e;border-radius:8px;background:#151a21}.game-instructions p{font-size:13px;line-height:1.7;color:#bdc6d2;margin:10px 0 17px}.game-options .field small,.sealed-note,.pick-hint{font-size:11px;line-height:1.7;color:#aeb9c9}.sealed-note{border-color:#313c49}
.pick-heading{font-size:12px}.pick-grid{gap:7px}.pick-cell{min-height:44px;border-radius:6px;background:#2a323e;border-color:#414c5c;font-size:13px}.pick-cell.selected{background:#69442f;border-color:#ffad7a}.pick-cell small{font-size:10px}
.choice-option span{min-height:46px;padding:12px 7px;background:#242c37;border-color:#404b5a;border-radius:6px;font-size:12px}.choice-option input:checked+span{background:#503525;border-color:#dd9365;color:#ffdbc3}
.wallet-option{min-height:58px;padding:16px;border:1px solid #3d4857;background:#242b35;border-radius:7px;font-size:13px}.wallet-option:hover{background:#2d3845}.empty-wallet{padding:23px;background:#232a33;border:0;border-radius:8px}.empty-wallet h3{font-size:17px}.empty-wallet p{font-size:13px;line-height:1.8;color:#bac4d1}.install-links{gap:17px;font-size:13px}.install-links a{display:inline-flex;align-items:center;min-height:44px}
.player-line{background:#242c36;border-color:#354150;border-radius:7px;padding:13px;font-size:12px;gap:12px}.player-line strong{font-size:13px;overflow-wrap:anywhere}.player-line small{font-size:11px}
.proof-hash,.proof-hash.small{background:#111820;border-color:#323f50;border-radius:6px;font-size:11px;padding:13px;line-height:1.8}.proof-row>span{font-size:12px}.room-status{font-size:12px;line-height:1.6}.caption{font-size:12px;line-height:1.65;color:var(--muted)}
.result-banner{background:#233c32;border-color:#365647;border-radius:8px;padding:25px 18px}.result-banner h3{font-size:27px}.result-banner p{font-size:13px}.duel-player{background:#202934;border-color:#38475a;border-radius:7px;animation:none}.duel-player-heading,.duel-player-heading span{font-size:11px}.duel-score strong{font-size:30px}.duel-score>span{font-size:11px}.ball-results small,.flight-results small{font-size:11px}
.toast{background:#28313d;border:1px solid #425168;border-radius:8px;padding:14px 18px;font-size:13px}.form-error,.verify-success{font-size:12px;line-height:1.7}
@media(max-width:599px){.mobile-brand{display:inline-flex}.field input,.field select,.proof-input,.game-options .field input,.game-options .field select{font-size:16px}.modal-head{padding:21px 19px 0}.modal-body{padding:18px 19px 22px}.modal-head h2{font-size:23px}.field-row{gap:12px}.game-options{padding:15px}.keno-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.duel-result-grid{grid-template-columns:1fr}.player-line{flex-wrap:wrap}.content-panel{padding:22px 18px}.info-grid,.token-roadmap{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:27px}.fee-example{flex-wrap:wrap;gap:13px}.setting-row{flex-wrap:wrap;gap:14px;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){button,a,input,select{transition:none}button:active:not(:disabled){transform:none}.duel-player{animation:none}}
