
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:dark;--forest:#0a1d18;--glass:#0b201bbd;--lime:#ddf1a5;--gold:#f5c677;--pale:#fff5df;--muted:#c6d2c2;--line:#e4eed63b;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font:500 14px/1.5 'DM Sans',system-ui,sans-serif;background:#091a15;color:var(--pale);overflow-x:hidden}
button,input,select{font:inherit}
button{cursor:pointer;touch-action:manipulation}
button:disabled{opacity:.46;cursor:not-allowed}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e7f5a8;outline-offset:3px}
a{color:var(--lime)}
#world3d{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:-3;opacity:.95}
body:before{content:"";position:fixed;inset:0;z-index:-4;background:radial-gradient(ellipse at 70% 40%,#6a7b46 0,#37533d 40%,#081a17 91%)}
body:after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#081913d9,transparent 55%,#08191365),linear-gradient(0deg,#071b16,transparent 49%,#071d1780)}
#app{position:relative;min-height:100vh}
.mast{height:83px;border-bottom:1px solid #fce4b445;background:#061914bd;backdrop-filter:blur(18px);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 clamp(16px,3vw,54px);position:sticky;top:0;z-index:30}
.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}
.suit-brand{display:grid;place-items:center;width:52px;height:52px;background:linear-gradient(140deg,#e8f3b6,#a7c772);color:#12291b;border-radius:14px;transform:rotate(-8deg);font:900 37px 'Outfit';box-shadow:0 4px #566d3d}
.brand b{font:900 22px/.97 'Outfit';letter-spacing:-.7px;display:block}
.brand small{display:block;font:800 9px 'Outfit';color:var(--lime);letter-spacing:2px;margin-top:5px}
.live-light{width:9px;height:9px;border-radius:50%;background:#de755a}
.live-light.connected{background:#8ef5a6;box-shadow:0 0 11px #8ef6a3}
.world-page,.table-page{max-width:1510px;margin:auto;padding:0 clamp(16px,3vw,50px)}
.world-hero{min-height:650px;position:relative;display:flex;align-items:center;isolation:isolate}
.kicker{font:900 11px 'Outfit';letter-spacing:2.3px;color:var(--lime);text-transform:uppercase}
.kicker:before{content:"";display:inline-block;height:2px;width:22px;background:var(--lime);vertical-align:middle;margin-right:10px}
.gold-button,.light-button,.line-button{border:1px solid #f4ddada5;border-radius:12px;padding:13px 20px;color:#251c10;background:linear-gradient(180deg,#ffe49b,#e7ad59);font:900 13px 'Outfit';letter-spacing:.4px;white-space:nowrap;box-shadow:0 7px 22px #2116074e;transition:transform .17s,filter .17s}
.gold-button:hover,.light-button:hover,.line-button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.light-button{background:#e7efc0e8;border-color:#dff9c8;color:#153426}
.line-button{background:#ffffff13;border-color:#d5eab15a;color:#f2f5e0;box-shadow:none}
.gold-button.full,.line-button.full{width:100%;margin-top:12px}
.gold-button.small{padding:11px 14px}
@keyframes floatGlow{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.game-actions{display:flex;gap:9px;flex-wrap:wrap}.dialog input,.dialog select,#table-chat-input{background:#eff6dd10;border:1px solid #d1eeae57;border-radius:9px;color:white;padding:11px;min-width:0}.dialog input::placeholder,#table-chat-input::placeholder{color:#c9dbbe8c}.sidebar-panel form button{background:#cdeb95;color:#12311d;font:900 12px 'Outfit';border:none;border-radius:9px;padding:9px 13px}
.shade{position:fixed;z-index:70;inset:0;background:#04130de8;backdrop-filter:blur(13px);padding:22px;display:grid;place-items:center;overflow:auto}
.dialog{position:relative;width:min(510px,100%);max-height:91vh;overflow:auto;background:linear-gradient(145deg,#143d2def,#09231cee);border:1px solid #e2eabb82;border-radius:21px;padding:30px;box-shadow:0 32px 80px #000d}
.dialog.wide{width:min(720px,100%)}
.dialog .close{position:absolute;right:15px;top:12px;color:#f7efdc;background:#ffffff14;border:1px solid #ffffff33;border-radius:9px;width:33px;height:34px;font:900 24px 'Outfit'}
.dialog h2{font:900 39px/1.07 'Outfit';letter-spacing:-1px;margin:9px 0 11px}
.dialog>p{color:#d7e4d3;font-size:14px;line-height:1.6}
.dialog form{display:grid;gap:9px;margin-top:20px}
.dialog form label{font:900 11px 'Outfit';letter-spacing:1px;color:#d6e6b6;margin-top:9px;text-transform:uppercase}
.dialog form input,.dialog form select{width:100%;font-size:17px;padding:13px 15px}
.dialog select{color:white;background:#234738}
.dialog .code-field{font:900 24px 'Outfit';letter-spacing:6px;text-transform:uppercase}
.choice-list{display:grid;gap:9px;margin-top:20px}
.choice-list button{display:flex;align-items:center;text-align:left;gap:12px;background:#ffffff0b;border:1px solid #e0e9aa35;border-radius:13px;color:#f8f2db;padding:16px;transition:background .16s}
.choice-list button:hover{background:#ffffff1d}
.choice-list button b{display:block;font:900 16px 'Outfit'}
.choice-list button small{display:block;font:500 11px 'DM Sans';color:#bdcebf}
.choice-list button span{font:900 23px 'Outfit';margin-left:auto;color:var(--lime)}
.lookup{padding:10px;background:#f1eeb719;border:1px solid #f1eccb3a;border-radius:10px}
.lookup.success{border-color:#9ee69e70;background:#84c57d1b}
.lookup.success span{display:block;color:#d6e8c2;font-size:11px}
.lookup.warning{border-color:#df9b887d;background:#8f402a30}
.help-note{font-size:12px;color:#cde6c6}
.room-list{display:grid;gap:9px;margin:20px 0;max-height:300px;overflow:auto}
.room-result{display:flex;gap:11px;align-items:center;background:#ffffff0e;border:1px solid var(--line);padding:10px;border-radius:12px}
.room-result>span:nth-child(2){flex:1}
.room-result b{display:block;font:900 13px 'Outfit'}.room-result small{display:block;color:#c1cfbf;font-size:11px}
.room-symbol{font:900 29px 'Outfit';color:var(--lime)}
.empty-state{color:#d0ddc5;padding:27px;text-align:center}
.browse-footer{display:flex;justify-content:center}
.spectate{margin-top:12px}
.toast{position:fixed;left:50%;bottom:23px;transform:translateX(-50%);max-width:88%;background:#193a2e;border:1px solid #def0ae;border-radius:10px;padding:13px 17px;box-shadow:0 14px 45px #000c;z-index:100;font-weight:800;text-align:center}
.table-page{padding-top:22px;padding-bottom:40px}
.table-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px;align-items:start}
.table-stage{min-height:720px;position:relative;isolation:isolate;border:2px solid #c49f68;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 56% 43%,#5d8355bb,#203f30bd 65%,#123126ee),linear-gradient(180deg,#d29d73 0,#d0c394 37%,#547c47 38%,#19382d 100%);box-shadow:0 22px 55px #000a}
.table-stage:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 25%,#071d17ab 80%),repeating-linear-gradient(90deg,transparent 0 45px,#80593c2e 45px 47px);pointer-events:none}
.table-players{position:relative;z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:55px 16px 13px}
.player-tag{min-width:0;display:flex;align-items:center;gap:7px;background:#071b19e8;border:1px solid #e4eed056;border-radius:12px;padding:7px;position:relative}
.player-tag.y ou{background:#20372c}
.player-tag.you{border-color:#ddf6a4}
.player-tag.onturn{box-shadow:0 0 0 2px #e5eea94a}
.player-avatar{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:hsl(var(--avatar) 36% 59%);color:#102619;font:900 18px 'Outfit';border:1px solid #fff5bd55}
.player-tag b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:900 11px 'Outfit'}
.player-tag small{display:block;color:#d9dec8;font:800 9px 'Outfit'}
.player-tag em{position:absolute;right:3px;bottom:-16px;color:#f2e9bc;font:900 9px 'Outfit';font-style:normal;background:#11251bcf;border-radius:4px;padding:2px 4px}
.table-sidebar{display:flex;flex-direction:column;gap:14px}
.sidebar-panel{border-radius:15px;border:1px solid #dce9b256;padding:16px;background:#0a241cdf;box-shadow:0 15px 34px #0007;backdrop-filter:blur(15px)}
.panel-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 14px}
.panel-top h3{font:900 18px 'Outfit';margin:0}
.panel-top small{font:900 9px 'Outfit';color:var(--lime)}
.score-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.score-cards>div{border-radius:11px;border:1px solid #fff3d428;background:#ffffff0d;padding:10px;display:flex;flex-direction:column;gap:2px}
.score-cards small{font:900 9px 'Outfit';color:#c4d5bd;min-height:25px}
.score-cards b{font:900 32px 'Outfit';color:var(--gold)}
.score-cards em{font:700 9px 'Outfit';color:#c1d8ac;font-style:normal}
.chat-history{min-height:125px;max-height:200px;overflow-y:auto}
.chat-history p{font-size:12px;margin:7px 0;color:#d8e4d0}.chat-history b{color:var(--gold)}
.chat-history .subdued{color:#9fb6a9}
.quick-reactions{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}
.quick-reactions button{border:1px solid #d3dfc449;background:#ffffff13;color:#ecf1d5;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:800}
#table-chat-form{display:flex;gap:5px}
#table-chat-input{min-width:0;flex:1}
.game-events{font-size:11px;max-height:160px;overflow:auto;color:#c6d7c0}
.game-events p{margin:9px 0}
.waiting-table{position:relative;z-index:5;max-width:530px;margin:80px auto;padding:30px 20px;text-align:center;background:#102f23e8;border:1px solid #e9e6b264;border-radius:21px;backdrop-filter:blur(14px);box-shadow:0 22px 46px #000b}
.waiting-table h2{font:900 31px 'Outfit';margin:10px 0}
.waiting-table p{color:#d2e1c8;font-size:13px;line-height:1.6}
.room-code-hero{font:900 10px 'Outfit';letter-spacing:2px;color:#d4e9af}
.room-code-hero strong{font:900 37px 'Outfit';letter-spacing:5px;color:var(--gold);display:block}
.lobby-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.status-text{display:block;color:var(--lime);font-size:13px}
.gameplay-surface{position:relative;z-index:4;min-height:560px}
.felt-table,.domino-board{position:relative;border:21px solid #946842;border-radius:50%;width:min(85%,710px);height:350px;margin:48px auto 0;background:radial-gradient(ellipse at 37% 30%,#347b56,#10432d 70%,#0a2d22);box-shadow:0 11px 0 #694630,0 23px 35px #041810ce,inset 0 0 0 6px #d6ab74,inset 0 0 35px #051d1ba8;transform:perspective(940px) rotateX(15deg)}
.felt-mark{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%) rotate(-10deg);font:900 35px 'Outfit';color:#e9f8c01d;white-space:nowrap}
.trick-area{position:absolute;inset:0}
.empty-trick{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font:90px Georgia;color:#c2eda433;display:flex;align-items:center;flex-direction:column}
.empty-trick small{font:900 10px 'Outfit';letter-spacing:1px;color:#c5eab087;white-space:nowrap}
.playing-card{position:relative;display:grid;place-items:center;width:100%;height:100%;background:#fffdf3;color:#1b251d;border:2px solid white;border-radius:9px;box-shadow:inset 0 0 0 1px #d7ceb7,2px 4px #aaa99d,0 9px 18px #000a;font-family:Georgia,serif}
.playing-card.red{color:#c5443d}
.playing-card>b{font-size:39px}
.playing-card .rank{position:absolute;top:4px;left:6px;font-size:14px;line-height:1}
.playing-card .rank.foot{top:auto;left:auto;bottom:5px;right:6px;transform:rotate(180deg)}
.on-table{position:absolute;left:50%;top:50%;width:77px;height:107px;filter:drop-shadow(0 5px 8px #0009)}
.on-table.place-0{transform:translate(-50%,-7%) rotate(-5deg)}
.on-table.place-1{transform:translate(-117%,-55%) rotate(-12deg)}
.on-table.place-2{transform:translate(-50%,-102%) rotate(7deg)}
.on-table.place-3{transform:translate(16%,-55%) rotate(15deg)}
.hand-block{position:absolute;bottom:13px;left:0;right:0;background:linear-gradient(0deg,#071d17ed,transparent);padding:15px}
.hand-label{text-align:center;font:900 11px 'Outfit';letter-spacing:1.4px;color:var(--lime);margin-bottom:9px}
.player-hand{display:flex;justify-content:center;align-items:end;gap:0;min-height:108px;overflow-x:auto;overflow-y:hidden;padding:8px 8px 14px}
.hand-card{position:relative;flex:0 0 66px;width:66px;height:99px;padding:0;border:0;background:none;margin-left:-13px;transition:transform .16s}
.hand-card:first-child{margin-left:0}
.hand-card:not(:disabled):hover,.hand-card:not(:disabled):focus-visible{transform:translateY(-19px);z-index:20}
.hand-card:disabled{filter:grayscale(.5);opacity:.69}
.hand-card .playing-card>b{font-size:29px}
.bid-overlay,.result-overlay{position:absolute;z-index:15;top:27%;left:50%;transform:translateX(-50%);width:min(90%,470px);border:1px solid #e0e4b29c;border-radius:19px;background:#0b2c23f2;padding:22px;box-shadow:0 18px 58px #000c;text-align:center;backdrop-filter:blur(15px)}
.bid-overlay h2,.result-card h2{font:900 28px 'Outfit';margin:6px 0}
.bid-overlay p{font-size:12px;color:#c5d8bc;margin:0 0 13px}
.bid-choices{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.bid-choices button{border:1px solid #e6eccd4e;background:#1a543b;color:#f5f3de;border-radius:9px;font:900 16px 'Outfit';padding:12px 0}
.bid-choices button:hover{background:#e4eda9;color:#153325}
.result-overlay{top:27%;max-height:375px;overflow:auto}
.result-card p{font-size:13px;color:#e1e5d4}
.domino-board{border-radius:28%;width:min(90%,810px);height:318px;background:linear-gradient(135deg,#835939,#a9754b 46%,#754d37)}
.domino-board:before{content:"";position:absolute;inset:13px;border:2px dashed #e7cfab66;border-radius:30%}
.ends-label{position:absolute;top:16px;left:50%;transform:translateX(-50%);font:900 11px 'Outfit';color:#f8e7b7;white-space:nowrap}
.domino-chain{position:absolute;inset:58px 20px 33px;display:flex;align-items:center;justify-content:flex-start;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.placed-tile{display:inline-flex;flex:0 0 auto}
.domino-tile{display:inline-flex;align-items:center;justify-content:center;width:83px;height:46px;border:3px solid #faf5dd;border-radius:8px;background:linear-gradient(145deg,#f6f2e5,#cfcabe);box-shadow:2px 4px 0 #8c887e,0 7px 12px #0008;color:#232c24}
.domino-half{display:block;position:relative;width:50%;height:100%;padding:5px}
.tile-divider{display:block;width:2px;background:#5f645a;height:87%;flex:none}
.pip-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;height:100%}
.pip-grid i{grid-row:var(--row);grid-column:var(--col);display:block;background:#283026;border-radius:50%;width:7px;height:7px;align-self:center;justify-self:center;box-shadow:inset 0 1px 1px #9b9e98}
.domino-help{position:absolute;bottom:13px;left:0;right:0;text-align:center;color:#ffefd9;font:700 10px 'DM Sans'}
.domino-hand{position:absolute;bottom:9px;left:0;right:0;background:linear-gradient(0deg,#06241af0,transparent);padding:16px 14px;text-align:center}
.bone-row{display:flex;justify-content:center;gap:10px;align-items:end;overflow-x:auto;padding:9px 0 4px;min-height:109px}
.bone-choice{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto}
.bone-choice .domino-tile{transform:rotate(90deg);margin:20px 0}
.domino-tile.can-play{outline:3px solid var(--lime)}
.bone-buttons{display:flex;gap:2px;min-height:23px}
.bone-buttons button{border:1px solid #f0ebb796;border-radius:6px;background:#dfeeb1;color:#14301d;font:900 9px 'Outfit';padding:6px}
.draw-button{margin:8px auto 0}
@media(max-width:1230px){.table-layout{grid-template-columns:minmax(0,1fr) 270px;gap:12px}.table-players{gap:5px}.player-tag{padding:5px}.player-avatar{width:30px;height:30px}}
@media(max-width:900px){
.mast{height:auto;min-height:77px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.world-hero{min-height:690px;display:block;padding-top:34px}
.table-layout{grid-template-columns:1fr}
.table-sidebar{display:grid;grid-template-columns:1fr 1fr}
.table-sidebar .sidebar-panel:last-child{grid-column:1/-1}
}
@media(max-width:600px){
.mast{gap:8px}.brand b{font-size:16px}.brand small{font-size:8px}.suit-brand{width:39px;height:39px;font-size:27px;border-radius:10px}
.world-page,.table-page{padding-left:11px;padding-right:11px}
.world-hero{min-height:810px;padding-top:27px}
.game-actions button{padding:10px 12px}
.dialog{padding:21px 15px;border-radius:17px}.dialog h2{font-size:31px}
.table-stage{min-height:680px;border-radius:18px}
.table-players{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:37px}.player-tag{padding:5px;gap:4px}
.player-tag b{font-size:11px}.player-avatar{width:27px;height:27px}.player-tag small{font-size:8px}
.waiting-table{margin:75px 8px}.room-code-hero strong{font-size:29px}
.gameplay-surface{min-height:510px}
.felt-table{width:96%;height:305px;border-width:13px;margin-top:30px}
.felt-mark{font-size:22px}
.on-table{width:60px;height:82px}
.empty-trick{font-size:64px}
.hand-block{bottom:0;padding:12px 6px 5px}.hand-label{font-size:10px}
.player-hand{justify-content:flex-start;min-height:97px}
.hand-card{width:49px;height:79px;flex:0 0 49px;margin-left:-12px}
.hand-card .playing-card>b{font-size:26px}.hand-card .playing-card .rank{font-size:11px}
.bid-overlay{top:28%;width:96%;padding:14px}.bid-overlay h2{font-size:24px}.bid-choices{gap:4px}.bid-choices button{padding:9px 0;font-size:13px}
.domino-board{width:97%;height:278px;margin-top:18px;border-width:12px;border-radius:18%}.domino-chain{inset:50px 10px 30px}.ends-label{font-size:9px}
.domino-tile{width:68px;height:38px}.pip-grid i{width:6px;height:6px}
.domino-hand{padding:10px 6px}
.bone-row{gap:5px;justify-content:flex-start}.bone-choice .domino-tile{margin:15px 0}.bone-buttons button{font-size:8px;padding:4px}
.table-sidebar{grid-template-columns:1fr}.table-sidebar .sidebar-panel:last-child{grid-column:1}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Live third-person world viewport and interaction HUD */
body.roaming #world3d{z-index:0;pointer-events:auto;touch-action:none;opacity:1;cursor:crosshair}
body.roaming #app{z-index:1;pointer-events:none}
body.roaming #app .mast,body.roaming #app .shade,
body.roaming #app button,body.roaming #app input,body.roaming #app select,body.roaming #app form{pointer-events:auto}
body.roaming:after{z-index:0;background:linear-gradient(90deg,#0a1b136e,transparent 60%,#06201529),linear-gradient(0deg,#061b11a3,transparent 43%);pointer-events:none}
body.roaming .world-page{position:relative;z-index:1}
body.roaming .free-roam{position:relative;min-height:calc(100vh - 83px);display:block;pointer-events:none}
.walk-pad{position:relative;flex:0 0 172px;height:123px}
.walk-pad button{position:absolute;width:51px;height:50px;border:2px solid #f7e3aeaa;border-radius:13px;color:#fff1ca;background:#0c3025e9;font:900 27px "Outfit";box-shadow:0 4px 0 #05140e;touch-action:none;user-select:none}
.walk-pad button:active{background:#def2a2;color:#1b4328}
.walk-pad button:nth-child(1){left:59px;top:0}.walk-pad button:nth-child(2){left:2px;top:65px}
.walk-pad button:nth-child(3){left:59px;top:65px}.walk-pad button:nth-child(4){left:116px;top:65px}
body.roaming .mast{background:#071c16d9}
@media(max-width:940px){
}
@media(max-width:650px){
body.roaming .free-roam{min-height:max(605px,calc(100dvh - 110px))}.walk-pad{width:161px;flex:0 0 161px;height:118px}
.walk-pad button{width:48px;height:47px;font-size:23px}.walk-pad button:nth-child(1),.walk-pad button:nth-child(3){left:56px}
.walk-pad button:nth-child(2){left:1px}.walk-pad button:nth-child(4){left:111px}
}
@media(max-width:650px){}

/* Keep the world visible while maintaining readable touch controls. */
body.roaming:after{background:linear-gradient(0deg,#12120f66,transparent 30%)}
.graphics-status{display:block;color:#d0d4be;font-size:11px;margin-top:7px}
@media(max-width:650px){
 .graphics-status{font-size:10px;margin-top:4px}
}

/* Let the scene fill the phone; keep controls within a single safe viewport. */
body.roaming{height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
body.roaming #world3d{width:100%;height:100dvh}
body.roaming #app{height:100dvh;min-height:0;overflow:hidden}
body.roaming:after{background:linear-gradient(0deg,#081b163d,transparent 21%,transparent 85%,#081b1626)}
body.roaming .compact-mast{position:fixed;inset:0 0 auto;height:68px;min-height:0;padding:8px 20px;gap:12px;background:#0c2824f0;border-bottom:1px solid #ffffff20;box-shadow:0 2px 15px #071e2220;backdrop-filter:blur(12px);flex-wrap:nowrap}
.compact-mast .brand{gap:10px;min-width:0}
.compact-mast .brand b{font-size:19px;letter-spacing:-.5px;line-height:1.12;text-transform:none}
.compact-mast .brand small{font-size:11px;letter-spacing:.6px;margin-top:4px;text-transform:none}
.compact-mast .suit-brand{width:36px;height:39px;flex:0 0 36px;font-size:28px;border-radius:10px;box-shadow:0 2px #637c49}
.compact-live{display:flex;align-items:center;gap:6px;margin-left:auto;white-space:nowrap;color:#d2e8cf;font-size:12px}
.compact-live .live-light{width:7px;height:7px;flex:0 0 7px;margin:0}
.hud-button{min-height:48px;border:1px solid #d4e4d955;border-radius:13px;background:#11362fea;color:#fff4dd;padding:10px 16px;box-shadow:0 3px 12px #071c2928;font-weight:800;font-size:15px;line-height:1.15;backdrop-filter:blur(8px)}
.hud-button:active{background:#315b45;transform:translateY(1px)}
.menu-toggle{padding:10px 13px;font-size:19px;display:flex;align-items:center;gap:7px}
.menu-toggle span{font-size:14px}
body.roaming .world-page{position:fixed;inset:0;margin:0;padding:0;max-width:none}
body.roaming .free-roam{position:absolute;inset:0;min-height:0;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.hud-shortcuts{position:absolute;top:80px;left:20px;display:flex;gap:8px;pointer-events:none}
.hud-shortcuts .hud-button{display:flex;gap:8px;align-items:center}.hud-shortcuts span{font-size:20px}
.load-status{position:absolute;top:140px;left:20px;max-width:min(300px,calc(100% - 40px));background:#102c25e6;border:1px solid #dce8c455;border-radius:10px;padding:9px 13px;font-size:13px;color:#f2efd9;pointer-events:none}
.load-status[hidden]{display:none}
.mobile-controls{position:absolute;left:20px;right:20px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;justify-content:space-between;gap:12px;pointer-events:none}
.mobile-controls .walk-pad{display:grid;grid-template-columns:repeat(3,56px);grid-template-rows:repeat(2,56px);gap:7px;position:relative;flex:0 0 auto;width:auto;height:auto}
.mobile-controls .walk-pad button{position:static;width:56px;height:56px;border:1px solid #d8e4bca6;border-radius:16px;background:#133b31e6;color:#f2f3dc;font-size:29px;box-shadow:0 3px 0 #0b211e77,0 3px 15px #0b211e26;line-height:1;backdrop-filter:blur(8px);-webkit-user-select:none}
.mobile-controls .walk-pad button:nth-child(1){grid-column:2;grid-row:1}
.mobile-controls .walk-pad button:nth-child(2){grid-column:1;grid-row:2}
.mobile-controls .walk-pad button:nth-child(3){grid-column:2;grid-row:2}
.mobile-controls .walk-pad button:nth-child(4){grid-column:3;grid-row:2}
.mobile-controls .walk-pad button:active{background:#d7eba7;color:#142c24}
.context-controls{width:154px;display:grid;gap:8px}
.context-action{width:100%;min-height:59px;border:1px solid #fff0b5;border-radius:15px;padding:8px 10px;background:linear-gradient(135deg,#ffe4a0,#edbe6e);color:#233024;box-shadow:0 4px 18px #142a2938;display:flex;flex-direction:column;justify-content:center;gap:3px}
.context-action small{font-size:10px;letter-spacing:.8px;font-weight:800;line-height:1.2}.context-action b{font-size:15px;line-height:1.2;white-space:nowrap}
.view-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.view-controls .hud-button{padding:7px 3px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.view-controls b{font-size:16px}.view-controls small{font-size:11px;font-weight:600;white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shade{padding:18px;background:#071c18a8}.dialog{max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain}
.dialog .close{width:44px;height:44px;right:10px;top:10px;font-size:28px;line-height:1;display:grid;place-items:center;padding:0}
.mobile-dialog{padding:28px 22px 22px;border-radius:22px}.mobile-dialog h2{font-size:28px;line-height:1.12;margin:12px 26px 12px 0;letter-spacing:-.7px}
.mobile-dialog p{font-size:15px;line-height:1.5}.mobile-dialog .kicker{font-size:11px;letter-spacing:1.3px}
.mobile-dialog .choice-list{gap:9px}.mobile-dialog .choice-list button{min-height:64px;padding:14px 15px;border-radius:13px;display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:0 8px;align-items:center;text-align:left}
.mobile-dialog .choice-list b{font-size:16px;grid-column:1;grid-row:1}.mobile-dialog .choice-list small{font-size:13px;line-height:1.35;margin-top:4px;grid-column:1;grid-row:2}
.mobile-dialog .choice-list button>span{grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:end}
.mobile-dialog #graphics-quality{font-size:14px;font-weight:800;text-align:left;min-height:56px}
.emote-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 12px}.mobile-dialog .line-button{min-height:48px;font-size:14px}
.chat-scroll{max-height:34dvh;overflow:auto;margin:12px 0 18px;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}
.chat-scroll p{padding:8px 0;margin:3px 0}.chat-scroll b{color:#dfedb8}
.controls-help b{color:#e4ecb8}.controls-help p{padding-bottom:13px;border-bottom:1px solid #ffffff1c;margin:13px 0 0}
body.roaming .toast{max-width:calc(100% - 36px);bottom:160px;font-size:14px;pointer-events:none}
@media(max-width:650px){
 body.roaming .compact-mast{height:62px;padding:7px 12px;gap:8px}
 .compact-mast .brand{gap:8px}.compact-mast .brand b{font-size:16px;letter-spacing:-.4px}.compact-mast .brand small{font-size:10px;margin-top:3px}
 .compact-mast .suit-brand{width:31px;height:35px;flex-basis:31px;font-size:25px;border-radius:9px}
 .compact-live{font-size:11px;gap:5px}.menu-toggle{min-width:48px;padding:10px;font-size:21px}.menu-toggle span{display:none}
 .hud-shortcuts{top:74px;left:12px;gap:7px}.hud-shortcuts .hud-button{padding:10px 13px;font-size:14px;min-height:46px}
 .load-status{top:130px;left:12px;font-size:12px}
 .mobile-controls{left:12px;right:12px;bottom:max(16px,env(safe-area-inset-bottom));gap:10px}
 .mobile-controls .walk-pad{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:6px}
 .mobile-controls .walk-pad button{width:52px;height:52px;border-radius:15px}
 .context-controls{width:144px;gap:7px}.context-action{min-height:55px;padding:7px 6px}.context-action b{font-size:14px}
 .view-controls{gap:7px}.view-controls .hud-button{min-height:50px}
 .shade{padding:12px}.dialog{max-height:calc(100dvh - 24px)}.mobile-dialog{padding:24px 18px 18px}
 .mobile-dialog h2{font-size:27px}.dialog input,.dialog select{font-size:16px;min-height:48px}
}
@media(max-width:359px){.compact-mast .brand b{font-size:14px}.compact-live{font-size:10px}.compact-mast .brand small{display:none}.mobile-controls .walk-pad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:5px}.mobile-controls .walk-pad button{width:48px;height:48px}.mobile-controls{left:8px;right:8px;gap:7px}.context-controls{width:139px}.compact-mast .brand{gap:5px}}
@media(max-height:500px) and (orientation:landscape){body.roaming .compact-mast{height:54px}.hud-shortcuts{top:64px}.load-status{top:118px}.mobile-controls{bottom:10px}.mobile-dialog{max-width:600px}.controls-help{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.mobile-dialog h2{font-size:24px}}



/* A bounded playing surface keeps the bid, trick and complete hand together. */
.playing-spades{height:100dvh;min-height:0;overflow:hidden}
.playing-spades #app{height:100dvh;min-height:0;display:flex;flex-direction:column}
.table-mast.mast{height:62px;min-height:62px;flex:none;flex-wrap:nowrap;padding:7px max(12px,env(safe-area-inset-left));gap:12px}
.table-back{min-height:44px;padding:8px 12px;font-weight:800}
.table-brand{min-width:0;flex:1}
.table-brand b{display:block;font:800 23px/1.1 'Outfit',sans-serif}
.table-brand small{display:block;font-size:12px;color:#d4dfcd;margin-top:3px}
.table-mast .menu-toggle{display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;padding:0;font-size:23px}
.table-page{width:100%;max-width:1080px;padding:8px 12px 20px}
.table-page-spades{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:max(8px,env(safe-area-inset-bottom))}
.table-tools{display:flex;gap:7px;align-items:stretch;flex:none;margin-bottom:8px}
.table-tools>button{min-height:44px;padding:8px 14px;background:#102f26;border:1px solid #d4e4bd52;border-radius:11px;color:#fff5df;font-weight:800}
.table-tools .score-summary{display:flex;flex:1;align-items:center;gap:18px;text-align:left;font-size:13px}
.score-summary b{font:800 19px 'Outfit';color:var(--gold);padding-left:5px}
.score-chevron{margin-left:auto;color:var(--lime);font-size:22px}
.table-layout{display:flex;flex:1;min-height:0;align-items:stretch}
.table-stage{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #c49f6880;border-radius:18px;background:linear-gradient(155deg,#143d2e,#061e17);box-shadow:0 10px 28px #0006}
.table-stage:before{background:radial-gradient(ellipse at top,#f5db9020,transparent 65%)}
.table-players{flex:none;margin:12px 12px 0;gap:7px}
.player-tag{gap:8px;padding:8px;min-height:54px}
.player-name{min-width:0;flex:1}
.player-tag b{font-size:13px}
.player-tag small{font-size:10px;margin-top:3px}
.player-tag em{position:static;flex:none;align-self:center;font-size:12px;padding:4px 6px;white-space:nowrap;color:#f7dfac;background:#183c2a;border-radius:6px}
.player-tag.onturn{border-color:#f5d594;box-shadow:0 0 0 1px #f5d594}
.player-tag.you{background:#1d4433}
.spades-surface{min-height:0;flex:1;display:flex;flex-direction:column}
.spades-center{position:relative;flex:1;min-height:160px;display:flex;align-items:center;justify-content:center;padding:10px}
.spades-center .felt-table{position:absolute;inset:16px 8%;width:auto;height:auto;margin:0;border-width:12px;transform:none;box-shadow:0 6px 0 #694630,inset 0 0 0 4px #d6ab74,inset 0 0 30px #051d1b99}
.spades-center .felt-mark{font-size:clamp(16px,3vw,28px)}
.spades-center .bid-overlay{position:static;transform:none;width:min(100%,500px);padding:15px 18px;border-radius:16px;background:#0b2c23;box-shadow:0 6px 22px #0004;max-height:100%;overflow-y:auto}
.bid-overlay h2{font-size:25px;margin:0 0 4px}
.bid-overlay p{font-size:12px;margin:0 0 12px;color:#dbe9d4}
.bid-choices{gap:6px}
.bid-choices button{min-height:44px;padding:7px 0;font-size:17px}
.bid-waiting{display:flex;flex-direction:column;gap:6px;padding:20px;text-align:center;color:#f6f2dc}
.bid-waiting b{font:800 24px 'Outfit'}.bid-waiting span{color:#c6d8c8}
.spades-surface .hand-block{position:static;flex:none;padding:10px 12px 12px;background:#061c16d9;border-top:1px solid #bcd2aa29}
.spades-surface .hand-label{font:800 13px/1.35 'DM Sans',sans-serif;letter-spacing:0;text-transform:none;margin:0 0 10px;color:#e1f0bf}
.spades-surface .player-hand{display:flex;flex-wrap:wrap;justify-content:center;align-items:start;gap:6px;min-height:0;max-width:940px;margin:auto;padding:0 2px 6px;overflow:visible}
.spades-surface .hand-card{flex:0 0 60px;width:60px;height:88px;margin:0;transition:box-shadow .15s;filter:none;opacity:1}
.spades-surface .hand-card:not(:disabled):hover,.spades-surface .hand-card:not(:disabled):focus-visible{transform:translateY(-3px);z-index:2}
.spades-surface .hand-card.playable .playing-card{outline:2px solid #d8f49a;outline-offset:1px}
.spades-surface:not(.is-bidding) .hand-card:disabled .playing-card{background:#cbd5cd;color:#526058;border-color:#b4c2b7}
.spades-surface:not(.is-bidding) .hand-card:disabled .playing-card.red{color:#8a4440}
.spades-surface .playing-card{border-radius:7px;box-shadow:inset 0 0 0 1px #d7ceb7,1px 3px #a6aa99,0 5px 10px #0005}
.spades-surface .playing-card .rank{font-size:18px;left:4px;top:4px}
.spades-surface .playing-card .rank.foot{font-size:12px;top:auto;left:auto;bottom:4px;right:4px}
.spades-surface .playing-card.red{color:#b42626}
.spades-surface .hand-card .playing-card>b{font-size:27px}
.spectator-status{padding:14px}
.result-overlay{top:50%;transform:translate(-50%,-50%);max-height:90%}
.table-dialog{padding:25px 20px;max-height:calc(100dvh - 28px)}
.table-dialog>h2{font-size:29px;padding-right:25px}
.table-dialog .sidebar-panel{padding:12px 0 0;border:0;border-radius:0;box-shadow:none;background:none;backdrop-filter:none}
.table-dialog .sidebar-panel .panel-top h3{display:none}
.table-dialog .panel-top{margin-bottom:8px}
.table-dialog .chat-history{min-height:70px;max-height:32dvh}
.table-dialog .quick-reactions button{min-height:40px;font-size:12px}
.table-dialog #table-chat-input{font-size:16px;min-height:46px}
.table-dialog .score-cards small{font-size:12px}.table-dialog .score-cards em{font-size:12px}
.table-dialog .game-events{font-size:14px;max-height:50dvh}
.table-page-dominoes .table-stage{min-height:660px}
@media(max-width:700px){
 .table-page{padding-left:8px;padding-right:8px}
 .table-tools>button{padding:8px 12px}
 .table-tools .score-summary{gap:12px}
 .table-players{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 10px 0;gap:6px}
 .player-tag{min-height:47px;padding:6px 7px;gap:4px}
 .player-tag .player-avatar{display:none}
 .player-tag b{font-size:13px}
 .player-tag em{font-size:11px;padding:3px 4px}
 .player-tag small{font-size:9px;margin-top:2px}
 .spades-center{padding:9px;min-height:150px}
 .spades-center .bid-overlay{padding:11px 10px}
 .bid-overlay h2{font-size:23px}.bid-overlay p{font-size:12px;margin-bottom:10px}
 .bid-choices{gap:5px}
 .spades-surface .hand-block{padding:10px 8px 10px}
 .spades-surface .player-hand{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px 5px;max-width:520px}
 .spades-surface .hand-card{width:100%;height:clamp(65px,9dvh,83px);min-width:0}
 .spades-surface .hand-label{font-size:12px;margin-bottom:10px}
 .spades-center .felt-table{inset:15px 5%;border-width:10px}
 .spades-center .on-table{width:55px;height:77px}
 .spades-center .on-table .playing-card>b{font-size:30px}
 .spades-center .empty-trick{font-size:65px}.empty-trick small{font-size:9px}
 .table-dialog{padding:24px 17px}
 .playing-room .shade{padding:12px}
}
@media(max-width:359px){
 .table-mast.mast{height:56px;min-height:56px;gap:7px;padding:5px 8px}
 .table-brand b{font-size:21px}.table-brand small{font-size:11px}
 .table-back{padding:8px}.table-tools>button{padding:7px 9px}
 .table-tools .score-summary{gap:7px;font-size:12px}.score-summary b{font-size:17px;padding-left:3px}
 .spades-surface .playing-card .rank{font-size:16px;left:3px}
 .spades-surface .hand-card .playing-card>b{font-size:24px}
 .spades-surface .player-hand{column-gap:4px}
 .player-tag b{font-size:12px}.player-tag em{font-size:10px}
 .bid-choices{gap:4px}.bid-choices button{font-size:15px}
}
@media(max-height:600px) and (min-width:701px){
 .table-mast.mast{height:50px;min-height:50px;padding-top:3px;padding-bottom:3px}
 .table-page{padding-top:5px}.table-tools{margin-bottom:5px}
 .table-tools>button{min-height:40px;padding:4px 12px}
 .table-players{margin:6px 10px 0}.player-tag{min-height:39px;padding:4px 7px}.player-avatar{display:none}
 .spades-center{min-height:0;padding:6px}
 .spades-center .bid-overlay{padding:6px 10px;width:100%}
 .bid-overlay h2{font-size:18px;display:inline-block;margin:0 10px 4px 0}
 .bid-overlay p{display:inline-block;font-size:11px;margin:0 0 4px}
 .bid-choices{grid-template-columns:repeat(14,minmax(0,1fr));gap:4px}
 .bid-choices button{min-height:38px;padding:3px 0}
 .spades-surface .hand-block{padding:5px 10px 7px}
 .spades-surface .hand-label{margin-bottom:6px;font-size:12px}
 .spades-surface .player-hand{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:4px;max-width:900px}
 .spades-surface .hand-card{height:60px;width:100%}
 .spades-center .on-table{width:44px;height:61px}
 .spades-center .on-table .playing-card>b{font-size:25px}
}



.hud-shortcuts{gap:6px;max-width:calc(100vw - 24px)}
.hud-shortcuts .hud-button{padding:10px 12px;font-size:14px;min-height:44px;gap:6px;white-space:nowrap}
.dance-stop-hud{position:absolute;top:66px;left:0;max-width:calc(100vw - 30px);padding:9px 14px;min-height:44px;border:1px solid #f1d596;border-radius:16px;background:#183f35;color:#fff4d7;font-weight:800;font-size:14px;font-family:inherit;box-shadow:0 4px 16px #071c1870;pointer-events:auto}
.dance-stop-hud[hidden]{display:none}
.entertainment-dialog{max-width:480px}
.entertainment-dialog h2{font-size:clamp(26px,6.2vw,34px);margin-bottom:16px}
.entertainment-dialog h3{font-size:21px;margin:8px 0}
.entertainment-dialog p{font-size:15px;line-height:1.5}
.entertainment-dialog .choice-list button{min-height:76px;padding:13px 42px 13px 16px}
.dance-choices button[aria-pressed=true]{border-color:#f9da96;background:#255743}
.now-playing{padding:16px;border:1px solid #69917a;border-radius:18px;background:#214535}
.now-playing .kicker{font-size:11px;letter-spacing:1.5px}
.now-playing p{margin:5px 0 0;color:#d7e2cb}
.music-transport{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.music-transport button{min-height:50px;padding:11px;font-size:16px}
.range-label{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
.range-label output{color:#f6d68d;font-variant-numeric:tabular-nums}
input.music-range{display:block;width:100%;box-sizing:border-box;height:44px;padding:8px 0;accent-color:#f3cb76;cursor:pointer;border:0;background:transparent;box-shadow:none}
.entertainment-dialog>label:not(.range-label){display:block;margin-top:14px;margin-bottom:7px}
.entertainment-dialog>select{display:block;width:100%;box-sizing:border-box;min-height:48px;padding:12px;border:1px solid #62816a;border-radius:12px;background:#214535;color:#fff3d7;font:inherit}
.music-error{border-left:3px solid #f4ca76;padding:8px 12px;color:#ffe1ae}
.file-button{display:block;position:relative;overflow:hidden;margin-top:14px;text-align:center;padding:15px 12px;cursor:pointer}
.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}
.file-button:focus-within{outline:3px solid #e8f7ac;outline-offset:3px}
.entertainment-dialog p.small-note{font-size:13px;color:#bfd2be;margin:9px 0 16px}
.music-footer,.dance-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.music-footer button,.dance-actions button{min-height:46px;flex:1 1 140px;font-size:14px;padding:11px}
.entertainment-dialog a{color:#eaf7ac;text-decoration:underline;text-underline-offset:3px}
.entertainment-dialog a.line-button{display:inline-block;padding:13px}
.entertainment-dialog button:disabled{opacity:.5;cursor:default}
@media(max-width:370px){.hud-shortcuts .hud-button{font-size:13px;padding:10px 8px}.entertainment-dialog{padding:22px 18px}.music-transport button{font-size:14px}}



/* Social rooms share the cookout's readable, thumb-friendly controls. */
.community-dialog{width:min(100%,520px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.community-dialog h2{font-size:clamp(26px,6.8vw,35px);line-height:1.1;padding-right:22px}
.community-dialog h3{font-size:21px;margin:8px 0}
.community-dialog p{font-size:15px;line-height:1.5}
.community-dialog .small-note{font-size:13px;line-height:1.45;color:#c5d4bd}
.community-dialog input{width:100%;min-width:0;box-sizing:border-box;min-height:48px;font-size:16px}
.invite-dialog textarea{display:block;width:100%;box-sizing:border-box;min-height:110px;padding:13px;border:1px solid #acbd85;border-radius:12px;background:#f7f0d9;color:#163a2d;font:16px/1.45 system-ui;resize:none;user-select:text;-webkit-user-select:text;overflow-wrap:anywhere}
.invite-status{min-height:42px;color:#e4eec7}.invite-actions{display:flex;flex-wrap:wrap;gap:8px}.invite-actions>button{flex:1 1 110px;padding:12px;font-size:15px;min-height:48px}
.party-audio-note{font-size:13px;color:#d7e3c5;line-height:1.45;margin:8px 0}.external-audio{width:100%;min-height:44px;margin-top:8px;padding:10px 14px}
.community-dialog label{display:block;margin:15px 0 7px}
.community-dialog button,.community-dialog .line-button{min-height:44px}
.community-error{padding:11px 13px;border:1px solid #e5c3807a;border-radius:12px;background:#60472f55;color:#ffe3ae}
.party-join-actions,.party-call-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.party-join-actions>button,.party-call-actions>button{flex:1 1 100px;padding:11px 12px;font-size:14px;min-height:46px}
.party-call-actions [aria-pressed=true]{border-color:#c5e89a;background:#31533e}
.party-call-actions .leave-call{color:#ffd5b9;border-color:#b9856b}
.party-inline{flex:none;margin:0 0 8px;border:1px solid #9dac7966;border-radius:12px;background:#0d2923ef;overflow:hidden}
.party-inline-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 8px;font-size:11px;color:#d9edbc}
.party-inline-top button{border:0;background:none;color:#f6deb1;font:700 11px/1.2 inherit;min-height:30px;padding:4px 5px}
.party-grid{display:flex;gap:6px;padding:5px;overflow-x:auto;min-width:0;scrollbar-width:thin;scrollbar-color:#8e9f6c #102f27}
.party-tile{position:relative;isolation:isolate;flex:0 0 90px;min-width:0;height:66px;border:1px solid #b7ca9059;border-radius:8px;overflow:hidden;background:linear-gradient(145deg,#41634c,#183a32);display:grid;place-items:center}
.party-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.party-tile.self video{transform:scaleX(-1)}
.party-tile video[hidden],.party-avatar[hidden]{display:none}
.party-avatar{font:800 27px 'Outfit',sans-serif;color:#e7edbe;align-self:start;margin-top:6px}
.party-tile-label{position:absolute;bottom:0;left:0;right:0;background:#071e18df;padding:4px 5px;font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.party-tile[data-connection=connecting],.party-tile[data-connection=reconnecting]{border-color:#e3bd71}
.party-tile[data-connection=failed]{border-color:#dd8c6e}
.community-dialog #party-dialog-slot .party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:14px 0}
.community-dialog .party-tile{width:auto;height:auto;min-height:108px;aspect-ratio:16/10}
.community-dialog .party-avatar{margin-top:24px;font-size:38px}
.community-dialog .party-tile-label{font-size:12px;padding:7px}
.party-roster{display:flex;flex-direction:column;gap:8px;margin:16px 0}
.party-roster>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:9px;border:1px solid #a8bb8947;border-radius:12px}
.party-roster>div>span{flex:1 1 120px;min-width:0}
.party-roster b,.party-roster small{display:block;overflow-wrap:anywhere}
.party-roster small{font-size:12px;color:#c4d3b8;margin-top:4px}
.party-roster button{background:#234735;border:1px solid #82926d;color:#f3edd5;border-radius:9px;padding:8px;font:700 12px inherit}
.world-party-call{position:fixed;top:129px;right:12px;width:min(375px,calc(100vw - 24px));pointer-events:auto;z-index:22}
.world-party-call .party-inline{box-shadow:0 8px 25px #031f1555}
.table-tools .score-summary{gap:7px;min-width:0}
.table-tools .party-table-button{padding-left:10px;padding-right:10px}
.table-tools>button{white-space:nowrap}
.playing-spades.has-party-call .spades-center{min-height:125px}
.banter-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}
.banter-choices button{font-size:16px;text-align:left;min-height:66px;padding:12px}
.banter-toast{position:fixed;left:50%;top:72px;transform:translateX(-50%);z-index:120;max-width:min(500px,calc(100vw - 28px));width:max-content;padding:12px 17px;border:1px solid #e7cb80;border-radius:16px;background:#153d2af7;color:#fff5d8;box-shadow:0 8px 24px #03180d60;font-weight:800;font-size:16px;pointer-events:none;overflow-wrap:anywhere}
.banter-toast[hidden]{display:none}
.quick-talk-actions{display:flex;gap:8px;margin:8px 0 12px}
.quick-talk-actions button{flex:1;padding:10px;font-size:14px;min-height:44px}
.dj-host{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #b4c69b40}
.dj-host span{font-size:14px}
.dj-host button{font-size:12px;padding:8px 11px}
.dj-current{padding:15px;background:#284a35;border:1px solid #cbba77;border-radius:15px;margin:15px 0}
.dj-current .line-button{display:inline-flex;align-items:center;justify-content:center;margin:4px 5px 0 0;padding:10px 12px;font-size:13px;color:#f5ebcd;text-decoration:none}
.dj-dialog form .gold-button{margin-top:15px}
.dj-included{display:flex;flex-wrap:wrap;gap:7px;padding:13px 0 18px}
.dj-included>span{flex:1 1 100%;font-size:13px;color:#d6e4c2}
.dj-included button{border:1px solid #8ba779;background:#244b35;border-radius:12px;color:#f3ebd1;padding:9px 12px;font:700 13px inherit}
.dj-queue{list-style:none;padding:0;margin:12px 0 20px;display:flex;flex-direction:column;gap:9px}
.dj-queue li{display:flex;gap:11px;padding:13px 10px;border:1px solid #91a57b60;border-radius:13px;background:#14392b}
.queue-number{display:grid;place-items:center;flex:none;width:25px;height:27px;font:800 18px 'Outfit';color:#e5c77d}
.dj-queue li>div{min-width:0;flex:1}
.dj-queue b{font-size:16px;overflow-wrap:anywhere}.dj-queue small{display:block;font-size:12px;line-height:1.4;color:#c2d3b6;margin:4px 0}
.queue-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.queue-actions button,.queue-actions a{font-size:12px;padding:9px 10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.empty-queue{color:#cedbbd;line-height:1.5}
body.in-house{overflow:auto;min-height:100dvh;background:#122a22}
.house-mast.mast{height:62px;min-height:62px;position:sticky;top:0;padding:7px 12px;gap:12px;flex-wrap:nowrap;background:#0c2824f2;z-index:45}
.house-mast .table-brand b{font-size:22px}.house-mast .menu-toggle{min-width:44px;width:44px;min-height:44px;padding:0;font-size:25px}
.house-page{max-width:1000px;margin:0 auto;padding:24px 16px max(25px,env(safe-area-inset-bottom))}
.house-welcome{padding:5px 3px 24px;text-shadow:0 2px 12px #06180d}
.house-welcome h1{font:800 clamp(29px,6.5vw,48px)/1.06 'Outfit';margin:9px 0}
.house-welcome p{color:#e5e6d0;margin:0;font-size:16px}
.house-invite{margin-top:14px;min-height:44px;padding:10px 15px;background:#183b2de8}
.house-presence{padding:16px;margin:0 0 14px;border:1px solid #c0c59688;border-radius:20px;background:#123b2eed;box-shadow:0 8px 26px #001b1045}
.house-presence .panel-top{gap:9px;margin-bottom:13px}.house-presence h2{font:800 23px 'Outfit';margin:0}.house-sync{font:800 11px 'Outfit';color:#cbefa5;white-space:nowrap;letter-spacing:1px}
.house-guests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.house-guest{display:flex;align-items:center;gap:8px;padding:11px 8px;border:1px solid #b1c39545;border-radius:14px;background:#0b2a22}
.house-guest-avatar{display:grid;place-items:center;flex:none;width:34px;height:38px;border-radius:11px;color:#fff7df;font:800 23px 'Outfit'}
.house-guest>div{min-width:0}.house-guest b{font:700 14px 'Outfit';display:block;overflow-wrap:anywhere}.house-guest em{display:inline-block;font:700 9px 'Outfit';padding:2px 4px;background:#e4d490;color:#19382a;border-radius:4px;margin:2px 0}
.house-guest small{display:block;margin-top:4px;font-size:11px;color:#c3d7b6;line-height:1.3}.house-presence-note,.house-call-intro{font-size:13px;line-height:1.5;color:#d0dfbf;margin:12px 0 0}.house-call-intro{margin:12px 0}
.house-dj-pick{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#183d2f;padding:13px;border:1px solid #bdc38b80;border-radius:15px;margin-bottom:15px}.house-dj-pick>span{font:800 10px 'Outfit';letter-spacing:1px;color:#e6d184}.house-dj-pick>b{font-size:16px;flex:1;overflow-wrap:anywhere}.house-dj-pick button{padding:8px 11px;font-size:12px;min-height:44px}
@media(min-width:760px){.house-guests{grid-template-columns:repeat(4,minmax(0,1fr))}}
.house-stage,.house-chat{padding:16px;border:1px solid #c0c59677;border-radius:20px;background:#102e26e8;box-shadow:0 8px 26px #001b1045;backdrop-filter:blur(8px)}
.house-stage h2,.house-chat h2{font-size:22px;line-height:1.2;margin:0}
.house-stage .panel-top>button{min-height:44px;padding:9px 12px;font-size:12px}
.house-stage .party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:8px}
.house-stage .party-tile{flex:auto;height:auto;min-height:125px;aspect-ratio:16/10}
.house-stage .party-avatar{margin-top:27px;font-size:44px}
.house-stage .party-tile-label{font-size:12px;padding:7px}
.house-empty-seats{min-height:160px;border:1px dashed #aabc8d77;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px;text-align:center;background:radial-gradient(ellipse at top,#b4c27822,transparent)}
.house-empty-seats>span{font-size:44px;color:#e4c47b}.house-empty-seats b{font:700 21px 'Outfit';margin:4px 0}.house-empty-seats p{font-size:14px;color:#cbdac1;margin:4px 0}
.house-reactions{display:flex;justify-content:center;gap:8px;margin:16px 0}
.house-reactions button{border:1px solid #ccca8a66;border-radius:14px;background:#16392de8;min-width:44px;min-height:46px;font-size:24px}
.house-links{display:flex;gap:8px;margin:15px 0;flex-wrap:wrap}
.house-links button{flex:1 1 100px;min-height:48px;padding:10px 9px;font-size:13px;background:#173c30ee}
.house-chat .panel-top{gap:8px;margin-bottom:8px}
.house-chat .panel-top small{font-size:10px;letter-spacing:.7px}
.house-chat-history{max-height:245px;overflow:auto;display:flex;flex-direction:column;gap:2px;padding:5px 0 13px;scrollbar-width:thin}
.house-chat-history p{font-size:15px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.house-chat-history b{color:#dfedb4}
.house-chat form{display:flex;gap:8px}.house-chat input{min-width:0;flex:1;min-height:48px;font-size:16px}.house-chat form button{flex:none;padding:10px 14px;font-size:14px;min-height:48px}
.dice-game{flex:1;display:flex;align-items:center;flex-direction:column;padding:22px 18px;gap:15px;text-align:center;background:radial-gradient(ellipse at 50% 32%,#43785233,transparent 70%)}
.dice-game h2{font:800 29px 'Outfit';margin:0}.dice-game .kicker{font-size:11px;letter-spacing:1.7px}
.dice-pair{display:flex;gap:19px;margin:4px 0}
.dice-face{display:grid;place-items:center;width:84px;height:84px;padding:12px;border-radius:15px;background:linear-gradient(135deg,#fffdf0,#d7d8c8);color:#14392a;box-shadow:inset 0 0 0 2px #fff6,0 5px 0 #7f8876,0 8px 18px #011b1655}
.dice-face .pip-grid{display:grid;width:100%;height:100%;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px}.dice-face .pip-grid i{width:13px;height:13px;margin:auto;background:#18372b}.unrolled{font:800 42px 'Outfit';color:#53715a}
.dice-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:650px}
.dice-results>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 8px;border:1px solid #acbb8a50;border-radius:12px;background:#0b2c23}
.dice-results b{font-size:13px;line-height:1.2;overflow-wrap:anywhere}.dice-results span{font-size:14px;color:#f3dfb2}.dice-results small{font-size:12px;color:#c9dcad}
.dice-results .dice-turn{border-color:#edce88;box-shadow:0 0 0 1px #c5b47455}
.dice-roll{min-width:240px;min-height:52px;padding:12px;font-size:17px}.dice-roll:disabled{opacity:.55}
.dice-rules{font-size:13px;line-height:1.5;max-width:430px;color:#cbdec1;margin:0}.dice-tie{font-size:13px;color:#f2d89b;margin:0}
.dice-round-result h3{font:800 24px 'Outfit';margin:0 0 13px}.dice-round-result button{min-height:48px;padding:12px 22px}
@media(min-width:760px){.house-stage .party-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.house-page{padding-top:35px}.house-stage,.house-chat{padding:22px}}
@media(max-width:450px){.table-tools{gap:5px}.table-tools>button{padding:7px 9px;font-size:12px}.table-tools .score-summary{gap:6px;padding:7px}.score-summary b{font-size:17px;padding-left:1px}.score-chevron{display:none}.party-roster>div>span{flex-basis:100%}.community-dialog{padding:24px 17px}.house-page{padding:21px 12px}.house-stage,.house-chat{padding:13px}.house-stage .panel-top h2{font-size:20px}}
@media(max-height:720px){.playing-spades.has-party-call .party-tile{height:48px}.playing-spades.has-party-call .party-avatar{font-size:20px;margin-top:2px}.playing-spades.has-party-call .party-inline-top{font-size:10px}.playing-spades.has-party-call .spades-center{min-height:100px}.playing-spades.has-party-call .bid-overlay{padding:8px 10px}.playing-spades.has-party-call .bid-overlay h2{font-size:20px}}

/* Keep each partnership on one axis, relative to the person holding the phone. */
.spades-compass.spades-center{min-height:270px;padding:0;isolation:isolate}
.spades-compass .felt-table{inset:34px 24px;border-width:9px;z-index:-1}
.spades-seat{position:absolute;z-index:2;width:96px;max-width:28%}
.spades-seat .player-tag{min-height:50px;height:auto;flex-wrap:wrap;justify-content:center;gap:3px;padding:6px;text-align:center;border-radius:12px}
.spades-seat .player-avatar{display:none}
.spades-seat .player-name{flex:1 1 100%;overflow:hidden}
.spades-seat .player-name b{font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.spades-seat .player-name small{font-size:9px;margin-top:2px}
.spades-seat .player-tag em{font-size:10px;padding:2px 5px}
.spades-seat.seat-north,.spades-seat.seat-south{left:50%;transform:translateX(-50%);width:190px;max-width:55%}
.spades-seat.seat-north{top:8px}.spades-seat.seat-south{bottom:8px}
.spades-seat.seat-west{left:7px;top:50%;transform:translateY(-50%)}
.spades-seat.seat-east{right:7px;top:50%;transform:translateY(-50%)}
.spades-compass .on-table{width:46px;height:64px}
.spades-compass .on-table .playing-card>b{font-size:25px}
.spades-compass .on-table .playing-card .rank{font-size:13px;top:3px;left:3px}
.spades-compass .on-table .playing-card .rank.foot{font-size:10px;top:auto;left:auto;bottom:2px;right:2px}
.spades-compass .empty-trick{font-size:48px}.spades-compass .empty-trick small{max-width:120px;font-size:9px;line-height:1.4;margin:auto}
.compass-mark{position:absolute;inset:0;display:grid;place-items:center;font-size:48px;color:#cce6a331}
.spades-compass.compact-compass{flex:0 0 158px;min-height:158px}
.compact-compass .felt-table{inset:28px 25px}.compact-compass .player-tag{min-height:43px}
.compact-compass .seat-north{top:5px}.compact-compass .seat-south{bottom:5px}
.compact-compass .seat-north,.compact-compass .seat-south{width:min(190px,calc(100% - 218px));min-width:132px}
.spades-bid-panel{padding:0 9px 9px;flex:none}
.spades-bid-panel .bid-overlay{position:static;transform:none;width:100%;max-width:600px;margin:auto;padding:10px 12px;border:1px solid #c3ce9877;border-radius:13px;box-shadow:none;background:#0c3025}
.spades-bid-panel .bid-overlay h2{font-size:22px;line-height:1.1}.spades-bid-panel .bid-overlay p{margin:5px 0 9px;font-size:12px}
.spades-bid-panel .bid-choices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.spades-bid-panel .bid-choices button{min-height:40px;padding:5px 0;font-size:16px}
.spades-bid-panel .bid-waiting{padding:9px}.spades-bid-panel .bid-waiting b{font-size:18px}.spades-bid-panel .bid-waiting span{font-size:12px}
body.playing-spades #app{overflow-y:auto}
.table-page-spades .table-stage{overflow:visible;min-height:min-content}
.table-page-spades .table-layout{flex-shrink:0}
.playing-spades.has-party-call .party-inline .party-tile{height:68px}
.playing-spades.has-party-call .party-inline .party-avatar{margin-top:8px;font-size:27px}
@media(min-width:701px){.spades-seat{width:150px}.spades-seat .player-name b{font-size:14px}.spades-seat.seat-north,.spades-seat.seat-south{width:230px}.spades-compass .felt-table{inset:35px 9%}.spades-compass .on-table{width:60px;height:84px}.spades-compass.spades-center{min-height:295px}.spades-compass.compact-compass{min-height:158px}}

/* Dominoes wind across a bounded board; the entire hand remains in rows. */
.table-page-dominoes .table-stage{min-height:0;overflow:hidden}
.domino-surface{position:relative;display:flex;flex-direction:column;gap:14px;padding:12px;min-height:0}
.domino-surface .domino-board{position:relative;width:100%;height:auto;min-height:150px;margin:0;padding:12px 5px 5px;border:8px solid #976d47;border-radius:30px;transform:none;background:radial-gradient(ellipse at 45% 30%,#b18559,#805635);box-shadow:0 5px 0 #65482f,inset 0 0 0 2px #e1b881,inset 0 0 28px #603a2455}
.domino-board .ends-label{position:static;inset:auto;transform:none;width:auto;display:flex;justify-content:space-between;gap:7px;padding:0 9px 6px;font:700 10px/1.4 'DM Sans';letter-spacing:.4px;color:#fff2d5}
.ends-label span{display:flex;gap:4px;align-items:center}.ends-label b{font-size:13px;color:#fff9e6}
.domino-board-svg{display:block;width:100%;height:auto;overflow:visible;max-width:650px;margin:auto}
.chain-path{fill:none;stroke:#e6bd7f;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;opacity:.8}
.board-bone rect{fill:#f5efdd;stroke:#d2c5a7;stroke-width:1.5;filter:drop-shadow(0 3px 2px #42280f66)}
.board-bone circle{fill:#243b2a}.board-bone .bone-divider{stroke:#75816b;stroke-width:1.5}
.chain-end-label{fill:#fff5db;text-anchor:middle;font:800 8px 'DM Sans';letter-spacing:1px}
.chain-end-label text:first-child{transform:translateY(-12px)}
.domino-empty{min-height:135px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff2d5;text-align:center;padding:12px}
.domino-empty>span{font-size:36px;opacity:.7}.domino-empty b{font:800 18px 'Outfit'}.domino-empty p{font-size:12px;margin:5px 0}
.domino-surface .domino-hand{position:static;padding:8px 0 3px;width:100%}
.domino-hand .hand-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 13px;font:700 12px/1.4 'DM Sans';letter-spacing:0;text-transform:none;text-align:left}
.domino-hand .hand-label>span{font-size:11px;white-space:nowrap;color:#c5d5b9}
.domino-hand .bone-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px 7px;max-width:650px;margin:auto;padding:4px 3px 9px;overflow:visible}
.domino-hand .bone-choice{display:flex;justify-content:center;align-items:center;min-width:0;width:100%;min-height:72px;border:0;border-radius:9px;padding:3px;background:none;box-shadow:none;cursor:pointer}
.domino-hand .bone-choice:disabled{cursor:default;opacity:.72}
.domino-hand .bone-choice.can-play{background:#ceea9330;box-shadow:0 0 0 1px #d5ef9c}
.domino-hand .bone-choice.selected-bone{background:#edc77d;box-shadow:0 0 0 2px #ffdf9c;transform:translateY(-3px)}
.domino-hand .bone-choice:focus-visible{outline:3px solid #fff7c4;outline-offset:3px}
.domino-hand .bone-choice .domino-tile{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;width:100%;max-width:46px;height:74px;min-width:0;margin:0;border:2px solid #dad7bd;border-radius:7px;transform:none;background:linear-gradient(120deg,#fffdf1,#dcdcc6);box-shadow:inset 0 0 0 1px #fff,0 3px 0 #a3a990}
.domino-hand .domino-half{width:100%;height:32px;padding:4px;display:grid;place-items:center}
.domino-hand .pip-grid{width:24px;height:24px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}
.domino-hand .pip-grid i{width:5px;height:5px;margin:auto}
.domino-hand .tile-divider{flex:none;width:78%;height:2px;margin:0;background:#7e8876}
.bone-placement{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;min-height:56px;margin:8px 0 0;padding:10px;border:1px solid #dbce8d55;border-radius:12px;background:#183d2d}
.bone-placement span{font-size:13px}.bone-placement button{min-height:44px;flex:1 1 90px;padding:9px;font-size:13px}
.bone-prompt{min-height:33px;margin:11px 0 0;font-size:12px;text-align:center;color:#d7e0c1}
.domino-hand .draw-button{margin:15px auto 0;min-height:46px;padding:10px 20px;font-size:14px;display:block}
.table-page-dominoes .party-inline .party-tile{height:76px}.table-page-dominoes .party-inline .party-avatar{font-size:28px;margin-top:10px}
@media(min-width:701px){.domino-surface{padding:20px;gap:20px}.domino-hand .bone-row{grid-template-columns:repeat(10,minmax(0,1fr))}.domino-board .ends-label{font-size:12px}.domino-hand .hand-label{font-size:14px}}
@media(max-width:359px){.domino-surface{padding:8px}.domino-hand .bone-row{gap:12px 6px;grid-template-columns:repeat(5,minmax(0,1fr))}.spades-seat{width:79px}.spades-seat .player-name b{font-size:11px}.spades-compass .on-table{width:40px;height:56px}}

.connection-banner{position:relative;z-index:20;display:flex;align-items:center;justify-content:center;gap:12px;background:#f3d18e;color:#20392b;padding:10px 14px;font-size:13px;font-weight:700}
.connection-banner .line-button{min-height:40px;padding:8px 12px;background:#1b4635;color:#fff6d9;flex:none}
.permission-dialog{max-height:calc(100dvh - 24px);overflow:auto}
.permission-dialog h2{padding-right:20px;font-size:29px}.permission-dialog>p{font-size:14px;line-height:1.5}
.permission-steps{padding-left:22px;margin:16px 0}.permission-steps li{padding:0 0 14px 5px;font-size:14px;line-height:1.55;color:#dde7cf}.permission-steps li>b{display:block;color:#fff3ce;font-size:16px;margin-bottom:3px}.permission-steps strong{color:#fff3ce;font-weight:600;overflow-wrap:anywhere}
.permission-help-link{min-height:44px;padding:10px 14px;font-size:13px}.permission-retry{display:grid;gap:8px;margin:17px 0 12px}.permission-retry button{min-height:46px;font-size:14px}.permission-guide{display:inline-block;padding:10px 0;color:#f5d790;font-size:14px}
.community-error p{margin:0 0 8px}.community-error .permission-help-link{background:#254732;width:100%}

/* A compact room built around people, conversation, and reachable call controls. */
.house-live-page{max-width:1140px;padding:12px 12px calc(96px + env(safe-area-inset-bottom));color:#f9f2dc}
.house-mast.mast{height:64px;min-height:64px;padding:7px 12px;gap:10px;background:#0c2824f7;border-bottom:1px solid #abc5a633}
.house-mast .table-back{min-width:62px;min-height:44px;padding:9px;font-size:14px;border-radius:13px}
.house-mast .table-brand{flex:1;min-width:0}.house-mast .table-brand b{font:800 21px/1.15 'Outfit';letter-spacing:-.2px}
.house-mast .table-brand small{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:4px;color:#cadbc5;white-space:nowrap}
.house-mast .live-light{width:6px;height:6px;margin:0}
.house-invite-button{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #e0c27788;border-radius:13px;background:#d9c17a18;color:#ffe4a2;font:700 13px 'DM Sans'}
.house-invite-button svg{width:17px;height:17px}
.house-people-strip{display:flex;align-items:center;gap:11px;width:100%;min-height:60px;border:1px solid #a9c6a336;border-radius:16px;background:#102d24ed;padding:9px 12px;text-align:left;color:#fbf3dc;margin-bottom:12px}
.house-avatar-stack{display:flex;flex:none;padding-left:5px}.house-avatar-stack>span{margin-left:-5px;display:block}.house-avatar-stack .house-guest-avatar{width:29px;height:32px;border:2px solid #153529;border-radius:11px;font:800 16px 'Outfit'}
.house-people-strip>span:nth-child(2){min-width:0;flex:1}.house-people-strip b{display:block;font:700 14px 'Outfit'}.house-people-strip small{display:block;color:#bcd0bb;font-size:11px;margin-top:2px}.house-strip-arrow{font-size:25px;color:#dcc786}
.house-live-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.house-live-main{min-width:0}
.house-live-page .house-stage,.house-live-page .house-chat{padding:13px;border:1px solid #a9c6a34f;border-radius:20px;background:#0b2922f5;box-shadow:0 9px 26px #02181150;backdrop-filter:blur(4px)}
.house-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.house-stage-heading>div{min-width:0}
.house-stage-heading .kicker{font-size:8px;letter-spacing:1.7px;color:#b9c998;line-height:1.4}.house-stage-heading .kicker:before{display:none}
.house-stage-heading h2{font:800 24px/1.05 'Outfit';letter-spacing:-.4px;margin:5px 0 0}
.house-call-count{display:flex;gap:5px;align-items:center;flex:none;font:700 11px 'DM Sans';background:#254b37;color:#d7efb5;padding:7px 9px;border-radius:20px}
.house-call-count .live-light{width:5px;height:5px;margin:0}
.house-live-page .house-stage .party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding:0;max-height:52dvh;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}
.house-live-page .house-stage .party-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.house-live-page .house-stage .party-tile{flex:none;width:100%;height:auto;min-height:118px;aspect-ratio:4/3;border:1px solid #98bd8a55;border-radius:15px;background:radial-gradient(ellipse at 35% 15%,#395942,#143a2f 80%);overflow:hidden}
.house-live-page .house-stage .party-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.house-live-page .house-stage .party-grid[data-count="1"] .party-tile{aspect-ratio:16/9;max-height:260px}
.house-live-page .house-stage .party-grid[data-count="2"] .party-tile{aspect-ratio:1}
.house-live-page .house-stage .party-avatar{align-self:center;display:grid;place-items:center;margin:0 0 34px;width:64px;height:64px;border:1px solid #b9cf8f42;border-radius:50%;background:#47644866;font-size:38px;color:#e6eec5}
.party-tile-label .party-tile-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:800;line-height:1.3}
.party-tile-label .party-tile-devices{display:block;font-size:9px;font-weight:400;line-height:1.4;white-space:normal;color:#d7e2c5}
.house-live-page .house-stage .party-tile-label{padding:8px 9px;background:linear-gradient(0deg,#071c17f5,#071c17df);white-space:normal}
.house-live-page .house-stage .party-tile-name{font:700 14px/1.3 'Outfit'}.house-live-page .house-stage .party-tile-devices{font-size:10px;margin-top:2px;white-space:nowrap}
.party-connection-label{position:absolute;top:7px;left:7px;right:auto;max-width:calc(100% - 14px);padding:4px 7px;border-radius:8px;background:#19372cec;color:#f7d596;font:700 9px/1.25 'DM Sans';z-index:2}
.party-connection-label[hidden]{display:none}.party-tile[data-connection=failed] .party-connection-label{color:#ffc9b4}
.community-dialog .party-tile-name{font-size:13px}.community-dialog .party-tile-devices{font-size:10px}
.house-live-page .house-stage .party-grid[data-cameras="0"][data-count="5"],.house-live-page .house-stage .party-grid[data-cameras="0"][data-count="6"],.house-live-page .house-stage .party-grid[data-cameras="0"][data-count="7"],.house-live-page .house-stage .party-grid[data-cameras="0"][data-count="8"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.house-live-page .house-stage .party-grid[data-cameras="0"]:is([data-count="5"],[data-count="6"],[data-count="7"],[data-count="8"]) .party-tile{aspect-ratio:1;min-height:112px}
.house-live-page .house-stage .party-grid[data-cameras="0"]:is([data-count="5"],[data-count="6"],[data-count="7"],[data-count="8"]) .party-tile-devices{font-size:8px;white-space:normal}
.house-live-page .house-stage .party-grid[data-cameras="0"]:is([data-count="5"],[data-count="6"],[data-count="7"],[data-count="8"]) .party-avatar{width:43px;height:43px;font-size:27px}
.house-call-empty{min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px 14px;text-align:center;border:1px dashed #abc4914f;border-radius:16px;background:radial-gradient(ellipse at top,#57754530,transparent 70%)}
.house-empty-icon{width:45px;height:45px;display:grid;place-items:center;color:#ecd292;border:1px solid #c5d09855;border-radius:15px;background:#8f976a15}.house-empty-icon svg{width:25px;height:25px}
.house-call-empty h2{font:800 23px 'Outfit';margin:10px 0 6px}.house-call-empty p{font-size:13px;line-height:1.55;margin:0;color:#bdd4be}.house-call-empty button{margin-top:14px;min-height:42px;padding:8px 14px;font-size:12px}
.house-join-hint{font-size:12px;text-align:center;color:#cadfc1;margin:10px 0 1px}.house-enable-sound{width:100%;margin-top:12px;min-height:44px}
.house-live-page .community-error{margin-top:12px;font-size:13px}
.house-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0}
.house-activities button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:45px;padding:8px 5px;border:1px solid #adc58e45;border-radius:13px;background:#193c2eef;color:#efefd6;font:700 11px 'DM Sans'}
.house-activities svg{width:17px;height:17px;flex:none}.house-activities span{min-width:0}
.house-now-playing{display:flex;align-items:center;gap:11px;width:100%;min-height:50px;padding:7px 13px;background:linear-gradient(110deg,#b0945130,#1c3e2cf0);border:1px solid #b6bc7e4f;border-radius:15px;color:#f1e7c7;text-align:left}
.house-now-playing>svg{width:23px;height:23px;flex:none;color:#ecc97a}.house-now-playing>span:nth-child(2){flex:1;min-width:0}.house-now-playing small{display:block;font:800 8px 'DM Sans';letter-spacing:1.6px;color:#d7ce98}.house-now-playing b{display:block;font:700 13px/1.3 'Outfit';white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.house-now-playing>span:last-child{font-size:24px}
.house-live-page .house-chat .panel-top{margin:0 0 9px;gap:8px}.house-live-page .house-chat h2{font:800 21px 'Outfit'}
.house-chat-live{display:flex;align-items:center;gap:5px;font-size:10px;color:#b9d1b7}.house-chat-live .live-light{width:5px;height:5px;margin:0}
.house-live-page .house-chat-history{min-height:68px;max-height:98px;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 5px;gap:0;scrollbar-width:thin}
.house-live-page .house-chat-history p{display:flex;gap:8px;align-items:baseline;margin:4px 0;padding:3px 0;font-size:14px;line-height:1.45}
.house-live-page .house-chat-history b{font:700 12px/1.4 'Outfit';color:#cfdda4;flex:none;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.house-live-page .house-chat-history p>span{min-width:0;overflow-wrap:anywhere;color:#f0eedc}
.house-chat-empty{display:flex;flex-direction:column;gap:6px;padding:12px 0;color:#b9cebb;font-size:13px}.house-chat-empty b{font-size:14px!important;max-width:none!important;color:#deebc4!important;white-space:normal!important}
.house-live-page .house-reactions{justify-content:space-between;gap:5px;margin:7px 0 10px;padding:7px 0 0;border-top:1px solid #b3c69526}
.house-live-page .house-reactions button{flex:1;min-width:40px;min-height:40px;padding:5px;border-radius:11px;font-size:23px;background:#234432;border-color:#a7c48b36}
.house-live-page .house-chat form{gap:8px}.house-live-page .house-chat input{background:#061e18;border:1px solid #9cb38c55;border-radius:12px;padding:12px;color:#fff6df;min-height:46px}.house-live-page .house-chat input::placeholder{color:#a8bda6}
.house-live-page .house-chat form button{border-radius:12px;min-height:46px;padding:10px 14px;font-size:13px}
.house-call-dock{position:fixed;z-index:48;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;gap:7px;width:min(100%,1140px);padding:9px 12px calc(10px + env(safe-area-inset-bottom));border:1px solid #b5c58e4f;border-bottom:0;border-radius:22px 22px 0 0;background:#09251ff5;box-shadow:0 -10px 32px #00170e66;backdrop-filter:blur(12px)}
.house-dock-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;flex:1;min-height:58px;padding:7px 3px;border:1px solid #a5bc8d45;border-radius:14px;background:#1b392d;color:#e4e9ce;font:700 11px 'DM Sans'}
.house-dock-button svg{width:22px;height:22px}.house-dock-button.call-active{border-color:#c9db87;background:#355737;color:#edf5ca}.house-dock-button.call-primary{background:linear-gradient(135deg,#ffe7a4,#e9bd6a);color:#20352a;border-color:#ffe1a0}.house-dock-button.call-leave{color:#ffc4ad;background:#573b2e;border-color:#b77e645f}.house-dock-button:disabled{opacity:.65}.house-dock-wait{flex:3;align-self:center;font-size:14px;padding:12px}
.house-people-dialog .house-presence{border:0;box-shadow:none;background:none;padding:18px 0 10px;margin:0}.house-people-dialog .house-guests{grid-template-columns:1fr}.house-people-dialog .house-guest small{font-size:12px}.house-people-dialog>.full{padding:12px;min-height:44px}
@media(max-width:759px){.house-live-page{padding-top:10px}.house-people-strip{min-height:54px;margin-bottom:10px}.house-stage-heading{margin-bottom:10px}.house-stage-heading .kicker{display:none}.house-stage-heading h2{margin:0}}
@media(min-width:760px){.house-live-page{padding-top:18px}.house-live-layout{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:18px;align-items:start}.house-live-page .house-chat{position:sticky;top:81px;padding:18px}.house-live-page .house-chat-history{min-height:260px;max-height:calc(100dvh - 350px)}.house-live-page .house-stage{padding:18px}.house-stage-heading h2{font-size:29px}.house-stage-heading .kicker{font-size:9px}.house-activities button{font-size:13px;min-height:49px}.house-live-page .house-stage .party-grid[data-count="2"] .party-tile{aspect-ratio:4/5;max-height:350px}.house-call-dock{left:50%;width:min(calc(100% - 32px),780px);bottom:12px;border-bottom:1px solid #b5c58e4f;border-radius:20px;padding-bottom:9px}.house-people-strip{max-width:530px}.house-dock-button{flex-direction:row;gap:10px;font-size:14px;min-height:50px}.house-live-page .house-chat-history b{font-size:13px}.house-live-page .house-chat-history p{font-size:15px}}
@media(max-width:359px){.house-live-page{padding-left:8px;padding-right:8px}.house-mast.mast{padding-left:8px;padding-right:8px}.house-mast .table-brand b{font-size:19px}.house-invite-button{padding:8px}.house-invite-button span{display:none}.house-stage-heading h2{font-size:22px}.house-stage-heading .kicker{font-size:7px}.house-activities button{font-size:10px;gap:4px}.house-live-page .house-stage .party-tile-devices{font-size:9px}.house-call-dock{padding-left:8px;padding-right:8px;gap:5px}.house-dock-button{font-size:10px}.house-avatar-stack>span:nth-child(n+5){display:none}}

.spades-score-total{display:block;line-height:1.1;white-space:nowrap}.spades-score-total small{display:block;font-size:10px;font-weight:600;letter-spacing:.02em;color:#c5d5b7;margin-top:4px}
.spades-round-progress{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;flex:none;margin:0 0 8px}.spades-team-progress{min-width:0;border:1px solid #cdddab30;background:#102f28e8;border-radius:10px;padding:7px 10px}.spades-team-progress>span{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px}.spades-team-progress strong{font-size:12px;color:#fcf0d2}.spades-team-progress>small{display:block;font-size:11px;margin-top:4px;color:#cbd9b8}.spades-team-progress em{display:block;font-size:10px;line-height:1.35;margin-top:4px;font-style:normal;color:#ffe2a2}.spades-team-progress.bags-warning{border-color:#eec06a99;background:#493c20}.spades-round-progress>p{grid-column:1/-1;margin:0;font-size:10px;line-height:1.35;text-align:center;color:#dfdbb3}.spades-round-progress>p span{display:block;color:#aabdaf}
.spades-rules{margin-top:16px;border-top:1px solid #d4e4bd35;padding-top:14px}.spades-rules h4{margin:0 0 8px;font-size:16px;color:#f8dfa6}.spades-rules p{font-size:13px;line-height:1.5;margin:8px 0}.spades-rules small{display:block;font-size:11px;color:#b6c7b5;line-height:1.5}
.spades-results{display:grid;gap:8px;margin:12px 0 16px;text-align:left}.spades-result-team{background:#071e17;border:1px solid #dbcf9c50;border-radius:13px;overflow:hidden}.spades-result-team header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#173a2e}.spades-result-team header small{font-size:11px;font-weight:500;color:#baceb6;margin-left:5px}.spades-result-team header strong{font-size:24px;color:#f5cf7f}.spades-score-lines{display:grid;grid-template-columns:1fr auto;gap:6px;padding:10px 12px;font-size:12px;color:#c9d5c1}.spades-score-lines b{color:#f6eedb}.spades-score-lines .bag-penalty{color:#ffc1a1}.spades-result-team footer{display:flex;justify-content:space-between;gap:7px;padding:8px 12px;border-top:1px solid #d7d4ad26;font-size:11px;color:#c8d9bd}.spades-result-team footer b{color:#f7dba0}.table-page-spades .result-card{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}.table-page-spades .result-card h2{font-size:23px}
@media(min-width:760px){.spades-round-progress>p span{display:inline;margin-left:7px}.spades-team-progress>span,.spades-team-progress strong{font-size:13px}}
@media(max-width:359px){.table-tools .score-summary{gap:4px;padding:6px 5px}.spades-score-total small{font-size:9px}.spades-team-progress{padding:6px}.spades-team-progress>span,.spades-team-progress strong{font-size:11px}.spades-team-progress>small{font-size:10px}}

/* Dice Corner: a mobile-first ground circle with the action within reach. */
.table-page-dice{max-width:850px}.table-page-dice .table-stage{min-height:0;background:linear-gradient(155deg,#173b30f5,#0a211bdc);border:1px solid #c1c9a85c;border-radius:19px;padding:0;overflow:visible}.table-page-dice .table-stage:before{display:none}
.dice-street.dice-game{display:block;padding:16px 14px 12px;background:none;text-align:left;min-width:0}.dice-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.dice-heading .kicker{font-size:10px;letter-spacing:2px}.dice-heading .kicker:before{width:15px;margin-right:7px}.dice-target{font:800 10px Outfit,sans-serif;letter-spacing:1px;color:#e6d3aa;border:1px solid #e8d1a333;border-radius:20px;padding:5px 9px;background:#1d3a30}
.dice-status{min-height:66px;margin-top:10px}.dice-street .dice-status h2{font:800 clamp(20px,5.6vw,28px)/1.12 Outfit,sans-serif;letter-spacing:-.5px;margin:0 0 5px;color:#fff3d9}.dice-status p{font:500 12px/1.4 Inter,sans-serif;color:#c8d0b9;margin:0;max-width:96%}
.dice-ring{position:relative;isolation:isolate;height:340px;min-width:0;border-radius:14px;overflow:hidden;border:1px solid #a6977759;background:radial-gradient(ellipse at 30% 0%,#ad8e4b38,transparent 65%),radial-gradient(circle at 12% 15%,#d3c9ac22 0 .7px,transparent 1px) 0 0/7px 11px,radial-gradient(circle at 65% 62%,#111d1749 0 .8px,transparent 1.2px) 2px 4px/6px 8px,linear-gradient(135deg,#4e4b40,#343c33 58%,#474638);box-shadow:inset 0 0 60px #0c130b80,0 9px 24px #0003}
.dice-chalk{position:absolute;inset:41px 29px;border:2px dashed #ede3c36b;transform:rotate(-4deg);border-radius:3px;z-index:-1;box-shadow:0 0 0 1px #cbbf9d13}.dice-chalk:after{content:"";position:absolute;inset:5px -4px -4px 4px;border:1px solid #d5caae2b;border-radius:2px}
.dice-seat{position:absolute;z-index:2;width:89px;padding:7px 6px;border:1px solid #c6cdb24d;border-radius:10px;background:#0d2b24ed;box-shadow:0 5px 14px #0004;color:#fff2d7;transition:border-color .2s}.dice-seat-person{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.dice-seat-person>span:last-child{min-width:0}.dice-seat b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 11px/1.2 Outfit,sans-serif}.dice-seat small{display:block;font:700 8px/1.2 Inter,sans-serif;letter-spacing:.6px;color:#c1cbae;margin-top:3px}.dice-avatar{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;border-radius:50%;background:hsl(var(--avatar),27%,41%);font:800 12px Outfit,sans-serif}.dice-seat-roll{display:block;font:500 10px Inter,sans-serif;text-align:center;margin-top:5px;color:#e4ddc4}.dice-seat-roll strong{color:#ffdb8d;font-weight:800}.dice-win-track{display:flex;gap:4px;align-items:center;justify-content:center;margin-top:7px}.dice-win-track i{display:block;width:6px;height:6px;border-radius:50%;border:1px solid #cbd2b57a;background:#203f32}.dice-win-track i.earned{background:#f0c77d;border-color:#f7dca0;box-shadow:0 0 6px #f0c77d44}.dice-win-track small{margin:0 0 0 2px;font-size:8px;letter-spacing:0}
.dice-seat-south,.dice-seat-north{left:50%;transform:translateX(-50%);width:142px}.dice-seat-south{bottom:11px}.dice-seat-north{top:11px}.dice-seat-west{left:8px;top:50%;transform:translateY(-50%)}.dice-seat-east{right:8px;top:50%;transform:translateY(-50%)}.dice-seat-west .dice-avatar,.dice-seat-east .dice-avatar{display:none}.dice-seat-northwest{left:15px;top:12px;width:129px}.dice-seat-northeast{right:15px;top:12px;width:129px}
.dice-seat.dice-turn{border-color:#f1ce83;box-shadow:0 0 0 1px #f1ce8360,0 5px 14px #0004}.dice-turn .dice-seat-roll{color:#ffdb8d}.dice-seat.dice-out{opacity:.65}.dice-seat.dice-winner{background:#35553b;border-color:#f1ce83}
.dice-throw-area{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:142px;text-align:center;z-index:1}.dice-roll-caption{display:block;font:800 8px Outfit,sans-serif;letter-spacing:1.4px;color:#e7ddc3;margin-bottom:12px}.dice-street .dice-pair{display:flex;justify-content:center;gap:15px;margin:0 0 13px;min-height:61px;perspective:400px}.dice-street .dice-face{flex:0 0 55px;width:55px;height:55px;padding:8px;border-radius:10px;background:linear-gradient(135deg,#fff4d8 10%,#ebe4cf 62%,#c5bfaa);border:1px solid #fff7e0;box-shadow:inset 2px 2px 0 #fff8eaaa,2px 4px 0 #a39d86,3px 6px 0 #7f7c68,5px 13px 12px #0007;transform:rotate(-12deg)}
.dice-street .dice-face:nth-child(2){transform:rotate(17deg) translateY(-4px)}.dice-street .dice-face .pip-grid{gap:2px}.dice-street .dice-face .pip-grid i{width:8px;height:8px;border-radius:50%;background:#263027;box-shadow:inset 1px 1px 2px #0009,0 1px 0 #fff6}.dice-street .unrolled{font-size:27px;color:#65705a}.dice-total{display:flex;justify-content:center;align-items:center;gap:7px;min-height:32px;font:600 10px/1.25 Inter,sans-serif;color:#f4e6c5}.dice-total>b{font:800 30px/.9 Outfit,sans-serif;color:#ffe6a4}.dice-total>span{max-width:90px;overflow-wrap:anywhere}.dice-total small{display:block;font-size:10px;color:#cfccb6;margin-top:3px}.dice-ground-mark{position:absolute;bottom:103px;left:50%;transform:translateX(-50%);font:800 7px Outfit,sans-serif;letter-spacing:2px;white-space:nowrap;color:#d8ceb94d}
.dice-action-row{display:flex;gap:9px;margin-top:13px;align-items:stretch}.dice-street .dice-roll{display:flex;justify-content:center;align-items:center;gap:10px;flex:1;min-width:0;min-height:57px;padding:12px 9px;font:800 17px Outfit,sans-serif;box-shadow:0 4px 12px #0003}.dice-roll>span{font-size:25px;line-height:1}.dice-street .dice-roll:disabled{background:#344b3e;color:#bec7b3;border-color:#9fa9874d;opacity:1;box-shadow:none}.dice-talk{flex:0 0 73px;min-height:57px;border:1px solid #b4c2996e;border-radius:12px;background:#264a3b;color:#e6ebcb;font:800 11px/1.35 Outfit,sans-serif}.dice-talk:hover{background:#335c47}.dice-host-wait{flex:1;margin:0;display:grid;place-items:center;color:#ced8bd;font-size:12px;text-align:center}.dice-street .dice-rules{margin:11px 0 0;max-width:none;font:500 11px/1.5 Inter,sans-serif;color:#bdcbb3}.dice-rules summary{cursor:pointer;min-height:32px;padding:6px 0;color:#dce3c6;font-weight:700}.dice-rules summary span{float:right;color:#aebda7;font-weight:500}.dice-rules p{margin:4px 0 7px;max-width:540px}.dice-street button:focus-visible,.dice-rules summary:focus-visible{outline:3px solid #f5dc8b;outline-offset:3px}
.dice-pair.is-rolling .dice-face{animation:dice-toss-left .76s cubic-bezier(.22,.6,.4,1) both;animation-delay:var(--dice-elapsed,0ms)}.dice-pair.is-rolling .dice-face:nth-child(2){animation-name:dice-toss-right}
@keyframes dice-toss-left{0%{transform:translate(-19px,-40px) rotate(-230deg) scale(.78)}42%{transform:translate(5px,6px) rotate(-65deg)}64%{transform:translate(-3px,-10px) rotate(-24deg)}82%{transform:translate(0,1px) rotate(-14deg)}100%{transform:rotate(-12deg)}}
@keyframes dice-toss-right{0%{transform:translate(21px,-33px) rotate(250deg) scale(.78)}45%{transform:translate(-4px,5px) rotate(83deg)}66%{transform:translate(3px,-13px) rotate(33deg)}85%{transform:translate(0,-3px) rotate(18deg)}100%{transform:rotate(17deg) translateY(-4px)}}
@media(min-width:600px){.dice-street.dice-game{padding:22px 26px 15px}.dice-ring{height:380px}.dice-seat{width:135px;padding:10px}.dice-seat b{font-size:14px}.dice-seat small{font-size:9px}.dice-seat-west .dice-avatar,.dice-seat-east .dice-avatar{display:grid}.dice-seat-south,.dice-seat-north{width:200px}.dice-seat-roll{font-size:12px}.dice-seat-northwest,.dice-seat-northeast{width:180px}.dice-throw-area{width:190px}.dice-street .dice-face{width:70px;height:70px;flex-basis:70px;padding:10px}.dice-street .dice-face .pip-grid i{width:10px;height:10px}.dice-roll-caption{font-size:9px}.dice-ground-mark{bottom:105px}}
@media(max-width:359px){.dice-street.dice-game{padding:12px 8px 8px}.dice-seat{width:70px;padding:6px 4px}.dice-seat b{font-size:10px}.dice-seat-south,.dice-seat-north{width:124px}.dice-seat-northwest,.dice-seat-northeast{width:110px}.dice-seat-northwest{left:8px}.dice-seat-northeast{right:8px}.dice-throw-area{width:126px}.dice-street .dice-pair{gap:11px}.dice-street .dice-face{width:49px;height:49px;flex-basis:49px;padding:7px}.dice-street .dice-face .pip-grid i{width:7px;height:7px}.dice-talk{flex-basis:60px}.dice-street .dice-roll{font-size:15px}.dice-ring{height:320px}.dice-status{min-height:66px}.dice-status h2{font-size:20px}}
@media(max-height:740px) and (min-width:360px){.dice-ring{height:300px}.dice-street.dice-game{padding-top:11px}.dice-status{min-height:58px;margin-top:7px}.dice-seat{padding-top:5px;padding-bottom:5px}.dice-ground-mark{display:none}.dice-roll-caption{margin-bottom:9px}.dice-street .dice-pair{margin-bottom:10px}.dice-action-row{margin-top:10px}.dice-street .dice-rules{margin-top:6px}}
@media(prefers-reduced-motion:reduce){.dice-pair.is-rolling .dice-face{animation:none}.dice-seat{transition:none}}

.game-settings{margin:18px 0;padding:16px;border:1px solid #8b9e7c66;border-radius:18px;text-align:left;min-width:0}.game-settings legend{padding:0 8px;font-weight:900;color:#d6efa6}.game-settings p{font-size:14px;line-height:1.5}.game-settings>small{display:block;color:#c6d2be;font-size:12px;line-height:1.5}.game-settings-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.game-settings-pair label{font-size:13px}.game-settings-pair select{width:100%;min-width:0}.game-setting-check{display:flex!important;align-items:center;gap:10px;margin:14px 0!important}.game-setting-check input{width:20px!important;height:20px;accent-color:#c9e593}.rule-preset-note,.spades-preset-details{font-size:13px;line-height:1.45}.rule-preset-note{margin:12px 0;padding:12px;border-radius:12px;background:#acc38e12;border:1px solid #adbd9560}.spades-preset-details p{margin:8px 0!important;font-size:13px!important}.spades-preset-details small{color:#bdcbb5}.trump-order{color:#ffdc8d;font-weight:700}.spades-surface>.spades-preset-details{padding:8px 14px;border-bottom:1px solid #b9cb9f33}.spades-surface>.spades-preset-details p,.spades-surface>.spades-preset-details small{display:none}.joker-card{background:linear-gradient(140deg,#fdf4df,#e5d7f1)!important;color:#55347c!important}.joker-card.big-joker{background:linear-gradient(140deg,#fff8e8,#ffe4a4)!important;color:#805817!important}.joker-card .rank{font-size:10px;font-weight:900}.joker-card .joker-name{font-size:9px;letter-spacing:1px;position:absolute;left:0;right:0;text-align:center;bottom:20%}.joker-card b{font-size:32px!important}.trump-badge{font-family:system-ui;font-size:7px;font-weight:900;position:absolute;bottom:22%;left:0;right:0;text-align:center;background:#173c30;color:#eff5c8;padding:1px}.promoted-trump{box-shadow:inset 0 0 0 2px #d8b853}
.table-page-basketball .table-stage{padding:0;overflow:hidden;background:#0d211df2}.basketball-stage{padding:18px;max-width:760px;margin:auto}.basketball-game-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.basketball-game-heading h2{font-size:clamp(22px,5vw,32px);margin:4px 0}.basketball-game-heading .kicker{font-size:11px;letter-spacing:2px}.basketball-clock{padding:10px 12px;border:1px solid #b0bf9255;border-radius:12px;color:#d9e5bb;font-weight:800;min-width:54px;text-align:center}.basketball-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.basketball-player{background:#1a392e;padding:11px;border:1px solid #73907e66;border-radius:12px;display:grid;gap:3px;min-width:0}.basketball-player.active{border:2px solid #ecd491;padding:10px;background:#29483a}.basketball-player b{font-size:13px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.basketball-player b small{font-size:8px;color:#c6d3b5}.basketball-player strong{font-size:24px;color:#ffdf9c}.basketball-player strong small{font-size:10px;letter-spacing:1px}.basketball-player span{font-size:11px;color:#c3d2bd}.basketball-court{border:1px solid #b6a6c888;border-radius:16px;overflow:hidden;position:relative;background:#27203c}.basketball-court svg{display:block;width:100%;height:auto;max-height:310px}.basketball-spot-label{position:absolute;top:12px;left:12px;padding:5px 8px;font-size:10px;border-radius:8px;background:#152820d9;color:#d2dfa8;letter-spacing:.6px}.basketball-shot-result{min-height:46px;padding:12px 4px;font-size:13px;color:#e3dfbc;text-align:center;line-height:1.5}.basketball-controls{border-top:1px solid #99b59333;padding-top:14px}.basketball-slider-row{margin-bottom:14px}.basketball-slider-row label{font-size:13px;display:flex;justify-content:space-between;font-weight:800}.basketball-slider-row output{font-weight:500;color:#d1dfb7}.basketball-slider-row input{display:block;width:100%;height:30px;accent-color:#f7d58a;touch-action:pan-y;padding:0!important;box-shadow:none!important;background:none}.basketball-release{text-align:center;margin:12px 0}.basketball-release small{font-size:11px;color:#ced5bb}.basketball-meter{height:16px;border-radius:12px;background:linear-gradient(90deg,#a45631,#d6a75a 38%,#84b679 42%,#84b679 58%,#d6a75a 62%,#a45631);border:1px solid #e5d7aa66;position:relative;margin-bottom:10px;overflow:hidden}.basketball-sweet-spot{position:absolute;left:43%;width:14%;height:100%;background:#a8e49b;border-left:2px solid #dbf2bc;border-right:2px solid #dbf2bc}.basketball-meter i{position:absolute;left:0;height:100%;width:4px;background:white;box-shadow:0 0 6px white;transform:translateX(-2px)}.basketball-shoot{width:100%;min-height:54px;font-size:17px;touch-action:manipulation}.basketball-controls>.line-button{margin-top:10px;width:100%;min-height:44px}.basketball-controls>.small-note{text-align:center;font-size:11px;margin:12px 0 0}.basketball-results,.basketball-wait{text-align:center;padding:20px 12px;background:#7c5a951b;border-radius:14px}.basketball-results h3{font-size:24px;margin:8px 0}.basketball-results p,.basketball-wait p{font-size:14px;line-height:1.6}.basketball-results .gold-button,.basketball-wait button{min-height:48px}.table-page-basketball .score-summary{font-size:12px}.table-page-basketball .score-summary>span+span{font-size:10px}.game-settings select:focus-visible,.basketball-stage button:focus-visible{outline:3px solid #dbf29c;outline-offset:3px}@media(min-width:600px){.basketball-scores{grid-template-columns:repeat(4,minmax(0,1fr))}.basketball-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.basketball-release,.basketball-shoot,.basketball-controls>.line-button,.basketball-controls>.small-note{grid-column:1/-1}.basketball-slider-row{margin:0}}@media(max-width:360px){.basketball-stage{padding:12px}.basketball-player{padding:8px}.game-settings{padding:12px}.game-settings-pair{grid-template-columns:1fr}}
/* Keep both shot sliders together so the hoop and release stay close on a phone. */
.basketball-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.basketball-controls .basketball-slider-row{margin:0}.basketball-controls .basketball-release,.basketball-controls .basketball-shoot,.basketball-controls>.line-button,.basketball-controls>.small-note{grid-column:1/-1}.basketball-court svg{height:clamp(160px,25dvh,270px)}
@media(prefers-reduced-motion:reduce){.basketball-svg-ball,.basketball-player{transition:none}}

/* Next house conversations */
.house-zone-tabs{display:flex;gap:.45rem;background:#08251fe8;padding:.4rem;border:1px solid #d9dfa147;border-radius:18px;margin:0 0 .7rem}.house-zone-tabs button{flex:1;min-height:48px;border:0;border-radius:13px;color:#eee9d6;background:transparent;font:inherit;font-weight:800;padding:.6rem .4rem}.house-zone-tabs button[aria-current=page]{background:#d9e6a5;color:#112d24}.house-zone-tabs small{font-size:.68em;white-space:nowrap}.house-zone-note{margin:.2rem .4rem 1rem;color:#d1ddca;font-size:.86rem;line-height:1.45}.social-private-status,.social-invitation{border:1px solid #dbcd8a83;border-radius:17px;padding:.85rem 1rem;background:#17392bf2;display:flex;align-items:center;gap:.7rem;margin-bottom:.8rem}.social-private-status div{flex:1}.social-private-status b,.social-private-status span{display:block}.social-private-status span{font-size:.78rem;color:#c6d4bd;margin-top:.25rem}.social-invitation{background:#33442bf7;align-items:flex-start}.social-invitation>div:first-child{flex:1}.social-invitation p{font-size:.82rem;margin:.3rem 0;line-height:1.4}.social-invitation small{font-size:.72rem;color:#d6d8bc}.social-invitation>div:last-child{display:flex;gap:.3rem;flex-direction:column}.social-invitation .line-button,.social-private-status .line-button{padding:.55rem .7rem;min-height:44px;font-size:.8rem;white-space:nowrap}.social-person-button{margin-left:auto;align-self:center;min-width:40px;min-height:40px;border:1px solid #ccd59c59;background:#274638;color:#e3e8bb;border-radius:12px;font:inherit}.house-guest{position:relative}.house-guest>div{min-width:0;flex:1}.social-audio-settings{border-top:1px solid #c6d4aa40;padding:1rem 0 .4rem}.social-audio-settings .small-note{font-size:.76rem;line-height:1.45}.social-invite-list article{display:flex;gap:.65rem;align-items:center;border-bottom:1px solid #cbd6ae2b;padding:.8rem 0}.social-invite-list article>span:not(.house-guest-avatar){flex:1;min-width:0}.social-invite-list b,.social-invite-list small{display:block}.social-invite-list small{color:#b9c6b0;font-size:.76rem;margin-top:.2rem}.social-invite-list .line-button{min-height:44px}.social-pending{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0}.social-safety-actions{display:grid;gap:.65rem}.next-social-dialog{max-height:min(88dvh,850px);overflow:auto;overscroll-behavior:contain}.next-social-dialog p{line-height:1.5}.next-social-dialog form{display:grid;gap:.6rem}.next-social-dialog label{font-weight:700;font-size:.85rem}.next-social-dialog select,.next-social-dialog textarea{box-sizing:border-box;max-width:100%;width:100%;background:#102e27;color:#f0ead5;border:1px solid #b7c29a91;border-radius:11px;padding:.75rem;font:inherit}.social-report-list article{border:1px solid #cbd7a644;border-radius:12px;padding:.8rem;margin:.6rem 0}.social-report-list article small{display:block;color:#c1c9aa}.social-report-list article p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.84rem}.social-report-list .line-button{margin-top:.6rem}.house-people-dialog .next-social-people-actions{display:grid;gap:.5rem;margin-top:1rem}.house-chat .house-chat-live{max-width:40%;text-align:right}.house-chat-history p{overflow-wrap:anywhere}.next-social-dialog button:focus-visible,.house-zone-tabs button:focus-visible,.social-person-button:focus-visible{outline:3px solid #fff3b9;outline-offset:3px}
@media(max-width:420px){.social-private-status{padding:.7rem}.social-private-status .line-button{white-space:normal;max-width:100px}.social-invitation{flex-direction:column}.social-invitation>div:last-child{flex-direction:row;align-self:stretch}.social-invitation>div:last-child button{flex:1}.house-zone-tabs button{font-size:.85rem}.house-guests{grid-template-columns:1fr}}

.social-kitchen-actions{display:flex;gap:.5rem;margin:0 0 .8rem}.social-kitchen-actions button{flex:1;min-height:44px}

.table-page-number-slam{--slam-purple:#58218c;--slam-orange:#ba4b16;--slam-teal:#08756e;--slam-gold:#896809;--slam-ink:#351150;--slam-silver:#b8b7c5;color:var(--slam-ink);font-family:Montserrat,Helvetica,Arial,sans-serif}
.table-page-number-slam .table-stage{background:#f5f3f9;border:1px solid #aaa5b9;padding:12px;border-radius:22px;box-shadow:0 12px 40px #14052666}
.table-page-number-slam .table-seating{display:none}
.slam-game{max-width:860px;margin:auto}.slam-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:900;letter-spacing:.14em}.slam-heading b{letter-spacing:.04em;padding:8px 10px;background:#e7dcef;border-radius:30px}.slam-status{font-size:clamp(23px,5vw,34px);line-height:1.12;margin:18px 0;text-align:center;color:#351150}
.slam-round-score{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.slam-round-score>span{min-width:0;border:1px solid #d3cbdc;background:#fff;border-radius:10px;padding:8px 10px}.slam-round-score b,.slam-round-score small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slam-round-score b{font-size:13px}.slam-round-score small{font-size:11px;margin-top:4px;color:#62536d}.slam-round-score .slam-current-seat{border:2px solid #6d3299;background:#f1e6fb;padding:7px 9px}
.slam-table{display:flex;align-items:center;justify-content:center;gap:clamp(9px,3vw,24px);padding:24px 2px 10px;min-height:175px}.slam-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;min-width:0;min-height:155px;padding:9px 7px 7px;background:#fff;color:#49206e;border:3px solid #b9b8c4;border-radius:10px;box-shadow:0 3px 0 #8d8997,0 5px 9px #22113720;overflow:hidden;text-align:center}.slam-card:disabled{opacity:1;background:#eeebf1;color:#72627e;box-shadow:0 2px 0 #c2bcc8;cursor:default}.slam-card.is-playable:not(:disabled){border-color:#7f43ab;box-shadow:0 3px 0 #522471,0 0 0 2px #b896d333}.slam-card.is-playable:not(:disabled):active{transform:translateY(2px)}.slam-card-corner{align-self:flex-start;display:flex;gap:4px;align-items:center;font-size:12px;font-weight:900}.slam-card-corner span{font-size:8px;letter-spacing:.04em;text-transform:uppercase}.slam-card-symbol{font-size:31px;font-weight:900;margin:8px 0;line-height:1}.slam-card-name{font-size:11px;line-height:1.2;overflow-wrap:anywhere}.slam-card-brand{margin-top:9px;font-size:6px;letter-spacing:.16em;font-weight:900;color:#8d8197}.slam-discard{width:106px;min-height:154px;flex:0 0 106px;transform:rotate(4deg)}.slam-deck{display:flex;flex-direction:column;justify-content:center;align-items:center;width:80px;height:123px;flex:0 0 80px;border:3px solid #c9c6d4;border-radius:10px;background:repeating-linear-gradient(45deg,#4c1b72,#4c1b72 6px,#582880 6px,#582880 8px);color:white;box-shadow:-3px 3px 0 #afacb8,-6px 6px 0 #dad7e0}.slam-deck span{font-size:28px;font-weight:900}.slam-deck small{font-size:11px;margin-top:15px}.slam-current-color{display:flex;flex-direction:column;align-items:center;gap:7px;max-width:94px}.slam-current-color>span{width:36px;height:36px;background:var(--slam-color);color:white;border-radius:50%;display:grid;place-items:center}.slam-current-color b{text-transform:capitalize;font-size:12px}.slam-current-color small{font-size:10px;text-align:center}.slam-last{text-align:center;font-size:13px;line-height:1.5;min-height:20px;margin:9px 0 16px;color:#624e70}
.slam-actions{display:flex;gap:9px;justify-content:center;align-items:center;flex-wrap:wrap;margin:16px 0}.slam-primary,.slam-secondary{min-height:48px;border-radius:12px;padding:12px 18px;font-weight:800;border:1px solid #88649e;cursor:pointer}.slam-primary{background:#54207e;color:white}.slam-primary:disabled{background:#766581;cursor:default}.slam-secondary{background:#fff;color:#54207e}.slam-hand{border-top:1px solid #c9c1d2;padding-top:15px}.slam-hand-title{display:flex;justify-content:space-between;margin-bottom:13px;font-size:14px}.slam-hand-title span{color:#74627f;font-size:12px}.slam-hand-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(87px,1fr));gap:11px 8px;max-height:410px;overflow-y:auto;overscroll-behavior:contain;padding:3px 3px 8px}.slam-hand-cards .slam-card{max-width:145px}
.slam-claim{background:#e9dbf4;border:2px solid #9165b0;padding:15px;border-radius:16px;text-align:center}.slam-claim h3{margin:0;font-size:23px;color:#42135f}.slam-claim p{margin:8px 0;font-size:13px}.slam-claim small{display:block;font-size:11px;line-height:1.5;margin-top:12px}.slam-color-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.slam-color-choices button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;background:white;color:#401a5a;border:1px solid #9f83b1;border-radius:10px;font-weight:800;text-transform:capitalize}.slam-color-dot{width:25px;height:25px;background:var(--slam-color);color:#fff;display:grid;place-items:center;border-radius:50%}.slam-rules{font-size:13px;border-top:1px solid #cfc4da;margin-top:22px;padding-top:14px;line-height:1.6}.slam-rules summary{font-weight:800;min-height:36px;cursor:pointer}.slam-rules dt{font-weight:900;color:#4e2172;margin-top:12px}.slam-rules dd{margin:3px 0;color:#5c5064}.slam-rules .slam-defaults{background:#ece7f2;padding:12px;border-radius:10px}.slam-create-note{color:#e5d8ef;font-size:13px}
@media(min-width:700px){.slam-game{padding:12px}.slam-round-score{grid-template-columns:repeat(4,minmax(0,1fr))}.slam-hand-cards{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.slam-card{min-height:170px}.slam-card-name{font-size:13px}}
@media(prefers-reduced-motion:reduce){.slam-card{transition:none;transform:none}}

.platform-dialog{max-height:85dvh;overflow:auto}.platform-dialog p{line-height:1.6}.platform-dialog .full+.full{margin-top:10px}.welcome-question{border:1px solid #668477;border-radius:14px;margin:18px 0;padding:15px}.welcome-question legend{font-weight:800;padding:0 4px;line-height:1.5}.welcome-question label{display:flex;gap:9px;align-items:center;min-height:48px;border-radius:9px;padding:8px;background:#153b30;margin:7px 0;font-size:14px;line-height:1.4}.welcome-question input{width:20px;height:20px;flex:0 0 20px;accent-color:#d7eca1}.welcome-results article{border-top:1px solid #496956;padding:15px 0}.welcome-results article b{color:#d7eca1}.welcome-results article p{margin:7px 0}.bling-balance{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px;background:#173e30;border:1px solid #718a66;border-radius:15px}.bling-balance>span{font-size:42px;color:#ffe0a1}.bling-balance b{font-size:40px;line-height:1}.bling-balance small{max-width:70px;font-weight:800;letter-spacing:.1em;font-size:10px;line-height:1.5}.cosmetic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.nameplate-option{min-height:88px;border-radius:14px;padding:12px;background:#18392e;color:#f7efda;border:2px solid #6e806c}.nameplate-option b,.nameplate-option span{display:block}.nameplate-option b{font-size:15px}.nameplate-option span{font-size:12px;margin-top:8px}.nameplate-option:disabled{opacity:.55}.nameplate-silver-seat{border-color:#ccd7da;background:linear-gradient(135deg,#1b3934,#3d5153)}.nameplate-golden-host{border-color:#f2c374;background:linear-gradient(135deg,#47331c,#1b3327)}.nameplate-purple-royalty{border-color:#d0aff2;background:linear-gradient(135deg,#542f74,#1e2438)}body[data-nameplate="silver-seat"] .brand b{color:#e1eaf0}body[data-nameplate="golden-host"] .brand b{color:#ffdb8b}body[data-nameplate="purple-royalty"] .brand b{color:#dfbfff}.player-tag[data-nameplate="golden-host"],.house-person[data-nameplate="golden-host"]{border-color:#e5bf75}.player-tag[data-nameplate="purple-royalty"],.house-person[data-nameplate="purple-royalty"]{border-color:#c49de8}.performance-grid{display:grid;grid-template-columns:1fr auto;gap:13px;font-size:14px}.performance-grid dt{color:#bcd2be}.performance-grid dd{font-weight:800;margin:0}

/* Equipped nameplates belong to each guest, including other players. */
:is(.player-tag,.house-person,.party-tile)[data-nameplate="silver-seat"]{border-color:#cbd6e0;background:linear-gradient(130deg,#31454b,#18342e);box-shadow:inset 3px 0 0 #cbd6e0}
:is(.player-tag,.house-person,.party-tile)[data-nameplate="golden-host"]{border-color:#edc779;background:linear-gradient(130deg,#4b3b24,#19382d);box-shadow:inset 3px 0 0 #edc779}
:is(.player-tag,.house-person,.party-tile)[data-nameplate="purple-royalty"]{border-color:#ccadf3;background:linear-gradient(130deg,#4d326a,#18342f);box-shadow:inset 3px 0 0 #ccadf3}
:is(.player-tag,.house-person)[data-nameplate="silver-seat"] b,.party-tile[data-nameplate="silver-seat"] .party-tile-name{color:#edf5ff}
:is(.player-tag,.house-person)[data-nameplate="golden-host"] b,.party-tile[data-nameplate="golden-host"] .party-tile-name{color:#ffe5a8}
:is(.player-tag,.house-person)[data-nameplate="purple-royalty"] b,.party-tile[data-nameplate="purple-royalty"] .party-tile-name{color:#ecd8ff}
.house-guest-avatar[data-nameplate="silver-seat"]{outline:2px solid #d6e1e9;outline-offset:1px}.house-guest-avatar[data-nameplate="golden-host"]{outline:2px solid #efcc7d;outline-offset:1px}.house-guest-avatar[data-nameplate="purple-royalty"]{outline:2px solid #d6b6ff;outline-offset:1px}
.player-tag.onturn[data-nameplate]{outline:2px solid #e8edb7;outline-offset:2px}.player-tag.you[data-nameplate]:not(.onturn){border-width:2px}
.party-tile[data-nameplate]:not([data-nameplate="homegrown"]) .party-tile-label{border-top:1px solid currentColor}

/* Keep the shared 3D interior visible; panels are opened deliberately. */
body.in-house{height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none;background:#17201c}
body.in-house #app{height:100dvh;min-height:0;overflow:hidden;pointer-events:none}
body.in-house #world3d{opacity:1;pointer-events:auto;touch-action:none}
body.in-house .house-world-mast{height:68px;min-height:68px;padding:9px 14px;gap:12px;background:rgba(11,38,31,.95);border-bottom:1px solid #8fa78d55}
.house-world-mast .table-back{min-width:70px;padding:10px 12px;min-height:44px}
.house-world-mast .table-brand{min-width:0;flex:1}.house-world-mast .table-brand b{font-size:19px;line-height:1.15}.house-world-mast .table-brand small{font-size:13px;margin-top:5px;white-space:nowrap}
.house-world-mast .house-invite-button{height:44px;min-width:64px;font-size:13px;padding:8px;gap:5px}
.house-world-mast .house-invite-button svg{width:19px;height:19px}
.house-world-hud{position:fixed;inset:68px 0 0;z-index:2;pointer-events:none;max-width:100%;overflow:hidden}
.house-world-hud button,.house-world-hud input,.house-world-hud video{pointer-events:auto}
.house-world-button,.house-world-walk button{border:1px solid #b4c3a78c;border-radius:15px;background:rgba(12,49,39,.94);color:#fff9e6;box-shadow:0 3px 9px #0003;font:700 15px/1.15 var(--font-body,system-ui);min-height:44px;padding:11px 14px;cursor:pointer;touch-action:manipulation}
.house-world-button:focus-visible,.house-world-walk button:focus-visible,.house-world-interact:focus-visible{outline:3px solid #ffe29d;outline-offset:3px}
.house-world-button:active,.house-world-walk button:active{background:#3e6b52}
.house-world-tools{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:7px;max-width:490px}
.house-world-tools .house-world-button{padding:10px 12px;flex:1;white-space:nowrap}
#house-world-count{font-size:12px;background:#dceab6;color:#143629;border-radius:6px;min-width:19px;padding:2px 4px;margin-left:3px}
.house-world-notices{position:absolute;top:69px;left:12px;right:12px;display:grid;gap:7px;max-width:490px}
.house-world-invitation,.house-world-private{display:flex;align-items:center;gap:10px;padding:9px 12px;min-height:44px;background:#183f34ef;border:1px solid #dfce8d;border-radius:13px;color:#fff5da;font-size:13px;pointer-events:auto}
.house-world-invitation svg{width:20px;height:20px;flex:none}.house-world-invitation span,.house-world-private span{flex:1;text-align:left}.house-world-invitation b{color:#ffe19b}.house-world-private .house-world-button{font-size:12px;padding:8px;min-height:40px}
.house-world-controls{position:absolute;left:12px;right:12px;bottom:calc(28px + env(safe-area-inset-bottom,0px));display:flex;align-items:end;justify-content:space-between;gap:12px}
.house-world-walk{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:52px 52px;gap:6px;pointer-events:none;flex:none}
.house-world-walk button{font-size:28px;padding:0;min-height:52px;width:52px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.house-walk-forward{grid-column:2;grid-row:1}.house-world-walk button:not(.house-walk-forward){grid-row:2}
.house-world-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(205px,47%)}
.house-world-interact{border:1px solid #fff0c0;border-radius:16px;background:linear-gradient(130deg,#ffe9aa,#efbd67);color:#1c3026;min-height:66px;padding:10px 12px;box-shadow:0 4px 14px #0004;font:700 15px/1.25 var(--font-body,system-ui);cursor:pointer;touch-action:manipulation}
.house-world-interact[hidden]{display:none}.house-world-interact small{display:block;font-size:10px;letter-spacing:.12em;margin-bottom:5px}.house-world-interact span{display:block}
.house-world-secondary{display:grid;grid-template-columns:1fr 1fr 44px;gap:6px}.house-world-secondary .house-world-button{font-size:12px;padding:9px 5px;border-radius:12px;min-height:45px}
.house-world-hint{position:absolute;bottom:calc(4px + env(safe-area-inset-bottom,0px));left:0;right:0;margin:0;text-align:center;font:600 11px/1.4 system-ui;color:#fff;text-shadow:0 1px 4px #000,0 0 8px #000;pointer-events:none}
.house-world-call{position:absolute;right:12px;bottom:calc(178px + env(safe-area-inset-bottom,0px));width:270px;max-width:calc(100% - 24px);padding:7px;background:#092b23ed;border:1px solid #c1d3ad66;border-radius:14px;pointer-events:auto}
.house-world-call .party-grid,.house-world-call .party-dock{display:flex!important;grid-template-columns:none!important;gap:6px;overflow-x:auto;max-width:100%;padding:0!important;min-height:0}
.house-world-call .party-tile{flex:0 0 120px;height:86px;min-height:86px;max-height:86px;border-radius:9px;aspect-ratio:auto}.house-world-call .party-tile video{height:100%;object-fit:cover}.house-world-call .party-avatar{font-size:28px}.house-world-call .party-tile-label{font-size:10px;padding:3px 5px}.house-world-call .party-tile-name{font-size:10px}.house-world-call .party-tile-devices{font-size:9px}.house-world-call .party-tile-controls,.house-world-call .party-connection-label{display:none}
.house-world-call-controls{display:flex;gap:6px;margin-top:6px}.house-world-call-controls .house-world-button{flex:1;min-height:44px;font-size:12px;padding:7px}.house-world-call-controls .house-mic-active{background:#3f6843;border-color:#e5efb6}
body.in-house .house-world-shade{display:flex;align-items:stretch;justify-content:flex-end;padding:78px 10px 12px;background:#051f1855;backdrop-filter:none;pointer-events:auto}
.house-world-panel{width:min(430px,100%);max-height:100%;margin:0;border:1px solid #a9bd95;border-radius:22px;background:#0c3028f7;padding:24px 20px;overflow:auto;box-shadow:0 18px 55px #0006;color:#fff8df}
.house-world-panel h2{font-size:27px;margin:10px 36px 16px 0}.house-world-panel p{font-size:15px;line-height:1.5;color:#d9e2d1}.house-world-panel .kicker{font-size:10px}.house-world-panel .close{min-width:44px;min-height:44px}
.house-world-panel .house-presence{padding:0;background:none;border:0;box-shadow:none}.house-world-panel .house-presence .panel-top{display:none}.house-world-panel .house-guests{grid-template-columns:1fr}.house-world-panel .house-guest{padding:12px;min-width:0}.house-world-panel .house-guest small{font-size:12px}.house-world-panel .house-guest b{font-size:15px}.house-world-panel .house-guest-avatar{height:42px;width:42px;font-size:24px}.house-world-panel .social-person-button{min-height:44px;min-width:44px}
.house-world-room-list{display:grid;gap:10px;margin:20px 0}.house-world-room-list button{display:flex;align-items:center;text-align:left;gap:14px;padding:16px;border:1px solid #9cbb9366;border-radius:15px;background:#254a3b;color:#fff9df;min-height:78px;font:inherit}.house-world-room-list button>span:first-child{flex:1}.house-world-room-list b{display:block;font-size:17px;margin-bottom:7px}.house-world-room-list small{font-size:13px;line-height:1.4;color:#d1dfca}.house-world-extra{display:flex;gap:10px;flex-wrap:wrap}
.house-world-panel .house-chat-history{height:min(42dvh,370px);min-height:160px;padding:12px 0;overflow:auto}.house-world-panel .house-chat-history p{display:flex;flex-direction:column;gap:4px;margin:0 0 15px;font-size:15px}.house-world-panel .house-chat-history b{color:#d8e7a9}.house-world-panel .house-reactions{display:flex;gap:6px;justify-content:space-between;margin:12px 0}.house-world-panel .house-reactions button{min-width:40px;min-height:44px;font-size:22px;padding:5px}
.house-world-panel #house-chat-form{display:flex;gap:8px;margin:0 0 14px}.house-world-panel #house-chat-input{min-width:0;flex:1;font-size:16px;min-height:48px;background:#224339;color:#fff}.house-world-panel #house-chat-form button{min-width:64px;padding:10px;font-size:14px}
.house-world-panel .social-invitation{display:block}.house-world-panel .social-invitation>div{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.house-world-help{padding-left:20px;color:#d9e2d1}.house-world-help li{margin-bottom:18px;font-size:15px;line-height:1.5}.house-world-help b{color:#fff7dc}
@media(min-width:760px){.house-world-controls{left:24px;right:24px;bottom:30px}.house-world-walk{grid-template-columns:repeat(3,58px);grid-template-rows:58px 58px}.house-world-walk button{width:58px;min-height:58px}.house-world-actions{width:235px}.house-world-tools{left:24px;top:18px}.house-world-notices{left:24px;top:76px}.house-world-call{bottom:188px;right:24px;width:320px}.house-world-panel{padding:30px}.house-world-hint{font-size:12px}}
@media(max-width:359px){.house-world-tools .house-world-button{padding:10px 6px;font-size:13px}.house-world-walk{grid-template-columns:repeat(3,45px);grid-template-rows:45px 45px;gap:4px}.house-world-walk button{width:45px;min-height:45px}.house-world-secondary{grid-template-columns:1fr 1fr 40px;gap:4px}.house-world-controls{gap:8px}.house-world-mast .table-brand b{font-size:17px}}
@media(max-height:550px) and (orientation:landscape){body.in-house .house-world-mast{height:55px;min-height:55px}.house-world-hud{top:55px}.house-world-tools{top:8px;max-width:390px}.house-world-controls{bottom:10px}.house-world-hint{display:none}.house-world-call{left:188px;right:222px;bottom:16px;width:auto;max-width:320px}.house-world-call .party-tile{height:64px;min-height:64px;max-height:64px;flex-basis:100px}.house-world-call-controls .house-world-button:last-child{display:none}body.in-house .house-world-shade{padding-top:63px}.house-world-notices{left:auto;max-width:260px;top:8px}.house-world-panel .house-chat-history{height:30dvh;min-height:90px}}
@media(min-width:760px) and (max-height:550px) and (orientation:landscape){.house-world-call{left:222px;right:271px}}

/* The bag shares the house dialog focus model and remains usable at short heights. */
.consumables-panel{max-width:480px;min-width:0;overscroll-behavior:contain;scrollbar-gutter:stable}
.consumables-panel button{min-width:44px;min-height:44px;touch-action:manipulation;line-height:1.25;white-space:normal}
.consumables-panel button:focus-visible{outline:3px solid #ffe29d;outline-offset:3px}
.consumables-panel button:disabled{opacity:.48;cursor:default}
.consumables-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 15px;color:#e6efc5;font-size:14px}
.consumables-summary>span{font-size:12px;color:#c7d8c9}
.consumables-summary button{padding:9px 12px}
.consumables-status{padding:12px;border:1px solid #ccb47a88;border-radius:11px;color:#fff0bb;background:#57472455;font-size:14px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}
.consumables-status[hidden]{display:none}.consumables-status .consumables-retry{display:block;margin-top:9px;width:100%}
.consumables-inventory,.consumables-station-list{display:grid;gap:12px;margin:12px 0 20px}
.consumables-item{padding:14px;border:1px solid #729d8266;border-radius:16px;background:#153d32}
.consumables-item.is-held{border-color:#efce84;background:#244b39}
.consumables-item-heading{display:flex;align-items:center;gap:10px;min-width:0}
.consumables-icon{display:grid;place-items:center;font:30px/1 system-ui;min-width:42px;width:42px;height:44px;flex:none}
.consumables-item-heading>div{flex:1;min-width:0}
.consumables-panel h3{font-size:16px;line-height:1.3;margin:0 0 4px;color:#fff5da;overflow-wrap:anywhere}
.consumables-item-heading p{font-size:12px;margin:0;line-height:1.4;color:#d4dfcb}
.consumables-held{font-size:10px;background:#efcf8b;color:#24382a;border-radius:6px;padding:5px 7px;font-weight:800;white-space:nowrap}
.consumables-item-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:7px;margin-top:12px}
.consumables-item-actions button{padding:8px 6px;font-size:12px;border-radius:10px}
.consumables-use{background:#e7c783;color:#1c3327;border-color:#efd994}.consumables-discard{background:#33473e;color:#deded1}
.consumables-item .consumables-reason{font-size:12px;line-height:1.45;margin:10px 0 0;color:#cfdbc9}
.consumables-item .consumables-age{margin-top:10px;width:100%;font-size:13px}
.consumables-offer{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #a2bc8e44}
.consumables-offer p{font-size:12px;line-height:1.45;margin:3px 0 6px}.consumables-offer small{color:#decb96;font-size:11px}.consumables-offer .consumables-take{min-width:56px;max-width:82px;padding:9px;font-size:13px}
.consumables-empty{text-align:center;padding:16px 5px}.consumables-empty>span{font-size:38px;display:block;margin-bottom:12px}.consumables-empty p{font-size:14px}.consumables-empty button{width:100%}
.consumables-preference{border-top:1px solid #b3c08e44;margin-top:18px;padding-top:16px}.consumables-preference button{width:100%;font-size:13px;padding:11px}.consumables-preference p{font-size:12px;line-height:1.45;margin-bottom:0;color:#cbd7c6}
.consumables-age-note{border:1px solid #bfb07666;border-radius:12px;padding:12px;margin:12px 0}.consumables-age-note p{font-size:13px;margin:0 0 9px}.consumables-age-note button{width:100%;font-size:13px}
.consumables-panel .consumables-guide{font-size:13px;padding:10px;background:#ffffff08;border-radius:8px}
#consumables-bag-count{font-size:11px;margin-left:2px;color:#e4d497}
body:not(.in-house) .house-world-shade:has(.consumables-panel){display:flex;align-items:stretch;justify-content:flex-end;padding:78px 10px 12px;background:#051f1855;backdrop-filter:none}
@media(max-width:440px){.house-world-tools{gap:5px}.house-world-tools .house-world-button{padding:10px 7px;font-size:13px}.house-world-tools .house-world-button>span{margin-left:2px}#house-world-count{font-size:10px;padding:2px 3px;min-width:15px}.consumables-panel{padding:20px 16px}}
@media(max-width:359px){.house-world-tools .house-world-button{padding:10px 4px;font-size:12px}.consumables-item-actions{gap:5px}.consumables-item{padding:11px}.consumables-offer{grid-template-columns:34px minmax(0,1fr) auto;gap:7px}.consumables-offer .consumables-icon{width:34px;min-width:34px;font-size:25px}}
@media(max-height:550px) and (orientation:landscape){.consumables-panel{padding:14px 18px}.consumables-panel h2{font-size:23px;margin:7px 40px 9px 0}.consumables-panel .kicker{font-size:9px}.consumables-item{padding:11px}.consumables-item-actions{margin-top:9px}.consumables-summary{margin-bottom:10px}body:not(.in-house) .house-world-shade:has(.consumables-panel){padding-top:63px}.house-world-tools{max-width:455px}}

