:root{--scene-glow:#e4b34629;--scene-grid:#2d38460b}:root[data-theme=dark]{--scene-glow:#e8b44c17;--scene-grid:#ffffff06}html body{background:radial-gradient(ellipse at 50% 16%, var(--scene-glow), transparent 55%), linear-gradient(var(--scene-grid) 1px, transparent 1px), linear-gradient(90deg, var(--scene-grid) 1px, transparent 1px), var(--game-bg,var(--bg));background-size:auto,48px 48px,48px 48px,auto;background-attachment:fixed}body>div{z-index:1;position:relative}:where(.home-modes,#indexRoot):before,:where(.home-modes,#indexRoot):after{content:"";z-index:-1;aspect-ratio:3/2;filter:drop-shadow(0 4px #0000002e)drop-shadow(0 12px 16px #0000001f);pointer-events:none;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20192%20128'%3e%3cstyle%3erect{stroke:rgba(255,255,255,.3);stroke-width:1px}.piece-cyan{fill:%2322c9dd}.piece-yellow{fill:%23f3b930}.piece-purple{fill:%23a855e8}.piece-green{fill:%2356c95e}.piece-red{fill:%23ee5b58}.piece-blue{fill:%234383eb}.piece-orange{fill:%23f28a37}%3c/style%3e%3cg%20class='piece-yellow'%3e%3crect%20x='64'%20y='0'%20width='31'%20height='31'%20/%3e%3crect%20x='64'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='96'%20y='0'%20width='31'%20height='31'%20/%3e%3crect%20x='96'%20y='32'%20width='31'%20height='31'%20/%3e%3c/g%3e%3cg%20class='piece-green'%3e%3crect%20x='128'%20y='0'%20width='31'%20height='31'%20/%3e%3crect%20x='128'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='160'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='160'%20y='64'%20width='31'%20height='31'%20/%3e%3c/g%3e%3cg%20class='piece-purple'%3e%3crect%20x='0'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='32'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='32'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='64'%20y='64'%20width='31'%20height='31'%20/%3e%3c/g%3e%3cg%20class='piece-red'%3e%3crect%20x='96'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='128'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='128'%20y='96'%20width='31'%20height='31'%20/%3e%3crect%20x='160'%20y='96'%20width='31'%20height='31'%20/%3e%3c/g%3e%3cg%20class='piece-cyan'%3e%3crect%20x='0'%20y='96'%20width='31'%20height='31'%20/%3e%3crect%20x='32'%20y='96'%20width='31'%20height='31'%20/%3e%3crect%20x='64'%20y='96'%20width='31'%20height='31'%20/%3e%3crect%20x='96'%20y='96'%20width='31'%20height='31'%20/%3e%3c/g%3e%3c/svg%3e") 0 100%/contain no-repeat;width:200px;position:absolute;bottom:58px}:where(.home-modes,#indexRoot):before{left:16px}:where(.home-modes,#indexRoot):after{aspect-ratio:2;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20192%2096'%3e%3cstyle%3erect{stroke:rgba(255,255,255,.3);stroke-width:1px}.piece-cyan{fill:%2322c9dd}.piece-yellow{fill:%23f3b930}.piece-purple{fill:%23a855e8}.piece-green{fill:%2356c95e}.piece-red{fill:%23ee5b58}.piece-blue{fill:%234383eb}.piece-orange{fill:%23f28a37}%3c/style%3e%3cg%20class='piece-blue'%3e%3crect%20x='0'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='0'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='32'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='64'%20y='64'%20width='31'%20height='31'%20/%3e%3c/g%3e%3cg%20class='piece-orange'%3e%3crect%20x='96'%20y='32'%20width='31'%20height='31'%20/%3e%3crect%20x='96'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='128'%20y='64'%20width='31'%20height='31'%20/%3e%3crect%20x='160'%20y='64'%20width='31'%20height='31'%20/%3e%3c/g%3e%3c/svg%3e");width:180px;right:16px}.home-modes:before,.home-modes:after{z-index:0}.home-modes:before{left:-18px}.home-modes:after{right:-18px}@media (width>=901px){#indexRoot:before,#indexRoot:after{display:none}}@media (width>=901px) and (width<=1080px){.home-modes:before{width:140px}.home-modes:after{width:130px}}@media (width<=900px){.home-modes:before,.home-modes:after{display:none}#indexRoot{padding-bottom:calc(clamp(80px,14vw,140px)/1.5 + 32px)}#indexRoot:before,#indexRoot:after{width:clamp(80px,14vw,140px);bottom:16px}}@media (width<=600px){#indexRoot:before,#indexRoot:after{opacity:.35}}.brand-logo{color:inherit;letter-spacing:.015em;text-transform:uppercase;white-space:nowrap;align-items:center;gap:8px;font-size:1.1rem;font-weight:800;line-height:1.15;display:inline-flex}.brand-logo .brand-mark{flex:none;width:32px;height:32px}.brand-wordmark{flex-direction:column;gap:2px;display:flex}.brand-context{letter-spacing:0;text-transform:none;font-size:.65rem;font-weight:500}@media (pointer:coarse){.brand-logo{font-size:.875rem}.brand-logo .brand-mark{width:28px;height:28px}.page-header.single-header,.page-header.multi-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 8px;display:grid}.page-header.single-header .page-title{grid-area:1/1}.page-header.single-header .scoreboard{grid-area:2/1;margin:0}.page-header.single-header .header-actions{grid-area:1/2/3}.page-header .multi-title{min-width:0}.page-header .multi-title h1{font-size:1rem}.page-header .multi-title .room-info-badge{overflow-wrap:anywhere;max-width:100%}.page-header .header-actions,.page-header .multi-actions,.page-header.header>.nav{flex-flow:row;justify-content:flex-end;gap:8px}.page-header:is(.header,.single-header,.multi-header) :is(.header-actions,.multi-actions,.nav)>:is(.sound-toggle,.home-btn,.btn){color:var(--game-text,var(--text));background:var(--game-control-bg,var(--panel));border:1px solid var(--game-border,var(--border));box-shadow:none;-webkit-backdrop-filter:none;box-sizing:border-box;border-radius:8px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:0;font-size:0;line-height:0;display:inline-flex;transform:none}.page-header:is(.header,.single-header,.multi-header) :is(.header-actions,.multi-actions,.nav)>:is(.sound-toggle,.home-btn,.btn):before{content:"";width:22px;height:22px;-webkit-mask:var(--header-icon) center / contain no-repeat;-webkit-mask:var(--header-icon) center / contain no-repeat;mask:var(--header-icon) center / contain no-repeat;background:currentColor;flex:none}.page-header:is(.header,.single-header,.multi-header) :is(.header-actions,.multi-actions,.nav)>:focus-visible{outline:3px solid var(--game-accent,var(--accent));outline-offset:3px}.page-header:is(.header,.single-header,.multi-header) :is(.header-actions,.multi-actions,.nav)>:is(.sound-toggle,.btn)[aria-pressed=true]{color:var(--game-accent,var(--accent));border-color:var(--game-accent,var(--accent));background:color-mix(in srgb, var(--game-accent,var(--accent)) 16%, var(--game-control-bg,var(--panel)))}.page-header.header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.page-header.header>.brand{grid-area:1/1}.page-header.header>.nav{grid-area:1/2}#multiLobbyRoot .page-header .nav{flex-wrap:nowrap}#multiLobbyRoot .page-header .profile-box{grid-area:2/1/auto/-1;margin-left:0}#soundToggle{--header-icon:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%205%206%209H3v6h3l5%204V5Z%22%2F%3E%3Cpath%20d%3D%22m16%209%205%206m0-6-5%206%22%2F%3E%3C%2Fsvg%3E)}#soundToggle[aria-pressed=true]{--header-icon:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%205%206%209H3v6h3l5%204V5Z%22%2F%3E%3Cpath%20d%3D%22M15%208a6%206%200%200%201%200%208m3-11a10%2010%200%200%201%200%2014%22%2F%3E%3C%2Fsvg%3E)}#themeToggle{--header-icon:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.5%2013A8.5%208.5%200%200%201%2011%203.5%208.5%208.5%200%201%200%2020.5%2013Z%22%2F%3E%3C%2Fsvg%3E)}#themeToggle[aria-pressed=true]{--header-icon:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%202v2m0%2016v2M2%2012h2m16%200h2M5%205l1.5%201.5m11%2011L19%2019M5%2019l1.5-1.5m11-11L19%205%22%2F%3E%3C%2Fsvg%3E)}.home-btn{--header-icon:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h5v-7h4v7h5V9%22%2F%3E%3C%2Fsvg%3E)}}
