:root{font-family:Trebuchet MS,Arial,sans-serif;color:#3f3455;background:#e7f0df;font-synthesis:none;--ink:#40364f;--purple:#8870ba;--red:#f45550;--cream:#fffaf0;--line:#dfded2}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9a70d5;outline-offset:4px}button{touch-action:manipulation}button:hover{filter:brightness(1.035)}a{color:inherit;text-decoration:none}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}#app{position:relative;z-index:5;pointer-events:none;height:100dvh}#app button,#app input,#app a,#app .dialog{pointer-events:auto}#labels{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:2}.name-label{position:absolute;top:0;left:0;background:#fffaf0e8;border:1px solid #ffffff;color:#42364e;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 3px 8px #45355310;border-bottom:3px solid var(--player)}.button-bubble{position:absolute;top:0;left:0;background:#fffaf0;border:2px solid #e7d7c2;border-radius:12px;padding:11px 15px;font-size:11px;font-weight:900;letter-spacing:.04em;box-shadow:0 4px #e4d6c5;white-space:nowrap}.button-bubble:after{content:"";position:absolute;bottom:-11px;left:calc(50% - 7px);border:7px solid transparent;border-top-color:#fffaf0;border-bottom:0}.menu-shell{height:100%;padding:30px 5vw 24px;display:flex;flex-direction:column;background:linear-gradient(90deg,#edf2e6 0%,#edf2e6ed 23%,#edf2e620 52%,transparent 75%)}header{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:1000;line-height:.98;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--red);color:#fff8eb;border-radius:50%;font-size:31px;box-shadow:0 4px #ca4547;border:3px solid #ffb6a0;transform:rotate(-10deg)}.brand-bang{color:var(--red)}nav{display:flex;align-items:center;gap:20px}.text-button{font-size:11px;font-weight:900;letter-spacing:.06em;background:none}.text-button span{margin-left:12px;color:#8b78ac}.icon-button{width:40px;height:40px;display:grid;place-items:center;background:#fffaf0d9;border:1px solid #e4e1d4;border-radius:12px;font-size:19px;box-shadow:0 3px #d4d9c9}.welcome{margin-top:auto;margin-bottom:auto;width:430px;max-width:38vw;padding-top:30px}.eyebrow{font-size:9px;font-weight:900;letter-spacing:.14em;line-height:1.5;display:block;color:#8a7c96}.welcome>.eyebrow{color:#80718e}.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e88870;margin-right:7px}h1{font-size:clamp(36px,3.4vw,57px);letter-spacing:-2.5px;line-height:1.08;margin:22px 0 18px;font-weight:1000}h1 span{color:#9278bb}p{font-size:13px;line-height:1.65;color:#837889}p.intro{font-size:14px;line-height:1.7;margin:0 0 25px}.entry-card{padding:23px;background:#fffaf0e8;border:1px solid #fff;border-radius:20px;box-shadow:0 10px 35px #69605410;max-width:355px}.entry-card label{display:block;font-size:9px;font-weight:900;color:#9a8ca6;letter-spacing:.1em;margin-bottom:9px}input{border:1px solid #dedbce;background:#f6f4e9;color:#594867;border-radius:9px;padding:12px 14px;min-width:0}input::placeholder{color:#aaa2ab}#nickname{width:100%;font-size:13px;margin-bottom:12px}.button{padding:13px 18px;border-radius:10px;font-size:12px;display:inline-flex;gap:12px;align-items:center;justify-content:space-between;font-weight:900;transition:transform .15s}.button:active{transform:translateY(2px)}.primary{background:#f35450;color:#fff7e7;box-shadow:0 4px #cf4749}.secondary{background:#e8e2f2;color:#79608e;box-shadow:0 3px #d9cee5;border:1px solid #ded4e9}.full{width:100%}.separator{display:flex;align-items:center;gap:10px;font-size:8px;letter-spacing:.08em;font-weight:900;color:#aca0af;margin:23px 0 14px}.separator:before,.separator:after{content:"";height:1px;background:#e9e4d9;flex:1}#join-form{display:flex;gap:10px}#room-code{width:100%;font-size:11px;letter-spacing:.15em;text-transform:uppercase}#join-form button{flex-shrink:0}.entry-note{font-size:8px;line-height:1.7;color:#a99ba9;margin-top:19px;white-space:nowrap}.entry-note span{color:#91b994;margin-right:4px}.friend-proof{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:9px;color:#8f8397}.friend-proof b{color:#b7aebb;padding:0 5px}.mini-friends{display:flex;padding-left:5px}.mini-friends span{width:22px;height:22px;display:grid;place-items:center;background:#b9a1dc;border-radius:50%;border:2px solid #edf2e6;margin-left:-5px;color:#7c5cad;font-size:13px}.mini-friends span:nth-child(2){background:#ffc561;color:#b68638}.mini-friends span:nth-child(3){background:#efa5ba;color:#c0768c}.mini-friends span:nth-child(4){background:#7fd4ba;color:#498f78}.mini-friends span:last-child{background:#faf4e9;color:#97879e}.scene-caption{position:absolute;right:15%;bottom:20%;font-size:9px;font-weight:900;letter-spacing:.08em;color:#807187;background:#fff9edc9;border:1px solid #fffaf0;padding:10px 16px;border-radius:30px}.live-dot{display:inline-block;width:6px;height:6px;background:#f57e72;border-radius:50%;margin-right:7px}.caption-doodle{position:absolute;left:-35px;top:-22px;font-size:34px;transform:rotate(90deg);color:#ae9bba}footer{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.08em;font-weight:900;color:#9b92a0;padding-top:25px}footer b{padding:0 10px;color:#ab95c3}#toast{position:fixed;bottom:30px;left:50%;z-index:30;background:#463650;color:#fff4df;padding:13px 22px;border-radius:12px;font-size:12px;box-shadow:0 4px 15px #3f295329;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;max-width:90vw;text-align:center}#toast.visible{opacity:1;transform:translate(-50%)}.game-header{padding:22px 28px}.game-header>div{pointer-events:auto}.room-badge{background:#fffaf0ef;border:1px solid #fff;border-radius:13px;padding:10px 15px;min-width:145px;box-shadow:0 4px #d0cbbd}.room-badge button{display:flex;align-items:center;gap:20px;background:none;padding:0}.room-badge strong{font-size:21px;letter-spacing:3px}.room-badge button span{font-size:10px;color:#a28aae}.round-pill{display:flex;align-items:center;gap:20px;background:#493b60;color:#fff5dd;border-radius:16px;padding:12px 18px;box-shadow:0 4px #352a47}.round-pill span{font-size:10px;letter-spacing:.1em;font-weight:900}.round-pill b{font-size:24px}.top-right{display:flex;gap:9px}.player-hud{position:absolute;top:112px;left:28px;display:flex;gap:12px;align-items:center}.hearts{font-size:30px;letter-spacing:2px;color:#f2606d;text-shadow:0 2px 0 #fff6e6}.hearts .empty{color:#c8c5b5}.coin-badge{background:#fff9e9e8;border:1px solid #fff;border-radius:10px;padding:8px 12px;display:flex;align-items:center;gap:5px}.coin-badge>span,.result-list b span,.shop-balance>span{color:#e8a648;font-size:20px}.coin-badge b{font-size:14px}.coin-badge small{font-size:7px;color:#9c8c9c;letter-spacing:.08em;margin-left:6px}.party-list{position:absolute;right:28px;top:112px;display:flex;flex-direction:column;gap:7px}.party-player{display:flex;align-items:center;gap:8px;background:#fff9e9e6;border-radius:8px;padding:7px 10px;font-size:10px;min-width:140px}.party-player i{width:10px;height:10px;border-radius:50%}.party-player span{flex:1}.party-player b{color:#f28088;font-size:10px}.party-player.out{opacity:.55}.phase-panel{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:90vw}.phase-card{width:430px;max-width:88vw;padding:28px;background:#fffaf0f2;border:2px solid #fff;border-radius:22px;box-shadow:0 10px #8e7b9730,0 20px 60px #42354c18;text-align:center}.phase-card h2,.dialog h2{font-size:27px;letter-spacing:-1px;margin:12px 0}.phase-card p{font-size:12px}.lobby-players{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0}.lobby-players span{font-size:11px;background:#eee7f3;padding:8px 11px;border-radius:9px;display:flex;align-items:center;gap:6px}.lobby-players i{width:10px;height:10px;background:var(--player);border-radius:50%}.lobby-actions{display:flex;gap:10px;justify-content:center;margin-bottom:16px}.phase-card>small{font-size:10px;color:#998a9e}.prep-card{position:fixed;left:50%;top:auto;bottom:110px;transform:translate(-50%);width:370px;padding:16px 20px;border-radius:16px;background:#fffaf0ee;border:1px solid #fff;box-shadow:0 5px #cec6ce6e}.prep-card .eyebrow{font-size:8px}.prep-card strong{display:block;font-size:14px;margin-top:4px}.danger-track{height:22px;margin:13px 0 10px;border-radius:6px;background:linear-gradient(90deg,#bddd9c 0 33.33%,#ffe098 33.33% 66.66%,#ff9b8e 66.66%);display:flex;align-items:center;justify-content:space-around;position:relative;overflow:hidden}.danger-track i{position:absolute;left:0;top:0;bottom:0;background:#51416042;border-right:3px solid #493557}.danger-track span{font-size:7px;font-weight:1000;z-index:1;color:#584b5d}.prep-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:700}.prep-row button{font-size:10px;padding:9px 12px}.disaster-banner{position:absolute;top:100px;left:50%;transform:translate(-50%);text-align:center;max-width:55vw;pointer-events:none}.disaster-banner h2{font-size:23px;letter-spacing:-.5px;margin:10px 0;color:#4b3a5d;text-shadow:0 2px 0 #fff9e7}.disaster-banner p{font-size:11px;margin:6px 0;background:#fffaf0de;border-radius:8px;padding:7px 10px}.disaster-banner small{font-size:10px;font-weight:700;color:#70647a}.difficulty{font-size:8px;letter-spacing:.12em;font-weight:900;background:#d4e5b9;border:2px solid #fff5df;color:#5f7758;padding:5px 12px;border-radius:6px}.difficulty.hard{background:#ffe0a1;color:#ad7842}.difficulty.chaos{background:#ffa099;color:#ab3f57}.announcement{top:30%;background:#fff6e8ee;border-radius:24px;padding:25px 40px;border:3px solid #fff;box-shadow:0 8px #a48bba33;max-width:70vw;animation:warningPulse .8s infinite alternate}.announcement h2{font-size:32px}.bottom-hud{position:absolute;bottom:25px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:flex-end;gap:15px}.item-slot{display:flex;align-items:center;gap:12px;max-width:360px;background:#fff9e9ef;border:2px solid #fff;border-radius:15px;padding:10px;box-shadow:0 4px #bdb3c170}.item-icon{width:49px;height:49px;display:grid;place-items:center;background:#e8def5;border-radius:11px;font-size:29px;flex-shrink:0}.item-slot strong{font-size:13px;display:block;margin:2px 0}.item-slot small{font-size:9px;color:#948398;display:block;line-height:1.4}.item-slot .eyebrow{font-size:7px}.keycap{background:#fff9ed;border:1px solid #d6ccdf;box-shadow:0 3px #d6ccdf;border-radius:6px;min-width:28px;height:30px;font-size:11px;font-weight:900}.control-hint{display:flex;gap:14px;font-size:9px;color:#746b7e;background:#fff8ecbd;border-radius:9px;padding:10px}.control-hint b{font-size:8px;background:#fff7e9;padding:3px 5px;border:1px solid #d6cdd5;border-radius:3px;margin-right:4px}.interaction{position:absolute;bottom:230px;left:50%;transform:translate(-50%)}.interaction button{background:#49395d;color:#fff3dc;border:2px solid #fff8e8;padding:10px 17px;border-radius:30px;font-size:12px;box-shadow:0 4px #352642}.interaction b{background:#f6e6cd;color:#574666;padding:3px 6px;border-radius:4px;margin-right:6px}.overlay{position:fixed;inset:0;z-index:15;background:#4534505e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;pointer-events:auto}.dialog{background:#fffaf0;border:2px solid white;border-radius:22px;padding:30px;position:relative;max-height:90dvh;overflow:auto;box-shadow:0 14px 40px #3e294326}.dialog.small{width:380px;max-width:92vw}.close{position:absolute;right:15px;top:10px;font-size:27px;background:none;color:#a18daa}.dialog .muted{font-size:11px}.setting{width:100%;display:flex;justify-content:space-between;padding:14px;background:#efe7f5;border-radius:10px;margin:10px 0;font-size:12px}.setting strong{color:#9575b3}.help-list{padding-left:20px;font-size:13px;line-height:1.65;color:#85748e}.help-list li{padding-bottom:10px}.shop-dialog{width:790px;max-width:93vw;padding:28px}.shop-dialog>p{font-size:11px}.shop-balance{position:absolute;right:45px;top:56px;background:#f8ecd2;border-radius:8px;font-size:11px;padding:9px 12px}.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}.shop-item{text-align:left;display:flex;flex-direction:column;gap:6px;background:#f1eaf5;border:1px solid #e3d8ed;border-radius:12px;padding:14px}.shop-icon{font-size:28px}.shop-item strong{font-size:11px}.shop-item small{font-size:9px;line-height:1.5;color:#97859f;flex:1}.shop-item b{font-size:12px;color:#a17d4f}.result-list{margin:20px 0}.result-list>div{display:flex;align-items:center;gap:12px;text-align:left;border-bottom:1px solid #e8dfdc;padding:10px 0}.result-list>div>span{font-size:23px}.result-list>div>div{flex:1}.result-list strong{font-size:12px;display:block}.result-list small{font-size:9px;display:block;color:#a080b4;margin-top:3px}.result-list b{font-size:14px;color:#b68b42}.results-card{padding:22px 28px}.respawn-card{background:#fff8e6e6;border:2px solid #fff;border-radius:20px;text-align:center;padding:24px 35px}.respawn-card h2{font-size:24px}.spectator{position:absolute;bottom:130px;left:50%;transform:translate(-50%);background:#48375d;color:#fff5de;border-radius:12px;padding:12px 20px;font-size:12px}.connection-card{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:25px;border-radius:20px;background:#fff5e8;color:#8d6fa3;font-size:14px;box-shadow:0 8px 30px #45335430}.spinner{display:inline-block;width:16px;height:16px;border:3px solid #cdb0e5;border-top-color:#73529b;border-radius:50%;animation:spin 1s linear infinite;margin-right:10px;vertical-align:middle}#mobile{position:fixed;inset:0;pointer-events:none;z-index:7}#mobile[hidden]{display:none}#joystick{position:absolute;left:max(22px,env(safe-area-inset-left));bottom:35px;width:116px;height:116px;border:2px solid #fff8e1aa;background:#a5a1b044;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}#stick{width:48px;height:48px;border-radius:50%;background:#fff6e4cc;border:2px solid #fff;box-shadow:0 4px #b8aab07a}.touch-actions{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:35px;display:flex;gap:12px;align-items:flex-end}.touch-actions button{width:55px;height:55px;border-radius:50%;background:#fff4e2dd;border:2px solid #fff;box-shadow:0 4px #bdb0bb;font-size:20px;pointer-events:auto;touch-action:none}.touch-actions #touch-jump{width:70px;height:70px;background:#9980bc;color:#fff8df;font-size:30px;box-shadow:0 4px #716091}.spent{opacity:.5}#rotate-hint{display:none;position:fixed;bottom:7px;width:100%;text-align:center;font-size:10px;color:#695777;pointer-events:none;z-index:6}.fatal{background:#fff5e5;border-radius:20px;padding:30px;margin:20vh auto;max-width:500px;pointer-events:auto}.fatal h1{font-size:30px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes warningPulse{to{box-shadow:0 8px #b8819844,0 0 40px #ff8a6440}}@media(min-height:850px){.welcome{padding-top:0}h1{margin-top:28px;margin-bottom:23px}.intro{margin-bottom:30px!important}.entry-card{padding:27px}}@media(max-width:1000px){.menu-shell{padding:22px 4vw}.welcome{max-width:42vw;width:370px}h1{font-size:39px}.scene-caption{right:7%;font-size:8px}.control-hint{display:none}.shop-grid{grid-template-columns:repeat(3,1fr)}}@media(max-height:720px){.menu-shell{padding-top:18px;padding-bottom:15px}.welcome{padding-top:5px}h1{font-size:36px;margin:14px 0 12px}.intro{font-size:12px!important;line-height:1.6!important;margin-bottom:16px!important}.entry-card{padding:17px}.separator{margin:19px 0 12px}.friend-proof{margin-top:16px}footer{padding-top:16px}.game-header{padding:15px 22px}.phase-card{padding:20px}.results-card h2{font-size:23px;margin:8px}.result-list{margin:10px 0}.result-list>div{padding:7px 0}}@media(pointer:coarse){.control-hint{display:none}.bottom-hud{bottom:18px;left:160px;right:200px;justify-content:center}.item-slot{padding:7px;max-width:260px}.item-slot small{display:none}.item-icon{width:36px;height:36px;font-size:23px}.item-slot strong{font-size:11px}.item-slot .keycap{display:none}.prep-card{bottom:100px;padding:12px 15px;width:310px}.interaction{bottom:222px}.party-list{top:92px;right:18px}.player-hud{top:88px;left:18px}.coin-badge small{display:none}.disaster-banner{top:80px}.shop-dialog{max-height:92dvh}.button-bubble{font-size:9px;padding:7px 10px}.game-header{padding:12px 18px}}@media(max-width:600px){.menu-shell{background:linear-gradient(90deg,#edf2e6f5,#edf2e6ad)}.welcome{max-width:100%;width:100%;padding-top:5px}.welcome h1{font-size:38px}.entry-card{max-width:100%;width:100%}.intro br{display:none}.intro{max-width:300px}.scene-caption{display:none}nav{gap:8px}.text-button{font-size:9px}.menu-shell footer{font-size:7px}.menu-shell footer>span:last-child{display:none}.brand{font-size:12px}.brand-mark{width:35px;height:35px;font-size:26px}.friend-proof{font-size:9px}.shop-grid{grid-template-columns:repeat(2,1fr)}.shop-balance{position:static;display:inline-block}.shop-dialog h2{font-size:23px}.disaster-banner{max-width:80vw;top:140px;width:90%}.disaster-banner h2{font-size:19px}.party-list{display:none}.bottom-hud{left:155px;right:10px;bottom:160px}.item-slot{max-width:210px}.game-header{gap:8px}.room-badge{min-width:120px;padding:7px 10px}.round-pill{padding:10px;gap:9px}.round-pill span{font-size:8px}.round-pill b{font-size:18px}.room-badge strong{font-size:16px}.room-badge button span{font-size:8px}.icon-button{width:32px;height:32px}.prep-card{bottom:200px}.interaction{bottom:360px;width:max-content;max-width:90vw}.phase-panel{top:47%}.phase-card{padding:20px}.phase-card h2{font-size:22px}.announcement{top:28%;max-width:90vw;padding:20px}.announcement h2{font-size:24px}.game-shell #phase-panel .prep-card{position:fixed}.spectator{bottom:300px;width:max-content}#rotate-hint{display:block}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){.menu-shell{padding:12px 20px}.welcome{width:55%;max-width:55%;margin:20px 0 0;display:grid;grid-template-columns:1fr 1.15fr;gap:0 20px;align-items:start}.welcome>.eyebrow{grid-column:1;font-size:7px}.welcome h1{font-size:28px;grid-column:1;margin:9px 0;letter-spacing:-1px}.welcome .intro{grid-column:1;font-size:10px!important;margin-bottom:8px!important}.entry-card{grid-column:2;grid-row:1/5;padding:13px}.entry-card label{font-size:7px}.entry-card input{padding:9px;font-size:10px}.entry-card button{padding:10px;font-size:10px}.separator{font-size:6px;margin:16px 0 10px}.entry-note{font-size:6px;white-space:normal}.friend-proof{grid-column:1;flex-wrap:wrap;font-size:7px;margin:6px 0}footer{font-size:6px}.scene-caption{bottom:12%;right:10%;font-size:6px}.game-header{padding:8px 12px}.room-badge{padding:6px 10px;min-width:120px}.room-badge strong{font-size:15px}.room-badge .eyebrow{font-size:7px}.round-pill{padding:8px 12px;gap:12px}.round-pill b{font-size:18px}.top-right .icon-button{height:30px;width:30px}.player-hud{top:68px;left:12px}.hearts{font-size:23px}.coin-badge{padding:4px 8px}.party-list{top:68px;right:12px;gap:3px}.party-player{padding:4px 7px;font-size:8px;min-width:105px}.disaster-banner{top:67px;max-width:55vw}.disaster-banner h2{font-size:17px;margin:7px 0}.disaster-banner p{font-size:8px;padding:4px 8px}.disaster-banner small{font-size:8px}.difficulty{font-size:7px;padding:3px 8px}.announcement{top:28%;padding:15px 25px}.announcement h2{font-size:25px}#joystick{width:88px;height:88px;bottom:18px;left:20px}#stick{width:38px;height:38px}.touch-actions{bottom:18px;right:18px;gap:8px}.touch-actions button{width:45px;height:45px;font-size:17px}.touch-actions #touch-jump{width:56px;height:56px}.bottom-hud{bottom:18px;left:125px;right:190px}.item-slot{max-width:230px}.prep-card{bottom:78px;width:295px;padding:10px 12px}.prep-card .eyebrow{font-size:6px}.prep-card strong{font-size:11px}.danger-track{margin:9px 0 7px;height:17px}.prep-row{font-size:8px}.prep-row button{padding:6px 9px;font-size:8px}.interaction{bottom:195px}.interaction button{font-size:9px;padding:7px 12px}.phase-card{padding:16px 22px;max-height:75dvh;overflow:auto}.phase-card h2{font-size:22px;margin:7px 0}.phase-card p{font-size:10px;margin:6px 0}.lobby-players{margin:12px 0}.lobby-actions{margin-bottom:10px}.lobby-actions button{font-size:10px;padding:10px 12px}.phase-card>small{font-size:8px}.results-card{width:370px}.result-list>div{padding:5px 0}.result-list strong{font-size:10px}.result-list small{font-size:8px}.spectator{bottom:85px;font-size:10px;padding:8px 12px}.button-bubble{font-size:7px}.dialog{padding:20px}.dialog h2{font-size:23px}.shop-dialog{padding:20px}.shop-grid{grid-template-columns:repeat(4,1fr);margin-top:10px}.shop-item{padding:10px}.shop-icon{font-size:22px}.shop-item small{font-size:8px}.shop-balance{top:44px;right:36px}.shop-dialog>p{font-size:9px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.phase-panel:has(.prep-card){top:auto;bottom:110px;transform:translate(-50%)}.phase-panel .prep-card{position:static;transform:none}@media(pointer:coarse){.phase-panel:has(.prep-card){bottom:100px}}@media(max-width:600px){.phase-panel:has(.prep-card){bottom:200px}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){.phase-panel:has(.prep-card){bottom:78px}}.game-shell #phase-panel .prep-card{position:static}.hp-track{width:180px;height:22px;background:#49385b;border-radius:8px;position:relative;overflow:hidden;margin:6px 0}.hp-track i{display:block;height:100%;background:#66cbaa;transition:width .15s}.hp-track b{position:absolute;inset:2px 0;text-align:center;color:#fff;font-size:12px}.player-hud #vitals>small{display:block;font-size:10px;max-width:200px}.low-health .hp-track i{background:#e67}.low-health #world{box-shadow:inset 0 0 80px #e94b6a44}.overhead-hp{display:block;position:relative;background:#503c60;width:90px;height:14px;border-radius:5px;overflow:hidden;margin:3px auto 0}.overhead-hp i{display:block;height:100%;background:#65cfac}.overhead-hp b{position:absolute;inset:0;font-size:9px;color:#fff}.name-label{min-width:95px}.spell-bar{position:fixed;bottom:20px;left:50%;transform:translate(-50%);display:flex;gap:6px;pointer-events:auto}.spell-slot{position:relative;width:82px;height:78px;border:2px solid #c9b8e5;background:#fff6e6ee;border-radius:14px;cursor:pointer;color:#463454;box-shadow:0 5px #806a9940}.spell-slot>span{display:block;font-size:26px}.spell-slot small{display:block;font-size:10px}.spell-slot kbd{position:absolute;top:4px;left:6px;font:700 11px inherit}.spell-slot b{position:absolute;right:5px;top:5px;font-size:9px}.spell-slot:disabled{filter:grayscale(.6);opacity:.6;cursor:default}.mode-button{position:absolute;top:-24px;right:0;border:0;background:#fff6e6;border-radius:6px;font-size:10px;padding:4px;color:#574265}.shop-tabs{display:flex;gap:6px;position:sticky;top:0;z-index:2;background:#fff5e6;padding:8px 0}.shop-tabs button{flex:1;text-transform:uppercase;font-size:12px;font-weight:800;border:1px solid #d6c5df;border-radius:9px;background:#eee4f5;color:#685279;padding:12px 8px}.shop-tabs .selected{background:#8060af;color:#fff}.build-card{display:flex;flex-direction:column;gap:7px;min-height:210px;background:#fffaf0;border:1px solid #ddd0df;border-radius:15px;padding:16px;align-items:flex-start}.build-card small{font-size:11px;line-height:1.5;color:#6b596c}.build-tag{font-size:9px;text-transform:uppercase;font-weight:800;color:#83609e}.shop-purchase{margin-top:auto;border:0;border-radius:7px;background:#8d6bb2;color:#fff;padding:9px 10px;font:700 11px inherit;cursor:pointer}.shop-purchase:disabled{background:#cbbecf;cursor:default;opacity:.65}.equip-actions{display:flex;gap:5px;margin-top:auto}.next-benefit{border-top:1px solid #e6d8e7;padding-top:5px}.build-guide{font-size:12px;line-height:1.6;background:#f1e9fa;border-radius:12px;padding:12px;margin:12px 0}.build-guide button{border:0;background:#d6c6e9;border-radius:5px;padding:6px;font-size:11px}.slot-summary,.final-build{font-size:12px;line-height:1.6}.shop-dialog{max-height:88vh;overflow:auto}.bottom-hud .control-hint{display:none}.item-slot{max-width:300px}.interaction{bottom:120px}.touch-spells{position:absolute;right:16px;bottom:112px;display:flex;gap:6px}.touch-spells button{width:48px;height:46px;background:#fff4dfee;border:2px solid #bba2d7;border-radius:12px;font-weight:800;touch-action:none}.touch-spells button:disabled{opacity:.45}.player-hud{pointer-events:none}@media(max-width:1050px){.item-slot{max-width:200px}.item-slot small{display:none}.spell-slot{width:65px;height:65px}.spell-slot small{font-size:8px}}@media(pointer:coarse){.spell-bar,.bottom-hud{display:none}.interaction{bottom:175px}.player-hud{top:75px;left:14px}.party-list{top:140px}.hp-track{width:135px}.touch-spells button span{font-size:20px}.touch-spells button small{display:block;font-size:9px}.disaster-banner{max-width:55%}.disaster-banner h2{font-size:20px}.prep-card{max-width:400px}}@media(max-height:500px){.player-hud{top:62px}.hp-track{height:16px;margin:3px 0}.hearts{font-size:18px}.player-hud .coin-badge{padding:4px}.party-list{display:none}.disaster-banner{top:60px}.prep-card{padding:12px}.phase-card{max-height:75vh;overflow:auto}.touch-spells{bottom:92px}.touch-spells button{width:43px;height:42px}.spell-bar{bottom:12px}.item-slot{padding:6px}.shop-dialog{max-height:95vh}.shop-tabs button{padding:8px}.interaction{bottom:140px}}@media(max-width:600px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.build-card{padding:10px}.shop-tabs button{font-size:9px}.spell-bar{left:auto;right:8px;transform:none}.spell-slot{width:48px}.spell-slot small{font-size:7px}.item-slot{max-width:120px}.item-slot strong{font-size:10px}}.combat-number{position:fixed;font:900 20px system-ui;color:#ee5676;text-shadow:0 2px white;pointer-events:none}.combat-number.heal{color:#369b75}.sudden-death .difficulty{background:#dd4c64!important;color:#fff!important}.sudden-death .round-pill{box-shadow:0 0 0 3px #ff879b}.touch-spells #touch-mode,.touch-spells #touch-view{position:absolute;top:-24px;height:22px;width:62px;font-size:9px;border-width:1px}.touch-spells #touch-mode{right:65px}.touch-spells #touch-view{right:0}.touch-spells button{pointer-events:auto}.round-build{font-size:8px!important;color:#7e6a90!important;max-width:330px;white-space:normal}#app select{pointer-events:auto}select{font:inherit;color:var(--ink);background:#f1eaf5;border:1px solid #ded2e9;border-radius:8px;padding:10px;width:100%}select:focus-visible{outline:3px solid #9a70d5}.menu-shell{overflow-y:auto;pointer-events:none}.menu-shell header,.menu-shell .welcome,.menu-shell footer{pointer-events:auto}.welcome{padding-top:18px;max-width:430px;width:min(430px,42vw)}.welcome h1{font-size:clamp(32px,3.1vw,48px);margin:15px 0}.welcome p.intro{margin-bottom:15px;font-size:12px}.entry-card{padding:19px;max-width:375px}.profile-strip{display:flex;gap:9px;align-items:center;background:#efe9f5;padding:10px;border-radius:11px;margin:4px 0 15px}.profile-strip>div{flex:1;min-width:0}.profile-strip strong{display:block;font-size:12px}.profile-strip small{display:block;font-size:9px;color:#88738e;margin-top:4px}.profile-strip .text-button{font-size:8px;padding:0;max-width:62px;line-height:1.7}.rank-badge{background:var(--rank);border:3px solid #fff8eb;box-shadow:0 3px #5a446024;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:24px;flex-shrink:0;transform:rotate(-5deg)}.menu-actions{display:grid;gap:12px}.menu-actions .button{font-size:11px}.ranked{background:#8971b7;color:#fffaf0;box-shadow:0 4px #6c5796}.ranked small{font-size:7px;padding:3px 5px;border:1px solid #dac8f1;border-radius:4px;margin-left:5px}.menu-actions>.text-button{padding:7px}.separator{margin-top:16px}.entry-note{white-space:normal;margin-top:12px}.friend-proof{margin-top:14px}.social-dialog{width:500px;max-width:94vw}.social-dialog label{font-size:11px;font-weight:700;display:block;margin:12px 0 7px;color:#82718b}.social-dialog label input:not([type=checkbox]),.social-dialog label select{display:block;width:100%;margin-top:7px}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check-label{display:flex!important;align-items:center;gap:9px;line-height:1.6}.check-label input{accent-color:#9a76c7;width:17px;height:17px}.muted{color:#928398;font-size:11px}.chip{font-size:10px;border:1px solid #d8cbe3;background:#eee6f5;border-radius:8px;padding:8px 11px;color:#7c6292;font-weight:700}.friend-search>div{display:flex;gap:8px}.friend-search input{flex:1;width:50%;font-size:11px}.friend-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8dfec}.friend-row strong{font-size:12px;display:block}.friend-row small{display:block;font-size:10px;margin-top:4px}.friend-row code{display:block;font-size:9px;letter-spacing:1px;color:#9c8ca8;margin-top:5px}.friend-row i{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:5px}.online{background:#63b99a}.offline{background:#bdb4c5}.friend-buttons{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.social-dialog h3{font-size:13px;margin:20px 0 7px}.rank-summary{display:flex;align-items:center;gap:12px;padding:12px;background:#f0e9f6;border-radius:12px}.rank-summary strong{font-size:15px}.form-error{color:#c54856;background:#ffe2dd;padding:10px;border-radius:8px}.invite-toast{position:fixed;right:20px;bottom:25px;z-index:18;background:#fff9ed;border:2px solid white;border-radius:15px;box-shadow:0 6px 25px #54426230;padding:14px;pointer-events:auto;display:flex;gap:9px;align-items:center;max-width:92vw}.invite-toast strong{font-size:11px}.danger{background:#f45650;color:#fff}.party-config{display:flex;align-items:flex-end;gap:10px;margin:15px 0;font-size:9px}.party-config label{flex:1;text-align:left}.party-config select{font-size:11px;margin-top:6px;padding:8px}.volume-controls label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:17px 0;font-weight:700}.volume-controls input{width:58%;padding:0;accent-color:#9872bd}.training-tools{background:#fffaf0f0;border-radius:12px;padding:10px;position:fixed;left:50%;top:140px;transform:translate(-50%);display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:center;width:370px}.training-tools>b{font-size:8px}.training-tools small{font-size:8px;display:block;width:100%;text-align:center;color:#91819d}.rating-results>div,.leaderboard>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e6dcec;flex-wrap:wrap;font-size:12px}.rating-results small{width:100%;font-size:9px;color:#9683a3}.leaderboard{margin:18px 0}.leaderboard span{flex:1}.leaderboard small{display:block;font-size:10px;color:#93819c;margin-top:4px}.party-player small{font-size:8px;color:#8b749b}.phase-card{max-height:75dvh;overflow:auto;pointer-events:auto}.portal-overlay{z-index:19}@media(max-height:800px)and (min-width:900px){.welcome h1{font-size:34px;line-height:1.06;margin:10px 0}.welcome>.eyebrow{font-size:8px}.welcome p.intro{font-size:11px;line-height:1.5;margin:0 0 10px}.menu-shell{padding-top:18px}.entry-card{padding:15px}.menu-actions{gap:9px}.menu-actions .button{padding:10px 13px}.entry-card #nickname{padding:9px}.separator{margin:11px 0}.entry-note{margin-top:9px}.friend-proof{margin:10px 0}.welcome{padding:9px 0}footer{padding-top:12px}.profile-strip{margin-bottom:12px;padding:7px}}@media(max-width:900px){.welcome{width:350px;max-width:48vw}.welcome h1{font-size:34px}.scene-caption{right:5%;font-size:8px}.entry-card{padding:15px}.menu-actions{gap:10px}.menu-actions .button{padding:11px 13px}}@media(max-width:600px){.welcome{max-width:100%;width:100%;padding:15px 0;margin:0}.welcome h1{font-size:34px}.welcome p.intro br{display:none}.entry-card{max-width:100%;background:#fffaf0f2}.menu-shell{padding:18px 20px}.scene-caption{display:none}.friend-proof{font-size:8px}.social-dialog{padding:24px 20px}.friend-row{gap:7px}.friend-buttons .chip{font-size:9px;padding:7px}.invite-toast{left:4vw;right:4vw;bottom:18px;flex-wrap:wrap}.party-config{font-size:8px}.training-tools{width:300px;top:95px}.training-tools .chip{font-size:8px;padding:6px}.phase-card{padding:18px}}@media(max-height:500px){.welcome{padding-top:10px;max-width:390px;width:390px}.welcome h1,.welcome p.intro,.welcome>.eyebrow,.friend-proof,.menu-shell footer{display:none}.menu-shell{padding-top:12px}.entry-card{max-width:390px;padding:12px}.entry-card>label,.entry-note{display:none}.entry-card #nickname{margin-bottom:7px;padding:8px}.menu-actions{grid-template-columns:1fr 1fr;gap:8px}.profile-strip{margin:0 0 9px;padding:6px}.menu-actions .button{font-size:9px;padding:9px}.menu-actions>.text-button{display:block}.separator{margin:9px 0}.party-config{margin:8px 0}.phase-card{max-height:70dvh;padding:16px}.phase-card h2{font-size:20px}.lobby-players{margin:10px 0}.lobby-players span{padding:6px;font-size:9px}.lobby-actions{margin:9px 0}.training-tools{top:50px;width:290px}.training-tools small{display:none}}.profile-strip{flex-wrap:wrap}.profile-strip .character-link{width:100%;max-width:none;text-align:left;padding:5px 0 0 47px}.character-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.character-preview-wrap{background:radial-gradient(circle at 50% 45%,#e3d3f5,#edf3e7 75%);border-radius:22px;text-align:center;align-self:start;padding-bottom:14px}.character-preview-wrap canvas{width:100%;height:230px;display:block;pointer-events:none}.character-preview-wrap strong,.character-preview-wrap small{display:block;font-size:12px}.character-preview-wrap small{font-size:9px;margin:7px;color:#947e9b}.character-options>label:first-child{margin-top:0}.color-picker{border:0;padding:0;margin:13px 0;display:flex;flex-wrap:wrap;gap:7px}.color-picker legend{font-size:11px;font-weight:700;color:#82718b;margin-bottom:8px}.social-dialog .color-picker label{margin:0;display:inline-block;position:relative;width:28px;height:28px}.social-dialog .color-picker input{position:absolute;width:100%!important;height:100%;inset:0;margin:0!important;opacity:0;cursor:pointer}.color-picker span{display:block;width:28px;height:28px;background:var(--swatch);border:3px solid #fff9ea;box-shadow:0 0 0 1px #ddd1e3;border-radius:50%;pointer-events:none}.color-picker input:checked+span{box-shadow:0 0 0 3px #7e649f}.color-picker input:focus-visible+span{outline:3px solid #47305d;outline-offset:4px}.ghost-panel{position:fixed;bottom:24px;left:50%;transform:translate(-50%);width:390px;max-width:92vw;background:#fffaf0eb;padding:13px;border:1px solid #fff;border-radius:15px;pointer-events:auto;text-align:center}.ghost-panel strong{font-size:12px;display:block}.ghost-panel small{display:block;font-size:9px;line-height:1.5;color:#8b7596;margin-top:6px}#ghost-controls{display:flex;gap:8px;margin-top:10px}#ghost-follow{font-size:11px;padding:7px}.ghost-mode .spell-bar,.ghost-mode .item-slot,.ghost-mode .training-tools,.ghost-mode #touch-interact,.ghost-mode #touch-basic,.ghost-mode #touch-mode,.ghost-mode [id^=touch-spell-]{display:none}.ghost-mode .touch-spells{bottom:80px}.ghost-mode #touch-item{opacity:1}.ghost-mode .prep-card{display:none}@media(pointer:coarse){.ghost-panel{bottom:130px;width:300px}.ghost-panel small{font-size:8px}}@media(max-width:600px){.character-layout{grid-template-columns:1fr;gap:12px}.character-preview-wrap canvas{height:155px}.character-preview-wrap{padding-bottom:9px}.character-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.character-options label{margin:3px 0}.character-options .color-picker{margin:4px 0}.character-options .color-picker label,.color-picker span{width:25px;height:25px}.character-layout+.lobby-actions{margin-top:18px}}.skin-collection{margin:22px 0}.skin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.skin-card{border:1px solid #e1d4e9;border-radius:12px;background:#f4ecf7;padding:11px;display:flex;flex-direction:column;gap:8px}.skin-card>span{font-size:26px;color:#9072b6}.skin-card strong{font-size:11px}.skin-card small{font-size:9px;line-height:1.5;color:#927b9f;flex:1}.skin-card b{font-size:9px;color:#a696b0}.skin-card.chosen{border:2px solid #9870bc;padding:10px;background:#eee1fa}.skin-card.locked{background:#f1eeea}.skin-card .chip{font-size:9px;padding:8px 5px}.season-card{background:#eee5f8;border-radius:14px;padding:14px;margin:18px 0}.season-card h3{margin-top:0}.season-card p{font-size:11px}.season-card small{font-size:9px;line-height:1.6;color:#927a9b}.weekly-award{background:#f8f2ff;border-radius:8px;padding:10px}@media(max-width:600px){.skin-grid{grid-template-columns:repeat(2,1fr)}}.ghost-panel{color:#594867}.ghost-panel strong{color:#574264}@media(pointer:coarse)and (max-height:500px){.ghost-panel{bottom:10px;width:310px;padding:9px}.ghost-panel>small:last-child{display:none}}.shop-time{background:#eee4fa;color:#6e5088;padding:10px 14px;border-radius:12px;font-size:12px;margin-bottom:10px}.tuning-intro{font-size:12px;color:#82718b}.parameter-upgrades{margin:12px 0;display:flex;flex-direction:column;gap:7px}.parameter-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;background:#fff9ef;border-radius:10px}.parameter-row strong{font-size:11px}.parameter-row strong small{display:inline;color:#9a86aa}.parameter-row>div>small{display:block;font-size:10px;margin-top:4px}.parameter-row .shop-purchase{margin:0;min-width:85px;width:auto;font-size:10px;padding:9px}.technique-note{font-size:9px!important;margin-top:6px}.build-card .parameter-upgrades+.shop-purchase{background:#e9dff4;color:#725d88}.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.build-card{min-width:0}.parameter-upgrades{width:100%}.parameter-row>div{min-width:0;flex:1}.parameter-row .shop-purchase{flex-shrink:0;white-space:nowrap}.parameter-row strong small{white-space:nowrap}@media(max-width:600px){.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:minmax(0,1fr)}}.profile-strip .account-link{width:100%;text-align:left;padding:4px 0;color:#79608e}.account-address{overflow-wrap:anywhere}#account-code{letter-spacing:.3em;font-size:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.language-picker{pointer-events:auto;display:inline-flex;align-items:center}.language-picker select{font:inherit;font-size:11px;font-weight:800;color:#665277;background:#fffaf0;border:1px solid #dfd4e9;border-radius:10px;padding:10px 8px;max-width:155px;cursor:pointer}.language-picker select:focus-visible{outline:3px solid #9a70d5;outline-offset:2px}.account-button{display:flex;align-items:center;gap:10px;background:#fffaf0f5;border:1px solid #d8cbe7;border-radius:14px;padding:8px 12px;box-shadow:0 4px #ddd0e8;min-width:175px;text-align:left}.account-button>span:nth-child(2){flex:1;min-width:0}.account-button strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;max-width:130px}.account-button small{display:block;font-size:9px;margin-top:3px;color:#836b93}.account-avatar{display:grid;place-items:center;font-size:28px;color:#8a6ab5;width:34px;height:34px;border-radius:50%;background:#eee3fa}.profile-strip{flex-wrap:wrap;gap:10px;padding:13px;background:#f1e9fa;border:1px solid #e1d4ee;border-radius:13px}.profile-strip>div:nth-child(2){flex:1}.profile-links{display:flex;gap:6px;width:100%}.profile-links .chip{flex:1;font-size:9px;padding:8px 5px}.profile-strip .account-link{width:auto;text-align:center;padding:8px 5px;background:#fff5da;color:#886b37}.ladder-entry{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:12px 0;width:100%;text-align:left;border-radius:12px;background:#f9edd1;border:1px solid #ead5a7}.ladder-entry>span:nth-child(2){flex:1}.ladder-entry strong{display:block;font-size:11px;letter-spacing:.04em}.ladder-entry small{display:block;margin-top:4px;font-size:9px;color:#957e69}.ladder-icon{font-size:27px;color:#b88b42}.ladder-tabs{margin:16px 0;gap:8px;flex-wrap:wrap}.ladder-tabs [aria-pressed=true]{background:#8870ba;color:#fffaf0}.my-standing{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#efe5fa;border-radius:12px;padding:13px;font-size:12px}.my-standing strong{font-size:22px}.leaderboard .ladder-heading{font-size:9px;letter-spacing:.08em;color:#967a9d;background:#f9f3e9}.leaderboard .own-standing{background:#eee3fa;border:1px solid #d6bde9;border-radius:10px}.leaderboard small{margin-top:5px}.leaderboard .place-1,.leaderboard .place-2,.leaderboard .place-3{font-size:21px}.portrait-hint{font-size:9px;color:#9b83a2;padding-top:14px}.character-preview-wrap{background:radial-gradient(ellipse at 50% 43%,#fff7dccc,#eee2f5 70%);border:1px solid #e6d9eb}.character-preview-wrap canvas{height:280px;width:100%}.demo-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px;letter-spacing:0}.demo-controls small{width:100%;font-size:9px;font-weight:400;line-height:1.5}.scene-caption{right:8%;bottom:12%;border-radius:17px;max-width:280px}.menu-shell{overflow:auto}.welcome{padding-top:18px;padding-bottom:15px}.welcome h1{margin:15px 0;font-size:clamp(32px,3vw,50px)}.welcome p.intro{margin-bottom:16px}.entry-card{padding:17px 20px}.entry-note{white-space:normal}.menu-shell header nav{gap:12px}.menu-shell footer{margin-top:auto}[lang=ru] .eyebrow,[lang=uk] .eyebrow{letter-spacing:.07em}[lang=ru] .welcome,[lang=uk] .welcome{max-width:43vw;width:460px}[lang=ru] .welcome h1,[lang=uk] .welcome h1{font-size:clamp(29px,2.8vw,47px);letter-spacing:-1.5px}@media(max-width:900px){.menu-shell header nav{gap:8px}.account-button{min-width:0}.account-button>span:last-child{display:none}.account-button small{max-width:115px}.scene-caption{right:4%;bottom:13%}.top-right{gap:5px}.top-right .language-picker select{width:66px}.game-header{padding:14px}.round-pill{gap:8px;padding:9px 11px}.round-pill span{font-size:9px}}@media(max-width:600px){.menu-shell header{align-items:flex-start;gap:12px}.menu-shell header nav{justify-content:flex-end;flex-wrap:wrap;max-width:230px}.menu-shell header nav>[data-action=help]{display:none}.account-button{width:100%;padding:6px 9px}.account-button small{max-width:none}.account-button strong{max-width:140px}.language-picker select{max-width:120px}.menu-shell header .icon-button{width:32px;height:32px;font-size:16px}.welcome,[lang=ru] .welcome,[lang=uk] .welcome{width:100%;max-width:100%;padding-top:18px}.scene-caption{position:relative;right:auto;bottom:auto;align-self:center;margin-top:14px}.menu-shell footer{gap:14px;font-size:7px}.game-header .top-right{max-width:130px;flex-wrap:wrap;justify-content:flex-end}.game-header .icon-button{width:28px;height:28px;font-size:15px}.game-header .language-picker select{padding:5px}.room-badge{min-width:95px;padding:7px}.round-pill span{max-width:75px;line-height:1.4}.character-preview-wrap canvas{height:240px}.leaderboard{min-width:0}}@media(max-height:650px)and (min-width:601px){.welcome h1{font-size:30px}.welcome p.intro,.friend-proof,.entry-note{display:none}.welcome>.eyebrow{margin-bottom:10px}.welcome{padding-top:6px}.menu-shell{padding-top:15px}.entry-card{padding:12px 17px}.separator{margin:12px 0}.menu-actions .button{padding:10px 14px}}.support-entry{background:none;color:#967392;font-size:10px;font-weight:700;padding:9px}.support-promise{background:#ecf5e9;border:1px solid #cee5c7;padding:15px;border-radius:13px;margin:18px 0}.support-promise p{margin-bottom:0}.support-gift{display:flex;align-items:center;gap:14px;background:#efe5fa;border-radius:14px;padding:16px}.support-gift>span{font-size:36px;color:#9c77c7}.support-gift small{display:block;margin-top:7px;color:#8e7499;font-size:11px;line-height:1.5}.support-test{padding:12px;background:#fff0cf;border-radius:10px;color:#9b7328;font-weight:700}.menu-shell .brand{flex-shrink:0;gap:14px;font-size:26px;line-height:1;letter-spacing:-.9px}.menu-shell .brand-mark{flex-shrink:0;width:68px;height:68px;font-size:49px;border-width:4px;box-shadow:0 6px #ca4547,0 10px 20px #b6464720}.menu-shell .brand>span:last-child{white-space:nowrap}.tutorial-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e6f2e3;border:1px solid #cce0c6;border-radius:10px;padding:11px 13px;color:#56734f;font-weight:800;font-size:11px}.tutorial-entry small{font-size:9px;opacity:.85}.tutorial-panel{position:fixed;left:24px;top:180px;width:305px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 320px);overflow:auto;background:#fffaf0f5;border:2px solid white;border-radius:19px;padding:20px;box-shadow:0 8px 30px #4b365025;pointer-events:auto}.tutorial-top,.tutorial-actions{display:flex;align-items:center;justify-content:space-between;gap:9px}.tutorial-top .text-button{font-size:9px;padding:0}.tutorial-panel h2{font-size:21px;line-height:1.2;letter-spacing:-.5px;margin:14px 0 10px}.tutorial-panel p{font-size:12px;line-height:1.55;margin:10px 0}.tutorial-panel .tutorial-goal{color:#604c73;font-weight:800}.tutorial-panel>small{display:block;font-size:9px;color:#9b87a5;line-height:1.6;margin-top:14px}.tutorial-dots{display:flex;gap:6px;margin-top:14px}.tutorial-dots i{height:5px;background:#e5daef;border-radius:3px;flex:1}.tutorial-dots .done{background:#91c9aa}.tutorial-dots .current{background:#9c7cc5}.tutorial-progress{font-size:11px;color:#4d936e;font-weight:800;min-height:19px;margin:13px 0}.tutorial-actions .button{font-size:11px;padding:10px 13px}.tutorial-actions .text-button{font-size:9px}.tutorial-complete{left:50%;top:50%;transform:translate(-50%,-50%);width:460px;max-height:85dvh}.tutorial-complete .text-button{margin-top:14px}.tutorial-mode .party-list{display:none}.tutorial-mode #disaster-banner{max-width:48vw}.tutorial-mode #timer{font-size:20px}@media(max-width:600px){.tutorial-panel{top:166px;left:12px;width:250px;padding:13px;max-height:calc(100dvh - 390px)}.tutorial-panel h2{font-size:17px;margin:10px 0 6px}.tutorial-panel p{font-size:11px;line-height:1.4;margin:7px 0}.tutorial-top .eyebrow{font-size:7px}.tutorial-panel>small{font-size:8px;margin-top:8px}.tutorial-panel .tutorial-actions{gap:5px}.tutorial-mode #disaster-banner{top:110px;max-width:85vw}.tutorial-mode #disaster-banner p,.tutorial-mode #disaster-banner small{display:none}.tutorial-mode #disaster-banner h2{font-size:15px;margin:5px 0}.tutorial-complete{width:calc(100vw - 24px);max-height:80dvh;left:50%;top:50%}}@media(pointer:coarse)and (max-height:500px){.tutorial-panel{top:84px;left:12px;width:235px;padding:12px;max-height:calc(100dvh - 100px)}.tutorial-panel>small{display:none}.tutorial-panel h2{font-size:16px;margin:8px 0}.tutorial-panel p{font-size:10px}.tutorial-mode .player-hud{left:265px;top:74px}.tutorial-mode #disaster-banner{top:64px;max-width:46vw}.tutorial-complete{left:50%;top:50%;width:470px;max-height:90dvh}.tutorial-mode .item-slot{display:none}}@media(max-width:900px){.menu-shell .brand{gap:11px;font-size:23px}.menu-shell .brand-mark{width:59px;height:59px;font-size:43px}}@media(max-width:600px){.menu-shell .brand{gap:9px;font-size:18px;letter-spacing:-.6px}.menu-shell .brand-mark{width:49px;height:49px;font-size:35px;border-width:3px;box-shadow:0 4px #ca4547}.menu-shell header{gap:10px}.menu-shell header nav{flex:1;min-width:0}.menu-shell header .language-picker select{width:76px;max-width:100%;padding:8px 5px}.menu-shell header .account-button strong{max-width:calc(100vw - 260px)}}.tutorial-panel{background:#fffaf0}.menu-friends{position:absolute;right:5vw;top:125px;width:265px;background:#fffaf0f5;border:1px solid #e4dbed;border-radius:18px;padding:15px;box-shadow:0 6px #b9a6ca26;color:#594867}.friends-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.friends-heading .text-button{padding:0;font-size:12px;letter-spacing:0}.friends-heading small{font-size:10px;color:#9b82ad;margin-left:5px}.friends-heading .chip{font-size:10px;padding:8px}.friends-preview{display:flex;flex-direction:column;gap:10px}.friends-preview>p{font-size:11px;margin:2px 0 8px}.friend-preview-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.friend-preview-row>div{min-width:0;flex:1}.friend-preview-row strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.friend-preview-row small{display:block;font-size:9px;color:#9a89a4;margin-top:4px}.friend-preview-row i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b9afbd;margin-right:5px}.friend-preview-row i.online{background:#70bc92}.friend-preview-row .chip{font-size:9px;padding:7px;max-width:115px}.my-friend-code{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid #e8e0eb;font-size:9px;color:#9b87a5}.my-friend-code button{background:none;padding:0;color:#79618d;font-size:10px}.friend-request-badge{display:block;width:100%;padding:9px;margin-bottom:10px;background:#fff0c9;border:1px solid #f1d59b;border-radius:9px;text-align:left;font-size:10px;font-weight:700}.menu-friends>.full{margin-top:12px;font-size:10px}.friend-buttons{flex-wrap:wrap;justify-content:flex-end}.friend-row>div:first-child{min-width:0}.friend-row strong{overflow-wrap:anywhere}@media(max-width:1000px){.menu-friends{position:static;width:100%;max-width:355px;margin-top:16px}}@media(max-width:600px){.menu-friends{max-width:none;margin-top:14px}}@media(max-height:500px)and (min-width:1001px){.menu-friends{top:100px;width:230px;padding:12px}.menu-friends .friends-preview{max-height:110px;overflow:auto}}.button-votes{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:9px 10px;background:#eee7f6;border-radius:9px}.prep-card .button-votes strong{margin:0;font-size:11px;white-space:nowrap;color:#6e518b}.button-votes small{font-size:9px;line-height:1.45;color:#8d779c;text-align:right}.party-player .button-confirmed{color:#4d9674;font-size:9px;white-space:nowrap}.waiting-votes{display:inline-block;padding:10px 14px;background:#edf4e6;border:1px solid #c5ddbd;border-radius:11px;font-size:11px;font-weight:700;color:#648357}.prep-card .prep-interaction{position:static;transform:none;width:auto;max-width:none;margin-top:12px;text-align:center}.prep-interaction .waiting-votes,.prep-interaction button{max-width:100%}.pillar-label{position:absolute;min-width:64px;padding:3px 6px 6px;background:#fff4dfed;border:1px solid #fff;border-radius:7px;pointer-events:none;text-align:center;overflow:hidden;font-size:9px;font-weight:900;color:#82694e;box-shadow:0 2px #8c785333}.pillar-label i{position:absolute;left:0;bottom:0;height:3px;background:#cf9d5e}.pillar-number{font-size:18px;color:#9e754d;text-shadow:0 2px #fff4dc}.store-distribution .support-entry,.store-distribution [data-portal=support],.store-distribution [data-portal=support-checkout],.store-distribution [data-portal=skin-checkout]{display:none}@font-face{font-family:Nunito;src:url(/fonts/nunito-variable.ttf) format("truetype");font-style:normal;font-weight:200 1000;font-display:swap}.menu-shell{font-family:Nunito,Trebuchet MS,sans-serif;background:linear-gradient(90deg,#fff7ed 0%,#fff7edf0 23%,#fff7ed35 52%,transparent 75%)}.menu-shell>header{flex-shrink:0;gap:28px}.menu-shell .brand{display:block;width:clamp(270px,25vw,360px);line-height:0;border-radius:18px;transition:transform .2s ease}.brand-wordmark{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 8px #70416816)}.menu-shell .brand:hover{transform:translateY(-2px) rotate(-1deg)}.menu-shell .welcome{padding-top:12px}.welcome>.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#957083;font-weight:900;font-size:9px;letter-spacing:.1em}.welcome .tiny-dot{margin:0;width:6px;height:6px;background:#f17769;box-shadow:0 0 0 4px #f1776912;flex-shrink:0}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-family:Nunito,Trebuchet MS,sans-serif;font-size:clamp(30px,2.6vw,40px);font-weight:1000;line-height:1.12;letter-spacing:-1.3px;text-transform:uppercase;color:#58285f;margin:16px 0 19px;text-shadow:0 1px 0 #a673ac,0 2px 0 #cda1cf,0 3px 0 #e4bbd9,0 4px 0 #eed1e3,0 7px 11px #6c395925}.menu-slogan>span{display:block;color:inherit}.menu-slogan em{font-style:normal;color:#ee695e;text-shadow:0 1px 0 #c94851,0 2px 0 #db7b86,0 3px 0 #edafaf,0 4px 0 #f4cebf,0 7px 11px #b7595520}.welcome p.intro{color:#89718b;line-height:1.65;font-size:12px;margin:0 0 19px!important;max-width:375px}.welcome .intro strong{display:block;color:#70516f;font-size:13px;font-weight:900;margin-bottom:3px}.welcome .intro>span{display:block}.menu-shell .entry-card{border:1px solid #fff;box-shadow:0 4px #e2d0d23b,0 16px 35px #75515b0a}.menu-shell .entry-card label{color:#927086;font-weight:900;letter-spacing:.075em}.menu-shell .profile-strip{padding:10px;gap:8px}.menu-shell .profile-strip>.profile-links{flex:0 0 100%;width:100%}.menu-shell .profile-links .chip{padding:6px 5px;font-size:9px;line-height:1.25}.menu-shell .profile-strip strong{overflow:hidden;text-overflow:ellipsis}.menu-shell #nickname{font-weight:700}.menu-shell .menu-actions .button{font-weight:1000;letter-spacing:.015em}.menu-shell .primary{background:linear-gradient(165deg,#ff7d6c,#f15351 75%);box-shadow:inset 0 1px #ffb7a1,0 4px #cb454e}.menu-shell .ranked{background:linear-gradient(165deg,#aa87c9,#8560aa);box-shadow:inset 0 1px #d1b3e6,0 4px #62447e}.menu-shell .entry-note{white-space:normal;font-size:9px;line-height:1.6}.menu-shell .separator{font-size:9px;letter-spacing:.075em}.menu-shell .scene-caption{font-family:Nunito,Trebuchet MS,sans-serif}body:has(.menu-shell) #rotate-hint{display:none}@media(max-width:1000px){.menu-shell>header{gap:18px}.menu-shell .brand{width:260px}.menu-shell header nav{gap:9px}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:30px;letter-spacing:-1px}}@media(max-width:600px){.menu-shell{background:linear-gradient(100deg,#fff7edf5,#f6edf3ce)}.menu-shell>header{gap:12px;align-items:flex-start}.menu-shell .brand{width:46vw;max-width:245px;margin-left:-5px}.menu-shell header nav{max-width:none;min-width:0;gap:7px}.menu-shell .account-button{min-width:0}.menu-shell header .account-button strong{max-width:100%}.menu-shell .welcome{padding-top:22px}.welcome>.eyebrow{font-size:8px;letter-spacing:.06em}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:clamp(27px,7.8vw,36px);line-height:1.14;margin:14px 0 18px}.welcome p.intro{max-width:100%;margin-bottom:18px!important}}@media(max-width:360px){.menu-shell>header{flex-direction:column;align-items:center;gap:13px}.menu-shell .brand{width:238px;max-width:90%;margin:0}.menu-shell header nav{width:100%;flex-wrap:wrap;justify-content:center}.menu-shell .account-button{width:auto;flex:1;padding:5px 7px}.menu-shell .account-button small,.menu-shell .account-avatar{display:none}}@media(min-width:601px)and (max-height:800px){.menu-shell .brand{width:250px}.menu-shell .welcome{padding-top:10px}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:30px;margin:11px 0 15px}.welcome p.intro{margin-bottom:14px!important}}@media(min-width:601px)and (max-height:650px){.menu-shell .brand{width:215px}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:27px}.welcome p.intro{display:none}}@media(prefers-reduced-motion:reduce){.menu-shell .brand{transition:none}.menu-shell .brand:hover{transform:none}}@media(forced-colors:active){.menu-slogan,.menu-slogan em{text-shadow:none!important;color:CanvasText!important}}.menu-navigation{align-items:center}.mode-card>.eyebrow{margin-bottom:17px;color:#94768d}.menu-shell .mode-actions{gap:13px}.mode-actions .button{min-height:66px;padding:14px 16px}.mode-actions .button>span:first-child{text-align:left}.mode-actions small{display:block;margin-top:5px;font-size:10px;font-weight:700;opacity:.85;letter-spacing:0}.mode-actions .ranked small{border:0;border-radius:0;padding:0;background:none}.tutorial-mode .top-right>:not([data-action=settings]){display:none}.menu-shell .mode-card{margin-top:25px}.menu-shell .entry-note{margin-top:18px}.menu-shell footer{flex-wrap:wrap;align-items:center;gap:16px}.menu-shell footer .support-entry{margin-left:auto;padding:0}.profile-tabs,.account-tabs,.guide-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}.profile-tabs{border-bottom:1px solid #e7dcea;padding:0 22px 15px 0}.profile-tabs .chip,.account-tabs .chip,.guide-tabs .chip{font-size:11px}.profile-tabs [aria-pressed=true],.account-tabs [aria-pressed=true],.guide-tabs [aria-pressed=true]{background:#79528e;color:#fff9ee;border-color:#79528e}.profile-rating{color:#8b62a2;font-weight:900;font-size:18px}.social-dialog form[data-portal-form^=account] label{display:block;font-size:12px;font-weight:700;color:#80658e;margin:13px 0}.social-dialog form[data-portal-form^=account] label input{display:block;width:100%;margin-top:7px}.social-dialog.guide-dialog{width:min(960px,94vw);max-width:94vw}.guide-intro{display:flex;gap:22px;background:#f1e9f5;border-radius:17px;padding:24px;margin:16px 0 22px}.guide-button-icon{flex-shrink:0;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#f76a5c;color:#fff;font:1000 50px Nunito,sans-serif;box-shadow:inset 0 3px #ffb49a,0 5px #ca4651;transform:rotate(-8deg)}.guide-intro h3{margin:0;font-size:19px;color:#714c86}.guide-intro p{margin:10px 0 16px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:14px 0 23px}.guide-card{border:1px solid #e4d8e8;background:#fffdf6;padding:18px;border-radius:14px;min-width:0}.guide-card h3{display:flex;gap:8px;align-items:center;font-size:16px;margin:0 0 9px;color:#6d4c83}.guide-card h3>span{font-size:23px}.guide-card p{font-size:12px;margin:8px 0}.guide-category{font-size:9px;text-transform:uppercase;color:#a186ac;letter-spacing:.08em}.guide-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.guide-stats>div{display:flex;justify-content:space-between;gap:8px;background:#f0eaf5;border-radius:7px;padding:7px;font-size:10px}.guide-stats dt{color:#967da4}.guide-stats dd{margin:0;font-weight:700}.guide-card details{border-top:1px solid #ece3ef;padding-top:11px}.guide-card summary{cursor:pointer;color:#9270ab;font-size:11px;font-weight:700}.guide-search-label{display:block;color:#9270ab;font-size:11px;margin:12px 0 20px}.guide-search-label input{display:block;width:100%;margin-top:7px}.community-panel{position:absolute;right:5vw;top:150px;width:310px;background:#fffaf3f5;border:1px solid #e6d8e7;border-radius:18px;padding:16px;box-shadow:0 5px #bda6c222;color:#705279;pointer-events:auto}.social-dialog .community-panel{position:static;width:100%;max-width:none;margin:0;box-shadow:none;border:0;padding:0}.community-heading{display:flex;align-items:center;gap:9px;font-size:13px}.community-heading>strong{flex:1}.community-heading>[data-chat-status]{color:#85ba96;font-size:10px}.community-heading .chip{padding:3px 8px}.community-tabs{display:flex;gap:17px;border-bottom:1px solid #eadfe9;padding:14px 0 12px;margin-bottom:12px}.community-tabs .text-button{padding:0;letter-spacing:0;font-size:11px}.community-tabs [aria-pressed=true]{color:#bc687d}.chat-tabs{display:flex;gap:5px;margin-bottom:10px}.chat-tabs .chip{flex:1;font-size:10px;padding:7px 6px}.chat-tabs [aria-pressed=true]{background:#846392;color:#fff7ef;border-color:#846392}.chat-messages{height:220px;overflow-y:auto;overscroll-behavior:contain;padding:2px 5px 7px 0;scrollbar-width:thin;scrollbar-color:#d0b7d6 transparent}.chat-empty{text-align:center;padding:46px 12px;font-size:11px;color:#aa8fa9}.chat-line{padding:8px 0;border-bottom:1px solid #f0e7ed}.chat-line>div{display:flex;align-items:center;gap:6px}.chat-line strong{font-size:11px;color:#865491;overflow-wrap:anywhere}.chat-line time{margin-left:auto;font-size:8px;color:#b29bad;flex-shrink:0}.chat-line p{font-size:12px;line-height:1.5;margin:4px 0 0;color:#7e697e;overflow-wrap:anywhere}.chat-line.own-message strong{color:#cc756e}.chat-person{background:#ede2f3;color:#8e6b9f;border-radius:5px;font-size:10px;padding:1px 5px}.chat-compose{display:flex;gap:7px;margin:10px 0 8px}.chat-compose input{flex:1;width:100%;padding:10px;font-size:11px}.chat-compose button{min-width:34px;font-size:18px;background:#a27bb3;color:#fff}.chat-note{display:block;font-size:8px;line-height:1.6;color:#b09aae}.chat-peer-label{display:block;font-size:10px}.chat-peer-label select{display:block;width:100%;margin:5px 0 9px;padding:7px;border:1px solid #e2d4e5;background:#fffaf3;color:#80618f;border-radius:8px}.chat-unread:not(:empty){display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;background:#ed8b7b;color:#fff;border-radius:9px;font-size:9px}.tutorial-trial .tutorial-goal{padding:10px;background:#f2e7fa;border-radius:10px}@media(max-width:1000px){.community-panel{position:static;width:100%;max-width:375px;margin-top:24px}.chat-messages{height:190px}}@media(max-width:600px){.guide-grid{grid-template-columns:1fr}.guide-intro{padding:16px;gap:13px}.guide-button-icon{width:43px;height:43px;font-size:32px}.guide-intro h3{font-size:16px}.social-dialog.guide-dialog{max-width:calc(100vw - 20px);width:calc(100vw - 20px)}.menu-shell .menu-navigation{gap:10px}.menu-navigation>.text-button{font-size:9px;padding:5px 0}.menu-shell footer>span:first-child{max-width:55%}.menu-shell .mode-card{margin-top:20px}.mode-actions .button{min-height:68px}.profile-tabs .chip{font-size:10px;padding:8px}}@media(pointer:coarse),(max-width:600px){.menu-shell .account-button{min-height:48px}.menu-shell .menu-navigation>[data-action=settings]{width:44px;height:44px}input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}.overlay{top:var(--viewport-top,0px);height:var(--visible-height,100dvh);bottom:auto;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));-webkit-backdrop-filter:none;backdrop-filter:none}.overlay .dialog{max-height:calc(var(--visible-height,100dvh) - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:22px 16px}.dialog .close{width:44px;height:44px;top:3px;right:3px;z-index:4;line-height:1}.dialog h2{padding-right:26px}.chip,.shop-purchase,.equip-actions button,.social-dialog .button,.setting{min-height:44px}.chip,.shop-purchase{font-size:12px}.social-dialog p,.social-dialog .muted,.build-card small{font-size:13px;line-height:1.5}.dialog .profile-tabs{padding-right:22px;gap:6px}.profile-tabs .chip,.guide-tabs .chip{font-size:11px;padding:9px}.dialog .shop-tabs{overflow-x:auto;overscroll-behavior-x:contain;padding:8px 0;scrollbar-width:none}.shop-tabs button{flex:0 0 auto;min-height:44px;font-size:11px;padding:10px 14px}.shop-dialog .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:minmax(0,1fr)}.build-card{padding:13px}.build-card strong{font-size:14px}.build-tag{font-size:10px}.equip-actions{flex-wrap:wrap}.parameter-row{gap:9px}.parameter-row strong{font-size:12px}.shop-balance{position:static;display:inline-block;margin:0 0 8px}.social-dialog .color-picker label{width:44px;height:44px;display:grid;place-items:center}.color-picker span{width:32px;height:32px}.guide-card p{font-size:13px}.guide-stats{gap:6px}.guide-stats>div{font-size:11px}.chat-messages{height:200px}.chat-line p{font-size:14px}.chat-line strong{font-size:12px}.chat-note{font-size:10px}.chat-compose button{min-width:44px}.chat-person{min-width:34px;min-height:34px}.community-tabs .text-button{min-height:44px;font-size:13px}.menu-shell{height:var(--visible-height,100dvh);overscroll-behavior-y:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}}@media(max-width:600px){.menu-shell{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.menu-shell>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;align-items:center}.menu-shell .menu-navigation{display:contents}.menu-shell .brand{grid-column:1;grid-row:1;width:100%;max-width:190px;margin:0}.menu-shell .account-button{grid-column:2;grid-row:1;width:100%;min-height:48px;min-width:0;padding:6px 8px}.menu-shell .account-avatar{display:none}.menu-shell .account-button>span:nth-child(2){min-width:0}.menu-shell .account-button strong{font-size:12px;max-width:100%}.menu-shell .account-button small{display:block;font-size:9px}.menu-navigation>[data-portal=guide]{grid-column:1;grid-row:2;text-align:left}.menu-navigation>[data-portal=leaderboard]{grid-column:2;grid-row:2;justify-self:start;max-width:calc(100% - 48px);text-align:left}.menu-navigation>[data-action=settings]{grid-column:2;grid-row:2;justify-self:end;width:44px;height:44px}.menu-navigation>.text-button{min-height:44px;font-size:11px;line-height:1.4;padding:4px 0}.menu-shell .welcome{margin-top:20px;padding-top:0}.welcome h1.menu-slogan{margin-top:12px}.community-panel{margin-top:22px;max-width:none}.community-heading{font-size:15px}.menu-shell .mode-actions .button{min-height:72px;font-size:13px}.mode-actions small{font-size:11px}.menu-shell footer{gap:12px;padding-top:24px}.menu-shell footer>.support-entry{min-height:44px;font-size:12px}.friend-row{align-items:flex-start;flex-wrap:wrap}.friend-buttons{justify-content:flex-start}.invite-toast{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));flex-wrap:wrap}}@media(pointer:coarse){:root{--touch-bottom:max(16px,env(safe-area-inset-bottom));--touch-right:max(12px,env(safe-area-inset-right));--touch-left:max(16px,env(safe-area-inset-left))}#mobile{touch-action:none;user-select:none;-webkit-user-select:none}#joystick{width:104px;height:104px;left:auto;right:var(--touch-right);bottom:var(--touch-bottom)}#stick{width:44px;height:44px;pointer-events:none}.touch-actions{right:auto;left:var(--touch-left);bottom:var(--touch-bottom);gap:8px}.touch-actions button{width:48px;height:48px;font-size:22px}.touch-actions #touch-jump{width:60px;height:60px;font-size:28px}.touch-spells{right:auto;left:var(--touch-left);bottom:calc(var(--touch-bottom) + 82px);display:grid;grid-template-columns:repeat(3,52px);gap:8px}.touch-spells button{width:52px;height:52px;border-radius:15px}.touch-spells button span{font-size:24px}.touch-spells button small{font-size:10px}#touch-spell-3{grid-column:1;grid-row:2}#touch-basic{grid-column:3;grid-row:2;background:#f6c3a9ed;font-size:24px}.touch-spells #touch-mode{position:static;grid-column:2;grid-row:2;width:52px;height:52px;font-size:9px}.touch-spells #touch-mode[hidden]{display:none}.touch-spells #touch-view{top:-50px;right:0;width:58px;height:44px;font-size:11px}#touch-view[aria-pressed=true]{background:#8864ae;color:#fff}.game-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:max(8px,env(safe-area-inset-top)) var(--touch-right) 0 var(--touch-left);align-items:start}.room-badge{min-width:0;width:max-content;max-width:100%;padding:4px 8px}.room-badge .eyebrow{font-size:6px;letter-spacing:.04em}.room-badge strong{font-size:14px;letter-spacing:1px}.room-badge button{gap:6px;min-height:40px}.room-badge button span{font-size:8px}.round-pill{padding:9px 10px;gap:8px;min-height:44px}.round-pill span{font-size:8px}.round-pill b{font-size:17px}.game-header .top-right{max-width:none;justify-content:flex-end;gap:4px;flex-wrap:nowrap}.game-header .top-right .icon-button{width:44px;height:44px}.player-hud,.tutorial-mode .player-hud{top:calc(max(8px,env(safe-area-inset-top)) + 66px);left:var(--touch-left);gap:7px}.hearts{font-size:20px}.hp-track{width:124px;height:18px;margin:3px 0}.hp-track b{font-size:10px}.player-hud #vitals>small{font-size:8px;max-width:132px;white-space:normal;line-height:1.35}.player-hud #vitals>.regen-hint{display:none}.coin-badge{padding:6px;font-size:12px}.party-list{display:none}.disaster-banner,.tutorial-mode #disaster-banner{top:calc(max(8px,env(safe-area-inset-top)) + 118px);width:calc(100% - 32px);max-width:440px}.disaster-banner h2{font-size:17px;margin:5px 0}.disaster-banner p{font-size:10px;padding:5px 8px}.disaster-banner small{display:none}.difficulty{font-size:9px}.disaster-banner p:empty{display:none}.button-bubble{font-size:10px;padding:8px 10px;white-space:normal;text-align:center;width:max-content;max-width:min(280px,calc(100vw - 32px))}.name-label{min-width:70px;font-size:9px;padding:4px 6px}.overhead-hp{width:66px;height:10px}.overhead-hp b{font-size:7px}.name-label.is-targeted{outline:2px solid #e38e57;outline-offset:2px;background:#fff2d9}.name-label.is-targeted>span:first-child:before{content:"◎ ";color:#b36332;font-weight:900}#phase-panel:has(.prep-card){position:static;transform:none}.game-shell #phase-panel .prep-card{position:fixed;left:50%;transform:translate(-50%);bottom:calc(var(--touch-bottom) + 230px);width:min(330px,calc(100vw - 28px));padding:12px}.prep-card strong{font-size:12px}.prep-card .eyebrow{font-size:8px}.prep-card .button{min-height:44px;font-size:12px}.prep-card .danger-track{margin:10px 0}.prep-card .button-votes small{font-size:10px}.interaction{bottom:calc(var(--touch-bottom) + 232px)}.interaction button{min-height:44px;max-width:92vw;font-size:12px}.prep-card .prep-interaction{position:static;transform:none;margin-top:8px}#rotate-hint{display:none}#toast{bottom:calc(var(--touch-bottom) + 226px);max-width:calc(100vw - 32px);font-size:12px;padding:10px 14px}.phase-panel{width:min(440px,calc(100vw - 24px));max-width:none}.phase-card{width:100%;max-height:calc(100dvh - 110px);padding:20px 16px}.phase-card h2{font-size:23px}.phase-card p{font-size:13px}.phase-card .button{min-height:44px;font-size:13px}.tutorial-panel{top:calc(max(8px,env(safe-area-inset-top)) + 118px);left:var(--touch-left);width:min(330px,calc(100vw - 32px));max-height:calc(100dvh - 380px);padding:13px}.tutorial-panel p{font-size:12px}.tutorial-actions .button,.tutorial-actions .text-button,.tutorial-top .text-button{min-height:44px}.tutorial-top .text-button{font-size:11px}.tutorial-panel>small{display:none}.tutorial-panel h2{font-size:17px;padding-right:28px}.tutorial-fold{display:block;position:absolute;top:57px;right:8px;width:44px;height:44px;background:none;font-size:23px;color:#8b6c9e}.tutorial-panel.is-folded>:not(.tutorial-top):not(h2):not(.tutorial-actions):not(.tutorial-progress):not(.tutorial-fold):not([data-action=leave]):not([data-action=tutorial-shop]){display:none}.tutorial-panel.is-folded h2{margin:4px 28px 4px 0;font-size:13px}.tutorial-panel.is-folded .tutorial-progress{margin:3px 0}.tutorial-panel.is-folded .tutorial-actions .button{font-size:11px}.tutorial-complete{left:50%;top:50%;width:calc(100vw - 24px);max-height:calc(100dvh - 40px)}.ghost-panel{bottom:calc(var(--touch-bottom) + 136px);width:min(320px,calc(100vw - 32px))}.ghost-panel select{min-height:44px}}.tutorial-fold{display:none}@media(pointer:coarse){.tutorial-panel .tutorial-fold{display:block}}@media(pointer:coarse)and (orientation:portrait){.room-badge button span{display:none}}@media(pointer:coarse)and (max-width:360px){.touch-spells{grid-template-columns:repeat(3,48px);gap:6px}.touch-spells button,.touch-spells #touch-mode{width:48px;height:48px}#joystick{width:96px;height:96px}.game-header .top-right .icon-button{width:40px;height:44px}.game-header .top-right{gap:2px}.room-badge .eyebrow{display:none}.round-pill{padding:8px;gap:5px}.round-pill span{max-width:62px}.player-hud{gap:5px}.hp-track{width:116px}.coin-badge{margin-left:0}.tutorial-panel{max-height:calc(100dvh - 360px)}}#orientation-gate[hidden]{display:none}#orientation-gate{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:radial-gradient(ellipse at 25% 20%,#fff9ec,#f1e4f1);color:#654274;text-align:center;overflow:auto}#orientation-gate section{max-width:560px}#orientation-gate img{width:210px;max-width:38vw;height:auto}#orientation-title{font:1000 clamp(22px,4vw,32px)/1.15 Nunito,sans-serif;letter-spacing:-.5px;margin:12px 0}#orientation-gate p{font-size:14px;margin:0;color:#8e719b}.phone-turn{position:relative;margin:14px auto;width:39px;height:66px;border:4px solid #a283b6;border-radius:10px;transform:rotate(0);animation:phoneSideways 2.5s ease-in-out infinite}.phone-turn:after{content:"";position:absolute;bottom:4px;left:12px;width:7px;height:3px;border-radius:3px;background:#a283b6}.phone-turn span{position:absolute;left:42px;top:10px;font-size:35px;color:#ef8c7d}.orientation-blocked #app,.orientation-blocked #labels,.orientation-blocked #world,.orientation-blocked #mobile,.orientation-blocked #toast{visibility:hidden}.orientation-blocked #mobile{display:none}@keyframes phoneSideways{0%,15%{transform:rotate(0)}65%,to{transform:rotate(90deg)}}@media(prefers-reduced-motion:reduce){.phone-turn{animation:none}}@media(max-height:350px){#orientation-gate section{display:grid;grid-template-columns:70px 1fr;gap:0 18px;text-align:left;align-items:center}#orientation-gate img{grid-column:2;width:190px}.phone-turn{grid-column:1;grid-row:1/4}#orientation-title{grid-column:2;font-size:24px}#orientation-gate p{grid-column:2}}.feedback-contact{margin:16px 0}.feedback-link{align-items:center;gap:12px;text-align:left}.feedback-contact>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#94769f}.feedback-contact>div>a{-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}.feedback-contact .chip{font-size:11px}.prep-heading{display:flex;align-items:center;gap:12px}.prep-copy{flex:1}.prep-shop{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:9px 12px;font-size:10px}.prep-toggle,.prep-mobile-title{display:none}@media(pointer:coarse)and (orientation:landscape){:root{--touch-bottom:max(12px,env(safe-area-inset-bottom));--touch-right:max(12px,env(safe-area-inset-right));--touch-left:max(16px,env(safe-area-inset-left))}.menu-shell{padding:12px max(22px,env(safe-area-inset-right)) 24px max(22px,env(safe-area-inset-left))}.menu-shell>header{gap:12px;align-items:center;min-height:56px}.menu-shell .brand{width:190px;max-width:27vw}.menu-shell .menu-navigation{gap:8px;align-items:center}.menu-shell .menu-navigation>.text-button{font-size:11px;min-height:44px;padding:8px}.menu-shell .account-button{min-width:135px;padding:6px 10px}.account-button strong{max-width:130px}.menu-shell .account-button small{font-size:9px}.menu-shell .account-avatar{width:30px;height:30px;font-size:14px}.menu-shell .welcome{display:block;grid-template-columns:none;width:min(440px,62vw);max-width:none;padding-top:6px;margin-top:4px}.menu-shell .entry-card{grid-column:auto;grid-row:auto;width:100%;max-width:none}.menu-shell .mode-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:32px;line-height:1.1;margin:10px 0 14px}.menu-shell .intro{font-size:12px;margin-bottom:14px}.menu-shell .intro strong{font-size:14px}.menu-shell .entry-card{padding:15px}.menu-shell .mode-actions .button{min-height:64px;padding:12px 14px;font-size:13px}.mode-actions small{font-size:10px}.menu-shell .scene-caption{right:22px;bottom:18px;max-width:180px}.scene-caption .demo-controls small{display:none}.menu-shell footer{position:static;margin-top:18px;flex-wrap:wrap;gap:12px;font-size:10px}.menu-shell footer .support-entry{min-height:44px}.menu-shell .community-panel{position:static;width:min(440px,62vw);max-width:none;margin-top:18px}.game-header{grid-template-columns:minmax(90px,1fr) auto auto;padding-top:max(6px,env(safe-area-inset-top));align-items:start}.room-badge button span{display:none}.round-pill{min-height:44px;padding:8px 12px}.player-hud,.tutorial-mode .player-hud{top:calc(max(6px,env(safe-area-inset-top)) + 54px);left:auto;right:var(--touch-right);display:grid;grid-template-columns:30px 124px;gap:2px 5px;align-items:center}.player-hud .hearts{font-size:16px;letter-spacing:-2px}.player-hud #vitals{min-width:0}.player-hud .coin-badge{grid-column:2;justify-self:start;padding:3px 6px;font-size:10px;margin:0}.player-hud .coin-badge small{display:none}.disaster-banner,.tutorial-mode #disaster-banner{top:calc(max(6px,env(safe-area-inset-top)) + 54px);width:min(380px,calc(100vw - 340px));max-width:none;pointer-events:none}.disaster-banner h2{font-size:16px;margin:4px 0}.disaster-banner p{display:none}.disaster-banner .difficulty{font-size:8px}.touch-spells{bottom:calc(var(--touch-bottom) + 78px)}.touch-spells #touch-view{top:-48px}.touch-actions{gap:8px}.touch-actions button{width:48px;height:48px}.game-shell #phase-panel .prep-card{top:calc(max(6px,env(safe-area-inset-top)) + 54px);bottom:auto;width:min(280px,calc(100vw - 360px));max-height:calc(100dvh - 76px);overflow:auto;overscroll-behavior:contain;padding:6px 8px;border-radius:12px}.prep-card .prep-heading{gap:4px}.prep-card .prep-copy{display:none}.prep-card .prep-mobile-title{display:block;flex:1;min-width:0;font-size:11px;line-height:1.2}.prep-card .prep-shop{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;font-size:19px;border-radius:10px}.prep-shop span{display:none}.prep-card .prep-toggle{display:block;width:44px;height:44px;flex-shrink:0;padding:0;background:#eee7f6;color:#76558d;border-radius:10px;font-size:23px}.prep-card .danger-track{height:15px;margin:4px 0}.prep-card .button-votes{margin:4px 0;padding:4px 6px}.prep-card .button-votes strong{font-size:10px}.prep-card .button-votes small{display:none}.prep-card .prep-row{font-size:9px;line-height:1.3;padding:2px 0}.prep-card .prep-interaction,.prep-card.is-folded .prep-details{display:none}.interaction{bottom:calc(var(--touch-bottom) + 18px);max-width:calc(100vw - 350px);left:50%;transform:translate(-50%)}.interaction button{max-width:100%}.tutorial-panel{top:calc(max(6px,env(safe-area-inset-top)) + 54px);left:50%;transform:translate(-50%);width:min(380px,calc(100vw - 340px));max-height:calc(100dvh - 78px);overflow:auto;padding:12px}.tutorial-panel .tutorial-top{gap:4px}.tutorial-panel .tutorial-top .eyebrow{font-size:7px}.tutorial-panel .tutorial-top .text-button{min-height:44px;font-size:10px}.tutorial-panel h2{font-size:15px}.tutorial-panel.is-folded h2{font-size:12px}.tutorial-panel .tutorial-actions{gap:5px;flex-wrap:wrap}.tutorial-actions .button,.tutorial-actions .text-button{padding:8px;font-size:10px}.tutorial-panel .tutorial-fold{top:52px;right:4px}.tutorial-panel.is-folded .tutorial-progress{margin-top:0}.tutorial-complete{width:min(540px,calc(100vw - 40px));max-height:calc(100dvh - 24px)}.ghost-panel{bottom:var(--touch-bottom);left:50%;transform:translate(-50%);width:min(300px,calc(100vw - 340px));padding:10px;max-height:calc(100dvh - 80px);overflow:auto}.ghost-panel strong{font-size:11px}.ghost-panel small{font-size:9px}.ghost-panel select{min-height:44px}#toast{bottom:12px;max-width:calc(100vw - 340px)}.shop-dialog .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overlay .dialog{max-height:calc(var(--visible-height,100dvh) - 16px)}.overlay .dialog>.close{position:sticky;top:0;right:0;float:right;margin:-12px -8px 0 8px;z-index:8;background:#fffaf0;box-shadow:0 2px 8px #61466d22}.chat-messages{height:160px}}@media(pointer:coarse)and (orientation:landscape)and (max-width:700px){.menu-shell .brand{width:140px}.menu-shell .menu-navigation{gap:3px}.menu-shell .menu-navigation>.text-button{font-size:10px;padding:4px}.menu-shell .account-button{min-width:104px;padding:5px}.menu-shell .account-avatar{display:none}.menu-shell .account-button strong{font-size:10px;max-width:100px}.touch-spells{grid-template-columns:repeat(3,48px);gap:7px}.touch-spells button,.touch-spells #touch-mode{width:48px;height:48px}.touch-spells #touch-view{height:44px;width:56px}.touch-actions{gap:7px}.touch-actions button{width:44px;height:44px}.touch-actions #touch-jump{width:56px;height:56px}#joystick{width:96px;height:96px}.game-header .top-right{gap:3px}.game-header .top-right .icon-button{width:44px;height:44px}.room-badge .eyebrow{display:none}.round-pill span{max-width:90px}.round-pill{padding:8px}.player-hud,.tutorial-mode .player-hud{grid-template-columns:26px 112px}.hp-track{width:112px}.player-hud #vitals>small{font-size:7px}.shop-dialog .shop-grid,.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tutorial-panel p{font-size:11px}.tutorial-panel .tutorial-top .eyebrow{display:none}.tutorial-panel h2{padding-right:27px}}#network-notice{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:80;width:max-content;max-width:95vw;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;background:#fff4e8;color:#674b7a;border:2px solid white;border-radius:12px;font-size:12px;box-shadow:0 4px 14px #46335233}#network-notice button{min-height:44px;padding:8px 12px;background:#ece2f3;border-radius:8px;font-weight:700}.orientation-blocked #network-notice{visibility:hidden}.shop-mobile-title{display:none}@media(pointer:coarse){:root{--touch-request:56px;--touch-key:min(var(--touch-request),clamp(48px,16vh,64px));--touch-gap:8px;--touch-attack:calc(var(--touch-key) + 12px)}:root[data-touch-size=compact]{--touch-request:48px}:root[data-touch-size=large]{--touch-request:64px}#mobile button,#joystick{-webkit-tap-highlight-color:transparent;touch-action:none;opacity:var(--touch-opacity,.9)}#mobile button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;color:#594166;background:#fff9edf5;border:2px solid #bba2d7;box-shadow:0 3px #6d518533;overflow:hidden;pointer-events:auto}#mobile button:active,#mobile button.is-held{transform:translateY(2px);background:#e7d6f4;opacity:1}#mobile button:disabled{opacity:.65;filter:saturate(.5)}#mobile .touch-icon{font-size:24px;line-height:1.1}#mobile .touch-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font-size:9px;line-height:1.05;font-weight:900;margin-top:2px;overflow-wrap:anywhere}.touch-cooldown{position:absolute;top:5px;left:50%;transform:translate(-50%);color:#fffaf0;border-radius:7px;padding:2px 4px;background:#493858ed;font-size:16px;line-height:1.1}.touch-cooldown:empty{display:none}.touch-charge{position:absolute;bottom:0;left:0;height:3px;width:calc(var(--touch-ready,1)*100%);background:#72bd9d;pointer-events:none}.is-cooling .touch-icon{opacity:.35}#mobile .touch-spells{display:grid;grid-template-columns:repeat(2,var(--touch-key));grid-template-rows:repeat(2,var(--touch-key));gap:var(--touch-gap);bottom:calc(var(--touch-bottom) + var(--touch-attack) + 12px);left:var(--touch-left);right:auto}#mobile .touch-spells button{width:var(--touch-key);height:var(--touch-key);border-radius:14px}#touch-spell-0{grid-column:1;grid-row:1}#touch-spell-1{grid-column:2;grid-row:1}#touch-spell-2{grid-column:1;grid-row:2}#mobile #touch-spell-3{grid-column:2;grid-row:2}#mobile .touch-actions{display:grid;grid-template-columns:var(--touch-attack) calc(var(--touch-key) + 4px) var(--touch-key) 44px;align-items:end;gap:var(--touch-gap);left:var(--touch-left);right:auto}#mobile .touch-actions button{width:100%;height:var(--touch-key);border-radius:15px;font-size:23px}#mobile #touch-basic{grid-column:1;height:var(--touch-attack);background:#ffddc6f5;border-color:#de9b7d}#mobile #touch-basic .touch-icon{font-size:30px}#mobile #touch-basic.is-held{background:#f5c29d;box-shadow:0 0 0 3px #e49b6744}#mobile #touch-jump{grid-column:2;width:100%;height:calc(var(--touch-key) + 4px);background:#a88bc2f5;color:#fff;border-color:#d9c5ea}#mobile #touch-item{grid-column:3}#mobile #touch-interact{grid-column:4;height:48px}#touch-interact.context-hidden{visibility:hidden}#mobile #touch-interact.is-near{background:#d1efd8;border-color:#79b88c;opacity:1}#joystick{width:calc(var(--touch-key)*2 + 8px);height:calc(var(--touch-key)*2 + 8px);border:2px solid #fff8;background:#8f76a436;box-shadow:inset 0 0 0 10px #fff2}#stick{width:46%;height:46%;border:3px solid #fffaf0;box-shadow:0 3px 8px #4b38532b}.touch-utilities{position:absolute;left:var(--touch-left);bottom:calc(var(--touch-bottom) + var(--touch-attack) + 24px + var(--touch-key)*2 + var(--touch-gap));display:flex;gap:8px}#mobile .touch-utilities button{min-width:48px;width:auto;height:44px;border-radius:11px;padding:4px 8px;font-size:10px}#mobile .touch-utilities button[hidden]{display:none}#mobile #touch-view[aria-pressed=true]{background:#8864ae;color:#fff}.ghost-mode .touch-utilities{bottom:calc(var(--touch-bottom) + 90px)}.touch-settings{margin:18px 0;padding:12px;background:#f0e8f7;border:1px solid #dfd0e9;border-radius:12px}.touch-settings summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:14px;font-weight:900}.touch-settings summary:after{content:"⌄";margin-left:auto;font-size:22px}.touch-settings[open] summary:after{content:"⌃"}.touch-settings p{font-size:12px}.touch-settings label{display:block;margin:12px 0;font-size:13px;font-weight:700}.touch-settings select,.touch-settings input[type=range]{display:block;width:100%;margin-top:7px;min-height:44px}.touch-settings .touch-haptics{display:flex;align-items:center;gap:9px;min-height:44px}.touch-haptics input{width:22px;height:22px}.phone-account-links{display:flex;gap:8px;margin:12px 0}.phone-account-links .chip{flex:1}.name-label.is-self{display:none}.name-label{min-width:58px;max-width:98px;padding:3px 5px;box-shadow:none}.name-label>span:first-child{display:block;overflow:hidden;text-overflow:ellipsis}.name-label:not(.is-targeted) .overhead-hp b{display:none}.name-label:not(.is-targeted) .overhead-hp{height:6px;margin-top:3px}.name-label.is-targeted{max-width:150px;z-index:2}.game-shell[data-phase=SURVIVAL] .top-right [data-portal=profile],.game-shell[data-phase=SURVIVAL] .top-right [data-portal=chat]{display:none}.disaster-banner h2{display:flex;align-items:center;justify-content:center;gap:4px}.event-info{width:44px;height:44px;flex-shrink:0;border:1px solid #ded0e6;border-radius:12px;background:#fff8eced;color:#775d8c;font-weight:900;font-size:20px;pointer-events:auto}.event-details-open .disaster-banner p,.disaster-banner.announcement p{display:block;font-size:11px;line-height:1.4}.shop-overlay{padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.shop-overlay .shop-dialog{display:flex;flex-direction:column;padding:12px;width:min(960px,100%);height:100%;max-height:100%;overflow:hidden;border-radius:18px}.shop-header{position:relative;flex-shrink:0;display:grid;grid-template-columns:1fr auto;align-items:center;padding-right:52px;gap:4px 10px}.shop-header>.eyebrow,.shop-header>h2{display:none}.shop-header .shop-mobile-title{display:block;font-size:20px;grid-column:1;grid-row:1}.shop-header .close{top:0;right:0}.shop-header .shop-balance{grid-column:2;grid-row:1;font-size:12px;padding:0;margin:0}.shop-header .shop-time{grid-column:1/3;grid-row:2;font-size:11px;padding:3px 0;margin:0;background:none}.shop-dialog .shop-tabs{flex-shrink:0;position:static;padding:5px 0 8px;min-height:56px}.shop-dialog #shop-content{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 3px 12px 0}.shop-dialog .build-card{scroll-margin:8px}.shop-dialog .build-guide{margin-top:4px}.shop-dialog .tuning-intro{margin:3px 0 12px}.shop-dialog .parameter-row{padding:8px;flex-wrap:wrap}.parameter-row strong small{font-size:11px}.shop-dialog .shop-purchase{min-height:46px}}@media(pointer:coarse)and (orientation:landscape){.menu-shell .welcome{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(250px,1fr);gap:6px 18px;width:100%;max-width:none;padding-top:0;margin:8px 0 0;align-items:start}.welcome>.eyebrow,.menu-shell .friend-proof{display:none}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{grid-column:1;grid-row:1;font-size:30px;margin:4px 0}.menu-shell .intro{grid-column:1;grid-row:2;margin:0}.menu-shell .intro strong{font-size:13px}.menu-shell .entry-card{grid-column:2;grid-row:1/5;padding:12px}.menu-shell .entry-note{display:none}.menu-shell .mode-actions{gap:8px}.menu-shell .mode-actions .button{min-height:56px;padding:8px 12px}.menu-shell .entry-card>.eyebrow{font-size:8px;margin-bottom:6px}.menu-shell .scene-caption{position:static;align-self:flex-start;margin:12px 0 0;max-width:none}.scene-caption .demo-controls{display:flex;gap:8px}.scene-caption .demo-controls button{min-height:44px}.menu-shell .community-panel{width:100%;margin-top:16px}.disaster-banner h2{font-size:14px;margin:3px 0}.disaster-banner .difficulty{display:block;padding:3px 6px;font-size:8px}}@media(pointer:coarse)and (max-width:700px){.shop-dialog:has(.parameter-upgrades) .shop-grid{grid-template-columns:minmax(0,1fr)}.menu-shell .welcome{gap:6px 12px;grid-template-columns:minmax(160px,.75fr) minmax(240px,1fr)}.welcome h1.menu-slogan,[lang=ru] .welcome h1.menu-slogan,[lang=uk] .welcome h1.menu-slogan{font-size:26px}}#skill-aim-pad[hidden],#skill-cancel[hidden]{display:none}@media(pointer:coarse){#mobile{direction:ltr;--touch-edge:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))}:root[data-touch-layout=mirrored] #mobile{direction:rtl}#joystick{left:auto;right:auto;inset-inline-start:var(--touch-edge)}#mobile .touch-spells{display:block;left:auto;right:auto;inset-inline-end:var(--touch-edge);bottom:var(--touch-bottom);width:calc(var(--touch-attack) + var(--touch-key)*2 + 50px);height:calc(var(--touch-attack) + var(--touch-key)*2 + 42px);pointer-events:none}#mobile .touch-spells button{position:absolute;left:auto;right:auto;border-radius:50%;grid-area:auto}#mobile .touch-spells button:before{content:attr(data-slot-label);position:absolute;top:4px;left:11px;font-size:8px;color:#8f749c;font-weight:900}#mobile #touch-spell-0{inset-inline-end:calc(var(--touch-attack) + 18px);bottom:0}#mobile #touch-spell-1{inset-inline-end:calc(var(--touch-attack) + 4px);bottom:calc(var(--touch-key) + 26px)}#mobile #touch-spell-2{inset-inline-end:0;bottom:calc(var(--touch-attack) + 18px)}#mobile #touch-spell-3{inset-inline-end:0;bottom:calc(var(--touch-attack) + var(--touch-key) + 30px)}#mobile .touch-actions{display:block;left:auto;right:auto;inset-inline-end:var(--touch-edge);width:calc(var(--touch-attack) + var(--touch-key) + 86px);height:calc(var(--touch-key)*3 + 16px);pointer-events:none}#mobile .touch-actions button{position:absolute;grid-area:auto;left:auto;right:auto;width:var(--touch-key);border-radius:50%}#mobile #touch-basic{inset-inline-end:0;bottom:0;width:var(--touch-attack);height:var(--touch-attack)}#mobile #touch-jump{inset-inline-end:calc(var(--touch-attack) + var(--touch-key) + 38px);bottom:0;width:var(--touch-key);height:var(--touch-key)}#mobile #touch-item{inset-inline-end:calc(var(--touch-attack) + var(--touch-key) + 38px);bottom:calc(var(--touch-key) + 8px)}#mobile #touch-interact{inset-inline-end:calc(var(--touch-attack) + var(--touch-key) + 38px);bottom:calc(var(--touch-key)*2 + 16px);width:var(--touch-key);height:var(--touch-key)}#mobile[data-phase=PREPARATION] #touch-basic{visibility:hidden}#mobile[data-phase=PREPARATION] #touch-interact{inset-inline-end:0;bottom:0;width:var(--touch-attack);height:var(--touch-attack)}.touch-utilities{left:auto;right:auto;inset-inline-start:var(--touch-edge);bottom:calc(var(--touch-bottom) + var(--touch-key)*2 + 20px)}.ghost-mode .touch-utilities{bottom:calc(var(--touch-bottom) + var(--touch-key)*2 + 20px)}.player-hud,.tutorial-mode .player-hud{left:var(--touch-left);right:auto}:root[data-touch-layout=mirrored] .player-hud,:root[data-touch-layout=mirrored] .tutorial-mode .player-hud{left:auto;right:var(--touch-right)}#skill-cancel{position:absolute;inset-inline-end:calc(var(--touch-key)*2 + 70px);bottom:calc(var(--touch-bottom) + var(--touch-key)*2 + 20px);display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:60px;border:2px dashed #e294a4;border-radius:18px;background:#fff0f1ed;color:#a9576a;pointer-events:none}#skill-cancel b{font-size:28px;line-height:1}#skill-cancel span{font-size:10px;font-weight:900;text-align:center}#skill-cancel.is-selected{background:#d95d7b;color:#fff;border-color:#fff}#skill-aim-pad{position:fixed;width:128px;height:128px;margin:-64px 0 0 -64px;border:2px solid #83d6eb;border-radius:50%;background:#63bfd327;box-shadow:0 0 0 5px #a8e9fa1c;z-index:21;pointer-events:none;display:grid;place-items:center}#skill-aim-pad i{display:block;width:34px;height:34px;border-radius:50%;border:2px solid #d8f8ff;background:#7acbe5ad}#skill-aim-pad.is-cancelled{border-color:#ed7594;background:#d95d7b22}.is-aiming #joystick{opacity:1}.menu-shell .mode-card{margin-top:0}.menu-shell .welcome h1.menu-slogan{display:block}.menu-shell .welcome .intro{display:block;font-size:12px}.menu-shell .welcome>.community-panel{grid-column:1;grid-row:3;width:100%;margin-top:6px;padding:10px}#mobile{-webkit-touch-callout:none}}@media(pointer:coarse)and (orientation:landscape){.menu-shell>header{display:flex;flex-direction:row;flex-shrink:0}.menu-shell .menu-navigation{display:flex;flex-wrap:nowrap}}@media(pointer:coarse)and (orientation:landscape)and (max-width:700px){.menu-shell>header{gap:8px}.menu-shell .brand{width:120px;flex-shrink:0}.menu-shell .menu-navigation{gap:3px}.menu-shell .menu-navigation>.text-button{width:62px;min-width:0;padding:3px;font-size:9px;white-space:normal;text-align:center}.menu-shell .account-button{width:100px;min-width:100px}}
