@font-face{font-family:Gowun Dodum;font-style:normal;font-weight:400;font-display:swap;src:url(../assets/gowun-dodum.woff2) format("woff2")}:root{font-family:Noto Sans KR,system-ui,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,sans-serif;color:#e3e6f2;background:#10131d;font-synthesis:none;--accent: #9bbcff;--muted: #81889f;--line: #2b3043;--character: url(../assets/hiyo-sheet.png)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 35% 10%,#20203955,transparent 60%),#10131d}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #c6d6ff;outline-offset:4px}button{transition:background .16s,border-color .16s,transform .16s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}button .icon{pointer-events:none}button>*{pointer-events:none}.site-shell{max-width:1500px;margin:auto;padding:0 46px}.site-header{height:100px;border-bottom:1px solid #292d3c;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center}.brand>.icon{width:34px;height:34px;color:#b7bafd;filter:drop-shadow(0 0 13px #9794eb55)}.brand>span{font-family:Georgia,serif;font-size:24px;letter-spacing:4px}.brand small{display:block;font-family:inherit;font-size:8px;color:#8a8aab;letter-spacing:2.3px;margin-top:6px}.header-right{display:flex;align-items:center;gap:26px}.fan-badge{display:flex;align-items:center;gap:8px;font-size:12px;color:#a7aec6}.fan-badge i,#status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a5cbbb;box-shadow:0 0 9px #a5cbbb33}.quiet-button,.icon-button{border:0;color:#a5abc2;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px}.quiet-button{font-size:12px}.quiet-button .icon{width:16px}.icon-button{width:34px;height:34px;border:1px solid #303549;border-radius:8px}.quiet-button:hover,.icon-button:hover{color:#ecedff;background:#272a3c}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 24px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#9290b4}.page-heading h1{font-size:28px;letter-spacing:-1.3px;margin:8px 0 0;line-height:1.2;font-weight:700}.page-heading h1 span{font-size:13px;color:#9298ad;font-weight:400;margin-left:16px;letter-spacing:0}.version-pill{font-size:11px;padding:9px 13px;border:1px solid #333246;color:#b7b2d5;border-radius:20px;background:#222033}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:22px}.game-panel{border:1px solid #383b51;border-radius:13px;overflow:hidden;background:#191d2c;box-shadow:0 18px 70px #0003;align-self:start}.hud{height:76px;display:flex;align-items:center;gap:22px;padding:0 22px;background:linear-gradient(100deg,#222537,#1e2232);border-bottom:1px solid #3b3e54}.player-hud{display:flex;gap:10px;align-items:center;flex:1}.portrait{height:44px;width:44px;background-image:var(--character);background-size:176px 176px;background-position:0 0;background-color:#343954;border:1px solid #596182;border-radius:50%;image-rendering:pixelated}.health-info{width:150px}.health-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:7px}.health-label b{font-size:12px}.health-label span{font-size:10px;color:#aeb5cd;font-variant-numeric:tabular-nums}.health-track{height:8px;background:#101522;border:1px solid #414159;border-radius:3px;overflow:hidden}.health-track>div{height:100%;background:linear-gradient(90deg,#d38fae,#e4b0c6);box-shadow:0 0 8px #d78eaa77;transition:width .12s}.room-hud{border-left:1px solid #3a3d51;padding-left:22px;display:flex;flex-direction:column;gap:4px}.room-hud span,.dash-hud span{font-size:9px;color:#939cb5}.room-hud b{font-size:15px;letter-spacing:1px;font-variant-numeric:tabular-nums}.dash-hud{position:relative;display:flex;align-items:center;gap:8px;padding-bottom:5px;min-width:99px}.dash-hud>.icon{color:#b8b3df;width:22px}.dash-hud>div{display:flex;flex-direction:column;gap:4px}.dash-hud b{font-size:11px;color:#bec9e2;font-weight:500}.dash-hud kbd{font-size:7px;padding:0 3px;border-radius:2px;margin-left:3px}.dash-track{position:absolute;left:30px;right:0;bottom:-4px;height:3px;background:#353b51}.dash-track i{display:block;background:#b6b1e0;height:3px}.time-hud{display:flex;align-items:center;gap:8px;font-size:13px;font-variant-numeric:tabular-nums}.time-hud .icon{width:15px;color:#8992ab}.time-hud b{font-weight:500}.hud>.icon-button{width:29px;height:29px}.hud>.icon-button .icon{width:15px}.stage-wrap{position:relative;aspect-ratio:960/600;background:#1a1d2b;isolation:isolate}#game-canvas{position:absolute;inset:0}#game-canvas canvas{display:block!important;width:100%!important;height:100%!important;image-rendering:pixelated;cursor:crosshair}#overlay{position:absolute;inset:0;z-index:4}#overlay.empty{pointer-events:none}.modal-overlay{display:flex;align-items:center;justify-content:center;background:#101324ca;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:18px;overflow:auto}.title-overlay{background:linear-gradient(90deg,#171a2de8 0%,#191a2ce0 28%,#191a2c55 57%,transparent 75%)}.title-copy{position:absolute;top:12%;left:7.2%;max-width:55%}.chapter-tag{display:flex;align-items:center;gap:7px;color:#d3d0e9;font-size:11px;letter-spacing:1px}.chapter-tag .icon{width:14px;height:14px}.title-english{display:block;font-family:Georgia,serif;font-size:10px;color:#9196b2;margin:23px 0 1px;letter-spacing:4px}.title-copy h2{font-family:Gowun Dodum,serif;font-size:clamp(36px,4.6vw,70px);font-weight:400;letter-spacing:1px;margin:0;color:#f0edff;text-shadow:0 2px 18px #b9b3ff33;line-height:1.35}.title-copy h2 i{font-size:22px;color:#bdb0ef;vertical-align:top;margin-left:6px;font-style:normal}.title-copy>p{font-family:Gowun Dodum,sans-serif;font-size:clamp(16px,1.7vw,24px);line-height:1.65;color:#d1d2e8;margin:12px 0}.title-description{font-size:11px;line-height:1.9;color:#9ca5bd}.primary-button{display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid #b0c6fc;background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 78%,white),var(--accent));color:#252b48;border-radius:6px;padding:12px 23px;font-size:12px;font-weight:700;box-shadow:0 4px 20px #93b0ff14}.primary-button:not(:disabled):hover{background:linear-gradient(110deg,#cee0ff,#b6c8ff);box-shadow:0 4px 24px #93b0ff33}.primary-button:disabled{opacity:.35}.primary-button .icon{width:17px;height:17px}.start-button{min-width:230px;margin-top:24px;justify-content:space-between;padding:14px 20px;font-size:13px}.run-details{display:block;font-size:8px;color:#8690a9;margin-top:12px;letter-spacing:.2px}.run-details i{font-style:normal;margin:0 6px}.hero-label{position:absolute;left:70%;top:73%;transform:translate(-50%);text-align:center;white-space:nowrap}.hero-label>span{font-size:7px;letter-spacing:2px;color:#9da9c9}.hero-label>b{display:block;margin-top:8px;font-family:Gowun Dodum,sans-serif;font-size:18px;letter-spacing:3px;color:#dddff4;font-weight:400}.hero-label .icon{width:12px;height:12px;color:#d0c4fa}.title-bottom{position:absolute;bottom:5%;left:7.2%;font-size:9px;color:#9aa0b9;display:flex;align-items:center;gap:8px}.title-bottom .icon{width:13px;height:13px;color:#bfb0dd}.game-status{height:40px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #36394e;background:#1d2131;font-size:10px;color:#a0a8c1}.game-status>span{display:flex;align-items:center;gap:8px}.status-right{font-size:9px;color:#8189a4}.status-right .icon{width:12px;height:12px}aside{display:flex;flex-direction:column;gap:17px}.side-card{border:1px solid #2e3346;border-radius:10px;background:linear-gradient(130deg,#1c2030,#181c2a);padding:20px 18px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.card-heading h2{font-size:12px;font-weight:600;margin:0}.card-heading>span{font-size:8px;color:#8790a9;letter-spacing:1px}.journey-step{position:relative;display:flex;gap:12px;align-items:center;padding-bottom:24px}.journey-step:not(:last-child):before{content:"";position:absolute;width:1px;left:14px;top:30px;bottom:0;background:#36374e}.step-number{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #383e53;border-radius:8px;color:#7d859d;background:#222739;font-size:9px;z-index:1}.step-number .icon{width:14px;height:14px}.journey-step>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.journey-step span{font-size:8px;color:#69728b;letter-spacing:.6px}.journey-step b{font-size:11px;color:#969eb6;font-weight:500}.journey-step.current .step-number{color:#c5d5ff;border-color:#717eb0;background:#35405c;box-shadow:0 0 15px #a2bcff0d}.journey-step.current b{color:#dce4ff}.journey-step.current span{color:#919fc6}.journey-step.current>i{position:absolute;right:0;width:5px;height:5px;border-radius:50%;background:#abc3ff}.journey-step.complete .step-number{color:#9fc8b1;border-color:#5c7d72}.journey-step:last-child{padding-bottom:0}.journey-note{display:flex;align-items:center;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid #303448}.journey-note>.icon{color:#727c98;width:17px}.journey-note p{font-size:9px;line-height:1.8;color:#868fa9;margin:0}.relic-card .card-heading{margin-bottom:16px}.mini-board{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;max-width:161px;margin:0 auto}.mini-cell{aspect-ratio:1;position:relative;border:1px solid #373d53;border-radius:5px;background:#24293b;display:flex;align-items:center;justify-content:center}.mini-cell .icon{width:22px;height:22px}.mini-cell>i{font-style:normal;color:#444b63;font-size:17px;font-weight:300}.mini-cell.boosted{border-color:#8c83b2;background:#34334b}.mini-cell>b{position:absolute;right:3px;top:2px;font-size:8px;color:#dbc599}.board-caption{font-size:9px;margin:14px 0 0;color:#919ab5;text-align:center;white-space:nowrap}.board-caption>.icon{width:13px;height:13px;margin-right:3px;color:#b3a2da}.board-caption em{font-style:normal;color:#c9b9e6}.side-divider{height:1px;background:#303448;margin:16px 0 13px}.side-tip{font-size:10px;line-height:1.9;color:#aeb5ca}.side-tip span{font-size:8px;color:#7f89a3}.best-record{display:flex;align-items:center;gap:7px;font-size:9px;color:#838ba6;padding:0 4px}.best-record>.icon{width:13px;height:13px;color:#b2a07e}.best-record>b{margin-left:auto;color:#b7bdd0;font-size:8px;font-weight:500}.control-strip{display:flex;align-items:center;gap:30px;min-height:70px;padding:4px 0;color:#9da5bc;font-size:10px}.control-label{font-size:8px;letter-spacing:1.4px;color:#646d86}.control-strip>div{display:flex;align-items:center;gap:4px}.control-strip span{margin-left:5px}.control-strip small{color:#656f89;font-size:9px;margin-left:3px}kbd{display:inline-flex;align-items:center;justify-content:center;background:#24293b;border:1px solid #41475d;border-bottom-width:2px;border-radius:4px;padding:3px 5px;font-family:inherit;font-size:9px;color:#b4bed6;min-width:20px}.control-strip .icon{width:17px;height:17px;color:#98a4c1}.control-strip div:nth-child(4) kbd{padding:3px 10px}footer{border-top:1px solid #272c3b;display:flex;align-items:center;justify-content:space-between;min-height:70px;font-size:9px;color:#646e85}footer i{margin:0 10px;font-style:normal;color:#8a809e}.boss-hud{position:absolute;top:17px;left:29%;width:42%;text-align:center;z-index:2}.boss-hud[hidden]{display:none}.boss-hud>span{display:block;font-size:7px;color:#c6abc8;letter-spacing:2px}.boss-hud>b{display:block;font-size:12px;margin:3px 0 7px;font-weight:500;text-shadow:0 1px 5px #000}.boss-hud>div{height:7px;background:#21182d;border:1px solid #9d749f;padding:1px}.boss-hud i{display:block;height:3px;background:linear-gradient(90deg,#b180c5,#e0aecf)}#room-toast{position:absolute;left:50%;top:29%;text-align:center;transform:translate(-50%);opacity:0;transition:opacity .3s;pointer-events:none;text-shadow:0 2px 6px #111;z-index:3}#room-toast.visible{opacity:1}#room-toast>span{display:block;font-size:9px;letter-spacing:4px;color:#c1c3e3}#room-toast>b{display:block;font-family:Gowun Dodum,sans-serif;font-weight:400;font-size:24px;margin-top:7px}.exit-hint{position:absolute;bottom:23px;width:100%;text-align:center;font-size:12px;color:#bccddc;text-shadow:0 1px 8px #000}.exit-hint b{display:inline-block;border:1px solid #839eaa;background:#253d45d9;border-radius:6px;padding:9px 14px;margin-left:8px;color:#c9ede2}.dialog{width:400px;max-width:95%;text-align:center;border:1px solid #4a4b6d;background:linear-gradient(140deg,#292c44,#202337);border-radius:12px;padding:30px 38px;box-shadow:0 25px 80px #0006}.dialog-emblem{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border:1px solid #737396;border-radius:50%;margin:0 auto 20px;background:radial-gradient(circle,#74719a35,transparent)}.dialog-emblem>.icon{width:30px;height:30px;color:#c2bce8}.dialog-emblem.gold{border-color:#b8a475}.dialog-emblem.gold>.icon{color:#edd7a3}.dialog h2{font-family:Gowun Dodum,sans-serif;font-size:27px;font-weight:400;margin:10px 0 12px}.dialog p{font-size:11px;color:#a8b0c9;line-height:1.8}.dialog .primary-button{width:100%;margin-top:23px}.secondary-button{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #454c69;background:#30364d;padding:10px;border-radius:6px;color:#c5cce2;font-size:11px;margin-top:10px}.secondary-button .icon{width:15px;height:15px}.text-button{border:0;background:none;color:#a4aec6;font-size:10px;padding:14px 20px}.dialog>small{display:block;color:#737f9d;font-size:9px;margin-top:7px}.result-dialog{width:530px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #43475f;border-bottom:1px solid #43475f;margin-top:23px;padding:20px 0}.result-stats>div+div{border-left:1px solid #43475f}.result-stats span{display:block;font-size:9px;color:#939eb8}.result-stats b{display:block;font-size:25px;color:#d9e3ff;margin-top:7px;font-variant-numeric:tabular-nums}.result-stats small{font-size:12px;color:#909ab6}.guide-dialog{width:520px;padding:22px 35px}.guide-dialog .dialog-emblem{width:42px;height:42px;margin-bottom:10px}.guide-dialog .dialog-emblem .icon{width:22px;height:22px}.guide-dialog h2{font-size:25px}.guide-rows{text-align:left;border-top:1px solid #40445c;border-bottom:1px solid #40445c;padding:5px 0;margin:15px 0}.guide-rows kbd{font-size:9px;min-width:110px;margin-right:13px}.guide-rows small{padding-left:130px;color:#8290ac;font-size:9px}.guide-note{text-align:left;font-size:10px;color:#abb6cf;line-height:1.9}.guide-dialog .primary-button{margin-top:18px}.reward-dialog{width:850px;max-width:100%;background:linear-gradient(145deg,#272b42,#1f2439);border:1px solid #505674;border-radius:10px;padding:23px 25px;box-shadow:0 20px 90px #0007}.reward-heading{display:flex;align-items:center;justify-content:space-between}.reward-heading h2{font-family:Gowun Dodum,sans-serif;font-size:25px;font-weight:400;margin:5px 0 0}.reward-heading .eyebrow{font-size:8px;letter-spacing:2px}.heal-badge{display:flex;align-items:center;gap:6px;background:#334039;color:#b8d4bc;border:1px solid #526355;border-radius:20px;padding:7px 10px;font-size:9px}.heal-badge .icon{width:12px;height:12px}.reward-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:19px 0 22px}.reward-choice{display:flex;align-items:center;text-align:left;gap:10px;padding:12px 10px;border:1px solid #4b516d;border-radius:6px;background:#30354e;color:#dce3f7;min-width:0}.reward-choice:not(:disabled):hover{background:#3d4461;border-color:#9daacb}.reward-choice:disabled:not(.chosen){opacity:.42}.reward-choice.chosen{background:#37445c;border-color:#b7c8eb}.reward-choice>span:nth-child(2){flex:1}.reward-choice b{display:block;font-size:11px;font-weight:500}.reward-choice small{display:block;font-size:8px;color:#a4aec8;margin-top:5px;white-space:nowrap}.reward-choice>i{font-size:16px;color:#9aa8c7;font-style:normal}.reward-choice>i>.icon{width:15px;height:15px}.item-icon{width:33px;height:37px;border:1px solid color-mix(in srgb,var(--item-color) 40%,transparent);border-radius:6px;background:color-mix(in srgb,var(--item-color) 10%,transparent);display:flex;align-items:center;justify-content:center;color:var(--item-color)}.item-icon>.icon{width:21px;height:21px}.workbench{display:grid;grid-template-columns:190px 1fr 225px;gap:23px}.section-label{display:flex;align-items:center;font-size:8px;color:#7885a4;gap:7px;margin-bottom:15px}.section-label b{font-size:11px;color:#c7cfe5;font-weight:500}.section-label>span{margin-left:auto;font-size:9px;color:#939eb9}.relic-board{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.board-cell{aspect-ratio:1;position:relative;border:1px solid #434a65;background:#252b41;border-radius:5px;color:#66718d;display:flex;align-items:center;justify-content:center}.board-cell:hover{background:#333b56;border-color:#8899bf}.board-cell>small{position:absolute;top:4px;left:6px;font-size:8px;color:#606c88}.board-cell>i{font-style:normal;font-size:20px;font-weight:300}.board-cell>.icon,.board-cell>span>.icon{width:29px;height:29px}.board-cell.boosted{border-color:#8b7bab;background:#38334c}.board-cell>b{position:absolute;top:3px;right:5px;font-size:10px;color:#dbc79a}.board-cell.selected{outline:2px solid #c4d7ff;outline-offset:2px}.board-cell.affected{background:#4b4164;border-color:#d3bafb;box-shadow:inset 0 0 15px #c4a5f722}.board-cell.available{border-style:dashed;border-color:#99b3c1;background:#33434d}.board-cell.available>i{color:#a4c2ce}.item-detail{border-left:1px solid #424761;border-right:1px solid #424761;padding:0 20px;display:flex;flex-direction:column;min-height:225px}.detail-icon>.icon{width:26px;height:26px;margin-bottom:8px}.item-detail h3{font-size:12px;font-weight:500;margin:0}.item-detail p{font-size:9px;line-height:1.8;color:#a0abc4;margin:8px 0 12px}.effect-line{font-size:8px;color:#909bb5;margin-bottom:8px;display:flex;justify-content:space-between;gap:7px}.effect-line>b{font-size:8px;color:#c6d0e7;font-weight:400}.effect-line.boost-text>b,.actual-effect{color:#d6c1f2}.actual-effect{font-size:9px;padding:6px;background:#443954;border-radius:3px}.arrangement-tip{margin-top:auto;padding-top:10px;color:#919ebc;font-size:8px;line-height:1.8}.arrangement-tip strong{color:#c6d8f4}.detail-placeholder{padding-top:12px;text-align:center}.detail-placeholder>.icon{width:30px;height:30px;color:#8a84ab;margin-bottom:15px}.detail-placeholder h3{font-size:10px;color:#b4b9d0}.final-stats .section-label{margin-bottom:12px}.stat-row{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid #343b52;font-size:9px}.stat-row>span{display:flex;align-items:center;gap:7px;color:#a5b2ca}.stat-row .icon{width:12px;height:12px;color:#8b9abb}.stat-row b{font-weight:500;font-size:10px;color:#d0e0ff;min-width:48px;text-align:right}.stat-row small{color:#677693;font-size:8px}.final-stats>p{font-size:8px;color:#7e8ba7;margin-top:12px}.reward-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #41475e;padding-top:17px;margin-top:20px;gap:15px}.reward-footer>span{font-size:9px;color:#a1b0cb}.reward-footer .primary-button{font-size:10px;padding:10px 18px;min-width:140px}.reward-footer .icon{width:13px;height:13px}@media(min-width:1550px){.site-shell{padding:0 34px}.page-heading{margin-top:38px;margin-bottom:28px}.site-header{height:110px}}@media(max-width:1250px){.site-shell{padding:0 26px}.game-layout{grid-template-columns:minmax(0,1fr) 214px;gap:16px}.side-card{padding:16px 14px}.hud{gap:14px;padding:0 14px;height:67px}.health-info{width:112px}.room-hud{padding-left:13px}.time-hud{gap:4px;font-size:11px}.title-copy{top:8%}.title-english{margin-top:16px}.title-copy>p{margin:8px 0}.start-button{margin-top:16px;min-width:205px;padding:12px 16px}.journey-step{padding-bottom:19px}.relic-card{padding-top:15px;padding-bottom:15px}.mini-board{max-width:140px}.board-caption{font-size:8px}.side-tip{font-size:9px}.side-tip span{font-size:7px}.control-strip{gap:20px}.status-right{display:none}.modal-overlay{padding:10px}.reward-dialog{padding:17px}.workbench{grid-template-columns:155px 1fr 183px;gap:16px}.item-detail{padding:0 14px;min-height:205px}.reward-cards{margin:13px 0 16px;gap:7px}.reward-choice{gap:7px;padding:9px 7px}.reward-choice b{font-size:10px}.reward-choice small{font-size:7px}.item-icon{width:28px;height:33px}.reward-footer{margin-top:15px;padding-top:13px}.reward-heading h2{font-size:22px}.reward-footer>span{font-size:8px}.section-label{margin-bottom:12px}.stat-row{padding:6px 0;font-size:8px}.stat-row b{font-size:9px}.heal-badge{font-size:8px}.dialog{padding:24px 30px}.dialog-emblem{width:48px;height:48px;margin-bottom:14px}}@media(max-width:1020px){.game-layout{grid-template-columns:1fr}aside{display:none}.site-header{height:80px}.page-heading{margin:25px 0 20px}.title-copy{top:12%}.title-copy h2{font-size:60px}.title-copy>p{font-size:23px;margin:12px 0}.title-english,.start-button{margin-top:22px}.hud{gap:25px}.health-info{width:155px}.workbench{grid-template-columns:190px 1fr 215px;gap:22px}.reward-dialog{padding:22px}.control-strip{justify-content:space-between;gap:5px}.control-label{display:none}.reward-cards{margin:18px 0}.reward-choice{padding:13px 10px}.reward-choice b{font-size:11px}.reward-choice small{font-size:8px}.stat-row{padding:8px 0}.item-detail{min-height:225px}}@media(max-width:720px){.site-shell{padding:0 12px}.site-header{height:70px}.brand>span{font-size:18px;letter-spacing:3px}.brand small{font-size:6px}.brand>.icon{width:25px}.header-right{gap:12px}.fan-badge,.quiet-button span,.version-pill{display:none}.page-heading h1{font-size:24px}.page-heading h1 span{font-size:10px;margin-left:10px}.page-heading .eyebrow{font-size:7px}.hud{gap:10px;height:61px;padding:0 10px}.health-info{width:92px}.portrait{width:34px;height:34px;background-size:136px 136px}.health-label b{font-size:10px}.health-label span{font-size:8px}.room-hud{padding-left:8px}.room-hud b{font-size:11px}.dash-hud{min-width:75px;gap:4px}.dash-hud>.icon{width:16px}.dash-hud span{font-size:7px}.dash-hud kbd{display:none}.dash-hud b{font-size:9px}.dash-track{left:21px}.time-hud{font-size:10px}.time-hud>.icon{display:none}.title-copy{top:8%}.title-english{margin-top:10px;font-size:8px}.chapter-tag{font-size:8px}.title-copy h2{font-size:42px}.title-copy>p{font-size:16px;line-height:1.5;margin:7px 0}.title-description{font-size:8px}.start-button{min-width:170px;margin-top:13px;font-size:10px;padding:10px 12px}.run-details{font-size:6px;margin-top:8px}.title-bottom{font-size:7px;bottom:3%}.hero-label>span{font-size:5px}.hero-label>b{font-size:14px}.control-strip{flex-wrap:wrap;justify-content:center;gap:12px 24px;padding:18px 0;font-size:9px}.control-strip small{display:none}.game-status{height:33px;padding:0 10px;font-size:8px}footer{font-size:7px;gap:12px}.modal-overlay{align-items:flex-start;padding:12px}.dialog{align-self:center;padding:17px 25px}.dialog-emblem{display:none}.dialog h2{font-size:23px}.dialog p{font-size:10px}.dialog .primary-button{margin-top:13px}.reward-dialog{padding:14px}.reward-heading h2{font-size:20px}.heal-badge{font-size:6px;padding:5px 7px}.reward-cards{gap:5px;margin:13px 0}.reward-choice{padding:8px 5px;gap:5px}.reward-choice b{font-size:9px}.reward-choice small{font-size:6px}.reward-choice>i{display:none}.item-icon{width:22px;height:28px}.item-icon .icon{width:16px}.workbench{grid-template-columns:130px 1fr;gap:15px}.final-stats{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.final-stats .section-label,.final-stats>p{grid-column:1/-1}.item-detail{padding:0 0 0 14px;border-right:0;min-height:180px}.board-cell .icon{width:24px!important;height:24px!important}.reward-footer>span{font-size:7px}.reward-footer .primary-button{min-width:100px;font-size:9px;padding:8px}.guide-rows p{font-size:8px}.guide-rows kbd{font-size:7px;min-width:87px}.guide-rows small{padding-left:0}.guide-note{font-size:8px}.guide-dialog h2{margin-top:0}.result-stats{margin-top:15px;padding:13px 0}.result-stats b{font-size:21px}.boss-hud{top:9px}.boss-hud b{font-size:9px}.boss-hud span{font-size:6px}#room-toast b{font-size:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-height:850px)and (min-width:1021px){.site-shell{max-width:min(1500px,calc((100dvh - 280px)*1.6 + 292px));padding:0 26px}.site-header{height:70px}.page-heading{margin:18px 0 17px}.hud{height:64px;gap:13px;padding:0 13px}.health-info{width:110px}.game-status{height:32px}.game-layout{grid-template-columns:minmax(0,1fr) 214px;gap:16px}.title-copy{top:9%}.title-copy h2{font-size:52px}.title-copy>p{font-size:18px;margin:8px 0;line-height:1.5}.title-english{margin-top:15px}.start-button{margin-top:16px;padding:12px 16px;min-width:205px}.journey-step{padding-bottom:13px}.journey-note,.side-tip,.side-divider{display:none}.side-card{padding:16px 14px}.card-heading{margin-bottom:15px}.mini-board{max-width:132px}.board-caption{font-size:8px}.status-right{display:none}.reward-dialog{padding:16px}.reward-heading h2{font-size:21px}.reward-cards{gap:7px;margin:12px 0 15px}.reward-choice{padding:8px 6px;gap:6px}.reward-choice b{font-size:10px}.reward-choice small{font-size:7px}.item-icon{width:27px;height:32px}.workbench{grid-template-columns:145px 1fr 175px;gap:14px}.item-detail{padding:0 12px;min-height:197px}.stat-row{padding:6px 0;font-size:8px}.stat-row b{font-size:9px}.reward-footer{margin-top:12px;padding-top:12px}.reward-footer>span{font-size:8px}.heal-badge{font-size:8px}}@media(max-height:850px)and (max-width:1020px){.site-header{height:65px}.page-heading{margin:18px 0 15px}.game-layout{max-width:calc((100dvh - 260px)*1.6);margin:0 auto}.title-copy{top:8%}.title-copy h2{font-size:44px}.title-copy>p{font-size:17px;margin:8px 0}.title-english{margin-top:12px}.start-button{margin-top:14px}}.reward-portal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;overflow-y:auto;background:#101423db;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.reward-portal[hidden],#overlay[hidden]{display:none}body:has(.reward-open){overflow:hidden}.reward-expanded{width:min(1220px,100%);max-width:none;max-height:calc(100dvh - 40px);overflow-y:auto;padding:28px 32px;border:1px solid #69728b;border-radius:18px;background:linear-gradient(145deg,#2c3048,#1e2438);box-shadow:0 28px 100px #080d24bb}.reward-expanded .reward-heading{gap:20px;align-items:center}.reward-expanded .reward-heading h2{font-size:32px;margin:7px 0;letter-spacing:-.8px}.reward-expanded .reward-heading .eyebrow{font-size:11px;color:#c6b3f3}.reward-expanded .reward-heading p{margin:0;font-size:13px;color:#aebbd4;line-height:1.6}.reward-expanded .heal-badge{font-size:12px;padding:10px 14px;white-space:nowrap}.reward-expanded .heal-badge .icon{width:19px;height:19px}.reward-expanded .reward-cards{gap:14px;margin:22px 0 24px}.reward-expanded .reward-choice{min-height:108px;padding:15px;gap:13px;border-radius:11px;border-color:#555e79;background:#353b54}.reward-expanded .reward-choice:not(:disabled):hover{border-color:var(--item-color);background:#424962;transform:translateY(-2px)}.reward-expanded .reward-choice b{font-size:18px;font-weight:600}.reward-expanded .reward-choice small{font-size:12px;margin-top:5px;white-space:normal;line-height:1.4}.reward-expanded .reward-choice>i>.icon{width:19px;height:19px}.reward-expanded .item-icon{width:54px;height:60px;flex-shrink:0;border-radius:9px}.reward-expanded .item-icon>.icon{width:34px;height:34px}.reward-expanded .reward-choice.chosen{border-color:#c0afff;box-shadow:inset 0 0 22px #a890ef20}.reward-expanded .special-choice{border-color:#a69464;background:linear-gradient(130deg,#474154,#303c51)}.special-tag{display:inline-block;color:#ffdc99;font-size:10px;font-style:normal;letter-spacing:1px;margin-bottom:4px}.card-drag-hint{display:block;margin-top:7px;font-size:10px;color:#909fbd}.reward-expanded .workbench{display:grid;grid-template-columns:310px minmax(240px,1fr) 288px;gap:26px}.reward-expanded .section-label{margin-bottom:16px;min-height:20px}.reward-expanded .section-label b{font-size:15px;font-weight:600}.reward-expanded .section-label>span{font-size:11px}.relic-grid-wrap{position:relative}.board-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.link-glow{stroke:#b89aff;stroke-width:12;opacity:.24;filter:blur(3px)}.link-flow{stroke:#cdb4ff;stroke-width:3;stroke-dasharray:4 5;animation:link-flow 1.8s linear infinite}.board-links .active .link-glow{stroke-width:18;opacity:.6}.board-links .active .link-flow{stroke:#f0d5ff;stroke-width:4}.reward-expanded .relic-board{position:relative;grid-template-columns:repeat(3,1fr);gap:14px}.reward-expanded .board-cell{flex-direction:column;gap:4px;border:1px solid #55627e;border-radius:9px;background:#242c42;min-width:0;padding:13px 2px 7px}.reward-expanded .board-cell>small{font-size:10px;top:5px;left:7px}.reward-expanded .board-cell>i{font-size:29px}.reward-expanded .board-cell .cell-icon>.icon{width:35px;height:35px}.reward-expanded .board-cell .cell-name{font-size:11px;color:#c6d2ed;white-space:nowrap}.reward-expanded .board-cell.boosted{background:#3f385a;border-color:#bb9deb;box-shadow:inset 0 0 22px #b39be923}.reward-expanded .board-cell.slab-cell{background:#463762;border-color:#bda2f1}.reward-expanded .board-cell.selected{outline:2px solid #e9d5ff;outline-offset:3px}.reward-expanded .board-cell.affected{border-color:#e5c3ff;box-shadow:inset 0 0 26px #cdb5ff36,0 0 16px #b7a0f92b}.reward-expanded .board-cell>.boost-badge{font-size:9px;top:4px;right:4px;color:#f5e7ff;background:#765b9f;border-radius:4px;padding:2px 4px}.reward-expanded .board-cell>.stone-badge{font-size:8px;color:#c5a7f2;top:5px;right:6px}.reward-expanded .board-cell.available{background:#293f49;border:1px dashed #8dcbbb}.reward-expanded [draggable=true]{cursor:grab;-webkit-user-select:none;user-select:none}.is-relic-dragging .reward-expanded .board-cell{cursor:grabbing}.reward-expanded .board-cell.drag-source{opacity:.35}.reward-expanded .board-cell.drag-linked{border-style:dashed}.reward-expanded .board-cell.drop-target{outline:3px solid #a3f6da;outline-offset:2px;background:#355653;box-shadow:0 0 28px #82ebc455}.reward-expanded .board-cell.drop-invalid{outline:3px solid #f3a2b7;background:#533544}.connection-summary{display:flex;align-items:center;gap:9px;margin-top:13px;padding:10px 12px;border-radius:7px;background:#453858;color:#cbb5ee;font-size:11px}.connection-summary .icon{width:21px;height:21px;flex-shrink:0}.connection-summary b{color:#ead6ff;margin-right:5px}.board-instruction{font-size:11px;color:#92a1bf;line-height:1.6;margin:10px 0 0}.reward-expanded .item-detail{padding:0 24px;min-height:0;border-color:#474e66}.detail-title{display:flex;align-items:center;gap:12px}.reward-expanded .detail-icon>.icon{width:35px;height:35px;margin:0}.reward-expanded .item-detail h3{font-size:19px}.reward-expanded .item-detail p{font-size:12px;margin:12px 0;line-height:1.75}.link-state{display:flex;align-items:center;gap:7px;font-size:11px;color:#b7b9d1;background:#30364b;border-radius:6px;padding:10px;margin:3px 0 12px}.link-state.active{background:#4a3c65;color:#e6cbff}.link-state .icon{width:18px;height:18px;flex-shrink:0}.linked-items{display:grid;gap:8px;max-height:208px;overflow-y:auto}.linked-items>div{display:flex;gap:10px;align-items:center;background:#292f46;padding:10px;border-radius:6px}.linked-items>div>span .icon{width:24px;height:24px}.linked-items b{font-size:12px;font-weight:500}.linked-items small{display:block;color:#93a0bc;font-size:10px;margin:4px 0}.linked-items strong{display:block;font-size:12px;color:#d8baff}.effect-comparison{border:1px solid #4d4366;background:#2a2e45;border-radius:8px;padding:12px}.effect-comparison>span{display:block;font-size:10px;color:#96a4c1}.effect-comparison small{display:block;font-size:12px;color:#c0cae3;margin-top:5px}.effect-comparison>b{display:block;color:#bfa8e6;margin:7px 0}.effect-comparison .effective{color:#c9b2ee}.effect-comparison strong{display:block;font-size:14px;color:#e3ceff;margin-top:5px}.reward-expanded .item-detail .arrangement-tip{margin-top:auto;padding-top:12px;font-size:10px}.reward-expanded .stat-row{font-size:12px;padding:10px 0}.reward-expanded .stat-row b{font-size:14px;white-space:nowrap}.reward-expanded .stat-row small{font-size:10px}.reward-expanded .stat-row .icon{width:17px;height:17px}.reward-expanded .special-stat>span:first-child{color:#d3c6e9}.stat-row.changed{animation:stat-change 1.4s ease-out}.reward-expanded .stat-row.changed b{color:#b9f7dd}.damage-setting{font-size:10px;color:#ffd79e;margin-top:12px}.reward-expanded .final-stats>p{font-size:10px;line-height:1.7;margin-bottom:0}.reward-expanded .reward-footer{height:auto;min-height:0;margin-top:20px;padding:18px 0 0;border-top:1px solid #48516a;gap:18px}#board-feedback{font-size:12px;color:#b8c9e4;line-height:1.6}.reward-expanded .reward-footer .primary-button{font-size:14px;min-width:188px;padding:15px 22px}.reward-expanded .reward-footer .icon{width:19px;height:19px}.ability-preview{position:relative;height:62px;flex-shrink:0;margin:0 0 10px;background:#202a40;overflow:hidden;border-radius:7px}.ability-preview b{position:absolute;bottom:9px;right:10px;font-size:10px;font-weight:400;color:#a8b8d2}.range-preview i{position:absolute;bottom:-24px;left:15px;width:92px;height:92px;border:2px solid #ffd59d;border-radius:50%;background:#ffd59d0c}.range-preview .old-range{width:60px;height:60px;border-style:dashed;border-color:#687795}.wave-preview i{position:absolute;left:15px;top:17px;color:#d8e8ff;font-style:normal}.wave-preview>span{position:absolute;top:10px;left:55px;color:#93ede5;animation:wave-preview 2s ease-out infinite}.wave-preview .icon{width:33px;height:33px}@keyframes link-flow{to{stroke-dashoffset:-36}}@keyframes stat-change{0%,25%{background:#85e8bd35}to{background:transparent}}@keyframes wave-preview{0%{transform:translate(0);opacity:1}to{transform:translate(90px);opacity:0}}@media(max-height:820px)and (min-width:1000px){.reward-portal{padding:12px}.reward-expanded{max-height:calc(100dvh - 24px);padding:16px 26px}.reward-expanded .reward-heading h2{font-size:28px;line-height:1.25;margin:5px 0}.reward-expanded .reward-cards{margin:10px 0 12px}.reward-expanded .reward-choice{min-height:86px;padding:10px 13px}.reward-expanded .workbench{grid-template-columns:250px minmax(220px,1fr) 280px;gap:24px}.reward-expanded .section-label{margin-bottom:12px}.reward-expanded .stat-row{padding:8px 0}.reward-expanded .reward-footer{margin-top:15px;padding-top:13px}.reward-expanded .reward-footer .primary-button{padding:12px 22px}.reward-expanded .board-instruction{font-size:10px}.reward-expanded .reward-choice b{font-size:16px}.reward-expanded .reward-choice small{font-size:11px;line-height:1.25}.reward-expanded .special-tag{font-size:9px;line-height:1;margin-bottom:2px}.reward-expanded .card-drag-hint{font-size:9px;line-height:1.2;margin-top:4px}.reward-expanded .item-detail p{font-size:11px;line-height:1.6;margin:8px 0}.reward-expanded .item-detail .arrangement-tip{font-size:9px;padding-top:8px}.reward-expanded .ability-preview{height:42px}.reward-expanded .effect-comparison>b{margin:4px 0}.reward-expanded .link-state{margin-bottom:8px;padding:8px 10px}.linked-items{max-height:180px}}@media(max-width:999px){.reward-expanded{padding:22px}.reward-expanded .workbench{grid-template-columns:minmax(220px,300px) minmax(200px,1fr);gap:22px}.reward-expanded .final-stats{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.reward-expanded .final-stats .section-label{grid-column:1/-1}.reward-expanded .reward-cards{gap:8px}.reward-expanded .reward-choice{gap:8px;padding:12px 8px}.reward-expanded .reward-choice b{font-size:14px}.reward-expanded .reward-choice small{font-size:10px}.reward-expanded .item-icon{width:38px;height:46px}.reward-expanded .item-icon>.icon{width:26px;height:26px}.reward-expanded .reward-choice>i{display:none}.reward-expanded .item-detail{padding:0 0 0 22px;border-right:0}}@media(max-width:600px){.reward-portal{padding:8px}.reward-expanded{max-height:calc(100dvh - 16px);padding:18px}.reward-expanded .reward-heading{align-items:start;flex-direction:column;gap:8px}.reward-expanded .reward-heading h2{font-size:26px}.reward-expanded .reward-cards{grid-template-columns:1fr}.reward-expanded .reward-choice{min-height:80px}.reward-expanded .workbench{grid-template-columns:1fr}.reward-expanded .board-section{max-width:340px;width:100%;margin:auto}.reward-expanded .item-detail{border:0;padding:0}.reward-expanded .final-stats{display:block}.reward-expanded .reward-footer{flex-direction:column;align-items:stretch}}@media(prefers-reduced-motion:reduce){.link-flow,.wave-preview>span,.stat-row.changed{animation:none}}
