.desktop-game-sidebar,.desktop-game-context{display:none}@media(min-width:1024px){html.home-active,body.home-active,html.game-active,body.game-active{height:auto;min-height:100%;overflow:auto;overscroll-behavior:auto}body.home-active,body.game-active{position:static;inset:auto;min-height:100vh;min-height:100dvh}body.home-active #app,body.game-active #app{height:auto;min-height:100vh;min-height:100dvh}.desktop-home{min-height:100vh;background:radial-gradient(ellipse at 60% 20%,#1a385c22,transparent 55%),var(--bg)}.desktop-home .wrap{width:min(1280px,calc(100% - 96px))}.desktop-home .site-header{height:96px}.desktop-home .site-header .brand img{width:210px;height:70px}.desktop-home .sound-settings{width:auto;min-width:44px;padding:10px 13px;gap:8px}.desktop-home .sound-label{font-size:13px;font-weight:650}.desktop-home .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:38px;align-items:center;padding:56px 0 34px}.desktop-home .hero h1{font-size:clamp(66px,6.7vw,96px);line-height:1.02;letter-spacing:-5px;max-width:620px}.desktop-home .hero-copy>p{max-width:440px;font-size:17px;line-height:1.7}.desktop-home .hero-art{height:450px}.desktop-home .hero-copy .eyebrow{font-size:11px}.desktop-home .hero-cta{gap:12px}.desktop-home .hero-cta .btn{min-height:48px;font-size:15px;padding:14px 21px}.desktop-home .play-section{padding-top:20px}.desktop-home .play-panel{padding:28px}.desktop-home .setup-row{display:grid;grid-template-columns:1fr 1fr 1.12fr;gap:22px}.desktop-home .setup-row>.field{display:block}.desktop-home .field-label{font-size:12px;letter-spacing:.7px}.desktop-home .field-label small{font-size:11px;color:#a2b6cd}.desktop-home input,.desktop-home select{font-size:16px}.desktop-home .segmented button{height:40px;font-size:14px;flex:1}.desktop-home .mode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.desktop-home .mode-option{min-height:76px}.desktop-home .mode-option strong{font-size:15px}.desktop-home .mode-option small{font-size:12px}.desktop-home .setup-actions{gap:12px}.desktop-home .setup-actions .btn{min-height:52px;font-size:15px}.desktop-home .panel-foot{font-size:12px}.desktop-home .panel-foot .text-btn{min-height:44px;font-size:13px}.desktop-home .features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:35px 0 42px}.desktop-home .feature h3{font-size:15px}.desktop-home .feature p{font-size:13px}.desktop-home .lobby-list{grid-template-columns:repeat(3,minmax(0,1fr))}.desktop-home .room-card>div{min-width:0;overflow-wrap:anywhere}.desktop-home .room-card>.btn{flex:none}.desktop-home .room-card strong{font-size:14px}.desktop-home .room-card p{font-size:12px}.desktop-home .empty-lobby{text-align:center;font-size:14px}.desktop-home .site-footer{font-size:12px}.desktop-home .site-footer button{min-height:44px;font-size:12px}.game-shell{--header-height: 72px;--score-height: 50px;--turn-height: 34px;--dock-height: 164px;--hand-card-width: 78px;--hand-card-height: 112px;--table-card-width: 64px;--table-card-height: 92px;min-height:680px;height:100vh;height:100dvh;overflow:hidden}.game-shell .game-header{padding-left:max(28px,calc((100vw - 1440px)/2 + 24px));padding-right:max(28px,calc((100vw - 1440px)/2 + 24px));gap:24px}.game-shell .game-header .brand img{width:184px;height:60px}.game-shell .game-tools{margin-left:auto;gap:10px}.game-shell .game-tools>.btn{min-height:44px;padding:10px 18px;font-size:14px}.game-shell .game-tools .sound-settings{width:auto;min-width:44px;padding:10px 13px;gap:8px}.game-shell .sound-label{display:inline;font-size:13px;font-weight:650}.game-shell .connection-state{display:inline-flex;font-size:12px}.game-shell .desktop-game-context{display:flex;flex-direction:column;gap:4px;padding-left:22px;border-left:1px solid #c8d9d0;color:#1d435d;font-size:14px}.game-shell .desktop-game-context small{color:#527269;font-size:12px}.game-shell .game-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr);width:100%;height:100%;max-width:1440px;min-height:0;margin:0 auto;padding:18px 24px;gap:22px;overflow:hidden}.game-shell .table-column{grid-template-areas:"score" "arena" "turn" "hand";grid-template-columns:minmax(0,1fr);grid-template-rows:var(--score-height) minmax(280px,1fr) var(--turn-height) var(--dock-height);gap:10px}.game-shell .table-nav{display:none}.game-shell .arena,.game-shell .arena.has-many{border-radius:30px}.game-shell .score-ribbon{padding:6px 15px;gap:14px}.game-shell .score-ribbon .score-team .score-label{font-size:12px;max-width:116px}.game-shell .score-ribbon .hand-metadata{font-size:11px;gap:10px}.game-shell .hand-dock{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);gap:30px;padding:10px 20px}.game-shell .your-hand{height:100%;gap:13px;padding:0}.game-shell .hand-dock .action-dock{padding:4px 0 4px 24px;border-left:1px solid #54728455;gap:8px}.game-shell .action-dock .btn{min-height:48px;height:48px;font-size:15px}.game-shell .action-dock .raise-btn{font-size:19px}.game-shell .cover-toggle{justify-content:flex-start;font-size:14px}.game-shell .turn-caption strong{font-size:14px}.game-shell .turn-caption b,.game-shell .seat-name{font-size:12px}.game-shell .seat-relation{font-size:9px}.game-shell[data-phase=waiting] .hand-dock{grid-template-columns:minmax(0,1fr)}.game-shell[data-phase=waiting] .hand-dock .action-dock{padding-left:0;border-left:0}.game-shell .desktop-game-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0;min-height:0;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#527080 #112638;padding:0 3px 3px 0}.desktop-game-sidebar>*{flex:none;min-width:0}.desktop-game-sidebar .side-panel{padding:17px;border-radius:14px}.desktop-game-sidebar .side-panel h3{font-size:14px;margin:0 0 12px}.desktop-game-sidebar .side-panel p{font-size:12px;line-height:1.6;color:#adc2d4}.desktop-game-sidebar .side-label{font-size:10px}.desktop-game-sidebar .code-row{margin-bottom:10px}.desktop-game-sidebar .code-row strong{font-size:23px}.desktop-game-sidebar .code-row .icon-btn{width:44px;height:44px;min-width:44px}.desktop-game-sidebar .rule-info{margin-top:8px;gap:6px}.desktop-game-sidebar .rule-info span{font-size:11px}.desktop-game-sidebar .table-menu-grid{margin:0;gap:7px}.desktop-game-sidebar [data-sidebar-panel=mesa] .table-menu-grid{margin-top:10px}.desktop-game-sidebar [data-sidebar-panel]:focus-visible{outline:2px solid var(--green);outline-offset:-2px;border-radius:14px}.desktop-game-sidebar .table-menu-button{min-height:44px;padding:8px 10px;gap:7px;font-size:12px}.desktop-game-sidebar .table-menu-button>.icon:last-child{display:none}.desktop-game-sidebar .table-menu-button>.icon:first-child{width:17px;height:17px}.desktop-game-sidebar .manilha-strip{gap:5px;justify-content:center}.desktop-game-sidebar .manilha-strip .playing-card.small{width:43px;height:62px}.desktop-game-sidebar .manilha-strip .arrow{font-size:10px}.desktop-game-sidebar .strength-line{font-size:12px}.desktop-game-sidebar .side-panel>.btn{min-height:44px;font-size:13px}.desktop-game-sidebar .activity-log{max-height:220px;overflow-y:auto}.desktop-game-sidebar .activity-log li{font-size:12px;line-height:1.5}.desktop-game-sidebar .emote-row{justify-content:space-between;gap:3px;margin-top:12px}.desktop-game-sidebar .emote-row button{min-width:40px;min-height:44px;font-size:21px}body.home-active .request-status,body.home-active .toast{top:auto;bottom:25px}}@media(min-width:1024px)and (max-width:1199px){.desktop-home .wrap{width:calc(100% - 64px)}.desktop-home .hero{gap:20px;padding-top:40px}.desktop-home .hero h1{font-size:70px;letter-spacing:-4px}.desktop-home .hero-art{height:420px}.desktop-home .mode-option{gap:9px;padding:14px 12px}.desktop-home .mode-option small{font-size:11px}.desktop-home .setup-actions .btn{padding:14px 12px;font-size:14px}.desktop-home .lobby-list{grid-template-columns:repeat(2,minmax(0,1fr))}.game-shell .game-layout{grid-template-columns:minmax(0,1fr) 248px;padding:16px 20px;gap:16px}.game-shell .hand-dock{padding:10px 12px;gap:20px}.game-shell .hand-dock .action-dock{padding-left:14px}.game-shell .score-ribbon .score-team .score-label{max-width:80px}.desktop-game-sidebar .side-panel{padding:13px 11px}.desktop-game-sidebar .table-menu-button{gap:5px;font-size:11px}.desktop-game-sidebar .manilha-strip{gap:4px}.desktop-game-sidebar .emote-row{gap:2px}}@media(min-width:1024px)and (max-height:700px){.game-shell{--header-height: 60px;--score-height: 44px;--turn-height: 28px;--dock-height: 140px;min-height:600px}.game-shell .game-header .brand img{height:54px}.game-shell .game-layout{padding-top:10px;padding-bottom:10px}.game-shell .table-column{gap:8px}.game-shell .score-ribbon{padding-top:5px;padding-bottom:5px}.game-shell .hand-dock .action-dock{gap:6px}}
