/* 雅集会客厅 · isolated component surfaces; lobby composition follows below. */
.salon-only{display:none}
html[data-ui-theme="salon"]{--salon-ink:#214e43;--salon-paper:#f4f1e9;--salon-muted:#627467;--salon-gold:#be684b;--salon-border:#ebe9de;--salon-navy:#2c5849;color-scheme:light}
html[data-ui-theme="salon"] body{font-family:"Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:#f4f1e9;color:var(--salon-ink);}
html[data-ui-theme="salon"] button{font-family:inherit;text-shadow:none}
html[data-ui-theme="salon"] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #be684b;outline-offset:3px}
html[data-ui-theme="salon"] button:disabled{opacity:.45;cursor:not-allowed}
html[data-ui-theme="salon"] .matching-layer{inset:var(--lobby-header-h) 0 0;background:#f4f1e9f5;color:#2c5849;}
html[data-ui-theme="salon"] .matching-table{background:#2c5849;border-color:#627467;box-shadow:inset 0 0 70px #173c3366;}
html[data-ui-theme="salon"] dialog{border:1px solid #ebe9de;border-radius:12px;background:#fffefb;color:#2c5849;box-shadow:0 24px 80px #173c3340;}
html[data-ui-theme="salon"] dialog::backdrop{background:#173c33a8;backdrop-filter:blur(4px);}
html[data-ui-theme="salon"] dialog :is(h1,h2,h3,h4){color:#214e43;text-shadow:none;font-family:inherit;}
html[data-ui-theme="salon"] :is(dialog,.auth-card) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:#fffefb;color:#2c5849;border:1px solid #ebe9de;border-radius:6px;box-shadow:none;}
html[data-ui-theme="salon"] input::placeholder,html[data-ui-theme="salon"] textarea::placeholder{color:#627467}
html[data-ui-theme="salon"] input:is([type="checkbox"],[type="radio"]){accent-color:#2c5849}
html[data-ui-theme="salon"] :is(dialog,.auth-card) :is(.muted,.dialog-kicker,.friend-kicker,.field-title,small){color:#627467}
html[data-ui-theme="salon"] :is(dialog,.auth-card) button{border-color:#ebe9de;border-radius:6px;background:#f4f1e9;color:#2c5849;box-shadow:none;text-shadow:none;}
html[data-ui-theme="salon"] :is(dialog,.auth-card) :is(.primary,.profile-save,.club-submit,button[type="submit"],.event-register,.big){border-color:#2c5849;background:#2c5849;color:#fffefb;}
html[data-ui-theme="salon"] dialog .close{border-radius:50%;background:#ebe9de;color:#476454}
html[data-ui-theme="salon"] :is(.profile-section,.profile-heading,.password-section,.user-card-dialog,.rule-grid>section){border-color:#d8ddce;background:transparent;color:#2c5849}
html[data-ui-theme="salon"] :is(.avatar-choice.selected,.recharge-packages button.selected,.recharge-channels button.selected){border-color:#476454;background:#ebe9de;color:#214e43;box-shadow:0 0 0 1px #476454}
html[data-ui-theme="salon"] :is(.friend-seat,.friend-seat-list>button){background:#ebe9de;border-color:#bcc8b4;color:#2c5849}
html[data-ui-theme="salon"] .friend-room-rules-summary{background:#ebe9de;color:#476454;border-color:#d8ddce}
html[data-ui-theme="salon"] #friendCreateForm :is(fieldset,legend){border-color:#d8ddce;color:#2c5849}
html[data-ui-theme="salon"] #friendCreateForm label span{background:#ebe9de;border-color:#bcc8b4;color:#476454;box-shadow:none}
html[data-ui-theme="salon"] #friendCreateForm input:checked+span{background:#2c5849;border-color:#2c5849;color:#f0dfcb}
html[data-ui-theme="salon"] :is(.settings-dialog label,.rule-grid,.pwa-install-dialog){color:#2c5849}
html[data-ui-theme="salon"] :is(.lobby-info-dialog,.recharge-dialog) :is(p,li,label){color:#476454}
html[data-ui-theme="salon"] :is(.order-row,.asset-exchange,.invite-user){background:#ebe9de;color:#2c5849;border-color:#bcc8b4}
html[data-ui-theme="salon"] :is(.auth-error,.profile-feedback.error){color:#b04734}
html[data-ui-theme="salon"] .auth-card{background:#fffefb;border:1px solid #ebe9de;border-radius:12px;box-shadow:0 18px 55px #214e4310;color:#2c5849;justify-self:center;width:390px;padding:32px;}
html[data-ui-theme="salon"] .auth-tabs{border-color:#ebe9de;}
html[data-ui-theme="salon"] .auth-tabs button{border-radius:0;background:transparent;color:#8a9d89;border-color:transparent;}
html[data-ui-theme="salon"] .auth-tabs button.active{background:transparent;color:#2c5849;border-bottom-color:#2c5849;}
html[data-ui-theme="salon"] :is(.auth-form label,.auth-agree,.auth-tip,.auth-form legend){color:#627467;}
html[data-ui-theme="salon"] .auth-form fieldset{border-color:#d8ddce}
html[data-ui-theme="salon"] .loading-screen{background:#173c33}
html[data-ui-theme="salon"] .loading-card{box-shadow:none;border-color:#be684b44;background:#173c33}
html[data-ui-theme="salon"] :is(.friend-room-setup,.leaderboard-page,.club-dialog.club-embedded,.platform-event-dialog.event-embedded){background:#f4f1e9;color:#476454;box-shadow:none;}
html[data-ui-theme="salon"] :is(.friend-lobby-top>section,.friend-lobby-bottom>section,.friend-quick-links>button,.club-home-dashboard>section,.club-home-quick>button,.ranking-table-card,.ranking-personal-card,.ranking-reward-card,.ranking-rise-card,.platform-event-card){background:#fffefb;border:1px solid #ebe9de;border-radius:9px;box-shadow:none;backdrop-filter:none;}
html[data-ui-theme="salon"] :is(.friend-lobby-top>section,.friend-lobby-bottom>section,.friend-quick-links>button,.club-home-dashboard>section,.platform-event-card)::before{display:none}
html[data-ui-theme="salon"] :is(.friend-room-setup,.leaderboard-page,.club-embedded,.event-embedded) :is(h2,h3,h4){color:#2c5849;text-shadow:none;font-family:inherit;font-weight:500;}
html[data-ui-theme="salon"] :is(.friend-room-setup,.leaderboard-page,.club-embedded,.event-embedded) :is(.gold-action,.friend-rules-preview button,.event-card-action,.club-primary-action){border:1px solid #2c5849;border-radius:6px;background:#2c5849;color:#fffefb;box-shadow:none;text-shadow:none;}
html[data-ui-theme="salon"] :is(.friend-room-setup,.leaderboard-page,.club-embedded,.event-embedded) :is(.friend-link-copy small,.event-hero p,.event-policy,.club-policy){color:#8a9d89;}
html[data-ui-theme="salon"] :is(.friend-mode-picker,.friend-wild-picker,.friend-base-picker,.friend-code-entry,.friend-keypad-btn){border-color:#ebe9de;border-radius:6px;background:#fffefb;box-shadow:none;color:#476454;}
html[data-ui-theme="salon"] :is(.friend-mode-picker,.friend-wild-picker) button.active{border-radius:4px;background:#ebe9de;color:#2c5849;box-shadow:none;}
html[data-ui-theme="salon"] .friend-code-slots span{border-color:#ebe9de;color:#476454;}
html[data-ui-theme="salon"] .friend-number-pad{background:#ebe9de;border:1px solid #8a9d89;border-radius:8px;box-shadow:0 10px 25px #00000066}
html[data-ui-theme="salon"] .friend-number-pad button{background:#d8ddce;color:#2c5849;border:1px solid #bcc8b4;border-radius:5px}
html[data-ui-theme="salon"] :is(.friend-lobby-top,.friend-quick-links) img{filter:none;}
html[data-ui-theme="salon"] :is(.event-hero,.ranking-heading,.club-home-heading){background:none;border-color:#8a9d8933;box-shadow:none}
html[data-ui-theme="salon"] :is(.ranking-heading img,.event-hero-icon){filter:none;}
html[data-ui-theme="salon"] :is(.ranking-row,.ranking-table-head){border-color:#8a9d8926}
html[data-ui-theme="salon"] .ranking-row:nth-child(even){background:#bcc8b406}
html[data-ui-theme="salon"] :is(.club-card,.club-room-row,.club-member,.club-event-card,.club-summary,.club-waiting,.club-announcement,.club-dashboard){border-color:#bcc8b4;background:#ebe9de;color:#2c5849;box-shadow:none}
html[data-ui-theme="salon"] .club-embedded :is(.club-card,.club-summary,.club-home-dashboard){background:#fffefb;color:#476454;border-color:#ebe9de;}
html[data-ui-theme="salon"] .club-embedded :is(.club-card h3,.club-summary h3){color:#2c5849;}
html[data-ui-theme="salon"] .game-shell{background:#214e43;border-color:#47645422;border-radius:0;}
html[data-ui-theme="salon"] .table{background-image:radial-gradient(ellipse at 50% 35%,#2c5849,#214e43 68%,#214e43);background-position:center;background-size:cover;background-color:#214e43;}
html[data-ui-theme="salon"] .felt-glow{opacity:.14;}
html[data-ui-theme="salon"] .game-toolbar button{border:1px solid #bcc8b435;border-radius:6px;background:#214e43bb;color:#ebe9de;box-shadow:none;}
html[data-ui-theme="salon"] .score-panel{border-color:#bcc8b440;border-radius:8px;background:#214e43ce;box-shadow:none;}
html[data-ui-theme="salon"] .score-panel .team.red{color:#f0dfcb}
html[data-ui-theme="salon"] .score-panel .team.blue{color:#bcc8b4}
html[data-ui-theme="salon"] .score-panel p{background:#bcc8b416;color:#bcc8b4;border-color:#bcc8b422}
html[data-ui-theme="salon"] .player .avatar{border-color:#be684b;box-shadow:0 4px 14px #00000055}
html[data-ui-theme="salon"] .player.active .avatar{box-shadow:0 0 0 3px #be684b88,0 0 16px #8a9d8944}
html[data-ui-theme="salon"] .player .player-meta{color:#d8ddce}
html[data-ui-theme="salon"] :is(.player .count,.player .partner-tag,.finish-badge){background:#173c33cc;border-color:#8a9d8977;color:#f0dfcb;box-shadow:none}
html[data-ui-theme="salon"] .actions button{border:1px solid #bcc8b480;border-radius:7px;box-shadow:0 3px 7px #00000022;font-weight:500}
html[data-ui-theme="salon"] .actions .secondary{background:#ebe9de;color:#2c5849;}
html[data-ui-theme="salon"] .actions .primary{background:#be684b;color:#214e43;border-color:#f0dfcb;}
html[data-ui-theme="salon"] .table.stacked-hand .actions{margin-bottom:6px}
html[data-ui-theme="salon"] :is(.side-tools button,.hand-tools button){border:1px solid #8a9d8955;border-radius:6px;background:#173c33cc;color:#d8ddce;box-shadow:none}
html[data-ui-theme="salon"] .side-tools button.active{background:#be684b;color:#214e43}
html[data-ui-theme="salon"] .hand-tools{background:#173c3388;border-color:#bcc8b444;border-radius:8px}
html[data-ui-theme="salon"] :is(.record-panel,.quick-chat-panel,.emoji-panel){border:1px solid #8a9d89;border-radius:10px;background:#ebe9de;color:#2c5849;box-shadow:0 10px 35px #00000044}
html[data-ui-theme="salon"] :is(.record-panel,.quick-chat-panel,.emoji-panel) :is(button,.record-head,.record-tabs){background:#d8ddce;color:#2c5849;border-color:#bcc8b4}
html[data-ui-theme="salon"] .record-tabs button.active{background:#2c5849;color:#f0dfcb}
html[data-ui-theme="salon"] .result-hero{background:#2c5849;color:#f4f1e9;}
html[data-ui-theme="salon"] .result-hero h2{color:#f0dfcb}
html[data-ui-theme="salon"] .result-crown{border-color:#be684b;background:#be684b26;color:#f0dfcb;box-shadow:none}
html[data-ui-theme="salon"] #resultDialog[data-outcome="loss"] .result-hero{background:#2c5849}
html[data-ui-theme="salon"] #resultDialog[data-outcome="loss"] .result-crown{color:#d8ddce;border-color:#8a9d89}
html[data-ui-theme="salon"] :is(.result-player,.result-table-head){background:#ebe9de;border-color:#bcc8b4;color:#2c5849}
html[data-ui-theme="salon"] .result-player.winner{background:#d8ddce;border-color:#be684b}
html[data-ui-theme="salon"] .result-player.mine{box-shadow:inset 3px 0 #be684b}
html[data-ui-theme="salon"] .result-player :is(b,strong){color:#214e43}
html[data-ui-theme="salon"] .result-player .gain{color:#874a35}
html[data-ui-theme="salon"] .result-player .loss{color:#476454}
html[data-ui-theme="salon"] .result-actions{background:#f4f1e9;border-color:#ebe9de;}
html[data-ui-theme="salon"] :is(.site-header,.club-lobby>header){background:#173c33;border-bottom:1px solid #bcc8b42f;color:#d8ddce}
html[data-ui-theme="salon"] :is(.site-header,.club-lobby>header) :is(b,a,button){color:#f0dfcb}
html[data-ui-theme="salon"] .club-lobby{background:#173c33;color:#f0dfcb}
html[data-ui-theme="salon"] :is(.club-lobby .hero,.hero:has(#clubName)){background:linear-gradient(110deg,#2c5849b0,#173c33eb),url("assets/table-felt-v1.png") center/cover;border-color:#8a9d8944;border-radius:12px;box-shadow:none}
html[data-ui-theme="salon"] .club-nav{background:#173c33;border-color:#8a9d8933}
html[data-ui-theme="salon"] .club-nav button{color:#bcc8b4;border-radius:6px}
html[data-ui-theme="salon"] .club-nav button.active{background:#8a9d8920;color:#f0dfcb;border-color:#bcc8b455}
html[data-ui-theme="salon"] .club-lobby .modes>button{background:#ebe9de;border:1px solid #bcc8b4;border-radius:9px;box-shadow:none;color:#2c5849;text-shadow:none}
html[data-ui-theme="salon"] .club-lobby .modes>button.selected{background:#f0dfcb;border-color:#be684b;box-shadow:inset 0 -3px #be684b}
html[data-ui-theme="salon"] .club-lobby .modes>button :is(b,i){color:#2c5849;text-shadow:none}
html[data-ui-theme="salon"] .club-lobby .modes>button :is(small,em){color:#476454;text-shadow:none}
html[data-ui-theme="salon"] .club-lobby :is(.match-actions,.mode-head,.event-page-head){border-color:#bcc8b438;color:#d8ddce}
html[data-ui-theme="salon"] .club-lobby .match-actions button{border:1px solid #8a9d8955;border-radius:6px;background:#214e43;box-shadow:none;color:#d8ddce}
html[data-ui-theme="salon"] .club-lobby .match-actions button.gold{background:#be684b;color:#214e43;border-color:#be684b}
html[data-ui-theme="salon"] .site-header~main :is(.panel,.metrics>article,.announcement){border:1px solid #bcc8b4;border-radius:10px;background:#ebe9de;color:#2c5849;box-shadow:none}
html[data-ui-theme="salon"] .site-header~main :is(.panel,.metrics>article,.announcement) :is(h2,h3,strong,b){color:#214e43}
html[data-ui-theme="salon"] .site-header~main :is(.panel,.metrics>article,.announcement) :is(p,span,small){color:#476454}
html[data-ui-theme="salon"] .site-header~main .hero :is(h1,h2){color:#f0dfcb;font-family:inherit}
html[data-ui-theme="salon"] .site-header~main .hero :is(p,small){color:#bcc8b4}
html[data-ui-theme="salon"] .site-header~main .hero button{background:#be684b;color:#214e43;border:1px solid #be684b;border-radius:6px;box-shadow:none}
html[data-ui-theme="salon"] .hand-tools #handMoreBtn{background:#2c5849;border-color:#627467;color:#ebe9de}
html[data-ui-theme="salon"] .hand-tools.menu-open #handToolMenu{background:#fffefb;color:#476454;border-color:#d8ddce}
html[data-ui-theme="salon"] .hand-tools select{background:#fffefb;color:#476454;border-color:#d8ddce}
html[data-ui-theme="salon"] .hand-tools button.red:enabled{color:#e79b92}
html[data-ui-theme="salon"] .hand-tools button[aria-pressed="true"]{background:#f0dfcb;color:#2c5849;border-color:#f0dfcb;box-shadow:0 0 0 1px #f0dfcb80}
html[data-ui-theme="salon"] .hand-tools button.red[aria-pressed="true"]{color:#9b514b}
html[data-ui-theme="salon"] .hand-tools button:disabled{background:#214e43;color:#bcc8b4;border-color:#62746755}
html[data-ui-theme="salon"] :is(#hintExplanation,.pass-label,.toast){background:#2c5849ec;color:#ebe9de;border-color:#8a9d8956;box-shadow:none}
html[data-ui-theme="salon"] #unableBtn{background:#ebe9de;color:#476454;border-color:#d8ddce;box-shadow:none}
html[data-ui-theme="salon"] .hand.stacked-cards .card-group[data-label]::after{background:#f0dfcbed;color:#874a35;border-color:#be684b}
html[data-ui-theme="salon"] .club-lobby{background:#f4f1e9;color:#476454}
html[data-ui-theme="salon"] :is(.site-header,.club-lobby>header){background:#fffefb;color:#476454;border-color:#ebe9de}
html[data-ui-theme="salon"] :is(.site-header,.club-lobby>header) :is(b,a,button,small){color:#476454}
html[data-ui-theme="salon"] .club-lobby :is(.club-wallet,.club-member-profile,.header-action){background:#f4f1e9;border-color:#ebe9de;border-radius:6px;box-shadow:none;color:#476454}
html[data-ui-theme="salon"] :is(#clubRechargeBtn,.brand-crest,#clubCrest){background:#ebe9de;color:#627467;border-color:#ebe9de;border-radius:7px;box-shadow:none}
html[data-ui-theme="salon"] .club-lobby .club-nav{background:#214e43}
html[data-ui-theme="salon"] .club-lobby .club-nav>div{background:#2c5849;border-color:#2c5849}
html[data-ui-theme="salon"] .club-lobby .hero{background:#2c5849;border:0}
html[data-ui-theme="salon"] .club-lobby .hero :is(h1,p,small,strong){color:#ebe9de;text-shadow:none}
html[data-ui-theme="salon"] .club-lobby :is(.mode-head,.event-page-head){color:#476454}
html[data-ui-theme="salon"] .club-lobby .modes>button{background:#fffefb;color:#476454;border-color:#ebe9de}
html[data-ui-theme="salon"] .club-lobby .modes>button.selected{background:#f4f1e9;border-color:#8a9d89;box-shadow:inset 3px 0 #627467}
html[data-ui-theme="salon"] .club-lobby .modes>button i{border-color:#bcc8b4;color:#627467}
html[data-ui-theme="salon"] .club-lobby .modes>button.selected::after{background:#ebe9de;color:#476454}
html[data-ui-theme="salon"] .club-lobby .match-actions{background:#fffefb;border-color:#ebe9de;color:#627467}
html[data-ui-theme="salon"] .club-lobby .match-actions b{color:#476454}
html[data-ui-theme="salon"] .club-lobby .match-actions button{background:#f4f1e9;border-color:#ebe9de;color:#476454}
html[data-ui-theme="salon"] .club-lobby .match-actions button.gold{background:#2c5849;color:#fffefb;border-color:#2c5849}
html[data-ui-theme="salon"] .club-lobby>footer{background:#214e43;color:#bcc8b4}
html[data-ui-theme="salon"] .club-lobby>footer :is(a,button){color:#d8ddce}
html[data-ui-theme="salon"] :is(dialog,.auth-card) button{border:1px solid #ebe9de}
html[data-ui-theme="salon"] #friendCreateForm fieldset{background:#fffefb;border-color:#ebe9de}
html[data-ui-theme="salon"] :is(.lobby-section-page,.event-embedded,.club-embedded)::before,
html[data-ui-theme="salon"] :is(.lobby-section-page,.event-embedded,.club-embedded)::after{display:none!important}
html[data-ui-theme="salon"] :is(.event-hero,.ranking-heading){background:#2c5849;border:0;border-radius:10px;box-shadow:none}
html[data-ui-theme="salon"] .event-hero{padding:24px 32px}
html[data-ui-theme="salon"] .event-hero>div{width:auto;text-align:left}
html[data-ui-theme="salon"] :is(.event-hero,.ranking-heading) :is(h2,p,small){background:none;-webkit-text-fill-color:currentColor;filter:none;color:#f4f1e9;font-family:inherit;text-shadow:none;letter-spacing:1px}
html[data-ui-theme="salon"] .event-hero h2{font-size:30px;font-weight:500}
html[data-ui-theme="salon"] .event-hero p{margin-top:12px;font-size:13px;font-weight:400;color:#d8ddce}
html[data-ui-theme="salon"] .event-hero::before{display:none}
html[data-ui-theme="salon"] .event-hero::after{content:"";display:block;left:auto;right:8%;top:50%;bottom:auto;width:72px;height:72px;transform:translateY(-50%);opacity:.8;background:url("assets/salon/icon-event.svg") center/contain no-repeat;filter:brightness(0) invert(1)}
html[data-ui-theme="salon"] :is(.event-hero-trophy,.ranking-heading>img,.ranking-aside-art,.podium-art){display:none}
html[data-ui-theme="salon"] .lobby-screen .platform-event-card::after{display:none}
html[data-ui-theme="salon"] .lobby-screen .platform-event-card h3{font-size:20px;color:#2c5849;font-weight:500}
html[data-ui-theme="salon"] .lobby-screen .platform-event-card :is(p,small,dd){font-size:12px;color:#627467}
html[data-ui-theme="salon"] .lobby-screen .event-card-icon{width:64px;height:64px;filter:none;margin:0 auto 20px}
html[data-ui-theme="salon"] .event-card-body dt img{filter:none}
html[data-ui-theme="salon"] .lobby-screen .event-status{background:#f4f1e9;color:#627467;border:1px solid #ebe9de;box-shadow:none;border-radius:5px;font-weight:400}
html[data-ui-theme="salon"] .lobby-screen :is(.event-card-action,.ranking-reward-card button){background:#2c5849!important;color:#fffefb!important;border:1px solid #2c5849;border-radius:6px;box-shadow:none!important;font-weight:400}
html[data-ui-theme="salon"] .lobby-screen .event-shortcuts button{background:#fffefb!important;border:1px solid #ebe9de;border-radius:8px;box-shadow:none}
html[data-ui-theme="salon"] .event-shortcuts :is(b,small){color:#627467;font-weight:400}
html[data-ui-theme="salon"] .event-shortcuts img{filter:none;width:30px;height:30px}
html[data-ui-theme="salon"] .event-shortcuts button{grid-template-columns:32px minmax(0,1fr);grid-template-rows:1fr 1fr;gap:5px 12px;padding:14px 18px;text-align:left}
html[data-ui-theme="salon"] .event-shortcuts img{grid-row:1/3;grid-column:1;align-self:center}
html[data-ui-theme="salon"] .event-shortcuts b{grid-column:2;grid-row:1;align-self:end}
html[data-ui-theme="salon"] .event-shortcuts small{grid-column:2;grid-row:2;align-self:start}
html[data-ui-theme="salon"] .event-shortcuts button::after{display:none}
html[data-ui-theme="salon"] .ranking-heading{justify-items:start;padding:12px 24px;text-align:left}
html[data-ui-theme="salon"] .ranking-heading h2{font-size:24px;font-weight:500;letter-spacing:1px}
html[data-ui-theme="salon"] .ranking-heading small{display:block;font-size:8px;color:#bcc8b4;letter-spacing:2px;margin-bottom:6px}
html[data-ui-theme="salon"] .ranking-aside{background:none;border:0}
html[data-ui-theme="salon"] .lobby-screen .ranking-aside>section{border-radius:9px;border:1px solid #ebe9de!important;overflow:hidden}
html[data-ui-theme="salon"] .lobby-screen .ranking-aside>section::before,html[data-ui-theme="salon"] .lobby-screen .ranking-aside>section::after{display:none}
html[data-ui-theme="salon"] .ranking-aside :is(b,small,p,h3){color:#627467}
html[data-ui-theme="salon"] .ranking-aside :is(strong,.ranking-rise-card>span){color:#476454}
html[data-ui-theme="salon"] .ranking-aside :is(.my-ranking-card>div,.ranking-reward-card>div span,.ranking-rise-card>div,.ranking-rise-card p){background:#f4f1e9;border:0;box-shadow:none;color:#627467}
html[data-ui-theme="salon"] .ranking-reward-card svg{width:28px;height:28px;filter:grayscale(1);opacity:.6}
html[data-ui-theme="salon"] .lobby-screen .ranking-reward-card>div span{background:#f4f1e9!important;border:1px solid #ebe9de!important;box-shadow:none}
html[data-ui-theme="salon"] .lobby-screen .ranking-reward-card>div small{color:#8a9d89!important}
html[data-ui-theme="salon"] .lobby-screen :is(.ranking-reward-card>p,#rankingRiseSummary){background:#f4f1e9;border-color:#ebe9de;color:#8a9d89}
html[data-ui-theme="salon"] .lobby-screen :is(.event-card-action,.ranking-reward-card button){border-color:#2c5849!important}
html[data-ui-theme="salon"] .ranking-podium{gap:14px;padding:12px 0 0}
html[data-ui-theme="salon"] .lobby-screen .podium-player{background:#fffefb;border:1px solid #ebe9de;border-radius:10px;box-shadow:none;height:90%}
html[data-ui-theme="salon"] .lobby-screen .podium-player.podium-1{height:100%;border-top:3px solid #be684b;background:#f0dfcb}
html[data-ui-theme="salon"] .podium-player::before,html[data-ui-theme="salon"] .podium-player::after{display:none}
html[data-ui-theme="salon"] .podium-player>i{top:6%;border:0;background:#f4f1e9;color:#627467;box-shadow:none;font-family:inherit}
html[data-ui-theme="salon"] .podium-player>i{display:grid!important;opacity:1}
html[data-ui-theme="salon"] .podium-player.podium-1>i{background:#f0dfcb;color:#be684b}
html[data-ui-theme="salon"] .podium-player .rank-player-avatar{border-color:#d8ddce;box-shadow:none;max-width:64px;top:24%}
html[data-ui-theme="salon"] .podium-player>b{color:#476454;font-family:inherit;font-weight:500;font-size:15px;top:62%}
html[data-ui-theme="salon"] .podium-player>span{color:#8a9d89;top:74%;font-size:10px}
html[data-ui-theme="salon"] .podium-player>strong{color:#627467;top:84%;font-family:inherit;font-size:14px}
html[data-ui-theme="salon"] .podium-player>strong{filter:none;text-shadow:none!important}
html[data-ui-theme="salon"] .lobby-screen .ranking-filters button{background:#f4f1e9!important;color:#627467!important;border:0;box-shadow:none!important;border-radius:5px}
html[data-ui-theme="salon"] .lobby-screen .ranking-filters button.active{background:#2c5849!important;color:#fffefb!important}
html[data-ui-theme="salon"] .lobby-screen .ranking-filters{border-color:#ebe9de}
html[data-ui-theme="salon"] .ranking-table-card::after{display:none}
html[data-ui-theme="salon"] :is(.club-empty,.event-empty,.club-list-head) :is(b,p,span){color:#627467;text-shadow:none}
html[data-ui-theme="salon"] .club-embedded .club-code-join form{height:46px;padding:5px 10px;background:#fffefb;border:1px solid #ebe9de;border-radius:8px;gap:12px}
html[data-ui-theme="salon"] .club-embedded .club-code-join label{white-space:nowrap;color:#627467}
html[data-ui-theme="salon"] .club-embedded :is(.club-code-join input,.club-create input,.club-create textarea){background:#fffefb;color:#2c5849;border:1px solid #ebe9de}
html[data-ui-theme="salon"] .club-embedded .club-code-join button{background:#2c5849;color:#fffefb;border:0;border-radius:5px;box-shadow:none}
html[data-ui-theme="salon"] .club-embedded .club-tabs button{box-shadow:none}
html[data-ui-theme="salon"] .club-embedded .club-tabs button.active{border-color:#2c5849}
html[data-ui-theme="salon"] .club-embedded .club-policy{background:#ebe9de;border:0;color:#627467;box-shadow:none}
html[data-ui-theme="salon"] .club-empty{margin:30px auto;padding:44px;max-width:480px;border:1px solid #ebe9de;border-radius:10px;background:#fffefb}
html[data-ui-theme="salon"] .friend-create-options{padding:0}
html[data-ui-theme="salon"] .lobby-screen :is(button,b,small,span,input,h2,h3){text-shadow:none!important}
html[data-ui-theme="salon"] :is(.onboarding-card,.onboarding-coach){background:#2c5849;border-color:#476454;border-radius:10px;box-shadow:none;color:#ebe9de}
html[data-ui-theme="salon"] :is(.onboarding-card,.onboarding-coach) :is(h1,b){color:#f4f1e9}
html[data-ui-theme="salon"] :is(.onboarding-card,.onboarding-coach) :is(p,ol,small){color:#d8ddce}
html[data-ui-theme="salon"] :is(.onboarding-card,.onboarding-coach)>button{background:#ebe9de;color:#2c5849;border:1px solid #d8ddce;border-radius:6px;box-shadow:none}
html[data-ui-theme="salon"] .lobby-screen .friend-lobby-page{background:transparent!important;border:0;box-shadow:none;padding:0}
html[data-ui-theme="salon"] .friend-lobby-page::before,html[data-ui-theme="salon"] .friend-lobby-page::after{display:none}
html[data-ui-theme="salon"] .lobby-screen :is(.gold-action,.friend-rules-preview button){color:#fffefb!important;border-color:#2c5849!important;box-shadow:none!important;font-weight:500}
html[data-ui-theme="salon"] .friend-code-slots{background:#fffefb;border-color:#ebe9de;box-shadow:none}
html[data-ui-theme="salon"] .friend-code-entry:focus-within .friend-code-slots{border-color:#627467;box-shadow:0 0 0 2px #6274671c}
html[data-ui-theme="salon"] .friend-code-slots span{font-family:inherit;text-shadow:none;color:#bcc8b4}
html[data-ui-theme="salon"] .friend-code-slots span.filled{color:#2c5849}
html[data-ui-theme="salon"] .friend-lobby-page :is(.friend-rules-preview ul,.friend-rules-preview b,.friend-gift-promo b,.friend-lobby-bottom h3 small){color:#627467}
html[data-ui-theme="salon"] .friend-lobby-page img{filter:none!important}
html[data-ui-theme="salon"] .friend-table-art{display:none}
html[data-ui-theme="salon"] .friend-table-preview::before{content:"";position:absolute;inset:15% 8% 10%;border:1px solid #d8ddce;border-radius:45%;background:#f4f1e9;box-shadow:inset 0 0 0 12px #fffefb,inset 0 0 0 13px #ebe9de}
html[data-ui-theme="salon"] .friend-table-preview::after{content:"♣";position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);color:#bcc8b4;font:36px Georgia}
html[data-ui-theme="salon"] .preview-seat{z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:62px;height:66px;border:1px solid #ebe9de;border-radius:10px;background:#fffefb;box-shadow:0 3px 12px #214e4307}
html[data-ui-theme="salon"] .preview-seat img{display:block;width:32px;height:32px}
html[data-ui-theme="salon"] .preview-seat small{position:static;color:#627467;font-size:11px;text-shadow:none}
html[data-ui-theme="salon"] .preview-top{top:5%}
html[data-ui-theme="salon"] .preview-left{left:6%;top:50%}
html[data-ui-theme="salon"] .preview-right{right:6%;top:50%}
html[data-ui-theme="salon"] .preview-me{bottom:0}
html[data-ui-theme="salon"] .auth-agree{font-size:11px;line-height:1.8;margin-top:20px}
html[data-ui-theme="salon"] .auth-form input{font-size:14px;min-height:42px}
html[data-ui-theme="salon"] .auth-form>button{min-height:44px;font-size:14px;font-weight:500}
html[data-ui-theme="salon"] :is(.friend-lobby-top p,.friend-create-options>span,.friend-link-copy small,.friend-rules-preview ul,.friend-seat-preview header>span){color:#627467;text-shadow:none}
html[data-ui-theme="salon"] :is(.friend-mode-picker button,.friend-base-picker button,.friend-base-picker input,.friend-keypad-button){color:#476454}
html[data-ui-theme="salon"] .friend-art-icon{width:48px;height:48px;flex-basis:48px}
html[data-ui-theme="salon"] .friend-link-icon{width:34px;height:34px;flex-basis:34px}
html[data-ui-theme="salon"] :is(.ranking-table-head,.ranking-row,.ranking-subtitle,.ranking-stats,.ranking-filter button,.event-tabs button,.club-tabs button){color:#627467;text-shadow:none}
html[data-ui-theme="salon"] :is(.ranking-filter button,.event-tabs button,.club-tabs button){background:#f4f1e9;border-color:#ebe9de;box-shadow:none}
html[data-ui-theme="salon"] :is(.event-tabs button.active,.club-tabs button.active){background:#2c5849;color:#fffefb}
html[data-ui-theme="salon"] .product-dialog{background:#fffefb;color:#2c5849}
html[data-ui-theme="salon"] .product-dialog :is(form,nav button){background:#f4f1e9;color:#476454}
html[data-ui-theme="salon"] .product-dialog :is(button[type="submit"],nav button[aria-pressed="true"]){background:#2c5849;color:#fffefb;border-color:#2c5849}
html[data-ui-theme="salon"] :is(.product-note,.product-empty,.product-row small){color:#8a9d89}
html[data-ui-theme="salon"] .product-row{border-color:#ebe9de}
html[data-ui-theme="salon"] .friend-presets button{background:#f4f1e9;border-color:#d8ddce;color:#476454}
html[data-ui-theme="salon"] .friend-create-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px}
html[data-ui-theme="salon"] .friend-create-card .friend-create-options{position:static;display:grid;width:100%;min-width:0;height:auto;grid-template-columns:54px minmax(0,1fr) 54px 100px!important;grid-template-rows:36px 36px;gap:12px 10px;align-content:center;font-size:12px}
html[data-ui-theme="salon"] .friend-create-options>span{position:static!important;white-space:nowrap}
html[data-ui-theme="salon"] .friend-create-options>span:nth-of-type(1){grid-column:1;grid-row:1}
html[data-ui-theme="salon"] .friend-create-options>.friend-mode-picker{position:static;grid-column:2;grid-row:1;display:flex;min-width:0;width:100%;height:36px;padding:2px;box-sizing:border-box}
html[data-ui-theme="salon"] .friend-create-options>.friend-mode-picker button{flex:1;min-width:0;min-height:30px;height:30px;padding:0 4px;font-size:11px}
html[data-ui-theme="salon"] .friend-create-options>span:nth-of-type(2){grid-column:3;grid-row:1}
html[data-ui-theme="salon"] .friend-create-options>.friend-base-picker{position:static!important;grid-column:4;grid-row:1;width:100%;height:36px;min-width:0;grid-template-columns:28px minmax(0,1fr) 28px}
html[data-ui-theme="salon"] .friend-base-picker :is(button,input){min-width:0;min-height:30px;height:30px;box-sizing:border-box}
html[data-ui-theme="salon"] .friend-create-options>span:nth-of-type(3){grid-column:1;grid-row:2}
html[data-ui-theme="salon"] #friendAdvancedSettingsBtn{position:static;grid-column:2/5;grid-row:2;justify-self:start;width:auto;min-height:32px;height:32px;padding:0 12px;box-sizing:border-box;border:1px solid #ebe9de;border-radius:5px;background:#f4f1e9;color:#476454;font-size:11px;}
html[data-ui-theme="salon"] .friend-create-card>#friendCreateLobbyBtn{position:static;grid-column:1;grid-row:3;justify-self:end;align-self:end;height:36px;min-height:36px;max-width:100%;margin:0;font-size:12px}
html[data-ui-theme="salon"] .lobby-screen :is(.friend-lobby-top>section,.friend-lobby-bottom>section,.friend-quick-links>button,.club-home-dashboard>section,.club-home-quick>button,.ranking-table-card,.ranking-aside>section,.platform-event-card){background:#fffefb!important;border-color:#ebe9de!important;box-shadow:none!important;}
html[data-ui-theme="salon"] .lobby-screen :is(.friend-lobby-top>section,.friend-lobby-bottom>section,.friend-quick-links>button)::after{display:none}
html[data-ui-theme="salon"] .friend-lobby-page :is(h2,h3,h4,.friend-link-copy b){font-family:inherit;font-weight:500;color:#2c5849;text-shadow:none;}
html[data-ui-theme="salon"] .friend-lobby-page :is(.gold-action,.friend-rules-preview button){background:#2c5849!important;border:1px solid #2c5849;border-radius:6px;color:#fffefb;box-shadow:none;text-shadow:none;}
html[data-ui-theme="salon"] .friend-code-entry{background:#fffefb!important;border-color:#d8ddce!important;box-shadow:none!important;}
html[data-ui-theme="salon"] .friend-keypad-button{background:#f4f1e9;border-color:#ebe9de;box-shadow:none;}
html[data-ui-theme="salon"] #friendCreateForm label span{background:none;padding:2px;border-radius:3px}
html[data-ui-theme="salon"] #friendCreateForm input:checked+span{background:#ebe9de;color:#2c5849}
html[data-ui-theme="salon"] #friendCreateForm label span small{color:#476454}
@media(max-height:500px){
html[data-ui-theme="salon"] .side-tools button{height:30px;min-height:30px;max-height:30px;box-sizing:border-box}
html[data-ui-theme="salon"] .friend-lobby-page{grid-template-rows:142px 43px minmax(0,1fr);gap:5px;padding:0}
html[data-ui-theme="salon"] .friend-lobby-top>section{padding:5px 8px}
html[data-ui-theme="salon"] .friend-lobby-top header{height:28px;gap:8px}
html[data-ui-theme="salon"] .friend-art-icon{width:26px;height:26px;flex-basis:26px}
html[data-ui-theme="salon"] .friend-lobby-top h2{font-size:12px}
html[data-ui-theme="salon"] .friend-lobby-top p{margin:2px 0;font-size:7px}
html[data-ui-theme="salon"] .friend-create-card{gap:3px;grid-template-rows:28px 65px 32px}
html[data-ui-theme="salon"] .friend-create-card .friend-create-options{grid-template-columns:36px minmax(64px,1fr) 38px 76px!important;grid-template-rows:30px 30px;gap:5px 7px;font-size:8px}
html[data-ui-theme="salon"] .friend-create-options>.friend-mode-picker{height:30px;padding:0}
html[data-ui-theme="salon"] .friend-create-options>.friend-mode-picker button{height:28px;min-height:28px;font-size:9px}
html[data-ui-theme="salon"] .friend-create-options>.friend-base-picker{height:30px;grid-template-columns:23px minmax(0,1fr) 23px}
html[data-ui-theme="salon"] .friend-base-picker :is(button,input){height:28px;min-height:28px;font-size:10px}
html[data-ui-theme="salon"] #friendAdvancedSettingsBtn{height:30px;min-height:30px;padding:0 9px;font-size:9px}
html[data-ui-theme="salon"] .friend-create-card>#friendCreateLobbyBtn{height:30px;min-height:30px;font-size:10px}
html[data-ui-theme="salon"] .friend-join-card form{height:calc(100% - 28px);grid-template-rows:minmax(0,1fr) 32px}
html[data-ui-theme="salon"] .friend-join-card .gold-action{min-height:30px;height:30px}
html[data-ui-theme="salon"] .friend-lobby-bottom>section{padding:4px 8px;overflow:auto}
html[data-ui-theme="salon"] .friend-rules-preview ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 8px;padding-left:10px;font-size:7px;line-height:1.5}
html[data-ui-theme="salon"] .friend-rules-preview button{position:static;display:block;min-height:22px;margin:3px auto 0}
html[data-ui-theme="salon"] .friend-gift-promo{display:none}
}
@media(max-height:500px){
html[data-ui-theme="salon"] .friend-lobby-page:not([hidden]){display:flex!important;flex-direction:column;overflow-y:auto;gap:8px}
html[data-ui-theme="salon"] .friend-lobby-top{flex:0 0 154px;min-height:154px}
html[data-ui-theme="salon"] .friend-quick-links{flex:0 0 48px;min-height:48px}
html[data-ui-theme="salon"] .friend-lobby-bottom{display:block;flex:0 0 auto}
html[data-ui-theme="salon"] .friend-seat-preview{display:none}
html[data-ui-theme="salon"] .friend-lobby-top p{font-size:11px;line-height:1.3}
html[data-ui-theme="salon"] .friend-create-card .friend-create-options{grid-template-columns:40px minmax(70px,1fr) 44px 76px!important;font-size:11px;gap:8px}
html[data-ui-theme="salon"] .friend-create-options>.friend-mode-picker button{font-size:12px}
html[data-ui-theme="salon"] #friendAdvancedSettingsBtn{font-size:11px}
html[data-ui-theme="salon"] .friend-create-card>#friendCreateLobbyBtn{font-size:12px}
html[data-ui-theme="salon"] .friend-link-copy small{font-size:11px}
html[data-ui-theme="salon"] .friend-rules-preview ul{font-size:12px;gap:7px 12px;margin:10px 0}
html[data-ui-theme="salon"] .friend-rules-preview button{font-size:12px;min-height:32px}
}
@media(max-width:720px) and (max-height:500px){
html[data-ui-theme="salon"] .friend-lobby-top{grid-template-columns:1fr;flex-basis:auto;min-height:0;gap:8px}
html[data-ui-theme="salon"] .friend-lobby-top>section{min-height:162px}
}
@media(max-width:900px),(max-height:610px){
html[data-ui-theme="salon"] .auth-card{width:min(92%,390px);padding:16px 22px}
html[data-ui-theme="salon"] .auth-form input{min-height:36px;font-size:16px}
html[data-ui-theme="salon"] .auth-form>button{min-height:36px;font-size:13px}
html[data-ui-theme="salon"] .auth-agree{margin:8px 0 0;font-size:10px}
}
@media(max-height:500px){
html[data-ui-theme="salon"] .friend-lobby-top header{height:44px}
html[data-ui-theme="salon"] .friend-create-card{grid-template-rows:44px 65px 32px}
html[data-ui-theme="salon"] .friend-lobby-top{flex-basis:174px;min-height:174px}
html[data-ui-theme="salon"] .friend-lobby-top>section{min-height:174px}
html[data-ui-theme="salon"] .friend-join-card form{height:calc(100% - 44px)}
html[data-ui-theme="salon"] .event-hero{padding:10px 18px}
html[data-ui-theme="salon"] .event-hero h2{font-size:19px}
html[data-ui-theme="salon"] .event-hero p{font-size:10px;margin-top:5px}
html[data-ui-theme="salon"] .event-hero::after{width:38px;height:38px}
html[data-ui-theme="salon"] .lobby-screen .platform-event-card h3{font-size:12px}
html[data-ui-theme="salon"] .lobby-screen .platform-event-card :is(p,small,dd){font-size:9px}
html[data-ui-theme="salon"] .lobby-screen .event-card-icon{width:32px;height:32px;margin-bottom:6px}
html[data-ui-theme="salon"] .ranking-heading{padding:5px 14px}
html[data-ui-theme="salon"] .ranking-heading h2{font-size:17px}
html[data-ui-theme="salon"] .ranking-heading small{display:none}
html[data-ui-theme="salon"] .ranking-podium{gap:6px;padding-top:4px}
html[data-ui-theme="salon"] .podium-player>i{width:16px;height:16px;font-size:10px;left:12%;transform:none;top:8%}
html[data-ui-theme="salon"] .podium-player .rank-player-avatar{width:28px;height:28px;top:10%}
html[data-ui-theme="salon"] .podium-player>b{font-size:10px;top:56%}
html[data-ui-theme="salon"] .podium-player>strong{font-size:10px;top:78%}
html[data-ui-theme="salon"] .ranking-aside .rank-player-avatar.small{width:28px;height:28px;min-width:28px;flex:0 0 28px;aspect-ratio:1}
html[data-ui-theme="salon"] .event-shortcuts button{grid-template-columns:22px minmax(0,1fr);padding:5px 8px;gap:3px 6px}
html[data-ui-theme="salon"] .event-shortcuts b{font-size:10px}
html[data-ui-theme="salon"] .event-shortcuts small{font-size:8px}
html[data-ui-theme="salon"] .event-shortcuts img{width:22px;height:22px}
html[data-ui-theme="salon"] .club-empty{margin:8px auto;padding:20px}
}
@media(max-width:720px) and (max-height:500px){
html[data-ui-theme="salon"] .friend-lobby-top{flex:0 0 auto;min-height:0;grid-template-rows:repeat(2,minmax(174px,auto))}
}

/* A gathering room: horizontal navigation, one featured table, three alternatives,
   and a dedicated invitation rail. These rules never replace live game controls. */
html[data-ui-theme="salon"]{--salon-ink:#263e34;--salon-paper:#f4f1e9;--salon-muted:#627467;--salon-border:#dcded1;--salon-pine:#214e43;--salon-clay:#be684b;color-scheme:light}
html[data-ui-theme="salon"] body{background:var(--salon-paper);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--salon-ink)}
html[data-ui-theme="salon"] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #be684b;outline-offset:3px}
html[data-ui-theme="salon"] .lobby-screen{--lobby-header-h:82px;--bg-page:#f4f1e9;--bg-main:#f4f1e9;--bg-card:#fffefb;--bg-card-dark:#ebe9de;--text-body:#627467;padding:0;background:#f4f1e9;color:#263e34;border-radius:0}
html[data-ui-theme="salon"] .lobby-screen::before{display:none}
html[data-ui-theme="salon"] .lobby-header{height:var(--lobby-header-h);padding:0 36px;display:grid;grid-template-columns:minmax(170px,1fr) auto auto auto;align-items:center;gap:30px;background:#fffefb;border-bottom:1px solid #ddded3;box-shadow:none}
html[data-ui-theme="salon"] .salon-brand{display:flex;align-items:center;gap:12px;color:#214e43;font-size:21px;font-weight:700;letter-spacing:2px;white-space:nowrap}
html[data-ui-theme="salon"] .salon-brand i{display:grid;place-items:center;width:40px;height:46px;transform:rotate(-8deg);border-radius:8px;background:#214e43;color:#f3dfc7;font:27px Georgia}
html[data-ui-theme="salon"] .salon-brand small{display:block;margin-top:6px;font-size:10px;font-weight:400;letter-spacing:4px;color:#77826d}
html[data-ui-theme="salon"] .lobby-user{gap:10px;min-width:0}
html[data-ui-theme="salon"] .lobby-user>#profileAvatar{width:40px;height:40px;flex:0 0 40px;border:1px solid #b7c5ae;box-shadow:0 0 0 3px #edf0e6}
html[data-ui-theme="salon"] .lobby-user p{margin:0}
html[data-ui-theme="salon"] .lobby-user p b{max-width:140px;font-size:15px;color:#294639;letter-spacing:0;text-shadow:none}
html[data-ui-theme="salon"] .lobby-user p small{font-size:10px;color:#7a826f;margin-top:4px}
html[data-ui-theme="salon"] .vip-mark{width:28px;height:17px;background:#f2e4d3;border:0;border-radius:4px;box-shadow:none;color:#a76347;font:italic 11px Georgia}
html[data-ui-theme="salon"] .lobby-wallet{gap:10px}
html[data-ui-theme="salon"] .lobby-wallet>span{width:128px;height:36px;padding:0 29px 0 32px;border:1px solid #e1e2d6;border-radius:7px;background:#f8f6f0;box-shadow:none}
html[data-ui-theme="salon"] .lobby-wallet .wallet-icon{left:6px;top:7px;width:22px;height:22px;filter:none}
html[data-ui-theme="salon"] .lobby-wallet b{color:#315242;font:500 15px/1.2 system-ui,sans-serif;letter-spacing:0}
html[data-ui-theme="salon"] .lobby-wallet button{right:4px;top:6px;width:24px;height:24px;border:0;background:none}
html[data-ui-theme="salon"] .lobby-wallet button img{width:24px;height:24px}
html[data-ui-theme="salon"] .lobby-header-actions{gap:20px;justify-content:end}
html[data-ui-theme="salon"] .lobby-header-actions button{gap:5px;color:#5a705f;font-size:12px}
html[data-ui-theme="salon"] .lobby-header-actions button>img{width:23px;height:23px;filter:none}
html[data-ui-theme="salon"] .lobby-header-actions button i{left:16px;top:-4px;width:13px;height:13px;font-size:8px;background:#be684b;box-shadow:none;border:0}
html[data-ui-theme="salon"] .lobby-body{height:calc(100% - var(--lobby-header-h));min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 268px;grid-template-rows:58px minmax(0,1fr);gap:26px 28px;padding:0 36px 30px;align-content:stretch}
html[data-ui-theme="salon"] .game-nav{grid-column:1/-1;grid-row:1;display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;gap:10px;padding:0;margin:0;background:none;border:0;border-bottom:1px solid #dcded1;border-radius:0;box-shadow:none;overflow:visible}
html[data-ui-theme="salon"] .game-nav::before,html[data-ui-theme="salon"] .game-nav::after{display:none}
html[data-ui-theme="salon"] .game-nav>button{position:relative;flex:0 1 136px;width:auto;min-height:0;height:100%;margin:0;padding:0 20px;display:flex;justify-content:center;gap:9px;background:none;border:0;border-radius:0;color:#768371;box-shadow:none;transform:none}
html[data-ui-theme="salon"] .game-nav>button:hover{background:#e9edde}
html[data-ui-theme="salon"] .game-nav>button.active{color:#214e43;background:none;box-shadow:inset 0 -3px #be684b}
html[data-ui-theme="salon"] .game-nav>button.active::after{display:none}
html[data-ui-theme="salon"] .game-nav>button img{display:block;width:23px;height:23px;flex:0 0 23px;filter:none;opacity:1}
html[data-ui-theme="salon"] .game-nav>button span{font-size:14px;font-weight:500;letter-spacing:1px;text-shadow:none}
html[data-ui-theme="salon"] .lobby-main{grid-column:1;grid-row:2;min-height:0;display:flex;flex-direction:column;gap:18px;padding:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#b7c4ac transparent}
html[data-ui-theme="salon"] .salon-intro{display:flex;flex:0 0 90px;justify-content:space-between;align-items:center;gap:20px;padding:0 4px}
html[data-ui-theme="salon"] .salon-intro small{font-size:9px;letter-spacing:2.3px;color:#9b684e}
html[data-ui-theme="salon"] .salon-intro h1{margin:10px 0 0;color:#214e43;font-family:"STSong","Songti SC","SimSun",serif;font-size:34px;font-weight:500;letter-spacing:3px}
html[data-ui-theme="salon"] .salon-intro p{margin:12px 0 0;color:#7d8574;font-size:12px;line-height:1.9;letter-spacing:1px}
html[data-ui-theme="salon"] .mode-title{display:flex;align-items:center;justify-content:space-between;flex:0 0 22px;margin:0;padding:0 4px;color:#455c4a}
html[data-ui-theme="salon"] .mode-title>div{display:flex;align-items:center;gap:15px}
html[data-ui-theme="salon"] .mode-title h2{margin:0;font-size:13px;font-weight:500;letter-spacing:1px}
html[data-ui-theme="salon"] .mode-title span{font-size:11px;color:#737f6c}
html[data-ui-theme="salon"] .mode-title button{border:0;background:none;padding:3px 0;color:#737f6c;font-size:11px}
html[data-ui-theme="salon"] .room-grid{display:grid;flex:1 0 396px;min-height:396px;height:auto;grid-template-columns:minmax(245px,1fr) minmax(300px,1fr);grid-template-rows:repeat(3,minmax(120px,1fr));gap:16px}
html[data-ui-theme="salon"] .lobby-main .room-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) 74px;grid-template-rows:minmax(0,1fr);align-items:center;gap:14px;height:100%;min-height:0;margin:0;padding:22px 20px;border:1px solid #dbdfd0;border-radius:14px;background:#fffefb;color:#294d3e;text-align:left;box-shadow:0 3px 6px #273e2c03;transform:none;overflow:hidden}
html[data-ui-theme="salon"] .lobby-main .room-card::before,html[data-ui-theme="salon"] .lobby-main .room-card::after{display:none}
html[data-ui-theme="salon"] .lobby-main .room-card:hover{border-color:#8ba284;box-shadow:0 6px 20px #283e3210;transform:translateY(-1px)}
html[data-ui-theme="salon"] .lobby-main .room-card .room-icon{grid-column:1;grid-row:1;width:58px;height:66px;max-width:100%;margin:0;flex:none;filter:none;opacity:1}
html[data-ui-theme="salon"] .lobby-main .room-card>div{grid-column:2;grid-row:1;width:100%;margin:0;align-self:center;justify-self:stretch}
html[data-ui-theme="salon"] .lobby-main .room-card h3{margin:0 0 10px;color:#294d3e;text-align:left;font-family:inherit;font-size:18px;font-weight:600;letter-spacing:0;line-height:1.35;text-shadow:none}
html[data-ui-theme="salon"] .lobby-main .room-card :is(p,small,em){display:block;margin:3px 0;color:#75826d;font-size:11px;font-weight:400;line-height:1.6;text-shadow:none;white-space:normal}
html[data-ui-theme="salon"] .lobby-main .room-card em{font-size:10px;color:#88927e}
html[data-ui-theme="salon"] .room-cta{display:flex;align-items:center;justify-content:center;grid-column:3;grid-row:1;align-self:center;justify-self:stretch;width:100%;min-width:0;max-width:none;min-height:38px;height:38px;padding:0 8px;margin:0;border:1px solid #e0e2d5;border-radius:7px;background:#eef1e6;color:#395b47;box-shadow:none;font-size:12px;font-weight:500;letter-spacing:0;text-shadow:none;box-sizing:border-box}
html[data-ui-theme="salon"] .room-cta::before{display:none}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child{grid-column:1;grid-row:1/4;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(130px,1fr) auto 48px;gap:24px;padding:32px;border:1px solid #214e43;background:radial-gradient(ellipse at 100% 0,#3c6951,transparent 70%),#214e43;color:#fcf6e9}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-icon{grid-column:1;grid-row:1;width:100%;height:100%;max-height:270px;min-height:0;object-fit:contain;align-self:center}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child>div{grid-column:1;grid-row:2;align-self:end}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child h3{font-size:29px;letter-spacing:2px;color:#fff8e9;margin-bottom:16px;font-family:"STSong","Songti SC","SimSun",serif;font-weight:500}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child :is(p,small,em){color:#c8d6bb;font-size:12px}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-cta{grid-column:1;grid-row:3;height:48px;background:#ebc9a7;border-color:#ebc9a7;color:#483e2d;font-size:15px;justify-content:space-between;padding:0 20px}
html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-cta::after{content:"↗";font:22px system-ui}
html[data-ui-theme="salon"] .lobby-main .room-card:nth-child(2){grid-column:2;grid-row:1;background:#eef1e6}
html[data-ui-theme="salon"] .lobby-main .room-card:nth-child(3){grid-column:2;grid-row:2}
html[data-ui-theme="salon"] .lobby-main .room-card:nth-child(4){grid-column:2;grid-row:3;background:#f3e9df;border-color:#e5d7c7}
html[data-ui-theme="salon"] .lobby-main .room-card:nth-child(4) .room-cta{background:#ebd9c7;border-color:#e0cbb7;color:#88563c}
html[data-ui-theme="salon"] .lobby-side{grid-column:2;grid-row:2;display:grid;height:auto;padding:0;align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(300px,1fr) 104px 104px;gap:14px}
html[data-ui-theme="salon"] .salon-gather{display:flex;grid-column:1/-1;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;min-height:0;padding:26px 24px;border:1px solid #d8ddca;border-radius:14px;background:#e5ebdc;color:#244a3a;text-align:left;box-shadow:none}
html[data-ui-theme="salon"] .salon-gather-kicker{font-size:10px;letter-spacing:2px;color:#768365}
html[data-ui-theme="salon"] .salon-gather>b{font-family:"STSong","Songti SC","SimSun",serif;font-size:23px;font-weight:500;letter-spacing:1px}
html[data-ui-theme="salon"] .salon-gather img{width:100%;height:auto;max-height:170px;min-height:0;object-fit:contain;flex:1}
html[data-ui-theme="salon"] .salon-gather-copy{font-size:11px;line-height:1.9;color:#6d7c5f}
html[data-ui-theme="salon"] .salon-gather-cta{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;border-top:1px solid #c1cfb6;font-size:13px;font-weight:500;padding-top:10px}
html[data-ui-theme="salon"] .salon-gather-cta i{font:20px system-ui}
html[data-ui-theme="salon"] .salon-gather:hover{border-color:#8ba284;background:#e0e8d5}
html[data-ui-theme="salon"] .lobby-side .lobby-feature{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;height:100%;padding:14px 16px;border:1px solid #dedfd3;border-radius:12px;background:#fffefb;box-shadow:none}
html[data-ui-theme="salon"] .lobby-feature>img{width:27px;height:27px;flex:0 0 27px;filter:none;opacity:1}
html[data-ui-theme="salon"] .lobby-feature b{font-size:12px;font-weight:500;color:#3d5845;text-shadow:none}
html[data-ui-theme="salon"] .lobby-feature small{display:block;margin-top:4px;font-size:9px;color:#838d78}
html[data-ui-theme="salon"] .lobby-feature em{display:none}
html[data-ui-theme="salon"] .lobby-feature>i{width:14px;height:14px;top:9px;right:9px;font-size:8px;background:#be684b;box-shadow:none}
html[data-ui-theme="salon"] .lobby-body.section-active .lobby-section-page,html[data-ui-theme="salon"] :is(.club-dialog.club-embedded,.platform-event-dialog.event-embedded){grid-column:1/-1;grid-row:2;margin:0;min-height:0;border:0;border-radius:12px;padding:0}
html[data-ui-theme="salon"] .lobby-screen.new-user-mode .salon-intro{display:none}
html[data-ui-theme="salon"] .lobby-screen.new-user-mode .lobby-main{grid-column:1/-1}
html[data-ui-theme="salon"] .matching-layer{inset:var(--lobby-header-h) 0 0;background:#f4f1e9f5;color:#315542}
html[data-ui-theme="salon"] .matching-table{background:#315d49;border-color:#91a382;box-shadow:inset 0 0 70px #163d3566}

/* Sign-in reads like the entrance to the same gathering room. */
html[data-ui-theme="salon"] .auth-screen{display:grid;grid-template-columns:minmax(290px,1.15fr) minmax(360px,.85fr);gap:6vw;padding:7vh 9vw;align-items:center;background:#f4f1e9;color:#294a3b;box-sizing:border-box}
html[data-ui-theme="salon"] .auth-art{position:relative;inset:auto;display:flex;flex-direction:column;justify-content:center;height:100%;padding:0;opacity:1;overflow:visible}
html[data-ui-theme="salon"] .auth-art::after{content:"";position:absolute;z-index:-1;inset:10% -5%;border:1px solid #dedfcf;border-radius:50%;transform:rotate(-18deg)}
html[data-ui-theme="salon"] .auth-brand-logo{display:none}
html[data-ui-theme="salon"] .business-brand{display:flex;align-items:center;gap:14px;color:#214e43;font-size:23px;font-weight:600;letter-spacing:3px}
html[data-ui-theme="salon"] .business-brand i{display:grid;place-items:center;width:46px;height:54px;border-radius:8px;background:#214e43;color:#edd5b9;transform:rotate(-8deg);font:30px Georgia}
html[data-ui-theme="salon"] .business-brand small{display:block;font-size:8px;font-weight:400;letter-spacing:3px;margin-top:6px;color:#7c8971}
html[data-ui-theme="salon"] .auth-art h1{margin:44px 0 16px;color:#214e43;font-family:"STSong","Songti SC","SimSun",serif;font-size:clamp(26px,3vw,44px);font-weight:500;letter-spacing:2px}
html[data-ui-theme="salon"] .auth-art>p{display:none}
html[data-ui-theme="salon"] .auth-art>.business-auth-copy{display:block;margin:0;color:#7d876f;font-size:14px;line-height:2.1;letter-spacing:1px}
html[data-ui-theme="salon"] .auth-poker{display:block;width:100%;max-width:400px;height:240px;margin:28px 0 0;transform:none;background:#214e43 url("assets/salon/room-classic.svg") center/contain no-repeat;border-radius:120px 120px 28px 28px}
html[data-ui-theme="salon"] .auth-poker i{display:none}
html[data-ui-theme="salon"] .auth-card{position:relative;justify-self:center;align-self:center;width:min(100%,420px);min-height:0;max-height:86vh;overflow:auto;padding:38px;border:1px solid #dedfd1;border-radius:18px;background:#fffefb;box-shadow:0 18px 50px #3f4e2f0b;box-sizing:border-box;color:#31523e}
html[data-ui-theme="salon"] .auth-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px;border-color:#dedfd1}
html[data-ui-theme="salon"] .auth-tabs button{white-space:nowrap;padding:12px 0;font-size:12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#858d77}
html[data-ui-theme="salon"] .auth-tabs button.active{color:#214e43;border-bottom-color:#be684b;background:none}
html[data-ui-theme="salon"] .auth-form input{min-height:44px;font-size:14px;background:#fcfbf6;border-color:#dcdfd2}
html[data-ui-theme="salon"] .auth-form>button{min-height:46px;font-size:14px;border-radius:8px;background:#214e43;color:#fffefb;border-color:#214e43}
html[data-ui-theme="salon"] .auth-agree{font-size:10px;line-height:1.8;margin-top:22px;color:#76826b}
html[data-ui-theme="salon"] .auth-agree a{color:#4f7056}
html[data-ui-theme="salon"] .loading-screen{background:#f4f1e9}
html[data-ui-theme="salon"] .loading-card{background:#214e43;border:0;border-radius:18px;box-shadow:none}
html[data-ui-theme="salon"] .table{background:radial-gradient(ellipse at 50% 25%,#35694f 0,#214e43 60%,#173c33 100%)}
html[data-ui-theme="salon"] .actions .primary{background:#edc29b;border-color:#f0d2b6;color:#493923}
html[data-ui-theme="salon"] .actions .secondary{background:#f2f0e7;color:#305540;border-color:#cad4bf}
html[data-ui-theme="salon"] .club-lobby .room-card{display:flex;flex-direction:column;gap:10px;background:#fffefb;border-color:#d8ddce;border-radius:12px;color:#31523e}
html[data-ui-theme="salon"] .appearance-preview{background:#214e43f5;border-color:#becaae;color:#f6eddd}
html[data-ui-theme="salon"] .appearance-preview a{color:#efc4a4}
html[data-ui-theme="salon"] .lobby-screen :is(.game-nav>button,.lobby-wallet button){filter:none}
html[data-ui-theme="salon"] .lobby-main .room-card h3::after{display:none}
html[data-ui-theme="salon"] .lobby-main .room-card:hover .room-cta{box-shadow:none;filter:brightness(.98)}
html[data-ui-theme="salon"] .lobby-side .lobby-feature:hover{background:#eef1e6;border-color:#a7b99b;transform:none}
html[data-ui-theme="salon"] .mode-title span b{color:#9a6146}
html[data-ui-theme="salon"] .loading-logo{object-position:-9999px;background:#f4f1e9 url("assets/salon/icon-cards.svg") center/70% no-repeat;width:74px;height:74px;border-radius:16px}

@media(min-height:611px) and (max-width:1200px){
 html[data-ui-theme="salon"] .lobby-header{padding-inline:24px;gap:18px}
 html[data-ui-theme="salon"] .lobby-body{padding-inline:24px;gap:22px;grid-template-columns:minmax(0,1fr) 218px}
 html[data-ui-theme="salon"] .room-grid{grid-template-columns:minmax(210px,.9fr) minmax(270px,1.1fr)}
 html[data-ui-theme="salon"] .lobby-main .room-card{padding:16px 12px;grid-template-columns:40px minmax(0,1fr) 66px;gap:9px}
 html[data-ui-theme="salon"] .lobby-main .room-card .room-icon{width:40px;height:48px}
 html[data-ui-theme="salon"] .lobby-main .room-card h3{font-size:16px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child{padding:24px;grid-template-columns:minmax(0,1fr)}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-icon{width:100%;height:100%}
 html[data-ui-theme="salon"] .salon-gather{padding:20px 16px}
 html[data-ui-theme="salon"] .salon-gather>b{font-size:21px}
}
@media(max-width:900px),(max-height:610px){
 html[data-ui-theme="salon"] .lobby-screen{--lobby-header-h:48px;padding-inline:var(--safe-left,0px) var(--safe-right,0px)}
 html[data-ui-theme="salon"] .lobby-header{padding:0 16px;grid-template-columns:minmax(128px,1fr) auto auto auto;gap:16px}
 html[data-ui-theme="salon"] .salon-brand{gap:7px;font-size:14px;letter-spacing:1px}
 html[data-ui-theme="salon"] .salon-brand i{width:25px;height:29px;font-size:18px;border-radius:5px}
 html[data-ui-theme="salon"] .salon-brand small{font-size:7px;letter-spacing:2px;margin-top:2px}
 html[data-ui-theme="salon"] .lobby-user{gap:7px}
 html[data-ui-theme="salon"] .lobby-user>#profileAvatar{width:30px;height:30px;flex-basis:30px;box-shadow:none}
 html[data-ui-theme="salon"] .lobby-user p b{font-size:12px;max-width:95px}
 html[data-ui-theme="salon"] .lobby-user p small{font-size:8px;margin-top:2px}
 html[data-ui-theme="salon"] .vip-mark{width:23px;height:13px;font-size:9px}
 html[data-ui-theme="salon"] .lobby-wallet{gap:7px}
 html[data-ui-theme="salon"] .lobby-wallet>span{width:89px;height:29px;padding:0 23px 0 23px}
 html[data-ui-theme="salon"] .lobby-wallet .wallet-icon{width:18px;height:18px;left:4px;top:5px}
 html[data-ui-theme="salon"] .lobby-wallet b{font-size:12px}
 html[data-ui-theme="salon"] .lobby-wallet button{width:21px;height:21px;right:2px;top:4px}
 html[data-ui-theme="salon"] .lobby-wallet button img{width:21px;height:21px}
 html[data-ui-theme="salon"] .lobby-header-actions{gap:12px}
 html[data-ui-theme="salon"] .lobby-header-actions button{font-size:0}
 html[data-ui-theme="salon"] .lobby-header-actions button>img{width:22px;height:22px}
 html[data-ui-theme="salon"] .lobby-body{height:calc(100% - var(--lobby-header-h));padding:0 16px 9px;grid-template-columns:minmax(0,1fr);grid-template-rows:35px minmax(0,1fr) 46px;gap:8px}
 html[data-ui-theme="salon"] .game-nav{grid-column:1;grid-row:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;border-bottom:1px solid #dcded1}
 html[data-ui-theme="salon"] .game-nav>button{height:35px;min-height:35px;padding:0 6px;gap:7px}
 html[data-ui-theme="salon"] .game-nav>button img{width:19px;height:19px;flex-basis:19px}
 html[data-ui-theme="salon"] .game-nav>button span{font-size:11px;letter-spacing:0}
 html[data-ui-theme="salon"] .lobby-main{position:relative;grid-column:1;grid-row:2;gap:6px;overflow:auto}
 html[data-ui-theme="salon"] .salon-intro{flex:0 0 28px;padding:0 2px;gap:0}
 html[data-ui-theme="salon"] .salon-intro h1{font-size:20px;margin:0;letter-spacing:1px}
 html[data-ui-theme="salon"] .salon-intro small{display:none}
 html[data-ui-theme="salon"] .salon-intro p{font-size:9px;margin:0;line-height:1.4}
 html[data-ui-theme="salon"] .salon-intro p br{display:none}
 html[data-ui-theme="salon"] .mode-title{position:absolute;z-index:1;width:auto;right:4px;top:0;min-height:28px;padding:0;gap:12px}
 html[data-ui-theme="salon"] .mode-title h2{display:none}
 html[data-ui-theme="salon"] .mode-title span,html[data-ui-theme="salon"] .mode-title button{font-size:9px}
 html[data-ui-theme="salon"] .salon-intro p{display:none}
 html[data-ui-theme="salon"] .room-grid{flex:1 0 174px;min-height:174px;grid-template-columns:minmax(210px,.95fr) minmax(310px,1.3fr);grid-template-rows:repeat(3,minmax(52px,1fr));gap:6px 10px}
 html[data-ui-theme="salon"] .lobby-main .room-card{grid-template-columns:36px minmax(0,1fr) 64px;padding:6px 12px;gap:8px;border-radius:8px;min-height:0}
 html[data-ui-theme="salon"] .lobby-main .room-card .room-icon{width:34px;height:36px}
 html[data-ui-theme="salon"] .lobby-main .room-card h3{font-size:12px;margin:0 0 3px;line-height:1.2}
 html[data-ui-theme="salon"] .lobby-main .room-card :is(p,small){font-size:9px;margin:0;line-height:1.35}
 html[data-ui-theme="salon"] .lobby-main .room-card em{display:none}
 html[data-ui-theme="salon"] .lobby-main .room-card .room-cta{height:32px;min-height:32px;font-size:10px;padding:0 5px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child{padding:14px 16px;grid-template-columns:minmax(0,1fr) 88px;grid-template-rows:minmax(0,1fr) 34px;gap:8px 6px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-icon{grid-column:2;grid-row:1;width:110px;max-width:110px;height:100%;max-height:125px;justify-self:center;opacity:1}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child>div{grid-column:1;grid-row:1;align-self:center}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child h3{font-size:20px;letter-spacing:1px;margin-bottom:10px;white-space:nowrap}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child :is(p,small){font-size:10px;line-height:1.6}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-cta{grid-column:1/-1;grid-row:2;height:34px;padding:0 12px;font-size:12px}
 html[data-ui-theme="salon"] .lobby-side{grid-column:1;grid-row:3;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:46px;gap:8px}
 html[data-ui-theme="salon"] .salon-gather{grid-column:auto;display:flex;padding:0 12px;justify-content:center;border-radius:7px;gap:0}
 html[data-ui-theme="salon"] .salon-gather>:not(.salon-gather-cta){display:none}
 html[data-ui-theme="salon"] .salon-gather-cta{min-height:0;border:0;padding:0;font-size:11px}
 html[data-ui-theme="salon"] .lobby-side .lobby-feature{flex-direction:row;align-items:center;justify-content:flex-start;padding:7px 10px;gap:7px;border-radius:7px}
 html[data-ui-theme="salon"] .lobby-feature>img{width:23px;height:23px;flex-basis:23px}
 html[data-ui-theme="salon"] .lobby-feature b{font-size:10px;white-space:nowrap}
 html[data-ui-theme="salon"] .lobby-feature small{display:none}
 html[data-ui-theme="salon"] .lobby-feature>i{width:10px;height:10px;right:4px;top:3px;font-size:7px}
 html[data-ui-theme="salon"] .lobby-body.section-active .lobby-section-page,html[data-ui-theme="salon"] :is(.club-dialog.club-embedded,.platform-event-dialog.event-embedded){grid-column:1;grid-row:2/4;margin:0;padding:0}
 html[data-ui-theme="salon"] .auth-screen{grid-template-columns:minmax(220px,1fr) minmax(300px,1fr);gap:4vw;padding:5vh 5vw}
 html[data-ui-theme="salon"] .auth-art{padding:0;position:relative;inset:auto;opacity:1}
 html[data-ui-theme="salon"] .business-brand{font-size:17px;gap:10px}
 html[data-ui-theme="salon"] .business-brand i{width:32px;height:38px;font-size:24px}
 html[data-ui-theme="salon"] .business-brand small{font-size:6px;letter-spacing:2px}
 html[data-ui-theme="salon"] .auth-art h1{font-size:24px;margin:24px 0 10px;letter-spacing:1px}
 html[data-ui-theme="salon"] .auth-art>.business-auth-copy{font-size:11px}
 html[data-ui-theme="salon"] .auth-poker{height:110px;max-width:260px;margin-top:18px;border-radius:80px 80px 18px 18px}
 html[data-ui-theme="salon"] .auth-card{width:100%;max-height:90vh;padding:18px 24px;border-radius:12px;min-height:0}
 html[data-ui-theme="salon"] .auth-tabs{margin-bottom:10px}
 html[data-ui-theme="salon"] .auth-tabs button{padding:8px 0;font-size:11px}
 html[data-ui-theme="salon"] .auth-form label{margin:8px 0;font-size:10px}
 html[data-ui-theme="salon"] .auth-form input{min-height:36px;height:36px;padding:8px;font-size:12px}
 html[data-ui-theme="salon"] .auth-form>button{min-height:36px;height:36px;margin-top:8px;padding:6px;font-size:12px}
 html[data-ui-theme="salon"] .auth-agree{font-size:9px;margin:6px 0 0}
 html[data-ui-theme="salon"] .auth-error{margin:4px 0;height:14px}
 html[data-ui-theme="salon"] .auth-tip{font-size:9px}
}
@media(max-width:720px) and (orientation:landscape){
 html[data-ui-theme="salon"] .lobby-header{gap:10px;padding:0 12px;grid-template-columns:minmax(110px,1fr) auto auto auto}
 html[data-ui-theme="salon"] .lobby-user p b{max-width:78px;font-size:11px}
 html[data-ui-theme="salon"] .lobby-user p small{max-width:90px;font-size:7px}
 html[data-ui-theme="salon"] .lobby-wallet>span{width:78px}
 html[data-ui-theme="salon"] .lobby-header-actions{gap:7px}
 html[data-ui-theme="salon"] .lobby-body{padding-inline:12px;gap:7px}
 html[data-ui-theme="salon"] .room-grid{gap:6px 8px;grid-template-columns:minmax(200px,.9fr) minmax(300px,1.3fr)}
 html[data-ui-theme="salon"] .lobby-main .room-card{padding:5px 9px;gap:6px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child{padding:12px;grid-template-columns:minmax(0,1fr) 64px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child .room-icon{width:84px;max-width:84px}
 html[data-ui-theme="salon"] .lobby-main .room-card:first-child h3{font-size:18px}
 html[data-ui-theme="salon"] .lobby-side .lobby-feature{padding-inline:8px;gap:5px}
 html[data-ui-theme="salon"] .lobby-feature>img{width:20px;height:20px;flex-basis:20px}
}
/* Wide phones keep joining and creating in view. The rule summary becomes a
   single strip; the existing details action still opens the complete rules. */
@media(min-width:721px) and (max-height:500px){
 html[data-ui-theme="salon"] .friend-lobby-page:not([hidden]){gap:6px}
 html[data-ui-theme="salon"] .friend-lobby-top{flex:0 0 158px;min-height:158px}
 html[data-ui-theme="salon"] .friend-lobby-top>section{min-height:158px}
 html[data-ui-theme="salon"] .friend-lobby-top header{height:32px}
 html[data-ui-theme="salon"] .friend-create-card{grid-template-rows:32px 65px 32px}
 html[data-ui-theme="salon"] .friend-create-card>#friendCreateLobbyBtn{height:32px;min-height:32px}
 html[data-ui-theme="salon"] .friend-join-card form{height:calc(100% - 32px)}
 html[data-ui-theme="salon"] .friend-join-card .gold-action{min-height:32px;height:32px}
 html[data-ui-theme="salon"] .friend-lobby-bottom{flex:0 0 32px;min-height:32px;height:32px}
 html[data-ui-theme="salon"] .friend-lobby-bottom>.friend-rules-preview{height:32px;min-height:0;padding:0 8px!important;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;overflow:visible}
 html[data-ui-theme="salon"] .friend-rules-preview h3{margin:0;font-size:12px;white-space:nowrap}
 html[data-ui-theme="salon"] .friend-rules-preview ul{display:flex;gap:20px;margin:0;padding:0;list-style:none;font-size:10px;white-space:nowrap}
 html[data-ui-theme="salon"] .friend-rules-preview li:nth-child(n+4){display:none}
 html[data-ui-theme="salon"] .friend-rules-preview button{flex:0 0 auto;width:auto;min-width:110px;height:28px;min-height:28px;margin:0;padding:0 14px;font-size:11px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){html[data-ui-theme="salon"] .room-card{transition:none}html[data-ui-theme="salon"] .room-card:hover{transform:none}}
