.lobby-screen{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.lobby-screen .lobby-intro{margin-top:30px}.lobby-screen .wallet-card{margin-bottom:16px;border-radius:20px}.wallet-card #topup-btn{min-height:44px;font-size:14px}.home-services{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:12px;margin:0 0 14px}.home-service{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;min-height:140px;padding:18px;border:1px solid #d9bd7a33;border-radius:19px;background:linear-gradient(140deg,#294a37,#142b22);text-align:left}.home-service .service-symbol{display:grid;place-items:center;width:35px;height:35px;margin-bottom:6px;background:#ddc08014;border-radius:11px;color:#e4c88c;font:26px Georgia}.home-service strong{font-size:16px;font-weight:500;line-height:1.9;overflow-wrap:anywhere}.home-service small{font-size:13px;line-height:1.9;color:#a8b79f}.support-service{background:linear-gradient(130deg,#364735,#1a3028)}.request-history-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:49px;padding:10px 14px;margin-bottom:30px;border:1px solid #c9b87a25;border-radius:13px;background:#ffffff04;font-size:14px;line-height:1.8;text-align:left}.request-history-open>span:last-child{color:#d0ba82;font-size:13px;text-align:right}.home-version{display:flex;justify-content:space-between;gap:12px;padding:18px 0 0;margin-top:18px;border-top:1px solid #d1ba7a22;color:#8ca28e;font-size:12px;line-height:1.8}.home-version>span:first-child{letter-spacing:1.5px}.home-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px);padding:0;overflow:auto;border:1px solid #d8bd7d55;border-radius:25px;background:#122a21;color:#eee7d2;box-shadow:0 25px 80px #0007}.home-dialog::backdrop{background:#030e0bbb;backdrop-filter:blur(7px)}.home-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:24px 22px 19px;border-bottom:1px solid #d3bd7f22;background:linear-gradient(130deg,#244231,#142d23)}.home-kicker{font-size:11px;letter-spacing:1.7px;color:#c6b079}.home-dialog-header h2{font-size:23px;font-weight:500;line-height:1.9;margin:6px 0 0}.home-dialog-header>button{width:44px;height:44px;flex-shrink:0;border:1px solid #d9bd7a30;border-radius:13px;background:#0c211855;font-size:25px}.home-dialog-header p{font-size:13px;line-height:1.9;color:#b0c1aa;margin:5px 0 0}.home-dialog-body{padding:5px 22px 24px}.home-note{font-size:14px;color:#aebfa7;line-height:2;margin:18px 0}.home-dialog label{display:flex;justify-content:space-between;gap:9px;font-size:15px;line-height:1.9;margin:17px 0 8px}.home-dialog label small{font-size:12px;color:#91a98f}.home-dialog input,.home-dialog textarea{display:block;width:100%;min-height:50px;min-width:0;padding:12px 13px;border:1px solid #bdba8644;border-radius:12px;background:#0b2118;color:#eee7ce;font:16px/1.8 var(--font);resize:vertical}.home-dialog textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.home-dialog input::placeholder,.home-dialog textarea::placeholder{color:#7f9982;font-size:14px}.home-submit{width:100%;min-height:51px;margin-top:7px;border-radius:13px}.point-presets{display:flex;gap:8px;margin-top:10px}.point-presets button{flex:1;min-height:42px;border:1px solid #c8b57a33;border-radius:10px;background:#29432d;color:#e3c990;font-size:14px}.home-status{font-size:14px;color:#c2d8af;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.home-status:empty{display:none}.home-status.is-error{color:#f0b4a4}.home-text-button{display:block;margin:12px auto 0;padding:10px 16px;border:0;background:none;color:#c8bf9e;min-height:44px}.home-refresh{min-height:40px;padding:6px 12px;border:1px solid #bdad7333;border-radius:10px;background:#294332;color:#dfd3ac;font-size:13px}.home-dialog-body>.home-refresh{display:block;margin:15px 0 10px auto}.request-item{margin-top:13px;padding:16px;border:1px solid #c3b57c30;border-radius:16px;background:#0c231a}.request-item-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.request-item-header strong{font-size:15px;font-weight:500;line-height:1.9}.request-badge{padding:4px 9px;border-radius:8px;background:#ddc08015;color:#e2c88b;font-size:12px;line-height:1.8;white-space:nowrap}.request-badge.approved{background:#9dc58b19;color:#b1d6a1}.request-badge.rejected{background:#d8958417;color:#e4a996}.request-badge.cancelled{background:#a1aaa115;color:#acb9a8}.request-item>b{display:block;margin:12px 0 4px;color:#e8d095;font-size:24px;font-weight:500}.request-item>small{font-size:12px;color:#8ea48e}.request-note,.request-reply{font-size:14px;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap;margin:12px 0 0}.request-note{color:#b7c5ae}.request-reply{padding:11px;background:#ddc0800b;border-radius:9px;color:#e0cda0}.request-cancel{margin-top:14px;min-height:40px;padding:7px 12px;border:1px solid #c4b27d30;border-radius:9px;background:transparent;color:#afbea6;font-size:13px}.support-dialog[open]{display:flex;flex-direction:column;height:min(700px,calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px));overflow:hidden}.support-dialog .home-dialog-header{flex:none}.support-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;font-size:12px;color:#9fb299;flex:none}.support-messages{flex:1;min-height:60px;overflow:auto;padding:8px 18px 18px;overscroll-behavior:contain}.support-message{max-width:90%;width:fit-content;margin:10px 0;padding:12px 14px;border:1px solid #d6bc7b22;background:#24432e;border-radius:16px 16px 16px 4px;overflow-wrap:anywhere}.support-message.player{margin-left:auto;background:#384932;border-radius:16px 16px 4px 16px}.support-message p{margin:0;font-size:15px;line-height:1.95;white-space:pre-wrap}.support-message small{display:block;margin-top:7px;color:#a7b49a;font-size:11px;line-height:1.7}.support-empty{margin:14px 8px;font-size:14px;line-height:2;color:#99b196}.support-compose{padding:10px 16px 16px;border-top:1px solid #c6b47725;flex:none;background:#10271e}.support-compose form{display:flex;align-items:flex-end;gap:9px}.support-compose textarea{resize:none;max-height:120px}.support-compose button{min-height:53px;padding:10px 17px;border-radius:13px;white-space:nowrap}.support-compose>small{display:block;margin-top:9px;font-size:11px;color:#8ba185;line-height:1.8}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){.home-services{gap:9px;grid-template-columns:1fr 1fr}.home-service{min-height:128px;padding:15px}.support-service{grid-column:1/-1;display:grid;grid-template-columns:38px 1fr;column-gap:12px;min-height:90px;align-content:center}.support-service .service-symbol{grid-row:1/3;align-self:center;margin:0}.support-service strong,.support-service small{grid-column:2}.lobby-screen .lobby-intro{margin-top:25px}.lobby-screen .wallet-card{padding:18px;gap:10px}.wallet-card strong{font-size:27px}.wallet-card>span{font-size:14px}.home-dialog-header{padding:19px 17px 16px}.home-dialog-body{padding:4px 17px 20px}.home-dialog-header h2{font-size:21px}.home-version{font-size:11px}.request-history-open{margin-bottom:25px}.request-item{padding:13px}.request-badge{font-size:11px}.request-item-header strong{font-size:14px}}
.support-contacts{flex:none;margin:0 16px;border-bottom:1px solid #c7b67b25}.support-contacts summary{cursor:pointer;padding:12px 2px;color:#d7c28d;font-size:14px;line-height:1.9}.support-contact-body{max-height:190px;overflow:auto;padding:0 0 9px;overscroll-behavior:contain}.support-contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #c7b67b18}.support-contact-row>span{min-width:0}.support-contact-row small{display:block;font-size:12px;line-height:1.8;color:#9ab295}.support-contact-row strong{display:block;font:500 16px/1.8 system-ui;overflow-wrap:anywhere;color:#e6d6a6}.support-contact-row button{flex-shrink:0;min-height:42px;padding:7px 12px;border:1px solid #c7b67b33;border-radius:10px;background:#2c4631;color:#e1d2a5;font-size:14px}.support-contact-body .home-note{font-size:13px;margin:5px 0}.support-contact-body .home-status{font-size:12px;margin:7px 0}
.support-dialog:has(.support-contacts[open]) .home-dialog-header p,.support-dialog:has(.support-contacts[open]) .home-kicker,.support-dialog:has(.support-contacts[open]) .support-compose>small{display:none}.support-contact-body{max-height:min(190px,max(72px,calc(100dvh - 480px)))}
@media(max-height:500px) and (min-width:600px){.support-dialog[open]{display:grid;width:min(760px,calc(100% - 24px));grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto auto minmax(60px,1fr) auto}.support-dialog .home-dialog-header{grid-column:1/-1;padding:10px 16px;align-items:center}.support-dialog .home-dialog-header h2{font-size:20px;margin:0}.support-dialog .home-dialog-header p,.support-dialog .home-kicker{display:none}.support-dialog .support-contacts{grid-column:1;grid-row:2/5;margin:0 0 0 16px;padding-right:14px;border-right:1px solid #c7b67b25;border-bottom:0;min-height:0;overflow:auto}.support-contact-body{max-height:calc(100dvh - 150px)}.support-dialog .support-topline{grid-column:2;grid-row:2;padding:7px 14px}.support-dialog .support-messages{grid-column:2;grid-row:3;padding:5px 14px 10px}.support-dialog .support-compose{grid-column:2;grid-row:4;padding:8px 14px 12px}.support-dialog .support-compose textarea{height:62px}.support-dialog .support-compose>small{display:none}.support-dialog .home-status{margin:5px 0}}
.support-contact-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px}.support-contact-row>span{display:contents}.support-contact-row small{grid-column:1;grid-row:1;align-self:center}.support-contact-row strong{grid-column:1/-1;grid-row:2;white-space:nowrap;overflow-wrap:normal}.support-contact-row button{grid-column:2;grid-row:1;min-height:34px;padding:4px 10px;font-size:13px}
.requests-tools{display:flex;align-items:center;gap:10px;margin:16px 0}.requests-tools select{flex:1;min-width:0;min-height:44px;padding:8px 32px 8px 11px;border:1px solid #bdae783f;border-radius:11px;background:#0b2118 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23dcc384' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;color:#e5d2a3;appearance:none;font:14px/1.8 var(--font)}.requests-tools .home-refresh{flex:none;min-height:44px}.request-badge{display:inline-flex;flex-direction:column;align-items:flex-start;font-size:13px}.request-badge>small{font-size:11px;line-height:1.8}

/* Six tables form three rows on phones and two rows on wider screens. */
.home-screen .room-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-screen .room-card .room-enter>span{font:15px/1 system-ui;color:#dbc58e}
@media(min-width:800px){.home-screen .room-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
