.classic-screen{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#08151b}.classic-screen__frame{display:block;width:100%;height:100%;border:0;background:#08151b;color-scheme:dark}@media(prefers-reduced-motion:reduce){.classic-screen *{animation:none!important;transition:none!important}}:root{font-family:system-ui,Noto Sans KR,sans-serif;color:#f8f2ff;background:#090615}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}button:disabled{opacity:.44;cursor:not-allowed}.game-viewport{height:100dvh;width:100vw;display:grid;place-items:center;background:#080514;overflow:hidden}.game-stage{position:relative;width:min(100vw,177.77778dvh);aspect-ratio:16/9;overflow:hidden;border:1px solid #6c478a;background:#121126;box-shadow:0 0 80px #000c}.city-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.game-top{position:absolute;z-index:12;inset:0 0 auto;height:19%;pointer-events:none}.game-logo{position:absolute;left:3%;top:9%;text-shadow:0 3px 7px #000,0 0 20px #be68ff}.game-logo strong{display:block;font-weight:1000;font-size:clamp(15px,3.4vw,52px);line-height:1;transform:skew(-9deg);-webkit-text-stroke:1px #a575e8}.game-logo em{font-style:normal;color:#eeb8ff}.game-logo small{font-size:clamp(8px,1.15vw,16px);background:#1e1039db;padding:3px 14px;border:1px solid #8553b3}.game-resource{position:absolute;right:1%;top:4%;display:flex;gap:8px}.game-resource span{background:#161428e8;border:1px solid #8973a1;border-radius:30px;padding:4px 12px;font-size:clamp(8px,1vw,15px)}.game-menu{position:absolute;z-index:13;left:0;top:22%;width:13%;display:flex;flex-direction:column;background:#1b1a33df;border:1px solid #7a6394}.game-menu button{height:clamp(29px,4.8vw,64px);background:transparent;border:0;border-bottom:1px solid #5a4b70;color:#f3e8ff;text-align:left;padding:5px;font-size:clamp(8px,.93vw,15px);font-weight:700}.game-menu button.active{background:linear-gradient(90deg,#9e65db8c,#27203f);box-shadow:inset 4px 0 #ffd19e}.menu-icon{font-size:clamp(12px,1.7vw,23px);margin-right:6px}.game-content{position:absolute;inset:0}.game-bottom{position:absolute;bottom:4%;left:20%;width:56%;height:16%;z-index:10;border:2px solid #a977df;border-radius:9px;background:linear-gradient(130deg,#231b43f5,#17172cf5);box-shadow:0 0 23px #b06be255}.world-layer{position:absolute;inset:0}.map-dim{position:absolute;inset:0;background:linear-gradient(90deg,#100c2775,transparent 45%,#0e0b2540)}.map-road{position:absolute;inset:0;width:100%;height:100%}.moving-route{animation:route-flow 9s linear infinite}@keyframes route-flow{to{stroke-dashoffset:-300}}.chapter-markers{position:absolute;inset:0}.stage-marker{position:absolute;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center;gap:5px;width:12%;height:7%;min-height:25px;padding:4px;color:#fdf3ff;background:#241939ea;border:1px solid #e3a2ee;clip-path:polygon(9% 0,91% 0,100% 50%,91% 100%,9% 100%,0 50%);text-shadow:0 2px 4px #000}.stage-marker.selected{background:#6e377ddb;filter:drop-shadow(0 0 9px #e3adff)}.stage-marker.cleared{background:#22554b}.marker-icon{font-size:clamp(10px,1.2vw,20px)}.marker-info{display:grid;gap:1px}.marker-info b{font-size:clamp(8px,.85vw,14px);line-height:1.15}.marker-info small{font-size:clamp(8px,.8vw,13px);color:#ffd491}.world-caption{position:absolute;left:1%;bottom:3%;padding:1% 2%;background:#452061d9;border:2px solid #ad83d8;border-radius:8px}.world-caption small{display:block;font-size:clamp(8px,.7vw,11px)}.world-caption strong{font-size:clamp(11px,1.35vw,20px)}.stage-detail-panel{position:absolute;right:1%;top:22%;height:72%;width:22%;overflow:auto;background:#1e1b36f1;border:2px solid #b18bd3;border-radius:9px;padding:1.2%;box-shadow:0 0 25px #0008}.detail-header small{color:#caa3ec;font-size:clamp(8px,.8vw,12px)}.detail-header h2{font-size:clamp(12px,1.45vw,22px);margin:5px 0}.detail-art{height:25%;min-height:35px;background:linear-gradient(150deg,#4c3978,#252040);border:1px solid #a974b5;border-radius:6px;display:grid;place-items:center;position:relative}.monster-emoji{font-size:clamp(28px,4vw,65px);filter:drop-shadow(0 0 16px #d276f7)}.detail-art b{position:absolute;bottom:4px;left:6px;font-size:clamp(8px,.8vw,13px)}.detail-rules{display:flex;justify-content:space-between;gap:5px;font-size:clamp(7px,.7vw,12px);padding:8px 0;border-bottom:1px solid #756183}.stage-detail-panel h3{font-size:clamp(9px,.95vw,15px);margin:8px 0 3px}.stage-detail-panel p{font-size:clamp(8px,.85vw,13px);margin:3px 0;color:#e3d8ec}.reward-strip{display:flex;gap:3px}.reward-strip span{flex:1;padding:5px 1px;background:#302646;border:1px solid #9074ae;border-radius:5px;text-align:center;font-size:clamp(7px,.65vw,11px)}.detail-actions{display:flex;gap:5px;margin-top:9px}.detail-actions button{border-radius:6px;padding:7px 2px;font-weight:900;font-size:clamp(9px,.95vw,15px)}.small-action{width:28%;background:#403154;border:1px solid #a98dbb;color:#fff}.gold-action{flex:1;background:linear-gradient(#ffe5a4,#e1aa5b);color:#251629;border:1px solid #fff3b9}.stage-strip{height:100%;display:flex;align-items:center;gap:2%;padding:1%}.strip-heading{width:25%;height:100%;display:flex;justify-content:center;flex-direction:column;background:#4e246c;padding:4px;border-radius:8px}.strip-heading b{font-size:clamp(9px,1vw,15px)}.strip-heading small{font-size:clamp(8px,.7vw,11px)}.strip-nodes{flex:1;display:flex;align-items:center;justify-content:space-around;min-width:0}.strip-node{display:grid;place-content:center;width:clamp(29px,4.2vw,65px);height:clamp(31px,4.2vw,65px);color:#fff;background:#28273d;border:2px solid #b7a4ca;clip-path:polygon(23% 0,77% 0,100% 50%,77% 100%,23% 100%,0 50%)}.strip-node.selected{background:#6e4489;border-color:#ffe29e}.strip-node b{font-size:clamp(9px,.92vw,15px)}.strip-node small{font-size:clamp(8px,.7vw,11px);color:#f7d18c}.strip-arrow{font-size:20px}.secondary-screen{position:absolute;inset:0}.secondary-shade{position:absolute;inset:0;background:#100d23b0}.secondary-panel{position:absolute;inset:19% 2% 5% 15%;overflow-y:auto;padding:2%;border:2px solid #ad84d9;border-radius:10px;background:#1c1a33e9}.screen-title small{color:#c6a1e7;letter-spacing:2px;font-size:clamp(9px,.8vw,12px)}.screen-title h2{margin:2px 0;font-size:clamp(17px,1.7vw,28px)}.screen-title p{font-size:clamp(9px,.85vw,14px);color:#cfbedf;margin:2px 0}.team-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.team-item{background:#2b2545;border:1px solid #9874bf;border-radius:9px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:3px}.team-item small{font-size:clamp(8px,.7vw,12px)}.team-item button,.hero-card button,.feature-panel button{background:#49345e;border:1px solid #ad8cce;color:#fff;border-radius:5px;padding:5px 9px;font-size:clamp(8px,.75vw,12px)}.character-face{display:block;width:clamp(44px,6vw,95px);height:clamp(54px,7.2vw,120px);background-size:400% 200%;background-repeat:no-repeat;border:1px solid #866ea8;border-radius:6px;background-color:#332647}.empty-face{display:grid;place-items:center;width:80px;height:110px;font-size:30px}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:8px;margin:12px 0}.hero-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #715e94;border-radius:8px;background:#27233f;color:#fff;padding:7px;min-width:0}.hero-card b{font-size:clamp(10px,.83vw,14px)}.hero-card small{font-size:clamp(8px,.69vw,11px)}.hero-card.unowned .character-face{filter:grayscale(1)}.feature-panel{margin:20px 0;background:#342549;border:1px solid #9b6cb7;border-radius:11px;padding:25px;text-align:center}.feature-panel>span{font-size:60px}.feature-panel h3{font-size:clamp(12px,1.15vw,19px)}.feature-panel p{font-size:clamp(10px,.9vw,14px)}.run-page{position:absolute;inset:17% 1% 3% 14%;border:1px solid #a17cc7;border-radius:9px;background:#16152be9;overflow:hidden}.run-heading{height:12%;padding:1% 2%;display:flex;align-items:center;justify-content:space-between;background:#20172fe3}.run-heading h2{font-size:clamp(12px,1.2vw,20px);margin:0}.run-heading small{font-size:clamp(8px,.75vw,12px)}.status-pills{display:flex;gap:5px}.status-pills span{background:#28223f;border:1px solid #81669c;border-radius:7px;padding:6px;font-size:clamp(8px,.85vw,13px)}.field-host{position:relative;width:100%;height:63%;overflow:hidden}.field-host .city-scene{opacity:.9}.field-overlay{position:absolute;inset:0;width:100%;height:100%;background:#10132650}.portal-halo{animation:portal-rotate 12s linear infinite;transform-origin:970px 110px}@keyframes portal-rotate{to{transform:rotate(360deg)}}.mob{animation:mob-bob 1s ease-in-out infinite alternate}@keyframes mob-bob{to{translate:0 -4px}}.combat-footer{height:25%;display:flex;background:#211b32;border-top:1px solid #8a6bae}.combat-summary{width:15%;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border-right:1px solid #876d9a}.combat-summary b{font-size:clamp(10px,1vw,16px)}.combat-summary small{font-size:clamp(9px,.7vw,11px)}.combat-skills{display:flex;gap:5px;flex:1;padding:5px}.combat-hero{flex:1;display:flex;gap:4px;min-width:0;border:1px solid #715d87;border-radius:7px;padding:5px;background:#302742}.character-portrait{display:block;width:26%;min-width:25px;height:100%;background-size:400% 200%;background-repeat:no-repeat;border-radius:6px}.hero-combat-text{flex:1;min-width:0}.hero-combat-text b{font-size:clamp(9px,.85vw,13px)}.combat-buttons{display:grid;gap:2px}.combat-buttons button{border:1px solid #9576c7;border-radius:4px;background:#583976;color:#fff;font-size:clamp(8px,.64vw,11px);padding:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-result{position:absolute;top:19%;left:25%;width:53%;padding:25px;background:#1c172fed;border:2px solid #e6c37c;border-radius:15px;text-align:center}.battle-result h2{font-size:clamp(18px,2.1vw,32px)}.battle-result button{border:0;border-radius:10px;background:#f6c16d;padding:12px;font-weight:900}.retreat-button{position:absolute;right:9px;top:6px;border:1px solid #94769b;border-radius:6px;background:#3b2c48;color:#fff;padding:4px;font-size:clamp(8px,.75vw,12px)}@media(max-width:720px){.game-resource{gap:2px}.game-resource span{padding:3px 5px}.game-logo strong{font-size:21px}.game-menu{width:14%}.game-menu button{padding:2px}.stage-detail-panel{width:25%}.game-bottom{left:17%;width:60%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.artistic-world{isolation:isolate}.artistic-world .city-scene{position:absolute;inset:0;opacity:1}.cinematic-clean-scene{pointer-events:none}.world-nightfall{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,7,29,.15),transparent 30%,rgba(22,5,35,.12) 78%,rgba(10,7,23,.24)),linear-gradient(0deg,#10092326,transparent 30%)}.starlight-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.flowing-trail{animation:light-running 11s linear infinite}@keyframes light-running{to{stroke-dashoffset:-410}}.chapter-pins{position:absolute;inset:0;pointer-events:none}.chapter-pin{position:absolute;pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:.35em;transform:translate(-50%,-50%);height:6.7%;width:12.3%;padding:0 10px;color:#fef7ff;border:2px solid #dfac77;border-radius:3px;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%);background:linear-gradient(170deg,#1e1835f4,#0e0a23e9);box-shadow:inset 0 0 8px #e5a5ff44,0 3px 3px #000;filter:drop-shadow(0 0 5px #bd73e0);text-shadow:1px 2px 2px #000;white-space:nowrap;transition:filter .2s ease,scale .2s ease}.chapter-pin.selected{border-color:#ffe4a0;background:linear-gradient(155deg,#603162f4,#26122ce8);filter:drop-shadow(0 0 11px #ec9afa);scale:1.06}.chapter-pin.clear{border-color:#ffc66c}.chapter-pin.lock{border-color:#8b8598;filter:grayscale(.5) drop-shadow(0 0 2px #000);opacity:.9}.chapter-pin__number{font-size:clamp(12px,1.2vw,21px);font-weight:1000;color:#ffe0a1}.chapter-pin__label{font-size:clamp(7px,.87vw,15px);font-weight:900;letter-spacing:-.03em;line-height:1.08}.chapter-pin__label small{display:block;color:#f5cf80;font-size:clamp(7px,.8vw,13px);letter-spacing:2px;text-align:center;padding-top:3px}.chapter-pin.lock .chapter-pin__label small{color:#c1bacb}.chapter-pin:hover:not(:disabled),.chapter-pin:focus-visible{filter:drop-shadow(0 0 16px #f8cafa);outline:2px solid #ffe1a8;outline-offset:1px}.chapter-corner{position:absolute;left:1%;bottom:3.8%;height:8%;width:17.2%;display:flex;align-items:center;gap:12px;padding:5px 13px;border:2px solid #cfa6fa;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%);background:linear-gradient(105deg,#7e3893ea,#36134ee5 70%,#130d2a9b);box-shadow:inset 0 0 15px #f49cff4f,0 0 14px #ae59f084}.chapter-corner>span{font-size:clamp(16px,2vw,31px)}.chapter-corner small{display:block;color:#e7c5ef;font-weight:800;font-size:clamp(7px,.74vw,12px)}.chapter-corner strong{display:block;font-size:clamp(11px,1.15vw,20px);font-weight:1000}.game-logo{left:3.4%;top:5%}.game-logo strong{font-family:system-ui,Noto Sans KR,sans-serif;font-size:clamp(22px,4.2vw,65px);font-weight:1000;letter-spacing:-.06em;line-height:1.06;color:#fdf2ff;text-shadow:4px 5px 1px #100821,-3px -3px 0 #71329e,3px -3px 0 #71329e,-3px 3px 0 #71329e,3px 3px 0 #71329e,0 0 17px #ae4cee}.game-logo em{color:#fff5ff}.game-logo small{margin:5px 0 0 20%;font-size:clamp(9px,1.18vw,20px);font-weight:900;color:#fff6ff;background:#130b29bb;letter-spacing:-.01em;text-shadow:0 2px 4px #000}.game-resource{top:1.2%;right:1.4%;gap:9px}.game-resource span{font-size:clamp(9px,1.09vw,19px);font-weight:850;border:1px solid #a88ac1;background:linear-gradient(#2e2547ec,#100f21ef);padding:4px 16px;color:#f4edff}.game-menu{width:12.2%;top:20%;background:linear-gradient(100deg,#201b39ee,#171327dc);border:1px solid #816299;box-shadow:3px 7px 10px #0007}.game-menu button{height:clamp(29px,5.65vh,59px);border-bottom:1px solid #524963;color:#f5e9ff;padding:6px 10px;font-weight:850;font-size:clamp(8px,1vw,18px);transition:background .16s ease}.game-menu button.active{background:linear-gradient(100deg,#54417ded,#211a3fc7);box-shadow:inset 4px 0 #ffe5bd,0 0 10px #d39bff54}.game-menu button:hover{background:#573675dd}.game-menu .menu-icon{font-size:clamp(14px,1.8vw,28px)}.stage-detail-panel.luxury-stage-panel{position:absolute;z-index:9;top:21.7%;right:1.1%;width:22.1%;height:71.5%;min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden;border:2px solid #e4bc85;border-radius:6px;clip-path:polygon(4% 0,96% 0,100% 3%,100% 97%,96% 100%,4% 100%,0 97%,0 3%);background:linear-gradient(165deg,#27213cef,#15152cf5 65%,#2a213bf4);box-shadow:inset 0 0 23px #9b71c435,0 0 25px #0008;padding:1.2% 1.1%}.stage-detail__heading{text-align:center;border-bottom:1px solid #825f8d;padding-bottom:5px}.stage-detail__heading>small{display:block;background:#45305d;color:#f6dcff;padding:2px;font-size:clamp(8px,.8vw,15px);font-weight:800}.stage-title-row{display:flex;align-items:center;justify-content:space-between;gap:3px}.stage-title-row h2{margin:0!important;font-size:clamp(12px,1.4vw,24px)!important;font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-title-row button{color:#eecff6;background:none;border:none;padding:0 2px;font-size:clamp(17px,1.7vw,27px)}.stage-detail__preview{position:relative;height:25%;min-height:45px;margin:7px 0;border:2px solid #9e7cc0;overflow:hidden;border-radius:5px;background:#281c48}.stage-detail__preview .city-scene{position:absolute;inset:0;width:100%;height:100%;filter:saturate(.86);transform:scale(1.22)}.preview-purple{position:absolute;right:3%;bottom:5%;height:73%;width:47%;opacity:.85;filter:drop-shadow(0 0 12px #b83cf9)}.preview-purple svg{width:100%;height:100%}.stage-detail__power{border-bottom:1px solid #675779;padding:3px 0 7px;display:flex;justify-content:space-between;gap:2px;font-size:clamp(7px,.83vw,13px);white-space:nowrap}.stage-detail__power strong{color:#9ce3b2}.stage-detail__description{flex:1;min-height:0;overflow:hidden}.stage-detail__description h3,.stage-detail__rewards h3{font-size:clamp(9px,1.05vw,17px);margin:8px 0 3px;color:#f4eafa}.stage-detail__description p{font-size:clamp(8px,.92vw,14px);line-height:1.45;margin:2px 0;color:#f2e7ef}.stage-detail__rewards{border-top:1px solid #725c85}.reward-items{display:flex;gap:4px;margin:6px 0 9px}.reward-items>div{min-width:0;flex:1;display:grid;place-items:center;gap:1px;padding:5px 0;background:#332342;border:1px solid #9271ad;border-radius:4px}.reward-items b{font-size:clamp(14px,1.5vw,24px);color:#e6b3ff}.reward-items small{font-size:clamp(7px,.74vw,12px);color:#f1d9d7}.stage-detail__buttons{display:flex;gap:5px;align-items:stretch}.stage-detail__buttons button{border-radius:5px;padding:8px 2px;font-weight:950;font-size:clamp(9px,1.2vw,19px)}.party-shortcut{width:25%;border:1px solid #a687c7;background:linear-gradient(#48305d,#261d42);color:#e9e0ff}.enter-gate{flex:1;display:flex;align-items:center;justify-content:space-evenly;border:2px solid #fff2af;background:linear-gradient(#ffeaaa,#ffc66e 45%,#e6a646);color:#2f1b24;clip-path:polygon(7% 0,93% 0,100% 50%,93% 100%,7% 100%,0 50%);text-shadow:0 1px #ffefc6;box-shadow:inset 0 0 7px #fff}.enter-gate span{font-size:clamp(8px,.87vw,13px);padding:3px;background:#523b32;color:#f9da79;clip-path:polygon(15% 0,100% 0,85% 100%,0 100%)}.game-bottom{left:19%;bottom:4.3%;width:56%;height:15.6%;padding:0;background:linear-gradient(150deg,#28203ff8,#111728f4);border:2px solid #c594f6;box-shadow:0 0 20px #a85af380;clip-path:polygon(2% 0,98% 0,100% 15%,100% 85%,98% 100%,2% 100%,0 85%,0 15%)}.detail-strip{width:100%;height:100%;display:flex;align-items:center;gap:1.5%;padding:1% 2%}.detail-strip__chapter{width:20%;height:100%;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(100deg,#643681,#311a57);border:1px solid #c78fe3;padding:4px 9px;clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%)}.detail-strip__chapter small{font-size:clamp(7px,.8vw,11px);color:#dbc3f1;font-weight:750}.detail-strip__chapter strong{font-size:clamp(10px,1.15vw,18px)}.detail-strip__nodes{display:flex;justify-content:space-between;align-items:center;gap:1px;flex:1;min-width:0}.detail-strip__node{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:clamp(29px,4.25vw,67px);height:clamp(30px,4.25vw,67px);border:2px solid #bcb4c6;background:linear-gradient(#323448,#1a1c2e);color:#fff;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.detail-strip__node.selected{background:linear-gradient(#653486,#35214f);border-color:#f6d093;filter:drop-shadow(0 0 7px #e17fff)}.detail-strip__node.finished{border-color:#ffd48a}.detail-strip__node span{font-size:clamp(9px,.95vw,16px);font-weight:950}.detail-strip__node small{font-size:clamp(7px,.72vw,12px);color:#f9c27c;line-height:1}.detail-strip__arrow{font-weight:900;font-size:clamp(10px,1.5vw,26px);color:#f1e2f9}@media(max-width:900px){.chapter-pin__label{font-size:clamp(7px,1vw,11px)}.game-menu button{height:clamp(21px,4.6vh,41px)}.game-logo strong{font-size:clamp(20px,4.2vw,36px)}.stage-detail__description p{font-size:9px}.game-resource span{padding:2px 6px}}@media(prefers-reduced-motion:reduce){.flowing-trail{animation:none}.chapter-pin{transition:none}}
