.survivor-page{--sg-bg:#10182b;--sg-line:#34405c;--sg-accent:#c9b2fa;--sg-mint:#9fe5db;color:#edf1ff;background:radial-gradient(at 25% 0,#283052 0,#0000 45%),#0d1424;min-height:100dvh;padding:0 max(18px,50vw - 750px);font-family:system-ui,sans-serif}.survivor-page *{box-sizing:border-box}.survivor-page button,.survivor-page a,.survivor-page input{touch-action:manipulation}.survivor-page button{cursor:pointer;font:inherit}.survivor-page button:disabled{opacity:.45;cursor:default}.survivor-page :focus-visible{outline-offset:3px;outline:3px solid #a7ede3}.survivor-header{border-bottom:1px solid #ffffff16;justify-content:space-between;align-items:center;gap:16px;height:76px;display:flex}.survivor-back{color:#bac5dd;font-size:13px;text-decoration:none}.survivor-wordmark{letter-spacing:3px;font:700 14px monospace}.survivor-wordmark b{color:#b8a1e7}.survivor-settings{gap:8px;display:flex}.survivor-settings button{color:#bfc8df;background:#ffffff05;border:1px solid #475071;border-radius:7px;padding:7px 11px;font-size:12px}.survivor-title{justify-content:space-between;align-items:center;padding:35px 0 28px;display:flex}.survivor-kicker{color:#a99dcc;letter-spacing:2px;font:600 10px monospace}.survivor-title h1{letter-spacing:-2px;margin:10px 0 8px;font-size:clamp(28px,3.2vw,47px);font-weight:850;line-height:1.1}.survivor-title h1 em{color:#c3b2f0;font-style:normal}.survivor-title p{color:#9fadc7;margin:0;font-size:14px}.survivor-duration{text-align:right;gap:5px;display:grid}.survivor-duration strong{color:#d5e5ef;font:400 32px monospace}.survivor-duration span{color:#9baac0;font-size:11px}.survivor-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px;display:grid}.survivor-play-column{min-width:0}.survivor-stage{background:#131e36;border:1px solid #64668a;border-radius:14px;height:min(69vh,700px);min-height:540px;position:relative;overflow:hidden;box-shadow:0 20px 60px #0004}.survivor-stage canvas{touch-action:none;width:100%;height:100%;image-rendering:pixelated;display:block}.survivor-hud{pointer-events:none;background:linear-gradient(#0e172dee,#0000);padding:14px 18px;position:absolute;inset:0 0 auto}.survivor-xp{align-items:center;gap:10px;font:12px monospace;display:flex}.survivor-xp b{color:#aeeae2;white-space:nowrap}.survivor-xp>span{background:#0a1128;border:1px solid #616c87;flex:1;height:7px}.survivor-xp i{background:linear-gradient(90deg,#8b73c9,#a8e6dd);height:100%;display:block}.survivor-xp small{color:#9fb1c8;min-width:40px}.survivor-status{justify-content:space-between;align-items:center;gap:10px;margin-top:13px;display:flex}.survivor-health{align-items:center;gap:8px;width:160px;display:flex}.survivor-health img{border:2px solid #a28bcc;border-radius:50%;width:35px;height:35px}.survivor-health>div{flex:1}.survivor-health span{color:#c3ccde;justify-content:space-between;margin-bottom:5px;font:10px monospace;display:flex}.survivor-health b{font-weight:400}.survivor-health i{background:#162138;border-radius:2px;height:6px;display:block;overflow:hidden}.survivor-health em{background:#91dcc1;height:100%;display:block}.survivor-clock{letter-spacing:1px;text-shadow:2px 2px #0b1223;font:700 28px monospace}.survivor-score{text-align:right;gap:2px;width:160px;display:grid}.survivor-score b{color:#ffe0a0;font:700 20px monospace}.survivor-score span{color:#a3b5cb;font-size:10px}.survivor-loadout{gap:5px;margin-top:10px;display:flex}.survivor-loadout>span{color:#dbccff;background:#111c31df;border:1px solid #5b6689;place-items:center;width:29px;height:29px;font-size:18px;display:grid;position:relative}.survivor-loadout small{color:#feefc4;font:9px monospace;position:absolute;bottom:0;right:2px}.survivor-boss{text-align:center;max-width:420px;margin:10px auto 0}.survivor-boss strong{color:#ffd2cf;margin-bottom:5px;font-size:12px;display:block}.survivor-boss>span{background:#241b37;border:1px solid #a9869c;height:9px;display:block}.survivor-boss i{background:linear-gradient(90deg,#bc6591,#f1b89f);height:100%;display:block}.survivor-wave{pointer-events:none;text-align:center;color:#d4e2f0;text-shadow:0 2px 4px #000;background:#0c142489;border-radius:6px;width:fit-content;margin:auto;padding:6px 12px;font-size:11px;position:absolute;bottom:16px;left:0;right:0}.survivor-combo{color:#ffe19a;text-shadow:2px 3px #432e40;pointer-events:none;font:700 34px monospace;position:absolute;top:170px;right:24px}.survivor-combo span{letter-spacing:3px;text-align:right;font:700 11px monospace;display:block}.survivor-evolution{pointer-events:none;color:#f2e6ff;white-space:nowrap;background:#3b315bed;border:1px solid #d7c5ff;border-radius:8px;padding:14px 22px;font-weight:800;position:absolute;top:40%;left:50%;transform:translate(-50%);box-shadow:0 0 40px #b89ce333}.survivor-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a102966;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0;overflow-y:auto}.survivor-panel{text-align:center;background:#131d32f5;border:1px solid #59617f;border-radius:15px;width:min(100%,540px);max-height:100%;padding:26px 28px;overflow:auto;box-shadow:0 15px 70px #0007}.survivor-panel h2{letter-spacing:-1px;margin:9px 0 12px;font-size:26px}.survivor-panel>p{color:#b4c0d6;margin:10px 0 17px;font-size:12px;line-height:1.7}.survivor-hero-icons{justify-content:center;align-items:center;gap:15px;height:65px;margin-bottom:17px;display:flex}.survivor-hero-icons img:first-child{border:2px solid #c2a5ec;border-radius:50%;width:60px;height:60px}.survivor-hero-icons img:last-child{object-fit:cover;object-position:50% 0;clip-path:inset(0 round 10px);width:75px;height:62px}.survivor-hero-icons span{color:#a48ecb}.survivor-name{text-align:left;color:#c9d3e5;margin:17px 0 10px;font-size:12px;display:block}.survivor-name input{color:#f2efff;background:#0b1325;border:1px solid #505d7b;border-radius:7px;width:100%;margin-top:7px;padding:12px 14px;font:14px system-ui;display:block}.survivor-consent{text-align:left;color:#aebbd2;align-items:flex-start;gap:9px;margin:10px 0 18px;font-size:11px;line-height:1.6;display:flex}.survivor-consent input{accent-color:#c3acee;flex-shrink:0;margin-top:3px}.survivor-primary,.survivor-secondary{text-align:center;border-radius:7px;width:100%;text-decoration:none;display:block}.survivor-primary{color:#201b39;background:linear-gradient(100deg,#b7a0ed,#d9c5fc);border:1px solid #dfcfff;padding:13px;font-size:14px!important;font-weight:800!important}.survivor-secondary{color:#c3cee3;background:#ffffff04;border:1px solid #485471;margin-top:9px;padding:11px;font-size:12px!important}.survivor-intro-controls{color:#9aaac4;border-top:1px solid #ffffff13;flex-wrap:wrap;justify-content:center;gap:8px 12px;margin-top:18px;padding-top:14px;font-size:9px;display:flex}.survivor-intro-controls b{color:#c6d1e5;font-weight:500}.survivor-error{color:#ffc0bb!important}.survivor-controls{background:#141e33;border:1px solid #343e58;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding:10px 14px;display:flex}.survivor-key-hint{gap:6px;display:grid}.survivor-key-hint b{color:#bcc7dc;font:11px monospace}.survivor-key-hint span{color:#94a4be;font-size:10px}.survivor-action-buttons{gap:7px;display:flex}.survivor-action-buttons button{color:#e2e8f7;background:#26314b;border:1px solid #525b79;border-radius:7px;gap:3px;min-width:67px;padding:10px;display:grid}.survivor-action-buttons small{color:#a6b3d0;font:10px monospace}.survivor-action-buttons .survivor-burst{min-width:115px}.survivor-action-buttons .is-ready{color:#f8efff;background:#584778;border-color:#bfa3e7}.survivor-action-buttons .is-ready small{color:#e4cffd}.survivor-joystick{touch-action:none;-webkit-user-select:none;user-select:none;background:radial-gradient(#41426355,#142039);border:1px solid #7886a566;border-radius:50%;flex-shrink:0;width:94px;height:94px;display:none;position:relative}.survivor-joystick>span{text-align:center;color:#8b9ab6;width:100%;font-size:9px;position:absolute;bottom:4px}.survivor-joystick i{pointer-events:none;background:#5a5b85aa;border:1px solid #9ca8cb;border-radius:50%;width:34px;height:34px;position:absolute;top:29px;left:29px}.survivor-field-notes{color:#92a5bd;flex-wrap:wrap;justify-content:center;gap:9px 20px;padding:13px 0;font-size:10px;display:flex}.survivor-board{background:#131c2e;border:1px solid #3b435e;border-radius:13px;overflow:hidden}.survivor-board-heading{border-bottom:1px solid #ffffff12;padding:24px 22px 17px}.survivor-board-heading h2{letter-spacing:-.5px;margin:9px 0 7px;font-size:19px}.survivor-board-heading p{color:#91a2be;margin:0;font-size:10px}.survivor-board-message{text-align:center;color:#b4c0d5;padding:35px 18px;font-size:12px}.survivor-board-message button{color:#d7c5ff;background:0 0;border:1px solid #5a5777;border-radius:6px;padding:8px}.survivor-board-empty{text-align:center;padding:35px 20px}.survivor-board-empty>span{color:#b7a8d4;margin-bottom:12px;font-size:40px;display:block}.survivor-board-empty strong{font-size:13px;display:block}.survivor-board-empty p{color:#8e9db5;font-size:11px}.survivor-board ol{margin:7px 0 18px;padding:0 16px;list-style:none}.survivor-board li{border-bottom:1px solid #ffffff0b;align-items:center;gap:10px;padding:13px 0;display:flex}.rank-number{color:#8493b3;font:12px monospace}.survivor-board li:first-child .rank-number,.survivor-board li:first-child>b{color:#f3d390}.survivor-board li>div{flex:1;gap:5px;min-width:0;display:grid}.survivor-board li strong{overflow-wrap:anywhere;font-size:12px}.survivor-board li small{color:#94a6bf;font-size:9px}.survivor-board li>b{color:#bdcbdc;font:700 12px monospace}.survivor-bestiary{background:#172037;border-top:1px solid #ffffff12;padding:20px}.survivor-bestiary h3{color:#a8a0c4;letter-spacing:1px;margin:0 0 17px;font-size:11px}.survivor-bestiary p{grid-template-columns:28px 1fr;gap:4px 8px;margin:13px 0;display:grid}.survivor-bestiary p>span{color:#c3b1ed;grid-row:span 2;font:22px monospace}.survivor-bestiary b{font-size:11px;font-weight:600}.survivor-bestiary small{color:#94a3bd;font-size:9px}.survivor-board-note{color:#8796b0;margin:0;padding:15px 20px;font-size:9px;line-height:1.8}.survivor-footer{text-align:center;color:#71839e;border-top:1px solid #ffffff0a;margin-top:18px;padding:30px 10px 35px;font-size:10px}.survivor-upgrades{grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0;display:grid}.survivor-upgrades button{color:#e9e4f8;text-align:left;background:linear-gradient(#303350,#222940);border:1px solid #6e658f;border-radius:9px;padding:18px 10px;transition:transform .15s,border-color .15s}.survivor-upgrades button:hover{background:#3b395a;border-color:#d2b7ff;transform:translateY(-4px)}.upgrade-icon{color:#cfb9ff;margin-bottom:17px;font-size:32px;display:block}.survivor-upgrades small{color:#aaa5c6;margin-bottom:8px;font:9px monospace;display:block}.survivor-upgrades strong{font-size:14px}.survivor-upgrades p{color:#b3bfd4;margin:9px 0 0;font-size:10px;line-height:1.6}.survivor-recipe{color:#b8a5d4!important;font-size:10px!important}.phase-upgrade .survivor-panel{width:min(100%,640px)}.survivor-final-score{color:#eed9a3;margin:25px 0;font:700 46px monospace;display:block}.survivor-final-score small{letter-spacing:4px;color:#a99aca;margin-top:8px;font:10px monospace;display:block}.survivor-result-stats{justify-content:center;gap:40px;display:flex}.survivor-result-stats>span{color:#d6e3f3;font:20px monospace}.survivor-result-stats small{color:#8fa1bd;margin-top:7px;font:10px system-ui;display:block}.survivor-saved{color:#9de5cb!important}@media (max-width:1050px){.survivor-layout{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.survivor-panel{padding:22px}.survivor-title{padding-top:27px}.survivor-stage{min-height:560px}.survivor-hero-icons{height:44px;margin-bottom:10px}.survivor-hero-icons img:first-child{width:44px;height:44px}.survivor-hero-icons img:last-child{width:55px;height:44px}}@media (max-width:800px){.survivor-layout{grid-template-columns:1fr}.survivor-page{padding:0 12px}.survivor-header{gap:8px;height:57px}.survivor-wordmark{display:none}.survivor-settings{gap:5px}.survivor-settings button{padding:6px 8px;font-size:10px}.survivor-title{padding:23px 3px 19px}.survivor-title h1{font-size:31px}.survivor-title p{font-size:11px}.survivor-title .survivor-kicker{letter-spacing:1.5px;font-size:8px}.survivor-duration strong{font-size:24px}.survivor-duration span{font-size:8px}.survivor-stage{height:64dvh;min-height:520px;max-height:720px}.survivor-overlay{padding:12px}.survivor-panel{padding:22px 18px}.survivor-panel h2{font-size:23px}.survivor-panel>p{font-size:11px}.survivor-hero-icons{display:none}.survivor-name{margin-top:14px}.survivor-consent{font-size:10px}.survivor-joystick{display:block}.survivor-key-hint{display:none}.survivor-controls{padding:9px 10px}.survivor-action-buttons button{min-width:55px;padding:10px 8px;font-size:12px}.survivor-action-buttons .survivor-burst{min-width:92px}.survivor-action-buttons button:last-child{min-width:35px}.survivor-hud{padding:11px 12px}.survivor-health{width:113px}.survivor-health img{width:28px;height:28px}.survivor-health span{font-size:8px}.survivor-score{width:85px}.survivor-score b{font-size:16px}.survivor-clock{font-size:23px}.survivor-combo{font-size:27px;top:160px;right:15px}.survivor-upgrades{grid-template-columns:1fr;gap:8px;margin:15px 0}.survivor-upgrades button{grid-template-columns:33px 1fr;gap:4px 9px;padding:12px 14px;display:grid}.upgrade-icon{grid-row:span 3;margin:0;font-size:26px}.survivor-upgrades small{margin:0}.survivor-upgrades strong{font-size:13px}.survivor-upgrades p{margin:0;font-size:10px}.survivor-recipe{font-size:9px!important}.survivor-field-notes{gap:6px 12px;font-size:9px}.survivor-evolution{padding:12px 17px;font-size:12px}.survivor-board ol{max-height:420px;overflow:auto}.survivor-bestiary{display:none}.survivor-footer{padding-bottom:25px;font-size:9px}.survivor-intro-controls{gap:6px 10px;font-size:8px}.survivor-title{gap:8px}}@media (prefers-reduced-motion:reduce){.survivor-upgrades button{transition:none}.survivor-upgrades button:hover{transform:none}}@media (max-width:800px){.survivor-stage{height:calc(100dvh - 145px);min-height:360px;max-height:720px;scroll-margin-top:8px}.survivor-controls{z-index:5;position:sticky;bottom:6px;box-shadow:0 4px 20px #0008}.survivor-action-buttons{gap:5px}}@media (max-width:370px){.survivor-joystick{width:76px;height:76px}.survivor-joystick i{top:20px;left:20px}.survivor-action-buttons .survivor-burst{min-width:80px}.survivor-action-buttons button{min-width:48px;padding:9px 6px}.survivor-controls{padding:7px}.survivor-duration{display:none}}.survivor-page .survivor-consent input[type=checkbox]{-webkit-appearance:auto;appearance:auto;flex:0 0 15px;width:15px;min-width:15px;max-width:15px;height:15px;margin:2px 0 0;padding:0}.survivor-consent>span{text-align:left;flex:1;min-width:0}.survivor-hero-icons img:last-child{object-fit:contain;image-rendering:pixelated}.survivor-name input{min-width:0}.survivor-page{background:radial-gradient(at 50% 0,#39304d,#0000 48%),#0e1728;padding:0 max(16px,50vw - 700px)}.survivor-header{height:54px}.survivor-title{padding:24px 0 21px}.survivor-title h1{font-size:37px}.survivor-layout{display:block}.survivor-stage{background:#28384b;border-color:#9a8aa6;border-radius:10px;height:calc(100dvh - 164px);min-height:430px;max-height:860px}.survivor-board{max-width:960px;margin:28px auto}.survivor-board ol{grid-template-columns:repeat(2,1fr);gap:0 25px;display:grid}.survivor-bestiary{align-items:center;gap:24px;display:flex}.survivor-bestiary h3{margin:0}.survivor-page:not(.mode-lobby) .survivor-title{display:none}.survivor-page:not(.mode-lobby) .survivor-stage{margin-top:8px}.mode-playing .survivor-board,.mode-paused .survivor-board,.mode-upgrade .survivor-board,.survivor-page:not(.mode-lobby) .survivor-footer,.survivor-page:not(.mode-lobby) .survivor-field-notes{display:none}.survivor-hud{background:linear-gradient(#101c31ed,#101c3180,#0000);padding:10px 16px}.survivor-status{margin-top:8px}.survivor-loadout{margin-top:7px}.survivor-overlay{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#0c15254d}.survivor-panel{background:linear-gradient(145deg,#25314bee,#172238f5);border-color:#9685ac;width:min(100%,620px);padding:22px 28px;box-shadow:0 22px 80px #0009}.survivor-panel>p{margin:8px 0 12px}.survivor-hero-icons{height:62px;margin-bottom:5px}.survivor-hero-icons .survivor-character{width:61px;height:76px;image-rendering:pixelated}.survivor-starters{grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 0;display:grid}.survivor-starters button{color:#d7dfef;text-align:center;background:#142039;border:1px solid #66728c;border-radius:8px;gap:5px;padding:9px 6px;display:grid}.survivor-starters button[aria-pressed=true]{background:#463d56;border-color:#efcd91;box-shadow:inset 0 0 0 1px #efcd9155}.survivor-starters span{color:#ddc0f7;font-size:23px}.survivor-starters strong{font-size:12px}.survivor-starters small{color:#bbc6d7;font-size:9px}.survivor-name{margin-top:9px}.survivor-consent{margin-bottom:11px}.survivor-name input{padding:10px 13px}.survivor-intro-controls{margin-top:11px;padding-top:10px}.survivor-primary{background:linear-gradient(100deg,#bba1e4,#ebd4a5);border-color:#eddbb9}.survivor-rank-tabs{gap:7px;margin-top:14px;display:flex}.survivor-rank-tabs button{color:#cbd7e8;background:#1d2940;border:1px solid #586884;border-radius:6px;padding:7px 12px;font-size:11px}.survivor-rank-tabs button[aria-pressed=true]{color:#fff1f9;background:#514160;border-color:#d6b7ef}.survivor-controls{margin-top:9px;padding:7px 12px}.survivor-action-buttons button{padding:8px 11px}.survivor-wave{color:#e1eaf2;background:#102236d9;border:1px solid #7896a25c;font-size:12px}.survivor-combo{font-size:30px;top:150px}.survivor-boss{margin-top:7px}.survivor-boss strong{font-size:11px}.survivor-boss>span{height:8px}.survivor-upgrades{margin:16px 0}.survivor-upgrades button{min-height:178px}.survivor-upgrades p{font-size:11px}.survivor-recipe{line-height:1.7}@media (max-width:800px){.survivor-page{padding:0 8px}.survivor-header{height:48px}.survivor-stage{height:calc(100dvh - 150px);min-height:390px;max-height:850px}.survivor-panel{padding:16px 15px}.survivor-hero-icons{display:none}.survivor-panel h2{margin:6px 0 9px;font-size:21px}.survivor-starters{gap:6px;margin:10px 0}.survivor-starters button{padding:8px 4px}.survivor-starters strong{font-size:11px}.survivor-starters small{font-size:8px}.survivor-stage canvas.survivor-character{display:none}.survivor-upgrades button{min-height:0}.survivor-board ol{display:block}.survivor-bestiary{display:none}.survivor-title h1{font-size:30px}.survivor-title p{font-size:10px}.survivor-controls{padding:7px 9px}.survivor-joystick{width:88px;height:88px}.survivor-joystick i{top:26px;left:26px}.survivor-action-buttons button{padding:9px 7px}.survivor-wave{max-width:95%;font-size:10px}.survivor-health{width:108px}.survivor-score{width:85px}.survivor-loadout>span{width:25px;height:25px;font-size:16px}.survivor-hud{padding:9px 10px}}@media (max-width:370px){.survivor-joystick{width:74px;height:74px}.survivor-joystick i{top:19px;left:19px}.survivor-starters strong{font-size:10px}.survivor-starters small{font-size:7px}}@media (max-width:800px){.survivor-page:not(.mode-lobby) .survivor-stage{height:min(100dvh - 175px,125vw);min-height:330px;max-height:620px}.survivor-page:not(.mode-lobby) .survivor-controls{margin-top:8px;position:static}.survivor-page:not(.mode-lobby){padding-bottom:12px}.survivor-page:not(.mode-lobby) .survivor-hud{padding:8px}.survivor-page:not(.mode-lobby) .survivor-loadout{margin-top:4px}}@media (min-width:801px){.mode-lobby .survivor-stage{height:max(680px,100dvh - 164px);min-height:680px}}.survivor-hero-icons img.survivor-character{object-fit:contain;clip-path:none;image-rendering:auto;border:0;border-radius:0;width:auto;height:82px}.survivor-health img{object-fit:contain;image-rendering:auto;background:#d9d1ef}.survivor-gear{pointer-events:none;gap:6px;display:flex;position:absolute;top:110px;right:16px}.survivor-gear>span{color:#ffe1a4;background:#10182ddb;border:1px solid #bca8d6;place-items:center;gap:3px;min-width:68px;padding:5px 8px;font-size:22px;display:grid}.survivor-gear small{color:#e0dbef;font-size:9px}.survivor-quick-choice{background:#102038ee;border:1px solid #e4c38d;border-radius:10px;width:min(96%,650px);padding:9px;position:absolute;bottom:42px;left:50%;transform:translate(-50%);box-shadow:0 5px 22px #0008}.survivor-quick-choice>div{justify-content:space-between;gap:8px;padding:0 3px 7px;font-size:11px;display:flex}.survivor-quick-choice>div span{color:#efd5a4;font-size:10px}.survivor-quick-choice section{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.survivor-quick-choice button{text-align:left;color:#f2edff;background:#2d3854;border:1px solid #79839e;border-radius:6px;gap:4px;padding:7px;display:grid}.survivor-quick-choice button:first-child{border-color:#ead49a}.survivor-quick-choice small{color:#e7d59b;font:10px monospace}.survivor-quick-choice b{font-size:12px}.survivor-quick-choice button>span{color:#b9c7de;font-size:10px;line-height:1.35}.survivor-loot-toast{color:#fff0c8;text-align:center;pointer-events:none;background:#34243be8;border:1px solid #ffd490;width:min(90%,520px);padding:12px 16px;font-size:13px;position:absolute;top:33%;left:50%;transform:translate(-50%)}.survivor-combo{top:182px}.survivor-evolution{background:#3d2565eb;border:2px solid #e4c2ff}@media (max-width:800px){.survivor-quick-choice{padding:6px;bottom:33px}.survivor-quick-choice>div{padding-bottom:5px;font-size:9px}.survivor-quick-choice>div span{font-size:8px}.survivor-quick-choice section{gap:4px}.survivor-quick-choice button{gap:3px;padding:5px}.survivor-quick-choice b{font-size:10px}.survivor-quick-choice button>span{font-size:8px;line-height:1.2}.survivor-quick-choice small{font-size:8px}.survivor-gear{gap:4px;top:101px;right:9px}.survivor-gear>span{min-width:50px;padding:3px 5px;font-size:17px}.survivor-gear small{font-size:7px}.survivor-loot-toast{padding:9px;font-size:11px}.survivor-combo{font-size:23px;top:160px}}.survivor-title p a{color:#e9d59d;white-space:nowrap;text-underline-offset:3px;text-decoration:underline}.survivor-clock small{letter-spacing:1px;color:#e2d6ff;font:700 10px system-ui;display:block}.survivor-rank-tabs{flex-wrap:wrap}.survivor-quick-choice{box-sizing:border-box;width:100%;max-height:180px;margin-top:8px;position:static;overflow:auto;transform:none}.survivor-quick-choice section{grid-template-columns:repeat(4,minmax(0,1fr))}.survivor-quick-choice em{color:#ffe0b0;font-size:10px;font-style:normal}.survivor-quick-choice button>span{font-size:11px}.survivor-tree-guide{text-align:left;color:#dbe9ed;margin:12px 0;font-size:12px}.survivor-tree-guide summary{cursor:pointer;color:#efd6ab;border:1px solid #82789d;border-radius:6px;padding:10px}.survivor-tree-guide>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.survivor-tree-guide article{background:#172238;border:1px solid #52657b;border-radius:6px;padding:8px}.survivor-tree-guide p{font-size:11px;line-height:1.55}.survivor-tree-guide small{color:#e0c99b}.survivor-tree-guide h3{font-size:13px}.survivor-panel{max-height:calc(100dvh - 110px);overflow:auto}.survivor-loadout{flex-wrap:wrap;max-width:75%;max-height:62px;overflow:hidden}@media (max-width:800px){.survivor-quick-choice{max-height:170px}.survivor-quick-choice section{scroll-snap-type:x proximity;display:flex;overflow-x:auto}.survivor-quick-choice button{scroll-snap-align:start;flex:0 0 160px;padding:7px}.survivor-quick-choice b{font-size:12px}.survivor-quick-choice button>span{font-size:10px;line-height:1.35}.survivor-quick-choice>div{flex-wrap:wrap;font-size:10px}.survivor-quick-choice>div span{font-size:9px}.survivor-tree-guide>div{grid-template-columns:1fr}.survivor-loadout{max-height:48px}.survivor-panel{max-height:calc(100dvh - 90px)}}.survivor-quick-choice .skill-recipe{color:#dfc4f6;font:10px/1.4 system-ui}.survivor-quick-choice{max-height:210px}@media (max-width:800px){.survivor-quick-choice{max-height:185px}.survivor-quick-choice .skill-recipe{font-size:9px}}.survivor-settings{flex-wrap:wrap}.survivor-settings label{align-items:center;gap:5px;font-size:11px;display:flex}.survivor-settings input{accent-color:#c3a4e9;width:64px}.survivor-reward-toast{color:#d9fff2;pointer-events:none;z-index:8;background:#142f40e8;border:1px solid #a4e6d2;border-radius:12px;max-width:80%;padding:9px 14px;font-size:13px;position:absolute;top:30%;left:50%;transform:translate(-50%)}.survivor-dismiss-reward{z-index:9;color:#e4dcff;background:#1d3045dd;border:1px solid #6b6f91;border-radius:8px;padding:6px 9px;font-size:10px;position:absolute;top:40%;right:10px}.survivor-combo{pointer-events:none}.survivor-loot-toast,.survivor-evolution{pointer-events:none;max-width:80%}@media (max-width:500px){.survivor-settings{gap:4px}.survivor-settings button{padding:5px;font-size:10px}.survivor-settings input{width:45px}.survivor-reward-toast{font-size:11px;top:33%}}@media (prefers-reduced-motion:reduce){.survivor-reward-toast,.survivor-loot-toast,.survivor-evolution,.survivor-combo{transition:none!important;animation:none!important}}.survivor-quick-choice .reward-card{border:2px solid var(--reward);box-shadow:inset 0 0 22px color-mix(in srgb,var(--reward) 15%,transparent);position:relative;overflow:hidden}.tier-growth{--reward:#7bdfa4}.tier-rare{--reward:#c69bff}.tier-jackpot{--reward:#ffd77c}.reward-card:after{content:"";pointer-events:none;background:linear-gradient(115deg,#0000 25%,#fff5 48%,#0000 70%);animation:.7s ease-out reward-sheen;position:absolute;inset:0;transform:translate(-125%)}.recipe-target{background:#ffd77c0d;border-left:3px solid #ffd77c;padding-left:12px}@keyframes reward-sheen{to{transform:translate(125%)}}.motion-reduced:after{animation:none}@media (prefers-reduced-motion:reduce){.reward-card:after{animation:none}}.survivor-overlay .survivor-panel{overscroll-behavior:contain;max-height:100%;scroll-padding:16px}.survivor-tree-guide select{color:#f7e3b4;background:#172238;border:1px solid #82789d;border-radius:5px;max-width:100%;padding:8px}.survivor-quick-choice button.reward-card{border-color:var(--reward);background:linear-gradient(135deg,color-mix(in srgb,var(--reward) 12%,#19253c),#19253c)}.survivor-route{color:#e3fff3;background:#142d37;border:1px solid #9cceba;border-radius:9px;margin:5px 0;padding:8px 12px;font-size:12px}.survivor-route span{margin-top:4px;display:block}.survivor-items{flex-wrap:wrap;gap:5px;margin:5px 0;display:flex}.survivor-items>span{color:#eef7ff;background:#172838;border:1px solid;border-radius:7px;padding:5px 7px;font-size:11px}.survivor-items small{font-size:10px;display:block}.survivor-item-toast{z-index:8;color:#fff;pointer-events:none;background:#152837f2;border:2px solid;border-radius:9px;padding:10px;font-size:12px;position:absolute;top:85px;left:5%;right:5%}.survivor-settings-menu{z-index:40;font-size:12px;position:relative}.survivor-settings-menu>summary{cursor:pointer;border:1px solid #66718d;border-radius:7px;min-height:44px;padding:10px;list-style:none}.survivor-settings-menu>.survivor-settings{background:#17263cef;border:1px solid #78839d;border-radius:8px;width:min(320px,90vw);padding:10px;position:absolute;top:100%;right:0}.survivor-pickup-note{color:#f3eaff;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;z-index:8;background:#15273be8;border:1px solid #c9aee5;border-radius:8px;max-width:calc(100% - 20px);padding:5px 10px;font-size:12px;animation:.25s ease-out reveal-arrive;position:absolute;top:128px;left:50%;overflow:hidden;transform:translate(-50%)}.survivor-inventory{text-align:left;font-size:12px}.survivor-inventory>summary{cursor:pointer;min-height:44px;padding:12px 0}.survivor-inventory p{overflow-wrap:anywhere;line-height:1.5}@media (max-width:900px),(max-height:540px){.survivor-page:not(.mode-lobby){z-index:40;width:100%;height:100dvh;min-height:0;padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px));flex-direction:column;display:flex;position:fixed;inset:0;overflow:hidden}.survivor-page:not(.mode-lobby)>.survivor-header{flex:none;gap:6px;height:46px;min-height:46px}.survivor-page:not(.mode-lobby) .survivor-wordmark{letter-spacing:1px;font-size:10px}.survivor-page:not(.mode-lobby) .survivor-back{font-size:11px}.survivor-page:not(.mode-lobby)>.survivor-title,.survivor-page:not(.mode-lobby) .survivor-board{display:none}.survivor-page:not(.mode-lobby)>.survivor-layout{flex:1;min-height:0;display:block;position:relative}.survivor-page:not(.mode-lobby) .survivor-play-column{grid-template-rows:minmax(0,1fr) calc(104px + env(safe-area-inset-bottom,0px));height:100%;min-height:0;display:grid;position:relative}.survivor-page:not(.mode-lobby) .survivor-stage,.survivor-page.has-choices:not(.mode-lobby) .survivor-stage{border-radius:9px;grid-row:1;width:100%;height:100%;min-height:0;overflow:hidden}.survivor-page:not(.mode-lobby) .survivor-controls{height:100%;min-height:0;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));z-index:20;background:#101a2d;grid-row:2;justify-content:space-between;align-items:center;gap:8px;margin:0;display:flex;position:relative}.survivor-page:not(.mode-lobby) .survivor-joystick{touch-action:none;flex:0 0 84px;width:84px;height:84px}.survivor-page:not(.mode-lobby) .survivor-key-hint{display:none}.survivor-page:not(.mode-lobby) .survivor-action-buttons{gap:6px}.survivor-page:not(.mode-lobby) .survivor-action-buttons button{min-width:44px;min-height:48px;padding:8px;font-size:12px}.survivor-page.mode-playing .survivor-route,.survivor-page.mode-playing .survivor-items,.survivor-page:not(.mode-lobby) .survivor-field-notes{display:none}.survivor-page:not(.mode-lobby) .survivor-quick-choice{bottom:calc(112px + env(safe-area-inset-bottom,0px));z-index:15;overscroll-behavior:contain;width:auto;max-height:min(170px,32dvh);margin:0;padding:6px;position:absolute;left:5px;right:5px}.survivor-quick-choice section{display:flex;overflow-x:auto}.survivor-quick-choice button{flex:0 0 155px}.survivor-quick-choice button>span,.survivor-quick-choice .skill-recipe{display:none}.survivor-quick-choice button:focus-visible{outline-offset:-3px}.survivor-page:not(.mode-lobby) .survivor-hud{padding:7px 9px}.survivor-page:not(.mode-lobby) .survivor-status{margin-top:5px}.survivor-page:not(.mode-lobby) .survivor-loadout{max-height:29px;margin-top:5px}.survivor-page:not(.mode-lobby) .survivor-gear{top:94px;right:8px}.survivor-page:not(.mode-lobby) .survivor-gear>span{width:30px;min-width:30px;height:30px;padding:2px}.survivor-page:not(.mode-lobby) .survivor-gear small{display:none}.survivor-page:not(.mode-lobby) .survivor-pickup-note{max-width:calc(100% - 16px);font-size:11px;top:129px}.survivor-page:not(.mode-lobby) .survivor-overlay{z-index:25;padding:8px}.survivor-page:not(.mode-lobby) .survivor-panel{overscroll-behavior:contain;max-height:100%;padding:14px}.survivor-page:not(.mode-lobby) .survivor-settings-menu>.survivor-settings{max-height:calc(100dvh - 180px);overflow:auto}}@media (max-height:440px){.survivor-page:not(.mode-lobby) .survivor-play-column{grid-template-rows:minmax(0,1fr) calc(82px + env(safe-area-inset-bottom,0px))}.survivor-page:not(.mode-lobby) .survivor-joystick{flex-basis:68px;width:68px;height:68px}.survivor-page:not(.mode-lobby) .survivor-quick-choice{bottom:calc(88px + env(safe-area-inset-bottom,0px))}.survivor-page:not(.mode-lobby) .survivor-pickup-note{top:90px}.survivor-page:not(.mode-lobby) .survivor-loadout{display:none}.survivor-page:not(.mode-lobby) .survivor-gear{top:58px}}@media (prefers-reduced-motion:reduce){.survivor-pickup-note{animation:none}}@media (max-width:900px),(max-height:540px){.survivor-page:not(.mode-lobby) .survivor-quick-choice button>span:first-of-type{font-size:10px;line-height:1.3;display:block}.survivor-page:not(.mode-lobby){box-sizing:border-box}.survivor-page:not(.mode-lobby)>.survivor-layout,.survivor-page:not(.mode-lobby) .survivor-play-column{margin:0;padding:0}.survivor-page:not(.mode-lobby) .survivor-stage{margin:0}.survivor-page:not(.mode-lobby) .survivor-controls{inset:auto}.survivor-page:not(.mode-lobby) .survivor-joystick{display:block}.survivor-page:not(.mode-lobby) .survivor-joystick i{top:calc(50% - 17px);left:calc(50% - 17px)}}.survivor-play-column{position:relative}.survivor-page.mode-playing .survivor-route,.survivor-page.mode-playing .survivor-items{display:none}.survivor-quick-choice{z-index:15;width:auto;max-height:175px;margin:0;position:absolute;bottom:84px;left:8px;right:8px;overflow:auto;box-shadow:0 8px 28px #0008}.survivor-quick-choice section{gap:8px;display:flex;overflow-x:auto}.survivor-quick-choice button{flex:0 0 200px;min-width:0}.survivor-quick-choice button>span:not(:first-of-type),.survivor-quick-choice .skill-recipe{display:none}.survivor-pickup-note{white-space:normal;text-align:center;text-wrap:balance;max-width:min(560px,100% - 20px);max-height:48px;line-height:1.35}.survivor-pickup-note.tier-2{color:#fff0bb;background:#463414ed;border:2px solid #ffe08c;box-shadow:0 0 18px #ffc85744}.survivor-pickup-note.tier-1{border-color:#c9a3ff;box-shadow:0 0 12px #b18cff22}.mode-result .survivor-panel:focus{outline:none}@media (max-width:900px),(max-height:540px){.survivor-page:not(.mode-lobby) .survivor-quick-choice{bottom:calc(112px + env(safe-area-inset-bottom,0px));max-height:min(170px,32dvh)}.survivor-quick-choice button{flex-basis:155px}}@media (max-height:440px){.survivor-page:not(.mode-lobby) .survivor-quick-choice{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}html:has(.survivor-page){scrollbar-gutter:stable}@supports not (scrollbar-gutter:stable){html:has(.survivor-page){overflow-y:scroll}}
