:root{color-scheme:light;--ink:#211930;--paper:#faf7ed;--muted:#655a6e;--lime:#e0fa78;--lilac:#d0b7fc;--orange:#ffab70;--pink:#ffa9cc;--light:#fffdf7;--edge:#dcd3e0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.54}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7660d6;outline-offset:4px}p,h1,h2,h3{margin:0}p{line-height:1.56}button,textarea,input{color:inherit}img{max-width:100%;display:block}fieldset{min-width:0}::selection{background:var(--lilac);color:var(--ink)}
.topbar{background:var(--paper);border-bottom:1px solid #e7e0d6}.top-inner{max-width:1352px;padding:11px 36px;margin:auto;min-height:73px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:0;font-size:24px;font-weight:950;letter-spacing:-1.65px;white-space:nowrap}.brand>span:nth-child(2){color:#6142a7}.brand>i{font-style:normal;color:#8057df}.brand-mark{font-family:Arial,sans-serif;display:inline-grid;place-items:center;width:29px;height:28px;background:var(--lilac);border:2px solid var(--ink);border-radius:9px;transform:rotate(-9deg);font-size:22px;line-height:.45;letter-spacing:1px;margin-right:8px;padding-bottom:6px}.brand-mark b{font-size:14px;line-height:.3}.topbar nav{display:flex;gap:30px;font-size:14px;font-weight:750}.topbar nav a:hover{text-decoration:underline;text-underline-offset:4px}
.wrap{width:min(1280px,calc(100% - 72px));margin-inline:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;padding:0 20px;border:2px solid var(--ink);border-radius:11px;background:var(--lime);color:var(--ink);font-size:14px;font-weight:850;line-height:1.1;text-align:center;transition:transform .14s,box-shadow .14s,background .14s}.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 3px 0 currentColor}.button:active:not(:disabled){transform:translateY(1px);box-shadow:none}.button.small{min-height:40px;padding:0 13px;font-size:13px}.button.outline{background:transparent}.button.dark{background:var(--ink);color:var(--light)}.button.secondary{background:var(--lilac)}.button.danger{background:#ffe2e2}.button .arrow{font-size:20px}
.hero{background:#231b35;color:var(--paper);border-radius:25px;position:relative;overflow:hidden;margin-top:27px;min-height:440px;display:grid;grid-template-columns:55% 45%;isolation:isolate}.hero-media{position:absolute;inset:0 0 0 44%;z-index:-2;background:#231b35 url('/assets/hero.jpg') center right/cover no-repeat}.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#231b35 37%,#231b35 42%,transparent 60%);pointer-events:none}.hero-copy{padding:51px 0 42px 55px;position:relative;align-self:center;min-width:550px}.eyebrow{font-size:11px;font-weight:900;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}.hero .eyebrow{color:#ede2fc;display:inline-flex;align-items:center;gap:9px}.signal{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #e0fa7830}.hero h1{font-size:clamp(51px,6.35vw,96px);line-height:.91;letter-spacing:-.087em;font-weight:950;margin:19px 0 19px}.hero h1 em{display:block;font-style:normal;color:var(--lime)}.hero p{font-size:16px;color:#ebe1f4;max-width:370px}.hero-actions,.actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:24px}.hero .button{border-color:var(--lime)}.hero .button.outline{color:var(--paper);border-color:#bcaecd}.hero .button:hover:not(:disabled){box-shadow:0 3px 0 #a18fba}.hero-note{color:#d8c9e3;margin-top:19px;font-size:12px;letter-spacing:.025em;font-weight:700}.hero-note span{color:var(--lime);margin:0 6px}
.games-section{padding-top:34px;padding-bottom:47px;scroll-margin-top:18px}.section-top{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.section-top h2,.how h2{font-size:clamp(32px,3.4vw,49px);line-height:.96;letter-spacing:-.07em;font-weight:950}.section-top p{font-size:14px;color:var(--muted)}.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.game-card{appearance:none;text-align:left;border:2px solid var(--ink);border-radius:16px;min-height:208px;padding:16px;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;box-shadow:0 3px 0 var(--ink);transition:transform .15s,box-shadow .15s;min-width:0}.game-card:hover{transform:translateY(-4px);box-shadow:0 7px 0 var(--ink)}.game-card:active,.game-card[aria-pressed=true]{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}.game-card[aria-pressed=true]::after{content:"✓";position:absolute;right:13px;top:12px;display:grid;place-items:center;width:27px;height:27px;background:var(--ink);color:var(--paper);border-radius:50%;font-weight:900}.lilac{background:var(--lilac)}.lime{background:var(--lime)}.orange{background:var(--orange)}.pink{background:var(--pink)}.card-kind{letter-spacing:.08em;font-size:9px;font-weight:900;white-space:nowrap}.card-art{height:68px;display:block;position:relative;margin-top:3px}.card-art .glyph{display:grid;place-items:center;width:49px;height:48px;position:absolute;top:9px;left:7px;background:var(--ink);border-radius:13px;color:var(--light);font-weight:900;font-size:36px;line-height:1;transform:rotate(-9deg);box-shadow:4px 4px 0 #2119302b}.game-card.lilac .glyph{font-size:54px;padding-top:12px;border-radius:17px 17px 17px 4px;color:var(--lilac)}.game-card.lime .glyph{color:var(--lime);transform:rotate(13deg);border-radius:50%}.game-card.orange .glyph{color:var(--orange);transform:rotate(-11deg);border-radius:12px 13px 5px 16px}.game-card.pink .glyph{color:var(--pink);border-radius:50% 50% 10px 50%;transform:rotate(12deg)}.card-art::after{content:'✦';position:absolute;left:65px;top:4px;font-size:18px;transform:rotate(14deg)}.card-name{font-size:clamp(19px,2.05vw,29px);font-weight:950;letter-spacing:-.07em;line-height:1;margin-bottom:7px}.card-description{font-size:13px;line-height:1.35;max-width:210px;padding-right:8px}.card-arrow{position:absolute;right:12px;bottom:12px;font-size:18px;font-weight:900;line-height:1}.how{border-top:1px solid var(--edge);padding:37px 0 56px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:23px}.step{background:var(--light);border:1px solid var(--edge);border-radius:15px;padding:19px}.step h3{font-size:17px;margin-bottom:4px}.step p{font-size:14px;color:var(--muted)}.footer{border-top:1px solid var(--edge);padding:22px 0;color:var(--muted);font-size:13px}.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}.footer a{text-decoration:underline;text-underline-offset:3px}
.room{padding-block:32px 56px}.room-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:23px}.room-head h1,.join-page h1,dialog h2{font-size:clamp(35px,5.4vw,66px);font-weight:950;letter-spacing:-.085em;line-height:.98;margin:.17em 0}.room-head p{color:var(--muted);font-size:15px}.code-chip{display:inline-flex;align-items:center;gap:9px;padding:9px 13px;background:var(--lilac);border:2px solid var(--ink);border-radius:10px;font-size:17px;font-weight:950;letter-spacing:.1em;white-space:nowrap}.code-chip small{font-size:9px;letter-spacing:.08em}.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:18px}.panel{border:1px solid var(--edge);border-radius:17px;background:var(--light);padding:22px;min-width:0}.panel + .panel{margin-top:13px}.panel h2{font-size:24px;font-weight:950;letter-spacing:-.055em;margin-bottom:10px}.panel h3{font-size:17px;margin-bottom:8px}.panel .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:13px}.room-grid .card-name{font-size:clamp(19px,2.4vw,30px)}.room-grid .game-card{min-height:160px}.room-grid .card-art{height:54px}.room-grid .card-art .glyph{width:39px;height:37px;font-size:28px;top:5px}.room-grid .game-card.lilac .glyph{font-size:43px}.room-grid .card-art::after{left:54px}.quiet{color:var(--muted);font-size:14px}.player-list,.score-list,.result-list,.moderation{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:7px}.player-list li,.score-list li,.result-list li,.moderation li{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1ebf5;padding:9px 11px;border-radius:8px;overflow-wrap:anywhere}.score-list li strong,.result-list li strong{white-space:nowrap}.player-list button,.moderation button{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px;color:var(--muted);min-height:30px}.moderation li{align-items:baseline}.result-list li{align-items:start}.result-list span{display:block}.result-list small{color:var(--muted)}.qr{width:125px;height:125px;border-radius:8px;margin:12px 0 10px;image-rendering:pixelated}.invite-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.settings{margin-top:19px}.settings summary{cursor:pointer;font-weight:750;font-size:14px}.duration-fields{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px}.duration-fields label{display:grid;gap:4px;font-size:12px;font-weight:700}.duration-fields input{width:105px;padding:6px 8px;min-height:37px}.room-foot{display:flex;justify-content:space-between;gap:16px;margin-top:16px}
.stage{background:#241a36;color:var(--paper);border-radius:17px;min-height:239px;padding:24px;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:13px}.stage h2{font-size:clamp(28px,5.3vw,63px);letter-spacing:-.07em;line-height:1;max-width:24ch;overflow-wrap:anywhere;margin:0}.stage p{color:#f3eafb;max-width:55ch}.stage .eyebrow{color:var(--lime)}.stage-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.timer{font-variant-numeric:tabular-nums;align-self:start;font-size:clamp(24px,4vw,45px);font-weight:950;line-height:1;letter-spacing:-.05em;color:var(--lime);background:#ffffff19;border-radius:10px;padding:7px 10px;white-space:nowrap}.stage .frame{width:min(100%,420px);aspect-ratio:1;background-size:300% 200%;border-radius:11px;background-repeat:no-repeat;background-color:#534660}.stage .lines{padding:0;margin:0;display:grid;gap:8px;list-style:none}.stage .lines li{padding:8px 11px;background:#ffffff19;border-radius:8px;overflow-wrap:anywhere}.stage .lines li:last-child{background:var(--lilac);color:var(--ink);font-weight:800}.stage .result-list{color:var(--ink);width:min(100%,650px)}.stage .result-list p{color:inherit}.stage .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stage .choice-grid p{background:#ffffff18;border-radius:8px;padding:10px;overflow-wrap:anywhere}.meter{width:min(100%,570px);margin-top:6px}.meter-track{height:21px;position:relative;border-radius:20px;background:linear-gradient(90deg,#ff8c9e,var(--lilac) 50%,var(--lime));margin:7px 8px 12px}.meter-needle{position:absolute;width:21px;height:28px;top:-3px;background:#fff;border:3px solid #241a36;border-radius:8px;transform:translateX(-50%);transition:left .35s ease}.meter-label{font-weight:900}
.controller,.join-page{width:min(100% - 32px,560px);margin:32px auto 48px}.controller .room-head{align-items:center}.controller .room-head h1{font-size:clamp(29px,8vw,44px)}.controller .stage{min-height:150px}.controller .panel{margin-top:13px}.controller h2{font-size:23px;margin:0 0 8px}.controller .stage h2{font-size:clamp(25px,6vw,40px)}.choice-buttons{display:grid;gap:8px;margin-top:12px}.choice-buttons .button{justify-content:start;text-align:left;min-height:53px;overflow-wrap:anywhere}.stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px}.stars button{font-size:25px;padding:7px 2px;flex-direction:column;gap:4px}.stars small{font-size:11px}.reactions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.reactions .button{min-height:59px}.reactions .button:last-child{grid-column:1/-1;min-height:38px}.button.selected{outline:3px solid #7855ca;outline-offset:2px}.keyword{display:inline-block;background:var(--lilac);font-size:17px;font-weight:900;border-radius:7px;padding:6px 10px;margin:6px 0}.form{display:grid;gap:13px}.form label{display:grid;gap:5px;font-size:14px;font-weight:850}.form input,.form textarea,.duration-fields input{border:1px solid #8d8197;border-radius:8px;background:#fffdf7}.form input,.form textarea{width:100%;padding:10px 12px;min-height:45px}.form textarea{resize:vertical;min-height:98px}.count{font-size:12px;color:var(--muted);font-weight:700;justify-self:end}.form .button{justify-self:start}.join-page>.panel{margin-top:18px}.join-page input[name=code]{text-transform:uppercase;letter-spacing:.13em}.wait-note{margin-top:12px;color:var(--muted)}
dialog{background:var(--paper);color:var(--ink);width:min(100% - 32px,455px);border:2px solid var(--ink);border-radius:18px;padding:25px;box-shadow:0 7px 0 #21193070}dialog::backdrop{background:#211930b9}dialog h2{font-size:39px;margin-bottom:12px}dialog .form{margin-top:17px}dialog .close{position:absolute;right:12px;top:10px;border:0;border-radius:6px;text-align:center;background:none;font-size:24px;width:35px;height:35px}.dialog-error{color:#a32844;font-weight:750;font-size:13px}.dialog-kind{font-size:10px;padding:5px 8px;display:inline-block;border-radius:5px;font-weight:900;letter-spacing:.08em}#notice{position:fixed;z-index:8;bottom:15px;right:15px;max-width:min(440px,calc(100vw - 30px));padding:12px 16px;border-radius:10px;background:var(--ink);color:#fff;font-weight:750;box-shadow:0 3px 12px #21193045}#notice:empty{display:none}
.screen-mode{background:#231b35;color:var(--paper)}.screen-mode .topbar{display:none}.screen{min-height:100dvh;padding:clamp(16px,3vw,47px);max-width:1800px;margin:auto;display:flex;flex-direction:column;gap:18px}.screen-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.screen .brand>span:nth-child(2),.screen .brand>i{color:var(--lilac)}.screen .brand-mark{color:var(--ink)}.screen .button.outline{border-color:#c7b8da;color:var(--paper)}.screen .stage{background:#34264b;flex:1;min-height:65vh;border:2px solid #ffffff25;padding:clamp(18px,3vw,44px);gap:16px}.screen .stage h2{font-size:clamp(43px,7vw,112px)}.screen .stage p,.screen .stage .lines,.screen .stage .result-list{font-size:clamp(16px,2.35vw,35px)}.screen .stage .timer{font-size:clamp(29px,6vw,92px)}.screen .stage .frame{width:min(100%,48vh,420px)}.screen .code-chip{color:var(--ink)}.screen .lobby-display{min-height:68vh;border-radius:18px;border:2px solid #ffffff20;background:#34264b;display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,.32fr);align-items:center;gap:20px;padding:clamp(18px,4.5vw,64px)}.screen .lobby-display h1{font-size:clamp(48px,11vw,155px);line-height:.92;letter-spacing:.04em;color:var(--lime);margin:10px 0}.screen .lobby-display p{color:#ede0fa;font-size:clamp(16px,2.3vw,30px)}.screen .lobby-display .qr{width:min(100%,350px);height:auto;margin:0}.screen .score-list{color:var(--ink);max-width:680px}.lobby-names{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.lobby-names span{background:#ffffff1e;padding:6px 9px;border-radius:7px;overflow-wrap:anywhere}
@media(max-width:950px){.wrap{width:calc(100% - 40px)}.top-inner{padding-inline:20px}.hero-copy{padding-left:35px;min-width:450px}.hero{min-height:398px}.hero-media{left:41%;background-position:55% center}.hero::after{background:linear-gradient(90deg,#231b35 37%,#231b35 44%,transparent 64%)}.games-grid{gap:10px}.game-card{padding:12px}.card-description{padding-right:12px}.room-grid{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:670px){.wrap{width:calc(100% - 28px)}.top-inner{min-height:60px;padding-inline:14px;gap:10px}.topbar nav{display:none}.brand{font-size:21px}.hero{margin-top:13px;display:flex;align-items:end;min-height:0;padding-top:190px;border-radius:17px}.hero-copy{min-width:0;width:100%;padding:0 20px 23px}.hero-media{inset:0 0 auto;height:255px;background-size:cover;background-position:50% 49%}.hero::after{background:linear-gradient(0deg,#231b35 49%,#231b35 52%,transparent 74%)}.hero h1{font-size:clamp(45px,10vw,67px);margin:11px 0;letter-spacing:-.08em}.hero p{font-size:14px}.hero-actions{margin-top:16px;gap:8px}.hero-actions .button{min-height:42px;padding:0 12px;font-size:13px}.hero-note{margin-top:13px;font-size:11px}.games-section{padding-top:27px;padding-bottom:32px}.section-top{align-items:start;flex-direction:column;gap:5px;margin-bottom:11px}.games-grid,.room-grid .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-card{min-height:160px}.card-name{font-size:clamp(17px,4.8vw,28px)}.card-art{height:52px}.card-art .glyph{width:38px;height:36px;top:7px;font-size:28px}.game-card.lilac .glyph{font-size:44px}.card-art::after{left:53px;font-size:14px}.card-description{font-size:12px}.card-arrow{right:7px;bottom:7px}.steps,.room-grid{grid-template-columns:1fr}.how{padding-top:25px}.steps{margin-top:14px}.room{padding-top:21px}.room-head{gap:8px}.room-head p{font-size:13px}.code-chip{padding:8px;gap:5px}.code-chip small{display:none}.panel,.stage{padding:15px}.room-grid aside{grid-row:auto}.screen .lobby-display{grid-template-columns:1fr;align-content:center}.screen .lobby-display .qr{width:120px}.screen .stage .frame{width:min(100%,33vh)}.screen .stage{min-height:62vh}.screen .stage h2{font-size:clamp(34px,9vw,62px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.invite-join{display:grid;grid-template-columns:minmax(68px,1fr) minmax(96px,1.2fr);align-items:center;gap:12px;margin-top:12px;max-width:280px}
.invite-join .qr{display:block;width:100%;max-width:112px;height:auto;margin:0;border:1px solid var(--edge)}
.invite-join .qr[hidden]{display:none}
.invite-details{display:grid;gap:5px;justify-items:start;min-width:0}
.invite-details .eyebrow{color:var(--muted)}
.invite-room-code{background:var(--lilac);border:1px solid var(--ink);border-radius:7px;padding:4px 7px;font-size:20px;letter-spacing:.1em;line-height:1.1}
.invite-details .button{margin-top:4px;padding-inline:6px;width:100%}
.setup-option h3{margin-bottom:3px}
.setup-option + .setup-option{border-top:1px solid var(--edge);margin-top:14px;padding-top:13px}
.setup-option .button{width:100%;justify-content:space-between;margin-top:8px}
.video-frame{position:relative;width:min(100%,840px);aspect-ratio:16/9;overflow:hidden;border-radius:11px;background:#171126}
.screen .video-frame{width:min(100%,85vh,1000px)}
.video-frame video{display:block;width:100%;height:100%}
.video-message:not([hidden]){position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:16px;text-align:center}
.prediction-buttons .button:last-child{grid-column:auto;min-height:59px}
.news-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--paper);font-size:14px;font-weight:850;letter-spacing:.07em}
.news-label span{background:var(--orange);color:var(--ink);padding:5px 8px;border-radius:5px}
.news-label small{color:var(--lilac);font-size:12px}
@media(min-width:671px){.games-section .games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
