@font-face{font-family:"Fusion Pixel 12px Proportional KR";font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/fusion-pixel-12px-proportional-kr-latin-400-normal.BST9Zz8b.woff2) format("woff2"),url(/_astro/fusion-pixel-12px-proportional-kr-latin-400-normal.B-EvvXJ_.woff) format("woff")}:root{--pmd-fill-solid: #204868;--pmd-fill-well: #16344c;--pmd-fill-well-deep: #102638;--pmd-fill-translucent: rgba(12, 20, 32, .64);--pmd-border-outer: #a8c0e0;--pmd-border-mid: #5878f8;--pmd-border-band: #6080f8;--pmd-border-indigo: #4820f8;--pmd-text-white: #f8f8f8;--pmd-text-yellow: #f8f800;--pmd-text-gold: #f8d838;--pmd-text-green: #58f858;--pmd-text-cyan: #a8e0f8;--pmd-text-orange: #f89050;--pmd-text-danger: #ff8898;--pmd-divider-line: rgba(248, 248, 248, .85);--pmd-divider-subtle: rgba(168, 192, 224, .38);--pmd-frame-solid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' shape-rendering='crispEdges'%3E%3Cpath fill='%23A8C0E0' d='M3,0H21V1H22V2H23V3H24V17H23V18H22V19H21V20H3V19H2V18H1V17H0V3H1V2H2V1H3Z'/%3E%3Cpath fill='%235878F8' d='M3,1H21V2H22V3H23V17H22V18H21V19H3V18H2V17H1V3H2V2H3Z'/%3E%3Cpath fill='%236080F8' d='M3,2H21V3H22V17H21V18H3V17H2V3H3Z'/%3E%3Cpath fill='%234820F8' d='M8,3H16V4H17V5H18V15H17V16H16V17H8V16H7V15H6V5H7V4H8Z'/%3E%3Cpath fill='%231C4A59' d='M8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Crect fill='%23204868' x='8' y='5' width='8' height='10'/%3E%3C/svg%3E");--pmd-frame-translucent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' shape-rendering='crispEdges'%3E%3Cpath fill='%23A8C0E0' fill-rule='evenodd' d='M3,0H21V1H22V2H23V3H24V17H23V18H22V19H21V20H3V19H2V18H1V17H0V3H1V2H2V1H3ZM8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Cpath fill='%235878F8' fill-rule='evenodd' d='M3,1H21V2H22V3H23V17H22V18H21V19H3V18H2V17H1V3H2V2H3ZM8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Cpath fill='%236080F8' fill-rule='evenodd' d='M3,2H21V3H22V17H21V18H3V17H2V3H3ZM8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Cpath fill='%234820F8' fill-rule='evenodd' d='M8,3H16V4H17V5H18V15H17V16H16V17H8V16H7V15H6V5H7V4H8ZM8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Cpath fill='%230E1824' fill-opacity='0.64' d='M8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3C/svg%3E");--pmd-frame-danger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' shape-rendering='crispEdges'%3E%3Cpath fill='%23F8B8C8' d='M3,0H21V1H22V2H23V3H24V17H23V18H22V19H21V20H3V19H2V18H1V17H0V3H1V2H2V1H3Z'/%3E%3Cpath fill='%23E05070' d='M3,1H21V2H22V3H23V17H22V18H21V19H3V18H2V17H1V3H2V2H3Z'/%3E%3Cpath fill='%23C83858' d='M3,2H21V3H22V17H21V18H3V17H2V3H3Z'/%3E%3Cpath fill='%23881030' d='M8,3H16V4H17V5H18V15H17V16H16V17H8V16H7V15H6V5H7V4H8Z'/%3E%3Cpath fill='%2328101C' d='M8,4H16V5H17V15H16V16H8V15H7V5H8Z'/%3E%3Crect fill='%23381424' x='8' y='5' width='8' height='10'/%3E%3C/svg%3E");--pmd-frame-mini: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23A8C0E0' d='M1,0H11V1H12V11H11V12H1V11H0V1H1Z'/%3E%3Cpath fill='%236080F8' d='M2,1H10V2H11V10H10V11H2V10H1V2H2Z'/%3E%3Cpath fill='%234820F8' d='M3,2H9V3H10V9H9V10H3V9H2V3H3Z'/%3E%3Crect fill='%23204868' x='3' y='3' width='6' height='6'/%3E%3C/svg%3E");--pmd-frame-mini-active: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23FFF8A8' d='M1,0H11V1H12V11H11V12H1V11H0V1H1Z'/%3E%3Cpath fill='%23F8D838' d='M2,1H10V2H11V10H10V11H2V10H1V2H2Z'/%3E%3Cpath fill='%23B87810' d='M3,2H9V3H10V9H9V10H3V9H2V3H3Z'/%3E%3Crect fill='%232A5A80' x='3' y='3' width='6' height='6'/%3E%3C/svg%3E");--pmd-frame-mini-danger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23F8B8C8' d='M1,0H11V1H12V11H11V12H1V11H0V1H1Z'/%3E%3Cpath fill='%23D84060' d='M2,1H10V2H11V10H10V11H2V10H1V2H2Z'/%3E%3Cpath fill='%23881030' d='M3,2H9V3H10V9H9V10H3V9H2V3H3Z'/%3E%3Crect fill='%23481828' x='3' y='3' width='6' height='6'/%3E%3C/svg%3E");--pmd-frame-mini-translucent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23A8C0E0' fill-rule='evenodd' d='M1,0H11V1H12V11H11V12H1V11H0V1H1ZM3,3H9V9H3Z'/%3E%3Cpath fill='%236080F8' fill-rule='evenodd' d='M2,1H10V2H11V10H10V11H2V10H1V2H2ZM3,3H9V9H3Z'/%3E%3Cpath fill='%234820F8' fill-rule='evenodd' d='M3,2H9V3H10V9H9V10H3V9H2V3H3ZM3,3H9V9H3Z'/%3E%3Crect fill='%230E1824' fill-opacity='0.68' x='3' y='3' width='6' height='6'/%3E%3C/svg%3E");--pmd-cursor-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 6 7' shape-rendering='crispEdges'%3E%3Cpath fill='%23000000' d='M0,0H2V1H3V2H4V3H5V4H4V5H3V6H2V7H0Z'/%3E%3Cpath fill='%23F8F8F8' d='M1,1H2V2H3V3H4V4H3V5H2V6H1Z'/%3E%3C/svg%3E");--pmd-cursor-glove: url(/cursor.png) 2 2, auto}html{cursor:var(--pmd-cursor-glove)}a,button:not(:disabled),[role=button],select:not(:disabled),summary,label[for],input[type=range]:not(:disabled),input[type=checkbox]:not(:disabled),input[type=radio]:not(:disabled){cursor:inherit}.pmd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}[hidden]{display:none!important}.pmd-window{background:transparent;border-style:solid;border-width:10px 16px;border-image-source:var(--pmd-frame-solid);border-image-slice:5 8 fill;border-image-repeat:stretch;border-radius:0;outline:none;box-shadow:4px 4px #00000085;color:var(--pmd-text-white);font-family:"Fusion Pixel 12px Proportional KR",sans-serif;text-shadow:2px 2px 0 #000000}.pmd-window--gold{border-image-source:var(--pmd-frame-solid)}.pmd-window--translucent{border-image-source:var(--pmd-frame-translucent)}.pmd-window--compact{border-width:6px 8px;border-image-source:var(--pmd-frame-mini);border-image-slice:3 4 fill;box-shadow:2px 2px #00000085}.pmd-window--compact.pmd-window--translucent{border-image-source:var(--pmd-frame-mini-translucent)}.pmd-pixelated,.pmd-sprite-canvas,.pmd-portrait-canvas{image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated}.pmd-portrait-canvas{display:block;width:60px;height:60px}.pmd-btn{min-height:46px;min-width:46px;padding:6px 12px;background:transparent;border-style:solid;border-width:6px 8px;border-image-source:var(--pmd-frame-mini);border-image-slice:3 4 fill;border-image-repeat:stretch;border-radius:0;box-shadow:2px 2px #00000073;color:var(--pmd-text-white);font-family:"Fusion Pixel 12px Proportional KR",sans-serif;font-size:14px;line-height:1.25;cursor:inherit;text-shadow:2px 2px 0 #000000;touch-action:manipulation}.pmd-btn:hover:not(:disabled),.pmd-btn:active:not(:disabled){border-image-source:var(--pmd-frame-mini-active);color:var(--pmd-text-yellow)}.pmd-btn-primary,.pmd-btn.is-active,.pmd-tab-btn.is-active{border-image-source:var(--pmd-frame-mini-active);color:var(--pmd-text-yellow)}.pmd-btn-danger{border-image-source:var(--pmd-frame-mini-danger);color:#ffd8e0}.pmd-btn-danger:hover:not(:disabled),.pmd-btn-danger:active:not(:disabled){border-image-source:var(--pmd-frame-mini-danger);color:var(--pmd-text-yellow)}.pmd-btn:disabled{opacity:.45;cursor:not-allowed}.pmd-btn.pmd-menu-row{position:relative;border:0;border-bottom:2px solid var(--pmd-divider-subtle);border-image:none;box-shadow:none;background:transparent;padding:8px 10px 8px 24px;min-height:46px;text-align:left;justify-content:flex-start;color:var(--pmd-text-white)}.pmd-btn.pmd-menu-row:last-child{border-bottom:0}.pmd-btn.pmd-menu-row:before{content:"";position:absolute;left:4px;top:50%;width:12px;height:14px;transform:translateY(-50%);background-image:var(--pmd-cursor-arrow);background-repeat:no-repeat;background-size:12px 14px;image-rendering:pixelated;opacity:0;pointer-events:none}.pmd-btn.pmd-menu-row.pmd-btn-primary:before,.pmd-btn.pmd-menu-row.is-active:before,.pmd-btn.pmd-menu-row.is-selected:before,.pmd-btn.pmd-menu-row:hover:not(:disabled):before,.pmd-btn.pmd-menu-row:focus-visible:not(:disabled):before,.pmd-btn.pmd-menu-row:active:not(:disabled):before{opacity:1}.pmd-btn.pmd-menu-row:hover:not(:disabled),.pmd-btn.pmd-menu-row:focus-visible:not(:disabled),.pmd-btn.pmd-menu-row:active:not(:disabled){background:#6080f838;color:var(--pmd-text-yellow);border-image:none}.pmd-btn.pmd-menu-row.pmd-btn-danger{color:var(--pmd-text-danger)}.pmd-menu-list:has(.pmd-menu-row:hover:not(:disabled)) .pmd-menu-row:not(:hover):before{opacity:0}.pmd-dialogue-overlay{position:fixed;inset:0;z-index:90;background:#0408105c;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:3.8rem 1rem 1rem;user-select:none;touch-action:manipulation}.pmd-dialogue-overlay[hidden]{display:none!important}.pmd-dialogue-top-bar{position:fixed;top:.85rem;right:.9rem;z-index:96;display:flex;gap:.5rem}.pmd-dialogue-stage{width:100%;max-width:880px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"left . right" "box box box";gap:8px;align-items:end}.pmd-dialogue-portrait-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px}.pmd-dialogue-portrait-slot[hidden]{display:none!important}.pmd-dialogue-portrait-slot--left{grid-area:left;justify-self:start}.pmd-dialogue-portrait-slot--right{grid-area:right;justify-self:end}.pmd-dialogue-portrait-slot.is-speaking{border-image-source:var(--pmd-frame-mini-active)}.pmd-dialogue-portrait-slot.is-listening{opacity:.72;filter:brightness(.8)}.pmd-dialogue-portrait-slot .pmd-portrait-canvas{display:block;width:80px;height:80px;border:2px solid var(--pmd-text-white);background:#081018}.pmd-dialogue-emotion-pill{margin-top:4px;font-size:12px;line-height:1.1;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-dialogue-box{grid-area:box;width:100%;padding:6px 10px;display:flex;flex-direction:column;gap:8px;cursor:inherit}.pmd-dialogue-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:2px solid var(--pmd-divider-subtle);padding-bottom:6px}.pmd-dialogue-speaker-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.pmd-dialogue-nickname{font-size:18px;color:var(--pmd-text-yellow);font-weight:700;letter-spacing:.02em;overflow-wrap:anywhere}.pmd-dialogue-species-badge{font-size:12px;padding:2px 6px;border:2px solid var(--pmd-border-outer);background:var(--pmd-fill-well-deep);color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-dialogue-controls{display:flex;align-items:center;gap:8px;margin-left:auto}.pmd-dialogue-bgm-badge{font-size:12px;color:var(--pmd-text-yellow);background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-band);padding:2px 6px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:1px 1px 0 #000000}.pmd-dialogue-bgm-badge[hidden]{display:none!important}.pmd-dialogue-progress{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-dialogue-skip-btn{min-height:46px;min-width:64px;padding:4px 10px;font-size:14px}.pmd-dialogue-body{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:54px}.pmd-dialogue-text{flex:1;min-width:0;font-size:16px;line-height:1.5;color:var(--pmd-text-white);overflow-wrap:break-word;word-break:break-word}.pmd-dialogue-advance-btn{min-height:46px;min-width:56px;padding:4px 10px;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:var(--pmd-text-yellow);flex-shrink:0}.pmd-dialogue-caret{display:inline-block;animation:pmd-caret-bounce .8s steps(2,end) infinite}@keyframes pmd-caret-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(2px)}}@media(max-width:640px){.pmd-dialogue-bgm-badge{display:none!important}.pmd-dialogue-overlay{padding:3.6rem .5rem .6rem}.pmd-dialogue-portrait-slot .pmd-portrait-canvas{width:60px;height:60px}.pmd-dialogue-box{padding:4px 6px;gap:6px}.pmd-dialogue-nickname{font-size:16px}.pmd-dialogue-text{font-size:14px;line-height:1.42}}@media(max-height:500px){.pmd-dialogue-bgm-badge{display:none!important}.pmd-dialogue-overlay{padding:3.35rem .65rem .45rem}.pmd-dialogue-top-bar{top:.45rem;right:.65rem}.pmd-dialogue-stage{max-width:820px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"left box right";align-items:stretch;gap:6px}.pmd-dialogue-portrait-slot{padding:3px;justify-content:center}.pmd-dialogue-portrait-slot .pmd-portrait-canvas{width:60px;height:60px}.pmd-dialogue-box{border-width:8px 12px;padding:4px 6px;gap:4px}.pmd-dialogue-header{padding-bottom:4px}.pmd-dialogue-body{min-height:40px}.pmd-dialogue-text{font-size:14px;line-height:1.35}}.pmd-viewport.is-battle-active{padding:0!important;width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;overflow:hidden;align-items:stretch!important;justify-content:stretch!important}.pmd-viewport.is-battle-active>.pmd-title-card,.pmd-viewport.is-battle-active>.pmd-campaign-card,.pmd-viewport.is-battle-active>.pmd-landing-backdrop{display:none!important}.pmd-battle-scene{position:relative;width:100%;height:100%;min-height:inherit;overflow:hidden;background:#080e1c;user-select:none}.pmd-battle-scene[hidden],.pmd-battle-action-menu[hidden],.pmd-battle-sandbox-drawer[hidden],.pmd-battle-modal-backdrop[hidden],.pmd-battle-phase-banner[hidden],.pmd-battle-scene [hidden]{display:none!important}.pmd-battle-canvas-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;cursor:inherit;background:#080e1c}.pmd-battle-canvas-stage:active{cursor:inherit}.pmd-battle-canvas{display:block;touch-action:none;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated}.pmd-battle-scene .pmd-panel-title{font-size:18px;color:var(--pmd-text-yellow);letter-spacing:.04em;margin:0}.pmd-battle-scene .pmd-panel-sub{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000;margin:0}.pmd-battle-scene .pmd-subcard-title{font-size:14px;color:var(--pmd-text-yellow);margin:0}.pmd-battle-scene .pmd-subcard-text{font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;line-height:1.45;margin:0;word-break:break-word}.pmd-battle-scene .pmd-preset-label{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000;font-weight:700}.pmd-battle-scene .pmd-devtools-row-between{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.pmd-battle-scene .pmd-inline-btns{display:flex;flex-wrap:wrap;gap:6px}.pmd-battle-scene .pmd-chip-btn{min-height:44px;min-width:44px;padding:4px 10px;font-size:12px;text-shadow:1px 1px 0 #000000}.pmd-battle-scene .pmd-select,.pmd-battle-scene .pmd-textarea{width:100%;padding:8px 10px;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);border-radius:0;color:var(--pmd-text-white);font-family:"Fusion Pixel 12px Proportional KR",sans-serif;font-size:14px;user-select:text}.pmd-battle-scene .pmd-select{min-height:44px}.pmd-battle-hud-top{position:absolute;top:.85rem;left:50%;transform:translate(-50%);z-index:60;display:flex;align-items:center;gap:8px;pointer-events:none;max-width:calc(100% - 260px)}.pmd-battle-pill{min-height:46px;padding:4px 10px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:var(--pmd-text-yellow);white-space:nowrap;pointer-events:auto}.pmd-battle-hud-btn{min-height:46px;padding:4px 10px;font-size:14px;white-space:nowrap;pointer-events:auto}.pmd-battle-phase-banner{position:absolute;top:4.3rem;left:50%;transform:translate(-50%);z-index:70;padding:6px 16px;font-size:16px;font-weight:700;letter-spacing:.05em;color:var(--pmd-text-yellow);pointer-events:none;white-space:nowrap}.pmd-battle-info-strip{position:absolute;left:.75rem;right:.75rem;bottom:.65rem;z-index:55;padding:4px 10px;font-size:14px;line-height:1.35;color:var(--pmd-text-white);pointer-events:none;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pmd-battle-action-menu{position:absolute;z-index:68;width:148px;padding:2px 4px;display:flex;flex-direction:column;gap:0}.pmd-battle-cmd-btn{width:100%;min-height:44px;font-size:14px}.pmd-battle-sandbox-drawer{position:absolute;top:4.1rem;right:.75rem;bottom:.75rem;width:min(430px,calc(100% - 1.5rem));z-index:78;padding:8px 10px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overflow-x:hidden;touch-action:pan-y}.pmd-battle-sandbox-section{background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:8px;display:flex;flex-direction:column;gap:6px}.pmd-battle-chunk-palette{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:4px;max-height:196px;overflow-y:auto;padding:4px;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle);touch-action:pan-y}.pmd-chunk-cell{position:relative;min-width:50px;min-height:50px;padding:0;background:#0c1a28;border:2px solid var(--pmd-divider-subtle);display:flex;align-items:center;justify-content:center;cursor:inherit;touch-action:manipulation}.pmd-chunk-cell:hover,.pmd-chunk-cell.is-active{border-color:var(--pmd-text-yellow)}.pmd-chunk-thumb{width:48px;height:48px;display:block}.pmd-chunk-idx{position:absolute;right:2px;bottom:2px;padding:0 3px;font-size:10px;line-height:1.15;background:#000000d9;color:var(--pmd-text-yellow);text-shadow:none;pointer-events:none}.pmd-battle-modal-backdrop{position:absolute;inset:0;z-index:86;background:#040a14a6;display:flex;align-items:center;justify-content:center;padding:3.9rem .85rem .85rem}.pmd-battle-system-dialog{width:100%;max-width:360px;max-height:100%;overflow-y:auto;padding:8px 10px;display:flex;flex-direction:column;gap:8px}.pmd-battle-system-actions{display:flex;flex-direction:column;gap:0;border-top:2px solid var(--pmd-divider-subtle)}.pmd-battle-export-dialog{width:100%;max-width:560px;max-height:100%;overflow-y:auto;padding:8px 10px;display:flex;flex-direction:column;gap:8px}@media(max-width:720px){.pmd-viewport.is-battle-active{height:100dvh;min-height:100dvh;max-height:100dvh}.pmd-battle-hud-top{top:4.05rem;left:.45rem;right:.45rem;transform:none;max-width:none;justify-content:center;flex-wrap:wrap;gap:6px}.pmd-battle-pill,.pmd-battle-hud-btn{min-height:44px;padding:4px 8px;font-size:12px;text-shadow:1px 1px 0 #000000}.pmd-battle-phase-banner{top:7.1rem;font-size:14px;padding:4px 12px}.pmd-battle-sandbox-drawer{inset:3.95rem .45rem .45rem;width:auto;padding:6px 8px}.pmd-battle-info-strip{left:.45rem;right:.45rem;bottom:.45rem;border-width:8px 12px;padding:2px 6px;font-size:12px;text-shadow:1px 1px 0 #000000}}@media(max-height:500px){.pmd-viewport.is-battle-active{height:100dvh;min-height:100dvh;max-height:100dvh}.pmd-battle-hud-top{top:.55rem;left:50%;right:auto;transform:translate(-50%);max-width:calc(100% - 240px);flex-wrap:nowrap;gap:6px}.pmd-battle-pill,.pmd-battle-hud-btn{min-height:44px;padding:3px 8px;font-size:12px;text-shadow:1px 1px 0 #000000}.pmd-battle-phase-banner{top:3.55rem;font-size:14px;padding:4px 10px}.pmd-battle-sandbox-drawer{top:3.45rem;right:.55rem;left:auto;bottom:.4rem;width:min(460px,calc(100% - 1.1rem));padding:6px 8px;gap:6px}.pmd-battle-chunk-palette{max-height:120px}.pmd-battle-info-strip{left:.55rem;right:.55rem;bottom:.35rem;border-width:6px 10px;padding:2px 6px;font-size:12px;text-shadow:1px 1px 0 #000000;-webkit-line-clamp:1}.pmd-battle-modal-backdrop{padding:3.35rem .65rem .45rem}.pmd-battle-system-dialog{max-width:540px;border-width:8px 12px;padding:4px 8px;gap:4px}.pmd-battle-system-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px}.pmd-battle-export-dialog{border-width:8px 12px;padding:4px 8px;gap:6px}.pmd-battle-export-dialog .pmd-textarea{height:80px;max-height:92px}}.pmd-battle-outcome-dialog{width:100%;max-width:440px;max-height:100%;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.pmd-battle-outcome-dialog.is-defeat-window{border-image-source:var(--pmd-frame-danger)}.pmd-battle-scene .pmd-panel-title.is-danger-title{color:var(--pmd-text-danger)}.pmd-battle-kicker{display:inline-block;padding:2px 8px;font-size:12px;font-weight:700;letter-spacing:.08em;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-battle-kicker.is-victory{border-color:var(--pmd-text-green);color:var(--pmd-text-green)}.pmd-battle-kicker.is-defeat{border-color:var(--pmd-text-danger);color:var(--pmd-text-danger)}.pmd-battle-brief-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pmd-battle-brief-item{background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:6px 8px;display:flex;flex-direction:column;gap:2px}.pmd-battle-brief-label{font-size:12px;color:var(--pmd-text-cyan);text-transform:uppercase;text-shadow:1px 1px 0 #000000}.pmd-battle-brief-val{font-size:14px;color:var(--pmd-text-white)}.pmd-battle-brief-val.is-danger{color:var(--pmd-text-danger)}.pmd-battle-outcome-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}.pmd-battle-outcome-actions .pmd-btn{min-height:46px;min-width:138px}.pmd-battle-forecast-dialog{width:100%;max-width:660px;max-height:100%;overflow-y:auto;padding:8px 10px;display:flex;flex-direction:column;gap:8px}.pmd-forecast-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding-bottom:6px;border-bottom:2px solid var(--pmd-divider-subtle)}.pmd-forecast-eff-badge{display:inline-flex;align-items:center;padding:2px 8px;font-size:12px;font-weight:700;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000}.pmd-forecast-eff-badge.is-super{border-color:var(--pmd-text-green);color:var(--pmd-text-green)}.pmd-forecast-eff-badge.is-resisted{border-color:var(--pmd-text-orange);color:#ffd088}.pmd-forecast-selector-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pmd-forecast-versus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pmd-forecast-side{padding:8px;display:flex;flex-direction:column;gap:6px;background:var(--pmd-fill-well);border:2px solid var(--pmd-border-outer)}.pmd-forecast-side.is-attacker{background:#183a58;border-color:#78b8f8}.pmd-forecast-side.is-defender{background:#382034;border-color:#f06880}.pmd-forecast-side.is-ally-heal{background:#184034;border-color:var(--pmd-text-green)}.pmd-forecast-unit-head{display:flex;align-items:center;gap:8px}.pmd-forecast-portrait-slot{width:44px;height:44px;flex-shrink:0;background:#081018;border:2px solid var(--pmd-text-white);border-radius:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.pmd-forecast-portrait-slot canvas{width:40px!important;height:40px!important;display:block}.pmd-forecast-unit-id{min-width:0;display:flex;flex-direction:column;gap:2px}.pmd-forecast-unit-name{font-size:14px;color:var(--pmd-text-yellow);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-forecast-unit-meta{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-forecast-move-line{font-size:12px;color:var(--pmd-text-green);text-shadow:1px 1px 0 #000000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-forecast-hp-bar-track{position:relative;width:100%;height:10px;background:#182028;border:2px solid var(--pmd-text-white);border-radius:0;overflow:hidden}.pmd-forecast-hp-bar-ghost{position:absolute;inset:0 auto 0 0;background:#f8d8388c}.pmd-forecast-hp-bar-fill{position:absolute;inset:0 auto 0 0;background:#50f850}.pmd-forecast-hp-bar-fill.is-enemy{background:#f85868}.pmd-forecast-hp-bar-fill.is-heal{background:#58f888}.pmd-forecast-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.pmd-forecast-stat{background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle);padding:3px 4px;display:flex;flex-direction:column;align-items:center;text-align:center}.pmd-forecast-stat span{font-size:10px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-forecast-stat strong{font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;white-space:nowrap}.pmd-forecast-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.pmd-forecast-actions .pmd-btn{min-height:46px;min-width:124px}@media(max-width:600px){.pmd-forecast-versus-grid{grid-template-columns:1fr;gap:6px}.pmd-battle-forecast-dialog{padding:6px 8px;gap:6px}.pmd-forecast-actions{justify-content:stretch}.pmd-forecast-actions .pmd-btn{flex:1;min-width:0}.pmd-battle-brief-grid{grid-template-columns:1fr}}@media(max-height:500px){.pmd-battle-outcome-dialog{max-width:560px;border-width:8px 12px;padding:6px 10px;gap:4px}.pmd-battle-outcome-actions .pmd-btn{min-height:44px;padding:4px 10px}.pmd-battle-forecast-dialog{max-width:720px;border-width:8px 12px;padding:4px 8px;gap:4px}.pmd-forecast-versus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pmd-forecast-side{padding:4px 6px;gap:4px}.pmd-forecast-portrait-slot{width:44px;height:44px}.pmd-forecast-portrait-slot canvas{width:40px!important;height:40px!important}.pmd-forecast-stat{padding:2px 3px}.pmd-forecast-stat strong{font-size:12px}.pmd-forecast-actions .pmd-btn{min-height:44px;padding:3px 10px}}.pmd-prep-layer{position:absolute;inset:0;z-index:80;pointer-events:none}.pmd-prep-backdrop{z-index:82;pointer-events:auto}.pmd-prep-backdrop[data-testid=prep-rename-modal]{z-index:85}.pmd-prep-hub-dialog{width:100%;max-width:600px;max-height:100%;overflow-y:auto;overflow-x:hidden;padding:10px 12px;display:flex;flex-direction:column;gap:10px;touch-action:pan-y}.pmd-prep-hub-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding-bottom:6px;border-bottom:2px solid var(--pmd-divider-subtle)}.pmd-prep-squad-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(156px,1fr));gap:6px}.pmd-prep-squad-chip{background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:5px 8px;display:flex;flex-direction:column;gap:2px;min-width:0}.pmd-prep-chip-name{font-size:14px;color:var(--pmd-text-yellow);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-prep-chip-meta{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-prep-chip-loadout{font-size:12px;color:var(--pmd-text-green);text-shadow:1px 1px 0 #000000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-prep-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:4px 8px}.pmd-prep-option-btn{min-height:54px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;text-align:left}.pmd-prep-opt-title{font-size:16px;font-weight:700;color:var(--pmd-text-white)}.pmd-prep-option-btn.is-enter-cta .pmd-prep-opt-title,.pmd-prep-option-btn:hover .pmd-prep-opt-title{color:var(--pmd-text-yellow)}.pmd-prep-opt-sub{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-prep-modal-dialog{width:100%;max-width:940px;max-height:100%;overflow-y:auto;overflow-x:hidden;padding:8px 10px;display:flex;flex-direction:column;gap:8px;touch-action:pan-y}.pmd-prep-items-dialog{max-width:820px}.pmd-prep-modal-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:2px solid var(--pmd-divider-subtle);padding-bottom:6px}.pmd-prep-units-body{display:grid;grid-template-columns:minmax(250px,315px) minmax(0,1fr);gap:10px;align-items:start}.pmd-prep-roster-pane,.pmd-prep-inspector-pane{display:flex;flex-direction:column;gap:8px;min-width:0}.pmd-prep-roster-list{display:flex;flex-direction:column;gap:0;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:2px 6px}.pmd-prep-roster-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;border-bottom:2px solid var(--pmd-divider-subtle);padding:3px 0}.pmd-prep-roster-row:last-child{border-bottom:0}.pmd-prep-roster-select-btn{min-height:46px;border-bottom:0!important;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:2px;text-align:left;min-width:0}.pmd-prep-roster-row.is-selected .pmd-prep-roster-select-btn{background:#6080f83d}.pmd-prep-r-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:14px;color:var(--pmd-text-yellow)}.pmd-prep-r-lv{font-size:12px;color:var(--pmd-text-white);flex-shrink:0}.pmd-prep-r-sub{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmd-prep-deploy-btn{min-width:88px;white-space:nowrap;padding:4px 8px;font-size:12px}.pmd-prep-unit-hero{display:flex;align-items:center;gap:10px;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:8px}.pmd-prep-unit-avatars{display:flex;align-items:center;gap:8px;flex-shrink:0}.pmd-prep-portrait-box{width:64px;height:64px;background:#081018;border:2px solid var(--pmd-text-white)}.pmd-prep-portrait-box canvas{width:60px!important;height:60px!important}.pmd-prep-sprite-box{width:64px;height:64px;background:#081018;border:2px solid var(--pmd-border-outer);display:flex;align-items:center;justify-content:center;overflow:hidden}.pmd-prep-unit-title-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.pmd-prep-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.pmd-prep-unit-big-name{font-size:16px;color:var(--pmd-text-yellow)}.pmd-prep-unit-meta-line{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-prep-badges-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.pmd-prep-type-pill,.pmd-prep-traversal-pill,.pmd-prep-cat-tag,.pmd-prep-stock-tag{display:inline-flex;align-items:center;padding:1px 6px;font-size:12px;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000}.pmd-prep-traversal-pill{border-color:var(--pmd-text-green);color:var(--pmd-text-green)}.pmd-prep-stock-tag{border-color:var(--pmd-text-yellow);color:var(--pmd-text-yellow)}.pmd-prep-ability-card{display:flex;flex-direction:column;gap:2px;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:6px 8px}.pmd-prep-ability-title{font-size:12px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-prep-ability-title strong{color:var(--pmd-text-yellow)}.pmd-prep-ability-desc{font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;line-height:1.38}.pmd-prep-item-shortcut-row,.pmd-prep-slot-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:6px 8px}.pmd-prep-item-shortcut-info{font-size:14px;color:var(--pmd-text-white);display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pmd-prep-item-shortcut-info strong{color:var(--pmd-text-yellow)}.pmd-prep-slot-info{flex:1;min-width:180px;display:flex;flex-direction:column;gap:2px}.pmd-prep-stats-section,.pmd-prep-moves-section{display:flex;flex-direction:column;gap:6px}.pmd-prep-stats-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.pmd-prep-stat-box{background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle);padding:4px 3px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px}.pmd-prep-stat-lbl{font-size:10px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-prep-stat-val{font-size:14px;color:var(--pmd-text-yellow)}.pmd-prep-stat-gr{font-size:10px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;white-space:nowrap}.pmd-prep-move-list,.pmd-prep-items-list{display:flex;flex-direction:column;gap:0;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:2px 8px}.pmd-prep-move-card,.pmd-prep-item-row{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:0;border-bottom:2px solid var(--pmd-divider-line);padding:6px 2px}.pmd-prep-move-card:last-child,.pmd-prep-item-row:last-child{border-bottom:0}.pmd-prep-move-card.is-equipped,.pmd-prep-item-row.is-equipped{background:#6080f82e}.pmd-prep-move-card.is-bench{border-bottom-style:dashed;border-bottom-color:var(--pmd-divider-subtle)}.pmd-prep-move-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.pmd-prep-move-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--pmd-text-green)}.pmd-prep-item-row .pmd-prep-move-title-line{color:var(--pmd-text-yellow)}.pmd-prep-move-stats{font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;line-height:1.35}.pmd-prep-move-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex-shrink:0}.pmd-prep-items-unit-bar{display:flex;flex-direction:column;gap:4px}.pmd-prep-unit-pills,.pmd-prep-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pmd-prep-status-line{margin:0;padding:6px 8px;font-size:12px;color:var(--pmd-text-green);background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-text-green);text-shadow:1px 1px 0 #000000}.pmd-prep-text-input{text-align:center;font-size:16px}.pmd-prep-map-hud{z-index:81}@media(max-width:760px){.pmd-prep-units-body{grid-template-columns:1fr;gap:8px}.pmd-prep-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pmd-prep-modal-dialog,.pmd-prep-hub-dialog{padding:6px 8px;gap:6px}}@media(max-width:560px){.pmd-prep-menu-grid{grid-template-columns:1fr;gap:0}.pmd-prep-option-btn{min-height:50px}.pmd-prep-unit-hero{flex-wrap:wrap}.pmd-prep-move-card,.pmd-prep-item-row{flex-direction:column;align-items:stretch}.pmd-prep-move-actions{justify-content:flex-end}.pmd-prep-map-pill{display:none!important}}@media(max-height:500px){.pmd-prep-hub-dialog{max-width:720px;border-width:8px 12px;padding:4px 8px;gap:4px}.pmd-prep-hub-header{gap:2px;padding-bottom:4px}.pmd-prep-squad-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.pmd-prep-squad-chip{padding:3px 6px;gap:1px}.pmd-prep-chip-loadout{display:none}.pmd-prep-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px;padding:2px 6px}.pmd-prep-option-btn{min-height:46px;padding-top:4px;padding-bottom:4px;gap:1px}.pmd-prep-opt-title{font-size:14px}.pmd-prep-opt-sub{font-size:11px}.pmd-prep-modal-dialog{max-width:820px;border-width:8px 12px;padding:4px 8px;gap:6px}.pmd-prep-units-body{grid-template-columns:250px minmax(0,1fr);gap:8px}.pmd-prep-portrait-box,.pmd-prep-sprite-box{width:44px;height:44px}.pmd-prep-portrait-box canvas{width:40px!important;height:40px!important}}.pmd-map-editor-drawer{width:min(460px,calc(100% - 1.5rem))}.pmd-editor-status-pill{display:inline-flex;align-items:center;padding:2px 6px;font-size:12px;font-weight:700;letter-spacing:.04em;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-editor-status-pill.is-custom{border-color:var(--pmd-text-green);color:var(--pmd-text-green)}.pmd-editor-status-pill.is-unsaved{border-color:var(--pmd-text-yellow);color:var(--pmd-text-yellow)}.pmd-editor-brush-readout{padding:5px 8px;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-text-yellow);color:var(--pmd-text-yellow)!important}.pmd-editor-enemy-config{display:flex;flex-direction:column;gap:6px;padding:6px;background:#301624;border:2px solid #e06078}.pmd-editor-stepper-row{align-items:center}.pmd-editor-dim-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:6px}.pmd-editor-dim-item{display:flex;flex-direction:column;gap:4px;padding:6px;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle)}.pmd-devtools-map-preview-wrap{width:100%;background:#08101c;border:2px solid var(--pmd-border-outer);padding:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}.pmd-devtools-map-preview-canvas{display:block;max-width:100%;max-height:260px;width:auto;height:auto;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated;border:2px solid var(--pmd-text-white)}@media(max-width:720px){.pmd-map-editor-drawer{width:auto}}@media(max-height:500px){.pmd-devtools-map-preview-canvas{max-height:150px}}.pmd-overworld-scene{background:#141c2c}.pmd-overworld-canvas{display:block;width:100%;height:100%;cursor:inherit;touch-action:none;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated}.pmd-overworld-canvas:active{cursor:inherit}.pmd-overworld-dock{position:absolute;left:50%;bottom:.75rem;transform:translate(-50%);z-index:62;width:min(860px,calc(100% - 1.5rem));padding:6px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.pmd-overworld-dock-info{min-width:200px;flex:1;display:flex;flex-direction:column;gap:2px}.pmd-overworld-dock-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pmd-overworld-dock-title{margin:0;font-size:16px;color:var(--pmd-text-yellow);letter-spacing:.03em}.pmd-overworld-dock-sub{margin:0;font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;line-height:1.32}.pmd-overworld-badge{display:inline-flex;align-items:center;padding:1px 6px;font-size:12px;font-weight:700;background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-border-outer);color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-overworld-badge.is-story{background:#481828;border-color:var(--pmd-text-yellow);color:var(--pmd-text-yellow)}.pmd-overworld-badge.is-cleared{background:#143828;border-color:var(--pmd-text-green);color:var(--pmd-text-green)}.pmd-overworld-badge.is-shop{background:#14382c;border-color:var(--pmd-text-yellow);color:var(--pmd-text-green)}.pmd-overworld-badge.is-skirmish{background:#481620;border-color:var(--pmd-text-danger);color:#ffd0d8}.pmd-overworld-dock-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.pmd-overworld-dock-actions .pmd-btn{min-height:46px;padding:4px 10px;font-size:14px;white-space:nowrap}.pmd-overworld-toast{position:absolute;top:4.25rem;left:50%;transform:translate(-50%);z-index:72;max-width:min(680px,calc(100% - 1.5rem));padding:6px 12px;font-size:14px;color:var(--pmd-text-yellow);text-align:center;pointer-events:none}.pmd-overworld-modal-dialog{width:min(880px,100%);max-height:100%;overflow-y:auto;padding:8px 10px;display:flex;flex-direction:column;gap:8px;touch-action:pan-y}.pmd-kecleon-hero{display:flex;align-items:center;gap:10px;padding:8px;background:var(--pmd-fill-well);border:2px solid var(--pmd-text-green)}.pmd-kecleon-portrait-box{width:64px;height:64px;flex-shrink:0;background:#081018;border:2px solid var(--pmd-text-white);display:flex;align-items:center;justify-content:center;overflow:hidden}.pmd-kecleon-portrait-box canvas{width:60px!important;height:60px!important;display:block}.pmd-kecleon-speech{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.pmd-kecleon-speech strong{font-size:16px;color:var(--pmd-text-green)}.pmd-kecleon-speech p{margin:0;font-size:14px;color:var(--pmd-text-white);line-height:1.35}.pmd-kecleon-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}.pmd-kecleon-item-card{background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:8px;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.pmd-kecleon-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;border-bottom:2px solid var(--pmd-divider-subtle);padding-bottom:4px}.pmd-kecleon-item-name{font-size:14px;color:var(--pmd-text-green)}.pmd-kecleon-item-price{font-size:14px;font-weight:700;color:var(--pmd-text-yellow);white-space:nowrap}.pmd-kecleon-item-desc{margin:0;font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000;line-height:1.35}.pmd-overworld-roster-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:10px;align-items:start}.pmd-overworld-unit-list{display:flex;flex-direction:column;gap:0;background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:2px 6px}.pmd-overworld-unit-btn{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:46px}.pmd-overworld-unit-detail{background:var(--pmd-fill-well);border:2px solid var(--pmd-divider-subtle);padding:8px 10px;display:flex;flex-direction:column;gap:8px}.pmd-overworld-stat-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.pmd-overworld-stat-cell{background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle);padding:4px 2px;display:flex;flex-direction:column;align-items:center;text-align:center}.pmd-overworld-stat-cell span{font-size:10px;color:var(--pmd-text-cyan);text-shadow:1px 1px 0 #000000}.pmd-overworld-stat-cell strong{font-size:14px;color:var(--pmd-text-yellow)}.pmd-overworld-subbox{background:var(--pmd-fill-well-deep);border:2px solid var(--pmd-divider-subtle);padding:6px 8px;display:flex;flex-direction:column;gap:4px}.pmd-overworld-subbox-title{margin:0;font-size:14px;color:var(--pmd-text-yellow)}.pmd-overworld-action-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:5px 4px;border-bottom:2px solid var(--pmd-divider-subtle)}.pmd-overworld-action-row:last-child{border-bottom:0}.pmd-overworld-action-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.pmd-overworld-action-meta strong{font-size:14px;color:var(--pmd-text-green)}.pmd-overworld-action-meta span{font-size:12px;color:var(--pmd-text-white);text-shadow:1px 1px 0 #000000}@media(max-width:720px){.pmd-overworld-dock{left:.45rem;right:.45rem;bottom:.45rem;transform:none;width:auto;border-width:8px 12px;padding:4px 6px;gap:6px}.pmd-overworld-dock-sub{display:none}.pmd-overworld-dock-actions{width:100%}.pmd-overworld-dock-actions .pmd-btn{flex:1;min-height:44px;padding:4px 6px;font-size:12px}.pmd-overworld-roster-grid{grid-template-columns:1fr}.pmd-overworld-stat-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.pmd-overworld-toast{top:7.15rem}}@media(max-height:500px){.pmd-overworld-dock{bottom:.4rem;border-width:8px 12px;padding:3px 8px;gap:6px;flex-wrap:nowrap}.pmd-overworld-dock-sub{display:none}.pmd-overworld-dock-actions{flex-wrap:nowrap}.pmd-overworld-dock-actions .pmd-btn{min-height:44px;padding:3px 8px;font-size:12px}.pmd-overworld-modal-dialog{border-width:8px 12px;padding:4px 8px;gap:6px}.pmd-kecleon-portrait-box{width:44px;height:44px}.pmd-kecleon-portrait-box canvas{width:40px!important;height:40px!important}}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;min-height:100%;background-color:#0b1324;color:#f8f8f8;font-family:"Fusion Pixel 12px Proportional KR",sans-serif;line-height:1.5;overflow-x:hidden}button,input,select,textarea{font-family:inherit}.mystery-emblem-shell[data-astro-cid-j7pv25f6]{width:100%;min-height:100dvh;display:flex;flex-direction:column;background:#0b1324}.pmd-viewport[data-astro-cid-j7pv25f6]{position:relative;flex:1;width:100%;min-height:100dvh;display:flex;justify-content:center;align-items:center;padding:4.25rem 1.25rem 1.5rem;background:linear-gradient(180deg,#131130,#1d1f48 22%,#132540 66%,#0b1424);user-select:none;touch-action:manipulation}.pmd-landing-backdrop[data-astro-cid-j7pv25f6]{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 22% 16%,rgba(112,224,196,.16) 0%,transparent 42%),radial-gradient(circle at 82% 14%,rgba(128,176,255,.18) 0%,transparent 45%),linear-gradient(180deg,#141233,#22204c 20%,#142642 64%,#0b1424)}.pmd-landing-art[data-astro-cid-j7pv25f6]{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}.pmd-corner-btn[data-astro-cid-j7pv25f6]{position:fixed;top:max(.85rem,env(safe-area-inset-top));min-height:46px;min-width:108px;padding:4px 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:#f8f800;cursor:inherit;z-index:95}.pmd-google-g-icon{flex-shrink:0;display:block;filter:drop-shadow(1px 1px 0 #000000)}.pmd-corner-left[data-astro-cid-j7pv25f6]{left:max(.85rem,env(safe-area-inset-left));color:#a8e0f8}.pmd-corner-right[data-astro-cid-j7pv25f6]{right:max(.85rem,env(safe-area-inset-right))}.pmd-corner-btn[data-astro-cid-j7pv25f6]:hover,.pmd-corner-btn[data-astro-cid-j7pv25f6]:active{border-image-source:var(--pmd-frame-mini-active);color:#f8f800}.pmd-title-card[data-astro-cid-j7pv25f6]{position:relative;z-index:2;width:min(276px,88vw);padding:4px 8px;display:flex;flex-direction:column;align-items:stretch;gap:4px;align-self:flex-end;margin-left:auto;margin-top:auto;margin-right:clamp(.4rem,2.8vw,2.25rem);margin-bottom:clamp(.25rem,1.8vh,1rem)}@media(max-aspect-ratio:999/1000){.pmd-landing-backdrop[data-astro-cid-j7pv25f6]{justify-content:flex-start}.pmd-landing-art[data-astro-cid-j7pv25f6]{width:100%;height:auto;max-height:58dvh;object-fit:contain;margin-top:clamp(4.2rem,14dvh,7.5rem);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000000 5%,#000000 92%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000000 5%,#000000 92%,transparent 100%)}.pmd-title-card[data-astro-cid-j7pv25f6]{width:min(276px,92vw);align-self:center;margin:calc(clamp(.4rem,6.5dvh,3rem) + 56vw + 1.5rem) auto auto}}.pmd-continue-btn[data-astro-cid-j7pv25f6]{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:18px;font-weight:700}.pmd-continue-chapter[data-astro-cid-j7pv25f6]{display:inline-flex;align-items:center;padding:2px 6px;border:2px solid #a8c0e0;background:#102638;color:#58f858;font-size:12px;letter-spacing:.02em;margin-left:auto}.pmd-actions[data-astro-cid-j7pv25f6]{display:flex;flex-direction:column;gap:0;width:100%}.pmd-status[data-astro-cid-j7pv25f6]{margin-top:4px;font-size:12px;color:#a8e0f8;padding:6px 4px 2px;border-top:2px solid rgba(168,192,224,.38);width:100%}.pmd-devtools-backdrop[data-astro-cid-j7pv25f6]{position:fixed;inset:0;z-index:93;background:#040810b8;display:flex;align-items:flex-start;justify-content:center;padding:4.1rem .85rem .85rem;overflow-y:auto;touch-action:pan-y}.pmd-panel{position:relative;width:100%;max-width:780px;max-height:calc(100dvh - 5rem);overflow-y:auto;overflow-x:hidden;padding:12px 14px;display:flex;flex-direction:column;gap:10px;touch-action:pan-y}.pmd-panel-title{font-size:18px;color:#f8f800;letter-spacing:.04em;text-shadow:2px 2px 0 #000000}.pmd-panel-sub{font-size:12px;color:#a8e0f8}.pmd-tabs{display:flex;flex-wrap:wrap;gap:6px}.pmd-tab-btn{flex:1 1 130px}.pmd-tab-panel{display:flex;flex-direction:column;gap:8px}.pmd-devtools-row-between{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.pmd-subcard{background:#16344c;border:2px solid rgba(168,192,224,.45);padding:8px 10px;display:flex;flex-direction:column;gap:6px}.pmd-subcard-title{font-size:14px;color:#f8f800}.pmd-subcard-text{font-size:12px;color:#f8f8f8;line-height:1.45;word-break:break-word}.pmd-inline-btns{display:flex;flex-wrap:wrap;gap:6px}.pmd-textarea,.pmd-text-input,.pmd-select{width:100%;padding:8px 10px;background:#102638;border:2px solid #a8c0e0;border-radius:0;color:#f8f8f8;font-size:14px;user-select:text}.pmd-text-input,.pmd-select{min-height:44px}.pmd-slider-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:12px;color:#a8e0f8}.pmd-range{flex:1;min-height:44px;accent-color:#f8f800;cursor:inherit}.pmd-textarea:focus,.pmd-text-input:focus,.pmd-select:focus{outline:2px solid #f8f800;border-color:#f8f800}.pmd-modal-backdrop{position:fixed;inset:0;background:#040810c7;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100}.pmd-preset-label{font-size:12px;color:#a8e0f8}.pmd-chip-btn{min-height:44px;padding:4px 10px;font-size:12px}@media(max-width:640px){.pmd-viewport[data-astro-cid-j7pv25f6]{min-height:100dvh;padding:4.15rem .65rem 1rem}.pmd-panel{padding:8px 10px}}@media(max-height:500px){.pmd-viewport[data-astro-cid-j7pv25f6]{min-height:100dvh;padding:3.35rem .85rem .6rem}.pmd-corner-btn[data-astro-cid-j7pv25f6]{top:max(.5rem,env(safe-area-inset-top));min-height:44px}.pmd-title-card[data-astro-cid-j7pv25f6]{width:min(260px,84vw);padding:2px 6px;margin-bottom:.25rem}.pmd-devtools-backdrop[data-astro-cid-j7pv25f6]{padding:3.35rem .65rem .45rem}.pmd-panel{max-height:calc(100dvh - 3.85rem);padding:6px 8px;gap:6px}}
