:root{color-scheme:light;--bg:#F7E6D2;--surface:#fbf0e4;--surface-2:#f1ddc7;--text:#282728;--muted:#77716d;--line:#d8c7b5;--accent:#90202C;--accent-soft:#ead1cb;--display:'Montserrat',Arial,Helvetica,sans-serif;--body:'Montserrat',Arial,Helvetica,sans-serif}html[data-theme="dark"]{color-scheme:dark;--bg:#282728;--surface:#302f30;--surface-2:#383637;--text:#eee9e5;--muted:#b8b1ad;--line:#484445;--accent:#F7E6D2;--accent-soft:#493437}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:14px;transition:background .25s,color .25s}.wrap{width:min(1080px,calc(100% - 56px));margin:auto}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center}.brand img{display:block;width:112px;height:auto}.top-actions{display:flex;align-items:center;gap:24px}.top-actions a{color:var(--muted);text-decoration:none;font-size:13px}.pill{background:transparent;color:var(--text);border:1px solid var(--line);border-radius:3px;padding:10px 15px;font:500 12px var(--body);cursor:pointer}.pill:hover,.filter:hover{border-color:var(--accent);color:var(--accent)}.theme-toggle{display:flex;align-items:center;gap:9px}.theme-icon{font-size:15px;color:var(--accent)}.hero{min-height:420px;display:grid;grid-template-columns:1fr .65fr;align-items:center;position:relative;padding:54px 0 62px}.hero-copy{position:relative;z-index:1}.eyebrow,.section-kicker,.dialog-kicker{font-size:10px;letter-spacing:1.7px;color:var(--accent);font-weight:700}.hero h1{font:700 clamp(48px,7vw,78px)/1.04 var(--display);letter-spacing:normal;margin:25px 0 18px}.hero h1 span{color:var(--accent)}.hero-lead{font-size:15px;color:var(--muted);line-height:1.8;margin:0 0 24px}.hero-buttons{display:flex;gap:10px;align-items:center}.button{border:1px solid transparent;border-radius:3px;padding:14px 18px;font:600 12px var(--body);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:background .18s,color .18s,border .18s}.button-primary{background:var(--accent);color:#fff}.button-primary:hover{background:var(--text);color:var(--bg)}.button-primary>span{font-size:18px;line-height:12px}.button-quiet{color:var(--text);background:transparent;border-color:var(--line)}.button-quiet:hover{border-color:var(--accent);color:var(--accent)}.social-proof{display:flex;align-items:center;gap:9px;margin-top:21px;font-size:10px;color:var(--muted)}.avatars{display:flex;padding-left:3px}.avatars i{font-style:normal;margin-left:-3px;width:21px;height:21px;border:2px solid var(--bg);border-radius:50%;display:grid;place-items:center;background:var(--surface-2);color:var(--text);font-size:8px}.avatars i:nth-child(2){background:var(--accent-soft)}.avatars i:nth-child(3){background:#d7d8cc}.avatars i:nth-child(4){background:var(--surface-2)}.proof-sep{color:var(--line)}.hero-side{height:230px;border-left:1px solid var(--line);margin-left:auto;padding-left:35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;color:var(--muted);font-size:9px;line-height:1.6;letter-spacing:1.2px}.hero-mark{font:700 88px/.9 var(--display);color:var(--accent);letter-spacing:-8px}.hero-side i{height:1px;width:42px;background:var(--accent);margin:3px 0}.section-block{padding:60px 0}.how{border-top:1px solid var(--line)}.section-block h2,.room-banner h2{font:600 29px var(--display);letter-spacing:-1px;margin:11px 0 0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.step{position:relative;border-top:1px solid var(--line);padding:18px 8px 10px 0;min-height:145px}.step-num{position:absolute;right:0;top:18px;font-size:10px;color:var(--muted)}.step-icon{width:30px;height:30px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:13px;margin-bottom:18px;color:var(--accent);background:transparent}.lilac,.orange,.mint{background:transparent;color:var(--accent)}.step h3{font:600 14px var(--display);margin:0 0 8px}.step p{font-size:11px;line-height:1.6;color:var(--muted);margin:0;max-width:265px}.games{padding-top:58px}.games-heading{display:flex;align-items:end;justify-content:space-between}.section-sub{color:var(--muted);font-size:12px;margin:9px 0 0}.game-count{color:var(--muted);font-size:10px;border:1px solid var(--line);padding:7px 10px;margin-bottom:4px}.catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0 16px}.search{height:40px;width:250px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--line);background:transparent;color:var(--muted)}.search span{font-size:19px}.search input{background:transparent;border:0;outline:0;color:var(--text);font:11px var(--body);width:100%}.search input::placeholder{color:var(--muted)}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{background:transparent;border:1px solid var(--line);padding:8px 11px;color:var(--muted);font:500 10px var(--body);cursor:pointer}.filter.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.game-card{border:1px solid var(--line);background:transparent;overflow:hidden;cursor:pointer;transition:border .2s,background .2s;min-width:0}.game-card:hover{border-color:var(--accent);background:var(--surface)}.game-cover{height:117px;position:relative;display:grid;place-items:center;overflow:hidden;background:var(--surface-2)!important;border-bottom:1px solid var(--line)}.game-cover:before{content:"";position:absolute;width:76px;height:76px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:50%}.game-cover:after{content:"";position:absolute;width:42px;height:42px;border:1px solid var(--accent);transform:rotate(45deg);opacity:.5}.game-cover .emoji{font:500 27px var(--display);filter:none;position:relative;z-index:1;background:var(--bg);color:var(--accent);border:1px solid var(--accent);width:48px;height:48px;display:grid;place-items:center;border-radius:50%}.cover-caption{position:absolute;bottom:9px;left:11px;font-size:7px;letter-spacing:1.1px;color:var(--muted)}.badge{position:absolute;top:9px;right:9px;padding:4px 6px;border:1px solid var(--line);color:var(--muted);font-size:7px;z-index:1;background:var(--bg)}.game-info{padding:12px}.game-title-row{display:flex;justify-content:space-between;align-items:center;gap:5px}.game-title{font:600 12px var(--display)}.game-arrow{color:var(--accent);font-size:13px}.game-description{height:33px;overflow:hidden;color:var(--muted);font-size:9px;line-height:1.5;margin:7px 0 10px}.game-meta{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:8px}.game-meta span+span:before{content:'·';margin-right:8px;color:var(--accent)}.load-more{display:block;margin:20px auto 0;background:transparent;border:1px solid var(--line);color:var(--text);padding:10px 14px;border-radius:2px;font:500 10px var(--body);cursor:pointer}.load-more:hover{border-color:var(--accent);color:var(--accent)}.load-more span{color:var(--accent);margin-left:7px}.room-banner{margin:35px 0 25px;padding:25px 28px;border:1px solid var(--line);background:var(--surface);display:flex;align-items:center;gap:20px;position:relative}.banner-orb{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--accent);color:var(--accent);font-size:20px}.room-banner .section-kicker{font-size:8px}.room-banner h2{font-size:22px;margin-top:5px}.room-banner p{color:var(--muted);margin:6px 0 0;font-size:10px}.button-light{margin-left:auto;background:transparent;border-color:var(--accent);color:var(--accent);padding:12px 15px}.button-light:hover{background:var(--accent);color:#fff}.button-light span{font-size:15px}footer{min-height:75px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:9px}.footer-brand img{width:76px}.footer-links{display:flex;gap:15px}.footer-links a{color:var(--muted);text-decoration:none}.footer-links a:hover{color:var(--accent)}.dialog{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:4px;padding:27px;width:min(450px,calc(100% - 32px));box-shadow:0 18px 70px #0003;position:fixed}.dialog::backdrop{background:#14121288;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:14px;top:11px;background:transparent;border:0;color:var(--muted);font-size:23px;cursor:pointer}.dialog h2{font:600 25px var(--display);letter-spacing:-.6px;margin:9px 0}.dialog p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 16px}.dialog-kicker{margin-top:8px}.detail-cover{height:135px;border:1px solid var(--line);display:grid;place-items:center;font-size:38px;margin:7px 0 18px;background:var(--surface-2)!important}.detail-stats{display:flex;gap:8px;margin:14px 0 18px}.detail-stats span{border:1px solid var(--line);padding:7px 9px;color:var(--muted);font-size:9px}.dialog .button{width:100%;justify-content:center}.room-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:17px 0}.room-choice{border:1px solid var(--line);background:transparent;color:var(--text);padding:11px;text-align:left;cursor:pointer;font:500 10px var(--body)}.room-choice span{font-size:15px;margin-right:7px;filter:grayscale(1)}.room-choice.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.room-confirm:disabled{opacity:.45;cursor:not-allowed}.room-result{margin-top:17px;padding:14px;border:1px solid var(--line);text-align:center;background:var(--surface)}.room-result strong{font:700 23px var(--display);letter-spacing:4px;color:var(--accent);display:block;margin:8px}.room-result button{background:transparent;border:1px solid var(--line);color:var(--text);padding:8px 11px;font:500 10px var(--body);cursor:pointer}.field-label{display:block;color:var(--muted);font-size:10px;margin:17px 0 11px}.field-label input{display:block;margin-top:7px;width:100%;background:transparent;border:1px solid var(--line);padding:12px;color:var(--text);font:12px var(--body);outline:none}.field-label input:focus{border-color:var(--accent)}.fine-print{display:block;margin-top:13px;color:var(--muted);line-height:1.5;font-size:9px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,15px);opacity:0;background:var(--text);color:var(--bg);padding:11px 16px;border-radius:2px;font-weight:600;font-size:11px;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.hero{grid-template-columns:1fr .4fr}.hero-side{padding-left:22px}.game-grid{grid-template-columns:repeat(3,1fr)}.catalog-tools{align-items:flex-start;flex-direction:column}.search{width:100%}.steps{gap:12px}.wrap{width:min(100% - 40px,700px)}}@media(max-width:600px){.wrap{width:calc(100% - 32px)}.topbar{height:68px}.brand img{width:91px}.top-actions{gap:8px}.top-actions>a{display:none}.pill{padding:8px 10px;font-size:10px}.theme-toggle{gap:5px}.hero{min-height:auto;grid-template-columns:1fr;padding:52px 0 37px}.hero h1{font-size:52px;letter-spacing:normal;margin-top:18px}.hero-lead{font-size:13px}.hero-side{display:none}.hero-buttons{flex-direction:column;align-items:stretch}.button{justify-content:center}.social-proof{font-size:9px;gap:6px}.section-block{padding:42px 0}.section-block h2{font-size:24px}.steps{grid-template-columns:1fr;gap:6px;margin-top:21px}.step{min-height:auto;padding:15px 26px 15px 48px}.step-icon{position:absolute;left:0;top:16px;width:30px;height:30px;margin:0}.step h3{font-size:12px}.step p{font-size:10px}.step-num{top:16px;right:0}.games-heading{align-items:center}.section-sub{font-size:10px}.catalog-tools{margin-top:17px}.filters{gap:5px}.filter{padding:7px 8px;font-size:9px}.game-grid{grid-template-columns:repeat(2,1fr);gap:8px}.game-cover{height:101px}.game-cover .emoji{font-size:21px;width:41px;height:41px}.game-info{padding:9px}.game-title{font-size:10px}.game-description{font-size:8px;height:35px}.game-meta{gap:5px;font-size:7px}.game-meta span+span:before{margin-right:5px}.room-banner{padding:17px;gap:12px;flex-wrap:wrap}.banner-orb{width:34px;height:34px;font-size:17px}.room-banner h2{font-size:18px}.room-banner p{font-size:9px}.button-light{width:100%;margin:5px 0 0}.footer-brand img{width:62px}footer{flex-wrap:wrap;padding:16px 0;justify-content:space-between}footer>span{order:3;width:100%}.footer-links{gap:10px;font-size:8px}.dialog{padding:22px}.room-choices{grid-template-columns:1fr}.theme-label{font-size:9px}}

/* Editorial, modular composition and restrained motion inspired by the supplied references. */
.hero{min-height:470px;grid-template-columns:1.05fr .95fr;gap:56px;padding-top:64px;padding-bottom:72px}
.hero-side{height:auto;min-height:305px;width:100%;max-width:430px;margin:0 0 0 auto;padding:24px;display:flex;align-items:stretch;justify-content:flex-start;gap:0;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);font-size:inherit;line-height:normal;letter-spacing:normal;box-shadow:0 20px 55px #4a352014;animation:panel-arrive .85s cubic-bezier(.2,.8,.2,1) both}
.hero-side:before{content:"";position:absolute;width:260px;height:260px;right:-115px;top:-120px;border:1px solid var(--accent);border-radius:50%;opacity:.11;box-shadow:0 0 0 24px var(--surface),0 0 0 25px var(--line),0 0 0 52px var(--surface),0 0 0 53px var(--line)}
.showcase-top,.showcase-game,.showcase-bottom{display:flex;align-items:center;position:relative;z-index:1}
.showcase-top{justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:1.1px}
.showcase-top>span:first-child{display:flex;align-items:center;gap:7px}
.showcase-top i{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.showcase-title{font:600 35px/1.03 var(--display);letter-spacing:-1.6px;margin:27px 0 20px;position:relative;z-index:1}
.showcase-game{gap:11px;border:1px solid var(--line);border-radius:10px;padding:11px;background:var(--bg);transition:transform .25s,border-color .25s}
.showcase-game:hover{transform:translateY(-3px);border-color:var(--accent)}
.showcase-symbol{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:19px}
.showcase-game b,.showcase-game small{display:block}.showcase-game b{font-size:10px;font-weight:600}.showcase-game small{color:var(--muted);font-size:8px;margin-top:4px}.showcase-arrow{margin-left:auto;color:var(--accent);font-size:16px}
.showcase-bottom{gap:10px;margin-top:16px;color:var(--muted);font-size:9px}.showcase-players{display:flex;padding-left:2px}.showcase-players i{font-style:normal;width:23px;height:23px;margin-left:-2px;border:2px solid var(--surface);border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font-size:8px;color:var(--text)}.showcase-players i:nth-child(2){background:var(--accent-soft)}.showcase-players i:nth-child(3){background:#d5ded7}.showcase-players i:nth-child(4){background:var(--text);color:var(--bg)}.showcase-bottom button{margin-left:auto;border:0;width:30px;height:30px;border-radius:50%;background:var(--accent);color:white;font-size:16px;transition:transform .25s}.showcase-bottom button:hover{transform:translateX(3px)}
.showcase-note{position:absolute;bottom:13px;left:24px;color:var(--muted);font-size:8px;letter-spacing:.2px}
.step{border:1px solid var(--line);border-radius:12px;padding:18px 18px 20px;min-height:160px;background:var(--surface);transition:transform .25s,border-color .25s,box-shadow .25s}.step:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 12px 30px #4a352012}.step-num{right:17px;top:17px}.step-icon{transition:transform .3s,background .3s,color .3s}.step:hover .step-icon{transform:rotate(-8deg) scale(1.08);background:var(--accent);color:white}
.game-card{border-radius:12px;background:var(--surface);transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .24s,box-shadow .28s}.game-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px #4a352014}.game-cover{height:128px;transition:background .25s}.game-cover:before,.game-cover:after{transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .3s}.game-card:hover .game-cover:before{transform:scale(1.14);opacity:.8}.game-card:hover .game-cover:after{transform:rotate(60deg) scale(1.13)}.game-cover .emoji{transition:transform .3s cubic-bezier(.2,.8,.2,1)}.game-card:hover .game-cover .emoji{transform:scale(1.08) rotate(-5deg)}
.button-primary{transition:transform .2s,box-shadow .2s,background .2s,color .2s}.button-primary:hover{transform:translateY(-2px);box-shadow:0 8px 18px #90202c24}.button-primary:active{transform:translateY(0) scale(.985)}.filter,.pill,.load-more{transition:color .2s,border-color .2s,background .2s,transform .2s}.filter:active,.pill:active{transform:scale(.97)}
.room-banner{border-radius:14px;transition:border-color .25s}.room-banner:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.banner-orb{border-radius:12px;transition:transform .35s}.room-banner:hover .banner-orb{transform:rotate(12deg)}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1)}.reveal.is-visible{opacity:1;transform:translateY(0)}.game-card.reveal:nth-child(4n+2){transition-delay:.06s}.game-card.reveal:nth-child(4n+3){transition-delay:.12s}.game-card.reveal:nth-child(4n+4){transition-delay:.18s}
@keyframes panel-arrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:800px){.hero{grid-template-columns:1fr .8fr;gap:24px}.hero-side{padding:18px;min-height:280px}.showcase-title{font-size:29px}.showcase-note{left:18px}}
@media(max-width:600px){.hero{grid-template-columns:1fr;gap:27px;padding-top:43px;padding-bottom:42px}.hero-side{display:flex;min-height:260px;margin:0 auto;max-width:none;padding:20px}.showcase-title{font-size:31px;margin:22px 0 16px}.showcase-note{left:20px}.steps .step{padding:15px 27px 15px 50px;min-height:105px}.step-icon{position:absolute;left:12px;top:16px}.step-num{top:16px;right:12px}.game-cover{height:105px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* New direction: soft blue product canvas, layered app cards, and tactile motion. */
:root{--bg:#edf0fb;--surface:#fff;--surface-2:#e5e9f7;--text:#171925;--muted:#73788b;--line:#e4e6ef;--accent:#2949ee;--accent-soft:#dfe5ff}
html[data-theme="dark"]{--bg:#151722;--surface:#202332;--surface-2:#292d40;--text:#f4f5fb;--muted:#a5abc0;--line:#35394d;--accent:#8799ff;--accent-soft:#303858}
body{background:radial-gradient(ellipse at 85% 12%,#dbe3ff 0,transparent 32%),radial-gradient(ellipse at 2% 43%,#d7e5fa 0,transparent 30%),var(--bg)}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 85% 12%,#262c48 0,transparent 33%),radial-gradient(ellipse at 5% 48%,#202d3e 0,transparent 32%),var(--bg)}
.topbar{border:0;height:88px}.brand img{width:120px;filter:hue-rotate(78deg) saturate(.95)}.top-actions{gap:12px}.top-actions>a{color:var(--text);padding:11px 14px;border-radius:999px;transition:background .2s}.top-actions>a:hover{background:var(--surface)}.pill{border:0;border-radius:999px;background:var(--surface);box-shadow:0 3px 11px #252f5b0c;padding:11px 17px}.theme-toggle{background:#e0e5f7}.theme-icon{color:var(--accent)}
.hero{min-height:600px;grid-template-columns:.93fr 1.07fr;gap:42px;padding:48px 0 78px}.hero h1{font-size:clamp(53px,6.8vw,82px);letter-spacing:normal}.hero h1 span{color:var(--accent)}.eyebrow,.section-kicker,.dialog-kicker{color:var(--accent)}.hero-lead{color:var(--muted)}.button{border-radius:999px;padding:15px 21px}.button-primary{background:var(--accent);box-shadow:0 8px 22px #2949ee38}.button-primary:hover{background:#192cb7;color:#fff;box-shadow:0 12px 26px #2949ee45}.button-quiet{background:var(--surface);border-color:transparent;box-shadow:0 4px 18px #252f5b0e}.avatars i:nth-child(2){background:#d9e8ff}.avatars i:nth-child(3){background:#dbeee8}
.hero-side{max-width:490px;min-height:362px;margin-right:4px;padding:28px 30px;border:1px solid #ffffffc9;border-radius:27px;background:linear-gradient(145deg,#ffffff,#f5f7ff);box-shadow:0 36px 80px #354d9e20,0 8px 22px #354d9e12;animation:panel-arrive .9s cubic-bezier(.17,.84,.33,1) both;transform:perspective(1000px) rotateY(-3deg) rotateX(1deg);transition:transform .45s,box-shadow .45s}
.hero-side:hover{transform:perspective(1000px) rotateY(0) rotateX(0) translateY(-4px);box-shadow:0 42px 90px #354d9e2b,0 9px 24px #354d9e16}
html[data-theme="dark"] .hero-side{background:linear-gradient(145deg,#272c40,#202332);border-color:#414761;box-shadow:0 36px 80px #0005}
.hero-side:before{width:300px;height:300px;right:-100px;top:-166px;border-color:var(--accent);opacity:.12;box-shadow:0 0 0 25px var(--surface),0 0 0 26px var(--line),0 0 0 54px var(--surface),0 0 0 55px var(--line)}
.showcase-top{font-size:9px}.showcase-top i{background:#49bd8d;box-shadow:0 0 0 4px #d9f5e8}.showcase-title{font-size:39px;margin:31px 0 25px;letter-spacing:-2px}.showcase-game{background:#fff;border:1px solid #e8eaf3;border-radius:15px;padding:13px;box-shadow:0 7px 22px #30427e0d}.showcase-game:hover{transform:translateY(-3px) scale(1.012);border-color:#bec9ff}.showcase-symbol{width:43px;height:43px;border-radius:13px;background:#e6eaff;color:#405ce8}.showcase-game b{font-size:11px}.showcase-game small{font-size:9px}.showcase-bottom{margin-top:18px}.showcase-players i:nth-child(2){background:#f5e0eb}.showcase-players i:nth-child(3){background:#d8f0e5}.showcase-bottom button{width:34px;height:34px;background:var(--accent);box-shadow:0 5px 13px #2949ee40}.showcase-note{bottom:15px;color:#9298ac}
.section-block{padding-top:76px;padding-bottom:72px}.how{border:0}.section-block h2,.room-banner h2{font-size:34px;letter-spacing:-1.5px}.steps{gap:15px;margin-top:34px}.step{min-height:185px;padding:23px;border:1px solid #ffffff;background:var(--surface);border-radius:20px;box-shadow:0 13px 34px #354d9e0c}.step:hover{transform:translateY(-6px);border-color:#d5dcff;box-shadow:0 23px 48px #354d9e18}.step-icon{border:0;border-radius:13px;background:#e5eaff;color:#3d58e3;width:42px;height:42px}.step:nth-child(2) .step-icon{background:#e1f1eb;color:#398a6c}.step:nth-child(3) .step-icon{background:#f8e9df;color:#cb794b}.step:hover .step-icon{background:var(--accent);color:white}.step-num{right:22px;top:24px;color:#a9adbd}.step h3{font-size:15px}.step p{font-size:12px;color:var(--muted)}
.games{padding-top:63px}.game-count{background:var(--surface);border:0;border-radius:99px;box-shadow:0 4px 14px #354d9e0d}.search{border:0;border-radius:999px;background:var(--surface);box-shadow:0 4px 18px #354d9e0c;padding:0 16px}.filter{border:0;border-radius:99px;background:var(--surface);box-shadow:0 4px 14px #354d9e09;padding:9px 13px}.filter.active{background:var(--accent);color:white;box-shadow:0 5px 14px #2949ee35}.game-grid{gap:17px}.game-card{border:0;background:var(--surface);border-radius:18px;box-shadow:0 8px 24px #354d9e0b;overflow:hidden;transform-style:preserve-3d;will-change:transform}.game-card:hover{border:0;box-shadow:0 24px 46px #354d9e20}.game-cover{height:145px;border:0!important;background:linear-gradient(145deg,#e1e7fb,#f1f2fa)!important}.game-card:nth-child(4n+2) .game-cover{background:linear-gradient(145deg,#dcefe9,#f1f7f3)!important}.game-card:nth-child(4n+3) .game-cover{background:linear-gradient(145deg,#f3e3e7,#faf2f1)!important}.game-card:nth-child(4n+4) .game-cover{background:linear-gradient(145deg,#e4e5f2,#f5f3fb)!important}.game-cover:before{width:100px;height:100px;border:0;background:radial-gradient(circle,#fff9,transparent 68%);opacity:.75}.game-cover:after{width:68px;height:68px;border-radius:19px;transform:rotate(45deg);border:1px solid #5b70dc35;background:#ffffff24}.game-card:nth-child(4n+2) .game-cover:after{border-color:#58a88c38}.game-card:nth-child(4n+3) .game-cover:after{border-color:#b8758738}.game-cover .emoji{width:54px;height:54px;border:0;background:#ffffffd9;color:#3546a5;border-radius:17px;box-shadow:0 9px 20px #323b6d15;font-size:27px}.game-card:nth-child(4n+2) .game-cover .emoji{color:#32755f}.game-card:nth-child(4n+3) .game-cover .emoji{color:#9d5868}.game-cover .cover-caption{color:#7e859b;letter-spacing:1.3px}.badge{border:0;border-radius:99px;background:#ffffffbc;color:#59617b}.game-info{padding:15px}.game-title{font-size:13px}.game-description{font-size:10px}.game-meta{font-size:9px}.load-more{border:0;border-radius:99px;background:var(--surface);box-shadow:0 5px 16px #354d9e12;padding:12px 18px}.room-banner{margin-top:42px;border:0;border-radius:22px;padding:30px 34px;background:linear-gradient(115deg,#2949ee,#5472f5 60%,#8193ff);box-shadow:0 20px 45px #2949ee31;color:#fff}.room-banner .section-kicker,.room-banner p{color:#e1e6ff}.room-banner h2{color:#fff}.banner-orb{background:#ffffff21;border:1px solid #ffffff54;color:#fff;border-radius:15px}.room-banner:hover{border:0;box-shadow:0 26px 55px #2949ee42}.button-light{background:#fff;color:#2439bb;border:0;border-radius:999px}.button-light:hover{background:#e8ebff;color:#1e329e}
footer{border:0;padding:14px 0 28px}.footer-brand img{filter:hue-rotate(78deg) saturate(.95)}.dialog{border:1px solid #ffffff;background:var(--surface);border-radius:22px;box-shadow:0 28px 90px #151a3650}.dialog::backdrop{background:#19203b70;backdrop-filter:blur(7px)}.room-choice{border:1px solid var(--line);border-radius:12px;background:var(--surface)}.room-choice:hover,.room-choice.selected{border-color:#7187ff;background:#e7ebff;color:#334de1}.room-choice span{filter:none}.room-result{border:0;border-radius:14px;background:var(--surface-2)}.room-result button{border-radius:99px}.field-label input{border-radius:12px;background:var(--bg)}
.button-primary{animation:button-in .65s .12s both}.hero-copy>*{animation:copy-in .65s cubic-bezier(.2,.8,.2,1) both}.hero-copy>*:nth-child(2){animation-delay:.07s}.hero-copy>*:nth-child(3){animation-delay:.13s}.hero-copy>*:nth-child(4){animation-delay:.19s}.hero-copy>*:nth-child(5){animation-delay:.24s}
@keyframes button-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes copy-in{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.hero{grid-template-columns:1fr .88fr;gap:24px}.hero-side{padding:22px;min-height:320px}.showcase-title{font-size:34px}.step{padding:19px;min-height:172px}.game-grid{gap:12px}}
@media(max-width:600px){.hero{grid-template-columns:1fr;gap:27px}.hero-side{min-height:280px;padding:21px}.showcase-title{font-size:33px}.section-block{padding-top:52px;padding-bottom:48px}.steps .step{min-height:118px;padding:17px 28px 17px 59px}.step-icon{left:13px;top:19px}.games{padding-top:50px}.game-grid{gap:9px}.game-cover{height:111px}.game-info{padding:11px}.room-banner{padding:21px;border-radius:17px}}
.brand img,.footer-brand img{filter:hue-rotate(222deg) saturate(1.15)}
html[data-theme="dark"] .game-card:nth-child(4n+1) .game-cover{background:linear-gradient(145deg,#343d5d,#2a2e42)!important}
html[data-theme="dark"] .game-card:nth-child(4n+2) .game-cover{background:linear-gradient(145deg,#2e4945,#283a3a)!important}
html[data-theme="dark"] .game-card:nth-child(4n+3) .game-cover{background:linear-gradient(145deg,#503b4c,#382e3d)!important}
html[data-theme="dark"] .game-card:nth-child(4n+4) .game-cover{background:linear-gradient(145deg,#3c4058,#303243)!important}
html[data-theme="dark"] .game-cover .emoji{background:#ffffffec;color:#3546a5}
html[data-theme="dark"] .showcase-game{background:#292d40;border-color:#3a3f56}
html[data-theme="dark"] .showcase-note{color:var(--muted)}
html[data-theme="dark"] .room-choice:hover,html[data-theme="dark"] .room-choice.selected{background:#303858;color:#b8c4ff;border-color:#8799ff}
.hero-side{translate:0 0;animation:panel-arrive .9s cubic-bezier(.17,.84,.33,1) both,card-drift 8s 1s ease-in-out infinite}
.hero-side:hover{translate:0 -5px}
.game-card:hover{transform:translateY(-5px) perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}
@keyframes card-drift{0%,100%{translate:0 0}50%{translate:0 -4px}}

/* Quiet pass: remove decorative depth and keep motion nearly invisible. */
:root{--bg:#f4f5f8;--surface:#fff;--surface-2:#eef0f4;--text:#202127;--muted:#747984;--line:#e2e4e9;--accent:#344bd0;--accent-soft:#e8ebfa}
html[data-theme="dark"]{--bg:#1c1d21;--surface:#24262b;--surface-2:#2b2d33;--text:#f0f1f3;--muted:#a3a6ae;--line:#383a41;--accent:#98a6ff;--accent-soft:#2d3249}
body,html[data-theme="dark"] body{background:var(--bg)}
.topbar{height:76px;border-bottom:1px solid var(--line)}.brand img,.footer-brand img{filter:none}.top-actions{gap:8px}.top-actions>a{padding:8px 10px}.pill{box-shadow:none;background:transparent;border:1px solid var(--line);border-radius:6px}.theme-toggle{background:transparent}
.hero{min-height:425px;display:block;padding:72px 0 66px}.hero h1{font-size:clamp(52px,7vw,76px);letter-spacing:normal;margin:21px 0 16px}.hero-side{display:none}.hero-aside{display:flex;align-items:center;gap:16px;margin-top:28px;padding-top:15px;border-top:1px solid var(--line);max-width:530px;color:var(--muted)}.hero-aside>span{font-size:10px;color:var(--accent)}.hero-aside p{font-size:11px;line-height:1.55;margin:0}.hero-aside a{margin-left:auto;color:var(--text);font-size:10px;text-decoration:none;white-space:nowrap}.hero-aside a b{color:var(--accent);font-size:14px;margin-left:5px;font-weight:400}.hero-aside a:hover{color:var(--accent)}
.hero-copy>*{animation:copy-fade .3s ease both}.hero-copy>*:nth-child(n){animation-delay:0s}.button-primary{animation:none;box-shadow:none}.button-primary:hover{background:#283dbd;color:#fff;box-shadow:none;transform:none}.button-primary:active{transform:scale(.99)}
.section-block{padding-top:54px;padding-bottom:55px}.section-block h2,.room-banner h2{font-size:29px;letter-spacing:-.8px}.steps{gap:12px}.step,.step:hover{min-height:145px;padding:19px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:none;transform:none;transition:border-color .18s}.step:hover{border-color:#b6bdce}.step-icon{display:none}.step-num{top:18px;right:17px;color:var(--accent)}.step h3{margin-top:11px;font-size:13px}.step p{font-size:11px}
.game-grid{gap:12px}.game-card,.game-card:hover{border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:none;transform:none;transition:border-color .18s,background-color .18s}.game-card:hover{border-color:#b6bdce}.game-cover,.game-card:nth-child(n) .game-cover{height:78px;background:var(--surface-2)!important;border:0!important;display:flex;align-items:center;justify-content:space-between;padding:0 13px}.game-cover:before,.game-cover:after{display:none}.game-cover .emoji{display:none}.game-index{font-size:23px;font-weight:400;letter-spacing:-1px;color:var(--accent)}.cover-caption{position:static;color:var(--muted);font-size:8px;letter-spacing:.5px;text-transform:none}.game-card:nth-child(n) .game-info{padding:12px}.game-title{font-size:12px}.game-description{font-size:9px;height:30px;margin:6px 0 9px}.game-meta{font-size:8px}.game-arrow{transition:transform .18s}.game-card:hover .game-arrow{transform:translate(2px,-2px)}.badge{display:none}
.room-banner,.room-banner:hover{margin-top:30px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:none;color:var(--text);padding:22px 24px}.room-banner h2{color:var(--text);font-size:20px}.room-banner p,.room-banner .section-kicker{color:var(--muted)}.banner-orb{display:none}.button-light{border:1px solid var(--line);border-radius:6px;color:var(--text);background:transparent}.button-light:hover{background:var(--surface-2);color:var(--text)}footer{border-top:1px solid var(--line)}
.dialog{border-radius:10px;box-shadow:0 16px 45px #16192320}.dialog::backdrop{background:#20212755;backdrop-filter:blur(2px)}.room-choice,.room-choice:hover,.room-choice.selected{border-radius:7px}.room-choice:hover{border-color:#b6bdce;background:var(--surface-2);color:var(--text)}.room-choice.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.room-choice-number{display:inline-block;width:22px;color:var(--accent);font-size:9px}.detail-cover{height:72px;border-radius:7px;background:var(--surface-2)!important;display:flex;align-items:center;justify-content:flex-start;padding:0 16px}.detail-cover span{font-size:25px;color:var(--accent)}
.reveal{opacity:0;transform:none;transition:opacity .28s ease}.reveal.is-visible{opacity:1;transform:none}.game-card.reveal:nth-child(n){transition-delay:0s}
@keyframes copy-fade{from{opacity:0}to{opacity:1}}
@media(max-width:600px){.hero{padding:52px 0 42px}.hero-aside{align-items:flex-start;flex-wrap:wrap}.hero-aside p{flex:1}.hero-aside a{margin:0 0 0 25px}.steps .step{min-height:112px;padding:15px 20px}.step h3{margin-top:9px}.game-cover,.game-card:nth-child(n) .game-cover{height:65px}.game-index{font-size:19px}.game-info{padding:10px}.room-banner{padding:18px}.button-light{width:auto;margin:0 0 0 auto}}

/* Hero layout based on the supplied Figma frame. */
:root{--bg:#fff;--surface:#fff;--surface-2:#f7f7f7;--text:#292929;--muted:#666;--line:#e7e7e7;--accent:#90202C;--accent-soft:#f6ebed}
html[data-theme="dark"]{--bg:#232323;--surface:#2e2e2e;--surface-2:#353535;--text:#f4f4f4;--muted:#b5b5b5;--line:#484848;--accent:#F7E6D2;--accent-soft:#493236}
.wrap{width:min(1420px,calc(100% - 64px))}.topbar{height:64px;margin:38px auto 0;padding:0 8px 0 20px;border:0;border-radius:999px;background:var(--surface-2);box-shadow:none}.brand img{width:92px}.top-actions{gap:18px}.top-actions>a{font-size:16px;color:var(--text);padding:8px 10px}.pill{font:500 16px var(--body);padding:12px 22px;border:2px solid var(--text);border-radius:999px;background:transparent;color:var(--text)}.fullscreen-pill{padding:10px 22px}.login-pill{background:#292929;color:#fff;border-color:#292929;min-width:142px}.login-pill span{margin-left:9px}.theme-toggle{border:0;background:transparent;padding:9px;color:var(--muted)}.theme-toggle .theme-label{font-size:11px}.theme-icon{color:var(--muted)}
.hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(460px,.9fr);align-items:center;gap:56px;min-height:675px;padding:36px 12px 76px}.hero-copy{align-self:center}.hero h1{font-size:clamp(44px,4.5vw,67px);line-height:1.08;letter-spacing:normal;margin:0 0 74px;font-weight:700}.hero h1 span{display:inline-block;color:var(--accent);white-space:nowrap;text-transform:uppercase;margin-top:5px}.hero-lead{font-size:clamp(17px,2vw,28px);font-weight:600;line-height:1.65;color:#666;margin:0}.hero-panels{padding:26px 22px 22px;background:#f7f7f7;border-radius:34px;display:grid;gap:18px;width:100%;box-shadow:none}.join-panel{background:#fff;border-radius:25px;padding:22px 32px 25px}.join-panel h2{font:700 28px var(--display);letter-spacing:-.6px;margin:0 0 3px}.join-panel>p{font-size:17px;margin:0 0 16px;color:var(--text)}.role-switch{height:58px;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding:3px;background:#f5f5f5;border-radius:99px;margin-bottom:19px}.role-option{border:0;border-radius:99px;background:transparent;color:var(--text);font:500 16px var(--body);cursor:pointer;transition:background .18s,color .18s}.role-option.selected{background:#fff;box-shadow:0 1px 5px #00000008}.code-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 3px 19px}.code-inputs input{width:100%;height:91px;border:1px solid #f0f0f0;border-radius:17px;background:#f8f8f8;text-align:center;color:var(--text);font:600 30px var(--display);outline:none;transition:border-color .18s,background .18s}.code-inputs input:focus{border-color:#b9b9b9;background:#fff}.join-button{background:#292929;color:#fff;border:0;border-radius:999px;font:500 17px var(--body);padding:14px 26px;min-width:155px;justify-content:space-between}.join-button:hover:not(:disabled){background:#111;transform:translateY(-1px)}.join-button:disabled{cursor:default;opacity:1;background:#292929}.join-button span{font-size:20px}.create-room-card{width:100%;min-height:164px;border:0;border-radius:25px;background:#fff;color:var(--text);padding:25px 32px;display:flex;align-items:flex-start;gap:21px;text-align:left;cursor:pointer;transition:background .18s}.create-room-card:hover{background:#fefefe}.create-plus{width:82px;height:82px;flex:none;border-radius:29px;background:#292929;color:white;display:grid;place-items:center;font:400 54px/1 var(--body);transition:transform .2s}.create-room-card:hover .create-plus{transform:rotate(90deg)}.create-room-copy{display:flex;flex-direction:column;gap:4px;padding-top:1px}.create-room-copy strong{font:700 26px var(--display);letter-spacing:-.5px}.create-room-copy small{font:400 16px/1.45 var(--body);color:var(--text)}.create-arrow{margin-left:auto;color:var(--muted);font-size:18px;opacity:0;transform:translate(-4px,4px);transition:opacity .18s,transform .18s}.create-room-card:hover .create-arrow{opacity:1;transform:translate(0,0)}
html[data-theme="dark"] .hero-panels{background:#2b2b2b}.hero-panels,html[data-theme="dark"] .hero-panels{box-shadow:none}.join-panel,html[data-theme="dark"] .join-panel,.create-room-card,html[data-theme="dark"] .create-room-card{background:var(--surface)}.role-switch{background:var(--surface-2)}.role-option.selected{background:var(--surface)}.code-inputs input{background:var(--surface-2);border-color:transparent}.code-inputs input:focus{background:var(--surface);border-color:var(--muted)}.join-button,html[data-theme="dark"] .join-button{background:#292929;color:white}.create-plus{background:#292929;color:#fff}.hero-lead{color:var(--muted)}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.hero{grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:30px;padding-left:0;padding-right:0}.hero h1{font-size:clamp(40px,5vw,54px);margin-bottom:55px}.hero-panels{padding:19px 17px 17px}.join-panel{padding:21px}.code-inputs{gap:9px}.code-inputs input{height:74px}.create-room-card{padding:22px;min-height:125px;gap:15px}.create-plus{width:66px;height:66px;border-radius:23px;font-size:43px}.create-room-copy strong{font-size:21px}.create-room-copy small{font-size:14px}}
@media(max-width:700px){.wrap{width:calc(100% - 32px)}.topbar{margin-top:16px;padding:0 7px 0 13px;height:55px}.brand img{width:76px}.top-actions{gap:4px}.top-actions>a{display:none}.pill{font-size:11px;padding:9px 12px;border-width:1px}.fullscreen-pill{display:none}.theme-toggle{display:flex}.theme-toggle .theme-label{display:none}.login-pill{min-width:auto}.hero{display:flex;flex-direction:column;align-items:stretch;gap:30px;min-height:auto;padding:59px 0 55px}.hero h1{font-size:clamp(35px,8vw,50px);line-height:1.12;letter-spacing:normal;margin:0 0 23px}.hero h1 span{white-space:normal;margin-top:4px}.hero-lead{font-size:15px;line-height:1.65}.hero-panels{padding:13px;gap:11px;border-radius:24px}.join-panel{padding:19px 17px 18px;border-radius:18px}.join-panel h2{font-size:22px}.join-panel>p{font-size:14px;margin-bottom:13px}.role-switch{height:48px;margin-bottom:14px}.role-option{font-size:13px}.code-inputs{gap:8px;margin-bottom:14px}.code-inputs input{height:67px;border-radius:12px;font-size:24px}.join-button{font-size:14px;padding:12px 20px;min-width:130px}.create-room-card{min-height:112px;padding:17px;border-radius:18px;gap:13px}.create-plus{width:51px;height:51px;border-radius:17px;font-size:35px}.create-room-copy strong{font-size:17px}.create-room-copy small{font-size:11px}.create-arrow{display:none}}
.theme-toggle{width:40px;height:40px;padding:0;border:0;background:transparent;box-shadow:none;display:grid;place-items:center}.theme-toggle:hover{border:0;background:var(--surface-2)}.theme-icon{display:block;width:19px;height:19px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;fill:none;color:var(--text)}

/* Figma feedback refinements */
.create-room-card{height:auto;min-height:0;align-items:center}.join-button{width:max-content;min-width:0;justify-content:center;gap:14px}.join-button span{margin:0}.fullscreen-fallback{position:fixed!important;inset:0!important;z-index:99999!important;overflow:auto!important;width:100%!important;height:100%!important;background:var(--bg)!important;padding:0 max(16px,calc((100vw - 1420px)/2))!important}.fullscreen-fallback .topbar{margin-top:20px}
@media(max-width:700px){.create-room-card{min-height:0}.join-button{gap:12px}}

.brand-logo-img{display:block;width:205px;max-width:28vw;height:auto;filter:none}.footer-brand .brand-logo-img{width:160px;max-width:22vw}@media(max-width:700px){.brand-logo-img{width:155px;max-width:38vw}.footer-brand .brand-logo-img{width:130px;max-width:34vw}}
.brand img.brand-logo-img{width:min(280px,33vw);max-width:none;height:auto;flex:none}.footer-brand img.brand-logo-img{width:min(230px,24vw)}
@media(max-width:1000px){.fullscreen-pill{display:none}}
@media(max-width:700px){.brand img.brand-logo-img{width:min(245px,51vw)}.footer-brand img.brand-logo-img{width:min(220px,55vw)}}
.how{padding:55px 0 48px;border:0}.how-title{font-size:clamp(37px,4vw,58px)!important;line-height:1.08;letter-spacing:-1.8px!important;margin:0 0 10px!important}.how-description{max-width:1260px;font-size:clamp(18px,2.25vw,31px);font-weight:600;line-height:1.24;color:var(--muted);margin:0 0 30px}.how-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.how-step{min-height:270px;padding:25px 26px 24px;background:#f7f7f7;border-radius:26px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;transition:background .2s}.how-number{width:78px;height:78px;flex:none;border-radius:25px;background:#ead6d8;color:#292929;display:grid;place-items:center;font:700 48px/1 var(--display);margin-bottom:19px}.how-step p{font:600 clamp(18px,1.75vw,27px)/1.26 var(--display);color:var(--text);margin:0}.how-cta{width:100%;min-height:112px;margin-top:25px;border:0;border-radius:27px;background:var(--accent);color:#fff;font:500 clamp(36px,6vw,78px)/1.05 var(--display);letter-spacing:-2px;cursor:pointer;transition:filter .18s,transform .18s}.how-cta:hover{filter:brightness(.92)}.how-cta:active{transform:scale(.995)}html[data-theme="dark"] .how-step{background:#2e2e2e}html[data-theme="dark"] .how-number{background:#493236;color:#f4f4f4}
@media(max-width:800px){.how-steps{gap:14px}.how-step{min-height:245px;padding:19px;border-radius:20px}.how-number{width:64px;height:64px;border-radius:21px;font-size:39px;margin-bottom:16px}.how-step p{font-size:clamp(16px,2.5vw,21px)}.how-cta{min-height:88px}}
@media(max-width:600px){.how{padding:43px 0 36px}.how-title{font-size:36px!important}.how-description{font-size:17px;line-height:1.4;margin-bottom:21px}.how-steps{grid-template-columns:1fr;gap:11px}.how-step{min-height:0;padding:17px;border-radius:17px}.how-number{width:47px;height:47px;border-radius:15px;font-size:27px;margin-bottom:14px}.how-step p{font-size:17px;line-height:1.35}.how-cta{min-height:68px;margin-top:14px;border-radius:17px;font-size:28px;letter-spacing:-.6px}}
.games-heading{margin-bottom:21px}.catalog-tools{display:grid;grid-template-columns:1fr auto;grid-template-areas:"filters search";align-items:center;margin:0 0 19px}.filters{grid-area:filters;display:flex;align-items:center;gap:5px;padding:4px;border-radius:999px;background:var(--surface-2);width:max-content;max-width:100%}.filter{border:0;border-radius:999px;background:transparent;padding:10px 16px;color:var(--muted);box-shadow:none;font-size:11px}.filter.active{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #00000012}.search{grid-area:search;width:250px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{border:0!important;border-radius:22px;background:#f8f8f8!important;box-shadow:none!important;padding:14px;min-width:0;transition:background .18s}.game-card:hover{background:#f4f4f4!important;transform:none!important}.game-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.game-card-tabs{display:flex;align-items:center;gap:4px;padding:3px;border-radius:999px;background:#ededed}.game-tab{border:0;border-radius:999px;background:transparent;padding:7px 13px;color:#727272;font:500 10px var(--body);cursor:pointer;transition:background .18s,color .18s}.game-tab.active{background:#fff;color:#292929;box-shadow:0 1px 4px #0000000c}.expand-game{width:31px;height:31px;flex:none;border:0;border-radius:50%;background:#fff;color:#292929;font:500 16px var(--body);cursor:pointer;transition:transform .18s,background .18s}.expand-game:hover{transform:rotate(45deg);background:#ececec}.game-card-content{min-height:252px}.game-card-game{display:flex;flex-direction:column;gap:12px}.game-card-game[hidden],.game-card-rules[hidden]{display:none}.game-art-stage{height:186px;position:relative;overflow:hidden;isolation:isolate;border-radius:13px;background:linear-gradient(145deg,var(--art-a),var(--art-b));display:grid;place-items:center}.game-art-stage:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:#ffffff6c;filter:blur(1px);z-index:-1}.art-index{position:absolute;top:12px;left:14px;color:#38383880;font:600 10px var(--display);letter-spacing:1px}.art-ring{position:absolute;border:1px solid #ffffff9c;border-radius:50%;width:135px;height:135px;transform:rotate(-24deg) scaleX(.64)}.art-ring-two{width:180px;height:180px;transform:rotate(38deg) scaleX(.58)}.art-symbol{width:74px;height:74px;border-radius:23px;display:grid;place-items:center;background:#ffffffd9;color:#343434;box-shadow:0 13px 28px #3030301a;font-size:39px;transform:rotate(-7deg);transition:transform .25s}.game-card:hover .art-symbol{transform:rotate(0) scale(1.035)}.art-caption{position:absolute;right:13px;bottom:12px;color:#3434347a;font:600 8px var(--display);letter-spacing:1.4px}.game-card-game h3{font:700 17px/1.2 var(--display);letter-spacing:-.35px;margin:0;color:var(--text)}.game-card-rules{min-height:226px;padding:18px 14px 14px;background:#fff;border-radius:13px}.rules-label{color:var(--accent);font:700 9px var(--body);letter-spacing:1.2px}.game-card-rules p{font:500 13px/1.55 var(--body);color:#515151;margin:13px 0 0}.game-card .reveal{transition:none}.game-modal-banner{position:relative;margin:-5px -5px 21px;border-radius:17px;overflow:hidden}.game-art-stage.large-art{height:260px;border-radius:17px}.large-art .art-symbol{width:92px;height:92px;border-radius:29px;font-size:49px}.large-art:before{width:245px;height:245px}.large-art .art-ring{width:200px;height:200px}.large-art .art-ring-two{width:290px;height:290px}.large-art .art-index{top:19px;left:21px;font-size:11px}.large-art .art-caption{right:21px;bottom:19px;font-size:9px}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:#ffffffde;color:#262626;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 8px #00000012}.gallery-arrow:hover{background:#fff}.gallery-prev{left:13px}.gallery-next{right:13px}.gallery-dots{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:6px 8px;border-radius:99px;background:#ffffffd9}.gallery-dot{width:7px;height:7px;border:0;border-radius:50%;background:#aaa;padding:0;cursor:pointer}.gallery-dot.active{width:17px;border-radius:99px;background:var(--accent)}.dialog-kicker{margin-top:4px}.dialog h2{font-size:27px;margin:7px 0}.modal-description{margin-bottom:14px!important}.modal-rules{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.modal-rules h3{font:700 15px var(--display);margin:0 0 7px}.modal-rules p{font-size:12px;line-height:1.55;margin:0}.detail-stats{margin:16px 0}.dialog .button{border-radius:999px}.room-choice{display:flex;align-items:center;gap:6px}.room-choice-number{flex:none}
html[data-theme="dark"] .game-card{background:#2e2e2e!important}.game-card-tabs{background:#eaeaea}html[data-theme="dark"] .game-card-tabs{background:#393939}html[data-theme="dark"] .game-tab{color:#b9b9b9}html[data-theme="dark"] .game-tab.active{background:#2e2e2e;color:#f4f4f4}html[data-theme="dark"] .expand-game{background:#3a3a3a;color:#f4f4f4}html[data-theme="dark"] .game-card-rules{background:#383838}html[data-theme="dark"] .game-card-rules p{color:#ddd}html[data-theme="dark"] .gallery-arrow{background:#333;color:#fff}html[data-theme="dark"] .gallery-dots{background:#333}
@media(max-width:900px){.catalog-tools{grid-template-columns:1fr;grid-template-areas:"filters" "search";gap:12px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.search{width:min(100%,360px)}.game-art-stage{height:165px}}
@media(max-width:600px){.games-heading{margin-bottom:17px}.catalog-tools{gap:10px}.filters{width:100%;overflow-x:auto;justify-content:flex-start}.filter{white-space:nowrap;padding:8px 11px;font-size:9px}.search{width:100%}.game-grid{grid-template-columns:1fr;gap:11px}.game-card{padding:12px;border-radius:18px}.game-card-top{margin-bottom:10px}.game-art-stage{height:178px}.game-card-content{min-height:0}.game-card-rules{min-height:170px}.game-card-rules p{font-size:12px}.game-card-game h3{font-size:15px}.game-modal-banner{margin:0 0 17px}.game-art-stage.large-art{height:205px}.dialog{max-height:90vh;overflow:auto}}
.game-card .game-art-stage{cursor:pointer}.game-card .game-art-stage:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
dialog#gameDialog{padding:58px 27px 27px}#gameDialog>.dialog-close{top:13px;right:15px;z-index:5;width:32px;height:32px;border-radius:50%;background:var(--surface-2);color:var(--text);display:grid;place-items:center;line-height:1}#gameDialog .game-modal-banner{margin:0 0 21px}
.room-banner,.room-banner:hover{margin:46px 0 24px;padding:27px 32px;border:0;border-radius:24px;background:var(--surface-2);box-shadow:none;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:22px}.room-banner-copy h2{color:var(--text);font:700 clamp(21px,2.3vw,30px)/1.2 var(--display);letter-spacing:-.8px;margin:0 0 7px}.room-banner-copy p{color:var(--muted);font:400 13px/1.5 var(--body);margin:0}.button-light,.button-light:hover{margin:0;flex:none;border:0;border-radius:999px;background:#292929;color:#fff;padding:14px 22px;font:600 13px var(--body);box-shadow:none}.button-light:hover{background:#111}.button-light span{font-size:17px}
footer.site-footer{min-height:76px;margin:0 0 26px;padding:12px 22px;border:0;border-radius:999px;background:var(--surface-2);display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:10px}.site-footer .footer-brand{flex:none}.site-footer .footer-brand img.brand-logo-img{width:min(200px,22vw);max-width:none}.site-footer>span{white-space:nowrap}.site-footer .footer-links{display:flex;align-items:center;gap:19px}.site-footer .footer-links a{color:var(--text);font-size:10px;text-decoration:none;transition:color .18s}.site-footer .footer-links a:hover{color:var(--accent)}.site-footer small{white-space:nowrap;font-size:9px}
html[data-theme="dark"] .room-banner,html[data-theme="dark"] footer.site-footer{background:#2e2e2e}html[data-theme="dark"] .button-light,html[data-theme="dark"] .button-light:hover{background:#f4f4f4;color:#292929}html[data-theme="dark"] #gameDialog>.dialog-close{background:#3c3c3c;color:#f4f4f4}
@media(max-width:850px){footer.site-footer{gap:12px;padding:12px 18px}.site-footer .footer-brand img.brand-logo-img{width:155px}.site-footer>span{font-size:9px}.site-footer .footer-links{gap:12px}}
@media(max-width:650px){.room-banner,.room-banner:hover{margin:30px 0 18px;padding:20px;border-radius:20px;align-items:flex-start;flex-direction:column;gap:15px}.room-banner-copy h2{font-size:22px}.button-light,.button-light:hover{width:100%;justify-content:center}footer.site-footer{min-height:0;margin-bottom:18px;border-radius:22px;padding:17px;display:grid;grid-template-columns:1fr auto;gap:13px}.site-footer .footer-brand img.brand-logo-img{width:min(200px,48vw)}.site-footer>span{grid-column:1/-1;order:3;white-space:normal}.site-footer .footer-links{grid-column:1/-1;order:4;justify-content:flex-start}.site-footer small{justify-self:end}}
@media(max-width:380px){dialog#gameDialog{padding:53px 18px 20px}.game-art-stage.large-art{height:180px}.site-footer .footer-links{gap:10px}}

/* Room setup controls inspired by the supplied mobile flow */
#roomDialog.room-dialog{width:min(390px,calc(100% - 24px));max-height:min(92vh,760px);overflow:auto;padding:52px 18px 18px;border:0;border-radius:22px;background:#2c272c;color:#f5f1f4;box-shadow:0 28px 90px #15121766}
#roomDialog .dialog-close{top:12px;right:12px;width:36px;height:36px;border:1px solid #49434a;border-radius:12px;background:#242126;color:#f5f1f4;font-size:20px;display:grid;place-items:center}
.room-player-count{height:82px;border-radius:19px;background:#373137;display:flex;align-items:center;justify-content:space-between;padding:9px 10px}
.count-button{width:52px;height:52px;border:1px solid #514b53;border-radius:15px;background:#211e25;color:#f5f1f4;font:600 22px var(--body);cursor:pointer;transition:background .18s,transform .18s}.count-button:hover:not(:disabled){background:#49414a;transform:translateY(-1px)}.count-button:disabled{opacity:.4;cursor:default}
.count-display{display:flex;flex-direction:column;align-items:center;gap:1px}.count-display strong{font:700 38px/1 var(--display);color:#f5f1f4}.count-display span{font-size:12px;color:#aaa3b0}
.player-dots{display:flex;justify-content:center;gap:5px;margin:13px 0 17px}.player-dots span{width:23px;height:23px;border-radius:50%;background:#403b42;transition:background .2s,transform .2s}.player-dots span.active{background:#f3b336;transform:scale(1.02)}
.room-setting{margin:0 0 15px;padding:0;border:0;min-width:0}.room-setting legend,.room-game-select>label{padding:0;margin:0 0 7px;color:#aaa3b0;font:600 10px var(--body);letter-spacing:1.5px}
.segmented-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #423c45;border-radius:15px;background:#211e25}.device-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.setting-option{min-width:0;min-height:55px;padding:7px 3px;border:0;border-radius:11px;background:transparent;color:#ece8ee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;transition:background .2s,color .2s,transform .2s}.setting-option strong{font:600 12px var(--body);white-space:nowrap}.setting-option small{font:400 10px var(--body);color:#aaa3b0;white-space:nowrap}.setting-option.selected{background:#f2eef5;color:#29252d}.setting-option.selected small{color:#68616d}.setting-option:active{transform:scale(.98)}
.room-game-select{margin:0 0 13px}.room-game-select>label{display:block}.room-choices{display:flex;gap:6px;overflow-x:auto;margin:0;padding:1px 0 5px}.room-choice{flex:0 0 auto;max-width:150px;padding:8px 10px;border:1px solid #49434a;border-radius:10px;background:#353037;color:#eeeaf0;font:500 11px var(--body);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.room-choice-number{color:#aaa3b0;font:600 9px var(--body)}.room-choice:hover,.room-choice.selected{border-color:#f3b336;background:#443b30;color:#ffd06a}
#roomDialog .room-confirm{width:100%;min-height:54px;margin:0 0 12px;border:0;border-radius:15px;background:#f3b336;color:#211c16;font:700 14px var(--body);transition:filter .18s,transform .18s,opacity .18s}#roomDialog .room-confirm:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}#roomDialog .room-confirm:disabled{opacity:.45;background:#6a5d46;color:#ded5c7}
.how-to-room{margin:0 0 12px;border:1px solid #c8c0c9;border-radius:15px;color:#e8e2e9;overflow:hidden}.how-to-room summary{padding:15px 12px;text-align:center;list-style:none;font:600 13px var(--body);cursor:pointer}.how-to-room summary::-webkit-details-marker{display:none}.how-to-room[open] summary{border-bottom:1px solid #49434a}.how-to-room p{padding:10px 13px 13px!important;margin:0!important;color:#c6bec9!important;font-size:11px!important;line-height:1.55!important}
#roomDialog .room-hint{margin:0 4px;text-align:center;color:#aaa3b0;font-size:11px;line-height:1.5}#roomDialog .room-result{margin-top:14px;background:#373137;color:#eeeaf0;border-radius:14px}#roomDialog .room-result strong{color:#f3b336}
@media(max-width:400px){#roomDialog.room-dialog{padding:50px 14px 15px}.count-button{width:48px;height:48px}.player-dots span{width:21px;height:21px}.device-options .setting-option strong{font-size:11px}.device-options .setting-option small{font-size:9px}}
.game-play-button{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:39px;margin-top:1px;padding:0 17px;border:0;border-radius:999px;background:#2a2a2a;color:#fff;font:600 11px var(--body);cursor:pointer;transition:background .18s,transform .18s}.game-play-button:hover{background:#111;transform:translateY(-1px)}.game-play-button:active{transform:scale(.98)}.game-play-button span{font-size:15px;line-height:1}

/* Room setup follows the site's light/dark surfaces and accent color. */
#roomDialog.room-dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);box-shadow:0 28px 90px #15121738}
#roomDialog .dialog-close{background:var(--surface-2);border-color:var(--line);color:var(--text)}
#roomDialog .room-section-label,#roomDialog .room-setting legend,#roomDialog .room-game-select>label{color:var(--muted)}
#roomDialog .room-player-count{background:var(--surface-2)}
#roomDialog .count-button{border-color:var(--line);background:var(--surface);color:var(--text)}#roomDialog .count-button:hover:not(:disabled){background:var(--bg)}
#roomDialog .count-display strong{color:var(--text)}#roomDialog .count-display span{color:var(--muted)}
#roomDialog .player-dots span{height:4px;width:auto;flex:1;border-radius:99px;background:var(--line);transform:none}#roomDialog .player-dots span.active{background:var(--accent);transform:none}
#roomDialog .segmented-options{border-color:var(--line);background:var(--surface-2)}
#roomDialog .setting-option{color:var(--text)}#roomDialog .setting-option small{color:var(--muted)}#roomDialog .setting-option.selected{background:var(--surface);color:var(--text);box-shadow:0 1px 5px #00000012}#roomDialog .setting-option.selected small{color:var(--muted)}
#roomDialog .device-options .setting-option{white-space:normal;padding:8px 5px}#roomDialog .device-options .setting-option strong{white-space:normal;line-height:1.25;font-size:11px}#roomDialog .device-options .setting-option small{white-space:normal;line-height:1.25}
#roomDialog .room-choice{border-color:var(--line);background:var(--surface);color:var(--text)}#roomDialog .room-choice-number{color:var(--muted)}#roomDialog .room-choice:hover,#roomDialog .room-choice.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}
#roomDialog .room-confirm,#roomDialog .room-confirm:disabled{background:var(--accent);color:#fff}#roomDialog .room-confirm:disabled{opacity:.42}
#roomDialog .how-to-room{border-color:var(--line);color:var(--text)}#roomDialog .how-to-room[open] summary{border-color:var(--line)}#roomDialog .how-to-room p{color:var(--muted)!important}#roomDialog .room-hint{color:var(--muted)}#roomDialog .room-result{background:var(--surface-2);color:var(--text)}#roomDialog .room-result strong{color:var(--accent)}
html[data-theme="dark"] #roomDialog .room-confirm,html[data-theme="dark"] #roomDialog .room-confirm:disabled{background:var(--accent);color:#fff}
#roomDialog .room-setup-heading{margin:0 0 17px}.room-setup-heading>span{color:var(--accent);font:700 9px var(--body);letter-spacing:1.6px}.room-setup-heading h2{margin:4px 0 0;font:700 24px/1.15 var(--display);letter-spacing:-.7px;color:var(--text)}#roomDialog .room-section-label{display:block;margin:0 0 7px;color:var(--muted);font:600 10px var(--body);letter-spacing:1.5px}
#roomDialog .room-choices{scrollbar-width:none}#roomDialog .room-choices::-webkit-scrollbar{display:none}
#roomDialog:has(#roomGameSelect:not([hidden])){width:min(720px,calc(100% - 32px));padding:34px}
#roomDialog #roomGameSelect[hidden],#roomDialog #roomSettings[hidden]{display:none!important}
#roomDialog .room-game-select{margin:0}
#roomDialog .room-search-label{display:block;margin:18px 0 7px;color:var(--muted);font:500 12px var(--body)}
#roomDialog .room-game-search{display:block;width:100%;height:43px;margin-bottom:12px;padding:0 13px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);font:13px var(--body);outline:none}
#roomDialog .room-game-search:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent)}
#roomDialog .room-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:min(55vh,460px);overflow:auto;padding:2px 4px 4px 2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
#roomDialog .room-choice{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:start;gap:10px;width:100%;max-width:none;min-height:112px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:left;white-space:normal;overflow:visible;transition:border-color .16s,background .16s,transform .16s,box-shadow .16s}
#roomDialog .room-choice:hover{transform:translateY(-1px);box-shadow:0 5px 16px #0000000d}
#roomDialog .room-choice:focus-visible,#roomDialog .change-room-game:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
#roomDialog .room-choice-art{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);font-size:21px}
#roomDialog .room-choice-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
#roomDialog .room-choice-copy strong{color:var(--text);font:700 13px/1.2 var(--display)}
#roomDialog .room-choice-copy small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--muted);font:400 10px/1.4 var(--body)}
#roomDialog .room-choice-meta{color:var(--muted);font:500 9px/1.3 var(--body)}#roomDialog .room-choice-arrow{justify-self:end;color:var(--accent);font:500 15px var(--body)}
#roomDialog .room-no-games{grid-column:1/-1;padding:22px 10px;text-align:center;color:var(--muted)}
#roomDialog .picked-game-summary{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
#roomDialog .picked-game-art{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px;background:var(--surface);font-size:22px}
#roomDialog .picked-game-summary>span:last-child{display:flex;flex-direction:column;gap:3px}.picked-game-summary small{color:var(--muted);font:700 8px var(--body);letter-spacing:1.2px}.picked-game-summary strong{font:700 14px var(--display)}.picked-game-summary em{color:var(--muted);font:400 10px var(--body);font-style:normal}
#roomDialog .change-room-game{margin:0 0 16px;padding:5px 0;border:0;background:transparent;color:var(--muted);font:500 11px var(--body);cursor:pointer}#roomDialog .change-room-game:hover{color:var(--accent)}
#roomDialog .how-to-room h3{margin:0;padding:12px 13px;border-bottom:1px solid var(--line);text-align:center;color:var(--text);font:600 12px var(--body)}
#roomDialog.room-dialog{max-height:calc(100dvh - 28px);overflow:visible}
#roomDialog .room-how-info{margin:10px 4px 0!important;padding:0!important;border:0!important;text-align:center;color:var(--muted)!important;font:400 11px/1.45 var(--body)!important}
@media(max-height:760px){#roomDialog.room-dialog:not(:has(#roomGameSelect:not([hidden]))){padding-top:45px;padding-bottom:14px}.room-setup-heading{margin-bottom:11px!important}.room-setup-heading h2{font-size:21px!important}.picked-game-summary{padding:9px!important}.picked-game-art{width:36px!important;height:36px!important}.change-room-game{margin-bottom:10px!important}#roomDialog .room-player-count{height:62px}.count-button{width:43px;height:43px}.player-dots{margin:9px 0 12px!important}.room-setting{margin-bottom:10px!important}.segmented-options .setting-option{min-height:47px}.room-confirm{min-height:47px!important;margin-bottom:8px!important}.room-how-info{margin-top:6px!important;font-size:10px!important}}
@media(min-width:700px){#roomDialog:has(#roomSettings:not([hidden])){width:min(650px,calc(100% - 36px));padding:42px 26px 20px}#roomDialog #roomSettings:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:18px;row-gap:7px;align-items:start}#roomDialog .picked-game-summary,#roomDialog .change-room-game,#roomDialog .room-setup-heading,#roomDialog .device-options,#roomDialog .room-confirm,#roomDialog .room-how-info{grid-column:1/-1}#roomDialog .party-size{grid-column:1;grid-row:4}#roomDialog .room-setting[data-layout="who"]{grid-column:2;grid-row:4}#roomDialog .room-setting[data-layout="device"]{grid-row:5}#roomDialog .room-confirm{grid-row:6}#roomDialog .room-how-info{grid-row:7}#roomDialog .room-setup-heading{margin:0 0 2px!important}#roomDialog .change-room-game{margin:0 0 3px!important}#roomDialog .room-player-count{height:66px}.player-dots{margin:10px 0 0!important}.room-setting[data-layout="who"]{margin:0}.room-setting[data-layout="who"] .segmented-options{min-height:66px}.room-setting[data-layout="who"] .setting-option{min-height:54px}.room-setting[data-layout="device"]{margin:0}.room-setting[data-layout="device"] .setting-option{min-height:52px}.room-confirm{min-height:48px!important;margin:0!important}.room-how-info{margin:0!important}}
@media(max-width:699px){#roomDialog #roomSettings:not([hidden]){display:block}}
@media(min-width:700px){#roomDialog .room-setting[data-layout="device"]{grid-column:1/-1}}
@media(max-height:600px) and (min-width:700px){#roomDialog:has(#roomSettings:not([hidden])){padding:34px 20px 12px}#roomDialog .room-setup-heading h2{font-size:18px!important}.room-setup-heading>span,.room-section-label,.room-setting legend{font-size:8px!important}.picked-game-summary{padding:6px!important}.picked-game-art{width:32px!important;height:32px!important}.change-room-game{margin:0 0 0!important;font-size:9px!important}.room-player-count{height:48px!important}.count-button{width:34px!important;height:34px!important}.count-display strong{font-size:28px!important}.player-dots{margin:6px 0 0!important}.room-setting[data-layout="who"] .segmented-options{min-height:50px}.room-setting[data-layout="who"] .setting-option,.room-setting[data-layout="device"] .setting-option{min-height:42px;padding:4px 3px}.room-setting .setting-option strong{font-size:10px!important}.room-setting .setting-option small{font-size:8px!important}.room-confirm{min-height:38px!important}.room-how-info{font-size:9px!important;line-height:1.25!important}}
@media(max-width:600px){#roomDialog:has(#roomGameSelect:not([hidden])){width:calc(100% - 24px);padding:26px 16px 18px}#roomDialog .room-choices{grid-template-columns:1fr;max-height:52vh}#roomDialog .room-choice{min-height:98px}}
#roomDialog.room-dialog{padding:18px 20px 20px}
#roomDialog .room-dialog-header{height:36px;margin:0 0 8px;display:flex;align-items:center;justify-content:flex-end}
#roomDialog .room-dialog-header .dialog-close{position:static;inset:auto;width:36px;height:36px;flex:none;margin:0;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);display:grid;place-items:center;font:400 20px/1 var(--body)}
#roomDialog:has(#roomGameSelect:not([hidden])){padding:18px 28px 24px}
@media(min-width:700px){#roomDialog:has(#roomSettings:not([hidden])){padding:18px 26px 20px}}
@media(max-width:600px){#roomDialog:has(#roomGameSelect:not([hidden])){padding:14px 16px 18px}}
#roomDialog .room-dialog-header{display:none}
#roomDialog .room-setup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
#roomDialog .room-setup-heading>div{min-width:0;flex:1}
#roomDialog .room-setup-heading>div>span{color:var(--accent);font:700 9px var(--body);letter-spacing:1.6px}
#roomDialog .room-inline-close{position:static;inset:auto;display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:400 20px/1 var(--body)}
#roomDialog .room-inline-close:hover{background:var(--bg);color:var(--accent)}
#roomDialog .room-selected-header{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-width:0}
#roomDialog .room-selected-header .picked-game-summary{flex:1;min-width:0;margin:0}
#roomDialog .room-game-select .room-setup-heading{margin-bottom:14px!important}
@media(min-width:700px){#roomDialog #roomSettings:not([hidden]) .room-selected-header{grid-column:1/-1}}
@media(max-width:699px){#roomDialog .room-selected-header{margin-bottom:2px}}
@media(min-width:800px){dialog#gameDialog{width:min(980px,calc(100% - 40px));max-height:calc(100dvh - 32px);overflow:auto;padding:58px 30px 30px}.game-modal-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(24px,3.5vw,48px)}.game-modal-media,.game-modal-copy{min-width:0}.game-modal-banner{margin:0!important}.game-art-stage.large-art{height:clamp(280px,48vh,500px)}.game-modal-copy h2{font-size:clamp(27px,3vw,38px);line-height:1.08}.game-modal-copy .modal-description{font-size:13px;line-height:1.55}.game-modal-copy .modal-rules{margin-top:17px;padding-top:16px}.game-modal-copy .modal-rules p{font-size:13px;line-height:1.6}.game-modal-copy .detail-stats{flex-wrap:wrap;margin:18px 0}.game-modal-copy .button{min-height:52px}}
@media(min-width:800px) and (max-height:620px){dialog#gameDialog{padding-top:50px;padding-bottom:20px}.game-art-stage.large-art{height:clamp(230px,44vh,300px)}.game-modal-copy h2{font-size:25px}.game-modal-copy .modal-description,.game-modal-copy .modal-rules p{font-size:11px}.game-modal-copy .modal-rules{margin-top:10px;padding-top:10px}.game-modal-copy .detail-stats{margin:10px 0}.game-modal-copy .button{min-height:44px}}
dialog::backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
@media(min-width:700px) and (orientation:landscape){
  .wrap{width:min(1160px,calc(100% - 72px))}
  .topbar{height:64px}
  .brand img.brand-logo-img{width:min(220px,21vw)}
  .hero{min-height:0;padding:28px 0 36px;grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr);gap:30px}
  .hero h1{font-size:clamp(40px,4.3vw,58px);letter-spacing:normal;margin:15px 0 22px}
  .hero-lead{font-size:13px;line-height:1.55;margin-bottom:17px}
  .hero-panels{padding:15px;gap:12px;border-radius:22px}
  .join-panel{padding:17px;border-radius:16px}
  .code-inputs input{height:58px;border-radius:12px;font-size:22px}
  .create-room-card{min-height:0;padding:15px;gap:12px;border-radius:16px}
  .create-plus{width:50px;height:50px;border-radius:16px;font-size:33px}
  .create-room-copy strong{font-size:17px}
  .create-room-copy small{font-size:12px}
  .section-block{padding-top:42px;padding-bottom:38px}
  .how{padding:38px 0 32px}
  .how-title{font-size:clamp(34px,3.2vw,44px)!important;letter-spacing:-1.2px!important;margin-bottom:8px!important}
  .how-description{font-size:clamp(16px,1.55vw,21px);line-height:1.35;margin-bottom:18px}
  .how-steps{gap:14px;margin-top:22px}
  .how-step{min-height:180px;padding:18px;border-radius:19px}
  .how-number{width:54px;height:54px;border-radius:17px;font-size:33px;margin-bottom:13px}
  .how-step p{font-size:clamp(15px,1.35vw,18px);line-height:1.3}
  .how-cta{min-height:66px;margin-top:15px;border-radius:18px;font-size:clamp(30px,4vw,52px);letter-spacing:-1px}
  .games{padding-top:42px}
  .game-grid{gap:13px}
  .game-card{padding:11px;border-radius:18px}
  .game-card-top{margin-bottom:9px}
  .game-art-stage{height:145px;border-radius:11px}
  .game-card-game h3{font-size:15px}
  .game-play-button{min-height:34px;padding:0 14px}
  .room-banner,.room-banner:hover{margin-top:28px;padding:22px 26px}
  footer.site-footer{min-height:64px;margin-bottom:18px}
}

/* Main-site version of the selected “How to play” concept. */
.how{padding:55px 0 48px}
.how-title{margin:0 0 24px!important}
.how-device-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.how-device-card{min-width:0;min-height:260px;padding:26px;display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:24px;border-radius:28px;background:var(--surface-2)}
.join-panel{position:relative}
.hero-float{position:absolute;z-index:3;display:grid;place-items:center;pointer-events:none;line-height:1;filter:drop-shadow(0 2px 2px #0002)}
.hero-float-alien{top:-.05em;right:7%;font-size:clamp(31px,3.5vw,48px);animation:how-drift-c 10.65s ease-in-out infinite}
.hero-float-gamepad{top:36%;left:-.55em;font-size:clamp(36px,3.8vw,52px);animation:how-drift-d 9.45s ease-in-out infinite}
.hero-float-die{left:50%;bottom:-.62em;margin-left:-.5em;font-size:clamp(36px,3.8vw,52px);animation:how-drift-a 8.7s ease-in-out infinite}
.how-device-art{height:200px;min-width:0;display:grid;place-items:center;overflow:hidden;border-radius:22px;background:#fff}
.how-device-art.how-tv-art{overflow:visible}
html[data-theme="dark"] .how-device-art{background:var(--surface)}
.how-tv{position:relative;width:122px;height:88px;display:grid;place-items:center;overflow:visible;border:3px solid var(--muted);border-radius:10px;color:var(--muted)}
.how-tv:after{content:"";position:absolute;bottom:-14px;width:32px;height:5px;border-radius:5px;background:var(--muted)}
.how-floater{position:absolute;z-index:1;display:grid;place-items:center;font-size:39px;line-height:1;filter:drop-shadow(0 2px 2px #0002);animation:how-drift-a 5.8s ease-in-out infinite}
.how-die{left:-9px;top:-8px;animation-name:how-drift-a;animation-duration:5.8s;animation-delay:-1.1s}.how-cards{right:-9px;top:-9px;font-size:41px;animation-name:how-drift-b;animation-duration:6.6s;animation-delay:-2.4s}.how-puzzle{left:-9px;bottom:-9px;font-size:44px;animation-name:how-drift-c;animation-duration:7.1s;animation-delay:-.5s}.how-gamepad{right:-8px;bottom:-8px;font-size:39px;animation-name:how-drift-d;animation-duration:6.3s;animation-delay:-1.8s}.how-mahjong{left:54px;top:30px;font-size:36px;animation-name:how-drift-e;animation-duration:7.6s;animation-delay:-2.9s}
@keyframes how-drift-a{0%,100%{transform:translate3d(-7px,5px,0) rotate(-13deg)}18%{transform:translate3d(5px,-7px,0) rotate(8deg)}41%{transform:translate3d(-3px,-13px,0) rotate(-6deg)}67%{transform:translate3d(10px,3px,0) rotate(15deg)}84%{transform:translate3d(-8px,-3px,0) rotate(-10deg)}}
@keyframes how-drift-b{0%,100%{transform:translate3d(5px,-6px,0) rotate(12deg)}23%{transform:translate3d(-8px,4px,0) rotate(-9deg)}46%{transform:translate3d(2px,11px,0) rotate(5deg)}72%{transform:translate3d(-5px,-10px,0) rotate(-14deg)}88%{transform:translate3d(8px,2px,0) rotate(9deg)}}
@keyframes how-drift-c{0%,100%{transform:translate3d(-4px,-9px,0) rotate(-11deg)}16%{transform:translate3d(8px,3px,0) rotate(13deg)}39%{transform:translate3d(-9px,9px,0) rotate(-4deg)}63%{transform:translate3d(4px,-12px,0) rotate(9deg)}82%{transform:translate3d(10px,1px,0) rotate(-15deg)}}
@keyframes how-drift-d{0%,100%{transform:translate3d(7px,5px,0) rotate(14deg)}21%{transform:translate3d(-4px,-10px,0) rotate(-8deg)}44%{transform:translate3d(9px,-3px,0) rotate(6deg)}69%{transform:translate3d(-8px,8px,0) rotate(-13deg)}86%{transform:translate3d(1px,-12px,0) rotate(10deg)}}
@keyframes how-drift-e{0%,100%{transform:translate3d(-3px,4px,0) rotate(-8deg)}19%{transform:translate3d(8px,-11px,0) rotate(14deg)}43%{transform:translate3d(-10px,-2px,0) rotate(-12deg)}65%{transform:translate3d(4px,9px,0) rotate(7deg)}83%{transform:translate3d(-6px,-8px,0) rotate(-3deg)}}
.how-phone-viewport{width:100%;overflow:hidden;padding:12px 0}
.how-phone-row{display:flex;width:max-content;animation:how-phone-carousel 28s linear infinite;will-change:transform}
.how-phone-sequence{display:flex;flex:none;gap:7px;padding-right:7px}
.how-phone{position:relative;width:clamp(36px,4.5vw,52px);height:auto;aspect-ratio:1/2;flex:none;display:grid;place-items:center;border:2px solid var(--muted);border-radius:12px;background:var(--surface);font-size:clamp(17px,2vw,24px);animation:how-phone-wiggle var(--phone-wiggle-duration,3.8s) ease-in-out infinite;animation-delay:var(--phone-wiggle-delay,0s)}
.how-phone.is-wiggle-alt{animation-name:how-phone-wiggle-alt}
.how-phone-avatar{display:block;line-height:1;transform:translateY(2px)}
@keyframes how-phone-carousel{to{transform:translate3d(-50%,0,0)}}
@keyframes how-phone-wiggle{0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}15%{transform:translate3d(2px,-6px,0) rotate(1deg)}31%{transform:translate3d(-1px,3px,0) rotate(-5deg)}48%{transform:translate3d(3px,-2px,0) rotate(4deg)}66%{transform:translate3d(-2px,-7px,0) rotate(-1deg)}84%{transform:translate3d(1px,4px,0) rotate(3deg)}}
@keyframes how-phone-wiggle-alt{0%,100%{transform:translate3d(0,0,0) rotate(2deg)}18%{transform:translate3d(1px,-4px,0) rotate(-2deg)}37%{transform:translate3d(-2px,5px,0) rotate(4deg)}54%{transform:translate3d(2px,-7px,0) rotate(-3deg)}72%{transform:translate3d(-1px,1px,0) rotate(3deg)}88%{transform:translate3d(3px,-3px,0) rotate(-4deg)}}
.how-phone:before{content:"";position:absolute;top:4px;width:10px;height:2px;border-radius:2px;background:var(--muted)}
.how-device-copy small{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.12em}
.how-device-copy h3{font:700 26px/1.2 var(--display);letter-spacing:-.5px;margin:9px 0}
.how-device-copy p{font:400 16px/1.5 var(--body);color:var(--muted);margin:0}
.how-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.how-flow-item{min-width:0;min-height:120px;padding:18px 20px;display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;align-content:start;gap:7px 13px;border-radius:20px;background:var(--surface-2)}
.how-flow-item b{grid-row:1/3;padding-top:1px;color:var(--accent);font-size:14px;letter-spacing:.1em}
.how-flow-item strong{font:700 16px/1.3 var(--display);color:var(--text)}
.how-flow-item small{grid-column:2;color:var(--muted);font:400 14px/1.45 var(--body)}
.how-cta{width:auto;min-height:58px;margin-top:16px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border:0;border-radius:999px;background:#292929;color:#fff;font:700 16px var(--display);letter-spacing:0;cursor:pointer;transition:background .18s,transform .18s}
.how-cta:hover{background:#111;filter:none}.how-cta:active{transform:scale(.99)}
.how-cta .button-arrow-icon{display:block;width:20px;height:20px;flex:none;align-self:center;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1100px){.how-device-card{min-height:220px;grid-template-columns:150px minmax(0,1fr);gap:17px;padding:19px}.how-device-art{height:164px}.how-device-copy small{font-size:10px}.how-device-copy h3{font-size:20px}.how-device-copy p{font-size:14px}.how-phone-sequence{gap:5px;padding-right:5px}}
@media(max-width:850px){.how-device-map{grid-template-columns:1fr}.how-device-card{min-height:220px;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:20px}.how-device-art{height:176px}.how-device-copy h3{font-size:23px}.how-device-copy p{font-size:15px}.how-flow{gap:9px}.how-flow-item{min-height:102px;padding:15px;grid-template-columns:32px 1fr;gap:6px 9px}.how-flow-item strong{font-size:15px}.how-flow-item small{font-size:13px}}
@media(max-width:600px){.how{padding:43px 0 36px}.how-title{font-size:36px!important;margin-bottom:19px!important}.how-device-map,.how-flow{grid-template-columns:1fr;gap:10px}.how-device-card{min-height:160px;grid-template-columns:116px minmax(0,1fr);gap:14px;padding:15px;border-radius:20px}.how-device-art{height:130px;border-radius:16px}.how-device-copy small{font-size:9px}.how-device-copy h3{font-size:18px;margin:6px 0}.how-device-copy p{font-size:12px}.how-tv{transform:scale(.82)}.how-phone-sequence{gap:4px;padding-right:4px}.how-flow{gap:8px;margin-top:10px}.how-flow-item{min-height:78px;padding:12px 14px;grid-template-columns:32px 1fr}.how-flow-item strong{font-size:13px}.how-flow-item small{font-size:11px}.how-cta{min-height:54px;padding:0 20px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.how-floater,.how-phone,.how-phone.is-wiggle-alt,.hero-float-alien,.hero-float-gamepad,.hero-float-die{animation:none}.how-phone-row{animation:none}}
.games{padding-top:38px}
.games-heading .section-kicker{display:none}
.games-heading h2{margin:0;font:700 clamp(30px,4vw,46px)/1.08 var(--display);letter-spacing:-1.4px;color:var(--text)}
.games-heading .section-sub{margin:8px 0 0;font-size:14px;line-height:1.45;color:var(--muted)}
.games-heading .game-count{margin:0 0 3px;padding:0;border:0;background:transparent;box-shadow:none;color:var(--muted);font-size:11px;white-space:nowrap}
.expand-game{display:grid;place-items:center}.expand-icon{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#roomDialog .picked-game-summary{gap:10px;min-width:0}
#roomDialog .picked-game-summary>#pickedGameSummary{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
#roomDialog #pickedGameSummary>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
#roomDialog .change-room-game{flex:none;margin:0!important;padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:600 10px var(--body);white-space:nowrap}
#roomDialog .change-room-game:hover{border-color:var(--accent);color:var(--accent);background:var(--bg)}
@media(max-width:480px){#roomDialog .picked-game-summary{gap:7px;padding:8px!important}#roomDialog .picked-game-summary>#pickedGameSummary{gap:8px}#roomDialog .change-room-game{padding:7px 8px;font-size:9px}#roomDialog .picked-game-art{width:34px!important;height:34px!important}}
#roomSettings.room-created{display:block!important;align-content:start}
#roomSettings.room-created>:not(#roomResult){display:none!important}
#roomSettings.room-created>#roomResult{display:block;grid-column:1/-1;width:100%;margin:0;padding:6px 0 0;border:0;background:transparent;text-align:left}
.room-result-heading>span{color:var(--accent);font:700 9px var(--body);letter-spacing:1.6px}.room-result-heading h2{margin:5px 0 0;font:700 clamp(24px,3vw,34px)/1.1 var(--display);letter-spacing:-.7px}
#roomDialog .room-result-context{margin:10px 0 14px;color:var(--muted);font-size:13px;line-height:1.45}
.room-code-block{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 17px;border-radius:14px;background:var(--surface-2)}.room-code-block small{color:var(--muted);font:700 9px var(--body);letter-spacing:1.3px}.room-code-block strong{color:var(--accent);font:700 clamp(32px,5vw,48px)/1 var(--display);letter-spacing:7px}
.room-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.room-result-actions button{min-height:42px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:600 11px var(--body);cursor:pointer}.room-result-actions #copyCode{border-color:#2a2a2a;background:#2a2a2a;color:#fff}.room-result-actions button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
#roomDialog .room-result-note{margin:13px 0 0;color:var(--muted);font-size:10px;line-height:1.45}

/* Live room and phone screens */
.live-game-page{min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--body)}
.live-game-shell{width:min(1120px,calc(100% - 64px));min-height:100vh;margin:auto;display:flex;flex-direction:column;padding:26px 0 18px}
.live-game-top,.live-player-top{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding-bottom:17px}
.live-brand{display:flex;align-items:center;margin-right:auto;text-decoration:none}.live-brand img{display:block;width:142px;max-width:22vw;height:auto;max-height:20px;object-fit:contain}
.live-code{font-size:12px;letter-spacing:1.4px;color:var(--muted);font-weight:700}
.live-fullscreen-toggle{min-height:34px;flex:none;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font:600 11px var(--body);cursor:pointer;white-space:nowrap}.live-fullscreen-toggle:hover{background:var(--surface-2);border-color:var(--text)}.live-fullscreen-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.live-theme-toggle{width:38px;height:38px;flex:none;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer;transition:background .18s,border-color .18s,color .18s}.live-theme-toggle:hover{border-color:var(--text);background:var(--surface-2)}.live-theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.live-theme-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.live-icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);font-size:24px;line-height:1;cursor:pointer}
.live-screen-content{width:min(820px,100%);margin:auto; padding:clamp(28px,6vh,72px) 0}
.live-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent);margin-bottom:14px}
.live-screen-content h1,.live-player-content h1{max-width:900px;margin:0;font-size:clamp(34px,5.5vw,72px);line-height:1.02;letter-spacing:-.045em}
.live-lead{max-width:760px;margin:18px 0 28px;color:var(--muted);font-size:clamp(16px,2vw,23px);line-height:1.5}
.live-room-code{display:grid;grid-template-columns:minmax(0,1fr) 156px;grid-template-areas:"label qr" "code qr" "button qr" "url url";align-items:center;gap:12px 20px;max-width:680px;margin:28px 0;padding:22px 25px;background:var(--surface);border-radius:22px}
.live-room-code>span{grid-area:label}
.live-room-code>span,.live-question>span,.live-role-card>span{display:block;color:var(--muted);font-size:10px;letter-spacing:1.6px;font-weight:700}
.live-room-code>strong{grid-area:code;font-size:clamp(34px,5vw,58px);letter-spacing:.15em;margin:0}
.live-room-code button{grid-area:button;justify-self:start;border:1px solid var(--line);border-radius:999px;background:transparent;padding:12px 16px;color:var(--text);font:600 12px var(--body);cursor:pointer}
.live-room-qr{grid-area:qr;grid-row:1/4;display:grid;justify-items:center;gap:6px}.live-room-qr svg{display:block;width:140px;height:140px;border-radius:8px}.live-room-qr span{color:var(--muted);font-size:8px;letter-spacing:1.1px;font-weight:700}
.live-room-link{grid-area:url;width:100%;display:grid;gap:6px;padding-top:11px;border-top:1px solid var(--line)}.live-room-link span{color:var(--muted);font-size:9px;letter-spacing:1.3px;font-weight:700}.live-room-link strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.live-lobby-meta{display:flex;align-items:baseline;gap:12px;margin:28px 0 12px}.live-lobby-meta strong{font-size:20px}.live-lobby-meta span,.live-vote-progress{color:var(--muted);font-size:13px}
.live-player-list,.live-clue-list{list-style:none;padding:0;margin:0 0 28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.live-person,.live-clue-list li{min-height:60px;display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border-radius:14px;font-size:15px}
.live-person-number{width:28px;color:var(--accent);font-weight:700;font-variant-numeric:tabular-nums}.live-person-state{margin-left:auto;color:var(--muted);font-size:11px}.live-empty-person{grid-column:1/-1;color:var(--muted)}
.live-primary{min-height:58px;padding:0 23px;border:0;border-radius:999px;background:#2a2a2a;color:#fff;font:700 15px var(--body);display:inline-flex;align-items:center;justify-content:center;gap:18px;cursor:pointer;transition:transform .18s,opacity .18s;}
.live-primary:hover:not(:disabled){transform:translateY(-2px)}.live-primary:disabled{opacity:.4;cursor:not-allowed}.live-primary span{font-size:21px;line-height:1}
.live-primary .live-button-arrow{width:20px;height:20px;display:block;flex:none;align-self:center;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.live-footnote{max-width:700px;margin:16px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.live-question{max-width:820px;margin:28px 0 18px;padding:18px 21px;background:var(--surface-2);border:1px solid var(--line);border-radius:18px}.live-question strong{display:block;margin-top:8px;font-size:clamp(18px,2.4vw,27px);line-height:1.3}
.live-clue-list{grid-template-columns:1fr 1fr;margin-bottom:25px}.live-clue-list li{align-items:flex-start;flex-direction:column;gap:4px;min-height:76px}.live-clue-list li span{font-size:11px;color:var(--muted)}.live-clue-list li strong{font-size:17px}
.live-clue-list .live-clue-card{min-height:130px;display:grid;align-content:start;gap:13px;padding:16px;border:1px solid var(--line);background:var(--surface);border-radius:18px}
.live-clue-person{display:flex;align-items:center;gap:11px;min-width:0}
.live-clue-list .live-clue-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:13px;background:var(--surface-2);font-size:23px;color:var(--text)}
.live-clue-list .live-clue-person .live-clue-name{min-width:0;font-size:18px;line-height:1.2;overflow-wrap:anywhere}
.live-clue-answer{display:grid;gap:5px;padding-left:1px}
.live-clue-list .live-clue-answer>span{font-size:9px;letter-spacing:1.4px;font-weight:700;color:var(--muted)}
.live-clue-list .live-clue-answer>strong{font-size:19px;line-height:1.3;overflow-wrap:anywhere}
.live-screen-content.is-clues{width:min(1120px,100%)}
.live-clues-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:clamp(24px,4vw,56px)}
.live-clues-info,.live-clues-results{min-width:0}
.live-clues-info .live-eyebrow{margin-bottom:12px}
.live-clues-info h1{font-size:clamp(34px,4.2vw,58px)}
.live-clues-info .live-lead{margin:15px 0 20px;font-size:clamp(15px,1.5vw,19px)}
.live-clues-info .live-question{margin:18px 0 0}
.live-clues-results .live-lobby-meta{margin:0 0 12px}
.live-clues-results .live-clue-list{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}
.live-clues-results .live-primary{width:100%}
.live-clues-results .live-footnote{margin-top:10px}
.live-reconnect-tile{display:grid;gap:5px;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.live-reconnect-tile>span{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1.3px}
.live-reconnect-tile>p{margin:0;color:var(--text);font-size:13px;line-height:1.4}
.live-round-finish,.live-game-finish{width:min(820px,100%);margin:auto}
.live-round-finish h1,.live-game-finish h1{font-size:clamp(34px,5vw,62px)}
.live-final-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.live-final-title-row h1{min-width:0}.live-restart-inline{min-height:46px;padding:0 15px;gap:9px;flex:none;font-size:13px;white-space:nowrap}.live-restart-inline .button-arrow-icon{width:17px;height:17px}
.live-score-heading{margin:24px 0 10px;font-size:15px}
.live-score-legend{margin:-3px 0 10px;color:var(--muted);font-size:11px;line-height:1.4}
.live-scoreboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 22px;padding:0;list-style:none}
.live-score-row{min-width:0;min-height:58px;display:flex;align-items:center;gap:11px;padding:10px 13px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.live-score-row .live-person-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--surface-2);font-size:20px}
.live-score-row strong{min-width:0;overflow-wrap:anywhere;font-size:14px}
.live-score-row>span:last-child{margin-left:auto;white-space:nowrap;color:var(--muted);font-size:12px;font-weight:700}
.live-score-row.is-winner{border-color:var(--text);background:var(--surface-2)}
.live-round-finish>.live-primary{min-width:min(280px,100%)}
.live-game-finish .live-question{margin-top:18px}
.live-vote-progress{margin:20px 0}.live-outcome{font-size:clamp(20px,3vw,34px);line-height:1.35;margin:22px 0}
.live-revealed-player{font-size:18px;color:var(--muted)}.live-revealed-player strong{color:var(--text)}
.live-game-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px;color:var(--muted);font-size:11px}
.live-room-code{grid-template-columns:minmax(0,1fr) 156px;grid-template-areas:"main qr" "url url";gap:13px 20px;max-width:760px;margin:20px 0;padding:12px;background:var(--surface-2);border:1px solid var(--line);border-radius:24px}
.live-room-code-main{grid-area:main;min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;padding:18px 22px;background:var(--surface);border-radius:17px}
.live-room-code-main>span{color:var(--muted);font-size:10px;letter-spacing:1.6px;font-weight:700}
.live-room-code-main>strong{font-size:clamp(34px,4.5vw,52px);line-height:1;letter-spacing:.16em}
.live-room-code-main button{margin-top:2px}
.live-room-qr{grid-area:qr;grid-row:auto;align-self:stretch;align-content:center;gap:5px;padding:10px;background:#fff;border-radius:17px}
.live-room-qr svg{width:132px;height:132px;border-radius:0}.live-room-qr svg path{fill:#2a2a2a}.live-room-qr span{font-size:8px;letter-spacing:1.1px;color:#555}
.live-room-link{padding:10px 12px 2px;border-top:1px solid color-mix(in srgb,var(--line) 75%,transparent)}
.live-lobby-meta{margin:14px 0 8px}
.live-player-list{gap:10px;margin-bottom:15px}
.live-person{min-height:64px;padding:10px 13px;border:1px solid var(--line);border-radius:17px}
.live-person-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:13px;background:var(--surface-2);font-size:23px}
.live-person-number{width:auto;min-width:22px}.live-person-name{min-width:0;font-weight:600;overflow-wrap:anywhere}
.live-empty-person{min-height:55px;display:flex;align-items:center;padding:12px 15px;border:1px dashed var(--line);border-radius:15px}
.is-lobby.live-game-shell{height:auto;min-height:100svh;padding:16px 0 12px}
.is-lobby .live-game-top{flex:none;padding-bottom:12px}
.is-lobby .live-screen-content{width:min(940px,100%);flex:1 0 auto;min-height:max-content;padding:clamp(10px,2vh,20px) 0;display:flex;flex-direction:column;justify-content:center}
.is-lobby .live-eyebrow{margin-bottom:8px}
.is-lobby .live-screen-content h1{font-size:clamp(36px,4.4vw,54px)}
.is-lobby .live-lead{margin:8px 0 0;font-size:clamp(14px,1.5vw,18px);line-height:1.35}
.is-lobby .live-lobby-meta{margin:10px 0 6px}
.is-lobby .live-player-list{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}
.is-lobby .live-player-list{margin-bottom:12px}
.is-lobby .live-primary{min-height:52px;align-self:flex-start}
.is-lobby .live-footnote{margin-top:8px;font-size:11px}
.is-lobby .live-game-footer{flex:none;margin-top:0;padding-top:10px;font-size:10px}
.is-lobby .live-screen-content{width:min(1120px,100%)}
.live-lobby-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);align-items:stretch;gap:22px;margin-top:22px}
.live-connect-panel{min-width:0;padding:0;background:transparent;border:0;border-radius:0}
.live-players-panel{min-width:0;padding:16px;background:var(--surface-2);border:1px solid var(--line);border-radius:24px}
.live-lobby-grid .live-room-code{max-width:none;margin:0;padding:10px;grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "qr" "url";gap:10px;border-radius:18px}
.live-lobby-grid .live-room-code-main{padding:14px;gap:8px}
.live-lobby-grid .live-room-code-main>strong{font-size:clamp(34px,4vw,48px)}
.live-lobby-grid .live-room-qr{align-self:auto;justify-items:center;padding:14px;border-radius:14px}
.live-lobby-grid .live-room-qr svg{width:min(100%,220px);height:auto;aspect-ratio:1}
.live-lobby-grid .live-room-link{padding:9px 4px 1px}
.live-lobby-grid .live-room-link strong{font-size:12px}
.is-lobby .live-players-panel .live-lobby-meta{margin:0 0 10px}
.is-lobby .live-players-panel .live-player-list{grid-template-columns:1fr;margin:0 0 12px}
.is-lobby .live-players-panel .live-primary{width:100%;align-self:stretch}
.is-lobby .live-players-panel .live-footnote{min-height:34px}
.avatar-picker{margin:2px 0 0;padding:0;border:0;min-width:0}
.avatar-picker legend{margin-bottom:8px;color:var(--muted);font-size:11px;font-weight:700}
.avatar-picker>div{display:flex;flex-wrap:wrap;gap:8px}
.avatar-option{position:relative;cursor:pointer}
.avatar-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.avatar-option span{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:23px;transition:border-color .16s,background .16s,transform .16s}
.avatar-option input:checked+span{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--surface));transform:translateY(-2px)}
.avatar-option input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--accent) 30%,transparent);outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.live-player-shell{width:min(520px,100%);min-height:100vh;margin:auto;padding:16px 18px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column}
.live-player-top{padding-bottom:12px}.live-player-top .live-brand{font-size:10px}.live-player-top .live-code{font-size:10px}
.live-player-content{width:100%;margin:auto;padding:26px 0}.live-player-content h1{font-size:clamp(30px,8vw,42px);letter-spacing:-.04em}.live-player-content .live-lead{font-size:15px;margin:12px 0 20px}
.live-mobile-count{display:flex;align-items:baseline;gap:10px;padding:17px;background:var(--surface);border-radius:15px}.live-mobile-count strong{font-size:22px}.live-mobile-count span{font-size:12px;color:var(--muted)}
.live-player-content .live-player-list{grid-template-columns:1fr;gap:7px;margin:14px 0}.live-player-content .live-person{min-height:50px;padding:10px 13px;font-size:14px}
.live-role-card{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}.live-role-card strong{display:block;margin-top:7px;font-size:22px;line-height:1.25}.live-role-card p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.live-role-card.is-outsider{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:color-mix(in srgb,var(--accent) 5%,var(--surface))}.live-role-card.is-outsider strong{color:var(--accent)}
.live-role-flip-card{display:block;width:100%;margin:18px 0;padding:0;border:0;border-radius:17px;background:transparent;color:inherit;text-align:left;perspective:900px;cursor:pointer;touch-action:manipulation}.live-role-flip-card:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 42%,transparent);outline-offset:3px}.live-role-flip-inner{position:relative;display:block;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.72,.25,1)}.live-role-flip-card.is-flipped .live-role-flip-inner{transform:rotateY(180deg)}.live-role-flip-card .live-role-card{box-sizing:border-box;min-height:132px;margin:0;backface-visibility:hidden}.live-role-card-front{position:relative}.live-role-card-back{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transform:rotateY(180deg);text-align:center;background:var(--surface-2, var(--surface))}.live-role-card-back img{display:block;width:min(230px,78%);height:auto;max-height:42px;object-fit:contain}.live-role-card-label,.live-role-card-detail{display:block}.live-role-card-detail{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.5}.live-role-card-hint{display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--muted);font-size:11px;font-weight:600;line-height:1.2}.live-role-card-hint svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.live-role-card-back .live-role-card-hint{justify-content:center;margin-top:0}
.live-player-content .live-question{margin:17px 0;padding:15px}.live-player-content .live-question strong{font-size:17px}
.live-form{display:grid;gap:13px;margin-top:18px}.live-form label{display:grid;gap:7px;font-size:12px;font-weight:600}.live-form input,.live-form textarea{width:100%;min-height:52px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:16px var(--body);resize:vertical;pointer-events:auto;touch-action:manipulation}.live-form input:focus,.live-form textarea:focus{outline:3px solid color-mix(in srgb,var(--accent) 25%,transparent);border-color:var(--accent)}.live-form textarea{min-height:78px}
.live-player-content .live-primary{width:100%;min-height:54px}.live-submitted{padding:18px;border-radius:15px;background:var(--surface);display:grid;gap:6px}.live-submitted strong{font-size:18px}.live-submitted span{font-size:12px;color:var(--muted);line-height:1.5}
.live-join-game{display:grid;gap:4px;margin:15px 0 0;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.live-join-game span{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.4px}.live-join-game strong{font-size:16px;line-height:1.3}
.live-primary .live-join-arrow{width:20px;height:20px;display:block;flex:none;align-self:center;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.live-vote-options{display:grid;gap:8px;margin-top:16px}.live-vote-options button{min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font:600 15px var(--body);cursor:pointer}.live-vote-options button i{font-style:normal;color:var(--accent);font-size:12px}
.live-secondary{min-height:48px;padding:0 17px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:700 14px var(--body);cursor:pointer}.live-secondary:hover{background:var(--surface-2)}
.live-round-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:clamp(24px,4vw,56px)}
.live-round-layout>section{min-width:0}.live-round-layout .live-lead{margin:15px 0 20px;font-size:clamp(15px,1.5vw,19px)}
.live-round-focus{display:flex;align-items:center;gap:22px;margin:22px 0;padding:18px;background:var(--surface-2);border:1px solid var(--line);border-radius:20px}
.live-round-clock{position:relative;width:110px;height:110px;flex:none;display:grid;place-items:center}
.live-round-clock svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.live-round-clock circle{fill:none;stroke-width:5}.live-clock-track{stroke:var(--line)}.live-clock-progress{stroke:var(--text);stroke-linecap:round;stroke-dasharray:283;transition:stroke-dashoffset .8s linear}
.live-round-clock strong{font-size:23px;font-variant-numeric:tabular-nums}.live-round-clock span{position:absolute;top:calc(100% + 7px);width:max-content;color:var(--muted);font-size:10px}
.live-turn-indicator{display:grid;gap:7px}.live-turn-indicator>span,.live-question>span{color:var(--muted);font-size:10px;letter-spacing:1.5px;font-weight:700}.live-turn-indicator strong{font-size:21px;line-height:1.3}.live-turn-indicator small{color:var(--muted);font-size:12px}
.live-round-layout .live-question{margin:28px 0 0}.live-round-layout .live-question strong{font-size:15px}
.live-round-player-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.live-round-player{min-width:0;padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}
.live-round-player-head{display:flex;align-items:center;gap:10px;min-width:0}.live-round-player-head strong{overflow-wrap:anywhere;font-size:16px}
.live-round-player-head .live-person-avatar{width:38px;height:38px;border-radius:12px;font-size:21px}
.live-round-votes{display:flex;align-items:center;gap:6px;margin-top:13px;color:var(--muted);font-size:11px}.live-round-votes>b{color:var(--text);font-size:20px}.live-voter-list{display:flex;gap:3px;margin-left:auto}.live-voter-avatar{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--surface-2);font-size:15px}
.live-next-ready{padding:15px 18px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2);font-weight:700}
.live-take-turn{width:100%;margin:0 0 8px}.live-player-content .live-hint-box{display:grid;gap:10px;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2)}.live-hint-box .live-secondary{justify-self:start}.live-hint-box p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.live-player-content .live-take-turn{margin-bottom:2px}.live-player-content .live-take-turn+.live-footnote{margin-top:0}
.live-player-content .live-hint-carousel{gap:11px;margin-top:14px}
.live-hint-carousel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.live-hint-carousel-head>div{display:grid;gap:2px}
.live-hint-carousel-head strong{font-size:15px}
.live-hint-carousel-head small{color:var(--muted);font-size:10px;line-height:1.2}
.live-hint-carousel-head>span{flex:none;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.live-hint-slide{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow:hidden;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);touch-action:pan-y;user-select:none;cursor:grab}
.live-hint-slide:active{cursor:grabbing}
.live-hint-slide p{margin:0;color:var(--text);font-size:15px;line-height:1.45;text-align:center}
.live-hint-slide.is-next{animation:hint-slide-next .24s ease-out both}
.live-hint-slide.is-prev{animation:hint-slide-prev .24s ease-out both}
.live-hint-carousel-controls{display:flex;justify-content:space-between;gap:10px}
.live-hint-carousel-controls .live-secondary{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.live-hint-carousel-controls>button{flex:1}
.live-hint-carousel-controls .button-arrow-icon{width:17px;height:17px}
.live-hint-prev .button-arrow-icon{transform:rotate(180deg)}
.live-player-content .live-hint-carousel .live-hint-help{margin:0;color:var(--muted);font-size:11px;line-height:1.4;text-align:center}
@keyframes hint-slide-next{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@keyframes hint-slide-prev{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.live-hint-slide.is-next,.live-hint-slide.is-prev{animation:none}}
.live-phone-vote{margin-top:22px}.live-phone-vote h2{margin:0;font-size:18px}.live-phone-vote .live-lead{margin:8px 0 0;font-size:13px}.live-phone-vote .live-vote-options{margin-top:10px}.live-phone-vote .live-submitted{margin-top:10px}
.live-guess-form{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.live-guess-form small{color:var(--muted);font-size:11px;line-height:1.45}
.live-screen-content.is-clues{width:min(1180px,100%)}
.live-player-content .live-footnote{font-size:11px}.live-error{padding:11px 13px;background:#f4d9d6;color:#76232a;border-radius:10px;font-size:13px}
html[data-theme="dark"] .live-primary{background:#eee9e5;color:#282728}html[data-theme="dark"] .live-error{background:#4a282b;color:#ffd5d5}
@media(prefers-reduced-motion:reduce){.live-role-flip-inner{transition:none}}
.live-role-flip-card .live-role-card{display:flex;flex-direction:column;justify-content:center;width:100%}
.live-role-card-back{align-items:center}
.live-role-card-label{color:var(--muted);font-size:10px;letter-spacing:1.6px;font-weight:700}
.live-role-card-detail{display:block;margin-top:7px;color:var(--muted);font-size:13px;line-height:1.5}
.live-role-card-hint{display:flex!important;align-items:center;gap:7px;margin-top:13px;color:var(--muted)!important;font-size:11px!important;font-weight:600;letter-spacing:normal!important;line-height:1.2}
.live-role-card-back img{width:min(230px,78%);max-width:100%;height:auto;max-height:42px;object-fit:contain}
.live-role-flip-card .live-role-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 8px 24px color-mix(in srgb,var(--text) 5%,transparent)}
.live-role-card-front{border-top:1px solid var(--line)!important;background:var(--surface)!important}
.live-role-card .live-role-card-detail{color:var(--muted);font-size:14px;letter-spacing:normal;font-weight:400;line-height:1.45}
.live-role-card .live-role-card-hint{width:max-content;max-width:100%;margin-top:15px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.live-role-card-back{background:var(--surface-2)!important}
@media(max-width:760px){.live-lobby-grid{grid-template-columns:1fr;gap:12px;margin-top:16px}.live-connect-panel,.live-players-panel{padding:12px;border-radius:20px}.live-lobby-grid .live-room-qr svg{width:min(100%,220px);height:auto}.live-clues-layout,.live-round-layout{grid-template-columns:1fr;gap:24px}.live-clues-results .live-clue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.live-round-player-list{grid-template-columns:1fr 1fr}.live-scoreboard{grid-template-columns:1fr}}
@media(max-width:650px){.live-game-shell{width:calc(100% - 34px);padding-top:16px}.live-game-top,.live-player-top{gap:9px;padding-bottom:12px}.live-brand img{width:112px;max-width:34vw;max-height:16px}.live-game-top .live-code{font-size:9px;letter-spacing:.8px}.live-player-top .live-code{font-size:9px;letter-spacing:.8px}.live-theme-toggle,.live-icon-button{width:34px;height:34px}.live-theme-icon{width:16px;height:16px}.live-screen-content{padding:36px 0}.live-player-list,.live-clue-list{grid-template-columns:1fr}.live-room-code{grid-template-columns:minmax(0,1fr) 104px;gap:10px 12px;padding:9px}.live-room-code-main{padding:13px}.live-room-code-main>strong{font-size:34px}.live-room-code button{width:auto;padding:10px 12px}.live-room-qr{padding:7px}.live-room-qr svg{width:88px;height:88px}.live-room-link strong{font-size:11px}.live-game-footer{font-size:9px}.is-lobby.live-game-shell{height:auto;min-height:100svh;padding-top:16px}.is-lobby .live-screen-content{padding:26px 0}.is-lobby .live-screen-content h1{font-size:40px}.is-lobby .live-room-code{grid-template-columns:minmax(0,1fr) 100px}.is-lobby .live-room-qr svg{width:84px;height:84px}.is-lobby .live-player-list{grid-template-columns:1fr}.is-lobby .live-primary{width:100%}}
@media(max-width:520px){.live-fullscreen-toggle{display:none}}
@media(min-width:1100px) and (min-height:700px){.live-screen-content{padding-top:6vh;padding-bottom:6vh}.live-game-shell{padding-top:34px}.live-game-top{padding-bottom:23px}}
@media(min-width:651px) and (max-height:800px){.is-lobby.live-game-shell{padding-top:10px;padding-bottom:8px}.is-lobby .live-game-top{padding-bottom:8px}.is-lobby .live-screen-content{padding:5px 0}.is-lobby .live-eyebrow{margin-bottom:4px}.is-lobby .live-screen-content h1{font-size:clamp(30px,3.5vw,42px)}.is-lobby .live-lead{margin-top:5px;font-size:14px}.is-lobby .live-room-code{margin:12px 0;padding:8px;gap:8px 12px}.is-lobby .live-room-code-main{padding:11px 15px;gap:7px}.is-lobby .live-room-code-main>strong{font-size:38px}.is-lobby .live-room-qr svg{width:104px;height:104px}.is-lobby .live-room-link{padding-top:7px}.is-lobby .live-lobby-meta{margin:7px 0 4px}.is-lobby .live-person{min-height:52px;padding:7px 10px;gap:8px}.is-lobby .live-person-avatar{width:34px;height:34px;border-radius:11px;font-size:19px}.is-lobby .live-player-list{gap:7px;margin-bottom:8px}.is-lobby .live-primary{min-height:46px}.is-lobby .live-footnote{margin-top:5px}.is-lobby .live-game-footer{padding-top:6px}}
@media(prefers-reduced-motion:reduce){.live-primary{transition:none}}

/* Larger room entry panel with consistently square code slots */
.hero{grid-template-columns:minmax(0,1fr) minmax(460px,1.05fr);gap:40px}
.hero-panels{padding:30px 26px 26px;gap:20px}
.join-panel{padding:27px 34px 29px}
.join-panel h2{font-size:30px}
.role-switch{height:62px}
.code-inputs{gap:12px;margin-inline:0}
.code-inputs input{height:auto;min-width:0;aspect-ratio:1;border-radius:16px}
.create-room-card{min-height:146px;padding:20px 28px;gap:18px}
.create-room-copy strong{font-size:28px}
.create-room-copy small{font-size:16px}

/* Keep the TV lobby on one screen without letting flex items collide. */
@media (min-width:761px) and (max-height:800px){
  .is-lobby.live-game-shell{height:100svh;min-height:0;overflow:hidden;padding-top:10px;padding-bottom:8px}
  .is-lobby .live-game-top{padding-bottom:8px}
  .is-lobby .live-screen-content{flex:1 1 0;min-height:0;padding:4px 0;justify-content:center}
  .is-lobby .live-screen-content>*{flex-shrink:0}
  .is-lobby .live-eyebrow{margin-bottom:3px;font-size:9px}
  .is-lobby .live-screen-content h1{font-size:clamp(30px,3.5vw,42px);line-height:1}
  .is-lobby .live-lead{margin-top:4px;font-size:13px;line-height:1.25}
  .is-lobby .live-lobby-grid{gap:12px;margin-top:12px}
  .is-lobby .live-room-code{padding:7px;gap:7px}
  .is-lobby .live-room-code-main{gap:5px;padding:8px 12px}
  .is-lobby .live-room-code-main>strong{font-size:34px}
  .is-lobby .live-room-code-main button{padding:8px 11px}
  .is-lobby .live-room-qr{padding:7px}
  .is-lobby .live-room-qr svg{width:88px}
  .is-lobby .live-room-link{gap:4px;padding:6px 4px 0}
  .is-lobby .live-room-link span{font-size:8px}
  .is-lobby .live-room-link strong{font-size:10px}
  .is-lobby .live-players-panel{padding:10px;border-radius:18px}
  .is-lobby .live-players-panel .live-lobby-meta{margin-bottom:6px}
  .is-lobby .live-lobby-meta strong{font-size:18px}
  .is-lobby .live-lobby-meta span{font-size:11px}
  .is-lobby .live-players-panel .live-player-list{gap:5px;margin-bottom:7px}
  .is-lobby .live-person{min-height:42px;padding:6px 9px;gap:8px}
  .is-lobby .live-person-avatar{width:30px;height:30px;border-radius:9px;font-size:17px}
  .is-lobby .live-person-state{font-size:9px}
  .is-lobby .live-players-panel .live-primary{min-height:40px}
  .is-lobby .live-footnote{min-height:0;margin-top:5px;font-size:10px;line-height:1.3}
  .is-lobby .live-game-footer{padding-top:6px;font-size:9px}
}
.is-lobby .live-game-footer{display:none}

/* Use the same crisp, vertically centered arrow mark across button types. */
.button-arrow-icon{display:block;width:18px;height:18px;flex:0 0 auto;align-self:center;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.login-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.create-arrow{width:20px;height:20px;align-self:center}
.gallery-arrow{display:grid;place-items:center}
.gallery-arrow .button-arrow-icon{width:20px;height:20px}
.gallery-prev .button-arrow-icon{transform:rotate(180deg)}
#roomDialog .room-choice-arrow{width:17px;height:17px;flex:none;margin-left:auto;color:var(--accent)}
.live-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.load-more{display:flex;align-items:center;justify-content:center;gap:7px}
.load-more-arrow{width:14px;height:14px;transform:rotate(90deg)}
.live-round-clock{margin-bottom:16px}
.live-vote-phase-heading{margin:0 0 16px;font-size:clamp(22px,3vw,34px);font-weight:800;letter-spacing:-.03em}
.live-vote-panel-toggle{width:100%;margin-top:18px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px}
.live-vote-panel-toggle .button-arrow-icon{transition:transform .18s}
.live-vote-panel-toggle[aria-expanded="false"] .button-arrow-icon{transform:rotate(90deg)}
.live-vote-panel-toggle[aria-expanded="true"] .button-arrow-icon{transform:rotate(-90deg)}
.live-phone-vote{margin-top:12px}
.live-round-focus.is-vote .live-round-clock{margin-bottom:0}
.live-guess-action{display:grid;gap:10px;margin-top:16px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.live-guess-action>strong{font-size:16px}.live-guess-action>p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.live-guess-action>div{display:flex;flex-wrap:wrap;gap:8px}.live-guess-action .live-secondary,.live-guess-action .live-primary{min-height:42px;padding:0 16px}
.is-lobby .live-screen-content{padding-block:clamp(18px,2.5vh,28px)}
@media (min-width:761px) and (max-height:800px){.is-lobby .live-screen-content{padding-block:14px}}

.live-rules-screen,.live-rules-phone{width:min(1120px,100%);margin:0 auto}.live-rules-screen h1{font-size:clamp(38px,5vw,64px)}
.live-full-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0;padding:0;list-style:none}
.live-full-rule{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2)}
.live-full-rule>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--accent);font-size:13px;font-weight:800}
.live-full-rule>div{display:grid;gap:6px;min-width:0}.live-full-rule strong{font-size:18px;line-height:1.25}.live-full-rule p{margin:0;color:var(--muted);font-size:15px;line-height:1.45}
.live-rules-ready{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:14px;border-top:1px solid var(--line)}.live-rules-ready>div{display:flex;align-items:baseline;gap:7px}.live-rules-ready>div strong{font-size:24px}.live-rules-ready>div span,.live-rules-ready>p{color:var(--muted);font-size:14px}.live-rules-ready>p{margin:0}.live-start-game{min-width:260px;min-height:64px;font-size:18px}
.live-rules-player-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:14px 0 0;padding:0;list-style:none}.live-rules-player-list .live-person{min-height:48px}
.live-rules-phone h1{font-size:clamp(34px,8vw,46px)}.live-rules-phone .live-full-rules{grid-template-columns:1fr;gap:9px;margin:18px 0}.live-rules-phone .live-full-rule{gap:11px;padding:14px;border-radius:14px}.live-rules-phone .live-full-rule>span{width:29px;height:29px;font-size:11px}.live-rules-phone .live-full-rule strong{font-size:17px}.live-rules-phone .live-full-rule p{font-size:14px}.live-rules-ack{position:sticky;bottom:8px;width:100%;min-height:58px;z-index:2;box-shadow:0 5px 20px color-mix(in srgb,var(--text) 12%,transparent)}
@media(max-width:520px){.live-rules-screen .live-full-rules{grid-template-columns:1fr}.live-rules-ready{align-items:stretch;flex-direction:column}.live-start-game{width:100%;min-width:0}}
.live-screen-content.is-rules{width:min(1160px,100%);flex:1 1 auto;min-height:0;padding:clamp(6px,1.4vh,14px) 0;display:flex;align-items:center}
.live-rules-screen .live-eyebrow{margin-bottom:6px}.live-rules-screen h1{font-size:clamp(34px,4.2vw,54px);line-height:1}
.live-rules-screen .live-lead{margin:8px 0 12px;font-size:clamp(14px,1.35vw,18px);line-height:1.25}
.live-rules-screen .live-full-rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.live-rules-screen .live-full-rule{gap:10px;padding:10px 12px;border-radius:14px}
.live-rules-screen .live-full-rule>span{width:28px;height:28px;font-size:11px}
.live-rules-screen .live-full-rule>div{gap:3px}.live-rules-screen .live-full-rule strong{font-size:16px}.live-rules-screen .live-full-rule p{font-size:14px;line-height:1.3}
.live-rules-screen .live-rules-ready{padding-top:8px;gap:12px}.live-rules-screen .live-rules-ready>div strong{font-size:21px}.live-rules-screen .live-start-game{min-width:240px;min-height:52px;font-size:16px}
.live-rules-screen .live-rules-player-list{gap:6px;margin-top:8px}.live-rules-screen .live-rules-player-list .live-person{min-height:38px;padding:5px 9px;gap:7px}.live-rules-screen .live-rules-player-list .live-person-avatar{width:28px;height:28px;border-radius:9px;font-size:16px}.live-rules-screen .live-rules-player-list .live-person-number{font-size:10px}.live-rules-screen .live-rules-player-list .live-person-name{font-size:12px}.live-rules-screen .live-rules-player-list .live-person-state{font-size:9px}

/* Rules briefing: a compact four-part infographic with readiness kept beside it. */
.is-rules.live-game-shell{height:100svh;min-height:0;overflow:hidden;padding-block:12px}
.is-rules .live-game-top{flex:none;padding-bottom:10px}
.live-screen-content.is-rules{width:min(1240px,100%);flex:1 1 auto;min-height:0;padding:12px 0;display:flex;align-items:center}
.live-rules-screen{width:100%;margin:0}
.live-rules-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.live-rules-heading .live-eyebrow{margin-bottom:8px}
.live-rules-heading h1{font-size:clamp(34px,4vw,54px);line-height:1}
.live-rules-heading .live-lead{max-width:760px;margin:8px 0 0;font-size:clamp(14px,1.35vw,18px);line-height:1.35}
.live-rules-round-count{flex:none;margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:1.5px}
.live-rules-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.82fr);align-items:stretch;gap:18px}
.live-rules-screen .live-full-rules.is-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;align-content:stretch}
.live-rules-screen .live-full-rules.is-compact .live-full-rule{min-height:132px;gap:12px;padding:16px;border-radius:17px}
.live-rules-screen .live-full-rules.is-compact .live-full-rule>span{width:32px;height:32px;font-size:12px}
.live-rules-screen .live-full-rules.is-compact .live-full-rule>div{gap:7px}
.live-rules-screen .live-full-rules.is-compact .live-full-rule strong{font-size:17px}
.live-rules-screen .live-full-rules.is-compact .live-full-rule p{font-size:14px;line-height:1.4}
.live-rules-sidebar{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2)}
.live-rules-sidebar .live-rules-ready{display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:0;border:0}
.live-rules-sidebar .live-rules-ready>div{display:flex;flex-direction:column;gap:2px}
.live-rules-sidebar .live-rules-ready>div strong{font-size:30px;line-height:1.1}
.live-rules-sidebar .live-rules-ready>div span{font-size:13px}
.live-rules-sidebar .live-rules-ready>p{font-size:13px;line-height:1.4}
.live-rules-sidebar .live-start-game{width:100%;min-width:0;min-height:54px;font-size:16px}
.live-rules-sidebar .live-rules-player-list{grid-template-columns:1fr;gap:7px;margin:16px 0 0}
.live-rules-sidebar .live-rules-player-list .live-person{min-height:48px;padding:7px 9px;gap:8px}
.live-rules-sidebar .live-rules-player-list .live-person-avatar{width:34px;height:34px;border-radius:11px;font-size:19px}
.live-rules-sidebar .live-rules-player-list .live-person-number{font-size:10px}
.live-rules-sidebar .live-rules-player-list .live-person-name{font-size:13px}
.live-rules-sidebar .live-rules-player-list .live-person-state{font-size:10px}
@media(max-width:900px){
  .live-rules-layout{grid-template-columns:1fr;gap:12px}
  .live-rules-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.85fr);align-items:center;gap:12px;padding:12px 14px}
  .live-rules-sidebar .live-rules-player-list{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:0}
  .live-rules-sidebar .live-rules-ready{display:grid;grid-template-columns:1fr minmax(190px,.85fr);align-items:center;width:100%}
  .live-rules-sidebar .live-rules-ready>p{grid-column:2;grid-row:1}
  .live-rules-sidebar .live-start-game{grid-column:2;grid-row:1}
}
@media(max-width:650px){
  .is-rules.live-game-shell{height:auto;min-height:100svh;overflow:visible;padding-block:16px}
  .is-rules .live-game-top{padding-bottom:12px}
  .live-screen-content.is-rules{display:block;padding:28px 0}
  .live-rules-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:14px}
  .live-rules-heading h1{font-size:40px}
  .live-rules-layout{grid-template-columns:1fr}
  .live-rules-screen .live-full-rules.is-compact{grid-template-columns:1fr}
  .live-rules-screen .live-full-rules.is-compact .live-full-rule{min-height:0;padding:14px}
  .live-rules-sidebar{display:flex;align-items:stretch}
  .live-rules-sidebar .live-rules-ready{display:flex;align-items:stretch}
  .live-rules-sidebar .live-rules-ready>p,.live-rules-sidebar .live-start-game{width:100%}
  .live-rules-sidebar .live-rules-player-list{grid-template-columns:1fr}
}
@media(min-width:651px) and (max-height:800px){
  .is-rules.live-game-shell{padding-block:8px}
  .is-rules .live-game-top{padding-bottom:7px}
  .live-screen-content.is-rules{padding-block:6px}
  .live-rules-heading{margin-bottom:12px}
  .live-rules-heading .live-eyebrow{margin-bottom:5px}
  .live-rules-heading .live-lead{margin-top:6px;line-height:1.25}
  .live-rules-layout{gap:12px}
  .live-rules-screen .live-full-rules.is-compact{gap:8px}
  .live-rules-screen .live-full-rules.is-compact .live-full-rule{min-height:0;padding:11px 13px}
  .live-rules-screen .live-full-rules.is-compact .live-full-rule>div{gap:4px}
  .live-rules-screen .live-full-rules.is-compact .live-full-rule strong{font-size:16px}
  .live-rules-screen .live-full-rules.is-compact .live-full-rule p{font-size:13px;line-height:1.32}
  .live-rules-sidebar{padding:12px}
  .live-rules-sidebar .live-rules-ready{gap:8px}
  .live-rules-sidebar .live-rules-ready>div strong{font-size:26px}
  .live-rules-sidebar .live-start-game{min-height:46px}
  .live-rules-sidebar .live-rules-player-list{gap:5px;margin-top:10px}
  .live-rules-sidebar .live-rules-player-list .live-person{min-height:38px;padding:4px 7px;gap:7px}
  .live-rules-sidebar .live-rules-player-list .live-person-avatar{width:28px;height:28px;border-radius:9px;font-size:16px}
}
@media(min-width:761px){
  .live-lobby-grid{align-items:stretch}
  .live-lobby-grid>.live-connect-panel{display:block;padding:16px;background:var(--surface-2);border:1px solid var(--line);border-radius:24px}
  .live-lobby-grid>.live-connect-panel>.live-room-code{width:auto;height:auto;flex:none;margin:0;padding:0;background:transparent;border:0;border-radius:0}
}
@media(min-width:761px) and (max-height:800px){.live-lobby-grid>.live-connect-panel{padding:10px;border-radius:18px}}
.create-plus{width:86px;height:86px}
@media(min-width:761px) and (max-width:1000px){.hero{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:24px}.hero-panels{padding:24px 20px 20px}.join-panel{padding:24px 25px 26px}.create-room-card{min-height:150px;padding:22px 25px;gap:16px}.create-plus{width:70px;height:70px}}
@media(min-width:701px) and (max-width:760px){.hero{display:flex;flex-direction:column;align-items:stretch;gap:25px;min-height:auto;padding:46px 0 48px}.hero h1{margin-bottom:24px}.hero-panels{padding:20px;gap:14px}.join-panel{padding:25px}.code-inputs input{height:auto}.create-room-card{min-height:138px}}
@media(max-width:700px){.hero-panels{padding:16px;gap:12px}.join-panel{padding:22px 19px 21px}.join-panel h2{font-size:23px}.role-switch{height:50px}.code-inputs{gap:9px;margin:0 0 15px}.code-inputs input{height:auto;aspect-ratio:1;border-radius:13px}}
@media(min-width:651px){.top-actions .theme-toggle{margin-right:8px}}
.hero-brand-lockup{display:block;line-height:0;margin-top:4px}.hero-brand-lockup img{display:block;width:min(100%,410px);max-width:100%;height:auto}
.hero-no-install{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
@media(max-width:700px){.hero h1{font-size:clamp(30px,7.2vw,42px);line-height:1.08;letter-spacing:normal}.hero-no-install{margin:8px 0 0;font-size:11px}}
.hero h1 .hero-highlight{text-transform:none;white-space:nowrap;display:inline-block;margin-top:0}

/* Compact local hero layout for 16:9 TV browsers (for example 960×540 CSS px). */
@media (min-width: 761px) and (max-width: 1100px) and (max-height: 620px) {
  .wrap{width:calc(100% - 64px)}
  .topbar{height:52px;margin-top:10px;padding-inline:18px}
  .brand img{width:82px}
  .top-actions{gap:12px}
  .top-actions>a{font-size:13px;padding:6px 8px}
  .pill{font-size:13px;padding:8px 16px;border-width:1px}
  .theme-toggle{width:34px;height:34px;padding:0}
  .hero{min-height:calc(100svh - 62px);grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:22px;padding:14px 0 22px;align-content:center}
  .hero-copy{min-width:0}
  .hero h1{font-size:clamp(36px,4.2vw,42px);line-height:1.08;margin:0 0 17px}
  .hero h1 br{display:block}
  .hero h1 .hero-highlight{display:inline;white-space:normal}
  .hero-lead{font-size:15px;line-height:1.48;margin-bottom:12px}
  .hero-no-install{font-size:13px;line-height:1.4;margin-top:9px}
  .hero-panels{padding:16px;gap:13px;border-radius:22px}
  .join-panel{padding:20px 19px 21px;border-radius:17px}
  .join-panel h2{font-size:25px}
  .join-panel>p{font-size:14px;margin-bottom:12px}
  .role-switch{height:50px;margin-bottom:13px}
  .role-option{font-size:13px}
  .code-inputs{gap:9px;margin:0 0 13px}
  .code-inputs input{height:54px;border-radius:12px;font-size:22px}
  .join-button{font-size:14px;padding:11px 18px;min-height:42px}
  .create-room-card{min-height:94px;padding:15px 17px;gap:13px;border-radius:17px}
  .create-plus{width:54px;height:54px;border-radius:16px;font-size:35px}
  .create-room-copy strong{font-size:18px}
  .create-room-copy small{font-size:12px;line-height:1.4}
}

@media (max-width: 700px) {
  .create-room-card {
    height: auto;
    min-height: 0;
    padding: 14px;
    gap: 10px;
    align-items: center;
  }
  .create-plus {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 34px;
  }
  .create-room-copy { min-width: 0; }
  .create-room-copy strong { font-size: 16px; line-height: 1.2; }
  .create-room-copy small { font-size: 11px; line-height: 1.35; }
}

/* Shared corner radius for the site's main card surfaces. */
:root{--site-card-radius:22px}
:is(.hero-panels,.join-panel,.create-room-card,.step,.game-card,.room-banner,.how-device-card,.how-step,.how-flow-item){border-radius:var(--site-card-radius)!important}

.game-card-summary{margin:0;color:var(--muted);font:500 12px/1.45 var(--body);max-width:40ch}
.game-card-top h3{min-width:0;flex:1;margin:0;color:var(--text);font:700 20px/1.2 var(--display);letter-spacing:-.35px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(max-width:600px){.game-card-top h3{font-size:18px}}
.how-title{font:700 clamp(30px,4vw,46px)/1.08 var(--display)!important;letter-spacing:-1.4px!important}

/* Keep game artwork square in the details modal, including short TV viewports. */
.game-art-stage.large-art{width:min(100%,calc(100dvh - 120px));height:auto!important;max-height:calc(100dvh - 120px);aspect-ratio:1/1;margin-inline:auto}

/* Place the game dialog close control beside its title, without a reserved top row. */
dialog#gameDialog{padding:27px}
@media(min-width:800px){dialog#gameDialog{padding:30px}}
@media(min-width:800px) and (max-height:620px){dialog#gameDialog{padding-top:20px}}
#gameDialog .game-modal-heading{margin:0 0 8px}
#gameDialog .game-modal-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
#gameDialog .game-modal-title-row h2{min-width:0;margin:2px 0 0}
#gameDialog .game-modal-close{position:static;inset:auto;z-index:auto;flex:none;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:50%;background:var(--surface-2);color:var(--text);display:grid;place-items:center;font:500 23px/1 var(--body);cursor:pointer}
html[data-theme="dark"] #gameDialog .game-modal-close{background:#3c3c3c;color:#f4f4f4}
@media(max-width:600px){#gameDialog .game-modal-close{width:38px;height:38px}}
#gameDialog:focus{outline:none}
#gameDialog .gallery-arrow:focus,#gameDialog .gallery-arrow:focus-visible{outline:none!important;box-shadow:none!important}
.game-art-stage.spy-art{background:#18263a!important}
.game-art-stage.spy-art:before{display:none}
.game-art-stage.spy-art img{display:block;width:100%;height:100%;object-fit:contain}
.game-art-stage.spy-art:not(.large-art) img{object-fit:cover;object-position:center}

/* Keep touch scrolling inside the game details dialog. */
html:has(dialog#gameDialog[open]),
body:has(dialog#gameDialog[open]),
html:has(dialog#roomDialog[open]),
body:has(dialog#roomDialog[open]){overflow:hidden;overscroll-behavior:none}
dialog#gameDialog,
dialog#roomDialog{overscroll-behavior:contain}

/* Keep game details inside the visible mobile browser viewport, including Safari's bars. */
@media(max-width:799px) and (pointer:coarse){
  dialog#gameDialog{
    width:calc(100% - 20px);
    max-width:calc(100% - 20px);
    max-height:calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 20px);
    overflow:auto;
    overscroll-behavior:contain;
    margin:auto;
    padding:15px 16px 18px;
    border-radius:var(--site-card-radius)!important;
  }
  #gameDialog .game-modal-layout{display:block}
  #gameDialog .game-modal-banner{margin:0 0 13px!important;border-radius:var(--site-card-radius)!important}
  #gameDialog .game-art-stage.large-art{width:100%;height:auto!important;max-height:none;aspect-ratio:1600/660;margin-inline:auto;border-radius:var(--site-card-radius)!important}
  #gameDialog .game-art-stage.spy-art picture{display:block;width:100%;height:100%}
  #gameDialog .game-art-stage.spy-art img{object-fit:cover}
  #gameDialog .game-modal-heading{margin:0 0 6px}
  #gameDialog .game-modal-close{width:36px;height:36px}
  #gameDialog .modal-description{margin:0 0 10px!important}
  #gameDialog .modal-rules{margin-top:10px;padding-top:10px}
  #gameDialog .detail-stats{margin:10px 0}
}
.game-card.is-coming-soon,.room-choice.is-coming-soon{filter:blur(.9px);opacity:.68;cursor:default;pointer-events:none}
.load-more.is-expanded .load-more-arrow{transform:rotate(-90deg)}
.spy-category-chip{position:absolute;top:12px;left:12px;z-index:1;display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border:1px solid #ffffff8c;border-radius:999px;background:#fffaf2b8;color:#292929;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font:600 10px/1 var(--body);letter-spacing:.2px}
@media(max-width:600px){.spy-category-chip{top:9px;left:9px;min-height:25px;padding:0 9px;font-size:9px}}
html[data-theme="dark"] :is(.button-primary,.filter.active,.showcase-bottom button,#roomDialog .room-confirm){color:#282728}
