/* Work Console V5.1. Scoped to approved screens; battlefield/HUD remain untouched. */
#console-v51{position:fixed;inset:0;z-index:3600;background:#102b3f;overflow:hidden;color:#f6f7ee;font-family:'PT Read',sans-serif}
#console-v51[hidden]{display:none!important}.cv-stage{position:absolute;left:50%;top:50%;transform-origin:center;background-size:cover;background-position:center;color:#f6f7ee;font-family:'PT Read',sans-serif;font-size:21px;overflow:hidden;isolation:isolate}
.cv-stage *{box-sizing:border-box}.cv-stage h2,.cv-stage h3,.cv-stage p{margin:0}.cv-stage h3{font-size:30px;font-weight:600}.cv-stage p{line-height:1.4}.cv-stage small,.cv-small{font-size:16px;color:#d0e0e4}
.cv-stage button,.cv-stage input,.cv-stage select{font:inherit}.cv-stage button{cursor:pointer;color:#f6f7ee;text-shadow:none;box-shadow:none;min-width:44px;min-height:44px}.cv-stage button:disabled{cursor:default;color:#d0e0e4}
.cv-button{border:18px solid transparent;border-image:url('assets/console-v51/ui4/button-secondary-idle.png') 18 24 fill / 18px 24px stretch;background:none;padding:0 10px;line-height:1.15;min-height:58px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;transition:filter 100ms}
.cv-button.primary{border-image-source:url('assets/console-v51/ui4/button-primary-idle.png')}.cv-button.selected{border-image-source:url('assets/console-v51/ui4/button-secondary-selected.png')}.cv-button:disabled{border-image-source:url('assets/console-v51/ui5/button-secondary-disabled.png')}.cv-button.primary:disabled{border-image-source:url('assets/console-v51/ui5/button-primary-disabled.png')}
@media(hover:hover){.cv-button:hover:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-secondary-hover.png')}}
.cv-button:active:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-secondary-pressed.png')}.cv-stage button:focus-visible{outline:3px solid #92e4d5;outline-offset:-4px}.cv-button:focus-visible:after{content:'';position:absolute;inset:2px;pointer-events:none}
.cv-frame{border:24px solid transparent;border-image:url('assets/console-v51/ui4/frame-info.png') 24 fill / 24px stretch;background:none;padding:0;color:#f6f7ee}
.cv-header{height:88px;position:absolute;inset:0 0 auto;background:#102b3fe8;display:flex;align-items:center;gap:20px;padding:0 36px;z-index:5}.cv-header h2{font-size:36px}.cv-header .cv-back{width:44px;height:44px;font-size:38px;min-height:44px;padding:0;border-width:8px}.cv-header nav{margin-left:auto;display:flex;gap:12px}.cv-header nav .cv-button{font-size:18px;min-height:44px;height:44px}
.cv-tabs{display:flex;gap:12px;flex-shrink:0}.cv-tabs>.cv-button{flex:1;min-width:0;height:58px;font-size:24px}.cv-mon{position:absolute;left:36px;top:124px;width:390px;height:530px;padding:0;display:flex;flex-direction:column;gap:8px}.cv-mon h3{font-size:36px}.cv-mon p{font-size:19px;color:#d0e0e4}.cv-types{display:flex;gap:10px}.cv-types>span{border:1px solid var(--type);background:#183a50;border-radius:3px;min-width:52px;text-align:center;font-size:18px;padding:2px 10px}
.cv-mon-sprite{flex:1;min-height:0;display:flex;justify-content:center;align-items:center}.cv-mon-sprite img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;max-height:270px}.cv-hp{font-size:20px}.cv-hp b{float:right;font-size:25px}.cv-hp progress{display:block;width:100%;height:8px;accent-color:#92e4d5;margin-top:4px}.cv-equipment{display:flex;gap:8px;justify-content:center}.cv-gear{width:54px;height:46px;min-height:44px;padding:0;border-width:6px}.cv-gear img{width:32px;height:32px;object-fit:contain}
.cv-mon-content{position:absolute;left:446px;right:36px;top:124px;bottom:66px;display:flex;flex-direction:column;gap:12px}.cv-mon-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.cv-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:0 0 12px}.cv-stats>div{padding:4px 16px;border-right:1px solid #80b7ca}.cv-stats>div:last-child{border:0}.cv-stats span{display:flex;align-items:center;gap:6px;font-size:21px;color:#d0e0e4}.cv-stats img{width:24px;height:24px}.cv-stats b{display:block;font-size:47px;font-weight:500}.cv-tech-rows{display:flex;flex-direction:column;gap:10px;flex:1}.cv-tech-rows .cv-button{justify-content:space-between;flex:1;border:0;border-left:5px solid #92e4d5;background:#183a50;padding:10px 15px;font-size:22px}.cv-tech-rows .cv-button:nth-child(2){border-color:#f3d58b}.cv-tech-rows small{color:#92e4d5}.cv-tech-rows .cv-button:nth-child(2) small{color:#f3d58b}
.cv-mon-body>.cv-tabs>.cv-button{font-size:21px}.cv-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#80b7ca #183a50}.cv-tech-copy{flex:1;min-height:0;line-height:1.5}.cv-tech-copy h3{margin-bottom:12px}.cv-tech-copy h3 small{float:right;border:1px solid #f3d58b;color:#f3d58b;padding:3px 12px}.cv-tech-copy p{margin:10px 0}.cv-pair{display:flex;gap:90px}.cv-pair b{font-size:30px}.cv-evolutions{display:flex;gap:8px;flex:1;min-height:0}.cv-evo{flex:1;min-width:140px;background:#183a50;display:flex;flex-direction:column;align-items:center;padding:10px;justify-content:space-around}.cv-evo img{width:100%;height:62%;object-fit:contain;image-rendering:pixelated}.cv-growth{font-size:20px}
.cv-settings{position:absolute;left:36px;right:36px;top:115px;bottom:90px;display:flex;flex-direction:column;gap:28px}.cv-settings-body{flex:1;min-height:0;display:flex;gap:28px}.cv-volume-list{width:334px;display:flex;flex-direction:column;gap:10px;flex-shrink:0}.cv-volume-list>.cv-button{justify-content:space-between;min-height:64px;font-size:24px;border-width:16px;padding:0 4px}.cv-volume-detail{flex:1;min-width:0}.cv-volume-detail h3{font-size:36px;margin-bottom:14px}.cv-range-wrap{display:flex;align-items:flex-end;gap:13px;margin:16px 0}.cv-range-wrap>.cv-button{width:44px;height:44px;min-height:44px;padding:0;border-width:10px}.cv-range-host{flex:1;min-width:0}.cv-range-host .volume-row{display:flex!important;flex-direction:column-reverse;gap:8px!important;margin:0!important;padding:0!important}.cv-range-host .volume-row>span{display:none}.cv-range-host output{align-self:flex-end;font-size:47px!important;color:#f6f7ee!important}.cv-range-host input[type=range]{width:100%;height:44px;margin:0;appearance:none;background:transparent;cursor:pointer;touch-action:none;accent-color:#92e4d5}.cv-range-host input::-webkit-slider-runnable-track{height:18px;background:#102b3f;border:1px solid #80b7ca;border-radius:5px}.cv-range-host input::-webkit-slider-thumb{appearance:none;width:44px;height:44px;margin-top:-14px;background:url('assets/console-v51/ui5/slider-thumb-rest.png') center/44px 44px no-repeat;border:0}.cv-range-host input::-moz-range-thumb{width:44px;height:44px;background:url('assets/console-v51/ui5/slider-thumb-rest.png') center/contain no-repeat;border:0}
.cv-settings-panel{display:block}.cv-settings-panel>.check-row{min-height:44px;display:flex;align-items:center;gap:12px;margin:4px 0;font-size:22px}.cv-settings-panel button,.cv-settings-panel .import-label{min-height:44px;font-size:20px}.cv-settings-panel p{margin:12px 0}.cv-settings-panel select{min-height:44px}.cv-done{position:absolute;bottom:35px;right:36px;width:243px;height:48px;min-height:48px}.cv-delegated{visibility:hidden!important;pointer-events:none!important}
.cv-region-grid{position:absolute;inset:145px 36px 190px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cv-region{position:relative;display:flex;flex-direction:column;text-align:left;border-width:8px!important;padding:0!important;overflow:hidden}.cv-region.selected{outline:3px solid #f3d58b;outline-offset:0}.cv-region h3,.cv-region p{padding:4px 12px}.cv-region-scene{width:100%;height:38%;object-fit:cover}.cv-starters{display:flex;flex:1;min-height:0;padding:0 8px}.cv-starters img{width:33%;height:100%;object-fit:contain;image-rendering:pixelated}.cv-locked{position:absolute;top:8px;right:8px;background:#183a50;padding:5px;font-size:16px}.cv-region-footer{position:absolute;left:36px;right:36px;bottom:48px;height:120px;display:flex;align-items:center;justify-content:space-between;gap:16px}.cv-region-footer .cv-button{width:260px;flex-shrink:0}.cv-region-footer h3{margin-bottom:4px}.cv-facility{position:absolute}.cv-factory-empty{position:absolute;inset:130px 90px 90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}
/* Lab uses the actual layered ball files and the original regional professor. */
#starter-overlay.cv-lab{background:#102b3f;padding:0;overflow:hidden;z-index:2800}#starter-overlay.cv-lab>#lab-room,#starter-overlay.cv-lab>.lab-header,#starter-overlay.cv-lab>#lab-actions{display:none!important}#starter-overlay.cv-lab> :not(.cv-lab-stage){display:none!important}.cv-lab-stage #work-lab-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.cv-lab-speech{position:absolute;top:104px;left:36px;width:420px;height:92px;border-width:10px;z-index:2;font-size:22px}.cv-lab-speech>b{color:#f3d58b;font-size:18px}.cv-lab-footer{position:absolute;bottom:38px;left:36px;right:36px;min-height:114px;display:flex;align-items:center;gap:16px;z-index:3}.cv-lab-footer>div{flex:1;min-width:0}.cv-lab-footer>.cv-button{width:205px;flex-shrink:0}.cv-lab-footer [data-lab=cancel]{width:150px}.cv-ball-hit{position:absolute;border:0;background:transparent;padding:0}.cv-ball-hit:disabled{opacity:1}.cv-ball-hit:focus-visible{outline:3px solid #92e4d5;outline-offset:0}
.cv-mobile{font-size:16px}.cv-mobile h3{font-size:25px}.cv-mobile small,.cv-mobile .cv-small{font-size:13px}.cv-mobile .cv-header{height:60px;padding:0 18px;gap:18px}.cv-mobile .cv-header h2{font-size:25px}.cv-mobile .cv-header nav .cv-button{font-size:14px}.cv-mobile .cv-button{min-height:44px;font-size:17px;border-width:10px;padding:0 8px}.cv-mobile .cv-back{font-size:32px;padding:0}.cv-mobile .cv-frame{border-width:16px;border-image-width:16px}.cv-mobile .cv-tabs>.cv-button{height:44px;font-size:19px}.cv-mobile .cv-mon{left:16px;top:72px;width:244px;height:calc(100% - 108px);gap:4px;border-width:16px}.cv-mobile .cv-mon h3{font-size:27px}.cv-mobile .cv-mon p{font-size:13px}.cv-mobile .cv-types span{font-size:14px;padding:1px 8px}.cv-mobile .cv-mon-sprite img{max-height:110px}.cv-mobile .cv-hp{font-size:14px}.cv-mobile .cv-hp b{font-size:18px}.cv-mobile .cv-gear{width:44px;height:44px;padding:0;border-width:5px}.cv-mobile .cv-gear img{width:27px;height:27px}.cv-mobile .cv-mon-content{left:276px;right:16px;top:72px;bottom:36px;gap:10px}.cv-mobile .cv-mon-body{gap:5px;border-width:12px}.cv-mobile .cv-stats{padding:0}.cv-mobile .cv-stats>div{padding:0 6px}.cv-mobile .cv-stats span{font-size:15px}.cv-mobile .cv-stats b{font-size:31px}.cv-mobile .cv-stats img{width:22px;height:22px}.cv-mobile .cv-tech-rows{gap:4px}.cv-mobile .cv-tech-rows .cv-button{padding:4px 8px;min-height:44px;font-size:17px}.cv-mobile .cv-mon-body>.cv-tabs{gap:6px}.cv-mobile .cv-mon-body>.cv-tabs>.cv-button{font-size:16px}.cv-mobile .cv-tech-copy h3{font-size:23px;margin-bottom:4px}.cv-mobile .cv-tech-copy h3 small{padding:2px 6px}.cv-mobile .cv-tech-copy p{margin:5px 0;font-size:15px}.cv-mobile .cv-pair b{font-size:24px}.cv-mobile .cv-evo{min-width:140px;padding:4px}.cv-mobile .cv-evo img{height:65px}.cv-mobile .cv-growth{font-size:15px}
.cv-mobile .cv-settings{left:16px;right:16px;top:66px;bottom:52px;gap:13px}.cv-mobile .cv-settings-body{gap:16px}.cv-mobile .cv-volume-list{width:210px;gap:5px}.cv-mobile .cv-volume-list>.cv-button{font-size:18px;min-height:50px;padding:0 5px}.cv-mobile .cv-volume-detail{border-width:16px}.cv-mobile .cv-volume-detail h3{font-size:25px;margin-bottom:8px}.cv-mobile .cv-range-wrap{margin:8px 0;gap:13px}.cv-mobile .cv-range-host output{font-size:40px!important}.cv-mobile .cv-range-wrap>.cv-button{width:44px;height:44px;padding:0}.cv-mobile .cv-volume-detail>p{font-size:14px}.cv-mobile .cv-done{right:18px;bottom:22px;width:108px;height:44px;min-height:44px}.cv-mobile .cv-settings-panel>.check-row{font-size:16px}.cv-mobile .cv-settings-panel button,.cv-mobile .cv-settings-panel .import-label{font-size:16px}
.cv-mobile .cv-region-grid{inset:84px 16px 114px;gap:12px}.cv-mobile .cv-region h3{font-size:27px;padding:3px 8px}.cv-mobile .cv-region p{font-size:14px;padding:2px 8px}.cv-mobile .cv-region-scene{height:39%}.cv-mobile .cv-locked{font-size:13px;top:6px;right:5px}.cv-mobile .cv-region-footer{left:16px;right:16px;bottom:22px;height:78px;border-width:12px}.cv-mobile .cv-region-footer .cv-button{width:176px;height:50px}.cv-mobile .cv-region-footer p{font-size:14px}.cv-mobile .cv-region-footer h3{font-size:23px}.cv-mobile .cv-factory-empty{inset:80px 32px 24px;gap:16px;font-size:15px}
.cv-mobile .cv-lab-speech{left:16px;top:68px;width:280px;height:55px;border-width:8px;font-size:16px}.cv-mobile .cv-lab-speech>b{font-size:13px}.cv-lab-speech.cv-long{width:520px;height:auto;min-height:92px;font-size:19px}.cv-lab-speech.cv-long p{margin:0;line-height:1.3}.cv-mobile .cv-lab-speech.cv-long{width:min(350px,calc(50% - 70px));min-height:55px;font-size:13px}.cv-mobile .cv-lab-speech.cv-right{left:auto;right:16px}.cv-mobile .cv-lab-footer{left:16px;right:16px;bottom:24px;height:72px;min-height:72px;border-width:12px;gap:8px}.cv-mobile .cv-lab-footer h3{font-size:25px}.cv-mobile .cv-lab-footer p{font-size:14px}.cv-mobile .cv-lab-footer>.cv-button{width:187px;height:46px}.cv-mobile .cv-lab-footer [data-lab=cancel]{width:110px}
#console-v51:not([hidden]){animation:cv-enter 160ms ease-out}@keyframes cv-enter{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){#console-v51:not([hidden]){animation-duration:80ms}}
/* Keep the three 44px actions inside Work's landscape frame with live extra stats. */
.cv-mobile .cv-stats{line-height:1.05}.cv-mobile .cv-mon-body{gap:3px}.cv-mobile .cv-tech-rows{gap:3px}
.cv-mobile .cv-range-wrap{margin:0}
.cv-range-host input::-webkit-slider-runnable-track{background:linear-gradient(to right,#92e4d5 0 var(--cv-fill,0%),#102b3f var(--cv-fill,0%) 100%)}
.cv-range-host input::-moz-range-progress{background:#92e4d5;height:16px}
@media(orientation:portrait) and (max-width:700px){.cv-mobile .cv-mon{top:64px;left:16px;width:calc(100% - 32px);height:210px}.cv-mobile .cv-mon-sprite{position:absolute;right:0;top:0;width:100px;height:100px}.cv-mobile .cv-mon-content{left:16px;right:16px;top:286px;bottom:16px}.cv-mobile .cv-mon .cv-equipment{justify-content:flex-start}.cv-mobile .cv-settings-body{flex-direction:column}.cv-mobile .cv-volume-list{width:100%;height:110px;display:grid;grid-template-columns:1fr 1fr}.cv-mobile .cv-volume-detail{min-height:280px}.cv-mobile .cv-region-grid{grid-template-columns:1fr 1fr;bottom:148px}.cv-mobile .cv-region-footer{height:116px;flex-direction:column;align-items:stretch}.cv-mobile .cv-region-footer h3{font-size:19px}.cv-mobile .cv-region-footer .cv-button{width:100%}.cv-mobile .cv-region-scene{height:35%}.cv-lab-stage{min-width:740px}.cv-mobile .cv-lab-footer{flex-wrap:wrap;height:auto}}
/* 2026-10-20 [UI] 표시 보정: 잠긴 지방 카드는 전체 반투명(button:disabled .44) 대신 그림만 어둡게 해 글자를 읽히게 한다. 모바일 설정은 완료 버튼을 본문 프레임 아래로 분리하고, 채널 버튼을 44px로 맞춰 5번째 채널이 걸쳐 보이게(스크롤 단서) 한다. */
.cv-region:disabled{opacity:1}.cv-region:disabled>.cv-region-scene,.cv-region:disabled>.cv-starters{filter:grayscale(.8) brightness(.42)}.cv-region:disabled h3,.cv-region:disabled p{color:#b9c9d1}.cv-region:disabled .cv-locked{color:#f3d58b;border:1px solid #f3d58b80}
.cv-mobile .cv-settings{bottom:58px}.cv-mobile .cv-done{bottom:8px}.cv-mobile .cv-volume-list{gap:4px}.cv-mobile .cv-volume-list>.cv-button{min-height:44px}
/* 2026-10-20 [UI] 일반 스킬 효과 칩: 아이콘 원본 없음 → 글자 기호 자리표시(data-art=placeholder). 아트 납품 시 i 요소만 교체. */
.cv-fx-list{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px}.cv-fx{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:2px 8px;border:1px solid var(--fx);background:#0c1b2a;color:#e6f0f2;font-size:16px;line-height:1}.cv-fx i{font-style:normal;color:var(--fx);font-weight:700;width:14px;text-align:center}.cv-fx small{color:#9fb6c2}.cv-fx img{width:24px;height:24px;image-rendering:pixelated;flex:none}.cv-mobile .cv-fx img,.cv-small .cv-fx img{width:16px;height:16px}.cv-mobile .cv-fx{font-size:12px;min-height:22px;padding:1px 6px}.cv-mobile .cv-fx-list{margin:3px 0 4px;gap:4px}
.cv-small>.cv-fx-list{display:inline-flex;margin:0 0 0 10px;vertical-align:middle}.cv-mobile .cv-small>.cv-fx-list{margin-left:6px}
.cv-small>.cv-fx-list .cv-fx{min-height:0;padding-top:0;padding-bottom:0;line-height:1.25}
/* 2026-10-20 [UI] 연구소 볼에 커서를 올리면 즉시 반응(사용자 지적): 테두리 빛. 볼 그림 자체의 떠오름은 console-v51-lab.js LAB_TIMING.hoverLift */
.cv-ball-hit{border-radius:50%;transition:box-shadow .08s ease-out}.cv-ball-hit:hover:not(:disabled){box-shadow:0 0 0 3px #f3d58bb0,0 0 24px 6px #fff4c066}
/* 2026-10-21 [UI] GPT 3차 P10-R02: 모바일 가로 설정 소리 탭 — 환경음 행이 아래에서 가려지던 것. 왼쪽 음량 목록만 세로 스크롤(844에서 높이 203px), 완료 버튼은 고정 */
.cv-mobile .cv-volume-list{max-height:calc(100vh - 187px);overflow-y:auto;overscroll-behavior:contain}
/* 도감 창 V5.1 화풍 통일(사용자 결정 112, 2026-10-21). 기존 V5.1 부품(ui4 frame-info·button)·색(#102b3f/#f6f7ee)·PT Read만 사용. 배치는 기존 그대로, PC는 기기 그림에 맞춘 안쪽 여백만 V5.1 틀에 맞게 조정 */
#pokedex .dex-device{background:#102b3f;border:24px solid transparent;border-image:url('assets/console-v51/ui4/frame-info.png') 24 fill / 24px stretch;border-radius:0;box-shadow:0 10px 40px #0009;color:#f6f7ee;font-family:'PT Read',sans-serif}
#pokedex .dex-device:before{display:none}
#pokedex .dex-device>header>i,#pokedex .dex-device .dex-lens{display:none}
#pokedex .dex-device>header h2{color:#f6f7ee;font-weight:700}
#pokedex .dex-device .dex-panels{background:#0d2434;border:2px solid #2f6a80;border-radius:0}
#pokedex .dex-device #dex-list{background:transparent}
#pokedex .dex-device #dex-list button{background:#1b3f54;border:2px solid #2f6a80;border-radius:0;color:#f6f7ee}
#pokedex .dex-device #dex-list button.selected,#pokedex .dex-device #dex-list .selected{background:#2a5a6e;border-color:#f3d58b}
#pokedex .dex-device #dex-list small{color:#d0e0e4}
#pokedex .dex-device #dex-detail{background:#163a50;color:#f6f7ee}
#pokedex .dex-device button:not(#dex-list button),#pokedex .dex-device select{border:12px solid transparent;border-image:url('assets/console-v51/ui4/button-secondary-idle.png') 18 24 fill / 12px 16px stretch;background:none;color:#f6f7ee;border-radius:0}
#pokedex .dex-device input{background:#0d2232;border:2px solid #2f6a80;border-radius:0;color:#f6f7ee}
#pokedex .dex-device>footer{color:#d0e0e4}
body:not(.mobile-ui) #pokedex .dex-device>header{left:3%;right:9%;top:2%;height:8%}
body:not(.mobile-ui) #pokedex .dex-device .dex-toolbar{left:3%;right:3%;top:11%;height:8%;background:transparent}
body:not(.mobile-ui) #pokedex .dex-device .dex-panels{left:3%;right:3%;top:20%;bottom:12%}
body:not(.mobile-ui) #pokedex .dex-device>footer{left:3%;right:3%;bottom:2%;height:9%}
/* PC HUD 글자·버튼(사용자 결정 112): 경로 막대·카드 보조 글자 11px 이상, 속도·AI 훈수 44px */
body:not(.mobile-ui) #stage-dots .stage-node small,body:not(.mobile-ui) #route-readout small{font-size:11px}
body:not(.mobile-ui) .shop-card .merge-hint,body:not(.mobile-ui) .shop-card .shop-role,body:not(.mobile-ui) .bench-slot .bench-num{font-size:11px}
body:not(.mobile-ui) #speed-btn,body:not(.mobile-ui) #coach-btn{min-width:44px;min-height:44px;font-size:12px}
body:not(.mobile-ui) #pokedex .dex-device #dex-list small,body:not(.mobile-ui) #pokedex .dex-device #dex-detail small{font-size:11px}
#pokedex .dex-device .dex-panels>*{border-color:#2f6a80}
body.mobile-ui #pokedex .dex-device select,body.mobile-ui #pokedex .dex-device .dex-toolbar button{border-width:10px 8px;padding:0 2px;max-width:none}
/* 지역 선택 카드 3장(결정 113·114). PC 무대 1280×720(=1920 화면 /1.5): 카드 280×386(=420×578), 간격 20(=30). 모바일 무대 844×390: 카드 260×192, 간격 16. 배치안 04_UI_HUD/보고/지역선택_카드배치안_20261021.md */
.cv-region-grid.cv-region-cards{inset:auto;left:200px;top:145px;width:880px;height:386px;display:grid;grid-template-columns:repeat(3,280px);grid-template-rows:386px;gap:20px}
.cv-region-grid.cv-region-cards.cv-four{left:50px;width:1040px;grid-template-columns:repeat(4,245px)} /* 관리자 v0.12.16: 신오가 열리면 카드 4장(다음 지방 안내 1100px 칸은 그대로) */
.cv-four .cv-rc-ribbon{left:14px;width:217px}.cv-four .cv-rc-mood,.cv-four .cv-rc-lab{left:14px;width:217px}.cv-four .cv-rc-starters{left:12px;width:221px}.cv-four .cv-rc-starters img{width:63px!important;height:63px!important}.cv-four .cv-rc-chips{left:8px;width:229px} /* 카드 폭 245에 맞춤(스타터 3마리가 잘리지 않게) */
.cv-region-card{position:relative;display:block;width:100%;height:100%;padding:0!important;border:3px solid #2f6a80!important;border-image:none!important;background:#102b3f;overflow:hidden;text-align:left;color:#f6f7ee;transition:transform 120ms,filter 120ms;animation:cv-rc-in 180ms ease-out both}
.cv-region-card:nth-child(2){animation-delay:60ms}.cv-region-card:nth-child(3){animation-delay:120ms}
@keyframes cv-rc-in{from{transform:translateY(12px)}to{transform:none}} /* 투명도는 건드리지 않음(잠김 카드도 처음부터 읽힘) */
.cv-region-card:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-2px)}
.cv-region-card.selected{outline:3px solid #f3d58b;outline-offset:0;border-color:#f3d58b!important}
.cv-region-card>*{position:absolute;pointer-events:none}
.cv-rc-art{inset:0;background-size:cover;background-position:center;image-rendering:pixelated}
.cv-rc-art:after{content:"";position:absolute;inset:0;background:linear-gradient(#0b1d2be6 0,#0b1d2b66 30%,#0b1d2b00 45%,#0b1d2b00 62%,#0b1d2bd9 82%,#0b1d2bf2 100%)}
.cv-rc-ribbon{left:16px;top:13px;width:248px;height:43px;display:flex;align-items:center;justify-content:center;background:var(--rc);clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%);box-shadow:inset 0 -3px #0004}
.cv-rc-ribbon b{font-size:24px;font-weight:800;color:#fff;text-shadow:0 2px 0 #0006}
.cv-rc-mood{left:21px;top:63px;width:237px;height:27px;font-size:17px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 3px #000c}
.cv-rc-starters{left:27px;top:273px;width:227px;height:67px;display:flex;justify-content:space-between;padding:0!important}
.cv-rc-starters img{width:67px!important;height:67px!important;object-fit:contain;image-rendering:pixelated;filter:brightness(0) drop-shadow(0 0 1px #fff6);opacity:.9;transition:filter 160ms,opacity 160ms}
.cv-region-card.selected .cv-rc-starters img{filter:none;opacity:1}
.cv-rc-lab{left:21px;top:341px;width:237px;height:17px;font-size:12px;color:#d0e0e4;text-align:center;white-space:nowrap}
.cv-rc-chips{left:16px;top:361px;width:248px;height:19px;display:flex;justify-content:center;gap:4px}
.cv-rc-chip{display:inline-flex;align-items:center;gap:3px;height:19px;padding:0 6px;font-size:11px;font-style:normal;font-weight:700;border-radius:3px;background:#0d2232e6;border:1px solid #2f6a80;white-space:nowrap}
.cv-rc-chip.now{border-color:#7fd3c0;color:#bff5e6}.cv-rc-chip.win{border-color:#f3d58b;color:#ffe08a}.cv-rc-chip.win img{height:12px;width:auto}.cv-rc-chip.lock{border-color:#f3d58b80;color:#f3d58b}.cv-rc-chip.new{border-color:#ff8a7e;background:#e8453c;color:#fff;font-weight:900;letter-spacing:.04em} /* 리그 흐름 개편 ②: 새로 열린 지방 */
.cv-region-card.locked .cv-rc-art,.cv-region-card.locked .cv-rc-ribbon{filter:grayscale(.8) brightness(.55)}
.cv-region-card.locked .cv-rc-mood,.cv-region-card.locked .cv-rc-lab{color:#b9c9d1}
.cv-mobile .cv-region-grid.cv-region-cards{left:16px;top:84px;right:auto;bottom:auto;width:812px;height:192px;grid-template-columns:repeat(3,260px);grid-template-rows:192px;gap:16px}
.cv-mobile .cv-region-grid.cv-region-cards.cv-four{grid-template-columns:repeat(4,191px)}
.cv-mobile .cv-four .cv-rc-ribbon{left:6px;width:104px}.cv-mobile .cv-four .cv-rc-mood,.cv-mobile .cv-four .cv-rc-lab{left:8px;width:175px}.cv-mobile .cv-four .cv-rc-starters{left:10px;width:171px}.cv-mobile .cv-four .cv-rc-starters img{width:52px!important;height:52px!important}.cv-mobile .cv-four .cv-rc-chips{max-width:78px}.cv-mobile .cv-four .cv-rc-chip{font-size:10px;white-space:nowrap;padding:1px 3px}
.cv-mobile .cv-rc-ribbon{left:8px;top:6px;width:160px;height:32px}.cv-mobile .cv-rc-ribbon b{font-size:18px}
.cv-mobile .cv-rc-mood{left:10px;top:42px;width:240px;height:20px;font-size:12px;text-align:left}
.cv-mobile .cv-rc-starters{left:30px;top:104px;width:200px;height:56px}.cv-mobile .cv-rc-starters img{width:56px!important;height:56px!important}
.cv-mobile .cv-rc-lab{left:10px;top:168px;width:240px;height:18px;font-size:11px;text-align:left}
.cv-mobile .cv-rc-chips{left:auto;right:6px;top:8px;width:auto;max-width:86px;height:24px;flex-direction:column;align-items:flex-end;gap:2px}
.cv-mobile .cv-rc-chip{height:auto;min-height:16px;padding:1px 4px;font-size:11px;white-space:normal;text-align:right}
.cv-mobile .cv-rc-chip.lock{font-size:0}.cv-mobile .cv-rc-chip.lock:before{content:"잠김";font-size:11px}
.cv-mobile .cv-rc-art:after{background:linear-gradient(90deg,#0b1d2bd9 0,#0b1d2b66 55%,#0b1d2b33 100%)}
@media (prefers-reduced-motion:reduce){.cv-region-card{animation:none;transition:none}}
/* 지역 카드 승인 그림 연결(결정 116): 카드·리본(9-slice 좌우 112·위아래 24)·잠김 덮개. 그림에 안전 영역이 있어 가림막 줄임. 잠김은 덮개 그림(반투명 막 포함)+채도만 낮춤. 스타터는 열린 지방 색, 잠긴 지방 실루엣 */
.cv-region-card.has-art .cv-rc-art{image-rendering:auto}
.cv-region-card.has-art .cv-rc-art:after{background:linear-gradient(#0b1d2b40 0,#0b1d2b00 25%,#0b1d2b00 80%,#0b1d2b59 100%)}
.cv-region-card.has-art .cv-rc-ribbon{clip-path:none;background:none;box-shadow:none;border-style:solid;border-width:8px 37px;border-image-slice:24 112 fill;border-image-width:8px 37px;border-image-repeat:stretch;box-sizing:border-box}
.cv-rc-lockcover{inset:0;background:url(assets/region-cards/region_locked_overlay.webp) center/cover no-repeat}
.cv-region-card.has-art.locked .cv-rc-art,.cv-region-card.has-art.locked .cv-rc-ribbon{filter:grayscale(.85)}
.cv-rc-starters img{filter:none;opacity:1}
.cv-region-card.locked .cv-rc-starters img{filter:brightness(0) drop-shadow(0 0 1px #fff6);opacity:.9}
.cv-mobile .cv-region-card.has-art .cv-rc-art,.cv-mobile .cv-rc-lockcover{background-size:260px 358px;background-position:0 -73px}
.cv-mobile .cv-region-card.has-art .cv-rc-art:after{background:linear-gradient(90deg,#0b1d2b99 0,#0b1d2b33 50%,#0b1d2b00 100%)}
.cv-mobile .cv-region-card.has-art .cv-rc-ribbon{border-width:6px 28px;border-image-width:6px 28px}
.cv-region-card .cv-rc-chip.cv-locked{position:static;inset:auto;transform:none;margin:0;padding:0 6px} /* 기존 .cv-locked 위치 스타일 무시 */
.cv-mobile .cv-region-card .cv-rc-chip.cv-locked{white-space:nowrap;padding:1px 6px}
/* 다음 지방 준비 중(결정 117): PC는 카드 오른쪽 폭 120(=화면 180) 글자 띠, 모바일은 머리줄 오른쪽 한 줄. 누름·포커스 없음, V5.1 색, 글자 11px 이상(화면 기준) */
.cv-region-next{position:absolute;left:1100px;top:145px;width:120px;height:386px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:0 0 0 12px;border-left:2px solid #2f6a8099;color:#d0e0e4;pointer-events:none;user-select:none}
.cv-region-next b{font-size:13px;font-weight:700;color:#f6f7ee;margin-bottom:4px;line-height:1.3}
.cv-region-next span{font-size:11px;line-height:1.35;color:#d0e0e4}
.cv-region-next em{display:none}
.cv-mobile .cv-region-next{left:auto;right:16px;top:20px;width:auto;max-width:560px;height:28px;flex-direction:row;align-items:center;gap:6px;padding:0 0 0 8px;border-left:2px solid #2f6a8099;white-space:nowrap;overflow:hidden}
.cv-mobile .cv-region-next b{font-size:11px;margin:0}.cv-mobile .cv-region-next span{display:none}.cv-mobile .cv-region-next em{display:block;font-style:normal;font-size:11px;color:#d0e0e4;overflow:hidden;text-overflow:ellipsis}
.cv-region-next{z-index:3;background:linear-gradient(90deg,#0b1d2be0,#0b1d2bb8);padding:12px 8px 12px 12px;box-sizing:border-box;justify-content:flex-start;padding-top:24px} /* 배경 그림 위 가독성: 틀·그림자 없는 반투명 바탕 */
.cv-mobile .cv-region-next{z-index:5;background:#0b1d2bcc;padding:0 8px;box-sizing:border-box}
/* 모바일 잠김 카드: 덮개 그림의 자물쇠가 가운데 스타터를 가리던 것(사용자 지시) → 막은 덮개와 같은 색(rgba 0,4,12,.6)을 코드로, 자물쇠는 덮개 그림에서 잘라(원본 340,494,160×228) 오른쪽 위 28×40에. PC는 그대로 */
.cv-mobile .cv-rc-lockcover{background:#00040c99 none}
.cv-mobile .cv-rc-lockcover:after{content:"";position:absolute;right:10px;top:62px;width:28px;height:40px;background:url(assets/region-cards/region_locked_overlay.webp) -59.6px -86.7px/147.4px 202.8px no-repeat}
/* 배틀 프런티어 세션 바: 월드 투어 바와 같은 자리·HUD 가림 규칙, V5.1 색 */
#frontier-bar{position:fixed;z-index:3200;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;flex-direction:column;align-items:stretch;gap:8px;background:#0a2133f2;border:1px solid #b7f9ec66;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);padding:9px 14px;color:#f6f7ee;max-width:96vw}
#frontier-bar[hidden],#frontier-result[hidden]{display:none}#frontier-bar .fb-row{display:flex;align-items:center;gap:10px}#frontier-result{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 14px;padding:4px 2px 9px;border-bottom:1px solid #b7f9ec44}#frontier-result h3{margin:0;font-family:var(--font-read);font-size:22px;font-weight:800;color:#fff4cf}#frontier-result[data-outcome=loss] h3,#frontier-result[data-outcome=ended] h3{color:#ffb4a8}#frontier-result p{grid-column:1;margin:0;font-size:13px;color:#d0e0e4}#frontier-bar #frontier-next{grid-row:1/3;grid-column:2;background:#ffd866;color:#102a40;border-color:#ffe9a3}#frontier-bar>div{min-width:190px;margin-right:10px}#frontier-bar strong,#frontier-bar small{display:block}#frontier-bar strong{font-family:var(--font-read);font-weight:800;font-size:18px;color:#fff4cf}#frontier-bar small{font-size:12px;color:#d0e0e4;margin-top:4px}
#frontier-bar button{min-height:44px;white-space:nowrap;padding:5px 14px;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee;font-size:16px;font-weight:700}#frontier-bar #frontier-fight{background:#ffd866;color:#102a40;border-color:#ffe9a3}#frontier-bar button span{font-size:14px}#frontier-bar button:disabled{opacity:.45}
.frontier-active:not(.frontier-shop) #hud-left,.frontier-active:not(.frontier-shop) #hud-right,.frontier-active:not(.frontier-shop) #hud-round,.frontier-active:not(.frontier-shop) #hud-items,.frontier-active:not(.frontier-shop) #hud-bottom,.frontier-active:not(.frontier-shop) #hud-progress,.frontier-active:not(.frontier-shop) #combat-result,.frontier-active:not(.frontier-shop) #gold-interest-side{visibility:hidden;pointer-events:none}
.frontier-active:not(.frontier-shop) #hud-bottom .footer-head{visibility:visible;position:fixed;left:50%;bottom:85px;transform:translateX(-50%);width:min(684px,74vw);pointer-events:none}
.frontier-active:not(.frontier-shop) #hud-bottom .footer-head #battle-btn,.frontier-active:not(.frontier-shop) #hud-deploy-count{visibility:hidden}
@media(max-width:1100px) and (max-height:780px){#frontier-bar{padding:6px 9px;bottom:7px;gap:6px}#frontier-bar strong{font-size:14px}#frontier-bar small{font-size:11px}#frontier-bar>div{min-width:140px;margin-right:4px}#frontier-bar button{padding:4px 10px}#frontier-bar{gap:4px}#frontier-result{padding:2px 2px 5px}#frontier-result h3{font-size:16px}#frontier-result p{font-size:11px}.frontier-active #hud-bottom .footer-head{bottom:66px;width:min(531px,70vw)}}
/* 결정 124: 프런티어 세션 중에는 모험 생명력(♥)과 모바일 상단 골드를 숨긴다. 타워 HP는 세션 바에만. 월드 투어는 그대로. */
.frontier-active #hud-stats .hp-resource,.frontier-active #mobile-life,.frontier-active:not(.frontier-shop) #mobile-hud #dock-wallet{visibility:hidden;pointer-events:none}
/* 결정 132 B-1: 배틀 팩토리 대여 고르기(후보 12 → 9). 승인 배경 위 V5.1 카드, 터치 44px 이상 */
#frontier-draft{position:fixed;inset:0;z-index:3300;border:0;display:flex;flex-direction:column;gap:12px;padding:24px max(24px,calc((100vw - 1500px)/2));background:linear-gradient(#061a2bcc,#061a2bee),url('assets/console-v51/approved/frontier/factory.png') center/cover;color:#f6f7ee;box-sizing:border-box}
#frontier-draft[hidden]{display:none}
#frontier-draft header h2{margin:0;font-family:var(--font-read);font-size:30px;font-weight:800;color:#fff4cf}#frontier-draft header p{margin:4px 0 0;font-size:15px;color:#d0e0e4}
#frontier-draft .ff-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,minmax(0,340px));align-content:center;gap:14px}
#frontier-draft .ff-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:8px;background:#0a2133e6;border:1px solid #b7f9ec44;color:#f6f7ee;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);cursor:pointer;overflow:hidden}
#frontier-draft .ff-card.on{background:#16405ae6;border-color:#ffd866;box-shadow:inset 0 0 0 3px #ffd866}
#frontier-draft .ff-card.on::after{content:'✓';position:absolute;top:6px;right:8px;width:24px;height:24px;border-radius:50%;background:#ffd866;color:#102a40;font-weight:800;line-height:24px;text-align:center}
#frontier-draft .ff-sprite{display:flex;align-items:center;justify-content:center;flex:1;min-height:40px;max-height:150px;width:100%}#frontier-draft .ff-sprite img{height:100%;max-width:100%;object-fit:contain;image-rendering:pixelated}
#frontier-draft .ff-card strong{font-size:17px;font-weight:800}#frontier-draft .ff-meta,#frontier-draft .ff-role{font-size:12px;color:#d0e0e4}
#frontier-draft .ff-types{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}#frontier-draft .ff-types i{font-style:normal;font-size:11px;padding:1px 6px;border-radius:3px;background:var(--type);color:#fff;text-shadow:0 1px 0 #0006}
#frontier-draft footer{display:flex;align-items:center;justify-content:flex-end;gap:12px}#frontier-draft .ff-count{margin-right:auto;font-size:18px;color:#fff4cf}
#frontier-draft footer button{min-height:48px;min-width:140px;padding:6px 18px;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee;font-size:16px;font-weight:700}#frontier-draft footer button.primary{background:#ffd866;color:#102a40;border-color:#ffe9a3}#frontier-draft footer button:disabled{opacity:.45}
@media(max-height:500px){#frontier-draft{padding:8px 16px;gap:6px}#frontier-draft header h2{font-size:17px}#frontier-draft header p{font-size:11px;margin-top:1px}#frontier-draft .ff-grid{gap:6px}#frontier-draft .ff-card{padding:3px;gap:1px}#frontier-draft .ff-card strong{font-size:12px}#frontier-draft .ff-meta,#frontier-draft .ff-role{font-size:10px}#frontier-draft .ff-role{display:none}#frontier-draft .ff-types i{font-size:9px;padding:0 3px}#frontier-draft .ff-card.on::after{width:18px;height:18px;line-height:18px;top:3px;right:4px;font-size:11px}#frontier-draft footer button{min-height:44px;min-width:110px;padding:4px 12px;font-size:14px}#frontier-draft .ff-count{font-size:14px}}
@media(orientation:portrait) and (max-width:700px){#frontier-draft{padding:12px 16px}#frontier-draft .ff-grid{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr)}#frontier-draft header h2{font-size:20px}}
.frontier-active #frontier-bar #frontier-redraft{background:#16304a}
/* 결정 132 B-2: 교환 화면(내 팀 9 / 이긴 상대 9) */
#frontier-draft.ff-swap h3{margin:0;font-size:16px;color:#fff4cf}
#frontier-draft.ff-swap .ff-grid{grid-template-columns:repeat(9,1fr);grid-template-rows:minmax(0,260px);flex:1}
#frontier-draft.ff-swap .ff-role{display:none}
#frontier-result #frontier-swap{grid-row:1/3;grid-column:3;background:#16304a;color:#f6f7ee}
#frontier-result{grid-template-columns:1fr auto auto}
@media(max-height:500px){#frontier-draft.ff-swap h3{font-size:12px}#frontier-draft.ff-swap .ff-types{display:none}#frontier-draft.ff-swap .ff-card strong{font-size:11px}}
@media(orientation:portrait) and (max-width:700px){#frontier-draft.ff-swap .ff-grid{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}}
#frontier-result #frontier-swap{grid-column:2}#frontier-bar #frontier-result #frontier-next{grid-column:3}
@media(max-height:500px){#frontier-draft .ff-meta{white-space:nowrap;letter-spacing:-.3px}#frontier-draft.ff-swap .ff-meta{font-size:9px}}
@media(min-height:501px){#frontier-draft.ff-swap{justify-content:center}#frontier-draft.ff-swap .ff-grid{flex:0 0 auto;height:min(30vh,280px);align-content:stretch}#frontier-draft.ff-swap header{margin-bottom:8px}}
@media(min-height:501px) and (orientation:portrait) and (max-width:700px){#frontier-draft.ff-swap .ff-grid{height:min(32vh,300px)}}
/* 결정 136: 타워 상점 런 증강 고르기(3개 중 1개)·보유 증강 줄. 새 그림 없음(타입 아이콘·분류 글자) */
#frontier-augment{position:fixed;inset:0;z-index:3300;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:24px max(24px,calc((100vw - 1100px)/2));background:#061a2bd9;color:#f6f7ee;box-sizing:border-box}
#frontier-augment[hidden]{display:none}#frontier-augment h2{margin:0;font-family:var(--font-read);font-size:28px;font-weight:800;color:#fff4cf}#frontier-augment header p{margin:4px 0 0;font-size:14px;color:#d0e0e4}
#frontier-augment .fa-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
#frontier-augment .fa-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:44px;padding:18px 14px;background:#0a2133f0;border:1px solid #b7f9ec55;color:#f6f7ee;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);cursor:pointer;text-align:center}
#frontier-augment .fa-card:hover,#frontier-augment .fa-card:focus-visible{border-color:#ffd866;box-shadow:inset 0 0 0 2px #ffd866}
#frontier-augment .fa-card small{font-size:12px;color:#b7f9ec}#frontier-augment .fa-card strong{font-size:20px;color:#fff4cf}#frontier-augment .fa-card p{margin:0;font-size:14px;line-height:1.4;color:#d0e0e4}
.fa-icon,.fa-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#16304a;border:2px solid #b7f9ec88}
.fa-icon{width:64px;height:64px}.fa-icon img{width:44px;height:44px;image-rendering:pixelated}.fa-icon b{font-size:28px;color:#fff4cf}
.fa-icon[data-kind=economy],.fa-chip[data-kind=economy]{border-color:#ffd866}.fa-icon[data-kind=tower],.fa-chip[data-kind=tower]{border-color:#ffb4a8}
#frontier-augment footer{display:flex;justify-content:flex-end}#frontier-augment footer button{min-height:44px;min-width:120px;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee;font-size:15px;font-weight:700}
#frontier-augs{display:flex;gap:6px}#frontier-augs[hidden]{display:none}
#frontier-bar .fa-chip{width:44px;height:44px;min-height:44px;padding:0}.fa-chip img{width:30px;height:30px;image-rendering:pixelated}.fa-chip b{font-size:18px;color:#fff4cf}
@media(max-height:500px){#frontier-augment{padding:10px 16px;gap:8px}#frontier-augment h2{font-size:18px}#frontier-augment header p{font-size:11px}#frontier-augment .fa-grid{gap:8px}#frontier-augment .fa-card{padding:8px;gap:3px}.fa-icon{width:44px;height:44px}.fa-icon img{width:30px;height:30px}.fa-icon b{font-size:20px}#frontier-augment .fa-card strong{font-size:15px}#frontier-augment .fa-card p{font-size:11px}}
@media(orientation:portrait) and (max-width:700px){#frontier-augment .fa-grid{grid-template-columns:1fr}}
/* 결정 138: 모험 시작 '이번 모험의 전략' 3택1 창을 증강 고르기(결정 136)와 같은 V5.1 카드 양식으로. 마크업·선택 로직은 08 run-strategy.js 그대로, 특성 카드가 있을 때만 적용 */
#strategy-overlay:has([data-trait]){background:#061a2bd9;backdrop-filter:none}
#strategy-overlay:has([data-trait]) .strategy-panel{width:min(1100px,94vw);padding:24px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#f6f7ee}
#strategy-overlay:has([data-trait]) .strategy-panel>header{position:static;background:none;padding:0}#strategy-overlay:has([data-trait]) .strategy-panel small{color:#b7f9ec;font-size:12px}
#strategy-overlay:has([data-trait]) .strategy-panel h2{font-family:var(--font-read);font-size:28px;font-weight:800;color:#fff4cf;margin:4px 30px 0 0}#strategy-overlay:has([data-trait]) #strategy-content>p{margin:4px 0 0;font-size:14px;color:#d0e0e4}
#strategy-overlay:has([data-trait]) .strategy-cards{gap:16px;margin-top:14px}
#strategy-overlay:has([data-trait]) .strategy-card[data-trait]{min-height:0;justify-content:flex-start;gap:6px;padding:18px 14px;background:#0a2133f0;border:1px solid #b7f9ec55;border-radius:0;box-shadow:none;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);transform:none}
#strategy-overlay:has([data-trait]) .strategy-card[data-trait]:hover,#strategy-overlay:has([data-trait]) .strategy-card[data-trait]:focus-visible{transform:none;border-color:#ffd866;box-shadow:inset 0 0 0 2px #ffd866}
#strategy-overlay:has([data-trait]) .strategy-card[data-trait] .type-symbol{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#16304a;border:2px solid #b7f9ec88;box-sizing:border-box}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] .type-symbol img{width:44px;height:44px}
#strategy-overlay:has([data-trait]) .strategy-card[data-trait] h3{margin:0;font-size:20px;color:#fff4cf}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] p{margin:0;font-size:14px;line-height:1.4;color:#d0e0e4}
#strategy-overlay:has([data-trait]) .strategy-card[data-trait] b{margin-top:auto;padding:4px 12px;border-radius:0;background:none;border:1px solid #ffd86666;box-shadow:none;color:#ffd866;font-size:13px}
@media(max-height:520px){#strategy-overlay:has([data-trait]) .strategy-panel{padding:10px 16px}#strategy-overlay:has([data-trait]) .strategy-panel h2{font-size:18px}#strategy-overlay:has([data-trait]) #strategy-content>p{font-size:11px}#strategy-overlay:has([data-trait]) .strategy-cards{gap:8px;margin-top:8px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait]{padding:8px;gap:3px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] .type-symbol{width:44px;height:44px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] .type-symbol img{width:30px;height:30px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] h3{font-size:15px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] p{font-size:11px}#strategy-overlay:has([data-trait]) .strategy-card[data-trait] b{font-size:11px;padding:2px 8px}}

/* 결정 126: 상점 런 세션은 상점·벤치·골드가 세션 자원이라 보인다. 결과는 세션 바, 시작은 세션 바 도전으로만. */
.frontier-shop #combat-result,.frontier-shop #battle-btn{visibility:hidden;pointer-events:none}
/* 결정 126: 시설 화면 타워 두 가지 도전 · 상점 런 세션 바는 오른쪽(상점·벤치를 가리지 않음) */
.cv-region-footer .cv-actions{display:flex;gap:12px;flex-shrink:0}.cv-region-footer.cv-two .cv-actions button{min-width:180px}
.cv-mobile .cv-region-footer.cv-two .cv-actions{gap:8px}.cv-mobile .cv-region-footer.cv-two .cv-actions button{min-width:0;padding:0 10px;font-size:13px}
.frontier-shop #hud-progress{visibility:hidden;pointer-events:none}
.frontier-shop #frontier-bar{left:auto;right:max(16px,env(safe-area-inset-right));top:190px;bottom:auto;transform:none;width:min(340px,26vw);clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
.frontier-shop #frontier-bar .fb-row{flex-wrap:wrap}.frontier-shop #frontier-bar .fb-row>div:first-child{flex:1 0 100%;min-width:0;margin:0}.frontier-shop #frontier-bar .fb-row>button{flex:1}
.frontier-shop #frontier-result{grid-template-columns:1fr 1fr}.frontier-shop #frontier-result h3,.frontier-shop #frontier-result p{grid-column:1/-1}.frontier-shop #frontier-bar #frontier-result #frontier-next,.frontier-shop #frontier-result #frontier-swap{grid-row:auto;grid-column:auto}.frontier-shop #frontier-bar #frontier-result #frontier-next{grid-column:1/-1}
.frontier-shop #frontier-bar.fb-result .fb-row>div:first-of-type,.frontier-shop #frontier-bar.fb-result #frontier-augs{display:none}
@media(max-height:500px){.frontier-shop #frontier-bar{top:52px;right:6px;width:196px;padding:5px 7px}.frontier-shop #frontier-bar strong{font-size:12px}.frontier-shop #frontier-bar small{font-size:10px;margin-top:1px}.frontier-shop #frontier-bar .fb-row>button{min-width:0;padding:2px 6px;font-size:13px}.frontier-shop #frontier-result h3{font-size:14px}.frontier-shop #frontier-result p{font-size:10px}.frontier-shop #frontier-augs .fa-chip{width:44px}}
/* 상점 런: 화면 위쪽 모험 지역 진행(지역 이름·라운드 줄·단계 점, 모바일 '관동 · 1-1')은 숨긴다. 위치는 세션 바·모바일 '배틀 타워 n층'. */
.frontier-shop #hud-round,.frontier-shop #hud-location,.frontier-shop #hud-roundbar,.frontier-shop #mobile-stage .mobile-stage-copy small{visibility:hidden;pointer-events:none}
/* 결정 137: 연구소 '함께 출발하기'는 터치 기기에서만. PC·키보드는 볼 선택이 곧 출발. */
.cv-lab-stage:not(.cv-touch) .cv-lab-footer [data-lab="confirm"]{display:none}
/* 결정 144(나): 게임 중 포켓몬 요약 오른쪽 패널(#unit-side). 증강 카드와 같은 V5.1 색·깎인 모서리. 본문 13px 이상 */
#unit-side{position:fixed;z-index:70;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:12px 12px 10px;overflow:auto;overscroll-behavior:contain;background:#0a2133f2;border:1px solid #b7f9ec66;color:#f6f7ee;font-size:13px;line-height:1.35;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);box-shadow:0 6px 18px #04101acc}
#unit-side[hidden]{display:none!important}#unit-side[data-team=enemy]{border-color:#ffb4a888}
#unit-side .us-close{position:absolute;top:2px;right:2px;width:44px;height:44px;padding:0;background:none;border:0;color:#d0e0e4;font-size:18px;cursor:pointer}
#unit-side header{display:flex;gap:10px;align-items:center;padding-right:34px}#unit-side header img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated;flex:none}
#unit-side header strong{display:block;font-size:17px;color:#fff4cf}#unit-side header small{display:block;font-size:13px;color:#b7f9ec}#unit-side .us-grade{display:block;line-height:1}
#unit-side .us-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;padding:6px 0;border-block:1px solid #b7f9ec33}#unit-side .us-stats span{display:flex;justify-content:space-between;gap:6px;color:#d0e0e4;min-width:0}#unit-side .us-stats .us-hp{grid-column:1/-1}#unit-side .us-stats b{font-size:15px;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
#unit-side .us-skill small{display:block;font-size:12px;color:#b7f9ec}#unit-side .us-skill b{font-size:14px;color:#fff4cf}#unit-side .us-skill p{margin:2px 0 0;color:#d0e0e4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#unit-side .us-gear{display:flex;gap:6px}#unit-side .us-gear button{width:44px;height:44px;padding:0;display:grid;place-items:center;background:#16304a;border:1px solid #b7f9ec55;color:#b7f9ec;cursor:pointer}#unit-side .us-gear button:disabled{cursor:default}#unit-side .us-gear img{width:32px;height:32px}
#unit-side .us-more{flex:1;min-height:44px;background:#16304a;border:1px solid #ffd86688;color:#ffd866;font-size:14px;font-weight:700;cursor:pointer}#unit-side button:focus-visible{outline:2px solid #ffd866;outline-offset:1px}
#unit-side[data-compact=true]{gap:6px;padding:10px 10px 8px}#unit-side[data-compact=true] .us-skill p{display:none}#unit-side[data-compact=true] header img{width:40px;height:40px}#unit-side[data-compact=true] header strong{font-size:16px}
/* 결정 144(다): 모바일 하단 반 시트. 가로 화면은 3칸(이름·능력치 | 기술 | ✕ 아래 장비 3칸·자세히), 세로 화면은 한 줄로 쌓는다 */
#unit-side[data-sheet=true]{clip-path:none;border-width:1px 1px 0;border-radius:12px 12px 0 0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;grid-template-rows:auto 1fr;gap:6px 12px;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
#unit-side[data-sheet=true] header{grid-column:1;grid-row:1}#unit-side[data-sheet=true] .us-stats{grid-column:1;grid-row:2;align-self:start}#unit-side[data-sheet=true] .us-skill{grid-column:2}#unit-side[data-sheet=true] .us-skill:nth-of-type(1){grid-row:1}#unit-side[data-sheet=true] .us-skill:nth-of-type(2){grid-row:2}#unit-side[data-sheet=true] .us-gear{grid-column:3;grid-row:1/3;width:144px;flex-wrap:wrap;align-content:flex-start;margin-top:40px}#unit-side[data-sheet=true] .us-more{flex:1 0 100%}
@media(orientation:portrait){#unit-side[data-sheet=true]{display:flex;flex-direction:column}#unit-side[data-sheet=true] .us-gear{flex-direction:row}}
/* 결정 151: 03 배속 체험 중에만 1×/2× 버튼 숨김 + 타임리미트 게이지(V5.1 색). 체험이 꺼져 있으면 body.tempo-trial·#tempo-gauge가 없다 */
body.tempo-trial #speed-btn{display:none!important}
#tempo-gauge{display:inline-flex;align-items:center;gap:6px;margin-left:8px;vertical-align:middle;font-size:13px;font-weight:700;color:#d0e0e4;white-space:nowrap}#tempo-gauge[hidden]{display:none}
#tempo-gauge i{position:relative;display:block;width:96px;height:8px;background:#16304a;border:1px solid #b7f9ec66;overflow:hidden}
#tempo-gauge i::after{content:'';position:absolute;inset:0;transform-origin:left;transform:scaleX(var(--left,1));background:#b7f9ec}
#tempo-gauge[data-state=over] i{border-color:#ffd866}#tempo-gauge[data-state=over] i::after{transform:none;background:#ffd866}
#tempo-gauge[data-state=over] b{padding:1px 8px;background:#ffd866;color:#061a2b;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
#tempo-gauge.tempo-float{position:fixed;z-index:60;margin:0;padding:2px 6px;background:#0a2133e6;border:1px solid #b7f9ec44}
/* 결정 166: 상점 카드 작은 글자(10~12px)를 13px 이상으로. 이름 14px(모바일 13px), 합성 진행 배지는 모서리 자리라 12px(모바일 11px). 카드 크기·배치는 그대로. 옛 !important 규칙(fonts.css·equipment-xp.css)보다 뒤·구체적으로 */
body.playing #shop-cards .shop-card .shop-name{font-size:14px!important;line-height:1.2}
body.playing #shop-cards .shop-card .shop-role,body.playing #shop-cards .shop-card .shop-price,body.playing #shop-cards .shop-card .shop-info-glyph{font-size:13px!important;line-height:1.2}
body.playing #shop-cards .shop-card span:not([class]){font-size:13px!important;line-height:1.2}
body.playing #shop-cards .shop-card .merge-hint{font-size:12px!important;line-height:1.15}
body.playing.mobile-ui #shop-cards .shop-card .shop-name{font-size:13px!important}
body.playing.mobile-ui #shop-cards .shop-card .merge-hint{font-size:11px!important}
/* 결정 167 배틀 프런티어 아이콘: 시설 심볼 64(선택 칸 위), 결과 심볼 64, HUD HP·BP 32, 러시 노드 40(체육관은 기존 배지). */
.cv-facility-icon{position:absolute;left:50%;bottom:calc(100% + 22px);width:64px;height:64px;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 2px 4px #0009)}
#frontier-result h3{display:flex;align-items:center;gap:10px}
#frontier-result-icon{width:64px;height:64px;flex:none}
#frontier-bar .fb-hud{display:flex;align-items:center;gap:10px;min-width:0}
#frontier-bar .fb-hud span[hidden],#frontier-rush[hidden],#frontier-result-icon[hidden],#frontier-bar .fb-hud img[hidden]{display:none}
#frontier-bar .fb-hud span{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:800;color:#fff4cf;white-space:nowrap}
#frontier-bar .fb-hud img{width:32px;height:32px}
#frontier-rush{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
#frontier-rush li{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;opacity:.55}
#frontier-rush li.done{opacity:.35;filter:grayscale(1)}
#frontier-rush li.on{opacity:1;box-shadow:0 0 0 2px #ffd866}
#frontier-rush img{width:40px;height:40px;object-fit:contain}
#frontier-rush i{font-style:normal;font-size:13px;font-weight:800;color:#fff4cf;width:36px;height:36px;display:grid;place-items:center;border:1px solid #b7f9ec66;border-radius:50%}
@media(max-height:500px){.cv-facility-icon{width:44px;height:44px;bottom:calc(100% + 20px)}#frontier-result-icon{width:36px;height:36px}#frontier-bar .fb-hud{gap:6px}#frontier-bar .fb-hud span{font-size:12px}#frontier-bar .fb-hud img{width:24px;height:24px}#frontier-rush{gap:3px}#frontier-rush li,#frontier-rush img{width:30px;height:30px}#frontier-rush i{width:26px;height:26px;font-size:11px}}
@media(max-height:500px){#frontier-bar{width:max-content}#frontier-bar .fb-row>div:first-child{min-width:150px}#frontier-bar .fb-hud{flex:none}#frontier-rush li:nth-child(n+4){display:none}}
/* 결정 171 묶음 0 공통 패널 부품(05_아트연동/자료/GPT납품_20261022/26/풀기/0/spec/0.md). 배치·크기는 그대로 두고 부품 규칙만 맞춘다.
   9-slice 고정 구역: 패널 24, 버튼·탭·행·배지 20. 조작 최소 44×44. 새 글자 최소 PC 13·모바일 11, 패널 본문 여백 PC 32·모바일 24(새 화면용 토큰).
   상태 원본: 누름은 역할별 pressed(라벨 y+2), 포커스는 역할별 focus, 주요 선택은 primary-selected, 비활성은 ui5(위험은 ui4). */
:root{--cv-slice-panel:24;--cv-slice-part:20;--cv-hit:44px;--cv-pad-panel:32px;--cv-text-min:13px}
@media(max-height:500px){:root{--cv-pad-panel:24px;--cv-text-min:11px}}
.cv-button{border-image-slice:20 fill;border-image-width:20px;min-width:var(--cv-hit)}
.cv-button:active:not(:disabled){padding-block:4px 0}
.cv-button.primary:active:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-primary-pressed.png')}
.cv-button.primary.selected{border-image-source:url('assets/console-v51/ui4/button-primary-selected.png')}
.cv-button:focus-visible:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-secondary-focus.png')}
.cv-button.primary:focus-visible:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-primary-focus.png')}
.cv-button.danger{border-image-source:url('assets/console-v51/ui4/button-danger-idle.png')}
.cv-button.danger:active:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-danger-pressed.png')}
.cv-button.danger:focus-visible:not(:disabled){border-image-source:url('assets/console-v51/ui4/button-danger-focus.png')}
.cv-button.danger:disabled{border-image-source:url('assets/console-v51/ui4/button-danger-disabled.png')}
.cv-frame{border-image-slice:24 fill}
#pokedex .dex-device button:not(#dex-list button),#pokedex .dex-device select{border-image-slice:20 fill}
/* 결정 179: 지방 카드를 고른 뒤 '연구소로'를 눈에 띄게(두 번 반복 후 멈춤) */
.cv-button.cv-attn{animation:cv-attn 700ms ease-in-out 2;filter:drop-shadow(0 0 8px #ffd866)}
@keyframes cv-attn{50%{filter:drop-shadow(0 0 16px #ffd866) brightness(1.15)}}
@media(prefers-reduced-motion:reduce){.cv-button.cv-attn{animation:none}}
/* 결정 182 첫 모험 안내 말풍선: 대상 위·아래에 붙고 대상은 가리지 않는다. 글자 PC 15·모바일 12, 버튼 44px. */
#first-guide{position:fixed;z-index:3300;width:min(340px,calc(100vw - 16px));padding:12px 14px;background:#0a2133f2;border:1px solid #ffd866;border-radius:4px;box-shadow:0 6px 20px #0009;color:#f6f7ee;font-family:var(--font-read);animation:fg-in 180ms ease-out}
#first-guide[hidden]{display:none}
#first-guide p{margin:0 0 8px;font-size:15px;line-height:1.4}
#first-guide div{display:flex;gap:8px;justify-content:flex-end}
#first-guide button{min-height:44px;min-width:44px;padding:0 12px;font-size:14px;font-weight:700;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee}
#first-guide button[data-fg=ok]{background:#ffd866;color:#102a40;border-color:#ffe9a3}
@keyframes fg-in{from{opacity:0;transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){#first-guide{animation:none}}
/* v0.12.21 XP 미리보기 처음 한 번 안내(hud-live-preview.js hint): 첫 모험 안내와 같은 색, 한 줄, 누르면 닫힘 */
#xp-hold-hint{position:fixed;z-index:3290;max-width:calc(100vw - 16px);min-height:44px;padding:8px 12px;background:#0a2133f2;border:1px solid #ffd866;border-radius:4px;box-shadow:0 6px 20px #0009;color:#f6f7ee;font:700 14px/1.3 var(--font-read);white-space:nowrap;text-align:left;cursor:pointer;animation:fg-in 180ms ease-out}
#xp-hold-hint[hidden]{display:none}body.mobile-ui #xp-hold-hint{pointer-events:none} /* v0.12.42 핫픽스: 휴대폰 첫 탭이 아래 단추(주머니)로 가게 */#xp-hold-hint.wrap{white-space:normal;word-break:keep-all}
#xp-hold-hint::after{content:'';position:absolute;left:calc(var(--tail,50%) - 7px);top:100%;border:7px solid transparent;border-top-color:#ffd866}
#xp-hold-hint[data-side=down]::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#ffd866}
@media(prefers-reduced-motion:reduce){#xp-hold-hint{animation:none}}
@media(max-height:500px){#xp-hold-hint{min-height:40px;padding:6px 10px;font-size:12px}}
@media(max-height:500px){#first-guide{width:min(280px,calc(100vw - 16px));padding:8px 10px}#first-guide p{font-size:12px;margin-bottom:4px}#first-guide button{font-size:12px;padding:0 8px}}
/* 결정 182: 결과 카드 MVP·승패 이유 한 줄, 결판 가속 배지 */
.result-why{margin:6px 0 0;font-size:14px;line-height:1.35;color:#ffe9a3}
.result-why[hidden]{display:none}
@media(max-height:500px){.result-why{font-size:12px;margin-top:3px}}
#tempo-gauge[data-state=fast] b{color:#ffd866}
/* 결정 182: 결과 카드 MVP·승패 이유 한 줄, 결판 가속 배지 */
.result-why{margin:6px 0 0;font-size:14px;line-height:1.35;color:#ffe9a3}
.result-why[hidden]{display:none}
@media(max-height:500px){.result-why{font-size:12px;margin-top:3px}}
#tempo-gauge[data-state=fast] b{color:#ffd866}
#combat-result .result-why{font-size:14px}
@media(max-height:500px){#combat-result .result-why{font-size:12px}}
/* 결정 188 ②: 화면에 실제로 보이는 글자 최소 크기(묶음 0 기준 PC 13px·모바일 11px). tests/font-min-188.cjs 가 찾은 것만, 위치·배치는 그대로 두고 크기만 올린다.
   결정 112(PC HUD 11px 이상)·166(상점 13px)은 이 기준 이상으로만 유지. */
body:not(.mobile-ui) #stage-dots .stage-node small,body:not(.mobile-ui) .syn-top strong,body:not(.mobile-ui) .syn-top b,body:not(.mobile-ui) .syn-data .syn-near,
body:not(.mobile-ui) #coach-btn,body:not(.mobile-ui) #speed-btn,body:not(.mobile-ui) #xp-label,body:not(.mobile-ui) #dock-xp-remaining,
body:not(.mobile-ui) #xp-btn,body:not(.mobile-ui) #xp-btn span,body:not(.mobile-ui) #reroll-btn span,body:not(.mobile-ui) #reroll-btn b,
body:not(.mobile-ui) .bench-slot .bench-num,body:not(.mobile-ui) #battle-btn small,body:not(.mobile-ui) #battle-btn .deploy-triangle,body:not(.mobile-ui) #lock-icon,
body:not(.mobile-ui) #gold-interest-side .interest-badge,body:not(.mobile-ui) .hud-win-streak b,body:not(.mobile-ui) .coach-settings p,
body:not(.mobile-ui) #result-overline,body:not(.mobile-ui) #result-rewards span,body:not(.mobile-ui) #result-auto-status,
body:not(.mobile-ui) #pokedex .dex-device small,body:not(.mobile-ui) #pokedex .dex-device b,body:not(.mobile-ui) #pokedex .dex-device footer,body:not(.mobile-ui) #dex-hall,body:not(.mobile-ui) #dex-export{font-size:13px!important}
body.mobile-ui #xp-label,body.mobile-ui #dock-xp-remaining,body.mobile-ui .bench-slot .bench-num,body.mobile-ui .mobile-stage-copy small,body.mobile-ui #mobile-synergy small,
body.mobile-ui #speed-btn,body.mobile-ui #fight-clock,body.mobile-ui #pokedex .dex-device small,body.mobile-ui #pokedex .dex-device footer{font-size:11px!important}
/* 위 블록보다 강한 기존 규칙(body.equipment-xp #hud-level-title #xp-label 등 !important)용 */
html body.equipment-xp:not(.mobile-ui) #hud-level-title #xp-label,html body:not(.mobile-ui) #xp-label.xp-projection-label,html body.equipment-xp:not(.mobile-ui) #xp-btn span,html body.equipment-xp:not(.mobile-ui) #reroll-btn b,html body.equipment-xp:not(.mobile-ui) #reroll-btn span{font-size:13px!important}
html body.equipment-xp.mobile-ui #hud-level-title #xp-label,html body.mobile-ui #xp-label.xp-projection-label{font-size:11px!important}
/* 결정 188 ②: 상점 카드 합성 진행 '0/3 · 1성 합성'이 낱글자로 끊기던 것(166 이후) → 낱말 단위로만 줄바꿈 */
body.playing #shop-cards .shop-card .merge-hint{word-break:keep-all}
/* 결정 188 ④: PC 결과 띠의 보상(골드·XP)이 작은 글자 한 줄이라 약하던 것 → 보상만 크고 금빛으로(배치 그대로) */
html body:not(.mobile-ui) #result-rewards span{font-size:16px!important;font-weight:800;color:#ffd866;text-shadow:0 1px 2px #000a}
html body:not(.mobile-ui) #result-rewards span.xp-reward{color:#a6ffe1}
/* 결정 190(05 폰트 조사 20261022_결정189): system-ui·monospace로 떨어지던 5곳을 Pretendard(PT Read)로, 숫자는 tabular-nums. 크기 10px 이하 없애기. 제목·버튼 글꼴(결정 191 주아)은 05 반입 뒤 따로. */
#stage-dots .stage-node i,.stage-node i em,.hud-win-streak,.hud-win-streak *,.gear40-pair,.rocket-warning small{font-family:'PT Read',sans-serif!important;font-variant-numeric:tabular-nums!important}
.gear40-pair{font-size:11px!important;line-height:1.1;padding:0 1px}
.rocket-warning small{font-size:clamp(11px,1.1vw,15px)!important;letter-spacing:.12em}
#top-hp,#top-gold,#hud-shop-gold,#xp-label,#dock-xp-remaining,#fight-clock,#bench-count,#stage-dots,.interest-badge,#tempo-gauge b,#result-rewards,#frontier-hud b{font-variant-numeric:tabular-nums!important}
/* 결정 188 ⑤: 전투 중 표시를 준비 화면과 구분. 새 상자·띠 없이 있는 요소만 쓴다(결정 189): 준비 전용 요소(상점·XP·새로고침·벤치)는 흐리게, 남은 시간·타임리미트 게이지는 키운다.
   모바일 상점·XP·새로고침 흐림은 vs-mobile.css에 이미 있다. 결정 162 A 전투 중 상점 체험(body.fight-shop)이면 흐리게 하지 않는다 */
body.playing.hud-combat:not(.mobile-ui):not(.fight-shop) #shared-shop-dock[data-phase=fight] .shop-area,
body.playing.hud-combat:not(.mobile-ui):not(.fight-shop) #shared-shop-dock[data-phase=fight] #xp-btn,
body.playing.hud-combat:not(.mobile-ui):not(.fight-shop) #shared-shop-dock[data-phase=fight] #reroll-btn{opacity:.38;filter:saturate(.45);transition:opacity 240ms,filter 240ms}
body.playing.hud-combat:not(.mobile-ui):not(.fight-shop) #shared-shop-dock[data-phase=fight] .shop-area:hover{opacity:.8;filter:none}
body.playing.hud-combat:not(.fight-shop) #shared-shop-dock[data-phase=fight] #bench{opacity:.62;filter:saturate(.6);transition:opacity 240ms,filter 240ms}
body.playing.hud-combat:not(.mobile-ui) #hud-clock{font-size:15px;font-weight:800;color:#fff}
body.playing.hud-combat:not(.mobile-ui) #fight-clock{font-size:16px;font-weight:800;color:#ffe1a5}
body.playing.hud-combat:not(.mobile-ui) #tempo-gauge{font-size:15px}
body.playing.hud-combat:not(.mobile-ui) #tempo-gauge i{width:150px;height:10px}
body.mobile-ui.hud-combat #tempo-gauge.tempo-float i{width:110px;height:9px}
/* 결정 188 2차: PC 결과 띠의 이유 줄·자동 진행 안내가 밝은 판 위에서 거의 안 보였다(회색 14·13px, 흐린 그림자). 상자 없이 글자색·외곽 그림자만 올린다 */
html body:not(.mobile-ui) #combat-result #result-why,html body:not(.mobile-ui) #combat-result #result-auto-status{font-weight:700;text-shadow:0 0 2px #000,0 0 4px #000,0 1px 6px #000c!important}
html body:not(.mobile-ui) #combat-result #result-why{color:#ffe9a3!important;font-size:15px}
html body:not(.mobile-ui) #combat-result #result-auto-status{color:#f2f7f8!important}
/* 결정 191: 제목·핵심 버튼 글꼴 주아(PT Title, 05 dev/art@5805f20 서브셋). fonts.css(공용)로 옮길지는 01에 물음.
   본문·설명·바뀌는 숫자는 PT Read 그대로. 주아에 없는 글자는 Pretendard로 대체. 모바일 13px 이하에는 쓰지 않는다(05 조건) */
@font-face{font-family:PT Title;src:url('assets/fonts/jua-title-subset.woff2') format('woff2');font-display:swap;font-weight:400}
:root{--font-title:'PT Title','PT Read',sans-serif}
.cv-header h2,#ff-title,#fa-title,.cv-lab-name,.cv-rc-ribbon b,#combat-result #result-title,
#title-start strong,.c2-tile-label strong,
.cv-button[data-cv=lab],#battle-btn>span:not(.deploy-triangle),#result-continue{font-family:var(--font-title)!important;font-weight:400!important;letter-spacing:0}
/* 결정 194 B1: 전투 시작 전용 버튼(GPT 30 보완판, 05 assets/ui-battle-start). 기존 start-button 그림·남색 바탕을 덮고, 글자는 주아 #493516.
   글자 자리: PC 240×84 중 x82~222(왼쪽 보석 피함)·26px, 모바일 132×60 중심 (83,31)·15px — 크기에 비례(--bs-w) */
html body #shared-shop-dock #dock-start #battle-btn.bs189{--bs-img:url('assets/ui-battle-start/battle-start_pc_idle.webp');width:var(--bs-w,240px)!important;height:auto!important;min-height:0!important;max-width:none!important;aspect-ratio:240/84;flex:none;position:relative!important;display:flex!important;align-items:center;justify-content:center;gap:0;padding:0 7.5% 0 34.2%!important;margin:0;border:0!important;border-radius:0!important;box-shadow:none!important;outline-offset:2px;background:var(--bs-img) center/100% 100% no-repeat!important;filter:none!important;opacity:1!important;color:#493516!important;text-shadow:0 1px 0 #fff4c8a0!important;cursor:pointer;overflow:visible}
html body #shared-shop-dock #dock-start #battle-btn.bs189>span:not(.deploy-triangle){font-family:var(--font-title)!important;font-weight:400!important;font-size:calc(var(--bs-w,240px) * .1083 * var(--bs-fit,1))!important;line-height:1;white-space:nowrap;letter-spacing:0;color:inherit!important;transform:translateY(calc(var(--bs-w,240px) * .008))}
html body #shared-shop-dock #dock-start #battle-btn.bs189>.deploy-triangle{display:none!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189>small{position:absolute;left:34.2%;right:7.5%;top:100%;margin-top:2px;text-align:center;font:700 13px/1 'PT Read',sans-serif!important;letter-spacing:.06em;color:#f2f7f8!important;text-shadow:0 0 3px #000,0 1px 2px #000!important;opacity:.85}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs=ready]{animation:bs189-ready-pc 1.2s steps(1,end) infinite}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs=disabled]{--bs-img:url('assets/ui-battle-start/battle-start_pc_disabled.webp');cursor:default;color:#5b5348!important;text-shadow:none!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189:not(:disabled):hover{filter:brightness(1.06)!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189:not(:disabled):active{--bs-img:url('assets/ui-battle-start/battle-start_pc_pressed.webp');animation:none}
html body #shared-shop-dock #dock-start #battle-btn.bs189:not(:disabled):active>span{transform:translateY(calc(var(--bs-w,240px) * .008 + 1px))}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile]{--bs-img:url('assets/ui-battle-start/battle-start_mobile_idle.webp');aspect-ratio:132/60;padding:0 5% 0 35%!important;margin-left:auto}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile]>span:not(.deploy-triangle){font-size:calc(var(--bs-w,132px) * .1136 * var(--bs-fit,1))!important;transform:translateY(calc(var(--bs-w,132px) * .012))}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile]>small{display:none}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile][data-bs=ready]{animation-name:bs189-ready-mobile}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile][data-bs=disabled]{--bs-img:url('assets/ui-battle-start/battle-start_mobile_disabled.webp')}
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile]:not(:disabled):active{--bs-img:url('assets/ui-battle-start/battle-start_mobile_pressed.webp')}
@keyframes bs189-ready-pc{0%{--bs-img:url('assets/ui-battle-start/battle-start_pc_ready_01.webp')}25%{--bs-img:url('assets/ui-battle-start/battle-start_pc_ready_02.webp')}50%{--bs-img:url('assets/ui-battle-start/battle-start_pc_ready_03.webp')}75%{--bs-img:url('assets/ui-battle-start/battle-start_pc_ready_04.webp')}}
@keyframes bs189-ready-mobile{0%{--bs-img:url('assets/ui-battle-start/battle-start_mobile_ready_01.webp')}25%{--bs-img:url('assets/ui-battle-start/battle-start_mobile_ready_02.webp')}50%{--bs-img:url('assets/ui-battle-start/battle-start_mobile_ready_03.webp')}75%{--bs-img:url('assets/ui-battle-start/battle-start_mobile_ready_04.webp')}}
@media(prefers-reduced-motion:reduce){html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs=ready]{animation:none;--bs-img:url('assets/ui-battle-start/battle-start_pc_ready_01.webp')}html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-size=mobile][data-bs=ready]{--bs-img:url('assets/ui-battle-start/battle-start_mobile_ready_01.webp')}}
html body #dock-start:has(#battle-btn.bs189){overflow:visible}
/* 05 조건: 모바일 13px 이하에는 주아를 쓰지 않는다 — 지금 모바일 칸(97×44)에서는 Pretendard 굵게. B4(1차 배치 132×60)에서 15px 주아 */
html body #shared-shop-dock #dock-start #battle-btn.bs189[data-bs-small]>span:not(.deploy-triangle){font-family:'PT Read',sans-serif!important;font-weight:800!important;font-size:max(11px,calc(var(--bs-w,132px) * .1136 * var(--bs-fit,1)))!important}
/* 결정 194 2차(B2·B3, PC만): GPT 30 보완판 하단 HUD 부품(05 assets/ui-prep-hud). 남색 덩어리·상자를 걷고(결정 189) 나무·흙·풍경으로.
   크기·위치·06 로직은 그대로(상점 5·벤치 9·가방 4×2), 합성 진행·역할 아이콘 유지. 글자 #253e35·밝은 #fff2cc·강조 #ffe174 */
html body.playing:not(.mobile-ui) #shared-shop-dock #xp-btn,html body.playing:not(.mobile-ui) #shared-shop-dock #reroll-btn{background:url('assets/ui-prep-hud/aux-xp_pc.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff2cc!important;text-shadow:0 1px 2px #000c!important;padding-right:18px!important}
html body.playing:not(.mobile-ui) #shared-shop-dock #reroll-btn{background-image:url('assets/ui-prep-hud/aux-refresh_pc.webp')!important}
html body.playing:not(.mobile-ui) #shared-shop-dock #xp-btn:disabled,html body.playing:not(.mobile-ui) #shared-shop-dock #reroll-btn:disabled{filter:saturate(.55) brightness(.8)!important}
html body.playing:not(.mobile-ui) #shared-shop-dock #xp-btn:not(:disabled):hover,html body.playing:not(.mobile-ui) #shared-shop-dock #reroll-btn:not(:disabled):hover{filter:brightness(1.1)!important}
html body.playing:not(.mobile-ui) #bench .bench-slot{background:url('assets/ui-prep-hud/bench-pad-1.webp') center 70%/100% auto no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="1"]{background-image:url('assets/ui-prep-hud/bench-pad-2.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="2"]{background-image:url('assets/ui-prep-hud/bench-pad-3.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="3"]{background-image:url('assets/ui-prep-hud/bench-pad-4.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="4"]{background-image:url('assets/ui-prep-hud/bench-pad-5.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="5"]{background-image:url('assets/ui-prep-hud/bench-pad-6.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="6"]{background-image:url('assets/ui-prep-hud/bench-pad-7.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="7"]{background-image:url('assets/ui-prep-hud/bench-pad-8.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot[data-bench="8"]{background-image:url('assets/ui-prep-hud/bench-pad-9.webp')!important}
html body.playing:not(.mobile-ui) #bench .bench-slot .bench-num{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important;background:none!important}
html body.playing:not(.mobile-ui) #bench .bench-slot.drop-target,html body.playing:not(.mobile-ui) #bench .bench-slot:hover{filter:brightness(1.12)}
/* 상점 카드: 위 풍경(카드 i번 그림) + 아래 크림색 정보 띠(이름·타입·역할). 카드 크기는 지금 그대로라 풍경은 위쪽을 잘라 쓴다 */
html body.playing:not(.mobile-ui) #shop-cards .shop-card{background:linear-gradient(to top,#f7ebc8 0 44px,#d9ae55 44px 46px,transparent 46px),url('assets/ui-prep-hud/shop-landscape-1.webp') center 38%/100% auto no-repeat!important;background-color:#7da35c!important;border:2px solid #d9ae55!important;border-radius:8px!important;box-shadow:0 2px 4px #0006!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card[data-shop="1"]{background:linear-gradient(to top,#f7ebc8 0 44px,#d9ae55 44px 46px,transparent 46px),url('assets/ui-prep-hud/shop-landscape-2.webp') center 38%/100% auto no-repeat!important;background-color:#7da35c!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card[data-shop="2"]{background:linear-gradient(to top,#f7ebc8 0 44px,#d9ae55 44px 46px,transparent 46px),url('assets/ui-prep-hud/shop-landscape-3.webp') center 38%/100% auto no-repeat!important;background-color:#7da35c!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card[data-shop="3"]{background:linear-gradient(to top,#f7ebc8 0 44px,#d9ae55 44px 46px,transparent 46px),url('assets/ui-prep-hud/shop-landscape-4.webp') center 38%/100% auto no-repeat!important;background-color:#7da35c!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card[data-shop="4"]{background:linear-gradient(to top,#f7ebc8 0 44px,#d9ae55 44px 46px,transparent 46px),url('assets/ui-prep-hud/shop-landscape-5.webp') center 38%/100% auto no-repeat!important;background-color:#7da35c!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card .shop-name{background:none!important;box-shadow:none!important;color:#253e35!important;text-shadow:none!important;font-family:var(--font-title)!important;font-weight:400!important;font-size:16px!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card .shop-meta,html body.playing:not(.mobile-ui) #shop-cards .shop-card .shop-meta *:not(.type-symbol){color:#253e35!important;text-shadow:none!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card .merge-hint{background:#fff2cce8!important;color:#253e35!important;border:1px solid #d9ae55!important;text-shadow:none!important;box-shadow:0 1px 2px #0004!important}
html body.playing:not(.mobile-ui) #shop-cards .shop-card .shop-cost{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important}
/* 레벨·XP 칸의 남색 판(equipment-xp 그림) 걷기 — 글자는 숲 위에서 읽히게 외곽 그림자 */
html body.playing:not(.mobile-ui) #hud-shop-controls::before{display:none!important}
html body.playing:not(.mobile-ui) #hud-level #level-label,html body.playing:not(.mobile-ui) #hud-level #xp-label,html body.playing:not(.mobile-ui) #hud-level #dock-xp-remaining{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 3px #000!important}
html body.playing:not(.mobile-ui) #hud-level #level-label{font-family:var(--font-title)!important;font-weight:400!important;font-size:24px!important}
/* 상점·벤치 줄의 남색 틀(shared-shop 그림·그림자) 걷기, 지갑·잠금·배치 수의 남색 바탕을 나무·크림으로 */
html body.playing:not(.mobile-ui) #shared-shop-dock .shop-area{box-shadow:none!important}
html body.playing:not(.mobile-ui) #shared-shop-dock .shop-area::before{display:none!important}
html body.playing:not(.mobile-ui) #shared-shop-dock #bench{box-shadow:none!important}
html body.playing:not(.mobile-ui) #dock-wallet{background:none!important;border:0!important;box-shadow:none!important}
html body.playing:not(.mobile-ui) #dock-wallet *{text-shadow:0 0 2px #000,0 1px 2px #000}
html body.playing:not(.mobile-ui) #lock-btn{background:#fff2cc!important;border:1px solid #d9ae55!important;color:#493516!important;box-shadow:0 2px 3px #0005!important;border-radius:10px!important}
html body.playing:not(.mobile-ui) #hud-deploy-count{background:#3b2a1ad9!important;border-color:#d9ae55!important;box-shadow:0 2px 3px #0005!important;color:#fff2cc!important}
/* 가방 4×2: 보유 장비 칸을 나무 가방 그림(597×258) 위 4열×2행으로 */
html body.playing:not(.mobile-ui) #pc-owned-items{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;width:min(232px,100%)!important;height:auto!important;aspect-ratio:597/258;box-sizing:border-box!important;padding:3% 4% 4%!important;gap:6px 8px!important;background:url('assets/ui-prep-hud/bag-4x2.webp') center/100% 100% no-repeat!important;align-items:center;justify-items:center}
html body.playing:not(.mobile-ui) #pc-owned-items .pc-owned-item{width:44px!important;height:44px!important;/* 투명 44 터치 영역(칸보다 조금 커도 됨) */min-width:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body.playing:not(.mobile-ui) #pc-owned-items .pc-owned-item[aria-pressed=true]{outline:2px solid #ffe174;outline-offset:1px;border-radius:6px}
html body.playing:not(.mobile-ui) #retry-coach.cv-coach-plank,html body.playing:not(.mobile-ui) #coach-btn.cv-coach-plank{width:181px!important;height:38px!important;min-height:0!important;margin:0!important;padding:0 22px 0 12px!important;background:url('assets/ui-prep-hud/aux-coach_pc.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff2cc!important;text-shadow:0 1px 2px #000c!important;font:400 17px/1 var(--font-title)!important;position:relative;z-index:31}
html body.playing:not(.mobile-ui) #retry-coach.cv-coach-plank:disabled,html body.playing:not(.mobile-ui) #coach-btn.cv-coach-plank:disabled{filter:saturate(.5) brightness(.8)}
html body.playing:not(.mobile-ui) #shared-shop-dock #dock-toolbar #lock-btn.cv-lock-moved{position:relative!important;z-index:31;translate:var(--cv-mx,0) var(--cv-my,0)!important}
html body.playing:not(.mobile-ui) #coach-btn.cv-coach-plank{translate:var(--cv-mx,0) var(--cv-my,0)!important}
/* 사용자 9차 제보: 패배 뒤 재도전 코치와 일반 코치 중복 → 재도전 코치 하나(전투 시작 아래, PrepHudArt가 translate로 자리 잡음) */
html body.cv-retry-coach #coach-btn,html body.cv-retry-coach.work-pc-hud.playing #hud-right>#coach-btn{display:none!important}
html body #retry-coach{translate:var(--cv-mx,0) var(--cv-my,0)!important}
html body.playing:not(.mobile-ui) #retry-coach.cv-coach-plank{position:fixed!important}
/* 결정 203(사용자): PC 1단계 VS(트레이너·조무래기 띠, 게임 화면 위)의 사람 대사가 하단 상점 위에 떠서 안 보였다 → 판 위쪽 중앙(띠 위).
   관장·라이벌 등 2·3단계 스플릿(그림이 화면 전체)은 디자인대로 아래 대사 줄 유지. 모바일은 그대로 */
html body #work-vs.vs-full:not(.vs-mobile)[data-vs-tier="1"] .vs-dialogue-line{top:24vh!important;bottom:auto!important}
/* 결정 203 모바일 점검: 1단계 VS 대사가 하단 상점 카드 위에 떴다 → 띠 위 판 쪽(가로 844 기준 y≈86~125) */
html body #work-vs.vs-full.vs-mobile[data-vs-tier="1"] .vs-dialogue-line{top:22vh!important;bottom:auto!important}
/* 결정 197 S2: 설정 하단 '메인 메뉴로'(완료 왼쪽) + 확인 창. 확인 창은 남색 대신 크림·금 테두리(결정 189) */
.cv-main-menu{position:absolute;bottom:35px;right:295px;width:243px;height:48px;min-height:48px}
.cv-main-menu-note{position:absolute;bottom:51px;right:550px;width:260px;height:16px;line-height:16px;margin:0;padding:0;text-align:right;font-size:13px;color:#fff2cc;text-shadow:0 1px 2px #000c}
.cv-mobile .cv-main-menu{right:136px;bottom:22px;width:120px;height:44px;min-height:44px}
.cv-mobile .cv-main-menu-note{right:264px;bottom:37px;height:14px;line-height:14px;width:220px;font-size:11px;text-align:right}
.cv-confirm{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:min(520px,calc(100% - 32px));box-sizing:border-box;padding:22px 24px;background:#fff2cc;border:2px solid #d9ae55;border-radius:10px;box-shadow:0 10px 30px #000a;color:#253e35;text-align:center}
.cv-confirm strong{display:block;font:400 26px/1.2 var(--font-title);margin-bottom:8px}
.cv-confirm p{margin:0 0 18px;font-size:16px;line-height:1.45}
.cv-confirm div{display:flex;gap:12px;justify-content:center}
.cv-confirm .cv-button{min-width:140px;min-height:44px}
.cv-mobile .cv-confirm{padding:12px 14px}.cv-mobile .cv-confirm strong{font-size:18px}.cv-mobile .cv-confirm p{font-size:13px;margin-bottom:10px}
/* 결정 197 S1(결정 201): PC 오른쪽 위 정리 — 전체 화면·게임 방법은 설정 '조작' 탭, 소리 끄기는 '플레이' 탭(기존), 월드 투어는 진행 바 옆.
   준비 중 '배치 n/n'(#fight-clock)은 전투 시작 위 배치 막대와 같은 정보라 숨김(전투 중 남은 시간은 그대로). 버튼은 숨겨도 모바일 메뉴가 눌러 쓴다 */
html body.playing:not(.mobile-ui) #hud-fullscreen,html body.playing:not(.mobile-ui) #sound-btn,html body.playing:not(.mobile-ui) #help-btn{display:none!important}
html body.playing:not(.mobile-ui):not(.hud-combat) #fight-clock{display:none!important}
html body.playing:not(.mobile-ui) #world-tour-btn.cv-tour-moved{translate:var(--cv-mx,0) var(--cv-my,0)!important;position:relative;z-index:31}
/* 사용자 제보(2026-10-31, 관리자 지시 v0.12.23): PC 오른쪽 위 단추 정렬 규칙 — 오른쪽 끝선 하나(도감 틀 오른쪽 = 화면 −12), 정사각 44·모서리 8·같은 남색 판,
   1줄 설정(위 12), 2줄 배속·도감(간격 8). 월드 투어는 진행 바 옆으로 옮겨진 뒤에도 #hud-options 줄 자리(34+5)를 차지해 설정이 39px 왼쪽으로 밀려 있었다 → 줄 밖(absolute, 옮기기는 그대로).
   설정 그림은 C2 로비 승인 아이콘(settings-cream) 재사용. 나무 틀 정사각 단추는 승인 그림이 없어 05 GPT 요청(아트 원본 필요). 좁은 PC(1100 이하)는 기존 그대로 */
@media(min-width:1101px){
html body.playing:not(.mobile-ui) #hud-options>#world-tour-btn{position:absolute;right:0;top:0}
html body.playing:not(.mobile-ui) #hud-options{right:12px;top:12px;gap:8px}
html body.playing:not(.mobile-ui) #hud-options>#hud-settings,html body.playing:not(.mobile-ui) #hud-options>#hud-fullscreen{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #91b8b2;border-radius:8px;background:#19334be8;box-shadow:inset 0 2px #dceace1f,0 2px #14354b50}
html body.playing:not(.mobile-ui) #hud-options>#hud-settings{background:#19334be8 url('assets/work-ui/c2/lobby/assets/icons/settings-cream.webp') center/28px 28px no-repeat}
html body.playing:not(.mobile-ui) #hud-options>#hud-settings svg{display:none}
/* 관리자 승인 B안(2026-10-31): 사용자가 전체 화면을 못 찾아 결정 197 S1 중 전체 화면만 되돌림 — 1줄 설정 왼쪽(간격 8), 같은 44 정사각 판, 그림은 기존 SVG(나무 틀 GPT 그림 오기 전까지).
   설정 '조작' 탭의 '전체 화면'도 그대로. 좁은 PC(1100 이하)는 기존처럼 설정 탭만 */
html body.playing:not(.mobile-ui) #hud-options>#hud-fullscreen{display:grid!important;place-items:center;order:-1;color:#fff3d6}
html body.playing:not(.mobile-ui) #hud-options>#hud-fullscreen svg{width:24px;height:24px}
html body.playing:not(.mobile-ui) #hud-options>:is(#hud-settings,#hud-fullscreen):is(:hover,:focus-visible){border-color:#ffe3a0}
html body.playing:not(.mobile-ui) #hud-clock #speed-btn{width:44px;height:44px;min-height:44px;padding:0;border:1px solid #91b8b2;border-radius:8px;background:#19334be8;box-shadow:inset 0 2px #dceace1f,0 2px #14354b50;font-size:12px}
}
html body.mobile-ui #mobile-sound{display:none!important}
.cv-quick{display:flex;gap:12px;margin-bottom:16px}.cv-quick .cv-button{min-width:200px;min-height:48px}
.cv-mobile .cv-quick{gap:8px;margin-bottom:8px}.cv-mobile .cv-quick .cv-button{min-width:120px;min-height:44px}
/* 결정 197 S3: 설정 정렬. 데이터 탭 옛 회색 '메인 메뉴로'는 하단 버튼과 중복이라 숨김, 지난 전투 분석·업데이트 내역·오프라인 자료는
   위 저장 버튼과 같은 폭·가운데 정렬. 모바일 소리 목록은 아래가 더 있음을 흐림으로 알린다(조작 44px 유지) */
#console-v51 .cv-settings-panel #settings-main-menu{display:none!important}
#console-v51 .cv-settings-panel>#analysis-history-btn,#console-v51 .cv-settings-panel>#patch-history-btn,#console-v51 .cv-settings-panel>#offline-download{display:flex!important;align-items:center;justify-content:center;width:100%!important;box-sizing:border-box;margin:0 0 10px!important;text-align:center}
.cv-mobile .cv-volume-list{-webkit-mask-image:linear-gradient(to bottom,#000 80%,transparent);mask-image:linear-gradient(to bottom,#000 80%,transparent);padding-bottom:14px}
#console-v51 .cv-settings-panel .settings-note{font-size:13px!important;line-height:1.45}.cv-mobile .cv-settings-panel .settings-note{font-size:11px!important}
body:not(.mobile-ui) #combat-result .gear-icon>small,body:not(.mobile-ui) #work-rewards .gear-icon>small,body:not(.mobile-ui) #pending-rewards .gear-icon>small{font-size:13px!important;line-height:1} /* 결정 188 ② 후속: 결과 보상 장비 아이콘 숫자 10px → 13px */
/* 결정 194 3차(B4, 모바일 가로 폭 800 이상): GPT 30 시안 prep_844·spec/prep.md 모바일 절. 남색 판 없음(결정 189), 06 로직·DOM 그대로.
   접힘(body.cv-shop-fold, 기본): 독 높이 95 → 판 자리가 넓어져 판이 커짐(EquipmentDock.bounds). 벤치 58×44 9칸 간격 3, 아래 줄 레벨·XP·새로고침·잠금·'상점 열기', 전투 시작 132×60(주아 15px).
   펼침: 지금 배치(상점 5장) + '접기'(44×44), 전투 시작은 벤치 오른쪽 위로 키움. 좌표는 844×390 기준이고 독 안 상대 위치(독 왼쪽 8). */
#cv-shop-fold{display:none}
@media(max-width:1100px) and (orientation:landscape){
 html body.playing.mobile-ui.cv-fold-on #shared-shop-dock #cv-shop-fold:not([hidden]){display:flex;position:absolute;z-index:32;left:auto;right:126px;top:0;width:44px;height:44px;min-height:44px;padding:0;align-items:center;justify-content:center;border:1px solid #d9ae55;border-radius:10px;background:#fff2cc;color:#493516;font:700 12px/1 'PT Read',sans-serif;box-shadow:0 2px 3px #0005;cursor:pointer}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench{right:124px!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #dock-start{left:auto!important;right:-49px!important;top:-10px!important;bottom:auto!important;width:121px!important;height:55px!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock{top:auto!important;height:95px!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock>.shop-area{display:none!important}
 html body.playing.mobile-ui.cv-fold-on.cv-shop-fold #shared-shop-dock #cv-shop-fold:not([hidden]){left:calc(50% + 104px);top:45px;width:170px;height:56px;border-radius:12px;font:400 15px/1 var(--font-title),sans-serif}
 html body.playing.mobile-ui.cv-shop-fold #dock-bench-row{left:calc(50% - 272px)!important;right:0!important;top:0!important;bottom:auto!important;height:44px!important;overflow:visible!important}
 html body.playing.mobile-ui.cv-shop-fold #bench{left:0!important;right:auto!important;width:546px!important;grid-template-columns:repeat(9,58px)!important;gap:3px!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #dock-start{left:auto!important;right:2px!important;top:31px!important;bottom:auto!important;width:132px!important;height:60px!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-shop-controls{left:calc(50% - 310px)!important;right:auto!important;top:49px!important;bottom:auto!important;width:auto!important;height:48px!important;display:flex!important;gap:7px!important;align-items:center!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level{flex:0 0 94px!important;width:94px!important;height:48px!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level #dock-xp-remaining{display:none!important}
 html body.playing.mobile-ui.cv-shop-fold #xp-btn{flex:0 0 111px!important;width:111px!important}
 html body.playing.mobile-ui.cv-shop-fold #reroll-btn{flex:0 0 132px!important;width:132px!important}
 html body.playing.mobile-ui.cv-shop-fold #dock-toolbar{left:calc(50% + 48px)!important;right:auto!important;top:53px!important;bottom:auto!important;width:44px!important}
 html body.playing.mobile-ui.cv-shop-fold #dock-toolbar>.work-bag-button:first-child{left:4px!important;top:54px!important}
 html body.playing.mobile-ui.cv-shop-fold #dock-toolbar>.work-bag-button:last-child{left:52px!important;top:54px!important}
}
/* 194 3차 접힘 겉모양: 독 스킨(남색 판) 걷기, 벤치 흙·돌 받침, 나무 보조 버튼(aux-*_mobile 132×44), 잠금·배치 수치는 PC 2차와 같은 색 */
@media(max-width:1100px) and (orientation:landscape){
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock{background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock::before,html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock::after,html body.playing.mobile-ui.cv-shop-fold #hud-shop-controls::before,html body.playing.mobile-ui.cv-shop-fold #hud-shop-controls::after{display:none!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot{background:url('assets/ui-prep-hud/bench-pad-1.webp') center 70%/100% auto no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="1"]{background-image:url('assets/ui-prep-hud/bench-pad-2.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="2"]{background-image:url('assets/ui-prep-hud/bench-pad-3.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="3"]{background-image:url('assets/ui-prep-hud/bench-pad-4.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="4"]{background-image:url('assets/ui-prep-hud/bench-pad-5.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="5"]{background-image:url('assets/ui-prep-hud/bench-pad-6.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="6"]{background-image:url('assets/ui-prep-hud/bench-pad-7.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="7"]{background-image:url('assets/ui-prep-hud/bench-pad-8.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot[data-bench="8"]{background-image:url('assets/ui-prep-hud/bench-pad-9.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot .bench-num{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important;background:none!important}
 html body.playing.mobile-ui.cv-shop-fold #bench .bench-slot.drop-target{filter:brightness(1.15)}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #xp-btn,html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #reroll-btn{background:url('assets/ui-prep-hud/aux-xp_mobile.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff2cc!important;text-shadow:0 1px 2px #000c!important;padding-right:12px!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #reroll-btn{background-image:url('assets/ui-prep-hud/aux-refresh_mobile.webp')!important}
 html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #xp-btn:disabled,html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #reroll-btn:disabled,html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #xp-btn[data-state=insufficient],html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #reroll-btn[data-state=insufficient]{filter:saturate(.55) brightness(.8)!important}
 html body.playing.mobile-ui.cv-shop-fold #lock-btn{background:#fff2cc!important;border:1px solid #d9ae55!important;color:#493516!important;box-shadow:0 2px 3px #0005!important;border-radius:10px!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-deploy-count{background:#3b2a1ad9!important;border-color:#d9ae55!important;box-shadow:0 2px 3px #0005!important;color:#fff2cc!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level{background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level #level-label,html body.playing.mobile-ui.cv-shop-fold #hud-level #xp-label{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level #level-label{font-family:var(--font-title)!important;font-weight:400!important;font-size:20px!important}
 html body.playing.mobile-ui.cv-shop-fold #hud-level #xp-label{font-variant-numeric:tabular-nums}
}
@media(max-width:1100px) and (orientation:landscape){html body.playing.mobile-ui.cv-shop-fold #dock-bench-row,html body.playing.mobile-ui.cv-shop-fold #bench{background:none!important;border:0!important;box-shadow:none!important}}
@media(max-width:1100px) and (orientation:landscape){html body.playing.mobile-ui.cv-shop-fold #shared-shop-dock #hud-deploy-count{top:-35px!important;bottom:auto!important}}
@media(max-width:1100px) and (orientation:landscape){html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #hud-deploy-count{top:-27px!important;bottom:auto!important}}
/* 결정 208: 소모품 주머니(PC 가방 왼쪽 2×2·모바일 44 버튼)와 사용·넘침 창. 크림 바탕+금 테두리(결정 189: 남색 상자 없음). 아이콘은 자리표시 글자(GPT 원화 전). */
/* 결정 366(사용자 PC 사진): 흰 기본 카드 → 65-A tooltip_frame 9-slice(남색 틀), 칸은 bench_slot_normal */
#cv-pouch{position:fixed;z-index:60;display:grid;gap:3px;padding:6px;border-style:solid;border-width:0;border-image:url('assets/ui/hud65a/tooltip_frame.webp') 8 fill / 4px stretch;background:none;color:#F5F5E7;box-shadow:0 2px 6px #0006;font:700 12px/1.2 'PT Read',sans-serif}
#cv-pouch[hidden],#cv-pouch-pop[hidden],#cv-pouch-over[hidden]{display:none!important}
#cv-pouch header{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:0 2px}
#cv-pouch header b,#cv-pouch .cv-pouch-toggle b{font-family:var(--font-title),sans-serif;font-weight:400;font-size:15px}
#cv-pouch header span,#cv-pouch .cv-pouch-toggle span{font-variant-numeric:tabular-nums;color:#FFE06A}
#cv-pouch .cv-pouch-grid{display:grid;grid-template-columns:repeat(2,44px);gap:4px}
#cv-pouch>small{max-width:92px;font-size:11px;color:#E9B86A;text-align:center}
#cv-pouch .cv-pouch-slot{width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border-style:solid;border-width:0;border-image:url('assets/ui/hud65a/bench_slot_normal.webp') 8 fill / 3px stretch;border-radius:0;background:none;cursor:pointer}
#cv-pouch .cv-pouch-slot:disabled{opacity:.55;cursor:default}
#cv-pouch .cv-pouch-slot:not(:disabled):hover{filter:brightness(1.06);outline:2px solid #ffe174}
.cv-pouch-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e9d7a6;border:2px solid #b88a3a;color:#493516;font:800 11px/1 'PT Read',sans-serif;font-style:normal;letter-spacing:-.02em}
.cv-pouch-icon[data-kind=copy]{background:#ffe174;border-color:#c48b1d}
#cv-pouch[data-mobile=true]{padding:0;border:0;background:none;box-shadow:none}
#cv-pouch .cv-pouch-toggle{width:44px;height:44px;min-height:44px;padding:0;display:grid;place-content:center;gap:1px;border:1px solid #d9ae55;border-radius:10px;background:#fff2cc;color:#253e35;box-shadow:0 2px 3px #0005}
#cv-pouch .cv-pouch-toggle b{font-size:11px}
#cv-pouch .cv-pouch-toggle span{font-size:11px}
#cv-pouch[data-mobile=true] .cv-pouch-grid{margin-top:4px;padding:4px;border:1px solid #d9ae55;border-radius:10px;background:#fff2cceb;box-shadow:0 2px 6px #0006}
#cv-pouch[data-mobile=true]>small{display:block;margin-top:2px;padding:2px 4px;border-radius:6px;background:#fff2cceb}
#cv-pouch-pop,#cv-pouch-over{position:fixed;z-index:61;width:min(280px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow:auto;padding:10px;border:1px solid #d9ae55;border-radius:14px;background:#fff8e2;color:#253e35;box-shadow:0 4px 14px #0007;font:600 13px/1.35 'PT Read',sans-serif;box-sizing:border-box}
#cv-pouch-over{left:50%;top:50%;transform:translate(-50%,-50%);width:min(320px,calc(100vw - 16px))}
.cv-pouch-head{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}
.cv-pouch-head>span{display:grid;gap:2px}
.cv-pouch-head b{font-family:var(--font-title),sans-serif;font-weight:400;font-size:17px}
.cv-pouch-head small{font-size:13px;color:#4c5a4f}
.cv-pouch-title{margin:0 0 6px;font-family:var(--font-title),sans-serif;font-size:17px;color:#7a3d12}
.cv-pouch-note{margin:8px 0 4px;font-size:13px;color:#7a3d12}
.cv-pouch-x{width:44px;height:44px;min-height:44px;border:0;background:none;font-size:22px;color:#493516;cursor:pointer}
.cv-pouch-targets,.cv-pouch-swap{display:grid;gap:4px;max-height:176px;overflow:auto}
.cv-pouch-targets button,.cv-pouch-swap button,.cv-pouch-actions button,.cv-pouch-main{min-height:44px;padding:4px 10px;border:1px solid #d9ae55;border-radius:10px;background:#fff2cc;color:#493516;font:700 13px/1.2 'PT Read',sans-serif;cursor:pointer;text-align:left}
.cv-pouch-targets button{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cv-pouch-targets small{color:#4c5a4f;font-weight:600}
.cv-pouch-swap button{display:flex;align-items:center;gap:8px}
.cv-pouch-swap .cv-pouch-icon{width:30px;height:30px}
.cv-pouch-main{width:100%;margin-top:8px;text-align:center;font-family:var(--font-title),sans-serif;font-weight:400;font-size:16px;background:#ffe174}
.cv-pouch-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:8px}
.cv-pouch-actions button{text-align:center}
#cv-pouch-pop button:disabled,#cv-pouch-over button:disabled{opacity:.5;cursor:default}
#cv-pouch-pop button:not(:disabled):hover,#cv-pouch-over button:not(:disabled):hover{filter:brightness(1.05)}
/* 결정 217(사용자 확정, A2+맵별): 대기석 뒤 띠 — 맵 id 표(BENCH_BAND, console-v51.js)의 2색 + 그 맵 판 그림 아래 가장자리 결, 금 테두리. 칸은 상점 카드 줄과 같은 정렬, 띠는 좌우 6px만 넓혀 XP 열·전투 시작까지 간격 같게.
   빈칸 크림 점선 타원+번호 알약 22px, 찬칸 포켓몬 1.12배·밝은 외곽선·진한 바닥 그림자, 별 1.3배. 숲 계열 외 맵은 받침을 재질색 원판(data-band-pad=plain). PC·모바일 접힘. 남색 없음 */
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench{position:relative!important;isolation:isolate;overflow:visible!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench::before{content:'';position:absolute;inset:-4px -6px;z-index:-1;background:repeating-linear-gradient(90deg,#ffffff08 0 2px,transparent 2px 11px),linear-gradient(var(--band-a,#4a3320d9),var(--band-b,#2e1f12e6)),var(--band-img,none) 50% 94%/170% auto;border:2px solid #d9ae55;border-radius:14px;box-shadow:0 4px 10px #0009;pointer-events:none}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot{outline:2px solid #fff2cca6;outline-offset:-3px;border-radius:10px!important;filter:none!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot:not(.occupied)::before{border-color:#fff2cce6!important;border-width:2px!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot .bench-num{min-width:22px!important;height:22px!important;border-radius:11px!important;font-size:14px!important;left:5px!important;top:4px!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot.occupied>.poke-img{transform:scale(1.12);transform-origin:50% 85%;filter:drop-shadow(0 0 1px #fffbe8) drop-shadow(0 0 1px #fffbe8) drop-shadow(0 5px 3px #000d)!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot .bench-stars{transform:scale(1.3);transform-origin:0 100%}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot.selected{outline-color:#ffe174;outline-width:3px}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench[data-band-pad=plain] .bench-slot,:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench[data-band-pad=plain] .bench-slot[data-bench]{background:radial-gradient(ellipse 44% 30% at 50% 70%,var(--pad-1) 0 62%,var(--pad-2) 86%,transparent 90%)!important}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot:not(.occupied)::before{content:'';position:absolute;left:12%;right:12%;top:30%;bottom:8%;border:2px dashed #fff2cce6;border-radius:50%;box-shadow:0 0 0 1px #2b1a0b80,inset 0 0 0 1px #2b1a0b80;pointer-events:none}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot .bench-num{display:inline-grid!important;place-items:center;padding:0 4px;background:#3b2a1ae6!important;border:1px solid #d9ae55;color:#fff2cc!important;font-weight:800!important;font-family:'PT Read',sans-serif!important;font-variant-numeric:tabular-nums;text-shadow:none!important;z-index:1}
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench .bench-slot.drop-target::before{border-style:solid;border-color:#ffe174}
/* 결정 194 ④(관리자 승인): 모바일 상점 펼침 상태 겉모양 — 승인 부품만(shop-landscape-1~5·aux-*_mobile), 독 남색 판 걷기(결정 189). 배치는 194 3차 그대로 */
@media(max-width:1100px) and (orientation:landscape){
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock>.shop-area,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-shop-controls{background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock::before,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock::after,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-shop-controls::before,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock>.shop-area::before{display:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card{background:linear-gradient(to top,#f7ebc8 0 42px,#d9ae55 42px 44px,transparent 44px),url('assets/ui-prep-hud/shop-landscape-1.webp') center 30%/100% auto no-repeat!important;background-color:#7da35c!important;border:2px solid #d9ae55!important;border-radius:8px!important;box-shadow:0 2px 4px #0006!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card[data-shop="1"]{background:linear-gradient(to top,#f7ebc8 0 42px,#d9ae55 42px 44px,transparent 44px),url('assets/ui-prep-hud/shop-landscape-2.webp') center 30%/100% auto no-repeat!important;background-color:#7da35c!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card[data-shop="2"]{background:linear-gradient(to top,#f7ebc8 0 42px,#d9ae55 42px 44px,transparent 44px),url('assets/ui-prep-hud/shop-landscape-3.webp') center 30%/100% auto no-repeat!important;background-color:#7da35c!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card[data-shop="3"]{background:linear-gradient(to top,#f7ebc8 0 42px,#d9ae55 42px 44px,transparent 44px),url('assets/ui-prep-hud/shop-landscape-4.webp') center 30%/100% auto no-repeat!important;background-color:#7da35c!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card[data-shop="4"]{background:linear-gradient(to top,#f7ebc8 0 42px,#d9ae55 42px 44px,transparent 44px),url('assets/ui-prep-hud/shop-landscape-5.webp') center 30%/100% auto no-repeat!important;background-color:#7da35c!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card .shop-name{background:none!important;box-shadow:none!important;color:#253e35!important;text-shadow:none!important;font-family:var(--font-title)!important;font-weight:400!important;font-size:14px!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card .shop-meta,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card .shop-meta *:not(.type-symbol){color:#253e35!important;text-shadow:none!important;background:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card .merge-hint{background:#fff2cce8!important;color:#253e35!important;border:1px solid #d9ae55!important;text-shadow:none!important;box-shadow:0 1px 2px #0004!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shop-cards .shop-card .shop-cost{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #xp-btn,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #reroll-btn{background:url('assets/ui-prep-hud/aux-xp_mobile.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff2cc!important;text-shadow:0 1px 2px #000c!important;padding-right:12px!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #reroll-btn{background-image:url('assets/ui-prep-hud/aux-refresh_mobile.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #xp-btn[data-state=insufficient],html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #shared-shop-dock #reroll-btn[data-state=insufficient]{filter:saturate(.55) brightness(.8)!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #lock-btn{background:#fff2cc!important;border:1px solid #d9ae55!important;color:#493516!important;box-shadow:0 2px 3px #0005!important;border-radius:10px!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-deploy-count{background:#3b2a1ad9!important;border-color:#d9ae55!important;box-shadow:0 2px 3px #0005!important;color:#fff2cc!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-level{background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-level #level-label,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-level #xp-label,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-level #dock-xp-remaining{color:#fff2cc!important;text-shadow:0 0 2px #000,0 1px 2px #000!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #hud-level #level-label{font-family:var(--font-title)!important;font-weight:400!important;font-size:20px!important}
}
/* 결정 211: 갈림길 세 갈래 카드 한 줄(1280·844), 고른 카드 뒤집기·결과, 나머지 흐리게. 패널 색은 기존 그대로 */
#strategy-overlay .strategy-cards.routes{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#strategy-overlay .strategy-cards.routes .strategy-card.cv-route-dim{opacity:.35;filter:grayscale(.6);transition:opacity .25s,filter .25s}
#strategy-overlay .strategy-cards.routes .strategy-card.cv-route-flip{animation:cv-route-flip .36s ease-in-out}
@keyframes cv-route-flip{0%{transform:scaleX(1)}50%{transform:scaleX(0)}100%{transform:scaleX(1)}}
#strategy-overlay .strategy-cards.routes .strategy-card.cv-route-open{background:#fff2cc!important;border:2px solid #d9ae55!important;color:#253e35!important;opacity:1!important;cursor:default}
#strategy-overlay .cv-route-back{display:grid;gap:6px;place-items:center;text-align:center;width:100%}
#strategy-overlay .cv-route-back small{font:700 13px/1.3 'PT Read',sans-serif;color:#4c5a4f}
#strategy-overlay .cv-route-back b{font:400 26px/1.15 var(--font-title),sans-serif;color:#7a3d12}
#strategy-overlay .cv-route-back span{font:700 15px/1.35 'PT Read',sans-serif;color:#253e35}
#strategy-overlay .strategy-card[data-outcome=supply] .cv-route-back b{color:#2c5b3f}#strategy-overlay .strategy-card[data-outcome=trap] .cv-route-back b{color:#8a2a1a}
@media(max-height:500px){#strategy-overlay .strategy-cards.routes{gap:8px;margin-top:8px}#strategy-overlay .strategy-cards.routes .strategy-card{min-height:0!important;padding:8px 8px 10px!important;gap:4px}#strategy-overlay .strategy-cards.routes .strategy-card h3{font-size:14px!important;margin:2px 0!important}#strategy-overlay .strategy-cards.routes .strategy-card p{font-size:12px!important;margin:0!important}#strategy-overlay .cv-route-back b{font-size:20px}#strategy-overlay .cv-route-back span{font-size:13px}}
@media(prefers-reduced-motion:reduce){#strategy-overlay .strategy-cards.routes .strategy-card.cv-route-flip{animation:none}}
/* 결정 214(GPT 32 ① 승인): 포켓몬 작은 패널 — 05 assets/ui-unit-panel 부품. 크림 카드 9-slice(24/24/24/24, 투명 패딩 2px 포함 원본), 풍경 띠, 능력치 아이콘, HP 틀·채움(왼쪽부터 비율만큼), 기술 띠(글자 흰색), 장비 주머니, 자세히 나무 판.
   조건: ①타입·역할 붙여 쓰기 ②타입 글자 타입색(크림 위 대비 위해 짙게 섞음) ③모바일 크림 면은 그림 오른쪽부터 ④상대 장비 칸 '+' 없음. 남색 없음. 글자 PC 13px·모바일 11px 이상, 주아는 14px 이상만 */
html body #unit-side{background:none!important;border:0!important;clip-path:none!important;border-radius:0!important;box-shadow:none!important;padding:8px 8px 12px!important;gap:7px!important;color:#342e22!important;isolation:isolate;font-family:'PT Read',sans-serif}
html body #unit-side::before{content:'';position:absolute;inset:0;z-index:-1;border:24px solid transparent;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill / 24px stretch;pointer-events:none;filter:drop-shadow(0 4px 10px #0007)}
html body #unit-side[data-team=enemy]::before{border-image-source:url('assets/ui-unit-panel/card_enemy.webp')}
html body #unit-side .us-close{position:absolute;top:10px;right:6px;z-index:3;width:44px;height:44px;background:url('assets/ui-unit-panel/close.webp') center/32px 32px no-repeat!important;border:0;color:transparent;font-size:0}
html body #unit-side .us-head{position:relative;display:grid!important;grid-template-rows:96px auto;gap:6px;padding:0!important;background:url('assets/ui-unit-panel/header_landscape.webp') top center/100% 96px no-repeat;border-radius:10px}
html body #unit-side .us-head>img{grid-row:1;justify-self:center;align-self:end;width:80px!important;height:80px!important;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 2px #0006)}
html body #unit-side .us-team{position:absolute;left:10px;top:9px;height:22px;padding:0 9px;border-radius:11px;background:#23634b;color:#fff5d6;font:700 13px/22px 'PT Read',sans-serif;font-style:normal}
html body #unit-side[data-team=enemy] .us-team{background:#9d3434}
html body #unit-side[data-team=offer] .us-team{background:#8a6416}
html body #unit-side .us-title{grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:0 10px}
html body #unit-side .us-title strong{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 24px/1.15 var(--font-title),sans-serif!important;color:#342e22!important}
html body #unit-side .us-title .us-grade{display:block;color:#b57a14;font-size:20px;line-height:1}
html body #unit-side .us-title .us-type{grid-column:1/-1;display:block;font:700 14px/1.3 'PT Read',sans-serif!important;color:#66583e!important}
html body #unit-side .us-type span{color:color-mix(in srgb,var(--tc) 55%,#342e22)}
html body #unit-side .us-hp{display:grid;grid-template-columns:18px auto 1fr;align-items:center;gap:3px 5px;padding:0 10px}
html body #unit-side .us-hp em{font:400 13px/1 'PT Read',sans-serif;color:#66583e;font-style:normal}
html body #unit-side .us-hp b{justify-self:end;font:700 16px/1 'PT Read',sans-serif;font-variant-numeric:tabular-nums;color:#342e22}
html body #unit-side .us-bar{grid-column:1/-1;display:block;height:16px;padding:3px;box-sizing:border-box;background:url('assets/ui-unit-panel/hp_frame.webp') center/100% 100% no-repeat;--bar-w:258px}
html body #unit-side .us-bar>i{display:block;height:100%;background:url('assets/ui-unit-panel/hp_fill.webp') left center/var(--bar-w) 100% no-repeat}
html body #unit-side .us-bar[data-empty=true]>i{display:none}
html body #unit-side .us-ico{display:block;width:20px;height:20px;background:center/contain no-repeat;font-style:normal}
html body #unit-side .us-hp .us-ico{width:18px;height:18px}
html body #unit-side .us-ico[data-ico=hp]{background-image:url('assets/ui-unit-panel/stat_hp.webp')}
html body #unit-side .us-ico[data-ico=attack]{background-image:url('assets/ui-unit-panel/stat_attack.webp')}
html body #unit-side .us-ico[data-ico=defense]{background-image:url('assets/ui-unit-panel/stat_defense.webp')}
html body #unit-side .us-ico[data-ico=speed]{background-image:url('assets/ui-unit-panel/stat_speed.webp')}
html body #unit-side .us-ico[data-ico=range]{background-image:url('assets/ui-unit-panel/stat_range.webp')}
html body #unit-side .us-stats{display:grid!important;grid-template-columns:1fr 1fr;gap:6px 14px;padding:0 10px!important;border:0!important}
html body #unit-side .us-stat{display:grid!important;grid-template-columns:20px 1fr auto;align-items:center;gap:5px}
html body #unit-side .us-stat em{font:400 13px/1 'PT Read',sans-serif;color:#66583e;font-style:normal}
html body #unit-side .us-stat b{font:700 16px/1 'PT Read',sans-serif;font-variant-numeric:tabular-nums;color:#342e22}
html body #unit-side .us-skill{padding:0 10px}
html body #unit-side .us-band{display:flex;align-items:center;gap:8px;height:28px;padding:0 12px;background:url('assets/ui-unit-panel/skill_normal.webp') center/100% 100% no-repeat}
html body #unit-side .us-skill[data-kind=ultimate] .us-band{background-image:url('assets/ui-unit-panel/skill_ultimate.webp')}
html body #unit-side .us-band small{display:block;font:700 13px/1 'PT Read',sans-serif!important;color:#fff5d6!important;flex:none}
html body #unit-side .us-band b{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 17px/1 var(--font-title),sans-serif!important;color:#fff9e9!important;text-shadow:0 1px 1px #0006}
html body #unit-side .us-skill p{margin:4px 6px 0!important;font:400 13px/1.35 'PT Read',sans-serif;color:#342e22!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #unit-side .us-gear{display:grid!important;grid-template-columns:repeat(3,44px) 1fr;align-items:end;gap:6px;padding:0 10px}
html body #unit-side .us-gear-label{grid-column:1/-1;font:400 13px/1 'PT Read',sans-serif;color:#66583e}
html body #unit-side .us-slot{width:44px!important;height:44px!important;padding:0!important;display:grid;place-items:center;background:url('assets/ui-unit-panel/equipment_empty.webp') center/100% 100% no-repeat!important;border:0!important;color:#66583e!important;font-size:18px}
html body #unit-side .us-slot[data-filled=true]{background-image:url('assets/ui-unit-panel/equipment_filled.webp')!important}
html body #unit-side .us-slot img{width:30px;height:30px}
html body #unit-side .us-more{justify-self:end;width:112px!important;flex:none!important;min-height:44px;height:44px;background:url('assets/ui-unit-panel/details_normal.webp') center/100% 100% no-repeat!important;border:0!important;color:#fff5d6!important;font:400 17px/1 var(--font-title),sans-serif!important;text-shadow:0 1px 1px #0008}
html body #unit-side .us-more:active{background-image:url('assets/ui-unit-panel/details_pressed.webp')!important}
html body #unit-side button:focus-visible{outline:2px solid #23634b;outline-offset:2px}
/* PC 접힘(화면 높이 800 이하·자리 부족): 풍경 74, 그림 66, 이름 22px, 기술 설명 숨김 */
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-head{grid-template-rows:74px auto;background-size:100% 74px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-head>img{width:66px!important;height:66px!important}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-title strong{font-size:22px!important}
/* 결정 365: 접힘(PC 높이 800 이하)에서도 기술 설명을 숨기지 않고 2줄로 — '자세히' 없이 대상·배율·재사용을 본다 */
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-skill p{display:-webkit-box!important;font-size:12px;line-height:1.3;-webkit-line-clamp:2}
html body #unit-side .us-skill p{-webkit-line-clamp:3}
html body #unit-side .us-band .us-tag{margin-left:auto;flex:none;padding:2px 6px;border-radius:9px;background:#1d2a2bcc;font:700 12px/1.1 'PT Read',sans-serif;color:#fff1c4;white-space:nowrap}
html body #unit-side .us-skill p .us-fx{width:16px;height:16px;vertical-align:-3px;margin-right:3px}
html body #unit-side[data-sheet=true] .us-skill p{-webkit-line-clamp:2}
/* 365: 접힘 카드(1280×720 등 약 300px)에 설명 2줄씩을 넣으려고 능력치를 아이콘+값 한 줄(이름은 title), HP 띠·기술 띠를 줄인다 */
html body #unit-side[data-compact=true]:not([data-sheet=true]){gap:4px!important;padding-bottom:6px!important}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-stats{grid-template-columns:repeat(4,auto)!important;justify-content:space-between;gap:0 8px!important}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-stat{grid-template-columns:18px auto!important;gap:4px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-stat em{display:none}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-stat .us-ico{width:18px;height:18px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-hp{gap:2px 5px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-bar{height:13px;padding:2px 3px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-band{height:24px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-skill p{margin-top:2px!important;font-size:12px;line-height:1.2}
html body #unit-side[data-sheet=true] .us-band .us-tag{font-size:10px;padding:1px 5px}
html body #unit-side[data-sheet=true] .us-skill p .us-fx{width:14px;height:14px}
/* 365 마감(통합 사본 확인): 4성 전용기 칸이 붙으면 접힘 PC(1280×720 +27px)·휴대폰 시트가 넘쳤다 → 좁은 카드에선 전용기는 띠 한 줄(범위·상태는 title), 필살기 설명 1줄 */
html body #unit-side:is([data-compact=true],[data-sheet=true]) .us-skill[data-kind=exclusive] p{display:none!important}
html body #unit-side:is([data-compact=true],[data-sheet=true]):has(.us-skill[data-kind=exclusive]) .us-skill[data-kind=ultimate] p{-webkit-line-clamp:1}
html body #unit-side[data-sheet=true] .us-skill[data-kind=exclusive]{grid-column:2;grid-row:2/4;align-self:end;padding:0}
html body #unit-side[data-sheet=true]:has(.us-skill[data-kind=exclusive]) .us-skill[data-kind=normal]{margin-top:0}
html body #unit-side[data-sheet=true]:has(.us-skill[data-kind=exclusive]) .us-skill[data-kind=ultimate] p{margin-top:1px!important}
html body #unit-side[data-sheet=true] .us-skill[data-kind=exclusive] .us-band{height:20px}
html body #unit-side[data-sheet=true]:has(.us-skill[data-kind=exclusive]) .us-skill[data-kind=ultimate] .us-band{height:23px}
/* 365 캡처에서 발견: 휴대폰 정보 시트가 열리면 06 XP (i)(#buy-xp-info)가 시트 이름 위에 떠 있었다 → 시트가 열린 동안만 숨김 */
html body.mobile-ui:has(#unit-side[data-sheet=true]:not([hidden])) #buy-xp-info{visibility:hidden!important;pointer-events:none!important}
/* 모바일 하단 시트 828×158: 왼쪽 풍경·이름·HP·능력치 4 | 가운데 기술 2 | 오른쪽 장비 3칸·자세히 */
/* 결정 360 ①(실기기 v0.12.2): 이 규칙이 #unit-side[hidden]{display:none}보다 세서 휴대폰 시트가 × 뒤에도 남았다 → :not([hidden]) */
html body #unit-side[data-sheet=true]:not([hidden]){display:grid!important;grid-template-columns:306px 300px 1fr;grid-template-rows:76px auto 1fr;column-gap:16px;row-gap:3px;height:158px;padding:8px 8px 6px!important;overflow:hidden}
html body #unit-side[data-sheet=true] .us-close{top:4px;right:4px}
html body #unit-side[data-sheet=true] .us-head{grid-column:1;grid-row:1;display:block!important;height:76px;background-size:306px 76px}
html body #unit-side[data-sheet=true] .us-head>img{position:absolute;left:12px;top:4px;width:70px!important;height:70px!important}
html body #unit-side[data-sheet=true] .us-team{left:auto;right:8px;top:auto;bottom:6px;height:18px;font-size:11px;line-height:18px;padding:0 7px}
html body #unit-side[data-sheet=true] .us-title{position:absolute;left:84px;top:7px;width:212px;height:62px;box-sizing:border-box;padding:4px 10px;align-content:center;background:#fff7dde0;border-radius:8px;row-gap:2px}
html body #unit-side[data-sheet=true] .us-title strong{font-size:20px!important}
html body #unit-side[data-sheet=true] .us-title .us-grade{font-size:16px}
html body #unit-side[data-sheet=true] .us-title .us-type{font-size:11px!important}
/* 378: 12코 전설 '다음 강화: 4성 · 전용기' 한 줄 */
html body #unit-side .us-title .us-next{grid-column:1/-1;display:block;font:700 12px/1.25 'PT Read',sans-serif!important;color:#7a3fb0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #unit-side[data-sheet=true] .us-title .us-next{font-size:11px!important;line-height:1.15}
/* 375-1: 06 GearAdvice — PC 펼침은 06 블록 그대로(여백만), 접힘 PC·휴대폰 시트는 '추천' + 아이콘 한 줄(이름·이유 숨김), 시트에선 일반 스킬 아래 빈 줄(1행 끝) */
html body #unit-side .gear-advice{margin:0 10px}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice{display:flex;align-items:center;gap:4px;min-height:0;margin:0 10px;padding:0;border:0;background:none;overflow:hidden;white-space:nowrap}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice h4{margin:0 2px 0 0;font:700 11px/1 'PT Read',sans-serif;color:#66583e;flex:none}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice h4 small{display:none}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice .ga-row{display:flex;align-items:center;gap:2px;margin:0;padding:0;border:0;background:none;min-height:0}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice .ga-row :is(b,small){display:none}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice .ga-row>:first-child{width:20px!important;height:20px!important}
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice p{margin:0;font:11px/1.2 'PT Read',sans-serif;overflow:hidden;text-overflow:ellipsis}
html body #unit-side[data-compact=true]:not([data-sheet=true]):has(.us-skill[data-kind=exclusive]) .gear-advice{display:none}
html body #unit-side[data-sheet=true] .gear-advice{grid-column:2;grid-row:1;align-self:end;margin:0 12px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .gear-advice{flex:none;height:16px;margin-top:-4px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .gear-advice .ga-row>:first-child{width:16px!important;height:16px!important}
html body #unit-side[data-compact=true]:not([data-sheet=true]):has(.gear-advice) .us-skill[data-kind=ultimate] p{-webkit-line-clamp:1}
html body #unit-side[data-sheet=true]:has(.gear-advice) .us-skill[data-kind=normal] p{-webkit-line-clamp:1}
html body #unit-side[data-sheet=true] .us-hp{grid-column:1;grid-row:2;grid-template-columns:16px auto 1fr;padding:0 6px;gap:2px 4px}
html body #unit-side[data-sheet=true] .us-hp .us-ico{width:16px;height:16px}
html body #unit-side[data-sheet=true] .us-hp em{font-size:11px}
html body #unit-side[data-sheet=true] .us-hp b{font-size:14px}
html body #unit-side[data-sheet=true] .us-bar{height:10px;padding:2px 3px;--bar-w:280px}
html body #unit-side[data-sheet=true] .us-stats{grid-column:1;grid-row:3;grid-template-columns:repeat(4,1fr);gap:2px 6px;padding:0 6px!important;align-self:start}
html body #unit-side[data-sheet=true] .us-stat{grid-template-columns:16px 1fr;grid-template-rows:auto auto;column-gap:3px;row-gap:1px}
html body #unit-side[data-sheet=true] .us-stat .us-ico{width:16px;height:16px;grid-row:1}
html body #unit-side[data-sheet=true] .us-stat em{font-size:11px;grid-row:1}
html body #unit-side[data-sheet=true] .us-stat b{font-size:14px;grid-column:1/-1}
html body #unit-side[data-sheet=true] .us-skill{grid-column:2;padding:0}
html body #unit-side[data-sheet=true] .us-skill[data-kind=normal]{grid-row:1;align-self:start;margin-top:4px}
html body #unit-side[data-sheet=true] .us-skill[data-kind=ultimate]{grid-row:2/4;align-self:start}
html body #unit-side[data-sheet=true] .us-band{height:26px}
html body #unit-side[data-sheet=true] .us-band small{font-size:11px!important}
html body #unit-side[data-sheet=true] .us-band b{font-size:16px!important}
html body #unit-side[data-sheet=true] .us-skill p{font-size:11px;margin:3px 12px 0!important}
html body #unit-side[data-sheet=true] .us-gear{grid-column:3;grid-row:1/4;grid-template-columns:repeat(3,44px);align-content:center;gap:4px;padding:0 0 0 4px}
html body #unit-side[data-sheet=true] .us-gear-label{font-size:11px;margin-top:22px}
html body #unit-side[data-sheet=true] .us-more{grid-column:1/-1;justify-self:start;width:144px!important}
/* 214 조정: PC 접힘은 자리(1280 약 300px)에 맞게 풍경 띠를 그림 뒤 56px 칸으로 줄이고 이름·타입을 옆에. 모바일 시트는 158px 안에 능력치·자세히가 다 보이게 */
html body #unit-side[data-compact=true]:not([data-sheet=true]){gap:5px!important}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-head{grid-template-columns:56px minmax(0,1fr);grid-template-rows:56px;column-gap:8px;background:none}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-head>img{grid-column:1;width:56px!important;height:56px!important;align-self:center;background:url('assets/ui-unit-panel/header_landscape.webp') center/cover;border-radius:10px;box-shadow:inset 0 0 0 2px #d9ae55}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-title{grid-column:2;grid-row:1;padding:0 40px 0 0;align-content:center}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-team{left:auto;right:auto;top:auto;bottom:-2px;left:4px;height:18px;line-height:18px;font-size:11px;padding:0 6px}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-gear-label{display:none}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-stats{gap:3px 14px}
html body #unit-side[data-sheet=true] .us-team{right:16px;bottom:11px;z-index:2}
html body #unit-side[data-sheet=true] .us-hp{row-gap:1px}
html body #unit-side[data-sheet=true] .us-hp em,html body #unit-side[data-sheet=true] .us-hp b{line-height:14px}
html body #unit-side[data-sheet=true] .us-stat em,html body #unit-side[data-sheet=true] .us-stat b{line-height:15px}
html body #unit-side[data-sheet=true]{row-gap:2px;padding:6px 8px 4px!important}
html body #unit-side[data-sheet=true] .us-gear{align-content:start;align-self:start!important;margin:0!important;padding-top:24px}
html body #unit-side[data-sheet=true] .us-gear-label{margin-top:0}
/* 결정 231 ①(위임): 모바일 펼침 상태 대기석도 217 띠·받침으로 통일(남색 칸 걷기). 접힘과 같은 받침 그림 */
@media(max-width:1100px) and (orientation:landscape){
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #dock-bench-row,html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench{background:none!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #dock-bench-row #bench{position:absolute!important;overflow:visible!important;left:0!important;right:124px!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot{background:url('assets/ui-prep-hud/bench-pad-1.webp') center 70%/100% auto no-repeat!important;border:0!important;box-shadow:none!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="1"]{background-image:url('assets/ui-prep-hud/bench-pad-2.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="2"]{background-image:url('assets/ui-prep-hud/bench-pad-3.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="3"]{background-image:url('assets/ui-prep-hud/bench-pad-4.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="4"]{background-image:url('assets/ui-prep-hud/bench-pad-5.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="5"]{background-image:url('assets/ui-prep-hud/bench-pad-6.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="6"]{background-image:url('assets/ui-prep-hud/bench-pad-7.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="7"]{background-image:url('assets/ui-prep-hud/bench-pad-8.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot[data-bench="8"]{background-image:url('assets/ui-prep-hud/bench-pad-9.webp')!important}
 html body.playing.mobile-ui.cv-fold-on:not(.cv-shop-fold) #bench .bench-slot .bench-num{color:#fff2cc!important;text-shadow:none!important}
}
/* 결정 231 ②(GPT 34 승인): 소모품 아이콘 그림(05 assets/consumables). 그림이 없으면 글자 자리표시로. 복제기 1~4는 칸 오른쪽 아래 15px 원 배지(은회·연두·하늘·보라 + 숫자) */
.cv-pouch-icon:has(img){background:none!important;border:0!important;width:38px;height:38px}
.cv-pouch-icon img{width:100%;height:100%;object-fit:contain;display:block}
.cv-pouch-icon:has(img)>span{display:none}
.cv-pouch-slot{position:relative}
.cv-copy-badge{position:absolute;right:2px;bottom:2px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;font:800 11px/1 'PT Read',sans-serif;font-style:normal;color:#253e35;border:1px solid #fff8e2;box-shadow:0 1px 2px #0006;pointer-events:none}
.cv-copy-badge[data-tier="1"]{background:#c0c6cc}.cv-copy-badge[data-tier="2"]{background:#9fd86a}.cv-copy-badge[data-tier="3"]{background:#79c3f0}.cv-copy-badge[data-tier="4"]{background:#b48ae0}
.cv-pouch-icon{position:relative}
/* 결정 233 A: 날씨 화면 전체 오버레이(console-v51.js WeatherFX). 상점·가방·대기석·HUD 위, 툴팁(1300)·창 아래. 누름은 모두 통과. */
#cv-weather-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1200}#cv-weather-fx[hidden]{display:none}
/* 결정 233 B: ⑤ HUD 날씨 태그(13px·날씨 색 테두리·누르면 보정 툴팁) ④ 전투 시작 날씨 띠(console-v51.js WeatherUI). */
body.playing #weather-tag[data-weather]{font-size:13px;line-height:1.3;display:inline-block;margin-top:2px;padding:1px 6px;border:1.5px solid var(--wx);border-radius:8px;background:#0b1a2499;color:#f4fbff;cursor:help;position:relative;pointer-events:auto}
#cv-weather-tip{position:fixed;z-index:1310;pointer-events:none;white-space:pre-line;width:max-content;max-width:260px;font-size:12px;line-height:1.45;padding:6px 8px;border-radius:8px;border:1.5px solid var(--wx);background:#0b1a24f2;color:#f4fbff}#cv-weather-tip[hidden]{display:none}
#cv-weather-band{position:fixed;left:50%;top:22%;transform:translate(-50%,0);z-index:1250;pointer-events:none;display:flex;align-items:center;gap:10px;padding:8px 22px;border-radius:999px;border:2px solid var(--wx);background:#0b1a24d9;color:#f6fbff;font-size:20px;font-weight:700;white-space:nowrap}#cv-weather-band[hidden]{display:none}#cv-weather-band b{font-size:24px}
@media (max-height:500px){#cv-weather-band{font-size:15px;padding:5px 14px;top:18%}#cv-weather-band b{font-size:18px}}
body.playing #weather-tag[data-weather]{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* 결정 233 C·239: UI 가장자리 날씨 — GPT 36 질감 4종(9-slice 32, 가운데 비움)을 고정 층 #cv-wx-edges의 상자로 대상 창 바깥 6px에 겹친다(console-v51.js WeatherEdges). 대상 창의 border·::before/::after는 그대로. */
/* 예전 outline 자리표시는 지웠다. 층은 날씨 화면 오버레이(1200) 바로 아래, 눌림 통과·정적. */
#cv-wx-edges{position:fixed;inset:0;pointer-events:none;z-index:1199;overflow:hidden}#cv-wx-edges[hidden],#cv-wx-edges .cv-wx-edge[hidden]{display:none}#cv-wx-edges .cv-wx-edge{position:fixed;box-sizing:border-box;border-style:solid;border-color:transparent;border-width:0}
/* 모바일 상단 바 날씨 칩(위치 카드가 숨는 모바일용). 누르면 #cv-weather-tip. */
#mobile-hud #cv-weather-chip{width:44px;min-width:44px;padding:0;font-size:22px;border:2px solid var(--wx);background:#0b1a24e6}#mobile-hud #cv-weather-chip[hidden]{display:none}#mobile-hud #cv-weather-chip[data-open]{background:#18334a}
/* 결정 244(+31·33): hero 3택 카드(console-v51.js PickCards). 33 spec/strategy.md 좌표를 --s 배율로. PC 420×552, 높이 500 이하는 모바일 250×246. */
.pk-row{--s:1;display:flex;justify-content:center;align-items:flex-start;gap:calc(var(--s)*var(--gap));margin:0 auto;padding:calc(var(--s)*20px) 0 calc(var(--s)*8px)}
:is(.pk-row,.pk-host)[data-size=pc]{--cw:420px;--ch:552px;--gap:64px;--lift:-14px}
:is(.pk-row,.pk-host)[data-size=m]{--cw:250px;--ch:246px;--gap:18px;--lift:-4px}
.pk-card{position:relative;flex:none;width:calc(var(--s)*var(--cw));height:calc(var(--s)*var(--ch));transition:transform .16s ease-out,opacity .2s,filter .2s;animation:pk-in .28s cubic-bezier(.2,.7,.3,1) backwards;animation-delay:calc(80ms + var(--i,0)*70ms)}
.pk-card>*{position:absolute;box-sizing:border-box;margin:0;left:calc(var(--s)*var(--x));top:calc(var(--s)*var(--y));width:calc(var(--s)*var(--w));height:calc(var(--s)*var(--h))}
.pk-glow{z-index:0;border-style:solid;opacity:.16;animation:pk-pulse 1.6s ease-in-out infinite alternate}
.pk-frame{z-index:1;border-style:solid}
.pk-plate{z-index:2;background:var(--pk-plate) center/100% 100% no-repeat}
.pk-disc{z-index:3;background:var(--pk-disc) center/100% 100% no-repeat}
.pk-icon{z-index:4;display:grid;place-items:center}
.pk-icon .type-symbol{width:100%!important;height:100%!important;display:grid;place-items:center;background:none!important;box-shadow:none!important;border:0!important;padding:0!important}
.pk-icon img{width:100%;height:100%;object-fit:contain}
.pk-icon>b{font:400 calc(var(--s)*64px)/1 var(--font-title),sans-serif;color:#6b3f12;text-shadow:0 1px #fff3d2}
.pk-nameplate{z-index:5;background:var(--pk-name) center/100% 100% no-repeat}
.pk-name{z-index:6;display:block;text-align:center;white-space:nowrap;overflow:hidden;font-family:var(--font-title),sans-serif;font-weight:400;color:#fff0cc;text-shadow:0 2px #3a230f}
.pk-key{z-index:6;display:grid;place-items:center;border-radius:999px;background:#2a1a0ccc;border:1px solid #e8c97c;color:#ffe9b8;font-weight:800;font-family:'PT Read',sans-serif}
.pk-desc{z-index:6;text-align:center;color:#584735;font-family:'PT Read',sans-serif;word-break:keep-all;overflow:hidden}
.pk-btn{z-index:7;display:flex;align-items:center;justify-content:center;border-style:solid;border-color:transparent;background:none!important;box-shadow:none!important;min-height:0!important;cursor:pointer;color:#4b300a!important;text-shadow:0 1px #ffe9a8;outline:none!important;font-family:var(--font-title),sans-serif;font-weight:400;white-space:nowrap;border-image:url('assets/ui-buttons/select-idle.webp') 44 84 40 166 fill/var(--bw)}
.pk-btn:hover:not(:disabled),.pk-btn:focus-visible{border-image-source:url('assets/ui-buttons/select-hover.webp');outline:none}
.pk-btn:active:not(:disabled){border-image-source:url('assets/ui-buttons/select-pressed.webp')}
.pk-btn:disabled{border-image-source:url('assets/ui-buttons/select-disabled.webp');cursor:default;color:#5b5348!important}
/* PC 좌표(카드 기준). */
:is(.pk-row,.pk-host)[data-size=pc] .pk-glow{--x:-33px;--y:-39px;--w:486px;--h:630px;border-image:var(--pk-glow) 168 144 160 144 fill/calc(var(--s)*138px) calc(var(--s)*118px) calc(var(--s)*131px) calc(var(--s)*118px)}
:is(.pk-row,.pk-host)[data-size=pc] .pk-frame{--x:0px;--y:0px;--w:420px;--h:552px;border-image:var(--pk-frame) 120 104 112 104 fill/calc(var(--s)*98px) calc(var(--s)*85px) calc(var(--s)*92px) calc(var(--s)*85px)}
:is(.pk-row,.pk-host)[data-size=pc] .pk-plate{--x:40px;--y:38px;--w:340px;--h:272px}
:is(.pk-row,.pk-host)[data-size=pc] .pk-disc{--x:118px;--y:80px;--w:184px;--h:184px}
:is(.pk-row,.pk-host)[data-size=pc] .pk-icon{--x:146px;--y:108px;--w:128px;--h:128px}
:is(.pk-row,.pk-host)[data-size=pc] .pk-key{--x:170px;--y:22px;--w:80px;--h:30px;font-size:calc(var(--s)*17px)}
:is(.pk-row,.pk-host)[data-size=pc] .pk-nameplate{--x:26px;--y:287px;--w:368px;--h:74px}
:is(.pk-row,.pk-host)[data-size=pc] .pk-name{--x:66px;--y:287px;--w:288px;--h:74px;line-height:calc(var(--s)*74px);font-size:calc(var(--s)*35px)}
:is(.pk-row,.pk-host)[data-size=pc] .pk-desc{--x:50px;--y:378px;--w:320px;--h:72px;font-size:calc(var(--s)*21px);line-height:1.45}
:is(.pk-row,.pk-host)[data-size=pc] .pk-btn{--x:30px;--y:456px;--w:360px;--h:80px;--bw:calc(var(--s)*22px) calc(var(--s)*42px) calc(var(--s)*20px) calc(var(--s)*83px);padding:0 0 0 calc(var(--s)*36px)!important;font-size:calc(var(--s)*25px)}
/* 모바일 좌표. */
:is(.pk-row,.pk-host)[data-size=m] .pk-glow{--x:-20px;--y:-24px;--w:290px;--h:294px;border-image:var(--pk-glow) 168 144 160 144 fill/calc(var(--s)*84px) calc(var(--s)*72px) calc(var(--s)*80px) calc(var(--s)*72px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-frame{--x:0px;--y:0px;--w:250px;--h:246px;border-image:var(--pk-frame) 120 104 112 104 fill/calc(var(--s)*60px) calc(var(--s)*52px) calc(var(--s)*56px) calc(var(--s)*52px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-plate{--x:31px;--y:14px;--w:188px;--h:150px}
:is(.pk-row,.pk-host)[data-size=m] .pk-disc{--x:83px;--y:37px;--w:84px;--h:84px}
:is(.pk-row,.pk-host)[data-size=m] .pk-icon{--x:97px;--y:51px;--w:56px;--h:56px}
:is(.pk-row,.pk-host)[data-size=m] .pk-key{--x:103px;--y:4px;--w:44px;--h:18px;font-size:calc(var(--s)*11px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-nameplate{--x:13px;--y:112px;--w:224px;--h:48px}
:is(.pk-row,.pk-host)[data-size=m] .pk-name{--x:37px;--y:112px;--w:176px;--h:48px;line-height:calc(var(--s)*48px);font-size:calc(var(--s)*20px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-desc{--x:20px;--y:160px;--w:210px;--h:30px;font-size:calc(var(--s)*12px);line-height:1.3}
:is(.pk-row,.pk-host)[data-size=m] .pk-icon>b{font-size:calc(var(--s)*32px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-btn{--x:14px;--y:190px;--w:222px;--h:48px;--bw:calc(var(--s)*13px) calc(var(--s)*25px) calc(var(--s)*12px) calc(var(--s)*50px);padding:0 0 0 calc(var(--s)*22px)!important;font-size:calc(var(--s)*15px)}
/* 선택·흐림·등장. */
.pk-card.pk-picked{transform:translateY(calc(var(--s)*var(--lift)))}
.pk-card.pk-picked .pk-glow{opacity:.92;animation:none}
.pk-card.cv-route-dim{filter:saturate(.35);opacity:.45}
.pk-card.cv-route-flip{animation:cv-route-flip .36s ease-in-out}
@keyframes pk-in{from{opacity:0;transform:perspective(900px) rotateY(80deg) translateY(12px)}to{opacity:1;transform:none}}
@keyframes pk-pulse{from{opacity:.10}to{opacity:.24}}
@keyframes pk-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.pk-card{animation:pk-fade .1s backwards}.pk-glow{animation:none}.pk-card.cv-route-flip{animation:none}}
/* 갈림길 판: 남색 제목 판·머리말·설명 문단을 걷고 제목 한 줄(주아)만. 뒤 화면은 흐림 + #0E1811 67%. */
#strategy-overlay.pk-on{background:#0e1811ab!important;backdrop-filter:blur(7px)}
#strategy-overlay.pk-on .strategy-panel{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;width:auto!important;max-width:none!important;max-height:none!important;padding:0!important;overflow:visible!important}
#strategy-overlay.pk-on .strategy-panel::before,#strategy-overlay.pk-on .strategy-panel::after{display:none!important}
#strategy-overlay.pk-on .strategy-panel>header{background:none!important;border:0!important;padding:0!important;text-align:center;box-shadow:none!important}
#strategy-overlay.pk-on .strategy-panel>header small{display:none}
#strategy-overlay.pk-on #strategy-title{margin:0;font:400 52px/1.2 var(--font-title),sans-serif;color:#fff1cd;text-shadow:0 3px #1a1208}
@media (max-height:500px){#strategy-overlay.pk-on{backdrop-filter:blur(3px)}#strategy-overlay.pk-on #strategy-title{font-size:26px;text-align:left;padding-left:4px}}
@media (max-height:780px) and (min-height:501px){#strategy-overlay.pk-on #strategy-title{font-size:40px}}
/* 프런티어 증강: 같은 카드. 옛 fa-grid 대신 pk-row. */
#frontier-augment .pk-row{width:100%}
/* 결정 245: 상점 추천 카드는 안쪽 얇은 민트 선 대신 바깥 테두리 자체를 민트로(두께 유지) + 은은한 바깥 빛. PC·모바일 접힘/펼침 공통(여러 상점 테두리 규칙보다 높은 우선순위). */
html body.playing #shop-cards .shop-card.shop-recommended.shop-recommended.shop-recommended.shop-recommended{border-color:#70ffe0!important;box-shadow:0 0 0 1px #70ffe0b3,0 0 10px 1px #70ffe066!important}
/* QA 198행(결정 245 회귀): 바깥 민트 테두리가 희귀도 색을 덮어 추천 카드의 희귀도 구분이 사라졌다 → 안쪽 선을 희귀도 색(--tier) 2px로 되살린다(바깥 민트·빛은 그대로) */
html body.playing #shop-cards .shop-card.shop-recommended.shop-recommended.shop-recommended.shop-recommended::after{display:block!important;inset:3px;border:2px solid var(--tier,#d9ae55)!important;border-radius:5px}
/* 결정 246 1단계: 보상 카드(#work-rewards)도 hero 카드 가족. 상자·아이템 연출(canvas, z 4)은 그대로, 카드 DOM에 틀·받침·원판·이름 띠. */
#work-rewards.pk-host article.pk-card{background-image:none!important;animation:none!important;transition:none;overflow:visible}
#work-rewards.pk-host article.pk-card>*{position:absolute!important;left:calc(var(--s)*var(--x))!important;top:calc(var(--s)*var(--y))!important;width:calc(var(--s)*var(--w))!important;height:calc(var(--s)*var(--h))!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important}
#work-rewards.pk-host article.pk-card>b.pk-name{display:block!important;padding:0!important;text-align:center;white-space:nowrap!important;overflow:hidden;text-overflow:clip;font-family:var(--font-title),sans-serif!important;font-weight:400!important;color:#fff0cc!important;text-shadow:0 2px #3a230f}
#work-rewards.pk-host article.pk-card>p.pk-desc{display:block!important;padding:0!important;text-align:center;white-space:normal!important;text-overflow:clip!important;overflow:hidden;color:#584735!important;font-family:'PT Read',sans-serif!important;word-break:keep-all}
#work-rewards.pk-host article.pk-card>button.pk-btn{background:none!important;min-height:0!important;color:#4b300a!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important}
#work-rewards.pk-host article.pk-card>small.pk-done{display:flex!important;align-items:center;justify-content:center;font-family:var(--font-title),sans-serif;color:#7a4b12!important}
#work-rewards.pk-host[data-size=pc] article.pk-card>b.pk-name{line-height:calc(var(--s)*74px)!important;font-size:calc(var(--s)*35px)!important}
#work-rewards.pk-host[data-size=pc] article.pk-card>p.pk-desc{font-size:calc(var(--s)*21px)!important;line-height:1.45!important}
#work-rewards.pk-host[data-size=pc] article.pk-card>button.pk-btn{font-size:calc(var(--s)*25px)!important}
#work-rewards.pk-host[data-size=m] article.pk-card>b.pk-name{line-height:calc(var(--s)*48px)!important;font-size:calc(var(--s)*20px)!important}
#work-rewards.pk-host[data-size=m] article.pk-card>p.pk-desc{font-size:calc(var(--s)*12px)!important;line-height:1.3!important}
#work-rewards.pk-host[data-size=m] article.pk-card>button.pk-btn{font-size:calc(var(--s)*15px)!important}
:is(.pk-row,.pk-host)[data-size=pc] .pk-done{--x:30px;--y:456px;--w:360px;--h:80px;font-size:calc(var(--s)*22px)}
:is(.pk-row,.pk-host)[data-size=m] .pk-done{--x:14px;--y:190px;--w:222px;--h:48px;font-size:calc(var(--s)*14px)}
#work-rewards:not(.pk-host) :is(.pk-glow,.pk-frame,.pk-plate,.pk-disc,.pk-nameplate){display:none}
#work-rewards.pk-host article.pk-card>button.pk-btn{border-style:solid!important;border-color:transparent!important;border-image:url('assets/ui-buttons/select-idle.webp') 44 84 40 166 fill/var(--bw)!important;display:flex!important;align-items:center;justify-content:center;box-shadow:none!important}
#work-rewards.pk-host article.pk-card>button.pk-btn:hover:not(:disabled),#work-rewards.pk-host article.pk-card>button.pk-btn:focus-visible{border-image-source:url('assets/ui-buttons/select-hover.webp')!important}
#work-rewards.pk-host article.pk-card>button.pk-btn:active:not(:disabled){border-image-source:url('assets/ui-buttons/select-pressed.webp')!important}
#work-rewards.pk-host article.pk-card>button.pk-btn:disabled{border-image-source:url('assets/ui-buttons/select-disabled.webp')!important;color:#5b5348!important}
#work-rewards.pk-host[data-size=pc] article.pk-card>button.pk-btn{padding:0 0 0 calc(var(--s)*36px)!important}#work-rewards.pk-host[data-size=m] article.pk-card>button.pk-btn{padding:0 0 0 calc(var(--s)*22px)!important}
/* 결정 246 2단계: 이벤트 확인 창(#encounter-event) = 214 크림 양피지 판(ui-unit-panel/card_ally 9-slice) + 33 이름 띠 제목 + 30/33 버튼(진행 select·보조 월넛). 레이아웃은 기존(v083) 그대로, 겉모양만. */
html body #encounter-event{background:#0e1811ab!important;backdrop-filter:blur(6px)}
html body #encounter-event .event-scene{background:none!important;border-style:solid!important;border-width:24px!important;border-color:transparent!important;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/24px stretch!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 10px 24px #000a);color:#584735!important}
html body #encounter-event .event-scene::before,html body #encounter-event .event-scene::after{display:none!important}
html body #encounter-event .event-scene header small{color:#8a6a3a!important;letter-spacing:.18em}
html body #encounter-event .event-scene h2{display:inline-block;min-width:min(420px,70%);margin:4px auto 6px!important;padding:10px 64px 12px!important;background:url('assets/ui-pick-cards/hero-nameplate.webp') center/100% 100% no-repeat!important;color:#fff0cc!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;text-shadow:0 2px #3a230f!important;border:0!important;box-shadow:none!important}
html body #encounter-event .event-scene header p{color:#584735!important;text-shadow:none!important}
html body #encounter-event .event-scene>button.event-gold-button,html body #encounter-event .event-scene article.event-choice>button{background:none!important;border-style:solid!important;border-color:transparent!important;border-width:0 0 0 0;border-image:url('assets/ui-buttons/select-idle.webp') 44 84 40 166 fill/18px 34px 16px 66px!important;box-shadow:none!important;min-height:48px!important;padding:0 18px 0 46px!important;color:#4b300a!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;text-shadow:0 1px #ffe9a8}
html body #encounter-event .event-scene>button.event-gold-button:hover,html body #encounter-event .event-scene article.event-choice>button:hover:not(:disabled){border-image-source:url('assets/ui-buttons/select-hover.webp')!important}
html body #encounter-event .event-scene>button.event-gold-button:active,html body #encounter-event .event-scene article.event-choice>button:active:not(:disabled){border-image-source:url('assets/ui-buttons/select-pressed.webp')!important}
html body #encounter-event .event-scene article.event-choice>button:disabled{border-image-source:url('assets/ui-buttons/select-disabled.webp')!important;color:#5b5348!important}
html body #encounter-event .event-scene>button:not(.event-gold-button){background:url('assets/ui-buttons/secondary-pc-normal.webp') center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;min-height:44px!important;color:#fff3d6!important;font-weight:700!important;text-shadow:0 1px #2b1708}
html body #encounter-event .event-scene>button:not(.event-gold-button):active{background-image:url('assets/ui-buttons/secondary-pc-pressed.webp')!important}
html body #encounter-event .event-scene article.event-choice{background:none!important;border-style:solid!important;border-width:14px!important;border-color:transparent!important;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/14px stretch!important;box-shadow:none!important;color:#584735!important}
html body #encounter-event .event-scene article.event-choice h3{color:#3d2a14!important}
html body #encounter-event .event-scene article.event-choice p{color:#584735!important}
html body #encounter-event .ev-reward{position:relative;width:96px;height:96px;margin:2px auto 8px;display:grid;place-items:center}
html body #encounter-event .ev-reward>i{position:absolute;inset:0;background:url('assets/ui-pick-cards/hero-icon-disc-t2.webp') center/100% 100% no-repeat}
html body #encounter-event .ev-reward>img{position:relative;width:58%;height:58%;object-fit:contain}
@media (max-height:500px){html body #encounter-event .event-scene h2{padding:6px 48px 8px!important}html body #encounter-event .ev-reward{width:64px;height:64px;margin:0 auto 4px}html body #encounter-event .event-scene>button:not(.event-gold-button){background-image:url('assets/ui-buttons/secondary-mobile-normal.webp')!important}}
/* 로켓단 매복: 연출(어두운 배경·교란·실루엣)은 그대로, 간부 정보 칸만 33 진홍 hero 틀 + 진홍 이름 띠. */
#rocket-ambush .rocket-intel{border-style:solid;border-color:transparent;border-width:0;border-image:url('assets/ui-pick-cards/hero-card-frame-t2-combat.webp') 120 104 112 104 fill/59px 52px 56px 52px;padding:44px 52px 44px!important;background:none!important;box-shadow:none!important}
#rocket-ambush .rocket-intel small{color:#9b2c34!important;text-shadow:none!important}
#rocket-ambush .rocket-intel h2{display:inline-block;padding:6px 56px 10px!important;background:url('assets/ui-pick-cards/hero-nameplate-combat.webp') center/100% 100% no-repeat!important;color:#fff0cc!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;text-shadow:0 2px #3a0f12!important}
#rocket-ambush .rocket-intel p{color:#3d2a14!important;text-shadow:none!important}
#rocket-ambush .rocket-intel b{color:#6b4a2a!important;text-shadow:none!important}
@media (max-height:500px){#rocket-ambush .rocket-intel{border-image-width:36px 32px 34px 32px;padding:26px 30px!important}#rocket-ambush .rocket-intel h2{padding:4px 40px 6px!important}}
html body #encounter-event .event-scene header small,#rocket-ambush .rocket-intel small{display:block!important}
html body #encounter-event .event-scene>button.event-gold-button{min-width:min(320px,80%)!important;min-height:64px!important;font-size:22px!important;outline:none!important}
html body #encounter-event .event-scene>button:not(.event-gold-button){min-width:min(240px,70%)!important;outline-offset:2px}
html body #encounter-event .event-scene article.event-choice>button{min-width:150px!important;outline:none!important}
#rocket-ambush .rocket-intel h2{font-size:clamp(28px,3.4vw,44px)!important;line-height:1.2!important;margin:4px 0 8px!important}
@media (max-height:500px){html body #encounter-event .event-scene>button.event-gold-button{min-height:48px!important;font-size:17px!important;min-width:min(240px,80%)!important}#rocket-ambush .rocket-intel h2{font-size:24px!important}}
html body #encounter-event .event-scene article.event-choice p{background:#efe2bf!important;color:#5a4128!important;border:1px solid #d9c08a!important;box-shadow:none!important}
@media (max-height:500px){html body #encounter-event .event-scene{border-width:14px!important;border-image-width:14px!important;padding-top:4px!important}html body #encounter-event .event-scene header small{display:none!important}html body #encounter-event .event-scene h2{margin:0 auto 2px!important;padding:4px 44px 6px!important;font-size:20px!important;line-height:1.25!important}html body #encounter-event .event-scene header p{margin:2px 0!important}html body #encounter-event .event-scene article.event-choice{border-width:10px!important;border-image-width:10px!important}}
@media (max-height:500px){html body #encounter-event .event-scene h2{height:auto!important;max-height:none!important;overflow:visible!important;white-space:nowrap}html body #encounter-event .event-scene header{overflow:visible!important;height:auto!important}html body #encounter-event .event-scene article.event-choice>button{font-size:14px!important;padding-left:40px!important}}
@media (max-height:500px){html body #encounter-event .event-scene{border-width:10px!important;border-image-width:10px!important}html body #encounter-event .event-scene h2{padding:9px 46px 8px!important;font-size:18px!important;line-height:1.2!important}}
/* 결정 246 3단계: 남은 남색 구식 창 = 2단계 이벤트 판 규칙(214 크림 양피지 9-slice + 33 이름 띠 + select/secondary 버튼). 표시만 바꾸고 동작(205 결과 흐름·247 최소 2초·자동 진행)은 그대로. */
/* ① 전투 결과창: 판 위에 떠 있던 글자를 크림 판 안으로. 승리 제목(금빛 양각·충격 애니메이션)은 그대로, 패배 제목만 판 위에서 읽히게 진한 남회색. */
/* 사용자 지시(246 3단계 캡처 확인): 결과창 판만 반투명 — 판은 ::after(PC 60%·모바일 72%, 2차 지시 '좀 더 투명해도 됨')로 따로 그려 뒤 전투판이 비치고, 글자·버튼은 불투명. ::before는 result-motion 충격 효과가 쓴다. */
html body #combat-result#combat-result:not(.hidden){background:none!important;border-style:solid!important;border-width:22px!important;border-color:transparent!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;color:#584735!important;text-shadow:none!important}
html body #combat-result#combat-result:not(.hidden)::after{content:'';position:absolute;z-index:-1;pointer-events:none;inset:-22px;border:22px solid transparent;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/22px stretch;opacity:.6;filter:drop-shadow(0 10px 24px #0008)}
html body #combat-result::before{opacity:.35}
html body #combat-result .result-sparkles{color:#c8952e!important;text-shadow:none!important}
html body #combat-result #result-overline{color:#8a6a3a!important;text-shadow:none!important}
html body #combat-result.lose #result-title{color:#4a5a72!important;text-shadow:0 2px 0 #fff6dc,0 4px 10px #3a2a1433!important}
html body #combat-result #result-life{color:#8a2a20!important;text-shadow:none!important}
html body #combat-result #result-life strong{color:#b0302a!important;text-shadow:none!important}
html body #combat-result #result-life small{color:#6b5a45!important}
html body #combat-result #result-life b{color:#3d2a14!important}
html body #combat-result#combat-result #result-description,html body.playing #combat-result.has-judgment#combat-result #result-description{background:#efe2bf!important;border:1px solid #d9c08a!important;border-radius:6px!important;box-shadow:none!important;color:#5a4128!important;text-shadow:none!important}
html body #combat-result#combat-result #result-description *{color:#5a4128!important;text-shadow:none!important}
html body #combat-result#combat-result #result-description strong{color:#3d2a14!important}
html body #combat-result#combat-result #result-why{color:#8a4f0c!important;font-weight:700;text-shadow:none!important}
html body #combat-result#combat-result #result-auto-status{color:#6b5a45!important;text-shadow:none!important}
html body #combat-result #result-rewards>span{background:#efe2bf!important;border:1px solid #d9c08a!important;box-shadow:none!important;color:#7a5a10!important;text-shadow:none!important}
html body #combat-result #result-rewards>span.xp-reward{color:#1f5f7a!important;border-color:#9cc3cf!important}
html body #combat-result #result-continue{background:none!important;border-style:solid!important;border-color:transparent!important;border-image:url('assets/ui-buttons/select-idle.webp') 44 84 40 166 fill/18px 34px 16px 66px!important;box-shadow:none!important;min-height:48px!important;padding:0 18px 0 46px!important;color:#4b300a!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;text-shadow:0 1px #ffe9a8!important;border-radius:0!important}
html body #combat-result #result-continue:hover{border-image-source:url('assets/ui-buttons/select-hover.webp')!important}
html body #combat-result #result-continue:active{border-image-source:url('assets/ui-buttons/select-pressed.webp')!important}
@media (max-height:500px){html body #combat-result#combat-result:not(.hidden){border-width:12px!important}html body #combat-result#combat-result:not(.hidden)::after{inset:-12px;border-width:12px;border-image-width:12px;opacity:.72}html body #combat-result#combat-result #result-auto-status{background:#efe2bfe6;border-radius:6px;padding:2px 8px;width:fit-content;margin-inline:auto!important} /* 모바일: 뒤 대기석 숫자와 겹치는 줄은 판 대신 글자 쪽에 양피지 바탕 */html body #combat-result #result-continue{min-height:44px!important}}
/* 결정 293 ①: 패배창만 판을 불투명하게 — 반투명 판 뒤로 전투판 유닛 그림·HP바·별이 '패배' 제목과 겹쳐 보였다(사용자 19차 캡처). 승리창·구성·색·문구는 그대로 */
html body #combat-result#combat-result.lose:not(.hidden)::after{opacity:1}
/* ② 스토리 대화: 크림 판 + 이름 띠(트레이너 이름) + 진한 갈색 대사 */
html body #story-dialogue{background:#0e1811ab!important;backdrop-filter:blur(4px)}
html body #story-dialogue .story-stage{background:none!important;border-style:solid!important;border-width:24px!important;border-color:transparent!important;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/24px stretch!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 10px 24px #000a);color:#584735!important;padding:8px 14px!important}
html body #story-dialogue .story-stage::before,html body #story-dialogue .story-stage::after{display:none!important}
html body #story-dialogue .story-portrait{background:url('assets/ui-pick-cards/hero-icon-disc-t2.webp') center 62%/112% auto no-repeat!important;border:0!important;box-shadow:none!important}
html body #story-dialogue .story-copy small{color:#8a6a3a!important;text-shadow:none!important;letter-spacing:.12em}
html body #story-dialogue .story-copy strong{display:inline-block;padding:7px 48px 9px!important;margin:2px 0 6px -10px;background:url('assets/ui-pick-cards/hero-nameplate.webp') center/100% 100% no-repeat!important;color:#fff0cc!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;font-size:24px!important;text-shadow:0 2px #3a230f!important}
html body #story-dialogue .story-copy p{color:#3d2a14!important;text-shadow:none!important}
@media (max-height:500px){html body #story-dialogue .story-stage{border-width:12px!important;border-image-width:12px!important}html body #story-dialogue .story-copy strong{font-size:18px!important;padding:5px 36px 7px!important}}
/* ③ 메가 패널: 크림 판 + 이름 띠 제목 + 닫기 그림. 스톤·대상 칸은 양피지 칸, 버튼은 월넛 secondary. */
html body #mega-panel{background:#0e1811ab!important;backdrop-filter:blur(6px)}
html body #mega-panel .journey-panel{background:none!important;border-style:solid!important;border-width:24px!important;border-color:transparent!important;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/24px stretch!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 10px 24px #000a);color:#584735!important;text-align:center}
html body #mega-panel .journey-panel>small{display:block;color:#8a6a3a!important;letter-spacing:.18em}
html body #mega-panel .journey-panel>h2{display:inline-block;min-width:min(360px,70%);margin:4px auto 8px!important;padding:9px 60px 11px!important;background:url('assets/ui-pick-cards/hero-nameplate.webp') center/100% 100% no-repeat!important;color:#fff0cc!important;font-family:var(--font-title),sans-serif!important;font-weight:400!important;text-shadow:0 2px #3a230f!important}
html body #mega-panel #mega-content{text-align:left;color:#584735!important}
html body #mega-panel #mega-content :is(p,small,span,b){color:#584735!important;text-shadow:none!important}
html body #mega-panel #mega-content h3{color:#3d2a14!important}
html body #mega-panel #mega-content :is(.mega-stones>span,.mega-roster>article){background:#efe2bf!important;border:1px solid #d9c08a!important;box-shadow:none!important}
html body #mega-panel #mega-content button{background:url('assets/ui-buttons/secondary-pc-normal.webp') center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;min-height:40px;color:#fff3d6!important;text-shadow:0 1px #2b1708!important}
html body #mega-panel #mega-content button:active{background-image:url('assets/ui-buttons/secondary-pc-pressed.webp')!important}
html body #mega-panel #mega-content button:disabled{opacity:.55}
html body #mega-panel #mega-content button :is(small,span,b){color:inherit!important}
html body #mega-panel #mega-close{top:10px!important;right:8px!important;width:44px!important;height:44px!important;background:url('assets/ui-unit-panel/close.webp') center/32px 32px no-repeat!important;border:0!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
@media (max-height:500px){html body #mega-panel .journey-panel{border-width:12px!important;border-image-width:12px!important}html body #mega-panel .journey-panel>h2{padding:6px 44px 8px!important;font-size:20px!important;margin:0 auto 4px!important}html body #mega-panel #mega-close{top:2px!important;right:2px!important}html body #mega-panel #mega-content button{background-image:url('assets/ui-buttons/secondary-mobile-normal.webp')!important}}
/* ④ 골드 팝오버: 작은 크림 판, 숫자는 진한 금갈색 */
html body #gold-popover{background:none!important;border-style:solid!important;border-width:16px!important;border-color:transparent!important;border-image:url('assets/ui-unit-panel/card_ally.webp') 24 fill/16px stretch!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 8px 18px #0009);color:#584735!important}
html body #gold-popover header{border-color:#d9c08a!important}
html body #gold-popover header strong{color:#3d2a14!important;font-family:var(--font-title),sans-serif;font-weight:400}
html body #gold-popover [data-gold-close]{color:#6b4a2a!important;text-shadow:none!important}
html body #gold-popover .income-body{color:#584735!important}
html body #gold-popover .income-body :is(span,p){color:#584735!important;text-shadow:none!important}
html body #gold-popover .income-body small{color:#7a6a55!important}
html body #gold-popover .income-current strong{color:#7a5a10!important;text-shadow:none!important}
html body #gold-popover .income-head b{color:#6b5a45!important}
html body #gold-popover .income-row b{color:#7a5208!important;text-shadow:none!important}
html body #gold-popover .income-total{border-color:#c8a868!important}
html body #gold-popover .income-total b{color:#8a5a00!important}
/* ⑤ 모바일 희귀 교환소(카드 3장 + 아래 버튼 2개): 판 안 스크롤 없이 한 화면. 카드를 낮추고 아래 버튼 2개를 한 줄로. 터치 44px는 유지. */
@media (max-height:500px){
html body #encounter-event .event-scene:has(.event-choices){overflow:hidden!important}
html body #encounter-event .event-scene:has(.event-choices) header{margin-bottom:4px!important}
html body #encounter-event .event-scene .event-choices{margin-bottom:4px!important}
html body #encounter-event .event-scene article.event-choice{padding:2px 8px!important}
html body #encounter-event .event-scene article.event-choice .poke-img{height:44px!important;width:auto!important}
html body #encounter-event .event-scene article.event-choice h3{margin:2px 0!important}
html body #encounter-event .event-scene article.event-choice p{margin:0 0 4px!important;padding:2px 5px!important}
html body #encounter-event .event-scene:has(.event-choices)>button{display:inline-block!important;width:auto!important;min-width:min(240px,40%)!important;margin:2px 6px!important;vertical-align:middle}
}
/* 결정 246 3단계(사용자 2차): 자동 진행 결과창은 '다음' 버튼을 보이지 않게 — 버튼은 투명하게 결과창 전체를 덮어 아무 곳이나 눌러 넘긴다(키보드 Enter·포커스 유지). 결과창 안 다른 버튼(코치 등)은 위로. */
html body #combat-result.auto-advance #result-continue{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;opacity:0!important;border-image:none!important;z-index:1;cursor:pointer}
html body #combat-result.auto-advance :is(button,a,[tabindex]):not(#result-continue){position:relative;z-index:2}
html body #combat-result.auto-advance:has(#result-continue:focus-visible){outline:3px solid #c8952e;outline-offset:2px}
/* 결정 260 결과 연출 V2(체험 플래그 ?resultv2=1): 창 없이 판 위에 Victory! + 칩 + MVP. 켜지면 결과창 2차는 숨긴다(버튼은 DOM에 남아 넘기기 경로로 쓴다). */
html body.result-v2-on #combat-result{visibility:hidden!important}
#result-v2{position:fixed;inset:0;z-index:60;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.pending-inventory-result #result-v2,body.pending-inventory-result #result-v2 *{pointer-events:none;cursor:auto} /* v0.12.15(06 요청·관리자): 가방이 꽉 차 보상 대기 중이면 결과가 안 넘어가 승리 연출이 남아 판·벤치 포켓몬 선택(바로 장착)과 '보상 대기' 버튼 터치를 가로챘음 → 보상 대기 동안 연출은 보이기만 함. body 클래스는 06 pending-rewards.js가 토글 */
#result-v2 .rv2-stack{position:absolute;left:50%;top:23%;transform:translateX(-50%);display:grid;grid-template-areas:"t" "c" "m" "h";justify-items:center;row-gap:clamp(4px,1vh,10px);pointer-events:none;text-align:center;width:max-content;max-width:94vw}
#result-v2 .rv2-head{grid-area:t;display:flex;flex-direction:column;align-items:center}
#result-v2 .rv2-title{font-family:var(--font-title),'Jua',sans-serif;font-weight:400;font-size:clamp(40px,10.4vh,112px);line-height:1;color:#fff3b0;letter-spacing:.02em;-webkit-text-stroke:2px #5a3010;paint-order:stroke fill;text-shadow:0 3px 0 #e39b2d,0 6px 0 #7a4512,0 10px 18px #0009,0 0 26px #ffd75a88;animation:result-title-impact .66s cubic-bezier(.2,.75,.25,1) both}
#result-v2 .rv2-sub{margin-top:2px;font-family:var(--font-title),'Jua',sans-serif;font-size:clamp(11px,1.9vh,20px);font-weight:400;letter-spacing:.12em;color:#fff;text-shadow:0 1px 3px #000,0 0 8px #000a}
#result-v2 .rv2-chips{grid-area:c;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:min(760px,92vw)}
#result-v2 .rv2-break{flex-basis:100%;height:0}
#result-v2 .rv2-chip{--h:clamp(24px,3.7vh,40px);display:inline-flex;align-items:center;gap:6px;height:var(--h);padding:0 14px 0 6px;border-radius:999px;white-space:nowrap;font-weight:800;font-size:clamp(12px,1.75vh,19px);color:#3d2a0a;background:linear-gradient(#fff6c8,#f3c74c);border:2px solid #fff3b5;box-shadow:0 0 0 2px #9a6416,0 4px 10px #0007;animation:rv2-pop .32s cubic-bezier(.2,.9,.3,1.3) both}
#result-v2 .rv2-chip img{width:calc(var(--h) - 8px);height:calc(var(--h) - 8px);object-fit:contain}
#result-v2 .rv2-chip em{font-style:normal}
#result-v2 .rv2-streak{background:linear-gradient(#ffd3a1,#f08a2c);box-shadow:0 0 0 2px #8a3d0c,0 4px 10px #0007;color:#3b1604;padding-left:12px}
#result-v2 .rv2-xp{background:linear-gradient(#d8f6ff,#6ec9e8);box-shadow:0 0 0 2px #1f5f7a,0 4px 10px #0007;color:#0d3446;padding-left:12px}
#result-v2 .rv2-item{background:linear-gradient(#fbf3dc,#e8d6a6);box-shadow:0 0 0 2px #7a5a2a,0 4px 10px #0007;color:#3d2a14;padding-left:4px}
#result-v2 .rv2-chip:nth-child(2){animation-delay:.31s}#result-v2 .rv2-chip:nth-child(3){animation-delay:.37s}#result-v2 .rv2-chip:nth-child(4){animation-delay:.43s}#result-v2 .rv2-chip:nth-child(n+5){animation-delay:.49s}#result-v2 .rv2-chip:first-child{animation-delay:.25s}
#result-v2 .rv2-mvp{grid-area:m;display:flex;align-items:center;gap:6px;padding:0 22px 0 4px;border-radius:999px 18px 18px 999px;background:linear-gradient(90deg,#3b2108ee,#6b3d0ce6 70%,#4a2a0ae6);border:2px solid #c8952e;color:#fff3c4;box-shadow:0 4px 14px #0008;animation:rv2-slide .4s .55s cubic-bezier(.2,.9,.3,1.2) both}
#result-v2 .rv2-spr{position:relative;width:clamp(86px,15.6vh,178px);aspect-ratio:1;display:grid;place-items:center}
#result-v2 .rv2-spr::before{content:'';position:absolute;inset:8%;border-radius:50%;background:url('assets/ui-pick-cards/hero-icon-disc-t2.webp') center/100% 100% no-repeat;opacity:.9}
#result-v2 .rv2-rays{position:absolute;inset:-28%;border-radius:50%;background:repeating-conic-gradient(#ffe38170 0 8deg,transparent 8deg 22deg);-webkit-mask:radial-gradient(circle,#000 28%,transparent 68%);mask:radial-gradient(circle,#000 28%,transparent 68%);animation:rv2-spin 6s linear infinite}
#result-v2 .rv2-spr canvas{position:relative;width:100%;height:100%;image-rendering:pixelated;filter:drop-shadow(0 3px 2px #000a)}
#result-v2 .rv2-spark{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff6c8;box-shadow:0 0 8px #ffd75a;animation:rv2-twinkle .9s ease-in-out infinite}
#result-v2 .rv2-spark:nth-of-type(2){left:8%;top:12%}#result-v2 .rv2-spark:nth-of-type(3){right:6%;top:4%;animation-delay:.2s}#result-v2 .rv2-spark:nth-of-type(4){left:2%;bottom:22%;animation-delay:.45s}#result-v2 .rv2-spark:nth-of-type(5){right:0;bottom:30%;animation-delay:.6s}#result-v2 .rv2-spark:nth-of-type(6){left:40%;top:-4%;animation-delay:.3s}#result-v2 .rv2-spark:nth-of-type(7){right:30%;bottom:0;animation-delay:.75s}
#result-v2 .rv2-mvp-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
#result-v2 .rv2-mvp-txt>b{font-family:var(--font-title),'Jua',sans-serif;font-weight:400;font-size:clamp(16px,2.8vh,30px);color:#ffd75a;text-shadow:0 2px #5a3010}
#result-v2 .rv2-mvp-txt>small{font-size:clamp(11px,1.6vh,17px);font-weight:700;color:#ffe6b0}
#result-v2 .rv2-hint{grid-area:h;margin:2px 0 0;font-size:12px;color:#fff;background:#0008;padding:3px 10px;border-radius:999px}
@keyframes rv2-pop{0%{opacity:0;transform:translateY(8px) scale(.7)}100%{opacity:1;transform:none}}
@keyframes rv2-slide{0%{opacity:0;transform:translateX(-24px) scale(.9)}100%{opacity:1;transform:none}}
@keyframes rv2-spin{to{transform:rotate(360deg)}}
@keyframes rv2-twinkle{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1.2)}}
@media (max-height:500px){
 #result-v2 .rv2-stack{top:52px;grid-template-areas:"t m" "c c";column-gap:14px;row-gap:4px}
 #result-v2 .rv2-title{font-size:44px;-webkit-text-stroke:1.5px #5a3010}
 #result-v2 .rv2-sub{font-size:11px}
 #result-v2 .rv2-chips{flex-wrap:nowrap;gap:5px}
 #result-v2 .rv2-break,#result-v2 .rv2-hint{display:none}
 #result-v2 .rv2-chip{--h:24px;font-size:12px;padding:0 9px 0 4px}
 #result-v2 .rv2-item{padding:0 3px;gap:0}#result-v2 .rv2-item em{display:none}
 #result-v2 .rv2-spr{width:77px}
 #result-v2 .rv2-mvp{padding-right:14px}
}
@media (prefers-reduced-motion:reduce){#result-v2 .rv2-title,#result-v2 .rv2-chip,#result-v2 .rv2-mvp{animation:rv2-fade .3s both}#result-v2 .rv2-rays,#result-v2 .rv2-spark{animation:none}@keyframes rv2-fade{from{opacity:0}to{opacity:1}}}

/* 결정 264: 지방 보스 소개 영상(배치 A). 가운데 2:3 기둥(1920 720×1080 · 844 260×390, 금 4px+그림자) + 양옆 poster cover·흐림 24px·어둡게 55%·확대 1.00→1.06.
   '아무 곳이나 눌러 주세요': 기둥 아래 가운데, 주아 PC 22px·844 16px, #000a 둥근 바탕·흰 글자·금 1px, 깜빡임. 영상 속 'N세대 OO지방' 글자(세로 40~55%)와 겹치지 않음 */
#boss-intro{position:fixed;inset:0;z-index:10060;background:#05070b;display:grid;place-items:center;overflow:hidden;cursor:default;opacity:1;transition:opacity .25s ease;touch-action:none;user-select:none;-webkit-user-select:none}
#boss-intro.bi-out{opacity:0}
#boss-intro .bi-side{position:absolute;inset:-48px;background:#05070b center/cover no-repeat;filter:blur(24px) brightness(.45);transform:scale(1);animation:bi-zoom 12s linear forwards;pointer-events:none}
@keyframes bi-zoom{from{transform:scale(1)}to{transform:scale(1.06)}}
#boss-intro .bi-pillar{position:relative;height:min(100dvh,150vw);aspect-ratio:2/3;box-sizing:border-box;border:4px solid #d9ae55;box-shadow:0 0 0 1px #2b1a0b,0 18px 60px #000d,0 0 40px #d9ae5533;background:#000;overflow:hidden}
#boss-intro video,#boss-intro .bi-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
#boss-intro .bi-still[hidden],#boss-intro video[hidden],#boss-intro .bi-tap[hidden]{display:none}
#boss-intro .bi-tap{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);padding:6px 14px;border-radius:999px;background:#000a;border:1px solid #d9ae55;color:#fff;font-family:var(--font-title);font-size:22px;line-height:1.25;white-space:nowrap;text-shadow:0 1px 2px #000;animation:bi-blink 1.2s ease-in-out infinite;pointer-events:none}
@keyframes bi-blink{0%,100%{opacity:1}50%{opacity:.35}}
@media (max-height:500px){#boss-intro .bi-tap{bottom:10px;font-size:16px;padding:4px 14px}}
@media (prefers-reduced-motion:reduce){#boss-intro .bi-side{animation:none}#boss-intro .bi-tap{animation:none}#boss-intro{transition:none}}
#boss-intro.bi-calm .bi-side,#boss-intro.bi-calm .bi-tap{animation:none}#boss-intro.bi-calm{transition:none}
#boss-intro.bi-lite .bi-side{animation:none;filter:blur(10px) brightness(.45)} /* 결정 363: 저사양은 전체 화면 흐림 레이어를 매 프레임 다시 그리지 않게 */
#journey-content .bi-replay button{min-width:96px}
/* v0.12.37: 넘김 불가 10초 남은 시간(BossIntro.showWait) — '눌러 주세요'와 같은 자리, 더 작고 흐리게(깜빡임 없음). 누르면 bi-nudge로 한 번 밝아짐 */
#boss-intro .bi-wait{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);padding:5px 12px;border-radius:999px;background:#0009;border:1px solid #d9ae5580;color:#f3e7c8;font-family:var(--font-title);font-size:16px;line-height:1.25;white-space:nowrap;pointer-events:none;opacity:.85}
#boss-intro .bi-wait[hidden]{display:none}
#boss-intro .bi-wait.bi-nudge{animation:bi-nudge .45s ease-out}
@keyframes bi-nudge{0%{opacity:1;border-color:#ffe3a0;box-shadow:0 0 12px #d9ae5599}100%{opacity:.85}}
@media (max-height:500px){#boss-intro .bi-wait{bottom:10px;font-size:13px;padding:3px 10px}}
#boss-intro.bi-calm .bi-wait.bi-nudge{animation:none}

/* 결정 253: 맵 재질별 받침 그림(BENCH_PAD, data-band-pad=img). 숲 받침과 같은 규격·위치(center 70%/100%) */
:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench[data-band-pad=img] .bench-slot,:is(html body.playing:not(.mobile-ui),html body.playing.mobile-ui.cv-shop-fold,html body.playing.mobile-ui.cv-fold-on) #bench[data-band-pad=img] .bench-slot[data-bench]{background:var(--pad-img) center 70%/100% auto no-repeat!important}

/* 결정 229·31 FIX: 배틀 팩토리 목록 카드(가로 화면 .ff-v2, --s = 1920×1080 또는 844×390 기준 배율). 승인 factory 배경 그대로, 남색 판 없음.
   카드 = 크림 그림부 + 양피지 정보부(::before) + list-card-frame 9-slice 52(::after) + 체크 배지. 미선택은 종이·그림·틀만 밝기 83%(글자·타입 선명). 선택은 selected 틀 + 체크 + 위로(PC 대여 −8·교환 −5).
   PC: 대여 6×2(264×338, 간격 20·32), 교환 내 팀 9 / 상대 9(176×300, 간격 16). 844: 대여 가로 띠 1줄(136×228), 교환 가로형 카드 띠 2줄(172×106), 간격 12, 스냅·위치선. 버튼: 확정 confirm-*(청록 보석)·보조 secondary-* */
#frontier-draft.ff-v2{--s:1;gap:calc(14px*var(--s));padding:calc(40px*var(--s)) calc(56px*var(--s)) calc(32px*var(--s));background:linear-gradient(#1a100766,#1a1007a6),url('assets/console-v51/approved/frontier/factory.png') center/cover}
#frontier-draft.ff-v2 header{text-align:center}
#frontier-draft.ff-v2 header h2{font-family:var(--font-title);font-weight:400;font-size:calc(52px*var(--s));line-height:1.1;color:#fff4cf;text-shadow:0 3px 0 #4b300a,0 0 18px #000a}
#frontier-draft.ff-v2 header p{font-family:'PT Read',sans-serif;font-size:calc(22px*var(--s));color:#fff8e6;text-shadow:0 1px 3px #000c;margin-top:calc(6px*var(--s))}
#frontier-draft.ff-v2 .ff-hint{display:none}
#frontier-draft.ff-v2 .ff-grid{flex:0 0 auto;display:grid;justify-content:center;align-content:start;grid-template-columns:repeat(6,calc(264px*var(--s)));grid-template-rows:none;grid-auto-rows:calc(338px*var(--s));gap:calc(32px*var(--s)) calc(20px*var(--s));padding-top:calc(10px*var(--s));overflow:visible}
#frontier-draft.ff-v2 .ff-card{--d:calc(.88*var(--s));isolation:isolate;justify-content:flex-start;gap:0;padding:calc(18px*var(--s)) calc(16px*var(--s)) calc(16px*var(--s));background:none;border:0;box-shadow:none;clip-path:none;color:#4b300a;transition:transform .12s ease;cursor:pointer}
#frontier-draft.ff-v2 .ff-card::before{content:'';position:absolute;inset:calc(12px*var(--d));z-index:-2;border-radius:calc(20px*var(--d));background:url('assets/ui-pick-cards/list-parchment-fill.webp') center bottom/100% 27% no-repeat,linear-gradient(#fff8e6d9 0 73%,#f3e3bd 73%);filter:brightness(.83)}
#frontier-draft.ff-v2 .ff-card::after{content:'';position:absolute;inset:0;z-index:-1;width:auto;height:auto;border-radius:0;background:none;box-sizing:border-box;border:calc(52px*var(--d)) solid transparent;border-image:url('assets/ui-pick-cards/list-card-frame-normal.webp') 52;filter:brightness(.83)}
#frontier-draft.ff-v2 .ff-card .ff-sprite{flex:0 0 calc(200px*var(--s));max-height:none;min-height:0;filter:brightness(.83)}
#frontier-draft.ff-v2 .ff-card .ff-sprite img{height:86%;filter:drop-shadow(0 4px 2px #4b300a55)}
#frontier-draft.ff-v2 .ff-card strong{font-family:var(--font-title);font-weight:400;font-size:calc(28px*var(--s));line-height:1.1;color:#3b2408}
#frontier-draft.ff-v2 .ff-card .ff-meta,#frontier-draft.ff-v2 .ff-card .ff-role{font-family:'PT Read',sans-serif;font-variant-numeric:tabular-nums;font-size:calc(17px*var(--s));color:#5b4126}
#frontier-draft.ff-v2 .ff-card .ff-types{margin-top:calc(4px*var(--s));gap:calc(5px*var(--s));flex-wrap:nowrap}
#frontier-draft.ff-v2 .ff-card .ff-types i{font-family:'PT Read',sans-serif;font-size:calc(17px*var(--s));padding:0 calc(8px*var(--s));border-radius:calc(9px*var(--s));line-height:1.35;font-weight:700}
#frontier-draft.ff-v2 .ff-card .ff-role{display:none}
#frontier-draft.ff-v2 .ff-card .ff-check{position:absolute;top:calc(-10px*var(--s));right:calc(-10px*var(--s));width:calc(48px*var(--s));height:calc(48px*var(--s));background:url('assets/ui-pick-cards/list-selection-check.webp') center/contain no-repeat;display:none;z-index:2}
#frontier-draft.ff-v2 .ff-card.on{transform:translateY(calc(-8px*var(--s)));background:none;box-shadow:none}
#frontier-draft.ff-v2 .ff-card.on::before,#frontier-draft.ff-v2 .ff-card.on::after,#frontier-draft.ff-v2 .ff-card.on .ff-sprite{filter:none}
#frontier-draft.ff-v2 .ff-card.on::after{border-image-source:url('assets/ui-pick-cards/list-card-frame-selected.webp');filter:drop-shadow(0 0 calc(10px*var(--s)) #ffd86699)}
#frontier-draft.ff-v2 .ff-card.on .ff-check{display:block}
#frontier-draft.ff-v2 .ff-card:focus-visible{outline:3px solid #fff4cf;outline-offset:calc(4px*var(--s))}
#frontier-draft.ff-v2 footer{margin-top:auto;gap:calc(26px*var(--s));padding:0 calc(62px*var(--s)) calc(8px*var(--s))}
#frontier-draft.ff-v2 .ff-count{font-family:'PT Read',sans-serif;font-variant-numeric:tabular-nums;font-size:calc(26px*var(--s));color:#fff4cf;text-shadow:0 1px 3px #000c;display:flex;align-items:center;gap:calc(10px*var(--s))}
#frontier-draft.ff-v2 .ff-dir{height:calc(40px*var(--s));width:auto}
#frontier-draft.ff-v2 footer button{min-width:0;white-space:nowrap;padding:0 calc(20px*var(--s));background:none!important;border-style:solid;border-color:transparent;box-shadow:none;font-family:var(--font-title);font-weight:400;color:#fff4cf;text-shadow:0 1px 2px #000a;opacity:1}
#frontier-draft.ff-v2 footer button:not(.primary){width:calc(240px*var(--s));height:calc(56px*var(--s));min-height:0;font-size:calc(24px*var(--s));border-width:0 calc(24px*var(--s));border-image:url('assets/ui-buttons/secondary-pc-normal.webp') 0 24 fill/0 calc(24px*var(--s))}
#frontier-draft.ff-v2 footer button:not(.primary):active{border-image-source:url('assets/ui-buttons/secondary-pc-pressed.webp')}
#frontier-draft.ff-v2 footer button.primary{width:calc(382px*var(--s));height:calc(84px*var(--s));min-height:0;font-size:calc(32px*var(--s));padding:0;white-space:nowrap;border-width:0 calc(48px*var(--s)) 0 calc(112px*var(--s));border-image:url('assets/ui-buttons/confirm-pc-selected.webp') 0 48 0 112 fill/0 calc(48px*var(--s)) 0 calc(112px*var(--s));color:#4b300a;text-shadow:0 1px #ffe9a8}
#frontier-draft.ff-v2 footer button.primary:active{border-image-source:url('assets/ui-buttons/confirm-pc-pressed.webp');color:#fff4cf;text-shadow:0 1px 2px #000a}
#frontier-draft.ff-v2 footer button.primary:disabled{border-image-source:url('assets/ui-buttons/confirm-pc-disabled.webp');color:#d8cdb8;text-shadow:none;cursor:default}
/* 교환 PC: 내 팀 9 / 상대 9, 176×300 */
#frontier-draft.ff-v2.ff-swap{justify-content:flex-start}
#frontier-draft.ff-v2.ff-swap h3{text-align:left;padding-left:calc(48px*var(--s));font-family:var(--font-title);font-weight:400;font-size:calc(28px*var(--s));color:#fff4cf;text-shadow:0 2px 0 #4b300a}
#frontier-draft.ff-v2.ff-swap .ff-grid{grid-template-columns:repeat(9,calc(176px*var(--s)));grid-auto-rows:calc(300px*var(--s));gap:calc(16px*var(--s));height:auto}
#frontier-draft.ff-v2.ff-swap .ff-card{--d:calc(.7*var(--s));padding:calc(12px*var(--s)) calc(10px*var(--s)) calc(12px*var(--s))}
#frontier-draft.ff-v2.ff-swap .ff-card .ff-sprite{flex-basis:calc(150px*var(--s))}
#frontier-draft.ff-v2.ff-swap .ff-card strong{font-size:calc(24px*var(--s))}
#frontier-draft.ff-v2.ff-swap .ff-card .ff-meta,#frontier-draft.ff-v2.ff-swap .ff-card .ff-types i{font-size:calc(15px*var(--s))}
#frontier-draft.ff-v2.ff-swap .ff-card .ff-types{display:flex}
#frontier-draft.ff-v2.ff-swap .ff-card.on{transform:translateY(calc(-5px*var(--s)))}
/* 844(가로, 높이 500 이하): 가로 스크롤 띠 */
#frontier-draft.ff-v2.ff-m{padding:calc(8px*var(--s)) 0 calc(6px*var(--s));gap:calc(4px*var(--s))}
#frontier-draft.ff-v2.ff-m header h2{font-size:calc(26px*var(--s))}
#frontier-draft.ff-v2.ff-m header p{font-size:calc(12px*var(--s));margin-top:calc(2px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-hint{display:block;margin:0;padding:0 calc(16px*var(--s));text-align:right;font-family:'PT Read',sans-serif;font-size:calc(12px*var(--s));color:#fff4cf;text-shadow:0 1px 2px #000c}
#frontier-draft.ff-v2.ff-m h3 .ff-hint{display:inline;float:right;padding:0;font-size:calc(11px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-grid{display:flex;justify-content:flex-start;gap:calc(12px*var(--s));overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding:calc(10px*var(--s)) calc(16px*var(--s)) calc(6px*var(--s));scroll-padding:0 calc(16px*var(--s));scrollbar-width:thin;scrollbar-color:#ffd866 #4b300a66;overscroll-behavior-x:contain}
#frontier-draft.ff-v2.ff-m .ff-card{flex:0 0 calc(136px*var(--s));height:calc(228px*var(--s));scroll-snap-align:start;--d:calc(.5*var(--s));padding:calc(9px*var(--s)) calc(7px*var(--s)) calc(8px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-card .ff-sprite{flex-basis:calc(92px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-card strong{font-size:calc(16px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-card .ff-meta,#frontier-draft.ff-v2.ff-m .ff-card .ff-types i{font-size:calc(11px*var(--s));letter-spacing:-.2px;white-space:nowrap}
#frontier-draft.ff-v2.ff-m .ff-card .ff-types i{padding:0 calc(5px*var(--s));line-height:calc(19px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-card .ff-check{width:calc(28px*var(--s));height:calc(28px*var(--s));top:calc(-4px*var(--s));right:calc(-4px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-card.on{transform:translateY(calc(-5px*var(--s)))}
#frontier-draft.ff-v2.ff-m footer{padding:0 calc(16px*var(--s));gap:calc(16px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-count{font-size:calc(14px*var(--s))}
#frontier-draft.ff-v2.ff-m .ff-dir{height:calc(22px*var(--s))}
#frontier-draft.ff-v2.ff-m footer button:not(.primary){width:calc(126px*var(--s));height:calc(44px*var(--s));font-size:calc(16px*var(--s));border-width:0 calc(12px*var(--s));border-image:url('assets/ui-buttons/secondary-mobile-normal.webp') 0 12 fill/0 calc(12px*var(--s))}
#frontier-draft.ff-v2.ff-m footer button.primary{width:calc(212px*var(--s));height:calc(54px*var(--s));font-size:calc(20px*var(--s));padding:0;white-space:nowrap;border-width:0 calc(24px*var(--s)) 0 calc(56px*var(--s));border-image:url('assets/ui-buttons/confirm-mobile-selected.webp') 0 24 0 56 fill/0 calc(24px*var(--s)) 0 calc(56px*var(--s))}
#frontier-draft.ff-v2.ff-m footer button.primary:disabled{border-image-source:url('assets/ui-buttons/confirm-mobile-disabled.webp')}
#frontier-draft.ff-v2.ff-m footer button.primary:active{border-image-source:url('assets/ui-buttons/confirm-mobile-pressed.webp')}
#frontier-draft.ff-v2.ff-m.ff-swap h3{padding:0 calc(16px*var(--s));font-size:calc(14px*var(--s));line-height:1.2}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-grid{padding-top:calc(4px*var(--s));padding-bottom:calc(4px*var(--s))}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card{flex:0 0 calc(172px*var(--s));height:calc(106px*var(--s));display:grid;grid-template-columns:calc(64px*var(--s)) 1fr;grid-template-rows:auto auto auto;align-content:center;column-gap:calc(6px*var(--s));padding:calc(8px*var(--s));text-align:left;--d:calc(.34*var(--s))}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card::before{background:linear-gradient(90deg,#fff8e6d9 0 40%,#f3e3bd 40%)}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card .ff-sprite{grid-row:1/4;height:calc(84px*var(--s));flex:none}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card strong{font-size:calc(15px*var(--s));justify-self:start}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card .ff-meta{justify-self:start;white-space:normal;word-break:keep-all;line-height:1.2;text-align:left}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card .ff-types{justify-content:flex-start;margin-top:calc(2px*var(--s))}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card .ff-types i{line-height:calc(17px*var(--s))}
#frontier-draft.ff-v2.ff-m.ff-swap .ff-card.on{transform:none}
/* 결정 234·235 1단계 관장 입장 흐름(#gym-entrance, console-v51.js GymEntrance) */
#gym-entrance{position:fixed;inset:0;z-index:10050;background:#05070b;overflow:hidden;opacity:1;transition:opacity .25s ease;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
#gym-entrance.ge-out{opacity:0}
#gym-entrance canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#gym-entrance .ge-line{position:absolute;left:50%;bottom:max(18px,4vh);transform:translateX(-50%);max-width:min(880px,82vw);margin:0;padding:10px 22px;border-radius:12px;background:rgba(10,14,22,.72);border:1px solid rgba(255,236,190,.35);color:#fff6dc;font:700 clamp(14px,2.1vh,22px)/1.4 'PT Read',sans-serif;text-align:center;opacity:0;transition:opacity .3s ease .25s;pointer-events:none}
#gym-entrance[data-phase=face] .ge-line:not(:empty){opacity:1}
#gym-entrance .ge-skip{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:40px;padding:8px 16px;border-radius:10px;border:1px solid rgba(255,236,190,.45);background:rgba(10,14,22,.66);color:#fff6dc;font:700 15px 'PT Read',sans-serif;cursor:pointer}
@media (prefers-reduced-motion:reduce){#gym-entrance,#gym-entrance .ge-line{transition:none}}
/* 결정 239·275 1단계 전투 기록 패널(PC, GPT 32 ②, console-v51.js BattleLog). 좌표는 05 명세 battle_log.md(1920 단독·1280 접힘형) */
#cv-blog-open{position:fixed;top:120px;right:32px;z-index:40;width:112px;height:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:0;background:url('assets/ui-battle-log/battle-log-open-button-normal.webp') center/100% 100% no-repeat;color:#FFF5D6;font:400 17px/1 var(--font-title,'PT Title'),sans-serif;text-shadow:0 1px 2px #000c;cursor:pointer}
#cv-blog-open:active{background-image:url('assets/ui-battle-log/battle-log-open-button-pressed.webp')}
#cv-blog-open img{width:26px;height:26px;object-fit:contain}
#cv-blog-open[hidden],#cv-battle-log[hidden]{display:none!important}
#cv-battle-log{position:fixed;top:170px;right:12px;z-index:40;width:300px;height:656px;box-sizing:border-box;border:20px solid transparent;border-image:url('assets/ui-battle-log/battle-log-panel-frame.webp') 20 fill/20px stretch;color:#342E22;font:400 13px/1.2 'PT Read',sans-serif;--row:44px;--rows-top:192px;--face:32px;--bar-y:25px}
#cv-battle-log>*{position:absolute;margin:0}
#cv-battle-log h2{left:-2px;top:-1px;font:400 22px/1.1 var(--font-title,'PT Title'),sans-serif;color:#342E22}
#cv-battle-log .blog-close{left:228px;top:-18px;width:44px;height:44px;padding:6px;border:0;background:none;cursor:pointer}
#cv-battle-log .blog-close img{width:32px;height:32px}
#cv-battle-log .blog-tabs{left:-6px;top:36px;display:flex;gap:3px}
#cv-battle-log .blog-tabs button{width:88px;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;border:0;background:url('assets/ui-battle-log/battle-log-tab-normal.webp') center/100% 100% no-repeat;color:#342E22;font:700 13px/1 'PT Read',sans-serif;cursor:pointer}
#cv-battle-log .blog-tabs button.on{background-image:url('assets/ui-battle-log/battle-log-tab-selected.webp');color:#FFF5D6}
#cv-battle-log .blog-tabs img{width:22px;height:22px;object-fit:contain}
#cv-battle-log .blog-teams{left:-6px;top:96px;display:flex;gap:4px}
#cv-battle-log .blog-teams button{width:133px;height:36px;border:0;padding:0;background:url('assets/ui-battle-log/battle-log-header-ally.webp') center/100% 100% no-repeat;color:#FFF5D6;font:700 13px/1 'PT Read',sans-serif;opacity:.62;cursor:pointer;box-shadow:inset 0 -3px 0 transparent}
#cv-battle-log .blog-teams [data-blog-team=enemy]{background-image:url('assets/ui-battle-log/battle-log-header-enemy.webp')}
#cv-battle-log .blog-teams button.on{opacity:1;box-shadow:inset 0 -3px 0 #B57A14}
#cv-battle-log .blog-legend{left:-2px;top:146px;color:#66583E;font-size:13px;white-space:nowrap}
#cv-battle-log .blog-legend i{display:inline-block;width:24px;height:10px;border-radius:3px;margin:0 4px 1px 0;vertical-align:middle;background-position:center;background-size:100% 100%;background-repeat:no-repeat}
#cv-battle-log [data-bar=basic]{background-image:url('assets/ui-battle-log/battle-log-bar-basic.webp')}
#cv-battle-log [data-bar=skill]{background-image:url('assets/ui-battle-log/battle-log-bar-skill.webp')}
#cv-battle-log [data-bar=blocked]{background-image:url('assets/ui-battle-log/battle-log-bar-blocked.webp')}
#cv-battle-log [data-bar=heal]{background-image:url('assets/ui-battle-log/battle-log-bar-heal.webp')}
#cv-battle-log [data-bar=shield]{background-image:url('assets/ui-battle-log/battle-log-bar-shield.webp')}
#cv-battle-log .blog-list{left:-6px;top:calc(var(--rows-top) - 20px);width:278px;height:calc(100% - var(--rows-top) - 20px);padding:0;list-style:none;overflow:hidden auto;scrollbar-width:thin}
#cv-battle-log .blog-list li{position:relative;height:var(--row)}
#cv-battle-log .blog-list li[hidden]{display:none}
#cv-battle-log .blog-rank{position:absolute;left:0;top:8px;width:14px;text-align:center;color:#66583E;font:700 13px/1 'PT Read',sans-serif}
#cv-battle-log .blog-rank.crown{left:-3px;top:2px;width:20px;height:20px;background:url('assets/ui-battle-log/battle-log-rank-crown.webp') center/contain no-repeat}
#cv-battle-log .blog-face{position:absolute;left:16px;top:1px;width:var(--face);height:var(--face);object-fit:contain;image-rendering:pixelated}
#cv-battle-log .blog-name{position:absolute;left:52px;top:1px;width:86px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 14px/1.2 var(--font-title,'PT Title'),sans-serif}
#cv-battle-log .blog-star{position:absolute;left:141px;top:2px;color:#B57A14;font-size:13px;letter-spacing:-2px}
#cv-battle-log .blog-num{position:absolute;right:10px;top:2px;font:700 13px/1.2 'PT Read',sans-serif;white-space:nowrap}
#cv-battle-log .blog-track{position:absolute;left:52px;top:var(--bar-y);width:218px;height:10px;display:flex;background:url('assets/ui-battle-log/battle-log-bar-track.webp') center/100% 100% no-repeat;overflow:hidden;border-radius:4px}
#cv-battle-log .blog-track i{display:block;height:100%;background-size:218px 10px;background-repeat:no-repeat}
#cv-battle-log .blog-list[data-tab=dealt] .blog-a,#cv-battle-log .blog-list[data-tab=taken] .blog-a{background-image:url('assets/ui-battle-log/battle-log-bar-basic.webp')}
#cv-battle-log .blog-list[data-tab=dealt] .blog-b{background-image:url('assets/ui-battle-log/battle-log-bar-skill.webp')}
#cv-battle-log .blog-list[data-tab=taken] .blog-b{background-image:url('assets/ui-battle-log/battle-log-bar-blocked.webp')}
#cv-battle-log .blog-list[data-tab=heal] .blog-a{background-image:url('assets/ui-battle-log/battle-log-bar-heal.webp')}
#cv-battle-log .blog-list[data-tab=heal] .blog-b{background-image:url('assets/ui-battle-log/battle-log-bar-shield.webp')}
#cv-battle-log .blog-sum{left:-2px;font:700 13px/1.2 'PT Read',sans-serif;white-space:nowrap}
#cv-battle-log .blog-sum[data-team=ally]{bottom:19px;color:#23634B}
#cv-battle-log .blog-sum[data-team=enemy]{bottom:0;color:#9D3434}
/* 좁은 PC(1280 접힘형): 7행 + 세로 스크롤, 기록 버튼은 패널 자리 왼쪽 */
#cv-battle-log.blog-compact{--row:34px;--rows-top:157px;--face:26px;--bar-y:19px}
#cv-battle-log.blog-compact h2{top:-8px}
#cv-battle-log.blog-compact .blog-tabs{top:23px}
#cv-battle-log.blog-compact .blog-tabs button{height:40px;flex-direction:row;gap:4px}
#cv-battle-log.blog-compact .blog-tabs img{width:18px;height:18px}
#cv-battle-log.blog-compact .blog-teams{top:67px}
#cv-battle-log.blog-compact .blog-legend{top:110px}
#cv-blog-open.blog-compact{top:104px;right:332px}
/* 결정 275-2단계 모바일: 접힌 띠(#cv-blog-strip, 상위 3명) ↔ 펼친 시트(#cv-battle-log.blog-mobile, 3열×3행). 내부 좌표는 명세 828×158 기준(틀 10px만큼 뺌) */
/* 결정 280 ③ 모바일 전투 기록: 접힌 글자 띠 → 아이콘 버튼 1개(44×44, 주머니 오른쪽) + 누르면 오른쪽 옆 패널(판 일부를 덮음, 상점·벤치·배치 수·전투 버튼은 피함). 패널은 PC처럼 초상·별·평타/스킬 막대·숫자 + 탭 3 */
#cv-blog-strip{position:fixed;z-index:40;width:44px;height:44px;padding:0;border:0;background:none;display:block}
#cv-blog-strip[hidden]{display:none!important}
#cv-blog-strip .blog-strip-open{width:44px;height:44px;margin:0;padding:0;display:grid;place-items:center;border:0;background:url('assets/ui-battle-log/battle-log-open-button-normal.webp') center/100% 100% no-repeat;cursor:pointer}
#cv-blog-strip .blog-strip-open:active{background-image:url('assets/ui-battle-log/battle-log-open-button-pressed.webp')}
#cv-blog-strip .blog-strip-open img{width:26px;height:26px;object-fit:contain}
#cv-blog-strip .blog-strip-open span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#cv-blog-strip .blog-top{display:none}
#cv-battle-log.blog-mobile{z-index:72;border-width:10px;border-image-width:10px;--row:30px;--face:24px;--rows-top:88px}
#cv-battle-log.blog-mobile h2{left:4px;top:4px;font-size:16px}
#cv-battle-log.blog-mobile .blog-close{left:auto;right:-8px;top:-8px}
#cv-battle-log.blog-mobile .blog-teams{left:auto;right:40px;top:-8px;gap:3px}
#cv-battle-log.blog-mobile .blog-teams button{width:52px;height:44px;font-size:12px;background-size:100% 30px;background-position:center}
#cv-battle-log.blog-mobile .blog-tabs{left:-2px;right:-2px;top:36px;gap:3px;display:flex}
#cv-battle-log.blog-mobile .blog-tabs button{flex:1 1 0;width:auto;height:44px;flex-direction:row;gap:3px;font-size:11px;padding:0 2px}
#cv-battle-log.blog-mobile .blog-tabs img{width:18px;height:18px}
#cv-battle-log.blog-mobile .blog-legend{display:none}
#cv-battle-log.blog-mobile .blog-list{left:-2px;right:-2px;width:auto;top:84px;bottom:18px;height:auto;display:block;overflow:hidden auto}
#cv-battle-log.blog-mobile .blog-rank{top:6px;font-size:11px}
#cv-battle-log.blog-mobile .blog-rank.crown{top:2px;width:16px;height:16px}
#cv-battle-log.blog-mobile .blog-face{left:16px;top:1px}
#cv-battle-log.blog-mobile .blog-name{left:44px;top:0;width:auto;right:96px;font-size:11px}
#cv-battle-log.blog-mobile .blog-star{left:auto;right:76px;top:1px;font-size:10px}
#cv-battle-log.blog-mobile .blog-num{right:4px;top:1px;font-size:11px}
#cv-battle-log.blog-mobile .blog-track{left:44px;right:4px;width:auto;top:17px;height:8px}
#cv-battle-log.blog-mobile .blog-track i{background-size:260px 8px}
#cv-battle-log.blog-mobile .blog-sum{top:auto;bottom:-6px;font-size:10px}
#cv-battle-log.blog-mobile .blog-sum[data-team=ally]{left:0}
#cv-battle-log.blog-mobile .blog-sum[data-team=enemy]{left:auto;right:0}
/* 결정 360 ②: 휴대폰 전투 기록은 오른쪽 좁은 사이드(240) — 탭은 아이콘만(글자는 title·aria-label), 이름 칸 좁게 */
#cv-battle-log.blog-mobile .blog-tabs button{font-size:0!important;justify-content:center}
#cv-battle-log.blog-mobile .blog-tabs img{width:22px;height:22px}
#cv-battle-log.blog-mobile .blog-name{right:84px}
#cv-battle-log.blog-mobile .blog-star{right:62px}
/* 결정 282 ③ 전투 시작 버튼은 전투가 시작되면 숨김(자리는 유지 — 코치·잠금 배치가 이 버튼을 기준으로 잡는다) */
html body.playing #battle-btn.fighting{visibility:hidden!important;pointer-events:none!important}
/* 사용자 지시(관리자 11-05): 전투 중엔 배치 수·메가 단추 묶음도 숨김(자리 유지), 준비 단계로 오면 다시 보임 — body.cv-fight-hide는 console-v51.js FightHide */
html body.playing.cv-fight-hide :is(#battle-btn,#hud-deploy-count,#hud-power,#hud-power *){visibility:hidden!important;pointer-events:none!important}
/* 관리자 11-05 위임 결정: 상점 잠금 자물쇠(#lock-btn)도 전투 중 숨김 — 단 전투 중 상점 체험(body.fight-shop, 결정 162 A)에선 잠금이 쓰이므로 그대로 */
html body.playing.cv-fight-hide:not(.fight-shop) #lock-btn{visibility:hidden!important;pointer-events:none!important}
/* 결정 286 A(282 ④ 대체) PC: 남은 시간+게이지를 한 줄로 루트 바 오른쪽 옆(지구 버튼 오른쪽), 같은 높이 — 판 위 가운데를 비운다(--route-x·--route-cy·--route-gx는 console-v51.js RouteClock) */
html body.playing.hud-combat:not(.mobile-ui) #fight-clock{position:fixed!important;left:var(--route-x,1290px);top:var(--route-cy,40px);transform:translateY(-50%);z-index:36;margin:0!important;padding:3px 12px!important;border-radius:8px;background:#0b1622d9;border:1px solid #d9ae5566;white-space:nowrap}
html body.playing.hud-combat:not(.mobile-ui) #tempo-gauge:not(.tempo-float){position:fixed;left:var(--route-gx,1420px);top:var(--route-cy,40px);transform:translateY(-50%);margin:0;z-index:36;padding:3px 8px;border-radius:8px;background:#0b1622b3}
/* 결정 286 B PC: 전투 중 루트 바를 한 줄(보이는 높이 44)로 — 아래 '1/72 · 다음:' 줄·'전투 진행'·칸 이름 글자를 숨기고 아래를 잘라 낸다.
   레이아웃 높이는 그대로 둔다(판 위치는 projection.js가 #hud-round 아래 끝으로 잡으므로, 실제로 줄이면 전투 시작 때 판이 커지며 위로 올라와 겹침이 그대로 남는다) */
html body.playing.hud-combat:not(.mobile-ui) #route-readout,html body.playing.hud-combat:not(.mobile-ui) #hud-roundbar #phase-pill,html body.playing.hud-combat:not(.mobile-ui) #stage-dots .stage-node small{visibility:hidden!important}
html body.playing.hud-combat:not(.mobile-ui) #hud-round{clip-path:inset(0 0 calc(100% - var(--route-h,44px)) 0 round 22px)}
/* 21차 '위쪽에서 싸우면 가려짐'(A안, 관리자 경유 승인 2026-10-23): 전투 중 PC 루트 바는 반투명(.55 제안값)·클릭 통과 — 판 맨 윗줄 유닛이 뛰어오를 때(298 내려찍기·물기) 바 아래로 비쳐 보이고, 판 위 클릭·끌기를 막지 않는다. 남은 시간·게이지·지구 버튼은 그대로 */
html body.playing.hud-combat:not(.mobile-ui) #hud-round{opacity:.55}html body.playing.hud-combat:not(.mobile-ui) #hud-round,html body.playing.hud-combat:not(.mobile-ui) #hud-round *{pointer-events:none!important}
/* 286 A 좁은 화면(한 줄이 오른쪽 버튼에 닿을 때): 남은 시간 밑에 게이지를 붙여 두 줄 묶음으로(RouteClock이 .route-stack을 붙인다) */
html body.playing.hud-combat.route-stack:not(.mobile-ui) #fight-clock{top:calc(var(--route-top,8px));transform:none;padding:1px 10px!important;font-size:14px}
html body.playing.hud-combat.route-stack:not(.mobile-ui) #tempo-gauge:not(.tempo-float){left:var(--route-x,1290px);top:calc(var(--route-top,8px) + 27px);transform:none;padding:1px 6px}
html body.playing.hud-combat.route-stack:not(.mobile-ui) #tempo-gauge:not(.tempo-float) b{display:none}
html body.playing.hud-combat.route-stack:not(.mobile-ui) #tempo-gauge:not(.tempo-float) i{width:var(--route-cw,110px);height:7px}
/* 결정 282 ⑤ PC: 기록 버튼은 코인(골드) 칸 오른쪽 44×44 아이콘, 전투 중에만(자리는 BattleLog.placeBtn) */
html body.playing:not(.mobile-ui) #cv-blog-open.blog-coin{width:44px;height:44px;padding:0;right:auto;justify-content:center}
html body.playing:not(.mobile-ui) #cv-blog-open.blog-coin span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html body.playing:not(.mobile-ui) #cv-blog-open.blog-coin img{width:28px;height:28px}
/* 결정 282 ⑥ 배치 수 막대(⬡ n/n) 키우기: 오른쪽 아래를 기준으로 PC 1.3배·모바일 1.2배(전투 시작 버튼 위 자리는 그대로) */
html body.playing #hud-deploy-count{scale:1.3;transform-origin:right bottom!important}
html body.playing.mobile-ui #hud-deploy-count{scale:1.2}
/* 결정 291-1(사용자 피드백 '스택이랑 골드 왼쪽 정렬·폰트 크기·테두리 조금 더'): HUD 골드 칸. 두 줄(동전+골드 / 불꽃+연승·연패)을 같은 왼쪽 선에,
   아이콘 칸 폭 18px로 맞추고 숫자 크기 차이를 줄인다(제안값 PC 17/15·모바일 15/13). 칸 테두리는 옅은 금색 1px로 보이게 */
html body.playing #hud-shop-gold:has(.hud-win-streak){align-items:flex-start!important;justify-content:center!important;padding:2px 10px!important;gap:1px!important}
html body.playing #hud-shop-gold,html body.playing #dock-wallet #hud-shop-gold{border:1px solid #f0d27a8c!important;box-sizing:border-box}
html body.playing #hud-shop-gold .gold-balance{display:inline-flex;align-items:center;gap:6px}
html body.playing #hud-shop-gold .gold-balance .hud-coin{width:18px!important;height:18px!important;flex:0 0 18px;margin:0!important}
html body.playing #hud-shop-gold .gold-balance strong{font-size:17px!important;line-height:1.1}
html body.playing #hud-shop-gold .hud-win-streak{justify-content:flex-start;gap:6px;height:auto;min-width:0}
html body.playing #hud-shop-gold .hud-win-streak img{width:18px;height:14px;flex:0 0 18px;object-fit:contain}
html body.playing #hud-shop-gold .hud-win-streak b{font-size:15px!important;line-height:1.1}
html body.playing.mobile-ui #hud-shop-gold .gold-balance strong{font-size:15px!important}
html body.playing.mobile-ui #hud-shop-gold .hud-win-streak b{font-size:13px!important}
/* 결정 291-1(사용자 승인, 제안값): 상점 카드 비용별 테두리·이름띠 색. 색은 기존 희귀도 체계 --tier(data.js rankColor: 1 회청·2 초록·3 파랑·4 보라·5 금색, ui.js cardGrade가 실제 카드 비용으로 넣음)를 쓴다.
   V5.1 카드의 금색 기본 테두리(#d9ae55)를 비용 색으로 바꿔 5코스트 금색과 헷갈리지 않게 하고, 추천 카드는 바깥 민트 테두리 그대로(안쪽 선은 이미 --tier). 표시만 바꾸고 06 상점 로직은 그대로 */
html body.playing #shop-cards .shop-card[data-rarity]:not(.sold):not(.shop-recommended){border-color:var(--tier,#d9ae55)!important}
html body.playing #shop-cards .shop-card[data-rarity]:not(.sold) .shop-name{background:linear-gradient(90deg,color-mix(in srgb,var(--tier,#d9ae55) 55%,transparent) 0,color-mix(in srgb,var(--tier,#d9ae55) 22%,transparent) 70%,transparent 100%)!important;border-radius:3px;padding-left:4px!important;padding-right:4px!important}
/* 결정 297: 복제기 대상 목록 줄마다 코스트 칩(상점 비용 색 --tier 재사용) */
html body #cv-pouch-pop .cv-pouch-targets button .cv-pouch-cost,html body .cv-pouch-targets button .cv-pouch-cost{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-right:6px;padding:0 4px;border-radius:5px;background:var(--tier,#95afac);color:#14212b;font:800 12px/1 'PT Read',sans-serif;font-style:normal;vertical-align:middle;flex:0 0 auto}
html body .cv-pouch-targets button .cv-pouch-cost+b{margin-right:auto}
/* 사용자 제보(2026-10-31, 06 요청 v0.12.23): 복제기 대상 줄에 받을 결과 '→ 미뇽 ★1' — 대상 이름 옆, 한 단계 옅게 */
html body .cv-pouch-targets button .cv-pouch-res{margin-left:6px;font-style:normal;font-weight:600;color:#3f6b3a;white-space:nowrap}
/* 관리자 승인(2026-10-31, v0.12.23): 8코 완성형(top-*) 꼬리표 — 정보 창 이름 옆·상점 카드 이름 옆만(판·벤치 머리 위 이름은 그대로). 같은 이름 계열 망나뇽과 구분 */
html body #unit-side .us-done,html body .shop-card .shop-done{display:inline-block;margin-left:5px;padding:1px 5px;border-radius:6px;background:#6b4a2b;color:#ffe3a0;font:800 11px/1.3 'PT Read',sans-serif;font-style:normal;vertical-align:middle;white-space:nowrap}
html body .shop-card .shop-done{font-size:10px;padding:0 4px}
/* 06 결정 291-1 소모품 상태 문구(보상 카드 설명 위 한 줄, work-rewards.js nameParts) */
#work-rewards .wr-status{display:block;font-style:normal;font-weight:800;color:#a3471f;margin-bottom:2px}
/* 결정 306 ②(사용자 승인 2026-10-23, 수치 제안값): 3택1 카드 공통 연출 — 동작은 console-v51.js PickFlow */
/* 착 착착: 1번 100ms·2번 380ms·3번 500ms, 4번째부터 120ms 간격. 위 18px·1.06배에서 내려와 2px 눌림(0.2초). 갈림길 결과 뒤집기(cv-route-flip)는 그대로 */
.pk-row>.pk-card:not(.cv-route-flip){animation:pk-drop .2s cubic-bezier(.3,.8,.4,1) backwards;animation-delay:var(--pk-d,100ms)}
.pk-row>.pk-card:nth-child(2){--pk-d:380ms}.pk-row>.pk-card:nth-child(3){--pk-d:500ms}.pk-row>.pk-card:nth-child(n+4){--pk-d:calc(500ms + (var(--i,3) - 2)*120ms)}
@keyframes pk-drop{from{opacity:0;transform:translateY(calc(var(--s)*-18px)) scale(1.06)}70%{opacity:1;transform:translateY(calc(var(--s)*2px)) scale(.995)}to{opacity:1;transform:none}}
/* 카드 전체가 누르는 자리: 버튼을 투명하게 카드 전체로(글자 없음). 막힌(disabled) 버튼은 원래 모양 그대로. 설명은 버튼 자리까지 넓힌다 */
.pk-card>.pk-btn:not(:disabled){left:0!important;top:0!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;border-image:none!important;font-size:0!important;color:transparent!important;text-shadow:none!important;z-index:8}
#work-rewards.pk-host article.pk-card>button.pk-btn:not(:disabled){left:0!important;top:0!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;border-image:none!important;font-size:0!important;color:transparent!important;z-index:8}
:is(.pk-row,.pk-host)[data-size=pc] .pk-card:has(>.pk-btn:not(:disabled)) .pk-desc{--h:140px}
:is(.pk-row,.pk-host)[data-size=m] .pk-card:has(>.pk-btn:not(:disabled)) .pk-desc{--h:62px}
/* PC hover·키보드 포커스·터치 첫 탭: 10px 떠오름 + 빛(보상 카드는 canvas 그림 때문에 빛만) */
@media (hover:hover){.pk-row>.pk-card:hover:has(>.pk-btn:not(:disabled)){transform:translateY(calc(var(--s)*-10px))}}
.pk-row:not(:hover)>.pk-card:has(>.pk-btn:focus-visible),.pk-row>.pk-card.pk-armed{transform:translateY(calc(var(--s)*-10px))}
.pk-card:is(:hover,.pk-armed,.pk-going):has(>.pk-btn:not(:disabled)) .pk-glow,.pk-card:has(>.pk-btn:focus-visible) .pk-glow{opacity:.75;animation:none}
.pk-card.pk-armed::after{content:'한 번 더 누르면 선택';position:absolute;left:0;width:calc(var(--s)*var(--cw));top:calc(var(--s)*(var(--ch) - 54px));z-index:9;text-align:center;pointer-events:none;font:400 calc(var(--s)*17px)/1 var(--font-title),sans-serif;color:#fff0cc;text-shadow:0 1px 2px #000,0 0 6px #000}
:is(.pk-row,.pk-host)[data-size=m] .pk-card.pk-armed::after{top:calc(var(--s)*(var(--ch) - 48px));font-size:calc(var(--s)*12px)}
/* 확정: 고른 카드 위로·테두리 번쩍(0.25초), 나머지 흐림(0.35초 뒤 원래 동작) */
.pk-row>.pk-card.pk-going{transform:translateY(calc(var(--s)*var(--lift)))}
.pk-card.pk-going .pk-frame{animation:pk-flash .25s ease-out}
@keyframes pk-flash{40%{filter:brightness(1.8) drop-shadow(0 0 calc(var(--s)*14px) #ffe9a0)}}
.pk-row:has(>.pk-going)>.pk-card:not(.pk-going){filter:saturate(.35);opacity:.45}
@media (prefers-reduced-motion:reduce){.pk-row>.pk-card:not(.cv-route-flip){animation:pk-fade .1s backwards;animation-delay:0s}.pk-card.pk-going .pk-frame{animation:none}}
/* 결정 308: 메가 패널 종 단위 카드(동작은 console-v51.js MegaPanel). 상태별 밝기·자물쇠, 예약됨 금색 */
html body #mega-panel .mega-roster.mg-roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
html body #mega-panel #mega-content .mg-roster>article.mg-card{position:relative;max-width:none;cursor:pointer;padding:24px 10px 10px;border-radius:12px;transition:transform .12s,box-shadow .12s,opacity .12s}
html body #mega-panel #mega-content .mg-roster>article.mg-card:hover,html body #mega-panel #mega-content .mg-roster>article.mg-card:focus-visible{transform:translateY(-3px);outline:none}
html body #mega-panel #mega-content .mg-roster>article.mg-card[data-reserved]{border:2px solid #d6a531!important;box-shadow:0 0 0 2px #ffcf4a,0 0 18px #ffcf4a99!important;background:#f6e7b8!important} /* 금색 = 03 Mega.GOLD #ffcf4a */
html body #mega-panel #mega-content .mg-roster>article.mg-card:is([data-state=blocked],[data-state=locked],[data-state=used]){opacity:.55;filter:grayscale(.45)}
html body #mega-panel #mega-content .mg-roster>article.mg-card[data-state=bench]:not([data-reserved]){opacity:.8}
html body #mega-panel #mega-content .mg-card>.mg-badge{position:absolute;top:6px;right:8px;font:400 13px/1 var(--font-title),sans-serif;font-style:normal;color:#7a5418!important;background:#fff3cf;border:1px solid #d9c08a;border-radius:999px;padding:3px 8px}
html body #mega-panel #mega-content .mg-card[data-reserved]>.mg-badge{background:#d6a531;color:#fff8e2!important;border-color:#a77a16}
html body #mega-panel #mega-content .mg-card:is([data-state=blocked],[data-state=locked])>.mg-badge::before{content:'\1F512  '}
html body #mega-panel #mega-content .mg-card>.mg-reason{margin:6px 0 2px;font-size:13px;text-align:center;font-weight:700;color:#6b4a1c!important}
html body #mega-panel #mega-content .mg-card :is(.mg-tabs,.mg-chips){display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:4px}
html body #mega-panel #mega-content .mg-card :is(.mg-tabs,.mg-chips)>button{min-height:28px!important;padding:2px 10px!important;font-size:12px;background:#e6d3a3!important;color:#5a3d14!important;border:1px solid #c9a865!important;border-radius:999px;text-shadow:none!important}
html body #mega-panel #mega-content .mg-card :is(.mg-tabs,.mg-chips)>button[aria-pressed=true]{background:#7a5418!important;color:#fff3d6!important}
html body #mega-panel #mega-content .mg-empty{grid-column:1/-1;text-align:center}
/* 벤치 칸 메가 표식: 예약됨 금색 M, 예약 가능 흐린 M */
html body .bench-slot>.mg-mark{position:absolute;font-style:normal;left:3px;top:3px;z-index:6;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font:900 11px/1 sans-serif;pointer-events:none}
html body .bench-slot>.mg-mark[data-mega=reserved]{background:radial-gradient(#fff0b8,#ffcf4a);color:#4a2c00;box-shadow:0 0 6px #ffcf4a}
html body .bench-slot>.mg-mark[data-mega=ready]{background:#ffffff55;color:#ffffffaa;border:1px solid #ffffff66}
/* 결정 308 ④: 아군 메가 각성 순간 HUD 메가 버튼 '각성!' 0.6초(금색 = Mega.GOLD) */
#mega-btn.mg-awaken{position:relative;animation:mg-awaken .6s ease-out}
#mega-btn.mg-awaken::after{content:'각성!';position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:#ffcf4a;color:#3b2400;font-weight:900;pointer-events:none}
@keyframes mg-awaken{0%{box-shadow:0 0 0 0 #ffcf4a}30%{box-shadow:0 0 18px 6px #ffcf4a;transform:scale(1.08)}100%{box-shadow:0 0 0 0 #ffcf4a00;transform:none}}
@media (prefers-reduced-motion:reduce){#mega-btn.mg-awaken{animation:none}}
/* 결정 313-7: 아군 전용기 발동 순간 '전용기! ○○' 0.8초(보라 #c58bff = 03 판 위 마름모 색) */
#ex-flash{position:fixed;left:50%;top:16%;z-index:60;transform:translate(-50%,-50%);padding:6px 22px;border-radius:999px;background:#2a1240e6;border:2px solid #c58bff;color:#f3e6ff;font:900 clamp(18px,2.4vw,34px)/1.2 var(--font-title),sans-serif;text-shadow:0 0 10px #c58bff;pointer-events:none;opacity:0;visibility:hidden}
#ex-flash.on{visibility:visible;animation:ex-flash .8s ease-out forwards}
@keyframes ex-flash{0%{opacity:0;transform:translate(-50%,-50%) scale(1.4)}15%{opacity:1;transform:translate(-50%,-50%) scale(1)}75%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){#ex-flash.on{animation:none;opacity:1}}
/* 결정 313-7: 작은 유닛 패널 전용기 칸(보라) */
#unit-side .us-skill[data-kind=exclusive] .us-band{background:linear-gradient(90deg,#3a1d5a,#2a1240)!important;color:#f3e6ff!important;border-color:#c58bff!important}
#unit-side .us-skill[data-kind=exclusive] .us-band :is(small,b){color:#f3e6ff!important}
/* 결정 315·323 다이맥스 ②-1(?dynamax=1, 색은 08 설계 5-1 제안값 #e0306a·#ff4f9a): 메가 패널 다이맥스 카드·벤치 D 표식 */
html body #mega-panel #mega-content .mg-roster>article.mg-card.dx-card{background:#fbe4ed!important;border:1px solid #e9a3bf!important}
html body #mega-panel #mega-content .mg-roster>article.mg-card.dx-card[data-reserved]{border:2px solid #e0306a!important;box-shadow:0 0 0 2px #ff4f9a,0 0 18px #ff4f9a99!important;background:#fdd3e2!important}
html body #mega-panel #mega-content .dx-card>.mg-badge{color:#8a1840!important;background:#ffe8f0;border-color:#eba0bd}
html body #mega-panel #mega-content .dx-card[data-reserved]>.mg-badge{background:#e0306a;color:#fff!important;border-color:#a8174b}
html body #mega-panel #mega-content .dx-preview>img.dx-emblem{width:40px;height:40px;filter:drop-shadow(0 0 6px #ff4f9a99)}
html body #mega-panel #mega-content .dx-preview>div>b{color:#a8174b!important}
/* 결정 315-11(제안값): 다이맥스 카드 상대 에이스 상성 한 줄 */
html body #mega-panel #mega-content .dx-card>.dx-vs{display:grid;gap:1px;margin:4px 0 0;padding:4px 8px;border-radius:8px;background:#fff4f8;border:1px solid #eba0bd;text-align:left;line-height:1.25}
html body #mega-panel #mega-content .dx-vs>b{font-size:12px;color:#7a1838!important}
html body #mega-panel #mega-content .dx-vs[data-edge=good]>b{color:#1d7a3a!important}
html body #mega-panel #mega-content .dx-vs[data-edge=bad]>b{color:#b3261e!important}
html body #mega-panel #mega-content .dx-vs>small{font-size:11px;color:#5a2a3c;overflow-wrap:anywhere}
html body #mega-panel #mega-content .dx-vs span[data-eff="2"]{color:#1d7a3a;font-weight:700}
html body #mega-panel #mega-content .dx-vs span[data-eff="0.5"],html body #mega-panel #mega-content .dx-vs span[data-eff="0.25"]{color:#b3261e}
html body #mega-panel #mega-content .dx-card>.mg-reason{color:#7a1838!important}
html body #mega-panel #mega-content .dx-card .mg-chips>button{background:#f3c4d5!important;color:#7a1838!important;border-color:#e08aab!important}
html body #mega-panel #mega-content .dx-card .mg-chips>button[disabled]{opacity:1;background:transparent!important;border-color:transparent!important}
html body #mega-panel #mega-content .mg-roster>article.mg-card[data-dmax]{opacity:.7}
html body #mega-panel #mega-content .mg-card[data-dmax]>.mg-badge{background:#ffe8f0;color:#8a1840!important;border-color:#eba0bd}
html body .bench-slot>.dx-mark{position:absolute;font-style:normal;left:3px;top:3px;z-index:7;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font:900 11px/1 sans-serif;color:#fff;background:radial-gradient(#ff8fb8,#e0306a);box-shadow:0 0 6px #ff4f9a;pointer-events:none}
html body .bench-slot>.dx-mark>img{position:absolute;inset:0;width:100%;height:100%}
html body .bench-slot:has(>.dx-mark)>.mg-mark{display:none}
/* 결정 315-4 다이맥스 ②-3 컷씬·②-4 턴제 화면(?dynamax=1, 배치·크기 제안값) */
/* 결정 315-13 ①(사용자 지시): 다이맥스 화면은 검정 바탕 위주, 분홍(#e0306a)은 테두리·강조만 */
#dmax-scene{position:fixed;inset:0;z-index:9400;background:#08080b;color:#fff;font-family:var(--font-body,sans-serif)}
#dmax-scene.hidden,#dmax-scene .hidden{display:none!important}
#dmax-scene>canvas{position:absolute;inset:0;width:100%;height:100%}
#dmax-scene>.dx-skip{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:2;min-height:40px;padding:6px 14px;border-radius:10px;border:1px solid #ff9ac0;background:#111116cc;color:#f2f2f5;font-weight:800}
#dmax-scene .dx-ui{position:absolute;inset:0;pointer-events:none}
#dmax-scene .dx-ui>*{pointer-events:auto}
#dmax-scene header{position:absolute;top:10px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;padding:6px 14px;border-radius:999px;background:#0d0d12cc;border:1px solid #e0306a;font-size:15px}
#dmax-scene header b{color:#ff8fb8}
#dmax-scene .dx-auto{min-height:30px;padding:2px 12px;border-radius:999px;border:1px solid #ff9ac0;background:#18181f;color:#f2f2f5;font-size:13px}
/* 결정 315-27·315-28(사용자, 63-1 시안 전): 원작식 기울어진 띠. 내 패널 = 왼쪽 아래 가장자리(대사 줄 바로 위, 큰 HP 숫자), 상대 = 오른쪽 위 가장자리(머리 띠·160×70 비움 칸 아래, 숫자 작게).
   거대화한 쪽 = 분홍, 원래 크기로 맞서는 쪽(03 side.normal) = 흰 바탕·검은 글자·분홍/회색 사선 끝. */
#dmax-scene .dx-hp{--slant:30px;position:absolute;width:min(30vw,380px);padding:7px 14px;background:linear-gradient(100deg,#c81f58,#e0306a 60%,#ff4f9a);color:#fff;font-family:var(--font-game)}
#dmax-scene .dx-hp[data-side=b]{top:88px;right:0;padding-left:calc(var(--slant) + 10px);padding-right:max(14px,env(safe-area-inset-right));clip-path:polygon(var(--slant) 0,100% 0,100% 100%,0 100%)}
#dmax-scene .dx-hp[data-side=a]{bottom:calc(min(26vh,210px) + 8px);left:0;padding-left:max(14px,env(safe-area-inset-left));padding-right:calc(var(--slant) + 10px);clip-path:polygon(0 0,100% 0,calc(100% - var(--slant)) 100%,0 100%)}
#dmax-scene .dx-hp[data-giant="0"]{background:#fff;color:#111}
#dmax-scene .dx-hp[data-giant="0"]::before,#dmax-scene .dx-hp[data-giant="0"]::after{content:'';position:absolute;inset:0;pointer-events:none}
#dmax-scene .dx-hp[data-giant="0"]::before{background:#e0306a}#dmax-scene .dx-hp[data-giant="0"]::after{background:#9a9aa4}
#dmax-scene .dx-hp[data-giant="0"][data-side=a]::before{clip-path:polygon(calc(100% - 10px) 0,100% 0,calc(100% - var(--slant)) 100%,calc(100% - var(--slant) - 10px) 100%)}
#dmax-scene .dx-hp[data-giant="0"][data-side=a]::after{clip-path:polygon(calc(100% - 20px) 0,calc(100% - 14px) 0,calc(100% - var(--slant) - 14px) 100%,calc(100% - var(--slant) - 20px) 100%)}
#dmax-scene .dx-hp[data-giant="0"][data-side=b]::before{clip-path:polygon(var(--slant) 0,calc(var(--slant) + 10px) 0,10px 100%,0 100%)}
#dmax-scene .dx-hp[data-giant="0"][data-side=b]::after{clip-path:polygon(calc(var(--slant) + 14px) 0,calc(var(--slant) + 20px) 0,20px 100%,14px 100%)}
#dmax-scene .dx-hp[data-giant="0"] .dx-bar{background:#d6d6dc}#dmax-scene .dx-hp[data-giant="0"]>small{color:#111}
#dmax-scene .dx-hp[data-side=a]>small{display:block;font-size:clamp(20px,2vw,28px);line-height:1.05;font-variant-numeric:tabular-nums}
#dmax-scene .dx-hp[data-side=b]>small{display:block;font-size:11px;opacity:.8}
#dmax-scene .dx-hp>b{display:flex;gap:6px;align-items:center;font-size:16px}
#dmax-scene .dx-bar{display:block;height:10px;margin:6px 0 2px;border-radius:6px;background:#15151b;overflow:hidden;font-style:normal}
#dmax-scene .dx-bar>em{display:block;height:100%;background:#4fe07a;transition:width .1s linear}
#dmax-scene .dx-bar>em[data-low="2"]{background:#ffd34f}#dmax-scene .dx-bar>em[data-low="1"]{background:#ff4f4f}
#dmax-scene .dx-hp>small{font-size:13px;color:#f2f2f5}
#dmax-scene .dx-bottom{position:absolute;left:0;right:0;bottom:0;height:min(26vh,210px);display:grid;grid-template-columns:1fr minmax(320px,44%);gap:10px;padding:10px max(14px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:linear-gradient(#0b0b1000,#0b0b10ee 30%)}
#dmax-scene .dx-log{margin:0;align-self:stretch;display:flex;align-items:center;padding:10px 18px;border-radius:12px;background:#111116e6;border:1px solid #e0306a99;font-size:clamp(15px,2vw,22px);font-weight:700;line-height:1.35}
#dmax-scene .dx-moves{display:grid;grid-template-columns:1fr 1fr;gap:8px}
/* 315-25 ③(05 답변): 원래 크기 턴제 기술 3칸은 가로 1줄 */#dmax-scene .dx-moves:has(>button:nth-child(3):last-child){grid-template-columns:repeat(3,1fr)}
#dmax-scene .dx-moves>button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:6px 12px;border-radius:12px;border:2px solid var(--tc);background:linear-gradient(90deg,color-mix(in srgb,var(--tc) 22%,#15151b),#15151b);color:#fff;text-align:left;min-height:44px}
#dmax-scene .dx-moves>button[data-kind=wall],#dmax-scene .dx-moves>button[data-kind=boost]{--tc:#ff4f9a!important}
#dmax-scene .dx-moves>button[data-exclusive]{border-color:#b77bff;box-shadow:0 0 10px #b77bff88}
#dmax-scene .dx-moves>button>em{position:absolute;top:4px;right:8px;font-style:normal;font-size:11px;padding:1px 6px;border-radius:999px;background:#7b3fd1;color:#fff}
#dmax-scene .dx-moves>button>b{font-size:clamp(14px,1.6vw,18px)}
#dmax-scene .dx-moves>button>small{font-size:12px;color:#e4e4ea}
#dmax-scene .dx-moves>button:disabled{opacity:.42;filter:grayscale(.5)}
#dmax-scene .dx-moves>button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 0 12px var(--tc)}
/* 315-27 ①: 선택 칸 앞 '>' 커서(마우스 올림·키보드 포커스) */
#dmax-scene .dx-moves>button{padding-left:24px}#dmax-scene .dx-moves>button:not(:disabled):is(:hover,:focus-visible)::before{content:'>';position:absolute;left:7px;top:50%;transform:translateY(-50%);font:900 clamp(16px,1.8vw,22px)/1 var(--font-game);color:#fff;text-shadow:0 0 6px var(--tc)}
#dmax-scene .dx-banner{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);padding:14px 28px;border-radius:14px;font-size:clamp(18px,2.6vw,30px);font-weight:900;background:#111116ee;border:2px solid #e0306a;box-shadow:0 0 24px #e0306a88;text-align:center}
#dmax-scene .dx-banner[data-win="0"]{background:#0d0d12ee}
@media (max-height:500px){#dmax-scene header{top:6px;font-size:13px;padding:3px 10px}#dmax-scene .dx-hp{--slant:22px;width:min(26vw,250px);padding-top:4px;padding-bottom:4px}#dmax-scene .dx-hp[data-side=b]{top:74px}#dmax-scene .dx-hp>b{font-size:13px}#dmax-scene .dx-hp>small{font-size:11px}#dmax-scene .dx-bar{height:7px;margin:3px 0 1px}
 #dmax-scene .dx-bottom{height:118px;grid-template-columns:1fr 54%;gap:6px;padding-top:6px}#dmax-scene .dx-hp[data-side=a]{bottom:124px}#dmax-scene .dx-hp[data-side=a]>small{font-size:17px}#dmax-scene .dx-log{font-size:13px;padding:6px 10px}#dmax-scene .dx-moves{gap:5px}#dmax-scene .dx-moves>button{padding:3px 8px 3px 20px;min-height:40px}#dmax-scene .dx-moves>button>b{font-size:13px}#dmax-scene .dx-moves>button>small{font-size:10px}}
#dmax-scene{transition:opacity .45s ease-out}
#dmax-scene.dx-leave{opacity:0;pointer-events:none}
#dmax-scene.dx-leave::after{content:'';position:absolute;inset:0;background:radial-gradient(circle,#ff4f9a99,#e0306a00 70%);animation:dx-leave .45s ease-out forwards}
@keyframes dx-leave{from{opacity:1}to{opacity:0}}
/* 결정 315-5 다대1 전환: 위 가운데 거대 이름·HP바, 아래 한 줄 설명(참고 장면 구도) */
#dmax-scene .dx-stand{position:absolute;inset:0;pointer-events:none;text-align:center}
#dmax-scene .dx-stand>b{position:absolute;top:max(18px,3vh);left:0;right:0;font-size:clamp(20px,3.2vw,44px);font-weight:900;color:#fff;text-shadow:0 0 12px #ff4f9a,0 2px 0 #18181f}
#dmax-scene .dx-stand>.dx-gbar{position:absolute;top:calc(max(18px,3vh) + clamp(28px,4.4vw,58px));left:50%;transform:translateX(-50%);width:min(36vw,560px);height:10px;border-radius:6px;background:#15151b;border:1px solid #ff9ac0;overflow:hidden}
#dmax-scene .dx-stand>.dx-gbar>em{display:block;height:100%;background:#4fe07a}
#dmax-scene .dx-stand[data-side=enemy]>.dx-gbar>em{background:#ff5a5a}
#dmax-scene .dx-stand>p{position:absolute;left:50%;bottom:max(64px,9vh);transform:translateX(-50%);width:min(92vw,900px);margin:0;padding:10px 18px;border-radius:12px;background:#0d0d12d9;border:1px solid #e0306a99;font-size:clamp(15px,2vw,22px);font-weight:800}
#dmax-scene .dx-stand>small{position:absolute;left:50%;bottom:max(36px,5vh);transform:translateX(-50%);width:min(92vw,900px);font-size:clamp(11px,1.2vw,14px);color:#e4e4ea}
@media (max-height:500px){#dmax-scene .dx-stand>b{top:8px;font-size:20px}#dmax-scene .dx-stand>.dx-gbar{top:38px;height:7px}#dmax-scene .dx-stand>p{bottom:30px;font-size:13px;padding:5px 10px}#dmax-scene .dx-stand>small{bottom:10px;font-size:10px}}

/* 결정 334-2(제안값): 기능 해금 연출 #unlock-scene · 튜토리얼 말풍선 #unlock-guide · 메가 패널 '?' */
#unlock-scene{position:fixed;inset:0;z-index:9300;display:grid;place-items:center;align-content:center;gap:10px;background:radial-gradient(circle at 50% 45%,#2a1d06f0,#07080cf7 70%);color:#fff;font-family:var(--font-body,sans-serif);text-align:center;animation:us-in .3s ease-out both;overflow:hidden}
#unlock-scene.hidden{display:none}
#unlock-scene.us-leave{animation:us-out .25s ease-in both}
#unlock-scene[data-id=dynamax]{background:radial-gradient(circle at 50% 45%,#3a0c22f0,#0b0208f7 70%)}
#unlock-scene .us-glow{position:absolute;left:50%;top:42%;width:min(70vmin,620px);aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,#ffd86688,#ffd86600 65%);animation:us-glow 1.6s ease-in-out infinite alternate;pointer-events:none}
#unlock-scene[data-id=dynamax] .us-glow{background:radial-gradient(circle,#ff4f9a88,#ff4f9a00 65%)}
#unlock-scene .us-clouds{position:absolute;left:50%;top:42%;width:min(56vmin,500px);aspect-ratio:1;translate:-50% -50%;animation:us-spin 4s linear infinite;pointer-events:none}
#unlock-scene .us-clouds>i{position:absolute;width:42%;height:22%;border-radius:50%;background:radial-gradient(ellipse,#5a0f2ccc,#5a0f2c00 70%);filter:blur(2px)}
#unlock-scene .us-clouds>i:nth-child(1){left:29%;top:-4%}#unlock-scene .us-clouds>i:nth-child(2){left:-6%;top:62%}#unlock-scene .us-clouds>i:nth-child(3){left:64%;top:62%}
#unlock-scene .us-core{position:relative;width:min(34vmin,260px);aspect-ratio:1}
#unlock-scene .us-emblem{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px #ffd866cc);animation:us-rise var(--us-rise,.8s) cubic-bezier(.2,.9,.3,1.2) both}
#unlock-scene[data-id=dynamax] .us-emblem{filter:drop-shadow(0 0 18px #ff4f9acc)}
#unlock-scene .us-stone{position:absolute;left:50%;top:50%;width:30%;height:30%;object-fit:contain;image-rendering:pixelated;translate:calc(-50% + var(--x)*230%) calc(-50% + var(--y)*230%);filter:drop-shadow(0 0 8px #fff9);animation:us-pop .35s cubic-bezier(.2,.9,.3,1.4) both}
#unlock-scene h2{position:relative;margin:clamp(6px,2vh,18px) 0 0;font-size:clamp(22px,4.2vw,44px);font-weight:900;letter-spacing:.02em;color:#ffe9a3;text-shadow:0 2px 0 #6b4a00,0 0 16px #ffd86699;animation:us-slam .5s var(--us-text,1.6s) cubic-bezier(.2,.9,.3,1.3) both}
#unlock-scene[data-id=dynamax] h2{color:#ffe3ee;text-shadow:0 2px 0 #6a1236,0 0 16px #ff4f9a99}
#unlock-scene p{position:relative;margin:0 16px;font-size:clamp(14px,2vw,20px);color:#f6f7ee;animation:us-fade .4s calc(var(--us-text,1.6s) + .2s) both}
#unlock-scene .us-skip{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:44px;padding:6px 16px;border-radius:10px;border:1px solid #ffffff66;background:#00000066;color:#fff;font-size:15px}
#unlock-scene:not(.us-calm){animation:us-in .3s ease-out both,us-shake .2s var(--us-text,1.6s) linear both}
#unlock-scene.us-leave:not(.us-calm){animation:us-out .25s ease-in both}
#unlock-scene.us-calm *{animation:none!important}
@keyframes us-in{from{opacity:0}to{opacity:1}}
@keyframes us-out{to{opacity:0}}
@keyframes us-glow{from{opacity:.55;scale:.92}to{opacity:1;scale:1.05}}
@keyframes us-spin{to{rotate:360deg}}
@keyframes us-rise{from{opacity:0;transform:translateY(30%) scale(.6)}to{opacity:1;transform:none}}
@keyframes us-pop{from{opacity:0;scale:.2}to{opacity:1;scale:1}}
@keyframes us-slam{from{opacity:0;scale:1.6}to{opacity:1;scale:1}}
@keyframes us-fade{from{opacity:0}to{opacity:1}}
@keyframes us-shake{0%,100%{translate:0 0}25%{translate:-6px 3px}50%{translate:5px -4px}75%{translate:-3px 2px}}
@media(prefers-reduced-motion:reduce){#unlock-scene,#unlock-scene *{animation:none!important}}
#unlock-guide{position:fixed;z-index:3400;width:min(340px,calc(100vw - 16px));padding:10px 14px 12px;background:#0a2133f2;border:1px solid #ffd866;border-radius:4px;box-shadow:0 6px 20px #0009;color:#f6f7ee;font-family:var(--font-read)}
#unlock-guide[hidden]{display:none}
#unlock-guide .ug-n{display:block;margin-bottom:2px;font-size:12px;color:#ffd866}
#unlock-guide p{margin:0 0 8px;font-size:15px;line-height:1.4}
#unlock-guide div{display:flex;gap:8px;justify-content:flex-end}
#unlock-guide button{min-height:44px;min-width:44px;padding:0 12px;font-size:14px;font-weight:700;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee}
#unlock-guide button[hidden]{display:none}
#unlock-guide button[data-ug=next]{background:#ffd866;color:#102a40;border-color:#ffe9a3}
#unlock-guide.ug-replay{left:50%;top:50%;translate:-50% -50%;z-index:3500;width:min(440px,calc(100vw - 32px));padding:16px 18px}
#unlock-guide.ug-replay p{font-size:17px;min-height:3em}
@media(max-height:500px){#unlock-guide{width:min(280px,calc(100vw - 16px));padding:8px 10px}#unlock-guide p{font-size:12px;margin-bottom:4px}#unlock-guide button{min-height:36px;font-size:12px;padding:0 8px}#unlock-guide.ug-replay{width:min(400px,calc(100vw - 32px))}#unlock-guide.ug-replay p{font-size:14px}}
html body #mega-panel #mega-help{position:absolute;top:16px;right:58px;z-index:2;width:36px;height:36px;border-radius:50%;border:2px solid #b8893a;background:#fff4d6;color:#6b4a00;font:900 18px/1 sans-serif;cursor:pointer}
@media (max-height:500px){html body #mega-panel #mega-help{top:12px;right:54px;width:32px;height:32px;font-size:16px}}
/* 결정 315-13·315-14(제안값): 다이맥스 고르기 화면 — 원작 구도(위 상대 이름·HP, 가운데 띠 알약 카드, 오른쪽 아래 둥근 DYNAMAX). 검정 바탕·분홍 포인트 */
#dmax-scene .dx-pick{position:absolute;inset:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr auto auto;pointer-events:none} /* 08 실게임 800×500: 후보 줄 폭이 칸을 넓혀 단추가 화면 밖으로 → 칸을 화면 폭에 고정 */
#dmax-scene .dx-pick.hidden{display:none}
#dmax-scene .dx-pick>*{pointer-events:auto}
#dmax-scene .dp-top{justify-self:center;margin-top:max(14px,2.5vh);text-align:center;pointer-events:none}
#dmax-scene .dp-top>b{display:block;font-size:clamp(24px,4vw,56px);font-weight:900;color:#fff;text-shadow:0 0 14px #e0306a,0 2px 0 #000}
#dmax-scene .dp-hp{display:block;width:min(34vw,560px);height:10px;margin:6px auto 0;border-radius:6px;background:#15151b;border:1px solid #e0306a99;overflow:hidden}
#dmax-scene .dp-hp>em{display:block;height:100%;background:#4fe07a}
#dmax-scene .dp-say{justify-self:center;margin:8px 16px 0;padding:6px 16px;border-radius:999px;background:#0d0d12d9;border:1px solid #e0306a99;font-size:clamp(14px,1.7vw,19px);font-weight:800;color:#f2f2f5;pointer-events:none}
#dmax-scene .dp-band{align-self:center;min-width:0;padding:clamp(10px,2.4vh,26px) 0;background:linear-gradient(90deg,#08080bee,#121218f5 50%,#08080bee);border-block:2px solid #e0306a}
#dmax-scene .dp-list{display:flex;gap:clamp(8px,1.2vw,18px);justify-content:safe center;overflow-x:auto;padding:4px max(16px,3vw);scrollbar-width:thin}
#dmax-scene .dp-pill{flex:0 0 auto;display:flex;align-items:center;gap:10px;min-width:clamp(200px,20vw,320px);min-height:64px;padding:6px 18px 6px 8px;border-radius:999px;border:2px solid #3a3a46;background:#0d0d12;color:#f2f2f5;text-align:left;cursor:pointer;position:relative}
#dmax-scene .dp-pill>img{width:clamp(44px,4.6vw,64px);height:clamp(44px,4.6vw,64px);object-fit:contain;image-rendering:pixelated}
#dmax-scene .dp-pill>span{display:grid;gap:2px;min-width:0}
#dmax-scene .dp-pill b{font-size:clamp(14px,1.4vw,18px)}
#dmax-scene .dp-vs{font-size:12px;color:#c8c8d2;line-height:1.3}
#dmax-scene .dp-vs>b{display:block;font-size:12px;color:#f2f2f5}
#dmax-scene .dp-pill[data-edge=good] .dp-vs>b{color:#5fe08a}
#dmax-scene .dp-pill[data-edge=bad] .dp-vs>b{color:#ff6b6b}
#dmax-scene .dp-vs span[data-eff="2"]{color:#5fe08a;font-weight:700}
#dmax-scene .dp-vs span[data-eff="0.5"],#dmax-scene .dp-vs span[data-eff="0.25"]{color:#ff6b6b}
#dmax-scene .dp-pill.on{border-color:#e0306a;box-shadow:0 0 0 2px #e0306a66,0 0 18px #e0306a88;background:#16161d}
#dmax-scene .dp-pill.on::before{content:'';position:absolute;left:-16px;top:50%;width:0;height:0;border-block:9px solid transparent;border-left:12px solid #fff;transform:translateY(-50%)}
#dmax-scene .dp-pill.dp-off{opacity:.42;filter:grayscale(1);cursor:not-allowed}
#dmax-scene .dp-pill em{font-style:normal;font-size:11px;font-weight:800;padding:1px 7px;border-radius:999px;justify-self:start}
#dmax-scene .dp-rec{background:#2a2a34;color:#f2f2f5;border:1px solid #e0306a99}
#dmax-scene .dp-mega{background:#3a2c08;color:#ffd866;border:1px solid #c9a43a}
#dmax-scene .dp-pill[data-mega]{border-color:#c9a43a}
#dmax-scene .dp-pill[data-mega].on{border-color:#e0306a}
#dmax-scene .dp-note{justify-self:center;align-self:start;margin:8px 16px 0;padding:6px 14px;border-radius:10px;background:#0d0d12e6;border:1px solid #c9a43a;color:#ffe9a3;font-size:clamp(13px,1.5vw,16px)}
#dmax-scene .dp-note[hidden]{display:none}
#dmax-scene .dp-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;min-width:0;padding:10px max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) 16px}
#dmax-scene .dp-act>button{min-height:44px;padding:6px 16px;border-radius:999px;border:1px solid #e0306a99;background:#111116e6;color:#f2f2f5;font-weight:800;font-size:15px}
#dmax-scene .dp-act>.dp-go{position:relative;width:clamp(96px,11vw,150px);height:clamp(96px,11vw,150px);padding:0;border-radius:50%;border:4px solid #e0306a;background:radial-gradient(circle,#2a0a18,#0b0b10 70%);box-shadow:0 0 22px #e0306a99;display:grid;place-items:center}
#dmax-scene .dp-go>img{position:absolute;inset:14%;width:72%;height:72%;object-fit:contain;opacity:.55}
#dmax-scene .dp-go>span{position:relative;font-size:clamp(14px,1.6vw,22px);font-weight:900;letter-spacing:.02em;color:#ff4f9a;text-shadow:0 0 8px #000,0 2px 0 #000}
#dmax-scene .dp-act>button:disabled{opacity:.4}
@media (max-height:500px){#dmax-scene .dp-top{margin-top:8px}#dmax-scene .dp-top>b{font-size:22px}#dmax-scene .dp-hp{height:7px}#dmax-scene .dp-say{margin-top:4px;padding:3px 12px;font-size:12px}#dmax-scene .dp-band{padding:6px 0}#dmax-scene .dp-pill{min-width:170px;min-height:52px;padding:4px 12px 4px 6px}#dmax-scene .dp-pill>img{width:40px;height:40px}#dmax-scene .dp-vs,#dmax-scene .dp-vs>b{font-size:10px}#dmax-scene .dp-note{margin-top:4px;padding:3px 10px;font-size:11px}#dmax-scene .dp-act{padding:4px 12px 8px}#dmax-scene .dp-act>button{min-height:36px;font-size:12px;padding:4px 12px}#dmax-scene .dp-act>.dp-go{width:72px;height:72px;border-width:3px}#dmax-scene .dp-go>span{font-size:12px}}
@media (prefers-reduced-motion:reduce){#dmax-scene .dp-pill{transition:none}}
#dmax-scene .dp-act>.dp-none{display:grid;line-height:1.15}
#dmax-scene .dp-none>small{font-size:11px;font-weight:600;color:#c8c8d2}
html body #mega-panel #mega-content>.dx-note{margin:0 0 8px;padding:6px 12px;border-radius:8px;background:#111116;border:1px solid #e0306a;color:#f2f2f5!important;font-size:13px;font-weight:700}
/* 결정 315-23(제안값): 고르기 전 큰 DYNAMAX 버튼(GPT 63 그림 오기 전 코드 도형 — 붉은 원 + 흰 X + 글자, 천천히 깜빡임) */
#dmax-scene .dp-gate{display:none}
#dmax-scene .dx-pick.gate .dp-gate{display:flex;flex-direction:column;align-items:center;gap:14px;position:absolute;left:50%;top:64%;transform:translate(-50%,-50%);pointer-events:auto}
#dmax-scene .dx-pick.gate :is(.dp-band,.dp-note,.dp-act){display:none}
#dmax-scene .dx-pick .dp-say{align-self:start} /* 08 점검 4-5: 문구 칸이 남은 높이로 늘어나 999px 모서리 때문에 큰 어두운 원이 되던 것 */
#dmax-scene .dp-act>.dp-none[hidden]{display:none} /* detail(게이지) 모드는 '원래 크기로 맞서기'가 대신하므로 '안 함' 숨김 */
#dmax-scene .dp-gate-go{position:relative;width:clamp(170px,15.6vw,300px);aspect-ratio:1;border-radius:50%;border:6px solid #ff4f9a;background:radial-gradient(circle at 50% 40%,#ff3a5a,#b3123e 62%,#5a0820);box-shadow:0 0 0 4px #0b0b10,0 0 34px #ff2a48cc;cursor:pointer;display:grid;place-items:center;animation:dp-gate 1.2s ease-in-out infinite}
#dmax-scene .dp-gate-go>i{position:absolute;inset:22%}
#dmax-scene .dp-gate-go>i::before,#dmax-scene .dp-gate-go>i::after{content:'';position:absolute;left:50%;top:8%;width:16%;height:84%;margin-left:-8%;border-radius:6px;background:#fff;box-shadow:0 0 10px #fff9;transform:rotate(38deg)}
#dmax-scene .dp-gate-go>i::after{transform:rotate(-38deg)}
#dmax-scene .dp-gate-go>span{position:absolute;bottom:-.2em;left:50%;transform:translateX(-50%);font-size:clamp(22px,2.6vw,36px);font-weight:900;letter-spacing:.03em;color:#fff;text-shadow:0 0 10px #ff2a48,0 3px 0 #000,0 0 2px #000}
/* 결정 315-25 ②: 첫 화면 단추 둘 — DYNAMAX(게이지 가득일 때만, 아니면 회색 + '게이지 72/100')·'원래 크기로 맞서기' 큰 알약(늘 켜짐). 목록 위 '다이맥스 게이지 n/100'. */
#dmax-scene .dp-gate-none{min-height:56px;min-width:min(320px,80vw);padding:8px 30px;border-radius:999px;border:2px solid #ff9ac0;background:linear-gradient(#1c1c24,#111116);color:#fff;font-weight:900;font-size:clamp(16px,1.4vw,20px);box-shadow:0 0 14px #e0306a55;cursor:pointer}
#dmax-scene .dp-gate-none:hover,#dmax-scene .dp-gate-none:focus-visible{border-color:#fff;box-shadow:0 0 18px #ff4f9aaa}
#dmax-scene .dp-gate-go:disabled{filter:grayscale(1) brightness(.6);animation:none;cursor:not-allowed;box-shadow:0 0 0 4px #0b0b10}
#dmax-scene .dp-gate-g{margin-top:6px;font:800 clamp(14px,1.2vw,18px) var(--font-game);color:#ffd0e4;text-shadow:0 2px 0 #000}
#dmax-scene .dp-gauge{margin:6px auto 0;width:max-content;padding:3px 14px;border-radius:999px;background:#111116d9;border:1px solid #e0306a99;font-size:13px;color:#f2f2f5}#dmax-scene .dp-gauge>b{font-family:var(--font-game);color:#ff8fb8}
@keyframes dp-gate{0%,100%{transform:scale(1);box-shadow:0 0 0 4px #0b0b10,0 0 24px #ff2a4899}50%{transform:scale(1.05);box-shadow:0 0 0 4px #0b0b10,0 0 46px #ff2a48}}
@media (prefers-reduced-motion:reduce){#dmax-scene .dp-gate-go{animation:none}}
@media (max-height:500px){#dmax-scene .dx-pick.gate .dp-gate{top:58%;gap:8px}#dmax-scene .dp-gate-go{width:130px;border-width:4px}#dmax-scene .dp-gate-go>span{font-size:18px}#dmax-scene .dp-gate-none{min-height:40px;min-width:220px;padding:4px 18px;font-size:14px}#dmax-scene .dp-gate-g{margin-top:2px;font-size:12px}#dmax-scene .dp-gauge{margin-top:3px;padding:1px 10px;font-size:11px}}
/* 결정 335-1 ①④ + 315-25 ①: 전투 시작 위 줄 — [다이맥스 게이지][메가 단추], 오른쪽 맞춤(MegaDock.place가 top·right를 정함) */
#hud-power{position:fixed;z-index:60;display:flex;align-items:center;gap:8px;pointer-events:none}
#hud-power[hidden]{display:none}#hud-power>*{pointer-events:auto}
#hud-power #mega-btn.mega-dock-btn{position:relative;width:var(--mb,64px);height:var(--mb,64px);min-height:0;padding:0;margin:0;border-radius:50%;border:3px solid #c0ffeb;background:radial-gradient(circle at 50% 38%,#1f5d74,#0d2738 70%);box-shadow:0 3px 10px #0008;font-size:0;color:transparent;overflow:visible;cursor:pointer;order:2}
#hud-power #mega-btn.mega-dock-btn[hidden]{display:none}
#hud-power #mega-btn .mgb-ico{position:absolute;inset:8%;width:84%;height:84%;object-fit:contain;pointer-events:none}
#hud-power #mega-btn[data-state=reserved]{border-color:#ffcf4a;box-shadow:0 0 0 3px #ffcf4a99,0 0 16px #ffcf4a,0 3px 10px #0008;animation:mgb-glow 1.6s ease-in-out infinite}
#hud-power #mega-btn .mgb-face{position:absolute;right:-6px;bottom:-6px;width:46%;height:46%;border-radius:50%;background:#f6f7ee;border:2px solid #ffcf4a;overflow:hidden;display:grid;place-items:center}
#hud-power #mega-btn .mgb-face img{width:130%;height:130%;object-fit:contain;image-rendering:pixelated}
#hud-power #mega-btn[data-state=locked]{border-color:#8a9098;filter:grayscale(1) brightness(.75)}
#hud-power #mega-btn .mgb-lock{position:absolute;right:-4px;bottom:-4px;width:40%;height:40%;border-radius:50%;background:#2a2f36;border:2px solid #b8bec6}
#hud-power #mega-btn .mgb-lock::before{content:'';position:absolute;left:30%;top:42%;width:40%;height:34%;border-radius:2px;background:#e8ecf0}
#hud-power #mega-btn .mgb-lock::after{content:'';position:absolute;left:36%;top:18%;width:28%;height:32%;border:2px solid #e8ecf0;border-bottom:0;border-radius:6px 6px 0 0;box-sizing:border-box}
#hud-power #mega-btn:not(:disabled):not([data-state=locked]):hover{filter:brightness(1.12)}
#hud-power #mega-btn:disabled{cursor:default}
#hud-power #mega-btn.mg-awaken::after{border-radius:50%;font-size:12px}
@keyframes mgb-glow{0%,100%{box-shadow:0 0 0 3px #ffcf4a99,0 0 10px #ffcf4a,0 3px 10px #0008}50%{box-shadow:0 0 0 3px #ffcf4acc,0 0 22px #ffcf4a,0 3px 10px #0008}}
#dmax-gauge{position:relative;width:var(--mg,48px);height:var(--mg,48px);order:1;filter:drop-shadow(0 2px 4px #0009)}
#dmax-gauge[hidden]{display:none}
#dmax-gauge>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#dmax-gauge>.dg-fill{-webkit-mask:conic-gradient(#000 var(--q,0deg),#0000 0);mask:conic-gradient(#000 var(--q,0deg),#0000 0)}
#dmax-gauge>.dg-glow{opacity:0}#dmax-gauge[data-full="1"]>.dg-glow{opacity:1}
#dmax-gauge.dg-flash{animation:dg-flash .9s ease-out}
@keyframes dg-flash{0%{transform:scale(1)}30%{transform:scale(1.25);filter:drop-shadow(0 0 12px #ff4f9a) brightness(1.6)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){#hud-power #mega-btn[data-state=reserved],#dmax-gauge.dg-flash{animation:none}}
/* 결정 335-1 ③: 메가 패널 탭 '메가 예약'·'스톤 상점' */
#mega-content>.mgt-bar{display:flex;gap:6px;margin:0 0 10px;border-bottom:1px solid #a6bde655}
#mega-panel #mega-content>.mgt-bar>button{flex:1;min-height:40px;cursor:pointer;filter:brightness(.62) saturate(.6);transition:filter .12s}
#mega-panel #mega-content>.mgt-bar>button[aria-selected=true]{filter:none;box-shadow:0 0 0 2px #ffd866,0 0 10px #ffd86699}
#mega-panel #mega-content>.mgt-bar>button:not([aria-selected=true]):hover{filter:brightness(.8)}
#mega-content[data-tab=reserve]>.mgt-shop{display:none!important}
#mega-content[data-tab=shop]>.mgt-res{display:none!important}
#mega-content>.mgt-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
#mega-content>.mgt-list>button{min-height:56px;display:flex;align-items:center;gap:8px;justify-content:flex-start;font-weight:800}
#mega-content>.mgt-list>button>img{width:32px;height:32px;image-rendering:pixelated}
#mega-content>.mgt-note{margin:8px 0 0;color:#d0e0e4;font-size:14px}
/* 결정 336: 메가진화 정지 연출 덮개(MegaCinema) — 전투판·HUD 위, 다이맥스 덮개 아래 */
#mega-cinema{position:fixed;inset:0;z-index:3500;cursor:pointer}
#mega-cinema[hidden]{display:none}
#mega-cinema>canvas{position:absolute;inset:0;width:100%;height:100%}
#mega-cinema>.mc-skip{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:40px;padding:6px 14px;border-radius:10px;border:1px solid #ffcf4a;background:#111116cc;color:#fff2c8;font-weight:800}
/* 승인 대기 그림 분기(ArtGate): html[data-art-dmax="1"]·[data-art-mega="1"]일 때만 GPT 그림, 아니면 코드 도형 */
/* 63-2 게이지: 그림 없으면 코드 고리(진행률 conic) + 가운데 'D' */
html:not([data-art-dmax="1"]) #dmax-gauge>img{display:none}
html:not([data-art-dmax="1"]) #dmax-gauge{border-radius:50%;background:conic-gradient(#ff4f9a var(--q,0deg),#3a1626 0);box-shadow:0 0 0 2px #0b0b10,0 2px 6px #0009}
html:not([data-art-dmax="1"]) #dmax-gauge::after{content:'D';position:absolute;inset:18%;border-radius:50%;background:#16161d;color:#ff8fb8;display:grid;place-items:center;font:900 calc(var(--mg,48px)*.38)/1 var(--font-game)}
html:not([data-art-dmax="1"]) #dmax-gauge[data-full="1"]{box-shadow:0 0 0 2px #0b0b10,0 0 14px #ff4f9a}
/* 64-B 메가 단추: 그림이면 상태별 그림 1장(얼굴은 그림 아래 층, 중심 103,91·지름 26 / 128) */
#hud-power #mega-btn .mgb-art{display:none}
html[data-art-mega="1"] #hud-power #mega-btn.mega-dock-btn{border:0;background:none;box-shadow:none;filter:none;animation:none}
html[data-art-mega="1"] #hud-power #mega-btn .mgb-art{display:block;position:absolute;inset:0;z-index:1;background:url('assets/ui-battle-start/set64c/mega_btn_ready.webp') center/contain no-repeat;pointer-events:none}
html[data-art-mega="1"] #hud-power #mega-btn[data-state=reserved] .mgb-art{background-image:url('assets/ui-battle-start/set64c/mega_btn_reserved.webp')}
html[data-art-mega="1"] #hud-power #mega-btn[data-state=locked] .mgb-art{background-image:url('assets/ui-battle-start/set64c/mega_btn_locked.webp')}
html[data-art-mega="1"] #hud-power #mega-btn:not(:disabled):not([data-state=locked]):hover .mgb-art::after{content:'';position:absolute;inset:0;background:url('assets/ui-battle-start/set64c/mega_btn_hover_glow.webp') center/contain no-repeat}
html[data-art-mega="1"] #hud-power #mega-btn :is(.mgb-ico,.mgb-lock){display:none}
html[data-art-mega="1"] #hud-power #mega-btn .mgb-face{z-index:0;left:73.4%;top:71.9%;right:auto;bottom:auto;width:15.6%;height:15.6%;border:0} /* 64-C 얼굴 자리: 중심 104,102·반지름 10 / 128, 그림 아래 층 */
/* 64-B 패널 탭·상점 카드(border-image, 글자는 DOM) */
html[data-art-mega="1"] #mega-panel #mega-content>.mgt-bar>button{border:12px solid transparent;border-image:url('assets/mega/ui/tab_idle.webp') 32 fill/16px stretch;background:none;filter:none}
html[data-art-mega="1"] #mega-panel #mega-content>.mgt-bar>button[aria-selected=true]{border-image-source:url('assets/mega/ui/tab_active.webp');box-shadow:none}
html[data-art-mega="1"] #mega-panel #mega-content>.mgt-list>button{border:16px solid transparent;border-image:url('assets/mega/ui/shop_card.webp') 32 fill/16px stretch;background:none}
/* 63-2 DYNAMAX 버튼: 상태별 통합 그림(문양·글자·빛 포함) — 코드 글자·문양 숨김. 첫 화면 PC 400·휴대폰 180, 확정 PC 200·휴대폰 100 */
html[data-art-dmax="1"] #dmax-scene .dp-gate-go{width:400px;aspect-ratio:1;border:0;border-radius:50%;background:url('assets/dynamax/ui/dmax_btn_normal.webp') center/contain no-repeat;box-shadow:none}
html[data-art-dmax="1"] #dmax-scene .dp-gate-go:active{background-image:url('assets/dynamax/ui/dmax_btn_pressed.webp')}
html[data-art-dmax="1"] #dmax-scene .dp-gate-go:disabled{background-image:url('assets/dynamax/ui/dmax_btn_disabled.webp');filter:none}
html[data-art-dmax="1"] #dmax-scene .dp-gate-go>:is(i,span){display:none}
html[data-art-dmax="1"] #dmax-scene .dx-pick:not([data-mode=normal]) .dp-act>.dp-go{width:200px;height:200px;border:0;background:url('assets/dynamax/ui/dmax_btn_normal.webp') center/contain no-repeat;box-shadow:none}
html[data-art-dmax="1"] #dmax-scene .dx-pick:not([data-mode=normal]) .dp-act>.dp-go:active{background-image:url('assets/dynamax/ui/dmax_btn_pressed.webp')}
html[data-art-dmax="1"] #dmax-scene .dx-pick:not([data-mode=normal]) .dp-go>:is(img,span){display:none}
@media (max-height:500px){html[data-art-dmax="1"] #dmax-scene .dp-gate-go{width:180px}html[data-art-dmax="1"] #dmax-scene .dx-pick:not([data-mode=normal]) .dp-act>.dp-go{width:100px;height:100px}}
/* 결정 342-3: 칸 넘김 검정 페이드(StageFade) — 전투판·HUD 위, VS·다이맥스·메가 연출 덮개 아래 */
#stage-fade{position:fixed;inset:0;z-index:3400;background:rgba(10,12,22,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition-property:opacity;transition-timing-function:ease}
/* 결정 342-5 64-C 게이지 그리는 순서: 테두리 → 채움(진행률) → 밴드 → 가득 빛 */
#dmax-gauge>.dg-frame{z-index:0}#dmax-gauge>.dg-fill{z-index:1}#dmax-gauge>.dg-band{z-index:2}#dmax-gauge>.dg-glow{z-index:3}
/* 결정 342-5 GPT 64-C '전투!' 버튼(사용자 미관 승인): PC 240×56·휴대폰 124×44(GPT 144 → 왼쪽 '접기' 단추와 겹쳐 가로만 줄임, 9-slice) 9-slice(28→14 / 22→11), 주먹 아이콘(32/24)+'전투!'(26/21px #FFF4E0) 가운데 묶음.
   상태: 기본·마우스 올림·눌림·비활성(PC 4, 휴대폰 3 — 휴대폰 올림 없음). 비활성 사유는 PC만 버튼 아래 한 줄(08 dataset.reason → 03 BattleGate.TEXT), 휴대폰은 title. 판이 꽉 찼을 때 맥동은 64-C에 없어 뺌 */
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c{--b64:url('assets/ui-battle-start/set64c/start_pc_normal.webp');width:var(--bs-w,240px)!important;height:56px!important;aspect-ratio:auto;border:14px solid transparent!important;border-image:var(--b64) 28 fill / 14px stretch!important;background:none!important;box-shadow:none!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;gap:10px;animation:none!important;color:#FFF4E0!important;overflow:visible}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c:not(:disabled):hover{--b64:url('assets/ui-battle-start/set64c/start_pc_hover.webp');filter:none!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c:not(:disabled):active{--b64:url('assets/ui-battle-start/set64c/start_pc_pressed.webp')}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=disabled]{--b64:url('assets/ui-battle-start/set64c/start_pc_disabled.webp');color:#52616A!important;cursor:default}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c>span:not(.deploy-triangle){position:static!important;inset:auto!important;transform:none!important;font:700 26px/1 'Malgun Gothic','Apple SD Gothic Neo',sans-serif!important;color:inherit!important;text-shadow:none!important;letter-spacing:0!important;width:auto!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c>.bs-fist{display:block;flex:none;width:32px;height:32px;background:url('assets/ui-battle-start/set64c/battle_fist_ready.webp') center/contain no-repeat}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=disabled]>.bs-fist{background-image:url('assets/ui-battle-start/set64c/battle_fist_disabled.webp')}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c:not(:disabled):active>:is(span,.bs-fist){transform:translateY(1px)!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c>small{display:none!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-reason-text]:not([data-reason-text=""])::after{content:attr(data-reason-text);position:absolute;left:50%;top:calc(100% + 18px);transform:translateX(-50%);white-space:nowrap;font:700 13px/1.2 'PT Read',sans-serif;color:#f2f7f8;text-shadow:0 1px 2px #000,0 0 3px #000;pointer-events:none}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile]{--b64:url('assets/ui-battle-start/set64c/start_mobile_normal.webp');width:124px!important;height:44px!important;margin-left:calc(100% - 124px)!important;border-width:11px!important;border-image:var(--b64) 22 fill / 11px stretch!important;gap:8px}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile]:not(:disabled):active{--b64:url('assets/ui-battle-start/set64c/start_mobile_pressed.webp')}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile][data-bs=disabled]{--b64:url('assets/ui-battle-start/set64c/start_mobile_disabled.webp')}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile]>span:not(.deploy-triangle){font-size:21px!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile]>.bs-fist{width:24px;height:24px}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs-size=mobile]::after{display:none}
/* 결정 189-1: 판 인원이 꽉 차면(ready) 64-C '전투!' 그림 위에 금빛 맥동(그림은 그대로, 1.4초 주기·밝기 제안값). 동작 줄이기면 약한 정지 빛 */
@property --bs-g{syntax:'<length>';inherits:false;initial-value:2px}@property --bs-a{syntax:'<number>';inherits:false;initial-value:.45}
/* 기본 규칙(344행)이 filter:none!important라 filter 자체는 애니메이션이 못 이김 → 빛 반경·세기 변수를 움직이고 filter는 !important로 그 변수를 씀 */
/* 결정 364-⑦(v0.12.12, 관리자 승인): 위 변수 filter 맥동은 매 프레임 스타일 재계산 + filter 다시 그리기(합성기 처리 불가) → 빛은 ::before 별도 층(바깥 box-shadow만, 그림 안은 안 칠함)에 미리 그려 두고 opacity·transform만 움직인다. 보이는 금빛 반경·색·1.4초 주기는 그대로 */
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]{filter:drop-shadow(0 0 2px rgba(255,248,200,.35))!important;animation:none!important;position:relative!important}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]::before{content:'';position:absolute;inset:-11px;border-radius:10px;pointer-events:none;box-shadow:0 0 3px 1px rgba(255,248,200,1),0 0 9px 4px rgba(255,214,60,1),0 0 20px 8px rgba(255,176,0,.95),0 0 30px 12px rgba(255,176,0,.6);opacity:.3;will-change:opacity,transform;animation:bs64c-glow 1.4s ease-in-out infinite}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready][data-bs-size=mobile]::before{inset:-9px;border-radius:8px}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready][data-bs-calm]::before{display:none}
@keyframes bs64c-glow{0%,100%{opacity:.3;transform:none}50%{opacity:1;transform:scale(1.015,1.06)}}
/* 고점 밝기 +10%(옛 brightness): 그림 안쪽 ::after(#171717 color-dodge = 색×1.1)의 opacity만(합성기 처리). PC ::after는 '못 하는 이유' 글자 자리라 이유 글자가 없을 때만 */
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]:is(:not([data-reason-text]),[data-reason-text=""])::after{content:'';display:block;position:absolute;inset:-8px;border-radius:8px;background:#171717;mix-blend-mode:color-dodge;pointer-events:none;opacity:0;will-change:opacity;animation:bs64c-lift 1.4s ease-in-out infinite}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready][data-bs-size=mobile]::after{inset:-6px;border-radius:6px}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready][data-bs-calm]::after{display:none}
@media(prefers-reduced-motion:reduce){html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]::after{display:none}}
@keyframes bs64c-lift{0%,100%{opacity:0}50%{opacity:1}}
html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready][data-bs-calm]{animation:none!important;filter:drop-shadow(0 0 3px rgba(255,214,90,.6))!important}
@media(prefers-reduced-motion:reduce){html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]{animation:none!important;filter:drop-shadow(0 0 3px rgba(255,214,90,.6))!important}html body #shared-shop-dock #dock-start #battle-btn.bs189.bs64c[data-bs=ready]::before{display:none}}
@keyframes bs64c-gold{0%,100%{--bs-g:3px;--bs-a:.35}50%{--bs-g:14px;--bs-a:1}}
/* 결정 353-2: 코스트 칩 8(금)·12(무지개) — 상점 카드·대기석은 8·12만 칩으로 강조(1~4는 지금 모양 그대로), 공용 .cost-chip은 06 확률표 머리용 */
.cost-chip{display:inline-block;min-width:24px;height:19px;padding:0 4px;border-radius:5px;background:var(--cc,#A4ACB8);color:#10202a;font:800 13px/19px 'PT Read',sans-serif;font-style:normal;text-align:center;box-sizing:border-box;font-variant-numeric:tabular-nums}
/* 결정 357: 8·12는 GPT 65-A2 칩 그림(assets/ui/hud65a/cost_chip_{8,12}.webp, 24×24 원형·글자 없음) 위에 게임이 숫자를 쓴다. 그림이 없을 때만 아래 코드 그라데이션이 보인다 */
.cost-chip[data-cost="8"],.cost-chip[data-cost="12"],:is(.shop-cost,.bench-cost)[data-legend="1"]:is([data-cost="8"],[data-cost="12"]){--chip:url('assets/ui/hud65a/cost_chip_8.webp');display:inline-block;width:24px;min-width:24px;height:24px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--chip) center/100% 100% no-repeat,linear-gradient(135deg,#fff1b0,#e7bb4d 45%,#b7862a 70%,#ffe08a)!important;color:#1a1206!important;font:900 12px/24px 'PT Read',sans-serif!important;font-style:normal;text-align:center;text-shadow:0 0 2px #fff,0 0 1px #fff!important;box-shadow:none!important;box-sizing:border-box;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.cost-chip[data-cost="12"],:is(.shop-cost,.bench-cost)[data-legend="1"][data-cost="12"]{--chip:url('assets/ui/hud65a/cost_chip_12.webp');background:var(--chip) center/100% 100% no-repeat,conic-gradient(#ff6b6b,#ffd23f,#5ce08a,#4fb3ff,#b07cff,#ff6bd5,#ff6b6b)!important;color:#14121c!important}
:is(.shop-cost,.bench-cost)[data-legend="1"]:is([data-cost="8"],[data-cost="12"])::before{content:none!important}
body.mobile-ui :is(.shop-cost,.bench-cost)[data-legend="1"]:is([data-cost="8"],[data-cost="12"]){width:20px;min-width:20px;height:20px;font-size:11px!important;line-height:20px!important}
.odds-mini.m thead .cost-chip:is([data-cost="8"],[data-cost="12"]){width:20px;min-width:20px;height:20px;font-size:11px!important;line-height:20px!important} /* 06 휴대폰 확률표(.odds-mini.m 머리 17px)에서도 원형 유지 */
/* 결정 354·354-2: 타입 상성표 — 상단 배지 옆 '상성' 글자 단추 + 왼쪽 사이드 패널(모달 아님, 여백 최소). console-v51.js TypeChart */
#type-chart-btn{flex:none;height:44px;min-width:52px;padding:0 10px;margin-left:0;border:2px solid #6fb7e4;border-radius:10px;background:linear-gradient(180deg,#1d4774,#10284a);color:#fff3c4;font:800 16px/1 'PT Read','Malgun Gothic',sans-serif;letter-spacing:.02em;cursor:pointer;box-shadow:0 2px 0 #0a1830}
#type-chart-btn[hidden]{display:none}
#type-chart-btn.on{background:linear-gradient(180deg,#f2c75a,#c98f22);color:#2a1a04;border-color:#ffe39a}
body.mobile-ui #type-chart-btn{height:40px;min-width:44px;padding:0 7px;margin:2px 0 0 4px;font-size:14px;border-radius:8px}
#type-chart{position:fixed;left:8px;z-index:60;display:flex;flex-direction:column;background:rgba(10,26,50,.97);border:1.5px solid #6fb7e4;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.4);padding:4px 5px 5px;color:#eaf4ff}
#type-chart[hidden]{display:none}
#type-chart header{display:flex;align-items:center;gap:6px;padding:0 1px 3px}
#type-chart h2{margin:0;font:800 14px/1 'PT Read','Malgun Gothic',sans-serif}
#type-chart header small{flex:1;color:#a9c8e6;font-size:11px;white-space:nowrap}
/* 관리자 11-05(03 확인): 상성은 일반 공격 미적용 — 표 머리 안내. width:0+min-width:100%로 표 폭을 넓히지 않고 줄바꿈 */
#type-chart .tc-note{width:0;min-width:100%;margin:0 0 4px;padding:3px 5px;border-radius:5px;background:rgba(255,214,90,.14);color:#ffe8a8;font:700 11px/1.35 'PT Read','Malgun Gothic',sans-serif;word-break:keep-all}
#type-chart.m .tc-note{font-size:10px;padding:2px 4px;margin-bottom:3px}
#type-chart-close{width:26px;height:26px;border-radius:50%;border:1.5px solid #6fb7e4;background:#0d2240;color:#fff;font-size:17px;line-height:1;padding:0;cursor:pointer}
#type-chart .tc-grid{display:flex;flex-direction:column;gap:2px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
#type-chart .tc-row{display:flex;align-items:center;gap:4px;padding:1px 3px 1px 1px;border-radius:6px;background:rgba(40,110,170,.28)}
#type-chart .tc-atk{flex:none;padding-right:4px;border-right:1px solid rgba(111,183,228,.6);display:flex}
#type-chart .tc-vs{display:flex;gap:2px;min-height:26px;align-items:center}
#type-chart .tc-vs i{display:contents}
#type-chart .type-symbol{width:26px;height:26px;flex:none;display:inline-grid;place-items:center}
#type-chart .type-symbol img{width:100%;height:100%}
#type-chart .tc-none{width:20px;height:20px;margin:0 3px;border-radius:50%;border:3px solid #e0475a;background:linear-gradient(135deg,transparent 42%,#e0475a 42% 58%,transparent 58%),#fff;box-sizing:border-box}
#type-chart.m{left:4px;padding:3px 3px 4px;border-radius:8px}
#type-chart.m header small{display:none}
#type-chart.m h2{font-size:12px}
#type-chart.m #type-chart-close{width:28px;height:28px}
#type-chart.m .tc-row{gap:3px}
/* 결정 360 ③(실기기): 06 XP 미리보기 (i) 단추(#buy-xp-info, 844에선 레벨 블록 위 왼쪽)가 왼쪽 상성 패널에 가림 →
   상성 패널이 열려 있으면 패널 바로 오른쪽으로(06 인라인 left보다 !important가 셈, 위아래·크기는 06 그대로) */
html body.mobile-ui.tc-open #buy-xp-info{left:calc(var(--tc-right,170px) + 6px)!important}
#type-chart.m .tc-vs{min-height:22px}
#type-chart.m .type-symbol{width:22px;height:22px}
#type-chart.m .tc-none{width:16px;height:16px;border-width:2.5px}
/* 결정 364 ⑦(02 성능 감사): backdrop-filter 24곳은 저사양 GPU 합성 비용이 큼 → 휴대폰 UI·저사양(body.low-fx)에선 끈다. 반투명 배경은 그대로 */
body:is(.mobile-ui,.low-fx) *,body:is(.mobile-ui,.low-fx) *::before,body:is(.mobile-ui,.low-fx) *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* 결정 395-1: 목표 추천(가방 재료 없음)은 흐린 아이콘·점선 — 지금 만들 수 있는 06 추천과 구분. 좁은 카드에서도 '(목표)'는 보인다 */
html body #unit-side .gear-advice[data-goal] .ga-row>:first-child,html body .gear-advice[data-goal] .ga-row>:first-child{opacity:.6;filter:grayscale(.5)}
html body .gear-advice[data-goal] .ga-row:not([data-own=have],[data-own=other],[data-own=craft]){border-color:transparent!important} /* 관리자 승인 2026-10-27: 목표 행 점선 상자 제거 — 테두리는 보유 신호에만 */
html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice[data-goal] h4 small{display:inline!important;font-size:10px}
/* 결정 395 ①: 판 위 카드(#unit-popover)의 장비 추천은 '장비 추천' + 아이콘 한 줄(이름·이유는 title) — 카드 높이 약 24px만 늘어남 */
html body #unit-popover .up-gear{margin-top:6px}
html body #unit-popover .gear-advice{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0;background:none;white-space:nowrap;overflow:hidden}
html body #unit-popover .gear-advice h4{margin:0 2px 0 0;font:700 12px/1 'PT Read',sans-serif;flex:none}
html body #unit-popover .gear-advice:not([data-goal]) h4 small{display:none}
html body #unit-popover .gear-advice h4 small{font-size:10px}
html body #unit-popover .gear-advice .ga-row{display:flex;margin:0;padding:0;border:0;background:none;min-height:0}
html body #unit-popover .gear-advice .ga-row :is(b,small){display:none}
html body #unit-popover .gear-advice .ga-row>:first-child{width:22px!important;height:22px!important}
html body #unit-popover .gear-advice p{margin:0;font-size:11px;overflow:hidden;text-overflow:ellipsis}
/* 결정 397-1: 전설 사본 강화·8코 진행 — 카드 자리 배지 + 화면 위 배너(1.6~1.8초) */
#legend-up-banner{position:fixed;left:50%;top:16%;z-index:9000;transform:translate(-50%,-8px);padding:10px 22px;border-radius:14px;background:linear-gradient(90deg,#3a1d5a,#6b3fa0,#3a1d5a);border:2px solid #ffd76a;color:#fff6d8;font:700 20px/1.2 'PT Read',sans-serif;text-shadow:0 1px 2px #0008;box-shadow:0 6px 24px #0007;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;white-space:nowrap}
#legend-up-banner.on{opacity:1;transform:translate(-50%,0)}
body.mobile-ui #legend-up-banner{top:22%;font-size:15px;padding:7px 14px}
.legend-up-badge{position:fixed;z-index:8999;transform:translate(-50%,-50%);padding:3px 9px;border-radius:10px;background:#ffd76a;color:#3a1d5a;font:900 16px/1 'PT Read',sans-serif;box-shadow:0 0 0 2px #fff,0 0 16px #ffd76acc;pointer-events:none;animation:legendUp 1.6s ease-out forwards}
@keyframes legendUp{0%{opacity:0;transform:translate(-50%,-30%) scale(.6)}15%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}70%{opacity:1;transform:translate(-50%,-80%) scale(1)}100%{opacity:0;transform:translate(-50%,-110%) scale(1)}}
@media (prefers-reduced-motion:reduce){.legend-up-badge{animation:none}}
/* 결정 405: 대기석 코스트 숫자(8px)가 안 보임 → 상점 확률표와 같은 65-A 코스트 구슬(1~4 그림, 5·전설 아닌 8·12는 같은 크기 단색 원). 전설 8·12 특별 칩(389)은 위 규칙 그대로 */
html body.playing .bench-slot .bench-cost:not([data-legend="1"]){position:absolute!important;top:2px!important;right:2px!important;left:auto!important;bottom:auto!important;z-index:3;display:block!important;width:20px;min-width:20px;height:20px;padding:0!important;border:0!important;border-radius:50%!important;background:url('assets/ui/hud65a/cost_chip_1.webp') center/100% 100% no-repeat,#A4ACB8!important;color:#10202a!important;font:800 12px/20px 'PT Read',sans-serif!important;text-align:center;text-shadow:0 0 2px #fff!important;box-shadow:0 1px 2px #0006}
html body.playing .bench-slot .bench-cost[data-cost="2"]:not([data-legend="1"]){background-image:url('assets/ui/hud65a/cost_chip_2.webp')!important;background-color:#47B26D!important}
html body.playing .bench-slot .bench-cost[data-cost="3"]:not([data-legend="1"]){background-image:url('assets/ui/hud65a/cost_chip_3.webp')!important;background-color:#3B94DB!important}
html body.playing .bench-slot .bench-cost[data-cost="4"]:not([data-legend="1"]){background-image:url('assets/ui/hud65a/cost_chip_4.webp')!important;background-color:#A66ADA!important}
html body.playing .bench-slot .bench-cost:not([data-legend="1"]):not([data-cost="1"]):not([data-cost="2"]):not([data-cost="3"]):not([data-cost="4"]){background-image:none!important;background-color:#E7BB4D!important}
html body.playing .bench-slot .bench-cost:not([data-legend="1"])::before{content:none!important}
html body.playing.mobile-ui .bench-slot .bench-cost:not([data-legend="1"]){width:17px;min-width:17px;height:17px;font-size:10px!important;line-height:17px!important;top:1px!important;right:1px!important}
/* 결정 417: 가방 수 칸(#pc-bag-count)이 '#pc-equipment-icons button{width:44px}'에 걸려 그림 40px+'4/8'이 칸 밖으로 넘쳐 오른쪽 도감(제작 책)에 가렸다 → 내용 폭만큼 */
html body #pc-equipment-icons #pc-bag-count{width:auto!important;min-width:max-content!important;padding-right:4px!important;flex:none}
/* 결정 418: 판 위 카드(#unit-popover)는 오른쪽 안쪽 여백 0·overflow hidden이라 HP 4자리·추천 문장 끝 글자가 테두리에 잘렸다 → 오른쪽 여백 12px, 추천 줄의 문장(칸 가득 등)은 줄바꿈 */
html body #unit-popover{padding-right:12px!important;box-sizing:border-box}
html body #unit-popover .gear-advice:has(p){flex-wrap:wrap;white-space:normal}
html body #unit-popover .gear-advice p{flex:1 1 100%;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.3}
/* unit-side 시험(본문 글자 12px 이상): 정보 카드 장비 추천의 06 이유(11px)·접힌 카드 '(목표)'(10px)·머리(11px)를 12px로 */
html body #unit-side .gear-advice :is(h4,h4 small,.ga-row small,p){font-size:12px!important}
/* 결정 426-1(사용자 결정 B): 배틀 타워 창은 화면 아래(상점 줄과 겹침) 대신 HUD 바로 아래 가운데 띠, 전투 중엔 숨김. 휴대폰은 한 줄(제목·층·도전/나가기, HP·최고 줄은 숨김) */
html body.frontier-active #frontier-bar{top:calc(env(safe-area-inset-top,0px) + 96px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
html body.frontier-fight #frontier-bar{display:none!important}
html body.mobile-ui.frontier-active #frontier-bar{top:calc(env(safe-area-inset-top,0px) + 50px)!important;flex-direction:row!important;align-items:center!important;gap:6px!important;padding:2px 6px!important;max-width:calc(100vw - 260px)!important}
html body.mobile-ui.frontier-active #frontier-bar :is(.fb-row,#frontier-result){padding-top:0!important;padding-bottom:0!important;margin:0!important}
html body.mobile-ui.frontier-active #frontier-result{border:0!important;padding:0 4px!important;gap:0 8px!important}
html body.mobile-ui.frontier-active :is(#frontier-result-detail,#frontier-state){display:none!important}
/* 결정 426-1 보완(관리자 위임 승인): 휴대폰 타워 띠 안 버튼만 40px 예외(44px 규칙), 띠를 HUD 바로 밑(47px)으로 — 판 맨 윗줄 적 HP 막대를 안 가리게 */
html body.mobile-ui.frontier-active #frontier-bar{top:calc(env(safe-area-inset-top,0px) + 47px)!important;padding-top:1px!important;padding-bottom:1px!important}
html body.mobile-ui.frontier-active #frontier-bar button{min-height:40px!important;height:40px!important;padding-top:0!important;padding-bottom:0!important}
html body.mobile-ui.frontier-active #frontier-bar .fb-row{flex-wrap:nowrap!important;white-space:nowrap!important;align-items:center!important;gap:6px!important} /* 426-1: 상점 런 줄이 접혀 71px이 되던 것 */
/* 결정 422 ④(02 재현): ① 1180 등 work-pc-hud가 아닌 PC 배치에서 가방 수 칸이 버튼 공통 grid를 받아 '3/8'이 그림 아래로 내려감 → 가로 flex ② 휴대폰 가방 단추 ::after 개수 상자가 아이콘을 덮음 → 상자 없이 글자 테두리만, 아이콘 오른쪽 밖으로 */
html body #pc-equipment-icons #pc-bag-count{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important}
html body.mobile-ui [data-dock=toggle]::after{background:none!important;padding:0!important;right:-10px!important;bottom:-4px!important;font-weight:800;font-size:11px!important;color:#fff!important;text-shadow:0 0 2px #000,0 0 2px #000,0 1px 2px #000!important}
/* 01 v0.12.10 회귀(frontier-bar): 휴대폰 결과 화면에서 띠 내용(결과 제목+층 글자+러시 진행+HP·BP+나가기)이 최대 폭 584px을 넘어 '나가기'가 잘린 곳에 놓여 눌리지 않던 것 → 결과 중엔 결과 제목과 겹치는 층 글자·러시 진행 줄을 숨김 */
html body.mobile-ui.frontier-active #frontier-bar.fb-result .fb-row>:is(div:first-of-type,#frontier-rush){display:none!important}
/* v0.12.10 긴급(01·02 재현, 04 730ed3bf에서 띠 폭만 떼어냄): 휴대폰 상점 런 띠가 예전 오른쪽 패널 폭 196px을 받아 도전·나가기가 14px로 눌려 띠 밖에서 잘리던 것 → 내용 폭 */
html body.mobile-ui.frontier-active #frontier-bar{width:max-content!important}
/* 결정 427: 받은 증강 목록 — 띠 '받은 증강 n' 버튼 + 띠 바로 아래 목록 창(아이콘·이름·설명·중복 횟수·합계). 합계는 08 augmentTotals 값, 없으면 '집계 대기' */
#frontier-bar #frontier-aug-list b{display:inline-block;min-width:18px;margin-left:2px;color:#ffd866}#frontier-aug-list[hidden]{display:none!important}
#frontier-aug-held{position:fixed;z-index:3250;left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 140px);overflow:auto;box-sizing:border-box;padding:10px 12px;background:#0a2133f7;border:1px solid #b7f9ec66;color:#f6f7ee;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
#frontier-aug-held[hidden]{display:none}
#frontier-aug-held header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}#frontier-aug-held h2{margin:0;font-family:var(--font-read);font-size:18px;font-weight:800;color:#fff4cf}
#frontier-aug-held header button{min-width:44px;min-height:44px;background:#16304a;border:1px solid #b7f9ec66;color:#f6f7ee;font-size:16px}
#frontier-aug-held ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
#frontier-aug-held li{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:6px 8px;background:#16304a99;border:1px solid #b7f9ec33}
#frontier-aug-held .fa-icon{width:40px;height:40px}#frontier-aug-held .fa-icon img{width:28px;height:28px;image-rendering:pixelated}#frontier-aug-held .fa-icon b{font-size:16px;color:#fff4cf}
#frontier-aug-held li strong{font-size:15px;color:#fff4cf}#frontier-aug-held li small{margin-left:6px;font-size:12px;color:#b7f9ec}#frontier-aug-held li p{margin:2px 0 0;font-size:13px;line-height:1.35;color:#d0e0e4}
#frontier-aug-held .fah-sum{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}#frontier-aug-held .fah-sum b{font-size:15px;color:#ffd866}#frontier-aug-held .fah-sum em{font-style:normal;font-size:13px;font-weight:700;color:#fff4cf}#frontier-aug-held .fah-sum.wait em{font-size:12px;font-weight:400;color:#9fb6bd}
#frontier-aug-held .fah-note{margin:8px 0 0;font-size:12px;color:#9fb6bd}
html body.frontier-fight #frontier-aug-held{display:none!important}
@media(max-height:500px){#frontier-aug-held{max-height:calc(100vh - 100px);padding:6px 8px}#frontier-aug-held h2{font-size:15px}#frontier-aug-held li{padding:4px 6px;gap:8px}#frontier-aug-held li p{font-size:12px}}
html body.mobile-ui.frontier-active #frontier-bar #frontier-aug-list span{display:none}
/* 결정 427 보완: 휴대폰 상점 런 띠가 예전 오른쪽 패널 폭(196px, 위 max-height:500 규칙)을 받아 도전·나가기·받은 증강이 띠 밖에서 잘리던 것 → 내용 폭. 증강 아이콘 줄은 '받은 증강 n' 버튼으로 대신 */
html body.mobile-ui.frontier-active #frontier-bar #frontier-augs{display:none!important}
html body.mobile-ui.frontier-active #frontier-bar .fb-row>:is(div:first-child,button){flex:none!important}
/* 결정 408 보조(08 요청): 전역 토스트(z-index 40)가 이벤트 창(#encounter-event 140)·설정·도감·타워 창 등 모달 뒤에 가려 이유 문구가 안 보이던 것 → 일반 창(최고 #console-v51 3600·전설 배너 9000)보다 위, 연출 장면(#unlock-scene 9300~)보다 아래 */
html body #global-toast{z-index:9200!important}
/* 카드 등장·선택 연출(사용자 요청 2026-10-27, 관리자 승인, 시간 제안값) — 동작은 console-v51.js PickFX(306 PickFlow 위). 홀로 색·무늬는 CSS '임시', 05 GPT 홀로 포일이 오면 .pkx-art에 그 그림 */
.pk-card>.pkx-cover{--x:22px;--y:22px;--w:376px;--h:508px;z-index:9;pointer-events:none;overflow:hidden;border-radius:calc(var(--s)*22px);opacity:0;animation:pkx-cover-out var(--pkx-ms,600ms) ease-in both;animation-delay:calc(var(--pk-d,100ms) + 200ms)}
:is(.pk-row,.pk-host)[data-size=m] .pk-card>.pkx-cover{--x:12px;--y:10px;--w:226px;--h:226px;border-radius:calc(var(--s)*14px)}
.pk-card>.pkx-cover>i{position:absolute;inset:0;display:block}
.pk-card>.pkx-sparks{--x:0px;--y:0px;--w:var(--cw);--h:var(--ch);z-index:9;pointer-events:none}
/* 낮음: 덮개 없이 흰빛 한 줄이 비스듬히 지나감 */
.pkx-cover[data-t=low]{opacity:1;animation-name:pkx-hold}
.pkx-cover .pkx-sweep{left:-60%!important;width:45%;background:linear-gradient(100deg,#fff0 0,#fffbe8cc 45%,#fff 50%,#fffbe8cc 55%,#fff0 100%);transform:translateX(0) skewX(-14deg);opacity:0;animation:pkx-sweep var(--pkx-ms,600ms) ease-out both;animation-delay:inherit}
/* 중간: 금빛 막이 쓸리며 걷히고 불티가 튐 */
.pkx-cover[data-t=mid]{background:radial-gradient(circle at 50% 40%,#fff4c8 0,#ffd45ae6 38%,#d99a2be6 75%,#9a5d14e6 100%)}
.pkx-cover[data-t=mid] .pkx-sweep{background:linear-gradient(100deg,#fff0 0,#fff6d0 45%,#fff 50%,#fff6d0 55%,#fff0 100%)}
/* 최고: 청록·보라 홀로 소용돌이 + 세로 섬광이 흐르다 번쩍 하고 걷힘 */
.pkx-cover[data-t=high]{background:linear-gradient(160deg,#1c3f6e,#3a2a6e 50%,#123e4a)}
.pkx-cover[data-t=high] .pkx-art{inset:-40%!important;background:conic-gradient(from 0deg,#3ff2e0,#7b6cff,#e46cff,#ff9ad5,#7ef0ff,#5b8cff,#b46cff,#3ff2e0);opacity:.85;filter:blur(calc(var(--s)*18px));animation:pkx-swirl var(--pkx-ms,1000ms) linear both;animation-delay:inherit}
html.pkx-has-foil .pkx-cover[data-t=high] .pkx-art{inset:0!important;background:var(--pkx-foil) center/100% 100% no-repeat;filter:brightness(.85);animation-name:pkx-foil-art} /* 관리자 지시(05 GPT 72 반입 뒤): 실제 판에서 너무 번쩍임 → 포일 밝기 0.85, '어두운 그늘 위 빛' */
html.pkx-has-foilM :is(.pk-row,.pk-host)[data-size=m] .pkx-cover[data-t=high] .pkx-art{background-image:var(--pkx-foilM)}
.pkx-cover[data-t=high] .pkx-streak{background:repeating-linear-gradient(90deg,#fff0 0 calc(var(--s)*38px),#ffffff55 calc(var(--s)*40px),#fff0 calc(var(--s)*46px) calc(var(--s)*84px));mix-blend-mode:screen;animation:pkx-streak var(--pkx-ms,1000ms) linear both;animation-delay:inherit}
html.pkx-has-streak .pkx-cover[data-t=high] .pkx-streak{background:var(--pkx-streak) 0 0/calc(var(--s)*64px) 100% no-repeat,var(--pkx-streak) calc(var(--s)*144px) 0/calc(var(--s)*64px) 100% no-repeat,var(--pkx-streak) calc(var(--s)*288px) 0/calc(var(--s)*64px) 100% no-repeat;opacity:.5} /* 섬광 띠 간격 144px(관리자 128~160)·불투명도 0.5 — 띠 폭은 그림 그대로, 카드 폭 376·226에 3·2줄 */
.pkx-cover[data-t=high] .pkx-flash{background:radial-gradient(circle,#fff 0,#e9fbff 40%,#fff0 75%);opacity:0;animation:pkx-flash var(--pkx-ms,1000ms) ease-out both;animation-delay:inherit}
.pkx-cover:not([data-t=high]) :is(.pkx-art,.pkx-streak,.pkx-flash){display:none}
.pkx-spark{position:absolute;left:50%;top:42%;width:calc(var(--s)*12px);height:calc(var(--s)*12px);margin:calc(var(--s)*-6px);border-radius:50%;opacity:0;background:radial-gradient(circle,#fff 0 30%,#ffd866 45%,#ffd86600 70%);animation:pkx-spark .6s ease-out both;animation-delay:calc(var(--pk-d,100ms) + 200ms + var(--pkx-ms,600ms)*.45 + var(--sd,0ms))}
.pkx-sparks[data-t=high] .pkx-spark{background:radial-gradient(circle,#fff 0 30%,#9ff6ff 45%,#c39bff00 72%)}
@keyframes pkx-cover-out{0%,45%{opacity:1;transform:none}100%{opacity:0;transform:scale(1.03)}}
@keyframes pkx-hold{0%,100%{opacity:1}}
@keyframes pkx-sweep{0%{opacity:0;transform:translateX(0) skewX(-14deg)}15%{opacity:1}100%{opacity:0;transform:translateX(380%) skewX(-14deg)}}
@keyframes pkx-swirl{from{transform:rotate(0)}to{transform:rotate(300deg)}}
@keyframes pkx-foil{0%{transform:none;filter:hue-rotate(0)}100%{transform:scale(1.04);filter:hue-rotate(60deg)}}
@keyframes pkx-foil-art{0%{transform:none;filter:brightness(.85) hue-rotate(0)}100%{transform:scale(1.04);filter:brightness(.85) hue-rotate(60deg)}}
@keyframes pkx-streak{from{transform:translateY(-12%)}to{transform:translateY(12%)}}
@keyframes pkx-flash{0%,52%{opacity:0}62%{opacity:1}100%{opacity:0}}
@keyframes pkx-spark{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1)}}
.pk-row.pkx-shake{animation:pkx-shake .26s linear}
@keyframes pkx-shake{20%{transform:translate(calc(var(--s)*-4px),calc(var(--s)*1px))}45%{transform:translate(calc(var(--s)*3px),calc(var(--s)*-2px))}70%{transform:translate(calc(var(--s)*-2px),0)}100%{transform:none}}
/* 건너뛰기: 착지·덮개 모두 끝난 모습으로 */
.pk-row.pkx-skip>.pk-card{animation:none!important;opacity:1}.pkx-skip :is(.pkx-cover,.pkx-sparks){display:none}
/* 선택: 고른 카드 들림(확대·기울기) → 쓸려 사라짐, 나머지 먼저 흐려짐, 자리에 홀로 빛줄기 자국 */
.pk-row>.pk-card.pkx-pick:not(.cv-route-flip){animation:pkx-pick .5s cubic-bezier(.35,0,.6,1) forwards}
.pk-row>.pk-card.pkx-lift:not(.cv-route-flip){transform:translateY(calc(var(--s)*var(--lift)*2)) scale(1.05) rotate(-2deg)}
@keyframes pkx-pick{0%{transform:none}38%{transform:translateY(calc(var(--s)*-26px)) scale(1.07) rotate(-3deg);opacity:1}100%{transform:translate(calc(var(--s)*90px),calc(var(--s)*-150px)) scale(.86) rotate(10deg);opacity:0}}
.pk-row:has(>.pkx-pick)>.pk-card:not(.pkx-pick),.pk-row:has(>.pkx-lift)>.pk-card:not(.pkx-lift){opacity:0;transform:scale(.94);transition:opacity .22s ease-in,transform .22s ease-in}
.pkx-trail{position:absolute;z-index:20;pointer-events:none;border-radius:calc(var(--s,1)*20px);background:repeating-linear-gradient(90deg,#fff0 0 18px,#ffffffaa 20px,#fff0 26px 44px),linear-gradient(160deg,#3ff2e099,#b46cff99 50%,#ff9ad599);mix-blend-mode:screen;opacity:0;animation:pkx-trail .9s ease-out .12s forwards}
.pkx-trail[data-t=low]{background:linear-gradient(160deg,#fff0,#fffbe8aa 50%,#fff0)}.pkx-trail[data-t=mid]{background:repeating-linear-gradient(90deg,#fff0 0 22px,#fff6d0aa 24px,#fff0 30px 52px),linear-gradient(160deg,#ffd86699,#ffb34766)}
@keyframes pkx-trail{0%{opacity:0;transform:translateY(0) scaleY(1)}25%{opacity:.9}100%{opacity:0;transform:translateY(-14%) scaleY(1.12)}}
@media (prefers-reduced-motion:reduce){.pk-card>:is(.pkx-cover,.pkx-sparks),.pkx-trail{display:none}.pk-row.pkx-shake{animation:none}.pk-row>.pk-card.pkx-pick{animation:none}}
/* 패치 노트 밸런스 변경 칸(사용자 요청 2026-10-27) — 동작은 patch-notes.js PatchNotes.balanceHtml·tipShow. 버프 초록 ▲ · 너프 빨강 ▼ · 조정 보라 ↻ */
.pb-balance{margin:12px 0 4px;padding:6px 12px;border:1px solid #597094;border-radius:12px;background:#0b1830b3}
.pb-group{--pb:#3fcf6b;padding:8px 0}.pb-group+.pb-group{border-top:1px solid #59709466}.pb-group[data-k=nerf]{--pb:#ff5a6a}.pb-group[data-k=adjust]{--pb:#a77bff}
.pb-group h4{display:flex;align-items:center;gap:6px;margin:0 0 6px;font-size:15px;color:#edf3ff}.pb-group h4 b{font-weight:600;color:#9fb2cc}
.pb-dot{width:9px;height:9px;border-radius:50%;background:var(--pb)}
.pb-grid{display:flex;flex-wrap:wrap;gap:6px 4px;margin:0!important;padding:0!important;list-style:none}.pb-grid>li{margin:0!important;padding:0!important;list-style:none}.pb-grid>li::before{display:none!important}
.pb-item{display:flex;flex-direction:column;align-items:center;gap:3px;width:76px;min-height:44px;padding:4px 2px;border:1px solid transparent;border-radius:10px;background:none;color:#edf3ff;cursor:pointer}
.pb-item:hover,.pb-item:focus-visible{border-color:var(--pb);background:#ffffff12;outline:none}
.pb-icon{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#1a2b4a;overflow:visible}
.pb-icon>img,.pb-icon .poke-img{width:44px!important;height:44px!important;object-fit:contain;image-rendering:pixelated}.pb-icon>b{font-size:22px;color:#ffe4a3}
.pb-badge{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--pb);color:#fff;font:700 10px/1 sans-serif;font-style:normal;box-shadow:0 0 0 2px #0b1830}
.pb-name{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
#pb-tip{position:fixed;z-index:430;max-width:min(340px,calc(100vw - 16px));padding:8px 12px;border-radius:10px;background:#050b16f2;border:1px solid #59709499;color:#edf3ff;font-size:13px;pointer-events:none;box-shadow:0 6px 18px #0009}
#pb-tip[hidden]{display:none}#pb-tip{--pb:#3fcf6b}#pb-tip[data-k=nerf]{--pb:#ff5a6a}#pb-tip[data-k=adjust]{--pb:#a77bff}
#pb-tip strong{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:14px}#pb-tip strong i{font-style:normal;color:var(--pb)}
#pb-tip ul{margin:0;padding:0;list-style:none}#pb-tip li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:2px 0}#pb-tip li>span:first-child{color:#b6c8df}#pb-tip li>span:first-child::after{content:':'}
#pb-tip .pb-from{color:#9fb2cc}#pb-tip li>i{font-style:normal;color:var(--pb)}#pb-tip .pb-to{color:var(--pb)}#pb-tip p{margin:0;color:#9fb2cc}
@media (max-height:520px){.pb-balance{padding:4px 8px}.pb-group{padding:5px 0}.pb-group h4{font-size:13px;margin-bottom:4px}.pb-item{width:62px}.pb-icon{width:38px;height:38px}.pb-icon>img,.pb-icon .poke-img{width:34px!important;height:34px!important}.pb-name{font-size:11px}#pb-tip{font-size:12px}}
/* 02 v0.12.10 남은 위험 ①: 증강 고르기 창 안 '↩ 나가기'(띠의 나가기가 창에 가려짐) — 나중에 왼쪽 */
#frontier-augment footer{gap:10px}#frontier-augment footer [data-fa=leave]{min-width:100px}
/* 02 v0.12.10 남은 위험 ③(관리자: 상자 없이 자리 이동): 1180·1024 등 work-pc-hud가 아닌 PC 배치에서 가방 수 '3/8'이 판 위 트레이너 도트(가방·도감 아이콘 사이 아래쪽)에 겹침
   → 글자만 가방 아이콘 바로 위 가운데로 옮겨 보임(transform, 칸 폭은 그대로라 도감 버튼 자리 변화 없음). 1366 work-pc-hud·h65·휴대폰은 그대로 */
@media (min-width:1100px){ /* 1024는 위가 주머니 창이라 그대로(02: 1024 정상) */
html body:not(.work-pc-hud):not(.mobile-ui):not(.h65-pc2) #pc-equipment-icons #pc-bag-count>b{display:inline-block;width:40px;margin-left:-44px;margin-right:4px;text-align:center;transform:translateY(-30px);line-height:20px;text-shadow:0 0 2px #000,0 0 2px #000,0 1px 3px #000}
html body:not(.work-pc-hud):not(.mobile-ui):not(.h65-pc2) #pc-equipment-icons #pc-bag-count{padding-right:34px!important}
}
/* 결정 441(04 화면 틀): 카지노 보상표·대박 3택·천장 게이지·행운의 동전 — 카지노 그림 톤(크림·금·적갈), 상자 최소(표는 줄 구분선만) */
.cui-dialog{position:fixed;z-index:3450;left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:14px 18px;background:#2b1a12f5;color:#fff1ce;border:2px solid #d8a84a;border-radius:10px;box-shadow:0 10px 40px #000a}
.cui-dialog[hidden]{display:none}
.cui-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.cui-dialog h2{margin:0;font-family:var(--font-read);font-size:22px;font-weight:800;color:#ffe099}
.cui-dialog header p{margin:2px 0 0;font-size:13px;color:#e8cf9a}
.cui-dialog header button{min-width:44px;min-height:44px;background:none;border:1px solid #d8a84a88;border-radius:8px;color:#fff1ce;font-size:18px}
.cui-scroll{overflow-x:auto;margin-top:8px}
#casino-table table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}
#casino-table th,#casino-table td{padding:6px 8px;text-align:right;border-bottom:1px solid #d8a84a33}#casino-table th[scope=row],#casino-table tr:first-child th:first-child{text-align:left;color:#ffe099}
#casino-table tr:first-child th{font-size:12px;color:#e8cf9a;font-weight:700}#casino-table .now{color:#fff;font-weight:800;background:#d8a84a1f}
#casino-table tr[data-kind=grand] th,#casino-table tr[data-kind=jackpot] th{color:#ff9d6b}
.cui-pools{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:10px 0 0;font-size:13px}.cui-pools dt{color:#e8cf9a}.cui-pools dd{margin:0;color:#fff1ce}
.cui-note{margin:8px 0 0;font-size:12px;color:#c9b07c}
.cui-grand{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.cui-offer{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:44px;padding:12px 8px;background:#fff1ce14;border:1px solid #d8a84a66;border-radius:10px;color:#fff1ce;cursor:pointer}
.cui-offer:hover,.cui-offer:focus-visible{border-color:#ffe099;box-shadow:inset 0 0 0 2px #ffe099;outline:none}
.cui-offer small{font-size:12px;color:#ffb98a;font-weight:700}.cui-offer strong{font-size:17px;color:#ffe099}.cui-offer .cui-meta{font-size:13px;color:#e8cf9a}
.cui-offer .cui-sprite img{width:96px;height:96px;object-fit:contain;image-rendering:pixelated}
.cui-ceiling{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#fff1ce}.cui-ceiling b{margin-right:4px;color:#ffe099;font-weight:700}
.cui-ceiling i{width:10px;height:10px;border-radius:50%;border:1px solid #d8a84a;background:#2b1a12}.cui-ceiling i.on{background:#ffd866;box-shadow:0 0 4px #ffd866}.cui-ceiling em{margin-left:4px;font-style:normal;font-weight:800}
.cui-coin{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff2a1,#d8a84a 60%,#8a5a1a);border:1px dashed #fff1ce;color:#5a3608;font-weight:900;font-size:15px}
@media(max-height:500px){.cui-dialog{padding:8px 12px}.cui-dialog h2{font-size:17px}#casino-table table{font-size:12px}#casino-table th,#casino-table td{padding:3px 6px}.cui-pools{font-size:12px;margin-top:6px}.cui-grand{gap:8px;margin-top:6px}.cui-offer{padding:6px}.cui-offer .cui-sprite img{width:64px;height:64px}.cui-offer strong{font-size:14px}}
/* 결정 441-4: 카지노 당첨 연출(보상 종류별 파티클, 05 GPT 71 그림 있으면 사용·없으면 CSS 그림). 입력은 막지 않음(pointer-events none), 3택 창(3450) 아래 */
#casino-fx{position:fixed;inset:0;z-index:3440;pointer-events:none;overflow:hidden}
#casino-fx .cfx-ring{position:absolute;inset:0;animation:cfx-ring var(--end) ease-out forwards}
.cfx-small .cfx-ring{box-shadow:inset 0 0 24px 4px #ffd86699}
.cfx-mid .cfx-ring{box-shadow:inset 0 0 60px 14px #ffd866cc,inset 0 0 0 4px #ffe099}
.cfx-big .cfx-ring{box-shadow:inset 0 0 120px 30px #ffd866,inset 0 0 0 6px #fff2a1}
@keyframes cfx-ring{0%{opacity:0}15%{opacity:1}75%{opacity:1}100%{opacity:0}}
#casino-fx .cfx-label{position:absolute;left:50%;top:22%;transform:translate(-50%,-50%);font-family:var(--font-read);font-weight:900;color:#fff2a1;text-shadow:0 0 12px #ff9d2b,0 3px 0 #8a3a08,0 0 2px #000;white-space:nowrap;animation:cfx-label var(--end) ease-out forwards}
.cfx-small .cfx-label{font-size:28px;top:30%}.cfx-mid .cfx-label{font-size:52px}.cfx-big .cfx-label{font-size:84px;top:18%}
@keyframes cfx-label{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}30%{transform:translate(-50%,-50%) scale(1)}80%{opacity:1}100%{opacity:0}}
#casino-fx .cfx-banner{position:absolute;left:50%;top:18%;width:min(62vw,720px);transform:translate(-50%,-50%);animation:cfx-label var(--end) ease-out forwards}
#casino-fx .cfx-flash{position:absolute;inset:0;background:radial-gradient(circle,#fffbe6 0,#ffe09900 70%) center/cover no-repeat;animation:cfx-flash 520ms ease-out forwards}
@keyframes cfx-flash{0%{opacity:0}20%{opacity:1}100%{opacity:0}}
.cfx-parts{position:absolute;inset:0}
.cfx-p{position:absolute;top:-40px;width:28px;height:28px;background-repeat:no-repeat;background-position:center;background-size:contain;opacity:0;animation:cfx-fall var(--d) var(--delay) cubic-bezier(.3,.1,.6,1) forwards}
.cfx-p-coin{border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff2a1,#e8b84a 55%,#8a5a1a);box-shadow:0 0 6px #ffd866}
.cfx-p-coin[style*=jackpot-coins]{border-radius:0;box-shadow:none;background-size:200% 200%;background-color:transparent}
.cfx-p-candy{width:30px;height:30px;background-image:radial-gradient(circle,#ff9ad5 0 35%,#7a4bd6 36% 60%,#0000 61%);filter:drop-shadow(0 0 4px #ffb7ea)}
.cfx-p-star{width:26px;height:26px;background-image:radial-gradient(circle,#fff 0 18%,#ffe36b 19% 40%,#0000 41%);filter:drop-shadow(0 0 6px #fff2a1)}
.cfx-mid .cfx-p,.cfx-small .cfx-p{width:24px;height:24px}#casino-fx .cfx-p-ball{width:72px;height:72px}
@keyframes cfx-fall{0%{opacity:1;transform:translateY(0) rotate(0)}85%{opacity:1}100%{opacity:0;transform:translateY(calc(100vh + 60px)) rotate(var(--spin))}}
/* 포켓몬(중박): 몬스터볼이 아래에서 튀어 올라 흔들리다 열리듯 커지며 빛 */
.cfx-p-ball{top:auto;bottom:36%;width:56px;height:56px;border-radius:50%;background-image:linear-gradient(#e33 0 46%,#222 46% 54%,#fff 54%);animation:cfx-pop var(--d) var(--delay) ease-out forwards}
@keyframes cfx-pop{0%{opacity:0;transform:translateY(40vh) scale(.6)}35%{opacity:1;transform:translateY(-6vh) scale(1)}50%{transform:translateY(0) rotate(-12deg)}62%{transform:rotate(12deg)}75%{transform:rotate(0) scale(1.15);filter:brightness(1.6)}100%{opacity:0;transform:scale(1.6);filter:brightness(3) drop-shadow(0 0 24px #fff)}}
.cfx-light{position:absolute;left:50%;bottom:40%;width:60vmin;height:60vmin;transform:translate(-50%,50%);border-radius:50%;background:radial-gradient(circle,#fffbe6cc 0,#ffe09933 40%,#0000 70%);opacity:0;animation:cfx-light var(--end) ease-out forwards}
@keyframes cfx-light{0%,55%{opacity:0}75%{opacity:1}100%{opacity:0}}
.cfx-cutin{position:absolute;left:0;right:0;top:50%;height:min(38vh,320px);transform:translateY(-50%);display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#2b1a1200,#2b1a12e6 20%,#2b1a12e6 80%,#2b1a1200);border-block:2px solid #ffd866;animation:cfx-cut 1.5s ease-out forwards}
.cfx-cutin.has-frame{background:none;border:0;height:min(50vh,540px)}
.cfx-cutin .cfx-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cfx-sil{position:relative}.cfx-sil img{width:min(30vh,260px);height:min(30vh,260px);object-fit:contain;image-rendering:pixelated;filter:brightness(0) drop-shadow(0 0 10px #ffd866) drop-shadow(0 0 22px #ff9d2b)}
@keyframes cfx-cut{0%{opacity:0;clip-path:inset(50% 0 50% 0)}20%{opacity:1;clip-path:inset(0 0 0 0)}80%{opacity:1}100%{opacity:0}}
.cfx-cutin .cfx-sil{animation:cfx-slide 1.5s ease-out forwards}@keyframes cfx-slide{0%{transform:translateX(30vw)}25%{transform:translateX(0)}100%{transform:translateX(-4vw)}}
/* 효과 줄이기: 섬광·파티클·이동 없음, 테두리 빛과 글자만 */
#casino-fx.cfx-calm .cfx-label,#casino-fx.cfx-calm .cfx-banner{animation:cfx-fade var(--end) linear forwards}#casino-fx.cfx-calm .cfx-cutin,#casino-fx.cfx-calm .cfx-sil{animation:cfx-fade var(--end) linear forwards;clip-path:none}#casino-fx.cfx-calm .cfx-sil{transform:none}
@keyframes cfx-fade{0%,100%{opacity:0}10%,85%{opacity:1}}
.cui-coin.has-art{background:none;border:0}.cui-coin.has-art img{width:100%;height:100%;object-fit:contain}
@media(max-height:500px){.cfx-mid .cfx-label{font-size:36px}.cfx-big .cfx-label{font-size:52px;top:16%}.cfx-p{width:20px;height:20px}#casino-fx .cfx-p-ball{width:44px;height:44px}.cfx-sil img{width:150px;height:150px}}
/* 카드 등장·선택 연출 묶음 B: 카지노 대박 3택(CasinoUI.openGrand) — 승인 화면(.cui-offer) 위에 같은 덮개·흔들림·선택 연출(동작 PickFX.casino). 홀로는 CSS '임시' */
.cui-grand.pkx-casino{--s:1;position:relative}
.pkx-casino>.cui-offer{position:relative;overflow:hidden;animation:pk-drop .2s cubic-bezier(.3,.8,.4,1) backwards;animation-delay:var(--pk-d,100ms)}
.cui-offer>.pkx-cover{position:absolute;inset:2px;z-index:3;pointer-events:none;overflow:hidden;border-radius:8px;opacity:0;animation:pkx-cover-out var(--pkx-ms,600ms) ease-in both;animation-delay:calc(var(--pk-d,100ms) + 200ms)}
.cui-offer>.pkx-cover>i{position:absolute;inset:0;display:block}
.cui-offer>.pkx-sparks{position:absolute;inset:0;z-index:3;pointer-events:none}
.pkx-casino.pkx-shake{animation:pkx-shake .26s linear}
.pkx-casino.pkx-skip>.cui-offer{animation:none!important;opacity:1}
.pkx-casino>.cui-offer.pkx-pick{animation:pkx-pick .5s cubic-bezier(.35,0,.6,1) forwards;overflow:visible}
.pkx-casino:has(>.pkx-pick)>.cui-offer:not(.pkx-pick){opacity:0;transform:scale(.94);transition:opacity .22s ease-in,transform .22s ease-in}
.pkx-casino.pkx-calm>.cui-offer{animation:pk-fade .1s backwards}
@media (max-height:500px){.cui-grand.pkx-casino{--s:.6}}
@media (prefers-reduced-motion:reduce){.pkx-casino>.cui-offer{animation:pk-fade .1s backwards}.cui-offer>:is(.pkx-cover,.pkx-sparks){display:none}.pkx-casino.pkx-shake{animation:none}.pkx-casino>.cui-offer.pkx-pick{animation:none}}
/* 업데이트 소식(사용자 요청 2026-10-27): 메인 메뉴 왼쪽 아래 버전 글자를 누르는 글자로(상자·배경 없음, 누르는 높이 44px), 설정 '업데이트 소식' 버튼, 안 본 새 버전 작은 점 */
#title-news.c2-news{position:absolute;bottom:2px;display:flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;background:none!important;border:0!important;box-shadow:none!important;color:#b1c6cd;font:500 13px/1 "PT Read",sans-serif;cursor:pointer;text-shadow:0 1px 2px #0009;z-index:5}
#title-news.c2-news:hover span,#title-news.c2-news:focus-visible span{color:#fff1cd;text-decoration:underline;text-underline-offset:3px}#title-news.c2-news:focus-visible{outline:2px solid #ffd866;outline-offset:-4px}
.c2-region-link{color:#fff1cd;text-shadow:0 1px 2px #000,0 0 6px #000c} /* 관리자 v0.12.15: 우승 뒤 '다른 지방 고르기' 글자 링크(상자 없음) — 밝은 배경 위 읽힘 */
.pn-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff6b5a;box-shadow:0 0 6px #ff6b5a;flex:none}.pn-dot[hidden]{display:none}
#patch-history-btn .pn-dot{margin-left:6px;vertical-align:middle}
.patch-panel .pn-older{margin-top:16px;border-top:1px solid #597094;padding-top:8px}.patch-panel .pn-older>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#b6c8df;font-weight:700}.patch-panel .pn-older[open]>summary{color:#ffe4a3}
html body #title-news.c2-news{flex-direction:row!important;flex-wrap:nowrap!important;white-space:nowrap;font-size:14px!important;width:auto!important;height:auto!important;line-height:1!important}
html body #title-news.c2-news>span{font-size:inherit!important;font-weight:500!important}
/* 휴대폰: 아래쪽은 '새로운 모험 시작' 버튼과 겹쳐서 위쪽 빈 줄(도감 왼쪽)로 */
@media (max-height:500px){html body #title-news.c2-news{top:4px;bottom:auto;left:auto!important;right:168px;font-size:12px!important}}
/* 사용자 제보(v0.12.10, 작은 정보창 잘림): #unit-popover는 내용 높이(남은 화면까지) — 가운데 칸(기술 설명·계열)·장비 추천 줄이 줄어들거나 잘리지 않게. 넘치면 카드 안 스크롤(info-panels.js position) */
html body #unit-popover:not([data-compact=true]){grid-template-rows:42px 46px auto 44px;grid-auto-rows:auto;overflow-y:auto;overflow-x:hidden}
html body #unit-popover:not([data-compact=true]) .unit-pop-middle{overflow:visible;min-height:44px}
html body #unit-popover[data-compact=true]{grid-template-rows:34px 32px auto 44px;grid-auto-rows:auto;overflow-y:auto;overflow-x:hidden}
html body #unit-popover[data-compact=true] .unit-pop-middle{overflow:visible;min-height:44px}
/* 마우스 올림 카드(data-mode=hover)는 장착 칸 버튼이 숨겨져(equipment-repair.css) 44px 빈 줄만 남았다 → 그 줄을 빼고 장비 추천이 계열 줄 바로 아래로 */
html body #unit-popover[data-mode=hover] .unit-pop-gear{display:none}
html body #unit-popover[data-mode=hover]:not([data-compact=true]){grid-template-rows:42px 46px auto auto}
html body #unit-popover[data-mode=hover][data-compact=true]{grid-template-rows:34px 32px auto auto}
/* 장비 추천 보유 표시(관리자 지시 2026-10-27, 5단계) — 새 상자 없이 테두리·빛·글자 밝기만. 행 테두리가 없는 좁은 카드·작은 정보창은 아이콘 테두리로 같은 신호 */
html body .gear-advice .ga-row[data-own=have]{border-color:#d9a520!important;border-style:solid!important}
html body .gear-advice .ga-row[data-own=have]>:first-child{opacity:1!important;filter:none!important;box-shadow:0 0 0 2px #d9a520;border-radius:6px}
html body .gear-advice .ga-row[data-own=have] b::after{content:" ✓";color:#d9a520;font-weight:900}
html body .gear-advice .ga-row[data-own=have]{position:relative}
html body .gear-advice .ga-row[data-own=have]>:first-child::after{content:"✓";position:absolute;right:-4px;top:-5px;font:900 11px/1 sans-serif;color:#fff;text-shadow:0 0 2px #8a6400,0 0 2px #8a6400}
html body .gear-advice .ga-row[data-own=other]{border-color:rgba(217,165,32,.45)!important;border-style:solid!important}
html body .gear-advice .ga-row[data-own=other]>:first-child{box-shadow:0 0 0 2px rgba(217,165,32,.4);border-radius:6px}
/* 사용자 요청(2026-10-31, 관리자 지시, v0.12.24): 장비 추천 '지금 가능' 원클릭 — 줄은 누를 수 있게(손가락·초점), 확인 창은 크림 카드(정보 창과 같은 색), 성공 빛은 장착 칸 위 0.7초 */
html body .gear-advice .ga-row.now[data-craft-now]{cursor:pointer;border-radius:6px}
html body .gear-advice .ga-row.now[data-craft-now]:is(:hover,:focus-visible){outline:2px solid #5fd38a;outline-offset:1px;background:rgba(95,211,138,.12)}
#craft-now{position:fixed;inset:0;z-index:9500;display:grid;place-items:center;background:rgba(10,16,24,.55);padding:16px}
#craft-now[hidden]{display:none}
#craft-now .cn-box{width:min(380px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:14px 18px 16px;border:2px solid #b89a63;border-radius:12px;background:#fbf2dc;color:#3d3122;box-shadow:0 10px 30px rgba(0,0,0,.45);font:400 14px/1.45 'PT Read',sans-serif;text-align:center}
#craft-now h3{margin:0 0 10px;font:800 18px/1.2 'PT Read',sans-serif;color:#6b4a2b}
#craft-now .cn-recipe{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px}
#craft-now .cn-item{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:62px}
#craft-now .cn-item img{width:40px;height:40px;image-rendering:pixelated}
#craft-now .cn-item small{font-size:12px;color:#5b4a33;max-width:84px}
#craft-now .cn-op{font:800 18px/1 inherit;color:#8a6a3c}#craft-now .cn-arrow{color:#3f6b3a}
#craft-now p{margin:0 0 6px}#craft-now .cn-next{color:#a24b17;font-weight:700}
#craft-now .cn-act{display:flex;gap:10px;justify-content:center;margin-top:10px}
#craft-now .cn-act button{min-width:110px;min-height:44px;padding:0 14px;border:1px solid #b89a63;border-radius:10px;background:#efe0bd;color:#6b4a2b;font:800 15px/1 'PT Read',sans-serif;cursor:pointer}
#craft-now .cn-act .cn-yes{background:#3f6b3a;border-color:#2f5229;color:#fff7e0}
#craft-now .cn-act button:focus-visible{outline:3px solid #ffdf8a;outline-offset:1px}
.cn-flash{position:fixed;z-index:9400;pointer-events:none;border-radius:8px;box-shadow:0 0 0 3px #ffe08a,0 0 18px 6px rgba(255,215,94,.85);animation:cn-flash .7s ease-out forwards}
@keyframes cn-flash{0%{opacity:1;transform:scale(1.35)}60%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.cn-flash{animation-duration:.35s}}
html body .gear-advice .ga-row[data-own=craft]{border-color:#3aa864!important;border-style:solid!important;box-shadow:0 0 7px rgba(58,168,100,.6)}
html body .gear-advice .ga-row[data-own=craft]>:first-child{opacity:1!important;filter:none!important;box-shadow:0 0 6px 1px rgba(58,168,100,.85);border-radius:6px}
html body .gear-advice .ga-row[data-own=craft]:not(.now) b::after{content:" 합성 가능";color:#2e9a57;font-size:10px;margin-left:4px}
html body .gear-advice .ga-row .ga-mat.on{color:#1f8a4c;font-weight:700}
html body #unit-popover .gear-advice .ga-row,html body #unit-side:is([data-compact=true],[data-sheet=true]) .gear-advice .ga-row{box-shadow:none!important}
html body .gear-advice .ga-row[data-own=part]>:first-child{position:relative}
html body .gear-advice .ga-row[data-own=part]>:first-child::after{content:"";position:absolute;right:-2px;top:-2px;width:6px;height:6px;border-radius:50%;background:#3aa864;box-shadow:0 0 0 1px #fff} /* 재료 1개: 아이콘만 보이는 휴대폰·작은 정보창에도 보이는 작은 초록 점(관리자 승인) */
/* 관리자 지시(426-1 후속): 휴대폰 타워 띠 버튼은 보이는 높이 40px 그대로, 터치 영역만 위아래 2px 투명 의사 요소로 44px — 띠(테두리1+여백1+40) 안이라 띠 밖 넘침·clip-path 잘림 없음 */
html body.mobile-ui.frontier-active #frontier-bar button{position:relative;overflow:visible}
html body.mobile-ui.frontier-active #frontier-bar button::before{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-3px} /* 버튼 테두리 1px 안쪽 기준이라 3px = 바깥 2px */
/* 날씨 알림(사용자 직접 요청 2026-10-27, ①단계 날씨): 상자 없이 화면 가운데 메달(동전 회전)·글자·빛·가장자리 날씨 질감만. 메달은 05 그림 전 임시(이모지) */
#cv-weather-intro{position:fixed;inset:0;z-index:3600;display:grid;place-items:center;align-content:center;gap:14px;perspective:900px;background:radial-gradient(ellipse 46% 42% at center,rgba(20,12,0,.46),rgba(20,12,0,.18) 60%,transparent 100%),radial-gradient(ellipse at center,transparent 45%,color-mix(in srgb,var(--wx) 26%,transparent) 100%);cursor:pointer;-webkit-tap-highlight-color:transparent}
#cv-weather-intro[hidden]{display:none}
#cv-weather-intro .wi-edge{position:absolute;inset:0;border:56px solid transparent;border-image-slice:32 fill;border-image-width:56px;border-image-repeat:round;opacity:0;pointer-events:none;transition:opacity .18s ease-out}
#cv-weather-intro .wi-coin{width:172px;height:172px;border-radius:50%;display:grid;place-items:center;transform-style:preserve-3d;background:radial-gradient(circle at 35% 30%,#fffbe8,#f3d27a 45%,#b8860b 100%);box-shadow:0 0 0 5px #fff4cf,0 0 0 9px var(--wx),0 0 40px 10px color-mix(in srgb,var(--wx) 70%,transparent)}
#cv-weather-intro .wi-coin span{font-size:96px;line-height:1;filter:drop-shadow(0 3px 2px #0006)}
#cv-weather-intro .wi-coin img{width:100%;height:100%;object-fit:contain}
#cv-weather-intro .wi-coin:has(img){width:200px;height:200px;background:none;box-shadow:none;filter:drop-shadow(0 0 22px color-mix(in srgb,var(--wx) 75%,transparent)) drop-shadow(0 4px 3px #0007)} /* 05 GPT 73 동전(금테 포함, 512 투명) — PC 약 200px(05 가정) */
#cv-weather-intro .wi-text{margin:0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;opacity:0;transform:scale(.4)}
#cv-weather-intro .wi-text b{font:900 56px/1.05 'PT Title','PT Read',sans-serif;color:#fff;letter-spacing:.02em;-webkit-text-stroke:2px color-mix(in srgb,var(--wx) 25%,#1a0f00);paint-order:stroke fill;text-shadow:0 0 3px #000,0 4px 0 #000a,0 0 22px var(--wx)}
#cv-weather-intro .wi-text span{font:800 26px/1.2 'PT Read',sans-serif;color:#fff;text-shadow:0 0 3px #000,0 0 3px #000,0 2px 0 #000c,0 0 12px var(--wx)}
#cv-weather-intro[data-phase=stop] .wi-edge,#cv-weather-intro[data-phase=burst] .wi-edge{opacity:1}
#cv-weather-intro[data-phase=stop] .wi-coin{animation:wi-pak .34s cubic-bezier(.2,1.6,.4,1) both}
#cv-weather-intro[data-phase=stop] .wi-text{animation:wi-pop .4s .08s cubic-bezier(.2,1.7,.45,1) both}
#cv-weather-intro[data-phase=stop]::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,#fff 0,color-mix(in srgb,var(--wx) 60%,#fff) 18%,transparent 48%);animation:wi-flash .32s ease-out both}
#cv-weather-intro[data-phase=burst] .wi-coin,#cv-weather-intro[data-phase=burst] .wi-text{animation:wi-boom .3s ease-in both}
#cv-weather-intro[data-phase=burst]{animation:wi-out .3s ease-in both}
#cv-weather-intro[data-phase=burst]::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,#fff 0,color-mix(in srgb,var(--wx) 55%,transparent) 30%,transparent 62%);animation:wi-flash .3s ease-out both}
#cv-weather-intro.cv-calm .wi-text{opacity:1;transform:none}#cv-weather-intro .wi-tag{position:relative;font:800 20px/1 'PT Read',sans-serif;font-style:normal;color:#2a1600;background:linear-gradient(#ffe89a,#f2b632);border:2px solid #7a4a00;border-radius:999px;padding:7px 18px;box-shadow:0 2px 0 #0006;opacity:0;transform:scale(.6)}#cv-weather-intro[data-phase=stop] .wi-tag{animation:wi-pop .4s cubic-bezier(.2,1.7,.45,1) both}#cv-weather-intro[data-phase=burst] .wi-tag{animation:wi-boom .3s ease-in both}#cv-weather-intro.cv-calm .wi-tag{opacity:1;transform:none}@media (max-height:500px){#cv-weather-intro .wi-tag{font-size:14px;padding:4px 12px}}
#cv-weather-intro.cv-calm *,#cv-weather-intro.cv-calm::after,#cv-weather-intro.cv-calm{animation:none!important;transition:none!important}
@keyframes wi-pak{0%{transform:scale(1.32)}35%{transform:scale(.94) translateX(-5px)}55%{transform:scale(1.04) translateX(4px)}75%{transform:translateX(-2px)}100%{transform:none}}
@keyframes wi-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:none}}
@keyframes wi-flash{0%{opacity:.85}100%{opacity:0}}
@keyframes wi-boom{0%{opacity:1;transform:scale(1);filter:none}100%{opacity:0;transform:scale(1.7);filter:blur(6px) brightness(1.8)}}
@keyframes wi-out{0%{opacity:1}70%{opacity:1}100%{opacity:0}}
@media (max-height:500px){#cv-weather-intro{gap:8px}#cv-weather-intro .wi-coin,#cv-weather-intro .wi-coin:has(img){width:120px;height:120px}#cv-weather-intro .wi-coin span{font-size:60px}#cv-weather-intro .wi-text b{font-size:36px}#cv-weather-intro .wi-text span{font-size:17px}#cv-weather-intro .wi-edge{border-width:36px;border-image-width:36px}}
/* 결정 442-A(08 하드 모드 마크업, 04 모양): V5.1 연구소 무대 위 가운데 노말/하드 선택 — 상자 없이 안내 글자 빛 + 알약 버튼 2개(고른 쪽만 채움). 하드는 진홍, 노말은 청록 */
.cv-lab-stage #lab-difficulty{position:absolute;left:50%;top:102px;transform:translateX(-50%);z-index:6;display:grid;grid-template-columns:auto auto;justify-items:center;align-items:center;gap:8px 10px;pointer-events:auto}
.cv-lab-stage #lab-difficulty .lab-difficulty-notice{grid-column:1/-1;margin:0;text-align:center;font:600 15px/1.35 'PT Read',sans-serif;color:#fff;text-shadow:0 0 3px #000,0 2px 0 #000b}
.cv-lab-stage #lab-difficulty .lab-difficulty-notice b{display:block;font:800 22px/1.2 'PT Title','PT Read',sans-serif;color:#ffe08a;text-shadow:0 0 3px #000,0 2px 0 #000b,0 0 16px #ff5a6a}
.cv-lab-stage #lab-difficulty [data-difficulty]{min-width:132px;min-height:44px;padding:0 20px;border-radius:999px;border:2px solid #ffffffa8;background:#00000038;color:#fff;font:800 17px/1 'PT Read',sans-serif;cursor:pointer;text-shadow:0 1px 0 #000a;transition:transform .12s,box-shadow .12s}
.cv-lab-stage #lab-difficulty [data-difficulty]:hover{transform:translateY(-1px)}
.cv-lab-stage #lab-difficulty [data-difficulty=normal][aria-pressed=true]{background:linear-gradient(#3fd0b4,#1b8f7d);border-color:#e6fffa;box-shadow:0 0 14px #3fd0b4aa}
.cv-lab-stage #lab-difficulty [data-difficulty=hard][aria-pressed=true]{background:linear-gradient(#ff5a6a,#a3142c);border-color:#ffe0e4;box-shadow:0 0 16px #ff5a6acc}
.cv-lab-stage #lab-difficulty [data-difficulty][aria-pressed=true]::before{content:"✓ "}
.cv-lab-stage #lab-difficulty [data-difficulty]:focus-visible{outline:3px solid #ffe08a;outline-offset:3px}
/* v0.12.20 08 747eb1ae(해금 전에도 칸 보임): 잠긴 하드 단추 — 흐리게 사라지지 않고 어두운 바탕·흐린 글씨로 읽히게(책장·게시판 위에서도) */
.cv-lab-stage #lab-difficulty [data-difficulty]:disabled{opacity:1!important;filter:none!important;background:#0d2433e0;border-color:#ffffff59;color:#aebfca;text-shadow:none;cursor:not-allowed;transform:none}.cv-lab-stage #lab-difficulty.locked .lab-difficulty-notice{color:#e6eef2}
@media (max-height:500px){.cv-lab-stage #lab-difficulty{top:62px;bottom:auto;left:auto;right:14px;transform:none;gap:4px 8px} /* 휴대폰: 말풍선 오른쪽 책장 자리(볼·발판 안 가림) */.cv-lab-stage #lab-difficulty .lab-difficulty-notice{font-size:12px}.cv-lab-stage #lab-difficulty .lab-difficulty-notice b{font-size:16px}.cv-lab-stage #lab-difficulty [data-difficulty]{min-width:108px;font-size:14px}}
/* 명예의 전당 하드 배지·하드 칭호(08 span.hall-hard·p.hall-titles) — 작은 진홍 알약, 상자 없음 */
.hall-hard{display:inline-block;margin-left:4px;padding:2px 9px;border-radius:999px;background:linear-gradient(#ff5a6a,#a3142c);color:#fff;font-size:.78em;font-weight:800;line-height:1.3;vertical-align:.12em;box-shadow:0 0 8px #ff5a6a88}
.hall-titles{margin:0 0 10px;font-weight:800;color:#ffe08a;text-shadow:0 1px 0 #000a}.hall-titles .hall-hard{margin:2px 3px}
/* 결정 421-1: 타워 버튼이 꺼진 이유(반대 종류 런 진행 중) — 꺼진 버튼 안 작은 금색 둘째 줄, 긴 문장은 title. 발판이 꽉 차 줄을 더하면 넘쳐서 */
.cv-region-footer .cv-why{display:block;margin-top:2px;font-size:12px;line-height:1.15;font-weight:700;color:#ffd866;opacity:1;text-shadow:0 1px 0 #000a}
.cv-region-footer :disabled:has(.cv-why){flex-direction:column;justify-content:center;gap:0}
.cv-mobile .cv-region-footer .cv-why{font-size:10px;margin-top:0}
/* 결정 435 BP 상점(로비 창, 옛 이름 BP 교환소)·증강 다시 뽑기 버튼 */
.cv-exchange-open b{margin-left:8px;color:#ffd866}
.cv-exchange{position:absolute;z-index:6;left:50%;top:112px;bottom:32px;width:min(980px,calc(100% - 72px));transform:translateX(-50%);display:flex;flex-direction:column;gap:10px;padding:18px 22px!important;background:#102b3ff2}
.cv-exchange>header{display:flex;align-items:center;gap:16px}.cv-exchange h3{font-size:30px;margin:0}.cv-exchange .cv-ex-bp{margin:0 0 0 auto;font-size:20px}.cv-exchange .cv-ex-bp b{color:#ffd866}.cv-exchange .cv-ex-close{min-height:44px;min-width:88px}
.cv-exchange ul{list-style:none;margin:0;padding:0;display:grid;align-content:start;gap:10px;overflow:auto;min-height:0;flex:1}
.cv-exchange li{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:12px 16px;border-radius:10px;background:#ffffff12;border:1px solid #ffffff22}
.cv-exchange li small{display:block;font-size:13px;color:#9fd3e8}.cv-exchange li b{font-size:22px}.cv-exchange li p{margin:2px 0;font-size:16px;color:#d7e6ee}.cv-exchange li .cv-ex-own{color:#ffe7a3}
.cv-exchange .cv-ex-buy{display:flex;flex-direction:column;align-items:stretch;min-width:170px;text-align:center}.cv-exchange .cv-ex-buy .cv-button{min-height:48px;font-size:20px}
.cv-exchange footer p{margin:0;font-size:16px}
.cv-mobile .cv-exchange{top:64px;bottom:6px;width:calc(100% - 32px);padding:8px 12px!important;gap:6px}.cv-mobile .cv-exchange h3{font-size:20px}.cv-mobile .cv-exchange .cv-ex-bp{font-size:15px}
.cv-mobile .cv-exchange ul{gap:6px;grid-template-columns:1fr 1fr}.cv-mobile .cv-exchange li>div:first-child>small:first-child{display:none}.cv-mobile .cv-exchange li{padding:6px 10px;gap:10px}.cv-mobile .cv-exchange li b{font-size:16px}.cv-mobile .cv-exchange li p{font-size:12px;margin:0}.cv-mobile .cv-exchange li small{font-size:11px}
.cv-mobile .cv-exchange .cv-ex-buy{min-width:118px}.cv-mobile .cv-exchange .cv-ex-buy .cv-button{min-height:44px;font-size:15px}.cv-mobile .cv-exchange footer p{font-size:11px}
#frontier-augment footer button[data-fa=reroll]:disabled{opacity:.5;cursor:not-allowed}
/* 결정 358 63-1 A(v0.12.12): 다이맥스 턴제 화면 — 05 GPT 승인 그림(turn631) 연결. 좌표는 meta.json gptSpec layouts(PC 1920×1080·휴대폰 844×390 기준, --k = 화면 비율 1px),
   9-slice는 left,top,right,bottom 순서를 CSS(top right bottom left)로, 휴대폰은 표시 높이/원래 높이(--s)로 줄인 뒤 가운데만 늘림. 그림이 읽혀 .t631이 붙을 때만 */
#dmax-scene.t631{--k:calc(min(100vw,177.78vh)/1920);--ink:#10151F;--pearl:#FFF6F1;--muted:#A9B7C8;--gold:#FFE5A0;--dxf:'Malgun Gothic',Pretendard,sans-serif;font-family:var(--dxf)}
#dmax-scene.t631 :is(.dx-ui>header,.dx-hp,.dx-log,.dx-banner,.dx-moves>button){isolation:isolate}
#dmax-scene.t631 :is(.dx-ui>header,.dx-hp,.dx-log,.dx-banner,.dx-moves>button)::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;clip-path:none;background:none;border-style:solid;border-color:transparent;
 border-width:calc(var(--k)*var(--s,1)*var(--bt)) calc(var(--k)*var(--s,1)*var(--br)) calc(var(--k)*var(--s,1)*var(--bb)) calc(var(--k)*var(--s,1)*var(--bl));border-image-source:var(--img);border-image-slice:var(--sl) fill;border-image-width:1;border-image-repeat:stretch}
#dmax-scene.t631 .dx-bottom{display:contents}
/* 머리 띠 [694,28,532,54] */
#dmax-scene.t631 .dx-ui>header{position:absolute;left:calc(var(--k)*694);top:calc(var(--k)*28);width:calc(var(--k)*532);height:calc(var(--k)*54);transform:none;margin:0;padding:0 0 0 calc(var(--k)*40);box-sizing:border-box;display:flex;align-items:center;gap:0;background:none;border:0;box-shadow:none;border-radius:0;color:var(--pearl);font:700 calc(var(--k)*21)/1 var(--dxf);
 --img:url('assets/dynamax/ui/turn631/header_pill.webp');--sl:16 60 16 96;--bt:8;--br:30;--bb:8;--bl:48}
#dmax-scene.t631 .dx-ui>header>b{font:inherit;color:var(--pearl)}
#dmax-scene.t631 .dx-turn{position:absolute;left:calc(var(--k)*219);top:calc(var(--k)*7);width:calc(var(--k)*120);height:calc(var(--k)*40);display:grid;place-items:center;border-radius:999px;background:#68213E;color:var(--pearl);font:700 calc(var(--k)*21)/1 var(--dxf)}
#dmax-scene.t631 .dx-auto{position:absolute;right:calc(var(--k)*30);top:50%;transform:translateY(-50%);min-height:calc(var(--k)*40);padding:0 calc(var(--k)*10);background:none;border:0;color:var(--pearl);font:700 calc(var(--k)*21)/1 var(--dxf);cursor:pointer}
/* HP 띠: 상대 [1400,86,520,118] 오른쪽 위 · 나 [0,808,500,116] 왼쪽 아래(대사 줄 바로 위). 거대 = 분홍, 원래 크기 = 흰 */
#dmax-scene.t631 .dx-hp{width:auto;padding:0;clip-path:none;background:none;color:var(--pearl);--sl:16 208 64 8;--bt:8;--br:104;--bb:32;--bl:4}
#dmax-scene.t631 .dx-hp[data-side=b]{top:calc(var(--k)*86);right:0;left:auto;bottom:auto;width:calc(var(--k)*520);height:calc(var(--k)*118);--img:url('assets/dynamax/ui/turn631/hp_band_enemy_pink.webp');--sl:16 208 64 76;--bl:38;--nx:64;--bw:414}
#dmax-scene.t631 .dx-hp[data-side=a]{left:0;bottom:auto;top:calc(var(--k)*808);width:calc(var(--k)*500);height:calc(var(--k)*116);--img:url('assets/dynamax/ui/turn631/hp_band_player_pink.webp');--nx:30;--bw:420}
#dmax-scene.t631 .dx-hp[data-giant="0"]{color:var(--ink)}#dmax-scene.t631 .dx-hp[data-giant="0"][data-side=a]{--img:url('assets/dynamax/ui/turn631/hp_band_player_white.webp')}#dmax-scene.t631 .dx-hp[data-giant="0"][data-side=b]{--img:url('assets/dynamax/ui/turn631/hp_band_enemy_white.webp')}
#dmax-scene.t631 .dx-hp[data-giant="0"]::after{content:none}
#dmax-scene.t631 .dx-hp>b{position:absolute;left:calc(var(--k)*var(--nx));top:calc(var(--k)*8);display:flex;gap:calc(var(--k)*14);align-items:center;font:800 calc(var(--k)*28)/1 var(--dxf);color:inherit;white-space:nowrap}
#dmax-scene.t631 .dx-bar{position:absolute;left:calc(var(--k)*var(--nx));top:calc(var(--k)*49);width:calc(var(--k)*var(--bw));height:calc(var(--k)*12);margin:0;border-radius:0;background:url('assets/dynamax/ui/turn631/hp_track.webp') center/100% 100%;overflow:hidden}
#dmax-scene.t631 .dx-bar>em{background:url('assets/dynamax/ui/turn631/hp_fill.webp') left/calc(var(--k)*var(--bw)) 100% no-repeat}
#dmax-scene.t631 .dx-bar>em[data-low="2"]{background:url('assets/dynamax/ui/turn631/hp_fill.webp') left/calc(var(--k)*var(--bw)) 100% no-repeat;filter:hue-rotate(-95deg) saturate(1.3)}#dmax-scene.t631 .dx-bar>em[data-low="1"]{background:url('assets/dynamax/ui/turn631/hp_fill.webp') left/calc(var(--k)*var(--bw)) 100% no-repeat;filter:hue-rotate(-150deg) saturate(1.6)}
#dmax-scene.t631 .dx-hp>small{position:absolute;left:calc(var(--k)*var(--nx));top:calc(var(--k)*66);margin:0;color:inherit;font:600 calc(var(--k)*15)/1 var(--dxf);opacity:.85}
#dmax-scene.t631 .dx-hp[data-side=a]>small{top:calc(var(--k)*64);opacity:1;font:600 calc(var(--k)*22)/1 var(--dxf);font-variant-numeric:tabular-nums}#dmax-scene.t631 .dx-hp[data-side=a] .dx-cur{font:800 calc(var(--k)*34)/1 var(--dxf);margin-right:calc(var(--k)*6)}
#dmax-scene.t631 .dx-hp>small,#dmax-scene.t631 .dx-hp[data-giant="0"]>small{color:inherit}
#dmax-scene .dx-state,#dmax-scene .dx-ic,#dmax-scene .dx-cap{display:none}
#dmax-scene.t631 .dx-hp[data-side=a] .dx-state{display:block;position:absolute;left:calc(var(--k)*392);top:calc(var(--k)*16);font:600 calc(var(--k)*15)/1 var(--dxf);color:inherit;opacity:.9}
/* 대사 줄 [24,944,736,112] */
#dmax-scene.t631 .dx-log{position:absolute;left:calc(var(--k)*24);top:calc(var(--k)*944);width:calc(var(--k)*736);height:calc(var(--k)*112);box-sizing:border-box;margin:0;padding:0 calc(var(--k)*30) 0 calc(var(--k)*30);border:0;border-radius:0;background:none;color:var(--pearl);font:600 calc(var(--k)*24)/1.35 var(--dxf);--img:url('assets/dynamax/ui/turn631/dialog_band.webp');--sl:16 44 16 44;--bt:8;--br:22;--bb:8;--bl:22}
/* 기술 4칸 [826,854,510,92] [1382,854] [826,966] [1382,966]: 색 면(430) + 검정 끝칸(110, x 400에서 겹침) + 아이콘(41,46) + 이름·효과 + 선택 '>' */
#dmax-scene.t631 .dx-moves{position:absolute;left:calc(var(--k)*826);top:calc(var(--k)*854);display:grid;grid-template-columns:repeat(2,calc(var(--k)*510));grid-auto-rows:calc(var(--k)*92);column-gap:calc(var(--k)*46);row-gap:calc(var(--k)*20)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child){grid-template-columns:repeat(2,calc(var(--k)*510))} /* 원래 크기 3칸은 63-1 B에서 배치 확정 — 지금은 2+1 */
#dmax-scene.t631 .dx-moves>button{position:relative;display:block;width:calc(var(--k)*510);height:calc(var(--k)*92);padding:0;margin:0;border:0;border-radius:calc(var(--k)*46);background:none;box-shadow:none;opacity:1;filter:none;transform:none;color:var(--pearl);text-align:left;--img:url('assets/dynamax/ui/turn631/move_pill_pink.webp');--sl:16 72 16 100;--bt:8;--br:36;--bb:8;--bl:50}
#dmax-scene.t631 .dx-moves>button::before{right:calc(var(--k)*80)}
#dmax-scene.t631 .dx-moves>button[data-exclusive]{--img:url('assets/dynamax/ui/turn631/move_pill_purple.webp')}#dmax-scene.t631 .dx-moves>button[data-usable="0"]{--img:url('assets/dynamax/ui/turn631/move_pill_locked.webp');color:var(--muted)}
#dmax-scene.t631 .dx-moves>button:disabled{opacity:1;filter:none}#dmax-scene.t631 .dx-moves>button[data-usable="1"]:disabled{opacity:.62}
#dmax-scene.t631 .dx-moves>button>b{position:absolute;left:calc(var(--k)*74);top:calc(var(--k)*14);font:800 calc(var(--k)*29)/1 var(--dxf);color:inherit;white-space:nowrap}
#dmax-scene.t631 .dx-moves>button>small{position:absolute;left:calc(var(--k)*74);top:calc(var(--k)*55);font:500 calc(var(--k)*17)/1 var(--dxf);color:inherit;opacity:.92;white-space:nowrap}#dmax-scene.t631 .dx-ty{display:none}
#dmax-scene.t631 .dx-moves>button>em{position:absolute;left:calc(var(--k)*350);top:calc(var(--k)*14);right:auto;padding:0;background:none;color:var(--gold);font:700 calc(var(--k)*13)/1 var(--dxf);font-style:normal}
#dmax-scene.t631 .dx-ic[data-ic]{display:block;position:absolute;left:calc(var(--k)*25);top:calc(var(--k)*30);width:calc(var(--k)*32);height:calc(var(--k)*32);background:center/contain no-repeat}
#dmax-scene.t631 .dx-ic:not([data-ic]){display:block;position:absolute;left:calc(var(--k)*29);top:calc(var(--k)*34);width:calc(var(--k)*24);height:calc(var(--k)*24);border-radius:50%;background:var(--tc);box-shadow:0 0 0 calc(var(--k)*2) #fff8}
#dmax-scene.t631 .dx-ic[data-ic=fire]{background-image:url('assets/dynamax/ui/turn631/icon_fire.webp')}#dmax-scene.t631 .dx-ic[data-ic=leaf]{background-image:url('assets/dynamax/ui/turn631/icon_leaf.webp')}#dmax-scene.t631 .dx-ic[data-ic=water]{background-image:url('assets/dynamax/ui/turn631/icon_water.webp')}#dmax-scene.t631 .dx-ic[data-ic=wind]{background-image:url('assets/dynamax/ui/turn631/icon_wind.webp')}#dmax-scene.t631 .dx-ic[data-ic=shield]{background-image:url('assets/dynamax/ui/turn631/icon_shield.webp')}#dmax-scene.t631 .dx-ic[data-ic=up]{background-image:url('assets/dynamax/ui/turn631/icon_up.webp')}#dmax-scene.t631 .dx-ic[data-ic=lock]{background-image:url('assets/dynamax/ui/turn631/icon_lock.webp')}
#dmax-scene.t631 .dx-cap{display:grid;place-items:center;position:absolute;left:calc(var(--k)*400);top:0;width:calc(var(--k)*110);height:100%;padding-left:calc(var(--k)*20);box-sizing:border-box;background:url('assets/dynamax/ui/turn631/move_endcap.webp') center/100% 100% no-repeat;color:var(--pearl);font:700 calc(var(--k)*20)/1 var(--dxf)}
#dmax-scene.t631 .dx-moves>button[data-usable="0"] .dx-cap{color:var(--muted)}
#dmax-scene.t631 .dx-moves>button:not(:disabled):is(:hover,:focus-visible){outline:calc(var(--k)*3) solid #FFE6A8;outline-offset:calc(var(--k)*2);transform:none;box-shadow:none}
#dmax-scene.t631 .dx-moves>button:not(:disabled):is(:hover,:focus-visible)::after{content:'';position:absolute;left:calc(var(--k)*-46);top:calc(var(--k)*18);width:calc(var(--k)*40);height:calc(var(--k)*56);background:url('assets/dynamax/ui/turn631/move_cursor.webp') center/contain no-repeat}
/* 결과 띠 [540,102,840,108]: 제목 40·설명 19 */
#dmax-scene.t631 .dx-banner{left:calc(var(--k)*540);top:calc(var(--k)*102);width:calc(var(--k)*840);height:calc(var(--k)*108);transform:none;box-sizing:border-box;padding:0 calc(var(--k)*120);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--k)*6);border:0;border-radius:0;background:none;box-shadow:none;color:var(--pearl);text-align:center;--img:url('assets/dynamax/ui/turn631/result_band_win.webp');--sl:24 220 24 220;--bt:12;--br:110;--bb:12;--bl:110}
#dmax-scene.t631 .dx-banner.hidden{display:none}#dmax-scene.t631 .dx-banner[data-win="0"]{--img:url('assets/dynamax/ui/turn631/result_band_lose.webp')}
#dmax-scene.t631 .dx-banner>b{font:900 calc(var(--k)*40)/1 var(--dxf)}#dmax-scene.t631 .dx-banner>small{font:500 calc(var(--k)*19)/1.2 var(--dxf)}
/* 휴대폰(844×390 기준 별도 배치, 터치 44px): 머리 [298,10,248,28]·상대 [600,42,244,42]·나 [0,284,250,56]·대사 [12,345,338,38]·기술 [370,286,222,44]… */
@media (max-height:500px){
 #dmax-scene.t631{--k:calc(min(100vw,216.41vh)/844)}
 #dmax-scene.t631 .dx-ui>header{left:calc(var(--k)*298);top:calc(var(--k)*10);width:calc(var(--k)*248);height:calc(var(--k)*28);padding-left:calc(var(--k)*16);font-size:calc(var(--k)*12);--s:.52}
 #dmax-scene.t631 .dx-turn{left:calc(var(--k)*102);top:calc(var(--k)*4);width:calc(var(--k)*56);height:calc(var(--k)*20);font-size:calc(var(--k)*12)}#dmax-scene.t631 .dx-auto{right:calc(var(--k)*6);font-size:calc(var(--k)*12);min-height:calc(var(--k)*28)}
 #dmax-scene.t631 .dx-hp[data-side=b]{top:calc(var(--k)*42);width:calc(var(--k)*244);height:calc(var(--k)*42);--s:.356;--nx:24;--bw:201}
 #dmax-scene.t631 .dx-hp[data-side=a]{top:calc(var(--k)*284);width:calc(var(--k)*250);height:calc(var(--k)*56);--s:.475;--nx:14;--bw:208}
 #dmax-scene.t631 .dx-hp>b{top:calc(var(--k)*6);font-size:calc(var(--k)*14);gap:calc(var(--k)*6)}#dmax-scene.t631 .dx-bar{top:calc(var(--k)*25);height:calc(var(--k)*5)}
 #dmax-scene.t631 .dx-hp>small{top:calc(var(--k)*31);font-size:calc(var(--k)*9)}#dmax-scene.t631 .dx-hp[data-side=a]>small{top:calc(var(--k)*33);font-size:calc(var(--k)*12)}#dmax-scene.t631 .dx-hp[data-side=a] .dx-cur{font-size:calc(var(--k)*18);margin-right:calc(var(--k)*3)}
 #dmax-scene.t631 .dx-hp[data-side=a] .dx-state{left:calc(var(--k)*178);top:calc(var(--k)*8);font-size:calc(var(--k)*9)}
 #dmax-scene.t631 .dx-log{left:calc(var(--k)*12);top:calc(var(--k)*345);width:calc(var(--k)*338);height:calc(var(--k)*38);padding:0 calc(var(--k)*12);font-size:calc(var(--k)*11.5);line-height:1.2;--s:.34}
 #dmax-scene.t631 .dx-moves{left:calc(var(--k)*370);top:calc(var(--k)*286);grid-template-columns:repeat(2,calc(var(--k)*222));grid-auto-rows:calc(var(--k)*44);column-gap:calc(var(--k)*12);row-gap:calc(var(--k)*8)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child){grid-template-columns:repeat(2,calc(var(--k)*222))}
 #dmax-scene.t631 .dx-moves>button{width:calc(var(--k)*222);height:calc(var(--k)*44);min-height:44px;border-radius:calc(var(--k)*22);--s:.478}#dmax-scene.t631 .dx-moves>button::before{right:calc(var(--k)*30)}
 #dmax-scene.t631 .dx-moves>button>b{left:calc(var(--k)*39);top:calc(var(--k)*6);font-size:calc(var(--k)*17)}#dmax-scene.t631 .dx-moves>button>small{left:calc(var(--k)*39);top:calc(var(--k)*25);font-size:calc(var(--k)*10.5)}
 #dmax-scene.t631 .dx-moves>button>em{left:calc(var(--k)*140);top:calc(var(--k)*4);font-size:calc(var(--k)*8)}
 #dmax-scene.t631 .dx-ic[data-ic]{left:calc(var(--k)*13);top:calc(var(--k)*14);width:calc(var(--k)*16);height:calc(var(--k)*16)}#dmax-scene.t631 .dx-ic:not([data-ic]){left:calc(var(--k)*15);top:calc(var(--k)*16);width:calc(var(--k)*12);height:calc(var(--k)*12)}
 #dmax-scene.t631 .dx-cap{left:calc(var(--k)*176);width:calc(var(--k)*46);padding-left:calc(var(--k)*8);font-size:calc(var(--k)*11)}
 #dmax-scene.t631 .dx-moves>button:not(:disabled):is(:hover,:focus-visible)::after{left:calc(var(--k)*-20);top:calc(var(--k)*9);width:calc(var(--k)*18);height:calc(var(--k)*26)}
 #dmax-scene.t631 .dx-banner{left:calc(var(--k)*212);top:calc(var(--k)*44);width:calc(var(--k)*420);height:calc(var(--k)*54);padding:0 calc(var(--k)*60);--s:.5}#dmax-scene.t631 .dx-banner>b{font-size:calc(var(--k)*20)}#dmax-scene.t631 .dx-banner>small{font-size:calc(var(--k)*10)}
}
/* 결정 358 63-1 B-1(v0.12.12): 원래 크기 턴제 — 기술 3칸 가로 한 줄(meta turn_normal_size moves PC [824,950,344,106]×3 간격 16 · 휴대폰 [354,332,154,50]×3 간격 8, 끝칸 PC 96·휴대폰 46),
   휴대폰 내 HP 띠 [0,266,250,72], 첫 화면 '원래 크기로 맞서기' = normal_size_btn(480×56 · 휴대폰 260×44, 9-slice 24 10 34 10, 글자는 런타임) */
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child){left:calc(var(--k)*824);top:calc(var(--k)*950);grid-template-columns:repeat(3,calc(var(--k)*344));grid-auto-rows:calc(var(--k)*106);column-gap:calc(var(--k)*16)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button{width:calc(var(--k)*344);height:calc(var(--k)*106);border-radius:calc(var(--k)*53);--s:1.152}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button::before{right:calc(var(--k)*66)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>b{left:calc(var(--k)*74);top:calc(var(--k)*22);font-size:calc(var(--k)*27)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>small{left:calc(var(--k)*74);top:calc(var(--k)*64);font-size:calc(var(--k)*16)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>em{left:calc(var(--k)*74);top:calc(var(--k)*5)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-ic[data-ic]{top:calc(var(--k)*37)}#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-ic:not([data-ic]){top:calc(var(--k)*41)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-cap{left:calc(var(--k)*248);width:calc(var(--k)*96);padding-left:calc(var(--k)*18);font-size:calc(var(--k)*19)}
#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button:not(:disabled):is(:hover,:focus-visible)::after{top:calc(var(--k)*25)}
#dmax-scene.t631 .dx-hp[data-giant="0"]:is([data-side=a],[data-side=b])::before{clip-path:none;background:none} /* 옛 1346~1348행 원래 크기 사선 clip-path·빨간 면이 A 그림 띠를 사선 하나로 잘랐음 */
#dmax-scene.t631 .dp-gate-none{position:relative;isolation:isolate;width:calc(var(--k)*480);min-width:0;height:calc(var(--k)*56);min-height:44px;padding:0 calc(var(--k)*40) 0 calc(var(--k)*24);border:0;border-radius:0;background:none;box-shadow:none;color:var(--ink);font:800 calc(var(--k)*22)/1 var(--dxf)}
#dmax-scene.t631 .dp-gate-none::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-style:solid;border-color:transparent;border-width:calc(var(--k)*var(--s,1)*10) calc(var(--k)*var(--s,1)*34) calc(var(--k)*var(--s,1)*10) calc(var(--k)*var(--s,1)*24);border-image:url('assets/dynamax/ui/turn631/normal_size_btn.webp') 20 68 20 48 fill/1/0 stretch}
#dmax-scene.t631 .dp-gate-none:is(:hover,:focus-visible){outline:calc(var(--k)*3) solid #FFE6A8;outline-offset:calc(var(--k)*3);box-shadow:none}
@media (max-height:500px){
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child){left:calc(var(--k)*354);top:calc(var(--k)*332);grid-template-columns:repeat(3,calc(var(--k)*154));grid-auto-rows:calc(var(--k)*50);column-gap:calc(var(--k)*8)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button{width:calc(var(--k)*154);height:calc(var(--k)*50);border-radius:calc(var(--k)*25);--s:.543}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button::before{right:calc(var(--k)*32)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>b{left:calc(var(--k)*34);top:calc(var(--k)*10);font-size:calc(var(--k)*13)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>small{left:calc(var(--k)*34);top:calc(var(--k)*30);font-size:calc(var(--k)*8.5)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button>em{left:calc(var(--k)*34);top:calc(var(--k)*1);font-size:calc(var(--k)*7)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-ic[data-ic]{left:calc(var(--k)*10);top:calc(var(--k)*18);width:calc(var(--k)*15);height:calc(var(--k)*15)}#dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-ic:not([data-ic]){left:calc(var(--k)*12);top:calc(var(--k)*20)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child) .dx-cap{left:calc(var(--k)*108);width:calc(var(--k)*46);padding-left:calc(var(--k)*8);font-size:calc(var(--k)*10)}
 #dmax-scene.t631 .dx-moves:has(>button:nth-child(3):last-child)>button:not(:disabled):is(:hover,:focus-visible)::after{top:calc(var(--k)*12)}
 #dmax-scene.t631 .dx-hp[data-giant="0"][data-side=a]{top:calc(var(--k)*266);height:calc(var(--k)*72);--s:.62}

#dmax-scene.t631 .dp-gate-none{width:calc(var(--k)*260);height:calc(var(--k)*44);min-width:0;padding:0 calc(var(--k)*22) 0 calc(var(--k)*14);font-size:calc(var(--k)*13);--s:.786}
}
/* 결정 358 63-1 B-2(v0.12.12): 다이맥스 고르기 화면 — meta pick_pc/pick_mobile. 띠 pick_strip [48,782,1588,190]·카드 pick_card_normal/selected [90,812,478,128]×3(간격 34)·초상 홈 pick_portrait_well(94×102)·
   확정 원판 [1670,827,203,203](글 '확정' 기준선 817)·자동 추천 [1633,1030,275,40], 안내 글 뒤 어둠. 휴대폰 띠 [0,254,724,86]·카드 [12,262,224,70](간격 14)·확정 [735,267,98,98]·자동 [736,348,100,32](누름 44).
   모두 절대 배치라 옛 grid 1fr 행에 안내 글이 늘어나 생기던 큰 어두운 타원도 사라짐. 첫 화면(.gate)은 B-1 그대로 */
#dmax-scene.t631 .dx-pick:not(.gate){display:block}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-top{position:absolute;left:0;right:0;top:calc(var(--k)*72);margin:0}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-top>b{font:900 calc(var(--k)*50)/1 var(--dxf);color:var(--pearl);text-shadow:0 0 calc(var(--k)*14) #e0306a,0 calc(var(--k)*2) 0 #000}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-hp{width:calc(var(--k)*420);height:calc(var(--k)*6);margin-top:calc(var(--k)*8);border:0;background:url('assets/dynamax/ui/turn631/hp_track.webp') center/100% 100%}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-hp>em{background:url('assets/dynamax/ui/turn631/hp_fill.webp') left/calc(var(--k)*420) 100% no-repeat}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-gauge{display:none}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-say{position:absolute;left:50%;top:calc(var(--k)*148);transform:translateX(-50%);margin:0;padding:calc(var(--k)*6) calc(var(--k)*90);white-space:nowrap;border:0;border-radius:0;background:radial-gradient(closest-side,#05070cd9,#05070c99 60%,#05070c00);color:var(--pearl);font:500 calc(var(--k)*22)/1.2 var(--dxf)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-band{position:absolute;left:calc(var(--k)*48);top:calc(var(--k)*782);width:calc(var(--k)*1588);height:calc(var(--k)*190);box-sizing:border-box;padding:0;border:0;background:none;isolation:isolate}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-band::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-style:solid;border-color:transparent;border-width:calc(var(--k)*var(--s,1)*4);border-image:url('assets/dynamax/ui/turn631/pick_strip.webp') 8 fill/1/0 stretch}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-list{position:absolute;inset:0;align-items:center;justify-content:flex-start;gap:calc(var(--k)*34);padding:0 calc(var(--k)*42);overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill{position:relative;isolation:isolate;flex:0 0 calc(var(--k)*478);width:calc(var(--k)*478);min-width:0;height:calc(var(--k)*128);min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--pearl);text-align:left;--s:1.016}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill::before{content:'';position:absolute;inset:0;z-index:-1;width:auto;height:auto;transform:none;pointer-events:none;border-style:solid;border-color:transparent;border-width:calc(var(--k)*var(--s)*14) calc(var(--k)*var(--s)*72) calc(var(--k)*var(--s)*14) calc(var(--k)*var(--s)*28);border-image:url('assets/dynamax/ui/turn631/pick_card_normal.webp') 28 144 28 56 fill/1/0 stretch}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill.on::before{border-image-source:url('assets/dynamax/ui/turn631/pick_card_selected.webp')}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill::after{content:'';position:absolute;left:calc(var(--k)*10);top:calc(var(--k)*13);width:calc(var(--k)*94);height:calc(var(--k)*102);z-index:0;pointer-events:none;background:url('assets/dynamax/ui/turn631/pick_portrait_well.webp') center/100% 100% no-repeat}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>img{position:absolute;left:calc(var(--k)*15);top:calc(var(--k)*20);width:calc(var(--k)*84);height:calc(var(--k)*88);z-index:1}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>span{position:absolute;left:calc(var(--k)*118);top:calc(var(--k)*16);right:calc(var(--k)*40);display:block}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>span>b{display:block;font:800 calc(var(--k)*27)/1.1 var(--dxf);color:var(--pearl);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:calc(var(--k)*60)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill em{position:absolute;right:calc(var(--k)*-26);top:calc(var(--k)*-8);padding:calc(var(--k)*3) calc(var(--k)*12);border:0;border-radius:999px;font:800 calc(var(--k)*14)/1.1 var(--dxf)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-rec{background:var(--gold);color:var(--ink)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill .dp-mega{right:calc(var(--k)*50)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-vs{display:block;margin-top:calc(var(--k)*8);font:500 calc(var(--k)*15)/1.35 var(--dxf);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-vs>b{font:700 calc(var(--k)*18)/1.3 var(--dxf);overflow:hidden;text-overflow:ellipsis}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill:not(.dp-off):is(:hover,:focus-visible){outline:calc(var(--k)*3) solid #FFE6A8;outline-offset:calc(var(--k)*2)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-note{position:absolute;left:calc(var(--k)*92);top:calc(var(--k)*990);margin:0;font-size:calc(var(--k)*18)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act{position:absolute;inset:0;display:block;padding:0;pointer-events:none}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>button{position:absolute;pointer-events:auto;margin:0}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act::before{content:'확정';position:absolute;left:calc(var(--k)*1671);width:calc(var(--k)*201);top:calc(var(--k)*797);text-align:center;color:var(--pearl);font:700 calc(var(--k)*19)/1 var(--dxf);text-shadow:0 calc(var(--k)*2) 0 #000}
html #dmax-scene.t631 .dx-pick.dx-pick:not(.gate) .dp-act>.dp-go.dp-go{left:calc(var(--k)*1670);top:calc(var(--k)*827);width:calc(var(--k)*203);height:calc(var(--k)*203)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-auto{left:calc(var(--k)*1633);top:calc(var(--k)*1030);z-index:1;width:calc(var(--k)*275);height:calc(var(--k)*40);min-height:0;padding:0;border:calc(var(--k)*1.5) solid #A9B7C88c;background:#0b0f18d9;color:var(--pearl);font:600 calc(var(--k)*20)/1 var(--dxf)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-none{left:calc(var(--k)*1340);top:calc(var(--k)*1022);width:calc(var(--k)*275);height:calc(var(--k)*48);min-height:0;padding:0;place-content:center;border:calc(var(--k)*1.5) solid #A9B7C88c;background:#0b0f18d9;color:var(--pearl);font:700 calc(var(--k)*17)/1.1 var(--dxf)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-none>small{font-size:calc(var(--k)*12)}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-none[hidden]{display:none}
@media (max-height:500px){
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-top{top:calc(var(--k)*10)}#dmax-scene.t631 .dx-pick:not(.gate) .dp-top>b{font-size:calc(var(--k)*24)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-hp{width:calc(var(--k)*200);height:calc(var(--k)*3);margin-top:calc(var(--k)*3)}#dmax-scene.t631 .dx-pick:not(.gate) .dp-hp>em{background-size:calc(var(--k)*200) 100%}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-say{top:calc(var(--k)*46);padding:calc(var(--k)*3) calc(var(--k)*40);font-size:calc(var(--k)*11)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-band{left:0;top:calc(var(--k)*254);width:calc(var(--k)*724);height:calc(var(--k)*86);--s:.5}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-list{gap:calc(var(--k)*14);padding:0 calc(var(--k)*12)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill{flex-basis:calc(var(--k)*224);width:calc(var(--k)*224);height:calc(var(--k)*70);--s:.556}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill::after{left:calc(var(--k)*6);top:calc(var(--k)*7);width:calc(var(--k)*52);height:calc(var(--k)*56)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>img{left:calc(var(--k)*9);top:calc(var(--k)*11);width:calc(var(--k)*46);height:calc(var(--k)*48)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>span{left:calc(var(--k)*66);top:calc(var(--k)*8);right:calc(var(--k)*20)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill>span>b{font-size:calc(var(--k)*14);padding-right:calc(var(--k)*30)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-pill em{right:calc(var(--k)*-14);top:calc(var(--k)*-4);padding:calc(var(--k)*1) calc(var(--k)*6);font-size:calc(var(--k)*8)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-vs{margin-top:calc(var(--k)*3);font-size:calc(var(--k)*8)}#dmax-scene.t631 .dx-pick:not(.gate) .dp-vs>b{font-size:calc(var(--k)*9.5)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-note{left:calc(var(--k)*12);top:calc(var(--k)*344);font-size:calc(var(--k)*10);padding:calc(var(--k)*2) calc(var(--k)*8)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-act::before{left:calc(var(--k)*735);width:calc(var(--k)*98);top:calc(var(--k)*252);font-size:calc(var(--k)*10)}
 html #dmax-scene.t631 .dx-pick.dx-pick:not(.gate) .dp-act>.dp-go.dp-go{left:calc(var(--k)*735);top:calc(var(--k)*267);width:calc(var(--k)*98);height:calc(var(--k)*98)}
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-auto{left:calc(var(--k)*736);top:calc(var(--k)*348);width:calc(var(--k)*100);height:calc(var(--k)*32);min-height:0;font-size:calc(var(--k)*11);border-width:1px}#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-auto::after{content:'';position:absolute;left:0;right:0;top:calc(var(--k)*-6);bottom:calc(var(--k)*-6)} /* 누름 [736,342,100,44] */
 #dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-none{left:calc(var(--k)*600);top:calc(var(--k)*342);width:calc(var(--k)*126);height:44px;font-size:calc(var(--k)*9.5)}#dmax-scene.t631 .dx-pick:not(.gate) .dp-act>.dp-none>small{font-size:calc(var(--k)*7)}
}
/* 04(2026-10-27 사용자 실기기 피드백 ③): 밸런스 규칙 칸 이름이 76px 한 줄이라 "배틀 타워 상..."처럼 잘림 → 규칙 칸만 폭 128px·이름 2줄, 종류별 아이콘 색(타워 금·카지노 분홍·상점 초록) */
.pb-item[data-kind=rule]{width:128px}.pb-item[data-kind=rule] .pb-name{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.pb-item[data-cat=tower] .pb-icon>b{color:#ffd36a}.pb-item[data-cat=casino] .pb-icon>b{color:#ff8fc8}.pb-item[data-cat=shop] .pb-icon>b{color:#7fe3a8}
@media (max-height:520px){.pb-item[data-kind=rule]{width:104px}}
/* 04(2026-10-27 사용자 실기기 피드백 ①, 관리자 안 B): 안 본 새 소식이 있을 때만 '업데이트 소식'을 모드 카드 줄 바로 위 가운데로 올리고 금색 글자(18px)·✦·NEW 알약.
   다 보면(.pn-dot hidden) 원래 왼쪽 아래 흐린 글자로 돌아감. 휴대폰(높이 500 이하)은 위쪽 자리 그대로 꾸밈만. 상자·배경 없음 */
html body #title-news.c2-news:has(.pn-dot:not([hidden]))>span{color:#ffd866!important;font-weight:700!important;text-shadow:0 1px 0 #000,0 0 10px #ffd86666}
html body #title-news.c2-news:has(.pn-dot:not([hidden])) .pn-dot{display:none}
html body #title-news.c2-news:has(.pn-dot:not([hidden]))::before{content:'✦';color:#ffd866;font-size:.9em;text-shadow:0 0 8px #ffd86699}
html body #title-news.c2-news:has(.pn-dot:not([hidden]))::after{content:'NEW';display:inline-grid;place-items:center;height:22px;padding:0 9px;border-radius:999px;background:#d8343f;color:#fff;font:800 13px/1 "PT Read",sans-serif;letter-spacing:.04em;box-shadow:0 0 0 1px #ffd866aa,0 0 10px #d8343f88}
@media (min-height:501px){html body #title-news.c2-news:has(.pn-dot:not([hidden])){left:50%!important;bottom:auto!important;top:14.2vh;transform:translateX(-50%);gap:8px;font-size:clamp(18px,1.15vw,22px)!important}}
@media (max-height:500px){html body #title-news.c2-news:has(.pn-dot:not([hidden]))::after{height:16px;padding:0 6px;font-size:10px}}
/* 결정 447: 7열 소형 확률표 — 휴대폰에서 숫자끼리 붙어 '9.1%15.1%'로 읽히던 것, 칸 좌우 여백 */
html body .odds-mini td,html body .odds-mini th{padding-inline:3px!important}
/* 04(2026-10-27, v0.12.13): 아이템 그림이 없거나 받기 실패 → 깨진 그림 대신 ITEM.icon 글자(ItemArtFallback). 칸 크기 그대로, 가운데 */
.item-fallback{display:inline-grid;place-items:center;width:100%;height:100%;min-width:1em;min-height:1em;font-size:clamp(14px,1.4em,28px);line-height:1;filter:drop-shadow(0 1px 0 #0008)}
/* 04(2026-10-27 사용자 실기기 피드백, v0.12.14): 상점 카드 i — 누르는 칸은 44px 그대로인데 보이는 i가 18px라 '누르는 곳 ≠ 보이는 곳'.
   보이는 i를 칸 가운데 원 32px(휴대폰은 카드가 작아 코스트 숫자를 피해 칸 오른쪽 위 28px)로 키우고, 마우스를 올리면 칸 사각 테두리(v083 outline·배경) 대신 원만 밝아짐. 카드 그림·코스트·합성 표시와 안 겹침 */
html body.playing #shop-cards .shop-card .shop-info{justify-content:center!important;align-items:center!important;padding:0!important;background:none!important;outline:none!important}
html body.playing #shop-cards .shop-card .shop-info .shop-info-glyph{flex:0 0 32px!important;width:32px!important;height:32px!important;border:2px solid #bed6df!important;background:#18304acc!important;font:italic 700 18px/1 Georgia,serif!important;color:#eaf7ff!important;box-shadow:0 1px 3px #0009;transition:background .12s,border-color .12s}
html body.playing #shop-cards .shop-card .shop-info:is(:hover,:focus-visible) .shop-info-glyph{background:#2c5b80!important;border-color:#ffdf8a!important;box-shadow:0 0 0 2px #ffdf8a77,0 1px 3px #0009}
html body.playing.mobile-ui #shop-cards .shop-card .shop-info{justify-content:flex-end!important;align-items:flex-start!important;padding:2px!important}
html body.playing.mobile-ui #shop-cards .shop-card .shop-info .shop-info-glyph{flex-basis:28px!important;width:28px!important;height:28px!important;font-size:16px!important}
/* 결정 425 보완(2026-10-27, v0.12.14): 도감 코스트 필터 — 상점 5코 칸(2성 5G)·8코 600족 완성형 표시. 이름 바로 위 가운데 작은 금색 알약(번호·획득 표시를 가리지 않게) */
#pokedex #dex-list [data-dex-select]{position:relative}
#pokedex #dex-list .dex-tier-note{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);white-space:nowrap;padding:1px 6px;border-radius:999px;background:#0b1d2ad9;font:700 10.5px/1.3 inherit;font-style:normal;color:#ffd36a;pointer-events:none}
#pokedex .dex-empty{padding:24px;color:#9fb6c4;text-align:center}
/* 88 관장 선택 V5(사용자 승인 2026-10-31, GPT 88 V5 spec-88·manifest 좌표, 05 반입 assets/ui-gymselect): console-v51.js GymSelectV5가 08 투명 단추 안에 그린 카드·머리·배지 줄·확정/뒤로.
   좌표는 논리 px(PC 1920×1080 / 가로 844×390 / 세로 390×844), .work-gym-controls를 창에 맞춰 축소한다. 48311272 임시 선택 표시를 대체. 배경은 V5 menu_backdrop(05 반입 요청 중, 없으면 연두 단색). */
html body #work-gyms.gv5{background:#d7ebb7 url(assets/ui-gymselect/webp/menu_backdrop.webp) center/cover no-repeat;color:#245E4E;font-family:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}
html body #work-gyms.gv5::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fffef4b8 0,#fffef470 30%,#fffef458 70%,#fffef4b0);pointer-events:none}
html body #work-gyms.gv5>canvas{display:none}
html body #work-gyms.gv5 .work-gym-controls{position:absolute;inset:auto;left:0;top:0;transform-origin:0 0}
#work-gyms.gv5 .gv5-x{position:absolute;margin:0;pointer-events:none}
#work-gyms.gv5 .gv5-head{inset:0}
#work-gyms.gv5 .gv5-head>*{position:absolute;margin:0;white-space:nowrap}
#work-gyms.gv5 .gv5-brand{left:120px;top:26px;font-size:22px;font-weight:800;color:#2d7563;letter-spacing:.02em}
#work-gyms.gv5 .gv5-pill{left:120px;top:72px;width:256px;height:40px;box-sizing:border-box;border-style:solid;border-width:12px 30px;border-image:url(assets/ui-gymselect/webp/title_kanto@2x.webp) 24 60 fill/12px 30px;display:grid;place-items:center;color:#fffef4;font-size:20px;font-weight:800;line-height:1}
#work-gyms.gv5 .gv5-head[data-region=johto] .gv5-pill{border-image-source:url(assets/ui-gymselect/webp/title_johto@2x.webp)}
#work-gyms.gv5 .gv5-head[data-region=hoenn] .gv5-pill{border-image-source:url(assets/ui-gymselect/webp/title_hoenn@2x.webp)}
#work-gyms.gv5 .gv5-head:not([data-region=kanto]):not([data-region=johto]):not([data-region=hoenn]) .gv5-pill{border-image-source:url(assets/ui-gymselect/webp/title_neutral@2x.webp)}
#work-gyms.gv5 .gv5-mode{left:404px;top:80px;font-size:20px;font-weight:700}
#work-gyms.gv5 .gv5-hard{left:396px;top:64px;width:115px;height:50px}
#work-gyms.gv5 .gv5-title{transform:none;text-align:left;left:122px;top:126px;font-size:64px;font-weight:800;line-height:1;letter-spacing:.01em;color:#245E4E;text-shadow:0 2px 0 #fffef4,0 0 14px #fffef4}
#work-gyms.gv5 .gv5-title br{display:none}
#work-gyms.gv5 .gv5-sub{left:124px;top:202px;font-size:22px;font-weight:700;text-shadow:0 0 8px #fffef4}
#work-gyms.gv5 .gv5-rail{left:1230px;top:108px;width:570px;height:64px;box-sizing:border-box;border-style:solid;border-width:12px 32px;border-image:url(assets/ui-gymselect/webp/progress_rail@2x.webp) 24 64 fill/12px 32px;display:flex;align-items:center;gap:20px;padding:0 0 0 0}
#work-gyms.gv5 .gv5-rail small{position:absolute;right:-18px;top:-46px;font-size:18px;font-weight:700}
#work-gyms.gv5 .gv5-rail img{width:42px;height:42px;object-fit:contain;flex:none;margin-left:-10px}
#work-gyms.gv5 .gv5-rail img:first-of-type{margin-left:-14px}
#work-gyms.gv5 .gv5-rail img:not(.on){opacity:.6}
#work-gyms.gv5 .gv5-rail b{margin-left:auto;margin-right:-10px;font-size:22px;font-weight:800}
#work-gyms.gv5 .gv5-ready{left:1610px;top:984px;font-size:22px;font-weight:800;text-shadow:0 0 8px #fffef4}
/* 카드(단추) */
html body #work-gyms.gv5 .work-gym-controls [data-gym]{transform-origin:50% 50%;transition:transform 140ms ease-out;overflow:visible;outline:none;--lift:-14px}
#work-gyms.gv5 [data-gym] .gv5-card,#work-gyms.gv5 [data-gym] .gv5-body{position:absolute;inset:0;display:block}
#work-gyms.gv5 [data-gym] .gv5-body{transition:filter 140ms ease-out}
#work-gyms.gv5 .gv5-card img{position:absolute;display:block}
#work-gyms.gv5 .gv5-frame{left:0;top:0;width:100%;height:100%}
#work-gyms.gv5 .gv5-scene{position:absolute;left:24px;top:28px;width:472px;height:410px;border-radius:22px;overflow:hidden;background:#6f8f6a center/cover no-repeat}
#work-gyms.gv5 .gv5-scene .gv5-pic{left:12px;top:17px;width:448px;height:395px;object-fit:contain;object-position:50% 100%}
#work-gyms.gv5 .gv5-name{position:absolute;left:46px;top:446px;font-size:44px;font-weight:800;line-height:1;color:#245E4E}
#work-gyms.gv5 .gv5-city{position:absolute;left:50px;top:500px;font-size:22px;font-weight:700;color:#3f7466}
#work-gyms.gv5 .gv5-type{position:absolute;left:38px;top:536px;display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:#245E4E}
#work-gyms.gv5 .gv5-type i{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--t);box-shadow:0 0 0 3px #fffef4,0 1px 3px #0003}
#work-gyms.gv5 .gv5-type i img{position:static;width:100%;height:100%;object-fit:contain}
#work-gyms.gv5 .gv5-badge{left:377px;top:456px;width:80px;height:80px;object-fit:contain;filter:drop-shadow(0 2px 2px #0003)}
#work-gyms.gv5 .gv5-bname{position:absolute;left:327px;width:180px;top:541px;text-align:center;font-style:normal;font-size:22px;font-weight:700;line-height:1;color:#245E4E}
#work-gyms.gv5 .gv5-glow{left:-32px;top:-32px;width:584px;height:674px;opacity:0;transition:opacity 140ms ease-out;pointer-events:none}
#work-gyms.gv5 .gv5-sel{left:185px;top:-24px;width:150px;height:40px;opacity:0}
#work-gyms.gv5 .gv5-check{left:440px;top:-26px;width:64px;height:64px;opacity:0}
#work-gyms.gv5 .gv5-spark{left:-30px;top:400px;width:92px;height:92px;opacity:0;pointer-events:none}
/* 상태: 선택 100%·금테·광채·체크·선택됨 / 다른 카드 96%+필터(카드 전체 1번) / 초점 점선 틀 / 누름 96% */
html body #work-gyms.gv5 .work-gym-controls [data-gym][aria-pressed=true]{transform:translateY(var(--lift));z-index:2}
#work-gyms.gv5 [data-gym][aria-pressed=true] .gv5-frame{content:url(assets/ui-gymselect/webp/card_selected@2x.webp)}
#work-gyms.gv5 [data-gym][aria-pressed=true] :is(.gv5-glow,.gv5-sel,.gv5-check){opacity:1}
html body #work-gyms.gv5 .work-gym-controls.has-sel [data-gym][aria-pressed=false]{transform:scale(.96)}
#work-gyms.gv5 .has-sel [data-gym][aria-pressed=false] .gv5-body{filter:saturate(.55) brightness(.7)}
#work-gyms.gv5 [data-gym]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_focus@2x.webp)}
#work-gyms.gv5 [data-gym][aria-pressed=true]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_selected@2x.webp)}
#work-gyms.gv5 [data-gym][aria-pressed=true]:focus-visible .gv5-body{outline:3px dashed #348F79;outline-offset:8px;border-radius:24px}
html body #work-gyms.gv5 .work-gym-controls [data-gym]:active{transform:scale(.96);transition-duration:80ms}
#work-gyms.gv5 [data-gym]:active .gv5-frame{content:url(assets/ui-gymselect/webp/card_pressed@2x.webp)}
#work-gyms.gv5 [data-gym].gv5-pop .gv5-spark{animation:gv5-spark .6s ease-out both}
@keyframes gv5-spark{0%{opacity:0;transform:scale(.4) rotate(-20deg)}35%{opacity:1;transform:scale(1.05) rotate(0)}100%{opacity:0;transform:scale(.8) rotate(10deg)}}
/* 확정·뒤로 */
html body #work-gyms.gv5 .work-gym-controls [data-action]{box-sizing:border-box;border-style:solid;color:#245E4E;font-family:inherit;display:grid;place-items:center}
html body #work-gyms.gv5 .work-gym-controls [data-action=back]{left:120px;top:963px;width:160px;height:76px;border-width:14px 28px;border-image:url(assets/ui-gymselect/webp/back_button@2x.webp) 28 56 fill/14px 28px;font-size:26px;font-weight:800}
html body #work-gyms.gv5 .work-gym-controls [data-action=confirm]{left:650px;top:948px;width:620px;height:100px;border-width:14px 34px;border-image:url(assets/ui-gymselect/webp/confirm_active@2x.webp) 28 68 fill/14px 34px;font-size:36px;font-weight:800;transform-origin:50% 50%;animation:gv5-go 1.4s ease-in-out infinite}
html body #work-gyms.gv5 .work-gym-controls [data-action=confirm]:disabled{border-image-source:url(assets/ui-gymselect/webp/confirm_disabled@2x.webp);color:#5f7d74;animation:none;cursor:not-allowed}
html body #work-gyms.gv5 .work-gym-controls [data-action=confirm]:not(:disabled):active{border-image-source:url(assets/ui-gymselect/webp/confirm_pressed@2x.webp);animation:none;transform:scale(.98)}
#work-gyms.gv5 [data-action]:focus-visible{outline:3px dashed #348F79;outline-offset:4px}
#work-gyms.gv5 .gv5-lab{pointer-events:none;white-space:nowrap}
@keyframes gv5-go{0%,100%{filter:drop-shadow(0 0 10px rgba(255,218,86,.12))}50%{filter:drop-shadow(0 0 16px rgba(255,218,86,.28))}} /* 시안 배율 1→1.008은 뺌: 단추가 계속 움직이면 자동 클릭(시험·접근성 도구)이 '안정되지 않음'으로 실패 */
/* 가로 844×390 */
#work-gyms.gv5[data-v5=land] :is(.gv5-brand,.gv5-sub,.gv5-ready){display:none}
#work-gyms.gv5[data-v5=land] .gv5-pill{left:28px;top:14px;width:140px;height:26px;border-width:8px 18px;border-image-width:8px 18px;font-size:13px}
#work-gyms.gv5[data-v5=land] .gv5-mode{left:auto;right:24px;top:18px;font-size:13px}
#work-gyms.gv5[data-v5=land] .gv5-hard{left:auto;right:16px;top:10px;width:64px;height:28px}
#work-gyms.gv5[data-v5=land] .gv5-title{left:0;width:844px;text-align:center;top:9px;font-size:27px}
#work-gyms.gv5[data-v5=land] .gv5-rail{left:243px;top:46px;width:358px;height:32px;border-width:8px 20px;border-image-width:8px 20px;gap:13px}
#work-gyms.gv5[data-v5=land] .gv5-rail small{display:none}
#work-gyms.gv5[data-v5=land] .gv5-rail img{width:22px;height:22px;margin-left:-4px}
#work-gyms.gv5[data-v5=land] .gv5-rail img:first-of-type{margin-left:-6px}
#work-gyms.gv5[data-v5=land] .gv5-rail b{font-size:12px;margin-right:-6px}
#work-gyms.gv5[data-v5=land] [data-gym]{--lift:-3px}
#work-gyms.gv5[data-v5=land] .gv5-scene{left:10px;top:10px;width:220px;height:158px;border-radius:10px}
#work-gyms.gv5[data-v5=land] .gv5-scene .gv5-pic{left:6px;top:18px;width:208px;height:140px}
#work-gyms.gv5[data-v5=land] .gv5-name{left:13px;top:164px;font-size:21px;text-shadow:0 0 4px #fffef4,0 0 2px #fffef4}
#work-gyms.gv5[data-v5=land] .gv5-city{left:14px;top:204px;font-size:10px}
#work-gyms.gv5[data-v5=land] .gv5-type{left:94px;top:201px;gap:4px;font-size:10px}
#work-gyms.gv5[data-v5=land] .gv5-type i{width:15px;height:15px;box-shadow:0 0 0 1.5px #fffef4}
#work-gyms.gv5[data-v5=land] .gv5-badge{left:181px;top:164px;width:34px;height:34px}
#work-gyms.gv5[data-v5=land] .gv5-bname{left:146px;width:100px;top:203px;font-size:14px}
#work-gyms.gv5[data-v5=land] .gv5-glow{left:-18px;top:-18px;width:276px;height:268px}
#work-gyms.gv5[data-v5=land] .gv5-sel{left:76px;top:-14px;width:88px;height:23px}
#work-gyms.gv5[data-v5=land] .gv5-check{left:204px;top:-12px;width:36px;height:36px}
#work-gyms.gv5[data-v5=land] .gv5-spark{left:-12px;top:150px;width:40px;height:40px}
#work-gyms.gv5[data-v5=land] [data-gym]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_landscape_focus@2x.webp)}
#work-gyms.gv5[data-v5=land] [data-gym][aria-pressed=true] .gv5-frame,#work-gyms.gv5[data-v5=land] [data-gym][aria-pressed=true]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_landscape_selected@2x.webp)}
#work-gyms.gv5[data-v5=land] [data-gym]:active .gv5-frame{content:url(assets/ui-gymselect/webp/card_landscape_pressed@2x.webp)}
html body #work-gyms.gv5[data-v5=land] .work-gym-controls [data-action=back]{left:217px;top:337px;width:95px;height:47px;border-width:9px 18px;border-image-width:9px 18px;font-size:16px}
html body #work-gyms.gv5[data-v5=land] .work-gym-controls [data-action=confirm]{left:326px;top:333px;width:302px;height:52px;border-width:9px 22px;border-image-width:9px 22px;font-size:20px}
/* 세로 390×844 */
#work-gyms.gv5[data-v5=port] :is(.gv5-sub,.gv5-ready){display:none}
#work-gyms.gv5[data-v5=port] .gv5-brand{left:20px;top:14px;font-size:15px}
#work-gyms.gv5[data-v5=port] .gv5-pill{left:20px;top:48px;width:168px;height:28px;border-width:8px 20px;border-image-width:8px 20px;font-size:14px}
#work-gyms.gv5[data-v5=port] .gv5-mode{left:auto;right:20px;top:14px;font-size:14px}
#work-gyms.gv5[data-v5=port] .gv5-hard{left:auto;right:14px;top:8px;width:64px;height:28px}
#work-gyms.gv5[data-v5=port] .gv5-title{left:20px;top:86px;font-size:34px;line-height:1.3}
#work-gyms.gv5[data-v5=port] .gv5-title br{display:inline}
#work-gyms.gv5[data-v5=port] .gv5-rail{left:18px;top:171px;width:354px;height:42px;border-width:10px 22px;border-image-width:10px 22px;gap:6px}
#work-gyms.gv5[data-v5=port] .gv5-rail small{display:none}
#work-gyms.gv5[data-v5=port] .gv5-rail img{width:30px;height:30px;margin-left:0}
#work-gyms.gv5[data-v5=port] .gv5-rail img:first-of-type{margin-left:-8px}
#work-gyms.gv5[data-v5=port] .gv5-rail b{font-size:14px;margin-right:-8px}
#work-gyms.gv5[data-v5=port] [data-gym]{--lift:0px}
#work-gyms.gv5[data-v5=port] .gv5-scene{left:10px;top:10px;width:172px;height:160px;border-radius:10px}
#work-gyms.gv5[data-v5=port] .gv5-scene .gv5-pic{left:7px;top:17px;width:164px;height:135px}
#work-gyms.gv5[data-v5=port] .gv5-name{left:196px;top:22px;font-size:25px}
#work-gyms.gv5[data-v5=port] .gv5-city{left:197px;top:56px;font-size:12px}
#work-gyms.gv5[data-v5=port] .gv5-type{left:196px;top:80px;gap:6px;font-size:14px}
#work-gyms.gv5[data-v5=port] .gv5-type i{width:22px;height:22px;box-shadow:0 0 0 2px #fffef4}
#work-gyms.gv5[data-v5=port] .gv5-badge{left:286px;top:84px;width:46px;height:46px}
#work-gyms.gv5[data-v5=port] .gv5-bname{left:191px;width:150px;top:144px;font-size:15px}
#work-gyms.gv5[data-v5=port] .gv5-glow{left:-18px;top:-18px;width:392px;height:216px}
#work-gyms.gv5[data-v5=port] .gv5-sel{left:196px;top:112px;width:80px;height:21px}
#work-gyms.gv5[data-v5=port] .gv5-check{left:320px;top:-10px;width:40px;height:40px}
#work-gyms.gv5[data-v5=port] .gv5-spark{left:-12px;top:120px;width:40px;height:40px}
#work-gyms.gv5[data-v5=port] [data-gym]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_compact_focus@2x.webp)}
#work-gyms.gv5[data-v5=port] [data-gym][aria-pressed=true] .gv5-frame,#work-gyms.gv5[data-v5=port] [data-gym][aria-pressed=true]:focus-visible .gv5-frame{content:url(assets/ui-gymselect/webp/card_compact_selected@2x.webp)}
#work-gyms.gv5[data-v5=port] [data-gym]:active .gv5-frame{content:url(assets/ui-gymselect/webp/card_compact_pressed@2x.webp)}
html body #work-gyms.gv5[data-v5=port] .work-gym-controls [data-action=back]{left:17px;top:780px;width:82px;height:49px;border-width:9px 18px;border-image-width:9px 18px;font-size:16px}
html body #work-gyms.gv5[data-v5=port] .work-gym-controls [data-action=confirm]{left:105px;top:776px;width:269px;height:56px;border-width:9px 22px;border-image-width:9px 22px;font-size:20px}
/* 모션 줄이기: 최종 상태 즉시(금테·체크·선택됨은 그대로) */
@media(prefers-reduced-motion:reduce){#work-gyms.gv5 *{transition:none!important;animation:none!important}}
body.pt-still-fx #work-gyms.gv5 *{transition:none!important;animation:none!important}
/* 88 배지 창 V5(사용자 승인 2026-10-31, GPT 88 V5 B01~B10 · manifest 좌표): console-v51.js BadgeAlbumV5. 논리 px PC 1920×1080 / 가로 844×390를 창에 맞춰 축소.
   창 틀 9-slice(@2x 100 → 논리 50, 가로 0.65배), 시안대로 세 지방 모두 초록 틀(지방은 제목 장식으로 구분), 하드 = 하드 틀·붉은 받침, 8/8 = 금 테두리. */
#badge-album.hidden{display:none}
#badge-album.ba5{outline:none;position:fixed;inset:0;z-index:260;background:#d7ebb7 url(assets/ui-gymselect/webp/menu_backdrop.webp) center/cover no-repeat;color:#245E4E;font-family:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}
#badge-album.ba5::before{content:"";position:absolute;inset:0;background:#fffef48a;pointer-events:none}
#badge-album .ba5-stage{position:absolute;left:0;top:0;transform-origin:0 0}
#badge-album .ba5-win{position:absolute;inset:0;transform-origin:50% 50%;animation:ba5-open .25s ease-out both}
@keyframes ba5-open{from{transform:scale(.9);opacity:.25}to{transform:none;opacity:1}}
#badge-album .ba5-win>*{position:absolute;margin:0}
#badge-album :is(.ba5-frame,.ba5-gold){left:95px;top:58px;width:1730px;height:965px;box-sizing:border-box;border:50px solid transparent;pointer-events:none}
#badge-album .ba5-frame{border-image:url(assets/ui-gymselect/webp/badge_window_normal@2x.webp) 100 fill/50px}
#badge-album.hard .ba5-frame{border-image-source:url(assets/ui-gymselect/webp/badge_window_hard@2x.webp)}
#badge-album .ba5-gold{display:none;border-image:url(assets/ui-gymselect/webp/album_complete_border@2x.webp) 100 fill/50px}
#badge-album.done .ba5-gold{display:block}
#badge-album .ba5-corner{width:142px;height:142px;pointer-events:none}
#badge-album .ba5-corner.tl{left:101px;top:64px}#badge-album .ba5-corner.tr{left:1677px;top:64px}#badge-album .ba5-corner.bl{left:101px;top:875px}#badge-album .ba5-corner.br{left:1677px;top:875px}
#badge-album .ba5-head{left:237px;top:146px;display:flex;align-items:center;gap:22px;white-space:nowrap}
#badge-album .ba5-head h2{margin:0;font-size:52px;font-weight:800;line-height:1;color:#245E4E;letter-spacing:.02em}
#badge-album .ba5-orn{width:62px;height:62px}
#badge-album .ba5-mode{font-size:22px;font-weight:700;margin-left:2px}
#badge-album .ba5-hard{width:128px;height:56px}
#badge-album .ba5-done{width:184px;height:54px}
#badge-album .ba5-sub{left:240px;top:216px;font-size:22px;font-weight:700;color:#3f7466}
#badge-album hr{left:237px;top:258px;width:1433px;height:0;border:0;border-top:2px solid #c9d8c4}
#badge-album.done hr{border-top-color:#e2c46a}
#badge-album .ba5-count{left:1230px;top:160px;width:367px;height:72px;box-sizing:border-box;border:2px solid #c6dcc6;border-radius:24px;background:#eef3e2;display:flex;align-items:center;justify-content:space-between;padding:0 50px 0 32px}
#badge-album .ba5-count small{font-size:22px;font-weight:700}
#badge-album .ba5-count b{font-size:40px;font-weight:800;letter-spacing:.06em}
#badge-album.done .ba5-count{background:#fff1b8;border-color:#e9c95c}
#badge-album .ba5-close{left:1647px;top:157px;width:60px;height:60px;padding:0;border:0;background:none;border-radius:50%;cursor:pointer}
#badge-album .ba5-close img{width:100%;height:100%;display:block}
#badge-album .ba5-close:focus-visible{outline:3px dashed #348F79;outline-offset:4px}
#badge-album .ba5-grid{left:0;top:0;list-style:none;padding:0}
#badge-album .ba5-cell{position:absolute;left:calc(237px + var(--i) * 359px);top:289px;width:350px;height:277px;text-align:center}
#badge-album .ba5-cell:nth-child(n+5){left:calc(237px + (var(--i) - 4) * 359px);top:589px}
#badge-album .ba5-sock{position:absolute;left:111px;top:11px;width:128px;height:128px}
#badge-album .ba5-sock img{position:absolute}
#badge-album .ba5-sock .s{inset:0;width:100%;height:100%}
#badge-album .ba5-sock :is(.b,.sh){left:21px;top:21px;width:86px;height:86px;object-fit:contain}
#badge-album .locked .ba5-sock .b,#badge-album .next .ba5-sock .b{opacity:1}
#badge-album .ba5-sock .sh{mix-blend-mode:screen;pointer-events:none}
#badge-album .ba5-sock .sp{left:92px;top:-14px;width:56px;height:56px;animation:ba5-twinkle 2.6s ease-in-out infinite}
#badge-album .ba5-cell:nth-child(2n) .sp{animation-delay:-1.3s}
@keyframes ba5-twinkle{0%,100%{opacity:.95;transform:scale(1)}50%{opacity:.55;transform:scale(.86)}}
#badge-album .ba5-sock .now{left:100px;top:-22px;width:88px;height:52px}
#badge-album .ba5-cell small{position:absolute;left:0;right:0;top:160px;font-size:15px;font-weight:700;color:#4b7a6c}
#badge-album .ba5-cell b{position:absolute;left:0;right:0;top:178px;font-size:31px;font-weight:800;line-height:1.1;color:#245E4E}
#badge-album .ba5-who{position:absolute;left:0;right:0;top:230px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:20px;font-weight:700;color:#3f7466;white-space:nowrap}
#badge-album .ba5-who i{width:34px;height:34px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 2px #fffef4,0 0 0 3.5px #9fbdb1;flex:none}
#badge-album .ba5-who i img{width:100%;height:100%;object-fit:cover;display:block}
#badge-album .ba5-hint{left:0;width:1920px;top:902px;text-align:center;font-size:24px;font-weight:700;color:#3b6f5f}
#badge-album.done .ba5-hint{color:#b07d1e}
/* 막 딴 배지: 앨범에서 한 번 더 반짝임 */
#badge-album .fresh .ba5-sock{animation:ba5-fresh 1s ease-out .25s both}
#badge-album .fresh .ba5-sock .sh{animation:ba5-sheen 1.2s ease-out .35s both}
@keyframes ba5-fresh{0%{transform:scale(.7);filter:brightness(1.8)}55%{transform:scale(1.08);filter:brightness(1.25)}100%{transform:none;filter:none}}
@keyframes ba5-sheen{0%{opacity:0}35%{opacity:1}100%{opacity:.6}}
/* 여정 창의 배지 줄 → 배지 창 */
#journey-content .gym-badge-list[data-ba5]{cursor:pointer;border-radius:10px}
#journey-content .gym-badge-list[data-ba5]:hover{box-shadow:0 0 0 2px #ffda56aa}
#journey-content .gym-badge-list[data-ba5]:focus-visible{outline:3px dashed #ffda56;outline-offset:3px}
#journey-content .ba5-open{display:block;margin:6px 0 2px auto;padding:6px 14px;border-radius:999px;border:1px solid #ffda56;background:#fff7e4;color:#245E4E;font-weight:800;cursor:pointer}
/* 가로 844×390 */
#badge-album.land :is(.ba5-frame,.ba5-gold){left:4px;top:4px;width:836px;height:382px;border-width:32px;border-image-width:32px}
#badge-album.land .ba5-corner{width:57px;height:57px}
#badge-album.land .ba5-corner.tl{left:9px;top:9px}#badge-album.land .ba5-corner.tr{left:778px;top:9px}#badge-album.land .ba5-corner.bl{left:9px;top:324px}#badge-album.land .ba5-corner.br{left:778px;top:324px}
#badge-album.land .ba5-head{left:65px;top:32px;gap:10px}
#badge-album.land .ba5-head h2{font-size:25px}
#badge-album.land .ba5-orn{width:36px;height:36px}
#badge-album.land .ba5-mode{display:none}
#badge-album.land .ba5-hard{width:64px;height:28px}
#badge-album.land .ba5-done{width:92px;height:27px}
#badge-album.land .ba5-sub,#badge-album.land .ba5-hint{display:none}
#badge-album.land hr{left:65px;top:76px;width:715px;border-top-width:1px}
#badge-album.land .ba5-count{left:584px;top:34px;width:132px;height:30px;border:0;background:none;padding:0;justify-content:flex-end;gap:8px}
#badge-album.land .ba5-count small{font-size:16px}
#badge-album.land .ba5-count b{font-size:17px;letter-spacing:.02em}
#badge-album.land.done .ba5-count{background:none}
#badge-album.land .ba5-close{left:744px;top:28px;width:44px;height:44px}
#badge-album.land .ba5-cell{left:calc(65px + var(--i) * 178px);top:88px;width:170px;height:120px}
#badge-album.land .ba5-cell:nth-child(n+5){left:calc(65px + (var(--i) - 4) * 178px);top:215px}
#badge-album.land .ba5-sock{left:57px;top:-4px;width:56px;height:56px}
#badge-album.land .ba5-sock :is(.b,.sh){left:9px;top:9px;width:38px;height:38px}
#badge-album.land .ba5-sock .sp{left:40px;top:-6px;width:24px;height:24px}
#badge-album.land .ba5-sock .now{left:44px;top:-12px;width:46px;height:27px}
#badge-album.land .ba5-cell small{display:none}
#badge-album.land .ba5-cell b{top:58px;font-size:17px}
#badge-album.land .ba5-who{top:84px;gap:5px;font-size:11.5px}
#badge-album.land .ba5-who i{width:24px;height:24px;box-shadow:0 0 0 1.5px #fffef4,0 0 0 2.5px #9fbdb1}
/* 획득 연출 별빛(WorkBadge 위) */
.ba5-earn{position:fixed;z-index:176;width:0;height:0;pointer-events:none}
.ba5-earn .ring{position:absolute;left:-60px;top:-60px;width:120px;height:120px;border-radius:50%;box-shadow:0 0 0 4px #ffda56,0 0 30px 10px #ffda5688;animation:ba5-ring .8s ease-out both}
.ba5-earn img{position:absolute;left:-28px;top:-28px;width:56px;height:56px;animation:ba5-spark .8s ease-out both;--a:calc(var(--k) * 120deg)}
.ba5-earn.big .ring{left:-110px;top:-110px;width:220px;height:220px}
.ba5-earn.big img{left:-46px;top:-46px;width:92px;height:92px;animation-duration:1.05s}
.ba5-earn:not(.big) .ring{left:-30px;top:-30px;width:60px;height:60px;box-shadow:0 0 0 3px #ffda56,0 0 16px 6px #ffda5688}
@keyframes ba5-ring{0%{transform:scale(.3);opacity:0}25%{opacity:1}100%{transform:scale(1.5);opacity:0}}
@keyframes ba5-spark{0%{transform:rotate(var(--a)) translateY(0) scale(.3);opacity:0}30%{opacity:1}100%{transform:rotate(var(--a)) translateY(-70px) scale(1);opacity:0}}
/* 모션 줄이기: 정적(열림·반짝임·별빛 없음) */
#badge-album.still *,#badge-album.still{animation:none!important}
@media(prefers-reduced-motion:reduce){#badge-album *{animation:none!important}.ba5-earn{display:none}}
/* '자세히' 안 1(관리자 승인 2026-10-27): 상세창(#unit-side) 안 [요약·기술·진화] 탭 — 장비 줄 옛 '자세히' 자리, 크림 카드 그대로·새 상자·남색 없이 점선 구분만 */
#unit-side .us-gear .us-tabs{display:flex;gap:2px;margin-left:auto;align-self:stretch}
#unit-side .us-gear .us-tabs button{min-width:36px;min-height:44px;padding:0 6px;border:1px solid #b89a63;border-radius:8px;background:#efe0bd;color:#6b4a2b;font:800 13px/1 inherit;cursor:pointer}
#unit-side .us-gear .us-tabs button[aria-selected=true]{background:#6b4a2b;border-color:#6b4a2b;color:#fff3d6}
#unit-side .us-tabs button:focus-visible{outline:2px solid #ffdf8a;outline-offset:-2px}
#unit-side[data-compact=true] .us-gear .us-tabs button{min-width:32px;padding:0 4px;font-size:12px}
#unit-side .us-tab-body{display:grid;gap:4px;font-size:13px;line-height:1.45;color:#3d3122}
#unit-side .us-tech{padding:4px 2px 6px;border-bottom:1px dashed #cdb98f}
#unit-side .us-tech h5{margin:0 0 2px;font:800 13.5px/1.25 inherit;color:#4a3720;display:flex;justify-content:space-between;gap:6px}
#unit-side .us-tech h5 small{font-weight:700;color:#8a6b3c;white-space:nowrap}
#unit-side .us-tech p{margin:2px 0 0}
#unit-side .us-kv{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12.5px}
#unit-side .us-kv em{font-style:normal;color:#8a7350;margin-right:4px}
#unit-side .us-evo{display:flex;align-items:flex-end;justify-content:center;gap:4px;padding:6px 0;flex-wrap:wrap}
#unit-side .us-evo span{display:grid;justify-items:center;gap:2px;font-size:12px;color:#4a3720}
#unit-side .us-evo img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}
#unit-side .us-evo i{font-style:normal;color:#a58a5a;margin-bottom:24px}
#unit-side .us-growth{margin:4px 0 0;font-size:12.5px;color:#5d4a2e;text-align:center}
/* 휴대폰 아래 시트: 탭은 장비 칸 아래 옛 '자세히' 자리(폭 144), 기술·진화 탭이면 시트를 화면 70%까지 늘리고 가운데 칸에 내용(넘치면 안에서 스크롤) */
html body #unit-side[data-sheet=true] .us-gear .us-tabs{grid-column:1/-1;width:144px;margin-left:0}
html body #unit-side[data-sheet=true] .us-gear .us-tabs button{flex:1;min-width:0}
html body #unit-side[data-sheet=true]:not([hidden]):has(.us-tab-body){height:auto;max-height:70vh;grid-template-rows:76px auto}
html body #unit-side[data-sheet=true] .us-tab-body{grid-column:2;grid-row:1/-1;max-height:calc(70vh - 20px);overflow:auto;align-self:start}
/* PC: 기술·진화 탭은 요약 높이 그대로(min-height) — 장비·탭 줄은 창 아래에 붙인다 */
html body #unit-side[data-sheet=false]:not([hidden]):has(.us-tab-body){display:flex!important;flex-direction:column}
html body #unit-side[data-sheet=false]:has(.us-tab-body) .us-gear{margin-top:auto}
/* 사용자 제보(2026-10-31, 관리자 지시 v0.12.23): PC 창(폭 300·안 264)에서 장비 3칸(44×3+간격 6×3=150) + 탭 3개(최소 44×3+2×2=136)가 한 줄 286 > 264라
   '진화' 탭이 창 밖으로 4px 넘치고 창에 가로 스크롤이 생겼다. 탭 칸은 남은 폭(minmax 0)을 셋이 나눈다(글자 13px 그대로, 높이 44 그대로).
   휴대폰 시트도 탭 줄 144가 장비 줄 140보다 4px 넓어 같은 넘침 → 장비 줄 폭에 맞춘다 */
html body #unit-side[data-sheet=false] .us-gear{grid-template-columns:repeat(3,44px) minmax(0,1fr)}
html body #unit-side[data-sheet=false] .us-gear .us-tabs{min-width:0;width:100%;margin-left:0}
html body #unit-side[data-sheet=false] .us-gear .us-tabs button{flex:1 1 0;width:auto;min-width:0;padding:0 2px;white-space:nowrap}
html body #unit-side[data-sheet=true] .us-gear .us-tabs{width:auto;justify-self:stretch}
/* 관리자 v0.12.16: 상점 잠금 두 상태 구분(이모지 → ui.js SVG). 풀림=흐린 칸·열린 고리, 잠김=주황 테두리·빛·닫힌 고리+'잠김'. 상자 추가 없음. :is(#lock-btn)=기존 html body.playing… #lock-btn(!important)보다 우선 */
#lock-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1}
/* 사용자 지시(2026-10-31, 관리자 v0.12.24): 시너지 호버 툴팁(console-v51.js SynergyTip) — 정보 창과 같은 크림 카드, 남색 상자 없이 간결하게. 포인터 이벤트 없음(가리지 않음) */
#synergy-tip{position:fixed;z-index:9300;width:268px;max-width:calc(100vw - 16px);padding:10px 12px 8px;border:2px solid #b89a63;border-radius:10px;background:#fbf2dc;color:#3d3122;box-shadow:0 8px 22px rgba(0,0,0,.4);font:400 12px/1.4 'PT Read',sans-serif;pointer-events:none}
#synergy-tip[hidden]{display:none}
#synergy-tip header{display:flex;align-items:center;gap:7px;margin-bottom:4px}#synergy-tip header>:first-child{width:26px;height:26px;flex:none}
#synergy-tip header strong{font:800 15px/1.2 'PT Read',sans-serif;color:#4a3420}#synergy-tip header b{margin-left:auto;font:800 14px/1 'PT Read',sans-serif;color:#6b4a2b}
#synergy-tip .st-fx{margin:0 0 2px;font-weight:700;color:#3d3122}#synergy-tip .st-target{margin:0 0 6px;color:#3f6b8a;font-size:11.5px}
#synergy-tip .st-steps{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:2px}
#synergy-tip .st-steps li{display:flex;align-items:center;gap:7px;padding:2px 4px;border-radius:5px;color:#8a7a62}
#synergy-tip .st-steps li b{display:inline-grid;place-items:center;min-width:20px;height:18px;border:1px solid #c9b48a;border-radius:4px;font:800 11px/1 'PT Read',sans-serif;color:#8a7a62}
#synergy-tip .st-steps li.lit{color:#5b4a33}
#synergy-tip .st-steps li.on{background:rgba(217,165,32,.2);color:#3d2a12;font-weight:800}#synergy-tip .st-steps li.on b{border-color:#d9a520;background:#d9a520;color:#fff}
#synergy-tip .st-mons{display:flex;flex-wrap:wrap;gap:3px;margin:0 0 4px}
#synergy-tip .st-mon{position:relative;display:grid;place-items:center;width:32px;height:32px;border:1px solid #d8c7a2;border-radius:6px;background:#f1e5c6;font-style:normal}
#synergy-tip .st-mon img{width:30px!important;height:30px!important;object-fit:contain;image-rendering:pixelated;filter:grayscale(1) opacity(.55)}
#synergy-tip .st-mon.own{border-color:#d9a520;background:#fff7df}#synergy-tip .st-mon.own img{filter:none}
#synergy-tip .st-mon em{position:absolute;right:-2px;bottom:-3px;min-width:12px;padding:0 2px;border-radius:4px;background:#6b4a2b;color:#ffe3a0;font:800 9px/1.3 'PT Read',sans-serif;font-style:normal;text-align:center}
#synergy-tip .st-more{display:grid;place-items:center;width:32px;height:32px;color:#8a7a62;font:800 11px/1 'PT Read',sans-serif;font-style:normal}
#synergy-tip .st-hint{margin:0;color:#9a8a70;font-size:10.5px;text-align:right}
#lock-icon svg{display:block;width:22px;height:22px}
#lock-btn:is(#lock-btn):not(.locked){background:#efe7cf!important;border-color:#cbb98b!important;color:#8c7a55!important}
#lock-btn:is(#lock-btn).locked{background:#ffd34d!important;border:2px solid #d9731a!important;color:#5a2e00!important;box-shadow:0 0 0 2px #fff7,0 0 12px #ffa424cc,0 2px 3px #0005!important}
#lock-btn.locked #lock-icon svg{width:18px;height:18px}
#lock-icon .lock-state{display:block;font:800 9px/1 'PT Read',sans-serif;letter-spacing:-.02em;color:inherit}
/* 관리자 v0.12.17: 날씨 표시 이모지 → GPT 73 동전 그림(.cv-wx-ico)·SVG(.hud-wx-ico). 기기마다 같은 모양 */
.cv-wx-ico,.hud-wx-ico{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.22em;margin-right:2px;object-fit:contain}
.hud-wx-ico{width:1.15em;height:1.15em;vertical-align:-.2em;color:#ffe08a}
#mobile-hud #cv-weather-chip .cv-wx-ico{width:32px;height:32px;margin:0;vertical-align:middle}
#cv-weather-band b .cv-wx-ico{width:34px;height:34px;margin:0;vertical-align:middle}@media (max-height:500px){#cv-weather-band b .cv-wx-ico{width:24px;height:24px}}
.cv-fa-ico{display:inline-block;width:1.1em;height:1.1em;vertical-align:-.18em} /* 프런티어 '다시 뽑기' 아이콘(v0.12.17, 이모지 대신) */
/* v0.12.20 A·C-1 배틀 타워 모험 팀 런 팀·시작 층 고르기(BP 상점 패널 모양) — 디자인 검수 필요 */
.cv-towerpick{position:absolute;z-index:6;left:50%;top:112px;bottom:32px;width:min(1180px,calc(100% - 72px));transform:translateX(-50%);display:flex;flex-direction:column;gap:12px;padding:18px 22px!important;background:#102b3ff2}
.cv-towerpick>header{display:flex;align-items:center;gap:16px}.cv-towerpick h3{font-size:30px;margin:0}.cv-towerpick .cv-tp-close{margin-left:auto;min-height:44px;min-width:88px}
.cv-tp-teams{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);align-content:start;gap:10px;overflow:auto;min-height:0;flex:1}
.cv-tp-team{width:100%;height:100%;display:grid;grid-template-columns:1fr auto;grid-template-areas:'name dex' 'meta dex';align-items:center;gap:2px 10px;padding:10px 14px;border-radius:10px;background:#ffffff12;border:2px solid #ffffff22;color:#fff;text-align:left;font:inherit;cursor:pointer}
.cv-tp-team.on{border-color:#ffd866;background:#ffd86622;box-shadow:0 0 0 2px #ffd86655}.cv-tp-team:focus-visible{outline:3px solid #9fe3ff;outline-offset:2px}.cv-tp-team.locked{opacity:.5;cursor:not-allowed}
.cv-tp-name{grid-area:name;display:flex;align-items:center;gap:8px}.cv-tp-name b{font-size:21px}.cv-tp-diff{font-size:13px;padding:1px 8px;border-radius:99px;background:#5ec6e844;color:#bfeeff}.cv-tp-diff.hard{background:#ff7a5c44;color:#ffc9b8}
.cv-tp-meta{grid-area:meta;font-size:14px;color:#9fd3e8}.cv-tp-dex{grid-area:dex;display:flex;align-items:center;gap:2px;min-height:56px}.cv-tp-dex small{font-size:13px;color:#d7e6ee}.cv-tp-mon{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}
.cv-towerpick footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cv-tp-starts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cv-tp-starts b{font-size:18px}.cv-tp-starts small{font-size:14px;color:#ffe7a3}
.cv-tp-start{min-height:46px;min-width:76px;font-size:18px}.cv-tp-start.on{outline:3px solid #ffd866}.cv-tp-start:disabled{opacity:.45}.cv-towerpick .cv-tp-go{margin-left:auto;min-height:52px;font-size:20px}
.cv-mobile .cv-towerpick{top:64px;bottom:6px;width:calc(100% - 32px);padding:8px 12px!important;gap:6px}.cv-mobile .cv-towerpick h3{font-size:18px}.cv-mobile .cv-towerpick .cv-tp-close{min-height:40px;min-width:64px}
.cv-mobile .cv-tp-teams{gap:5px}.cv-mobile .cv-tp-team{padding:4px 8px;gap:0 6px}.cv-mobile .cv-tp-name b{font-size:14px}.cv-mobile .cv-tp-diff{font-size:10px;padding:0 5px}.cv-mobile .cv-tp-meta{font-size:10px}.cv-mobile .cv-tp-dex{min-height:34px}.cv-mobile .cv-tp-mon{width:34px;height:34px}.cv-mobile .cv-tp-dex small{font-size:10px}
.cv-mobile .cv-towerpick footer{gap:6px;flex-wrap:nowrap}.cv-mobile .cv-tp-starts{gap:4px;flex-wrap:nowrap}.cv-mobile .cv-tp-starts b{font-size:12px}.cv-mobile .cv-tp-starts small{font-size:10px;max-width:120px}.cv-mobile .cv-tp-start{min-height:40px;min-width:50px;font-size:14px}.cv-mobile .cv-towerpick .cv-tp-go{min-height:44px;font-size:14px}
/* v0.12.19 타워 상대 트레이너 초상 칩(관리자 우선 요청) */
#frontier-bar .fb-foe{flex:none;width:56px;height:56px;object-fit:contain;image-rendering:pixelated;border-radius:8px;background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff26}#frontier-bar .fb-foe[hidden]{display:none}
@media(max-height:500px){#frontier-bar #frontier-floor .fb-pre{display:none} /* 휴대폰: '배틀 타워 '·' · 상점 런' 숨김(위 띠·전환 단추에 있음) */#frontier-bar #frontier-floor{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}#frontier-bar .fb-foe{width:30px;height:30px;border-radius:6px}} /* 휴대폰: 30px 칩 + '배틀 타워 ' 숨김으로 띠 줄이 예전보다 짧음(나가기 잘림 방지) */
/* 사용자 제보 2026-10-30(관리자 1순위): PC 타워 층 정보 창(띠)이 화면 위 96px 가운데에 떠 적 진영 칸·포켓몬을 덮음(1280 상점 런 37칸) → 위쪽 가장자리(왼쪽 여정·상성 단추 오른쪽 ~ 세계 여행 단추 왼쪽)로 올리고 한두 줄로 낮춤. 버튼·문구는 그대로, 위치·크기만 */
html body.frontier-active:not(.mobile-ui) #frontier-bar{top:calc(env(safe-area-inset-top,0px) + 6px)!important;left:268px!important;right:auto!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:calc(50% - 30px)!important;padding:5px 10px!important;gap:4px!important}
html body.frontier-active:not(.mobile-ui) #frontier-bar .fb-row{flex-wrap:wrap;gap:4px 8px;margin:0}
html body.frontier-active:not(.mobile-ui) #frontier-bar .fb-row>div:first-of-type{flex:0 1 auto;min-width:0;margin:0}
html body.frontier-active:not(.mobile-ui) #frontier-bar .fb-row>button{flex:none}
html body.frontier-active:not(.mobile-ui) #frontier-bar .fb-foe{width:44px;height:44px}
/* 같은 건, 결과 화면(층 돌파·패배): 결과 줄(제목·내용·다음 층/교환)과 HP·BP·나가기를 한 줄로 나란히, 결과 중엔 결과 제목과 겹치는 층 글자·초상 칩·러시 진행을 숨김(휴대폰 1702와 같은 방식) */
html body.frontier-active:not(.mobile-ui) #frontier-bar.fb-result{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 12px}
html body.frontier-active:not(.mobile-ui) #frontier-bar.fb-result .fb-row>:is(div:first-of-type,#frontier-rush,.fb-foe){display:none!important}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result{grid-template-columns:auto auto auto;padding:0;border-bottom:0;gap:0 10px;margin:0;min-width:0}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result :is(h3,p){grid-column:1}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result #frontier-swap{grid-row:1/3;grid-column:2}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result #frontier-next{grid-row:1/3;grid-column:3}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result h3{font-size:18px}
html body.frontier-active:not(.mobile-ui) #frontier-bar #frontier-result-icon{width:40px;height:40px}
/* 같은 건: 3cd818b3에서 .fb-row 맨 앞에 초상 칩(img)이 들어가 '.fb-row>div:first-child'(층 글자 칸)가 아무것도 못 가리키던 것 → 결과 중 층 글자 숨김 규칙(204·1702)만 div:first-of-type으로 되살림. 크기 규칙(202·255·1722)은 그대로 둠 — 칩이 들어간 뒤 844 폭은 그 규칙들 없이 맞췄고(2200), 되살리면 상점 런 '나가기'가 잘림(tower-aug-427) */
/* 같은 건(tower-aug-427에서 드러남): 휴대폰 상점 런에서 1층 상대 이름이 길면(예: '엘리트트레이너 재희') 띠 내용이 최대 폭(100vw-260px)을 넘어 '나가기'가 잘림 — 상대는 런마다 무작위라 기준본도 이름에 따라 같음 → 층 글자 칸이 줄어들고 넘치면 말줄임 */
html body.mobile-ui.frontier-active #frontier-bar .fb-row>div:first-of-type{min-width:0!important;overflow:hidden}
html body.mobile-ui.frontier-active #frontier-bar #frontier-floor{max-width:min(200px,100%)}
/* 02 보고 60 ①: 이름 붙은 층 VS(#work-vs) 중엔 띠가 VS 대사 줄을 가리지 않게 숨김(끝나면 다시) */
html body.frontier-active:has(#work-vs:not(.hidden)) #frontier-bar{display:none!important}
/* v0.12.21 08 Frontier.titles()(관리자 승인): 프런티어 로비 기록 칸 맨 위 '칭호: …' — 칸 위쪽 가장자리에 붙는 꼬리표(칸 높이·단추 배치 그대로), 길면 말줄임 */
.cv-region-footer .cv-titles{position:absolute;left:24px;bottom:calc(100% + 2px);margin:0;padding:4px 14px;max-width:calc(100% - 48px);border:2px solid #d9b45a;border-bottom:0;border-radius:10px 10px 0 0;background:#13263bee;color:#ffe9a8;font-size:18px;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.cv-mobile .cv-region-footer .cv-titles{left:12px;padding:2px 10px;font-size:12px;border-width:1px;max-width:calc(100% - 24px)}
/* v0.12.21 08 타워 날씨 B(관리자 지시): 띠 날씨 칩은 휴대폰만(PC는 둘째 줄 '날씨 …' 글자). 띠 높이·배치는 그대로 */
html body:not(.mobile-ui) #frontier-bar #frontier-wx{display:none!important}
#frontier-bar #frontier-state.fb-clip{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#frontier-bar .fb-hud .fb-wx{padding:0 7px;border-radius:999px;background:rgba(110,160,255,.2);font-size:13px}
/* 02 결함 후보 2(v0.12.21): 고해상도(PC HUD 배율 1.25배 이상, 예: 2560·3840)에서는 왼쪽 위 HUD(배지·상성)가 zoom으로 커져 고정 268px 띠가 덮던 것 → 같은 배율로 왼쪽 시작점을 민다(1920 이하는 그대로 268px) */
html body.pc-hud-scaled.frontier-active:not(.mobile-ui) #frontier-bar{left:calc(268px * var(--pc-hud-scale,1))!important}
/* 05 69-B V2 노말/하드 모드 카드(관리자 지시 2026-10-31, v0.12.22): 새 모험 출발 화면 난이도 선택(08 #lab-difficulty 단추 2개)을 그림 카드로. 마크업·동작은 08 그대로, 모양만. 메인 메뉴 모드 카드는 그대로 */
/*  크롭 규격 mode-cards.sources.json: PC 630×941(x521) · 휴대폰 844×941(x414) 모두 그림 가운데 → center/cover + 같은 가로세로비. 제목 안전 영역(아래 20%)에 글자 */
.cv-lab-stage #lab-difficulty{top:94px;gap:6px 12px} /* 무대 1280×720 단위(PC는 배율로 커짐): 말풍선 오른쪽 끝 ~447·책장 ~840·탁자 위 ~360 사이 */
.cv-lab-stage #lab-difficulty [data-difficulty]{--mode-art:url('assets/work-ui/c2/lobby/assets/backgrounds/mode-normal.webp');position:relative;display:flex;align-items:flex-end;justify-content:center;width:124px;min-width:0;aspect-ratio:630/941;height:auto;padding:0 6px 10px;border-radius:12px;border:2px solid #ffffff8c;background:linear-gradient(#0000 58%,#000000d0 100%),var(--mode-art) center/cover no-repeat #0d2433;font:800 17px/1.15 'PT Title','PT Read',sans-serif;text-shadow:0 0 3px #000,0 2px 0 #000;box-shadow:0 6px 18px #0008;overflow:hidden}
.cv-lab-stage #lab-difficulty [data-difficulty=hard]{--mode-art:url('assets/work-ui/c2/lobby/assets/backgrounds/mode-hard.webp')}
.cv-lab-stage #lab-difficulty [data-difficulty][aria-pressed=false]:not(:disabled){background:linear-gradient(#0000 58%,#000000d0 100%),linear-gradient(#08182466,#08182466),var(--mode-art) center/cover no-repeat #0d2433;color:#e6eef2}
.cv-lab-stage #lab-difficulty [data-difficulty]:hover:not(:disabled){transform:translateY(-3px)}
.cv-lab-stage #lab-difficulty [data-difficulty=normal][aria-pressed=true]{background:linear-gradient(#0000 58%,#000000d0 100%),var(--mode-art) center/cover no-repeat #0d2433;border-color:#bffff1;box-shadow:0 0 0 2px #3fd0b4,0 0 22px #3fd0b4cc}
.cv-lab-stage #lab-difficulty [data-difficulty=hard][aria-pressed=true]{background:linear-gradient(#0000 58%,#000000d0 100%),var(--mode-art) center/cover no-repeat #0d2433;border-color:#ffe0e4;box-shadow:0 0 0 2px #ff5a6a,0 0 24px #ff5a6acc}
.cv-lab-stage #lab-difficulty [data-difficulty]:disabled{background:linear-gradient(#0000 50%,#000000e0 100%),linear-gradient(#06121bcc,#06121bcc),var(--mode-art) center/cover no-repeat #0d2433;border-color:#ffffff47;color:#c3d1da;box-shadow:0 6px 18px #0008} /* 잠금: 그림을 어둡게 + 글자 끝 🔒(08 마크업) */
@media (max-height:500px){.cv-lab-stage #lab-difficulty{top:64px;grid-template-columns:minmax(0,190px) auto auto;gap:4px 6px}.cv-lab-stage #lab-difficulty .lab-difficulty-notice{grid-column:1;grid-row:1;text-align:right;align-self:center}.cv-lab-stage #lab-difficulty [data-difficulty]{grid-row:1;width:96px;aspect-ratio:844/941;padding:0 4px 7px;border-radius:10px;border-width:2px;font-size:14px}} /* 휴대폰: 안내는 카드 왼쪽(세로 여유가 공 위 약 120px뿐) */
/* 사용자 제보(2026-10-31, v0.12.23): 다이맥스 고르기 후보 띠가 넘치면 좌우 화살표(넘칠 때만), 끌기 중 손 모양. 띠 가장자리에 반쯤 걸친 둥근 단추 */
#dmax-scene .dp-band{position:relative}
#dmax-scene .dp-nav{position:absolute;top:50%;translate:0 -50%;z-index:3;width:max(36px,calc(var(--k,1px)*60));height:max(44px,calc(var(--k,1px)*92));padding:0;border:2px solid #ffd27a;border-radius:999px;background:linear-gradient(#2a1830f2,#12080ff2);color:#ffe6a8;font:900 max(24px,calc(var(--k,1px)*44))/1 var(--dxf,'PT Read',sans-serif);cursor:pointer;box-shadow:0 0 14px #e0306a88,0 2px 0 #000a}
#dmax-scene .dp-nav-prev{left:max(2px,calc(var(--k,1px)*-8))}#dmax-scene .dp-nav-next{right:max(2px,calc(var(--k,1px)*-8))}
#dmax-scene .dp-nav[hidden]{display:none}#dmax-scene .dp-nav:disabled{opacity:.28;cursor:default;box-shadow:none}
#dmax-scene .dp-nav:not(:disabled):is(:hover,:focus-visible){background:linear-gradient(#5a2048,#2a0c1c);outline:2px solid #ffe6a8;outline-offset:2px}
#dmax-scene .dp-list.dp-drag{cursor:grabbing;user-select:none}#dmax-scene .dp-list.dp-drag .dp-pill{pointer-events:none}
#dmax-scene .dp-band.dp-scroll .dp-list{padding-inline:max(44px,calc(var(--k,1px)*64))!important}
@media (max-height:500px){#dmax-scene .dp-nav{width:34px;height:48px;font-size:26px;border-width:1.5px}#dmax-scene .dp-band.dp-scroll .dp-list{padding-inline:38px!important}}
/* 08 하드 모드 지방 안내 창 다시 보기(v0.12.23, 04 받은요청 495): 하드 모험 중에만, 지명·날씨 카드의 날씨 글자 옆 작은 빨간 '하드' 단추(왼쪽 HUD가 overflow:hidden이라 카드 안, 좁으면 다음 줄로 내려가 글자를 덮지 않음). 휴대폰은 스테이지 칸 '하드' 표시 + 정보 창·메뉴 '하드 규칙' */
#hud-weather:has(#hard-rules-btn:not([hidden])){display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px}
#hard-rules-btn{flex:none;pointer-events:auto;min-height:20px;padding:2px 7px;border:1px solid #ffc2c8;border-radius:999px;background:linear-gradient(#ff5a6a,#a3142c);color:#fff;font:800 11px/1 "PT Read",sans-serif;cursor:pointer;box-shadow:0 1px 0 #0009,0 0 8px #ff5a6a66}
#hard-rules-btn:hover,#hard-rules-btn:focus-visible{filter:brightness(1.15);outline:2px solid #ffe08a;outline-offset:1px}
#hard-rules-btn[hidden],body.mobile-ui #hard-rules-btn{display:none!important}
#mobile-stage .mobile-hard{display:inline-block;margin-left:5px;padding:1px 5px;border-radius:999px;background:#c8283e;color:#fff;font-weight:800;line-height:1.2}
/* 사용자 제보(2026-10-31, v0.12.23): 원래 크기(맞서기) 단추 = 회색 DYNAMAX 승인 그림(dmax_btn_disabled)을 흐리게 + '맞서기' 알약, 게이지 미충전이면 '확정' 자리에 '다이맥스 게이지 n/m' */
#dmax-scene .dx-pick[data-mode=normal] .dp-act>.dp-go{border-color:#8d94a3;background:radial-gradient(circle,#1c1f27,#0b0b10 70%);box-shadow:0 0 16px #0009}
#dmax-scene .dx-pick[data-mode=normal] .dp-go>img{inset:3%;width:94%;height:94%;opacity:.5}
#dmax-scene .dx-pick[data-mode=normal] .dp-go>span{padding:.2em .6em;border:2px solid #ff8fb3;border-radius:999px;background:#170b14eb;color:#fff;text-shadow:0 1px 0 #000;box-shadow:0 0 10px #e0306a88}
#dmax-scene .dx-pick[data-mode=normal] .dp-go:is(:hover,:focus-visible)>img{opacity:.7}
#dmax-scene.t631 .dx-pick:not(.gate) .dp-act:not([data-why=""])[data-why]::before{content:attr(data-why);left:calc(var(--k)*1631);width:calc(var(--k)*281);color:#ffd27a;white-space:nowrap}
@media (max-height:500px){#dmax-scene.t631 .dx-pick:not(.gate) .dp-act:not([data-why=""])[data-why]::before{left:calc(var(--k)*722);width:calc(var(--k)*122)}}
/* 추천 B안(v0.12.23): 꼬리표에 이유가 붙어 길어지면 이름·별이 그 밑으로 들어가지 않게 이름 오른쪽 여백을 늘림(넘치면 이름 말줄임) */
#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill:has(.dp-rec[data-why])>span>b{padding-right:calc(var(--k)*150)}
@media (max-height:500px){#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill:has(.dp-rec[data-why])>span>b{padding-right:calc(var(--k)*30)}#dmax-scene.t631 .dx-pick:not(.gate) .dp-pill .dp-rec[data-why]{top:auto;bottom:calc(100% + 1px);right:calc(var(--k)*4)}}
/* 사용자 요청(2026-10-31, 관리자 지시, v0.12.24): 전설 메가 금빛 큰 별(.battle-grade.grade-5, 보라 L5 제외) 반짝임 — 정보 창·카드·목록 등 DOM 별 공통.
   빛 맥동(drop-shadow, 1.6초)·빛 훑기(별 모양 clip-path 안 띠, 2.6초마다)·작은 반짝(✦). CSS 애니메이션만(합성 레이어). 효과 줄이기(body.pt-still-fx)·모션 줄이기·low-fx면 정지 */
.battle-grade.grade-5:not(.grade-l5){position:relative;animation:pt-mstar-glow 1.6s ease-in-out infinite}
.battle-grade.grade-5:not(.grade-l5)::after{content:"";position:absolute;inset:0;pointer-events:none;clip-path:polygon(50% 4.8%,64.1% 30.6%,93% 36%,72.8% 57.4%,76.6% 86.6%,50% 74%,23.4% 86.6%,27.2% 57.4%,7% 36%,35.9% 30.6%);background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.95) 50%,transparent 60%) 0 0/300% 100% no-repeat;animation:pt-mstar-sweep 2.6s linear infinite}
.battle-grade.grade-5:not(.grade-l5)::before{content:"✦";position:absolute;right:-3px;top:-4px;font:700 7px/1 sans-serif;color:#fff7d0;text-shadow:0 0 3px #ffd875;pointer-events:none;opacity:0;animation:pt-mstar-twinkle 1.3s ease-in-out infinite}
@keyframes pt-mstar-glow{0%,100%{filter:drop-shadow(0 0 3px #ffd46f88)}50%{filter:drop-shadow(0 0 6px #ffe7a0dd)}}
@keyframes pt-mstar-sweep{0%{background-position:100% 0}40%,100%{background-position:0 0}}
@keyframes pt-mstar-twinkle{0%,100%{opacity:0;transform:scale(.5)}45%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.battle-grade.grade-5:not(.grade-l5),.battle-grade.grade-5:not(.grade-l5)::after,.battle-grade.grade-5:not(.grade-l5)::before{animation:none}.battle-grade.grade-5:not(.grade-l5)::after,.battle-grade.grade-5:not(.grade-l5)::before{display:none}}
:is(body.pt-still-fx,body.low-fx) .battle-grade.grade-5:not(.grade-l5),:is(body.pt-still-fx,body.low-fx) .battle-grade.grade-5:not(.grade-l5)::after,:is(body.pt-still-fx,body.low-fx) .battle-grade.grade-5:not(.grade-l5)::before{animation:none}
:is(body.pt-still-fx,body.low-fx) .battle-grade.grade-5:not(.grade-l5)::after,:is(body.pt-still-fx,body.low-fx) .battle-grade.grade-5:not(.grade-l5)::before{display:none}
/* 설정 화면 재디자인 90(사용자 미관 승인, GPT 90 spec-90 · 05 반입 assets/ui-settings): console-v51.js SettingsV90이 V5.1 설정을 감싼 .sv-win(시안 창 크기 그대로, 무대 안에서 축소).
   좌표 = spec-90(PC 창 146,54 / 가로 창 56,14)을 창 안쪽(테 32px·16px 뺀 곳) 기준으로 옮긴 값. */
#console-v51 .cv-stage.sv90>.cv-header{display:none}
#console-v51 .cv-stage.sv90 .sv-win{position:absolute;left:0;top:0;width:1630px;height:964px;box-sizing:border-box;transform-origin:0 0;border-style:solid;border-width:32px;border-image:url(assets/ui-settings/webp/window_frame@2x.webp) 64 fill/32px;color:#064C68;font-family:"Malgun Gothic","Noto Sans KR",system-ui,sans-serif;font-size:30px;z-index:6}
#console-v51 .sv90 .sv-win>*,#console-v51 .sv90 .sv-head>*{position:absolute;margin:0}
#console-v51 .sv90 .sv-head{left:0;top:0;width:100%;height:120px}
#console-v51 .sv90 .sv-gear{left:22px;top:0;width:120px;height:108px;display:grid;place-items:center;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(#ffe68a,#c58e19)}
#console-v51 .sv90 .sv-gear::before{content:"";position:absolute;inset:8px;clip-path:inherit;background:linear-gradient(#fffdf2,#fff3c4)}
#console-v51 .sv90 .sv-gear svg{position:relative;width:66px;height:66px;color:#064C68}
#console-v51 .sv90 .sv-head h2{left:178px;top:2px;font-size:60px;font-weight:700;line-height:1.1;color:#064C68;letter-spacing:.06em}
#console-v51 .sv90 .sv-brand{left:182px;top:82px;font-size:22px;font-weight:600;letter-spacing:.42em;color:#1f9fc4}
#console-v51 .sv90 .sv-brand::after{content:"";position:absolute;left:calc(100% + 24px);top:50%;width:900px;border-top:2px solid #73D3EB}
#console-v51 .sv90 .sv-win .cv-button.sv-close{z-index:3;left:1440px;top:-4px;width:108px;height:104px;min-height:0;padding:0;border:0;border-image:none;background:url(assets/ui-settings/webp/close_default@2x.webp) center/contain no-repeat;clip-path:none}
#console-v51 .sv90 .sv-win .cv-button.sv-close:active{transform:scale(.95)}
#console-v51 .sv90 .sv-win .cv-settings{position:absolute;inset:0;display:block;gap:0}
/* 탭 */
#console-v51 .sv90 .sv-win .cv-tabs{position:absolute;left:4px;top:130px;width:1556px;height:108px;display:block}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button{position:absolute;top:0;height:108px;min-height:0;min-width:0;flex:none;box-sizing:border-box;border-style:solid;border-width:27px 68px;border-image:url(assets/ui-settings/webp/tab_default@2x.webp) 32 80 fill/27px 68px;background:none;padding:0;
 display:flex;align-items:center;justify-content:center;gap:22px;color:#064C68;font-size:36px;font-weight:700;font-family:inherit;box-shadow:none;clip-path:none;text-shadow:none}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button::before,#console-v51 .sv90 .sv-win .cv-tabs .cv-button::after{display:none}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button svg{width:56px;height:56px;flex:none}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button:nth-child(1){left:0;width:420px}#console-v51 .sv90 .sv-win .cv-tabs .cv-button:nth-child(2){left:410px;width:380px}#console-v51 .sv90 .sv-win .cv-tabs .cv-button:nth-child(3){left:778px;width:370px}#console-v51 .sv90 .sv-win .cv-tabs .cv-button:nth-child(4){left:1136px;width:420px}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button.selected{border-image-source:url(assets/ui-settings/webp/tab_selected@2x.webp);z-index:2}
#console-v51 .sv90 .sv-win .cv-tabs .cv-button:active{border-image-source:url(assets/ui-settings/webp/tab_pressed@2x.webp)}
/* 본문 */
#console-v51 .sv90 .sv-win .cv-settings-body{position:absolute;left:74px;top:274px;width:1420px;height:520px;display:block;overflow:auto;overscroll-behavior:contain;border:0;border-image:none;background:none;padding:0;color:#064C68;font-size:30px;scrollbar-width:thin}
#console-v51 .sv90 .sv-win .cv-settings-body :is(p,h3){color:#064C68;text-shadow:none}
#console-v51 .sv90 .sv-win .cv-settings-body h3{font-size:32px;font-weight:700;margin:18px 0 10px 60px}
#console-v51 .sv90 .sv-win .cv-settings-body p{font-size:24px;font-weight:600;line-height:1.35;margin:8px 0 8px 60px;color:#2c6a82}
/* 줄(음량·체크) — 아래 빛 선 */
#console-v51 .sv90 .sv-win :is(.volume-row,.check-row){position:relative;display:grid;grid-template-columns:428px 838px 1fr;align-items:center;min-height:96px;margin:0;padding:6px 0;box-sizing:border-box;background:url(assets/ui-settings/webp/divider_light@2x.webp) bottom center/100% 8px no-repeat;color:#064C68;font-size:36px;font-weight:700;border:0}
#console-v51 .sv90 .sv-win .volume-row>span{padding-left:60px}
#console-v51 .sv90 .sv-win .volume-row output{padding-left:38px;font-size:34px;font-weight:700;font-variant-numeric:tabular-nums;color:#064C68}
#console-v51 .sv90 .sv-win input[type=range]{-webkit-appearance:none;appearance:none;width:838px;height:48px;margin:0;box-sizing:border-box;border-style:solid;border-width:12px 8px;border-image:url(assets/ui-settings/webp/slider_track@2x.webp) 24 48 fill/12px 28px;
 background:url(assets/ui-settings/webp/slider_fill@2x.webp) 8px center/calc(29px + (100% - 74px) * var(--p,0) / 100) 18px no-repeat;background-origin:border-box;background-clip:border-box;cursor:pointer}
#console-v51 .sv90 .sv-win input[type=range]::-webkit-slider-runnable-track{height:24px;background:transparent;border:0}
#console-v51 .sv90 .sv-win input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:58px;height:58px;margin-top:-17px;border:0;background:url(assets/ui-settings/webp/slider_thumb_default@2x.webp) center/contain no-repeat;box-shadow:none}
#console-v51 .sv90 .sv-win input[type=range]:active::-webkit-slider-thumb{background-image:url(assets/ui-settings/webp/slider_thumb_dragging@2x.webp)}
#console-v51 .sv90 .sv-win input[type=range]::-moz-range-track{height:24px;background:transparent;border:0}
#console-v51 .sv90 .sv-win input[type=range]::-moz-range-thumb{width:58px;height:58px;border:0;border-radius:0;background:url(assets/ui-settings/webp/slider_thumb_default@2x.webp) center/contain no-repeat}
#console-v51 .sv90 .sv-win input:focus-visible,#console-v51 .sv90 .sv-win select:focus-visible{outline:3px dashed #00a7c4;outline-offset:6px}
/* 체크 줄: 글자 왼쪽, 토글은 514px 자리 */
#console-v51 .sv90 .sv-win .check-row{display:flex;gap:0;padding-left:60px;cursor:pointer}
#console-v51 .sv90 .sv-win .check-row input[type=checkbox]{-webkit-appearance:none;appearance:none;order:2;margin:0 0 0 auto;width:152px;height:76px;flex:none;background:url(assets/ui-settings/webp/toggle_off@2x.webp) center/contain no-repeat;cursor:pointer;border:0;box-shadow:none}
#console-v51 .sv90 .sv-win .check-row input[type=checkbox]:checked{background-image:url(assets/ui-settings/webp/toggle_on@2x.webp)}
#console-v51 .sv90 .sv-win .check-row input[type=checkbox]:disabled{background-image:url(assets/ui-settings/webp/toggle_disabled@2x.webp);cursor:not-allowed}
#console-v51 .sv90 .sv-win .check-row{max-width:1200px}
#console-v51 .sv90 .sv-win .check-row select{order:2;margin-left:auto;min-width:300px;height:68px;box-sizing:border-box;border-style:solid;border-width:10px 38px;border-image:url(assets/ui-settings/webp/segment_selected@2x.webp) 20 48 fill/16px 38px;background:none;color:#064C68;font-family:inherit;font-weight:700;font-size:30px;line-height:34px;padding:0 0 0 4px}
#console-v51 .sv90 .sv-win .check-row small{font-size:22px;color:#2c6a82}
/* 단추(데이터·조작·메인 메뉴) */
#console-v51 .sv90 .sv-win .cv-settings-body :is(button,.compact-btn,.import-label),#console-v51 .sv90 .sv-win .cv-main-menu{position:relative;display:inline-flex;align-items:center;justify-content:center;width:420px;max-width:calc(100% - 80px);height:84px;min-height:0;box-sizing:border-box;margin:10px 18px 10px 60px;padding:0 8px;border-style:solid;border-width:15px 40px;
 border-image:url(assets/ui-settings/webp/button_default@2x.webp) 24 64 fill/15px 40px;background:none;box-shadow:none;clip-path:none;color:#064C68;font-size:30px;font-weight:700;font-family:inherit;cursor:pointer;white-space:nowrap;text-shadow:none;flex:none}
#console-v51 .sv90 .sv-win .cv-settings-body :is(button,.compact-btn,.import-label):active,#console-v51 .sv90 .sv-win .cv-main-menu:active{border-image-source:url(assets/ui-settings/webp/button_pressed@2x.webp)}
#console-v51 .sv90 .sv-win .cv-settings-body :is(button,.compact-btn):disabled,#console-v51 .sv90 .sv-win .cv-main-menu:disabled{border-image-source:url(assets/ui-settings/webp/button_disabled@2x.webp);color:#7d97a3;cursor:not-allowed}
#console-v51 .sv90 .sv-win .cv-settings-body :is(button,.cv-button)::before,#console-v51 .sv90 .sv-win .cv-settings-body :is(button,.cv-button)::after{display:none}
#console-v51 .sv90 .sv-win .cv-settings-body .import-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#console-v51 .sv90 .sv-win .cv-quick{display:flex;flex-wrap:wrap}
#console-v51 .sv90 .sv-win .save-controls{margin:0;padding:0;border:0;background:none}
/* 완료·메인 메뉴·자동 저장 안내 */
#console-v51 .sv90 .sv-win .cv-button.cv-done{left:1172px;top:810px;right:auto;bottom:auto;width:380px;height:92px;min-height:0;box-sizing:border-box;padding:0;border-style:solid;border-width:15px 40px;border-image:url(assets/ui-settings/webp/primary_default@2x.webp) 24 64 fill/15px 40px;background:none;box-shadow:none;clip-path:none;color:#3d2a00;font-size:40px;font-weight:700;font-family:inherit;letter-spacing:.02em;text-shadow:none}
#console-v51 .sv90 .sv-win .cv-button.cv-done:active{border-image-source:url(assets/ui-settings/webp/primary_pressed@2x.webp)}
#console-v51 .sv90 .sv-win .cv-main-menu{position:absolute;left:772px;top:814px;right:auto;bottom:auto;margin:0;width:380px}
#console-v51 .sv90 .sv-win :is(.cv-done,.cv-main-menu,.sv-close,.cv-tabs .cv-button):focus-visible{outline:3px dashed #00a7c4;outline-offset:4px}
#console-v51 .sv90 .sv-auto{left:94px;top:874px;display:flex;align-items:center;gap:14px;font-size:24px;font-weight:600;color:#3d7a93}
#console-v51 .sv90 .sv-auto i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1f86a8;color:#fff;font-style:normal;font-weight:800;font-size:22px}
/* 휴대폰 가로: 창 734×360, 테 16px */
#console-v51 .cv-stage.sv90.sv-land .sv-win{width:734px;height:360px;border-width:16px;border-image-width:16px;font-size:16px}
#console-v51 .sv90.sv-land .sv-head{height:48px}
#console-v51 .sv90.sv-land .sv-gear{left:6px;top:-2px;width:50px;height:44px}
#console-v51 .sv90.sv-land .sv-gear::before{inset:4px}
#console-v51 .sv90.sv-land .sv-gear svg{width:28px;height:28px}
#console-v51 .sv90.sv-land .sv-head h2{left:64px;top:2px;font-size:32px}
#console-v51 .sv90.sv-land .sv-brand,#console-v51 .sv90.sv-land .sv-auto{display:none}
#console-v51 .sv90.sv-land .sv-win .cv-button.sv-close{left:646px;top:-6px;width:54px;height:50px}
#console-v51 .sv90.sv-land .sv-win .cv-tabs{left:-4px;top:47px;width:708px;height:46px}
#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button{height:46px;border-width:12px 30px;border-image-width:12px 30px;font-size:18px;gap:8px}
#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button svg{width:24px;height:24px}
#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button:nth-child(1){left:0;width:194px}#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button:nth-child(2){left:188px;width:168px}#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button:nth-child(3){left:352px;width:172px}#console-v51 .sv90.sv-land .sv-win .cv-tabs .cv-button:nth-child(4){left:520px;width:188px}
#console-v51 .sv90.sv-land .sv-win .cv-settings-body{left:24px;top:100px;width:660px;height:174px;font-size:16px}
#console-v51 .sv90.sv-land .sv-win .cv-settings-body h3{font-size:17px;margin:8px 0 4px 74px}
#console-v51 .sv90.sv-land .sv-win .cv-settings-body p{font-size:13px;margin:4px 0 4px 74px}
#console-v51 .sv90.sv-land .sv-win :is(.volume-row,.check-row){grid-template-columns:196px 382px 1fr;min-height:34px;padding:0;background-size:100% 4px;font-size:17px}
#console-v51 .sv90.sv-land .sv-win .sv-audio .volume-row{height:34px}
#console-v51 .sv90.sv-land .sv-win .volume-row>span{padding-left:30px;white-space:nowrap}
#console-v51 .sv90.sv-land .sv-win .volume-row output{padding-left:18px;font-size:18px}
#console-v51 .sv90.sv-land .sv-win input[type=range]{width:382px;height:28px;border-width:8px 4px;border-image-width:9px 14px;background-position:4px center;background-size:calc(14px + (100% - 36px) * var(--p,0) / 100) 9px}
#console-v51 .sv90.sv-land .sv-win input[type=range]::-webkit-slider-runnable-track{height:12px}
#console-v51 .sv90.sv-land .sv-win input[type=range]::-webkit-slider-thumb{width:28px;height:28px;margin-top:-8px}
#console-v51 .sv90.sv-land .sv-win .check-row{padding-left:30px;max-width:600px}
#console-v51 .sv90.sv-land .sv-win .check-row input[type=checkbox]{width:84px;height:44px}
#console-v51 .sv90.sv-land .sv-win .check-row select{min-width:130px;height:40px;border-width:6px 24px;border-image-width:10px 24px;font-size:15px;line-height:18px}
#console-v51 .sv90.sv-land .sv-win .check-row small{font-size:12px}
#console-v51 .sv90.sv-land .sv-win .cv-settings-body :is(button,.compact-btn,.import-label),#console-v51 .sv90.sv-land .sv-win .cv-main-menu{width:240px;height:44px;border-width:9px 24px;border-image-width:9px 24px;font-size:15px;margin:5px 8px 5px 30px}
#console-v51 .sv90.sv-land .sv-win .cv-button.cv-done{left:518px;top:282px;width:176px;height:52px;border-width:9px 24px;border-image-width:9px 24px;font-size:22px}
#console-v51 .sv90.sv-land .sv-win .cv-main-menu{left:330px;top:284px;width:176px;margin:0}
/* 설정 90: 메인 메뉴 확인 창(.cv-confirm 5)이 시안 창(.sv-win 6) 아래에 깔리지 않게(02 보고 76) */
#console-v51 .cv-stage.sv90>.cv-confirm{z-index:8}
/* 설정 90 PC 깨짐 핫픽스(2026-11-01): 목록 아래에 더 있으면 아래 끝을 흐리게(줄이 뚝 잘려 보이지 않게) */
#console-v51 .sv90 .sv-win .cv-settings-body.sv-more{-webkit-mask-image:linear-gradient(#000 calc(100% - 56px),transparent);mask-image:linear-gradient(#000 calc(100% - 56px),transparent)}
#console-v51 .sv90.sv-land .sv-win .cv-settings-body.sv-more{-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),transparent);mask-image:linear-gradient(#000 calc(100% - 28px),transparent)}
/* 새 HUD 85·91 ②-1(2026-11-01, 사용자 승인 85 v2 · 05 반입 assets/ui-main-hud): PC 위 띠·오른쪽 위 단추·왼쪽 정보. 좌표는 manifest assemblies.adventure_prep_1920 값(1x px) 그대로이고,
   화면에는 x·y × --h85k로 놓고 묶음 안은 scale(--h85k)로 줄인다. 기존 개별 위치값은 쓰지 않는다. 9-slice는 manifest insets(1x) × 2 = 그림 px. */
body.hud85{--h85k:1;--h85r:0px;--h85ink:#174E60;--h85sky:#1f9fc4}
body.hud85 #hud :is(#hud-round,#hud-stats,#hud-left,#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn,#fight-clock,#tempo-gauge){position:fixed!important;left:calc(var(--h85a,0px) + var(--x)*var(--h85k)*1px)!important;top:calc(var(--y)*var(--h85k)*1px)!important;right:auto!important;bottom:auto!important;width:calc(var(--w)*1px)!important;height:calc(var(--h)*1px)!important;margin:0!important;padding:0!important;transform:scale(var(--h85k))!important;transform-origin:0 0!important;box-sizing:border-box!important;translate:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn,#fight-clock,#tempo-gauge){--h85a:var(--h85r)}
/* 위 띠 [26,18,1504,123]: 진행 리본 9-slice + 도시 판(구분선) + 노드 9개(128 간격) */
body.hud85 #hud #hud-round{--x:26;--y:18;--w:1504;--h:123;display:block!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;isolation:isolate}
body.hud85 #hud #hud-round::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;box-sizing:border-box;border-style:solid;border-width:18px 57px;border-image:url(assets/ui-main-hud/parts/progress_ribbon/default@2x.webp) 36 114 fill/18px 57px;background:none!important;opacity:1!important;transform:none!important}
body.hud85 #hud #hud-round::after{display:none!important}
body.hud85 #hud #hud-roundbar{position:absolute!important;left:0!important;top:16px!important;width:308px!important;height:91px!important;margin:0!important;padding:0!important;transform:none!important;background:url(assets/ui-main-hud/parts/city_stage_plate/default@2x.webp) 0 0/100% 100% no-repeat!important;border:0!important;box-shadow:none!important}
body.hud85 #hud #hud-roundbar .header-middle{display:block!important;position:static!important;padding:0!important;background:none!important;border:0!important}
body.hud85 #hud #hud-roundbar .head-sep{display:none!important}
body.hud85 #hud #hud-roundbar .round-text{position:absolute;left:44px;top:6px;font-size:0!important;color:var(--h85ink)!important;white-space:nowrap}
body.hud85 #hud #round-label{display:inline!important;white-space:nowrap!important;font-size:32px!important;font-weight:800!important;line-height:1.2!important;color:var(--h85ink)!important;letter-spacing:.01em;text-shadow:none!important}
body.hud85 #hud #phase-pill{position:absolute!important;left:46px!important;top:52px!important;margin:0!important;padding:0 0 0 30px!important;background:none!important;border:0!important;box-shadow:none!important;font-size:21px!important;font-weight:700!important;line-height:28px!important;color:var(--h85sky)!important;white-space:nowrap}
body.hud85 #hud #phase-pill>i{position:absolute!important;left:2px!important;top:7px!important;width:14px!important;height:14px!important;border-radius:50%!important;background:#2bb7d6!important;box-shadow:none!important;margin:0!important}
body.hud85 #hud #hud-progress{position:absolute!important;left:336px!important;top:8px!important;width:1150px!important;height:110px!important;margin:0!important;padding:0!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #hud #hud-progress::before{content:"";position:absolute;left:30px;top:30px;width:1058px;height:4px;background:url(assets/ui-main-hud/parts/progress_connector/default@2x.webp) 0 0/100% 100% no-repeat}
body.hud85 #hud #stage-dots{position:absolute!important;left:0!important;top:0!important;width:1110px!important;height:90px!important;display:flex!important;gap:62px!important;justify-content:flex-start!important;align-items:flex-start!important;margin:0!important;padding:0!important;overflow:visible!important;background:none!important;border:0!important}
body.hud85 #hud #stage-dots .stage-node{position:relative!important;flex:none!important;width:66px!important;height:90px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;filter:none!important;overflow:visible!important}
body.hud85 #hud #stage-dots .stage-node::before,body.hud85 #hud #stage-dots .stage-node::after{display:none!important}
body.hud85 #hud #stage-dots .stage-node>i{position:absolute!important;left:0!important;top:0!important;width:66px!important;height:66px!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important;background:#fffc;border-radius:50%!important;display:grid!important;place-items:center!important;overflow:hidden}
body.hud85 #hud #stage-dots .stage-node>i>*{width:44px!important;height:44px!important;max-width:none!important;object-fit:contain}
body.hud85 #hud #stage-dots .stage-node:is(.wild,.trainer,.branch,.event,.item,.rival,.rocket,.oak,.gym)>i{border-radius:0!important;background:var(--h85node) center/100% 100% no-repeat!important;overflow:visible}
body.hud85 #hud #stage-dots .stage-node:is(.wild,.trainer,.branch,.event,.item,.rival,.rocket,.oak,.gym)>i>*{display:none!important}
body.hud85 #hud #stage-dots .stage-node.wild{--h85node:url(assets/ui-main-hud/parts/node_wild/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.wild.active{--h85node:url(assets/ui-main-hud/parts/node_wild/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.wild.cleared{--h85node:url(assets/ui-main-hud/parts/node_wild/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.trainer{--h85node:url(assets/ui-main-hud/parts/node_trainer/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.trainer.active{--h85node:url(assets/ui-main-hud/parts/node_trainer/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.trainer.cleared{--h85node:url(assets/ui-main-hud/parts/node_trainer/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.branch{--h85node:url(assets/ui-main-hud/parts/node_branch/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.branch.active{--h85node:url(assets/ui-main-hud/parts/node_branch/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.branch.cleared{--h85node:url(assets/ui-main-hud/parts/node_branch/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.event{--h85node:url(assets/ui-main-hud/parts/node_event/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.event.active{--h85node:url(assets/ui-main-hud/parts/node_event/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.event.cleared{--h85node:url(assets/ui-main-hud/parts/node_event/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.item{--h85node:url(assets/ui-main-hud/parts/node_item/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.item.active{--h85node:url(assets/ui-main-hud/parts/node_item/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.item.cleared{--h85node:url(assets/ui-main-hud/parts/node_item/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.rival{--h85node:url(assets/ui-main-hud/parts/node_rival/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.rival.active{--h85node:url(assets/ui-main-hud/parts/node_rival/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.rival.cleared{--h85node:url(assets/ui-main-hud/parts/node_rival/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.rocket{--h85node:url(assets/ui-main-hud/parts/node_rocket/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.rocket.active{--h85node:url(assets/ui-main-hud/parts/node_rocket/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.rocket.cleared{--h85node:url(assets/ui-main-hud/parts/node_rocket/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.oak{--h85node:url(assets/ui-main-hud/parts/node_professor/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.oak.active{--h85node:url(assets/ui-main-hud/parts/node_professor/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.oak.cleared{--h85node:url(assets/ui-main-hud/parts/node_professor/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node.gym{--h85node:url(assets/ui-main-hud/parts/node_gym/future@2x.webp)}body.hud85 #hud #stage-dots .stage-node.gym.active{--h85node:url(assets/ui-main-hud/parts/node_gym/current@2x.webp)}body.hud85 #hud #stage-dots .stage-node.gym.cleared{--h85node:url(assets/ui-main-hud/parts/node_gym/past@2x.webp)}
body.hud85 #hud #stage-dots .stage-node>small{position:absolute!important;left:50%!important;top:68px!important;transform:translateX(-50%)!important;width:128px!important;margin:0!important;padding:0!important;text-align:center!important;font-size:19px!important;font-weight:700!important;line-height:22px!important;color:var(--h85ink)!important;background:none!important;text-shadow:0 1px 0 #fff!important;white-space:nowrap!important;opacity:1!important}
body.hud85 #hud #route-readout{position:absolute!important;left:3px!important;top:90px!important;width:1100px!important;height:24px!important;margin:0!important;padding:0!important;display:block!important;background:none!important;border:0!important;transform:none!important}
body.hud85 #hud #route-readout .route-track{position:absolute!important;left:0!important;top:8px!important;width:408px!important;height:6px!important;margin:0!important;border:0!important;border-radius:3px!important;background:url(assets/ui-main-hud/parts/progress_track/default@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;overflow:hidden}
body.hud85 #hud #route-readout .route-track>i{display:block!important;height:100%!important;min-width:6px;border-radius:3px!important;background:url(assets/ui-main-hud/parts/progress_fill/default@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important}
body.hud85 #hud #route-readout>small{position:absolute!important;left:440px!important;top:0!important;margin:0!important;font-size:16px!important;font-weight:700!important;line-height:22px!important;color:var(--h85ink)!important;white-space:nowrap!important;opacity:1!important;text-shadow:none!important}
/* 오른쪽 위 단추 4개 [1550·1637·1724·1811, 26, 82×70] + 도감 [1825,109,69,59]: 육각 받침 + 부품 아이콘(배속 숫자만 글자) */
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn){--h:70;--w:82;--y:26;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline-offset:2px;background:var(--h85ico,none) center/calc(100% - 4px) calc(100% - 4px) no-repeat,url(assets/ui-main-hud/parts/utility_base/default@2x.webp) center/100% 100% no-repeat!important;color:var(--h85ink)!important;cursor:pointer;opacity:1!important;visibility:visible!important}
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn):active{background:var(--h85ico,none) center/calc(100% - 4px) calc(100% - 4px) no-repeat,url(assets/ui-main-hud/parts/utility_base/pressed@2x.webp) center/100% 100% no-repeat!important}
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn)>*{display:none!important}
body.hud85 #hud #hud-settings{--x:1550;--h85ico:url(assets/ui-main-hud/parts/icon_settings/default@2x.webp)}
body.hud85 #hud #hud-fullscreen{--x:1637;--h85ico:url(assets/ui-main-hud/parts/icon_fullscreen/default@2x.webp)}
body.hud85 #hud #speed-btn{--x:1724;font-size:27px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;text-shadow:none!important}
body.hud85 #hud #world-tour-btn{--x:1811;--h85ico:url(assets/ui-main-hud/parts/icon_globe/default@2x.webp)}
body.hud85 #hud #field-guide-btn{--x:1825;--y:109;--w:69;--h:59;font-size:0!important;--h85ico:url(assets/ui-main-hud/parts/icon_dex/default@2x.webp)}
/* 남은 시간·배치 수(기존 정보, 표시 여부는 기존 규칙 그대로 — 준비 단계 숨김 결정 197): 85 B 타이머 판 [1483,183,411,52] · 막대 [1599,203,207,12] */
body.hud85 #hud #fight-clock{--x:1483;--y:183;--w:411;--h:52;place-items:center start!important;padding:0 0 0 24px!important;border-style:solid!important;border-width:10px 24px!important;border-image:url(assets/ui-main-hud/parts/timer_panel/default@2x.webp) 20 48 fill/10px 24px!important;background:none!important;box-shadow:none!important;font-size:20px!important;font-weight:700!important;line-height:32px!important;color:var(--h85ink)!important;white-space:nowrap}
body.hud85 #hud #tempo-gauge:not([hidden]){--x:1599;--y:203;--w:207;--h:12;display:block!important;z-index:2;border:0!important;border-radius:6px!important;background:url(assets/ui-main-hud/parts/timer_track/default@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;overflow:hidden}
body.hud85 #hud #tempo-gauge>i{background:url(assets/ui-main-hud/parts/timer_fill/default@2x.webp) 0 0/207px 12px no-repeat!important;box-shadow:none!important;border-radius:6px!important}
body.hud85 #hud #tempo-gauge>b{display:none!important}
/* 왼쪽 정보 [26,158,326,375]: 체력·배지·상성 칩 줄(58) + 지역·날씨 판(81) + 시너지 줄(44, 45 간격) */
body.hud85 #hud #hud-stats{--x:26;--y:158;--w:330;--h:58;display:block!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #hud #hud-topstats,body.hud85 #hud #hud-topstats .header-end{display:flex!important;gap:6px!important;align-items:stretch!important;height:58px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;position:static!important;transform:none!important}
body.hud85 #hud #hud-topstats :is(.hp-resource,#journey-btn,#type-chart-btn){position:relative!important;height:58px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--h85ink)!important;text-shadow:none!important;transform:none!important;background:none!important;isolation:isolate}
body.hud85 #hud #hud-topstats :is(.hp-resource,#journey-btn,#type-chart-btn)::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;box-sizing:border-box;border-style:solid;border-width:11px 27px;border-image:url(assets/ui-main-hud/parts/health_chip/default@2x.webp) 22 54 fill/11px 27px;background:none!important;transform:none!important;opacity:1!important}
body.hud85 #hud #hud-topstats :is(.hp-resource,#journey-btn,#type-chart-btn)::after{display:none!important}
body.hud85 #hud #hud-topstats .hp-resource{width:134px!important}
body.hud85 #hud #hud-topstats .hp-resource>span{width:31px!important;height:31px!important;font-size:0!important;background:url(assets/ui-main-hud/parts/icon_heart/default@2x.webp) center/contain no-repeat!important;margin:0!important}
body.hud85 #hud #hud-topstats .hp-resource>small{display:none!important}
body.hud85 #hud #top-hp{font-size:29px!important;font-weight:800!important;line-height:1!important;color:var(--h85ink)!important}
body.hud85 #hud #journey-btn{width:107px!important;font-size:26px!important;font-weight:800!important}
body.hud85 #hud #journey-btn::before{border-image-source:url(assets/ui-main-hud/parts/team_chip/default@2x.webp)!important}
body.hud85 #hud #journey-btn :is(b,span){font-size:26px!important;font-weight:800!important;color:var(--h85ink)!important;background:none!important}
body.hud85 #hud #type-chart-btn{width:73px!important;font-size:22px!important;font-weight:800!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.hud85 #hud #type-chart-btn::before{border-width:12px 26px!important;border-image:url(assets/ui-main-hud/parts/matchup_button/default@2x.webp) 24 52 fill/12px 26px!important}
body.hud85 #hud #type-chart-btn:active::before{border-image-source:url(assets/ui-main-hud/parts/matchup_button/pressed@2x.webp)!important}
body.hud85 #hud #hud-left{--x:26;--y:223;--w:330;--h:312;display:block!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.hud85 #hud #hud-left .hud-weather{position:relative!important;width:326px!important;height:81px!important;margin:0!important;padding:0!important;display:block!important;box-sizing:border-box!important;border-style:solid!important;border-width:15px 37px!important;border-image:url(assets/ui-main-hud/parts/region_weather/default@2x.webp) 30 74 fill/15px 37px!important;background:none!important;box-shadow:none!important;border-radius:0!important}
body.hud85 #hud #stage-portrait{position:absolute!important;left:-26px!important;top:2px!important;width:46px!important;height:46px!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;border-radius:50%!important;background:#fff!important;border:2px solid #59BD5A!important;object-fit:contain!important;image-rendering:pixelated;box-shadow:none!important;transform:none!important}
body.hud85 #hud #hud-location{position:absolute!important;left:34px!important;top:-6px!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body.hud85 #hud #map-name{font-size:25px!important;font-weight:800!important;line-height:32px!important;color:var(--h85ink)!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;white-space:nowrap;text-shadow:none!important}
body.hud85 #hud #hud-weather{position:absolute!important;left:34px!important;top:26px!important;margin:0!important;padding:0!important;display:flex!important;gap:6px;align-items:center;background:none!important;border:0!important}
body.hud85 #hud #weather-tag{font-size:16px!important;font-weight:700!important;line-height:20px!important;color:#5b7f8c!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
body.hud85 #hud #hud-synergies{position:absolute!important;left:0!important;top:89px!important;width:330px!important;height:226px!important;margin:0!important;padding:0!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #hud #hud-synergies .side-card{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
body.hud85 #hud #hud-synergies .side-title{display:none!important}
body.hud85 #hud #synergy-list{display:block!important;width:330px!important;max-height:226px!important;margin:0!important;padding:0!important;overflow:auto!important;scrollbar-width:none;background:none!important;border:0!important}
body.hud85 #hud #synergy-list :is(.synergy-active-list,.synergy-inactive-list){display:block!important;margin:0!important;padding:0!important;gap:0!important}
body.hud85 #hud #synergy-list .synergy-entry{position:relative!important;display:flex!important;align-items:center!important;width:314px!important;height:44px!important;margin:0 0 1px!important;padding:0 0 0 11px!important;box-sizing:border-box!important;border-style:solid!important;border-width:9px 20px!important;border-image:url(assets/ui-main-hud/parts/synergy_row/default@2x.webp) 18 40 fill/9px 20px!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--h85ink)!important;transform:none!important;opacity:1!important;filter:none!important}
body.hud85 #hud #synergy-list .synergy-entry::before,body.hud85 #hud #synergy-list .synergy-entry::after{display:none!important}
body.hud85 #hud #synergy-list .synergy-entry>:is(.type-symbol,.role-symbol){flex:none!important;width:30px!important;height:30px!important;margin:0 0 0 -12px!important;border-radius:50%!important}
body.hud85 #hud #synergy-list .syn-data{position:static!important;display:flex!important;flex-direction:row!important;align-items:center!important;flex:1!important;min-width:0;margin:0 0 0 12px!important;padding:0!important}
body.hud85 #hud #synergy-list .syn-top{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;width:150px!important;margin:0!important}
body.hud85 #hud #synergy-list .syn-top>strong{font-size:21px!important;font-weight:700!important;color:var(--h85ink)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.hud85 #hud #synergy-list .syn-top>b{font-size:19px!important;font-weight:700!important;color:var(--h85ink)!important}
body.hud85 #hud #synergy-list .syn-near{position:absolute!important;left:215px!important;top:-4px!important;width:62px!important;height:35px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;background:url(assets/ui-main-hud/parts/synergy_plus_chip/default@2x.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:18px!important;font-style:normal!important;font-weight:800!important;color:var(--h85ink)!important;transform:none!important}
body.hud85 #hud #hud-right{background:none!important;border:0!important;box-shadow:none!important}
/* 배틀 타워 준비(85 C): 프런티어 띠를 위 띠 자리 [26,18,1504,123]의 타워 리본으로. 결과 표시(.fb-result)는 기존 그대로 */
body.hud85.frontier-active #frontier-bar:not(.fb-result):not([hidden]){position:fixed!important;left:calc(26px*var(--h85k))!important;top:calc(18px*var(--h85k))!important;right:auto!important;bottom:auto!important;width:1504px!important;height:123px!important;max-width:none!important;margin:0!important;padding:0!important;transform:scale(var(--h85k))!important;transform-origin:0 0!important;box-sizing:border-box!important;--h85bh:max(44px,calc(44px / var(--h85k)));border-style:solid!important;border-width:18px 57px!important;border-image:url(assets/ui-main-hud/parts/tower_ribbon/default@2x.webp) 36 114 fill/18px 57px!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:var(--h85ink)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row{position:absolute!important;inset:-18px -57px!important;display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>*{position:absolute!important;margin:0!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-foe{left:17px!important;top:23px!important;width:70px!important;height:70px!important;padding:12px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:url(assets/ui-main-hud/parts/tower_floor_plate/default@2x.webp) center/100% 100% no-repeat!important;object-fit:contain!important;image-rendering:pixelated}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>div:not(#frontier-hud):not(#frontier-augs){left:130px!important;top:22px!important;width:470px!important;height:80px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-floor{display:block!important;width:470px!important;font-size:31px!important;font-weight:800!important;line-height:40px!important;color:var(--h85ink)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-floor .fb-pre{font-size:31px!important;color:var(--h85ink)!important;opacity:1!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-state{position:absolute!important;left:0!important;top:44px!important;width:470px!important;display:block!important;font-size:19px!important;font-weight:700!important;line-height:26px!important;color:#2c6a82!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:1!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-hud{left:620px!important;top:12px!important;display:flex!important;gap:18px!important;align-items:center!important;background:none!important;border:0!important;padding:0!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-hud :is(.fb-hp,.fb-bp){display:flex!important;align-items:center!important;gap:8px!important;background:none!important;border:0!important;padding:0!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-hud img{width:30px!important;height:30px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-hud b{font-size:24px!important;font-weight:800!important;color:var(--h85ink)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button:not([hidden]){min-height:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;box-sizing:border-box!important;border-style:solid!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:var(--h85ink)!important;font-size:19px!important;font-weight:800!important;clip-path:none!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button::before,body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button::after{display:none!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-fight{left:862px!important;top:calc((123px - max(77px,var(--h85bh))) / 2)!important;width:125px!important;height:max(77px,var(--h85bh))!important;border-width:10px 25px!important;border-image:url(assets/ui-main-hud/parts/tower_challenge/default@2x.webp) 20 50 fill/10px 25px!important;font-size:26px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-fight:active{border-image-source:url(assets/ui-main-hud/parts/tower_challenge/pressed@2x.webp)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-switch{left:1103px!important;top:calc((123px - var(--h85bh)) / 2)!important;width:202px!important;height:var(--h85bh)!important;border-width:8px 18px!important;border-image:url(assets/ui-main-hud/parts/tower_switch/default@2x.webp) 16 36 fill/8px 18px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-switch:active{border-image-source:url(assets/ui-main-hud/parts/tower_switch/pressed@2x.webp)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) :is(#frontier-leave,#frontier-redraft,#frontier-abandon){top:calc((123px - var(--h85bh)) / 2)!important;width:100px!important;height:var(--h85bh)!important;border-width:8px 18px!important;border-image:url(assets/ui-main-hud/parts/tower_exit/default@2x.webp) 16 36 fill/8px 18px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-leave{left:1313px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) :is(#frontier-redraft,#frontier-abandon){left:995px!important;border-image-source:url(assets/ui-main-hud/parts/tower_abandon/default@2x.webp)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button>:not(span):not(b){display:none!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>[hidden]{display:none!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) :is(#frontier-aug-open,#frontier-aug-list){top:52px!important;width:115px!important;height:var(--h85bh)!important;font-size:17px!important;border-width:8px 18px!important;border-image:url(assets/ui-main-hud/parts/tower_switch/default@2x.webp) 16 36 fill/8px 18px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-aug-open{left:620px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-aug-list{left:742px!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button b{font-size:17px!important;color:var(--h85ink)!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row>button span{font-size:inherit!important;color:inherit!important}
/* 고해상도(--pc-hud-scale>1)는 기존 HUD에 zoom이 걸려 fixed 좌표까지 커진다 → 새 HUD 대상만 zoom 상쇄(85 좌표 × --h85k 그대로) */
body.hud85 #hud :is(#hud-round,#hud-stats,#hud-left){zoom:1!important}
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn,#fight-clock,#tempo-gauge){zoom:calc(1 / var(--pc-hud-scale,1))!important}
/* 새 HUD 85·91 ②-2(2026-11-01): PC 아래 띠 — manifest assemblies.adventure_prep_1920 / commonGrid.bottomStrip(1920: y 856~1063, 벤치 67·상점 134, 거터 6·10).
   fixed 자식이 있는 묶음(#dock-bench-row·#dock-start 등)에는 scale을 걸지 않는다(걸면 그 안의 fixed 기준이 바뀜) → 안쪽 요소를 각각 놓는다. 전투 단추는 현행 빨간 '전투!' 그대로 battleButtonSlot [1637,936,240,56]. */
body.hud85 :is(#cv-pouch#cv-pouch,#coach-btn#coach-btn){position:fixed!important;left:calc(var(--h85a,0px) + var(--x)*var(--h85k)*1px)!important;top:calc(var(--h85b,0px) + var(--y)*var(--h85k)*1px)!important;right:auto!important;bottom:auto!important;width:calc(var(--w)*1px)!important;height:calc(var(--h)*1px)!important;margin:0!important;transform:scale(var(--h85k))!important;transform-origin:0 0!important;box-sizing:border-box!important;translate:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;zoom:1!important}

body.hud85 #coach-btn#coach-btn{--h85a:var(--h85r)}
/* 빈 껍데기가 된 묶음은 바탕만 지운다(크기·위치는 그대로 두어 다른 계산을 깨지 않음) */
body.hud85 :is(#shared-shop-dock,#shop-area,#dock-bench-row,#dock-start){background:none!important;border-color:transparent!important;box-shadow:none!important;border-image:none!important}
body.hud85 :is(#shared-shop-dock,#shop-area,#dock-bench-row,#dock-start)::before,body.hud85 :is(#shared-shop-dock,#shop-area,#dock-bench-row,#dock-start)::after{display:none!important}
/* 가방 [28,858,264,205] · 소지품 [300,858,117,205] */
body.hud85 #pc-equipment-icons#pc-equipment-icons{background:url(assets/ui-main-hud/parts/bag_housing/default@2x.webp) 0 0/100% 100% no-repeat!important;border:0!important;box-shadow:none!important}
body.hud85 #cv-pouch#cv-pouch{--x:300;--y:858;--w:117;--h:205;padding:0!important;background:url(assets/ui-main-hud/parts/pocket_housing/default@2x.webp) 0 0/100% 100% no-repeat!important;border:0!important;box-shadow:none!important}
/* Lv·XP·새로고침 [425,862,200,201]: Lv 판 [427,862,196,79], XP [425,948,200,55], 새로고침 [425,1008,200,55] */
body.hud85 #hud-shop-controls#hud-shop-controls{display:block!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #hud-shop-controls>*{position:absolute!important;margin:0!important;box-sizing:border-box!important}
body.hud85 #hud-shop-controls#hud-shop-controls #hud-level#hud-level{left:2px!important;top:0!important;width:196px!important;height:79px!important;padding:0!important;border-style:solid!important;border-width:15px 17px!important;border-image:url(assets/ui-main-hud/parts/level_panel/default@2x.webp) 30 34 fill/15px 17px!important;background:none!important;box-shadow:none!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){left:0!important;width:200px!important;height:55px!important;min-height:0!important;padding:0 0 0 52px!important;border-style:solid!important;border-width:16px 21px 16px 48px!important;border-image:url(assets/ui-main-hud/parts/xp_button/default@2x.webp) 32 42 32 96 fill/16px 21px 16px 48px!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:#fff!important;font-size:20px!important;font-weight:800!important;clip-path:none!important}
body.hud85 #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn{top:86px!important}
body.hud85 #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn{top:146px!important;border-image-source:url(assets/ui-main-hud/parts/refresh_button/default@2x.webp)!important}
body.hud85 #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn:active{border-image-source:url(assets/ui-main-hud/parts/xp_button/pressed@2x.webp)!important}
body.hud85 #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn:active{border-image-source:url(assets/ui-main-hud/parts/refresh_button/pressed@2x.webp)!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn):disabled{border-image-source:url(assets/ui-main-hud/parts/xp_button/disabled@2x.webp)!important}
/* 벤치 [642,856,956,67] 9칸(101×67, 거터 6) · 상점 [642,929,956,134] 5장(183×134, 거터 10) */
body.hud85 #bench#bench{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;display:grid!important;grid-template-columns:repeat(9,1fr)!important;gap:0 6px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #shop-cards#shop-cards{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0 10px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
/* 자원 띠 [1118,812,482,39] · 팀 배치 [1618,862,278,50](잠금 [1622,866,43,40]) · 전투 단추 [1637,936,240,56] · AI 훈수 [1648,1016,218,49] */
body.hud85 #dock-wallet#dock-wallet{display:flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;padding:0 24px!important;border-style:solid!important;border-width:8px 18px!important;border-image:url(assets/ui-main-hud/parts/resource_ribbon/default@2x.webp) 16 36 fill/8px 18px!important;background:none!important;box-shadow:none!important}
body.hud85 #hud-deploy-count#hud-deploy-count{scale:none!important;display:flex!important;align-items:center!important;padding:0 26px 0 58px!important;border-style:solid!important;border-width:10px 23px!important;border-image:url(assets/ui-main-hud/parts/team_deploy/default@2x.webp) 20 46 fill/10px 23px!important;background:none!important;box-shadow:none!important}
body.hud85 #lock-btn#lock-btn#lock-btn#lock-btn{position:fixed!important;left:calc(1622px + var(--h85rd,0px))!important;top:calc(864px + var(--h85bd,0px))!important;right:auto!important;bottom:auto!important;width:46px!important;height:46px!important;z-index:40!important;margin:0!important;transform:none!important;translate:none!important;padding:0!important;border:0!important;box-shadow:none!important;border-radius:0!important}
body.hud85 #battle-btn#battle-btn{position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;translate:none!important}
body.hud85 #coach-btn#coach-btn{--x:1648;--y:1016;--w:218;--h:49;padding:0!important;border-style:solid!important;border-width:13px 24px!important;border-image:url(assets/ui-main-hud/parts/ai_button/default@2x.webp) 26 48 fill/13px 24px!important;background:none!important;box-shadow:none!important;color:#fff!important;font-size:21px!important;font-weight:800!important;clip-path:none!important}
body.hud85 #coach-btn#coach-btn:active{border-image-source:url(assets/ui-main-hud/parts/ai_button/pressed@2x.webp)!important}
body.hud85 #dock-toolbar#dock-toolbar{background:none!important;border:0!important;box-shadow:none!important}
/* 벤치 칸: 85 bench_slot(빈·찬·선택) + 번호 배지, 기존 나무 띠(--band-img) 지움 */
body.hud85 #dock-bench-row#dock-bench-row #bench#bench{--band-img:none!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench::before,body.hud85 #dock-bench-row#dock-bench-row #bench#bench::after{display:none!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot{position:relative!important;width:auto!important;height:67px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/bench_slot/empty@2x.webp) center/100% 100% no-repeat!important;overflow:visible!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot::before,body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot::after{display:none!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot:has(canvas,img,.unit,[data-unit]){background-image:url(assets/ui-main-hud/parts/bench_slot/filled@2x.webp)!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot:is(.selected,.active){background-image:url(assets/ui-main-hud/parts/bench_slot/selected@2x.webp)!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-slot:is(.drop-target,.drag-over,.over){background-image:url(assets/ui-main-hud/parts/bench_slot/drag_target@2x.webp)!important}
body.hud85 #dock-bench-row#dock-bench-row #bench#bench .bench-num{position:absolute!important;left:2px!important;top:0!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;background:url(assets/ui-main-hud/parts/bench_number_badge/default@2x.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font-size:16px!important;font-weight:800!important;line-height:1!important;z-index:2}
/* 가방 칸 4×2: 85 bag_slot 59×62 at [14,57] (housing 기준) · 머리 [8,8,248,40] */
body.hud85 #pc-equipment-icons#pc-equipment-icons::before,body.hud85 #pc-equipment-icons#pc-equipment-icons::after{display:none!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons .pc-equipment-heading{position:absolute!important;left:8px!important;top:8px!important;width:248px!important;height:40px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;gap:8px!important;background:none!important;border:0!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-bag-count{display:flex!important;align-items:center!important;gap:8px!important;height:40px!important;margin:0!important;padding:0 6px!important;background:none!important;border:0!important;box-shadow:none!important;color:#fff!important;font-size:22px!important;font-weight:800!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-bag-count img{width:24px!important;height:24px!important;content:url(assets/ui-main-hud/parts/icon_bag/default@2x.webp)}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book{width:36px!important;height:36px!important;margin-left:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book img{width:30px!important;height:30px!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-owned-items{position:absolute!important;left:14px!important;top:57px!important;width:236.5px!important;height:124.7px!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;grid-template-rows:repeat(2,1fr)!important;gap:0!important;background:url(assets/ui-main-hud/parts/bag_slot/empty@2x.webp) 0 0/25% 50% repeat!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-owned-items::before,body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-owned-items::after{display:none!important}
/* 소지품(주머니) 2×2: 85 pocket_slot 48×64 at [9,56] · 머리 [6,10,105,30] */
body.hud85 #cv-pouch#cv-pouch>header{position:absolute!important;left:6px!important;top:10px!important;width:105px!important;height:30px!important;margin:0!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:none!important;border:0!important;color:#fff!important;font-size:16px!important;font-weight:800!important}
body.hud85 #cv-pouch#cv-pouch>header *{color:#fff!important;font-size:16px!important}
body.hud85 #cv-pouch#cv-pouch .cv-pouch-grid{position:absolute!important;left:9px!important;top:56px!important;width:95.4px!important;height:127.4px!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(2,1fr)!important;grid-template-rows:repeat(2,1fr)!important;gap:0!important;background:none!important;border:0!important}
body.hud85 #cv-pouch#cv-pouch .cv-pouch-slot{width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/pocket_slot/empty@2x.webp) center/100% 100% no-repeat!important}
/* 팀 배치 글자 */
body.hud85 #hud-deploy-count#hud-deploy-count #limit-text{margin-left:58px!important;font-size:26px!important;font-weight:800!important;color:var(--h85ink)!important;text-shadow:none!important}
body.hud85 #hud-deploy-count#hud-deploy-count::after{content:"팀 배치";margin-left:auto;margin-right:26px;font-size:21px;font-weight:800;color:var(--h85ink)}
body.hud85 #hud-deploy-count#hud-deploy-count #hud-deploy-slots{display:none!important}
body.hud85 #lock-btn#lock-btn#lock-btn#lock-btn{background:url(assets/ui-main-hud/parts/shop_lock/unlocked@2x.webp) center/72% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;font-size:0!important}
body.hud85 #lock-btn#lock-btn#lock-btn#lock-btn.locked{background-image:url(assets/ui-main-hud/parts/shop_lock/locked@2x.webp)!important}
body.hud85 #lock-btn#lock-btn#lock-btn#lock-btn>*{display:none!important}
body.hud85 #dock-wallet#dock-wallet *{color:#fff!important}
/* Lv 판(levelTextLayout 1920: 볼 [438,878,24] · 글자 x471 · XP 수 오른쪽 x607) — n XP 남음은 넣지 않음(85 결정 ②) */
body.hud85 #hud-shop-controls#hud-shop-controls #hud-level#hud-level *{color:var(--h85ink)!important;text-shadow:none!important}
body.hud85 #hud-shop-controls#hud-shop-controls #level-label{font-size:24px!important;font-weight:800!important}
body.hud85 #hud-shop-controls#hud-shop-controls #xp-label{font-size:17px!important;font-weight:700!important}
body.hud85 #hud-shop-controls#hud-shop-controls #dock-xp-remaining{display:none!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;text-shadow:0 1px 0 #0006!important}
/* 85 보정(관리자 2026-11-01): 타워 상점 런의 지역 판 이름(기존 .frontier-shop 숨김을 새 HUD에서 되살림), 가방 머리 '가방' 글 */
body.hud85.frontier-shop #hud #hud-location{visibility:visible!important;pointer-events:auto!important}
body.hud85 #hud #map-name{display:block!important;max-width:250px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.hud85.frontier-active #hud #map-name{font-size:21px!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-bag-count{flex:1!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-bag-count b{display:flex!important;flex:1!important;justify-content:space-between!important;align-items:center!important;font-size:22px!important;color:#fff!important}
body.hud85 #pc-equipment-icons#pc-equipment-icons #pc-bag-count b::before{content:"가방";font-size:22px;font-weight:800;color:#fff}
/* 85 보정 2(관리자 2026-11-01): 주머니 머리 안쪽으로, 자원 띠 금화·연승 한 줄, XP·새로고침 비용을 단추 안 오른쪽 끝에 */
body.hud85 #cv-pouch#cv-pouch>header{left:12px!important;top:12px!important;width:93px!important;padding:0!important}
body.hud85 #cv-pouch#cv-pouch>header *{font-size:14px!important}
body.hud85 #dock-wallet#dock-wallet #hud-shop-gold{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;height:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.hud85 #dock-wallet#dock-wallet #hud-shop-gold>span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;position:static!important;margin:0!important}
body.hud85 #dock-wallet#dock-wallet #hud-shop-gold :is(strong,b){font-size:20px!important;line-height:1!important}
body.hud85 #dock-wallet#dock-wallet #hud-shop-gold img{width:20px!important;height:20px!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>b{position:absolute!important;right:-10px!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;gap:3px!important;margin:0!important;font-size:17px!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){position:absolute!important;overflow:visible!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>span{font-size:19px!important;white-space:nowrap!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){padding:0 34px 0 8px!important;justify-content:flex-start!important}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>img{position:absolute!important;left:-34px!important;top:50%!important;width:28px!important;height:32px!important;transform:translateY(-50%)!important;margin:0!important;object-fit:contain!important}
body.hud85 #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn>img{content:url(assets/ui-main-hud/parts/xp_arrow/default@2x.webp)}
body.hud85 #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn>img{content:url(assets/ui-main-hud/parts/refresh_arrow/default@2x.webp)}
body.hud85 #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>b{right:2px!important}
/* 새 HUD 85·91 ②-3a(2026-11-01): 휴대폰 가로 위 띠·오른쪽 위 단추·왼쪽 정보 — manifest assemblies.adventure_prep_844 좌표(1x px) 그대로.
   body.hud85m = MobileUI.active·가로(MainHud85.sync). 화면에는 x·y × --m85k(min(가로/844, 세로/390))로 놓고 묶음 안은 scale(--m85k). 오른쪽 묶음은 --m85r만큼 오른쪽 끝 기준.
   #mobile-hud 상자(높이 48)는 판 계산(MobileUI.layoutBounds) 때문에 그대로 두고 바탕·터치만 끈다. ☰(설정과 메뉴)는 시안의 설정 자리에 톱니 그림으로 둔다(메뉴 첫 줄이 설정). */
body.hud85m{--m85k:1;--m85r:0px;--m85rd:0px;--h85ink:#174E60;--h85sky:#1f9fc4}
body.hud85m #mobile-hud#mobile-hud{background:none!important;border:0!important;box-shadow:none!important;pointer-events:none!important}
body.hud85m #mobile-hud#mobile-hud>*{pointer-events:auto}
body.hud85m #hud#hud #hud-round#hud-round,body.hud85m #hud#hud #hud-options#hud-options{display:block!important}
body.hud85m #hud#hud #hud-options#hud-options{position:static!important;width:0!important;height:0!important;overflow:visible!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important}
body.hud85m :is(#hud-round#hud-round,#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn,#mobile-life#mobile-life,#journey-btn#journey-btn,#type-chart-btn#type-chart-btn,#mobile-stage#mobile-stage,#mobile-synergy#mobile-synergy,#mobile-menu-toggle#mobile-menu-toggle,#speed-btn#speed-btn,#mobile-guide#mobile-guide,#dock-wallet#dock-wallet){position:fixed!important;left:calc(var(--m85a,0px) + var(--x)*var(--m85k)*1px)!important;top:calc(var(--y)*var(--m85k)*1px)!important;right:auto!important;bottom:auto!important;width:calc(var(--w)*1px)!important;height:calc(var(--h)*1px)!important;margin:0!important;padding:0!important;transform:scale(var(--m85k))!important;transform-origin:0 0!important;box-sizing:border-box!important;translate:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;zoom:1!important;flex:none!important;order:0!important}
body.hud85m :is(#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn,#mobile-menu-toggle#mobile-menu-toggle,#speed-btn#speed-btn,#mobile-guide#mobile-guide,#dock-wallet#dock-wallet){--m85a:var(--m85r)}
body.hud85m #hud-options#hud-options>:is(#hud-settings,#sound-btn,#help-btn){display:none!important}
/* 위 띠 [6,5,638,83]: 진행 리본(_m) + 도시 판 [18,14,128,57] + 노드 9개 36×36(54.4 간격, x154) + 길 수 글자 */
body.hud85m #hud-round#hud-round{--x:6;--y:5;--w:638;--h:83;background:url(assets/ui-main-hud/parts/progress_ribbon/default_m@2x.webp) 0 0/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;clip-path:none!important;opacity:1!important;overflow:visible!important;z-index:30}
body.hud85m #hud-round#hud-round::before,body.hud85m #hud-round#hud-round::after{display:none!important}
body.hud85m #hud-round#hud-round #hud-roundbar{position:absolute!important;left:12px!important;top:9px!important;width:128px!important;height:57px!important;margin:0!important;padding:0!important;transform:none!important;background:url(assets/ui-main-hud/parts/city_stage_plate/default@2x.webp) 0 0/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;display:block!important}
body.hud85m #hud-round#hud-round #hud-roundbar .header-middle{display:block!important;position:static!important;padding:0!important;background:none!important;border:0!important}
body.hud85m #hud-round#hud-round #hud-roundbar .head-sep{display:none!important}
body.hud85m #hud-round#hud-round #hud-roundbar .round-text{position:absolute!important;left:4px!important;top:3px!important;width:122px;overflow:hidden;font-size:0!important;white-space:nowrap}
body.hud85m #hud-round#hud-round #round-label{display:inline!important;font-size:16px!important;font-weight:800!important;line-height:20px!important;color:var(--h85ink)!important;text-shadow:none!important}
body.hud85m #hud-round#hud-round #phase-pill{position:absolute!important;left:4px!important;top:27px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:11px!important;font-weight:700!important;line-height:15px!important;color:var(--h85sky)!important;white-space:nowrap}
body.hud85m #hud-round#hud-round #phase-pill>i{display:none!important}
body.hud85m #hud-round#hud-round #hud-progress{position:absolute!important;left:148px!important;top:6px!important;width:490px!important;height:72px!important;margin:0!important;padding:0!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important;display:block!important}
body.hud85m #hud-round#hud-round #hud-progress::before{content:"";position:absolute;left:23px;top:17px;width:444px;height:2px;background:url(assets/ui-main-hud/parts/progress_connector/default@2x.webp) 0 0/100% 100% no-repeat}
body.hud85m #hud-round#hud-round #stage-dots{position:absolute!important;left:0!important;top:0!important;width:490px!important;height:52px!important;display:flex!important;gap:18.4px!important;justify-content:flex-start!important;align-items:flex-start!important;margin:0!important;padding:0!important;overflow:visible!important;background:none!important;border:0!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node{position:relative!important;flex:none!important;width:36px!important;height:52px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;filter:none!important;overflow:visible!important;display:block!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node::before,body.hud85m #hud-round#hud-round #stage-dots .stage-node::after{display:none!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node>i{position:absolute!important;left:0!important;top:0!important;width:36px!important;height:36px!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important;background:#fffc;border-radius:50%!important;display:grid!important;place-items:center!important;overflow:hidden}
body.hud85m #hud-round#hud-round #stage-dots .stage-node>i>*{width:24px!important;height:24px!important;max-width:none!important;object-fit:contain}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.wild,.trainer,.branch,.event,.item,.rival,.rocket,.oak,.gym)>i{border-radius:0!important;background:var(--h85node) center/100% 100% no-repeat!important;overflow:visible}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.wild,.trainer,.branch,.event,.item,.rival,.rocket,.oak,.gym)>i>*{display:none!important}
body.hud85m #stage-dots .stage-node.wild{--h85node:url(assets/ui-main-hud/parts/node_wild/future@2x.webp)}body.hud85m #stage-dots .stage-node.wild.active{--h85node:url(assets/ui-main-hud/parts/node_wild/current@2x.webp)}body.hud85m #stage-dots .stage-node.wild.cleared{--h85node:url(assets/ui-main-hud/parts/node_wild/past@2x.webp)}
body.hud85m #stage-dots .stage-node.trainer{--h85node:url(assets/ui-main-hud/parts/node_trainer/future@2x.webp)}body.hud85m #stage-dots .stage-node.trainer.active{--h85node:url(assets/ui-main-hud/parts/node_trainer/current@2x.webp)}body.hud85m #stage-dots .stage-node.trainer.cleared{--h85node:url(assets/ui-main-hud/parts/node_trainer/past@2x.webp)}
body.hud85m #stage-dots .stage-node.branch{--h85node:url(assets/ui-main-hud/parts/node_branch/future@2x.webp)}body.hud85m #stage-dots .stage-node.branch.active{--h85node:url(assets/ui-main-hud/parts/node_branch/current@2x.webp)}body.hud85m #stage-dots .stage-node.branch.cleared{--h85node:url(assets/ui-main-hud/parts/node_branch/past@2x.webp)}
body.hud85m #stage-dots .stage-node.event{--h85node:url(assets/ui-main-hud/parts/node_event/future@2x.webp)}body.hud85m #stage-dots .stage-node.event.active{--h85node:url(assets/ui-main-hud/parts/node_event/current@2x.webp)}body.hud85m #stage-dots .stage-node.event.cleared{--h85node:url(assets/ui-main-hud/parts/node_event/past@2x.webp)}
body.hud85m #stage-dots .stage-node.item{--h85node:url(assets/ui-main-hud/parts/node_item/future@2x.webp)}body.hud85m #stage-dots .stage-node.item.active{--h85node:url(assets/ui-main-hud/parts/node_item/current@2x.webp)}body.hud85m #stage-dots .stage-node.item.cleared{--h85node:url(assets/ui-main-hud/parts/node_item/past@2x.webp)}
body.hud85m #stage-dots .stage-node.rival{--h85node:url(assets/ui-main-hud/parts/node_rival/future@2x.webp)}body.hud85m #stage-dots .stage-node.rival.active{--h85node:url(assets/ui-main-hud/parts/node_rival/current@2x.webp)}body.hud85m #stage-dots .stage-node.rival.cleared{--h85node:url(assets/ui-main-hud/parts/node_rival/past@2x.webp)}
body.hud85m #stage-dots .stage-node.rocket{--h85node:url(assets/ui-main-hud/parts/node_rocket/future@2x.webp)}body.hud85m #stage-dots .stage-node.rocket.active{--h85node:url(assets/ui-main-hud/parts/node_rocket/current@2x.webp)}body.hud85m #stage-dots .stage-node.rocket.cleared{--h85node:url(assets/ui-main-hud/parts/node_rocket/past@2x.webp)}
body.hud85m #stage-dots .stage-node.oak{--h85node:url(assets/ui-main-hud/parts/node_professor/future@2x.webp)}body.hud85m #stage-dots .stage-node.oak.active{--h85node:url(assets/ui-main-hud/parts/node_professor/current@2x.webp)}body.hud85m #stage-dots .stage-node.oak.cleared{--h85node:url(assets/ui-main-hud/parts/node_professor/past@2x.webp)}
body.hud85m #stage-dots .stage-node.gym{--h85node:url(assets/ui-main-hud/parts/node_gym/future@2x.webp)}body.hud85m #stage-dots .stage-node.gym.active{--h85node:url(assets/ui-main-hud/parts/node_gym/current@2x.webp)}body.hud85m #stage-dots .stage-node.gym.cleared{--h85node:url(assets/ui-main-hud/parts/node_gym/past@2x.webp)}
body.hud85m #hud-round#hud-round #stage-dots .stage-node>small{display:block!important;visibility:visible!important;position:absolute!important;left:50%!important;top:37px!important;transform:translateX(-50%)!important;width:54px!important;margin:0!important;padding:0!important;text-align:center!important;font-size:9px!important;font-weight:700!important;line-height:11px!important;color:var(--h85ink)!important;background:none!important;text-shadow:0 1px 0 #fff!important;white-space:nowrap!important;overflow:hidden;opacity:1!important}
body.hud85m #hud-round#hud-round #route-readout{position:absolute!important;left:0!important;top:55px!important;width:480px!important;height:16px!important;margin:0!important;padding:0!important;display:block!important;visibility:visible!important;background:none!important;border:0!important;transform:none!important}
body.hud85m #hud-round#hud-round #route-readout .route-track{position:absolute!important;left:-135px!important;top:0!important;width:119px!important;height:4px!important;margin:0!important;border:0!important;border-radius:2px!important;background:url(assets/ui-main-hud/parts/progress_track/default@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;overflow:hidden}
body.hud85m #hud-round#hud-round #route-readout .route-track>i{display:block!important;height:100%!important;min-width:2px;border-radius:2px!important;background:url(assets/ui-main-hud/parts/progress_fill/default@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important}
body.hud85m #hud-round#hud-round #route-readout>small{position:absolute!important;left:6px!important;top:1px!important;max-width:470px;overflow:hidden;text-overflow:ellipsis;margin:0!important;font-size:10px!important;font-weight:700!important;line-height:14px!important;color:var(--h85ink)!important;white-space:nowrap!important;opacity:1!important;text-shadow:none!important}
/* 오른쪽 위 단추 [648·696·744·792, 3, 48×48](받침 utility_base _m, 아이콘 44) + 도감 [792,52,48,48] */
body.hud85m :is(#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen,#speed-btn#speed-btn,#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide){--y:3;--w:48;--h:48;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline-offset:1px;background:var(--h85ico,none) center/calc(100% - 4px) calc(100% - 4px) no-repeat,url(assets/ui-main-hud/parts/utility_base/default_m@2x.webp) center/100% 100% no-repeat!important;color:var(--h85ink)!important;cursor:pointer;opacity:1!important;visibility:visible!important;z-index:31}
body.hud85m :is(#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen,#speed-btn#speed-btn,#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide):active{background:var(--h85ico,none) center/calc(100% - 4px) calc(100% - 4px) no-repeat,url(assets/ui-main-hud/parts/utility_base/pressed_m@2x.webp) center/100% 100% no-repeat!important}
body.hud85m #mobile-menu-toggle#mobile-menu-toggle[aria-expanded=true]{background:var(--h85ico,none) center/calc(100% - 4px) calc(100% - 4px) no-repeat,url(assets/ui-main-hud/parts/utility_base/on_m@2x.webp) center/100% 100% no-repeat!important}
body.hud85m :is(#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide){font-size:0!important;color:transparent!important}
body.hud85m :is(#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide)>*{display:none!important}
body.hud85m #mobile-menu-toggle#mobile-menu-toggle{--x:648;--h85ico:url(assets/ui-main-hud/parts/icon_settings/default@2x.webp)}
body.hud85m #hud-fullscreen#hud-fullscreen{--x:696;--h85ico:url(assets/ui-main-hud/parts/icon_fullscreen/default@2x.webp)}
body.hud85m #speed-btn#speed-btn{--x:744;font-size:15px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;text-shadow:none!important}
body.hud85m #world-tour-btn#world-tour-btn{--x:792;--h85ico:url(assets/ui-main-hud/parts/icon_globe/default@2x.webp)}
body.hud85m #mobile-guide#mobile-guide{--x:792;--y:52;--h85ico:url(assets/ui-main-hud/parts/icon_dex/default@2x.webp)}
/* 자원 띠 [648,52,145,38](터치 상자 [648,51,143,42] — 위 단추(아래 끝 51)와 안 겹치게, 그림은 가운데 38) — 금화·연승·이자 +n 한 줄, 피카츄·이자 동전 줄은 뺌 */
body.hud85m #dock-wallet#dock-wallet{--x:648;--y:51;--w:143;--h:42;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:0 10px 0 6px!important;border:0!important;background:url(assets/ui-main-hud/parts/resource_ribbon/default_m@2x.webp) 0 50%/100% 38px no-repeat!important;box-shadow:none!important;border-radius:0!important;z-index:31}
body.hud85m #dock-wallet#dock-wallet::before,body.hud85m #dock-wallet#dock-wallet::after{display:none!important}
body.hud85m #dock-wallet#dock-wallet #gold-interest-side{order:2!important;position:static!important;margin:0 0 0 auto!important;padding:0!important;width:auto!important;height:auto!important;min-width:0!important;display:flex!important;align-items:center!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important}
body.hud85m #dock-wallet#dock-wallet #gold-interest-side>:not(.interest-badge){display:none!important}
body.hud85m #dock-wallet#dock-wallet .interest-badge{position:static!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:13px!important;font-weight:800!important;color:var(--h85ink)!important;text-shadow:none!important;transform:none!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold{order:1!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;height:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;position:static!important;transform:none!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold>span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;position:static!important;margin:0!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold :is(strong,b){font-size:14px!important;line-height:1!important;color:var(--h85ink)!important;text-shadow:none!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold *{color:var(--h85ink)!important;text-shadow:none!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold img{width:18px!important;height:18px!important}
/* 왼쪽 정보 [6,91,166,149]: 체력 [4,89,85,48] · 배지 [89,89,85,48] · 지역 판 [4,138,116,48] · 상성 [120,138,54,48] · 시너지 [4,187,170,52] */
body.hud85m :is(#mobile-life#mobile-life,#journey-btn#journey-btn,#type-chart-btn#type-chart-btn,#mobile-stage#mobile-stage,#mobile-synergy#mobile-synergy){--h:48;display:flex!important;align-items:center!important;gap:5px!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--h85ink)!important;text-shadow:none!important;background:none!important;isolation:isolate;z-index:30;overflow:visible!important}
body.hud85m :is(#mobile-life#mobile-life,#journey-btn#journey-btn,#type-chart-btn#type-chart-btn,#mobile-synergy#mobile-synergy)::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;box-sizing:border-box;border-style:solid;border-width:9px 22px;border-image:url(assets/ui-main-hud/parts/health_chip/default@2x.webp) 22 54 fill/9px 22px;background:none!important;transform:none!important;opacity:1!important}
body.hud85m :is(#mobile-life#mobile-life,#journey-btn#journey-btn,#type-chart-btn#type-chart-btn,#mobile-stage#mobile-stage,#mobile-synergy#mobile-synergy)::after{display:none!important}
body.hud85m #mobile-life#mobile-life{--x:4;--y:89;--w:85;justify-content:center!important;padding:0 6px!important}
body.hud85m #mobile-life#mobile-life>span{width:18px!important;height:18px!important;font-size:0!important;background:url(assets/ui-main-hud/parts/icon_heart/default@2x.webp) center/contain no-repeat!important;margin:0!important;flex:none}
body.hud85m #mobile-life#mobile-life>b{font-size:17px!important;font-weight:800!important;line-height:1!important;color:var(--h85ink)!important}
body.hud85m #journey-btn#journey-btn{--x:89;--y:89;--w:85;justify-content:center!important;padding:0 6px!important;font-size:16px!important;font-weight:800!important}
body.hud85m #journey-btn#journey-btn::before{border-image-source:url(assets/ui-main-hud/parts/team_chip/default@2x.webp)!important}
body.hud85m #journey-btn#journey-btn :is(b,span){font-size:16px!important;font-weight:800!important;color:var(--h85ink)!important;background:none!important}
body.hud85m #journey-btn#journey-btn img{width:20px!important;height:20px!important}
body.hud85m #type-chart-btn#type-chart-btn{--x:120;--y:138;--w:54;justify-content:center!important;font-size:13px!important;font-weight:800!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.hud85m #type-chart-btn#type-chart-btn::before{border-width:10px 20px!important;border-image:url(assets/ui-main-hud/parts/matchup_button/default@2x.webp) 24 52 fill/10px 20px!important}
body.hud85m #type-chart-btn#type-chart-btn:active::before{border-image-source:url(assets/ui-main-hud/parts/matchup_button/pressed@2x.webp)!important}
body.hud85m #mobile-stage#mobile-stage{--x:4;--y:138;--w:116;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;background:url(assets/ui-main-hud/parts/region_weather/default_m@2x.webp) 0 0/100% 100% no-repeat!important;text-align:center!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy{display:flex!important;flex-direction:column-reverse!important;align-items:center!important;gap:1px!important;width:104px!important;margin:0!important;padding:0!important;background:none!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy strong{display:block!important;max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important;font-weight:800!important;line-height:15px!important;color:var(--h85ink)!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy small{display:block!important;font-size:9px!important;font-weight:700!important;line-height:12px!important;color:#5b7f8c!important;opacity:1!important}
/* 남은 시간·배치 수(기존 #fight-clock, 지역 판 안) → 시안 안내 띠 자리 [655,113,185,32](오른쪽 끝 기준, 지역 판 기준 상대 좌표) */
body.hud85m #mobile-stage#mobile-stage #fight-clock{position:absolute!important;left:calc(651px + var(--m85rd))!important;top:-25px!important;width:185px!important;height:32px!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;border-style:solid!important;border-width:6px 15px!important;border-image:url(assets/ui-main-hud/parts/hint_ribbon/default@2x.webp) 16 38 fill/6px 15px!important;background:none!important;box-shadow:none!important;border-radius:0!important;font-size:12px!important;font-weight:800!important;line-height:1!important;color:var(--h85ink)!important;text-shadow:none!important;white-space:nowrap!important;transform:none!important}
body.hud85m #mobile-synergy#mobile-synergy{--x:4;--y:187;--w:170;--h:52;justify-content:flex-start!important;padding:0 12px!important;font-size:12px!important;font-weight:800!important;text-align:left!important}
body.hud85m #mobile-synergy#mobile-synergy::before{border-width:8px 20px!important;border-image:url(assets/ui-main-hud/parts/synergy_summary/default@2x.webp) 18 48 fill/8px 20px!important}
body.hud85m #mobile-synergy#mobile-synergy:active::before{border-image-source:url(assets/ui-main-hud/parts/synergy_summary/pressed@2x.webp)!important}
body.hud85m #mobile-synergy#mobile-synergy *{color:var(--h85ink)!important;text-shadow:none!important;font-size:12px!important}
/* XP 미리보기(기존 [12,128])가 지역 판을 덮지 않게 왼쪽 정보 오른쪽 [178,192,44,44]로 */
body.hud85m #buy-xp-info#buy-xp-info{position:fixed!important;left:calc(178px*var(--m85k))!important;top:calc(192px*var(--m85k))!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;margin:0!important;transform:scale(var(--m85k))!important;transform-origin:0 0!important;translate:none!important;box-sizing:border-box!important}
/* 새 HUD 85·91 ②-3b(2026-11-01): 휴대폰 가로 아래 띠 — manifest assemblies.adventure_prep_844 / commonGrid.bottomStrip.844(y 239~384, 벤치 44·상점 92, 거터 4·5).
   #shared-shop-dock을 아래 띠 상자 [5,239,835,145](zoom --m85k — transform이면 안쪽 fixed 끌기 그림이 손가락 밑으로 와 탭을 가로챔)로 두고 안쪽은 설계 좌표 − (5,239)로 놓는다(판 아래 끝 계산이 이 상자 위쪽을 씀). 벤치·상점은 남는 폭의 절반(--m85rd/2), 전투 쪽은 오른쪽 끝(--m85rd) 기준.
   전투 단추는 현행 빨간 '전투!' 그대로 battleButtonSlot.844 [696,249,124,44]. 상점 카드 안쪽은 지금 카드 그대로(관리자 결정). */
body.hud85m #shared-shop-dock#shared-shop-dock{position:fixed!important;left:5px!important;top:239px!important;right:auto!important;bottom:auto!important;width:835px!important;height:145px!important;overflow:visible!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;zoom:var(--m85k)!important;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;pointer-events:none!important;z-index:20}
body.hud85m #shared-shop-dock#shared-shop-dock::before,body.hud85m #shared-shop-dock#shared-shop-dock::after{display:none!important}
body.hud85m #shared-shop-dock#shared-shop-dock>*{pointer-events:auto}
body.hud85m #shared-shop-dock#shared-shop-dock>:is(#hud-shop-controls,#dock-bench-row,.shop-area,#dock-toolbar){position:absolute!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;box-sizing:border-box!important;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}
body.hud85m #shared-shop-dock#shared-shop-dock>:is(#hud-shop-controls,#dock-bench-row,.shop-area,#dock-toolbar)::before,body.hud85m #shared-shop-dock#shared-shop-dock>:is(#hud-shop-controls,#dock-bench-row,.shop-area,#dock-toolbar)::after{display:none!important}
/* 벤치 [167,242,503,44] 9칸(거터 4) · 상점 [167,292,503,92] 5장(거터 5) */
body.hud85m #shared-shop-dock#shared-shop-dock>#dock-bench-row{left:calc(162px + var(--m85rd) / 2)!important;top:3px!important;width:503px!important;height:44px!important;overflow:visible!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;display:grid!important;grid-template-columns:repeat(9,1fr)!important;gap:0 4px!important;padding:0!important;--band-img:none!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench::before,body.hud85m #dock-bench-row#dock-bench-row #bench#bench::after{display:none!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot{position:relative!important;width:auto!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/bench_slot/empty@2x.webp) center/100% 100% no-repeat!important;overflow:visible!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot::before,body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot::after{display:none!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot:has(canvas,img,.unit,[data-unit]){background-image:url(assets/ui-main-hud/parts/bench_slot/filled@2x.webp)!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot:is(.selected,.active){background-image:url(assets/ui-main-hud/parts/bench_slot/selected@2x.webp)!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-slot:is(.drop-target,.drag-over,.over){background-image:url(assets/ui-main-hud/parts/bench_slot/drag_target@2x.webp)!important}
body.hud85m #dock-bench-row#dock-bench-row #bench#bench .bench-num{position:absolute!important;left:2px!important;top:0!important;width:16px!important;height:16px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;background:url(assets/ui-main-hud/parts/bench_number_badge/default@2x.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;z-index:2}
body.hud85m #shared-shop-dock#shared-shop-dock>.shop-area{left:calc(162px + var(--m85rd) / 2)!important;top:53px!important;width:503px!important;height:92px!important;overflow:visible!important}
body.hud85m #shop-cards#shop-cards{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;grid-template-rows:92px!important;gap:0 5px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.hud85m #shop-cards#shop-cards>*{min-width:0!important;width:auto!important;height:92px!important;margin:0!important}
/* 카드 폭 97에서는 추천 표(44×44, 위 13)가 카드 가운데까지 와서 가운데 탭이 구매 대신 추천 창을 연다 → 모서리(위 0)로. 정보(i)는 오른쪽 위 그대로 */
body.hud85m #shop-cards#shop-cards .shop-card .shop-advice-badge{top:0!important;left:0!important}
/* 같은 이유로 정보(i) 44×44가 가운데에서 3px뿐이라 휴대폰 터치 보정이 가운데 탭을 i로 끌어감 → 새 HUD 휴대폰만 32×32(오른쪽 위 모서리) */
body.hud85m #shop-cards#shop-cards .shop-card :is(.shop-info,.shop-advice-badge){width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-info{top:0!important;right:0!important}
/* 전투 단추 [696,249,124,44](벤치 줄 기준 529,7) · 팀 배치 [697,188,143,48](전투 단추 기준 1,-61) */
body.hud85m #dock-bench-row#dock-bench-row #dock-start#dock-start{position:absolute!important;left:calc(529px + var(--m85rd) / 2)!important;top:7px!important;right:auto!important;bottom:auto!important;width:124px!important;height:44px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.hud85m #dock-bench-row#dock-bench-row #dock-start#dock-start::before,body.hud85m #dock-bench-row#dock-bench-row #dock-start#dock-start::after{display:none!important}
body.hud85m #dock-start#dock-start #battle-btn#battle-btn{position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:124px!important;height:44px!important;margin:0!important;transform:none!important;translate:none!important}
body.hud85m #dock-start#dock-start #hud-deploy-count#hud-deploy-count{position:absolute!important;left:1px!important;top:-61px!important;right:auto!important;bottom:auto!important;width:143px!important;height:48px!important;margin:0!important;transform:none!important;translate:none!important;scale:none!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;padding:0 14px 0 34px!important;box-sizing:border-box!important;border:0!important;background:url(assets/ui-main-hud/parts/team_deploy/default_m@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important}
body.hud85m #hud-deploy-count#hud-deploy-count #limit-text{position:static!important;transform:none!important;line-height:1!important;margin:0!important;font-size:16px!important;font-weight:800!important;color:var(--h85ink)!important;text-shadow:none!important}
body.hud85m #hud-deploy-count#hud-deploy-count::after{content:"팀 배치";margin-left:auto;font-size:11px;font-weight:800;color:var(--h85ink)}
body.hud85m #hud-deploy-count#hud-deploy-count #hud-deploy-slots{display:none!important}
/* Lv·XP·새로고침: Lv 판 [4,314,156,27](볼 [15,320,12] · 글자 x31 · XP 수 오른쪽 x145) · XP [6,340,72,44] · 새로고침 [83,340,75,44] — n XP 남음은 넣지 않음(85 결정) */
body.hud85m #shared-shop-dock#shared-shop-dock>#hud-shop-controls{left:-1px!important;top:75px!important;width:156px!important;height:70px!important;display:block!important;overflow:visible!important}
body.hud85m #hud-shop-controls#hud-shop-controls>*{position:absolute!important;margin:0!important;box-sizing:border-box!important;transform:none!important;translate:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level#hud-level{left:0!important;top:0!important;width:156px!important;height:27px!important;padding:0 11px 0 27px!important;display:flex!important;align-items:center!important;gap:4px!important;border:0!important;background:url(assets/ui-main-hud/parts/level_ball/default@2x.webp) 11px 50%/12px 12px no-repeat,url(assets/ui-main-hud/parts/level_panel/default_m@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important;overflow:hidden!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level#hud-level::before,body.hud85m #hud-shop-controls#hud-shop-controls #hud-level#hud-level::after{display:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level#hud-level *{color:var(--h85ink)!important;text-shadow:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #level-label{font-size:11px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
body.hud85m #hud-shop-controls#hud-shop-controls #xp-label{margin-left:auto!important;font-size:9px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
body.hud85m #hud-shop-controls#hud-shop-controls #dock-xp-remaining{display:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level#hud-level>:not(#hud-level-title){display:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level-title{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body.hud85m #hud-shop-controls#hud-shop-controls #hud-level-title::before,body.hud85m #hud-shop-controls#hud-shop-controls #hud-level-title::after{display:none!important}
body.hud85m #dock-wallet#dock-wallet .hud-win-streak{display:flex!important;align-items:center!important;gap:3px!important;position:static!important;margin:0!important;padding:0!important;width:auto!important;background:none!important;border:0!important}
body.hud85m #dock-wallet#dock-wallet .hud-win-streak img{width:16px!important;height:16px!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold :is(.gold-balance,.hud-win-streak,.gold-balance>*,.hud-win-streak>*){position:static!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important;top:auto!important;left:auto!important;align-self:center!important;flex:none!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold .hud-coin{display:block!important;width:18px!important;height:18px!important}
body.hud85m #dock-wallet#dock-wallet #hud-shop-gold .gold-rise{display:none!important}
/* 상점 접기(기존 #cv-shop-fold) → 판 오른쪽 아래 빈자리 [640,192,44,44](아래 띠 기준 635,-47, 오른쪽 끝) */
body.hud85m #shared-shop-dock#shared-shop-dock>#cv-shop-fold#cv-shop-fold{position:absolute!important;left:calc(635px + var(--m85rd))!important;top:-47px!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;margin:0!important;transform:none!important;translate:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #level-label{background:none!important;padding:0!important}
body.hud85m #hud-shop-controls#hud-shop-controls #level-label::before,body.hud85m #hud-shop-controls#hud-shop-controls #level-label::after{display:none!important}
body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::before,body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::after{all:unset!important;position:absolute!important;top:4px!important;font-size:10px!important;font-weight:800!important;line-height:14px!important;color:#fff!important;font-family:inherit!important}
body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::before{content:"가방"!important;left:9px!important}
body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::after{content:attr(data-count)!important;right:9px!important}
body.hud85m #dock-toolbar#dock-toolbar>[data-dock=codex]::before,body.hud85m #dock-toolbar#dock-toolbar>[data-dock=codex]::after{display:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){top:26px!important;height:44px!important;min-height:0!important;padding:0 2px 0 22px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;border:0!important;background:url(assets/ui-main-hud/parts/xp_button/default_m@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important;color:#fff!important;font-size:11px!important;font-weight:800!important;clip-path:none!important;overflow:visible!important;text-shadow:0 1px 0 #0006!important}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)::before,body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)::after{display:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn{left:2px!important;width:72px!important}
body.hud85m #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn{left:79px!important;width:75px!important;background-image:url(assets/ui-main-hud/parts/refresh_button/default_m@2x.webp)!important}
body.hud85m #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn:active{background-image:url(assets/ui-main-hud/parts/xp_button/pressed_m@2x.webp)!important}
body.hud85m #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn:active{background-image:url(assets/ui-main-hud/parts/refresh_button/pressed_m@2x.webp)!important}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>img{position:absolute!important;left:3px!important;top:9px!important;width:17px!important;height:25px!important;margin:0!important;object-fit:contain!important}
body.hud85m #hud-shop-controls#hud-shop-controls #xp-btn#xp-btn>img{content:url(assets/ui-main-hud/parts/xp_arrow/default@2x.webp)}
body.hud85m #hud-shop-controls#hud-shop-controls #reroll-btn#reroll-btn>img{content:url(assets/ui-main-hud/parts/refresh_arrow/default@2x.webp)}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>span{font-size:11px!important;line-height:13px!important;white-space:nowrap!important;color:#fff!important}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>b{position:static!important;display:flex!important;align-items:center!important;gap:2px!important;margin:0!important;font-size:11px!important;line-height:13px!important;color:#fff!important;transform:none!important}
body.hud85m #hud-shop-controls#hud-shop-controls :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)>b :is(i,img){width:11px!important;height:11px!important}
body.hud85m #hud-shop-controls#hud-shop-controls #mobile-bag-seat{display:none!important}
/* 가방·도감·잠금(#dock-toolbar): 가방 단추 → 가방 자리 [5,239,100,77](받침 bag_housing + '가방 n/8', 누르면 기존 가방 창), 도감 [178,146,44,44], 상점 잠금 → 안내 띠 자리 [677,349,163,44](오른쪽 끝) */
body.hud85m #shared-shop-dock#shared-shop-dock>#dock-toolbar{left:0!important;top:0!important;width:0!important;height:0!important;overflow:visible!important;display:block!important}
body.hud85m #dock-toolbar#dock-toolbar>*{position:absolute!important;margin:0!important;transform:none!important;translate:none!important;box-sizing:border-box!important;right:auto!important;bottom:auto!important}
body.hud85m #dock-toolbar#dock-toolbar>[data-dock=toggle]{left:0!important;top:1px!important;width:100px!important;height:74px!important;padding:0!important;display:block!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--work-button) 50% 72%/40px 40px no-repeat,url(assets/ui-main-hud/parts/bag_housing/default@2x.webp) 0 0/100% 100% no-repeat,linear-gradient(#6e4a2c,#5a3a22) 6px 21px/88px 51px no-repeat!important}
body.hud85m #dock-toolbar#dock-toolbar>[data-dock=toggle] img{display:none!important}
body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::before{content:"가방"!important;position:absolute!important;left:9px!important;top:4px!important;font-size:10px!important;font-weight:800!important;line-height:14px!important;color:#fff!important;background:none!important;display:block!important}
body.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar>[data-dock=toggle][data-dock]::after{content:attr(data-count)!important;position:absolute!important;right:9px!important;left:auto!important;top:4px!important;width:auto!important;height:auto!important;font-size:10px!important;font-weight:800!important;line-height:14px!important;color:#fff!important;background:none!important;border:0!important;padding:0!important;display:block!important;transform:none!important}
body.hud85m #dock-toolbar#dock-toolbar>[data-dock=codex]{left:173px!important;top:-93px!important;width:44px!important;height:44px!important;padding:0!important;display:block!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--work-button) center/30px 30px no-repeat,url(assets/ui-main-hud/parts/utility_base/default_m@2x.webp) center/100% 100% no-repeat!important}
body.hud85m #dock-toolbar#dock-toolbar>:is([data-dock=toggle],[data-dock=codex])::before{width:auto!important;height:auto!important;border:0!important;inset:auto!important;transform:none!important}
body.hud85m #dock-toolbar#dock-toolbar>[data-dock=codex] img{width:30px!important;height:30px!important;object-fit:contain!important}
body.hud85m #lock-btn#lock-btn#lock-btn#lock-btn{left:calc(672px + var(--m85rd))!important;top:107px!important;width:163px!important;height:44px!important;min-height:0!important;max-height:none!important;z-index:2!important;padding:0 0 0 30px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/shop_lock/unlocked@2x.webp) 10px 50%/22px 22px no-repeat,url(assets/ui-main-hud/parts/hint_ribbon/default@2x.webp) 0 50%/100% 31px no-repeat!important;font-size:0!important;color:var(--h85ink)!important}
body.hud85m #lock-btn#lock-btn#lock-btn#lock-btn.locked{background-image:url(assets/ui-main-hud/parts/shop_lock/locked@2x.webp),url(assets/ui-main-hud/parts/hint_ribbon/default@2x.webp)!important}
body.hud85m #lock-btn#lock-btn#lock-btn#lock-btn>*{display:none!important}
body.hud85m #lock-btn#lock-btn#lock-btn#lock-btn::after{content:"상점 잠금";font-size:12px;font-weight:800;color:var(--h85ink)}
body.hud85m #lock-btn#lock-btn#lock-btn#lock-btn.locked::after{content:"상점 잠김 · 풀기"}
/* 주머니 [108,239,51,77](받침 pocket_housing, 누르면 기존 주머니 목록) · AI 훈수 [679,307,159,44](오른쪽 끝) */
body.hud85m :is(#cv-pouch#cv-pouch,#coach-btn#coach-btn){position:fixed!important;left:calc(var(--m85a,0px) + var(--x)*var(--m85k)*1px)!important;top:calc(var(--y)*var(--m85k)*1px)!important;right:auto!important;bottom:auto!important;width:calc(var(--w)*1px)!important;height:calc(var(--h)*1px)!important;margin:0!important;transform:scale(var(--m85k))!important;transform-origin:0 0!important;box-sizing:border-box!important;translate:none!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;zoom:1!important}
body.hud85m #cv-pouch#cv-pouch{--x:108;--y:240;--w:51;--h:74;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/pocket_housing/default@2x.webp) 0 0/100% 100% no-repeat,linear-gradient(#155a6a,#0f4654) 4px 21px/43px 51px no-repeat!important;overflow:visible!important}
body.hud85m #cv-pouch#cv-pouch .cv-pouch-toggle{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;padding:4px 0 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
body.hud85m #cv-pouch#cv-pouch .cv-pouch-toggle *{color:#fff!important;font-size:10px!important;line-height:14px!important;text-shadow:none!important}
body.hud85m #hud#hud #hud-right#hud-right{display:block!important;position:static!important;width:0!important;height:0!important;overflow:visible!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important}
body.hud85m #hud#hud #hud-right#hud-right>:not(#coach-btn){display:none!important}
body.hud85m #coach-btn#coach-btn{--x:679;--y:301;--w:159;--h:44;--m85a:var(--m85r);display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-radius:0!important;background:url(assets/ui-main-hud/parts/ai_button/default_m@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;color:#fff!important;font-size:14px!important;font-weight:800!important;clip-path:none!important;z-index:25}
body.hud85m #coach-btn#coach-btn:active{background-image:url(assets/ui-main-hud/parts/ai_button/pressed_m@2x.webp)!important}
body.hud85m #mobile-synergy#mobile-synergy{gap:6px!important;padding:0 10px!important}
body.hud85m #mobile-synergy#mobile-synergy .m85-syn-ico{display:flex!important;gap:3px!important;flex:none!important}
body.hud85m #mobile-synergy#mobile-synergy .m85-syn-ico>*{width:16px!important;height:16px!important;min-width:0!important;margin:0!important;border-radius:50%!important}
body.hud85m #mobile-synergy#mobile-synergy .m85-syn-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:0!important;flex:1!important}
body.hud85m #mobile-synergy#mobile-synergy .m85-syn-copy b{font-size:11px!important;font-weight:800!important;line-height:13px!important}
body.hud85m #mobile-synergy#mobile-synergy .m85-syn-copy small{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;font-weight:700!important;line-height:12px!important;opacity:1!important}
/* 새 HUD 85·91 ②-3c(2026-11-01): 휴대폰 가로 배틀 타워 준비 — 프런티어 띠를 위 띠 자리 [6,5,638,83]의 타워 리본(_m)으로(manifest assemblies.tower_prep_844).
   층 판 [13,12,34,34] · 제목 2줄 · HP/BP · 도전 [365,12,49,44] · 전환 [419,12,100,44] · 포기 [524,12,51,44] · 나가기 [580,12,56,44]. 결과 표시(.fb-result)는 기존 그대로 */
body.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result):not([hidden]){position:fixed!important;left:calc(6px*var(--m85k))!important;top:calc(5px*var(--m85k))!important;right:auto!important;bottom:auto!important;width:638px!important;height:83px!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;transform:scale(var(--m85k))!important;transform-origin:0 0!important;translate:none!important;box-sizing:border-box!important;border:0!important;border-image:none!important;background:url(assets/ui-main-hud/parts/tower_ribbon/default_m@2x.webp) 0 0/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important;color:var(--h85ink)!important;z-index:30!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row{position:absolute!important;inset:0!important;display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>*{position:absolute!important;margin:0!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-foe{left:7px!important;top:7px!important;width:34px!important;height:34px!important;padding:5px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:url(assets/ui-main-hud/parts/tower_floor_plate/default@2x.webp) center/100% 100% no-repeat!important;object-fit:contain!important;image-rendering:pixelated}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>div:not(#frontier-hud):not(#frontier-augs){left:48px!important;top:5px!important;width:192px!important;height:76px!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-floor{display:block!important;width:196px!important;max-height:36px!important;overflow:hidden!important;font-size:14px!important;font-weight:800!important;line-height:18px!important;color:var(--h85ink)!important;white-space:normal!important;word-break:keep-all!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-floor .fb-pre{font-size:14px!important;color:var(--h85ink)!important;opacity:1!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-state{position:absolute!important;left:-40px!important;top:58px!important;width:290px!important;display:block!important;font-size:10px!important;font-weight:700!important;line-height:14px!important;color:#2c6a82!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:1!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-hud{left:246px!important;top:8px!important;max-width:108px!important;overflow:hidden!important;display:flex!important;gap:4px!important;align-items:center!important;background:none!important;border:0!important;padding:0!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-hud :is(.fb-hp,.fb-bp){display:flex!important;align-items:center!important;gap:3px!important;background:none!important;border:0!important;padding:0!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-hud img{width:14px!important;height:14px!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-hud b{font-size:12px!important;font-weight:800!important;color:var(--h85ink)!important;white-space:nowrap!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button:not([hidden]){top:7px!important;height:44px!important;min-height:0!important;min-width:0!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;box-sizing:border-box!important;border:0!important;border-image:none!important;background:var(--m85tb) 0 0/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important;color:var(--h85ink)!important;font-size:12px!important;font-weight:800!important;clip-path:none!important;transform:none!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button::before,body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button::after{display:none!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button>:not(span):not(b){display:none!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>[hidden]{display:none!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button b{font-size:10px!important;color:var(--h85ink)!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>button span{font-size:inherit!important;color:inherit!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-fight{left:359px!important;width:49px!important;--m85tb:url(assets/ui-main-hud/parts/tower_challenge/default@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-fight:active{--m85tb:url(assets/ui-main-hud/parts/tower_challenge/pressed@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-switch{left:413px!important;width:100px!important;font-size:10px!important;letter-spacing:-.02em!important;--m85tb:url(assets/ui-main-hud/parts/tower_switch/default@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-switch:active{--m85tb:url(assets/ui-main-hud/parts/tower_switch/pressed@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) :is(#frontier-redraft,#frontier-abandon){left:518px!important;width:51px!important;--m85tb:url(assets/ui-main-hud/parts/tower_abandon/default@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-leave{left:574px!important;width:56px!important;--m85tb:url(assets/ui-main-hud/parts/tower_exit/default@2x.webp)}
/* 증강(시안에 없음): HP/BP 아래 [252·306, 34, 52×44] */
body.hud85m.frontier-active #frontier-bar:not(.fb-result) :is(#frontier-aug-open,#frontier-aug-list){top:34px!important;width:52px!important;font-size:10px!important;--m85tb:url(assets/ui-main-hud/parts/tower_switch/default@2x.webp)}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-aug-open{left:246px!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-aug-list{left:300px!important}
/* 상점 카드 폭 97 글자(관리자 2026-11-01): 새 HUD 휴대폰만 — 아래 줄은 속성 아이콘만 + 역할 오른쪽, 위 '0/3 · 1성 합성'은 9px로 그림 아래쪽, 이름 12px */
body.hud85m #shop-cards#shop-cards .shop-card .shop-meta{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:2px!important;overflow:hidden!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role){display:flex!important;align-items:center!important;gap:1px!important;flex:none!important;font-size:0!important;line-height:0!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol{width:14px!important;height:14px!important;min-width:14px!important;margin:0!important;flex:none!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-meta .shop-role{position:static!important;margin:0 0 0 auto!important;font-size:10px!important;line-height:14px!important;white-space:nowrap!important;flex:none!important}
body.hud85m #shop-cards#shop-cards .shop-card .merge-hint{left:2px!important;right:auto!important;top:26px!important;bottom:auto!important;max-width:62px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;line-height:12px!important;padding:0 3px!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-name{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-advice-badge span{font-size:9px!important;line-height:12px!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}
/* v0.12.27 회귀 4건(01 2026-11-01) 정리 — 새 HUD 85(PC hud85·휴대폰 hud85m)
   ① 벤치 칸: 85 칸 틀(bench_slot) 위에 지역 받침 그림(결정 252·253 BENCH_PAD·숲 bench-pad-1·재질색 원판)을 겹친다(둘 다 유지) */
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench .bench-slot.bench-slot{--b85pad:url(assets/ui-prep-hud/bench-pad-1.webp);--b85slot:url(assets/ui-main-hud/parts/bench_slot/empty@2x.webp);background:var(--b85pad) center 74%/84% auto no-repeat,var(--b85slot) center/100% 100% no-repeat!important}
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench[data-band-pad=img] .bench-slot.bench-slot{--b85pad:var(--pad-img)}
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench[data-band-pad=plain] .bench-slot.bench-slot{--b85pad:radial-gradient(ellipse 44% 30% at 50% 70%,var(--pad-1) 0 62%,var(--pad-2) 86%,transparent 90%)}
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench .bench-slot.bench-slot:has(canvas,img,.unit,[data-unit]){--b85slot:url(assets/ui-main-hud/parts/bench_slot/filled@2x.webp)}
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench .bench-slot.bench-slot:is(.selected,.active){--b85slot:url(assets/ui-main-hud/parts/bench_slot/selected@2x.webp)}
body:is(.hud85,.hud85m) #dock-bench-row#dock-bench-row #bench#bench .bench-slot.bench-slot:is(.drop-target,.drag-over,.over){--b85slot:url(assets/ui-main-hud/parts/bench_slot/drag_target@2x.webp)}
/* ③ PC 타워 증강 칩(#frontier-augs)이 띠 원점(층 판 위)에 겹치던 것 → 증강 단추 자리 [620,52], 2개까지 보이고 나머지는 '증강 목록'. 고르는 중(증강 열기 보임)엔 칩 숨김 */
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-augs{left:620px!important;top:52px!important;max-width:115px!important;height:44px!important;overflow:hidden!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) .fb-row:has(#frontier-aug-open:not([hidden])) #frontier-augs{display:none!important}
/* ④ 휴대폰 날씨 칩(#cv-weather-chip)이 옛 위 줄 원점(타워 층 판 위)에 남던 것 → 왼쪽 정보 오른쪽 [178,92,44,44](도감·XP 미리보기 위). 타워 띠 안 날씨 글자는 비어 있을 때(맑음)만 숨기고, 있으면 도전 단추 아래 [365,56] 작은 칩(결정 v01221 타워 날씨 — 빈 칩이 흐리게 보이던 것 정리) */
body.hud85m #mobile-hud#mobile-hud #cv-weather-chip#cv-weather-chip{position:fixed!important;left:calc(178px*var(--m85k))!important;top:calc(92px*var(--m85k))!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;transform:scale(var(--m85k))!important;transform-origin:0 0!important;translate:none!important;place-items:center!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url(assets/ui-main-hud/parts/utility_base/default_m@2x.webp) center/100% 100% no-repeat!important}
body.hud85m #mobile-hud#mobile-hud #cv-weather-chip#cv-weather-chip .cv-wx-ico{width:28px!important;height:28px!important;margin:0!important}
body.hud85m.frontier-active #frontier-bar#frontier-bar #frontier-hud{overflow:visible!important}
body.hud85m.frontier-active #frontier-bar#frontier-bar #frontier-wx{display:none!important}
body.hud85m.frontier-active #frontier-bar#frontier-bar #frontier-wx:not([hidden]):not(:empty){display:flex!important;position:absolute!important;left:119px!important;top:48px!important;height:20px!important;margin:0!important;padding:0 8px!important;align-items:center!important;white-space:nowrap!important;font-size:11px!important;font-weight:800!important;line-height:1!important;color:var(--h85ink)!important;background:#ffffffcc!important;border:1px solid #7cc8e0!important;border-radius:10px!important;opacity:1!important}
/* 관리자 요청: 휴대폰 지역 판 글이 길면(타워 '배틀 타워 1층 · 상대') 두 줄까지 다 보이게 */
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy strong{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;word-break:keep-all!important;text-overflow:clip!important;max-height:26px!important;font-size:11px!important;line-height:13px!important}
/* 관리자 2026-11-01(v0.12.27 마지막): ① PC 85 상점 카드 '0/3 · 1성 합성'이 좁은 칸에서 세 줄로 접히던 것 → 한 줄 작은 글자로 그림 아래쪽(휴대폰과 같은 방식, 설계 단위 14px) */
body.hud85 #shop-cards#shop-cards .shop-card .merge-hint{left:4px!important;right:auto!important;top:36px!important;bottom:auto!important;width:auto!important;max-width:128px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important;line-height:18px!important;padding:0 5px!important}
/* ② 휴대폰 새 HUD 오른쪽 위 띠(#fight-clock)는 준비 단계에 '배치 n/n'이 아래 팀 배치 칩과 겹쳐 두 번 나옴 → 시안처럼 '팀을 배치하세요' 안내, 전투 중엔 기존 남은 시간 */
body.hud85m:has(#shared-shop-dock[data-phase=prep]) #mobile-stage#mobile-stage #fight-clock{font-size:0!important}
body.hud85m:has(#shared-shop-dock[data-phase=prep]) #mobile-stage#mobile-stage #fight-clock>*{display:none!important}
body.hud85m:has(#shared-shop-dock[data-phase=prep]) #mobile-stage#mobile-stage #fight-clock::after{content:"팀을 배치하세요";font-size:12px;font-weight:800;line-height:1;color:var(--h85ink)}
/* v0.12.27 02 보고 80 지적 9건(관리자 2026-11-01 출시 전 수정) */
/* 1) 휴대폰 타워: 날씨는 띠 칩(#frontier-wx, 결정 v01221) 한 곳만 — 왼쪽 둥근 날씨 칩 숨김 */
body.hud85m.frontier-active #mobile-hud#mobile-hud #cv-weather-chip#cv-weather-chip{display:none!important}
/* 2) 휴대폰 타워 띠 둘째 줄: 감싼 칸이 잘라 'HP 100 ·'이 안 보이고 아래 테에 걸리던 것 → 칸 밖으로 보이게, [8~240] 안에서 두 줄까지(띠 아래 테 위에서 끝남) */
body.hud85m.frontier-active #frontier-bar:not(.fb-result) .fb-row>div:not(#frontier-hud):not(#frontier-augs){overflow:visible!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-state{top:42px!important;left:-30px!important;width:222px!important;max-height:26px!important;white-space:normal!important;word-break:keep-all!important;overflow:hidden!important;text-overflow:clip!important;font-size:10px!important;line-height:13px!important}
/* 2·9) 휴대폰 타워 왼쪽 지역 판: 큰 글(배틀 타워 n층 · 상대) 두 줄이면 작은 줄('배틀 타워 · n층', 같은 내용)이 판 아래로 잘림 → 타워에선 작은 줄 숨기고 큰 글 10px·판 안쪽 여백 */
body.hud85m.frontier-active #mobile-stage#mobile-stage .mobile-stage-copy small{display:none!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy{width:96px!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy strong{max-width:96px!important}
body.hud85m.frontier-active #mobile-stage#mobile-stage .mobile-stage-copy strong{font-size:10px!important;line-height:12px!important;max-height:24px!important}
/* 7) 타워 '나가기': PC 단추 100→120(글 70 > 내용 칸 64), 휴대폰은 오른쪽 끝에서 2px 안쪽·글 11px */
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-leave{width:120px!important}
body.hud85m.frontier-active #frontier-bar:not(.fb-result) #frontier-leave{left:570px!important;width:58px!important;font-size:11px!important}
/* 5) PC 경로 줄: 글이 #route-readout(430) 밖·최대 240에서 말줄임되고 진행 막대에 붙어 보이던 것 → 상자 넓히고 막대와 22px 띄움 */
body.hud85 #hud #route-readout{width:1100px!important;max-width:none!important;overflow:visible!important}
body.hud85 #hud #route-readout>small{left:430px!important;top:4px!important;font-size:max(13px,calc(13px / var(--h85k)))!important;line-height:1.15!important;max-width:700px!important;overflow:hidden!important;text-overflow:ellipsis!important}
/* 5·6) PC 지역 판 이름(#map-name 250)·타워 띠 상태 줄(470)은 길면 글자를 줄여 다 보이게(MainHud85.fit, console-v51.js) */
body.hud85 #hud #map-name{text-overflow:clip!important}
body.hud85.frontier-active #frontier-bar:not(.fb-result) #frontier-state{text-overflow:clip!important}
/* 8) 상점 카드 오른쪽 끝 역할 글이 카드 테에 걸리던 것 → 아래 줄 오른쪽 여백(PC·휴대폰), 휴대폰은 코스트 숫자를 i 단추 왼쪽으로 */
body:is(.hud85,.hud85m) #shop-cards#shop-cards .shop-card .shop-meta{padding-right:6px!important;box-sizing:border-box!important}
body:is(.hud85,.hud85m) #shop-cards#shop-cards .shop-card .shop-role{white-space:nowrap!important;letter-spacing:-.02em!important}
body.hud85m #shop-cards#shop-cards .shop-card .shop-cost{right:34px!important;left:auto!important}
/* 관리자 2026-11-01 마지막 A: 휴대폰 노말·하드 지역 판도 타워처럼 — 큰 글 10px 두 줄(22) + 작은 줄 9px(10), 판 48 안쪽 테 위에 */
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy strong{font-size:10px!important;line-height:11px!important;max-height:22px!important}
body.hud85m #mobile-stage#mobile-stage .mobile-stage-copy small{font-size:9px!important;line-height:10px!important;margin-bottom:2px!important;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 관리자 2026-11-02(02 실측): 2560×1600 등 고해상도(--pc-hud-scale>1)에서 AI 훈수가 #hud-right의 기존 zoom을 물려받아 화면 밖으로 나가던 것 → 상쇄(위 오른쪽 단추와 같은 방식) */
body.hud85 #hud-right #coach-btn#coach-btn{zoom:calc(1 / var(--pc-hud-scale,1))!important}
/* 관리자 2026-11-02 사용자 실기기 제보: ① 위 오른쪽 육각 단추에 네모 초점 테두리(주황)가 삐져나오던 것 → 테두리 대신 육각 모양을 따라가는 빛, 도감도 같은 82×70으로 지구본 아래 정렬(간격 8) */
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn){outline:0!important;box-shadow:none!important;border:0!important}
body.hud85 #hud :is(#hud-settings,#hud-fullscreen,#speed-btn,#world-tour-btn,#field-guide-btn):focus-visible{filter:drop-shadow(0 0 3px #ffd34d) drop-shadow(0 0 1px #fff)!important}
body.hud85 #hud #field-guide-btn{--x:1811!important;--y:104!important;--w:82!important;--h:70!important}
/* ② Lv 판 XP 미리보기('Lv.8 44→48/68 XP', '→ Lv.10 …')가 판 밖으로 나가던 것 → 칸 안에 두고 길면 글자 줄임(MainHud85.fit, 17→11px) */
body.hud85 #hud-shop-controls#hud-shop-controls #hud-level-title{display:flex!important;gap:8px!important;min-width:0!important;width:100%!important;overflow:hidden!important}
body.hud85 #hud-shop-controls#hud-shop-controls #level-label{flex:none!important}
body.hud85 #hud-shop-controls#hud-shop-controls #xp-label{flex:1 1 auto!important;min-width:0!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important}
/* 관리자 2026-11-02 사용자 제보(위 띠 아래 절반 잘림): 결정 282의 전투 중 위 줄 접기가 #hud-round를 위 44px만 남기고 clip → 새 HUD 띠(123)는 반쯤 잘려 보였음.
   282의 뜻(아래 줄 숨김·반투명·클릭 통과)은 그대로 두고, 새 HUD에선 틀을 자르지 않음(띠 모양 전체가 반투명으로 남음) */
html body.hud85.playing.hud-combat #hud#hud #hud-round#hud-round{clip-path:none!important}
/* 같은 제보: 준비·시작 연출 캔버스(#prep-motion, fixed z 119)가 #hud(z 8) 위에 그려져 위 띠 아래쪽을 덮을 수 있음 → 새 HUD에선 위 띠 자리(설계 y 0~145 × 배율)에는 그리지 않게 자름. 재현은 헤드리스 시험 경로에서 안 됨(원인 추정) */
body.hud85 #prep-motion{clip-path:inset(calc(145px * var(--h85k,1)) 0 0 0)!important}
/* 04 11-16: 옛 캔버스 VS(#work-vs 96·A안 대사창) 규칙 삭제 — 옛 VS 자체를 지움 */
/* B1 96 만남 띠(03 대리): 띠가 위(PC clip [384,120,1176,162]·844 [170,88,478,60], 설계 좌표 × min(가로/기준, 세로/기준))에 있어서 1단계 대사 줄(24vh·22vh)과 겹친다 → 띠 아래 14px(844 6px)로 내린다 */
html body #work-vs.enc96.vs-full:not(.vs-mobile)[data-vs-tier="1"] .vs-dialogue-line{top:min(15.417vw,27.407vh)!important;bottom:auto!important}
html body #work-vs.enc96.vs-full.vs-mobile[data-vs-tier="1"] .vs-dialogue-line{top:min(18.246vw,39.487vh)!important;bottom:auto!important}
/* B1 보완 ①(관리자 2026-11-02, 사용자 '네이비 박스 싫음'): 띠 아래 대사 줄은 짙은 남색 상자 대신 양끝이 흐려지는 반투명 밝은 띠, 폭은 글자에 맞춤. 08 대사 글자는 그대로 */
html body #work-vs.enc96.vs-full[data-vs-tier="1"] .vs-dialogue-line{left:0!important;right:0!important;margin:0 auto!important;width:fit-content!important;max-width:min(86vw,1200px)!important;height:auto!important;min-height:0!important;transform:none!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(90deg,rgba(242,250,252,0) 0,rgba(242,250,252,.88) 14%,rgba(242,250,252,.88) 86%,rgba(242,250,252,0) 100%)!important;padding:.45em 2.6em!important;color:#134D58!important;text-shadow:0 1px 0 #fff8!important}
/* ④-A2 ①② (03 대리, 관리자 2026-11-02): 96 VS가 떠 있는 동안 날씨 층을 숨긴다 — 대사 둘레 옛 괄호·빗금은 상점 둘레 날씨 테두리(i.cv-wx-edge, [636,923,968,146]), 화면 전체 금색 대시는 날씨 캔버스(#cv-weather-fx z1200, 모래 등)가 VS 위로 비친 것. 96 시안에 없음. */
html body:has(#work-vs.vs96:not(.hidden)) #cv-weather-fx,html body:has(#work-vs.vs96:not(.hidden)) .cv-wx-edge{visibility:hidden!important}
/* v0.12.35 리그 진행 띠(03 04 대리, 관리자 지시·사용자 제보 '석영고원 5/5 퀄리티'): 사천왕·챔피언 칸만. 원작 리그풍 — 깬 상대는 얼굴을 가리지 않고 모서리 작은 체크 + 살짝 어둡게, 지금 상대는 금빛 테두리.
   원인: .stage-node>i>* 44px 규칙이 체크(em)까지 44px 초록 원으로 키웠고, 전신 초상이 아래 붙어 원 안에서 발만 보였다. 새 그림 없이 있는 초상 + CSS. 관장·길 칸(GPT 노드 그림)은 그대로. */
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion)>i{background:radial-gradient(circle at 50% 38%,#fff 0,#e9eff6 58%,#bccbdd 100%)!important;box-shadow:inset 0 0 0 3px #26405f,0 2px 5px #0006!important;overflow:visible!important}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion)>i>img{position:absolute!important;max-width:none!important;max-height:none!important;left:-15px!important;top:-6px!important;bottom:auto!important;width:96px!important;height:96px!important;object-fit:contain!important;object-position:50% 0!important;image-rendering:pixelated;clip-path:circle(30px at 48px 39px);transform:none!important}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion)>i>em{position:absolute!important;right:-4px!important;bottom:-2px!important;top:auto!important;left:auto!important;width:24px!important;height:24px!important;box-sizing:border-box;border-radius:50%!important;background:#2f9e63!important;border:2px solid #fff!important;color:#fff!important;font:900 14px/20px 'PT Read',sans-serif!important;text-align:center;z-index:3;box-shadow:0 1px 3px #0007}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion).rival-defeat>i>em{background:#b4454f!important}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion).cleared>i{background:radial-gradient(circle at 50% 38%,#dfe5ec 0,#b9c4d1 70%,#97a6b8 100%)!important}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion).cleared>i>img{filter:grayscale(.45) brightness(.72)}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion).active>i{box-shadow:inset 0 0 0 3px #f0b52c,0 0 0 3px #fff3c2,0 0 16px 5px #ffcf4ab0!important}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion):not(:last-child)::after{display:block!important;content:""!important;position:absolute!important;left:66px!important;top:31px!important;width:62px!important;height:4px!important;border-radius:2px!important;background:#26405f!important;box-shadow:0 1px 0 #fff8!important;z-index:-1}
body.hud85 #hud #stage-dots .stage-node:is(.league,.champion).cleared:not(:last-child)::after{background:#e0a62a!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion)>i{background:radial-gradient(circle at 50% 38%,#fff 0,#e9eff6 58%,#bccbdd 100%)!important;box-shadow:inset 0 0 0 2px #26405f,0 1px 3px #0006!important;overflow:visible!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion)>i>img{position:absolute!important;max-width:none!important;max-height:none!important;left:-8px!important;top:-3px!important;bottom:auto!important;width:52px!important;height:52px!important;object-fit:contain!important;object-position:50% 0!important;image-rendering:pixelated;clip-path:circle(16px at 26px 21px);transform:none!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion)>i>em{position:absolute!important;right:-3px!important;bottom:-2px!important;top:auto!important;left:auto!important;width:14px!important;height:14px!important;box-sizing:border-box;border-radius:50%!important;background:#2f9e63!important;border:1px solid #fff!important;color:#fff!important;font:900 9px/12px 'PT Read',sans-serif!important;text-align:center;z-index:3}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion).rival-defeat>i>em{background:#b4454f!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion).cleared>i{background:radial-gradient(circle at 50% 38%,#dfe5ec 0,#b9c4d1 70%,#97a6b8 100%)!important}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion).cleared>i>img{filter:grayscale(.45) brightness(.72)}
body.hud85m #hud-round#hud-round #stage-dots .stage-node:is(.league,.champion).active>i{box-shadow:inset 0 0 0 2px #f0b52c,0 0 0 2px #fff3c2,0 0 10px 3px #ffcf4ab0!important}
/* 결정 1973·⑤ 타워의 축복(사용자 승인 11-05): 증강·축복 창 = 차콜 평판 카드(hero 금테·네이비 대신). 분류색은 위 4px 선·칩 글자에만, 마우스 올림·고름은 노랑 테 하나. --fs = 1920에서 1.5배(ConsoleV51.fbFit) */
#frontier-augment{--fs:1;background:rgba(20,19,18,.88);align-items:center;gap:calc(20px * var(--fs));padding:24px}
:is(#frontier-augment,.fbp) .fb-head{text-align:center}
:is(#frontier-augment,.fbp) .fb-head h2{display:flex;align-items:center;justify-content:center;gap:12px;margin:0;font-size:calc(34px * var(--fs));color:#fff;letter-spacing:.02em}
:is(#frontier-augment,.fbp) .fb-floor{font-size:calc(14px * var(--fs));font-weight:800;color:#1d1a14;background:#FFC93C;border-radius:999px;padding:3px 12px;letter-spacing:0}
:is(#frontier-augment,.fbp) .fb-head p{margin:6px 0 0;font-size:calc(14px * var(--fs));color:#bdb6ab}
:is(#frontier-augment,.fbp) .fb-row{display:flex;gap:calc(28px * var(--fs));justify-content:center}
:is(#frontier-augment,.fbp) .fb-card{position:relative;width:calc(300px * var(--fs));min-height:calc(340px * var(--fs));display:flex;flex-direction:column;align-items:center;gap:calc(12px * var(--fs));padding:calc(30px * var(--fs)) calc(18px * var(--fs)) calc(20px * var(--fs));background:#2B2927;border:2px solid #403c37;border-radius:calc(14px * var(--fs));color:#f3efe6;font:inherit;cursor:pointer;box-sizing:border-box;transition:border-color .12s,box-shadow .12s,opacity .2s}
:is(#frontier-augment,.fbp) .fb-card::before{content:'';position:absolute;left:18px;right:18px;top:0;height:4px;border-radius:0 0 4px 4px;background:var(--fb-c)}
:is(#frontier-augment,.fbp) .fb-card:hover,:is(#frontier-augment,.fbp) .fb-card:focus-visible{border-color:#FFC93C;outline:none;box-shadow:0 0 0 2px #FFC93C55}
:is(#frontier-augment,.fbp) .fb-key{position:absolute;left:12px;top:12px;width:calc(26px * var(--fs));height:calc(26px * var(--fs));border-radius:6px;background:#1d1b19;border:1px solid #57514a;color:#e8e2d6;font-weight:800;font-size:calc(14px * var(--fs));display:grid;place-items:center}
:is(#frontier-augment,.fbp) .fb-ico{width:calc(112px * var(--fs));height:calc(112px * var(--fs));display:grid;place-items:center;margin-top:8px}
:is(#frontier-augment,.fbp) .fb-ico img{width:calc(96px * var(--fs));height:calc(96px * var(--fs));image-rendering:pixelated;object-fit:contain}
:is(#frontier-augment,.fbp) .fb-ico img.fb-bl{width:var(--px,96px);height:var(--px,96px);object-fit:fill;image-rendering:pixelated}
:is(#frontier-augment,.fbp) .fb-ico:has(.fb-bl){width:auto;height:auto;min-width:calc(112px * var(--fs));min-height:calc(112px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-ico>b{display:grid;place-items:center;width:calc(84px * var(--fs));height:calc(84px * var(--fs));border-radius:50%;background:#1d1b19;border:2px solid var(--fb-c);color:var(--fb-c);font-size:calc(38px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-ph{width:calc(96px * var(--fs));height:calc(96px * var(--fs));border:2px dashed #6b645b;border-radius:12px;display:grid;place-items:center;color:#8f877c;font-size:calc(12px * var(--fs));line-height:1.3;text-align:center}
:is(#frontier-augment,.fbp) .fb-name{font-size:calc(26px * var(--fs));font-weight:800;color:#fff;line-height:1.15;text-align:center}
:is(#frontier-augment,.fbp) .fb-desc{display:block;min-height:calc(46px * var(--fs));font-size:calc(16px * var(--fs));font-weight:700;line-height:1.35;color:#f3efe6;text-align:center}
:is(#frontier-augment,.fbp) .fb-desc b{color:#FFC93C}
:is(#frontier-augment,.fbp) .fb-chip{margin-top:auto;padding:4px 14px;border-radius:999px;background:#1d1b19;border:1px solid color-mix(in srgb,var(--fb-c) 55%,transparent);color:var(--fb-c);font-size:calc(14px * var(--fs));font-weight:800}
:is(#frontier-augment,.fbp) .fb-card.picked{border-color:#FFC93C;box-shadow:0 0 0 3px #FFC93C66}
:is(#frontier-augment,.fbp) .fb-card.dim{opacity:.35;filter:saturate(.4)}
:is(#frontier-augment,.fbp) .fb-card:disabled{cursor:default;opacity:1}:is(#frontier-augment,.fbp) .fb-card.dim:disabled{opacity:.35} /* 공용 button:disabled 반투명이 고른 카드까지 흐리던 것 */
:is(#frontier-augment,.fbp) .fb-got{min-height:calc(28px * var(--fs));font-size:calc(20px * var(--fs));font-weight:800;color:#FFC93C;text-align:center}
:is(#frontier-augment,.fbp) .fb-foot{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;width:100%;max-width:calc(960px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-re{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 10px 6px 18px;background:#2B2927;border:2px solid #FFC93C;border-radius:12px;color:#fff;font:inherit;cursor:pointer}
:is(#frontier-augment,.fbp) .fb-re strong{font-size:18px}:is(#frontier-augment,.fbp) .fb-re small{display:block;font-size:12px;color:#bdb6ab;text-align:left}
:is(#frontier-augment,.fbp) .fb-re kbd{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#1d1b19;border:1px solid #57514a;color:#e8e2d6;font-family:inherit;font-weight:800;font-size:14px}
:is(#frontier-augment,.fbp) .fb-re:disabled{border-color:#4a453f;color:#8f877c;cursor:default}
:is(#frontier-augment,.fbp) .fb-side{position:absolute;right:0;display:flex;gap:6px}
:is(#frontier-augment,.fbp) .fb-side button{min-height:44px;min-width:0;padding:0 14px;background:none;border:0;color:#bdb6ab;font-family:inherit;font-weight:700;font-size:15px;cursor:pointer}
:is(#frontier-augment,.fbp) .fb-side button:hover,:is(#frontier-augment,.fbp) .fb-side button:focus-visible{color:#fff;text-decoration:underline}
#frontier-augment.fb-done .fb-side{visibility:hidden}
/* 타운맵 모험 선택(src/townmap-v1.js, 관리자 시안 통과 11-05). --u = 844×390 기준 1px(1920×1080 ≈ 2.5px, 관리자 반영 ① 글자 키우기), --k = 지도 1배 픽셀. 원작풍: 흰 창·검은 테두리, 남색 상자 없음 */
#townmap{position:fixed;inset:0;z-index:3600;background:#6a9ec6;overflow:hidden;color:#fff;--tm-font:var(--font-head,'PT Read',sans-serif);font-family:var(--tm-font);letter-spacing:0;user-select:none}
#townmap[hidden]{display:none}
#townmap .tm-map{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
#townmap .tm-base,#townmap .tm-map>svg{position:absolute;left:0;top:0;width:100%;height:100%;image-rendering:pixelated}
#townmap .tm-wave{position:absolute;inset:0;background:0 0/200% 100% no-repeat;image-rendering:pixelated;opacity:.9;animation:tm-wave 2s steps(1) infinite;pointer-events:none}
@keyframes tm-wave{0%{background-position:0 0}50%{background-position:100% 0}}
#townmap .tm-dim{position:absolute;background:rgba(36,40,48,.5);border-radius:var(--k)}
#townmap .tm-lock{position:absolute;inset:0;background:rgba(30,34,42,.55)}
#townmap .tm-lb{position:absolute;z-index:2;transform:translate(-50%,0);padding:0 calc(var(--u)*4);border-radius:calc(var(--u)*3);font:800 calc(var(--u)*8.5)/1.3 var(--tm-font);white-space:nowrap;background:#181818d8;color:#fff;border:max(1px,calc(var(--u)*1)) solid #f8f8f0;pointer-events:none}
#townmap .tm-lb.un{background:#28303ab0;color:#c8ccd2;border-color:#8a929c}
#townmap .tm-lb.cur{background:#c03028;border-color:#fff}
#townmap .tm-lb.nx{background:#FFC93C;color:#1d1a14;border-color:#181818}
#townmap .tm-hero{position:absolute;z-index:3;image-rendering:pixelated;transform:translate(-50%,-92%);filter:drop-shadow(0 var(--k) 0 #0006);pointer-events:none}
#townmap .tm-ping{position:absolute;z-index:1;width:calc(var(--k)*14);height:calc(var(--k)*14);transform:translate(-50%,-50%);border-radius:50%;border:var(--k) solid #FFC93C;box-shadow:0 0 calc(var(--k)*4) #FFC93C;box-sizing:border-box;animation:tm-ping 1.2s ease-in-out infinite alternate;pointer-events:none}
@keyframes tm-ping{to{transform:translate(-50%,-50%) scale(1.25);opacity:.7}}
#townmap .tm-top{position:absolute;left:calc(var(--u)*8);right:calc(var(--u)*8);top:calc(var(--u)*6);display:flex;align-items:center;gap:calc(var(--u)*6)}
#townmap button{font:inherit;cursor:pointer;margin:0}
#townmap .tm-back{padding:calc(var(--u)*5) calc(var(--u)*9);border-radius:calc(var(--u)*6);background:#181818d8;color:#fff;border:calc(var(--u)*2) solid #f8f8f0;font:800 calc(var(--u)*11)/1 var(--tm-font)}
#townmap .tm-tabs{display:flex;gap:calc(var(--u)*3);margin-left:calc(var(--u)*2)}
#townmap .tm-tab{display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*2);min-width:calc(var(--u)*56);padding:calc(var(--u)*3) calc(var(--u)*5);border-radius:calc(var(--u)*6) calc(var(--u)*6) 0 0;background:#f8f8f0;color:#181818;border:calc(var(--u)*2) solid #181818;border-bottom-width:calc(var(--u)*4);font:900 calc(var(--u)*12)/1 var(--tm-font)}
#townmap .tm-tab{position:relative}
#townmap .tm-new{position:absolute;right:calc(var(--u)*-5);top:calc(var(--u)*-6);padding:calc(var(--u)*1) calc(var(--u)*4);border-radius:calc(var(--u)*4);background:#c03028;color:#fff;border:calc(var(--u)*1.5) solid #fff;font:900 calc(var(--u)*8)/1 var(--tm-font);font-style:normal}
#townmap .tm-tab small{font:700 calc(var(--u)*8.5)/1 var(--tm-font);color:#57514a}
#townmap .tm-tab.on{background:#c03028;color:#fff;border-bottom-color:#7a1c17;transform:translateY(calc(var(--u)*2))}
#townmap .tm-tab.on small{color:#ffe2dc}
#townmap .tm-tab.lk{background:#c8c4b8;color:#6a665e}
#townmap .tm-tab.lk small{color:#6a665e}
#townmap .tm-tab.lk.on{background:#8a867c;color:#f0ece0;border-bottom-color:#4a4740}
#townmap .tm-tab.lk.on small{color:#f0ece0}
#townmap .tm-bd{margin-left:auto;display:flex;align-items:center;gap:calc(var(--u)*2);padding:calc(var(--u)*3) calc(var(--u)*7);border-radius:999px;background:#181818d8;border:calc(var(--u)*2) solid #f8f8f0}
#townmap .tm-bd img{width:calc(var(--u)*16);height:calc(var(--u)*16);image-rendering:pixelated;filter:grayscale(1) brightness(.45)}
#townmap .tm-bd img.got{filter:none}
#townmap .tm-bar{position:absolute;z-index:4;left:calc(var(--u)*8);right:calc(var(--u)*8);bottom:calc(var(--u)*5);min-height:calc(var(--u)*56);display:flex;align-items:center;gap:calc(var(--u)*9);padding:calc(var(--u)*5) calc(var(--u)*11);box-sizing:border-box;background:#f8f8f0;color:#181818;border:calc(var(--u)*3) solid #181818;border-radius:calc(var(--u)*6);box-shadow:inset 0 0 0 calc(var(--u)*2) #b8b8b0,0 calc(var(--u)*3) 0 #0008}
#townmap .tm-sv{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(var(--u)*3)}
#townmap .tm-sv b{font:900 calc(var(--u)*14)/1.1 var(--tm-font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#townmap .tm-sv b em{font-style:normal;font-size:.62em;padding:0 .4em;margin-left:.4em;border-radius:.3em;color:#fff;background:var(--st);vertical-align:middle}
#townmap .tm-sv span{font:700 calc(var(--u)*10)/1.25 var(--tm-font);color:#57514a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#townmap .tm-team{display:flex;gap:calc(var(--u)*2);flex:none}
#townmap .tm-team img{width:calc(var(--u)*38);height:calc(var(--u)*38);object-fit:contain;image-rendering:pixelated;margin:calc(var(--u)*-6) calc(var(--u)*-4)}
#townmap .tm-btn{flex:none;display:flex;align-items:center;gap:calc(var(--u)*6);height:calc(var(--u)*38);padding:0 calc(var(--u)*13);border-radius:calc(var(--u)*8);font:900 calc(var(--u)*14)/1 var(--tm-font);border:calc(var(--u)*2) solid #181818;box-shadow:0 calc(var(--u)*3) 0 #181818;color:#181818}
#townmap .tm-btn.go{background:linear-gradient(#FFD66B,#FFC93C);color:#1d1a14}
#townmap .tm-btn.nw{background:#e8e2d0}
#townmap .tm-btn:hover,#townmap .tm-btn:focus-visible{filter:brightness(1.06);outline:calc(var(--u)*2) solid #c03028;outline-offset:calc(var(--u)*2)}
#townmap .tm-btn:active{transform:translateY(calc(var(--u)*2));box-shadow:0 calc(var(--u)*1) 0 #181818}
#townmap .tm-tab:focus-visible,#townmap .tm-back:focus-visible{outline:calc(var(--u)*2) solid #FFC93C;outline-offset:calc(var(--u)*1)}
#townmap .tm-ball{display:inline-block;width:calc(var(--u)*18);height:calc(var(--u)*18);border-radius:50%;background:linear-gradient(#e83a30 0 45%,#181818 45% 55%,#f8f8f0 55%);border:calc(var(--u)*2) solid #181818;box-sizing:border-box}
@media (prefers-reduced-motion:reduce){#townmap .tm-wave,#townmap .tm-ping{animation:none}}
@media(max-height:500px){#frontier-augment{--fs:1;gap:8px;padding:8px 16px}
 :is(#frontier-augment,.fbp) .fb-head h2{font-size:22px;gap:8px}:is(#frontier-augment,.fbp) .fb-floor{font-size:12px;padding:2px 8px}:is(#frontier-augment,.fbp) .fb-head p{font-size:11px;margin-top:2px}
 :is(#frontier-augment,.fbp) .fb-row{gap:12px}:is(#frontier-augment,.fbp) .fb-card{width:200px;min-height:0;padding:14px 10px 10px;gap:5px;border-radius:10px}
 :is(#frontier-augment,.fbp) .fb-key{width:20px;height:20px;font-size:11px;left:8px;top:8px}
 :is(#frontier-augment,.fbp) .fb-ico{width:56px;height:56px;margin:0}:is(#frontier-augment,.fbp) .fb-ico:has(.fb-bl){min-width:64px;min-height:64px}:is(#frontier-augment,.fbp) .fb-ico img,:is(#frontier-augment,.fbp) .fb-ph{width:52px;height:52px;font-size:9px}:is(#frontier-augment,.fbp) .fb-ico>b{width:46px;height:46px;font-size:22px}
 :is(#frontier-augment,.fbp) .fb-name{font-size:17px}:is(#frontier-augment,.fbp) .fb-desc{min-height:32px;font-size:12px;line-height:1.3}:is(#frontier-augment,.fbp) .fb-chip{font-size:11px;padding:2px 10px}
 :is(#frontier-augment,.fbp) .fb-re{min-height:44px;padding:3px 8px 3px 12px}:is(#frontier-augment,.fbp) .fb-re strong{font-size:14px}:is(#frontier-augment,.fbp) .fb-re small{font-size:10px}:is(#frontier-augment,.fbp) .fb-re kbd{display:none}
 :is(#frontier-augment,.fbp) .fb-side button{min-height:44px;font-size:13px}:is(#frontier-augment,.fbp) .fb-got{min-height:20px;font-size:15px}}
@media(orientation:portrait) and (max-width:700px){:is(#frontier-augment,.fbp) .fb-row{flex-direction:column;align-items:center}:is(#frontier-augment,.fbp) .fb-card{width:min(320px,90vw);min-height:0}:is(#frontier-augment,.fbp) .fb-side{position:static}:is(#frontier-augment,.fbp) .fb-foot{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){:is(#frontier-augment,.fbp) .fb-card{transition:none}}
/* 고르기 창 통일(사용자 결정 11-05): 전략 3택(#strategy-content.fbp)·박사 선물/도구 발견(#work-rewards .fbp-layer) = 위 타워 축복 카드 틀. 뒤 = 흐린 게임 화면.
   아이콘 호버 모션(타워 포함): PC 마우스 올림·키보드 포커스, 휴대폰 누르는 동안(.fbp-press), 고른 카드(.picked) — 통통 튀며 기울고 커짐 0.62초 → 둥실 반복 + 분류색 빛 */
#frontier-augment{background:rgba(20,19,18,.5);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.fbp{--fs:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(20px * var(--fs));color:#f6f7ee;box-sizing:border-box}
#strategy-overlay.fbp-on{background:rgba(20,19,18,.5)!important;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
#strategy-overlay.fbp-on .strategy-panel>header{display:none!important}
html body #strategy-overlay#strategy-overlay.fbp-on .strategy-panel{position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;width:auto!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;background:none!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
html body #strategy-overlay#strategy-overlay.fbp-on .strategy-panel::before,html body #strategy-overlay#strategy-overlay.fbp-on .strategy-panel::after{display:none!important}
#strategy-overlay#strategy-overlay.fbp-on .fb-head h2{font-family:var(--font-read);font-size:calc(34px * var(--fs));font-weight:800;color:#fff;margin:0}
#strategy-content.fbp{width:100%;max-width:none;max-height:none;overflow:visible;padding:24px;margin:0}
#work-rewards.fbp-on{background:none!important}
#work-rewards.fbp-on>:not(.fbp-layer){opacity:0!important;pointer-events:none!important}
#work-rewards .fbp-layer .fb-head h2{position:static!important;transform:none!important;translate:none!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;left:auto!important;top:auto!important;background:none!important;border:0!important;padding:0!important;font-family:var(--font-read);font-size:calc(34px * var(--fs))!important;font-weight:800;color:#fff;text-shadow:none;white-space:normal}
#work-rewards .fbp-layer{position:fixed;inset:0;z-index:5;padding:24px;background:rgba(20,19,18,.5);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.fbp .fb-head h2 .fbp-prof{height:calc(44px * var(--fs));width:auto;image-rendering:pixelated;margin-right:4px}
.fbp .fb-ico img.fbp-em{width:calc(96px * var(--fs));height:calc(96px * var(--fs));image-rendering:pixelated;object-fit:contain}
.fbp .fb-ico img.fbp-pic{width:calc(96px * var(--fs));height:calc(96px * var(--fs));image-rendering:pixelated;object-fit:contain}
.fbp .fb-ico img.fbp-soft{image-rendering:auto}
.fbp .fb-ico .type-symbol{display:grid;place-items:center;width:calc(96px * var(--fs));height:calc(96px * var(--fs))}
.fbp .fb-ico .type-symbol img{width:calc(80px * var(--fs));height:calc(80px * var(--fs));image-rendering:auto}
.fbp .fb-foot{justify-content:center}
.fb-card .fb-ico{transform-origin:50% 70%;will-change:auto}
@keyframes fbp-hop{0%{transform:translateY(0) rotate(0) scale(1)}20%{transform:translateY(-16%) rotate(-9deg) scale(1.2)}42%{transform:translateY(3%) rotate(6deg) scale(1.04)}62%{transform:translateY(-8%) rotate(-4deg) scale(1.15)}82%{transform:translateY(0) rotate(1.5deg) scale(1.1)}100%{transform:translateY(0) rotate(0) scale(1.1)}}
@keyframes fbp-float{0%,100%{transform:translateY(0) rotate(0) scale(1.1)}50%{transform:translateY(-6%) rotate(2.5deg) scale(1.13)}}
@media (hover:hover){:is(#frontier-augment,.fbp) .fb-card:not(:disabled):not(.dim):hover .fb-ico{animation:fbp-hop .62s cubic-bezier(.3,1.35,.5,1) both,fbp-float 1.5s ease-in-out .62s infinite;filter:drop-shadow(0 0 calc(12px * var(--fs)) color-mix(in srgb,var(--fb-c) 75%,transparent))}}
:is(#frontier-augment,.fbp) .fb-card:is(:focus-visible,.fbp-press,.picked):not(.dim) .fb-ico{animation:fbp-hop .62s cubic-bezier(.3,1.35,.5,1) both,fbp-float 1.5s ease-in-out .62s infinite;filter:drop-shadow(0 0 calc(12px * var(--fs)) color-mix(in srgb,var(--fb-c) 75%,transparent))}
.fbp .fb-card.picked{border-color:#FFC93C;box-shadow:0 0 0 3px #FFC93C66}
.fbp .fb-card.dim{opacity:.35;filter:saturate(.4);transition:opacity .2s,filter .2s}
@media(prefers-reduced-motion:reduce){:is(#frontier-augment,.fbp) .fb-card .fb-ico{animation:none!important}}
@media(max-height:500px){#strategy-content.fbp,#work-rewards .fbp-layer{padding:8px 16px;gap:8px}.fbp .fb-ico img.fbp-em,.fbp .fb-ico img.fbp-pic,.fbp .fb-ico .type-symbol{width:52px;height:52px}.fbp .fb-ico .type-symbol img{width:44px;height:44px}.fbp .fb-head h2 .fbp-prof{height:28px}}
@media(max-height:500px){#strategy-overlay#strategy-overlay.fbp-on .fb-head h2,#work-rewards .fbp-layer .fb-head h2{font-size:22px!important}}
/* 휴대폰·효과 줄이기는 backdrop 흐림을 일괄로 끔(1684 성능 규칙) → 흐림 대신 조금 더 어둡게 */
body:is(.mobile-ui,.low-fx) #frontier-augment,body:is(.mobile-ui,.low-fx) #work-rewards .fbp-layer{background:rgba(20,19,18,.68)}body:is(.mobile-ui,.low-fx) #strategy-overlay.fbp-on{background:rgba(20,19,18,.68)!important}
/* 고르기 창 2차 다듬기(관리자 11-05, 기준 = 00_공통/사용자제보_20261105_타워축복카드_목표퀄리티): 남색 카드 + 위쪽 분류색 빛, 분류색 굵은 테, 큰 아이콘(빛),
   효과 문구 = 테두리 알약 상자, 분류 칩 = 아이콘 + 연보라 알약, 밝은 번호 단추, 머리 = 굵은 외곽선 제목 + 탑 아이콘·층 배지, 새로고침 = 파란 단추. 분류색 = 139 V5(--fb-c). 타워·전략·선물 공통 */
:is(#frontier-augment,.fbp) .fb-card{background:radial-gradient(130% 62% at 50% 0%,color-mix(in srgb,var(--fb-c) 42%,transparent) 0,color-mix(in srgb,var(--fb-c) 12%,transparent) 55%,transparent 80%),linear-gradient(180deg,#232a4b 0%,#1b2140 60%,#181c36 100%);border:calc(3px * var(--fs)) solid var(--fb-c);border-radius:calc(14px * var(--fs));box-shadow:0 0 0 calc(2px * var(--fs)) #0b0d18,0 calc(10px * var(--fs)) calc(22px * var(--fs)) rgba(0,0,0,.5),inset 0 0 0 calc(2px * var(--fs)) rgba(0,0,0,.28);gap:calc(10px * var(--fs));transition:transform .15s,box-shadow .15s,filter .15s,opacity .2s}
:is(#frontier-augment,.fbp) .fb-card::before{display:none}
:is(#frontier-augment,.fbp) .fb-card:is(:hover,:focus-visible):not(:disabled){border-color:var(--fb-c);outline:none;transform:translateY(calc(-4px * var(--fs)));box-shadow:0 0 0 calc(2px * var(--fs)) #0b0d18,0 0 calc(22px * var(--fs)) color-mix(in srgb,var(--fb-c) 65%,transparent),0 calc(12px * var(--fs)) calc(24px * var(--fs)) rgba(0,0,0,.5)}
:is(#frontier-augment,.fbp) .fb-card.picked{border-color:var(--fb-c);box-shadow:0 0 0 calc(3px * var(--fs)) #fff8,0 0 calc(26px * var(--fs)) color-mix(in srgb,var(--fb-c) 80%,transparent)}
:is(#frontier-augment,.fbp) .fb-key{background:#eef0f6;color:#171a2b;border:calc(2px * var(--fs)) solid #171a2b;border-radius:calc(7px * var(--fs));box-shadow:0 calc(2px * var(--fs)) 0 #0b0d18;font-weight:900}
:is(#frontier-augment,.fbp) .fb-ico{width:calc(128px * var(--fs));height:calc(128px * var(--fs));margin-top:calc(14px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-ico :is(img,.type-symbol){filter:drop-shadow(0 calc(4px * var(--fs)) 0 rgba(0,0,0,.35)) drop-shadow(0 0 calc(14px * var(--fs)) color-mix(in srgb,var(--fb-c) 55%,transparent))}
:is(#frontier-augment,.fbp) .fb-ico img:not(.fb-bl){width:calc(112px * var(--fs));height:calc(112px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-name{font-size:calc(28px * var(--fs));text-shadow:0 calc(2px * var(--fs)) 0 rgba(0,0,0,.55);margin-top:calc(4px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-desc{display:inline-block;max-width:86%;min-height:0;padding:calc(9px * var(--fs)) calc(18px * var(--fs));background:rgba(9,12,28,.72);border:calc(1.5px * var(--fs)) solid color-mix(in srgb,var(--fb-c) 45%,#ffffff33);border-radius:calc(12px * var(--fs));font-size:calc(17px * var(--fs));color:#fff;box-sizing:border-box}
:is(#frontier-augment,.fbp) .fb-chip{display:inline-flex;align-items:center;gap:calc(6px * var(--fs));margin-top:auto;padding:calc(4px * var(--fs)) calc(14px * var(--fs)) calc(4px * var(--fs)) calc(8px * var(--fs));background:#dcd2ff;border:0;border-radius:999px;color:#2a2250;font-size:calc(15px * var(--fs));font-weight:900;box-shadow:0 calc(2px * var(--fs)) 0 rgba(0,0,0,.35)}
:is(#frontier-augment,.fbp) .fb-chip-ico{display:inline-grid;place-items:center;width:calc(22px * var(--fs));height:calc(22px * var(--fs));font-style:normal}
:is(#frontier-augment,.fbp) .fb-chip-ico :is(img,.type-symbol){width:calc(22px * var(--fs))!important;height:calc(22px * var(--fs))!important;min-width:0!important;min-height:0!important;filter:none!important;animation:none!important}
:is(#frontier-augment,.fbp) .fb-chip-ico .type-symbol img{width:100%!important;height:100%!important}
:is(#frontier-augment,.fbp) .fb-chip-ico .fb-ph{display:none}
:is(#frontier-augment,.fbp) .fb-head h2,#strategy-overlay#strategy-overlay.fbp-on .fb-head h2,#work-rewards .fbp-layer .fb-head h2{font-size:calc(42px * var(--fs))!important;font-weight:900;color:#fff;letter-spacing:.01em;text-shadow:0 calc(3px * var(--fs)) 0 #15122a,calc(2px * var(--fs)) 0 0 #15122a,calc(-2px * var(--fs)) 0 0 #15122a,0 calc(-2px * var(--fs)) 0 #15122a,0 calc(6px * var(--fs)) calc(10px * var(--fs)) rgba(0,0,0,.45)}
:is(#frontier-augment,.fbp) .fb-hico{position:relative;display:inline-block;width:calc(64px * var(--fs));height:calc(64px * var(--fs));margin-right:calc(10px * var(--fs))}
:is(#frontier-augment,.fbp) .fb-hico img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 calc(3px * var(--fs)) 0 rgba(0,0,0,.4))}
:is(#frontier-augment,.fbp) .fb-hico .fb-floor{position:absolute;right:calc(-12px * var(--fs));bottom:calc(-6px * var(--fs));display:grid;place-items:center;min-width:calc(30px * var(--fs));height:calc(30px * var(--fs));padding:0 calc(6px * var(--fs));box-sizing:border-box;border-radius:999px;background:#ffc93c;border:calc(2px * var(--fs)) solid #15122a;color:#15122a;font-size:calc(16px * var(--fs));font-weight:900;text-shadow:none;letter-spacing:0}
:is(#frontier-augment,.fbp) .fb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);font-style:normal}
:is(#frontier-augment,.fbp) .fb-head p{color:#d9dcf0;text-shadow:0 1px 2px #000a}
:is(#frontier-augment,.fbp) .fb-re{position:relative;gap:calc(12px * var(--fs));min-height:calc(56px * var(--fs));padding:calc(6px * var(--fs)) calc(10px * var(--fs));background:linear-gradient(180deg,#6474dc 0%,#4b57c0 100%);border:calc(2px * var(--fs)) solid #93a0f4;border-radius:calc(12px * var(--fs));box-shadow:0 0 0 calc(2px * var(--fs)) #0b0d18,0 calc(4px * var(--fs)) 0 #262c6a;color:#fff}
:is(#frontier-augment,.fbp) .fb-re::before{content:'';flex:none;width:calc(34px * var(--fs));height:calc(34px * var(--fs));border-radius:calc(8px * var(--fs));background:#3aa0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.3-4.9L4 8'/%3E%3Cpath d='M4 3v5h5'/%3E%3Cpath d='M4 13a8 8 0 0 0 14.3 4.9L20 16'/%3E%3Cpath d='M20 21v-5h-5'/%3E%3C/svg%3E") center/66% no-repeat;box-shadow:inset 0 0 0 calc(2px * var(--fs)) #ffffff55}
:is(#frontier-augment,.fbp) .fb-re strong{font-size:calc(20px * var(--fs));font-weight:900}:is(#frontier-augment,.fbp) .fb-re small{font-size:calc(13px * var(--fs));color:#e3e7ff;font-weight:700}
:is(#frontier-augment,.fbp) .fb-re kbd{width:calc(30px * var(--fs));height:calc(30px * var(--fs));background:#eef0f6;color:#171a2b;border:calc(2px * var(--fs)) solid #171a2b;border-radius:calc(7px * var(--fs));font-weight:900}
:is(#frontier-augment,.fbp) .fb-re:disabled{background:linear-gradient(180deg,#4a4d63,#3a3c4f);border-color:#6a6d85;color:#b9bccc;box-shadow:0 0 0 calc(2px * var(--fs)) #0b0d18}:is(#frontier-augment,.fbp) .fb-re:disabled::before{filter:grayscale(1);opacity:.6}
#frontier-augment,#work-rewards .fbp-layer,#strategy-overlay.fbp-on{background:rgba(14,14,26,.55)!important}
@media(max-height:500px){
 :is(#frontier-augment,.fbp) .fb-card{border-width:2px;border-radius:10px;gap:4px}
 :is(#frontier-augment,.fbp) .fb-ico{width:56px;height:56px;margin-top:4px}:is(#frontier-augment,.fbp) .fb-ico img:not(.fb-bl),:is(#frontier-augment,.fbp) .fb-ico .type-symbol{width:50px;height:50px}
 :is(#frontier-augment,.fbp) .fb-name{font-size:17px;margin-top:0}
 :is(#frontier-augment,.fbp) .fb-desc{padding:3px 8px;font-size:11.5px;border-radius:8px;max-width:94%}
 :is(#frontier-augment,.fbp) .fb-chip{font-size:11px;padding:2px 9px 2px 5px;gap:3px}:is(#frontier-augment,.fbp) .fb-chip-ico{width:14px;height:14px}:is(#frontier-augment,.fbp) .fb-chip-ico :is(img,.type-symbol){width:14px!important;height:14px!important}
 :is(#frontier-augment,.fbp) .fb-head h2,#strategy-overlay#strategy-overlay.fbp-on .fb-head h2,#work-rewards .fbp-layer .fb-head h2{font-size:22px!important;text-shadow:0 2px 0 #15122a,1px 0 0 #15122a,-1px 0 0 #15122a,0 -1px 0 #15122a}
 :is(#frontier-augment,.fbp) .fb-hico{width:30px;height:30px;margin-right:8px}:is(#frontier-augment,.fbp) .fb-hico .fb-floor{min-width:18px;height:18px;font-size:10px;right:-8px;bottom:-4px;border-width:1.5px;padding:0 3px}
 :is(#frontier-augment,.fbp) .fb-re{min-height:40px;padding:3px 8px;gap:8px}:is(#frontier-augment,.fbp) .fb-re::before{width:24px;height:24px}:is(#frontier-augment,.fbp) .fb-re strong{font-size:14px}:is(#frontier-augment,.fbp) .fb-re small{font-size:10px}
}
body:is(.mobile-ui,.low-fx) #frontier-augment,body:is(.mobile-ui,.low-fx) #work-rewards .fbp-layer,body:is(.mobile-ui,.low-fx) #strategy-overlay.fbp-on{background:rgba(14,14,26,.7)!important}
:is(#frontier-augment,.fbp) .fb-ico,:is(#frontier-augment,.fbp) .fb-ico:has(.fb-bl){flex:none;width:calc(128px * var(--fs));height:calc(128px * var(--fs));min-width:0;min-height:0;overflow:visible}
@media(max-height:500px){:is(#frontier-augment,.fbp) .fb-ico,:is(#frontier-augment,.fbp) .fb-ico:has(.fb-bl){width:56px;height:56px}}
#strategy-overlay.fbp-on,#work-rewards.fbp-on{z-index:3300!important} /* 타워 창과 같은 층: 휴대폰에서 새로고침 단추가 대기석 아래로 숨던 것 */
/* 고르기 창 통일 2차: 카지노 대박 3택(#casino-grand.cui-fbp) = 타워 카드 틀. 옛 갈색 상자 대신 화면 전체 흐린 배경 */
#casino-grand.cui-fbp{inset:0;left:0;top:0;transform:none;width:auto;max-width:none;max-height:none;overflow:visible;padding:24px;border:0;border-radius:0;box-shadow:none;background:rgba(14,14,26,.55);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
#casino-grand.cui-fbp[hidden]{display:none}
#casino-grand.cui-fbp .fb-head h2{font-family:var(--font-read);font-weight:900;color:#fff;margin:0}
#casino-grand.cui-fbp header.fb-head{display:block;text-align:center}#casino-grand.cui-fbp .fb-head p{margin:4px 0 0;font-size:calc(15px * var(--fs))}
.fbp .fb-ico .fbp-mon{display:grid;place-items:center;width:100%;height:100%}
.fbp .fb-ico .fbp-mon img{width:calc(120px * var(--fs))!important;height:calc(120px * var(--fs))!important;object-fit:contain;image-rendering:pixelated}
@media(max-height:500px){#casino-grand.cui-fbp{padding:8px}.fbp .fb-ico .fbp-mon img{width:54px!important;height:54px!important}}
body:is(.mobile-ui,.low-fx) #casino-grand.cui-fbp{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(14,14,26,.72)}
/* 관리자 11-05(01 출시 점검): 배틀 타워 등 프런티어 중엔 모험 진행 문구('1/72 · 다음: …', campaign.js #route-readout)를 숨김 — 층 정보는 타워 띠(#frontier-bar)·round-label이 보여 줌. PC는 원래 안 보임, 휴대폰(기본·tft1m) 대상 */
html body.frontier-active.frontier-active #route-readout#route-readout#route-readout{display:none!important}
/* 04 11-06 사용자 제보: 스테이지 이동 페이드가 완전 검정 0.3초 → 판 바깥까지 어둡게 흐린 남색 막(검은 화면 대신). 효과 줄이기는 흐림 없이 */
body.low-fx #stage-fade{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(10,12,22,.94)}
/* 사용자(관리자 11-07) '제대로 된 밤': 밤 층 그림이 달빛에 밝게 그려져 저녁처럼 보임 → 풍경 층만 어둡게·푸르게(빛은 그대로). 낮·노을은 무변경 */
.f161[data-sky="night"]{background:linear-gradient(#0e1330,#1c2350 55%,#13202a 85%,#0c1418)}
.f161[data-sky="night"]>.f161-sky{filter:brightness(.7) saturate(.9)}
.f161[data-sky="night"]>.f161-clouds{filter:brightness(.42) saturate(.55) hue-rotate(195deg);opacity:.75}
.f161[data-sky="night"]>:is(.f161-mountains,.f161-forest){filter:brightness(.5) saturate(.6) hue-rotate(10deg)}
.f161[data-sky="night"]>:is(.f161-field,.f161-grass_front,.f161-village){filter:brightness(.48) saturate(.55) hue-rotate(12deg)}
.f161>.f161-moon{image-rendering:pixelated;filter:drop-shadow(0 0 6px #f6f0c8aa)}
.f161>.f161-star{image-rendering:pixelated;animation:f161-star 1.6s steps(4) infinite}
@keyframes f161-star{to{background-position:calc(-1 * var(--fw)) 0}}
@media (prefers-reduced-motion:reduce){.f161>.f161-star{animation:none}}






/* 관리자 11-07 결함: 지방 고르기 맨 아래 안내 줄을 들판 소품(앞 풀 꽃잎·반딧불)이 가림 → 안내 줄을 맨 위 층 + 어두운 바탕 띠 */
html body #region-pick .rp-hint{z-index:20!important;background:linear-gradient(transparent,#05081acc 45%)!important;text-shadow:0 1px 0 #000,0 0 4px #000}
/* 관리자 11-07(새 화풍: 작은 글자는 매끈한 일반 글꼴): 진행 고리 지명 — 도트 글꼴 → 일반 글꼴, 844에서 크게 */

/* 02 보고 116: 들판 메인 위에서도 소식 창이 보이게, 메뉴 단추 NEW 점 */
html body #patch-notes:not(.hidden){z-index:6000}
.mab .pn-dot.mab-dot{position:absolute;top:-4px;right:-4px;width:12px;height:12px;border-radius:50%;background:#ff5a4a;border:2px solid #fff;box-shadow:0 0 0 1px #0006}
.mab [data-mab="menu"],.mab [data-mab="L:news"]{position:relative}
/* ④ 04 11-05 휴대폰 두 단계 확정(FBPick.arm): 첫 탭 = 미리보기(테두리 강조·모션) + 카드 아래 '고르기' 단추, 단추나 같은 카드 두 번째 탭 = 확정 */
:is(#frontier-augment,.fbp) .fb-card.fbp-arm{outline:3px solid var(--fb-c);outline-offset:3px;transform:translateY(-4px)}
:is(#frontier-augment,.fbp) .fb-card.fbp-arm .fb-ico{animation:fbp-float 1.2s ease-in-out infinite}
:is(#frontier-augment,.fbp) .fb-card .fbp-go{position:absolute;left:50%;bottom:-38px;transform:translateX(-50%);z-index:5;padding:6px 18px;border-radius:8px;background:#FFC93C;color:#1d1a14;font:800 14px/1 'Galmuri11',var(--font-head);border:2px solid #1d1a14;box-shadow:0 3px 0 #1d1a14;white-space:nowrap;animation:fbpGoIn .15s steps(3) both}
@keyframes fbpGoIn{from{opacity:0;transform:translate(-50%,-6px)}}
/* ④-2 04 11-05 장비·소모품 그림 칸: 분류색 원판(지름 = 칸) 위 장비 도트 정수배(코드가 width 지정), 완성 장비는 재료 2개(24px), 소모품 80% */
.fbp .fbp-disc{position:relative;display:grid;place-items:center;width:calc(112px * var(--fs));height:calc(112px * var(--fs));border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--fb-c) 55%,#fff) 0,color-mix(in srgb,var(--fb-c) 30%,#1b1d24) 70%,transparent 71%)}
.fbp .fbp-disc .fbp-int{width:auto;height:auto;object-fit:none;image-rendering:pixelated}
.fbp .fbp-disc.soft .fbp-pic{width:80%;height:80%}
.fbp .fbp-parts{position:absolute;right:-6%;bottom:-4%;display:flex;gap:2px}
.fbp .fbp-parts img{width:24px;height:24px;image-rendering:pixelated;background:#1b1d24;border:1px solid var(--fb-c);border-radius:4px}
/* ④-3 포켓몬 카드 움직이는 시트(FBPick.setAni) — 정수배, 원래 도트 자리에 겹침 */
.fbp .fbp-mon{position:relative;display:inline-grid;place-items:center}
.fbp .fbp-mon .fbp-ani{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);image-rendering:pixelated;background-repeat:no-repeat;pointer-events:none}
/* 04 11-05 타운맵 지명 = 게임 도트 글꼴(사용자: 지명 폰트가 퀄리티를 떨어뜨림, 받은요청 839) — 원작처럼 작은 도트 글씨 + 어두운 1px 외곽선, 남색 상자 없음. 지금 칸(.cur)·다음 칸(.nx)은 글자색과 얇은 밑줄로 */
#townmap .tm-lb{background:none;border:0;padding:0 2px;border-radius:0;font:400 calc(var(--u)*9)/1.2 'Galmuri11',sans-serif;color:#fff;letter-spacing:0;
 text-shadow:1px 0 0 #1b1d24,-1px 0 0 #1b1d24,0 1px 0 #1b1d24,0 -1px 0 #1b1d24,1px 1px 0 #1b1d24,-1px -1px 0 #1b1d24,1px -1px 0 #1b1d24,-1px 1px 0 #1b1d24}
#townmap .tm-lb.un{background:none;color:#b9bec6}
#townmap .tm-lb.cur{background:none;color:#ffd15a;border-bottom:max(1px,calc(var(--u)*1)) solid #c03028}
#townmap .tm-lb.nx{background:none;color:#ffe38a;border:0}
/* 04 11-05 타워 시련 화면(TowerTrialUI · #tw-trial.fbp) — 카지노 카드 틀 + 몬스터볼 뒷면(156 그림 전 CSS 자리) */
#tw-trial{position:fixed;inset:0;z-index:3500;background:rgba(14,14,20,.78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#tw-trial .tw-ball{display:block;width:calc(84px * var(--fs));height:calc(84px * var(--fs));border-radius:50%;background:linear-gradient(#e83a30 0 46%,#181818 46% 54%,#f4f1ea 54%);border:calc(4px * var(--fs)) solid #181818;box-sizing:border-box;position:relative}
#tw-trial .tw-ball::after{content:'';position:absolute;left:50%;top:50%;width:30%;height:30%;transform:translate(-50%,-50%);border-radius:50%;background:#f4f1ea;border:calc(4px * var(--fs)) solid #181818;box-sizing:border-box}
#tw-trial .tw-back:hover .tw-ball{animation:fbp-hop .62s both}
#tw-trial .tw-front .fbp-mon img{width:calc(96px * var(--fs));height:calc(96px * var(--fs));image-rendering:pixelated;object-fit:contain}
#tw-trial .tw-jk{font:700 calc(34px * var(--fs))/1 'Galmuri11',var(--font-head);color:#d9b6ff;text-shadow:0 2px 0 #2a1440}
#tw-trial .tw-db{font:700 calc(56px * var(--fs))/1 'Galmuri11',var(--font-head);color:#ff6a6a}
#tw-trial .fb-card.dim{opacity:.55}#tw-trial .fb-card.picked{outline:3px solid var(--fb-c);outline-offset:3px;opacity:1}
#tw-trial .tw-dice{display:flex;align-items:center;gap:calc(28px * var(--fs));color:#fff;font:700 calc(20px * var(--fs))/1 'Galmuri11',var(--font-head)}
#tw-trial .tw-dice>div{display:flex;flex-direction:column;align-items:center;gap:8px}#tw-trial .tw-dice small{color:#bdb6ab}
#tw-trial .tw-d{display:inline-grid;place-items:center;width:calc(64px * var(--fs));height:calc(64px * var(--fs));margin:0 4px;background:#f4f1ea;color:#1d1a14;border:3px solid #181818;border-radius:10px;font-size:calc(34px * var(--fs))}
#tw-trial .tw-vs{color:#FFC93C;font-size:calc(28px * var(--fs))}
#tw-trial .tw-res{margin:0;color:#fff;font:700 calc(20px * var(--fs))/1.3 'Galmuri11',var(--font-head)}#tw-trial .tw-res.b{color:#7fe08a}#tw-trial .tw-res.d{color:#ff8a8a}
#tw-trial .tw-act{display:flex;gap:12px;justify-content:center}
#tw-trial .tw-act button{min-height:44px;padding:0 20px;border-radius:10px;border:2px solid #f4f1ea;background:#232a40;color:#fff;font:800 calc(16px * var(--fs))/1 'Galmuri11',var(--font-head);cursor:pointer}
#tw-trial .tw-act button.go{background:#FFC93C;color:#1d1a14;border-color:#1d1a14}#tw-trial .tw-act button:disabled{opacity:.45;cursor:default}
#tw-trial .tw-al{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;color:#fff;font:700 calc(18px * var(--fs))/1.3 'Galmuri11',var(--font-head)}
/* 관리자 11-06 시련 화면 품질 A단계: ① 실제 효과(08 conditionText)·적용 구간을 크게(작은 줄 금지) ③ 휴대폰 뒤 배경을 충분히 어둡게(모드 카드 비침) */
#tw-trial .fb-head p{font-size:max(15px,calc(19px * var(--fs)));color:#e8e2d4}
#tw-trial .tw-eff{display:flex;flex-direction:column;align-items:center;gap:calc(8px * var(--fs));box-sizing:border-box;min-width:min(92vw,calc(560px * var(--fs)));max-width:94vw;padding:calc(14px * var(--fs)) calc(30px * var(--fs));background:#0c0c12f0;border:3px solid;border-radius:12px;box-shadow:0 0 0 2px #000,0 6px 0 #0008;text-align:center}
#tw-trial .tw-eff small{font:700 max(13px,calc(17px * var(--fs)))/1 'Galmuri11',var(--font-head);color:#d8d2c4}
#tw-trial .tw-eff b{font:700 max(22px,calc(40px * var(--fs)))/1.15 'Galmuri11',var(--font-head);color:#fff;text-shadow:0 2px 0 #000;word-break:keep-all}
#tw-trial .tw-eff span{font:700 max(15px,calc(22px * var(--fs)))/1 'Galmuri11',var(--font-head);color:#ffd866;text-shadow:0 2px 0 #000}
#tw-trial .tw-eff.b{border-color:#7fe08a}#tw-trial .tw-eff.b b{color:#c4ffca}
#tw-trial .tw-eff.d{border-color:#ff6a6a}#tw-trial .tw-eff.d b{color:#ffc0c0}
#tw-trial .tw-front.picked .fb-desc{font-size:max(13px,calc(17px * var(--fs)));font-weight:800;color:#fff}
#tw-trial .tw-res{font-size:max(16px,calc(24px * var(--fs)))}
#tw-trial .tw-al{font-size:max(17px,calc(26px * var(--fs)))}
#tw-trial .tw-al li{padding:calc(8px * var(--fs)) calc(18px * var(--fs));background:#0c0c12f0;border:3px solid currentColor;border-radius:10px}#tw-trial .tw-al li.b{color:#c4ffca}#tw-trial .tw-al li.d{color:#ffc0c0}
body.tft1m #tw-trial,body.mobile-ui #tw-trial{background:rgba(6,6,10,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
/* 관리자 11-06 시련 화면 B단계 ②: 카지노 대박 3택과 같은 카드 틀·크기(FBPick, 1920 450×510) + 고른 카드 강조·앞면 뒤집기·조커 특별 연출·도트 정수배 + 05 GPT 156 그림(assets/trial, 없으면 CSS 자리) */
#tw-trial .tw-front .fbp-mon img{width:round(up,calc(96px * var(--fs)),96px)!important;height:round(up,calc(96px * var(--fs)),96px)!important} /* 공용 틀(.fbp .fb-ico .fbp-mon img 120×fs !important)보다 우선: 96 도트를 정수배로 */
#tw-trial .tw-back .fb-ico:has(.tw-bk),#tw-trial .tw-front .fb-ico:has(.tw-jkimg){width:auto;height:auto;background:none;border:0;box-shadow:none}
#tw-trial .fb-ico img.tw-bk{display:block;width:round(up,calc(140px * var(--fs)),140px)!important;height:auto!important;image-rendering:pixelated}
#tw-trial .tw-back:has(.tw-bk) .fb-name{display:none}
#tw-trial .tw-back:hover .tw-bk{animation:fbp-hop .62s both}
#tw-trial .fb-ico img.tw-jkimg{display:block;width:140px!important;height:184px!important;image-rendering:pixelated}
#tw-trial .fb-card.picked{transform:translateY(calc(-8px * var(--fs))) scale(1.04);box-shadow:0 0 0 3px var(--fb-c),0 0 calc(30px * var(--fs)) var(--fb-c);z-index:1}
#tw-trial .fb-card.dim{opacity:.5;filter:saturate(.55)}
#tw-trial .tw-front{overflow:hidden}
#tw-trial .tw-fov{position:absolute;inset:0;z-index:3;background:#1b2140 url(assets/trial/card_back.webp) center/round(up,calc(140px * var(--fs)),140px) auto no-repeat;image-rendering:pixelated;pointer-events:none;opacity:0}
#tw-trial .tw-flip.art .tw-fov{animation:twFov .42s var(--fd) steps(1,end) both}
#tw-trial .tw-flip:not(.art){animation:twRot .42s var(--fd) ease-out both}
#tw-trial .tw-flip:not(.art) .tw-fov{background-image:none}
@keyframes twFov{0%{opacity:1;background-image:url(assets/trial/card_back.webp)}20%{background-image:url(assets/trial/card_flip_1.webp)}40%{background-image:url(assets/trial/card_flip_2.webp)}60%{background-image:url(assets/trial/card_flip_3.webp)}80%{opacity:1;background-image:url(assets/trial/card_flip_4.webp)}100%{opacity:0}}
@keyframes twRot{0%{transform:rotateY(90deg)}100%{transform:none}}
#tw-trial .tw-front.joker.picked{animation:twJk 1.1s calc(var(--fd) + 420ms) both}
#tw-trial .fb-row:has(.tw-flip)~.tw-eff{animation:twJkIn .35s .45s both} /* 앞면이 다 뒤집힌 뒤 효과 패널 */
#tw-trial .tw-jkrow:has(.tw-flip)~.tw-eff{animation:twJkIn .5s 1s both}
#tw-trial:has(.tw-jkrow .tw-flip)::before{content:'';position:fixed;inset:0;z-index:0;background:radial-gradient(circle at 50% 45%,#b070ff88 0,#5a20a044 30%,transparent 62%);pointer-events:none;animation:twJkFlash 1.4s .42s both}
@keyframes twJk{0%{box-shadow:0 0 0 3px #7a44c0,0 0 0 #b070ff}20%{translate:-6px 0}35%{translate:6px 0}50%{translate:-4px 0;box-shadow:0 0 0 4px #c890ff,0 0 60px #b070ff}65%{translate:3px 0}100%{translate:0 0;box-shadow:0 0 0 3px #7a44c0,0 0 34px #9a5ae0}}
@keyframes twJkFlash{0%{opacity:0}18%{opacity:1}100%{opacity:0}}
@keyframes twJkIn{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
#tw-trial .tw-d.art{position:relative;width:var(--dz);height:var(--dz);margin:0 6px;padding:0;background:none;border:0;border-radius:0;image-rendering:pixelated}
#tw-trial .tw-d.art img{display:block;width:var(--dz);height:var(--dz);image-rendering:pixelated}
#tw-trial .tw-d.art .tw-dfr{position:absolute;inset:0;background:center/var(--dz) var(--dz) no-repeat;image-rendering:pixelated;pointer-events:none}
#tw-trial .tw-d.art.roll{background:center/var(--dz) var(--dz) no-repeat;animation:twRoll .3s calc(var(--k) * -50ms) steps(1,end) infinite,twBounce .45s ease-in-out infinite}
@keyframes twRoll{0%{background-image:url(assets/trial/die_roll_1.webp)}16.6%{background-image:url(assets/trial/die_roll_2.webp)}33.3%{background-image:url(assets/trial/die_roll_3.webp)}50%{background-image:url(assets/trial/die_roll_4.webp)}66.6%{background-image:url(assets/trial/die_roll_5.webp)}83.3%{background-image:url(assets/trial/die_roll_6.webp)}}
@keyframes twBounce{0%,100%{translate:0 0}50%{translate:0 calc(var(--dz,80px) * -.14)}}
/* 관리자 11-06 B 보완: 1920 주사위 3배 — 그림 40px의 정수배(1920 = 6× 240px), VS·결과·라벨도 함께 키움. 그림 없을 때 CSS 주사위도 같은 크기 */
#tw-trial .tw-dice{--dz:round(up,calc(160px * var(--fs)),40px);gap:calc(40px * var(--fs))}#tw-trial .tw-dice small{font-size:max(15px,calc(26px * var(--fs)))}#tw-trial .tw-dice>div{gap:calc(12px * var(--fs))}
#tw-trial .tw-d:not(.art){width:var(--dz);height:var(--dz);font-size:calc(var(--dz) * .5);border-width:calc(var(--dz) * .04);border-radius:calc(var(--dz) * .14)}
#tw-trial .tw-vs{font-size:max(26px,calc(72px * var(--fs)));text-shadow:0 4px 0 #6a3a00,0 0 18px #ffb000aa}#tw-trial .tw-dice~.tw-res{font-size:max(18px,calc(36px * var(--fs)))}
#tw-trial .tw-d.roll:not(.art){animation:twBounce .3s ease-in-out infinite}
#tw-trial .tw-chip{width:round(up,calc(24px * var(--fs)),24px);height:auto;vertical-align:middle;margin:0 8px;image-rendering:pixelated}
@media (max-height:500px){#tw-trial .fb-ico img.tw-bk{width:140px!important}#tw-trial .tw-front .fbp-mon img{width:96px!important;height:96px!important}#tw-trial .tw-front .fb-ico:has(.fbp-mon){width:96px;height:72px;overflow:visible}#tw-trial .tw-front .fbp-mon img{margin:-12px 0}#tw-trial .tw-front .fb-ico:has(.tw-jkimg){height:92px;margin-bottom:6px}#tw-trial .fb-card.picked{transform:scale(1.03)}#tw-trial .tw-back:has(.tw-bk){min-height:0;padding:8px}#tw-trial .fb-ico img.tw-jkimg{width:70px!important;height:92px!important;object-fit:contain} /* 관리자 11-06: 휴대폰도 조커 그림 전체(정확히 ½, 잘림 없음) */#tw-trial .tw-dice{--dz:80px;gap:16px}#tw-trial .tw-fov{background-size:140px auto}#tw-trial .tw-chip{width:24px}} /* 휴대폰 = 1×(정수배), 조커는 1× 그대로 얼굴 부분만 잘라 보임 */
@media (prefers-reduced-motion:reduce){#tw-trial .tw-flip .tw-fov,#tw-trial .tw-flip,#tw-trial .tw-front.joker.picked,#tw-trial .tw-d.roll{animation:none!important}#tw-trial:has(.tw-jkrow .tw-flip)::before{display:none}}
body.low-fx #tw-trial .tw-flip .tw-fov,body.low-fx #tw-trial .tw-flip,body.low-fx #tw-trial .tw-front.joker.picked{animation:none!important}
#tw-trial .fb-desc .nw{white-space:nowrap}
/* B 보완(관리자 11-06): 공개 카드 설명 두 줄(이름 / 수치) · 폭 넓게, 1920 단추를 대박 3택 크기로 */
#tw-trial .tw-front .fb-desc.tw-two{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(4px * var(--fs));width:100%;box-sizing:border-box;min-height:0;padding:calc(8px * var(--fs)) calc(10px * var(--fs));word-break:keep-all}
#tw-trial .tw-two .l1{font-size:max(12px,calc(15px * var(--fs)));font-weight:800;line-height:1.2}#tw-trial .tw-two .l2{font:700 max(15px,calc(22px * var(--fs)))/1.1 'Galmuri11',var(--font-head);white-space:nowrap}#tw-trial .tw-two .l2.g{font:600 max(11px,calc(13px * var(--fs)))/1.2 var(--font-read,inherit);color:#bdb6ab;white-space:normal}
#tw-trial .tw-act{gap:calc(14px * var(--fs))}#tw-trial .tw-act button{min-height:calc(52px * var(--fs));padding:0 calc(26px * var(--fs));border-radius:calc(10px * var(--fs));font-size:max(15px,calc(19px * var(--fs)))}
@media (max-height:500px){#tw-trial{background:rgba(6,6,10,.95)}
 #tw-trial.fbp{gap:8px;padding:8px 12px}#tw-trial .fb-head h2{font-size:20px}#tw-trial .fb-head p{font-size:13px}
 #tw-trial:has(.tw-eff) .tw-front .fb-desc{display:none}#tw-trial:has(.tw-eff) .tw-front{min-height:0}
 #tw-trial .tw-eff{min-width:0;width:min(92vw,620px);padding:6px 16px;gap:4px}#tw-trial .tw-eff small{font-size:12px}#tw-trial .tw-eff b{font-size:22px}#tw-trial .tw-eff span{font-size:14px}
 #tw-trial .tw-al{font-size:18px}#tw-trial .tw-act button{min-height:40px}}
#tw-trial .tw-al li.b{color:#7fe08a}#tw-trial .tw-al li.d{color:#ff8a8a}
/* ④-5 이브이 혼합: 옛 격자 높이·넘침 제한 풀기(카드 틀 전체가 보이게) */
#strategy-content.fbp .eevee-mix-grid{display:flex;flex-wrap:wrap;justify-content:center;grid-template-columns:none;height:auto;max-height:none;overflow:visible;gap:12px}
#strategy-content.fbp .eevee-mix-grid .fb-card{height:auto;max-height:none;overflow:visible}
/* ④-6 도구 발견 1장(설계 표 4): 카드가 1장뿐이면 가운데·1.15배(눌러서 받기) */
.fbp .fb-row>.fb-card:only-child{transform:scale(1.15);margin:calc(14px * var(--fs)) 0}
.fbp .fb-row>.fb-card:only-child.picked{transform:scale(1.15)}
/* ④-7 갈림길 큰 카드 휴대폰 두 단계 */
#t1-fkbig .t1fk-c{position:relative}#t1-fkbig .t1fk-c.fbp-arm{outline:3px solid #FFC93C;outline-offset:3px}
#t1-fkbig .t1fk-c .fbp-go{position:absolute;left:50%;bottom:-34px;transform:translateX(-50%);z-index:5;padding:5px 16px;border-radius:8px;background:#FFC93C;color:#1d1a14;font:800 13px/1 'Galmuri11',var(--font-head);border:2px solid #1d1a14;box-shadow:0 3px 0 #1d1a14;white-space:nowrap}
/* 타워 시련 슬롯(보스 보상) — 릴 3개, 칸 = 게임 포켓몬 도트(정수배) */
#tw-trial .tw-slot{display:flex;gap:calc(14px * var(--fs))}
#tw-trial .tw-reel{display:grid;place-items:center;width:calc(120px * var(--fs));height:calc(120px * var(--fs));background:#f4f1ea;border:4px solid #181818;border-radius:12px;box-shadow:inset 0 0 0 4px #d8d4cc}
#tw-trial .tw-reel.idle{animation:twReel .5s steps(4) infinite}@keyframes twReel{50%{transform:translateY(-3px)}}
#tw-trial .tw-cell img{width:96px;height:96px;image-rendering:pixelated}#tw-trial .tw-cell b{font:700 calc(56px * var(--fs))/1 'Galmuri11',var(--font-head);color:#c03028}
#tw-trial .tw-cell.g-legend{filter:drop-shadow(0 0 6px #e8b830)}#tw-trial .tw-cell.g-evolved{filter:drop-shadow(0 0 4px #b8c4d0)}
body.tft1m #tw-trial .tw-cell img{width:48px;height:48px}
/* ④-8 메가스톤 고르기 창(MegaPickUI · #mg-pick.fbp) */
#mg-pick{position:fixed;inset:0;z-index:3500;background:rgba(14,14,20,.78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#mg-pick .fbp-mon img{width:calc(112px * var(--fs));height:calc(112px * var(--fs));image-rendering:pixelated;object-fit:contain}
#mg-pick .tw-act{display:flex;justify-content:center}#mg-pick .tw-act button{min-height:40px;padding:0 18px;border-radius:10px;border:2px solid #f4f1ea;background:#232a40;color:#fff;font:800 14px/1 'Galmuri11',var(--font-head);cursor:pointer}
/* 04 11-06 관리자 지적: 카드 설명은 낱말 단위 줄바꿈, 이브이 진화 설명 칸 안쪽 상자 테두리 빼기(상자 겹침) */
.fbp .fb-desc{word-break:keep-all;overflow-wrap:break-word}
#strategy-content .fb-card[data-eevee-evolution] .fb-desc{border:0;background:none;min-height:0}
/* 04 11-15 관리자 5번 ③: 모험 '이번 모험의 전략' 3택 = GPT 202 증강 카드 틀(차콜 카드·번호 칩·오른쪽 위 '전략' 딱지·금 받침 위 아이콘 원·효과 알약·아래 타입 딱지·다시 뽑기 단추).
   전략 카드([data-trait])가 있는 #strategy-content에만 — 이브이·보상·타워 시련 고르기는 그대로. 판 보기 = FBPeek(증강과 같은 단추·Space). ?pick202=0 = 예전 */
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-card{box-sizing:border-box;padding:0;border:solid transparent;border-width:calc(40px * var(--fs)) calc(30px * var(--fs));border-image:url(assets/ui/reward-202/parts/2x/reward_card_normal.png) 80 60 fill / calc(40px * var(--fs)) calc(30px * var(--fs));background:#2c2a28 padding-box;border-radius:calc(14px * var(--fs));box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;filter:drop-shadow(0 calc(8px * var(--fs)) calc(14px * var(--fs)) #0009);gap:calc(8px * var(--fs))}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-card:is(:hover,:focus-visible):not(:disabled){border-image-source:url(assets/ui/reward-202/parts/2x/reward_card_hover.png);border-color:transparent;box-shadow:none}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-card.picked{border-image-source:url(assets/ui/reward-202/parts/2x/reward_card_selected.png);border-color:transparent;box-shadow:none}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-card::after{content:'전략';position:absolute;right:calc(-8px * var(--fs));top:calc(-28px * var(--fs));min-width:calc(64px * var(--fs));box-sizing:border-box;padding:0 calc(10px * var(--fs));height:calc(24px * var(--fs));line-height:calc(24px * var(--fs));border:solid transparent;border-width:calc(6px * var(--fs)) calc(10px * var(--fs));border-image:url(assets/ui/reward-202/parts/2x/reward_category_tag.png) 24 38 fill / calc(6px * var(--fs)) calc(10px * var(--fs));display:flex;align-items:center;justify-content:center;font:800 calc(13px * var(--fs))/1 'Galmuri11','PT Read',sans-serif;color:#ffd84a}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-key{left:calc(-16px * var(--fs));top:calc(-28px * var(--fs));width:calc(30px * var(--fs));height:calc(30px * var(--fs));border:0;border-radius:0;background:url(assets/ui/reward-202/parts/2x/reward_number_chip.png) center/contain no-repeat;color:#f3f1ea;box-shadow:none}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-ico{width:calc(150px * var(--fs));height:calc(150px * var(--fs));margin-top:calc(2px * var(--fs));background:url(assets/ui/reward-202/parts/2x/reward_augment_pedestal_gold.png) center/contain no-repeat}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-ico img{width:calc(84px * var(--fs));height:calc(84px * var(--fs))}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-ico .type-symbol{transform:scale(.92)}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-name{font-size:calc(24px * var(--fs));color:#f3f1ea}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-desc{box-sizing:border-box;width:100%;padding:calc(4px * var(--fs)) calc(8px * var(--fs));border:solid transparent;border-width:calc(13px * var(--fs)) calc(19px * var(--fs));border-image:url(assets/ui/reward-202/parts/2x/reward_effect_pill.png) 52 76 fill / calc(13px * var(--fs)) calc(19px * var(--fs));background:none;border-radius:0;font-size:calc(15px * var(--fs));color:#f3f1ea;display:flex;align-items:center;justify-content:center}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-chip{background:color-mix(in srgb,var(--fb-c) 72%,#1d1b19);border:0;color:#fff;box-shadow:inset 0 calc(-2px * var(--fs)) 0 #0004;font-weight:800}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-re{border:solid transparent;border-width:calc(14px * var(--fs)) calc(16px * var(--fs));border-image:url(assets/ui/reward-202/parts/2x/reward_button_reroll_normal.png) 36 fill / calc(14px * var(--fs)) calc(16px * var(--fs));background:#4a4744 padding-box;border-radius:12px;color:#f3f1ea;padding:0 calc(6px * var(--fs));min-height:0;box-shadow:none}
html:not(.pick202-off) #strategy-content.fbp:has(.fb-card[data-trait]) .fb-re:disabled{border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_reroll_disabled.png);color:#8f877c}
/* 판 보기(FBPeek)를 전략 창에도: 단추 자리·판 보기 중 창 걷기(증강 #frontier-augment와 같은 규칙) */
#strategy-overlay>.fb-peek{position:absolute;right:28px;top:110px;z-index:5;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:#2B2C2F;border:2px solid #FFCF2E;border-radius:6px;color:#FFCF2E;font:800 18px/1 "PT Read",sans-serif;box-shadow:0 4px 0 #000,0 0 12px #ffcf2e44;cursor:pointer}
#strategy-overlay>.fb-peek kbd{font:700 12px/1 "PT Read",sans-serif;padding:3px 6px;border-radius:4px;background:#0006;color:inherit}
#strategy-overlay.fb-peeking{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:none!important}
#strategy-overlay.fb-peeking>:not(.fb-peek){visibility:hidden!important}
#strategy-overlay.fb-peeking>.fb-peek{visibility:visible!important;pointer-events:auto!important;background:#FFCF2E;color:#24251F}
@media (max-height:500px){#strategy-overlay>.fb-peek{right:8px;top:8px;min-height:32px;padding:0 10px;font-size:13px}}

/* 04 11-06 ⑧ 타워 시련 룰렛(TrialWheel · #tw-trial[data-mode=roulette]) — 05 GPT 163 ② 판·칸·반짝·SPIN·화살표, 판 고정 + 반짝 칸 감속. 크기 = 128 × 정수배(--wk) */
#tw-trial .tw-rl{display:flex;align-items:center;justify-content:center;gap:calc(40px * var(--fs))}
#tw-trial .tw-wh{--u:calc(var(--wk) * 1px);position:relative;flex:none;width:calc(var(--u) * 128);height:calc(var(--u) * 128);margin-top:calc(var(--u) * 10);image-rendering:pixelated}
#tw-trial .tw-wh>img,#tw-trial .tw-wf{position:absolute;left:0;top:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}
#tw-trial .tw-wf{background:0 0/200% 100% no-repeat;animation:twWf .36s steps(1,end) infinite}
#tw-trial .tw-wf.off{display:none}
#tw-trial .tw-wh.spinning .tw-wf{animation:none}
@keyframes twWf{0%{background-position:0 0}50%{background-position:100% 0}}
#tw-trial .tw-wl{position:absolute;z-index:2;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:calc(var(--u) * 1);width:calc(var(--u) * 30);text-align:center;pointer-events:none}
#tw-trial .tw-wm{width:calc(var(--u) * 12);height:calc(var(--u) * 12);image-rendering:pixelated;margin:calc(var(--u) * -2) 0}
#tw-trial .tw-wj{font:700 max(10px,calc(var(--u) * 4))/1 'Galmuri11',var(--font-head);color:#fff3b0;text-shadow:0 2px 0 #5a3a00}
#tw-trial .tw-wd{font:700 max(12px,calc(var(--u) * 6))/1 'Galmuri11',var(--font-head);color:#ffd0d0;text-shadow:0 2px 0 #3a0000}
#tw-trial .tw-wt{display:flex;flex-direction:column;font:700 max(11px,calc(var(--u) * 3.2))/1.15 'Galmuri11',var(--font-head);color:#fff;text-shadow:0 1px 0 #000,1px 0 0 #000,-1px 0 0 #000,0 -1px 0 #000;word-break:keep-all}
#tw-trial .tw-wt .l2{color:#ffe38a}
#tw-trial .tw-wl.k-debuff-weak .tw-wt .l2,#tw-trial .tw-wl.k-debuff-mid .tw-wt .l2{color:#ffc0c0}
#tw-trial .tw-wh.landed .tw-wl:not(.on){opacity:.55}
#tw-trial .tw-wh.landed .tw-wl.on{animation:twWlOn .5s ease-out both}
@keyframes twWlOn{0%{scale:1}40%{scale:1.18}100%{scale:1.08}}
#tw-trial .tw-wspin{position:absolute;z-index:3;left:calc(var(--u) * 44);top:calc(var(--u) * 44);width:calc(var(--u) * 40);height:calc(var(--u) * 40);min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:url(assets/trial/roulette/spin.webp) 0 0/100% 100% no-repeat;image-rendering:pixelated;cursor:pointer}
#tw-trial .tw-wspin:hover{background-image:url(assets/trial/roulette/spin_hover.webp)}
#tw-trial .tw-wspin:active{background-image:url(assets/trial/roulette/spin_press.webp)}
#tw-trial .tw-wspin:disabled{background-image:url(assets/trial/roulette/spin_off.webp);cursor:default}
#tw-trial .tw-wspin:focus-visible{outline:3px solid #ffd866;outline-offset:2px}
#tw-trial .tw-wh:not(.spinning):not(.landed) .tw-wspin{animation:twWsp 1.2s ease-in-out infinite}
@keyframes twWsp{0%,100%{box-shadow:0 0 0 0 #ffd86600}50%{box-shadow:0 0 0 calc(var(--u) * 1.5) #ffd866aa}}
#tw-trial .tw-warrow{position:absolute;z-index:4;left:calc(var(--u) * 56);top:calc(var(--u) * -10);width:calc(var(--u) * 16);height:calc(var(--u) * 16);background:url(assets/trial/roulette/arrow_sheet.webp) 0 0/200% 100% no-repeat;image-rendering:pixelated;animation:twWf .6s steps(1,end) infinite}
#tw-trial .tw-wside{display:flex;flex-direction:column;align-items:center;gap:calc(16px * var(--fs));max-width:min(46vw,calc(620px * var(--fs)))}
#tw-trial .tw-wside .tw-eff{min-width:0;width:100%}
#tw-trial .tw-res.j{color:#ffd866;text-shadow:0 2px 0 #5a3a00,0 0 14px #ffb000aa;font-size:max(18px,calc(36px * var(--fs)))}
#tw-trial .tw-wlist{list-style:none;margin:0;padding:0;display:grid;gap:4px;color:#fff;font:700 13px/1.2 'Galmuri11',var(--font-head)}
#tw-trial .tw-wlist li{display:flex;align-items:center;gap:6px;min-height:26px;padding:0 8px;background:#0c0c12d0;border-left:4px solid #c08040;border-radius:4px}
#tw-trial .tw-wlist li.k-buff-evolved{border-color:#b8c4d0}#tw-trial .tw-wlist li.k-buff-legend{border-color:#e8b830}#tw-trial .tw-wlist li.k-debuff-weak,#tw-trial .tw-wlist li.k-debuff-mid{border-color:#b0283a;color:#ffc0c0}#tw-trial .tw-wlist li.k-joker{border-color:#ffd866;color:#fff3b0}
#tw-trial .tw-wlist .tw-wm{width:24px;height:24px;margin:-2px 0}#tw-trial .tw-wlist .tw-wj{font-size:10px}#tw-trial .tw-wlist .tw-wd{font-size:12px}
@media (max-height:500px){#tw-trial[data-mode=roulette]{gap:8px}#tw-trial[data-mode=roulette] .fb-head h2{font-size:20px}#tw-trial .tw-rl{gap:20px}#tw-trial .tw-wside{gap:8px}#tw-trial .tw-wside .tw-eff{padding:8px 14px}}
@media (prefers-reduced-motion:reduce){#tw-trial .tw-wf,#tw-trial .tw-warrow,#tw-trial .tw-wspin,#tw-trial .tw-wl.on{animation:none!important}}
body.low-fx #tw-trial .tw-wf,body.low-fx #tw-trial .tw-warrow,body.low-fx #tw-trial .tw-wspin,body.low-fx #tw-trial .tw-wl.on{animation:none!important}
#tw-trial .tw-wf::before{content:'';position:absolute;inset:0;background:#fffbe0;opacity:.55;-webkit-mask:url(assets/trial/roulette/wedge_joker_a.webp) 0 0/100% 100% no-repeat;mask:url(assets/trial/roulette/wedge_joker_a.webp) 0 0/100% 100% no-repeat;mix-blend-mode:screen} /* 05 반짝(별 몇 점)만으로는 도는 빛이 안 보여 같은 칸 모양(모든 종류 마스크 같음, roulette.json mask_note)으로 밝은 덧칠 */
#tw-trial .tw-wf[data-dir=b]::before{-webkit-mask-image:url(assets/trial/roulette/wedge_joker_b.webp);mask-image:url(assets/trial/roulette/wedge_joker_b.webp)}
#tw-trial .tw-wh.landed .tw-wf::before{animation:twWg .72s ease-in-out infinite}
@keyframes twWg{0%,100%{opacity:.25}50%{opacity:.6}}
@media (prefers-reduced-motion:reduce){#tw-trial .tw-wf::before{animation:none!important}}body.low-fx #tw-trial .tw-wf::before{animation:none!important}
#tw-trial .tw-wh.spinning .tw-wg:not(.on),#tw-trial .tw-wh.landed .tw-wg:not(.on){filter:brightness(.62) saturate(.75)} /* 불 켜진 칸만 밝게(도는 빛이 잘 보이게) */
/* 관리자 11-06 룰렛 손질: ② 판 가운데 고정(1fr·판·1fr), 결과는 오른쪽 칸에 나타남 ① 결과 판 = 공용 도트 틀 ③ 칸 글자 한 단계 크게 */
#tw-trial .tw-rl{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%;max-width:100vw;box-sizing:border-box;padding:0 16px}
#tw-trial .tw-wpad{display:block}
#tw-trial .tw-wside{justify-self:start;max-width:min(100%,calc(560px * var(--fs)))}
#tw-trial .tw-wres{display:flex;flex-direction:column;align-items:center;gap:calc(10px * var(--fs));padding:calc(18px * var(--fs)) calc(26px * var(--fs)) calc(20px * var(--fs));color:var(--px-text);text-align:center;animation:twWres .28s ease-out both}
@keyframes twWres{from{opacity:0;translate:calc(-12px * var(--fs)) 0}to{opacity:1;translate:0 0}}
#tw-trial .tw-wres .px-plaque{font:700 max(16px,calc(28px * var(--fs)))/1.1 'Galmuri11',var(--font-head);margin-top:calc(-34px * var(--fs))}
#tw-trial .tw-wband{display:block;align-self:stretch;padding:calc(5px * var(--fs)) 0;font:700 max(13px,calc(18px * var(--fs)))/1 'Galmuri11',var(--font-head);font-style:normal;color:#3a2210;background:#ffd84a;border-top:3px solid #b8860b;border-bottom:3px solid #b8860b}
#tw-trial .tw-wres.d .tw-wband{background:#e8706a;color:#fff4ec;border-color:#8a2020}
#tw-trial .tw-wres strong{font:700 max(20px,calc(36px * var(--fs)))/1.15 'Galmuri11',var(--font-head);color:var(--px-ink);word-break:keep-all}
#tw-trial .tw-wres.d strong{color:#7a1a14}
#tw-trial .tw-wres>span{font:700 max(14px,calc(20px * var(--fs)))/1 'Galmuri11',var(--font-head);color:var(--px-wood-m)}
#tw-trial .tw-wres .tw-wsub{margin:0;font:700 max(14px,calc(20px * var(--fs)))/1.2 'Galmuri11',var(--font-head);color:var(--px-text)}
#tw-trial .tw-wres.j .px-plaque{background:#c89a20!important;color:#fff8d8!important}
#tw-trial .tw-wres .tw-act{margin-top:calc(4px * var(--fs))}
#tw-trial .tw-wres .tw-act button{font:800 max(14px,calc(17px * var(--fs)))/1 'Galmuri11',var(--font-head)}
#tw-trial .tw-wt{font-size:max(12px,calc(var(--u) * 4))}
#tw-trial .tw-wl{width:calc(var(--u) * 33)}
@media (max-height:500px){#tw-trial .tw-rl{gap:14px;padding:0 8px}#tw-trial .tw-wres{padding:14px 12px 12px;gap:6px}#tw-trial .tw-wres .px-plaque{font-size:15px;padding:5px 14px 4px!important;margin-top:-26px}#tw-trial .tw-wres strong{font-size:17px}#tw-trial .tw-wres .tw-act{gap:6px}#tw-trial .tw-wres .tw-act button{padding:0 10px;font-size:13px}#tw-trial .tw-wband{font-size:12px}}
@media (prefers-reduced-motion:reduce){#tw-trial .tw-wres{animation:none}}
/* 04 11-06 사용자 제보: 비 줄기가 시너지 상세 창(#detail-popover z151) 등 창 위로 그려짐 — 날씨 층 z1200이 창들(#unit-side 70·#detail-popover 151·.work-overlay 170)보다 위였음 → 판·HUD 바깥 세상 위, 창 아래(60)로. 날씨 계산·그리기는 그대로 */
html body #cv-weather-fx{z-index:60}
/* 04 11-07 새 메인 메뉴 (라)+(나) MainMenu2 — 시안 00_공통/시안_메인메뉴_20261107 질감 그대로(차콜 판·안쪽 밝은 테·위 빛·아래 그림자, 노랑 눌림 단추, 볼록 동그란 단추).
   단위 --q = 16:9 화면 너비의 1%(시안 cqw와 같음, 화면 높이에 맞춰 줄어듦 — 휴대폰은 ×1.28). 제목·단추 = PT Title(Jua 부분 글꼴), 작은 글씨 = 기존 본문 글꼴(Gowun Dodum 파일 없음) */
#title-cover #main-ab.mm2{--k:var(--q,19px);background:#1c1c1f;color:#eee;font-family:var(--font-read,'Pretendard Variable','PT Read',sans-serif);container-type:normal}
.c2-safe:has(>#main-ab.mm2:not([hidden]))>#title-fullscreen.mab-fs{display:none!important}
#title-cover #main-ab.mm2 .mm2-bg,#title-cover #main-ab.mm2 .mm2-bg2{position:absolute;inset:0;background:#1c1c1f center bottom/cover no-repeat;pointer-events:none;z-index:0}
#title-cover #main-ab.mm2 .mm2-bg2{opacity:0;transition:opacity .35s}
#title-cover #main-ab.mm2.fade .mm2-bg2{opacity:1}
#title-cover #main-ab.mm2.instant .mm2-bg2{transition:none!important}
#title-cover #main-ab.mm2 .mm2-fx{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
#title-cover #main-ab.mm2.dock .mm2-fx{opacity:.5}
#title-cover #main-ab.mm2 b,#title-cover #main-ab.mm2 .mm2-nm,#title-cover #main-ab.mm2 .mm2-rb em,#title-cover #main-ab.mm2 .mm2-ch,#title-cover #main-ab.mm2 .mm2-rc i,#title-cover #main-ab.mm2 .mm2-rc u,#title-cover #main-ab.mm2 .mm2-ic em{font-family:'PT Title','Jua',var(--font-read,sans-serif);font-weight:400;letter-spacing:.02em}
#title-cover #main-ab.mm2 button{font:inherit;color:inherit;padding:0;margin:0;background:none;border:0;box-shadow:none;cursor:pointer;position:relative;min-height:0;min-width:0;max-width:none;width:auto;height:auto;transform:none;text-shadow:none;line-height:normal;text-transform:none}
#title-cover #main-ab.mm2 .mm2-card{background:linear-gradient(180deg,#3a3a3f 0%,#2b2b2e 45%,#232326 100%);border:calc(var(--k)*.18) solid #1a1a1c;border-radius:calc(var(--k)*.9);box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70,inset 0 calc(var(--k)*.25) 0 #ffffff1a,0 calc(var(--k)*.5) calc(var(--k)*1.2) #0009;box-sizing:border-box}
/* 위 왼쪽 줄: 이름표 + 동그란 단추(이름표 오른쪽, 겹침 없음) */
#title-cover #main-ab.mm2 .mm2-top{position:absolute;left:calc(var(--k)*2);top:calc(var(--k)*1.6);display:flex;align-items:flex-start;gap:calc(var(--k)*1.4);z-index:5}
#title-cover #main-ab.mm2 .mm2-tag{display:flex;align-items:center;gap:calc(var(--k)*.8);padding:calc(var(--k)*.55) calc(var(--k)*1.2) calc(var(--k)*.55) calc(var(--k)*.55);height:calc(var(--k)*4.4);font-size:calc(var(--k)*1.1)}
#title-cover #main-ab.mm2 .mm2-face{width:calc(var(--k)*3);height:calc(var(--k)*3);border-radius:50%;background:#45454b;box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
#title-cover #main-ab.mm2 .mm2-face img{width:80%;height:80%;object-fit:contain;image-rendering:pixelated}
#title-cover #main-ab.mm2 .mm2-tag b{font-size:calc(var(--k)*1.35);color:#fff;text-shadow:0 calc(var(--k)*.1) 0 #000}
#title-cover #main-ab.mm2 .mm2-rec{font-size:calc(var(--k)*1.1);color:#f3c623;white-space:nowrap;text-shadow:0 calc(var(--k)*.08) 0 #000}
#title-cover #main-ab.mm2 .mm2-rb{position:relative;width:calc(var(--k)*4.4);height:calc(var(--k)*4.4);border-radius:50%;background:var(--c);display:flex;align-items:center;justify-content:center;border:calc(var(--k)*.25) solid #2b2b2e;box-sizing:border-box;box-shadow:inset 0 calc(var(--k)*.25) 0 #fff6,inset 0 calc(var(--k)*-.3) 0 #0004,0 calc(var(--k)*.35) 0 #0009;transition:transform .15s,box-shadow .15s;flex:none}
#title-cover #main-ab.mm2 .mm2-rb:hover,#title-cover #main-ab.mm2 .mm2-rb:focus-visible{transform:translateY(calc(var(--k)*-.3));box-shadow:0 0 calc(var(--k)*1) #f3c623aa,inset 0 calc(var(--k)*.25) 0 #fff6,0 calc(var(--k)*.35) 0 #0009;outline:none}
#title-cover #main-ab.mm2 .mm2-rb img{width:78%;height:78%;object-fit:contain;pointer-events:none}
#title-cover #main-ab.mm2 .mm2-rb em{position:absolute;bottom:calc(var(--k)*-1.75);left:50%;transform:translateX(-50%);font-style:normal;font-size:calc(var(--k)*1);color:#fff;text-shadow:0 0 calc(var(--k)*.3) #000,0 calc(var(--k)*.1) 0 #000;white-space:nowrap;pointer-events:none}
#title-cover #main-ab.mm2 .mm2-rb .pn-dot{position:absolute;top:calc(var(--k)*-.2);right:calc(var(--k)*-.2);left:auto;width:calc(var(--k)*1.2);height:calc(var(--k)*1.2);border-radius:50%;background:#e53935;border:calc(var(--k)*.2) solid #fff;box-sizing:border-box;margin:0}
/* 위 오른쪽: 로고(둥실 + 반짝 줄) */
#title-cover #main-ab.mm2 .mm2-logo{position:absolute;right:calc(var(--k)*3);top:calc(var(--k)*1.2);width:calc(var(--k)*15);z-index:4;animation:mm2-bob 3.2s ease-in-out infinite;pointer-events:none}
#title-cover #main-ab.mm2 .mm2-logo img{width:100%;display:block;image-rendering:pixelated;position:static!important;transform:none}
#title-cover #main-ab.mm2 .mm2-logo::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,#ffffffaa 50%,transparent 65%) no-repeat;background-size:300% 100%;background-position:150% 0;animation:mm2-shine 4.5s ease-in-out infinite;mix-blend-mode:screen;-webkit-mask:var(--logo) center/100% 100% no-repeat;mask:var(--logo) center/100% 100% no-repeat}
@keyframes mm2-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(var(--k)*-.5))}}
@keyframes mm2-shine{0%,70%{background-position:150% 0}100%{background-position:-50% 0}}
/* 이어하기 판 */
#title-cover #main-ab.mm2 .mm2-cont{position:absolute;right:calc(var(--k)*3);top:calc(var(--k)*8);width:calc(var(--k)*27);padding:calc(var(--k)*1.4);z-index:4;transition:opacity .2s}
#title-cover #main-ab.mm2.dock .mm2-cont,#title-cover #main-ab.mm2.dock .mm2-hero{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
#title-cover #main-ab.mm2 .mm2-ch{font-size:calc(var(--k)*1.05);color:#cfcfd4}
#title-cover #main-ab.mm2 .mm2-rg{display:flex;gap:calc(var(--k)*.6);margin-top:calc(var(--k)*.9)}
#title-cover #main-ab.mm2 .mm2-rc{position:relative;flex:1;aspect-ratio:4/3;border-radius:calc(var(--k)*.6);background:#2b2b2e center 30%/cover no-repeat;border:calc(var(--k)*.18) solid #1a1a1c!important;box-shadow:inset 0 0 0 calc(var(--k)*.1) #6a6a70;transition:transform .15s,border-color .15s;overflow:hidden}
#title-cover #main-ab.mm2 .mm2-rc:hover{transform:translateY(calc(var(--k)*-.3));border-color:#f3c623!important}
#title-cover #main-ab.mm2 .mm2-rc.on{border-color:#f3c623!important;box-shadow:0 0 calc(var(--k)*1) #f3c62399}
#title-cover #main-ab.mm2 .mm2-rc.lk{filter:grayscale(.8) brightness(.6)}
#title-cover #main-ab.mm2 .mm2-rc.lk:hover{transform:none;border-color:#8a8a90!important}
#title-cover #main-ab.mm2 .mm2-rc i{position:absolute;left:calc(var(--k)*.25);top:calc(var(--k)*.25);font-style:normal;font-size:calc(var(--k)*.72);padding:calc(var(--k)*.1) calc(var(--k)*.3);border-radius:calc(var(--k)*.3);background:#2b6fd6;color:#fff;line-height:1.2}
#title-cover #main-ab.mm2 .mm2-rc i.rest{background:#55555b}
#title-cover #main-ab.mm2 .mm2-rc i.win{background:#c9902a}
#title-cover #main-ab.mm2 .mm2-rc u{position:absolute;right:calc(var(--k)*.25);top:calc(var(--k)*.25);text-decoration:none;font-size:calc(var(--k)*.72);padding:calc(var(--k)*.1) calc(var(--k)*.3);border-radius:calc(var(--k)*.3);background:#d6332b;color:#fff;box-shadow:0 0 calc(var(--k)*.4) #000;line-height:1.2}
#title-cover #main-ab.mm2 .mm2-rc b{position:absolute;left:0;right:0;bottom:0;font-size:calc(var(--k)*.85);text-align:center;background:#000b;color:#fff;padding:calc(var(--k)*.1) 0}
#title-cover #main-ab.mm2 .mm2-ic{display:flex;gap:calc(var(--k)*1.2);margin:calc(var(--k)*.9) 0 calc(var(--k)*.1);font-size:calc(var(--k)*.95);color:#ddd;align-items:center}
#title-cover #main-ab.mm2 .mm2-ic span{display:flex;align-items:center;gap:calc(var(--k)*.3)}
#title-cover #main-ab.mm2 .mm2-ic em{font-style:normal;background:#fff;color:#2b2b2e;border-radius:99px;padding:0 calc(var(--k)*.45);font-size:calc(var(--k)*.85)}
#title-cover #main-ab.mm2 .mm2-go{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:calc(var(--k)*1);width:100%;margin-top:calc(var(--k)*1);padding:calc(var(--k)*.55) calc(var(--k)*1.2) calc(var(--k)*.55) calc(var(--k)*.55)!important;border-radius:99px calc(var(--k)*1) calc(var(--k)*1) 99px;background:linear-gradient(180deg,#ffe066,#f3c623 55%,#e0a800)!important;border:calc(var(--k)*.18) solid #2b2b2e!important;box-shadow:inset 0 calc(var(--k)*.15) 0 #fff8,0 calc(var(--k)*.35) 0 #a87400,0 calc(var(--k)*.6) calc(var(--k)*1) #0008;box-sizing:border-box;text-align:left;transition:transform .1s,box-shadow .1s}
#title-cover #main-ab.mm2 .mm2-go:hover,#title-cover #main-ab.mm2 .mm2-go:focus-visible{outline:none;box-shadow:inset 0 calc(var(--k)*.15) 0 #fff8,0 calc(var(--k)*.35) 0 #a87400,0 0 calc(var(--k)*1.2) #f3c623aa}
#title-cover #main-ab.mm2 .mm2-go:active{transform:translateY(calc(var(--k)*.25));box-shadow:inset 0 calc(var(--k)*.15) 0 #fff8,0 calc(var(--k)*.1) 0 #a87400}
#title-cover #main-ab.mm2 .mm2-go:disabled{filter:grayscale(.9) brightness(.7);cursor:default}
#title-cover #main-ab.mm2 .mm2-ball{width:calc(var(--k)*3.4);height:calc(var(--k)*3.4);border-radius:50%;background:linear-gradient(#e23b3b 0 46%,#2b2b2e 46% 54%,#f4f4f4 54%);border:calc(var(--k)*.2) solid #2b2b2e;position:relative;flex:none;box-shadow:0 calc(var(--k)*.2) calc(var(--k)*.4) #0006;box-sizing:border-box;transform-origin:50% 85%;animation:mm2-wobidle 3.2s ease-in-out infinite}
#title-cover #main-ab.mm2 .mm2-ball::after{content:"";position:absolute;left:50%;top:50%;width:calc(var(--k)*1);height:calc(var(--k)*1);margin:calc(var(--k)*-.5);border-radius:50%;background:#fff;border:calc(var(--k)*.2) solid #2b2b2e;box-sizing:border-box}
#title-cover #main-ab.mm2 .mm2-go:hover .mm2-ball{animation:mm2-wob .45s ease-in-out infinite}
@keyframes mm2-wob{25%{transform:rotate(-14deg)}75%{transform:rotate(14deg)}}
@keyframes mm2-wobidle{0%,70%,100%{transform:rotate(0)}76%{transform:rotate(-16deg)}84%{transform:rotate(14deg)}92%{transform:rotate(-6deg)}}
#title-cover #main-ab.mm2 .mm2-tx b{display:block;font-size:calc(var(--k)*1.6);color:#3a2a00;line-height:1.1;text-shadow:0 calc(var(--k)*.08) 0 #fff6}
#title-cover #main-ab.mm2 .mm2-tx small{display:block;font-size:calc(var(--k)*1);color:#2b2000;font-weight:700;letter-spacing:.01em;margin-top:calc(var(--k)*.15);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(var(--k)*19)}
/* 트레이너 + 선두 포켓몬(땅 위, 그림자) */
#title-cover #main-ab.mm2 .mm2-hero{position:absolute;left:calc(50% - var(--k)*19);bottom:calc(var(--k)*3.6);display:flex;align-items:flex-end;gap:calc(var(--k)*.4);z-index:3;pointer-events:none;transition:opacity .2s}
#title-cover #main-ab.mm2 .mm2-sh{position:absolute;left:calc(var(--k)*-.4);right:calc(var(--k)*-.4);bottom:calc(var(--k)*-.3);height:calc(var(--k)*.9);border-radius:50%;background:#0006}
#title-cover #main-ab.mm2 .mm2-pl{position:relative;width:calc(var(--k)*7);height:calc(var(--k)*7)}
#title-cover #main-ab.mm2 .mm2-hero .mm2-lead{position:relative;width:auto;height:calc(var(--k)*4.5);image-rendering:pixelated} /* JS fitHero가 정수배로 덮어씀 */
/* 설명 줄·카드 줄·조작 안내 */
#title-cover #main-ab.mm2 .mm2-desc{position:absolute;left:0;right:0;bottom:calc(var(--rowb,calc(var(--k)*13.2)) - var(--k)*3.3);text-align:center;font-size:calc(var(--k)*1.45);color:#fff;text-shadow:0 calc(var(--k)*.1) calc(var(--k)*.3) #000,0 0 calc(var(--k)*.6) #000;padding:calc(var(--k)*.6) 0;background:linear-gradient(90deg,transparent,#000b 20%,#000b 80%,transparent);z-index:4;pointer-events:none;opacity:0;transition:bottom .35s,opacity .25s}
#title-cover #main-ab.mm2.desc-on .mm2-desc{opacity:1}
#title-cover #main-ab.mm2.dock .mm2-desc{bottom:calc(var(--k)*7.8)}
#title-cover #main-ab.mm2 .mm2-row{position:absolute;left:0;right:0;bottom:var(--rowb,calc(var(--k)*13.2));height:calc(var(--k)*17);display:flex;gap:calc(var(--k)*1.2);justify-content:center;align-items:flex-end;z-index:4;transition:bottom .35s,height .35s}
#title-cover #main-ab.mm2 .mm2-t{width:calc(var(--k)*8.5);aspect-ratio:3/4;border-radius:calc(var(--k)*.9);background:linear-gradient(180deg,#3a3a3f,#262629)!important;border:calc(var(--k)*.2) solid #1a1a1c!important;box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70,0 calc(var(--k)*.6) calc(var(--k)*1.4) #000a;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;box-sizing:border-box;transition:transform .15s,border-color .15s,box-shadow .15s,width .15s;flex:none;text-align:left}
#title-cover #main-ab.mm2 .mm2-t:hover{transform:translateY(calc(var(--k)*-.6))}
#title-cover #main-ab.mm2 .mm2-t.sel{width:calc(var(--k)*11.5);border:calc(var(--k)*.3) solid #f3c623!important;box-shadow:inset 0 0 0 calc(var(--k)*.14) #fff3,0 0 0 calc(var(--k)*.2) #f3c62355,0 0 calc(var(--k)*2) #f3c62399;outline:none}
#title-cover #main-ab.mm2 .mm2-t:focus-visible{outline:none}
#title-cover #main-ab.mm2 .mm2-img{flex:1;background:#2b2b2e center/cover no-repeat;min-height:0}
#title-cover #main-ab.mm2 .mm2-nm{font-size:calc(var(--k)*1.25);padding:calc(var(--k)*.45) calc(var(--k)*.7) calc(var(--k)*.1);background:#1c1c1f;color:#fff;text-shadow:0 calc(var(--k)*.1) 0 #000;white-space:nowrap}
#title-cover #main-ab.mm2 .mm2-sub{font-size:calc(var(--k)*.95);padding:0 calc(var(--k)*.7) calc(var(--k)*.55);background:#1c1c1f;color:#d6d6da;font-weight:700;text-shadow:0 calc(var(--k)*.1) 0 #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#title-cover #main-ab.mm2 .mm2-t.sel .mm2-sub{color:#ffd23a}
#title-cover #main-ab.mm2 .mm2-t.off{filter:grayscale(.65) brightness(.82)} /* 잠김 = 흐림·채도 낮춤만(그림은 보이게) */
#title-cover #main-ab.mm2 .mm2-t.off::after{content:"🔒";position:absolute;right:calc(var(--k)*.45);top:calc(var(--k)*.4);font-size:calc(var(--k)*1.25);filter:drop-shadow(0 0 calc(var(--k)*.2) #000)} /* 자물쇠 = 카드 오른쪽 위(긴 이름에서 잘리지 않게) */
#title-cover #main-ab.mm2.dock .mm2-t.off::after{position:static;margin-right:calc(var(--k)*1);font-size:calc(var(--k)*1)}
#title-cover #main-ab.mm2.dock .mm2-t.off{flex-direction:row;align-items:center}
#title-cover #main-ab.mm2 .mm2-t.off .mm2-sub{color:#999}
#title-cover #main-ab.mm2 .mm2-t.off:hover,#title-cover #main-ab.mm2 .mm2-t.off.sel{transform:none;width:calc(var(--k)*8.5);border:calc(var(--k)*.2) solid #8a8a90!important;box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70}
/* 모험 외 = 얇은 이름 띠로 내려감 */
#title-cover #main-ab.mm2.dock .mm2-row{bottom:calc(var(--k)*2.6);height:calc(var(--k)*30);gap:calc(var(--k)*.6)} /* 띠가 내려가도 감지 영역은 원래 카드 자리까지(마우스 아래에서 빠져 마을로 튀는 것 방지) */
#title-cover #main-ab.mm2.dock .mm2-t,#title-cover #main-ab.mm2.dock .mm2-t.sel,#title-cover #main-ab.mm2.dock .mm2-t.off:hover,#title-cover #main-ab.mm2.dock .mm2-t.off.sel{width:auto;aspect-ratio:auto;border-radius:99px;transform:none}
#title-cover #main-ab.mm2.dock .mm2-img,#title-cover #main-ab.mm2.dock .mm2-sub{display:none}
#title-cover #main-ab.mm2.dock .mm2-nm{padding:calc(var(--k)*.6) calc(var(--k)*1.4);font-size:calc(var(--k)*1.1);background:transparent}
#title-cover #main-ab.mm2.dock .mm2-rb{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
#title-cover #main-ab.mm2 .mm2-hint{position:absolute;left:0;right:0;bottom:0;height:calc(var(--k)*2.2);background:linear-gradient(0deg,#000c,#0000);font-size:calc(var(--k)*1.05);color:#ddd;display:flex;justify-content:flex-end;align-items:center;padding-right:calc(var(--k)*2);z-index:4;pointer-events:none;text-shadow:0 0 calc(var(--k)*.3) #000}
/* 밤: 반딧불·별·별똥별 / 노을: 첫 별 */
#title-cover #main-ab.mm2 .mm2-ff{position:absolute;width:calc(var(--k)*.45);height:calc(var(--k)*.45);border-radius:50%;background:#fff6a8;box-shadow:0 0 calc(var(--k)*.8) calc(var(--k)*.3) #ffe76699;animation:mm2-rise var(--d) linear infinite,mm2-blink 2.4s ease-in-out infinite}
@keyframes mm2-rise{0%{transform:translate(0,0);opacity:0}10%{opacity:1}35%{transform:translate(calc(var(--x)*var(--k)),calc(var(--k)*-6))}70%{transform:translate(calc(var(--x)*var(--k)*-1),calc(var(--k)*-12));opacity:.9}100%{transform:translate(calc(var(--x)*var(--k)),calc(var(--k)*-18));opacity:0}}
@keyframes mm2-blink{0%,100%{opacity:.15}50%{opacity:1}}
#title-cover #main-ab.mm2 .mm2-tw{position:absolute;width:calc(var(--k)*.25);height:calc(var(--k)*.25);background:#fff;border-radius:50%;animation:mm2-blink var(--d) ease-in-out infinite}
#title-cover #main-ab.mm2 .mm2-ss{position:absolute;top:calc(var(--k)*6);left:70%;width:calc(var(--k)*8);height:calc(var(--k)*.15);background:linear-gradient(90deg,#fff0,#fff);opacity:0;animation:mm2-ss 9s linear infinite}
@keyframes mm2-ss{0%,88%{opacity:0;transform:translate(0,0) rotate(-25deg)}90%{opacity:1}100%{opacity:0;transform:translate(calc(var(--k)*-14),calc(var(--k)*6.5)) rotate(-25deg)}}
/* 들어올 때 짧게 */
#title-cover #main-ab.mm2.mm2-in .mm2-top,#title-cover #main-ab.mm2.mm2-in .mm2-cont,#title-cover #main-ab.mm2.mm2-in .mm2-row{animation:mm2-in .45s cubic-bezier(.2,.7,.3,1) both}
#title-cover #main-ab.mm2.mm2-in .mm2-cont{animation-delay:.08s}
#title-cover #main-ab.mm2.mm2-in .mm2-row{animation-delay:.16s}
@keyframes mm2-in{from{opacity:0;transform:translateY(calc(var(--k)*1))}to{opacity:1;transform:none}}
/* 효과 줄이기 */
#title-cover #main-ab.mm2.calm *,#title-cover #main-ab.mm2.calm *::after{animation:none!important}
#title-cover #main-ab.mm2.calm .mm2-fx .mm2-ff{opacity:.6}
/* 휴대폰 가로(844×390 등): 세로가 짧아 카드 줄을 아래로 붙이고 이어하기 판을 좁게 */
#title-cover #main-ab.mm2[data-size="m"] .mm2-top{top:calc(var(--k)*1);left:calc(var(--k)*1.2);gap:calc(var(--k)*1)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-logo{width:calc(var(--k)*11);right:calc(var(--k)*1.6);top:calc(var(--k)*.8)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-cont{right:calc(var(--k)*1.6);top:calc(var(--k)*6);width:calc(var(--k)*24);padding:calc(var(--k)* 1.1)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-row{bottom:calc(var(--k)*5.4);height:calc(var(--k)*13)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t{width:calc(var(--k)*8.6)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-row{gap:calc(var(--k)*.7)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-nm{font-size:calc(var(--k)*1.15);padding:calc(var(--k)*.4) calc(var(--k)*.5) 0}
#title-cover #main-ab.mm2[data-size="m"] .mm2-sub{font-size:calc(var(--k)*.95);padding:0 calc(var(--k)*.5) calc(var(--k)*.45)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-rc b{font-size:calc(var(--k)*1)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-rc i,#title-cover #main-ab.mm2[data-size="m"] .mm2-rc u{font-size:calc(var(--k)*.9)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-ic{font-size:calc(var(--k)*1.05)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t.sel{width:calc(var(--k)*10.4)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t.off:hover,#title-cover #main-ab.mm2[data-size="m"] .mm2-t.off.sel{width:calc(var(--k)*8.6)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-desc{bottom:calc(var(--k)*2.4);font-size:calc(var(--k)*1.2);padding:calc(var(--k)*.3) 0}
#title-cover #main-ab.mm2[data-size="m"].dock .mm2-row{bottom:calc(var(--k)*5.2);height:calc(var(--k)*13.2)}
#title-cover #main-ab.mm2[data-size="m"].dock .mm2-desc{bottom:calc(var(--k)*2.4)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-hint{display:none}
#title-cover #main-ab.mm2[data-size="m"] .mm2-hero{display:none}
/* 844(휴대폰 가로) 글씨 최소 11px(관리자 11-07) — --k 약 8.9px 기준 1.25배 이상. 이어하기 창은 넓히고 꼬리표(상태·하드)는 위아래로 */
#title-cover #main-ab.mm2[data-size="m"] .mm2-cont{width:calc(var(--k)*36);top:calc(var(--k)*6);padding:calc(var(--k)*1.1)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-ch,#title-cover #main-ab.mm2[data-size="m"] .mm2-rc b,#title-cover #main-ab.mm2[data-size="m"] .mm2-rc i,#title-cover #main-ab.mm2[data-size="m"] .mm2-rc u,#title-cover #main-ab.mm2[data-size="m"] .mm2-ic,#title-cover #main-ab.mm2[data-size="m"] .mm2-ic em,#title-cover #main-ab.mm2[data-size="m"] .mm2-tx small,#title-cover #main-ab.mm2[data-size="m"] .mm2-rec,#title-cover #main-ab.mm2[data-size="m"] .mm2-rb em,#title-cover #main-ab.mm2[data-size="m"] .mm2-sub,#title-cover #main-ab.mm2[data-size="m"] .mm2-nm{font-size:calc(var(--k)*1.25)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-rg{margin-top:calc(var(--k)*.6);gap:calc(var(--k)*.5)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-rc{aspect-ratio:5/4}
#title-cover #main-ab.mm2[data-size="m"] .mm2-rc u{right:auto;left:calc(var(--k)*.25);top:calc(var(--k)*2.1)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-ic{margin:calc(var(--k)*.6) 0 0}
#title-cover #main-ab.mm2[data-size="m"] .mm2-go{margin-top:calc(var(--k)*.6);padding:calc(var(--k)*.4) calc(var(--k)*1) calc(var(--k)*.4) calc(var(--k)*.4)!important}
#title-cover #main-ab.mm2[data-size="m"] .mm2-ball{width:calc(var(--k)*2.8);height:calc(var(--k)*2.8)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-tx b{font-size:calc(var(--k)*1.6)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-tx small{max-width:calc(var(--k)*28)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-row{bottom:calc(var(--k)*4)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t{width:calc(var(--k)*8.2)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t.sel{width:calc(var(--k)*9.8)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-t.off:hover,#title-cover #main-ab.mm2[data-size="m"] .mm2-t.off.sel{width:calc(var(--k)*8.2)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-nm{padding:calc(var(--k)*.35) calc(var(--k)*.35) 0}
#title-cover #main-ab.mm2[data-size="m"] .mm2-sub{padding:0 calc(var(--k)*.35) calc(var(--k)*.35)}
#title-cover #main-ab.mm2[data-size="m"] .mm2-desc{bottom:calc(var(--k)*1.4);font-size:calc(var(--k)*1.35);padding:calc(var(--k)*.25) 0;background:linear-gradient(90deg,transparent,#000a 25%,#000a 75%,transparent)}
#title-cover #main-ab.mm2[data-size="m"].dock .mm2-desc{bottom:calc(var(--k)*1.4)}
#title-cover #main-ab.mm2[data-size="m"].dock .mm2-row{bottom:calc(var(--k)*4)}
/* 04 11-07 로고 포획 연출(LogoCatch) — 볼 = '선택!' 장면 도트 볼, 로고 O 자리(%)에 얹음. 단계 = 로고에 붙는 클래스 lc-out·lc-throw·lc-hit·lc-shake·lc-lock·lc-rest */
#title-cover #main-ab.mm2 .mm2-logo:not(.lc-ready) .lc{display:none}
#title-cover #main-ab.mm2 .lc{position:absolute;pointer-events:none}
#title-cover #main-ab.mm2 .lc-fly,#title-cover #main-ab.mm2 .lc-arc,#title-cover #main-ab.mm2 .lc-ball{position:absolute;inset:0}
#title-cover #main-ab.mm2 .lc-ball{transition:opacity .25s,transform .25s;transform-origin:50% 90%}
#title-cover #main-ab.mm2 .lc-ball img{position:absolute;inset:-6%;width:112%;height:112%;image-rendering:pixelated;object-fit:contain}
#title-cover #main-ab.mm2 .lc-btn{position:absolute;left:44.4%;top:61.2%;width:11.2%;height:11.2%;border-radius:50%; /* 볼 도트 흰 버튼(40px 그림의 20,26) 자리 — 볼이 기울면 같이 기움 */ background:#ffd23a;opacity:0;transition:opacity .2s}
#title-cover #main-ab.mm2 .lc-mon{position:absolute;left:-12%;right:-12%;bottom:-4%;height:118%;display:flex;align-items:flex-end;justify-content:center;opacity:0;transform:scale(.5);transform-origin:50% 70%;transition:opacity .3s,transform .3s cubic-bezier(.3,1.6,.5,1)}
#title-cover #main-ab.mm2 .lc-mon img{height:100%;width:auto;image-rendering:pixelated;filter:drop-shadow(0 calc(var(--k)*.15) 0 #0008)}
#title-cover #main-ab.mm2 .lc-out .lc-ball{opacity:0;transform:scale(.3)}
#title-cover #main-ab.mm2 .lc-out .lc-mon{opacity:1;transform:none}
#title-cover #main-ab.mm2 .lc-throw .lc-ball{opacity:1;transform:none;transition:none}
#title-cover #main-ab.mm2 .lc-throw .lc-fly{animation:lc-x .55s linear both}
#title-cover #main-ab.mm2 .lc-throw .lc-arc{animation:lc-y .55s both}
#title-cover #main-ab.mm2 .lc-throw .lc-ball img{animation:lc-spin .55s linear both}
@keyframes lc-x{from{transform:translateX(330%)}to{transform:none}}
@keyframes lc-y{0%{transform:translateY(220%);animation-timing-function:cubic-bezier(.2,.6,.4,1)}45%{transform:translateY(-95%);animation-timing-function:cubic-bezier(.6,0,.8,.4)}100%{transform:none}}
@keyframes lc-spin{from{transform:rotate(-900deg)}to{transform:none}}
#title-cover #main-ab.mm2 .lc-hit .lc-mon{opacity:0;transform:scale(.08);filter:brightness(4) saturate(0);transition:opacity .4s ease-in,transform .4s ease-in,filter .15s}
#title-cover #main-ab.mm2 .lc-hit .lc-ball{animation:lc-bump .3s ease-out}
@keyframes lc-bump{0%{transform:translateY(0)}35%{transform:translateY(-22%) rotate(-12deg)}100%{transform:none}}
#title-cover #main-ab.mm2 .lc-shake .lc-ball{animation:lc-wob .45s ease-in-out 3}
#title-cover #main-ab.mm2 .lc-shake .lc-btn{animation:lc-blink .45s ease-in-out 3}
@keyframes lc-wob{0%,100%{transform:none}25%{transform:rotate(-20deg)}75%{transform:rotate(16deg)}}
@keyframes lc-blink{0%,100%{opacity:.15}45%{opacity:1;box-shadow:0 0 calc(var(--k)*.6) #ffd23a}}
#title-cover #main-ab.mm2 .lc-lock .lc-ball{animation:lc-click .16s ease-out}
#title-cover #main-ab.mm2 .lc-lock .lc-btn,#title-cover #main-ab.mm2 .lc-rest .lc-btn{background:#4aa8ff;box-shadow:0 0 calc(var(--k)*.6) #4aa8ff}
#title-cover #main-ab.mm2 .lc-lock .lc-btn{opacity:1}
#title-cover #main-ab.mm2 .lc-rest .lc-btn{opacity:0;transition:opacity 1.6s ease-in}
@keyframes lc-click{0%{transform:scale(1)}40%{transform:scale(1.12,.9)}100%{transform:none}}
#title-cover #main-ab.mm2 .lc-st{position:absolute;left:50%;top:50%;width:22%;height:22%;margin:-11%;background:#fff6c0;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0}
#title-cover #main-ab.mm2 .lc-lock .lc-st{animation:lc-star .75s ease-out both}
#title-cover #main-ab.mm2 .lc-lock .lc-st.s1{--sx:-95%;--sy:-90%}#title-cover #main-ab.mm2 .lc-lock .lc-st.s2{--sx:95%;--sy:-80%;animation-delay:.06s}#title-cover #main-ab.mm2 .lc-lock .lc-st.s3{--sx:-90%;--sy:85%;animation-delay:.1s}#title-cover #main-ab.mm2 .lc-lock .lc-st.s4{--sx:100%;--sy:90%;animation-delay:.04s}
@keyframes lc-star{0%{opacity:0;transform:translate(0,0) scale(.3)}30%{opacity:1}100%{opacity:0;transform:translate(calc(var(--sx)*2.2),calc(var(--sy)*2.2)) scale(1) rotate(90deg)}}
/* 효과 줄이기 = 로고는 둥실만 */
#title-cover #main-ab.mm2.calm .mm2-logo{animation:mm2-bob 3.2s ease-in-out infinite!important}
/* 04 11-07 Armello식 확대 전환(결정대기 2665): 짝 건물(--zx,--zy) 쪽으로 배경 확대 + UI 사라짐 → 화면 전환, 돌아오면 반대(zback) */
#title-cover #main-ab.mm2 .mm2-bg{transform-origin:var(--zx,50%) var(--zy,80%);transition:transform var(--zt,600ms) cubic-bezier(.45,0,.2,1);will-change:transform}
#title-cover #main-ab.mm2.zoom .mm2-bg{transform:scale(var(--zs,2.6))}
#title-cover #main-ab.mm2.zoom .mm2-bg2{opacity:0!important}
#title-cover #main-ab.mm2.zoom :is(.mm2-top,.mm2-logo,.mm2-cont,.mm2-row,.mm2-desc,.mm2-hint,.mm2-hero,.mm2-fx){opacity:0!important;pointer-events:none;transition:opacity .3s}
#title-cover #main-ab.mm2.zback :is(.mm2-top,.mm2-logo,.mm2-cont,.mm2-row,.mm2-hint,.mm2-hero,.mm2-fx){transition:opacity .35s .25s}
/* 04 11-07 지방 고르기 Gwent식(RegionPick3) — 세로 띠 4개, 고른 띠만 밝고 넓게. --q = 16:9 너비의 1%(메인 메뉴와 같음) */
#region-pick.rp3{--k:var(--q,19px);background:#121218;font-family:var(--font-read,'Pretendard Variable',sans-serif);color:#eee;overflow:hidden}
#region-pick.rp3 button{font:inherit;cursor:pointer;margin:0;min-height:0;min-width:0}
#region-pick.rp3 .g3-bg{position:absolute;inset:0;background:#121218 url(assets/region-select/bg_region_select.webp) center bottom/cover no-repeat;filter:brightness(.55)}
#region-pick.rp3 .g3-bar{position:absolute;left:0;right:0;top:0;height:calc(var(--k)*5);display:flex;align-items:center;gap:calc(var(--k)*1.4);padding:0 calc(var(--k)*2);z-index:3;background:linear-gradient(180deg,#000c,#0000)}
#region-pick.rp3 .g3-bar h2{margin:0;font:400 calc(var(--k)*1.9)/1 'PT Title','Jua',sans-serif;color:#fff;text-shadow:0 calc(var(--k)*.12) 0 #000}
#region-pick.rp3 .g3-bar h2 small{margin-left:calc(var(--k)*1);font:700 calc(var(--k)*1)/1 var(--font-read,sans-serif);color:#cfcfd4}
#region-pick.rp3 .g3-back{padding:calc(var(--k)*.55) calc(var(--k)*1.3);border-radius:99px;background:linear-gradient(180deg,#3a3a3f,#262629);border:calc(var(--k)*.15) solid #1a1a1c;box-shadow:inset 0 0 0 calc(var(--k)*.1) #6a6a70;color:#fff;font:400 calc(var(--k)*1.2)/1 'PT Title','Jua',sans-serif}
#region-pick.rp3 .g3-back:hover,#region-pick.rp3 .g3-back:focus-visible{border-color:#f3c623;outline:none}
#region-pick.rp3 .g3-row{position:absolute;left:calc(var(--k)*2);right:calc(var(--k)*2);top:calc(var(--k)*5.2);bottom:calc(var(--k)*2.6);display:flex;gap:calc(var(--k)*.9);z-index:2}
#region-pick.rp3 .g3{position:relative;flex:1 1 0;min-width:0;border-radius:calc(var(--k)*.9);overflow:hidden;background:#1c1c1f;border:calc(var(--k)*.2) solid #1a1a1c;box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70,0 calc(var(--k)*.6) calc(var(--k)*1.4) #000a;filter:brightness(.45) saturate(.75);transition:flex-grow .2s,filter .2s,border-color .2s,box-shadow .2s;cursor:pointer}
#region-pick.rp3 .g3.on{flex-grow:1.45;filter:none;border-color:#f3c623;box-shadow:inset 0 0 0 calc(var(--k)*.14) #fff3,0 0 calc(var(--k)*2) #f3c62388}
#region-pick.rp3 .g3.lk{filter:grayscale(.85) brightness(.4)}
#region-pick.rp3 .g3.lk.on{filter:grayscale(.7) brightness(.7);border-color:#8a8a90;box-shadow:inset 0 0 0 calc(var(--k)*.12) #6a6a70}
#region-pick.rp3 .g3-art{position:absolute;inset:0;background:center top/cover no-repeat}
#region-pick.rp3 .g3-top{position:absolute;left:0;right:0;top:0;height:20%;display:flex;align-items:center;justify-content:center;gap:calc(var(--k)*.6);background:linear-gradient(180deg,#0009,#0000)}
#region-pick.rp3 .g3-top b{font:400 calc(var(--k)*3)/1 'PT Title','Jua',sans-serif;color:#fff;letter-spacing:.04em;-webkit-text-stroke:calc(var(--k)*.12) #1c1c1f;paint-order:stroke fill;text-shadow:0 calc(var(--k)*.25) 0 #000a}
#region-pick.rp3 .g3-lock{font-style:normal;font-size:calc(var(--k)*2)}
#region-pick.rp3 .g3-info{position:absolute;left:0;right:0;bottom:0;height:34%;padding:calc(var(--k)*1.2) calc(var(--k)*1.3);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:calc(var(--k)*.5);text-align:center;background:linear-gradient(0deg,#000d 55%,#0000)}
#region-pick.rp3 .g3-tags{display:flex;gap:calc(var(--k)*.4)}
#region-pick.rp3 .g3-chip,#region-pick.rp3 .g3-hard{font:400 calc(var(--k)*1)/1 'PT Title','Jua',sans-serif;font-style:normal;text-decoration:none;padding:calc(var(--k)*.25) calc(var(--k)*.6);border-radius:calc(var(--k)*.35);background:#2b6fd6;color:#fff}
#region-pick.rp3 .g3-chip.rest{background:#55555b}#region-pick.rp3 .g3-chip.win{background:#c9902a}#region-pick.rp3 .g3-chip.new{background:#3a3a3f;box-shadow:inset 0 0 0 calc(var(--k)*.08) #8a8a90}
#region-pick.rp3 .g3-hard{background:#d6332b}
#region-pick.rp3 .g3-mood{margin:0;font-size:calc(var(--k)*1.25);color:#fff;font-weight:700;text-shadow:0 calc(var(--k)*.1) 0 #000}
#region-pick.rp3 .g3-sub{font-size:calc(var(--k)*1.05);color:#d6d6da;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#region-pick.rp3 .g3-btns{display:flex;gap:calc(var(--k)*.6);margin-top:calc(var(--k)*.4);visibility:hidden}
#region-pick.rp3 .g3.on .g3-btns{visibility:visible}
#region-pick.rp3 .g3-go{padding:calc(var(--k)*.6) calc(var(--k)*1.4);border-radius:calc(var(--k)*.7);background:linear-gradient(180deg,#ffe066,#f3c623 55%,#e0a800);border:calc(var(--k)*.15) solid #8a5f00;box-shadow:inset 0 calc(var(--k)*.15) 0 #fff8,0 calc(var(--k)*.3) 0 #a87400;color:#3a2a00;font:400 calc(var(--k)*1.3)/1 'PT Title','Jua',sans-serif}
#region-pick.rp3 .g3-re{padding:calc(var(--k)*.6) calc(var(--k)*1.1);border-radius:calc(var(--k)*.7);background:linear-gradient(180deg,#3a3a3f,#262629);border:calc(var(--k)*.15) solid #1a1a1c;box-shadow:inset 0 0 0 calc(var(--k)*.1) #6a6a70;color:#eee;font:400 calc(var(--k)*1.1)/1 'PT Title','Jua',sans-serif}
#region-pick.rp3 .g3-go:focus-visible,#region-pick.rp3 .g3-re:focus-visible{outline:calc(var(--k)*.2) solid #fff;outline-offset:calc(var(--k)*.15)}
#region-pick.rp3 .g3-hint{position:absolute;left:0;right:0;bottom:0;height:calc(var(--k)*2.2);margin:0;display:flex;align-items:center;justify-content:flex-end;padding-right:calc(var(--k)*2);font-size:calc(var(--k)*1.05);color:#ddd;background:linear-gradient(0deg,#000c,#0000);z-index:3}
#region-pick.rp3[data-size="m"] .g3-bar{height:calc(var(--k)*4)}
#region-pick.rp3[data-size="m"] .g3-row{top:calc(var(--k)*4.2);bottom:calc(var(--k)*1);left:calc(var(--k)*1.2);right:calc(var(--k)*1.2);gap:calc(var(--k)*.6)}
#region-pick.rp3[data-size="m"] .g3-hint{display:none}
#region-pick.rp3[data-size="m"] .g3-info{height:46%;padding:calc(var(--k)*.6)}
#region-pick.rp3[data-size="m"] .g3-chip,#region-pick.rp3[data-size="m"] .g3-hard,#region-pick.rp3[data-size="m"] .g3-sub,#region-pick.rp3[data-size="m"] .g3-mood,#region-pick.rp3[data-size="m"] .g3-re,#region-pick.rp3[data-size="m"] .g3-bar h2 small{font-size:calc(var(--k)*1.25)}
#region-pick.rp3[data-size="m"] .g3-top b{font-size:calc(var(--k)*2.4)}
#region-pick.rp3[data-size="m"] .g3-mood{display:none}
#region-pick.rp3[data-size="m"] .g3-back{font-size:calc(var(--k)*1.25)}
/* 04 11-07 로고 볼 불빛 2차(사용자): 가운데 흰 버튼 전체가 빛남 — 흔들림 = 노랑 #FFD84A + 계단식 반투명 빛무리(볼 지름 0.6배)·흔들릴 때마다 0.3초 깜빡임, 딸깍 = 파랑 #4FC3FF 크게 한 번 + 빛무리 퍼지며 사라짐, 대기 = 흰 버튼. 볼과 같이 기울게 볼 안에 둠 */
#title-cover #main-ab.mm2 .lc-btn{left:44.4%;top:61.2%;width:11.2%;height:11.2%;border-radius:22%;background:#FFD84A;opacity:0;box-shadow:none;transition:opacity .25s}
#title-cover #main-ab.mm2 .lc-glow{position:absolute;left:20%;top:36.8%;width:60%;height:60%;border-radius:50%;opacity:0;pointer-events:none;background:radial-gradient(circle,#FFD84Acc 0 20%,#FFD84A77 20% 42%,#FFD84A33 42% 66%,#0000 66%)}
#title-cover #main-ab.mm2 .lc-shake .lc-btn{opacity:1;animation:lc-btnblink .45s ease-in-out 3}
#title-cover #main-ab.mm2 .lc-shake .lc-glow{animation:lc-glowblink .45s ease-in-out 3}
@keyframes lc-btnblink{0%,100%{filter:brightness(.75)}35%{filter:brightness(1.35)}}
@keyframes lc-glowblink{0%,100%{opacity:.25}35%{opacity:1}75%{opacity:.4}}
#title-cover #main-ab.mm2 .lc-lock .lc-btn{opacity:1;background:#4FC3FF;animation:lc-btnflash .5s ease-out both}
#title-cover #main-ab.mm2 .lc-lock .lc-glow{background:radial-gradient(circle,#4FC3FFcc 0 20%,#4FC3FF77 20% 42%,#4FC3FF33 42% 66%,#0000 66%);animation:lc-glowburst .8s ease-out both}
@keyframes lc-btnflash{0%{transform:scale(1);filter:brightness(1)}25%{transform:scale(1.5);filter:brightness(1.6)}100%{transform:scale(1);filter:brightness(1)}}
@keyframes lc-glowburst{0%{opacity:1;transform:scale(.6)}60%{opacity:.8;transform:scale(1.7)}100%{opacity:0;transform:scale(2.1)}}
#title-cover #main-ab.mm2 .lc-rest .lc-btn{opacity:0;background:#4FC3FF;transition:opacity .6s ease-in}
#title-cover #main-ab.mm2.calm .lc-glow{display:none}
/* 04 11-07 로고 포획 볼 = 로고 원래 볼(떼어 낸 조각, 같은 자리·크기·픽셀 배율). 버튼 불빛은 이 볼의 흰 버튼(--bl·--bt·--bw·--bh), 빛무리 = 볼 지름 0.6배 */
#title-cover #main-ab.mm2 .lc-ball img{inset:0;width:100%;height:100%;object-fit:fill}
#title-cover #main-ab.mm2 .lc-ball{transform-origin:50% var(--oy,90%)}
#title-cover #main-ab.mm2 .lc-btn{left:var(--bl);top:var(--bt);width:var(--bw);height:var(--bh);border-radius:38%}
#title-cover #main-ab.mm2 .lc-glow{left:var(--gl);top:var(--gt);width:var(--gw);height:auto;aspect-ratio:1}
/* 로고 볼 빛 3차(관리자 기준): 버튼 원 안 = 노랑/파랑 채움(중심), 빛무리 = 버튼 중심과 같은 점·버튼 지름 2배까지 계단식 반투명, 딸깍 때도 1.25배까지만 */
#title-cover #main-ab.mm2 .lc-glow{background:radial-gradient(circle closest-side,#FFD84Acc 0 50%,#FFD84A80 50% 75%,#FFD84A3a 75% 100%,#0000 100%)}
#title-cover #main-ab.mm2 .lc-lock .lc-glow{background:radial-gradient(circle closest-side,#4FC3FFcc 0 50%,#4FC3FF80 50% 75%,#4FC3FF3a 75% 100%,#0000 100%);animation:lc-glowburst2 .8s ease-out both}
@keyframes lc-glowburst2{0%{opacity:1;transform:scale(.7)}50%{opacity:.9;transform:scale(1.25)}100%{opacity:0;transform:scale(1.25)}}
@keyframes lc-btnflash{0%{transform:scale(1);filter:brightness(1)}25%{transform:scale(1.2);filter:brightness(1.6)}100%{transform:scale(1);filter:brightness(1)}}
#title-cover #main-ab.mm2 .mm2-logo.lc-busy::after{animation:none;opacity:0} /* 포획 연출 동안 반짝 줄 멈춤 */
/* ===== 관리자 11-10(사용자 결정) #9 포켓몬 정보(9C + 9A 장비 추천) · #11 장비 칸 가방(PC 11A 오른쪽 팝업 · 모바일 11B 아래 패널) — 차콜 #262423 · 노랑 #FFC93C, 상자 최소 ===== */
#party-info,#gear-pop{--pi-bg:#262423;--pi-bg2:#1c1b1a;--pi-ln:#3d3a37;--pi-hi:#4a4642;--pi-y:#FFC93C;--pi-dim:#ABAAB3;--pi-ok:#7be08f;--pi-need:#ff9a76;color:#F3F1EA;font-family:var(--font-body,'PT Read',sans-serif)}
#party-info *,#gear-pop *{box-sizing:border-box}
#party-info{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px;background:rgba(8,8,8,.55)}
#party-info[hidden],#gear-pop[hidden]{display:none!important}
#party-info.with-bag{padding-right:400px}
#party-info .pi-pn{width:min(1240px,100%);height:min(760px,100%);display:flex;flex-direction:column;background:var(--pi-bg);border:1px solid var(--pi-ln);border-top-color:var(--pi-hi);border-radius:14px;box-shadow:0 18px 50px #000a;overflow:hidden}
#party-info button{font:inherit;color:inherit;cursor:pointer}
#party-info .pi-hd{flex:none;display:flex;align-items:center;gap:14px;height:60px;padding:0 20px;border-bottom:1px solid var(--pi-ln)}
#party-info .pi-hd h2{margin:0;font:700 24px/1 var(--font-head,sans-serif);letter-spacing:.02em}
#party-info .pi-top,#party-info .pi-tabs{display:flex;gap:6px}
#party-info .pi-top button,#party-info .pi-tabs button{border:0;font:700 15px/1 var(--font-head,sans-serif);padding:9px 14px;border-radius:8px;color:var(--pi-dim);background:#ffffff08}
#party-info .pi-top button.on,#party-info .pi-tabs button[aria-selected=true]{background:var(--pi-y);color:#1a1408}
#party-info .pi-top button:not(.on):hover,#party-info .pi-tabs button[aria-selected=false]:hover{background:#ffffff14;color:#F3F1EA}
#party-info .pi-foe{display:flex;align-items:center;gap:4px;margin-left:18px}
#party-info .pi-foe small{font:700 13px/1 var(--font-head,sans-serif);color:var(--pi-dim);margin-right:6px}
#party-info .pi-foe-img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}
#party-info .pi-x{margin-left:auto;width:36px;height:36px;border:0;border-radius:8px;background:#ffffff0d;color:var(--pi-dim);font:700 18px/1 sans-serif}
#party-info .pi-x:hover{background:#ffffff1f;color:#fff}
#party-info .pi-main{flex:1;min-height:0;display:grid;grid-template-columns:clamp(280px,42%,520px) minmax(0,1fr)}
#party-info .pi-hero{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px 56px;border-right:1px solid var(--pi-ln);background:radial-gradient(circle at 50% 46%,#ffc93c1f,transparent 60%)}
#party-info .pi-nav{position:absolute;top:calc(50% - 26px);width:44px;height:52px;border:0;background:none;color:var(--pi-y);font:700 34px/1 sans-serif}
#party-info .pi-nav.prev{left:8px}#party-info .pi-nav.next{right:8px}
#party-info .pi-nav:disabled{opacity:.25;cursor:default}
#party-info .pi-nav:not(:disabled):hover{transform:scale(1.12)}
#party-info .pi-art{width:min(320px,78%);aspect-ratio:1;display:grid;place-items:center}
#party-info .pi-big{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#party-info .pi-hero h3{margin:4px 0 0;font:700 36px/1.15 var(--font-head,sans-serif);text-align:center}
#party-info .pi-sub{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
#party-info .pi-sub small{color:var(--pi-dim);font-size:14px}
#party-info .pi-grade{color:var(--pi-y)}
#party-info .pi-ty{display:inline-flex;gap:4px}
#party-info .pi-ty i{font-style:normal;font:700 13px/1 var(--font-head,sans-serif);padding:5px 8px;border-radius:5px;background:color-mix(in srgb,var(--tc) 38%,#0000);border:1px solid color-mix(in srgb,var(--tc) 70%,#0000)}
#party-info .pi-team{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}
#party-info .pi-team button{width:52px;height:52px;padding:2px;border:0;border-radius:50%;background:#ffffff0d;opacity:.6}
#party-info .pi-team button.is-bench{outline:1px dashed #ffffff40;outline-offset:-1px}
#party-info .pi-team button.on{opacity:1;outline:2px solid var(--pi-y);outline-offset:0;background:#ffc93c1a}
#party-info .pi-team button:hover{opacity:1}
#party-info .pi-dot{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#party-info .pi-count{color:var(--pi-dim);font-size:13px;margin-top:2px}
#party-info .pi-right{min-width:0;min-height:0;display:flex;flex-direction:column;gap:14px;padding:22px 24px}
#party-info .pi-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
#party-info .pi-hp{display:grid;grid-template-columns:auto 1fr;gap:8px;font:700 15px/1 var(--font-head,sans-serif)}
#party-info .pi-hp b{text-align:right}
#party-info .pi-hp i{grid-column:1/-1;display:block;height:10px;border-radius:5px;background:#ffffff14;overflow:hidden}
#party-info .pi-hp em{display:block;height:100%;background:linear-gradient(90deg,#3ecf6a,#7be08f)}
#party-info .pi-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#party-info .pi-stats div{display:flex;align-items:baseline;justify-content:space-between;padding:10px 12px;border-radius:8px;background:#ffffff08}
#party-info .pi-stats em{font-style:normal;color:var(--pi-dim);font-size:15px}
#party-info .pi-stats b{font:700 22px/1 var(--font-head,sans-serif)}
#party-info .pi-sk{padding:12px 14px;border-radius:10px;background:#ffffff08;border-left:4px solid var(--c,#7ec8ff)}
#party-info .pi-sk[data-kind=ultimate]{--c:#ff8a65}
#party-info .pi-sk h4{margin:0 0 6px;display:flex;align-items:center;gap:8px;font:700 18px/1.1 var(--font-head,sans-serif)}
#party-info .pi-sk h4 small{font:700 12px/1 var(--font-head,sans-serif);color:var(--c,#7ec8ff);letter-spacing:.06em}
#party-info .pi-sk h4 span{margin-left:auto;font:600 13px/1 var(--font-body,sans-serif);color:var(--pi-dim)}
#party-info .pi-sk p{margin:0;font-size:15px;line-height:1.45;color:#d9d6cf}
#party-info .pi-sk .us-fx{vertical-align:-3px;margin-right:4px}
#party-info h4{margin:0 0 8px;font:700 13px/1 var(--font-head,sans-serif);color:var(--pi-dim);letter-spacing:.08em}
#party-info h4 small{font-weight:400}
#party-info .pi-gear{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:start}
#party-info .pi-slots{display:flex;gap:10px}
#party-info .pi-slot{width:64px;height:64px;padding:0;border-radius:12px;border:2px dashed #ffffff33;background:#ffffff05;display:grid;place-items:center;color:#ffffff66;font:700 26px/1 sans-serif}
#party-info .pi-slot.full{border:1px solid var(--pi-ln);background:var(--pi-bg2)}
#party-info .pi-slot:not(:disabled):hover{border-color:var(--pi-y);color:var(--pi-y)}
#party-info .pi-slot.on{border:2px solid var(--pi-y);color:var(--pi-y);background:#ffc93c14;box-shadow:0 0 0 3px #ffc93c26}
#party-info .pi-slot:disabled{cursor:default;opacity:.6}
#party-info .pi-slot .gear-icon,#gear-pop .gear-icon{position:relative;display:grid;place-items:center;width:44px;height:44px}
#party-info .pi-slot .gear-icon img,#gear-pop .gear-icon img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#party-info .gear-icon small,#gear-pop .gear-icon small{display:none}
#party-info .pi-hint{margin:8px 0 0;font-size:15px;color:var(--pi-dim);line-height:1.4}
#party-info .pi-hint b{color:var(--pi-y)}
#party-info .pi-adv .ga-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:1px 10px;align-items:center;margin:0 0 6px;padding:7px 10px;border-radius:8px;background:#ffffff06;border:1px solid transparent}
#party-info .pi-adv .ga-row .gear-icon{grid-row:span 2;width:36px;height:36px}
#party-info .pi-adv .ga-row b{font:700 16px/1.1 var(--font-head,sans-serif);display:flex;align-items:center;gap:8px}
#party-info .pi-adv .ga-row b em{font-style:normal;font:700 11px/1 var(--font-head,sans-serif);padding:3px 6px;border-radius:5px;background:#3ecf6a2e;color:var(--pi-ok)}
#party-info .pi-adv .ga-row small{color:var(--pi-dim);font-size:13px;line-height:1.3}
#party-info .pi-adv .ga-row small span.own{color:var(--pi-ok)}
#party-info .pi-adv .ga-row.now{border-color:#3ecf6a66;cursor:pointer}
#party-info .pi-adv .ga-row.now:is(:hover,:focus-visible){background:#3ecf6a14;outline:none;border-color:var(--pi-ok)}
#party-info .pi-gear.big .pi-slot{width:84px;height:84px}
#party-info .pi-gear.big .pi-slot .gear-icon{width:58px;height:58px}
#party-info .pi-tech .us-tab-body,#party-info .pi-evo .us-tab-body{display:flex;flex-direction:column;gap:10px}
#party-info .pi-tech .us-tech{padding:12px 14px;border-radius:10px;background:#ffffff08;border-left:4px solid #7ec8ff}
#party-info .pi-tech .us-tech[data-kind=ultimate]{border-left-color:#ff8a65}
#party-info .pi-tech .us-tech[data-kind=basic]{border-left-color:#ABAAB3}
#party-info .pi-tech h5{margin:0 0 6px;font:700 17px/1.2 var(--font-head,sans-serif)}
#party-info .pi-tech h5 small{color:var(--pi-dim);font-weight:400;font-size:13px}
#party-info .pi-tech p{margin:4px 0 0;font-size:15px;line-height:1.45;color:#d9d6cf}
#party-info .pi-tech .us-kv{display:flex;flex-wrap:wrap;gap:6px 16px}
#party-info .pi-tech .us-kv em{font-style:normal;color:var(--pi-dim);margin-right:6px}
#party-info .pi-evo .us-evo{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px;border-radius:10px;background:#ffffff06}
#party-info .pi-evo .us-evo span{display:flex;flex-direction:column;align-items:center;gap:4px}
#party-info .pi-evo .us-evo img{width:110px;height:110px;object-fit:contain;image-rendering:pixelated}
#party-info .pi-evo .us-evo b{font:700 16px/1 var(--font-head,sans-serif)}
#party-info .pi-evo .us-evo i{font-style:normal;color:var(--pi-y);font-size:20px}
#party-info .pi-evo .us-growth{margin:0;font-size:15px;color:#d9d6cf;line-height:1.45}
/* 휴대폰(가로 844×390): 같은 구조를 줄임 — 왼쪽 도트 판 좁게, 오른쪽은 스크롤 */
#party-info.mob{padding:6px}
#party-info.mob .pi-pn{width:100%;height:100%;border-radius:10px}
#party-info.mob .pi-hd{height:40px;padding:0 10px;gap:8px}
#party-info.mob .pi-hd h2{font-size:17px}
#party-info.mob .pi-top button,#party-info.mob .pi-tabs button{font-size:12px;padding:6px 9px}
#party-info.mob .pi-x{width:30px;height:30px;font-size:15px}
#party-info.mob .pi-main{grid-template-columns:230px minmax(0,1fr)}
#party-info.mob .pi-hero{padding:6px 34px;gap:2px}
#party-info.mob .pi-nav{width:30px;height:40px;font-size:22px;top:calc(50% - 20px)}
#party-info.mob .pi-nav.prev{left:2px}#party-info.mob .pi-nav.next{right:2px}
#party-info.mob .pi-art{width:min(120px,80%)}
#party-info.mob .pi-hero h3{font-size:18px}
#party-info.mob .pi-sub small{font-size:11px}
#party-info.mob .pi-ty i{font-size:10px;padding:3px 5px}
#party-info.mob .pi-team{margin-top:6px;gap:4px}
#party-info.mob .pi-team button{width:32px;height:32px}
#party-info.mob .pi-count{font-size:11px}
#party-info.mob .pi-right{padding:8px 10px;gap:6px}
#party-info.mob .pi-body{gap:6px}
#party-info.mob .pi-hp{font-size:12px;gap:4px}
#party-info.mob .pi-hp i{height:7px}
#party-info.mob .pi-stats{grid-template-columns:repeat(4,1fr);gap:4px}
#party-info.mob .pi-stats div{padding:5px 7px;flex-direction:column;align-items:flex-start;gap:2px}
#party-info.mob .pi-stats em{font-size:11px}
#party-info.mob .pi-stats b{font-size:15px}
#party-info.mob .pi-sk{padding:6px 9px}
#party-info.mob .pi-sk h4{font-size:14px;margin-bottom:3px}
#party-info.mob .pi-sk p{font-size:12px;line-height:1.35}
#party-info.mob h4{font-size:11px;margin-bottom:4px}
#party-info.mob .pi-gear{gap:10px}
#party-info.mob .pi-slot{width:44px;height:44px;font-size:18px}
#party-info.mob .pi-slot .gear-icon{width:32px;height:32px}
#party-info.mob .pi-hint{font-size:11px;margin-top:4px}
#party-info.mob .pi-adv .ga-row{grid-template-columns:26px minmax(0,1fr);padding:4px 6px;margin-bottom:3px}
#party-info.mob .pi-adv .ga-row .gear-icon{width:26px;height:26px}
#party-info.mob .pi-adv .ga-row b{font-size:12px}
#party-info.mob .pi-adv .ga-row small{font-size:10px}
#party-info.mob .pi-tech h5{font-size:13px}#party-info.mob .pi-tech p{font-size:12px}
#party-info.mob .pi-evo .us-evo img{width:64px;height:64px}
/* #11 가방 팝업(PC): 시안 11A 400px → 360px(10% 작게), 4×2 그대로, 설명 글자 크게, 끼우기 = 노랑 · 조합 = 초록 */
#gear-pop{position:fixed;z-index:130;width:360px;padding:14px;background:var(--pi-bg);border:1px solid var(--pi-ln);border-top-color:var(--pi-hi);border-radius:14px;box-shadow:0 18px 50px #000b}
#gear-pop button{font:inherit;color:inherit;cursor:pointer}
#gear-pop .gp-hd{display:flex;align-items:center;gap:10px;margin-bottom:10px}
#gear-pop .gp-hd b{font:700 19px/1 var(--font-head,sans-serif);white-space:nowrap}
#gear-pop .gp-hd small{color:var(--pi-dim);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gear-pop .gp-x{margin-left:auto;flex:none;width:30px;height:30px;border:0;border-radius:8px;background:#ffffff0d;color:var(--pi-dim);font:700 15px/1 sans-serif}
#gear-pop .gp-x:hover{background:#ffffff1f;color:#fff}
#gear-pop .gp-lbl{font:700 13px/1 var(--font-head,sans-serif);color:var(--pi-dim);letter-spacing:.08em;margin:0 0 7px}
#gear-pop .gp-bag{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
#gear-pop .gp-b{position:relative;aspect-ratio:1;padding:0;border-radius:10px;background:#ffffff08;border:1px solid var(--pi-ln);display:grid;place-items:center}
#gear-pop .gp-b .gear-icon{width:58%;height:58%;margin-top:-10px}
#gear-pop .gp-b small{position:absolute;left:2px;right:2px;bottom:4px;text-align:center;font:600 11px/1 var(--font-body,sans-serif);color:#d9d6cf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gear-pop button.gp-b:hover{border-color:#ffc93c88}
#gear-pop .gp-b.pick{border:2px solid var(--pi-y);background:#ffc93c12}
#gear-pop .gp-b.empty{background:#ffffff04;border-style:dashed;border-color:#ffffff14}
#gear-pop .gp-info{margin-top:12px;padding:12px 14px;border-radius:10px;background:var(--pi-bg2);border:1px solid var(--pi-ln)}
#gear-pop .gp-it{display:flex;align-items:center;gap:10px}
#gear-pop .gp-it .gear-icon{width:40px;height:40px}
#gear-pop .gp-it b{display:block;font:700 19px/1.1 var(--font-head,sans-serif)}
#gear-pop .gp-it>div>span{font-size:13px;color:var(--pi-dim)}
#gear-pop .gp-stat{margin:8px 0 0;font:700 17px/1.4 var(--font-body,sans-serif);color:var(--pi-y)}
#gear-pop .gp-combo{margin-top:10px;padding:10px 12px;border-radius:10px;background:#ffffff06;border:1px solid transparent}
#gear-pop .gp-combo.ready{border-color:#3ecf6a55}
#gear-pop .gp-ch{display:flex;align-items:center;gap:8px;margin-bottom:8px}
#gear-pop .gp-ch>b{font:700 14px/1 var(--font-head,sans-serif)}
#gear-pop .gp-nav{display:inline-flex;align-items:center;gap:2px}
#gear-pop .gp-nav button{width:24px;height:24px;border:0;border-radius:6px;background:#ffffff0d;color:var(--pi-y);font:700 16px/1 sans-serif}
#gear-pop .gp-nav small{font-size:12px;color:var(--pi-dim);min-width:34px;text-align:center}
#gear-pop .gp-ok{margin-left:auto;font-style:normal;font:700 12px/1 var(--font-head,sans-serif);padding:5px 8px;border-radius:999px;background:#3ecf6a26;color:var(--pi-ok);white-space:nowrap}
#gear-pop .gp-eq3{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px}
#gear-pop .gp-eq3>i{font-style:normal;color:var(--pi-dim);font:700 16px/1 sans-serif}
#gear-pop .gp-c{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;border-radius:10px;background:var(--pi-bg2);border:1px solid var(--pi-ln);min-width:0}
#gear-pop .gp-c .gear-icon{width:34px;height:34px}
#gear-pop .gp-c b{font:700 13px/1.1 var(--font-head,sans-serif);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gear-pop .gp-c small{font:700 11px/1 var(--font-body,sans-serif)}
#gear-pop .gp-c.have small{color:var(--pi-ok)}
#gear-pop .gp-c.need{border-style:dashed;border-color:#ff9a7666}
#gear-pop .gp-c.need small{color:var(--pi-need)}
#gear-pop .gp-c.need .gear-icon{opacity:.55}
#gear-pop .gp-c.out{border-color:#ffc93c66}
#gear-pop .gp-c.out small{color:var(--pi-y)}
#gear-pop .gp-res{margin:8px 0 0;font-size:14px;line-height:1.4;color:#d9d6cf}
#gear-pop .gp-res em{font-style:normal;color:var(--pi-y)}
#gear-pop .gp-note{margin:8px 0 0;font-size:14px;color:var(--pi-dim)}
#gear-pop .gp-empty{margin-top:12px;padding:14px;border-radius:10px;background:var(--pi-bg2);border:1px solid var(--pi-ln);text-align:center}
#gear-pop .gp-empty b{font:700 18px/1.3 var(--font-head,sans-serif)}
#gear-pop .gp-empty p{margin:6px 0 0;font-size:14px;line-height:1.45;color:var(--pi-dim)}
#gear-pop .gp-empty p b{font-size:14px;color:var(--pi-y)}
#gear-pop .pi-adv{margin-top:12px}
#gear-pop .pi-adv h4{margin:0 0 7px;font:700 13px/1 var(--font-head,sans-serif);color:var(--pi-dim);letter-spacing:.08em}
#gear-pop .pi-adv h4 small{font-weight:400}
#gear-pop .pi-adv .ga-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:1px 8px;align-items:center;margin:0 0 5px;padding:6px 8px;border-radius:8px;background:#ffffff06}
#gear-pop .pi-adv .ga-row .gear-icon{grid-row:span 2;width:30px;height:30px}
#gear-pop .pi-adv .ga-row b{font:700 14px/1.1 var(--font-head,sans-serif)}
#gear-pop .pi-adv .ga-row b em{display:none}
#gear-pop .pi-adv .ga-row small{font-size:12px;color:var(--pi-dim)}
#gear-pop .pi-adv .ga-row small span.own{color:var(--pi-ok)}
#gear-pop .gp-act{display:flex;gap:8px;margin-top:12px}
#gear-pop .gp-put,#gear-pop .gp-mk{height:44px;padding:0 16px;border:0;border-radius:10px;font:700 16px/1 var(--font-head,sans-serif)}
#gear-pop .gp-put{flex:1;background:var(--pi-y);color:#1a1408!important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gear-pop .gp-mk{flex:none;min-width:92px;background:#3ecf6a;color:#0d1f12!important}
#gear-pop .gp-put:not(:disabled):hover,#gear-pop .gp-mk:not(:disabled):hover{filter:brightness(1.1)}
#gear-pop .gp-put:disabled,#gear-pop .gp-mk:disabled{background:#ffffff14;color:#8a8780!important;cursor:default}
#gear-pop .gp-ar{position:absolute;width:0;height:0;border:12px solid transparent}
#gear-pop .gp-ar[data-side=l]{right:-24px;border-left-color:var(--pi-ln)}
#gear-pop .gp-ar[data-side=r]{left:-24px;border-right-color:var(--pi-ln)}
#gear-pop .gp-ar[hidden]{display:none}
#unit-side .us-slot.gp-on{outline:3px solid #FFC93C!important;outline-offset:2px}
/* #11 휴대폰(11B 방향): 화면 아래 간결한 패널 — 포켓몬·3칸 | 가방 4×2 | 설명·조합·단추 */
#gear-pop.mob{left:6px!important;right:6px;top:auto!important;bottom:6px;width:auto;padding:8px 10px;border-radius:12px}
#gear-pop.mob .gp-grid{display:grid;grid-template-columns:84px 176px minmax(0,1fr);gap:10px;align-items:start}
#gear-pop.mob .gp-unit{display:flex;flex-direction:column;align-items:center;gap:2px;padding-top:2px}
#gear-pop.mob .gp-dot{width:52px;height:52px;object-fit:contain;image-rendering:pixelated}
#gear-pop.mob .gp-unit>b{font:700 12px/1.1 var(--font-head,sans-serif);text-align:center}
#gear-pop.mob .gp-us{display:flex;gap:3px;margin-top:3px}
#gear-pop.mob .gp-us span{width:24px;height:24px;border-radius:6px;border:1px dashed #ffffff33;display:grid;place-items:center;font:700 12px/1 sans-serif;color:#ffffff66}
#gear-pop.mob .gp-us span.full{border:1px solid var(--pi-ln);background:var(--pi-bg2)}
#gear-pop.mob .gp-us span.on{border:2px solid var(--pi-y);color:var(--pi-y)}
#gear-pop.mob .gp-us .gear-icon{width:18px;height:18px}
#gear-pop.mob .gp-hd{margin-bottom:5px;gap:6px}
#gear-pop.mob .gp-hd b{font-size:14px}
#gear-pop.mob .gp-hd small{font-size:11px}
#gear-pop.mob .gp-x{width:24px;height:24px;font-size:12px}
#gear-pop.mob .gp-lbl{font-size:10px;margin-bottom:4px}
#gear-pop.mob .gp-bag{gap:4px}
#gear-pop.mob .gp-b{border-radius:7px}
#gear-pop.mob .gp-b .gear-icon{width:62%;height:62%;margin-top:0}
#gear-pop.mob .gp-b small{display:none}
#gear-pop.mob .gp-r{display:flex;flex-direction:column;gap:5px;min-width:0}
#gear-pop.mob .gp-info{margin:0;padding:5px 8px;display:flex;align-items:center;gap:8px}
#gear-pop.mob .gp-it .gear-icon{width:24px;height:24px}
#gear-pop.mob .gp-it b{font-size:13px;display:inline}
#gear-pop.mob .gp-it>div>span{display:none}
#gear-pop.mob .gp-stat{margin:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gear-pop.mob .gp-combo{margin:0;padding:5px 8px}
#gear-pop.mob .gp-ch{margin-bottom:4px}
#gear-pop.mob .gp-ch>b{font-size:11px}
#gear-pop.mob .gp-nav button{width:20px;height:20px;font-size:13px}
#gear-pop.mob .gp-nav small{font-size:10px;min-width:26px}
#gear-pop.mob .gp-ok{font-size:10px;padding:3px 6px}
#gear-pop.mob .gp-c{flex-direction:row;gap:4px;padding:3px 5px;justify-content:center}
#gear-pop.mob .gp-c .gear-icon{width:20px;height:20px;flex:none}
#gear-pop.mob .gp-c b{font-size:11px}
#gear-pop.mob .gp-c small{font-size:9px}
#gear-pop.mob .gp-res{display:none}
#gear-pop.mob .gp-act{margin:0;gap:6px}
#gear-pop.mob .gp-put,#gear-pop.mob .gp-mk{height:32px;font-size:13px;padding:0 10px}
#gear-pop.mob .gp-mk{min-width:64px}
#gear-pop.mob .gp-empty{margin:0;padding:8px}
#gear-pop.mob .gp-empty b{font-size:14px}
#gear-pop.mob .gp-empty p{font-size:11px}
#gear-pop.mob .gp-note{margin:0;font-size:11px}
#gear-pop.mob .gp-ar{display:none}
/* 관리자 11-10 추가(사용자 지시 '일반 프로그램 팝업 같음 → 더 세련되게'): 가방 창만 짙은 네이비(사용자 지정) · 고른 칸 은은한 금 테두리 · 아이콘·설명 크게 · 단추 높이·간격 통일(색 구분 그대로) */
#gear-pop{--pi-bg:#13223b;--pi-bg2:#0d1829;--pi-ln:#24395c;--pi-hi:#3b5682;--pi-gold:#d9b660;background:linear-gradient(180deg,#182a47 0%,#12203a 55%,#0f1b31 100%);border:1px solid #2a4168;border-top-color:#41618f;box-shadow:0 22px 56px #020812cc,inset 0 1px 0 #ffffff12}
#gear-pop .gp-hd{padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #ffffff12}
#gear-pop .gp-x{background:#ffffff0f}
#gear-pop .gp-lbl{color:#9fb0cc}
#gear-pop .gp-b{background:#0b1626;border-color:#22375a;transition:border-color .15s,box-shadow .15s}
#gear-pop .gp-b .gear-icon{width:66%;height:66%}
#gear-pop button.gp-b:hover{border-color:#d9b66088}
#gear-pop .gp-b.pick{border:2px solid var(--pi-gold);background:radial-gradient(circle at 50% 40%,#d9b6601c,#0b1626 72%);box-shadow:0 0 0 3px #d9b6601f,0 0 14px #d9b66033}
#gear-pop .gp-b.empty{background:#0b162680;border-color:#ffffff10}
#gear-pop .gp-info{background:#0b1626;border-color:#22375a;padding:14px 16px}
#gear-pop .gp-it{gap:12px}
#gear-pop .gp-it .gear-icon{width:52px;height:52px;padding:4px;border-radius:10px;background:#d9b66014;box-shadow:inset 0 0 0 1px #d9b66055}
#gear-pop .gp-it b{font-size:21px}
#gear-pop .gp-it>div>span{font-size:14px;color:#9fb0cc}
#gear-pop .gp-stat{font-size:18px;color:#f3d88a}
#gear-pop .gp-combo{background:#0b162699;border-color:#22375a}
#gear-pop .gp-combo.ready{border-color:#3ecf6a59}
#gear-pop .gp-c{background:#0d1a2e;border-color:#25395a}
#gear-pop .gp-c .gear-icon{width:38px;height:38px}
#gear-pop .gp-c.out{border-color:#d9b66080}
#gear-pop .gp-c.out small{color:var(--pi-gold)}
#gear-pop .gp-res{color:#c9d3e4}
#gear-pop .gp-empty{background:#0b1626;border-color:#22375a}
#gear-pop .pi-adv .ga-row{background:#ffffff08}
#gear-pop .gp-act{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;margin-top:14px}
#gear-pop .gp-act>:only-child{grid-column:1/-1}
#gear-pop .gp-put,#gear-pop .gp-mk{height:46px;min-width:0;padding:0 14px;border-radius:10px;font-size:16px;box-shadow:inset 0 -2px 0 #0000002e}
#gear-pop .gp-put:disabled,#gear-pop .gp-mk:disabled{background:#ffffff12;color:#7f8aa0!important;box-shadow:none}
#gear-pop .gp-ar[data-side=l]{border-left-color:#2a4168}
#gear-pop .gp-ar[data-side=r]{border-right-color:#2a4168}
#gear-pop.mob .gp-b .gear-icon{width:66%;height:66%}
#gear-pop.mob .gp-it .gear-icon{width:28px;height:28px;padding:2px}
#gear-pop.mob .gp-it b{font-size:14px}
#gear-pop.mob .gp-stat{font-size:14px}
#gear-pop.mob .gp-act{grid-template-columns:minmax(0,1fr) 80px;gap:8px}
#gear-pop.mob .gp-put,#gear-pop.mob .gp-mk{height:34px;font-size:13px}
#gear-pop.mob .gp-c .gear-icon{width:20px;height:20px}
/* 관리자 11-10(사용자 '추천대로'): 가방 칸 안 장비 도트(32px 원본)가 작게 보임 → 정수배 한 단계(2배 = 64px, 칸 높이의 약 70~75%). 이름은 그림 아래로.
   PC 가방 칸·고른 아이템 그림·조합 줄·정보 창 장비 칸 = 2배, 휴대폰 아래 패널 = 1배(40px 칸의 80%)·조합 줄 1배 */
#gear-pop .gp-b{aspect-ratio:auto;height:90px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:5px 2px 0}
#gear-pop .gp-b.empty{height:90px}
#gear-pop .gp-b .gear-icon{width:64px;height:64px;margin:0}
#gear-pop .gp-b small{position:static;margin-top:2px;font-size:12px}
#gear-pop :is(.gp-b,.gp-it,.gp-c) .gear-icon img.item-art{width:64px!important;height:64px!important;max-width:none!important;max-height:none!important;image-rendering:pixelated}
#gear-pop .gp-it .gear-icon{width:64px;height:64px;padding:0}
#gear-pop .gp-c .gear-icon{width:64px;height:64px}
#party-info .pi-slot{width:80px;height:80px}
#party-info .pi-gear.big .pi-slot{width:88px;height:88px}
#party-info .pi-slot .gear-icon,#party-info .pi-gear.big .pi-slot .gear-icon{width:64px;height:64px}
#party-info .pi-slot .gear-icon img.item-art{width:64px!important;height:64px!important;max-width:none!important;max-height:none!important;image-rendering:pixelated}
/* 휴대폰 아래 패널: 1배(32px) 그대로 칸을 채우게 */
#gear-pop.mob .gp-b{height:auto;aspect-ratio:1;padding:0;justify-content:center}
#gear-pop.mob .gp-b .gear-icon,#gear-pop.mob .gp-it .gear-icon,#gear-pop.mob .gp-c .gear-icon{width:32px;height:32px;padding:0}
#gear-pop.mob :is(.gp-b,.gp-it,.gp-c) .gear-icon img.item-art{width:32px!important;height:32px!important}
#gear-pop.mob .gp-c{padding:1px 5px}
#party-info.mob .pi-slot{width:44px;height:44px}
#party-info.mob .pi-slot .gear-icon{width:32px;height:32px}
#party-info.mob .pi-slot .gear-icon img.item-art{width:32px!important;height:32px!important}
/* 관리자 11-10(사용자 '추천이 포켓몬을 잘라먹음'·'모바일은 테두리 안에 안 들어감'·2차 '추천이 가격을 가림'): 노랑 '추천' 표시 자리.
   PC 세로 카드 = 이름 줄 바로 위 오른쪽(그림 칸 아래·가격 위, 도트·가격·i 단추와 안 겹침). 휴대폰 가로 줄(198×44) = 이름 바로 옆 작은 금 별(★, 글자 대신 · 읽기 글은 '추천'), 칸 안 5px 이상(특별 테두리와 안 겹침). 누르면 추천 이유(기존 그대로) */
html body:is(.tft1,.tft1m) #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge{left:auto!important;top:auto!important;right:6px!important;bottom:35px!important;transform:none!important;width:auto!important;height:17px!important;min-width:0!important;min-height:0!important;padding:0 7px!important;margin:0!important;border-radius:9px!important;font-size:11px!important;line-height:17px!important;z-index:7!important}
html body:is(.tft1,.tft1m) #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge>span{font-size:inherit!important;line-height:inherit!important}
html body.tft1m #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge{left:104px!important;right:auto!important;top:7px!important;bottom:auto!important;width:14px!important;height:14px!important;padding:0!important;border-radius:50%!important;font-size:0!important;line-height:14px!important;text-align:center!important}
html body.tft1m #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge>span{font-size:0!important}
html body.tft1m #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge::after{content:"★";font-size:10px;line-height:14px;display:block}
/* ===== 관리자 11-10 상점 8·12코 특별 칸 시안(?shopfx=a 차분 · b 화려). 칸 안·테두리에서만, 크기·배치 그대로 ===== */
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card:is([data-t1c="8"],[data-t1c="12"]){isolation:isolate}
#shop-cards .shop-card>:is(.sfx,.sfx-top){position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden;font-style:normal}
#shop-cards .shop-card>.sfx{z-index:-1}
#shop-cards .shop-card>.sfx-top{z-index:6}
#shop-cards .shop-card>:is(.sfx,.sfx-top) b{position:absolute;display:block;pointer-events:none}
/* 테두리 고리: 마스크로 테두리 폭만 보이고, 안의 큰 원판(conic)이 돈다 = 빛이 테두리를 따라 한 바퀴 */
#shop-cards .sfx-ring{inset:0;border-radius:inherit;padding:var(--sfx-w,3px);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);overflow:hidden;background:var(--sfx-base,#0000)}
#shop-cards .sfx-ring::before{content:"";position:absolute;left:50%;top:50%;width:170%;aspect-ratio:1;translate:-50% -50%;background:var(--sfx-cone);animation:sfx-spin var(--sfx-spd,3s) linear infinite;animation-delay:var(--sfx-d,0ms)}
@keyframes sfx-spin{to{rotate:360deg}}
@keyframes sfx-breath{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes sfx-tw{0%,100%{opacity:0;scale:.3}45%{opacity:1;scale:1}60%{opacity:.9;scale:.8}}
@keyframes sfx-ember{0%{opacity:0;translate:0 0}15%{opacity:1}100%{opacity:0;translate:var(--dx,4px) -90px}}
@keyframes sfx-sweep{0%{left:-60%;opacity:0}12%{opacity:1}100%{left:130%;opacity:0}}
@keyframes sfx-flash{0%{opacity:0}18%{opacity:var(--sfx-fl,.5)}100%{opacity:0}}
@keyframes sfx-drift{0%{background-position:0 0,0% 50%}100%{background-position:0 0,200% 50%}}
#shop-cards .sfx-sweep{top:-20%;bottom:-20%;left:-60%;width:42%;opacity:0;transform:skewX(-18deg);background:linear-gradient(90deg,#fff0,#ffffff70 40%,#fff 50%,#ffffff70 60%,#fff0)}
#shop-cards .shop-card.sfx-in .sfx-sweep{animation:sfx-sweep .95s cubic-bezier(.3,.6,.4,1) 1 both;animation-delay:calc(var(--sfx-in-d,0ms) + 120ms)}
#shop-cards .shop-card.sfx-in>.sfx-top::after{content:"";position:absolute;inset:0;background:var(--sfx-flc,#fff);opacity:0;animation:sfx-flash .7s ease-out 1 both;animation-delay:var(--sfx-in-d,0ms)}
/* --- 8코(빨강) --- */
body.shopfx-a #shop-cards .shop-card[data-t1c="8"]{--sfx-w:3px;--sfx-spd:3.2s;--sfx-base:#c4302a66;--sfx-cone:conic-gradient(from 0deg,#0000 0 64%,#ff5544 74%,#fff1e6 80%,#ff5544 86%,#0000 95%);--sfx-fl:.35;--sfx-flc:#ffd9d2}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"]{--sfx-w:4px;--sfx-spd:2.2s;--sfx-base:#d8352c88;--sfx-cone:conic-gradient(from 0deg,#0000 0 18%,#ff6a50 26%,#fff 31%,#ff6a50 36%,#0000 45% 68%,#ff6a50 76%,#fff 81%,#ff6a50 86%,#0000 95%);--sfx-fl:.6;--sfx-flc:#fff1ec}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="8"] .sfx-halo{inset:0;border-radius:inherit;box-shadow:inset 0 0 14px 2px #ff3b2e99;animation:sfx-breath 2.6s ease-in-out infinite;animation-delay:var(--sfx-d,0ms)}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-halo{box-shadow:inset 0 0 20px 4px #ff4a32cc,inset 0 0 4px 1px #ffd0c4aa;animation-duration:1.8s}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="8"] .sfx-glow{left:50%;top:40%;width:70%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,#ff5a4a55,#ff5a4a00 70%);animation:sfx-breath 2.6s ease-in-out infinite;animation-delay:var(--sfx-d,0ms)}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-sp{bottom:22%;width:4px;height:4px;border-radius:50%;background:#ffb35c;box-shadow:0 0 6px 2px #ff6a3a;opacity:0;animation:sfx-ember 2.4s ease-out infinite}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-sp:nth-of-type(3){left:22%;--dx:-6px;animation-delay:calc(var(--sfx-d,0ms) - .3s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-sp:nth-of-type(4){left:56%;--dx:5px;animation-delay:calc(var(--sfx-d,0ms) - 1.1s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-sp:nth-of-type(5){left:80%;--dx:-3px;animation-delay:calc(var(--sfx-d,0ms) - 1.8s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="8"] .sfx-sweep{background:linear-gradient(90deg,#fff0,#ffb0a070 40%,#fff 50%,#ffb0a070 60%,#fff0)}
/* --- 12코(홀로그램): 원색 무지개 바탕 → 은·연보라·하늘·연분홍 금속 반사 --- */
:is(html body.shopfx-a,html body.shopfx-b) #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c="12"]{background:linear-gradient(rgba(22,20,32,.64),rgba(22,20,32,.64)),linear-gradient(115deg,#d9dde8,#c6b6f0 22%,#a9d4f2 45%,#f2c0da 68%,#d9dde8 90%)!important;background-size:100% 100%,200% 100%!important}
html body.shopfx-b #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c="12"]{background:linear-gradient(rgba(22,20,34,.52),rgba(22,20,34,.52)),linear-gradient(115deg,#dfe3ee,#c9b6f6 22%,#a6d8f7 45%,#f6bfdc 68%,#dfe3ee 90%)!important;background-size:100% 100%,200% 100%!important;animation:sfx-drift 9s linear infinite;animation-delay:var(--sfx-d,0ms)}
:is(html body.shopfx-a,html body.shopfx-b) #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c="12"] .shop-name{background:linear-gradient(rgba(16,15,22,.8),rgba(16,15,22,.8)),linear-gradient(90deg,#d9dde8,#c6b6f0,#a9d4f2,#f2c0da)!important}
body.shopfx-a #shop-cards .shop-card[data-t1c="12"]{--sfx-w:3px;--sfx-spd:7s;--sfx-base:#0000;--sfx-cone:conic-gradient(#e9edf6,#c8b6ff,#a6dcff,#ffc4e4,#f4f6fb,#c8b6ff,#a6dcff,#ffc4e4,#e9edf6);--sfx-fl:.3}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"]{--sfx-w:4px;--sfx-spd:4.5s;--sfx-base:#0000;--sfx-cone:conic-gradient(#fff,#c8b6ff,#9fd9ff,#ffc0e2,#fff,#d8c8ff,#a6dcff,#ffc4e4,#fff);--sfx-fl:.55}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-ray{left:50%;top:40%;width:320%;aspect-ratio:1;translate:-50% -50%;background:repeating-conic-gradient(from 0deg,#fff0 0deg 8deg,#ffffff 11deg,#fff0 14deg 24deg);-webkit-mask:radial-gradient(circle,#000 0 6%,#0000 48%);mask:radial-gradient(circle,#000 0 6%,#0000 48%);opacity:.16;animation:sfx-spin 26s linear infinite;animation-delay:var(--sfx-d,0ms)}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-ray{opacity:.32;background:repeating-conic-gradient(from 0deg,#fff0 0deg 7deg,#f4eeff 10deg,#fff0 13deg 20deg);animation-duration:18s}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-glow{left:50%;top:40%;width:58%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,#ffffff40,#e6dcff1c 45%,#fff0 70%)}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-glow{width:72%;background:radial-gradient(circle,#ffffff80,#e6dcff38 42%,#fff0 70%);animation:sfx-breath 3s ease-in-out infinite;animation-delay:var(--sfx-d,0ms)}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-halo{inset:0;border-radius:inherit;box-shadow:inset 0 0 10px 1px #e8e0ff66}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-halo{box-shadow:inset 0 0 16px 2px #f1ebffaa}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-sp{width:5px;height:5px;background:#fff;box-shadow:0 0 5px 1px #e9e2ff;rotate:45deg;opacity:0;animation:sfx-tw 2.2s ease-in-out infinite}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(3){left:14%;top:18%;animation-delay:calc(var(--sfx-d,0ms) - .2s)}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(4){left:80%;top:30%;animation-delay:calc(var(--sfx-d,0ms) - .95s)}
body:is(.shopfx-a,.shopfx-b) #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(5){left:62%;top:58%;width:4px;height:4px;animation-delay:calc(var(--sfx-d,0ms) - 1.6s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(6){left:30%;top:52%;width:4px;height:4px;animation-delay:calc(var(--sfx-d,0ms) - .6s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(7){left:88%;top:10%;width:6px;height:6px;animation-delay:calc(var(--sfx-d,0ms) - 1.3s)}
body.shopfx-b #shop-cards .shop-card[data-t1c="12"] .sfx-sp:nth-of-type(8){left:44%;top:12%;animation-delay:calc(var(--sfx-d,0ms) - 1.9s)}
/* 저사양·효과 줄이기·움직임 줄이기 = 움직임 멈춤(테두리·빛은 정지 그림으로 남김, 반짝이·불씨·쓸림은 숨김) */
:is(body.low-fx,body.pt-still-fx) #shop-cards .shop-card :is(.sfx,.sfx-top) b,:is(body.low-fx,body.pt-still-fx) #shop-cards .shop-card :is(.sfx,.sfx-top) b::before,:is(body.low-fx,body.pt-still-fx) #shop-cards .shop-card.sfx-in>.sfx-top::after{animation:none!important}
:is(body.low-fx,body.pt-still-fx) #shop-cards .shop-card :is(.sfx-sp,.sfx-sweep){display:none!important}
html body:is(.low-fx,.pt-still-fx) #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c="12"]{animation:none!important}
@media (prefers-reduced-motion:reduce){#shop-cards .shop-card :is(.sfx,.sfx-top) b,#shop-cards .shop-card :is(.sfx,.sfx-top) b::before{animation:none!important}#shop-cards .shop-card .sfx-sp{display:none!important}html body #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c="12"]{animation:none!important}}
/* 04 11-10 ⑥ 185-③ 전투 제한 시간 타이머(#t185, 05 assets/ui-timer). 240×240 위젯(고리 0,0 · 틀 20,60 · 숫자 칸 45,85 150×70 · 칸 막대 56,184 · 사선 띠 56,203) × 배율(JS transform) */
body.t185-on :is(#fight-clock,#tempo-gauge){visibility:hidden!important}
#t185{position:fixed;left:0;top:0;z-index:45;width:240px;height:240px;transform-origin:0 0;pointer-events:none;--c:#FFD044;--pp:1s;image-rendering:auto}
#t185[data-st=warn]{--c:#FF9C47}#t185[data-st=danger],#t185[data-st=end]{--c:#FF5C67}
#t185>i,#t185>b{position:absolute;display:block}
#t185 .rg{left:0;top:0;width:240px;height:240px;background:url(assets/ui-timer/timer_ring_calm.webp) 0 0/1920px 240px no-repeat;opacity:.65;animation:t185-ring .8s steps(8) infinite}
body.tft1m #t185 :is(.rg,.gg,.st){display:none} /* 04 11-11 ②: 휴대폰은 고리(240px)·칸 막대·사선 띠가 판 위 적 0행 체력바·별을 덮어 숨김 — 틀·숫자(남은 초)만 */
#t185[data-st=warn] .rg{background-image:url(assets/ui-timer/timer_ring_warn.webp)}#t185[data-st=danger] .rg{background-image:url(assets/ui-timer/timer_ring_danger.webp);opacity:.9}
@keyframes t185-ring{to{background-position:-1920px 0}}
#t185 .fr{left:20px;top:60px;width:200px;height:120px;background:url(assets/ui-timer/timer_frame_calm.webp) 0 0/200px 120px no-repeat}
#t185[data-st=warn] .fr{background-image:url(assets/ui-timer/timer_frame_warn.webp)}#t185[data-st=danger] .fr{background-image:url(assets/ui-timer/timer_frame_danger.webp)}
#t185 .pl{left:20px;top:60px;width:200px;height:120px;background:url(assets/ui-timer/timer_pulse.webp) 0 0/1200px 120px no-repeat;opacity:0;mix-blend-mode:screen}
#t185[data-st=danger] .pl{animation:t185-pulse var(--pp) steps(6) infinite,t185-pulsea var(--pp) ease-in-out infinite}
@keyframes t185-pulse{to{background-position:-1200px 0}}
@keyframes t185-pulsea{0%{opacity:.2;transform:scale(.96)}55%{opacity:1;transform:scale(1.045)}100%{opacity:.3;transform:scale(.98)}}
#t185 .lb{left:78px;top:63px;width:84px;height:16px;display:grid;place-items:center;font:700 11px/1 var(--font-head);color:#2a1606;letter-spacing:.1em}
#t185 .nm{left:45px;top:85px;width:150px;height:70px;display:flex;align-items:baseline;justify-content:center;gap:4px;padding-top:4px;box-sizing:border-box;color:var(--c);font:700 52px/1 var(--font-head);text-shadow:0 3px 0 rgba(0,0,0,.55);transform-origin:50% 60%}
#t185 .nm small{font-size:16px;color:#f3ead8;text-shadow:0 2px 0 rgba(0,0,0,.6)}
#t185 .nm.pop{animation:t185-pop .32s cubic-bezier(.2,1.6,.4,1)}
#t185:is([data-st=warn],[data-st=danger]) .nm.pop{animation:t185-pop2 .36s cubic-bezier(.2,1.7,.4,1)}
@keyframes t185-pop{0%{transform:scale(1.1)}100%{transform:none}}
@keyframes t185-pop2{0%{transform:scale(1.25)}100%{transform:none}}
#t185 .gg{left:56px;top:184px;width:128px;height:12px;background:url(assets/ui-timer/timer_gauge_track.webp) 0 0/128px 12px no-repeat}
#t185 .gf{position:absolute;left:0;top:0;height:12px;width:100%;background:url(assets/ui-timer/timer_gauge_fill_calm.webp) 0 0/128px 12px no-repeat}
#t185[data-st=warn] .gf{background-image:url(assets/ui-timer/timer_gauge_fill_warn.webp)}#t185[data-st=danger] .gf{background-image:url(assets/ui-timer/timer_gauge_fill_danger.webp)}
#t185 .st{left:56px;top:203px;width:128px;height:20px;background:url(assets/ui-timer/timer_danger_stripe.webp) 0 0/128px 20px repeat-x;opacity:0}
#t185[data-st=danger] .st{opacity:1;animation:t185-stripe .5s linear infinite}
@keyframes t185-stripe{to{background-position:32px 0}}
#t185 .bu{left:0;top:0;width:240px;height:240px;background:url(assets/ui-timer/timer_end_burst.webp) 0 0/1440px 240px no-repeat;opacity:0}
#t185.done :is(.rg,.pl,.fr,.lb,.nm,.gg,.st){visibility:hidden}
#t185.done .bu{opacity:1;animation:t185-burst .48s steps(6) forwards}
@keyframes t185-burst{to{background-position:-1440px 0}}
#t185.shake{animation:t185-shake .32s linear}
@keyframes t185-shake{0%,100%{translate:0 0}20%{translate:-6px 2px}40%{translate:5px -3px}60%{translate:-4px 1px}80%{translate:3px -1px}}
/* 화면 가장자리 붉은 비네트(위험 때 맥박, 0초 번쩍) */
#t185-vig{position:fixed;inset:0;z-index:44;pointer-events:none;opacity:0;--pp:1s;background:radial-gradient(ellipse at 50% 50%,transparent 58%,rgba(255,40,52,.42) 100%)}
#t185-vig[data-st=danger]{animation:t185-vig var(--pp) ease-in-out infinite}
@keyframes t185-vig{0%,100%{opacity:.25}50%{opacity:.85}}
#t185-vig.flash{animation:t185-vflash .5s ease-out forwards}
@keyframes t185-vflash{0%{opacity:1}100%{opacity:0}}
/* 효과 줄이기: 비네트·흔들림 끔, 고리·맥박 멈춤(띠·숫자 튐은 짧은 크기 변화만 남김) */
#t185.calmfx .rg,#t185.calmfx .pl,#t185.calmfx .st{animation:none!important}#t185.calmfx[data-st=danger] .pl{opacity:.6}
#t185-vig.calmfx{display:none}#t185.calmfx.shake{animation:none}
@media (prefers-reduced-motion:reduce){#t185 .rg,#t185 .pl,#t185 .st,#t185.shake{animation:none!important}#t185-vig{display:none}}
/* 04 11-10 메인 로비 B안(.lbb — 배경 위 1920×1080 판, 메뉴 판·카드 아래). 'main' 배경일 때만 보임(.lbb-main) */
#title-screen .lbb,.mm2 .lbb{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;opacity:0;transition:opacity .35s}
.mm2.lbb-main .lbb{opacity:1}
.mm2.lbb-on .mm2-fx{display:none} /* 옛 타이틀 반딧불·별은 로비 효과로 대신 */
.lbb .lbb-w{position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0}
.lbb .lbf{position:absolute;background-repeat:no-repeat;background-position:0 0;animation:lbf-run var(--fd) steps(8) infinite}
.lbb .lbf:is(.fx_lamp_glow,.fx_window_flicker){animation-timing-function:steps(6);mix-blend-mode:screen}
@keyframes lbf-run{to{background-position-x:var(--ex)}}
.lbb .lbf.fx_firefly{mix-blend-mode:screen;animation:lbf-run var(--fd) steps(8) infinite,lbf-drift var(--md) ease-in-out infinite alternate}
.lbb .lbf.fx_petal{animation:lbf-run var(--fd) steps(8) infinite,lbf-fall var(--md) linear infinite}
@keyframes lbf-drift{to{translate:var(--dx) var(--dy)}}
@keyframes lbf-fall{0%{translate:0 0;opacity:0}10%{opacity:1}90%{opacity:1}100%{translate:var(--dx) var(--dy);opacity:0}}
.lbb .lbc{position:absolute;left:0;top:0;transform-origin:50% 0;background-repeat:no-repeat;image-rendering:pixelated;filter:drop-shadow(0 3px 0 rgba(0,0,0,.25))}
.lbb .lbc.sky{filter:drop-shadow(0 18px 6px rgba(0,0,0,.12))}
.lbb.calm .lbf{animation:none!important}
@media (prefers-reduced-motion:reduce){.lbb .lbf{animation:none!important}}
/* 04 11-10 로비 B안 메뉴 판(.lbm — LobbyMenu, ?lbbmenu=0 = 옛 카드 줄). 오른쪽 = 큰 모험 카드 + 가로 카드 2열×3줄, 위 = 시간대 단추.
   판 색 2안: data-pan=char(반투명 차콜, 기본) / navy(차콜~네이비 중간). 큰 바탕 판 없이 카드만 떠 있게(박스 과다 피함), 금 테는 모험 카드·고른 카드만 */
#title-cover #main-ab.mm2.lbm{--pb:linear-gradient(180deg,rgba(46,46,52,.9),rgba(24,24,28,.94));--pe:rgba(255,255,255,.16);--pg:#f3c623}
#title-cover #main-ab.mm2.lbm[data-pan="navy"]{--pb:linear-gradient(180deg,rgba(38,46,66,.9),rgba(22,27,40,.94));--pe:rgba(190,210,255,.18)}
#title-cover #main-ab.mm2.lbm .mm2-desc{display:none}
#title-cover #main-ab.mm2.lbm .lbm-pan.mm2-row{left:auto;right:calc(var(--k)*1.7);top:calc(var(--k)*8.6);bottom:auto;width:calc(var(--k)*45.4);height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:calc(var(--k)*1)}
/* 큰 모험 카드: 금 테 + 은은한 빛 + 지나가는 반짝임(특별한 시작 카드) */
#title-cover #main-ab.mm2.lbm .lbm-adv.mm2-t{width:auto!important;aspect-ratio:auto;height:calc(var(--k)*17.5);flex-direction:row;align-items:stretch;justify-content:flex-start;border-radius:calc(var(--k)*1.1);background:var(--pb)!important;border:calc(var(--k)*.24) solid var(--pg)!important;box-shadow:0 0 0 calc(var(--k)*.14) #6b4c00,inset 0 0 0 calc(var(--k)*.1) #fff3,0 0 calc(var(--k)*1.8) #f3c62355,0 calc(var(--k)*.6) calc(var(--k)*1.4) #000a;cursor:pointer;transform:none}
#title-cover #main-ab.mm2.lbm .lbm-adv.mm2-t.sel{box-shadow:0 0 0 calc(var(--k)*.14) #6b4c00,inset 0 0 0 calc(var(--k)*.1) #fff5,0 0 calc(var(--k)*2.6) #f3c623aa,0 calc(var(--k)*.6) calc(var(--k)*1.4) #000a}
#title-cover #main-ab.mm2.lbm .lbm-adv.mm2-t:hover{transform:none}
#title-cover #main-ab.mm2.lbm .lbm-art{flex:none;width:44%;height:100%;background-size:cover;background-position:center 40%;-webkit-mask-image:linear-gradient(90deg,#000 78%,transparent);mask-image:linear-gradient(90deg,#000 78%,transparent)}
#title-cover #main-ab.mm2.lbm .lbm-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 42%,#fff2 50%,transparent 58%) no-repeat;background-size:260% 100%;background-position:130% 0;animation:lbm-shine 5.5s ease-in-out infinite;z-index:2}
@keyframes lbm-shine{0%,62%{background-position:130% 0}100%{background-position:-30% 0}}
#title-cover #main-ab.mm2.lbm .lbm-am{flex:1;min-width:0;display:flex;flex-direction:column;padding:calc(var(--k)*1.1) calc(var(--k)*1.3) calc(var(--k)*1.1) calc(var(--k)*.4);position:relative;z-index:3}
#title-cover #main-ab.mm2.lbm .lbm-ttl{font-size:calc(var(--k)*2.6);line-height:1.05;color:#fff;text-shadow:0 calc(var(--k)*.12) 0 #000,0 0 calc(var(--k)*.6) #0008}
#title-cover #main-ab.mm2.lbm .lbm-reg{display:flex;align-items:center;gap:calc(var(--k)*.5);margin-top:calc(var(--k)*.35);font-size:calc(var(--k)*1.3);font-weight:800;color:#ffd23a;text-shadow:0 calc(var(--k)*.1) 0 #000;padding-bottom:calc(var(--k)*.55);border-bottom:calc(var(--k)*.08) solid #ffffff22}
#title-cover #main-ab.mm2.lbm .lbm-reg i{width:calc(var(--k)*.85);height:calc(var(--k)*.85);border-radius:50% 50% 50% 0;background:radial-gradient(circle at 50% 50%,#2b2000 0 22%,#f3c623 26%);transform:rotate(-45deg);flex:none}
#title-cover #main-ab.mm2.lbm .lbm-rgw{margin-top:calc(var(--k)*.7)}
#title-cover #main-ab.mm2.lbm .lbm-rgw .mm2-rg{display:flex;gap:calc(var(--k)*.55)}
#title-cover #main-ab.mm2.lbm .lbm-rgw .mm2-rc{aspect-ratio:16/10;border-radius:calc(var(--k)*.55)}
#title-cover #main-ab.mm2.lbm .lbm-gow{margin-top:auto}
#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-go{margin-top:calc(var(--k)*.7);padding:calc(var(--k)*.35) calc(var(--k)*1.2) calc(var(--k)*.35) calc(var(--k)*.4)!important;overflow:hidden}
#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-go::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 40%,#fff9 50%,transparent 60%) no-repeat;background-size:250% 100%;background-position:130% 0;animation:lbm-shine 3.2s ease-in-out infinite;pointer-events:none}
#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-go::after{content:"";margin-left:auto;border:calc(var(--k)*.6) solid transparent;border-left:calc(var(--k)*.85) solid #3a2a00;border-right:0;flex:none}
#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-ball{width:calc(var(--k)*2.9);height:calc(var(--k)*2.9)}
#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-tx small{max-width:calc(var(--k)*16)}
/* 가로 작은 카드 6장 */
#title-cover #main-ab.mm2.lbm .lbm-grid{display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--k)*1)}
#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t,#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t.sel,#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t.off:hover,#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t.off.sel{width:auto!important;aspect-ratio:auto;height:calc(var(--k)*6.8);flex-direction:row;align-items:center;justify-content:flex-start;border-radius:calc(var(--k)*.8);background:var(--pb)!important;border:calc(var(--k)*.16) solid var(--pe)!important;box-shadow:0 calc(var(--k)*.4) calc(var(--k)*1) #0008;transform:none}
#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t:not(.off):hover,#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t.sel:not(.off){border-color:var(--pg)!important;transform:translateY(calc(var(--k)*-.25));box-shadow:0 0 0 calc(var(--k)*.08) #6b4c00,0 0 calc(var(--k)*1.4) #f3c62377,0 calc(var(--k)*.5) calc(var(--k)*1.1) #0009}
#title-cover #main-ab.mm2.lbm .lbm-c.mm2-t.off.sel{border-color:#9a9aa2!important}
#title-cover #main-ab.mm2.lbm .lbm-c .mm2-img{flex:none;width:38%;height:100%;background-size:cover;background-position:center 38%;-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
#title-cover #main-ab.mm2.lbm .lbm-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(var(--k)*.3);padding:0 calc(var(--k)*.3) 0 calc(var(--k)*.7)}
#title-cover #main-ab.mm2.lbm .lbm-c .mm2-nm{background:none;padding:0;font-size:calc(var(--k)*1.55);line-height:1.1;overflow:hidden;text-overflow:ellipsis}
#title-cover #main-ab.mm2.lbm .lbm-c .mm2-sub{background:none;padding:0;font-size:calc(var(--k)*1.02);display:flex;align-items:center;gap:calc(var(--k)*.4)}
#title-cover #main-ab.mm2.lbm .lbm-c.sel:not(.off) .mm2-sub{color:#ffd23a}
#title-cover #main-ab.mm2.lbm .lbm-si{font-style:normal;font-size:calc(var(--k)*1);line-height:1;flex:none}
#title-cover #main-ab.mm2.lbm .lbm-si.bp{font-size:calc(var(--k)*.72);font-weight:900;color:#2b2000;background:linear-gradient(#ffe066,#e0a800);border-radius:calc(var(--k)*.3);padding:calc(var(--k)*.12) calc(var(--k)*.3)}
#title-cover #main-ab.mm2.lbm .lbm-chev{flex:none;width:calc(var(--k)*.85);height:calc(var(--k)*.85);margin:0 calc(var(--k)*1.2) 0 calc(var(--k)*.3);border-top:calc(var(--k)*.22) solid var(--pg);border-right:calc(var(--k)*.22) solid var(--pg);transform:rotate(45deg);opacity:.75}
#title-cover #main-ab.mm2.lbm .lbm-c.off .lbm-chev,#title-cover #main-ab.mm2.lbm .lbm-c.off::after{display:none}
/* 시간대 단추(위, 로고 왼쪽) */
#title-cover #main-ab.mm2.lbm .lbm-sky{flex-direction:row!important;width:auto!important;height:auto!important;min-width:0!important;border-radius:99px!important;position:absolute;top:calc(var(--k)*2.3);right:calc(var(--k)*19.5);z-index:5;display:flex;align-items:center;gap:calc(var(--k)*.5);padding:calc(var(--k)*.45) calc(var(--k)*1) calc(var(--k)*.45) calc(var(--k)*.7);border-radius:99px;background:var(--pb);border:calc(var(--k)*.16) solid var(--pe);box-shadow:0 calc(var(--k)*.3) calc(var(--k)*.8) #0008;color:#fff;transition:border-color .15s}
#title-cover #main-ab.mm2.lbm .lbm-sky:hover,#title-cover #main-ab.mm2.lbm .lbm-sky:focus-visible{border-color:var(--pg);outline:none}
#title-cover #main-ab.mm2.lbm .lbm-sky i{font-style:normal;font-size:calc(var(--k)*1.3);line-height:1}
#title-cover #main-ab.mm2.lbm .lbm-sky b{font-size:calc(var(--k)*1.2);white-space:nowrap}
#title-cover #main-ab.mm2.lbm .lbm-dots{display:flex;gap:calc(var(--k)*.22);margin-left:calc(var(--k)*.3)}
#title-cover #main-ab.mm2.lbm .lbm-dots u{width:calc(var(--k)*.42);height:calc(var(--k)*.42);border-radius:50%;background:#fff4}
#title-cover #main-ab.mm2.lbm .lbm-dots u.on{background:var(--pg)}
#title-cover #main-ab.mm2.lbm.zoom .lbm-sky{opacity:0!important;pointer-events:none;transition:opacity .3s}
#title-cover #main-ab.mm2.lbm.calm .lbm-shine,#title-cover #main-ab.mm2.lbm.calm .lbm-gow .mm2-go::before{animation:none;display:none}
@media (prefers-reduced-motion:reduce){#title-cover #main-ab.mm2.lbm .lbm-shine,#title-cover #main-ab.mm2.lbm .lbm-gow .mm2-go::before{animation:none;display:none}}
/* 844 가로(휴대폰): 판 = 오른쪽 약 53%, 글씨 11px 이상 */
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-pan.mm2-row{right:calc(var(--k)*1.2);top:calc(var(--k)*6.2);width:calc(var(--k)*50);gap:calc(var(--k)*.6)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-adv.mm2-t{height:calc(var(--k)*15)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-gow .mm2-tx small{display:none} /* 휴대폰 = 이어가기 한 줄(다음 목적지는 PC만) */
#title-cover #main-ab.mm2.lbm[data-size="m"] .mm2-hero{display:flex} /* 왼쪽이 비었으니 휴대폰에서도 주인공·동행 보임 */
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-art{width:38%}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-am{padding:calc(var(--k)*.7) calc(var(--k)*.9) calc(var(--k)*.7) calc(var(--k)*.3)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-ttl{font-size:calc(var(--k)*2)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-reg{font-size:calc(var(--k)*1.25);margin-top:calc(var(--k)*.15);padding-bottom:calc(var(--k)*.35)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-rgw{margin-top:calc(var(--k)*.45)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-rgw .mm2-rg{gap:calc(var(--k)*.4)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-rgw .mm2-rc{aspect-ratio:16/9}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-gow .mm2-go{margin-top:calc(var(--k)*.45)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-gow .mm2-ball{width:calc(var(--k)*2.3);height:calc(var(--k)*2.3)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-gow .mm2-tx b{font-size:calc(var(--k)*1.45)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-gow .mm2-tx small{font-size:calc(var(--k)*1.25)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-grid{gap:calc(var(--k)*.6)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c.mm2-t,#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c.mm2-t.sel,#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c.mm2-t.off:hover,#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c.mm2-t.off.sel{height:calc(var(--k)*4.9)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c .mm2-img{width:34%}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c .mm2-nm{font-size:calc(var(--k)*1.45)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-c .mm2-sub{font-size:calc(var(--k)*1.25)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-si{font-size:calc(var(--k)*1.25)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-si.bp{font-size:calc(var(--k)*1.25)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-chev{margin-right:calc(var(--k)*.8)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-sky{top:calc(var(--k)*.9);right:calc(var(--k)*13.6);padding:calc(var(--k)*.3) calc(var(--k)*.8) calc(var(--k)*.3) calc(var(--k)*.55)}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-sky b{font-size:calc(var(--k)*1.3)}
/* 04 11-10 리그 입장 = 사천왕 줄 세우기 → 지금 상대 '딱'(data-phase=focus) → 대사 → VS. 이긴 상대 = 흐림·'이김', 띠 그림 = 상반신 도트(.pt.dot) */
html body #t1-league:is([data-phase=focus],[data-phase=closing]) .t1l-b{animation:none;transform:none}
html body #t1-league .t1l-b .pt.dot{left:4%;width:92%;height:52%;bottom:calc(var(--u)*7);transform:none;object-fit:contain;object-position:50% 100%;image-rendering:pixelated;filter:drop-shadow(0 0 calc(var(--u)*.5) rgba(0,0,0,.85))}
html body #t1-league .t1l-b.ch .pt.dot{filter:brightness(0) drop-shadow(0 0 calc(var(--u)*.4) rgba(255,201,60,.8))}
html body #t1-league .t1l-b.won :is(.pt,.ac){filter:grayscale(1) brightness(.55)}
html body #t1-league .t1l-b.won::after{content:'';position:absolute;inset:0;background:rgba(12,11,10,.35);pointer-events:none}
html body #t1-league .t1l-b .wn{position:absolute;left:50%;top:40%;z-index:2;transform:translate(-50%,-50%) rotate(-12deg);padding:calc(var(--u)*.6) calc(var(--u)*1.8);border:calc(var(--u)*.4) solid #f2c94c;border-radius:6px;font:700 max(14px,calc(var(--u)*3.6))/1 var(--font-head);font-style:normal;color:#f2c94c;background:rgba(12,11,10,.55);letter-spacing:.1em;text-shadow:0 2px 0 rgba(0,0,0,.6)}
html body #t1-league .t1l-b .nx{display:none}
html body #t1-league .t1l-b.chs .nm em{color:#f2c94c}
/* 딱: 지금 상대 띠가 앞으로 튀어나오며 커지고 빛남, 나머지는 어두워짐 */
html body #t1-league[data-phase=focus] .t1l-b:not(.cur){filter:brightness(.38) saturate(.6);transition:filter .2s}
html body #t1-league[data-phase=focus] .t1l-b.cur{z-index:4;overflow:visible;animation:t1l-pop .42s cubic-bezier(.2,1.5,.4,1) both;box-shadow:0 0 0 calc(var(--u)*.5) #fff,0 0 0 calc(var(--u)*1) var(--tc),0 0 calc(var(--u)*8) color-mix(in srgb,var(--tc) 80%,#fff)}
html body #t1-league[data-phase=focus] .t1l-b.cur::after{content:'';position:absolute;inset:0;background:#fff;pointer-events:none;animation:t1l-flash .35s ease-out both}
html body #t1-league[data-phase=focus] .t1l-b.cur .nx{display:block;position:absolute;left:50%;top:calc(var(--u)*1.6);z-index:3;transform:translateX(-50%);white-space:nowrap;padding:calc(var(--u)*.8) calc(var(--u)*2);border-radius:5px;background:#f2c94c;color:#1a1408;font:700 max(13px,calc(var(--u)*2.6))/1 var(--font-head);font-style:normal;box-shadow:0 3px 0 rgba(0,0,0,.5);animation:t1l-nx .3s .12s ease-out both}
@keyframes t1l-pop{0%{transform:none}55%{transform:scale(1.22,1)}100%{transform:scale(1.14,1)}}
html body #t1-league .t1l-sk{z-index:6}html body #t1-league[data-phase=focus] .t1l-b.cur:last-child .nx{top:calc(var(--u)*3.4 + 56px)} /* 챔피언 칸 = 오른쪽 위 건너뛰기 단추 아래로 */html body #t1-league .t1l-b:first-child{transform-origin:0 50%}html body #t1-league .t1l-b:last-child{transform-origin:100% 50%}
@keyframes t1l-flash{from{opacity:.75}to{opacity:0}}
@keyframes t1l-nx{from{opacity:0;transform:translate(-50%,40%)}to{opacity:1;transform:translateX(-50%)}}
/* 04 11-10 리그 컷씬 확정안(#t1-league.t1lx, 기본 · 옛 수직 판 = ?leaguecut=a): 시안 2 번개 모서리 대각선. 경계만 clip-path(인물·포켓몬·글자 정면).
   --k(px, JS) = 칸 위→아래 기울기 폭, --j = 가운데 번개 꺾임(0.35k). 나머지 칸 = 차분한 단색·밝기 50%, 이번 상대 = 밝게 + 빛줄기 + 경계 번개 빛(SVG .t1l-glow) + 살짝 확대 + '이번 상대' 금 알약.
   격파 = 흑백 + '격파', 챔피언 = 금 실루엣 + ??? → 사천왕 4명 격파 뒤 챔피언전에서 금빛 번개로 공개(.t1lx-rv) */
html body #t1-league.t1lx{--j:calc(var(--k)*.35)}
html body #t1-league.t1lx .t1l-bs{gap:0;padding:0}
html body #t1-league.t1lx .t1l-b{flex:1 1 0;min-width:0;border-radius:0;box-shadow:none;margin-left:calc(var(--k)*-1 + var(--u)*.9);
 background:linear-gradient(180deg,color-mix(in srgb,var(--tc) 55%,#0c0b0a),color-mix(in srgb,var(--tc) 30%,#0c0b0a) 75%,#0c0b0a);
 clip-path:polygon(var(--k) 0,100% 0,calc(100% - var(--k)*.44) 44%,calc(100% - var(--k)*.5 + var(--j)) 50%,calc(100% - var(--k) + var(--j)) 100%,var(--j) 100%,calc(var(--k)*.5 + var(--j)) 50%,calc(var(--k)*.56) 44%);
 transition:flex-grow .35s cubic-bezier(.2,.9,.3,1),filter .25s}
html body #t1-league.t1lx .t1l-b::before{opacity:.35}
/* 정면 내용물을 기운 칸 안에 맞춤: 위(에이스)는 오른쪽, 가운데 아래(인물·이름)는 칸 보이는 폭 가운데 */
html body #t1-league.t1lx .t1l-b .ac{left:calc(50% + var(--k)*.3)}
html body #t1-league.t1lx .t1l-b .pt.dot{left:calc(var(--k)*.6);width:calc(100% - var(--k));transform-origin:50% 100%}
html body #t1-league.t1lx .t1l-b .nm{left:0;right:calc(var(--k)*.3);background:linear-gradient(0deg,rgba(12,11,10,.9),rgba(12,11,10,.55) 70%,transparent)}

html body #t1-league.t1lx .t1l-b .wn{left:calc(50% + var(--k)*.14);top:36%;border-color:#e6e6e6;color:#f4f4f4}
/* 등장 */
html body #t1-league.t1lx:is([data-phase=bands],[data-phase=title]) .t1l-b{animation:t1l-drop .32s cubic-bezier(.2,.9,.3,1.05) both;animation-delay:calc(var(--i)*150ms)}
html body #t1-league.t1lx.t1l-short[data-phase=bands] .t1l-b{animation-duration:.22s;animation-delay:calc(var(--i)*60ms)}
html body #t1-league.t1lx[data-phase=title] .t1l-b{animation:none;transform:none}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus],[data-phase=closing]) .t1l-b{animation:none;transform:none}
/* 상태 */
html body #t1-league.t1lx .t1l-b.won :is(.pt,.ac){filter:grayscale(1) brightness(.6)}
html body #t1-league.t1lx .t1l-b.won .nm{filter:grayscale(1)}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b:not(.cur){filter:brightness(.5)}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.won{filter:brightness(.7)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur{flex-grow:1.3;filter:none;animation:none;overflow:hidden;box-shadow:none;background:linear-gradient(180deg,color-mix(in srgb,var(--tc) 90%,#fff),color-mix(in srgb,var(--tc) 55%,#0c0b0a) 70%,#0c0b0a)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur::after{content:'';background:repeating-linear-gradient(118deg,transparent 0 calc(var(--u)*6),rgba(255,255,255,.22) calc(var(--u)*6) calc(var(--u)*6.6),transparent calc(var(--u)*6.6) calc(var(--u)*13));background-size:calc(var(--u)*40) calc(var(--u)*40);opacity:1;animation:t1lx-streak 1.2s linear infinite}
@keyframes t1lx-streak{from{background-position:0 0}to{background-position:calc(var(--u)*40) calc(var(--u)*-40)}}
html body #t1-league.t1lx .t1l-b :is(.pt.dot,.ac){transition:transform .4s cubic-bezier(.2,.9,.3,1)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .pt.dot{transform:scale(1.07)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .ac{transform:translateX(-50%) scale(1.1)}
/* '이번 상대' 금 알약(월계수 = 자리표시, 05 그림 오면 교체) */
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .nx{top:calc(var(--u)*2);left:calc(50% + var(--k)*.45);padding:calc(var(--u)*.9) calc(var(--u)*3.2);border-radius:calc(var(--u)*.8);background:linear-gradient(180deg,#ffe27a,#f2b51c);color:#2a1a02;transform:translateX(-50%) skewX(-12deg);box-shadow:0 0 0 2px #7a5208,0 4px 0 rgba(0,0,0,.5)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .nx::before,html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .nx::after{content:'❧';position:absolute;top:50%;font-size:1.3em;color:#f2c94c;text-shadow:0 2px 0 rgba(0,0,0,.6)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .nx::before{right:100%;margin-right:.25em;transform:translateY(-50%) scaleX(-1) skewX(12deg)}html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .nx::after{left:100%;margin-left:.25em;transform:translateY(-50%) skewX(12deg)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur:last-child .nx{top:calc(var(--u)*2);left:calc(var(--k)*.45 + 26%)}
/* 경계 번개 빛: 이번 상대 칸 둘레(바깥 넓은 빛 + 안쪽 흰 선) */
html body #t1-league .t1l-glow{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;opacity:0;transition:opacity .2s;overflow:visible}
html body #t1-league .t1l-glow.on{opacity:1}
html body #t1-league .t1l-glow polygon{fill:none;stroke-linejoin:miter}
html body #t1-league .t1l-glow .o{stroke:color-mix(in srgb,var(--gc,#7ff3ff) 70%,#fff);stroke-width:calc(var(--u)*1.8);filter:drop-shadow(0 0 calc(var(--u)*1) var(--gc,#7ff3ff)) drop-shadow(0 0 calc(var(--u)*2.5) var(--gc,#7ff3ff)) drop-shadow(0 0 calc(var(--u)*5) var(--gc,#7ff3ff))}
html body #t1-league .t1l-glow .i{stroke:#fff;stroke-width:calc(var(--u)*.35)}
html body #t1-league:not(:is([data-phase=reveal],[data-phase=focus])) .t1l-glow{opacity:0}
html body #t1-league[data-phase=focus] .t1l-glow.on{animation:t1lx-glow .9s ease-in-out infinite alternate}
@keyframes t1lx-glow{from{opacity:.75}to{opacity:1}}
/* 챔피언: 금 실루엣 + ??? → 금빛 번개로 공개 */
html body #t1-league.t1lx .t1l-b.chs .q{position:absolute;left:calc(50% + var(--k)*.41);top:18%;z-index:2;transform:translateX(-50%);font:700 calc(var(--u)*16)/1 var(--font-head);font-style:normal;color:var(--c-accent);text-shadow:0 0 calc(var(--u)*3) rgba(255,201,60,.6),0 5px 0 rgba(0,0,0,.6);transition:opacity .35s,transform .35s}
html body #t1-league.t1lx .t1l-b.ch .q{left:calc(50% + var(--k)*.41)}
html body #t1-league.t1lx .t1l-b.chs:not(.hid) .q{opacity:0;transform:translateX(-50%) scale(1.6)}
html body #t1-league.t1lx .t1l-b .qq{display:none}
html body #t1-league.t1lx .t1l-b.hid .qq{display:block}html body #t1-league.t1lx .t1l-b.hid .nm b:not(.qq),html body #t1-league.t1lx .t1l-b.hid .nm>span{display:none}
html body #t1-league.t1lx .t1l-b:is(.hid,.ch){background:linear-gradient(180deg,#3a2f12,#14100a)}
html body #t1-league.t1lx .t1l-b.hid :is(.pt,.ac){filter:brightness(0) drop-shadow(0 0 calc(var(--u)*.4) rgba(255,201,60,.8))}
html body #t1-league.t1lx .t1l-b.chs :is(.pt,.ac){transition:filter .5s ease-out,transform .4s cubic-bezier(.2,.9,.3,1)}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur{flex-grow:1.4;background:linear-gradient(180deg,#f6d77a,#b8860b 55%,#2a1e06);filter:none}
html body #t1-league.t1lx.t1lx-rv .t1l-glow{--gc:#ffd23c}
html body #t1-league.t1lx[data-phase=reveal] .t1l-b.chs.cur::after{content:'';background:repeating-linear-gradient(118deg,transparent 0 calc(var(--u)*6),rgba(255,240,180,.3) calc(var(--u)*6) calc(var(--u)*6.6),transparent calc(var(--u)*6.6) calc(var(--u)*13));background-size:calc(var(--u)*40) calc(var(--u)*40);opacity:1;animation:t1lx-streak .8s linear infinite}
@media (prefers-reduced-motion:reduce){html body #t1-league .t1l-glow.on,html body #t1-league.t1lx .t1l-b.cur::after{animation:none!important}}
html body.tft1m #t1-league.t1lx[data-phase=focus] .t1l-b.cur:last-child .nx{top:calc(var(--u)*3.4 + 50px);left:calc(var(--k)*.45 + 34%)} /* 휴대폰 챔피언 칸 = 건너뛰기 단추 아래 */
/* 04 11-10 리그 컷씬 효과 강화(사용자 '사천왕 효과 더·챔피언은 더 챔피언답게·왕관') + 칸 폭 균등('첫 칸만 넓어 보임')
   폭: 첫 칸도 왼쪽 경계를 기울임(화면 왼쪽 끝 삼각 여백 = 바탕) → 사천왕 4칸 보이는 폭 = 칸 폭 - k로 같음, 챔피언 칸만 1.12배. 이번 상대 = 칸 폭은 그대로 두고 그 칸만 1.05배(옆 칸이 눌리지 않음)
   사천왕: 경계 빛 두껍게·밝게 + 빛이 경계를 따라 흐름, 타입색 빛줄기 + 타입별 입자(얼음 눈송이·불꽃/격투 불티·고스트/독/악 연기·드래곤 비늘 빛·그 밖 빛 알갱이), '쾅' 짧은 흔들림, 에이스 도트 크게 + 숨쉬기
   챔피언: 금 번개 여러 갈래 + 화면 금빛 번쩍 + 칸이 크게 넓어지고 나머지는 뒤로 밀림 + 금 빛줄기 회전 + 금가루 + 왕관이 떨어져 '딱' + CHAMPION 금 테두리 크게. 공개 전 = 금 실루엣 칸에 작은 왕관 실루엣 + ???
   효과 줄이기(.calmfx) = 흔들림 없음·번쩍 약하게·회전·입자 멈춤 */
html body #t1-league.t1lx .t1l-b:first-child{margin-left:0}
html body #t1-league.t1lx .t1l-b:last-child{flex-grow:1.08} /* 챔피언 칸도 양쪽 기울임(오른쪽 아래 여백 = 바탕), 보이는 폭 ≈ 사천왕 1.15배 */
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur:not(.chs){flex-grow:1;transform:scale(1.05);transform-origin:50% 100%;z-index:3} /* 아래 기준으로 키움(이름·타입이 화면 밖으로 안 나감) */
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur:not(.chs) .nx{top:calc(var(--u)*6)}
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur:last-child:not(.chs){flex-grow:1.08}
/* 경계 빛: 두껍게·밝게 + 흐르는 빛 */
html body #t1-league .t1l-glow .o{stroke-width:calc(var(--u)*2.6);filter:drop-shadow(0 0 calc(var(--u)*1.2) var(--gc,#7ff3ff)) drop-shadow(0 0 calc(var(--u)*3) var(--gc,#7ff3ff)) drop-shadow(0 0 calc(var(--u)*6) var(--gc,#7ff3ff))}
html body #t1-league .t1l-glow .i{stroke-width:calc(var(--u)*.55)}
html body #t1-league .t1l-glow .f{fill:none;stroke:#fff;stroke-width:calc(var(--u)*1.1);stroke-linecap:round;stroke-dasharray:9 41;filter:drop-shadow(0 0 calc(var(--u)*1.5) #fff) drop-shadow(0 0 calc(var(--u)*3) var(--gc,#7ff3ff));animation:t1lx-flow 1.4s linear infinite}
@keyframes t1lx-flow{to{stroke-dashoffset:-100}}
/* 타입색 빛줄기 */
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur::after{background:repeating-linear-gradient(118deg,transparent 0 calc(var(--u)*6),color-mix(in srgb,var(--tc) 55%,#fff 45%) calc(var(--u)*6) calc(var(--u)*6.8),transparent calc(var(--u)*6.8) calc(var(--u)*13));opacity:.55;mix-blend-mode:screen}
/* 입자 */
html body #t1-league .t1l-b .fx{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;display:none}
html body #t1-league.t1lx:is([data-phase=focus],[data-phase=reveal]) .t1l-b.cur .fx{display:block}
html body #t1-league .t1l-b .fx i{position:absolute;left:var(--x);top:var(--y);width:calc(var(--u)*.9*var(--s));height:calc(var(--u)*.9*var(--s));animation:var(--an,t1lx-rise) var(--d) linear var(--w) infinite}
html body #t1-league .fx[data-fx=mote] i{background:color-mix(in srgb,var(--tc) 60%,#fff);border-radius:50%;box-shadow:0 0 calc(var(--u)*1) var(--tc)}
html body #t1-league .fx[data-fx=ice] i{--an:t1lx-fall;background:#fff;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);width:calc(var(--u)*1.6*var(--s));height:calc(var(--u)*1.6*var(--s));filter:drop-shadow(0 0 calc(var(--u)*.6) #bdf4ff)}
html body #t1-league .fx[data-fx=spark] i{background:#ffd27a;width:calc(var(--u)*.5*var(--s));height:calc(var(--u)*1.4*var(--s));border-radius:2px;box-shadow:0 0 calc(var(--u)*1.2) #ff7a1a,0 0 calc(var(--u)*2.4) #ff4a1a;--an:t1lx-spark}
html body #t1-league .fx[data-fx=smoke] i{background:radial-gradient(circle,color-mix(in srgb,var(--tc) 70%,#fff) 0,transparent 70%);width:calc(var(--u)*6*var(--s));height:calc(var(--u)*6*var(--s));opacity:.6;--an:t1lx-smoke}
html body #t1-league .fx[data-fx=scale] i{background:linear-gradient(135deg,#bff7ff,color-mix(in srgb,var(--tc) 70%,#fff));clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);width:calc(var(--u)*1.4*var(--s));height:calc(var(--u)*1.4*var(--s));--an:t1lx-glint}
html body #t1-league .fx[data-fx=gold] i{background:#ffe27a;border-radius:50%;width:calc(var(--u)*.6*var(--s));height:calc(var(--u)*.6*var(--s));box-shadow:0 0 calc(var(--u)*1) #ffd23c;--an:t1lx-dust}
@keyframes t1lx-rise{0%{transform:translateY(40vh);opacity:0}20%{opacity:1}100%{transform:translateY(-30vh);opacity:0}}
@keyframes t1lx-fall{0%{transform:translate(0,-40vh) rotate(0);opacity:0}15%{opacity:1}100%{transform:translate(calc(var(--u)*4),40vh) rotate(180deg);opacity:.2}}
@keyframes t1lx-spark{0%{transform:translateY(45vh) rotate(-8deg);opacity:0}15%{opacity:1}100%{transform:translate(calc(var(--u)*3),-15vh) rotate(8deg);opacity:0}}
@keyframes t1lx-smoke{0%{transform:translateY(30vh) scale(.6);opacity:0}30%{opacity:.6}100%{transform:translate(calc(var(--u)*-3),-20vh) scale(1.6);opacity:0}}
@keyframes t1lx-glint{0%,100%{opacity:0;transform:scale(.4) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(45deg)}}
@keyframes t1lx-dust{0%{transform:translate(calc(var(--u)*-4),-40vh);opacity:0}20%{opacity:1}100%{transform:translate(calc(var(--u)*6),45vh);opacity:0}}
/* '쾅' 흔들림 */
html body #t1-league.t1lx.shk .t1l-bs{animation:t1lx-shk .3s linear}
@keyframes t1lx-shk{0%,100%{translate:0 0}20%{translate:calc(var(--u)*-1.2) calc(var(--u)*.5)}40%{translate:calc(var(--u)*1) calc(var(--u)*-.6)}60%{translate:calc(var(--u)*-.7) calc(var(--u)*.3)}80%{translate:calc(var(--u)*.4) 0}}
/* 에이스 도트 크게 + 숨쉬기 */
html body #t1-league.t1lx[data-phase=focus] .t1l-b.cur .ac{transform:translateX(-50%) scale(1.22);animation:t1lx-breath 1.3s ease-in-out .4s infinite}
@keyframes t1lx-breath{0%,100%{transform:translateX(-50%) scale(1.22)}50%{transform:translateX(-50%) scale(1.3) translateY(calc(var(--u)*-.6))}}
/* 왕관 */
html body #t1-league.t1lx .t1l-b .nm .cr{display:block;width:calc(var(--u)*5);height:calc(var(--u)*5);margin:0 auto calc(var(--u)*-.4);image-rendering:auto;filter:brightness(0) drop-shadow(0 0 calc(var(--u)*.4) rgba(255,201,60,.9))}
html body #t1-league.t1lx .t1l-b.chs:not(.hid) .nm .cr{filter:drop-shadow(0 calc(var(--u)*.4) 0 rgba(0,0,0,.5)) drop-shadow(0 0 calc(var(--u)*1.4) #ffd23c)}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .nm .cr{width:calc(var(--u)*9);height:calc(var(--u)*9);animation:t1lx-crown .55s cubic-bezier(.55,0,.9,.6) .3s both} /* 떨어짐 = 지나치지 않는 곡선(탄성 곡선은 착지점 아래로 튀어 글자와 겹쳤음), '딱' = 60% 납작 */
@keyframes t1lx-crown{0%{transform:translateY(-70vh) rotate(-12deg);opacity:0}60%{transform:rotate(3deg) scaleY(.82);opacity:1}100%{transform:none}} /* 관리자 11-10: 착지 때 아래로 안 내려감(글자와 겹침 없앰) */
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .nm em{font-size:max(14px,calc(var(--u)*3.2));color:#fff6cf;letter-spacing:.28em;text-shadow:0 0 1px #8a5a00,1px 1px 0 #8a5a00,-1px -1px 0 #8a5a00,1px -1px 0 #8a5a00,-1px 1px 0 #8a5a00,0 0 calc(var(--u)*1.6) #ffd23c}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .nm b{font-size:max(18px,calc(var(--u)*5));text-shadow:0 0 calc(var(--u)*1.2) #ffd23c,0 4px 0 rgba(0,0,0,.6)}
/* 챔피언: 크게 넓어짐 + 나머지 뒤로 */
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur{flex-grow:2.5}
html body #t1-league.t1lx.t1lx-rv:is([data-phase=reveal],[data-phase=focus]) .t1l-b:not(.cur){transform:scale(.92) translateY(2%);filter:brightness(.45) grayscale(.6);transition:transform .45s cubic-bezier(.2,.9,.3,1),filter .3s}
html body #t1-league.t1lx .t1l-b .rays{position:absolute;left:50%;top:42%;width:260%;aspect-ratio:1;translate:-50% -50%;z-index:0;pointer-events:none;opacity:0;background:repeating-conic-gradient(from 0deg,rgba(255,226,122,.42) 0 7deg,transparent 7deg 20deg);-webkit-mask:radial-gradient(circle,#000 0,#000 25%,transparent 62%);mask:radial-gradient(circle,#000 0,#000 25%,transparent 62%)}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .rays{opacity:1;animation:t1lx-rays 9s linear infinite;transition:opacity .4s}
@keyframes t1lx-rays{to{rotate:360deg}}
/* 금 번개·번쩍 */
html body #t1-league .t1l-flash{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 78% 35%,#fff7d0,#ffd23c 40%,rgba(255,190,40,.6) 75%)}
html body #t1-league.bolt .t1l-flash{animation:t1lx-flash .6s ease-out .12s}
@keyframes t1lx-flash{0%{opacity:0}15%{opacity:.85}100%{opacity:0}}
html body #t1-league .t1l-bolt{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;overflow:visible}
html body #t1-league .t1l-bolt path{fill:none;stroke:#fff3b0;stroke-linejoin:bevel;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;opacity:0;filter:drop-shadow(0 0 4px #ffd23c) drop-shadow(0 0 12px #ffb000)}
html body #t1-league .t1l-bolt .m{stroke-width:5px}html body #t1-league .t1l-bolt .s{stroke-width:3px}
html body #t1-league.bolt .t1l-bolt path{animation:t1lx-bolt .75s ease-out var(--bd) both}
@keyframes t1lx-bolt{0%{stroke-dashoffset:1;opacity:1}30%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
/* 효과 줄이기 */
html body #t1-league.calmfx.shk .t1l-bs{animation:none}
html body #t1-league.calmfx.bolt .t1l-flash{animation:t1lx-flash-calm .6s ease-out}
@keyframes t1lx-flash-calm{0%,100%{opacity:0}30%{opacity:.25}}
html body #t1-league.calmfx :is(.fx i,.rays,.t1l-glow .f){animation:none!important}
html body #t1-league.calmfx .t1l-bolt{display:none}
html body #t1-league.calmfx[data-phase=focus] .t1l-b.cur .ac{animation:none}
html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .nm{padding-bottom:calc(var(--u)*2.6)} /* 큰 챔피언 이름 아래 잘림 */
html body #t1-league.t1lx .t1l-b.chs .nm .cr{transform-origin:50% 100%}html body #t1-league.t1lx:is([data-phase=reveal],[data-phase=focus]) .t1l-b.chs.cur .nm .cr{margin-bottom:14px} /* 왕관 = CHAMPION 글자 위 14px 띄움 */
/* 04 11-10 스테이지 띠 2안(관리자 승인 11-10, 기본 켬 · ?band2=0 끔, Band2) — 우리 차콜 알약을 넓혀 가운데 칸 줄. PC 1920 틀 기준 768×60(오른쪽 끝 1288 = 예전 띠 — 전투 중 남은 시간 칸 자리) */
#t1-strip.b2[data-st=pill]{--x:520;--w:768;--h:60;border-radius:30px;overflow:visible}
#t1-strip.b2 .pl{grid-template-columns:auto auto 1fr auto;column-gap:12px;padding:0 20px 0 16px}
#t1-strip.b2 .tt{grid-column:2;grid-row:1}
#t1-strip.b2 .sb{grid-column:2;grid-row:2;max-width:210px}
#t1-strip.b2 .st{grid-column:4;grid-row:1/3;align-self:center;margin-right:18px}
#t1-strip.b2 .pfl{top:50%;margin-top:-5px}
#t1-strip .b2r{grid-column:3;grid-row:1/3;display:flex;align-items:center;justify-content:center;min-width:0;padding:0 6px;border-left:1px solid #ffffff14;border-right:1px solid #ffffff14;height:44px}
#t1-strip .b2c{flex:0 1 10px;min-width:4px;height:2px;background:#ffffff26;border-radius:1px}
#t1-strip .b2c.done{background:#f2c94c99}
#t1-strip .b2n{position:relative;flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;margin:0;border-radius:50%;border:2px solid #ffffff2e;background:#1d1c22;cursor:pointer;color:#fff;font:inherit}
#t1-strip .b2n>:is(img,svg,span:not(.b2t),i){width:22px;height:22px;object-fit:contain;image-rendering:pixelated;pointer-events:none}
#t1-strip .b2n>img.tr{width:26px;height:26px;object-position:50% 20%;border-radius:50%}
#t1-strip .b2n>img.bd{width:24px;height:24px}
#t1-strip .b2n .q{font:800 16px/1 var(--font-head);color:#f2c94c}
#t1-strip .b2n.past{width:22px;height:22px;opacity:.42;filter:saturate(.3);border-width:1px}
#t1-strip .b2n.past>:is(img,svg,span:not(.b2t),i,b){width:15px;height:15px;font-size:11px}
#t1-strip .b2n.cur{width:46px;height:46px;border:3px solid #f2c94c;background:radial-gradient(#3a3628,#1d1c22 70%);box-shadow:0 0 0 2px #f2c94c33,0 0 12px #f2c94c55;z-index:2}
#t1-strip .b2n.cur>:is(img,svg,span:not(.b2t),i){width:36px;height:36px}
#t1-strip .b2n.cur>img.tr{width:40px;height:40px}
#t1-strip .b2n.k-gym:not(.past){border-color:#f2c94c99;border-radius:30%}
#t1-strip .b2n.k-event:not(.cur){border-style:dashed}
/* 이름표: 칸 아래(올리기·키보드·탭) */
#t1-strip .b2t{display:none;position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);z-index:30;white-space:nowrap;padding:5px 10px 6px;border-radius:8px;background:#141318f2;border:1px solid #ffffff2a;box-shadow:0 4px 12px #0008;font:600 13px/1.3 var(--font-body);color:#fff;pointer-events:none;text-align:left}
#t1-strip .b2t::before{content:"";position:absolute;left:50%;top:-5px;margin-left:-5px;border:5px solid transparent;border-top:0;border-bottom-color:#ffffff2a}
#t1-strip .b2t b{color:#f2c94c;margin-right:2px}
#t1-strip .b2t em{font-style:normal;color:#ABAAB3;margin-left:6px;font-size:12px}
#t1-strip .b2t small{display:block;font-size:11px;color:#f2c94c;margin-top:1px}
#t1-strip .b2n:is(:hover,:focus-visible,.tip) .b2t{display:block}
#t1-strip .b2n:is(:hover,:focus-visible,.tip):not(.cur){border-color:#ffffffaa;opacity:1;filter:none}
/* 전투 중: 빨간 테두리 + 빛 줄기가 테두리 둘레를 한 방향으로 돎 */
#t1-strip .b2ring{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:5;display:none}
#t1-strip[data-fight="1"][data-st=pill] .b2ring{display:block}
#t1-strip .b2ring rect{fill:none}
#t1-strip .b2ring .bs{stroke:#e53935;stroke-width:2;filter:drop-shadow(0 0 3px #e5393599)}
#t1-strip .b2ring .rn{stroke:#ffb4a8;stroke-width:4;stroke-linecap:round;stroke-dasharray:16 84;filter:drop-shadow(0 0 4px #ff5a4a) drop-shadow(0 0 8px #e53935cc);animation:b2run 2.4s linear infinite}
#t1-strip .b2ring .rn.r2{stroke:#fff;stroke-width:2;stroke-dasharray:6 94;filter:none;animation-name:b2run2}
@keyframes b2run{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes b2run2{from{stroke-dashoffset:95}to{stroke-dashoffset:-5}}
#t1-strip.b2calm .b2ring .rn{display:none}
#t1-strip[data-fight="1"][data-st=pill]:has(>.b2ring){border-color:transparent}
/* 휴대폰: 156×62 두 줄 — 위 = 도트·도시·준비/전투, 아래 = 칸 5개(지난 1·지금·다음 3) */
body.tft1m #t1-strip.b2[data-st=pill]{--x:2;--y:2;--w:156;--h:62;border-radius:14px}
body.tft1m #t1-strip.b2 .pl{grid-template-columns:auto 1fr auto;grid-template-rows:26px 1fr;column-gap:5px;padding:2px 8px 4px 7px}
body.tft1m #t1-strip.b2 .pme{grid-row:1}
body.tft1m #t1-strip.b2 .tt{grid-column:2;grid-row:1;align-self:center}
body.tft1m #t1-strip.b2 .st{grid-column:3;grid-row:1;margin-right:12px}
body.tft1m #t1-strip.b2 .pfl{top:9px;margin-top:0;right:8px}
body.tft1m #t1-strip .b2r{grid-column:1/4;grid-row:2;border:0;height:30px;padding:0}
body.tft1m #t1-strip .b2c{flex-basis:6px;min-width:3px}
body.tft1m #t1-strip .b2n{width:20px;height:20px;border-width:1px}
body.tft1m #t1-strip .b2n>:is(img,svg,span:not(.b2t),i){width:15px;height:15px}
body.tft1m #t1-strip .b2n.past{width:16px;height:16px}
body.tft1m #t1-strip .b2n.past>:is(img,svg,span:not(.b2t),i,b){width:11px;height:11px}
body.tft1m #t1-strip .b2n.cur{width:30px;height:30px;border-width:2px}
body.tft1m #t1-strip .b2n.cur>:is(img,svg,span:not(.b2t),i){width:24px;height:24px}
body.tft1m #t1-strip .b2n.cur>img.tr{width:26px;height:26px}
body.tft1m #t1-strip .b2n .q{font-size:12px}
body.tft1m #t1-strip .b2t{font-size:11px;padding:4px 8px;left:0;transform:none}
body.tft1m #t1-strip .b2t::before{left:12px}
body.tft1m #t1-strip .b2ring .rn{stroke-width:3}
/* 04 11-10 관리자: 배틀 타워 PC 전투 중 = 타워 알약(1196~1756)이 남은 시간(1300)·게이지(1436) 자리를 덮음 → 둘을 알약 왼쪽 같은 줄로(타워 화면은 위 줄 248~1196이 비어 있음, 1920 틀 좌표) */
html body.tft1.playing.hud-combat:has(#t1-strip[data-frontier=tower]) #fight-clock#fight-clock#fight-clock{left:calc(var(--t1r)/2 + 844*var(--t1k)*1px)!important}
html body.tft1.playing.hud-combat:has(#t1-strip[data-frontier=tower]) #tempo-gauge#tempo-gauge#tempo-gauge:not(.tempo-float){left:calc(var(--t1r)/2 + 980*var(--t1k)*1px)!important}
/* 04 11-10 181④⑤ 그림 연결: 카드 틀(9칸 24px, 가운데 알파 0) = border-image 테두리로만 쓰고 바탕은 판 색(A 차콜) 그대로.
   틀 띠는 그림 바깥 7~12px → border 0.625k(=12px@1920)·border-image-width 1.25k(=24px@1920): 띠 안쪽 끝이 바탕(padding-box) 시작과 맞음 */
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-adv.mm2-t,#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c.mm2-t{border:calc(var(--k)*.625) solid transparent!important;border-image:url(assets/lobby-b/ui/frame_small_default.webp) 24 / calc(var(--k)*1.25) / 0 stretch!important;background:var(--pb) padding-box!important;border-radius:calc(var(--k)*1.12)!important;box-shadow:0 calc(var(--k)*.4) calc(var(--k)*1) calc(var(--k)*-.36) #0009!important}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-adv.mm2-t{border-image-source:url(assets/lobby-b/ui/frame_large_default.webp)!important;box-shadow:0 0 calc(var(--k)*1.8) calc(var(--k)*-.2) #f3c62355,0 calc(var(--k)*.6) calc(var(--k)*1.4) calc(var(--k)*-.36) #000a!important}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-adv.mm2-t.sel{border-image-source:url(assets/lobby-b/ui/frame_large_hover.webp)!important;box-shadow:0 0 calc(var(--k)*2.6) calc(var(--k)*-.1) #f3c623aa,0 calc(var(--k)*.6) calc(var(--k)*1.4) calc(var(--k)*-.36) #000a!important}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c.mm2-t:not(.off):hover,#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c.mm2-t.sel:not(.off){border-image-source:url(assets/lobby-b/ui/frame_small_hover.webp)!important;box-shadow:0 0 calc(var(--k)*1.4) calc(var(--k)*-.2) #f3c62377,0 calc(var(--k)*.5) calc(var(--k)*1.1) calc(var(--k)*-.36) #0009!important}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c.mm2-t.off{border-image-source:url(assets/lobby-b/ui/frame_small_locked.webp)!important}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c .mm2-img{width:42%;background-size:cover;background-position:center 45%}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-c.off .mm2-img{filter:saturate(.35) brightness(.8)}
#title-cover #main-ab.mm2.lbm[data-pan] .lbm-art{background-position:center 55%}
/* 자물쇠·시간대 아이콘(이모지 자리 → 181⑤ 그림) */
#title-cover #main-ab.mm2.lbm .lbm-si.lk{width:calc(var(--k)*1.15);height:calc(var(--k)*1.15);background:url(assets/lobby-b/ui/icon_lock.webp) center/contain no-repeat}
#title-cover #main-ab.mm2.lbm .lbm-sky .lbm-ti{width:calc(var(--k)*1.75);height:calc(var(--k)*1.75);background:center/contain no-repeat;flex:none}
#title-cover #main-ab.mm2.lbm[data-size="m"] .lbm-si.lk{width:calc(var(--k)*1.3);height:calc(var(--k)*1.3)}
#title-cover #main-ab.mm2.lbm[data-size="m"][data-pan] .lbm-c .mm2-img{width:36%}
#title-cover #main-ab.mm2.lbm .lbm-rgw .mm2-rc b .lbm-si.lk{display:inline-block;vertical-align:-.12em;margin-left:.25em;width:1.05em;height:1.05em}
/* 확대 전환: 로비 B 움직임·포켓몬 층(.lbb)도 배경과 같은 중심·배율로 함께 확대(안 그러면 분수 물줄기·구구가 제자리에 떠 보임) */
#title-cover #main-ab.mm2 .lbb{transform-origin:var(--zx,50%) var(--zy,80%);transition:opacity .35s,transform var(--zt,600ms) cubic-bezier(.45,0,.2,1)}
#title-cover #main-ab.mm2.zoom .lbb{transform:scale(var(--zs,2.6))}
/* 사용자 11-11: 로비 B안 확대 전환 기본 끔 → 판 전체 짧은 페이드(.lbm-nz, 시간 = --zt). ?lbbzoom=1이면 옛 확대 */
/* 투명하게 빼면 뒤의 옛 C2 모드 선택이 비쳐 보임 → 판은 그대로 두고 어두운 막(::after)을 덮음 */
#title-cover #main-ab.mm2.lbm-nz::after{content:"";position:absolute;inset:0;z-index:60;background:#05070c;opacity:0;pointer-events:none;transition:opacity var(--zt,220ms) ease}
#title-cover #main-ab.mm2.lbm-nz.zoom::after{opacity:1}
/* 01 QA 11-11: 휴대폰(높이 520 이하) 업데이트 소식 창 — 목록 마지막 줄이 아래 안내 문구에 반쯤 걸쳐 보이던 것. 목록 높이 줄여 판 넘침(9px) 없애고,
   끝 여백 24px + 아래 18px 흐림(잘리는 줄이 안내 문구에 붙어 보이지 않게, 끝까지 내리면 여백만 흐려짐), 안내 문구와 6px 띄움 */
@media (max-height:520px){html body #patch-notes #patch-content{max-height:54dvh;padding-bottom:24px;box-sizing:border-box;-webkit-mask-image:linear-gradient(#000 calc(100% - 18px),transparent);mask-image:linear-gradient(#000 calc(100% - 18px),transparent)}
 html body #patch-notes #patch-save-note{margin-top:6px}}
/* 사용자 11-11 재정정: 타이틀 배경 = 로비 B 마을(.lbt, LobbyTitle). 들판 장면 층 숨김, 마을 그림(.lbt-bg) + 움직임·포켓몬 층(.lbb) 위에 로고·PRESS START. 동행(피카츄·이브이)은 메뉴의 주인공 옆이라 타이틀에선 숨김 */

#main-ab.mab.title.lbt>.lbt-bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center bottom;background-repeat:no-repeat;pointer-events:none}
#main-ab.mab.title.lbt>.lbb{opacity:1;z-index:1}
#main-ab.mab.title.lbt .lbb .lbc.lead{display:none}
/* 마을 그림이 촘촘해 안내 글·PRESS START가 묻힘 → 가운데 은은한 어둠 + 안내 글 반투명 알약 + PRESS START 그림자(사용자 11-11 재정정, 디자인 그대로·읽기만 보강) */
#main-ab.mab.title.lbt>.lbt-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 48% 42% at 50% 40%,rgba(8,10,20,.32),transparent 72%)}
#main-ab.mab.title.lbt .mab-sub{width:max-content;margin:0 auto;padding:.45em 1.1em;border-radius:99px;background:rgba(12,14,24,.62);text-shadow:0 1px 0 #000;opacity:1}
#main-ab.mab.title.lbt .mab-press{filter:drop-shadow(0 2px 0 #000) drop-shadow(0 0 6px rgba(0,0,0,.7))}
/* 04 11-11 판 확대 시안 ①+② — body.bz-on = 03 ?battlezoom 켜짐, body.bz-fold = 전투 중 상점 접힘(BzFold). 개별 translate·scale 속성(기존 transform과 안 겹침).
   아래 독 자리 규칙(body.hud85m #shared-shop-dock#shared-shop-dock>… translate:none!important)보다 앞서도록 같은 id 두 번 + !important */
body.bz-on #shared-shop-dock#shared-shop-dock>:is(.shop-area,#hud-shop-controls,#dock-wallet,#dock-bench-row,#dock-toolbar),html body.bz-on #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards,html body.bz-on #hud-round#hud-round#hud-round{transition:translate .3s cubic-bezier(.2,.7,.3,1),scale .3s cubic-bezier(.2,.7,.3,1),opacity .25s!important}
body.bz-fold:not(.mobile-ui) #shared-shop-dock#shared-shop-dock>:is(.shop-area,#hud-shop-controls,#dock-wallet,#dock-toolbar){translate:0 calc(var(--bz-drop-l,var(--bz-drop,176px)) + 48px)!important;opacity:0!important;pointer-events:none!important}
body.bz-fold:not(.mobile-ui) #shared-shop-dock#shared-shop-dock>#dock-bench-row{translate:0 var(--bz-drop-l,var(--bz-drop,176px))!important}
html body.bz-fold.mobile-ui #shared-shop-dock#shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards{translate:calc(100% + 16px) 0!important;opacity:0!important;pointer-events:none!important}
html body.bz-on.hud-combat:not(.mobile-ui) #hud-round#hud-round#hud-round{scale:.8!important;transform-origin:50% 0!important}
.bz-tab{position:fixed;z-index:60;right:24px;bottom:18px;padding:8px 18px;border:0;border-top:3px solid #f5c542;border-radius:10px;background:#262423;color:#fff;font-weight:700;font-size:15px;line-height:1.2;box-shadow:0 4px 12px rgba(0,0,0,.45);cursor:pointer}
.bz-tab:hover,.bz-tab:focus-visible{background:#34312f;outline:2px solid #f5c542;outline-offset:2px}
.bz-tab[hidden]{display:none}
body.mobile-ui .bz-tab{right:4px;bottom:auto;top:50%;translate:0 -50%;padding:10px 8px;font-size:12px;writing-mode:vertical-rl;border-top:0;border-left:3px solid #f5c542}
@media (prefers-reduced-motion:reduce){body.bz-on #shared-shop-dock#shared-shop-dock>*,body.bz-on #shop-cards#shop-cards,body.bz-on #hud-round{transition:none!important}}
/* 04 11-11: 새 메뉴 잠김·준비 중 알림(차콜·위 노랑 줄, 옛 C2 알림 띠 대신) */
#main-ab .mab-note{position:absolute;left:50%;bottom:max(8px,1.4vh);z-index:60;transform:translate(-50%,8px);max-width:min(560px,88vw);padding:10px 22px;border-radius:12px;background:#262423;border-top:3px solid #f5c542;color:#fff;font-weight:700;font-size:clamp(13px,1.1vw,18px);line-height:1.4;text-align:center;box-shadow:0 6px 18px rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
#main-ab .mab-note.on{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){#main-ab .mab-note{transition:none}}
/* 04 11-11 타워 결과 대사(TowerResultLine): 위 가운데 차콜 말풍선, 이기면 노랑 줄·지면 회색 줄 */
#t1-result-line{position:fixed;left:50%;top:max(84px,11vh);z-index:150;display:flex;align-items:center;gap:12px;max-width:min(640px,90vw);padding:10px 20px 10px 12px;border-radius:12px;background:#262423;border-top:3px solid #f5c542;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.45);pointer-events:none;opacity:0;translate:-50% -8px;transition:opacity .25s,translate .25s}
#t1-result-line.lose{border-top-color:#9aa0a6}
#t1-result-line.on{opacity:1;translate:-50% 0}
#t1-result-line img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated;flex:none}
#t1-result-line span{display:flex;flex-direction:column;gap:2px;min-width:0}
#t1-result-line b{font-size:13px;color:#f5c542;font-weight:700}
#t1-result-line.lose b{color:#c9cdd2}
#t1-result-line q{quotes:none;font-size:17px;font-weight:700;line-height:1.35}
body.mobile-ui #t1-result-line{top:52px;padding:6px 12px 6px 8px;gap:8px}body.mobile-ui #t1-result-line img{width:36px;height:36px}body.mobile-ui #t1-result-line q{font-size:13px}
@media (prefers-reduced-motion:reduce){#t1-result-line{transition:none}}
/* 04 11-11 배틀 타워 변주 칩(TowerVariantUI): 차콜·위 노랑 줄(하드 규칙 띠와 같은 모양), 종류별 줄 색 */
.tvar{display:inline-flex;flex-direction:column;align-items:center;gap:1px;padding:6px 16px;border-radius:10px;background:#262423;border-top:3px solid #f5c542;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.4);pointer-events:none;text-align:center}
.tvar b{font-size:15px;font-weight:800;color:#f5c542;letter-spacing:.02em}
.tvar span{font-size:12px;font-weight:600;color:#e8e4dc;line-height:1.3}
.tvar.v-mega{border-top-color:#d06cff}.tvar.v-mega b{color:#e6b3ff}
.tvar.v-big{border-top-color:#ff8a3d}.tvar.v-big b{color:#ffc08f}
.tvar.v-shiny{border-top-color:#7fe3ff}.tvar.v-shiny b{color:#bff1ff}
#work-vs .tvar-vs{position:absolute;left:50%;top:calc(50% + 70px);translate:-50% 0;z-index:5;animation:tvar-in .25s ease-out both}
#t1-tvar{position:fixed;left:50%;top:84px;translate:-50% 0;z-index:44;pointer-events:none}
/* PC: 타워 라운드 띠 오른쪽 빈자리(띠 안, 한 줄) — 판 위 HUD 막대를 안 가림 */
body:not(.mobile-ui) #t1-tvar{top:24px;left:calc(50% - 92px);translate:none} /* 자리는 JS place()가 라운드 띠에 맞춤 */
body:not(.mobile-ui) #t1-tvar .tvar{flex-direction:row;align-items:baseline;gap:10px;max-width:410px;box-sizing:border-box;padding:5px 14px;border-top:0;border-left:3px solid #f5c542;box-shadow:none;background:#262423e6}
body:not(.mobile-ui) #t1-tvar .tvar.v-mega{border-left-color:#d06cff}body:not(.mobile-ui) #t1-tvar .tvar.v-big{border-left-color:#ff8a3d}body:not(.mobile-ui) #t1-tvar .tvar.v-shiny{border-left-color:#7fe3ff}
body:not(.mobile-ui) #t1-tvar .tvar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body:not(.mobile-ui) #t1-tvar .tvar b{white-space:nowrap;flex:none}
#t1-tvar[hidden]{display:none}
body.mobile-ui #t1-tvar{top:auto;bottom:52px}body.mobile-ui .tvar{padding:3px 10px}body.mobile-ui .tvar b{font-size:12px}body.mobile-ui .tvar span{font-size:10px}
.tvar-spark{position:fixed;z-index:120;width:64px;height:64px;margin:-32px 0 0 -32px;pointer-events:none;background:radial-gradient(circle,#fff 0 6%,#bff1ff 10%,transparent 34%),conic-gradient(from 0deg,transparent 0 40deg,#fff8 45deg,transparent 50deg 130deg,#fff8 135deg,transparent 140deg 220deg,#fff8 225deg,transparent 230deg 310deg,#fff8 315deg,transparent 320deg);border-radius:50%;animation:tvar-spark 1.2s ease-out both}
@keyframes tvar-spark{0%{opacity:0;transform:scale(.3) rotate(0)}25%{opacity:1;transform:scale(1.1) rotate(30deg)}100%{opacity:0;transform:scale(.6) rotate(90deg)}}
@keyframes tvar-in{from{opacity:0;translate:-50% 8px}to{opacity:1;translate:-50% 0}}
@media (prefers-reduced-motion:reduce){#work-vs .tvar-vs,.tvar-spark{animation:none}}
/* 04 11-11 ④ 타워 일반 층 VS: 08 대사는 띠 안(캔버스)에 — 띠 아래 대사 줄 숨김 */
#work-vs.tvline p{visibility:hidden!important}
/* 04 11-11 타워 연출 짧게: 전투 전 대사 말풍선(1초) = 하늘색 줄 */
#t1-result-line.pre{border-top-color:#7fc8ff}#t1-result-line.pre b{color:#bfe3ff}
/* 04 11-11 보상 창 canvas 실패 대비: DOM 카드만으로 가운데 줄(틀·이름·받기 보임, 빈 덮개 방지) */
#work-rewards.wr-nocanvas:not(.hidden){display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;gap:16px;padding:24px;background:rgba(14,14,26,.78)}
#work-rewards.wr-nocanvas>canvas{display:none!important}#work-rewards.wr-nocanvas>h2{position:static!important;left:auto!important;top:auto!important;transform:none!important;translate:none!important;flex:0 0 100%;margin:0;text-align:center;color:#fff;font-size:26px!important}
#work-rewards.wr-nocanvas [data-work-card]:not([hidden]){position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:200px!important;height:260px!important;opacity:1!important;visibility:visible!important;background:#1d2440!important;border:3px solid #f2c94c;border-radius:14px;box-shadow:0 6px 18px #0008;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;color:#fff;text-align:center}
#work-rewards.wr-nocanvas [data-work-card]>*{position:static!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important;transform:none!important}
#work-rewards.wr-nocanvas .work-reward-controls{flex:0 0 100%;display:flex;justify-content:center;gap:12px}
/* 04 11-11 전략 3택 Esc 안내 흔들림 */
#strategy-content.fbp-nudge .fb-row{animation:fbp-nudge .32s ease-in-out}@keyframes fbp-nudge{25%{translate:-8px 0}50%{translate:8px 0}75%{translate:-4px 0}}
/* 04 11-13 다이맥스 후보 시안(?dmax2=1, DmaxPickUI) — 지금 메가 패널(TFT1 어두운 판·메가 카드)과 같은 화풍, 다이맥스 = 붉은 테두리·빛만(새 상자·네이비 없음) */
html body #mega-panel#mega-panel .mg-card.dx2-card{grid-column:1/-1;background:linear-gradient(180deg,#c8323f1f,#c8323f08)!important;border:1px solid #c8323f!important;box-shadow:inset 0 0 0 1px #ff6b7533,0 0 14px #c8323f40!important}
html body #mega-panel#mega-panel .dx2-card .dx2-title{display:flex;align-items:center;justify-content:center;gap:6px;color:#ff8a92!important}
html body #mega-panel#mega-panel .dx2-card .mg-reason{color:#e9cfcf!important}
html body #mega-panel#mega-panel #mega-content .mg-card.dx2-card>.mg-badge{background:#c8323f!important;color:#fff!important;border-color:#ff8a92!important}
html body #mega-panel#mega-panel .dx2-card .dx2-mark{width:18px;height:18px;background:url('assets/dynamax/dot/parts/dmax_mark/dmax_mark_ready_f00.webp') center/contain no-repeat;image-rendering:pixelated}
html body #mega-panel#mega-panel .dx2-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px}
html body #mega-panel#mega-panel .dx2-chips button{display:inline-flex;align-items:center;gap:4px;padding:2px 10px 2px 2px;border:1px solid #6b5f55!important;border-radius:999px!important;background:#2a2622!important;color:#e9e1d6!important;font-size:13px;cursor:pointer}
html body #mega-panel#mega-panel .dx2-chips button img{width:28px;height:28px;image-rendering:pixelated}
html body #mega-panel#mega-panel .dx2-chips button[aria-pressed=true]{border-color:#ff5a66!important;background:#5a1820!important;color:#fff!important;font-weight:700;box-shadow:0 0 0 2px #c8323f88,0 0 10px #ff5a6655!important}
html body #mega-panel#mega-panel .dx2-chips button:disabled{opacity:.4;cursor:not-allowed}
html body #mega-panel#mega-panel .dx2-clear{margin-top:6px;border:0!important;background:none!important;box-shadow:none!important;color:#ff8a92!important;text-decoration:underline;font-size:12px;cursor:pointer}
html body #mega-panel#mega-panel .mega-roster.dx2-lock>.mg-card:not(.dx2-card){opacity:.4;filter:saturate(.3)}
html body #mega-panel#mega-panel .mg-card.dx2-nudge{animation:fbp-nudge .32s}
body.dx-picked #mega-btn{opacity:.55;filter:saturate(.4)}
html body #mega-panel#mega-panel h2>.dx2-sub{color:#ff6b75!important}
body.mobile-ui #mega-panel#mega-panel .dx2-chips button{font-size:11px;padding:1px 7px 1px 1px}body.mobile-ui #mega-panel#mega-panel .dx2-chips button img{width:22px;height:22px}
/* 04 11-13 튜토리얼 2판(?tut2=1, Tut2) — 메인 메뉴 화풍: 따뜻한 먹색 띠·크림 글자(#fff1cd)·금빛(#ffd866) 강조, 네이비 상자 없음. 시간은 08 설계 제안값 */
#tut2-coach{position:fixed;inset:0;z-index:3300;pointer-events:none}#tut2-coach[hidden]{display:none}
#tut2-coach .t2-dim canvas{position:fixed;left:0;top:0}#tut2-coach .t2-dim.in{animation:t2-fade .2s ease-out}
#tut2-coach .t2-ring{position:fixed;border:3px solid #ffd866;border-radius:14px;box-shadow:0 0 0 1px #5a3c0880,0 0 14px #ffd866aa,inset 0 0 10px #ffd86655;animation:t2-pulse 1.2s ease-in-out infinite}
#tut2-coach .t2-ring.t2-cell{border-radius:50%;background:radial-gradient(#ffd86640,#ffd86610 70%)}
#tut2-coach .t2-rings.bump .t2-ring{animation:t2-bump .2s ease-out,t2-pulse 1.2s ease-in-out .2s infinite}
#tut2-coach .t2-finger{position:fixed;width:0;height:0}#tut2-coach .t2-finger[hidden]{display:none}
#tut2-coach .t2-finger i{position:absolute;left:-32px;top:-72px;width:64px;height:64px;background:url('assets/arena-ui/battle2/enemy-tell/target_arrow_f00@2x.webp') center/contain no-repeat;image-rendering:pixelated;filter:sepia(1) saturate(5) hue-rotate(-8deg) brightness(1.15) drop-shadow(0 2px 0 #000a);animation:t2-tap .9s ease-in-out infinite}
#tut2-coach .t2-finger.drag i{animation:t2-drag 1.4s ease-in-out infinite}
#tut2-coach .t2-finger.big i{scale:1.5}
#tut2-bubble{position:fixed;pointer-events:auto;width:min(330px,calc(100vw - 16px));padding:12px 14px 8px;border-radius:14px;background:linear-gradient(180deg,#2b2117f5,#16110cf5);border:1px solid #e9c77a80;box-shadow:0 8px 24px #000a,inset 0 1px 0 #fff1cd22;color:#fff1cd;font-family:var(--font-read,"PT Read",sans-serif);animation:t2-in .18s ease-out}
#tut2-bubble .tb-head{display:flex;align-items:flex-start;gap:8px}
#tut2-bubble .tb-n{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#ffd866;color:#3a2606;font:800 15px/1 "PT Title","PT Read",sans-serif;box-shadow:0 0 10px #ffd86680}
#tut2-bubble .tb-of{flex:none;margin:6px 0 0 -6px;color:#c9b48a;font-size:12px}
#tut2-bubble .tb-t{margin:2px 0 0;font-size:16px;font-weight:700;line-height:1.4}
#tut2-bubble .tb-hint{margin:6px 0 0 34px;color:#ffd866;font-size:13px;animation:t2-blink 1s steps(2) infinite}#tut2-bubble .tb-hint[hidden]{display:none}
#tut2-bubble .tb-act{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}
#tut2-bubble .tb-skip{min-height:44px;min-width:44px;padding:0 4px;border:0;background:none;color:#c9b48a;font:500 13px/1 inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#tut2-bubble .tb-skip:hover,#tut2-bubble .tb-skip:focus-visible{color:#fff1cd}
#tut2-bubble .tb-ok{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #ffe9a3;background:linear-gradient(#ffe08a,#e8b33c);color:#3a2606;font:800 14px/1 inherit;cursor:pointer}#tut2-bubble .tb-ok[hidden]{display:none}
.t2-ok{position:fixed;z-index:3310;width:0;height:0;pointer-events:none}
.t2-ok .ring{position:absolute;left:-30px;top:-30px;width:60px;height:60px;border:3px solid #ffd866;border-radius:50%;animation:t2-ring .35s ease-out forwards}
.t2-ok s{position:absolute;left:-3px;top:-3px;width:6px;height:6px;background:#fff1cd;rotate:45deg;box-shadow:0 0 6px #ffd866;animation:t2-spark .5s ease-out forwards}
.t2-ok s:nth-of-type(1){--a:0deg}.t2-ok s:nth-of-type(2){--a:60deg}.t2-ok s:nth-of-type(3){--a:120deg}.t2-ok s:nth-of-type(4){--a:180deg}.t2-ok s:nth-of-type(5){--a:240deg}.t2-ok s:nth-of-type(6){--a:300deg}
.t2-ok b{position:absolute;left:-60px;top:-58px;width:120px;text-align:center;color:#ffd866;font:800 20px/1 "PT Title","PT Read",sans-serif;text-shadow:0 2px 0 #000,0 0 10px #000;animation:t2-good .6s ease-out forwards}
#tut2-clear{position:fixed;inset:0;z-index:3320;display:grid;place-items:center;pointer-events:none}
#tut2-clear p{margin:0;display:flex;align-items:center;gap:10px;padding:14px 12vw;background:linear-gradient(90deg,#0000,#16110ce8 18%,#16110ce8 82%,#0000);border-block:1px solid #ffd86699;color:#fff1cd;font:800 30px/1 "PT Title","PT Read",sans-serif;text-shadow:0 2px 0 #000;animation:t2-band 1.2s ease-in-out forwards}
#tut2-clear i{font-style:normal;color:#ffd866;animation:t2-star .3s ease-out backwards}#tut2-clear i:nth-of-type(2){animation-delay:.08s}#tut2-clear i:nth-of-type(3){animation-delay:.16s}
#tut2-confirm{position:fixed;inset:0;z-index:3400;display:grid;place-items:center;background:#0008}
#tut2-confirm section,#tut2-replay section{width:min(380px,calc(100vw - 24px));padding:18px 20px 14px;border-radius:16px;background:linear-gradient(180deg,#2b2117,#16110c);border:1px solid #e9c77a80;box-shadow:0 12px 30px #000c;color:#fff1cd;font-family:var(--font-read,"PT Read",sans-serif)}
#tut2-confirm h3{margin:0 0 6px;font:800 19px/1.3 "PT Title","PT Read",sans-serif;color:#ffd866}#tut2-confirm p{margin:0 0 14px;font-size:14px;color:#e8dcc0}
#tut2-confirm div,#tut2-replay footer{display:flex;justify-content:flex-end;gap:8px}
#tut2-confirm button,#tut2-replay footer button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #e9c77a80;background:#ffffff10;color:#fff1cd;font:700 14px/1 inherit;cursor:pointer}
#tut2-confirm [data-c=keep],#tut2-replay [data-tr=next]{background:linear-gradient(#ffe08a,#e8b33c);color:#3a2606;border-color:#ffe9a3}
#tut2-replay button:disabled{opacity:.4;cursor:default}
/* 첫인상 */
#tut2-intro{position:fixed;inset:0;z-index:9050;display:grid;place-items:center;cursor:pointer}
#tut2-intro .ti-dim{position:absolute;inset:0;background:#000;opacity:.4;animation:t2-dim .15s ease-out backwards}
#tut2-intro .ti-band{position:relative;width:70vw;min-height:22vh;padding:18px 3vw 14px;display:grid;justify-items:center;align-content:center;gap:12px;background:linear-gradient(90deg,#0000,#16110ceb 10%,#16110ceb 90%,#0000);border-block:1px solid #ffd866aa;box-shadow:0 0 0 1px #0006;color:#fff1cd;font-family:var(--font-read,"PT Read",sans-serif);animation:t2-fly .25s cubic-bezier(.2,.9,.3,1.2) .15s backwards,t2-land .08s ease-out .4s}
#tut2-intro .ti-band::before{content:'';position:absolute;inset:-1px 0;border-block:1px solid #fff;opacity:0;animation:t2-flash .2s ease-out .4s}
#tut2-intro h2{margin:0;font:800 clamp(18px,1.6vw,30px)/1.1 "PT Title","PT Read",sans-serif;letter-spacing:.04em;text-shadow:0 2px 0 #000}
#tut2-intro .ti-icons{display:flex;justify-content:center;gap:clamp(6px,1.2vw,22px);flex-wrap:nowrap}
#tut2-intro .ti-ic{display:grid;justify-items:center;gap:6px;width:clamp(56px,6.2vw,108px);padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;animation:t2-pop .18s cubic-bezier(.2,.9,.3,1.4) calc(.5s + var(--i)*.07s) backwards}
#tut2-intro .ti-pic{position:relative;display:grid;place-items:center;width:clamp(40px,4.4vw,76px);aspect-ratio:1;border-radius:50%;background:radial-gradient(#ffffff1a,#0000 70%)}
#tut2-intro .ti-pic img{width:100%;height:100%;object-fit:contain;border-radius:50%}
#tut2-intro .ti-ic.main .ti-pic{scale:1.25;box-shadow:0 0 0 2px #ffd866,0 0 18px #ffd866aa;animation:t2-glow 1.2s ease-in-out infinite}
#tut2-intro .ti-ic.main .ti-name{color:#ffd866;font-weight:800}
#tut2-intro .ti-ic.later .ti-pic img{filter:grayscale(1) brightness(.6)}#tut2-intro .ti-ic.later .ti-name{color:#a79c88}
.t2-lk{position:absolute;right:-2px;bottom:-2px;width:40%;aspect-ratio:1;background:url('assets/work-ui/c2/lobby/assets/icons/lock-cream.webp') center/contain no-repeat;filter:drop-shadow(0 1px 1px #000)}
#tut2-intro .ti-name{font-size:clamp(11px,.85vw,15px);line-height:1.2;text-align:center;text-shadow:0 1px 2px #000;word-break:keep-all}
#tut2-intro .ti-hint{margin:2px 0 0;color:#c9b48a;font-size:clamp(11px,.8vw,14px);animation:t2-fade .2s ease-out 1.1s backwards}
#tut2-intro.out .ti-ic{transition:translate .3s ease-in,scale .3s ease-in,opacity .3s ease-in;translate:var(--vx,0) var(--vy,0);scale:.2;opacity:0}
#tut2-intro.out .ti-band{transition:translate .3s,opacity .3s;translate:0 -6px;opacity:0}#tut2-intro.out .ti-dim{transition:opacity .3s;opacity:0}
.tut2-flash{animation:t2-gflash .9s ease-out!important}
#tut2-tip{position:fixed;z-index:3350;padding:6px 10px;border-radius:999px;background:#16110cf0;border:1px solid #ffd86699;color:#fff1cd;font:700 13px/1.2 var(--font-read,"PT Read",sans-serif);white-space:nowrap;pointer-events:none;animation:t2-in .18s ease-out}
/* 골라 보기 */
#tut2-picker{position:fixed;inset:0;z-index:9100;display:grid;place-items:center;background:#000a;animation:t2-fade .15s ease-out}
#tut2-picker .tp-box{width:min(1060px,92vw);max-height:90vh;display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:18px;background:linear-gradient(180deg,#241b13f7,#110d09f7);border:1px solid #e9c77a70;box-shadow:0 18px 50px #000d;color:#fff1cd;font-family:var(--font-read,"PT Read",sans-serif);overflow:hidden;animation:t2-fly .25s cubic-bezier(.2,.9,.3,1.2),t2-land .08s ease-out .25s}
#tut2-picker.out .tp-box{transition:translate .25s,opacity .25s;translate:0 -8px;opacity:0}#tut2-picker.out{transition:background .25s;background:#0000}
#tut2-picker header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e9c77a33}
#tut2-picker h2{margin:0;font:800 24px/1 "PT Title","PT Read",sans-serif;letter-spacing:.04em}
#tut2-picker .tp-x{width:44px;height:44px;border:0;border-radius:50%;background:#ffffff10;color:#fff1cd;font-size:24px;cursor:pointer}
#tut2-picker .tp-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:18px;padding:16px 18px;overflow:auto}
#tut2-picker .tp-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}
#tut2-picker .tp-card{position:relative;display:flex;align-items:center;gap:10px;min-height:64px;padding:8px 10px;border-radius:12px;border:1px solid #ffffff14;background:#ffffff08;color:inherit;font:inherit;text-align:left;cursor:pointer}
#tut2-picker .tp-card img{width:44px;height:44px;object-fit:contain;border-radius:50%;flex:none}
#tut2-picker .tp-card .t2-lk{left:38px;right:auto;bottom:6px;width:18px}
#tut2-picker .tp-card b{font-size:15px;line-height:1.2}#tut2-picker .tp-card small{margin-left:auto;color:#a79c88;font-size:11px;white-space:nowrap}
#tut2-picker .tp-card.later img{filter:grayscale(1) brightness(.6)}#tut2-picker .tp-card.later b{color:#bdb19b}
#tut2-picker .tp-card.main{grid-column:1/-1;min-height:76px;border-color:#ffd86680;background:linear-gradient(90deg,#ffd8661c,#ffffff06)}#tut2-picker .tp-card.main img{width:56px;height:56px}#tut2-picker .tp-card.main b{font-size:18px;color:#ffd866}
#tut2-picker .tp-card.on{border-color:#ffd866;box-shadow:0 0 0 1px #ffd866,0 0 14px #ffd86655}#tut2-picker .tp-card.main.on{animation:t2-glow 1.2s ease-in-out infinite}
#tut2-picker .tp-card:focus-visible{outline:2px solid #fff1cd;outline-offset:2px}
#tut2-picker .tp-detail{display:grid;align-content:start;gap:8px;min-height:0}#tut2-picker .tp-detail.swap{animation:t2-fade .15s ease-out}
#tut2-picker .tp-detail h3{margin:4px 0 0;font:800 24px/1.1 "PT Title","PT Read",sans-serif;color:#ffd866}
#tut2-picker .tp-detail p{margin:0;font-size:15px;line-height:1.5;color:#efe3c8}
#tut2-picker .tp-cond{display:flex;align-items:center;gap:6px;color:#ffd866!important;font-weight:700}#tut2-picker .tp-cond.later{color:#c9b48a!important}#tut2-picker .tp-cond .t2-lk{position:static;width:18px;flex:none}
#tut2-picker .ta{position:relative;height:clamp(120px,22vh,220px);border-radius:12px;background:#0006 center/cover no-repeat;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px}
#tut2-picker .ta.path{align-items:flex-end;padding-bottom:16px}#tut2-picker .ta.path i{width:12px;height:12px;border-radius:50%;background:#fff1cd55;box-shadow:0 0 0 2px #0008;animation:t2-dot 2.1s steps(1) infinite}
#tut2-picker .ta.path i:nth-child(2){animation-delay:.3s}#tut2-picker .ta.path i:nth-child(3){animation-delay:.6s}#tut2-picker .ta.path i:nth-child(4){animation-delay:.9s}#tut2-picker .ta.path i:nth-child(5){animation-delay:1.2s}#tut2-picker .ta.path i:nth-child(6){animation-delay:1.5s}#tut2-picker .ta.path i:nth-child(7){animation-delay:1.8s}
#tut2-picker .ta.badges img{width:9%;image-rendering:pixelated;animation:t2-pop .2s cubic-bezier(.2,.9,.3,1.4) calc(var(--i)*.12s) backwards}
#tut2-picker .ta.slot img{width:22%;filter:drop-shadow(0 4px 6px #000a);animation:t2-bob 1s ease-in-out infinite}
#tut2-picker .ta.dex img{width:20%;image-rendering:pixelated;animation:t2-flip .5s ease-out calc(var(--i)*.15s) backwards}
#tut2-picker .ta.spin img{height:70%;animation:t2-spin 2.4s linear infinite}
#tut2-picker .ta.vs img,#tut2-picker .ta.poster img{height:100%;width:100%;object-fit:cover;object-position:center 20%}#tut2-picker .ta.locked img{filter:brightness(0) drop-shadow(0 0 1px #fff8)}
#tut2-picker .ta.locked::after{content:'?';position:absolute;font:800 64px/1 "PT Title",sans-serif;color:#fff1cd}
#tut2-picker .ta.stamp b{padding:6px 18px;border:4px solid #ff4a5c;color:#ff4a5c;font:900 44px/1 "PT Title",sans-serif;rotate:-8deg;background:#0008;animation:t2-stamp .25s cubic-bezier(.2,.9,.3,1.4)}
/* 하드 카드 */
#tut2-hard{position:fixed;inset:0;z-index:9050;display:grid;place-items:center;background:#000b;animation:t2-fade .15s ease-out;cursor:pointer}
#tut2-hard.out{transition:opacity .22s;opacity:0}
#tut2-hard .th-box{width:min(1100px,94vw);display:grid;gap:14px;color:#fff1cd;font-family:var(--font-read,"PT Read",sans-serif)}
#tut2-hard h2{position:relative;margin:0;padding:22px 30px;border-radius:14px;background:#000 center/cover no-repeat;display:flex;align-items:flex-end;gap:16px;overflow:hidden;animation:t2-fly .25s cubic-bezier(.2,.9,.3,1.2)}
#tut2-hard h2::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b0807e8 35%,#0b080700)}
#tut2-hard h2 b{position:relative;font:900 clamp(30px,3.4vw,58px)/1 "PT Title",sans-serif;color:#ff5a6a;letter-spacing:.06em;text-shadow:0 3px 0 #000,0 0 16px #ff5a6a88;animation:t2-stamp .25s cubic-bezier(.2,.9,.3,1.4) .3s backwards}
#tut2-hard h2 small{position:relative;font-size:16px;color:#efe3c8;padding-bottom:6px}
#tut2-hard .th-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#tut2-hard .th-card{position:relative;padding:14px 16px 16px;border-radius:14px;background:linear-gradient(180deg,#2b2117f2,#16110cf2);border:1px solid #ff5a6a66;box-shadow:0 10px 24px #000a;opacity:0;translate:0 14px}
#tut2-hard .th-card.in{opacity:1;translate:0;transition:opacity .2s,translate .25s cubic-bezier(.2,.9,.3,1.3)}
#tut2-hard .th-card em{position:absolute;right:12px;top:8px;font:900 34px/1 "PT Title",sans-serif;color:#ff5a6a44;font-style:normal}
#tut2-hard .th-card h3{margin:0 0 8px;font:800 20px/1.2 "PT Title","PT Read",sans-serif;color:#ffd866}
#tut2-hard .th-card p{margin:0 0 4px;font-size:14px;line-height:1.45;color:#efe3c8}
#tut2-hard .th-art{display:flex;gap:6px;margin-top:6px}#tut2-hard .th-art img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 0 8px #ff5a6aaa)}
#tut2-hard footer{display:flex;align-items:center;gap:10px}#tut2-hard footer span{flex:1}
#tut2-hard footer button{min-height:46px;padding:0 20px;border-radius:999px;font:800 15px/1 inherit;cursor:pointer;opacity:0;transition:opacity .2s}#tut2-hard.all footer button,#tut2-hard .th-skip{opacity:1}
#tut2-hard .th-skip{border:0;background:none;color:#c9b48a;text-decoration:underline;text-underline-offset:3px;padding:0 6px}
#tut2-hard .th-more{border:1px solid #e9c77a80;background:#ffffff10;color:#fff1cd}
#tut2-hard .th-go{min-width:160px;border:2px solid #ffe0e4;background:linear-gradient(#ff5a6a,#a3142c);color:#fff}
#tut2-hardchip{position:fixed;z-index:3300;left:50%;top:76px;translate:-50% 0;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #ff5a6a;background:#16110cf0;color:#fff1cd;font:700 14px/1 var(--font-read,"PT Read",sans-serif);box-shadow:0 6px 18px #000a;cursor:pointer;animation:t2-in .2s ease-out}
#tut2-hardchip b{margin-right:6px;color:#ff5a6a;font-family:"PT Title",sans-serif}
/* 다시 보기 */
#tut2-replay{position:fixed;inset:0;z-index:9100;display:grid;place-items:center;background:#0009}
#tut2-replay section{width:min(420px,calc(100vw - 24px))}#tut2-replay header{display:flex;justify-content:space-between;align-items:center}
#tut2-replay h2{margin:0;font:800 20px/1 "PT Title","PT Read",sans-serif}#tut2-replay header button{width:40px;height:40px;border:0;border-radius:50%;background:#ffffff10;color:#fff1cd;font-size:20px;cursor:pointer}
#tut2-replay .tr-dots{display:flex;gap:6px;margin:10px 0}#tut2-replay .tr-dots i{width:22px;height:4px;border-radius:2px;background:#ffffff22}#tut2-replay .tr-dots i.on{background:#ffd866}
#tut2-replay article{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;margin-bottom:14px}#tut2-replay article .tb-n{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffd866;color:#3a2606;font:800 16px/1 "PT Title",sans-serif}
#tut2-replay article h3{margin:0;font:800 18px/1 "PT Title","PT Read",sans-serif;color:#ffd866}#tut2-replay article p{grid-column:2;margin:0;font-size:15px;line-height:1.45}
/* 입구 */
html body #title-modes.c2-news{position:absolute;display:flex;align-items:center;min-height:44px;padding:0 6px;background:none!important;border:0!important;box-shadow:none!important;color:#b1c6cd;font:500 14px/1 "PT Read",sans-serif!important;white-space:nowrap;width:auto!important;height:auto!important;cursor:pointer;text-shadow:0 1px 2px #000}
html body #title-modes.c2-news:hover span,html body #title-modes.c2-news:focus-visible span{color:#fff1cd;text-decoration:underline;text-underline-offset:3px}
#gv2 .tut2-gline{display:flex;gap:8px;margin:0 0 8px}#gv2 .tut2-gline button{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #e9c77a66;background:#ffffff0c;color:#fff1cd;font:700 13px/1 inherit;cursor:pointer}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has([data-tut2=redo]){--sv-ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 1 0 3-6.7'/><path d='M3 4v5h5'/><path d='M12 8v4l3 2'/></svg>")}/* TFT1 설정 카드: 줄 앞 아이콘(settings-114 규칙) */
#tut2-redo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#tut2-redo-row button{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #c9ab82;background:#fffaf2;color:#584735;font:700 14px/1 inherit;cursor:pointer}#tut2-redo-row small{opacity:.75}
/* 휴대폰 */
@media (max-height:500px){
 #tut2-bubble{width:min(280px,calc(100vw - 16px));padding:8px 10px 4px}#tut2-bubble .tb-t{font-size:13px}#tut2-bubble .tb-n{width:22px;height:22px;font-size:13px}#tut2-bubble .tb-skip{font-size:12px}#tut2-bubble .tb-ok{min-height:36px;font-size:13px}
 #tut2-coach .t2-finger i{scale:.75}#tut2-coach .t2-finger.big i{scale:1.15}
 #tut2-intro .ti-band{width:92vw;padding:10px 2vw 8px;gap:8px}#tut2-intro .ti-ic{width:72px}#tut2-intro .ti-pic{width:40px}#tut2-intro .ti-name{font-size:11px}
 #tut2-picker .tp-box{width:100vw;max-height:100vh;height:100vh;border-radius:0;border:0}#tut2-picker header{padding:4px 12px}#tut2-picker h2{font-size:18px}
 #tut2-picker .tp-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:8px 12px}
 #tut2-picker .tp-cards{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}#tut2-picker .tp-card,#tut2-picker .tp-card.main{flex:none;min-height:48px;padding:4px 10px 4px 4px}#tut2-picker .tp-card img,#tut2-picker .tp-card.main img{width:36px;height:36px}#tut2-picker .tp-card b,#tut2-picker .tp-card.main b{font-size:13px;white-space:nowrap}#tut2-picker .tp-card small{display:none}#tut2-picker .tp-card .t2-lk{left:28px;bottom:4px;width:14px}
 #tut2-picker .tp-detail{grid-template-columns:minmax(0,4fr) minmax(0,5fr);grid-auto-rows:min-content;column-gap:12px}#tut2-picker .ta{grid-row:1/span 4;height:150px}#tut2-picker .tp-detail h3{font-size:18px}#tut2-picker .tp-detail p{font-size:12px}
 #tut2-hard .th-box{gap:8px}#tut2-hard h2{padding:10px 16px}#tut2-hard h2 small{font-size:12px}#tut2-hard .th-card{padding:8px 10px}#tut2-hard .th-card h3{font-size:15px;margin-bottom:4px}#tut2-hard .th-card p{font-size:11px}#tut2-hard .th-art img{width:40px;height:40px}#tut2-hard footer button{min-height:40px;font-size:13px}
 #tut2-hardchip{top:44px}#tut2-clear p{font-size:22px}
 html body #title-modes.c2-news{left:auto!important;top:auto!important;right:14px!important;bottom:16px!important;font-size:12px!important}
}
/* 연출 줄이기: 움직임·맥동·손가락 이동·링 끔, 정지 테두리·손가락만 */
body.tut2-calm #tut2-coach *,body.tut2-calm .t2-ok,body.tut2-calm #tut2-clear *,#tut2-intro.calm *,#tut2-picker.calm *,#tut2-hard.calm *{animation:none!important;transition:opacity .15s!important}
body.tut2-calm .t2-ok .ring,body.tut2-calm .t2-ok s{display:none}#tut2-intro.calm.out .ti-ic,#tut2-intro.calm.out .ti-band{translate:none;scale:none}
@keyframes t2-fade{from{opacity:0}}@keyframes t2-dim{from{opacity:0}}@keyframes t2-in{from{opacity:0;translate:0 4px}}
@keyframes t2-pulse{50%{box-shadow:0 0 0 1px #5a3c0880,0 0 26px #ffd866,inset 0 0 14px #ffd86688;border-color:#fff1cd}}
@keyframes t2-bump{30%{translate:0 -6px}60%{translate:0 2px}}
@keyframes t2-tap{0%,100%{translate:0 -10px}45%{translate:0 0;scale:.9}60%{translate:0 0;scale:.9}}
@keyframes t2-drag{0%,10%{translate:0 0;opacity:0}20%{opacity:1}75%,85%{translate:var(--dx) var(--dy);opacity:1}100%{translate:var(--dx) var(--dy);opacity:0}}
@keyframes t2-ring{from{scale:.4;opacity:1}to{scale:1.6;opacity:0}}
@keyframes t2-spark{from{transform:rotate(var(--a)) translateY(0)}to{transform:rotate(var(--a)) translateY(-40px);opacity:0}}
@keyframes t2-good{0%{opacity:0;translate:0 8px}20%,75%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -8px}}
@keyframes t2-band{0%{opacity:0;translate:-30px 0}15%,80%{opacity:1;translate:0 0}100%{opacity:0;translate:30px 0}}
@keyframes t2-star{from{scale:0}}
@keyframes t2-blink{50%{opacity:.5}}
@keyframes t2-fly{from{scale:.3;rotate:-6deg;opacity:0;filter:drop-shadow(-30px 0 0 #fff6) drop-shadow(-60px 0 0 #fff3)}}
@keyframes t2-land{from{scale:1.04}}
@keyframes t2-flash{0%{opacity:.9}100%{opacity:0}}
@keyframes t2-pop{from{scale:.2;opacity:0}}
@keyframes t2-glow{50%{box-shadow:0 0 0 2px #fff1cd,0 0 28px #ffd866}}
@keyframes t2-gflash{0%{filter:brightness(2.2) drop-shadow(0 0 10px #ffd866)}100%{filter:none}}
@keyframes t2-dot{0%{background:#fff1cd55}14%,100%{background:#ffd866;box-shadow:0 0 0 2px #0008,0 0 8px #ffd866}}
@keyframes t2-bob{50%{translate:0 -6px}}@keyframes t2-flip{from{rotate:y 90deg}}@keyframes t2-spin{to{rotate:360deg}}
@keyframes t2-stamp{from{scale:2.2;opacity:0}}
/* 04 11-13 BP 상점 열쇠 칸(08 요청 ⑥): 탭 2개(상점 런·칭호 / 열쇠) — 지금 BP 상점 화풍 그대로 글자 탭, 열쇠 탭은 넓은 화면 2열 */
.cv-exchange .cv-ex-tabs{display:flex;gap:4px;padding:0 0 6px;border-bottom:1px solid #ffffff1f;margin-bottom:6px}
.cv-exchange .cv-ex-tab{min-height:40px;padding:0 14px;border:0;border-bottom:3px solid transparent;background:none;color:#c9cfd8;font:700 15px/1 inherit;cursor:pointer}
.cv-exchange .cv-ex-tab b{margin-left:4px;padding:1px 7px;border-radius:999px;background:#ffffff14;font-size:12px}
.cv-exchange .cv-ex-tab[aria-selected=true]{color:#ffd866;border-bottom-color:#ffd866}.cv-exchange .cv-ex-tab[aria-selected=true] b{background:#ffd86633}
.cv-exchange .cv-ex-tab:focus-visible{outline:2px solid #ffd866;outline-offset:-2px}
@media (min-width:1200px){.cv-exchange .cv-scroll.cv-ex-keys{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start}.cv-exchange .cv-scroll.cv-ex-keys>li{margin:0}}
/* PC(1920·2560: 한 줄 한 품목이면 3번째 품목부터 잘림 — 열쇠 전부터)·휴대폰 가로: 품목 2열 */
@media (min-width:1200px),(max-height:500px){.cv-exchange .cv-scroll{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start}.cv-exchange .cv-scroll>li{margin:0}}
@media (max-height:500px){html body .cv-exchange .cv-scroll>li{padding-top:3px;padding-bottom:3px;min-height:0}html body .cv-exchange .cv-scroll>li p{margin:0}.cv-exchange .cv-ex-tab{min-height:36px;font-size:13px;padding:0 10px}.cv-exchange .cv-ex-tabs{padding-bottom:2px;margin-bottom:4px}}
/* 04 11-13 무한 도전 ③-a(?infinite=1, InfUI): 지금 프런티어 화풍 그대로(새 상자 없음) — ∞ 단추·팀 고르기(cv-towerpick 재사용)·증강 카드 표시·교체 단계·보유 단계 */
#frontier-result .fb-inf{margin-right:8px;border:3px solid #0d0c0b;border-radius:6px;background:linear-gradient(#ffe08a,#FFC93C);color:#2a1d05;font-weight:900;box-shadow:0 3px 0 #0d0c0b}
#frontier-augment [data-pick]{position:relative}
#frontier-augment .inf-act{display:inline-block;margin:0 4px 2px 0;vertical-align:middle;padding:1px 7px;border-radius:999px;background:#ffffff1c;color:#e6f2fa;font:800 12px/1.3 var(--font-read,"PT Read",sans-serif);font-style:normal;pointer-events:none}
#frontier-augment .inf-act.inf-card{position:absolute;left:50%;bottom:-30px;translate:-50% 0;z-index:6;margin:0;padding:3px 12px;font-size:14px;white-space:nowrap;box-shadow:0 2px 6px #000a}
@media (max-height:500px){#frontier-augment .inf-act.inf-card{bottom:-18px;font-size:10px;padding:1px 8px}}
#frontier-augment .inf-act[data-act=up]{background:linear-gradient(90deg,#ff8ad8,#8ad8ff,#c8ff8a);color:#1d1730}
#frontier-augment .inf-act[data-act=swap]{background:#ff9a3c;color:#2a1600}
#frontier-augment.inf-swapping [data-pick]{opacity:.35;pointer-events:none}
#frontier-augment .inf-swap{margin:10px auto 0;max-width:760px;padding:10px 12px;border-radius:12px;background:#0d1a28e8;border:1px solid #ff9a3c99;color:#f2f6f8}
#frontier-augment .inf-swap p{margin:0 0 8px;font-size:15px}
#frontier-augment .inf-swap>div{display:flex;flex-wrap:wrap;gap:6px}
#frontier-augment .inf-swap [data-inf-out]{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 12px 4px 6px;border-radius:999px;border:1px solid #ffffff33;background:#ffffff10;color:inherit;font:700 14px/1.2 inherit;cursor:pointer}
#frontier-augment .inf-swap [data-inf-out] img,#frontier-augment .inf-swap [data-inf-out]>b{width:26px;height:26px}
#frontier-augment .inf-swap [data-inf-out]:hover,#frontier-augment .inf-swap [data-inf-out]:focus-visible{border-color:#ff9a3c;background:#ff9a3c26}
#frontier-augment .inf-swap .inf-back{margin-top:8px;border:0;background:none;color:#9fd3e8;text-decoration:underline;font:600 13px/1 inherit;cursor:pointer;min-height:36px}
#frontier-augment .inf-swap i,.inf-lv{font-style:normal;color:#ff8ad8;font-weight:800}
#frontier-augs [data-aug]{position:relative}#frontier-augs .inf-lv{position:absolute;right:-4px;bottom:-4px;padding:0 4px;border-radius:6px;background:#1d1730;font-size:10px;line-height:14px}
@media (max-height:500px){#frontier-augment .inf-act{font-size:10px}#frontier-augment .inf-swap{padding:6px 8px;margin-top:4px}#frontier-augment .inf-swap [data-inf-out]{min-height:36px;font-size:12px}}
/* 04 11-13 무한 도전 ③-a 새 틀(관리자 '옛날 UI 다 갈아엎자'): 섬 허브 차콜+금(px-panel·px-btn, --px-* 변수) — 남색 상자·모달 없음 */
#console-v51 .inf-entry{position:absolute;right:20px;bottom:calc(var(--inf-fb,110px) + 18px);z-index:3;min-height:0!important;display:flex;align-items:center;gap:14px;padding:4px 6px 4px 14px!important;max-width:calc(100% - 534px);box-sizing:border-box;color:var(--px-text,#f4f1ea)}
#console-v51 .inf-entry h3{margin:0;color:var(--px-gold,#FFC93C);font-size:17px;white-space:nowrap}#console-v51 .inf-entry h3::first-letter{font-size:1.15em}
#console-v51 .inf-entry p{margin:0;font-size:14px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#console-v51 .inf-entry>div{flex:1;min-width:0;display:flex;align-items:baseline;gap:12px}#console-v51 .inf-entry .cv-button{width:auto;min-width:130px;min-height:34px;padding-top:2px!important;padding-bottom:2px!important;font-size:15px}
#console-v51 .inf-stage{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;padding:28px 24px 14px;box-sizing:border-box;color:var(--px-text,#f4f1ea);animation:inf-in .2s ease-out}
#console-v51 .inf-stage .inf-sky{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 62%,#1b1712cc,#0b0a09f2 70%)}
#console-v51 .inf-stage h2{margin:0;font:900 44px/1.1 "PT Title","PT Read",sans-serif;letter-spacing:.04em;text-shadow:0 3px 0 #000}#console-v51 .inf-stage h2 i{font-style:normal;color:var(--px-gold,#FFC93C)}
#console-v51 .inf-stage .inf-sub{margin:4px 0 8px;font-size:17px;font-weight:700;color:#d9cfbd}
#console-v51 .inf-teams{display:flex;gap:8px;margin-bottom:6px}#console-v51 .inf-teams button{min-height:40px;padding:0 14px;border:2px solid var(--px-wood-m,#4a4743);border-radius:999px;background:#1d1b19;color:#e8e0cf;font:800 14px/1 inherit;cursor:pointer}#console-v51 .inf-teams button[aria-pressed=true]{border-color:var(--px-gold,#FFC93C);color:var(--px-gold,#FFC93C)}
#console-v51 .inf-mons{margin-top:auto;display:flex;justify-content:center;align-items:flex-end;gap:14px;width:min(1240px,100%);flex-wrap:nowrap}
#console-v51 .inf-mons figure{margin:0;flex:1 1 0;min-width:0;max-width:150px;display:grid;justify-items:center;gap:6px;animation:inf-pop .3s cubic-bezier(.2,.9,.3,1.3) calc(var(--i)*.05s) backwards}
#console-v51 .inf-mons .inf-mon{width:100%;max-width:140px;height:auto;aspect-ratio:1;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 6px 0 #0008)}
#console-v51 .inf-mons figcaption{display:grid;justify-items:center;font-size:14px;font-weight:800;white-space:nowrap;text-shadow:0 1px 2px #000}#console-v51 .inf-mons figcaption b{color:var(--px-gold,#FFC93C);font-size:12px;letter-spacing:-1px}
#console-v51 .inf-floor{width:min(1200px,92%);height:18px;margin-top:-4px;background:radial-gradient(ellipse at center,#ffc93c66,#ffc93c00 70%);border-top:2px solid #ffc93c88}
#console-v51 .inf-band{position:relative;width:min(1180px,96%);display:flex;align-items:center;gap:16px;margin-top:14px;padding:10px 16px!important;box-sizing:border-box}
#console-v51 .inf-band>div:first-child{flex:1;min-width:0}#console-v51 .inf-band h3{margin:0 0 3px;color:var(--px-gold,#FFC93C);font-size:20px}#console-v51 .inf-band p{margin:0;font-size:15px;font-weight:600}
#console-v51 .inf-band .cv-actions{display:flex;gap:10px;flex-shrink:0}#console-v51 .inf-band .cv-button{width:auto;min-width:150px;min-height:50px;font-size:18px}
#console-v51 .cv-mobile .inf-entry{right:6px;bottom:calc(var(--inf-fb,54px) + 10px);min-width:0;width:min(520px,calc(100% - 320px));padding:3px 6px 3px 10px!important;gap:8px}
#console-v51 .cv-mobile .inf-entry h3{font-size:13px}#console-v51 .cv-mobile .inf-entry p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#console-v51 .cv-mobile .inf-entry .cv-button{min-width:96px;min-height:36px;font-size:13px}
#console-v51 .cv-mobile .inf-stage{padding:8px 10px 6px}#console-v51 .cv-mobile .inf-stage h2{font-size:24px}#console-v51 .cv-mobile .inf-stage .inf-sub{font-size:11px;margin:2px 0 4px}
#console-v51 .cv-mobile .inf-mons{gap:4px;width:100%}#console-v51 .cv-mobile .inf-mons figure{max-width:72px}#console-v51 .cv-mobile .inf-mons .inf-mon{max-width:60px}#console-v51 .cv-mobile .inf-mons figcaption{font-size:10px}
#console-v51 .cv-mobile .inf-band{margin-top:6px;padding:4px 8px!important}#console-v51 .cv-mobile .inf-band h3{font-size:13px;margin:0}#console-v51 .cv-mobile .inf-band p{font-size:10px}#console-v51 .cv-mobile .inf-band .cv-button{min-width:84px;min-height:36px;font-size:13px}
@keyframes inf-in{from{opacity:0}}@keyframes inf-pop{from{opacity:0;translate:0 16px}}
@media (prefers-reduced-motion:reduce){#console-v51 .inf-stage,#console-v51 .inf-mons figure{animation:none}}
#console-v51 :has(>.inf-stage)>.inf-entry,#console-v51 :has(>.inf-stage)>.cv-region-footer{visibility:hidden}/* 무대가 떠 있는 동안 뒤 띠 숨김 */
/* 04 11-13 무한 도전 ③-b — 게임 화면 쪽 새 틀(섬 허브 차콜+금 토큰을 여기서도 씀, 남색 상자 없음) */
.inf-px{--px-paper:#262423;--px-paper2:#2e2b28;--px-wood:#5a5752;--px-wood-l:#3a3734;--px-wood-m:#4a4743;--px-ink:#0d0c0b;--px-text:#f4f1ea;--px-gold:#FFC93C;color:var(--px-text)}
#inf-ahead{position:fixed;z-index:44;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 560px);padding:5px 10px;box-sizing:border-box;background:#1d1b19ee;border:2px solid var(--px-wood-m);border-radius:6px;box-shadow:inset 0 0 0 2px #0d0c0b,0 4px 0 #0d0c0b99;pointer-events:auto}
#inf-ahead[hidden]{display:none}
#inf-ahead h3{margin:0;display:flex;align-items:baseline;gap:6px;color:var(--px-gold);font:900 20px/1 "PT Read",sans-serif;white-space:nowrap}#inf-ahead h3 i{font-style:normal;font-size:1.15em}
#inf-ahead h3 small{color:#d9cfbd;font-size:13px;font-weight:700}
#inf-ahead ol{display:flex;gap:5px;margin:0;padding:0;list-style:none;min-width:0;overflow:hidden}
#inf-ahead li{display:flex;align-items:center;gap:4px;height:26px;padding:0 8px;border:2px solid var(--px-wood-m);border-radius:999px;background:#2e2b28;font-size:12px;font-weight:800;white-space:nowrap;color:#e8e0cf}
#inf-ahead li b{color:#fff;font-size:13px}#inf-ahead li span+span::before{content:'· ';opacity:.6}
#inf-ahead li.ia-cur{border-color:var(--px-gold);background:#3a3222;color:var(--px-gold)}
#inf-ahead li.ia-boss{border-color:#e0574a}#inf-ahead li.ia-big{border-color:#e0574a;background:#4a2320}#inf-ahead li.ia-rule{border-color:#6FD6CF}#inf-ahead li.ia-aug{border-color:var(--px-gold)}#inf-ahead li.ia-giant{border-color:#b28be8}
#inf-ahead .ia-why{font-style:normal;font-size:13px;font-weight:800;color:#ffb35c;white-space:nowrap}
#frontier-bar.inf-run #frontier-switch[aria-pressed=false]{filter:saturate(.3) brightness(.85)}
#inf-awake-btn{background:linear-gradient(#ffe680,#f8c020);border:3px solid #2a1a00;border-radius:6px;color:#2a1a00;font-weight:900;cursor:pointer}#inf-awake-btn[hidden]{display:none}
#frontier-result.inf-quick #frontier-result-detail{display:none}
#inf-stop{margin-left:6px;min-height:32px;padding:0 10px;border:2px solid var(--px-wood-m,#4a4743);border-radius:6px;background:#1d1b19;color:#e8e0cf;font-weight:800;cursor:pointer}#inf-stop[hidden]{display:none}
#inf-awake{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;align-items:center;padding:40px 24px 18px;box-sizing:border-box;animation:inf-in .2s ease-out}
#inf-awake[hidden]{display:none}
#inf-awake .inf-sky{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 62%,#1b1712dd,#0b0a09f4 70%)}
#inf-awake h2{margin:0;font:900 44px/1.1 "PT Title","PT Read",sans-serif;letter-spacing:.04em;text-shadow:0 3px 0 #000}#inf-awake h2 i{font-style:normal;color:#6FD6CF}
#inf-awake .inf-sub{margin:6px 0 8px;font-size:17px;font-weight:700;color:#d9cfbd}
#inf-awake .inf-mons{margin-top:auto;display:flex;justify-content:center;align-items:flex-end;gap:14px;width:min(1240px,100%)}
#inf-awake .inf-mons button{flex:1 1 0;min-width:0;max-width:170px;display:grid;justify-items:center;gap:4px;padding:8px 4px 6px;border:3px solid transparent;border-radius:10px;background:none;color:inherit;font:800 14px/1.2 inherit;cursor:pointer;animation:inf-pop .3s cubic-bezier(.2,.9,.3,1.3) calc(var(--i)*.05s) backwards}
#inf-awake .inf-mons button[aria-pressed=true]{border-color:#6FD6CF;background:#6fd6cf1f;box-shadow:0 0 18px #6fd6cf55}
#inf-awake .inf-mons img{width:100%;max-width:140px;height:auto;aspect-ratio:1;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 6px 0 #0008)}
#inf-awake .inf-mons span{white-space:nowrap;text-shadow:0 1px 2px #000}
#inf-awake .inf-floor{width:min(1200px,92%);height:18px;margin-top:-4px;background:radial-gradient(ellipse at center,#6fd6cf55,#6fd6cf00 70%);border-top:2px solid #6fd6cf88}
#inf-awake .inf-band{width:min(1180px,96%);display:flex;align-items:center;gap:16px;margin-top:14px;padding:10px 16px!important;box-sizing:border-box}
#inf-awake .inf-band>div:first-child{flex:1;min-width:0}#inf-awake .inf-band h3{margin:0 0 3px;color:var(--px-gold);font-size:20px}#inf-awake .inf-band p{margin:0;font-size:15px;font-weight:600}
#inf-awake .inf-act{display:flex;gap:10px;flex-shrink:0}#inf-awake .inf-act button{min-width:150px;min-height:50px;font-size:18px;font-weight:900;cursor:pointer}
@media (max-height:500px){#inf-awake{padding:8px 10px 6px}#inf-awake h2{font-size:24px}#inf-awake .inf-sub{font-size:11px;margin:2px 0 4px}#inf-awake .inf-mons{gap:4px}#inf-awake .inf-mons button{max-width:84px;font-size:10px;padding:4px 2px}#inf-awake .inf-mons img{max-width:60px}
 #inf-awake .inf-band{margin-top:6px;padding:4px 8px!important}#inf-awake .inf-band h3{font-size:13px;margin:0}#inf-awake .inf-band p{font-size:10px}#inf-awake .inf-act button{min-width:84px;min-height:36px;font-size:13px}}
@media (prefers-reduced-motion:reduce){#inf-awake,#inf-awake .inf-mons button{animation:none}}
.inf-px .px-panel{background:linear-gradient(180deg,#2b2926,#211f1d)!important;border:1px solid #5a5752!important;border-top:3px solid #FFC93C!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #ffffff14,0 10px 28px #000b!important;color:#f4f1ea}
.inf-px .px-btn2{background:linear-gradient(180deg,#33302d,#262423)!important;border:1px solid #5a5752!important;border-radius:12px!important;box-shadow:inset 0 1px 0 #ffffff1a,0 4px 0 #0d0c0b!important;color:#f4f1ea!important;font-family:'PT Read',sans-serif;font-weight:700!important}
.inf-px .px-btn2:is(:hover,:focus-visible){background:linear-gradient(180deg,#3d3a36,#2e2b28)!important;border-color:#FFC93C!important}
/* 04 11-13 전설급 각성 덮개(03 legend-cinema, 1149) — 메가 덮개와 같은 층. 띠 문구 = 차콜+금 새 틀 */
#legend-cinema{position:fixed;inset:0;z-index:3500;cursor:pointer;--lc:#FFC93C}
#legend-cinema[hidden]{display:none}
#legend-cinema>canvas{position:absolute;inset:0;width:100%;height:100%}
#legend-cinema>.mc-skip{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:40px;padding:6px 14px;border-radius:10px;border:1px solid #ffcf4a;background:#111116cc;color:#fff2c8;font-weight:800}
#legend-cinema .lc-band{position:absolute;left:50%;bottom:12%;transform:translate(-50%,12px);display:grid;justify-items:center;gap:4px;padding:10px 34px 12px;background:linear-gradient(180deg,#2b2926ee,#211f1dee);border-top:3px solid var(--lc);border-radius:14px;box-shadow:0 10px 28px #000b;opacity:0;transition:opacity .18s,transform .18s;pointer-events:none;white-space:nowrap}
#legend-cinema.lc-band-on .lc-band{opacity:1;transform:translate(-50%,0)}
#legend-cinema .lc-band b{font:400 46px/1.05 "PT Title","PT Read",sans-serif;color:var(--lc);text-shadow:0 3px 0 #000,0 0 18px #0008;letter-spacing:.03em}
#legend-cinema .lc-band small{font:700 16px/1.2 "PT Read",sans-serif;color:#f4f1ea}
@media (max-height:500px){#legend-cinema .lc-band{bottom:6%;padding:5px 18px 6px}#legend-cinema .lc-band b{font-size:26px}#legend-cinema .lc-band small{font-size:11px}}
@media (prefers-reduced-motion:reduce){#legend-cinema .lc-band{transition:none}}
#cv-weather-fx[data-strong=harshSun]{box-shadow:inset 0 0 140px 20px #ff8a2a66}
#cv-weather-fx[data-strong=heavyRain]{box-shadow:inset 0 0 140px 20px #2a6dff66}
/* 04 11-14 위 진행띠 알약(#tw-pill, 관리자 승인 A) — 타워 띠와 같은 자리·같은 차콜+금 틀 */
#tw-pill{position:fixed;z-index:44;display:flex;align-items:center;min-height:44px;padding:4px 16px;box-sizing:border-box;background:linear-gradient(180deg,#2b2926f2,#211f1df2);border:1px solid #5a5752;border-top:3px solid #FFC93C;border-radius:10px;box-shadow:0 6px 16px #0009;pointer-events:none}
#tw-pill[hidden]{display:none}
#tw-pill b{font:800 20px/1.1 "PT Read",sans-serif;color:#FFC93C;white-space:nowrap;text-shadow:0 2px 0 #000}
body.mobile-ui #tw-pill{min-height:30px;padding:2px 10px;border-radius:8px}body.mobile-ui #tw-pill b{font-size:13px}
html body.mobile-ui.t1-tower:is(.tw-pill-on,.frontier-shop) #hud-round#hud-round#hud-round#hud-round{visibility:hidden!important} /* 알약이 대신하는 동안 빈 틀 숨김 */
body.mobile-ui #frontier-result #inf-stop{position:absolute;right:64px;top:-30px;margin:0;min-height:24px;padding:0 8px;font-size:11px;border-width:1px} /* 휴대폰: 결과창 줄 넘김 없이 제목 줄 오른쪽 */
body.mobile-ui #frontier-result.inf-quick{position:static} /* 단추 기준 = 띠(고정) 오른쪽 위 */
/* 04 11-14 05 192 층 결과 창(#frontier-result.r192) — 부품 2x(9조각 값 = parts.json ×2), 논리 664 폭을 --k로 축소(휴대폰 364) */
html body #frontier-bar #frontier-result.r192{position:absolute!important;z-index:5;width:664px!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;clip-path:none!important;transform:scale(var(--k,1));transform-origin:0 0;color:#F3F1E9;font-family:"PT Read",sans-serif;pointer-events:auto}
html body #frontier-bar.r192-on{overflow:visible!important;clip-path:none!important}
/* 04 11-14 ①(관리자 갈무리 지시): 결과 창(r192) 동안 띠의 HP·BP·나가기 칩과 띠 바탕, 결과 대사 말풍선(#t1-result-line)이 창 위에서 겹침 → 숨김(나가기는 창 안 단추가 대신 누름) */
html body #frontier-bar#frontier-bar.r192-on,html body.frontier-active.t1-tower #frontier-bar#frontier-bar.fb-result.r192-on:not([hidden]){background:none!important;border-color:transparent!important;box-shadow:none!important}
html body #frontier-bar.r192-on>:not(#frontier-result){visibility:hidden!important}
body:has(#frontier-bar.r192-on:not([hidden])) #t1-result-line{display:none!important}
/* 04 11-14 관리자 확인: 결과 창 동안 오른쪽 위 '남은 시간'·시간 막대도 숨김, 획득 BP 아이콘 = 192 파란 결정(05 shop bp_coin_small, 그림이 읽힌 판만 body.bp192) */
body:has(#frontier-bar.r192-on:not([hidden])) :is(#fight-clock,#tempo-gauge){visibility:hidden!important}
html body.bp192 #frontier-bar #frontier-result.r192 .r192-bpv i{background-image:url(assets/ui/bpshop-192/shop/2x/bp_coin_small.png)}
html body #frontier-bar #frontier-result.r192>h3{position:relative;box-sizing:border-box;width:664px;height:88px;margin:0!important;padding:0 40px!important;display:flex!important;align-items:center;justify-content:center;background:url(assets/ui/bpshop-192/result/2x/result_banner_victory.png) 0 0/100% 100% no-repeat!important;image-rendering:pixelated;font:400 34px/1 "PT Title","PT Read",sans-serif!important;color:#FFD34D!important;text-shadow:0 2px 0 #24251F;white-space:nowrap}
html body #frontier-bar #frontier-result.r192[data-kind=defeat]>h3{background-image:url(assets/ui/bpshop-192/result/2x/result_banner_defeat.png)!important;color:#F3F1E9!important}
html body #frontier-bar #frontier-result.r192[data-kind=settlement]>h3{background-image:url(assets/ui/bpshop-192/result/2x/result_banner_settlement.png)!important}
html body #frontier-bar #frontier-result.r192>h3 #frontier-result-icon{display:none!important}
html body #frontier-bar #frontier-result.r192 .r192-chip{position:absolute;left:38px;top:50%;transform:translateY(-50%);padding:8px 18px;border-radius:4px;background:#494C46;color:#FFD34D;font:700 20px/1 "PT Read",sans-serif;font-style:normal;text-shadow:none}
html body #frontier-bar #frontier-result.r192 .r192-body{box-sizing:border-box;width:640px;min-height:180px;margin-top:-6px;padding:26px 26px 22px;display:grid;gap:12px;border:solid transparent;border-width:20px 20px 24px;border-image:url(assets/ui/bpshop-192/result/2x/result_window.png) 40 40 48 40 fill/20px 20px 24px 20px;image-rendering:pixelated}
html body #frontier-bar #frontier-result.r192 .r192-bp{box-sizing:border-box;height:64px;margin:-12px -12px 0;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border:10px solid transparent;border-image:url(assets/ui/bpshop-192/result/2x/bp_row.png) 20 fill/10px}
html body #frontier-bar #frontier-result.r192 .r192-bpl{font-size:19px;font-weight:700;color:#B6BAB0}
html body #frontier-bar #frontier-result.r192 .r192-bpv{display:flex;align-items:center;gap:10px;font:800 34px/1 "PT Read",sans-serif;color:#FFD34D}
html body #frontier-bar #frontier-result.r192 .r192-bpv i{width:32px;height:32px;background:url(assets/ui/bpshop-192/result/2x/bp_coin.png) 0 0/100% 100%;image-rendering:pixelated}
html body #frontier-bar #frontier-result.r192 #frontier-result-detail{margin:0!important;font-size:18px!important;font-weight:600;color:#B6BAB0!important;white-space:normal}
html body #frontier-bar #frontier-result.r192 .r192-btns{display:flex;gap:12px;justify-content:flex-end}
html body #frontier-bar #frontier-result.r192 .r192-btns>button{box-sizing:border-box;min-height:52px!important;margin:0!important;padding:0 18px!important;border:solid transparent!important;border-width:12px 12px 16px!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-image:url(assets/ui/bpshop-192/result/2x/button_secondary_normal.png) 24 24 32 24 fill/12px 12px 16px 12px!important;color:#F3F1E9!important;font:700 19px/1 "PT Read",sans-serif!important;min-width:180px;cursor:pointer;image-rendering:pixelated}
html body #frontier-bar #frontier-result.r192 .r192-btns>button:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_secondary_hover.png)!important}
html body #frontier-bar #frontier-result.r192 .r192-btns>button#frontier-next{flex:1;min-width:280px;border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_normal.png)!important;color:#24251F!important}
html body #frontier-bar #frontier-result.r192 .r192-btns>button#frontier-next:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_hover.png)!important}
html body #frontier-bar #frontier-result.r192 .r192-btns>button[hidden]{display:none!important}
html body #frontier-bar #frontier-result.r192 .r192-tower,html body #frontier-bar #frontier-result.r192 .r192-sp{display:none}
/* 100층 제패(4b) */
html body #frontier-bar #frontier-result.r192[data-kind=conquest]>h3{background-image:url(assets/ui/bpshop-192/result/2x/conquest_ribbon.png)!important;color:#FFE68A!important}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-body{border-image-source:url(assets/ui/bpshop-192/result/2x/conquest_frame.png)}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-bp{border-width:20px 12px 12px;border-image:url(assets/ui/bpshop-192/result/2x/conquest_bp_gold.png) 40 24 24 24 fill/20px 12px 12px 12px}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-bpl,html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-bpv{color:#24251F}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-btns{justify-content:center}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-btns>button#frontier-next{flex:0 0 284px;min-height:46px!important;border-width:12px 28px!important;border-image:url(assets/ui/bpshop-192/result/2x/conquest_gold_button_normal.png) 24 56 fill/12px 28px!important}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-btns>button#frontier-next:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/conquest_gold_button_hover.png)!important}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-tower{display:block;position:absolute;right:30px;top:-42px;width:156px;height:208px;background:url(assets/ui/bpshop-192/result/2x/conquest_tower_2x_size.png) 0 0/100% 100% no-repeat;image-rendering:pixelated;pointer-events:none}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-sp{display:block;position:absolute;width:24px;height:24px;background:url(assets/ui/bpshop-192/result/2x/conquest_sparkle.png) 0 0/100% 100%;image-rendering:pixelated;pointer-events:none;animation:r192sp 1.6s ease-in-out infinite}
html body #frontier-bar #frontier-result.r192 .r192-sp:nth-of-type(1){left:6px;top:110px}html body #frontier-bar #frontier-result.r192 .r192-sp:nth-of-type(2){right:-14px;top:112px;animation-delay:.3s}html body #frontier-bar #frontier-result.r192 .r192-sp:nth-of-type(3){left:-12px;top:240px;animation-delay:.6s}html body #frontier-bar #frontier-result.r192 .r192-sp:nth-of-type(4){right:-10px;top:250px;animation-delay:.9s}html body #frontier-bar #frontier-result.r192 .r192-sp:nth-of-type(5){left:320px;top:300px;animation-delay:1.2s}
@keyframes r192sp{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){html body #frontier-bar #frontier-result.r192 .r192-sp{animation:none}}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] #frontier-result-detail{order:1;padding-right:170px}html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-bp{order:2;margin-top:0}html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-btns{order:3} /* 제패: 탑 그림이 첫 줄 오른쪽 — BP 줄은 그 아래(목업 4b) */
/* 192 휴대폰(0.55배 축소): 글자 키움(목업 844 크기), 제패는 상세 줄을 보여 탑 그림이 BP 줄을 가리지 않게 */
html body.mobile-ui #frontier-bar #frontier-result.r192>h3{font-size:46px!important}html body.mobile-ui #frontier-bar #frontier-result.r192 .r192-chip{font-size:28px}
html body.mobile-ui #frontier-bar #frontier-result.r192 .r192-bpl{font-size:28px}html body.mobile-ui #frontier-bar #frontier-result.r192 .r192-bpv{font-size:44px}
html body.mobile-ui #frontier-bar #frontier-result.r192 .r192-btns>button{font-size:28px!important;min-height:64px!important}
html body.mobile-ui #frontier-bar #frontier-result.r192[data-kind=conquest] #frontier-result-detail{display:block!important;font-size:26px!important}
/* 192 받은 증강 펼침 창(#frontier-aug-held.h192) — 부품 2x(9조각 = parts.json ×2) */
html body #frontier-aug-held.h192{transform:none!important;width:min(448px,calc(100vw - 16px))!important;max-height:min(416px,calc(100vh - 120px))!important;overflow:visible!important;display:flex;flex-direction:column;padding:4px 6px 8px!important;background:none!important;border:solid transparent!important;border-width:20px 20px 24px!important;border-radius:0!important;border-image:url(assets/ui/bpshop-192/tower/2x/dropdown_frame.png) 40 40 48 40 fill/20px 20px 24px 20px!important;box-shadow:0 10px 24px #000a!important;image-rendering:pixelated;color:#F3F1E9}
html body #frontier-aug-held.h192::before{content:'';position:absolute;top:-34px;left:calc(var(--ptr,50%) - 34px);width:28px;height:16px;background:url(assets/ui/bpshop-192/tower/2x/dropdown_pointer.png) 0 0/100% 100%;image-rendering:pixelated}
html body #frontier-aug-held.h192 header{margin:0 0 10px!important;padding-bottom:8px;border-bottom:1px solid #494C46}
html body #frontier-aug-held.h192 h2{font:800 22px/1.2 "PT Read",sans-serif!important;color:#F3F1E9!important}
html body #frontier-aug-held.h192 header button{min-width:44px;min-height:40px;padding:0 10px;background:none!important;border:solid transparent!important;border-width:12px 12px 16px!important;border-image:url(assets/ui/bpshop-192/tower/2x/small_secondary_normal.png) 24 24 32 24 fill/12px 12px 16px 12px!important;color:#F3F1E9!important;line-height:1;cursor:pointer}
html body #frontier-aug-held.h192 header button:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/tower/2x/small_secondary_hover.png)!important}
html body #frontier-aug-held.h192 ol{gap:8px!important;overflow-y:auto;min-height:0;padding-right:8px;scrollbar-width:thin;scrollbar-color:#72756C #30322F}
html body #frontier-aug-held.h192 li{min-height:64px;box-sizing:border-box;padding:6px 12px!important;background:none!important;border:8px solid transparent!important;border-image:url(assets/ui/bpshop-192/tower/2x/list_row_normal.png) 16 fill/8px!important;grid-template-columns:38px 1fr auto!important}
html body #frontier-aug-held.h192 li:hover{border-image-source:url(assets/ui/bpshop-192/tower/2x/list_row_hover.png)!important}
html body #frontier-aug-held.h192 .fa-icon{width:38px!important;height:38px!important;display:grid;place-items:center;background:url(assets/ui/bpshop-192/tower/2x/augment_icon_slot.png) 0 0/100% 100%;image-rendering:pixelated}
html body #frontier-aug-held.h192 .fa-icon img{width:26px!important;height:26px!important}
html body #frontier-aug-held.h192 li strong{font-size:18px!important;color:#F3F1E9!important}html body #frontier-aug-held.h192 li p{color:#B6BAB0!important;font-size:14px!important}html body #frontier-aug-held.h192 li small{color:#FFD34D!important}
html body #frontier-aug-held.h192 .fah-sum b{color:#FFD34D!important}html body #frontier-aug-held.h192 .fah-note{color:#B6BAB0!important}
@media (max-height:500px){html body #frontier-aug-held.h192{width:min(380px,calc(100vw - 16px))!important;max-height:calc(100vh - 100px)!important}html body #frontier-aug-held.h192 h2{font-size:15px!important}html body #frontier-aug-held.h192 li{min-height:48px;padding:2px 8px!important}html body #frontier-aug-held.h192 li strong{font-size:13px!important}html body #frontier-aug-held.h192 li p{font-size:11px!important}}
/* 04 11-14 ④ 받은 증강 = 왼쪽 큰 목록(목업 R6 01_augments_12): 6줄·쪽 번호, 화살표 없음 */
html body #frontier-aug-held.h192.hl{width:min(400px,calc(100vw - 16px))!important;max-height:none!important}
html body #frontier-aug-held.h192.hl::before{display:none!important}
html body #frontier-aug-held.h192.hl header{display:flex;align-items:center;gap:10px}
html body #frontier-aug-held.h192.hl h2{flex:1}
html body #frontier-aug-held.h192.hl .fah-n{font:800 22px/1 "PT Read",sans-serif;color:#F3F1E9}
html body #frontier-aug-held.h192.hl ol{max-height:min(432px,calc(100vh - 260px))}
html body #frontier-aug-held.h192.hl li{min-height:64px;flex-shrink:0} /* 높이 제한 세로 flex 안에서 줄이 눌려 두 줄 설명이 다음 줄과 겹쳤음 */
html body #frontier-aug-held.h192.hl .fah-note{display:none}
html body #frontier-aug-held.h192.hl .fah-page{margin:10px 0 0;padding-top:10px;border-top:1px solid #494C46;text-align:center;font:800 20px/1.2 "PT Read",sans-serif;color:#F3F1E9}
@media (max-height:500px){html body #frontier-aug-held.h192.hl{width:min(340px,calc(100vw - 16px))!important}html body #frontier-aug-held.h192.hl ol{max-height:calc(100vh - 176px)}html body #frontier-aug-held.h192.hl .fah-n{font-size:16px}html body #frontier-aug-held.h192.hl .fah-page{margin-top:4px;padding-top:4px;font-size:14px}}
/* 192 결과 창 × 무한 도전(③-b) 병합 점검(11-14): 긴 제목은 층 칩 오른쪽에서 줄임표, '■ 자동 멈춤'은 단추 줄 보조 단추로, BP 줄 숨김 */
html body #frontier-bar #frontier-result.r192>h3{padding-left:150px!important;padding-right:24px!important}html body #frontier-bar #frontier-result.r192 #frontier-result-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #frontier-bar #frontier-result.r192 .r192-bp[hidden]{display:none}
html body #frontier-bar #frontier-result.r192 .r192-btns>#inf-stop{position:static!important;margin:0!important}
html body #frontier-bar #frontier-result.r192[data-kind=conquest] .r192-btns>button#frontier-next:not(:only-child){flex:1 1 284px}
html body #frontier-bar #frontier-result.r192 .r192-btns:has(>:not([hidden]):nth-child(3))>button:not([hidden]){min-width:0!important;flex:1 1 0;padding:0 8px!important}html body #frontier-bar #frontier-result.r192 .r192-btns:has(>:not([hidden]):nth-child(3))>button#frontier-next{flex:1.6 1 0}html body #frontier-bar #frontier-result.r192 .r192-body:has(>.r192-bp[hidden]){min-height:0} /* 단추 3개(무한 도전 자동 멈춤 등)면 폭을 나눔 */
/* 04 11-14 배틀 타워 = 모험 HUD(body.tw-hud): 모험 진행띠·♥·'전투!' 보이기, 타워 띠는 BP·받은 증강·전환·나가기만 오른쪽 위로 */
html body.tw-hud #hud-round,html body.tw-hud #hud-progress,html body.tw-hud #hud-location,html body.tw-hud #hud-roundbar,html body.tw-hud #hud-left,html body.tw-hud #mobile-stage .mobile-stage-copy small{visibility:visible!important;pointer-events:auto!important}
html body.tw-hud #dock-start,html body.tw-hud #battle-btn{visibility:visible!important;pointer-events:auto!important}
html body.tw-hud #stage-dots .stage-node{position:relative}html body.tw-hud #stage-dots .tw-mk{position:absolute;right:-4px;top:-6px;min-width:16px;height:16px;padding:0 3px;border-radius:8px;background:#24251F;border:1px solid #FFD34D;color:#FFD34D;font:800 11px/14px "PT Read",sans-serif;text-align:center;pointer-events:none}
html body.tw-hud #stage-dots .stage-node>small{display:none}
html body.tw-hud:not(.mobile-ui) #frontier-bar:not(.fb-result){left:auto!important;right:170px!important;top:12px!important;transform:none!important}
html body.tw-hud #frontier-bar:not(.fb-result) :is(#frontier-floor,#frontier-state,#frontier-foe,.fb-hp,#frontier-fight,#frontier-wx){display:none!important}
html body.tw-hud #frontier-bar:not(.fb-result) .fb-row>div:first-of-type{display:none!important}
html body.tw-hud.frontier-fight #frontier-bar{display:none!important}
html body.tw-hud #hud-stats .hp-resource,html body.tw-hud #mobile-life{visibility:visible!important;pointer-events:auto!important} /* ♥ = 타워 HP(값은 TowerHUD가 표시만) */
html body.tw-hud #inf-ahead,html body.tw-hud #tw-pill{display:none!important} /* 진행띠로 흡수 */
/* 휴대폰(hud85m): 위 줄은 진행띠(8~152)·확률 줄·자물쇠로 꽉 차서, 확률 줄을 26px 왼쪽으로 당기고 그 오른쪽(588~640)에 '타워' 단추 하나. 누르면 타워 띠(BP·받은 증강·전환·나가기)가 단추 아래 세로 목록으로 펼쳐짐 */
html body.tft1m.hud85m.tw-hud #t1-odds-m:not([hidden]){left:calc(var(--t1ma,0px) + 371*var(--m85k)*1px)}
#tw-more{display:none}
html body.tw-hud.hud85m:not(.frontier-fight) #tw-more{display:flex;position:fixed;left:calc(var(--t1ma,0px) + 588*var(--m85k)*1px);top:calc(6*var(--m85k)*1px);width:52px;height:40px;transform:scale(var(--m85k));transform-origin:0 0;z-index:60;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;border:1px solid #5A5B52;border-radius:8px;background:#24251FE6;color:#F4F1E4;font:800 11px/12px "PT Read",sans-serif;cursor:pointer}
html body.tw-hud.hud85m #tw-more small{font:700 9px/10px "PT Read",sans-serif;color:#FFD34D;white-space:nowrap}
html body.tw-hud.tw-fbopen.hud85m #tw-more{border-color:#FFD34D}
html body.tw-hud.hud85m:not(.tw-fbopen).frontier-active #frontier-bar#frontier-bar:not(.fb-result){display:none!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result):not([hidden]){left:calc(var(--t1ma,0px) + 470*var(--m85k)*1px)!important;top:calc(50*var(--m85k)*1px)!important;width:170px!important;height:auto!important;padding:5px!important;background:#24251FF2!important;border:1px solid #FFD34D!important;border-radius:8px!important;box-sizing:border-box!important;z-index:61!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;height:auto!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row>*{position:static!important;left:auto!important;top:auto!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row>button:not([hidden]){height:34px!important;width:auto!important;padding:0 8px!important;font-size:12px!important;color:#F4F1E4!important;background:#3A3B33!important;border-radius:6px!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row>button b{color:#FFD34D!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) #frontier-hud{max-width:none!important;padding:2px 4px!important;justify-content:center!important}
html body.tw-hud.hud85m.frontier-active #frontier-bar#frontier-bar:not(.fb-result) #frontier-hud b{color:#F4F1E4!important}
html body.tw-hud.tw-hud #frontier-bar#frontier-bar:not(.fb-result) #frontier-hud .fb-hp{display:none!important}
/* 칸 표식 배지: 칸 밖(잘림) 대신 칸 안 오른쪽 아래 */
html body.tw-hud #stage-dots .stage-node .tw-mk{right:0;top:auto;bottom:0;min-width:13px;height:13px;padding:0 2px;border-radius:7px;font-size:9px;line-height:11px}
/* 진행띠 10칸(모험 9칸)이 틀 안에 들게 칸 사이 6px */
html body.tw-hud #stage-dots{gap:6px!important}
/* 휴대폰 상점 런(.frontier-shop)의 진행띠 빈 틀 숨김(e80d85c8)을 tw-hud에서 되돌림 */
html body.tw-hud.mobile-ui.t1-tower #hud-round#hud-round#hud-round#hud-round#hud-round{visibility:visible!important}
/* 04 11-14 무한 도전 포스터 층 띠(InfPoster): 머리 글자만 무한 도전 보라(제안값), 인물 상징색은 그대로 */
#t1-poster.t1p-inf .hg-info .hg-inf{color:#b79cff!important}
#t1-poster.t1p-inf .t1p-vt,#t1-poster.t1p-inf .t1p-no b{color:#cdbbff!important}
#t1-poster .p3 .p3-gold .p3-vsimg{display:inline-block;vertical-align:middle;margin:0 .25em 0 0;image-rendering:pixelated;position:relative;top:-.06em} /* .p3 *{position:absolute} 덮기 */ /* 04 11-14 챔피언 금색 제목 VS = HG 도트 그림(¥S 글리프 대신) */
#t1-poster .p3 .p3-gold:has(.p3-vsimg){white-space:nowrap}
#t1-poster .p3 .p3-gold .p3-gn{position:static;background:linear-gradient(180deg,#fff6c8,#ffd84a 45%,#b07a10 55%,#ffe98a);-webkit-background-clip:text;background-clip:text;color:transparent}
/* 04 11-14 타워 진행띠 = GPT 193_3(Rail193). 배치·크기는 지금 진행띠(모험과 같음) 그대로, 그림만 — 9조각 여백은 1x × 0.55(레일)·0.6(칸) */
html body.tw193:not(.hud85m):not(.mobile-ui) #hud-round{box-sizing:border-box!important;background:none!important;box-shadow:none!important;border-style:solid!important;border-width:13px!important;border-image:url(assets/ui/bpshop-192/tower-rail/2x/rail_normal.png) 48 fill / 13px!important;padding:0 4px!important;border-radius:0!important}
html body.tw193.tw193-inf:not(.hud85m):not(.mobile-ui) #hud-round{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/rail_infinite.png)!important}
html body.tw193:not(.hud85m):not(.mobile-ui) #round-label{position:relative;z-index:0;width:auto!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important}
html body.tw193:not(.hud85m):not(.mobile-ui) #round-label::before{content:"";position:absolute;z-index:-1;left:-12px;right:-10px;top:-6px;bottom:-6px;border-style:solid;border-width:6px;border-image:url(assets/ui/bpshop-192/tower-rail/2x/floor_normal.png) 24 fill / 6px;background:none!important;box-shadow:none!important}
html body.tw193.tw193-inf:not(.hud85m):not(.mobile-ui) #round-label::before{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/floor_infinite.png)!important}
html body.tw193 #hud-progress{display:flex!important;align-items:center;gap:8px}
html body.tw193 #stage-dots{gap:4px!important;align-items:center}
html body.tw193 #stage-dots .stage-node.tw-tile{position:relative;width:34px!important;height:31px!important;min-width:0!important;padding:0!important;margin:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-style:solid!important;border-width:6px!important;border-image:url(assets/ui/bpshop-192/tower-rail/2x/progress_future.png) 20 fill / 6px!important;display:grid;place-items:center;overflow:visible;opacity:1!important;filter:none!important;transform:none!important}
html body.tw193 #stage-dots .stage-node.tw-tile.cleared{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/progress_past.png)!important}
html body.tw193 #stage-dots .stage-node.tw-tile.active{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/progress_current.png)!important}
html body.tw193 #stage-dots .stage-node.tw-tile b{position:absolute;left:-6px;right:-6px;top:-6px;bottom:-6px;display:grid;place-items:center;font:800 14px/1 'PT Read',sans-serif;color:#e9ebef;letter-spacing:0}
html body.tw193 #stage-dots .stage-node.tw-tile.cleared b{color:#cfd2d8;bottom:2px}
html body.tw193 #stage-dots .stage-node.tw-tile.active b{color:#2a2000}
html body.tw193 #stage-dots .stage-node.tw-tile .tw-ic{position:absolute;left:50%;right:auto;top:-17px;width:14px;height:14px;margin:0 0 0 -7px;pointer-events:none;filter:drop-shadow(0 1px 0 #000)}
html body.tw193 #stage-dots .stage-node.tw-tile>small,html body.tw193 #stage-dots .stage-node.tw-tile>i{display:none!important}
html body.tw193 #tw-bosstag{position:absolute;right:6px;top:calc(100% + 13px);z-index:2;display:inline-grid;place-items:center;height:30px;padding:0 9px;border-style:solid;border-width:7px;border-image:url(assets/ui/bpshop-192/tower-rail/2x/boss_distance_tag.png) 24 fill / 7px;font:800 13px/1 'PT Read',sans-serif;color:#ffcf2e;white-space:nowrap;box-sizing:border-box}
/* 휴대폰(hud85m, 논리 크기 × --m85k): 기존 #hud-round#hud-round 규칙과 같은 우선순위로 칸 그림. 숫자는 지금 층만(칸이 작음) */
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile{width:24px!important;height:22px!important;border-style:solid!important;border-width:4px!important;border-image-width:4px!important;border-image:url(assets/ui/bpshop-192/tower-rail/2x/progress_future.png) 20 fill / 6px!important;background:none!important;border-radius:0!important;overflow:visible!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile.cleared{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/progress_past.png)!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile.active{border-image-source:url(assets/ui/bpshop-192/tower-rail/2x/progress_current.png)!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile b{font-size:0!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile.active b{font:800 11px/1 'PT Read',sans-serif!important;color:#2a2000!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots .stage-node.tw-tile .tw-ic{width:12px!important;height:12px!important;top:-13px!important;left:50%!important;right:auto!important;margin-left:-6px!important}
body.tw193.hud85m #hud-round#hud-round #stage-dots{gap:2px!important}
body.tw193.hud85m #tw-bosstag{display:none}
/* 04 11-14 무한 도전 보스 3택(InfBossPick, 관장 선택 틀 복사): 난이도 띠·지방/에이스·추가 보상·시험용 표시 */
#inf-bosspick{position:fixed;inset:0;z-index:1200}
#inf-bosspick.hidden{display:none}
#inf-bosspick .ibp-grade{position:absolute;left:8%;top:6%;z-index:3;padding:.2em .7em;border-radius:6px;background:#1d1f24e6;border:2px solid #ffcf2e;color:#ffcf2e;font:800 clamp(11px,1.05vw,20px)/1.1 'PT Read',sans-serif;font-style:normal}
#inf-bosspick .ibp-grade.g1{border-color:#ff9a3c;color:#ffb36a}
#inf-bosspick .ibp-grade.g2{border-color:#ff5a6a;color:#ff8a96}
#inf-bosspick .ibp-sub,#inf-bosspick .ibp-rw{display:block;font:800 clamp(10px,.85vw,16px)/1.25 'PT Read',sans-serif;color:#4a3d24;text-align:center}
#inf-bosspick .ibp-rw{color:#a3560a}
#inf-bosspick .ibp-mod{position:absolute;left:8%;top:calc(6% + clamp(26px,2.3vw,44px));z-index:3;padding:.15em .6em;border-radius:6px;background:#1d1f24d9;color:#f4f5f7;font:700 clamp(9px,.8vw,15px)/1.2 'PT Read',sans-serif;font-style:normal;white-space:nowrap}
#inf-bosspick .ibp-ace{image-rendering:pixelated}
#inf-bosspick .g3-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html body #inf-bosspick .g3 .g3-name.ibp-long{font-size:.66em!important;letter-spacing:-.02em}
@media (max-height:500px){#inf-bosspick .ibp-sub{display:none}#inf-bosspick .ibp-rw{font-size:10px;line-height:1.2}} /* 휴대폰: 카드 아래 칸이 좁아 지방·에이스 줄은 빼고 보상 줄만(에이스는 도트로 보임) */
#inf-bosspick .ibp-demo{margin-left:12px;padding:2px 8px;border-radius:6px;background:#c0392b;color:#fff;font:800 12px/1.4 'PT Read',sans-serif}
/* 04 11-14 타워 일반 층 짧은 VS 띠(TowerBand, 193_1 02_vs 목업) */
#tw-band{position:fixed;left:0;right:0;top:41%;z-index:1100;display:flex;justify-content:center;pointer-events:auto;animation:twbIn .22s ease-out both}
#tw-band.out{animation:twbOut .18s ease-in both}
#tw-band .twb{display:flex;align-items:center;gap:clamp(10px,1.4vw,28px);width:min(1200px,64vw);height:clamp(64px,5.6vw,104px);padding:0 clamp(14px,2vw,40px);box-sizing:border-box;background:#1f2024f2;border:3px solid #6c6e75;border-radius:14px;box-shadow:0 0 0 2px #0008,0 10px 28px #0009;clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,18px 100%,0 50%)}
#tw-band .twb-l,#tw-band .twb-r{flex:1;display:flex;align-items:center;gap:clamp(8px,1vw,20px);min-width:0}
#tw-band .twb-r{justify-content:flex-end}
#tw-band b{font:800 clamp(16px,1.75vw,34px)/1.1 'PT Read',sans-serif;color:#f4f5f7;white-space:nowrap}
#tw-band .twb-r span{display:flex;flex-direction:column;min-width:0}
#tw-band .twb-r b{overflow:hidden;text-overflow:ellipsis}
#tw-band small{font:700 clamp(11px,1vw,20px)/1.2 'PT Read',sans-serif;color:#c8cad0}
#tw-band .twb-m{display:flex;gap:clamp(4px,.5vw,10px)}
#tw-band .twb-m img{width:clamp(64px,6.4vw,124px);height:auto;margin:-18% -16%;image-rendering:pixelated} /* 도트 그림 여백 때문에 칸보다 크게(보이는 몸 ≈ 80px@1920) */
/* 04 11-14 ②: 상대 도트 얼굴·계급·대사 한 줄, 포켓몬 아이콘 80px(1920) */
#tw-band{flex-direction:column;align-items:center}
#tw-band .twb-pt{width:clamp(48px,4.2vw,80px);height:clamp(48px,4.2vw,80px);object-fit:contain;image-rendering:pixelated;background:#0006;border:2px solid #6c6e75;border-radius:10px;flex:none}
#tw-band .twb-r small{color:#ffcf2e}
#tw-band .twb-line{display:block;margin-top:clamp(6px,.6vw,12px);max-width:min(1000px,52vw);padding:clamp(4px,.4vw,8px) clamp(12px,1.2vw,22px);background:#111214e6;border:2px solid #4a4c52;border-radius:10px;font:700 clamp(12px,1.05vw,20px)/1.3 'PT Read',sans-serif;color:#f4f5f7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
#tw-band .twb-vs{display:flex;align-items:center;gap:clamp(8px,1vw,18px)}
#tw-band .twb-vs i{display:block;width:clamp(4px,.35vw,7px);height:clamp(44px,4vw,78px);background:#ffcf2e;transform:skewX(-22deg)}
#tw-band .twb-vs b{font:italic 900 clamp(28px,3.1vw,60px)/1 'PT Title',sans-serif;color:#ffcf2e;text-shadow:0 3px 0 #000}
@keyframes twbIn{from{opacity:0;transform:scaleX(.6)}to{opacity:1;transform:none}}
@keyframes twbOut{to{opacity:0;transform:translateY(-8px)}}
@media (max-height:500px){#tw-band{top:30%}#tw-band .twb{width:92vw;height:62px}#tw-band .twb-m img{width:58px}#tw-band .twb-pt{width:44px;height:44px}#tw-band .twb-line{max-width:88vw;font-size:12px;margin-top:4px}}
/* 04 11-15 사용자 실플레이 지적(관리자): 큰 몸(롱스톤)이 왼쪽 제목을 덮고, 상대 에이스가 VS 사선 위에 겹치고, 상대 이름이 세로로 꺾이던 것.
   좌우 칸 = 같은 폭(flex 1 1 0) · 제목·이름 = 줄지 않음(한 줄, 길면 말줄임) · 포켓몬 = 고정 정사각 상자 안 contain(음수 여백 없음, 띠 높이 안) · 상대 포켓몬은 초상 바로 옆 */
#tw-band .twb-l,#tw-band .twb-r{flex:1 1 0;min-width:0;overflow:hidden}
#tw-band .twb-l>b{flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis}
#tw-band .twb-m{flex:0 1 auto;min-width:0;overflow:hidden;align-items:center}
#tw-band .twb-m img{--ms:clamp(48px,4.8vw,92px);width:var(--ms);height:var(--ms);margin:0;flex:none;object-fit:contain}
#tw-band .twb-r>span{flex:0 0 auto;max-width:clamp(96px,11vw,220px);min-width:2.5em}
#tw-band .twb-r>span>b,#tw-band .twb-r>span>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:keep-all}
#tw-band .twb-vs{flex:none}
@media (max-height:500px){#tw-band .twb-m img{--ms:46px}#tw-band .twb-r>span{max-width:96px}}
/* 04 11-14 온라인 대전 상대 3택 플레이어 카드(OnlinePick, 관장 선택 틀 복사) — 틀만 */
#online-pick{position:fixed;inset:0;z-index:1200}
#online-pick.hidden{display:none}
#online-pick .olp-sc{background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--tc) 55%,#fff) 0,var(--tc) 46%,#22242a 100%)!important}
#online-pick .g3-card{box-shadow:inset 0 0 0 clamp(4px,.45vw,8px) var(--tc)}
#online-pick .olp-ic{position:absolute;left:50%;top:50%;width:clamp(96px,8.6vw,168px);transform:translate(-50%,-55%);image-rendering:pixelated;filter:drop-shadow(0 4px 0 #0006)}
#online-pick .olp-band{position:absolute;left:8%;top:6%;z-index:3;padding:.2em .7em;border-radius:6px;background:#1d1f24e6;border:2px solid var(--tc);color:var(--tc);font:800 clamp(11px,1.05vw,20px)/1.1 'PT Read',sans-serif;font-style:normal}
#online-pick .g3-name small{margin-left:.15em;font-size:.62em;color:#7a6a48}
#online-pick .olp-score{display:block;font:800 clamp(10px,.85vw,16px)/1.25 'PT Read',sans-serif;color:#4a3d24;text-align:center}
#online-pick .olp-ace{image-rendering:pixelated}
#online-pick .ibp-demo{margin-left:12px;padding:2px 8px;border-radius:6px;background:#c0392b;color:#fff;font:800 12px/1.4 'PT Read',sans-serif}
html body.tw193:not(.hud85m):not(.mobile-ui) #phase-pill{margin-left:14px!important} /* 층 판과 준비 단계 글자 사이 띄움 */
/* 04 11-14 전투 중 진행띠 = 다이나믹 아일랜드(TowerIsland). PC: 띠 폭이 가운데로 탄성 있게 줄어듦(.32s), 휴대폰: 같은 칸 안 내용 전환 */
html body.tw193:not(.hud85m):not(.mobile-ui) #hud-round{left:50%!important;right:auto!important;margin-left:0!important;translate:-50% 0!important;transform-origin:50% 0!important;transition:none!important}
html body.tw-hud.tw-island:not(.hud85m):not(.mobile-ui) #hud-round{width:470px!important;min-width:0!important;max-width:none!important}
html body.tw-hud.tw-island-inf.tw-island:not(.hud85m):not(.mobile-ui) #hud-round{box-shadow:0 0 0 2px #e8b53a,0 0 14px #e8b53a66!important}
html body.tw-hud.tw-island #hud-round>#hud-roundbar,html body.tw-hud.tw-island #hud-round>#hud-progress,html body.tw-hud.tw-island #tw-bosstag{opacity:0!important;pointer-events:none!important;transition:opacity .12s}
#tw-island{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 10px;opacity:0;pointer-events:none;white-space:nowrap;font:800 17px/1 'PT Read',sans-serif;color:#eef0f3;transition:opacity .15s}
html body.tw-hud.tw-island #tw-island{opacity:1;transition:opacity .2s .14s}
#tw-island .twi-fl{font:900 21px/1 'PT Read',sans-serif;color:#fff}
html body.tw-island-inf #tw-island .twi-fl{color:#ffd76a}
#tw-island .twi-ic{width:18px;height:18px;margin-left:-4px}
#tw-island .twi-sep{width:2px;height:16px;background:#5d6068}
#tw-island .twi-vs{color:#ffcf2e;font-style:italic;font-weight:900}
#tw-island .twi-face{width:32px;height:32px;object-fit:cover;object-position:50% 12%;image-rendering:pixelated;border-radius:50%;background:#2c2e34;border:2px solid #6c6e75}
#tw-island .twi-nm{max-width:150px;overflow:hidden;text-overflow:ellipsis}
#tw-island .twi-st{color:#ff8a7a}
#tw-island .twi-t{font-style:normal;color:#ffcf2e;min-width:32px;text-align:right}
/* 휴대폰(hud85m): 띠 칸 그대로, 내용만 두 줄 알약으로 */
html body.tw-hud.tw-island.hud85m #tw-island,html body.tw-hud.tw-island.mobile-ui #tw-island{flex-wrap:wrap;align-content:center;gap:2px 5px;font-size:11px;padding:2px 6px}
html body.tw-hud.tw-island.hud85m #tw-island .twi-fl{font-size:13px}
html body.tw-hud.tw-island.hud85m #tw-island .twi-face{width:18px;height:18px;border-width:1px}
html body.tw-hud.tw-island.hud85m #tw-island .twi-sep,html body.tw-hud.tw-island.hud85m #tw-island .twi-vs{display:none}
html body.tw-hud.tw-island.hud85m #tw-island .twi-nm{max-width:86px}
html body.playing.hud-combat.tw-island:not(.mobile-ui) #hud-round,html body.tw-island #hud-round{opacity:1!important;clip-path:none!important;filter:none!important} /* 아일랜드는 전투 중 흐림·자르기 없이 */
/* 04 11-14 ⑤ 모험 전투 아일랜드(사용자 '모험도 그렇게하자'): 타워(tw193) 규칙을 body.isl-adv로 같게. PC = 가운데 440px 알약(탄성), 휴대폰 = 띠 칸 그대로 내용만 */
html body.isl-adv-ok:not(.hud85m):not(.mobile-ui) #hud-round{transition:none!important}
/* 04 11-14: 확대·접힘 기본 끔 뒤 bz-on의 transform-origin(50% 0)이 빠져 1280·1680 HUD 배율에서 알약이 왼쪽으로 치우침 → 가운데 기준을 여기서 */
html body.isl-adv.tw-island:not(.hud85m):not(.mobile-ui) #hud-round{left:50%!important;right:auto!important;margin-left:0!important;translate:-50% 0!important;transform-origin:50% 0!important;width:440px!important;min-width:0!important;max-width:none!important}
html body.isl-adv.tw-island #hud-round>#hud-roundbar,html body.isl-adv.tw-island #hud-round>#hud-progress{opacity:0!important;pointer-events:none!important;transition:opacity .12s}
html body.isl-adv.tw-island #tw-island{opacity:1;transition:opacity .2s .14s}
html body.isl-adv #tw-island .twi-fl{font-size:18px;color:#ffd76a;max-width:170px;overflow:hidden;text-overflow:ellipsis}
#tw-island .twi-face.mon{object-fit:contain;object-position:50% 50%;border-radius:8px}
html body.isl-adv.tw-island.hud85m #tw-island,html body.isl-adv.tw-island.mobile-ui #tw-island{flex-wrap:wrap;align-content:center;gap:2px 5px;font-size:11px;padding:2px 6px}
html body.isl-adv.tw-island.hud85m #tw-island .twi-fl{font-size:12px;max-width:120px}
html body.isl-adv.tw-island.hud85m #tw-island .twi-face{width:18px;height:18px;border-width:1px}
html body.isl-adv.tw-island.hud85m #tw-island .twi-sep,html body.isl-adv.tw-island.hud85m #tw-island .twi-vs{display:none}
html body.isl-adv.tw-island.hud85m #tw-island .twi-nm{max-width:86px}
/* 04 11-15 관리자 4번(사용자 19861 인주시티 캡처 '모험도 큰 띠 + 빨간 테'): 기본 흐름은 193 칸 띠(#t1-strip, Band2)가 켜져 #hud-round를 숨김(tft-v1.css 1282) → 알약(#tw-island)이 그 안에 있어 안 보였음.
   모험 전투 알약이 켜진 동안만 띠를 숨기고 알약 칸(#hud-round)을 보인다. 준비·결과로 돌아오면 띠 그대로. ?island=0 = 예전 */
html body.t1-strip-on.isl-adv.tw-island:is(.tft1,.tft1m) #hud-round#hud-round#hud-round#hud-round{visibility:visible!important}
html body.t1-strip-on.isl-adv.tw-island:is(.tft1,.tft1m) #t1-strip#t1-strip{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
/* 04 11-15 관리자 5번 ①: 카지노 '게임코너 결과' 정식 창(GPT 202 '여러 개 획득' 틀 — 어둡게 깐 화면 + 제목 + 받침 칸 줄 + 이름 + 노란 확인). ?casinosum=0 = 08 임시 창 */
.casino-summary-modal.cs202{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(8,10,14,.86);backdrop-filter:blur(3px);animation:cs202In .18s ease-out both}
@keyframes cs202In{from{opacity:0}to{opacity:1}}
.cs202 .cs202-in{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:min(1400px,94vw);color:#f3f1ea;font-family:'Galmuri11','PT Read',sans-serif;text-align:center}
.cs202 h2{margin:0;display:flex;align-items:center;gap:14px;font-size:52px;letter-spacing:.04em;text-shadow:0 3px 0 #000a}
.cs202 .cs-hd{width:46px;height:46px;background:url(assets/ui/reward-202/parts/2x/reward_header_icon.png) center/contain no-repeat;image-rendering:pixelated}
.cs202 .cs-sub{margin:0 0 18px;font-size:22px;color:#d9d4c7}
.cs202 .cs-slots{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:22px 26px}
.cs202 .cs-slot{display:flex;flex-direction:column;align-items:center;gap:10px;width:150px}
.cs202 .cs-box{position:relative;width:142px;height:142px;box-sizing:border-box;border:30px solid transparent;border-image:url(assets/ui/reward-202/parts/2x/reward_slot_filled.png) 60 fill / 30px;background:#3b3936 padding-box;border-radius:10px;display:flex;align-items:center;justify-content:center}
.cs202 .cs-box img{position:absolute;left:-14px;top:-14px;width:110px;height:110px;object-fit:contain}
.cs202 .cs-box img.dot{image-rendering:pixelated}
.cs202 .k-gold .cs-box img,.cs202 .k-xp .cs-box img{left:-4px;top:-4px;width:90px;height:90px}
.cs202 .k-mon .cs-box img{transform:scale(1.5)}
.cs202 .cs-q{position:absolute;right:-24px;bottom:-26px;font-size:22px;color:#ffd84a;text-shadow:0 2px 0 #000,1px 0 0 #000,-1px 0 0 #000;white-space:nowrap}
.cs202 .cs-tag{position:absolute;left:-26px;top:-26px;font-style:normal;font-size:14px;padding:2px 7px;border-radius:6px;background:#c2362c;color:#fff;box-shadow:0 2px 0 #0008}
.cs202 .cs-sh{position:absolute;right:-24px;top:-26px;color:#ffe46b;font-size:20px;font-style:normal;text-shadow:0 0 6px #ffcf3a}
.cs202 .cs-nm{font-size:20px;font-weight:700;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs202 .cs-note{margin:6px 0 0;font-size:20px;color:#e6e1d4}.cs202 .cs-note.warn{color:#ffcf6a}.cs202 .cs-note.warn small{font-size:16px;color:#d9d4c7;margin-left:6px}.cs202 .cs-note.dim{font-size:17px;color:#b9b3a6}
.cs202 .cs-ok{margin-top:22px;width:380px;height:68px;box-sizing:border-box;border:24px solid transparent;border-image:url(assets/ui/reward-202/parts/2x/reward_button_primary_normal.png) 48 fill / 24px;background:#f0be2e padding-box;border-radius:12px;color:#2a2210;font:700 28px 'Galmuri11','PT Read',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.cs202 .cs-ok:hover{border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_primary_hover.png)}.cs202 .cs-ok:active{border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_primary_pressed.png)}
.cs202 .cs-ok:focus{outline:none}.cs202 .cs-ok:focus-visible{filter:brightness(1.08)}
@media (max-height:500px){.cs202 .cs202-in{gap:5px}.cs202 h2{font-size:26px;gap:8px}.cs202 .cs-hd{width:26px;height:26px}.cs202 .cs-sub{font-size:14px;margin:0 0 6px}
 .cs202 .cs-slots{gap:8px;flex-wrap:nowrap;justify-content:safe center;max-width:94vw;overflow-x:auto;overflow-y:hidden;padding:14px 14px 2px;box-sizing:border-box;scrollbar-width:thin}.cs202 .cs-slot{width:72px;flex:none;gap:4px}.cs202 .cs-box{width:66px;height:66px;border-width:14px;border-image-width:14px}.cs202 .cs-box img{left:-7px;top:-7px;width:52px;height:52px}.cs202 .k-gold .cs-box img,.cs202 .k-xp .cs-box img{left:-3px;top:-3px;width:44px;height:44px}
 .cs202 .cs-q{font-size:14px;right:-14px;bottom:-15px}.cs202 .cs-tag{font-size:11px;left:-15px;top:-15px;padding:1px 4px}.cs202 .cs-sh{right:-14px;top:-16px;font-size:14px}.cs202 .cs-nm{font-size:12px;max-width:72px}
 .cs202 .cs-note{font-size:13px;margin:2px 0 0}.cs202 .cs-note.warn small{font-size:11px}.cs202 .cs-note.dim{font-size:12px}
 .cs202 .cs-ok{margin-top:8px;width:220px;height:44px;border-width:14px;border-image-width:14px;font-size:18px}}
@media (prefers-reduced-motion:reduce){.casino-summary-modal.cs202{animation:none}}
/* 04 11-14 사용자 '로비 배경에 사람 있으니 AI티 — 포켓몬만'·'주인공도 없애기'(관리자 지시): 로비 B(.lbb-on)와 타이틀에서 주인공 도트·그림자 숨김(동행 포켓몬은 그대로). 다른 화면(모험 판·VS)은 그대로 */
html body .lbb-on .mm2-hero .mm2-pl,html body .lbb-on .mm2-hero .mm2-sh{display:none!important}
/* 관리자 11-06 결함: 844 보상 고르기 장비(재료·완성품) 카드 그림이 원(.fbp-disc)을 넘쳐 이름·설명을 가림 — 그림은 원 안(지름 86%)까지만, 844는 원을 다른 카드 그림(56px)과 같은 크기로 */
.fbp .fbp-disc .fbp-int{max-width:86%;max-height:86%;object-fit:contain}
@media(max-height:500px){.fbp .fbp-disc{width:56px;height:56px}}
/* 같은 결함(1920도): 완성품 카드 오른쪽 아래 재료 작은 그림(.fbp-parts)이 '.fb-ico img' 큰 크기 규칙(#frontier-augment 포함 → 우선순위 높음)을 받아 168px·52px로 커져 본 그림을 덮음 → 작은 칸 크기 고정 */
html body :is(#frontier-augment,.fbp) .fb-ico .fbp-parts img{width:calc(26px * var(--fs,1))!important;height:calc(26px * var(--fs,1))!important;min-width:0!important}
@media(max-height:500px){html body :is(#frontier-augment,.fbp) .fb-ico .fbp-parts img{width:16px!important;height:16px!important}html body .fbp .fbp-parts{right:-10%;bottom:-8%;gap:1px}}
/* XP 보상 = 이상한사탕 도트(30×30) — DOM 그림은 흐리지 않게 */
img[src$="items/rare-candy.png"]{image-rendering:pixelated}
/* 04 11-10 결정 348(사용자 재확인): 상점 XP 단추 = 원본 이상한사탕 아이콘이 작아도 보이게. PC = 34px·흰 외곽선(파란 단추 위 보라 사탕 대비), 휴대폰 가로 = 단추 왼쪽 위 모서리 배지 24px(이전엔 크기 0으로 접혀 안 보였음) */
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn img.hud-candy{width:34px!important;height:34px!important;flex:none;image-rendering:pixelated;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 0 #0009)}
html body.tft1m.hud85m #hud #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn img.hud-candy{content:url(assets/items/rare-candy.png)!important;display:block!important;position:absolute!important;left:-8px!important;top:-10px!important;right:auto!important;bottom:auto!important;width:24px!important;height:24px!important;max-width:none!important;margin:0!important;z-index:3;image-rendering:pixelated;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 0 #0009);pointer-events:none}
html body.tft1m.hud85m #hud #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn{overflow:visible!important}
html body.playing:not(.tft1):not(.mobile-ui) #hud #xp-btn#xp-btn img.hud-candy{width:26px!important;height:26px!important;image-rendering:pixelated;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 0 #0009)} /* 좁은 PC(옛 나무판 HUD)도 사탕 크게 */
/* 4·5성 전용 별 정보 창 배지(05 GPT 166): 32×32 × 4프레임 시트를 24px로, 150ms 반복. 움직임 줄이기·저사양이면 1프레임째(정지) */
.battle-grade.star166{filter:none!important;animation:none!important}
.battle-grade.star166::before,.battle-grade.star166::after{display:none!important}
.battle-grade.star166>i{display:block;width:24px;height:24px;background-repeat:no-repeat;background-size:96px 24px;background-position:0 0;animation:pt-s166 .6s steps(4) infinite}
@keyframes pt-s166{to{background-position:-96px 0}}
@media(prefers-reduced-motion:reduce){.battle-grade.star166>i{animation:none}}
:is(body.pt-still-fx,body.low-fx) .battle-grade.star166>i{animation:none}
/* 1~3성 동·은·금 정보 창 별(05 GPT 166-2): 32×32 별 1개를 16px로, 별 수만큼 */
.battle-grade.star13{gap:1px!important}
.battle-grade.star13>img{width:16px!important;height:16px!important;min-width:16px!important}
/* 업데이트 소식 개편(관리자 11-06, 사용자 '보기 힘듦'): 차콜 정보 창 규칙(#262423 + 위 노랑 #FFC93C), 최신 카드 노랑 테두리, 분야별 접이식 묶음 + 항목 수 배지 */
#patch-notes .pn2-card{display:block;margin:0 0 10px;background:#262423;border:1px solid #4a4540;border-top:3px solid #FFC93C;border-radius:6px;color:#f4efe4;padding:0;overflow:hidden}
#patch-notes .pn2-card[data-latest]{border:2px solid #FFC93C;border-top-width:4px;box-shadow:0 0 0 1px #262423,0 4px 14px #0007}
#patch-notes .pn2-h{display:flex;align-items:center;gap:8px;padding:8px 12px;flex-wrap:wrap}
#patch-notes .pn2-v{font:400 16px/1 var(--font-title),sans-serif;color:#FFC93C}
#patch-notes .pn2-d{color:#b8b0a2;font-size:12px}
#patch-notes .pn2-t{flex:1 1 auto;font-weight:700;font-size:14px;min-width:0}
#patch-notes .pn2-n,#patch-notes .pn2-c{font-style:normal;min-width:22px;padding:1px 7px;border-radius:999px;background:#3a3633;border:1px solid #FFC93C88;color:#FFC93C;font-size:12px;font-weight:700;text-align:center}
#patch-notes .pn2-b{padding:0 10px 10px}
#patch-notes .pn2-old>summary{list-style:none;cursor:pointer;min-height:44px}#patch-notes .pn2-old>summary::-webkit-details-marker{display:none}
#patch-notes .pn2-old>summary .pn2-h::before{content:'▸';color:#FFC93C}#patch-notes .pn2-old[open]>summary .pn2-h::before{content:'▾'}
#patch-notes .pn2-oldh{margin:14px 2px 6px;color:#b8b0a2;font-size:13px;font-weight:700}
#patch-notes .pn2-g{margin:4px 0;border:1px solid #3d3935;border-radius:4px;background:#2e2b29}
#patch-notes .pn2-g>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:0 10px;cursor:pointer;font-weight:700;font-size:13px;color:#f4efe4;list-style:none}
#patch-notes .pn2-g>summary::-webkit-details-marker{display:none}
#patch-notes .pn2-g>summary>span::before{content:'▸ ';color:#FFC93C}#patch-notes .pn2-g[open]>summary>span::before{content:'▾ '}
#patch-notes .pn2-g ul{margin:0;padding:2px 12px 8px 22px}
#patch-notes .pn2-g li{margin:3px 0;font-size:13px;line-height:1.45;color:#e6dfd2}
#patch-notes .pn2-g li b{color:#FFC93C}
@media(max-height:520px){#patch-notes .pn2-h{padding:6px 10px}#patch-notes .pn2-g>summary{min-height:32px;font-size:12px}#patch-notes .pn2-g li{font-size:12px}}
/* 소식 창 바깥 판·밸런스 칸도 차콜(정보 창 규칙) — pn2일 때만 */
html body #patch-notes.pn2 .patch-panel{background:#262423!important;border:1px solid #4a4540!important;border-top:3px solid #FFC93C!important;border-radius:8px!important;color:#f4efe4}
html body #patch-notes.pn2 .patch-panel h2{color:#FFC93C}
html body #patch-notes.pn2 .pb-balance{background:#2e2b29!important;border-color:#3d3935!important}
html body #patch-notes.pn2 .pn2-card{background:#2b2826}
/* 04 11-14 빈칸 자동 채움 고리(AutoFillFX) */
.af-ring{position:fixed;z-index:55;width:var(--r,48px);height:calc(var(--r,48px) * .62);margin:calc(var(--r,48px) * -.31) 0 0 calc(var(--r,48px) * -.5);border:3px solid #ffd34d;border-radius:50%;box-shadow:0 0 12px #ffd34dcc,inset 0 0 8px #ffd34d99;pointer-events:none;animation:afRing .9s ease-out both}
@keyframes afRing{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:scale(1.35)}}
/* 04 11-14 01 결함 '전투 시작 직후 PC 판 0.2~0.5초 검게': 아일랜드 줄어듦을 width 전환(.32s)으로 하면 #hud-round 크기가 프레임마다 바뀌어 renderer ResizeObserver → resize()가 캔버스 width를 다시 넣어(같은 값이라도 지워짐) 그린 뒤에 판이 비었다(판 확대 기본 끔 뒤 bz-on 전환 덮어쓰기가 없어져 드러남). → 폭은 바로 바꾸고, 줄어드는 느낌은 scale(크기 판정 무관)로 */
html body.tw-island:is(.tw193,.isl-adv-ok):not(.hud85m):not(.mobile-ui) #hud-round{animation:islPop .32s cubic-bezier(.34,1.56,.64,1)}
@keyframes islPop{from{scale:1.25 1}to{scale:1 1}}
@media (prefers-reduced-motion:reduce){html body.tw-island #hud-round{animation:none!important}}
/* 04 11-15 받은 증강 아이콘 칸 = 증강 아이콘 그림(글자 자리표시 대신) */
img.fah-art{object-fit:contain}#frontier-aug-held.hl .fa-icon img.fah-art{width:100%;height:100%;object-fit:contain;display:block}
/* 04 11-15 타워 층 승리·패배 결과 = 모험 승리 결과 띠(V2 칩)와 같은 가로 띠(Res192 .rb, 사용자 실플레이 지적·관리자). 제패·정산은 192 창 그대로. ?towerresband=0 되돌림 */
html body #frontier-bar #frontier-result.r192.rb{width:100vw!important;box-sizing:border-box;padding:22px 16px 20px!important;gap:12px;background:linear-gradient(180deg,#151515eb,#202020eb)!important;border-top:3px solid #FFCF2E;border-bottom:3px solid #FFCF2E;box-shadow:0 10px 30px #000a;transform:none!important}
html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]{border-color:#C9473C}
html body #frontier-bar #frontier-result.r192.rb>h3{width:auto;height:auto;padding:0!important;background:none!important;flex-direction:column!important;gap:4px;font:400 64px/1 "PT Title","PT Read",sans-serif!important;color:#FFCF2E!important;text-shadow:0 4px 0 #000,0 0 18px #ffcf2e55}
html body #frontier-bar #frontier-result.r192.rb>h3::before{content:'VICTORY';font:800 22px/1 "PT Read",sans-serif;letter-spacing:.35em;color:#FFCF2E;text-shadow:none}
html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]>h3{color:#F3F1E9!important;text-shadow:0 4px 0 #000}
html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]>h3::before{content:'DEFEAT';color:#E8796A}
html body #frontier-bar #frontier-result.r192.rb .r192-chip{position:static;transform:none;order:-1;display:none}
html body #frontier-bar #frontier-result.r192.rb .r192-body{width:min(900px,100%);min-height:0;margin:0;padding:0;border:0;border-image:none;background:none;justify-items:center;gap:12px}
html body #frontier-bar #frontier-result.r192.rb .r192-bp{display:none!important}
html body #frontier-bar #frontier-result.r192.rb #frontier-result-detail{display:none!important}
html body #frontier-bar #frontier-result.r192.rb .r192-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
html body #frontier-bar #frontier-result.r192 .r192-chips:empty,html body #frontier-bar #frontier-result.r192:not(.rb) .r192-chips{display:none}
html body #frontier-bar #frontier-result.r192.rb .r192-chips>span{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;box-sizing:border-box;background:#2B2C2F;border:2px solid #5A5D63;border-radius:4px;font:800 26px/1 "PT Read",sans-serif;color:#FFCF2E}
html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-hp{color:#F3F1E9}html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-hp small{font-size:.7em;color:#E8796A;margin-left:2px}
html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-sum{color:#C9CBC2;font-size:22px}
html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-bp i{width:28px;height:28px;background:url(assets/ui/bpshop-192/result/2x/bp_coin.png) 0 0/100% 100%;image-rendering:pixelated}
html body.bp192 #frontier-bar #frontier-result.r192.rb .r192-chips .c-bp i{background-image:url(assets/ui/bpshop-192/shop/2x/bp_coin_small.png)}
html body #frontier-bar #frontier-result.r192.rb .r192-btns{justify-content:center;width:100%}
html body #frontier-bar #frontier-result.r192.rb .r192-btns>button{min-width:200px}
html body #frontier-bar #frontier-result.r192.rb .r192-btns>button#frontier-next{flex:0 0 auto;min-width:320px}
html body #frontier-bar #frontier-result.r192.rb #frontier-next.t1-auto::after{display:none!important}
@media (max-height:500px){
 html body #frontier-bar #frontier-result.r192.rb{padding:8px 10px 8px!important;gap:6px}
 html body #frontier-bar #frontier-result.r192.rb>h3{font-size:30px!important;gap:2px}html body #frontier-bar #frontier-result.r192.rb>h3::before{font-size:11px}
 html body #frontier-bar #frontier-result.r192.rb .r192-body{gap:6px}
 html body #frontier-bar #frontier-result.r192.rb .r192-chips{gap:6px}html body #frontier-bar #frontier-result.r192.rb .r192-chips>span{min-height:26px;padding:0 9px;font-size:14px;gap:4px}html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-sum{font-size:12px}html body #frontier-bar #frontier-result.r192.rb .r192-chips .c-bp i{width:16px;height:16px}
 html body #frontier-bar #frontier-result.r192.rb .r192-btns>button{min-height:34px!important;min-width:120px;font-size:13px!important;border-width:8px 8px 10px!important}html body #frontier-bar #frontier-result.r192.rb .r192-btns>button#frontier-next{min-width:180px}
}
html body #frontier-bar #frontier-result.r192.rb{border:0!important;border-top:3px solid #FFCF2E!important;border-bottom:3px solid #FFCF2E!important;border-radius:0!important}
html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]{border-top-color:#C9473C!important;border-bottom-color:#C9473C!important}
html body #frontier-bar #frontier-result.r192.rb .r192-btns>button{flex:0 0 auto!important;width:auto!important;min-width:180px}
html body #frontier-bar #frontier-result.r192.rb .r192-btns>button#frontier-next{min-width:300px}
@media (max-height:500px){html body #frontier-bar #frontier-result.r192.rb{border-top-width:2px!important;border-bottom-width:2px!important}html body #frontier-bar #frontier-result.r192.rb .r192-btns>button{min-width:110px}html body #frontier-bar #frontier-result.r192.rb .r192-btns>button#frontier-next{min-width:170px}}
html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]>h3,html body #frontier-bar #frontier-result.r192.rb[data-kind=defeat]>h3 #frontier-result-title{color:#F3F1E9!important}
html body #frontier-bar #frontier-result.r192.rb[data-kind=victory]>h3 #frontier-result-title{color:#FFCF2E!important}
/* 04 11-15 증강·보상 고르기 '판 보기'(FBPeek): 창·흐림을 걷고 단추만 남김 */
#frontier-augment>.fb-peek{position:absolute;right:28px;top:110px;z-index:5;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:#2B2C2F;border:2px solid #FFCF2E;border-radius:6px;color:#FFCF2E;font:800 18px/1 "PT Read",sans-serif;box-shadow:0 4px 0 #000,0 0 12px #ffcf2e44;cursor:pointer;pointer-events:auto;touch-action:none;user-select:none}
#frontier-augment>.fb-peek kbd{font:700 12px/1 "PT Read",sans-serif;padding:3px 6px;border:1px solid #6c6e75;border-radius:4px;color:#C9CBC2;background:#1d1e21}
#frontier-augment>.fb-peek:is(:hover,:focus-visible){background:#3a3b3f}
#frontier-augment.fb-peeking{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:none!important}
#frontier-augment.fb-peeking>:not(.fb-peek){visibility:hidden!important}
#frontier-augment.fb-peeking>.fb-peek{visibility:visible!important;background:#FFCF2E;color:#24251F}
body.fb-peek-on #unit-popover{z-index:2000}
@media (max-height:500px){#frontier-augment>.fb-peek{right:8px;top:48px;min-height:32px;padding:0 10px;font-size:13px}}
body.fb-peek-on #unit-side{z-index:2000}
/* 04 11-15 관리자 A안: 악당 대장 HGSS VS — 띠 뒤 전체 화면 = 그 단 아지트(살짝 어둡게). 가로 띠가 펼쳐지는 순간 함께 들어옴 */
#t1-poster.p3-hgss .hg9>.vb-bg{position:fixed;inset:0;z-index:0;background:center/cover no-repeat;filter:brightness(.6) saturate(.95);image-rendering:pixelated;animation:vbBgIn .22s ease-out both;pointer-events:none}
@keyframes vbBgIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#t1-poster.p3-hgss .hg9>.vb-bg{animation:none}}
/* 04 11-15 관리자 5번 ②: 타워 포획 정식 창(GPT 202 카드 틀 — 차콜 카드·번호 칩·난이도 딱지·받침·확률 크게·볼). ?towercatch=0 = 08 임시 상자 */
.tower-catch-modal.tc202{position:fixed;inset:0;z-index:10080;display:flex;align-items:center;justify-content:center;background:rgba(8,10,14,.86);backdrop-filter:blur(3px);animation:tc2In .18s ease-out both}
.tower-catch-modal.tc202.out{opacity:0;transition:opacity .16s}
@keyframes tc2In{from{opacity:0}to{opacity:1}}
.tc202 .tc2-in{display:flex;flex-direction:column;align-items:center;gap:10px;color:#f3f1ea;font-family:'Galmuri11','PT Read',sans-serif;text-align:center}
.tc202 h2{margin:0;display:flex;align-items:center;gap:14px;font-size:48px;text-shadow:0 3px 0 #000a}
.tc202 .tc2-hd{width:46px;height:50px;background:url(assets/ui/reward-202/parts/2x/reward_tower_icon.png) center/contain no-repeat;image-rendering:pixelated}
.tc202 .tc2-sub{margin:0 0 14px;font-size:21px;color:#d9d4c7}
.tc202 .tc2-cards{display:flex;gap:34px;justify-content:center}
.tc202 .tc2-card{position:relative;width:320px;height:500px;box-sizing:border-box;border:40px solid transparent;border-width:40px 30px;border-image:url(assets/ui/reward-202/parts/2x/reward_card_normal.png) 80 60 fill / 40px 30px;background:#2f2d2b padding-box;border-radius:14px;color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 0 0;transition:transform .12s,filter .12s}
.tc202 .tc2-card:hover:not(:disabled),.tc202 .tc2-card:focus-visible{border-image-source:url(assets/ui/reward-202/parts/2x/reward_card_hover.png);transform:translateY(-4px);outline:none}
.tc202 .tc2-card.pick{border-image-source:url(assets/ui/reward-202/parts/2x/reward_card_selected.png)}
.tc202 .tc2-card.dim{filter:brightness(.45) saturate(.6)}.tc202 .tc2-card:disabled{cursor:default}
.tc202 .tc2-no{position:absolute;left:-14px;top:-22px;width:40px;height:40px;background:url(assets/ui/reward-202/parts/2x/reward_number_chip.png) center/contain no-repeat;font-style:normal;font-size:20px;line-height:40px;color:#f3f1ea}
.tc202 .tc2-tag{font-style:normal;font-size:20px;font-weight:700;padding:3px 16px;border-radius:999px;color:#14110c;box-shadow:inset 0 -3px 0 #0003}
.tc202 .d-easy .tc2-tag{background:#5fc25a}.tc202 .d-normal .tc2-tag{background:#f2c62e}.tc202 .d-hard .tc2-tag{background:#e0483c;color:#fff}
.tc202 .tc2-ped{position:relative;width:200px;height:200px;background:center/contain no-repeat;display:flex;align-items:center;justify-content:center}
.tc202 .tc2-mon{width:150px;height:150px;object-fit:contain;image-rendering:pixelated;margin-top:-26px}
.tc202 .tc2-nm{font-size:26px}.tc202 .tc2-nm .st{color:#ffd84a}.tc202 .tc2-cost{font-size:16px;color:#b9b3a6}
.tc202 .tc2-pct{display:flex;align-items:center;gap:8px;margin-top:2px}.tc202 .tc2-pct img{width:44px;height:44px;object-fit:contain}
.tc202 .tc2-pct strong{font-size:52px;line-height:1;color:#fff}.tc202 .tc2-pct small{font-size:26px}
.tc202 .d-easy .tc2-pct strong{color:#8fe08a}.tc202 .d-normal .tc2-pct strong{color:#ffd84a}.tc202 .d-hard .tc2-pct strong{color:#ff7f72}
.tc202 .tc2-res{position:absolute;left:0;right:0;top:46%;font-size:34px;font-weight:700;text-shadow:0 3px 0 #000,0 0 10px #000;pointer-events:none}
.tc202 .tc2-card.ok .tc2-res{color:#ffe46b}.tc202 .tc2-card.fail .tc2-res{color:#ff9a8f}
.tc202 .tc2-msg{min-height:30px;margin:8px 0 0;font-size:22px}.tc202 .tc2-msg.ok{color:#ffe46b}.tc202 .tc2-msg.fail{color:#ff9a8f}.tc202 .tc2-msg.warn{color:#ffcf6a}
.tc202 .tc2-acts{display:flex;flex-direction:column;align-items:center;gap:10px}
.tc202 .tc2-btn{width:300px;height:60px;box-sizing:border-box;border:22px solid transparent;border-image:url(assets/ui/reward-202/parts/2x/reward_button_secondary_normal.png) 44 fill / 22px;background:#4a4744 padding-box;border-radius:12px;color:#f3f1ea;font:700 24px 'Galmuri11','PT Read',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;padding:0}
.tc202 .tc2-btn:hover:not(:disabled){border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_secondary_hover.png)}.tc202 .tc2-btn:disabled{opacity:.4;cursor:default}.tc202 .tc2-btn small{font-size:17px;color:#ffd84a}
.tc202 .tc2-bench{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:900px}
.tc202 .tc2-sw{display:flex;flex-direction:column;align-items:center;width:90px;padding:6px 4px;border-radius:10px;border:2px solid #fff3;background:#2f2d2b;color:#f3f1ea;font:inherit;font-size:13px;cursor:pointer}
.tc202 .tc2-sw:hover{border-color:#ffd84a}.tc202 .tc2-sw img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}.tc202 .tc2-sw span{max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-height:500px){.tc202 .tc2-in{gap:3px}.tc202 h2{font-size:22px;gap:6px}.tc202 .tc2-hd{width:22px;height:24px}.tc202 .tc2-sub{font-size:12px;margin:0 0 4px}
 .tc202 .tc2-cards{gap:12px}.tc202 .tc2-card{width:170px;height:236px;border-width:20px 15px;border-image-width:20px 15px;gap:2px;padding:0}
 .tc202 .tc2-no{width:24px;height:24px;line-height:24px;font-size:13px;left:-8px;top:-12px}.tc202 .tc2-tag{font-size:12px;padding:1px 9px}
 .tc202 .tc2-ped{width:92px;height:92px}.tc202 .tc2-mon{width:72px;height:72px;margin-top:-12px}.tc202 .tc2-nm{font-size:14px}.tc202 .tc2-cost{font-size:10px}
 .tc202 .tc2-pct{gap:4px;margin-top:0}.tc202 .tc2-pct img{width:22px;height:22px}.tc202 .tc2-pct strong{font-size:26px}.tc202 .tc2-pct small{font-size:14px}.tc202 .tc2-res{font-size:18px}
 .tc202 .tc2-msg{min-height:16px;margin:2px 0 0;font-size:13px}.tc202 .tc2-btn{width:170px;height:38px;border-width:12px;border-image-width:12px;font-size:15px}.tc202 .tc2-btn small{font-size:11px}
 .tc202 .tc2-acts{gap:4px}.tc202 .tc2-acts.full{flex-direction:row;align-items:center;max-width:94vw}.tc202 .tc2-bench{flex-wrap:nowrap;overflow-x:auto;max-width:600px;gap:4px}.tc202 .tc2-sw{width:58px;flex:none;padding:2px;font-size:10px}.tc202 .tc2-sw img{width:34px;height:34px}.tc202 .tc2-sw span{max-width:54px}}
@media (prefers-reduced-motion:reduce){.tower-catch-modal.tc202{animation:none}.tc202 .tc2-card{transition:none}}
/* 04 11-15 08 받은요청 ② 온라인 대전 창(#online-arena, 08 마크업 그대로) = 192 정식 틀: 결과 창 9조각(bpshop-192 result_window)·금 단추(primary)·회색 단추(secondary)·결과 띠(victory/defeat). 08 임시 CSS(#online-arena-css)를 덮음 */
html body section#online-arena#online-arena{box-sizing:border-box;background:none!important;border:solid transparent!important;border-width:20px 20px 24px!important;border-image:url(assets/ui/bpshop-192/result/2x/result_window.png) 40 40 48 40 fill/20px 20px 24px 20px!important;border-radius:0!important;image-rendering:pixelated;box-shadow:none!important;filter:drop-shadow(0 10px 24px rgba(0,0,0,.45));width:min(620px,calc(100vw - 24px))!important;padding:6px 14px 4px!important;color:#F3F1E9!important;font:16px/1.5 "PT Read",Galmuri11,sans-serif!important}
html body section#online-arena#online-arena h3{margin:0 0 6px!important;font:400 24px/1.15 "PT Title","PT Read",sans-serif!important;color:#FFD34D!important;text-shadow:0 2px 0 #24251F;letter-spacing:.02em}
html body section#online-arena#online-arena .oa-sub{color:#B6BAB0!important}
html body section#online-arena#online-arena .oa-vs{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:6px 10px;background:rgba(26,27,22,.55);border:1px solid #494C46;font-size:17px}
html body section#online-arena#online-arena .oa-vs>span:last-child{text-align:right}
html body section#online-arena#online-arena .oa-vs>b{font:400 22px/1 "PT Title","PT Read",sans-serif;color:#FFD34D;text-shadow:0 2px 0 #24251F}
html body section#online-arena#online-arena .oa-row{gap:10px!important;margin-top:10px!important}
html body section#online-arena#online-arena :is(button,a[data-oa-open]){box-sizing:border-box;min-height:52px!important;padding:0 18px!important;border:solid transparent!important;border-width:12px 12px 16px!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-image:url(assets/ui/bpshop-192/result/2x/button_secondary_normal.png) 24 24 32 24 fill/12px 12px 16px 12px!important;image-rendering:pixelated;color:#F3F1E9!important;font:700 18px/1 "PT Read",Galmuri11,sans-serif!important;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer}
html body section#online-arena#online-arena :is(button,a[data-oa-open]):is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_secondary_hover.png)!important;outline:none}
html body section#online-arena#online-arena :is(button.oa-go,a[data-oa-open]){min-width:150px;border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_normal.png)!important;color:#24251F!important}
html body section#online-arena#online-arena :is(button.oa-go,a[data-oa-open]):is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_hover.png)!important}
html body section#online-arena#online-arena button:disabled{opacity:.45;cursor:default}
html body section#online-arena#online-arena textarea{border-radius:0!important;border-color:#494C46!important;background:#1A1B16!important}
html body section#online-arena#online-arena.oa-mid:has(.oa-big){text-align:center}
html body section#online-arena#online-arena.oa-mid:has(.oa-big)>h3{display:flex;align-items:center;justify-content:center;height:60px;margin:-2px -6px 4px!important;background:url(assets/ui/bpshop-192/result/2x/result_banner_victory.png) 0 0/100% 100% no-repeat;font-size:26px!important}
html body section#online-arena#online-arena.oa-mid:has(.oa-lose)>h3{background-image:url(assets/ui/bpshop-192/result/2x/result_banner_defeat.png);color:#F3F1E9!important}
html body section#online-arena#online-arena .oa-big{font:400 40px/1.1 "PT Title","PT Read",sans-serif!important;text-shadow:0 3px 0 #24251F;margin:2px 0 0!important}
html body section#online-arena#online-arena.oa-mid:has(.oa-big) .oa-row{justify-content:center!important}
html body section#online-arena#online-arena.oa-mid:has(.oa-big) .oa-row>button{min-width:240px}
html body.mobile-ui section#online-arena#online-arena{width:min(560px,calc(100vw - 24px))!important;border-width:14px 14px 18px!important;border-image-width:14px 14px 18px 14px!important;padding:2px 10px 0!important;font-size:14px!important;line-height:1.4!important}
html body.mobile-ui section#online-arena#online-arena.oa-top{top:4px!important}
html body.mobile-ui section#online-arena#online-arena h3{font-size:18px!important;margin-bottom:4px!important}
html body.mobile-ui section#online-arena#online-arena .oa-vs{font-size:14px;padding:3px 8px}
html body.mobile-ui section#online-arena#online-arena .oa-vs>b{font-size:17px}
html body.mobile-ui section#online-arena#online-arena .oa-sub{font-size:12px!important}
html body.mobile-ui section#online-arena#online-arena .oa-row{margin-top:6px!important}
html body.mobile-ui section#online-arena#online-arena :is(button,a[data-oa-open]){min-height:44px!important;font-size:15px!important;border-width:10px 10px 13px!important;border-image-width:10px 10px 13px 10px!important}
html body.mobile-ui section#online-arena#online-arena.oa-mid:has(.oa-big)>h3{height:44px;font-size:20px!important}
html body.mobile-ui section#online-arena#online-arena .oa-big{font-size:30px!important}
/* ③ 온라인 세션 동안(body.ol-arena) 모험 위 진행 띠·상점·벤치·전투! 숨김(자리 크기 유지 → 판 resize 없음) */
html body.ol-arena.ol-arena.ol-arena #hud-round#hud-round#hud-round,html body.ol-arena.ol-arena.ol-arena #hud-round#hud-round#hud-round *,html body.ol-arena.ol-arena.ol-arena #hud-progress#hud-progress#hud-progress,html body.ol-arena.ol-arena.ol-arena #hud-progress#hud-progress#hud-progress *,html body.ol-arena.ol-arena.ol-arena #shared-shop-dock#shared-shop-dock#shared-shop-dock,html body.ol-arena.ol-arena.ol-arena #shared-shop-dock#shared-shop-dock#shared-shop-dock *,html body.ol-arena.ol-arena.ol-arena #shop-cards#shop-cards#shop-cards,html body.ol-arena.ol-arena.ol-arena #shop-cards#shop-cards#shop-cards *,html body.ol-arena.ol-arena.ol-arena #bench#bench#bench,html body.ol-arena.ol-arena.ol-arena #bench#bench#bench *,html body.ol-arena.ol-arena.ol-arena #battle-btn#battle-btn#battle-btn,html body.ol-arena.ol-arena.ol-arena #battle-btn#battle-btn#battle-btn *,html body.ol-arena.ol-arena.ol-arena #hud-deploy-count#hud-deploy-count#hud-deploy-count,html body.ol-arena.ol-arena.ol-arena #hud-deploy-count#hud-deploy-count#hud-deploy-count *,html body.ol-arena.ol-arena.ol-arena #cv-pouch#cv-pouch#cv-pouch,html body.ol-arena.ol-arena.ol-arena #cv-pouch#cv-pouch#cv-pouch *,html body.ol-arena.ol-arena.ol-arena #pc-equipment-icons#pc-equipment-icons#pc-equipment-icons,html body.ol-arena.ol-arena.ol-arena #pc-equipment-icons#pc-equipment-icons#pc-equipment-icons *,html body.ol-arena.ol-arena.ol-arena #hud-shop-controls#hud-shop-controls#hud-shop-controls,html body.ol-arena.ol-arena.ol-arena #hud-shop-controls#hud-shop-controls#hud-shop-controls *,html body.ol-arena.ol-arena.ol-arena #dock-wallet#dock-wallet#dock-wallet,html body.ol-arena.ol-arena.ol-arena #dock-wallet#dock-wallet#dock-wallet *,html body.ol-arena.ol-arena.ol-arena #dock-bench-row#dock-bench-row#dock-bench-row,html body.ol-arena.ol-arena.ol-arena #dock-bench-row#dock-bench-row#dock-bench-row *,html body.ol-arena.ol-arena.ol-arena #dock-toolbar#dock-toolbar#dock-toolbar,html body.ol-arena.ol-arena.ol-arena #dock-toolbar#dock-toolbar#dock-toolbar *,html body.ol-arena.ol-arena.ol-arena #gold-interest-side#gold-interest-side#gold-interest-side,html body.ol-arena.ol-arena.ol-arena #gold-interest-side#gold-interest-side#gold-interest-side *,html body.ol-arena.ol-arena.ol-arena #xp-btn#xp-btn#xp-btn,html body.ol-arena.ol-arena.ol-arena #xp-btn#xp-btn#xp-btn *,html body.ol-arena.ol-arena.ol-arena #reroll-btn#reroll-btn#reroll-btn,html body.ol-arena.ol-arena.ol-arena #reroll-btn#reroll-btn#reroll-btn *,html body.ol-arena.ol-arena.ol-arena #hud-shop-gold#hud-shop-gold#hud-shop-gold,html body.ol-arena.ol-arena.ol-arena #hud-shop-gold#hud-shop-gold#hud-shop-gold *,html body.ol-arena.ol-arena.ol-arena #mobile-stage-progress#mobile-stage-progress#mobile-stage-progress,html body.ol-arena.ol-arena.ol-arena #mobile-stage-progress#mobile-stage-progress#mobile-stage-progress *{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* ④ ≡ 메뉴 아래 줄 '온라인 대전' 단추(덱 내보내기) */
#game-menu .gm-online{white-space:nowrap}
/* 04 11-15 로비 랭킹 패널(#mm2-rank, 틀 — GPT 시안 오면 교체): 메인 로비 왼쪽 빈 곳(위 트레이너 줄 아래), 차콜 톤, 오른쪽으로 0.2초 미끄러져 나옴. 배경 가림 최소(폭 25vw 안팎) */
#main-ab.mm2 #mm2-rank{position:absolute;z-index:6;left:calc(var(--q,19.2px)*2);top:calc(var(--q,19.2px)*8.2);width:clamp(300px,calc(var(--q,19.2px)*24),470px);max-height:calc(100% - var(--q,19.2px)*12);overflow:hidden;box-sizing:border-box;padding:12px 14px 10px;background:rgba(36,37,31,.9);border:2px solid #494C46;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.45);color:#F3F1E9;font:15px/1.35 "PT Read",Galmuri11,sans-serif;opacity:0;transform:translateX(-14px);transition:opacity .2s,transform .22s cubic-bezier(.2,.7,.3,1);pointer-events:none}
#main-ab.mm2 #mm2-rank.on{opacity:1;transform:none;pointer-events:auto}
#mm2-rank .rk-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#mm2-rank .rk-hd>b{font:400 20px/1.1 "PT Title","PT Read",sans-serif;color:#FFD34D;text-shadow:0 2px 0 #1A1B16}
#mm2-rank .rk-hd>small{color:#B6BAB0;font-size:12px}
#mm2-rank .rk-tabs{display:flex;gap:4px}
#mm2-rank .rk-tabs>button{min-height:30px;padding:0 10px;border:1px solid #494C46;border-radius:6px;background:#33352E;color:#B6BAB0;font:700 13px "PT Read",sans-serif;cursor:pointer}
#mm2-rank .rk-tabs>button.on{background:#FFD34D;border-color:#FFD34D;color:#24251F}
#mm2-rank .rk-list{list-style:none;margin:0;padding:0;display:grid;gap:3px}
#mm2-rank .rk-r{display:grid;grid-template-columns:26px 34px 1fr auto;align-items:center;gap:6px;min-height:34px;padding:2px 8px 2px 4px;background:rgba(26,27,22,.6);border-radius:6px}
#mm2-rank .rk-n{font:400 16px/1 "PT Title","PT Read",sans-serif;font-style:normal;text-align:center;color:#B6BAB0}
#mm2-rank .rk-r.top1 .rk-n{color:#FFD34D}#mm2-rank .rk-r.top2 .rk-n{color:#D6DCE4}#mm2-rank .rk-r.top3 .rk-n{color:#D9935A}
#mm2-rank .rk-ace{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
#mm2-rank .rk-nm{min-width:0;display:flex;align-items:baseline;gap:4px;white-space:nowrap;overflow:hidden}
#mm2-rank .rk-nm>b{overflow:hidden;text-overflow:ellipsis}
#mm2-rank .rk-nm>small{color:#8E9389;font-size:11px}
#mm2-rank .rk-nm>em{font:700 10px/1 "PT Read",sans-serif;font-style:normal;padding:2px 5px;border-radius:4px;border:1px solid var(--bc);color:var(--bc);align-self:center}
#mm2-rank .rk-v{font:700 16px/1 "PT Read",sans-serif;color:#F3F1E9;text-align:right;white-space:nowrap}
#mm2-rank .rk-v>u{text-decoration:none;font-size:11px;color:#B6BAB0;margin-left:2px}
#mm2-rank .rk-v>small{display:block;font-size:11px;color:#B6BAB0;margin-top:2px}
#mm2-rank .rk-mine{margin-top:6px;padding-top:6px;border-top:1px dashed #494C46}
#mm2-rank .rk-r.me{background:rgba(255,211,77,.14);outline:1px solid rgba(255,211,77,.5)}
#mm2-rank .rk-empty{margin:10px 0 6px;text-align:center;color:#B6BAB0;font-size:15px}
#mm2-rank .rk-empty>small{display:block;margin-top:4px;font-size:12px;color:#8E9389}
#mm2-rank .rk-note{margin:6px 0 0;text-align:right;font-size:11px;color:#E8796A}
#main-ab.mm2[data-size=m] #mm2-rank{left:8px;top:58px;width:min(300px,38vw);max-height:calc(100% - 66px);padding:7px 8px 6px;font-size:12px;border-radius:8px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-hd{margin-bottom:4px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-hd>b{font-size:15px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-tabs>button{min-height:24px;padding:0 6px;font-size:11px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-list{gap:1px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-r{grid-template-columns:20px 22px 1fr auto;min-height:22px;gap:4px;padding:0 6px 0 2px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-ace{width:22px;height:22px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-n{font-size:12px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-v{font-size:12px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-v>small{display:inline;margin-left:4px}
@media (prefers-reduced-motion:reduce){#main-ab.mm2 #mm2-rank{transition:none;transform:none}}
#mm2-rank .rk-one{display:flex;align-items:center;gap:10px;margin-bottom:8px;padding:8px 10px;border:2px solid #FFD34D;border-radius:8px;background:linear-gradient(90deg,rgba(255,211,77,.18),rgba(26,27,22,.6) 70%)}
#mm2-rank .rk-face{width:48px;height:48px;flex:none;object-fit:contain;image-rendering:pixelated}
#mm2-rank .rk-one-t{display:grid;min-width:0}
#mm2-rank .rk-one-t>small{color:#FFD34D;font-size:12px;font-weight:700}
#mm2-rank .rk-one-t>b{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mm2-rank .rk-one-t>b>i{font-style:normal;font-size:12px;color:#8E9389;margin-left:3px}
#mm2-rank .rk-one-t>em{font-style:normal;font-size:13px;color:#F3F1E9}
#mm2-rank .rk-one-t>em>u{text-decoration:none;color:#B6BAB0;font-size:11px;margin-left:1px}
#mm2-rank .rk-sec{display:flex;justify-content:space-between;align-items:center;margin:6px 0 3px;padding:3px 8px;border-radius:6px;background:#3A3D52;border-left:3px solid #8FA2FF}
#mm2-rank .rk-sec>b{font-size:13px}#mm2-rank .rk-sec>small{font-size:11px;color:#C7CBE0}
#mm2-rank .rk-r{grid-template-columns:24px 1fr auto!important;min-height:28px!important}
#mm2-rank .rk-ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:8px 10px;border:2px solid #FFD34D;border-radius:8px;background:rgba(26,27,22,.75)}
#mm2-rank .rk-me{display:grid}#mm2-rank .rk-me>b{color:#FFD34D;font-size:14px}#mm2-rank .rk-me>small{font-size:12px;color:#B6BAB0}
#mm2-rank .rk-me>small>u{text-decoration:none}
#mm2-rank .rk-cta{flex:none;min-height:36px;padding:0 14px;border:0;border-radius:18px;background:#FFD34D;color:#24251F;font:700 14px "PT Read",sans-serif;cursor:pointer;box-shadow:0 3px 0 #C79A1E}
#mm2-rank .rk-cta:is(:hover,:focus-visible){background:#FFE07A;outline:none}
#main-ab.mm2[data-size=m] #mm2-rank .rk-one{padding:3px 6px;margin-bottom:3px;gap:6px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-face{width:28px;height:28px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-one-t>b{font-size:13px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-one-t>small,#main-ab.mm2[data-size=m] #mm2-rank .rk-one-t>em{font-size:10px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-sec{margin:2px 0 1px;padding:1px 6px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-sec>b{font-size:11px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-r{min-height:18px!important;grid-template-columns:18px 1fr auto!important}
#main-ab.mm2[data-size=m] #mm2-rank .rk-ft{margin-top:3px;padding:3px 6px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-me>b{font-size:11px}#main-ab.mm2[data-size=m] #mm2-rank .rk-me>small{font-size:10px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-cta{min-height:28px;padding:0 10px;font-size:12px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-note{display:none}
#mm2-rank .rk-body{overflow:auto;scrollbar-width:thin;min-height:0}
#main-ab.mm2 #mm2-rank{display:flex;flex-direction:column}
#main-ab.mm2 #mm2-rank,#main-ab.mm2 #mm2-rank *{letter-spacing:normal!important}
#main-ab.mm2 #mm2-rank .rk-body{flex:1 1 auto}
#main-ab.mm2 #mm2-rank .rk-tabs>button{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #494C46;border-radius:6px;background:#33352E;color:#B6BAB0;font:700 13px "PT Read",sans-serif;cursor:pointer}
#main-ab.mm2 #mm2-rank .rk-tabs>button.on{background:#FFD34D;border-color:#FFD34D;color:#24251F}
#main-ab.mm2 #mm2-rank .rk-tabs>button:focus-visible{outline:2px solid #FFD34D;outline-offset:1px}
#main-ab.mm2 #mm2-rank .rk-cta{all:unset;box-sizing:border-box;flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:18px;background:#FFD34D;color:#24251F;font:700 14px "PT Read",sans-serif;cursor:pointer;box-shadow:0 3px 0 #C79A1E}
#main-ab.mm2 #mm2-rank .rk-cta:is(:hover,:focus-visible){background:#FFE07A}
#main-ab.mm2[data-size=m] #mm2-rank .rk-tabs>button{min-height:22px;padding:0 6px;font-size:11px}
#main-ab.mm2[data-size=m] #mm2-rank .rk-cta{min-height:26px;padding:0 10px;font-size:12px}
/* 04 11-15 타워 플레이어 덱 난입 준비 카드(#tw-intrude, 임시 틀 — GPT 198 오면 교체) */
#tw-intrude{position:fixed;z-index:60;left:50%;top:96px;transform:translateX(-50%);box-sizing:border-box;width:min(640px,calc(100vw - 24px));padding:8px 14px 10px;background:rgba(36,37,31,.94);border:2px solid #FFD34D;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.45);color:#F3F1E9;font:15px/1.35 "PT Read",Galmuri11,sans-serif;letter-spacing:normal;animation:iuIn .25s cubic-bezier(.2,.7,.3,1)}
#tw-intrude[hidden]{display:none}
@keyframes iuIn{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translateX(-50%)}}
#tw-intrude .iu-line{margin:0 0 6px;text-align:center;font:400 18px/1.2 "PT Title","PT Read",sans-serif;color:#FFD34D;text-shadow:0 2px 0 #1A1B16}
#tw-intrude .iu-row{display:flex;align-items:center;gap:10px}
#tw-intrude .iu-ace{width:48px;height:48px;flex:none;object-fit:contain;image-rendering:pixelated;background:rgba(26,27,22,.7);border:1px solid #494C46;border-radius:8px}
#tw-intrude .iu-name{display:grid;min-width:0}
#tw-intrude .iu-name>small{font-size:11px;color:#B6BAB0}
#tw-intrude .iu-name>b{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tw-intrude .iu-name>b>i{font-style:normal;font-size:12px;color:#8E9389;margin-left:2px}
#tw-intrude .iu-team{display:flex;gap:2px;margin-left:auto}
#tw-intrude .iu-team>img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
#tw-intrude button{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid #494C46;border-radius:6px;background:#33352E;color:#F3F1E9;font:700 13px "PT Read",sans-serif;white-space:nowrap}
#tw-intrude button:is(:hover,:focus-visible){border-color:#FFD34D}
#tw-intrude .iu-rep{color:#E8796A}
#tw-intrude .iu-ask{display:inline-flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
#tw-intrude .iu-ask>button[data-iu=yes]{background:#E8796A;border-color:#E8796A;color:#24251F}
#tw-intrude .iu-done{font-size:12px;color:#8E9389;white-space:nowrap}
body.mobile-ui #tw-intrude{top:42px;width:min(520px,calc(100vw - 180px));padding:4px 8px 6px;font-size:12px}
body.mobile-ui #tw-intrude .iu-line{font-size:13px;margin-bottom:3px}
body.mobile-ui #tw-intrude .iu-ace{width:30px;height:30px}
body.mobile-ui #tw-intrude .iu-name>b{font-size:13px}
body.mobile-ui #tw-intrude .iu-team>img{width:22px;height:22px}
body.mobile-ui #tw-intrude button{min-height:26px;padding:0 6px;font-size:11px}
@media (prefers-reduced-motion:reduce){#tw-intrude{animation:none}}
html body #frontier-bar #frontier-result.r192 .r192-pbp{display:block;margin-top:4px;font:700 14px/1.2 "PT Read",sans-serif;color:#FFD34D}
#tw-band.twb-player .twb-r>span:last-child{min-width:max-content;white-space:nowrap}
#tw-band.twb-player .twb-r>span:last-child>small{color:#FFD34D}
/* 04 11-15 08 받은요청 1171 온라인 첫 진입 창(#online-entry, 08 단계·마크업 그대로) = 192 정식 부품: 결과 창 9조각·금/회색 단추·체크 상자(factory check). 08 임시 CSS를 덮음 */
html body #online-entry#online-entry .oe-box{box-sizing:border-box;background:none!important;border:solid transparent!important;border-width:20px 20px 24px!important;border-image:url(assets/ui/bpshop-192/result/2x/result_window.png) 40 40 48 40 fill/20px 20px 24px 20px!important;border-radius:0!important;image-rendering:pixelated;box-shadow:none!important;filter:drop-shadow(0 10px 24px rgba(0,0,0,.5));width:min(600px,calc(100vw - 24px))!important;padding:8px 16px 6px!important;color:#F3F1E9!important;font:16px/1.55 "PT Read",Galmuri11,sans-serif!important;letter-spacing:normal}
html body #online-entry#online-entry h2{font:400 24px/1.15 "PT Title","PT Read",sans-serif!important;color:#FFD34D!important;text-shadow:0 2px 0 #24251F;margin:0 0 10px!important}
html body #online-entry#online-entry ul{padding:8px 12px 8px 26px!important;background:rgba(26,27,22,.55);border:1px solid #494C46}
html body #online-entry#online-entry label{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 8px;margin:4px 0!important;border:1px solid transparent;cursor:pointer}
html body #online-entry#online-entry label:hover{border-color:#494C46;background:rgba(255,255,255,.03)}
html body #online-entry#online-entry input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:none;width:26px!important;height:26px!important;margin:0;border:2px solid #8E9389;border-radius:4px;background:#1A1B16;cursor:pointer;image-rendering:pixelated}
html body #online-entry#online-entry input[type=checkbox]:checked{border-color:#FFD34D;background:#1A1B16 url(assets/ui/bpshop-192/factory/2x/check.png) center/22px 22px no-repeat}
html body #online-entry#online-entry input[type=checkbox]:focus-visible{outline:2px solid #FFD34D;outline-offset:2px}
html body #online-entry#online-entry button{box-sizing:border-box;min-height:52px!important;padding:0 18px!important;border:solid transparent!important;border-width:12px 12px 16px!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-image:url(assets/ui/bpshop-192/result/2x/button_secondary_normal.png) 24 24 32 24 fill/12px 12px 16px 12px!important;image-rendering:pixelated;color:#F3F1E9!important;font:700 18px/1 "PT Read",Galmuri11,sans-serif!important}
html body #online-entry#online-entry button:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_secondary_hover.png)!important;outline:none}
html body #online-entry#online-entry button.oe-go{min-width:170px;border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_normal.png)!important;color:#24251F!important}
html body #online-entry#online-entry button.oe-go:is(:hover,:focus-visible){border-image-source:url(assets/ui/bpshop-192/result/2x/button_primary_hover.png)!important}
html body #online-entry#online-entry button:disabled{opacity:.45;cursor:default}
html body #online-entry#online-entry .oe-code{border-radius:0!important;background:rgba(26,27,22,.7)}
html body.mobile-ui #online-entry#online-entry .oe-box{width:min(600px,calc(100vw - 24px))!important;max-height:calc(100vh - 12px)!important;border-width:14px 14px 18px!important;border-image-width:14px 14px 18px 14px!important;padding:2px 10px 0!important;font-size:13px!important;line-height:1.4!important}
html body.mobile-ui #online-entry#online-entry h2{font-size:18px!important;margin-bottom:4px!important}
html body.mobile-ui #online-entry#online-entry ul{margin:0 0 4px!important;padding:4px 8px 4px 22px!important}
html body.mobile-ui #online-entry#online-entry li{margin:1px 0!important}
html body.mobile-ui #online-entry#online-entry label{min-height:30px;margin:0!important}
html body.mobile-ui #online-entry#online-entry input[type=checkbox]{width:20px!important;height:20px!important}
html body.mobile-ui #online-entry#online-entry input[type=checkbox]:checked{background-size:16px 16px}
html body.mobile-ui #online-entry#online-entry .oe-row{margin-top:4px!important}
html body.mobile-ui #online-entry#online-entry button{min-height:42px!important;font-size:15px!important;border-width:10px 10px 13px!important;border-image-width:10px 10px 13px 10px!important}
html body.mobile-ui #online-entry#online-entry .oe-code{margin:6px 0!important;padding:8px!important;font-size:20px!important}
html body #online-entry#online-entry input[type=checkbox]{min-height:0!important;min-width:0!important;padding:0!important;box-sizing:border-box!important;align-self:center}
/* 04 11-15 로비 랭킹 패널 L안 = 05 GPT 198 ① 부품(assets/ui/online-198, 목업 online_lobby_l_tower·l_online). 그림 있을 때만(#mm2-rank.o198), 없으면 위 임시 차콜 틀. 9조각 여백 = parts.json 1x(2x 그림 = 두 배 자름) */
#mm2-rank .rk-x{display:none}
#main-ab.mm2 #mm2-rank.o198{width:clamp(320px,calc(var(--q,19.2px)*26.9),516px);top:calc(var(--q,19.2px)*5.3);left:calc(var(--q,19.2px)*1.4);max-height:calc(100% - var(--q,19.2px)*7);padding:14px 22px 16px;background:none;border:solid transparent;border-width:12px 13px;border-radius:0;border-image:url(assets/ui/online-198/2x/online_ranking_panel.png) 24 26 fill/12px 13px;image-rendering:pixelated;box-shadow:none;filter:drop-shadow(0 10px 22px rgba(0,0,0,.45))}
#main-ab.mm2 #mm2-rank.o198 .rk-hd{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 6px;margin-bottom:6px}
#main-ab.mm2 #mm2-rank.o198 .rk-hd>b{font:400 26px/1.1 "PT Title","PT Read",sans-serif;color:#F3F1E9;text-shadow:0 2px 0 #1A1B16}
#main-ab.mm2 #mm2-rank.o198 .rk-x{all:unset;display:block;width:32px;height:32px;cursor:pointer;background:url(assets/ui/online-198/2x/online_button_close_normal.png) center/100% 100% no-repeat;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-x:is(:hover,:focus-visible){background-image:url(assets/ui/online-198/2x/online_button_close_hover.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-tabs{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:3px;border:solid transparent;border-width:6px 12px;border-image:url(assets/ui/online-198/2x/online_button_tab_pressed.png) 18 48 fill/6px 12px;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-tabs>button{justify-content:center;min-height:30px;border:0;border-radius:0;background:none;color:#D8DAD2;font:700 15px "PT Read",sans-serif}
#main-ab.mm2 #mm2-rank.o198 .rk-tabs>button.on{color:#24251F;border:solid transparent;border-width:6px 12px;border-image:url(assets/ui/online-198/2x/online_button_pill_normal.png) 18 48 fill/6px 12px;margin:-6px 0;background:none}
#main-ab.mm2 #mm2-rank.o198 .rk-tabs>button:not(.on):hover{color:#FFD34D}
#main-ab.mm2 #mm2-rank.o198 .rk-sub{grid-column:1/-1;margin:0;font-size:13px;color:#B6BAB0}
#main-ab.mm2 #mm2-rank.o198 .rk-one{display:grid;grid-template-columns:22px 44px 1fr;align-items:center;gap:8px;margin:2px 0 6px;padding:6px 10px;background:none;border:solid transparent;border-width:8px 12px;border-radius:0;border-image:url(assets/ui/online-198/2x/online_rank_row_self.png) 16 24 fill/8px 12px;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-one>.rk-n{font:400 26px/1 "PT Title","PT Read",sans-serif;color:#FFD34D;font-style:normal}
#main-ab.mm2 #mm2-rank.o198 .rk-face{width:44px;height:44px}
#main-ab.mm2 #mm2-rank.o198 :is(.rk-face,.rk-av).g{display:block;background:url(assets/ui/online-198/2x/online_avatar_guest_small.png) center/contain no-repeat;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-one-t>small{color:#FFD34D}
#main-ab.mm2 #mm2-rank.o198 .rk-one-t>em{color:#FFD34D;font-weight:700;font-size:15px}
#main-ab.mm2 #mm2-rank.o198 .rk-sec{margin:6px 0 2px;padding:0 4px;background:none;border:0;border-radius:0}
#main-ab.mm2 #mm2-rank.o198 .rk-sec>b{font-size:13px;color:#F3F1E9}
#main-ab.mm2 #mm2-rank.o198 .rk-sec>small{color:#8E9389}
#main-ab.mm2 #mm2-rank.o198 .rk-list{gap:2px}
#main-ab.mm2 #mm2-rank.o198 .rk-r{grid-template-columns:24px 26px 1fr auto!important;min-height:22px!important;padding:0 8px 0 4px;background:none;border:solid transparent;border-width:6px 9px;border-radius:0;border-image:url(assets/ui/online-198/2x/online_rank_row_normal.png) 16 24 fill/6px 9px;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-r:hover{border-image-source:url(assets/ui/online-198/2x/online_rank_row_hover.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-r.top3{border-image-source:url(assets/ui/online-198/2x/online_rank_row_bronze.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-r.ref{border-image-source:url(assets/ui/online-198/2x/online_rank_row_reference.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-r.ref .rk-v{color:#B6BAB0}
#main-ab.mm2 #mm2-rank.o198 .rk-refc{text-decoration:none;flex:none;font-size:10px;padding:1px 4px;border:1px solid #6B6E66;border-radius:3px;color:#B6BAB0;margin-right:4px}
#main-ab.mm2 #mm2-rank.o198 .rk-av{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
#main-ab.mm2 #mm2-rank.o198 .rk-v{color:#FFD34D}
#main-ab.mm2 #mm2-rank.o198 .rk-ft{margin-top:8px;padding:6px 10px;background:none;border:solid transparent;border-width:12px 13px;border-radius:0;border-image:url(assets/ui/online-198/2x/online_profile_small.png) 24 26 fill/12px 13px;image-rendering:pixelated;flex-wrap:wrap}
#main-ab.mm2 #mm2-rank.o198 .rk-ft>.rk-cta{flex:1 0 100%;justify-content:center;min-height:44px;margin-top:8px;border-radius:0;background:none;box-shadow:none;border:solid transparent;border-width:10px 12px;border-image:url(assets/ui/online-198/2x/online_button_primary_normal.png) 20 24 fill/10px 12px;image-rendering:pixelated;color:#24251F;font-size:17px}
#main-ab.mm2 #mm2-rank.o198 .rk-ft>.rk-cta:is(:hover,:focus-visible){background:none;border-image-source:url(assets/ui/online-198/2x/online_button_primary_hover.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-ft>.rk-cta:active{border-image-source:url(assets/ui/online-198/2x/online_button_primary_pressed.png)}
#main-ab.mm2 #mm2-rank.o198 .rk-note{color:#E8796A}
#main-ab.mm2 #mm2-rank.o198 .rk-empty{padding:10px 0}
#main-ab.mm2[data-size=m] #mm2-rank.o198{top:52px;left:6px;width:min(320px,40vw);max-height:calc(100% - 58px);padding:2px 8px 4px;border-width:8px 9px;border-image-width:8px 9px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-hd{gap:3px;margin-bottom:2px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-hd>b{font-size:16px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-x{width:22px;height:22px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-tabs{padding:1px;border-width:4px 8px;border-image-width:4px 8px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-tabs>button{min-height:18px;font-size:11px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-tabs>button.on{border-width:4px 8px;border-image-width:4px 8px;margin:-4px 0}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-sub{display:none}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-one{grid-template-columns:14px 26px 1fr;gap:4px;padding:0 4px;margin:0 0 2px;border-width:5px 8px;border-image-width:5px 8px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-one>.rk-n{font-size:15px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-face{width:26px;height:26px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-r{grid-template-columns:16px 16px 1fr auto!important;min-height:14px!important;border-width:4px 6px;border-image-width:4px 6px;padding:0 4px 0 2px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-av{width:16px;height:16px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-ft{margin-top:3px;padding:0 4px;border-width:6px 8px;border-image-width:6px 8px}
#main-ab.mm2[data-size=m] #mm2-rank.o198 .rk-ft>.rk-cta{min-height:26px;margin-top:3px;font-size:12px;border-width:6px 8px;border-image-width:6px 8px}
#main-ab.mm2 #mm2-rank.o198{text-align:left;top:calc(var(--q,19.2px)*8);max-height:calc(100% - var(--q,19.2px)*9.6)}
#main-ab.mm2 #mm2-rank.o198 .rk-hd>b{text-align:left}
#main-ab.mm2[data-size=m] #mm2-rank.o198{top:60px;max-height:calc(100% - 64px)}
#main-ab.mm2:not([data-size=m]) #mm2-rank.o198{max-height:calc(100% - var(--q,19.2px)*13)}
#main-ab.mm2[data-size=m] #mm2-rank.o198{max-height:calc(100% - 68px)}
/* 04 11-15 1177 온라인 순위표 창(#online-board): 198 ① 부품(.o198) 또는 차콜 임시. 순위 아이콘 단추(로비 패널) */
#mm2-rank .rk-ic{display:inline-flex;gap:6px;align-items:center}
#main-ab.mm2 #mm2-rank .rk-board{all:unset;display:block;width:32px;height:32px;cursor:pointer;background:#33352E;border-radius:6px}
#main-ab.mm2 #mm2-rank.o198 .rk-board{background:url(assets/ui/online-198/2x/online_button_rank_normal.png) center/100% 100% no-repeat;image-rendering:pixelated;border-radius:0}
#main-ab.mm2 #mm2-rank.o198 .rk-board:is(:hover,:focus-visible){background-image:url(assets/ui/online-198/2x/online_button_rank_hover.png)}
#main-ab.mm2[data-size=m] #mm2-rank .rk-board{width:22px;height:22px}
#online-board{position:fixed;inset:0;z-index:8600;display:flex;align-items:center;justify-content:center;background:rgba(10,10,8,.66);color:#F3F1E9;font:15px/1.35 "PT Read",Galmuri11,sans-serif;letter-spacing:normal}
#online-board[hidden]{display:none}
#online-board .ob-box{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 32px);display:flex;flex-direction:column;padding:14px 18px;background:#24251F;border:2px solid #494C46;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.5)}
#online-board.o198 .ob-box{background:none;border:solid transparent;border-width:12px 13px;border-radius:0;border-image:url(assets/ui/online-198/2x/online_ranking_panel.png) 24 26 fill/12px 13px;image-rendering:pixelated;box-shadow:none;filter:drop-shadow(0 10px 24px rgba(0,0,0,.5));padding:10px 20px 14px}
#online-board .ob-hd{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-bottom:8px}
#online-board .ob-hd>b{font:400 24px/1.1 "PT Title","PT Read",sans-serif;color:#FFD34D;text-shadow:0 2px 0 #1A1B16}
#online-board.o198 .ob-hd>b{color:#F3F1E9}
#online-board .ob-x{all:unset;width:32px;height:32px;cursor:pointer;background:#33352E;border-radius:6px}
#online-board .ob-x::before{content:'\2715';display:block;text-align:center;line-height:32px;color:#F3F1E9}
#online-board.o198 .ob-x{background:url(assets/ui/online-198/2x/online_button_close_normal.png) center/100% 100% no-repeat;image-rendering:pixelated}
#online-board.o198 .ob-x::before{content:none}
#online-board .ob-tabs{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:4px}
#online-board .ob-tabs>button{all:unset;text-align:center;min-height:34px;line-height:34px;border-radius:6px;background:#33352E;color:#D8DAD2;font:700 15px "PT Read",sans-serif;cursor:pointer}
#online-board .ob-tabs>button.on{background:#FFD34D;color:#24251F}
#online-board.o198 .ob-tabs{gap:0;padding:3px;border:solid transparent;border-width:6px 12px;border-image:url(assets/ui/online-198/2x/online_button_tab_pressed.png) 18 48 fill/6px 12px;image-rendering:pixelated}
#online-board.o198 .ob-tabs>button{background:none;border-radius:0;min-height:30px;line-height:30px}
#online-board.o198 .ob-tabs>button.on{border:solid transparent;border-width:6px 12px;border-image:url(assets/ui/online-198/2x/online_button_pill_normal.png) 18 48 fill/6px 12px;margin:-6px 0;line-height:30px}
#online-board .ob-list{list-style:none;margin:0;padding:0;display:grid;gap:3px;overflow:auto;min-height:0;scrollbar-width:thin}
#online-board .ob-r{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto 64px;align-items:center;gap:8px;min-height:30px;padding:0 10px 0 4px;background:rgba(26,27,22,.6);border-radius:6px}
#online-board.o198 .ob-r{background:none;border-radius:0;border:solid transparent;border-width:6px 9px;border-image:url(assets/ui/online-198/2x/online_rank_row_normal.png) 16 24 fill/6px 9px;image-rendering:pixelated;min-height:22px}
#online-board.o198 .ob-r.top3{border-image-source:url(assets/ui/online-198/2x/online_rank_row_bronze.png)}
#online-board.o198 .ob-r.me{border-image-source:url(assets/ui/online-198/2x/online_rank_row_self.png)}
#online-board .ob-r.me{outline:1px solid rgba(255,211,77,.6)}
#online-board.o198 .ob-r.me{outline:0}
#online-board .ob-n{font:400 17px/1 "PT Title","PT Read",sans-serif;font-style:normal;text-align:center;color:#B6BAB0}
#online-board .ob-r.top1 .ob-n{color:#FFD34D}#online-board .ob-r.top2 .ob-n{color:#D6DCE4}#online-board .ob-r.top3 .ob-n{color:#D9935A}
#online-board .ob-nm{min-width:0;display:flex;gap:4px;align-items:baseline;white-space:nowrap;overflow:hidden}
#online-board .ob-nm>b{overflow:hidden;text-overflow:ellipsis}
#online-board .ob-nm>small{color:#8E9389;font-size:11px}
#online-board .ob-g{font-style:normal;font-size:12px;color:#C7CBE0;white-space:nowrap}
#online-board .ob-v{font-weight:700;color:#FFD34D;white-space:nowrap;text-align:right}
#online-board .ob-v>u{text-decoration:none;font-size:11px;color:#B6BAB0;margin-left:2px}
#online-board .ob-w{color:#B6BAB0;font-size:11px;text-align:right;white-space:nowrap}
#online-board .ob-mine{margin-top:6px;padding-top:6px;border-top:1px dashed #494C46;overflow:visible}
#online-board .ob-need{grid-column:3/-1;text-align:right;color:#B6BAB0;font-size:13px}
#online-board .ob-def .ob-r{grid-template-columns:70px minmax(0,1fr) auto}
#online-board .ob-res{font-style:normal;font-weight:700;text-align:center}
#online-board .ob-r.win .ob-res{color:#7FD08A}#online-board .ob-r.lose .ob-res{color:#FF8F7A}#online-board .ob-r.wait .ob-res{color:#B6BAB0}
#online-board .ob-sum{margin:8px 0 0;text-align:right;color:#B6BAB0;font-size:13px}
#online-board .ob-empty{margin:18px 0 10px;text-align:center;color:#B6BAB0}
#online-board .ob-empty>small{display:block;margin-top:4px;font-size:12px;color:#8E9389}
body.mobile-ui #online-board .ob-box{max-height:calc(100vh - 12px);padding:6px 12px 8px;font-size:12px}
body.mobile-ui #online-board.o198 .ob-box{border-width:8px 9px;border-image-width:8px 9px;padding:2px 10px 6px}
body.mobile-ui #online-board .ob-hd{margin-bottom:4px;gap:4px}
body.mobile-ui #online-board .ob-hd>b{font-size:17px}
body.mobile-ui #online-board .ob-tabs>button{min-height:24px;line-height:24px;font-size:12px}
body.mobile-ui #online-board .ob-r{min-height:20px;grid-template-columns:24px minmax(0,1fr) auto auto 50px;gap:5px}
#online-arena .oa-ladder{margin:6px 0 0;text-align:center}
#online-arena .oa-ladder>button{all:unset;cursor:pointer;color:#FFD34D;font:700 15px "PT Read",sans-serif;padding:2px 8px;border-bottom:1px dashed #FFD34D}
#online-board .ob-res{white-space:nowrap}
#online-board .ob-r{line-height:1.15}
body.mobile-ui #online-board .ob-def .ob-r{grid-template-columns:56px minmax(0,1fr) auto}
/* 04 11-15 관리자 확인 고침: 스크롤 아래 페이드(줄이 반쯤 잘려 보이지 않게) · 1~3위 같은 규칙(1위 금 줄·2위 기본 + 은색 숫자·3위 브론즈, 은색 줄은 GPT 보강 전) · 순위표 줄 높이 = 198 rank_row 36px, 한 화면 약 13줄 */
#main-ab.mm2 #mm2-rank .rk-body.rk-more{-webkit-mask-image:linear-gradient(#000 calc(100% - 34px),transparent);mask-image:linear-gradient(#000 calc(100% - 34px),transparent)}
#main-ab.mm2 #mm2-rank.o198 .rk-r.top2 .rk-n{color:#D6DCE4}
#online-board .ob-r{box-sizing:border-box;min-height:36px}
#online-board.o198 .ob-r{min-height:36px;border-width:8px 12px;padding:0 8px 0 2px}
#online-board .ob-list{gap:4px;max-height:calc(13 * 40px)}
#online-board .ob-list:not(.ob-mine){-webkit-mask-image:linear-gradient(#000 calc(100% - 30px),transparent);mask-image:linear-gradient(#000 calc(100% - 30px),transparent)}
#online-board.o198 .ob-r.top1{border-image-source:url(assets/ui/online-198/2x/online_rank_row_gold.png)}
#online-board.o198 .ob-r.me{border-image-source:url(assets/ui/online-198/2x/online_rank_row_hover.png);box-shadow:inset 3px 0 0 #FFD34D}
#online-board .ob-r.top1{outline:1px solid rgba(255,211,77,.7)}
#online-board.o198 .ob-r.top1{outline:0}
#online-board .ob-r.me .ob-nm>b{color:#FFD34D}
body.mobile-ui #online-board .ob-r,body.mobile-ui #online-board.o198 .ob-r{min-height:28px;border-width:6px 9px}
body.mobile-ui #online-board .ob-list{max-height:calc(100vh - 150px)}
/* 04 11-15 08 S8c·S8d 이번 주 테마(임시 — GPT 199 오면 교체): 한 줄·이름 띠·참고 기록 구간 */
.wk-theme{margin:4px 0 0;font-size:13px;line-height:1.35;color:#F3F1E9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-theme>b{display:inline-block;margin-right:4px;padding:1px 6px;border-radius:4px;background:#FFD34D;color:#24251F;font-size:11px;vertical-align:1px}
.wk-theme>small{margin-left:6px;color:#B6BAB0;font-size:11px}
.wk-theme[data-type=fire]>b{background:#FF9C54}.wk-theme[data-type=water]>b{background:#5DA9FF}.wk-theme[data-type=grass]>b{background:#6BCB5E}.wk-theme[data-type=electric]>b{background:#F6D23E}.wk-theme[data-type=dragon]>b{background:#8D7BFF;color:#fff}
#main-ab.mm2 #mm2-rank .wk-theme{grid-column:1/-1;margin:2px 0 4px}
#main-ab.mm2[data-size=m] #mm2-rank .wk-theme{display:none}
#main-ab.mm2 #mm2-rank .rk-sec-ref>b{color:#B6BAB0}
.inf-entry .wk-theme{max-width:100%}
.inf-entry .wk-go{margin-left:6px}
.inf-stage.wk .inf-sub .wk-theme{display:inline-block;font-size:15px}
.inf-stage.wk .inf-sub .wk-left{margin-left:8px;color:#B6BAB0}
#wk-band{position:fixed;inset:0;z-index:9400;display:flex;align-items:center;justify-content:center;background:rgba(10,10,8,.55);pointer-events:auto;animation:wkIn .25s ease-out}
#wk-band>div{min-width:min(560px,90vw);padding:18px 28px;text-align:center;background:linear-gradient(90deg,transparent,rgba(36,37,31,.96) 12%,rgba(36,37,31,.96) 88%,transparent);border-top:2px solid #FFD34D;border-bottom:2px solid #FFD34D;color:#F3F1E9}
#wk-band small{display:block;color:#FFD34D;font:700 14px "PT Read",sans-serif;letter-spacing:.1em}
#wk-band b{display:block;font:400 40px/1.15 "PT Title","PT Read",sans-serif;text-shadow:0 3px 0 #1A1B16}
#wk-band p{margin:4px 0 0;color:#B6BAB0;font-size:15px}
#wk-band.full b{animation:wkPop .5s .25s cubic-bezier(.3,1.6,.5,1) both}
#wk-band.out{opacity:0;transition:opacity .2s}
@keyframes wkIn{from{opacity:0}to{opacity:1}}
@keyframes wkPop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
body.mobile-ui #wk-band b{font-size:26px}
@media (prefers-reduced-motion:reduce){#wk-band,#wk-band.full b{animation:none}}
/* 04 11-15 S9 구글 연결 화면(임시 — GPT 198 온라인 설정 회차 뒤 교체): 첫 진입 창 안 내 계정 칸·확인·결과 */
#online-entry .og-acct{margin:12px 0 4px;padding:10px 12px;background:rgba(26,27,22,.55);border:1px solid #494C46}
#online-entry .og-acct>h3{margin:0 0 6px;font:400 18px/1.2 "PT Title","PT Read",sans-serif;color:#FFD34D}
#online-entry .og-state{margin:0 0 6px;font-weight:700}
#online-entry .og-state.on{color:#7FD08A}
#online-entry .og-state>small{display:block;font-weight:400;color:#B6BAB0;font-size:13px}
#online-entry .og-note{margin:2px 0;color:#B6BAB0;font-size:12px}
#online-entry .og-q{margin:0;color:#B6BAB0;font-size:14px}
#online-entry .og-link{all:unset;cursor:pointer;color:#FFD34D;font-weight:700;border-bottom:1px dashed #FFD34D;margin-left:6px}
#online-entry .og-ask>b{display:block;color:#FFD34D;margin-bottom:4px}
#online-entry .og-ask>p{margin:2px 0}
html body #online-entry#online-entry button.og-danger{border-image-source:url(assets/ui/online-198/2x/online_button_danger_normal.png)!important;color:#fff!important}
html body #online-entry#online-entry button.og-danger:is(:hover,:focus-visible){border-image-source:url(assets/ui/online-198/2x/online_button_danger_hover.png)!important}
#online-entry h2.og-bad{color:#FF8F7A!important}
#online-entry .og-msg{font-size:16px}
#main-ab.mm2 #mm2-rank .rk-acct{all:unset;display:block;width:32px;height:32px;cursor:pointer;background:#33352E;border-radius:6px}
#main-ab.mm2 #mm2-rank.o198 .rk-acct{background:url(assets/ui/online-198/2x/online_button_settings_normal.png) center/100% 100% no-repeat;image-rendering:pixelated;border-radius:0}
#main-ab.mm2 #mm2-rank.o198 .rk-acct:is(:hover,:focus-visible){background-image:url(assets/ui/online-198/2x/online_button_settings_hover.png)}
#main-ab.mm2[data-size=m] #mm2-rank .rk-acct{width:22px;height:22px}
body.mobile-ui #online-entry .og-acct{margin:4px 0 2px;padding:4px 8px}
body.mobile-ui #online-entry .og-acct>h3{font-size:14px;margin-bottom:2px}
body.mobile-ui #online-entry .og-state>small,body.mobile-ui #online-entry .og-note{font-size:11px}
/* 관리자 11-15: 내 계정 칸 = 박스 안 박스 없이 구분선 + 소제목 */
#online-entry .og-acct{background:none;border:0;border-top:1px solid #494C46;padding:10px 0 0;margin-top:12px}
body.mobile-ui #online-entry .og-acct{padding:4px 0 0;margin-top:4px}
/* 04 11-15 GPT 198 ② 볼 티어 문양(RankPanel.tier: 도트 24·48 + 숫자 받침, 로마 숫자 글자층 #f3f3ed) · 순위 줄 2위 silver · 나 self(198 ② 교체 파일) */
.ot{position:relative;display:inline-block;flex:none;vertical-align:middle;font-style:normal;line-height:0;margin-right:4px}
.ot img{display:block;image-rendering:pixelated}
.ot24 img{width:24px;height:24px}.ot48 img{width:48px;height:48px}
.ot-n{position:absolute;display:grid;place-items:center;background:url(assets/ui/online-198/2x/online_tier_numeral_plate_small.png) center/100% 100% no-repeat;image-rendering:pixelated;color:#f3f3ed;font:700 8px/1 sans-serif;text-shadow:0 1px 0 #000;letter-spacing:0}
.ot24 .ot-n{width:14px;height:14px;left:10px;top:10px}
.ot48 .ot-n{width:24px;height:24px;left:24px;top:24px;font-size:13px}
.ot-n::after{content:attr(data-n)}
#mm2-rank .rk-nm em:has(.ot),#mm2-rank .rk-one-t small:has(.ot),#mm2-rank .rk-me small:has(.ot),#online-board .ob-g:has(.ot),.oa-ladder button:has(.ot),#online-pick .olp-tier{display:inline-flex;align-items:center;gap:2px}
#main-ab.mm2 #mm2-rank.o198 .rk-r.top2{border-image-source:url(assets/ui/online-198/2x/online_rank_row_silver.png)}
#online-board.o198 .ob-r.top2{border-image-source:url(assets/ui/online-198/2x/online_rank_row_silver.png)}
#online-board.o198 .ob-r.me{border-image-source:url(assets/ui/online-198/2x/online_rank_row_self.png);box-shadow:none}
/* 04 11-15 198 ② 온라인 대전 결과 창(O198Res .o198r) — 목업 online_result_*: 차콜 결과 창·볼 티어 큰 문양·점수 판·금 확인 단추 */
html body section#online-arena#online-arena.o198r{border:solid transparent!important;border-width:13px!important;border-image:url(assets/ui/online-198/2x/online_result_frame.png) 24 26 fill/12px 13px!important;background:none!important;box-shadow:0 18px 40px #000b!important;padding:22px 40px 26px!important;min-width:min(620px,92vw)}
html body section#online-arena#online-arena.o198r>h3{height:auto!important;margin:0 0 6px!important;background:none!important;font:700 17px/1.2 "PT Read",sans-serif!important;letter-spacing:.06em;color:#FFD34D!important}
html body section#online-arena#online-arena.o198r .o198-tier{position:relative;display:block;width:104px;height:104px;margin:4px auto 2px}
html body section#online-arena#online-arena.o198r .o198-tier img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 0 #0008)}
html body section#online-arena#online-arena.o198r .o198-tier b{position:absolute;left:77px;top:77px;width:24px;height:24px;display:grid;place-items:center;background:url(assets/ui/online-198/2x/online_tier_numeral_plate_small.png) 0 0/100% 100%;color:#F3F3ED;font:700 12px/1 sans-serif}
html body section#online-arena#online-arena.o198r .o198-tier b::after{content:attr(data-n)}
html body section#online-arena#online-arena.o198r .oa-big{font-size:58px!important;color:#FFD34D!important;text-shadow:0 4px 0 #24251F!important}
html body section#online-arena#online-arena.o198r .oa-big.oa-lose{color:#E8796A!important}
html body section#online-arena#online-arena.o198r .oa-sub{font-size:16px!important;margin:4px 0 12px!important}
html body section#online-arena#online-arena.o198r .o198-sc{box-sizing:border-box;width:min(480px,100%);min-height:96px;margin:0 auto 18px;padding:6px 18px;display:grid;justify-items:center;align-content:center;gap:4px;border:solid transparent;border-width:12px 13px;border-image:url(assets/ui/online-198/2x/online_score_plus.png) 24 26 fill/12px 13px}
html body section#online-arena#online-arena.o198r .o198-sc[data-k=minus]{border-image-source:url(assets/ui/online-198/2x/online_score_minus.png)}
html body section#online-arena#online-arena.o198r .o198-sc[data-k=pending]{border-image-source:url(assets/ui/online-198/2x/online_score_pending.png)}
html body section#online-arena#online-arena.o198r .o198-sc small{display:flex;align-items:center;gap:6px;font-size:12px;color:#B6BAB0}
html body section#online-arena#online-arena.o198r .o198-sc>b{display:flex;align-items:baseline;gap:14px;font:800 36px/1 "PT Read",sans-serif;color:#FFD34D}
html body section#online-arena#online-arena.o198r .o198-sc .b4{font-weight:400;color:#9A9C9F}
html body section#online-arena#online-arena.o198r .o198-sc .ar{font-size:24px;color:#9A9C9F}
html body section#online-arena#online-arena.o198r .o198-sc .dl{font-size:22px}
html body section#online-arena#online-arena.o198r .o198-sc[data-k=minus]>b{color:#E8796A}
html body section#online-arena#online-arena.o198r .o198-sc>b.wt{font-size:22px;color:#C9CBC2}
html body section#online-arena#online-arena.o198r .o198-spin{width:16px;height:16px;background:url(assets/ui/online-198/2x/online_spinner.png) 0 0/100% 100%;animation:o198spin 1s linear infinite}
@keyframes o198spin{to{transform:rotate(360deg)}}
html body section#online-arena#online-arena.o198r .o198-hide{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important} /* 화면에선 점수 판이 대신, 상태 글은 보조기기·08 시험용으로 남김 */
html body section#online-arena#online-arena.o198r .oa-row>button.oa-go{min-width:280px;min-height:58px;border:solid transparent!important;border-width:10px 12px!important;border-image:url(assets/ui/online-198/2x/online_button_primary_normal.png) 20 24 fill/10px 12px!important;background:none!important;color:#24251F!important;font:800 20px/1 "PT Read",sans-serif!important}
html body section#online-arena#online-arena.o198r .oa-row>button.oa-go:is(:hover,:focus-visible){border-image-source:url(assets/ui/online-198/2x/online_button_primary_hover.png)!important}
html body.mobile-ui section#online-arena#online-arena.o198r{padding:8px 16px 10px!important;min-width:0}
html body.mobile-ui section#online-arena#online-arena.o198r .o198-tier{width:56px;height:56px}
html body.mobile-ui section#online-arena#online-arena.o198r .o198-tier b{left:40px;top:40px;width:16px;height:16px;font-size:9px}
html body.mobile-ui section#online-arena#online-arena.o198r .oa-big{font-size:30px!important}
html body.mobile-ui section#online-arena#online-arena.o198r .oa-sub{margin:2px 0 6px!important;font-size:12px!important}
html body.mobile-ui section#online-arena#online-arena.o198r .o198-sc{min-height:56px;margin-bottom:8px;padding:2px 10px}
html body.mobile-ui section#online-arena#online-arena.o198r .o198-sc>b{font-size:20px;gap:8px}
html body.mobile-ui section#online-arena#online-arena.o198r .o198-sc .ar,html body.mobile-ui section#online-arena#online-arena.o198r .o198-sc .dl{font-size:14px}
html body.mobile-ui section#online-arena#online-arena.o198r .oa-row>button.oa-go{min-width:180px;min-height:40px;font-size:15px!important}
/* 04 11-15 198 ② 덱 내보내기·가져오기 창(O198Deck .o198d) — 목업 online_deck_*: 차콜 창·노랑 머리말·큰 제목·코드 칸·팀 칸·회색/금 단추 */
html body section#online-arena#online-arena.o198d{border:solid transparent!important;border-width:13px!important;border-image:url(assets/ui/online-198/2x/online_modal_frame.png) 24 26 fill/12px 13px!important;background:none!important;box-shadow:0 18px 40px #000b!important;padding:26px 44px 28px!important;width:min(900px,94vw)!important;max-width:none!important;text-align:left}
html body section#online-arena#online-arena.o198d .o198-eb{margin:0 0 2px;font:700 14px/1.2 "PT Read",sans-serif;letter-spacing:.06em;color:#FFD34D}
html body section#online-arena#online-arena.o198d>h3{height:auto!important;margin:0 0 8px!important;padding:0!important;background:none!important;justify-content:flex-start!important;font:400 40px/1.15 "PT Title","PT Read",sans-serif!important;color:#F3F1E9!important;text-align:left}
html body section#online-arena#online-arena.o198d .oa-sub{font-size:17px!important;color:#C9CBC2!important;margin:0 0 14px!important}
html body section#online-arena#online-arena.o198d :is(textarea[data-oa-code],.o198-code){box-sizing:border-box;width:100%!important;height:150px!important;margin:4px 0 6px!important;padding:16px 22px!important;resize:none;border:solid transparent!important;border-width:12px 13px!important;border-image:url(assets/ui/online-198/2x/online_code_normal.png) 24 26 fill/12px 13px!important;border-radius:0!important;background:none!important;color:#F3F1E9!important;font:14px/1.6 Consolas,monospace!important;outline:none}
html body section#online-arena#online-arena.o198d .o198-code.bad{height:96px!important;border-image-source:url(assets/ui/online-198/2x/online_code_error.png)!important}
html body section#online-arena#online-arena.o198d [data-oa-deck=bad]{color:#E8796A!important;font-size:15px;margin:2px 0 10px}
html body section#online-arena#online-arena.o198d .o198-th{display:flex;align-items:baseline;gap:12px;margin:2px 0 8px}html body section#online-arena#online-arena.o198d .o198-th b{font-size:20px;color:#F3F1E9}html body section#online-arena#online-arena.o198d .o198-th small{font-size:13px;color:#B6BAB0}
html body section#online-arena#online-arena.o198d .o198-team{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;list-style:none}
html body section#online-arena#online-arena.o198d .o198-team li{position:relative;aspect-ratio:56/64;display:grid;place-items:center;border:solid transparent;border-width:12px 13px;border-image:url(assets/ui/online-198/2x/online_team_slot_normal.png) 24 26 fill/12px 13px}
html body section#online-arena#online-arena.o198d .o198-team li.off{border-image-source:url(assets/ui/online-198/2x/online_team_slot_locked.png);opacity:.7}
html body section#online-arena#online-arena.o198d .o198-team img{width:150%;max-width:none;image-rendering:pixelated;margin:-25%}
html body section#online-arena#online-arena.o198d .o198-team em{position:absolute;left:-10px;top:-26px;font:800 10px/1 "PT Read",sans-serif;font-style:normal;color:#FFD34D}
html body section#online-arena#online-arena.o198d .o198-team .st{position:absolute;left:-8px;bottom:-10px;font-size:9px;color:#FFD34D;letter-spacing:-1px}
html body section#online-arena#online-arena.o198d .o198-team .it{position:absolute;right:-8px;bottom:-8px;width:7px;height:7px;border-radius:50%;background:#FFD34D;box-shadow:0 0 0 1px #24251F}
html body section#online-arena#online-arena.o198d .o198-sr{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html body section#online-arena#online-arena.o198d .oa-row{justify-content:flex-end!important;gap:16px!important;margin-top:10px}
html body section#online-arena#online-arena.o198d .oa-row>:is(button,a){box-sizing:border-box;min-width:140px;min-height:58px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px!important;border:solid transparent!important;border-width:10px 12px!important;border-image:url(assets/ui/online-198/2x/online_button_secondary_normal.png) 20 24 fill/10px 12px!important;border-radius:0!important;background:none!important;color:#F3F1E9!important;font:800 19px/1 "PT Read",sans-serif!important;text-decoration:none}
html body section#online-arena#online-arena.o198d .oa-row>:is(button,a):is(:hover,:focus-visible){border-image-source:url(assets/ui/online-198/2x/online_button_secondary_hover.png)!important}
html body section#online-arena#online-arena.o198d .oa-row>:is(.oa-go,a[data-oa-open],[data-oa-import]){min-width:240px;border-image-source:url(assets/ui/online-198/2x/online_button_primary_normal.png)!important;color:#24251F!important}
html body section#online-arena#online-arena.o198d .oa-row>:is(.oa-go,a[data-oa-open],[data-oa-import]):is(:hover,:focus-visible){border-image-source:url(assets/ui/online-198/2x/online_button_primary_hover.png)!important}
html body section#online-arena#online-arena.o198d .o198-cp{width:22px;height:22px;background:url(assets/ui/online-198/2x/online_button_copy_normal.png) 0 0/100% 100%;image-rendering:pixelated}
html body.mobile-ui section#online-arena#online-arena.o198d{padding:8px 16px 10px!important;max-height:94vh;overflow:auto}
html body.mobile-ui section#online-arena#online-arena.o198d>h3{font-size:22px!important;margin-bottom:2px!important}html body.mobile-ui section#online-arena#online-arena.o198d .o198-eb{font-size:10px}
html body.mobile-ui section#online-arena#online-arena.o198d .oa-sub{font-size:12px!important;margin-bottom:6px!important}
html body.mobile-ui section#online-arena#online-arena.o198d :is(textarea[data-oa-code],.o198-code){height:80px!important;padding:6px 10px!important;font-size:11px!important}
html body.mobile-ui section#online-arena#online-arena.o198d .o198-code.bad{height:60px!important}
html body.mobile-ui section#online-arena#online-arena.o198d .o198-team{gap:4px;margin-bottom:6px}html body.mobile-ui section#online-arena#online-arena.o198d .o198-team li{border-width:6px 7px}
html body.mobile-ui section#online-arena#online-arena.o198d .oa-row{gap:8px!important;margin-top:4px}
html body.mobile-ui section#online-arena#online-arena.o198d .oa-row>:is(button,a){min-width:90px;min-height:40px;font-size:14px!important;border-width:7px 9px!important}
html body.mobile-ui section#online-arena#online-arena.o198d .oa-row>:is(.oa-go,a[data-oa-open],[data-oa-import]){min-width:150px}
html body section#online-arena#online-arena.o198d .oa-row:not(:has(a[data-oa-open]))>[data-oa-copy]{min-width:200px;border-image-source:url(assets/ui/online-198/2x/online_button_primary_normal.png)!important;color:#24251F!important} /* 링크 없는 판(싱글): 복사가 주 단추 */

/* 04-B 11-15 사용자 '장비 선택 전에 덱 상태를 볼 수 있어야 함': 보상 3택(#work-rewards 고르기)에도 증강 창과 같은 '판 보기' 단추·방식(FBPeek). 되돌리기 ?wrpeek=0 */
#work-rewards>.fb-peek{position:absolute;right:28px;top:110px;z-index:30;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:#2B2C2F;border:2px solid #FFCF2E;border-radius:6px;color:#FFCF2E;font:800 18px/1 "PT Read",sans-serif;box-shadow:0 4px 0 #000,0 0 12px #ffcf2e44;cursor:pointer;pointer-events:auto;touch-action:none;user-select:none}
#work-rewards>.fb-peek kbd{font:700 12px/1 "PT Read",sans-serif;padding:3px 6px;border:1px solid #6c6e75;border-radius:4px;color:#C9CBC2;background:#1d1e21}
#work-rewards>.fb-peek:is(:hover,:focus-visible){background:#3a3b3f}
#work-rewards.fb-peeking{background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:none!important}
#work-rewards.fb-peeking>:not(.fb-peek){visibility:hidden!important}
#work-rewards.fbp-on>.fb-peek{opacity:1!important;pointer-events:auto!important} /* 3택 틀(fbp-on)은 .fbp-layer 밖 자식을 다 숨기고 막음 → 단추만 살림 */
#work-rewards.fb-peeking>.fb-peek{visibility:visible!important;background:#FFCF2E;color:#24251F}
@media (max-height:500px){#work-rewards>.fb-peek{right:8px;top:48px;min-height:32px;padding:0 10px;font-size:13px}}

/* 04-B 11-15 사용자 '상성 아이콘 왼쪽 옆에 글자로 써 주면 좋을 듯(속성 이름)': 공격 타입 이름(T.label) · 오른쪽 아이콘 누르면 이름 말풍선 */
#type-chart .tc-atk{align-items:center;gap:4px}
#type-chart .tc-name{display:inline-block;min-width:3em;color:#fff3c4;font:800 12px/1 'PT Read','Malgun Gothic',sans-serif;white-space:nowrap;letter-spacing:-.02em}
#type-chart.m .tc-name{min-width:2.9em;font-size:10.5px;letter-spacing:-.04em}
#type-chart .tc-tip{position:absolute;z-index:3;translate:-50% calc(-100% - 4px);padding:3px 7px;border-radius:6px;background:#fff3c4;color:#2a1a04;font:800 12px/1 'PT Read','Malgun Gothic',sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 2px 0 #0008}
#type-chart .tc-tip[hidden]{display:none}
#type-chart .tc-vs [data-vs]{cursor:help}
/* 04 11-15 회귀 복구(사용자 '전투 중 테두리 빨간색 LED 도는 거 없어짐', 관리자 지시): 3d2e81a6부터 모험 전투에선 LED가 달린 관장띠(#t1-strip .b2ring)가 숨고 알약만 보여 LED가 사라짐.
   같은 모양(빨간 2px 테두리 + 테두리를 도는 밝은 빛)을 알약에 — 싸게: 고리 = 마스크(정지), 빛 = ::before conic-gradient를 transform 회전만(합성 레이어). filter·box-shadow 애니 없음.
   전투 중 모험 알약에서만 돎(준비·결과 = display:none). 효과 줄이기(pt-still-fx)·동작 줄이기 = 빨간 테두리만. 숨은 탭은 브라우저가 그리기를 멈춤. 숨겨진 띠의 b2run 2개는 이제 안 돎 */
#hud-round>.isl-led{display:none}
html body.isl-adv.tw-island #hud-round#hud-round#hud-round>.isl-led{display:block!important;position:absolute!important;inset:-3px!important;z-index:4!important;padding:3px!important;margin:0!important;border:0!important;border-radius:13px!important;overflow:hidden!important;pointer-events:none!important;background:#e53935!important;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html body.isl-adv.tw-island #hud-round#hud-round#hud-round>.isl-led::before{content:''!important;display:block!important;position:absolute!important;left:50%;top:50%;width:160%;aspect-ratio:1;margin:-80% 0 0 -80%;background:conic-gradient(from 0deg,#e53935 0 60%,#ff6a5a 74%,#ffc4ba 86%,#fff 90% 93%,#ffc4ba 95%,#e53935 99%)!important;will-change:transform;animation:isl-led 2.4s linear infinite!important}
@keyframes isl-led{to{transform:rotate(1turn)}}
html body.isl-adv.tw-island.pt-still-fx #hud-round#hud-round#hud-round>.isl-led::before,html body.isl-adv.tw-island:has(>#t1-strip.b2calm,#t1-strip.b2calm) #hud-round#hud-round#hud-round>.isl-led::before{display:none!important}
@media (prefers-reduced-motion:reduce){html body.isl-adv.tw-island #hud-round#hud-round#hud-round>.isl-led::before{display:none!important}}
html body.t1-strip-on.isl-adv.tw-island #t1-strip .b2ring{display:none}
/* 04 11-15 5-b 보스 보상 슬롯 릴(GPT 199 부품 재사용, console-v51.js reelPlay): 슬롯 창 = weekly_theme_slot_window 9조각, 릴 칸 = card_normal·spin(돌 때)·win/lose(결과), 띠는 transform만 */
#tw-trial .tw-slot.r5b{position:relative;padding:calc(22px * var(--fs)) calc(30px * var(--fs));border:solid transparent;border-width:calc(31px * var(--fs)) calc(40px * var(--fs));border-image:url(assets/ui/weekly-theme-199/parts/2x/weekly_theme_slot_window.png) 124 160 fill/calc(31px * var(--fs)) calc(40px * var(--fs));gap:calc(16px * var(--fs))}
#tw-trial .tw-slot.r5b .tw-reel{position:relative;overflow:hidden;background:transparent;border:solid transparent;border-width:calc(16px * var(--fs)) calc(14px * var(--fs));border-radius:0;box-shadow:none;border-image:url(assets/ui/weekly-theme-199/parts/2x/weekly_theme_card_normal.png) 72 64 fill/calc(16px * var(--fs)) calc(14px * var(--fs))}
#tw-trial .tw-slot.r5b .tw-reel.spin{border-image-source:url(assets/ui/weekly-theme-199/parts/2x/weekly_theme_card_spin.png)}
#tw-trial .tw-slot.r5b.won .tw-reel{border-image-source:url(assets/ui/weekly-theme-199/parts/2x/weekly_theme_card_win.png)}
#tw-trial .tw-slot.r5b.lost .tw-reel{border-image-source:url(assets/ui/weekly-theme-199/parts/2x/weekly_theme_card_lose.png)}
#tw-trial .tw-slot.r5b .tw-strip{position:absolute;left:0;right:0;top:0;display:flex;flex-direction:column;will-change:transform}
#tw-trial .tw-slot.r5b .tw-strip>.tw-cell{flex:0 0 100%;height:100%;display:grid;place-items:center}
#tw-trial .tw-slot.r5b .tw-reel.spin .tw-strip{height:100%}
#tw-trial .tw-slot.r5b .tw-reel.stop .tw-strip{height:100%}
#tw-trial .tw-slot.r5b .r5b-fx{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:3}
#tw-trial .tw-slot.r5b .r5b-fx img{position:absolute;left:0;top:0;pointer-events:none;will-change:transform,opacity}
#tw-trial .tw-slot.r5b .r5b-fx .r5b-ray{width:calc(520px * var(--fs));height:calc(520px * var(--fs));mix-blend-mode:screen;opacity:0}
#tw-trial .tw-slot.r5b .r5b-fx .r5b-ring{width:calc(300px * var(--fs));height:calc(300px * var(--fs))}
#tw-trial .tw-slot.r5b .r5b-fx .r5b-cf{width:calc(28px * var(--fs));height:calc(28px * var(--fs));image-rendering:pixelated}
body.tft1m #tw-trial .tw-slot.r5b .tw-cell img{width:64px;height:64px}
/* 04 11-15 ⑥ 트레이너·조무래기 등장 도입부 띠 와이프(console-v51.js TrainerIntro.run wipe): 사선 띠 두 장이 위·아래에서 엇갈려 닫혔다 열림 + 가운데 한 줄. transform/opacity만 */
#t1-poster .iw6{position:fixed;inset:0;z-index:30;pointer-events:none;overflow:hidden}
#t1-poster .iw6 :is(.iw6-a,.iw6-b){position:absolute;left:-15%;width:130%;height:52%;background:repeating-linear-gradient(90deg,#1b1c20 0 46px,#232429 46px 92px);will-change:transform}
#t1-poster .iw6 .iw6-a{top:-2%;border-bottom:4px solid var(--tc,#e2453c)}
#t1-poster .iw6 .iw6-b{bottom:-2%;border-top:4px solid var(--tc,#e2453c)}
#t1-poster .iw6.iw6-grunt :is(.iw6-a,.iw6-b){background:repeating-linear-gradient(90deg,color-mix(in srgb,var(--tc) 55%,#101012) 0 46px,color-mix(in srgb,var(--tc) 38%,#101012) 46px 92px)}
#t1-poster .iw6 .iw6-t{position:absolute;left:0;right:0;top:50%;margin:-30px 0 0;height:60px;display:flex;align-items:center;justify-content:center;background:#121317;border-top:2px solid var(--tc,#e2453c);border-bottom:2px solid var(--tc,#e2453c);transform:scaleY(0);opacity:0;will-change:transform,opacity}
#t1-poster .iw6 .iw6-t span{font:900 26px/1 var(--font-body,'PT Read'),sans-serif;color:#f3f0e7;letter-spacing:.02em;text-shadow:0 2px 0 #000}
body.tft1m #t1-poster .iw6 .iw6-t{height:40px;margin-top:-20px}
body.tft1m #t1-poster .iw6 .iw6-t span{font-size:16px}
/* 04 11-15 ⑧ 진화 완성 표식(벤치 카드) — 판 머리 UI 표식과 같은 도트(console-v51.js EvoMark), 별 줄 왼쪽 */
#bench .bench-stars .evo-mk{display:inline-block;width:14px;height:16px;margin-right:2px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227%22%20height%3D%228%22%20shape-rendering%3D%22crispEdges%22%3E%3Cg%20fill%3D%22%230b2a24%22%3E%3Crect%20x%3D%222%22%20y%3D%220%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%224%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%225%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%235df2c4%22%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0/100% 100% no-repeat;image-rendering:pixelated;pointer-events:none}
body.tft1m #bench .bench-stars .evo-mk{width:7px;height:8px;margin-right:1px}

/* 04-B 11-15 로비 도감 통일: '기록 · 저장'으로 연 단말기는 왼쪽 옛 목록 대신 '몬스터도감 열기' 단추 하나 */
#trainer-terminal.lobbydex-rec .terminal-left>:not(.terminal-to-dex){visibility:hidden}
#trainer-terminal .terminal-to-dex{position:absolute;inset:18% 14%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4em;border:3px solid #2a2c30;border-radius:10px;background:#f8f0dc;box-shadow:inset 0 -5px 0 #d8c9a0,0 4px 0 #0006;color:#2a2c30;font:900 44px/1.1 var(--font-head,sans-serif);cursor:pointer;visibility:visible} /* 단말기는 1774px로 배치한 뒤 통째로 줄이므로 글자도 그 기준 px */
#trainer-terminal .terminal-to-dex small{font:800 28px/1.2 var(--font-head,sans-serif);color:#6a5a40}
#trainer-terminal .terminal-to-dex[hidden]{display:none}
#trainer-terminal .terminal-to-dex:focus-visible{outline:3px solid #c03028;outline-offset:3px}
/* 04 11-15 로비 온라인 입구 잠금(준비 중): 흐리게·누름 표시 없음 */
.c2-button[data-action="online-enter"][data-locked="1"]{opacity:.62;cursor:not-allowed;filter:saturate(.6)}
/* 04 11-15 온라인 1단계 ②·③ — 색·장식은 아래 --ol-* 변수와 .ol209-* 클래스에만 둠(GPT 209 시안이 오면 여기만 덮어씀). 배치·숨김 규칙은 색 없이 따로. */
:root{--ol-bg:rgba(26,27,22,.55);--ol-line:#494C46;--ol-accent:#FFD34D;--ol-text:#F3F1E9;--ol-sub:#B6BAB0;--ol-radius:8px}
/* ② 첫 진입 동의 단계 약관 링크 2개 · 내 계정 1년 미접속 안내·문의 줄 */
#online-entry .ol209-legal{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:0 0 6px;padding:0}
#online-entry .ol209-ver{margin-left:auto;color:var(--ol-sub);font-size:13px}
.ol209-link{color:var(--ol-accent);font-weight:700;text-decoration:underline;text-underline-offset:3px;word-break:break-all}
.ol209-link:is(:hover,:focus-visible){color:var(--ol-text)}
#online-entry .ol209-legal .ol209-link{display:inline-flex;align-items:center;min-height:32px}
.ol209-acct{margin:12px 0 0;padding:8px 12px;border:1px solid var(--ol-line);border-radius:var(--ol-radius);background:var(--ol-bg);color:var(--ol-sub);font-size:13px;line-height:1.45}
.ol209-acct p{margin:0}.ol209-acct p+p{margin-top:4px}
.ol209-contact{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.ol209-contact>b{color:var(--ol-text)}
/* ③ 세션 중(body.ol-arena) 모험 정보 숨김 보충: 생명력(♥)·배지(0/8) — #hud-topstats 통째는 안 됨(PC '상성' 단추가 안으로 옮겨짐)·상점 확률 띠·휴대폰 스테이지 줄의 '지방 · 장-칸' */
html body.ol-arena.ol-arena.ol-arena #hud-topstats#hud-topstats#hud-topstats .hp-resource,html body.ol-arena.ol-arena.ol-arena #mobile-life#mobile-life#mobile-life,html body.ol-arena.ol-arena.ol-arena #journey-btn#journey-btn#journey-btn,html body.ol-arena.ol-arena.ol-arena #t1-odds-m#t1-odds-m#t1-odds-m,html body.ol-arena.ol-arena.ol-arena #t1-odds#t1-odds#t1-odds{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html body.ol-arena.ol-arena.ol-arena #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy>small{display:none!important}
/* ③ 대전 준비 띠 배치: 상대 팀을 덜 가리게 한 줄(왼쪽 제목·이름·안내 / 오른쪽 단추 세로) — 1920·1280·844 공통, 휴대폰 가로(높이 500 이하)는 글자만 더 작게 */
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center;width:min(760px,calc(100vw - 330px))!important}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>h3{grid-column:1}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-vs{grid-column:1}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-sub{grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-row{grid-column:2;grid-row:1/span 3;margin:0!important;flex-direction:column;flex-wrap:nowrap;gap:6px}
@media (max-height:500px){
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top{column-gap:10px}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>h3{margin:0 0 2px!important;font-size:14px!important;line-height:1.2!important}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-vs{padding:2px 8px!important;min-height:0!important}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-sub{margin:2px 0 0!important;font-size:11px!important;line-height:1.3!important}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-row{gap:4px}
html body.ol-arena section#online-arena#online-arena#online-arena#online-arena.oa-top>.oa-row>:is(button,a){min-height:40px!important;padding:0 14px!important}
}
/* 04 11-15 빠른 메시지(고르기 창·보낸/받은 말풍선) — 색·장식은 --ol-* 변수(아래 추가분 포함)와 .ol209-q* 클래스에만(GPT 209 시안 대기). 이모티콘은 32px 도트 nearest 2배. */
:root{--ol-panel:#24251F;--ol-btn:#33352E;--ol-bubble:#F3F1E9;--ol-bubble-text:#24251F;--ol-bubble-me:#FFD34D;--ol-shadow:0 12px 40px rgba(0,0,0,.5)}
#ol-quick.ol209-qwrap{position:fixed;inset:0;z-index:9100;display:flex;align-items:center;justify-content:center;background:rgba(10,10,8,.6)}
#ol-quick.ol209-qwrap[hidden]{display:none}
.ol209-qbox{width:min(640px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;padding:16px 18px 12px;background:var(--ol-panel);color:var(--ol-text);border:2px solid var(--ol-line);border-radius:12px;box-shadow:var(--ol-shadow);font:15px/1.4 "PT Read",Galmuri11,sans-serif}
.ol209-qhd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.ol209-qhd small{color:var(--ol-accent);font-size:13px}.ol209-qhd h2{margin:0;font-size:22px;color:var(--ol-text)}
.ol209-qx{width:40px;height:40px;border:2px solid var(--ol-line);border-radius:8px;background:var(--ol-btn);color:var(--ol-text);font:700 22px/1 sans-serif;cursor:pointer}
.ol209-qph-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ol209-qph{min-height:44px;padding:4px 8px;border:2px solid var(--ol-line);border-radius:22px;background:var(--ol-btn);color:var(--ol-text);font:700 15px/1.2 "PT Read",Galmuri11,sans-serif;cursor:pointer}
.ol209-qem-row{display:flex;justify-content:center;gap:10px;margin-top:10px}
.ol209-qem{width:80px;height:80px;display:grid;place-items:center;padding:0;border:2px solid var(--ol-line);border-radius:12px;background:var(--ol-btn);cursor:pointer}
.ol209-qem img,img.ol209-qemo{width:64px;height:64px;image-rendering:pixelated;image-rendering:crisp-edges;display:block}
:is(.ol209-qph,.ol209-qem,.ol209-qx,.ol209-qok,.ol209-qbtn):is(:hover,:focus-visible):not([disabled]){border-color:var(--ol-accent);outline:none}
:is(.ol209-qph,.ol209-qem)[disabled]{opacity:.4;cursor:default}
:is(.ol209-qph,.ol209-qem)[data-sent]{opacity:.85;border-color:var(--ol-accent);box-shadow:inset 0 0 0 2px var(--ol-accent)}
.ol209-qinfo{margin:10px 0 0;min-height:1.3em;color:var(--ol-sub);font-size:13px;text-align:center}
/* 말풍선 공통: 문구 = 둥근 흰 풍선, 이모티콘 = 그림만 */
.ol209-qbub{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:4px 14px;border-radius:18px;background:var(--ol-bubble);color:var(--ol-bubble-text);font:700 15px/1.25 "PT Read",Galmuri11,sans-serif}
.ol209-qbub.me{background:var(--ol-bubble-me)}
.ol209-qbub:has(img){padding:2px 8px}
.ol209-qbub::after{content:"";position:absolute;left:16px;bottom:-6px;border:6px solid transparent;border-top-color:inherit;border-top-color:var(--ol-bubble);border-bottom:0}
.ol209-qbub.me::after{left:auto;right:16px;border-top-color:var(--ol-bubble-me)}
/* 결과 창 안 보낸 말풍선·단추 */
#online-arena .ol209-qsent{margin:8px 0 0;text-align:center}#online-arena .ol209-qsent>small{display:block;color:var(--ol-sub);font-size:12px;margin-bottom:4px}
#online-arena .ol209-qsent>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
html body section#online-arena#online-arena .oa-row>button.ol209-qbtn{min-width:0!important}
/* 받은 메시지 묶음(오른쪽 위) */
#ol-quick-inbox.ol209-qin{position:fixed;right:16px;top:76px;z-index:8600;width:min(360px,calc(100vw - 32px));max-height:min(60vh,420px);overflow:auto;box-sizing:border-box;padding:10px 12px;background:var(--ol-panel);color:var(--ol-text);border:2px solid var(--ol-line);border-radius:12px;box-shadow:var(--ol-shadow);font:14px/1.35 "PT Read",Galmuri11,sans-serif}
#ol-quick-inbox[hidden]{display:none}
.ol209-qin header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.ol209-qin header b{color:var(--ol-accent)}
.ol209-qbadge{min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:var(--ol-accent);color:var(--ol-bubble-text);font:700 13px/22px sans-serif;font-style:normal;text-align:center}
.ol209-qin ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px}.ol209-qin.one li small{display:none}.ol209-qin li small{display:block;color:var(--ol-sub);font-size:12px;margin-bottom:2px}
.ol209-qok{display:block;width:100%;min-height:40px;margin-top:10px;border:2px solid var(--ol-line);border-radius:8px;background:var(--ol-btn);color:var(--ol-text);font:700 15px "PT Read",Galmuri11,sans-serif;cursor:pointer}
.ol209-qin .ol209-qfrom{margin-left:auto;color:var(--ol-sub);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.mobile-ui #ol-quick-inbox.ol209-qin{top:56px;right:8px;width:min(380px,calc(100vw - 16px));max-height:calc(100vh - 64px);padding:6px 10px 8px}
body.mobile-ui .ol209-qin .ol209-qok{min-height:36px;margin-top:8px}
@media (max-height:500px){
.ol209-qbox{padding:10px 12px 8px}.ol209-qhd{margin-bottom:6px}.ol209-qhd h2{font-size:18px}.ol209-qx{width:36px;height:36px}
.ol209-qph-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.ol209-qph{min-height:36px;font-size:13px;padding:2px 6px}
.ol209-qem-row{margin-top:6px;gap:8px}.ol209-qem{width:72px;height:72px}.ol209-qinfo{margin-top:6px}
.ol209-qbox{width:min(720px,calc(100vw - 24px))}
}
/* 04 11-15 빠른 메시지 보강: 휴대폰 받은 메시지 접힌 배지·접기, 온라인 설정 '내 팀 난입 전적' 줄 */
#ol-quick-inbox.ol209-qin.fold{width:auto;padding:0;border:0;background:none;box-shadow:none;overflow:visible}
.ol209-qpill{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 10px 0 14px;border:2px solid var(--ol-line);border-radius:20px;background:var(--ol-panel);color:var(--ol-text);box-shadow:var(--ol-shadow);font:700 14px "PT Read",Galmuri11,sans-serif;cursor:pointer}
.ol209-qpill:is(:hover,:focus-visible){border-color:var(--ol-accent);outline:none}
.ol209-qrow{display:flex;gap:8px}.ol209-qrow>.ol209-qok{flex:1}.ol209-qok.sec{flex:0 0 auto;width:auto;padding:0 14px;color:var(--ol-sub)}
.ol209-qmine{margin-top:10px}.ol209-qmine h3 small{color:var(--ol-sub);font-size:12px;font-weight:400;margin-left:6px}
.ol209-qmine ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:4px}
.ol209-qmine li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:36px;padding:2px 4px 2px 10px;border-radius:var(--ol-radius);background:var(--ol-bg);font-size:13px}
.ol209-qmine li>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ol209-qmine li b{color:var(--ol-text)}
.ol209-qmine li>em{font-style:normal;font-weight:700;font-size:12px}.ol209-qmine li>em.win{color:var(--ol-accent)}.ol209-qmine li>em.lose{color:var(--ol-sub)}
.ol209-qbtn.sm{min-height:32px;padding:0 10px;border:2px solid var(--ol-line);border-radius:16px;background:var(--ol-btn);color:var(--ol-text);font:700 12px "PT Read",Galmuri11,sans-serif;cursor:pointer}
body.mobile-ui #ol-quick-inbox.ol209-qin.fold{top:34px;right:auto;left:50%;transform:translateX(-50%);line-height:0;width:auto;padding:0;max-height:none}
body.mobile-ui #ol-quick-inbox.ol209-qin.fold .ol209-qpill{min-height:36px;line-height:1}
/* 04 11-15 온라인 모드 탭·8인 연습 화면(EP8UI) — 209 FINAL 전 임시값: 어두운 배경 + 밝은 단추(사용자 방향). 색은 --ol-* 만, 클래스 .ol209-8p*. */
:root{--ol-8p-bg:#14151A;--ol-8p-panel:#1E2028;--ol-8p-cell:#2A2D38;--ol-8p-cell-line:#3A3E4C;--ol-8p-go:#FFD34D;--ol-8p-go-text:#1A1B16;--ol-8p-sec:#F3F1E9;--ol-8p-sec-text:#1A1B16;--ol-8p-hp:#5BD47A;--ol-8p-hp-low:#FF7A6A;--ol-8p-vs:#6FB7E4}
#ep8.ol209-8p{position:fixed;inset:0;z-index:8800;display:flex;align-items:stretch;justify-content:center;background:var(--ol-8p-bg);color:var(--ol-text);font:15px/1.35 "PT Read",Galmuri11,sans-serif}
#ep8[hidden]{display:none}
.ol209-8p :is(button){font-family:inherit}
.ol209-8p-top{display:flex;align-items:center;gap:16px;padding:12px 20px}.ol209-8p-top h2{margin:0;font-size:24px}
.ol209-8p-x{margin-left:auto;width:44px;height:44px;flex:none;border:2px solid var(--ol-line);border-radius:10px;background:var(--ol-8p-panel);color:var(--ol-text);font:700 24px/1 sans-serif;cursor:pointer}
.ol209-8p-go{min-height:52px;padding:0 28px;border:0;border-radius:12px;background:var(--ol-8p-go);color:var(--ol-8p-go-text);font-weight:800;font-size:20px;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.ol209-8p-sec{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--ol-8p-sec);color:var(--ol-8p-sec-text);font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 3px 0 rgba(0,0,0,.35)}
.ol209-8p-sec b{margin-left:4px}
:is(.ol209-8p-go,.ol209-8p-sec,.ol209-8p-x):disabled{opacity:.4;cursor:default;box-shadow:none}
:is(.ol209-8p-go,.ol209-8p-sec,.ol209-8p-card,.ol209-8p .cell,.ol209-8p .slot,.ol209-8p .card,.ol209-8p .opt):focus-visible{outline:3px solid var(--ol-8p-vs);outline-offset:2px}
/* ① 모드 탭 */
.ol209-8p-modes{display:flex;flex-direction:column;width:min(1100px,100%);padding:0 0 20px}
.ol209-8p-hero{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;margin:8px 20px;padding:28px 36px;border-radius:18px;background:var(--ol-8p-panel)}
.ol209-8p-hero small{color:var(--ol-accent);font-size:14px}.ol209-8p-hero h3{margin:0;font-size:40px;line-height:1.1}.ol209-8p-hero p{margin:0;color:var(--ol-sub);font-size:17px;max-width:40em}
.ol209-8p-hero .ol209-8p-go{min-width:260px;min-height:64px;font-size:26px;margin-top:8px}.ol209-8p-hero em{color:var(--ol-sub);font-style:normal;font-size:13px}
.ol209-8p-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 20px 0}
.ol209-8p-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:84px;padding:12px 16px;border:2px solid var(--ol-line);border-radius:14px;background:var(--ol-8p-panel);color:var(--ol-text);cursor:pointer;text-align:left}
.ol209-8p-card b{font-size:18px}.ol209-8p-card small{color:var(--ol-sub)}.ol209-8p-card.on{border-color:var(--ol-8p-go);box-shadow:inset 0 0 0 2px var(--ol-8p-go)}.ol209-8p-card.off b{color:var(--ol-sub)}
/* 게임 화면 */
.ol209-8p-game{display:flex;flex-direction:column;width:100%;max-width:1600px;min-height:0}
.ol209-8p-game .ol209-8p-top{padding:8px 16px;gap:20px}.ol209-8p-game .rd b{display:block;font-size:22px}.ol209-8p-game .rd small{color:var(--ol-sub)}
.ol209-8p-game .mine{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px}.ol209-8p-game .mine b{color:var(--ol-8p-go);font-size:18px}.ol209-8p-game .mine small{color:var(--ol-sub)}
.ol209-8p-body{flex:1;display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;padding:0 16px 10px;min-height:0}
.ol209-8p-hp{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:6px;border-radius:12px;background:var(--ol-8p-panel);overflow:auto}
.ol209-8p-hp li{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"n v" "bar bar";gap:2px 6px;padding:4px 8px;border-radius:8px}
.ol209-8p-hp .n{grid-area:n;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.ol209-8p-hp .v{grid-area:v;text-align:right;font-weight:700}
.ol209-8p-hp .bar{grid-area:bar;height:8px;border-radius:4px;background:var(--ol-8p-cell)}.ol209-8p-hp .bar b{display:block;height:100%;border-radius:4px;background:var(--ol-8p-hp)}
.ol209-8p-hp li.me{background:rgba(255,211,77,.12)}.ol209-8p-hp li.me .n{color:var(--ol-8p-go);font-weight:700}
.ol209-8p-hp li.vs{box-shadow:inset 0 0 0 2px var(--ol-8p-vs)}.ol209-8p-hp li.vs i{margin-left:6px;padding:0 6px;border-radius:6px;background:var(--ol-8p-vs);color:var(--ol-8p-go-text);font-style:normal;font-size:11px;font-weight:700}
.ol209-8p-hp li.out{opacity:.45}.ol209-8p-hp li.out .bar b{background:var(--ol-8p-hp-low)}
.ol209-8p-main{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:0}
.ol209-8p-board{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:14px;background:var(--ol-8p-panel)}
.ol209-8p-board .row{display:flex;gap:4px}.ol209-8p-board .row.odd{margin-left:calc(var(--c8,76px)/2)}
.ol209-8p .cell,.ol209-8p .slot{position:relative;width:var(--c8,76px);height:var(--c8,76px);padding:0;border:2px solid var(--ol-8p-cell-line);border-radius:12px;background:var(--ol-8p-cell);cursor:pointer}
.ol209-8p .cell img,.ol209-8p .slot img{width:90%;height:90%;object-fit:contain;image-rendering:pixelated}
.ol209-8p .cell .st,.ol209-8p .slot .st{position:absolute;left:0;right:0;bottom:1px;color:var(--ol-8p-go);font-size:11px;line-height:1;text-shadow:0 1px 0 #000}
.ol209-8p :is(.cell,.slot).sel{border-color:var(--ol-8p-go);box-shadow:0 0 0 3px var(--ol-8p-go)}
.ol209-8p-bench{display:flex;gap:6px;padding:8px;border-radius:12px;background:var(--ol-8p-panel)}.ol209-8p-bench .slot{--c8:64px}
.ol209-8p-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%}
.ol209-8p-btns{display:flex;flex-direction:column;gap:6px}
.ol209-8p-shop{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.ol209-8p .card{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:6px;min-height:64px;padding:6px 8px;border:2px solid var(--ol-8p-cell-line);border-radius:12px;background:var(--ol-8p-cell);color:var(--ol-text);text-align:left;cursor:pointer}
.ol209-8p .card img{grid-row:1/3;width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.ol209-8p .card b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ol209-8p .card span{color:var(--ol-8p-go);font-weight:700}
.ol209-8p .card.c2{border-color:#5BD47A}.ol209-8p .card.c3{border-color:#6FB7E4}.ol209-8p .card.c4{border-color:#C58BF2}.ol209-8p .card.c5{border-color:#FFD34D}
.ol209-8p .card.empty{cursor:default;opacity:.35}.ol209-8p .card:disabled{opacity:.45;cursor:default}
.ol209-8p-go.ready{min-width:180px;min-height:64px;font-size:22px}
.ol209-8p-msg{margin:0;padding:6px 16px 10px;text-align:center;color:var(--ol-8p-go);font-weight:700}
/* ④ 회전초밥 */
.ol209-8p-ring{--ring:min(520px,68vh);position:relative;width:var(--ring);height:var(--ring);margin:auto}
.ol209-8p .opt{position:absolute;left:50%;top:50%;width:110px;margin:-55px 0 0 -55px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;border:2px solid var(--ol-8p-cell-line);border-radius:14px;background:var(--ol-8p-cell);color:var(--ol-text);cursor:pointer;
 transform:rotate(calc(360deg / var(--n) * var(--i))) translateY(calc(var(--ring) * -.37)) rotate(calc(-360deg / var(--n) * var(--i)))}
.ol209-8p .opt img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.ol209-8p .opt b{font-size:13px}.ol209-8p .opt small{color:var(--ol-sub);font-size:11px}
.ol209-8p .opt:not(:disabled):hover{border-color:var(--ol-8p-go)}.ol209-8p .opt.taken{opacity:.25}.ol209-8p .opt:disabled{cursor:default}
.ol209-8p-ring .hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.ol209-8p-ring .hub b{font-size:22px}.ol209-8p-ring .hub span{color:var(--ol-8p-go)}
/* ⑥ 결과 */
.ol209-8p-result{display:flex;flex-direction:column;align-items:center;gap:10px;margin:auto;padding:20px 28px;border-radius:16px;background:var(--ol-8p-panel);min-width:min(420px,100%)}
.ol209-8p-result h3{margin:0;font-size:40px;color:var(--ol-8p-go)}.ol209-8p-result ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 24px;width:100%}
.ol209-8p-result li{display:flex;gap:10px}.ol209-8p-result li.me{color:var(--ol-8p-go);font-weight:700}.ol209-8p-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.ol209-8p-gg{display:flex;flex-direction:column;align-items:center;gap:4px}.ol209-8p-gg small{color:var(--ol-sub);font-size:12px}
/* 1280 · 휴대폰 가로 */
@media (max-width:1400px){.ol209-8p{--c8:60px}.ol209-8p-bench .slot{--c8:52px}.ol209-8p-body{grid-template-columns:200px minmax(0,1fr)}.ol209-8p .card{grid-template-columns:40px minmax(0,1fr);min-height:56px}.ol209-8p .card img{width:40px;height:40px}}
@media (max-height:500px){
.ol209-8p{--c8:34px;font-size:12px}.ol209-8p-bench .slot{--c8:32px}.ol209-8p .cell,.ol209-8p .slot{border-radius:7px;border-width:1px}
.ol209-8p-top{padding:4px 10px}.ol209-8p-game .ol209-8p-top{padding:4px 10px;gap:10px}.ol209-8p-game .rd b{font-size:16px;display:inline}.ol209-8p-game .rd small{margin-left:6px}.ol209-8p-game .mine{gap:2px 10px;font-size:12px}.ol209-8p-game .mine b{font-size:14px}.ol209-8p-x{width:36px;height:36px}
.ol209-8p-body{grid-template-columns:150px minmax(0,1fr);gap:8px;padding:0 8px 4px}.ol209-8p-hp{padding:4px;gap:2px}.ol209-8p-hp li{padding:1px 6px;gap:0 4px}.ol209-8p-hp .n{font-size:11px}.ol209-8p-hp .bar{height:5px}
.ol209-8p-main{gap:4px}.ol209-8p-board{padding:4px;gap:2px}.ol209-8p-board .row{gap:2px}.ol209-8p-bench{padding:4px;gap:3px}
.ol209-8p-bar{gap:6px}.ol209-8p-btns{flex-direction:row;gap:4px}.ol209-8p-sec{min-height:36px;padding:0 8px;font-size:12px}.ol209-8p-shop{gap:4px}
.ol209-8p .card{grid-template-columns:28px minmax(0,1fr);min-height:40px;padding:2px 4px;border-radius:8px}.ol209-8p .card img{width:28px;height:28px}.ol209-8p .card b{font-size:11px}
.ol209-8p-go.ready{min-width:90px;min-height:44px;font-size:16px}.ol209-8p-msg{padding:2px 8px 4px;font-size:12px}
.ol209-8p-bar{grid-template-columns:minmax(0,1fr) auto}.ol209-8p-btns{grid-column:1/-1;justify-content:center}
.ol209-8p-hero{margin:4px 12px;padding:12px 20px;gap:4px}.ol209-8p-hero h3{font-size:26px}.ol209-8p-hero p{font-size:13px}.ol209-8p-hero .ol209-8p-go{min-height:48px;font-size:20px;min-width:200px;margin-top:4px}
.ol209-8p-cards{margin:4px 12px 0;gap:8px}.ol209-8p-card{min-height:50px;padding:6px 10px}.ol209-8p-card b{font-size:14px}.ol209-8p-modes{padding-bottom:8px}
.ol209-8p-ring{--ring:min(320px,78vh)}.ol209-8p .opt{width:70px;margin:-40px 0 0 -35px;padding:2px}.ol209-8p .opt img{width:40px;height:40px}.ol209-8p .opt b{font-size:10px}
.ol209-8p-result{padding:8px 16px;gap:6px}.ol209-8p-result h3{font-size:26px}
}
.ol209-8p :is(.cell,.slot,.card,.opt) img{transform:scale(1.6)}.ol209-8p .cell,.ol209-8p .slot{overflow:hidden}.ol209-8p .card{overflow:hidden}
.ol209-8p-cards.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
/* 04 11-15 8인 = 싱글 판 재사용(body.ep8-board): 온라인 세션 숨김(ol-arena) 중 8인 준비에 필요한 상점·벤치·전투 단추·확률 띠만 다시 보이게. 생명력·모험 띠·장비·이자는 계속 숨김(8인 HP는 #ep8-hud). */
html body.ep8-board.ep8-board.ep8-board.ep8-board :is(#shared-shop-dock#shared-shop-dock#shared-shop-dock#shared-shop-dock,#shop-cards#shop-cards#shop-cards#shop-cards,#bench#bench#bench#bench,#dock-bench-row#dock-bench-row#dock-bench-row#dock-bench-row,#reroll-btn#reroll-btn#reroll-btn#reroll-btn,#xp-btn#xp-btn#xp-btn#xp-btn,#battle-btn#battle-btn#battle-btn#battle-btn,#hud-shop-controls#hud-shop-controls#hud-shop-controls#hud-shop-controls,#hud-shop-gold#hud-shop-gold#hud-shop-gold#hud-shop-gold,#dock-wallet#dock-wallet#dock-wallet#dock-wallet,#hud-deploy-count#hud-deploy-count#hud-deploy-count#hud-deploy-count,#t1-odds#t1-odds#t1-odds#t1-odds),
html body.ep8-board.ep8-board.ep8-board.ep8-board :is(#shared-shop-dock#shared-shop-dock#shared-shop-dock#shared-shop-dock,#shop-cards#shop-cards#shop-cards#shop-cards,#bench#bench#bench#bench,#dock-bench-row#dock-bench-row#dock-bench-row#dock-bench-row,#hud-shop-controls#hud-shop-controls#hud-shop-controls#hud-shop-controls) *{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
html body.ep8-board.ep8-board.ep8-board.ep8-board :is(#shared-shop-dock#shared-shop-dock#shared-shop-dock#shared-shop-dock,#shop-cards#shop-cards#shop-cards#shop-cards,#bench#bench#bench#bench,#dock-bench-row#dock-bench-row#dock-bench-row#dock-bench-row,#reroll-btn#reroll-btn#reroll-btn#reroll-btn,#xp-btn#xp-btn#xp-btn#xp-btn,#battle-btn#battle-btn#battle-btn#battle-btn,#hud-shop-controls#hud-shop-controls#hud-shop-controls#hud-shop-controls,#hud-shop-gold#hud-shop-gold#hud-shop-gold#hud-shop-gold,#dock-wallet#dock-wallet#dock-wallet#dock-wallet,#hud-deploy-count#hud-deploy-count#hud-deploy-count#hud-deploy-count,#t1-odds#t1-odds#t1-odds#t1-odds){visibility:visible!important;opacity:1!important;pointer-events:auto!important}
html body.ep8-board.ep8-board.ep8-board.ep8-board :is(#lock-btn#lock-btn#lock-btn#lock-btn,#cv-pouch#cv-pouch#cv-pouch#cv-pouch,#pc-equipment-icons#pc-equipment-icons#pc-equipment-icons#pc-equipment-icons,#gold-interest-side#gold-interest-side#gold-interest-side#gold-interest-side,#mobile-stage#mobile-stage#mobile-stage#mobile-stage,#hud-location#hud-location#hud-location#hud-location,#online-arena-chip#online-arena-chip#online-arena-chip#online-arena-chip){visibility:hidden!important;pointer-events:none!important}
html body.mobile-ui.ep8-board.ep8-board.ep8-board #t1-odds-m#t1-odds-m#t1-odds-m#t1-odds-m{visibility:hidden!important}
html body.ep8-board.ep8-fight.ep8-fight.ep8-fight.ep8-fight :is(#shared-shop-dock#shared-shop-dock#shared-shop-dock#shared-shop-dock,#shop-cards#shop-cards#shop-cards#shop-cards,#reroll-btn#reroll-btn#reroll-btn#reroll-btn,#xp-btn#xp-btn#xp-btn#xp-btn,#battle-btn#battle-btn#battle-btn#battle-btn){pointer-events:none!important}
/* 8인 HP 막대 + 라운드(오른쪽 위, 휴대폰은 위 가운데 줄) */
#ep8-hud.ol209-8p-hud{position:fixed;right:16px;top:150px;z-index:8400;width:220px;box-sizing:border-box;padding:8px 10px 10px;border-radius:12px;background:rgba(20,21,26,.82);color:var(--ol-text);font:13px/1.3 "PT Read",Galmuri11,sans-serif;box-shadow:0 6px 18px rgba(0,0,0,.35)}
#ep8-hud header{display:flex;align-items:center;gap:8px;margin-bottom:6px}#ep8-hud header b{font-size:18px;color:var(--ol-8p-go)}#ep8-hud header span{flex:1;min-width:0;color:var(--ol-sub);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ep8-hud header button{width:28px;height:28px;border:0;border-radius:8px;background:var(--ol-8p-sec);color:var(--ol-8p-sec-text);font:700 16px/1 sans-serif;cursor:pointer}
#ep8-hud ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
#ep8-hud li{display:grid;grid-template-columns:minmax(0,1fr) 34px;grid-template-areas:"n v" "bar bar";gap:1px 6px;padding:2px 6px;border-radius:6px}
#ep8-hud .n{grid-area:n;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#ep8-hud .v{grid-area:v;text-align:right;font-weight:700}
#ep8-hud .bar{grid-area:bar;height:6px;border-radius:3px;background:rgba(255,255,255,.12)}#ep8-hud .bar b{display:block;height:100%;border-radius:3px;background:var(--ol-8p-hp)}
#ep8-hud li.me{background:rgba(255,211,77,.16)}#ep8-hud li.me .n{color:var(--ol-8p-go);font-weight:700}#ep8-hud li.vs{box-shadow:inset 0 0 0 2px var(--ol-8p-vs)}#ep8-hud li.out{opacity:.4}
#ep8-hud .toast{margin:6px 0 0;color:var(--ol-8p-go);font-weight:700;text-align:center}
body.mobile-ui #ep8-hud.ol209-8p-hud{right:auto;left:50%;top:4px;transform:translateX(-50%);width:min(470px,calc(100vw - 340px));padding:3px 6px;border-radius:8px}
body.mobile-ui #ep8-hud header{margin:0 0 2px;gap:6px}body.mobile-ui #ep8-hud header b{font-size:13px}body.mobile-ui #ep8-hud header span{font-size:10px}body.mobile-ui #ep8-hud header button{width:22px;height:22px;font-size:13px}
body.mobile-ui #ep8-hud ol{flex-direction:row;gap:3px}body.mobile-ui #ep8-hud li{flex:1;min-width:0;grid-template-columns:minmax(0,1fr);grid-template-areas:"v" "bar";padding:1px 3px;font-size:10px}body.mobile-ui #ep8-hud .n{display:none}body.mobile-ui #ep8-hud .v{text-align:center}body.mobile-ui #ep8-hud .bar{height:4px}
body.mobile-ui #ep8-hud .toast{margin:2px 0 0;font-size:10px}
/* ② 시작 카운트다운 */
#ep8-count.ol209-8p-count{position:fixed;inset:0;z-index:9200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:rgba(10,11,14,.78);color:var(--ol-text);font-family:"PT Title","PT Read",sans-serif;transition:opacity .25s}
#ep8-count small{font-size:22px;color:var(--ol-sub)}#ep8-count b{font-size:120px;line-height:1;color:var(--ol-8p-go);text-shadow:0 6px 0 rgba(0,0,0,.4)}#ep8-count b.pop{animation:ep8pop .5s cubic-bezier(.2,1.6,.4,1)}#ep8-count.out{opacity:0}
@keyframes ep8pop{0%{transform:scale(2.2);opacity:0}100%{transform:scale(1);opacity:1}}
body.mobile-ui #ep8-count b{font-size:72px}body.mobile-ui #ep8-count small{font-size:16px}
/* ③ 포탈 전환(자리표시 고리 — 05 GPT 원본 대기) */
#ep8-portal.ol209-8p-portal{position:fixed;inset:0;z-index:9150;pointer-events:none;overflow:hidden}
#ep8-portal .veil{position:absolute;inset:0;background:radial-gradient(circle at var(--cx) var(--cy),rgba(40,20,70,.55) 0,rgba(8,8,14,.96) 55%);opacity:0}
#ep8-portal .ring{position:absolute;left:var(--cx);top:var(--cy);width:min(46vmin,420px);aspect-ratio:1;border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.1);
 background:radial-gradient(circle,rgba(20,10,40,.95) 0 38%,rgba(150,90,255,.85) 46%,rgba(111,183,228,.9) 54%,rgba(255,255,255,.0) 64%),conic-gradient(from 0deg,#6FB7E4,#C58BF2,#FFD34D,#6FB7E4);
 -webkit-mask:radial-gradient(circle,#000 62%,transparent 64%);mask:radial-gradient(circle,#000 62%,transparent 64%);box-shadow:0 0 60px rgba(150,90,255,.6)}
#ep8-portal img.u{position:absolute;object-fit:contain;image-rendering:pixelated;transform-origin:50% 75%}
/* 04 11-15 8인 지방 테마 공개(EP8Board.reveal) — 지도·장식 그림은 자리표시(05 요청), 박자는 07 8p:region-reveal(팡파르 0.98초)에 맞춤 */
#ep8-reveal.ol209-8p-reveal{position:fixed;inset:0;z-index:9250;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:hidden;cursor:pointer;
 background:radial-gradient(ellipse at 50% 45%,#2B2F5A 0,#14151A 70%);color:var(--ol-text);font-family:"PT Title","PT Read",sans-serif;opacity:0;transition:opacity .22s}
#ep8-reveal.on{opacity:1}#ep8-reveal.out{opacity:0}
#ep8-reveal .lead{font-size:28px;color:var(--ol-sub);opacity:0;animation:ep8rvIn .35s .15s ease-out forwards}
#ep8-reveal .rgs{display:flex;align-items:center;gap:28px}
#ep8-reveal .rg{display:flex;flex-direction:column;align-items:center;gap:10px;opacity:0;transform:scale(.2);animation:ep8rvPop .55s .98s cubic-bezier(.2,1.7,.4,1) forwards}
#ep8-reveal .rg+.plus+.rg{animation-delay:1.22s}
#ep8-reveal .plus{font-size:64px;color:var(--ol-8p-go);opacity:0;animation:ep8rvIn .3s 1.12s ease-out forwards}
#ep8-reveal .map{display:flex;flex-direction:column;align-items:center;justify-content:center;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#6FB7E4,#2E5E8C 70%);box-shadow:0 0 0 6px rgba(255,211,77,.5),0 0 40px rgba(111,183,228,.6);font-style:normal}
#ep8-reveal .map b{font-size:48px;line-height:1;color:#fff}#ep8-reveal .map small{font-size:14px;color:#E8F2FA}
#ep8-reveal strong{font-size:84px;line-height:1;color:var(--ol-8p-go);text-shadow:0 6px 0 rgba(0,0,0,.45),0 0 30px rgba(255,211,77,.45)}#ep8-reveal strong em{font-style:normal;font-size:44px;margin-left:4px;color:var(--ol-text)}
#ep8-reveal .mons{display:flex;gap:4px}#ep8-reveal .mons img{width:88px;height:88px;object-fit:contain;image-rendering:pixelated;transform:scale(1.3)}
#ep8-reveal .tail{margin:0;font-size:40px;color:var(--ol-text);opacity:0;animation:ep8rvIn .35s 1.45s ease-out forwards}
#ep8-reveal .skip{position:absolute;bottom:18px;font:13px "PT Read",sans-serif;color:var(--ol-sub)}
#ep8-reveal .spark{position:absolute;inset:-20%;background-image:radial-gradient(2px 2px at 20% 30%,#fff 50%,transparent 51%),radial-gradient(3px 3px at 70% 20%,#FFD34D 50%,transparent 51%),radial-gradient(2px 2px at 85% 70%,#fff 50%,transparent 51%),radial-gradient(3px 3px at 35% 80%,#6FB7E4 50%,transparent 51%),radial-gradient(2px 2px at 55% 55%,#fff 50%,transparent 51%);background-size:320px 320px;animation:ep8rvSpark 2.6s linear infinite;opacity:.7;pointer-events:none}
#ep8-reveal .spark.s2{background-size:460px 460px;animation-duration:3.4s;opacity:.5}#ep8-reveal .spark.s3{background-size:220px 220px;animation-duration:1.8s;opacity:.35}
@keyframes ep8rvPop{0%{opacity:0;transform:scale(.2) rotate(-8deg)}70%{opacity:1;transform:scale(1.12) rotate(2deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes ep8rvIn{to{opacity:1}}
@keyframes ep8rvSpark{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(-120px) rotate(8deg)}}
@media (max-height:500px){#ep8-reveal{gap:6px}#ep8-reveal .lead{font-size:18px}#ep8-reveal .rgs{gap:12px}#ep8-reveal .map{width:64px;height:64px}#ep8-reveal .map b{font-size:26px}#ep8-reveal .map small{font-size:10px}
 #ep8-reveal strong{font-size:44px}#ep8-reveal strong em{font-size:22px}#ep8-reveal .mons img{width:48px;height:48px}#ep8-reveal .plus{font-size:36px}#ep8-reveal .tail{font-size:22px}#ep8-reveal .skip{bottom:6px}}
@media (prefers-reduced-motion:reduce){#ep8-reveal .rg,#ep8-reveal .plus,#ep8-reveal .tail,#ep8-reveal .lead{animation-duration:.01s;animation-delay:0s}#ep8-reveal .spark{animation:none}}
/* 04 11-15 GPT 209 FINAL 온라인 로비(EP8UI.modes209) — 05 assets/ui/online-209. 좌표 = 1920×1080 목업 online209_01, 16:9 무대(cq 단위)로 크기 맞춤. 팔레트 = parts.json palette */
:root{--o9-gold:#ffdd28;--o9-text:#f4f3ec;--o9-charcoal:#0b0e13;--o9-locked:#25282b;--o9-teal:#07343b;--o9-plum:#25152b}
#ep8.ol209-8p.v209:has(.o9-lobby){background:var(--o9-charcoal)}
.o9-lobby{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--o9bg) center/cover no-repeat,var(--o9-charcoal)}
.o9-stage{position:relative;width:min(100vw,177.78vh);aspect-ratio:16/9;container-type:size;color:var(--o9-text);font-family:"PT Title","PT Read",sans-serif}
.o9-top{position:absolute;left:0;right:0;top:0;height:9.5cqh}
.o9-top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:.45cqh;background:linear-gradient(90deg,#c04bff 0,#38e6ff 18%,transparent 19%,transparent 66%,#38e6ff 80%,#c04bff 100%);opacity:.85}
.o9-back{position:absolute;left:2.6cqw;top:2.2cqh;width:4cqw;height:5.2cqh;padding:0;border:0;background:none;cursor:pointer}.o9-back img{width:70%;height:70%;object-fit:contain}
.o9-top h2{position:absolute;left:7.4cqw;top:.6cqh;margin:0;font-size:3.4cqw;line-height:1.3;color:var(--o9-text);text-shadow:0 .3cqh 0 rgba(0,0,0,.5)}
.o9-link{position:absolute;right:2.4cqw;top:2.2cqh;display:flex;align-items:center;gap:.6cqw;padding:0;border:0;background:none;color:var(--o9-text);font:700 1.7cqw "PT Read",sans-serif;cursor:pointer}.o9-link img{width:1.9cqw;height:1.9cqw}
.o9-link:is(:hover,:focus-visible){color:var(--o9-gold);outline:none}
.o9-ring{position:absolute;left:5.2cqw;top:70cqh;width:23.5cqw;height:8cqh;border-radius:50%;border:.35cqh solid rgba(56,230,255,.75);box-shadow:0 0 2cqw rgba(56,230,255,.45),inset 0 0 1.4cqw rgba(56,230,255,.35);opacity:.8}
.o9-me{position:absolute;left:2.6cqw;top:80.2cqh;display:flex;flex-wrap:wrap;align-items:baseline;gap:.4cqh 1cqw;max-width:30cqw}
.o9-me b{font-size:2.5cqw;color:var(--o9-text);text-shadow:0 .25cqh 0 rgba(0,0,0,.6)}.o9-me b small{font-size:1.7cqw;color:#c9ccd2;margin-left:.2cqw}
.o9-grade{padding:.3cqh .9cqw;border:1px solid rgba(244,243,236,.45);border-radius:1cqw;background:rgba(11,14,19,.75);font:700 1.3cqw "PT Read",sans-serif}
.o9-score{font-size:2.5cqw;color:var(--o9-gold);text-shadow:0 .25cqh 0 rgba(0,0,0,.6)}
.o9-cards{position:absolute;inset:0;pointer-events:none}
.o9-card{position:absolute;padding:0;border:0;background:none;cursor:pointer;pointer-events:auto;color:var(--o9-text);font-family:inherit;transition:transform .18s,filter .18s}
.o9-card .frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.o9-card .art{position:absolute;inset:0;background:center/cover no-repeat}
.o9-card.big{left:28.4cqw;top:13.4cqh;width:49.7cqw;aspect-ratio:954/640}
.o9-card.big .art{clip-path:polygon(24.1% 3.1%,97.9% 3.1%,75.9% 96.9%,2.1% 96.9%)}
.o9-slot{position:absolute;width:24.4cqw;aspect-ratio:468/270}.o9-slot.s0{left:74.9cqw;top:15.2cqh}.o9-slot.s1{left:69.1cqw;top:44.2cqh}
.o9-slot .o9-card.small{position:absolute;inset:0;width:100%;height:100%}
.o9-card.small .art{clip-path:polygon(22.2% 7.4%,95.7% 7.4%,77.8% 92.6%,4.3% 92.6%)}
.o9-card.off .art{filter:grayscale(1) brightness(.5)}
.o9-card.small:is(:hover,:focus-visible){transform:translateY(-.6cqh);outline:none;filter:brightness(1.15)}
.o9-card.big:focus-visible{outline:none;filter:brightness(1.08)}
.o9-open{position:absolute;left:22cqw;left:22%;top:3.2%;padding:.4cqh 1.4cqw;transform:skewX(-18deg);background:linear-gradient(180deg,#1aa860,#0d6b3c);border:1px solid #7cf0a8;font:700 1.4cqw "PT Read",sans-serif;font-style:normal;color:#fff;box-shadow:0 .3cqh 0 rgba(0,0,0,.4)}
.o9-lock{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:.4cqw;padding:.3cqh 1cqw;border-radius:.6cqw;background:rgba(11,14,19,.85);font:700 1.15cqw "PT Read",sans-serif;font-style:normal;color:var(--o9-text);white-space:nowrap}
.o9-lock::before{content:"";width:1.1cqw;height:1.1cqw;background:url(assets/ui/online-209/parts/online209_icon_lock_2x.png) center/contain no-repeat}
.o9-card.big .o9-lock{top:40%;font-size:1.8cqw}
.o9-name{position:absolute;left:0;right:0;bottom:15%;text-align:center;font-size:2.6cqw;text-shadow:0 .3cqh 0 rgba(0,0,0,.8),0 0 1cqw rgba(0,0,0,.9)}
.o9-card.off .o9-name{color:#d8dadd}
.o9-label{position:absolute;left:1%;top:74%;width:78%;aspect-ratio:744/150;display:flex;align-items:center;gap:2cqw;padding-left:11%;box-sizing:border-box}
.o9-label img{position:absolute;inset:0;width:100%;height:100%}
.o9-label b{position:relative;font-size:4.2cqw;color:#1a1408;line-height:1}.o9-label small{position:relative;font:700 1.7cqw "PT Read",sans-serif;color:#1a1408;margin-left:auto;margin-right:10%}
.o9-card.big.off .o9-label img{filter:grayscale(1) brightness(.8)}
.o9-start{position:absolute;left:32.3cqw;top:79.4cqh;width:37.2cqw;height:16.4cqh;padding:0;border:0;background:none;cursor:pointer;border-style:solid;border-width:4.4cqh 4.7cqw;border-image:url(assets/ui/online-209/parts/online209_start_normal.png) 48 90 fill/4.4cqh 4.7cqw;filter:drop-shadow(0 0 1.4cqw rgba(255,221,40,.45))}
.o9-start span{position:relative;top:-.3cqh;font-size:5cqw;line-height:1;color:#1a1408;letter-spacing:.2cqw}
.o9-start:active:not(:disabled){border-image-source:url(assets/ui/online-209/parts/online209_start_pressed.png)}
.o9-start:is(:hover,:focus-visible):not(:disabled){filter:drop-shadow(0 0 2cqw rgba(255,221,40,.7)) brightness(1.06);outline:none}
.o9-start:disabled{filter:grayscale(1) brightness(.6);cursor:default}
@media (prefers-reduced-motion:reduce){.o9-card{transition:none}}
/* 04 11-15 GPT 209 FINAL 빠른 메시지(목업 online209_06): 창 = window_rect_base 9조각 + 기울임(parts shear -0.224 ≈ skewX -12.6°), 문구 단추 = 기울어진 어두운 판·밝은 테두리(고른 칸 금색 빛),
   이모티콘 칸 = emote_slot 9조각, 받은 말풍선 = speech_received 9조각. 글자는 똑바로(역기울임). ?ol209=0 = 이전 임시 판 */
#ol-quick.v209{background:rgba(5,7,10,.66)}
#ol-quick.v209 .ol209-qbox{position:relative;width:min(1180px,calc(100vw - 80px));max-height:calc(100vh - 40px);overflow:visible;padding:30px 70px 34px;background:none;border:0;box-shadow:none;border-radius:0;transform:skewX(-12.6deg);
 border-style:solid;border-width:48px;border-image:url(assets/ui/online-209/parts/online209_window_rect_base.png) 96 fill/48px;box-sizing:border-box;color:#f4f3ec}
#ol-quick.v209 .ol209-qhd{transform:skewX(12.6deg);margin:-16px 0 14px;padding-bottom:12px;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#38e6ff,rgba(56,230,255,.15) 75%,transparent) 1}
#ol-quick.v209 .ol209-qhd h2{font:400 56px/1.1 "PT Title","PT Read",sans-serif;color:#f4f3ec;font-style:italic}
#ol-quick.v209 .ol209-qhd small{color:#38e6ff;font-size:15px}
#ol-quick.v209 .ol209-qx{width:56px;height:56px;border:0;background:url(assets/ui/online-209/parts/online209_icon_close_2x.png) center/32px no-repeat;color:transparent;font-size:0}
#ol-quick.v209 .ol209-qph-grid{gap:14px 18px}
#ol-quick.v209 .ol209-qph{min-height:74px;border:2px solid rgba(244,243,236,.55);border-radius:10px;background:linear-gradient(180deg,#2a2d33,#16181c);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
#ol-quick.v209 .ol209-qph>span{display:inline-block;transform:skewX(12.6deg);font:700 27px/1.15 "PT Title","PT Read",sans-serif;font-style:italic;color:#f4f3ec}
#ol-quick.v209 .ol209-qph:is(:hover,:focus-visible):not([disabled]){border-color:#ffdd28;box-shadow:0 0 18px rgba(255,221,40,.55);outline:none}
#ol-quick.v209 .ol209-qph[data-sent]{opacity:1;border-color:#ffdd28;background:linear-gradient(180deg,#d9a300,#8a6100);box-shadow:0 0 22px rgba(255,221,40,.6)}
#ol-quick.v209 .ol209-qph[disabled]:not([data-sent]){opacity:.38}
#ol-quick.v209 .ol209-qem-hd{display:flex;align-items:center;gap:16px;margin:18px 0 10px;transform:skewX(12.6deg);font:400 28px "PT Title","PT Read",sans-serif;color:#f4f3ec}
#ol-quick.v209 .ol209-qem-hd::before,#ol-quick.v209 .ol209-qem-hd::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,transparent,#38e6ff 30%,#38e6ff 70%,transparent)}
#ol-quick.v209 .ol209-qem-row{gap:30px;margin-top:0}
#ol-quick.v209 .ol209-qem{width:128px;height:128px;border:0;background:none;border-style:solid;border-width:30px;border-image:url(assets/ui/online-209/parts/online209_emote_slot.png) 30 fill/30px;box-sizing:border-box;transform:skewX(12.6deg)}
#ol-quick.v209 .ol209-qem img{margin:-30px}
#ol-quick.v209 .ol209-qem:is(:hover,:focus-visible):not([disabled]){filter:drop-shadow(0 0 10px rgba(255,221,40,.8));outline:none}
#ol-quick.v209 .ol209-qem[data-sent]{filter:drop-shadow(0 0 12px rgba(255,221,40,.9))}
#ol-quick.v209 .ol209-qinfo{transform:skewX(12.6deg);color:#c9ccd2;font-size:15px}
/* 받은 말풍선(209 speech_received) */
#ol-quick-inbox.v209 .ol209-qbub:not(.me){background:none;border-style:solid;border-width:21px 29px 21px 44px;border-image:url(assets/ui/online-209/parts/online209_speech_received.png) 42 58 42 88 fill/21px 29px 21px 44px;padding:0 4px;color:#f4f3ec;min-height:0}
#ol-quick-inbox.v209 .ol209-qbub:not(.me)::after{display:none}
#ol-quick-inbox.v209{background:rgba(11,14,19,.9);border-color:#2a6f7a;box-shadow:0 0 18px rgba(56,230,255,.25)}
@media (max-height:500px){
#ol-quick.v209 .ol209-qbox{width:min(760px,calc(100vw - 40px));padding:6px 34px 10px;border-width:28px;border-image-width:28px}
#ol-quick.v209 .ol209-qhd{margin:-8px 0 6px;padding-bottom:4px}#ol-quick.v209 .ol209-qhd h2{font-size:26px}#ol-quick.v209 .ol209-qx{width:36px;height:36px;background-size:22px}
#ol-quick.v209 .ol209-qph-grid{gap:5px 8px}#ol-quick.v209 .ol209-qph{min-height:34px}#ol-quick.v209 .ol209-qph>span{font-size:13px}
#ol-quick.v209 .ol209-qem-hd{margin:6px 0 4px;font-size:14px}#ol-quick.v209 .ol209-qem-row{gap:12px}
#ol-quick.v209 .ol209-qem{width:76px;height:76px;border-width:6px;border-image-width:12px}#ol-quick.v209 .ol209-qem img{margin:-6px}
#ol-quick.v209 .ol209-qinfo{margin-top:4px;font-size:11px}
}
@media (min-height:501px) and (max-height:860px){
#ol-quick.v209 .ol209-qbox{width:min(980px,calc(100vw - 60px));padding:14px 52px 18px;border-width:36px;border-image-width:36px}
#ol-quick.v209 .ol209-qhd{margin:-12px 0 10px;padding-bottom:8px}#ol-quick.v209 .ol209-qhd h2{font-size:38px}#ol-quick.v209 .ol209-qx{width:44px;height:44px;background-size:26px}
#ol-quick.v209 .ol209-qph-grid{gap:10px 14px}#ol-quick.v209 .ol209-qph{min-height:50px}#ol-quick.v209 .ol209-qph>span{font-size:20px}
#ol-quick.v209 .ol209-qem-hd{margin:12px 0 8px;font-size:20px}#ol-quick.v209 .ol209-qem-row{gap:20px}
#ol-quick.v209 .ol209-qem{width:92px;height:92px;border-width:14px;border-image-width:22px}#ol-quick.v209 .ol209-qem img{margin:-14px}
#ol-quick.v209 .ol209-qinfo{margin-top:6px;font-size:13px}
}
@media (max-height:500px){
#ol-quick.v209 .ol209-qbox{padding:2px 26px 4px;border-width:20px;border-image-width:20px}
#ol-quick.v209 .ol209-qhd{margin:-6px 0 4px;padding-bottom:3px}#ol-quick.v209 .ol209-qhd h2{font-size:22px}#ol-quick.v209 .ol209-qhd small{font-size:11px}
#ol-quick.v209 .ol209-qph{min-height:30px}#ol-quick.v209 .ol209-qem-hd{margin:4px 0 3px;font-size:13px}
#ol-quick.v209 .ol209-qem{width:72px;height:72px;border-width:4px;border-image-width:10px}#ol-quick.v209 .ol209-qem img{margin:-4px}
}
/* 04 11-15 8인 연습 08 API 화면: 시작 전 고르기·진행 대기·컴퓨터전 보상·가방(209 시안 전 임시, --ol-* 계열) */
#ep8 .o9-setup{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:rgba(5,7,10,.72)}
#ep8 .o9-setup section{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;padding:20px 26px;border:2px solid #38e6ff;border-radius:14px;background:#0b0e13;box-shadow:0 0 30px rgba(56,230,255,.25);color:#f4f3ec;font:15px/1.35 "PT Read",sans-serif}
#ep8 .o9-setup h3{margin:0 0 6px;font:400 28px "PT Title",sans-serif}#ep8 .o9-setup h4{margin:12px 0 6px;color:#38e6ff;font-size:14px}
#ep8 .o9-opts{display:flex;flex-wrap:wrap;gap:8px}#ep8 .o9-opts.regs{margin-top:8px}
#ep8 .o9-opt{min-height:42px;padding:0 16px;border:2px solid rgba(244,243,236,.4);border-radius:10px;background:#16181c;color:#f4f3ec;font:700 15px "PT Read",sans-serif;cursor:pointer}
#ep8 .o9-opt.on{border-color:#ffdd28;background:#3a2f05;box-shadow:0 0 12px rgba(255,221,40,.45)}#ep8 .o9-opt.chk::before{content:'□ ';}#ep8 .o9-opt.chk.on::before{content:'■ ';color:#ffdd28}
#ep8 .o9-acts{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}#ep8 .o9-sec{min-height:46px;padding:0 20px;border:0;border-radius:10px;background:#f4f3ec;color:#1a1408;font:700 16px "PT Read",sans-serif;cursor:pointer}
#ep8 .o9-go{min-height:46px;min-width:140px;padding:0 24px;border:0;border-radius:10px;background:#ffdd28;color:#1a1408;font:800 18px "PT Read",sans-serif;cursor:pointer}#ep8 .o9-go:disabled{opacity:.4;cursor:default}
#ep8-hud .gate{display:flex;justify-content:space-between;gap:6px;margin:0 0 6px;padding:4px 8px;border-radius:8px;background:rgba(56,230,255,.12);font-size:12px}#ep8-hud .gate b{color:#38e6ff}#ep8-hud .gate.low b{color:#ff7a6a}
#ep8-hud .loot{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px;padding:6px 8px;border:1px solid #ffdd28;border-radius:8px;background:rgba(58,47,5,.85);font-size:12px;animation:ep8pop .4s}#ep8-hud .loot b{width:100%;color:#ffdd28}
#ep8-hud .it{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;font-style:normal;font-size:9px;overflow:hidden}#ep8-hud .it img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#ep8-hud .bag{margin-top:6px}#ep8-hud .bag b{display:block;font-size:12px}#ep8-hud .bag b small{color:var(--ol-sub);font-weight:400;margin-left:4px}#ep8-hud .bag span{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}
#ep8-hud .bag button{width:32px;height:32px;padding:2px;border:1px solid rgba(244,243,236,.35);border-radius:6px;background:#16181c;cursor:pointer}#ep8-hud .bag button:hover{border-color:#ffdd28}
body.mobile-ui #ep8-hud .gate{margin:0 0 2px;padding:1px 4px;font-size:10px}body.mobile-ui #ep8-hud .loot,body.mobile-ui #ep8-hud .bag{display:inline-flex;margin-top:2px;padding:2px 4px;font-size:10px}body.mobile-ui #ep8-hud .bag b small{display:none}body.mobile-ui #ep8-hud .bag button{width:24px;height:24px}
/* 04 11-15 209 로비 '내 트레이너' = 게임 도트(정수 배율 --k, nearest) + 에이스 포켓몬 움직이는 도트, 바닥 고리 위 */
#ep8 .o9-trainer{position:absolute;z-index:3;left:16.95cqw;top:74.4cqh;display:flex;align-items:flex-end;gap:calc(4px*var(--k));transform:translate(-50%,calc(-100% + 10px*var(--k)));pointer-events:none}
#ep8 .o9-trainer .tr{display:block;flex:none;margin:0 calc(-36px*var(--k));width:calc(128px*var(--k));height:calc(160px*var(--k));background:url(assets/arena-field/player_walk.webp) 0 0/calc(512px*var(--k)) calc(640px*var(--k)) no-repeat;image-rendering:pixelated;animation:o9walk .9s steps(4) infinite}
#ep8 .o9-trainer .ace{flex:none;width:calc(96px*var(--ka));height:calc(96px*var(--ka));image-rendering:pixelated;margin:0 calc(-12px*var(--ka)) calc(10px*var(--k) - 26px*var(--ka)) calc(-14px*var(--ka))}
@keyframes o9walk{to{background-position-x:calc(-512px*var(--k))}}
@media (prefers-reduced-motion:reduce){#ep8 .o9-trainer .tr{animation:none}}
/* 04 11-15 210C 회전초밥(초밥집 실내, 05 b0a3d287): PC 1920×1080 무대(16:9) = 방 장면 + 카운터 투명층 + 접시 9(normalized %), 휴대폰 844×390 무대 = 전용 장면. 무대 밖은 같은 그림을 어둡게 깔음 */
#ep8 .o210-car{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(rgba(5,7,9,.55),rgba(5,7,9,.55)),var(--bd) center/cover no-repeat,#07090b;color:#f4f3ec;font-family:"PT Read",sans-serif}
#ep8 .o210-car .st{position:relative;width:min(100vw,177.78vh);aspect-ratio:16/9;container-type:size}
#ep8 .o210-car .room,#ep8 .o210-car .ctr{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none}#ep8 .o210-car.m .st{width:min(100vw,216.41vh);aspect-ratio:844/390}
#ep8 .o210-car .pl{position:absolute;width:6.1cqw;height:5.2cqh;transform:translate(-50%,-50%);padding:0;border:0;background:none;cursor:pointer;color:inherit;font:inherit}
#ep8 .o210-car .pl:disabled{cursor:default}
#ep8 .o210-car .pl::before{content:"";position:absolute;inset:0;border-radius:50%;border:max(2px,.2cqw) solid transparent;transition:border-color .15s,box-shadow .15s}
#ep8 .o210-car .pl:not(:disabled):hover::before,#ep8 .o210-car .pl:not(:disabled):focus-visible::before{border-color:#ffdd28;box-shadow:0 0 1.2cqw rgba(255,221,40,.55)}
#ep8 .o210-car .pl .dish{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse at 50% 45%,#22302f 0 55%,#0d1314 70%);border:max(1px,.12cqw) solid rgba(56,230,255,.5);box-shadow:0 .4cqh .6cqw rgba(0,0,0,.6)}
#ep8 .o210-car .pl .mon{position:absolute;left:50%;bottom:calc(50% - 2.6cqw);width:8cqw;height:8cqw;transform:translateX(-50%);image-rendering:pixelated;pointer-events:none;filter:drop-shadow(0 .3cqh .2cqw rgba(0,0,0,.6))}
#ep8 .o210-car .pl .itm{position:absolute;z-index:1;right:-1cqw;top:-1.2cqh;width:2.2cqw;height:2.2cqw;display:grid;place-items:center;background:rgba(10,14,16,.85);border:1px solid rgba(255,221,40,.7);border-radius:50%;overflow:hidden}
#ep8 .o210-car .pl .itm i,#ep8 .o210-car .pl .itm svg,#ep8 .o210-car .pl .itm img{max-width:100%;max-height:100%}body.mobile-ui #ep8 .o210-car .pl .nm{display:none}
#ep8 .o210-car .pl .no{position:absolute;left:50%;top:100%;transform:translateX(-50%);font:700 max(11px,1.05cqw)/1 "PT Title",sans-serif;text-shadow:0 1px 2px #000}
#ep8 .o210-car .pl .nm{position:absolute;left:50%;top:calc(100% + max(13px,1.3cqw));transform:translateX(-50%);white-space:nowrap;font-size:max(10px,.78cqw);padding:.1cqh .4cqw;border-radius:99px;background:rgba(8,10,12,.7);color:#e9e6da}
#ep8 .o210-car .pl.taken .nm{color:#8b8f94}
#ep8 .o210-car .ttl{position:absolute;left:2.1cqw;top:3cqh;display:grid;grid-template-columns:auto auto;column-gap:1cqw;align-items:end}
#ep8 .o210-car .ttl small{font-size:max(10px,.8cqw);color:#c9c7bd}#ep8 .o210-car .ttl .rd{grid-row:2;font:800 max(20px,2.2cqw)/1 "PT Title",sans-serif}#ep8 .o210-car .ttl .k{grid-row:3;color:#ffdd28;font-weight:700}#ep8 .o210-car .ttl .alive{grid-column:2;grid-row:2/4;font-size:max(11px,1cqw)}
#ep8 .o210-car .nm1{position:absolute;left:2.1cqw;top:23cqh}#ep8 .o210-car .nm1 small{color:#ffdd28;font-size:max(10px,.85cqw);font-weight:700}
#ep8 .o210-car .nm1 h2{margin:.3cqh 0 .6cqh;font:800 max(18px,2.6cqw)/1.1 "PT Title",sans-serif}#ep8 .o210-car .nm1 p{margin:0;font-size:max(10px,.9cqw);color:#d6d3c8}
#ep8 .o210-car .o210-timer{position:absolute;left:50%;top:12cqh;transform:translateX(-50%);margin:0;padding:.6cqh 2.4cqw;font:700 max(12px,1.15cqw)/1.3 "PT Title",sans-serif;color:#ffdd28;background:linear-gradient(90deg,transparent,rgba(16,40,38,.92) 12%,rgba(16,40,38,.92) 88%,transparent);clip-path:polygon(4% 0,100% 0,96% 100%,0 100%)}
#ep8 .o210-car .o210-timer b{margin-left:.3em}
#ep8 .o210-car .turn{position:absolute;left:50%;top:44cqh;transform:translateX(-50%);display:grid;justify-items:center;gap:.5cqh;pointer-events:none;text-align:center}
#ep8 .o210-car .turn b{padding:.6cqh 3.2cqw;font:800 max(14px,1.6cqw)/1.2 "PT Title",sans-serif;color:#d6d3c8;background:rgba(14,34,34,.9);border:1px solid rgba(56,230,255,.45);clip-path:polygon(4% 0,100% 0,96% 100%,0 100%)}
#ep8 .o210-car .turn.me b{color:#ffdd28;border-color:rgba(255,221,40,.7)}#ep8 .o210-car .turn span{font-size:max(11px,.95cqw);font-weight:700}#ep8 .o210-car .turn small{font-size:max(10px,.75cqw);color:#bdbab0}
#ep8 .o210-car .ord{position:absolute;right:2.6cqw;top:26cqh;width:13cqw}#ep8 .o210-car .ord h3{margin:0 0 1.6cqh;text-align:center;font:700 max(12px,1.15cqw)/1 "PT Title",sans-serif}
#ep8 .o210-car .ord ol{margin:0;padding:0;list-style:none;display:grid;gap:2.2cqh}#ep8 .o210-car .ord li{display:grid;grid-template-columns:2cqw 1fr auto;align-items:center;gap:1cqw;font-size:max(11px,.95cqw);color:#c9c7bd}
#ep8 .o210-car .ord li b{color:#8b8f94}#ep8 .o210-car .ord li.now{color:#ffdd28}#ep8 .o210-car .ord li.now b{color:#ffdd28}#ep8 .o210-car .ord li.me span{font-weight:800}#ep8 .o210-car .ord li em{font-style:normal;font-size:.85em}
#ep8 .o210-car .x{position:absolute;right:1.4cqw;top:2.4cqh;width:max(32px,2.4cqw);height:max(32px,2.4cqw);border:1px solid rgba(244,243,236,.35);border-radius:8px;background:rgba(8,10,12,.6);color:#f4f3ec;font-size:max(16px,1.4cqw);cursor:pointer}
/* 휴대폰(목업 rt210_carousel_844x390): 16:9 무대 그대로(접시 좌표 유지), 입장 순서는 아래 가로 줄 */
body.mobile-ui #ep8 .o210-car .nm1{top:24cqh}body.mobile-ui #ep8 .o210-car .nm1 p{max-width:16cqw}
body.mobile-ui #ep8 .o210-car .ord{left:2.1cqw;right:auto;top:auto;bottom:2.6cqh;width:auto;display:flex;align-items:center;gap:1.4cqw}body.mobile-ui #ep8 .o210-car .ord h3{margin:0;font-size:10px}
body.mobile-ui #ep8 .o210-car .ord ol{display:flex;gap:4px}body.mobile-ui #ep8 .o210-car .ord li{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(40,44,48,.9);font-size:10px}body.mobile-ui #ep8 .o210-car .ord li span,body.mobile-ui #ep8 .o210-car .ord li em{display:none}body.mobile-ui #ep8 .o210-car .ord li.now{background:#ffdd28}body.mobile-ui #ep8 .o210-car .ord li.now b{color:#111}
/* 04 11-15 209 로비 넓은 화면(844×390 등 16:9보다 넓음) 꽉 채우기 — 목업 online209_09: 세로 배치는 그대로, 남는 좌우 폭(--gx = 한쪽 여백)만큼
   왼쪽 무리(뒤로·제목·고리·트레이너·닉네임)는 화면 왼쪽 끝으로, 내 계정·작은 카드 2장은 오른쪽 끝으로, 큰 카드는 여백만큼 조금 키움. 16:9 이하 화면은 --gx=0이라 그대로 */
.o9-lobby{--gx:max(0px,(100vw - 177.78vh)/2)}
.o9-top{left:calc(-1*var(--gx));right:calc(-1*var(--gx))} /* 뒤로·제목·내 계정은 이 띠 안이라 같이 끝으로 */
.o9-ring,.o9-me,#ep8 .o9-trainer{margin-left:calc(-1*var(--gx))}
.o9-slot{margin-left:var(--gx)}
.o9-card.big{left:calc(28.4cqw - min(var(--gx)*.5,5cqw));width:calc(49.7cqw + min(var(--gx)*.4,4cqw))}
/* 04 11-15 210 HUD A안: #ep8-hud.v210 = 겉 상자 없이 화면 전체에 부품을 흩어 놓음(기존 header·.gate·ol li·.toast 구조 유지). PC 기준 1920(--u = 100vw/1920, 1280은 2/3) */
#ep8-hud.ol209-8p-hud.v210{position:fixed;inset:0;width:auto;padding:0;border-radius:0;background:none;box-shadow:none;transform:none;pointer-events:none;--u:calc(100vw/1920);font-size:calc(15*var(--u))}
#ep8-hud.v210>*{pointer-events:auto}
#ep8-hud.v210 header{position:absolute;left:calc(24*var(--u));top:calc(14*var(--u));display:grid;grid-template-columns:auto auto;gap:0 calc(10*var(--u));align-items:center;margin:0;padding:calc(6*var(--u)) calc(12*var(--u));border-radius:calc(10*var(--u));background:rgba(8,12,14,.7)}
#ep8-hud.v210 header b{grid-row:1/3;font:800 calc(40*var(--u))/1 "PT Title",sans-serif;color:#f4f3ec}#ep8-hud.v210 header span{color:#ffdd28;font-size:calc(15*var(--u));font-weight:700}
#ep8-hud.v210 header .alive{grid-column:2;color:#d6d3c8;font-size:calc(14*var(--u))}#ep8-hud.v210 header button{grid-column:3;grid-row:1/3;width:calc(34*var(--u));height:calc(34*var(--u));font-size:calc(18*var(--u))}
#ep8-hud.v210 .gate{position:absolute;left:50%;top:calc(140*var(--u));transform:translateX(-50%);margin:0;padding:calc(4*var(--u)) calc(34*var(--u));gap:calc(12*var(--u));border-radius:0;background:linear-gradient(90deg,transparent,rgba(16,40,38,.92) 10%,rgba(16,40,38,.92) 90%,transparent);clip-path:polygon(5% 0,100% 0,95% 100%,0 100%);font:700 calc(18*var(--u)) "PT Title",sans-serif;color:#ffdd28;white-space:nowrap}
#ep8-hud.v210 .gate b{color:#ffdd28}#ep8-hud.v210 .gate.low b{color:#ff7a6a}
#ep8-hud.v210 .s210{position:absolute;right:calc(28*var(--u));top:calc(240*var(--u));width:calc(360*var(--u))}
#ep8-hud.v210 .s210 .tg{display:flex;align-items:center;gap:calc(10*var(--u));width:100%;padding:calc(8*var(--u)) calc(16*var(--u));border:0;border-radius:0;background:linear-gradient(90deg,rgba(18,40,40,.95),rgba(18,40,40,.6));clip-path:polygon(0 0,100% 0,96% 100%,0 100%);color:#f4f3ec;font:700 calc(22*var(--u)) "PT Title",sans-serif;cursor:pointer}
#ep8-hud.v210 .s210 .tg img{width:calc(26*var(--u));height:calc(26*var(--u))}#ep8-hud.v210 .s210 .tg i{margin-left:auto;font-style:normal;color:#c9c7bd}
#ep8-hud.v210 .s210 .body{margin-top:calc(8*var(--u));padding:calc(18*var(--u)) calc(20*var(--u)) calc(16*var(--u));border-style:solid;border-width:calc(70*var(--u)*.5) calc(72*var(--u)*.5);border-image:url(assets/ui/online-210/parts/rt210_stats_panel_rect_base.png) 70 72 fill/calc(70*var(--u)*.5) calc(72*var(--u)*.5);box-sizing:border-box}
#ep8-hud.v210 .s210 .vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:calc(14*var(--u))}#ep8-hud.v210 .s210 .vs em{font:800 calc(28*var(--u)) "PT Title",sans-serif;font-style:normal;color:#ffdd28}
#ep8-hud.v210 .s210 .vs span{display:grid;gap:calc(4*var(--u))}#ep8-hud.v210 .s210 .vs .b{text-align:right}#ep8-hud.v210 .s210 .vs b{font-size:calc(17*var(--u));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ep8-hud.v210 .s210 .vs strong{font:800 calc(24*var(--u)) "PT Title",sans-serif;color:#38e6ff}#ep8-hud.v210 .s210 .vs .b strong{color:#ffdd28}
#ep8-hud.v210 .s210 .rows{list-style:none;margin-top:0;padding:0;display:grid;gap:calc(12*var(--u))}#ep8-hud.v210 .s210 .rows li{display:grid;grid-template-columns:1fr calc(26*var(--u)) 1fr;align-items:center;gap:calc(10*var(--u));padding:0;background:none}
#ep8-hud.v210 .s210 .c{display:grid;grid-template-columns:calc(28*var(--u)) 1fr;grid-template-areas:"i n" "bar bar";align-items:center;gap:calc(2*var(--u)) calc(6*var(--u))}#ep8-hud.v210 .s210 .c.b{grid-template-columns:1fr calc(28*var(--u));grid-template-areas:"n i" "bar bar";text-align:right}
#ep8-hud.v210 .s210 .c img{grid-area:i;width:calc(28*var(--u));height:calc(28*var(--u));image-rendering:pixelated}#ep8-hud.v210 .s210 .c b{grid-area:n;font-size:calc(15*var(--u))}
#ep8-hud.v210 .s210 .c .bar{grid-area:bar;display:block;height:calc(6*var(--u));border-radius:9px;background:rgba(255,255,255,.12)}#ep8-hud.v210 .s210 .c .bar u{display:block;height:100%;border-radius:9px;background:#38e6ff}#ep8-hud.v210 .s210 .c.b .bar u{margin-left:auto;background:#ffdd28}
#ep8-hud.v210 .s210 .k{display:grid;place-items:center;width:calc(24*var(--u));height:calc(24*var(--u));border:1px solid rgba(244,243,236,.3);border-radius:calc(5*var(--u));font-size:calc(12*var(--u));color:#c9c7bd}
#ep8-hud.v210 .s210 .ft,#ep8-hud.v210 .s210 .none{display:block;margin-top:calc(14*var(--u));text-align:center;font-size:calc(14*var(--u));color:#c9c7bd}
#ep8-hud.v210 .m210{position:absolute;left:calc(24*var(--u));top:calc(520*var(--u));width:calc(300*var(--u));display:grid;gap:calc(6*var(--u))}#ep8-hud.v210 .m210:empty{display:none}
#ep8-hud.v210 .m210 .toast{margin:0;padding:calc(6*var(--u)) calc(10*var(--u));border-radius:calc(8*var(--u));background:rgba(8,12,14,.8);font-size:calc(16*var(--u))}
#ep8-hud.v210 .m210 .loot,#ep8-hud.v210 .m210 .bag{margin:0;padding:calc(6*var(--u)) calc(10*var(--u));border-radius:calc(8*var(--u));background:rgba(8,12,14,.8)}
/* 휴대폰(목업 rt210_battle_a_844x390): 초상 34px 이름 없이 HP 숫자만, 라벨 숨김, 라운드 띠 없음, 통계는 '전투 통계 ›' 단추(펼치면 오른쪽 위 겹침 창) */
body.mobile-ui #ep8-hud.ol209-8p-hud.v210{left:0;top:0;right:0;bottom:0;width:auto;transform:none;padding:0;font-size:11px}
body.mobile-ui #ep8-hud.v210 header{left:6px;top:4px;padding:2px 6px;gap:0 6px;border-radius:7px}body.mobile-ui #ep8-hud.v210 header b{font-size:17px}body.mobile-ui #ep8-hud.v210 header span{font-size:10px}body.mobile-ui #ep8-hud.v210 header .alive{font-size:10px}body.mobile-ui #ep8-hud.v210 header button{width:22px;height:22px;font-size:13px}
body.mobile-ui #ep8-hud.v210 .gate{top:56px;padding:1px 18px;font-size:11px;gap:6px}
body.mobile-ui #ep8-hud.v210 .s210{left:6px;right:auto;top:40px;width:auto;z-index:2}body.mobile-ui #ep8-hud.v210 .s210 .tg{padding:3px 10px;font-size:11px;gap:5px;width:auto}body.mobile-ui #ep8-hud.v210 .s210 .tg img{width:14px;height:14px}
body.mobile-ui #ep8-hud.v210 .s210.open{width:210px}body.mobile-ui #ep8-hud.v210 .s210 .body{--u:.55px;max-height:250px;overflow:auto;background:rgba(10,18,20,.95);border-radius:8px}
body.mobile-ui #ep8-hud.v210 .m210{left:6px;right:auto;top:68px;width:auto;max-width:170px;--u:.6px}
/* 04 11-15 비공개 방 관전 단추(08 OnlineRoom.autoWatch·watch) — 210 HUD는 왼쪽 무리 위, 예전 HUD는 목록 아래 */
#ep8-hud .w210{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}#ep8-hud .w210 button{min-height:30px;padding:0 10px;border:1px solid rgba(244,243,236,.35);border-radius:8px;background:#16181c;color:#f4f3ec;font:700 12px "PT Read",sans-serif;cursor:pointer}
#ep8-hud .w210 button.on{border-color:#38e6ff;color:#38e6ff}#ep8-hud .w210 [data-ep8h=watchnow]{border-color:#ffdd28;color:#ffdd28}
#ep8-hud.v210 .w210{position:absolute;left:calc(24*var(--u));top:calc(470*var(--u));margin:0}#ep8-hud.v210 .w210 button{min-height:calc(36*var(--u));font-size:calc(15*var(--u));padding:0 calc(14*var(--u))}
body.mobile-ui #ep8-hud.v210 .w210{left:96px;top:38px}body.mobile-ui #ep8-hud.v210 .w210 button{min-height:22px;font-size:10px;padding:0 6px}
/* 04 11-16 BP 상점 '꾸미기' 탭(CosShop): 상점 창 틀은 그대로, 탭 안은 209 톤(먹색 #0b0e13·금 #ffdd28·하늘 #38e6ff, 기울인 띠). 왼쪽 품목 칸 + 오른쪽 미리보기 */
.cv-exchange .cs-wrap{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;color:#f4f3ec}
.cv-exchange .cs-kinds{display:flex;gap:6px}.cv-exchange .cs-kinds button{min-height:40px;padding:0 18px;border:0;transform:skewX(-14deg);background:#0b0e13cc;color:#c9ccd2;font:700 16px "PT Read",sans-serif;cursor:pointer}
.cv-exchange .cs-kinds button[aria-selected=true]{background:#ffdd28;color:#1a1408}.cv-exchange .cs-kinds button:focus-visible{outline:2px solid #38e6ff}
.cv-exchange .cs-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:minmax(0,1fr);gap:14px}
.cv-exchange .cs-grid{list-style:none;margin:0;padding:4px;display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));align-content:start;gap:8px;overflow:auto;min-height:0;flex:none}
.cv-exchange .cs-grid li{display:block;padding:0;border:0;background:none}
.cv-exchange .cs-it{position:relative;display:grid;justify-items:center;gap:3px;width:100%;padding:6px 6px 8px;border:2px solid #ffffff1f;border-radius:8px;background:#0b0e13d9;color:#f4f3ec;cursor:pointer;font:inherit}
.cv-exchange .cs-it:hover,.cv-exchange .cs-it:focus-visible{border-color:#38e6ff;outline:none}.cv-exchange .cs-it[aria-selected=true]{border-color:#ffdd28;box-shadow:0 0 12px #ffdd2866}
.cv-exchange .cs-it b{font-size:14px;line-height:1.2;text-align:center}.cv-exchange .cs-it small{font-size:12px;color:#ffdd28}.cv-exchange .cs-it.owned small{color:#9fd3e8}.cv-exchange .cs-it.using small{color:#7cf0a8}
.cv-exchange .th{display:grid;place-items:center;width:100%;aspect-ratio:16/10;border-radius:5px;overflow:hidden;background:#151a21 center/cover no-repeat}
.cv-exchange .th.bd img{width:80%;height:auto}
.cv-exchange .dot{--w:64px;display:block;width:64px;height:80px;background:var(--src) 0 0/256px auto no-repeat;image-rendering:pixelated;animation:cs-walk .8s steps(4) infinite}
.cv-exchange .dot.idle{animation-duration:1.1s}
.cv-exchange .dot.big{--w:128px;width:128px;height:160px;background-size:512px auto}
@keyframes cs-walk{to{background-position-x:calc(-4*var(--w))}}
.cv-exchange .th.tr .dot{--w:48px;width:48px;height:60px;background-size:192px auto}
.cv-exchange .th.vc b,.cv-exchange .th.ac b{font:800 22px "PT Title",sans-serif;color:#ffdd28}.cv-exchange .th.ac.wait small{font-size:11px;color:#9a9da2}
.cv-exchange .cs-pv{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden;padding:10px 12px;border-radius:10px;background:#0b0e13f0;border:1px solid #ffdd2855}
.cv-exchange .cs-pv header{padding:4px 12px;transform:skewX(-10deg);background:linear-gradient(90deg,#ffdd28,#e8a800)}.cv-exchange .cs-pv header>*{transform:skewX(10deg)}
.cv-exchange .cs-pv header small{display:block;font-size:12px;color:#3a2f05;font-weight:700}.cv-exchange .cs-pv h4{margin:0;font:800 22px "PT Title",sans-serif;color:#1a1408}
.cv-exchange .pv{position:relative;flex:1 1 auto;min-height:0;display:grid;place-items:center;border-radius:8px;overflow:hidden;background:#151a21 center/cover no-repeat}
.cv-exchange .pv small{position:absolute;left:8px;right:8px;bottom:6px;padding:3px 8px;border-radius:6px;background:#0b0e13cc;font-size:12px;color:#d6d3c8;text-align:center}
.cv-exchange .pv.bd .isl{width:92%;height:auto}
.cv-exchange .pv.tr .ring,.cv-exchange .pv.ac .ring{position:absolute;left:50%;bottom:22%;width:62%;height:12%;transform:translateX(-50%);border-radius:50%;border:3px solid #38e6ffcc;box-shadow:0 0 18px #38e6ff88}
.cv-exchange .pv.ac .ring.off{display:none}.cv-exchange .pv.tr .dot.big{margin-top:-30px}
.cv-exchange .pv.ac img{width:180px;height:180px;object-fit:contain;image-rendering:pixelated;margin-top:-20px}
.cv-exchange .pv.vc{gap:10px;align-content:center}.cv-exchange .pv.vc .mic{font:800 30px "PT Title",sans-serif;color:#ffdd28}
.cv-exchange .cs-play{min-height:48px;min-width:140px;border:2px solid #38e6ff;border-radius:10px;background:#0b2a33;color:#f4f3ec;font:800 18px "PT Read",sans-serif;cursor:pointer}
.cv-exchange .cs-act{display:grid;gap:4px;flex:none}.cv-exchange .cs-go{min-height:50px;border:0;transform:skewX(-10deg);background:#38e6ff;color:#0b0e13;font:800 20px "PT Title",sans-serif;cursor:pointer}
.cv-exchange .cs-go.buy{background:#ffdd28;color:#1a1408}.cv-exchange .cs-go:disabled{filter:grayscale(1) brightness(.6);cursor:default}
.cv-exchange .cs-using{display:grid;place-items:center;min-height:50px;border:2px solid #7cf0a8;color:#7cf0a8;font:800 18px "PT Read",sans-serif}
.cv-exchange .cs-act .cv-why{text-align:center;color:#ffb4a8;font-size:13px}
.cv-exchange .cs-note{margin:0;font-size:13px;color:#c9ccd2}
@media (prefers-reduced-motion:reduce){.cv-exchange .dot{animation:none}}
.cv-mobile .cv-exchange .cs-kinds button{min-height:32px;padding:0 10px;font-size:12px}
.cv-mobile .cv-exchange .cs-body{grid-template-columns:minmax(0,1fr) 230px;gap:8px}.cv-mobile .cv-exchange .cs-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:5px;padding:2px}
.cv-mobile .cv-exchange .cs-it{padding:3px 3px 5px}.cv-mobile .cv-exchange .cs-it b{font-size:11px}.cv-mobile .cv-exchange .cs-it small{font-size:10px}
.cv-mobile .cv-exchange .cs-pv{padding:6px;gap:5px}.cv-mobile .cv-exchange .cs-pv h4{font-size:15px}.cv-mobile .cv-exchange .pv{min-height:0}.cv-mobile .cv-exchange .cs-note{display:none}.cv-mobile .cv-exchange .cs-pv header{padding:2px 8px}.cv-mobile .cv-exchange .pv small{font-size:9px;padding:1px 4px}
.cv-mobile .cv-exchange .dot.big{--w:64px;width:64px;height:80px;background-size:256px auto}.cv-mobile .cv-exchange .pv.tr .dot.big{margin-top:-10px}.cv-mobile .cv-exchange .pv.ac img{width:90px;height:90px}
.cv-mobile .cv-exchange .cs-go,.cv-mobile .cv-exchange .cs-using{min-height:40px;font-size:15px}.cv-mobile .cv-exchange .cs-play{min-height:40px;font-size:14px}.cv-mobile .cv-exchange .cs-note{font-size:10px}
/* 04 11-16 BP 상점 창 전체 209 톤(관리자 11-16, 사용자 11-13 'BP 상점 옛 틀' 지적): 옛 frame-info 테두리·남색 상자 대신 어두운 판 + 위 보라·하늘 띠 + 금색 기울인 제목 띠 + 금 단추 + 기울인 탭. 상점 런·칭호·열쇠·꾸미기 탭 공통 */
.cv-frame.cv-exchange{border:0;border-image:none;border-radius:4px;background:linear-gradient(180deg,#161b23 0,#0b0e13 100%);box-shadow:0 0 0 1px #ffdd2833,0 22px 60px #000c;overflow:hidden}
.cv-frame.cv-exchange::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#c04bff 0,#38e6ff 22%,transparent 23%,transparent 70%,#38e6ff 82%,#c04bff 100%);opacity:.9;pointer-events:none}
.cv-frame.cv-exchange>header{padding-top:4px}
.cv-frame.cv-exchange h3{position:relative;z-index:0;padding:4px 30px 6px 22px;color:#1a1408;font:800 30px/1.1 "PT Title",sans-serif;letter-spacing:.5px}
.cv-frame.cv-exchange h3::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#ffdd28,#e8a800);transform:skewX(-14deg);box-shadow:0 3px 0 #0006}
.cv-frame.cv-exchange .cv-ex-bp{padding:6px 16px;border-radius:3px;background:#0b0e13;border:1px solid #ffdd2855;color:#f4f3ec}.cv-frame.cv-exchange .cv-ex-bp b{color:#ffdd28}
.cv-frame.cv-exchange .cv-button{border:0!important;border-image:none!important;border-radius:0;transform:skewX(-12deg);background:#ffdd28;color:#1a1408;font-family:"PT Title",sans-serif;font-weight:800;box-shadow:0 3px 0 #0007;text-shadow:none}
.cv-frame.cv-exchange .cv-button:disabled,.cv-frame.cv-exchange .cv-button[aria-disabled=true]{background:#3a3d42;color:#8b8f94;box-shadow:none}
.cv-frame.cv-exchange .cv-button:not(:disabled):hover,.cv-frame.cv-exchange .cv-button:focus-visible{background:#ffe866;outline:2px solid #38e6ff;outline-offset:2px}
.cv-frame.cv-exchange .cv-ex-close{background:#f4f3ec;color:#1a1408}
.cv-frame.cv-exchange .cv-ex-tabs{gap:6px;border-bottom:1px solid #ffdd2840;padding-bottom:8px}
.cv-frame.cv-exchange .cv-ex-tab{transform:skewX(-14deg);border:0;background:#1d232c;color:#c9ccd2;padding:0 18px}.cv-frame.cv-exchange .cv-ex-tab b{background:#ffffff1a;color:inherit}
.cv-frame.cv-exchange .cv-ex-tab[aria-selected=true]{background:#ffdd28;color:#1a1408;border:0}.cv-frame.cv-exchange .cv-ex-tab[aria-selected=true] b{background:#1a140826}
.cv-frame.cv-exchange .cv-ex-tab:focus-visible{outline:2px solid #38e6ff;outline-offset:2px}
.cv-frame.cv-exchange li[data-ex]{border-radius:3px;background:#151a21;border:1px solid #ffffff14;border-left:4px solid #38e6ff}
.cv-frame.cv-exchange li[data-kind=augment]{border-left-color:#c04bff}.cv-frame.cv-exchange li[data-kind=cosmetic]{border-left-color:#ffdd28}.cv-frame.cv-exchange li[data-kind=key]{border-left-color:#7cf0a8}
.cv-frame.cv-exchange li small{color:#38e6ff}.cv-frame.cv-exchange li .cv-ex-own{color:#ffdd28}.cv-frame.cv-exchange li p{color:#d6d3c8}.cv-frame.cv-exchange .cv-why{color:#ffb4a8}
.cv-frame.cv-exchange footer{border-top:1px solid #ffffff14;padding-top:6px}.cv-frame.cv-exchange footer p{color:#c9ccd2}
.cv-mobile .cv-frame.cv-exchange h3{font-size:19px;padding:2px 20px 3px 14px}.cv-mobile .cv-frame.cv-exchange .cv-ex-bp{padding:3px 10px}.cv-mobile .cv-frame.cv-exchange .cv-ex-tab{padding:0 12px}
/* 04 11-16 사용자 지시 8인 HUD 배치: 오른쪽 세로 8인 순위(210 B안 rt210_roster_row_slanted 줄), 전투 중엔 숨기고 그 자리에 전투 통계. 위 초상 줄·라운드 띠 없앰(위 = 싱글 진행 띠 #t1-strip) */
#ep8-hud.v210 .s210{top:calc(150*var(--u))}#ep8-hud.v210 ol.p210~.s210:not(.open){top:calc(150*var(--u) + 8*72*var(--u) + 10*var(--u))}
#ep8-hud.v210 .gate{top:calc(78*var(--u))}
/* 진행 띠 8인(타워 띠와 같은 부품, tft-v1.css 53구획 그대로) */
/* 휴대폰: 상점 열 왼쪽에 좁은 세로 순위(초상 + HP), 전투 중엔 숨김 */
body.mobile-ui #ep8-hud.v210 .gate{top:36px}
body.mobile-ui #ep8-hud.v210 .s210,body.mobile-ui #ep8-hud.v210 ol.p210~.s210:not(.open){left:6px;right:auto;top:40px}
/* 8인 진행 띠: 칸 아이콘(rt210 icon)은 칸 안에 작게, 휴대폰은 위 머리말을 띠 아래로 */
body.ep8-strip #t1-strip .b2n .pk[src*="rt210_icon"]{image-rendering:auto;object-fit:contain;padding:12%}
body.mobile-ui #ep8-hud.v210 header{top:38px}body.mobile-ui #ep8-hud.v210 .s210,body.mobile-ui #ep8-hud.v210 ol.p210~.s210:not(.open){top:66px}body.mobile-ui #ep8-hud.v210 .w210{top:64px}body.mobile-ui #ep8-hud.v210 .m210{top:92px}
body.mobile-ui #ep8-hud.v210 .gate{top:38px;left:auto;right:226px;transform:none}
/* 04 11-16 사용자 2차: 오른쪽 8인 목록 = 가벼운 구조(상자 없음) — 오른쪽 끝 원형 초상 + HP 비율 고리(나 초록·지금 상대 금·그 밖 하늘·탈락 회색), 왼쪽에 작은 이름 위·큰 흰 HP 아래 오른쪽 정렬, 글자 그림자만, 줄 촘촘 */
#ep8-hud.v210 ol.p210{position:absolute;right:calc(14*var(--u));top:calc(150*var(--u));width:auto;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;align-items:flex-end;gap:calc(4*var(--u));pointer-events:auto}
#ep8-hud.v210 .p210 li{--rc:#38e6ff;display:flex;flex-direction:row-reverse;align-items:center;gap:calc(8*var(--u));padding:0;background:none;border:0;box-shadow:none}
#ep8-hud.v210 .p210 li.me{--rc:#7cf0a8}#ep8-hud.v210 .p210 li.vs{--rc:#ffdd28}#ep8-hud.v210 .p210 li.out{--rc:#8b8f94}
#ep8-hud.v210 .p210 .rk,#ep8-hud.v210 .p210 .bar,#ep8-hud.v210 .p210 .pf .fr{display:none}
#ep8-hud.v210 .p210 .pf{position:relative;flex:none;width:calc(52*var(--u));height:calc(52*var(--u));border-radius:50%;background:conic-gradient(var(--rc) calc(var(--hp)*1%),rgba(255,255,255,.16) 0);box-shadow:0 calc(2*var(--u)) calc(6*var(--u)) #0009}
#ep8-hud.v210 .p210 .pf::before{content:"";position:absolute;inset:calc(4*var(--u));border-radius:50%;background:radial-gradient(circle at 50% 40%,#2a3340,#0b0e13)}
#ep8-hud.v210 .p210 .pf .mon{position:absolute;z-index:2;left:8%;top:6%;width:84%;height:84%;object-fit:contain;image-rendering:pixelated}
#ep8-hud.v210 .p210 li.vs .pf{box-shadow:0 0 calc(10*var(--u)) #ffdd28aa}
#ep8-hud.v210 .p210 .nv{display:flex;flex-direction:column;align-items:flex-end;gap:0;line-height:1.05;text-shadow:0 1px 2px #000,0 0 4px #000c}
#ep8-hud.v210 .p210 .n{max-width:calc(150*var(--u));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(15*var(--u));font-weight:600;color:#e9e6da}
#ep8-hud.v210 .p210 .v{font:800 calc(24*var(--u)) "PT Title",sans-serif;color:#fff}
#ep8-hud.v210 .p210 li.me .n{color:#7cf0a8}#ep8-hud.v210 .p210 li.vs .n{color:#ffdd28}
#ep8-hud.v210 .p210 li.out .n,#ep8-hud.v210 .p210 li.out .v{color:#8b8f94}#ep8-hud.v210 .p210 li.out .pf .mon{filter:grayscale(1) brightness(.6)}
#ep8-hud.v210 ol.p210~.s210:not(.open){top:calc(150*var(--u) + 8*56*var(--u) + 14*var(--u))}
/* 휴대폰: 상점 열 왼쪽, 초상 22px + HP 숫자(이름 숨김) */
body.mobile-ui #ep8-hud.v210 ol.p210{right:212px;left:auto;top:92px;gap:2px}
body.mobile-ui #ep8-hud.v210 .p210 li{gap:3px}body.mobile-ui #ep8-hud.v210 .p210 .pf{width:24px;height:24px}body.mobile-ui #ep8-hud.v210 .p210 .pf::before{inset:2px}
body.mobile-ui #ep8-hud.v210 .p210 .n{display:none}body.mobile-ui #ep8-hud.v210 .p210 .v{font-size:11px}
/* 04 11-16 온라인 두 화면(사용자): ① 로비 .o9-home — 트레이너 무대(기존 고리·도트), 닉네임 왼쪽 위, 오른쪽 메뉴 4, 오른쪽 아래 큰 '플레이' ② 모드 선택 .o9-pick — 같은 크기 세로 카드 한 줄 + 오른쪽 아래 시작 */
.o9-home .o9-me,.o9-pick .o9-me{top:12cqh}
.o9-home .o9-ring{left:9cqw;top:71cqh;width:30cqw;height:9cqh}.o9-home .o9-trainer{left:24cqw!important}
.o9-menu{position:absolute;right:4cqw;top:16cqh;display:flex;flex-direction:column;gap:1.6cqh;width:24cqw}
.o9-mi{position:relative;display:flex;align-items:center;gap:1.2cqw;height:8cqh;padding:0 2cqw;border:0;transform:skewX(-12deg);background:linear-gradient(90deg,#161b23f0,#0b0e13e6);box-shadow:inset 0 0 0 1px #ffdd2840,0 .4cqh 0 #0008;color:#f4f3ec;font:700 2cqw "PT Read",sans-serif;cursor:pointer}
.o9-mi>*{transform:skewX(12deg)}.o9-mi img{width:2.4cqw;height:2.4cqw}.o9-mi small{margin-left:auto;font-size:1.1cqw;color:#9a9da2}
.o9-mi:not(:disabled):hover,.o9-mi:focus-visible{box-shadow:inset 0 0 0 2px #ffdd28,0 .4cqh 0 #0008;outline:none}.o9-mi:disabled{opacity:.55;cursor:default}
.o9-home .o9-play{left:auto;right:4cqw;top:78cqh;width:34cqw}
.o9-pick .o9-row{position:absolute;left:0;right:0;top:15cqh;display:flex;justify-content:center;gap:2cqw}
.o9-mc{position:relative;width:19cqw;aspect-ratio:3/4.5;padding:0;border:0;border-radius:.6cqw;overflow:hidden;background:#0b0e13;box-shadow:0 0 0 .25cqw #3a3d42,0 1.2cqh 2.4cqh #000a;cursor:pointer;color:#f4f3ec;font-family:inherit;transition:transform .18s,filter .18s,box-shadow .18s;filter:brightness(.55) saturate(.8)}
.o9-mc .art{position:absolute;inset:0;background:center 30%/auto 100% no-repeat}
.o9-mc .shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,#0b0e13e6 72%,#0b0e13 100%)}
.o9-mc .hex{position:absolute;left:50%;top:60%;width:5.4cqw;aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center;background:#1d232c;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);box-shadow:inset 0 0 0 .3cqw #c9c7bd55}
.o9-mc .hex img{width:55%;height:55%;object-fit:contain}
.o9-mc .nm{position:absolute;left:0;right:0;top:70%;text-align:center;font:800 2.3cqw "PT Title",sans-serif;text-shadow:0 .3cqh 0 #000a}
.o9-mc .ds{position:absolute;left:6%;right:6%;top:80%;text-align:center;font:600 1.15cqw "PT Read",sans-serif;color:#c9c7bd}
.o9-mc.sel{filter:none;transform:translateY(-1.2cqh) scale(1.05);box-shadow:0 0 0 .3cqw #ffdd28,0 0 2.4cqw #ffdd2866,0 1.6cqh 3cqh #000c}.o9-mc.sel .hex{background:#ffdd28}.o9-mc.sel .hex img{filter:brightness(0)}
.o9-mc.off .art{filter:grayscale(1)}.o9-mc.off{filter:brightness(.5) grayscale(.6)}.o9-mc.off.sel{filter:grayscale(.4)}
.o9-mc:not(.sel):hover,.o9-mc:focus-visible{filter:brightness(.8);outline:none}
.o9-mc .o9-lock{top:40%}
.o9-pick .o9-start{left:auto;right:4cqw;top:80cqh;width:30cqw;height:14cqh}
.o9-pick .o9-small{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}.o9-pick .o9-small .o9-trainer{left:9cqw!important;top:96cqh!important}
@media (prefers-reduced-motion:reduce){.o9-mc{transition:none}}
body.mobile-ui .o9-pick .o9-small{display:none} /* 844: 정수 배율 하한(1배)이라 작게 못 그림 → 모드 선택에선 숨김(로비에 크게 있음) *//* 04 11-16 로비 210B 라운지 배경 + 원본 도트(트레이너 64px·에이스 애니) 같은 정수 배율, 바닥 원형선 위에 섬(우리 CSS 고리 없앰) */
.o9-home .o9-ring{display:none}
#ep8 .o9-trainer.o9-px{gap:calc(2px*var(--k));transform:translate(-50%,-100%)}
.o9-home .o9-trainer.o9-px{left:24cqw!important;top:76cqh} /* 관리자 11-16: 두 인물 왼쪽 중앙 쪽(라운지 바닥 원형선 위) */
#ep8 .o9-px .tr2{display:block;flex:none;width:calc(64px*var(--k));height:calc(64px*var(--k));image-rendering:pixelated;margin-bottom:calc(-3px*var(--k));animation:o9breath 1.6s steps(1) infinite}
@keyframes o9breath{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(1px*var(--k)))}}
@media (prefers-reduced-motion:reduce){#ep8 .o9-px .tr2{animation:none}}
#ep8 .o9-px .ace2{display:block;flex:none;image-rendering:pixelated;background-repeat:no-repeat}
.o9-pick .o9-small .o9-trainer.o9-px{left:9cqw!important;top:95cqh!important}
.o9-lobby .o9-top h2{text-shadow:0 .3cqh 0 #000a}
/* 04 11-16 로비 썰렁함 줄이기(관리자, 박스 금지): 효과층 .o9-bgfx = 배경 cover와 같은 크기·좌표(그림 1920×1080 기준 cq) */
.o9-bgfx{position:absolute;left:50%;top:50%;width:max(100vw,177.78vh);height:max(56.25vw,100vh);transform:translate(-50%,-50%);container-type:size;pointer-events:none;z-index:0}
.o9-home .o9-stage{z-index:1}
.o9-amb>*{position:absolute;display:block}
.o9-amb .lt{width:5cqw;height:3cqw;margin:-1.5cqw 0 0 -2.5cqw;border-radius:50%;background:radial-gradient(closest-side,#fff8e0aa,#ffe7b033 45%,#0000);mix-blend-mode:screen;animation:o9lt 6.5s ease-in-out infinite}
@keyframes o9lt{0%,100%{opacity:.55}40%{opacity:.85}43%{opacity:.6}46%{opacity:.9}70%{opacity:.7}}
.o9-amb .mon{width:3.44cqw;height:3.4cqh;margin-top:0;border-radius:2px;background:linear-gradient(180deg,#7fe8ff40,#4fc3ff22),repeating-linear-gradient(0deg,#fff1 0 1px,#0000 1px 3px);mix-blend-mode:screen;box-shadow:0 0 1.2cqw #59d6ff33;animation:o9mon 3.2s steps(1) infinite}
.o9-amb .mon.b{animation-delay:-1.7s}
@keyframes o9mon{0%,100%{opacity:.8}30%{opacity:.55}34%{opacity:.9}62%{opacity:.7}}
.o9-amb .pl{background:var(--o9bg) 0 0/100cqw 100cqh no-repeat;transform-origin:50% 100%;animation:o9sway 5.5s ease-in-out infinite}
.o9-amb .pl.b{animation-duration:6.3s;animation-delay:-2s}
@keyframes o9sway{0%,100%{transform:rotate(-.7deg)}50%{transform:rotate(.7deg)}}
.o9-amb .desk{left:26.2cqw;top:36cqh;width:6cqw;height:15.2cqh;overflow:hidden}
.o9-amb .nurse{position:absolute;left:50%;bottom:-7.4cqh;width:5cqw;height:13.33cqh;margin-left:-2.5cqw;image-rendering:pixelated;animation:o9breath 2.4s steps(1) infinite}
.o9-amb .chs{left:6.5cqw;top:61cqh;width:4.6cqw;height:1.8cqh;border-radius:50%;background:radial-gradient(closest-side,#000a,#0000)}.o9-amb .chansey{left:5.5cqw;top:53.6cqh;width:6.6cqw;height:11.7cqh;object-fit:contain;image-rendering:pixelated;filter:brightness(.92)}
.o9-amb .du{width:.32cqw;height:.32cqw;border-radius:50%;background:#fff3c8;box-shadow:0 0 .6cqw #ffe9a0aa;opacity:0;animation:o9dust 11s linear infinite}
@keyframes o9dust{0%{opacity:0;transform:translate(0,0)}15%{opacity:.7}85%{opacity:.5}100%{opacity:0;transform:translate(var(--dx,1.4cqw),-9cqh)}}
.o9-board{position:absolute;left:38.3cqw;top:25.5cqh;width:30.6cqw;display:flex;flex-direction:column;align-items:center;gap:1.6cqh;padding:1.6cqh 0;overflow:hidden;color:#fff8e6;text-shadow:0 0 1cqw #ffd76a88,0 .2cqh 0 #0008;white-space:nowrap;background:radial-gradient(farthest-side,#12151cdc 55%,#12151c99 78%,#12151c00);padding:2.4cqh 2cqw;font-family:"PT Title","PT Read",sans-serif}
.o9-board::before,.o9-board::after{content:'';position:absolute;left:12%;right:12%;height:2px;background:linear-gradient(90deg,#0000,#ffd76acc 20%,#fff6d0 50%,#ffd76acc 80%,#0000);box-shadow:0 0 1cqw #ffd76a99}
.o9-board::before{top:1.2cqh}.o9-board::after{bottom:1.2cqh}
.o9-board .on{font-size:2.6cqw;font-weight:900;letter-spacing:.05em}
.o9-board .on em{font-style:normal;color:#ffe066;margin:0 .3em}
.o9-board .evs{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.8cqw;margin:0;padding-bottom:1.2cqh;font-size:1.5cqw;font-weight:800}
.o9-board .evs>small{flex:0 0 100%;text-align:center;font-size:.95cqw;letter-spacing:.3em;opacity:.7;margin-bottom:-.4cqh}
.o9-board .ev{display:inline-flex;align-items:center;gap:.45cqw;position:relative}
.o9-board .ev img{width:2.3cqw;height:2.3cqw;filter:drop-shadow(0 0 .5cqw #ffd76a88)}
.o9-board .ev.off{opacity:.45}.o9-board .ev small{position:absolute;left:50%;top:100%;transform:translateX(-50%);white-space:nowrap;font-size:.8cqw;opacity:.9}
.o9-board .ar{font-style:normal;opacity:.6}
.o9-board .dice{position:relative;width:1.9cqw;height:1.9cqw;border-radius:.35cqw;background:#fff8e6;box-shadow:0 0 .5cqw #ffd76a88}
.o9-board .dice b{position:absolute;width:.36cqw;height:.36cqw;margin:-.18cqw;border-radius:50%;background:#2b2a33}
.o9-board .dice b:nth-child(1){left:28%;top:28%}.o9-board .dice b:nth-child(2){left:50%;top:50%}.o9-board .dice b:nth-child(3){left:72%;top:72%}
.o9-board .sweep{position:absolute;inset:0;background:linear-gradient(100deg,#0000 40%,#fff6d022 50%,#0000 60%) 0 0/250% 100% no-repeat;animation:o9sweep 7s linear infinite;mix-blend-mode:screen}
@keyframes o9sweep{0%{background-position:150% 0}100%{background-position:-50% 0}}
.o9-home .o9-spot{position:absolute;z-index:2;left:24cqw;top:76cqh;width:25cqw;height:7.5cqh;margin-left:calc(-1*var(--gx));transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,#fff4d266,#ffe7a833 55%,#ffe7a812 85%,#0000);box-shadow:inset 0 0 0 1px #ffe7a81a}
#ep8 .o9-home .o9-trainer.o9-px::after{content:'';position:absolute;z-index:-1;left:8%;right:8%;bottom:-1cqh;height:2.2cqh;border-radius:50%;background:radial-gradient(closest-side,#000a,#0005 60%,#0000)}
@media (prefers-reduced-motion:reduce){.o9-amb>*,.o9-board .sweep{animation:none!important}.o9-amb .du{display:none}}
@media (max-height:500px){.o9-board{left:38.6cqw;width:26.4cqw}.o9-board .evs{gap:.5cqw;font-size:1.35cqw}}
/* 04 11-16 온라인 로비 '꾸미기' 창(관리자): BP 상점 꾸미기 탭과 같은 CosShop 화면을 로비 위에 */
.o9-cosdim{position:absolute;inset:0;z-index:9;background:#05070b59} /* 관리자 11-16: 로비가 비치게 */
.o9-cosw{display:contents} /* 휴대폰은 BP 상점과 같은 .cv-mobile 규칙을 받게 감쌈 */
.o9-cosw.cv-mobile .cv-exchange.o9-cos{top:6px;bottom:6px}
.o9-stage .cv-exchange.o9-cos{position:absolute;z-index:10;top:9cqh;bottom:5cqh;left:50%;width:min(980px,calc(100% - 72px));transform:translateX(-50%);font-family:"PT Read",sans-serif;font-size:15px;text-align:left}
.o9-cos>header{display:flex;align-items:center;gap:12px}.o9-cos>header h3{margin:0}.o9-cos .cv-ex-bp{margin:0 0 0 auto}
#online-entry .oe-cos{margin:.6em 0 0;font-size:.95em;opacity:.95}#online-entry .oe-cos small{display:block;opacity:.7;font-size:.8em;margin-bottom:.2em}
.o9-stage .cv-frame.cv-exchange.o9-cos{background:linear-gradient(180deg,#0b0e13b8,#07090dcc);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)} /* 관리자 11-16: 창 바탕 = 로비가 비치는 반투명 어둠 */
/* 04 11-16 꾸미기 3차(관리자, 박스·네이비 줄이기): 품목 = 상자 없이 도트를 바닥 그림자 위에 줄지어, 고른 것만 발밑 빛 고리 + 이름 금색 · 미리보기 = 로비 장면 */
.cv-exchange .cs-it{border:0;border-radius:0;background:none;padding:2px 2px 6px;box-shadow:none}
.cv-exchange .cs-it:hover,.cv-exchange .cs-it:focus-visible{border:0;outline:none}.cv-exchange .cs-it:hover b,.cv-exchange .cs-it:focus-visible b{color:#7fe8ff}
.cv-exchange .cs-it[aria-selected=true]{border:0;box-shadow:none}.cv-exchange .cs-it[aria-selected=true] b{color:#ffdd28}
.cv-exchange .cs-it b{font-size:13px;font-weight:700}.cv-exchange .cs-it small{font-size:11px;opacity:.85}
.cv-exchange .th{position:relative;background-color:transparent;overflow:visible}
.cv-exchange .th.tr,.cv-exchange .th.vc,.cv-exchange .th.ac{aspect-ratio:auto;height:132px;align-items:end;justify-items:center}
.cv-exchange .th.tr::after{content:'';position:absolute;z-index:0;left:50%;bottom:4px;width:62%;height:12px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,#000b,#0000)}
.cv-exchange .cs-it[aria-selected=true] .th::before{content:'';position:absolute;z-index:0;left:50%;bottom:0;width:78%;height:20px;transform:translateX(-50%);border-radius:50%;border:2px solid #ffdd28cc;box-shadow:0 0 12px #ffdd2888,inset 0 0 8px #ffdd2855}
.cv-exchange .th.tr.lb img{position:relative;z-index:1;width:128px;height:128px;margin-bottom:0;image-rendering:pixelated}
.cv-exchange .th.tr .dot{position:relative;z-index:1;margin-bottom:6px;opacity:.75}
.cv-exchange .th.tr em.wait{position:absolute;z-index:2;left:50%;top:6px;transform:translateX(-50%);white-space:nowrap;font:600 10px "PT Read",sans-serif;font-style:normal;color:#c9ccd2;opacity:.85}
.cv-exchange .th.bd{border-radius:4px}
.cv-exchange .cs-pv{background:none;border:0;padding:0 0 0 4px}
.cv-exchange .pv.lob{background:url(assets/ui/online-210b/backgrounds/rt210b_tournament_lounge_1920x1080.webp) 12% 78%/auto 260% no-repeat;place-items:end center;border-radius:6px}
.cv-exchange .pv.lob .duo{position:absolute;z-index:1;left:50%;bottom:18%;display:flex;align-items:flex-end;gap:calc(2px*var(--k));transform:translateX(-50%) scale(var(--s,1));transform-origin:50% 100%}
.cv-exchange .pv.lob .ltr{width:calc(64px*var(--k));height:calc(64px*var(--k));margin-bottom:calc(-3px*var(--k));image-rendering:pixelated}
.cv-exchange .pv.lob .lace{width:calc(96px*var(--ka));height:calc(96px*var(--ka));margin-bottom:calc(-1*var(--ab)*var(--ka));margin-left:calc(-1*var(--al)*var(--ka) - 6px*var(--k));image-rendering:pixelated}
.cv-exchange .pv.lob .spot{position:absolute;z-index:0;left:50%;bottom:calc(18% - 18px);width:82%;height:36px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,#fff4d266,#ffe7a833 55%,#0000)}
.cv-exchange .pv.lob .spot.ring{border:3px solid #38e6ffcc;box-shadow:0 0 18px #38e6ff88;background:none}
.cv-exchange .pv.tr.wait{background:#0b0e1366}
.cv-mobile .cv-exchange .th.tr,.cv-mobile .cv-exchange .th.vc,.cv-mobile .cv-exchange .th.ac{height:70px}
.cv-mobile .cv-exchange .th.tr.lb img{width:64px;height:64px;margin-bottom:0}
.cv-mobile .cv-exchange .th.tr em.wait{font-size:8px;top:0}
/* 04 11-16 꾸미기: 로비 도트 준비 중 묶음(맨 아래 한 줄, 흐리게, 제목 한 번) */
.cv-exchange .cs-grid li.cs-sep{grid-column:1/-1;margin:10px 0 0;padding:6px 2px 0;border-top:1px solid #ffffff1a;font:700 12px "PT Read",sans-serif;color:#9a9da2;letter-spacing:.04em}
.cv-exchange .cs-grid li.wait .cs-it{opacity:.45}.cv-exchange .cs-grid li.wait .cs-it[aria-selected=true]{opacity:.8}
.cv-exchange .cs-grid li.wait .th.tr{height:84px}
.cv-mobile .cv-exchange .cs-grid li.wait .th.tr{height:60px}.cv-mobile .cv-exchange .cs-grid li.cs-sep{font-size:10px;margin-top:6px}
