@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#292737;background:#f7f5ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:450;--purple:#5846d5;--muted:#797580;--border:#e4e0d7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8c7ae9;outline-offset:4px}button,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-weight:800;letter-spacing:-2.8px}h2{letter-spacing:-1px;font-weight:750}h3{letter-spacing:-.5px}button:disabled{opacity:.55}.site-header{height:103px;max-width:1280px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{display:inline-flex;align-items:center;font-family:Manrope,sans-serif;font-size:24px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--purple);width:37px;height:37px;border-radius:12px;color:#f7f5ee;margin-right:10px;font-size:29px;letter-spacing:-5px;padding-right:5px;position:relative;transform:rotate(-6deg)}.brand-mark span{font-size:15px;color:#dcef9c;position:absolute;right:3px;top:0}.brand-dot{color:var(--purple)}.header-note{font-size:12px;color:#817b83;display:flex;gap:9px;align-items:center}.header-note i,.connection-pill i{height:7px;width:7px;background:#83a473;border-radius:50%}.home,.room-main{max-width:1184px;margin:auto}.hero{padding:74px 0 65px;display:grid;grid-template-columns:1.3fr 1fr;gap:80px;align-items:center}.pill{display:inline-flex;align-items:center;gap:9px;border:1px solid #dedacb;border-radius:30px;padding:8px 14px;font-size:10px;letter-spacing:1.5px;font-weight:700;background:#f3f0e4}.pill span{color:#8a7a3b;font-size:16px}.hero h1{font-size:68px;line-height:1.16;margin:23px 0 25px}.play-word{color:var(--purple);position:relative;display:inline-block}.play-word svg{position:absolute;bottom:-12px;left:-5px;width:100%;height:20px}.hero-copy>p{font-size:15px;line-height:1.85;color:#77727b;max-width:420px}.hero-details{display:flex;gap:26px;font-size:11px;margin-top:29px;color:#6d6872}.room-form-card{border:1px solid #ddd7cb;border-radius:22px;background:#fffdf7;padding:29px 30px 23px;box-shadow:5px 7px #e9e5d9;position:relative}.form-top{display:flex;justify-content:space-between;align-items:center;letter-spacing:1.4px;color:#948b80;font-size:9px}.form-top>span:first-child{font-size:25px;color:#9982b8}.form-top>span:last-child{color:#ab9c5d;font-size:22px}.room-form-card h2{font-size:25px;margin-top:13px}.room-form-card>p{font-size:12px;color:var(--muted);margin-top:9px}.form-tabs{background:#efede6;border-radius:10px;padding:4px;display:flex;margin:24px 0 20px}.form-tabs button{flex:1;border:0;background:none;padding:10px;border-radius:7px;font-size:12px;color:#827c83}.form-tabs button.active{background:#fffdf7;box-shadow:0 1px 5px #30263212;color:#3b3448;font-weight:650}label{display:block;font-size:12px;font-weight:600;margin:14px 0 9px}input{width:100%;border:1px solid #e1ddd5;background:#fffcf8;border-radius:9px;padding:13px 14px;font-size:13px;color:#302b3d;min-width:0}input::placeholder{color:#a6a0a4}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;min-height:44px;padding:11px 18px;font-size:12px;font-weight:650;transition:background .15s,transform .15s;white-space:nowrap}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{background:var(--purple);color:#fff}.button.primary:not(:disabled):hover{background:#4938be}.button.secondary{background:#fffdf7;border-color:#dcd7cc}.button.secondary:not(:disabled):hover{background:#eeebdf}.button.quiet{background:transparent;color:#756b85;min-height:40px;padding:8px 12px}.button.quiet:not(:disabled):hover{background:#ece8df}.button.full{width:100%;margin-top:19px}.form-footnote{display:block;text-align:center;color:#9b938f;font-size:10px;margin-top:16px}.games-section{padding-top:13px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#948892}.section-heading h2{font-size:28px;margin-top:9px}.section-aside{font-size:11px;color:#92898a;display:flex;align-items:center;gap:10px;padding-bottom:4px}.section-aside>span{font-size:26px;transform:rotate(10deg);color:#aaa08c}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.game-card{padding:0;border:1px solid #ded8e4;border-radius:17px;overflow:hidden;text-align:left;background:#fffdf8;transition:transform .2s,box-shadow .2s;position:relative;width:100%}.game-card:disabled{opacity:.85}.game-card:not(:disabled):hover{transform:translateY(-4px);box-shadow:0 10px 22px #4c3e6810}.game-card.selected{border-color:#7d6bcd;box-shadow:0 0 0 2px #7d6bcd22}.card-top{height:45px;padding:19px 20px 0;background:#e9e1f6;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.3px;color:#817099}.card-arrow{border:1px solid #cbbfe0;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:16px}.game-art{display:block;width:100%;height:180px;background:#e9e1f6}.platform .card-top,.platform .game-art{background:#e5ebd9}.platform .card-top{color:#788568}.platform .card-arrow{border-color:#bdc9a7}.puzzle .card-top,.puzzle .game-art{background:#f3e4d1}.puzzle .card-top{color:#9c8060}.puzzle .card-arrow{border-color:#d9bea2}.card-content{padding:23px 21px 19px}.card-content h3{font-size:21px;margin-bottom:9px}.card-content p{font-size:12px;line-height:1.8;color:#8b8388;max-width:270px;min-height:44px}.card-meta{display:flex;gap:18px;align-items:center;font-size:9px;color:#948b92;border-top:1px solid #efebe4;margin-top:18px;padding-top:14px;flex-wrap:wrap}.card-meta strong{margin-left:auto;color:#7563b3;font-weight:600}.home-instructions{margin-top:17px;display:flex;gap:18px;padding:16px 20px;background:#efede4;border-radius:10px;font-size:11px;line-height:1.8;color:#857c84}.home-instructions strong{color:#655979;white-space:nowrap}.how-it-works{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:49px 0 52px;border-top:1px solid var(--border);padding-top:31px}.how-it-works>div{display:flex;gap:15px;align-items:center}.how-it-works>div>span{width:34px;height:34px;display:grid;place-items:center;background:#eeeadf;border-radius:50%;font-size:10px;color:#9c917b;flex-shrink:0}.how-it-works h3{font-family:DM Sans,sans-serif;font-size:12px;font-weight:600;letter-spacing:0;margin-bottom:6px}.how-it-works p{font-size:10px;color:#978e90}footer{max-width:1280px;margin:auto;padding:27px 48px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:20px}footer>span{font-family:Manrope,sans-serif;font-weight:800;font-size:15px;letter-spacing:-.7px}footer p,footer small{font-size:10px;color:#9e9597}.room-main{padding:40px 0 55px;min-height:calc(100dvh - 180px)}.room-header-actions{display:flex;gap:18px;align-items:center}.connection-pill{display:flex;align-items:center;gap:7px;font-size:10px;color:#68835a}.connection-pill.offline{color:#ae765e}.connection-pill.offline i{background:#cd9670}.room-intro{display:flex;justify-content:space-between;align-items:center;gap:20px}.room-intro h1{font-size:34px;letter-spacing:-1.4px;margin-top:10px}.accent{color:#b0a458}.invite-strip{display:flex;gap:20px;align-items:center;background:#efede4;border:1px dashed #dad4c4;border-radius:9px;padding:8px 13px;margin:24px 0 18px}.invite-strip>span{font-size:10px;color:#8a7c80;white-space:nowrap}.invite-strip input{background:transparent;border:0;padding:5px;font-size:10px;color:#8c8194}.players-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:32px}.player-card{display:flex;align-items:center;gap:13px;background:#fffdf8;border:1px solid #e0dbd5;border-radius:13px;padding:15px 18px}.avatar{width:40px;height:40px;display:grid;place-items:center;background:#e9e1f6;color:#7b63b7;border-radius:13px;font-weight:700}.player-1 .avatar{background:#f6e1e4;color:#bc7b91}.player-card strong{font-size:13px}.player-card small{display:block;font-size:10px;color:#9a8d97;margin-top:5px}.presence{width:7px;height:7px;border-radius:50%;background:#d5cfc6;margin-left:auto}.presence.online{background:#8fac78}.room-main>.section-heading h2{font-size:25px}.muted{font-size:12px;color:#8a818c;line-height:1.9}.ready-panel{display:flex;align-items:center;gap:30px;justify-content:space-between;margin-top:25px;background:#eeebdf;border:1px solid #e1dbc9;padding:23px 25px;border-radius:14px}.ready-panel p{font-size:12px;line-height:1.9;max-width:780px;margin:7px 0;color:#736979}.ready-panel small{font-size:10px;color:#968a8d}.error-banner,.pause-banner{border:1px solid #e6c5bd;background:#fff0e9;padding:16px 20px;border-radius:12px;margin-bottom:20px;font-size:12px;line-height:1.8;color:#93604f}.error-banner{display:flex;justify-content:space-between;align-items:center;gap:12px}.error-banner button{border:0;background:none;font-size:20px}.pause-banner{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#fff4da;border-color:#e5d3a6;color:#8d7647}.form-error{font-size:11px;color:#b16663;line-height:1.8;margin-top:14px}.game-panel{background:#fffdf8;border:1px solid #e0dbd3;padding:30px;border-radius:18px;max-width:950px;margin:auto}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.game-heading h2{font-size:26px;margin-top:10px}.timer{font-size:19px;font-weight:700;background:#eeeadf;border-radius:25px;padding:10px 18px;color:#84775c;white-space:nowrap}.timer.urgent{background:#f8dce0;color:#a34b63}.secret-word{display:flex;align-items:center;justify-content:center;gap:15px;border:1px dashed #d4cbe4;background:#f2eef9;border-radius:10px;padding:13px;margin-bottom:18px}.secret-word span{font-size:11px;color:#90809f}.secret-word strong{font-size:19px;color:#66548c}.drawing-canvas{display:block;width:100%;max-width:800px;margin:0 auto;aspect-ratio:8/5;border:1px solid #e7e0d6;border-radius:12px;background:#fff}.drawing-canvas.editable{touch-action:none;cursor:crosshair}.draw-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 0}.swatches{display:flex;gap:8px;align-items:center}.swatch{width:29px;height:29px;border-radius:50%;border:3px solid #fffdf8;box-shadow:0 0 0 1px #e7e0d6}.swatch.active{box-shadow:0 0 0 2px #756293}.draw-tools select{border:1px solid #e3dcd0;border-radius:8px;background:#f8f5ed;padding:8px;font-size:11px}.chosen{box-shadow:0 0 0 1px #8c7ae9}.game-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #ede8df;padding-top:18px}.game-bottom p{font-size:11px;color:#968a92}.score-note{display:flex;gap:10px;align-items:center;justify-content:center;font-size:11px;color:#9a8d96;margin-top:22px}.score-note strong{color:#75658a}.waiting-canvas{min-height:320px;background:#f2eef8;border:1px dashed #d4cbe4;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.waiting-pencil{font-size:58px;color:#ac97d3;transform:rotate(-15deg)}.waiting-canvas h3{font-size:18px;margin:10px}.waiting-canvas p{font-size:12px;color:#9a8ca7;line-height:1.8}.loading-dots{display:flex;gap:6px;margin-top:24px}.loading-dots i{height:7px;width:7px;background:#b3a0d1;border-radius:50%;animation:pulse 1.1s infinite alternate}.loading-dots i:nth-child(2){animation-delay:.2s}.loading-dots i:nth-child(3){animation-delay:.4s}@keyframes pulse{to{opacity:.2;transform:translateY(-4px)}}.guess-form{display:flex;gap:12px;margin-top:18px}.feedback{font-size:12px;color:#98714e;text-align:center;margin:18px 0;line-height:1.8}.back-row{max-width:950px;margin:18px auto 0;display:flex;align-items:center;justify-content:space-between}.back-row>span{font-size:10px;color:#a09398}.round-badge{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#f1e5d4;font-size:24px;color:#b38a5d;flex-shrink:0}.clue-card{padding:32px 40px;text-align:center;background:#fbf0de;border:1px solid #e8d8be;border-radius:15px;max-width:620px;margin:25px auto}.clue-card .eyebrow{color:#b19672}.clue-icon{display:block;font-size:55px;color:#c1a46f;margin-top:15px}.clue-card p{font-family:Manrope,sans-serif;font-size:22px;line-height:1.9;color:#8f6a47;margin:15px 0 25px}.clue-card small{font-size:11px;color:#b2997d}.partner-input{font-size:12px;color:#9a8a98;text-align:center}.code-panel{padding:30px 10px;max-width:500px;margin:auto}.code-slots{display:flex;gap:12px;justify-content:center;margin-bottom:30px}.code-slots span{height:65px;flex:1;max-width:80px;display:grid;place-items:center;font-size:27px;border:2px dashed #d7c9b2;background:#fbf6ed;border-radius:12px;color:#c4b59c}.code-slots span.filled{border-style:solid;background:#f3e5d0;color:#9e7650}.symbol-pad{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.symbol-pad button{width:64px;height:60px;border:1px solid #d9c6aa;background:#fff7e9;border-radius:11px;color:#9e7650;font-size:25px}.symbol-pad button:hover{background:#f0e1cc}.panel-actions{display:flex;justify-content:center;gap:12px;margin-top:25px}.hint-button{display:block;margin:25px auto 0}.hint-box{padding:16px 20px;border:1px solid #dacbdc;border-radius:10px;font-size:12px;line-height:1.8;color:#8a6996;background:#f5edf6;margin:22px 0}.platform-stage{border:1px solid #d1dcc5;border-radius:14px;overflow:hidden;margin-top:20px}.platform-stage svg{display:block;width:100%;height:auto}.platform-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px}.platform-controls>div{display:flex;gap:10px}.platform-controls>span{text-align:center;font-size:11px;color:#93869b;line-height:1.8}.platform-controls small{font-size:9px}.control-key{background:#eeebf7;color:#7962a0;border:1px solid #cfc3e1;border-bottom:3px solid #cfc3e1;border-radius:12px;min-width:58px;min-height:52px;font-size:19px;padding:10px 15px;touch-action:none;user-select:none;-webkit-user-select:none}.control-key:active{background:#d8cdee;border-bottom-width:1px}.results-panel{max-width:950px;margin:auto;background:#fffdf8;border:1px solid #e1d9cf;border-radius:18px;text-align:center;padding:45px 30px}.results-star{display:block;font-size:74px;color:#b9c977;margin-bottom:18px}.results-panel h2{font-size:32px;margin:13px 0}.results-panel>p{color:#9a8a99;font-size:13px}.result-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:45px;margin:40px 0}.result-stats strong{display:block;font-family:Manrope,sans-serif;font-size:31px;color:#7b63aa}.result-stats span{display:block;font-size:10px;color:#a292a0;margin-top:8px}.results-actions{display:flex;gap:14px;justify-content:center;margin-top:28px}.results-panel>small{display:block;font-size:10px;color:#a3929d;margin-top:20px}.round-history{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;font-size:12px;color:#9a83ac}.connection-screen{text-align:center;padding:100px 20px;min-height:70vh}.connection-screen h1{font-size:30px;letter-spacing:-1px}.connection-screen p{font-size:13px;color:#988898;margin:20px auto;max-width:450px;line-height:1.9}.connection-orbit{font-size:80px;color:#ae98d2;margin-bottom:20px}@media(min-width:1450px){.site-header,footer{max-width:1376px}.home,.room-main{max-width:1280px}.hero{gap:120px}.hero h1{font-size:77px}.game-art{height:205px}}@media(max-width:1279px){.home,.room-main{margin:0 48px}.hero{gap:45px}.hero h1{font-size:60px}.card-content h3{font-size:19px}.card-meta{gap:11px}.card-meta strong{margin-left:0}}@media(max-width:950px){.hero{gap:30px;grid-template-columns:1fr 1fr;padding-top:50px}.hero h1{font-size:47px;letter-spacing:-2px}.hero-copy>p{font-size:13px}.hero-details{gap:12px;font-size:9px}.room-form-card{padding:23px}.room-form-card h2{font-size:21px}.game-grid{gap:15px}.game-art{height:145px}.card-content{padding:18px 15px}.card-content h3{font-size:16px}.card-content p{font-size:11px;min-height:60px}.card-top{font-size:7px;padding-left:15px;padding-right:15px}.section-aside{display:none}.how-it-works{gap:15px}.how-it-works>div{gap:10px;align-items:flex-start}.room-intro h1{font-size:28px}.ready-panel{align-items:flex-start;flex-direction:column;gap:15px}.game-heading h2{font-size:22px}.home-instructions{display:block}.home-instructions strong{display:block;margin-bottom:5px}}@media(max-width:680px){.site-header{height:78px;padding:0 22px}.brand{font-size:21px}.brand-mark{width:31px;height:32px;font-size:25px}.header-note{font-size:0}.header-note i{height:8px;width:8px}.home,.room-main{margin:0 22px}.hero{grid-template-columns:1fr;gap:37px;padding:38px 0 45px}.hero h1{font-size:54px;line-height:1.17;margin:20px 0 27px}.hero-copy>p{max-width:370px;font-size:13px}.pill{font-size:8px}.hero-details{margin-top:22px;font-size:10px;gap:22px}.room-form-card{padding:24px;box-shadow:4px 5px #e9e5d9}.room-form-card h2{font-size:24px}.games-section{padding-top:7px}.section-heading{margin-bottom:20px}.section-heading h2{font-size:24px}.game-grid{grid-template-columns:1fr;gap:20px}.game-art{height:190px}.card-top{padding:18px 22px 0;font-size:8px}.card-content{padding:22px}.card-content h3{font-size:23px}.card-content p{font-size:12px;min-height:0;max-width:none}.card-meta{font-size:10px;gap:20px}.card-meta strong{margin-left:auto}.how-it-works{grid-template-columns:1fr;gap:24px;margin:35px 0;padding-top:28px}.how-it-works h3{font-size:13px}.how-it-works p{font-size:11px}.how-it-works>div{align-items:center;gap:15px}footer{padding:24px 22px;flex-wrap:wrap;gap:12px}footer p{order:3;width:100%;font-size:9px}footer small{margin-left:auto}.room-main{padding-top:27px}.room-intro{align-items:flex-start;flex-direction:column;gap:16px}.room-intro h1{font-size:26px}.invite-strip{gap:6px;flex-direction:column;align-items:stretch;margin-top:18px}.invite-strip>span{font-size:9px}.players-row{gap:10px;margin-bottom:25px}.player-card{padding:12px 10px;gap:8px}.avatar{width:29px;height:32px;font-size:12px;border-radius:9px}.player-card strong{font-size:11px;word-break:break-word}.player-card small{font-size:8px;line-height:1.7}.presence{width:5px;height:5px;flex-shrink:0}.room-header-actions{gap:7px}.room-header-actions .button{font-size:10px;padding:8px}.connection-pill{font-size:8px;gap:4px}.room-main>.section-heading{display:block}.room-main>.section-heading .muted{margin-top:12px;display:block;font-size:10px}.room-main>.section-heading h2{font-size:23px}.ready-panel{padding:20px}.ready-panel>.button{width:100%}.game-panel{padding:19px 14px;border-radius:14px}.game-heading{gap:12px}.game-heading h2{font-size:19px;line-height:1.5}.game-heading .eyebrow{font-size:7px;letter-spacing:1px}.timer{font-size:16px;padding:8px 11px}.secret-word strong{font-size:18px}.secret-word span{font-size:10px}.draw-tools{gap:10px}.swatches{gap:5px}.swatch{width:27px;height:27px}.draw-tools .button{font-size:10px;padding:7px}.draw-tools select{font-size:10px}.game-bottom{flex-direction:column;align-items:stretch;gap:12px}.game-bottom p{text-align:center;font-size:10px}.guess-form{gap:8px}.guess-form input{font-size:12px}.guess-form .button{font-size:11px;padding:10px 13px}.waiting-canvas{min-height:290px;padding:22px}.waiting-canvas h3{font-size:16px}.waiting-canvas p{font-size:11px}.back-row{align-items:flex-start;gap:10px}.back-row>span{font-size:8px;margin-top:12px;text-align:right}.back-row .button{font-size:10px;padding-left:0}.clue-card{padding:25px 20px}.clue-card p{font-size:19px}.code-slots{gap:8px}.code-slots span{height:55px;font-size:24px}.symbol-pad button{width:53px;height:53px;font-size:23px}.platform-panel{padding:18px 10px}.platform-panel .muted{font-size:10px}.platform-controls{gap:7px}.control-key{min-width:42px;min-height:47px;padding:8px;font-size:16px}.platform-controls>div{gap:6px}.platform-controls>span{font-size:8px}.platform-controls small{font-size:7px}.score-note{font-size:10px;gap:6px}.results-panel{padding:30px 20px}.results-panel h2{font-size:25px}.result-stats{gap:25px}.result-stats strong{font-size:26px}.results-actions{gap:9px}.results-actions .button{font-size:11px;padding:10px 13px}.connection-screen{padding-top:70px}.connection-screen h1{font-size:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.pwa-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.pwa-controls:empty{display:none}.pwa-controls small{font-size:11px;color:#8b7895}.offline-banner{padding:14px 18px;background:#fff0d2;color:#846239;font-size:12px;border:1px solid #dfc59b;border-radius:10px;margin:12px 0}.resume-last,.saved-match{padding:18px 22px;background:#ece8f5;border:1px solid #d5cbe4;border-radius:12px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0}.saved-match{flex-wrap:wrap}.saved-match p{line-height:1.8}.campaign-picker{margin-top:30px}.chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chapter{background:#fffdf7;border:1px solid #e0d9cc;border-radius:12px;padding:17px}.chapter h3{font-size:13px;margin-bottom:14px}.level-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.level-choice{border:1px solid #dfd7e7;background:#f7f3fa;padding:9px 5px;border-radius:9px;min-height:78px}.level-choice.active{border:2px solid #8d73c5;background:#ece4f6}.level-choice span{font-size:18px;font-weight:700;color:#80639f}.level-choice small{display:block;font-size:8px;line-height:1.5;margin-top:5px}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-card .game-art{height:155px}.card-content h3{font-size:18px}.card-content p{min-height:64px}.monopoly .card-top,.monopoly .game-art{background:#dce7f3}.monopoly .card-top{color:#6988a5}.game-shell{position:fixed;inset:0;z-index:100;background:#f7f5ee;height:var(--game-height,100dvh);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;flex-direction:column;overflow:hidden}.game-shell:fullscreen{width:100vw;height:100dvh}.game-toolbar{flex-shrink:0;min-height:62px;padding:9px 20px;border-bottom:1px solid #ded7ca;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fffdf7}.game-toolbar>strong{font-family:Manrope,sans-serif;font-size:16px}.game-toolbar>div{display:flex;align-items:center;gap:10px}.game-workspace{padding:14px 20px;flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}.game-workspace>.game-panel{flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:18px 22px;display:flex;flex-direction:column;overflow:auto;border-radius:13px}.game-workspace .game-heading{margin-bottom:12px;flex-shrink:0}.game-workspace .game-heading h2{font-size:23px}.game-workspace .score-note{margin-top:10px;flex-shrink:0}.game-workspace .secret-word{margin-bottom:10px;padding:8px}.game-workspace .waiting-canvas{flex:1;min-height:140px}.game-workspace .canvas-area{flex:1;min-height:80px;display:flex;align-items:center;justify-content:center;overflow:hidden}.game-workspace .drawing-canvas{margin:0;max-width:100%;max-height:100%;flex:none}.game-workspace .draw-tools{flex-shrink:0;padding:10px 0}.game-workspace .game-bottom{flex-shrink:0;padding-top:10px}.game-workspace .platform-stage{flex:1;min-height:100px;display:flex;align-items:center;justify-content:center;background:#eef3e8;margin-top:8px}.game-workspace .platform-stage svg{width:100%;height:100%;max-height:100%}.game-workspace .platform-controls{margin-top:9px;flex-shrink:0}.game-workspace .puzzle-panel{align-items:stretch}.game-workspace .puzzle-panel .clue-card{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:850px;width:100%;margin:10px auto;min-height:150px;overflow:auto}.game-workspace .code-panel{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;padding:12px}.game-workspace .code-slots{margin-bottom:18px}.game-workspace .hint-button{margin-top:10px}.game-workspace .pause-banner,.game-workspace .error-banner{flex-shrink:0;padding:10px 15px;margin-bottom:10px;gap:5px;font-size:11px}.pause-banner>div{display:flex;gap:10px}.shell-message{padding:9px 20px;background:#efe5f5;font-size:12px;display:flex;justify-content:space-between}.shell-message button{background:none;border:0;font-size:20px}.modal-backdrop{position:fixed;inset:0;z-index:250;background:#29223888;display:flex;align-items:center;justify-content:center;padding:20px}.help-modal,.trade-modal{max-width:800px;width:100%;max-height:85dvh;overflow:auto;background:#fffdf7;border-radius:18px;padding:30px;box-shadow:0 20px 80px #20183044}.help-modal{max-width:550px}.help-modal p{font-size:14px;line-height:1.9;margin:20px 0;color:#81718d}.help-modal h2{font-size:25px}.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.check-label{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.6}.check-label input{width:auto;flex-shrink:0}.trade-modal h3{font-size:17px}.mono-status{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-shrink:0;margin-bottom:12px}.mono-status h2{font-size:20px;margin-top:7px}.mono-status>div:last-child{display:flex;gap:8px}.mono-layout{flex:1;min-height:200px;display:flex;gap:18px}.board-viewport{flex:1;min-width:0;overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;background:#ede9df;border-radius:12px}.monopoly-board{position:relative;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));grid-template-rows:repeat(11,minmax(0,1fr));width:780px;min-width:780px;aspect-ratio:1;flex:none;border:2px solid #67775d;background:#edf1e3;margin:auto}.monopoly-board.fit{width:min(100%,calc(var(--game-height,100dvh) - 270px));min-width:360px}.board-tile{border:1px solid #9eab90;background:#f9f9ef;position:relative;padding:7px 2px 2px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-width:0}.board-tile.owner-0{background:#e9e0fa}.board-tile.owner-1{background:#f8e0e9}.board-tile.chosen{outline:2px solid #7660b8;outline-offset:-3px;z-index:1}.tile-color{position:absolute;top:0;left:0;right:0;height:6px}.tile-name{font-size:clamp(6px,.7vw,10px);line-height:1.2;max-width:100%;overflow-wrap:anywhere}.board-tile small{font-size:8px}.tile-houses{font-size:9px;line-height:1;color:#497b48}.tile-mortgage{position:absolute;top:5px;right:2px;color:#b04b60;font-size:9px}.tile-pawns{display:flex;position:absolute;bottom:1px;gap:2px}.pawn{width:15px;height:15px;font-size:9px;border-radius:50%;display:grid;place-items:center;color:#fff;border:1px solid #fff}.pawn-0{background:#7964be}.pawn-1{background:#c97995}.board-center{grid-area:2/2/11/11;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px;gap:10px;background:#e9efdd;overflow:auto}.board-center h2{font-family:Manrope,sans-serif;font-size:clamp(22px,3vw,48px);line-height:1.15;letter-spacing:-1px;color:#637b53}.board-center h2 span{color:#8b70b2}.board-center>.eyebrow{font-size:7px}.mono-balances{display:flex;gap:12px;width:100%;justify-content:center}.mono-balances>div{padding:10px 16px;border-radius:10px;border:1px solid #c7b7db;background:#eee7f6;flex:1;max-width:210px}.mono-balances>div.balance-1{background:#f4e5ea;border-color:#dbbfc8}.mono-balances span{display:block;font-size:10px}.mono-balances strong{display:block;font-size:clamp(14px,2vw,25px);margin:5px 0}.mono-balances small{font-size:8px;display:block;line-height:1.5}.dice-pair{display:flex;gap:10px;color:#7c68aa;font-size:clamp(35px,6vw,65px);line-height:1.1}.last-card{font-size:11px;line-height:1.7;background:#fcf5e7;border:1px solid #daceb8;border-radius:9px;padding:10px;max-width:360px}.board-center>small,.bank-stock{font-size:9px;color:#798c68}.mono-sidebar{width:280px;flex-shrink:0;overflow:auto;padding:16px;background:#f4f0e6;border:1px solid #ddd4c2;border-radius:12px}.mono-sidebar select{width:100%;border:1px solid #ddd4c2;border-radius:8px;padding:10px;font-size:11px;background:#fffaf3;margin:10px 0 20px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between}.sidebar-heading .button{display:none}.mono-sidebar h3{font-size:16px;margin:10px 0}.mono-sidebar p{font-size:11px;line-height:1.7;color:#8b7d87}.mono-sidebar small{font-size:10px;color:#9a899a}.mono-sidebar dl{display:grid;grid-template-columns:1fr 1fr;font-size:10px;gap:10px;margin:20px 0}.mono-sidebar dt{color:#95829c}.mono-sidebar dd{margin:0;text-align:right}.rent-list{display:flex;flex-direction:column;gap:9px;font-size:11px}.rent-list>span{display:flex;justify-content:space-between}.asset-actions{display:flex;flex-direction:column;gap:8px;margin:20px 0}.asset-actions .button{white-space:normal;font-size:10px}.owned-list{display:flex;flex-direction:column;gap:6px;margin:10px 0 20px}.owned-list button{border:1px solid #d8cedf;background:#fff8f3;padding:9px;border-radius:7px;text-align:left;font-size:10px}.mono-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0;flex-shrink:0;border-top:1px solid #e5dbcc;margin-top:10px;font-size:11px}.mono-actions input{width:100px;padding:10px}.mono-actions p{width:100%;font-size:11px;line-height:1.8}.mono-history{font-size:10px;color:#9c8c9a;max-height:100px;overflow:auto;flex-shrink:0}.mono-history summary{cursor:pointer;line-height:1.8}.mono-history li{margin:8px 0}.danger{color:#b05e61!important}@media(max-width:1050px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card .game-art{height:180px}.card-content p{min-height:0}.mono-sidebar{display:none}.mono-sidebar.visible{display:block;position:absolute;right:15px;top:90px;bottom:35px;z-index:10;max-width:calc(100vw - 30px);box-shadow:0 12px 40px #45325033}.sidebar-heading .button{display:inline-flex}.monopoly-board.fit{width:min(100%,calc(var(--game-height,100dvh) - 280px))}.chapter-grid{grid-template-columns:1fr}}@media(max-width:680px){.game-grid{grid-template-columns:1fr}.game-card .game-art{height:190px}.game-toolbar{padding:7px 10px;gap:6px;min-height:53px}.game-toolbar>.button{font-size:9px;padding:7px}.game-toolbar>strong{font-size:11px}.game-toolbar>div{gap:5px}.game-toolbar .connection-pill{display:none}.game-toolbar>div .button{padding:7px;font-size:9px;min-height:36px}.game-workspace{padding:6px}.game-workspace>.game-panel{padding:10px;min-height:0}.game-workspace .game-heading h2{font-size:16px;margin-top:5px}.game-workspace .game-heading{margin-bottom:8px}.game-workspace .secret-word{padding:5px}.game-workspace .secret-word strong{font-size:15px}.game-workspace .draw-tools{padding:7px 0;gap:7px}.game-workspace .game-bottom{flex-direction:row;gap:10px;padding-top:6px}.game-workspace .game-bottom p{font-size:8px;max-width:150px}.game-workspace .game-bottom .button{font-size:10px;padding:9px}.game-workspace .score-note{margin-top:6px;font-size:9px}.game-workspace .platform-controls{gap:10px}.game-workspace .puzzle-panel .clue-card{padding:15px}.game-workspace .clue-card p{font-size:17px;margin:8px 0}.game-workspace .clue-icon{font-size:30px;margin:0}.game-workspace .code-slots{gap:5px}.game-workspace .code-slots span{font-size:20px;min-width:0;height:45px}.game-workspace .pause-banner{font-size:9px;padding:8px}.pause-banner .button{font-size:9px;min-height:32px;padding:7px 10px}.resume-last{flex-direction:column;align-items:stretch;text-align:center}.level-buttons{gap:5px}.level-choice{min-height:70px}.level-choice small{font-size:7px}.chapter{padding:12px}.mono-status{align-items:flex-start;gap:8px}.mono-status h2{font-size:14px}.mono-status .eyebrow{font-size:7px;letter-spacing:.5px}.mono-status>div:last-child{gap:4px}.mono-status .button{font-size:8px;padding:6px;min-height:32px}.mono-layout{min-height:180px}.monopoly-board.fit{min-width:340px;width:min(100%,calc(var(--game-height,100dvh) - 270px))}.tile-name,.board-tile small{font-size:6px}.board-tile{padding-top:5px}.tile-color{height:4px}.pawn{width:12px;height:12px;font-size:8px}.board-center{padding:9px;gap:7px}.board-center h2{font-size:24px}.board-center>.eyebrow{font-size:5px}.mono-balances{gap:6px}.mono-balances>div{padding:7px 5px}.mono-balances span{font-size:7px}.mono-balances small{font-size:6px}.mono-balances strong{font-size:15px}.dice-pair{font-size:34px}.last-card{font-size:8px;padding:6px}.board-center>small,.bank-stock{font-size:7px}.mono-actions{gap:6px;padding:8px 0;margin-top:6px;font-size:9px}.mono-actions .button{font-size:9px;padding:8px;min-height:35px;white-space:normal}.mono-actions input{width:75px;padding:8px;font-size:10px}.mono-history{font-size:8px;max-height:70px}.trade-modal{padding:20px}.trade-columns{gap:14px}.trade-modal h2{font-size:22px}.trade-modal h3{font-size:14px}}@media(max-height:530px)and (orientation:landscape){.game-toolbar{min-height:40px;padding:3px 10px}.game-toolbar .button{min-height:30px;padding:5px 9px;font-size:9px}.game-workspace{padding:5px 10px}.game-workspace>.game-panel{padding:7px 10px}.game-workspace .game-heading h2{font-size:14px;margin-top:2px}.game-workspace .game-heading{margin-bottom:4px}.game-workspace .platform-panel>.muted{font-size:9px;line-height:1.4}.game-workspace .platform-controls{margin-top:5px}.game-workspace .control-key{min-height:34px;padding:5px 12px}.game-workspace .score-note{margin-top:0}.game-workspace .clue-card p{font-size:15px}.game-workspace .clue-icon{display:none}.game-workspace .code-panel{padding:3px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}.game-workspace .code-slots{margin:0}.game-workspace .code-slots span{height:38px}.game-workspace .symbol-pad button{height:35px;width:42px;font-size:19px}.game-workspace .panel-actions{margin:0;grid-column:1/-1}.game-workspace .panel-actions .button{min-height:30px;padding:5px 10px}.mono-status h2{font-size:13px}.mono-status{margin-bottom:5px}.mono-actions{margin-top:5px;padding:5px 0}.monopoly-board.fit{min-width:260px;width:calc(var(--game-height,100dvh) - 130px)}.board-center h2{font-size:19px}.board-center>.eyebrow,.board-center>small,.bank-stock{display:none}.board-center{gap:4px}.dice-pair{font-size:28px}.last-card{font-size:7px}.mono-balances strong{font-size:14px}.mono-history{max-height:30px}}
