.core-popup{position:fixed;left:50%;top:18%;z-index:90;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));border:3px solid rgba(92,230,255,.45);background:linear-gradient(180deg,rgba(10,18,34,.98),rgba(4,8,18,.98));box-shadow:0 20px 60px rgba(0,0,0,.55),0 0 24px rgba(92,230,255,.16);padding:16px 18px;animation:corePopupIn .14s steps(3,end)}
.core-popup b{display:block;color:#ffe66d;font-size:22px;line-height:1.25;margin-bottom:6px}
.core-popup span{display:block;color:#dfefff;line-height:1.45}
.core-popup.success{border-color:rgba(124,255,155,.6);box-shadow:0 20px 60px rgba(0,0,0,.55),0 0 28px rgba(124,255,155,.18)}
.core-popup.fail,.core-popup.danger{border-color:rgba(255,107,87,.68);box-shadow:0 20px 60px rgba(0,0,0,.55),0 0 28px rgba(255,107,87,.18)}
.core-popup.fail b,.core-popup.danger b{color:#ffad9e}
.core-popup.info b{color:#8fe9ff}
.core-choice-modal{position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:18px;background:rgba(1,4,10,.72);backdrop-filter:blur(5px)}
.core-choice-shell{width:min(720px,calc(100vw - 26px));max-height:calc(100vh - 28px);overflow:auto;border:3px solid rgba(92,230,255,.42);background:linear-gradient(180deg,rgba(9,15,29,.98),rgba(4,8,17,.98));box-shadow:0 24px 72px rgba(0,0,0,.66);padding:20px}
.core-choice-shell h2{margin:0 0 8px;font-size:30px;letter-spacing:-.04em}
.core-choice-shell p{color:#d8e9f2;line-height:1.5}
.core-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:14px}
.core-choice-grid button{min-height:118px;text-align:left;border:2px solid rgba(255,255,255,.16);background:rgba(16,25,40,.88);color:#eaf7ff;padding:14px;cursor:pointer}
.core-choice-grid button:hover{transform:translateY(-2px);border-color:#5ce6ff}
.core-choice-grid b{display:block;font-size:18px;margin-bottom:8px;color:#fff}
.core-choice-grid span{display:block;color:#aebfce;font-size:13px;line-height:1.4}
.core-choice-grid em{display:block;margin-top:10px;color:#ffe66d;font-style:normal;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.unit-box.core-fadeout{animation:coreFadeOut 1s steps(8,end) forwards;pointer-events:none}
.unit-box.core-fadeout .core-art,.unit-box.core-fadeout .unit-head,.unit-box.core-fadeout .hp,.unit-box.core-fadeout .unit-foot{animation:coreSignalScatter 1s ease-out forwards}
#starterScreen .top-row .muted:after{content:'스타팅 코어 3마리 중 최대 1마리와 지금까지 확보한 코어를 합쳐 1~3마리 엔트리를 고르세요.'!important}
#starterScreen .cost-box{display:block!important;font-size:0!important;white-space:nowrap}
#starterScreen .cost-box:before{content:'선택 ';font-size:18px;color:#91a8b8}
#starterScreen .cost-box b{font-size:18px;color:#ffe66d}
#starterGrid{align-items:stretch}
#starterGrid .entry-choice{transition:opacity .12s,transform .12s,border-color .12s}
#starterGrid .entry-choice:after{content:none!important;display:none!important}
#starterGrid .entry-choice.entry-disabled{opacity:.46;cursor:not-allowed;filter:saturate(.55)}
#starterGrid .entry-pick-note{display:block;margin-top:auto;padding-top:12px;color:#91a8b8;font-size:12px;line-height:1.35;font-weight:800;letter-spacing:.02em}
#starterGrid .entry-choice.selected .entry-pick-note{color:#ffe66d}
#starterGrid .entry-choice.selected{outline:3px solid #ffe66d!important;border-color:#ffe66d!important}
#starterGrid .entry-choice.entry-disabled .entry-pick-note{color:#788695}
#starterScreen .full-panel{max-width:1120px}
@keyframes corePopupIn{from{opacity:0;transform:translateX(-50%) translateY(-10px) scale(.96);filter:brightness(1.8)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1);filter:brightness(1)}}
@keyframes coreFadeOut{0%{opacity:1;filter:brightness(1)}35%{opacity:.72;filter:brightness(1.6) saturate(.7)}70%{opacity:.34;filter:brightness(1.9) blur(1px)}100%{opacity:.06;filter:brightness(2.2) blur(3px);transform:translateY(-12px)}}
@keyframes coreSignalScatter{0%{transform:translateY(0);opacity:1}100%{transform:translateY(-8px);opacity:.12}}
@media(max-width:900px){.core-popup{top:12%;width:calc(100vw - 24px)}.core-choice-shell{padding:16px}.core-choice-grid{grid-template-columns:1fr}.core-choice-grid button{min-height:96px}#starterScreen .top-row{align-items:flex-start;flex-direction:column}#starterScreen .cost-box:before,#starterScreen .cost-box b{font-size:16px}#starterGrid .entry-pick-note{font-size:12px}}
