/* 본편 TFT 디자인 v1 배치층 (04 UI·HUD, 2026-11-02). body.tft1(PC)·body.tft1m(휴대폰 가로)에만 건다. 켜는 법: ?ui=tft1 (끄기 ?ui=old), 기본값은 src/console-v51.js TFT1.DEFAULT.
   좌표는 GPT 113 REV2 layout_1920_dot.json·layout_844.json 설계 좌표(1920×1080 / 844×390) 그대로. 화면에는 --t1k=min(가로/1920, 세로/1080)로 줄이고, 가운데 묶음은 남는 가로 R의 절반, 오른쪽 묶음은 R만큼 밀고, 아래 묶음은 남는 세로 B만큼 내린다(16:10·21:9).
   옛 층(hud85·work-pc-hud)은 지우지 않는다. tft1이면 body.hud85를 떼고 PCHUD의 인라인 상자를 비운다(TFT1.sync). */

/* ---------- 0. 공통 틀 ---------- */
body.tft1{--t1k:1;--t1r:0px;--t1rd:0;--t1bd:0}
body.tft1 .t1-fx{position:fixed!important;left:calc(var(--t1a,0px) + (var(--hax,0) + (var(--x) - var(--hax,0))*var(--hz,1))*var(--t1k)*1px)!important;top:calc((var(--hay,0) + (var(--y) + var(--t1by,0) - var(--hay,0))*var(--hz,1))*var(--t1k)*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(calc(var(--t1k)*var(--hz,1)))!important;transform-origin:0 0!important;translate:none!important;scale:none!important;rotate:none!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;zoom:1!important}
/* 옛 층이 #id#id 셀렉터+!important로 고정한 요소는 id 셋으로 눌러 같은 믹스인을 건다 */
body.tft1 :is(#coach-btn#coach-btn#coach-btn,#cv-pouch#cv-pouch#cv-pouch,#pc-equipment-icons#pc-equipment-icons#pc-equipment-icons,#shared-shop-dock#shared-shop-dock#shared-shop-dock){position:fixed!important;left:calc(var(--t1a,0px) + (var(--hax,0) + (var(--x) - var(--hax,0))*var(--hz,1))*var(--t1k)*1px)!important;top:calc((var(--hay,0) + (var(--y) + var(--t1by,0) - var(--hay,0))*var(--hz,1))*var(--t1k)*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(calc(var(--t1k)*var(--hz,1)))!important;transform-origin:0 0!important;translate:none!important;scale:none!important;rotate:none!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;zoom:1!important}
body.tft1 .t1-c{--t1a:calc(var(--t1r)/2)}   /* 가운데 묶음 */
body.tft1 .t1-r{--t1a:var(--t1r)}            /* 오른쪽 묶음 */
body.tft1 .t1-b{--t1by:var(--t1bd)}          /* 아래 묶음 */
body.tft1 #hud{font-family:var(--font-body)}
/* 전장 칸은 1px 선만(채움 없음) — 색은 TFT1이 BoardArt.palette로 넣는다. 바깥 숲 배경은 TFT1.floor가 blur 3px + 검정 38%로 어둡게(섬은 그대로). */

/* ---------- 1. PC 위 줄 (113 REV2 layout_1920_dot: progress [632,16,656,68], hp [24,24,112,36], badges [144,24,104,36], speed [1768,16,72,44], menu [1852,16,44,44]) ---------- */
body.tft1 :is(#hud-stats,#hud-round,#hud-left,#speed-btn,#t1-menu,#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn,#coach-btn){background-image:none!important;border-image:none!important;text-shadow:none!important;filter:none!important;display:block!important;overflow:visible!important}
body.tft1 #hud-stats{--x:24;--y:24;--w:224;--h:36;background:none!important;border:0!important;box-shadow:none!important}
body.tft1 #hud-stats #hud-topstats{position:absolute;inset:0;display:block;width:auto;height:auto;background:none;border:0;padding:0;margin:0}
body.tft1 #hud-topstats .header-end{display:contents}
body.tft1 #hud-topstats .hp-resource{position:absolute!important;left:0!important;top:0!important;width:112px!important;height:36px!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;padding:0;margin:0;color:var(--c-text);font:700 14px/1 var(--font-head)}
body.tft1 #hud-topstats .hp-resource>span{display:none}
body.tft1 #hud-topstats .hp-resource small{display:inline!important;order:1!important;font:700 14px/1 var(--font-head)!important;color:var(--c-text)!important;opacity:1!important;margin:0!important;position:static!important}
body.tft1 #hud-topstats .hp-resource strong{order:2!important;font:700 14px/1 var(--font-head)!important;color:var(--c-text)!important;text-shadow:none!important;margin:0!important;position:static!important}
body.tft1 #hud-topstats .gold-resource,body.tft1 #hud-level-chip,body.tft1 #hud-xp-reward{display:none!important}
body.tft1 #journey-btn{position:absolute!important;left:120px!important;top:0!important;width:104px!important;height:36px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;padding:0!important;margin:0!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;transform:none!important;background-image:none!important;text-shadow:none!important}
body.tft1 #journey-btn .badge-empty{display:none}
body.tft1 #journey-btn::before{content:'배지'}
body.tft1 #journey-btn b{font:inherit;color:inherit}
body.tft1 #type-chart-btn{position:absolute!important;left:56px!important;top:calc(388px + var(--t1syn,0)*1px)!important;width:44px!important;height:44px!important;display:inline-grid!important;place-items:center;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;padding:0!important;margin:0!important;color:var(--c-text)!important;font:700 12px/1 var(--font-head)!important;transform:none!important;text-shadow:none!important;min-width:0!important}
/* 진행 판: 왼쪽 제목 24px + 단계 12px 노랑, 오른쪽 노드 9개 24px 원, 아래 경로 줄 12px */
body.tft1 #hud-round{--x:632;--y:16;--w:656;--h:60;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important;z-index:9}
body.tft1 #hud-round>*{position:absolute!important}
body.tft1 #hud-roundbar{left:16px!important;top:5px!important;width:auto!important;height:30px!important;display:block!important;background:none!important;border:0!important;padding:0!important;margin:0!important;line-height:30px}
body.tft1 #hud-roundbar .header-middle{display:contents}
body.tft1 #hud-roundbar .head-sep{display:none}
body.tft1 #hud-roundbar .round-text{font-size:0!important;line-height:0!important;color:transparent;letter-spacing:0;display:block}
body.tft1 #hud-roundbar #round-label{display:inline-block;font:700 24px/30px var(--font-head)!important;color:var(--c-text)!important;text-shadow:none!important;white-space:nowrap;vertical-align:top}
body.tft1 #hud-roundbar #phase-pill{position:absolute!important;left:168px!important;top:9px!important;display:inline!important;font:12px/1.4 var(--font-body)!important;color:var(--c-accent)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;text-shadow:none!important;transform:none!important;white-space:nowrap}
body.tft1 #hud-roundbar #phase-pill i{display:none}
body.tft1 #hud-progress{inset:0!important;width:auto!important;height:auto!important;background:none!important;border:0!important;padding:0!important;margin:0!important}
body.tft1 #stage-dots{position:absolute!important;left:264px!important;top:6px!important;right:auto!important;width:auto!important;height:48px!important;display:flex!important;align-items:center;gap:10px;background:none!important;border:0!important;padding:0!important;margin:0!important;transform:none!important}
body.tft1 #stage-dots::before,body.tft1 #stage-dots::after{display:none!important}
body.tft1 .stage-node{position:relative!important;flex:none!important;width:32px!important;height:32px!important;min-width:0!important;border-radius:50%!important;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;box-shadow:none!important;padding:0!important;margin:0!important;display:grid!important;place-items:center;transform:none!important;opacity:1!important;filter:none!important;color:var(--c-text)!important;overflow:hidden}
body.tft1 .stage-node.active{border:2px solid var(--c-accent)!important}
body.tft1 .stage-node.cleared{border-color:var(--c-ok)!important}
body.tft1 .stage-node i{display:grid!important;place-items:center;width:100%!important;height:100%!important;position:static!important;background:none!important;border:0!important;margin:0!important;padding:0!important;transform:none!important;filter:none!important;box-shadow:none!important}
body.tft1 .stage-node i>*{width:22px!important;height:22px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-size:12px!important}
body.tft1 .stage-node img{width:22px!important;height:22px!important;display:block;image-rendering:pixelated;filter:none!important;opacity:1!important}
body.tft1 .stage-node small,body.tft1 .stage-node em,body.tft1 .stage-node::before,body.tft1 .stage-node::after{display:none!important}
body.tft1 #route-readout{position:absolute!important;left:16px!important;top:38px!important;right:auto!important;width:auto!important;max-width:600px;height:auto!important;font:12px/1.4 var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;text-shadow:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
body.tft1 #route-readout *{font:inherit!important;color:inherit!important}
body.tft1 #route-readout .route-track,body.tft1 #hud-progress #route-choice:empty{display:none!important}
/* 위 오른쪽: 배속 단추 + 메뉴 하나. 메뉴를 열면 설정·전체 화면·월드 투어·도감이 목록으로 */
body.tft1 #speed-btn{--x:1768;--y:16;--w:72;--h:44;display:inline-flex!important;align-items:center;justify-content:center;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;z-index:30}
body.tft1 #t1-menu{--x:1852;--y:16;--w:44;--h:44;display:inline-grid!important;place-items:center;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;z-index:31;cursor:pointer}
body.tft1 #t1-menu i{width:20px;height:14px;background:repeating-linear-gradient(var(--c-text) 0 2px,transparent 2px 6px)}
body.tft1 :is(#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn){display:none!important}
body.tft1.t1-menu-open :is(#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn){--x:1700;--w:196;--h:44;display:inline-flex!important;align-items:center;justify-content:flex-start;gap:12px;padding:0 12px!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;z-index:31;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
body.tft1.t1-menu-open #hud-settings{--y:68}body.tft1.t1-menu-open #hud-fullscreen{--y:116}body.tft1.t1-menu-open #world-tour-btn{--y:164}body.tft1.t1-menu-open #field-guide-btn{--y:212}
body.tft1.t1-menu-open :is(#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn) svg{width:20px!important;height:20px!important;flex:none;position:static!important;margin:0!important}
body.tft1.t1-menu-open #hud-settings::after{content:'설정'}body.tft1.t1-menu-open #hud-fullscreen::after{content:'전체 화면'}body.tft1.t1-menu-open #world-tour-btn::after{content:'월드 투어'}body.tft1.t1-menu-open #field-guide-btn::after{content:'가이드'}
body.tft1 :is(#speed-btn,#t1-menu,#hud-settings,#hud-fullscreen,#world-tour-btn,#field-guide-btn,#coach-btn,#type-chart-btn,#journey-btn):hover{border-color:var(--c-accent)!important}

/* ---------- 2. PC 왼쪽 기둥 (region_weather [24,88,224,50], synergies [24,200,146,184] 줄 간격 40, ai_advice [24,412,44,44], type_chart [80,412,44,44]) ---------- */
body.tft1 #hud-left{--x:24;--y:88;--w:224;--h:380;background:none!important;border:0!important;box-shadow:none!important;z-index:8}
body.tft1 #hud-left>*{position:absolute!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important}
body.tft1 #stage-portrait{display:none!important}
body.tft1 #hud-location{left:0!important;top:0!important;width:224px!important;height:auto!important}
body.tft1 #map-name{display:block;font:700 24px/1.2 var(--font-head)!important;color:var(--c-text)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;text-shadow:none!important;white-space:nowrap;max-width:none!important;overflow:visible!important}
body.tft1 #hud-weather{left:0!important;top:34px!important;width:224px!important;height:auto!important;display:flex!important;align-items:center;gap:6px;font:12px/1.4 var(--font-body)!important;color:var(--c-dim)!important}
body.tft1 #hud-weather .weather-tag{display:inline-flex;align-items:center;gap:6px;background:none!important;border:0!important;padding:0!important;margin:0!important;font:inherit!important;color:inherit!important;box-shadow:none!important}
body.tft1 #hud-weather .hud-wx-ico{width:14px!important;height:14px!important}
body.tft1 #hud-synergies{left:0!important;top:84px!important;width:224px!important;height:auto!important;max-height:none!important;overflow:visible!important}
body.tft1 #hud-synergies::before{content:'활성 시너지';display:block;font:12px/1.4 var(--font-body);color:var(--c-dim);margin-bottom:12px}
body.tft1 #synergy-list,body.tft1 #synergy-list :is(.synergy-active-list,.synergy-inactive-list){display:flex!important;flex-direction:column;gap:16px;width:146px!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;background:none!important;border:0!important;grid-template-columns:none!important}
body.tft1 #synergy-list :is(.synergy-active-list,.synergy-inactive-list):empty{display:none!important}
body.tft1 .synergy-entry{position:relative!important;width:146px!important;height:24px!important;min-height:0!important;display:flex!important;align-items:center;gap:8px;padding:0!important;margin:0!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;color:var(--c-text)!important;text-shadow:none!important;overflow:visible!important}
body.tft1 .synergy-entry>.type-symbol{width:24px!important;height:24px!important;flex:none;border-radius:50%!important;border:1px solid var(--c-line)!important;margin:0!important;box-shadow:none!important}
body.tft1 .synergy-entry .syn-data{flex:1;min-width:0;display:block!important}
body.tft1 .synergy-entry .syn-top{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;width:100%!important;gap:8px}
body.tft1 .synergy-entry .syn-top strong{font:500 14px/1 var(--font-body)!important;color:var(--c-text)!important;text-shadow:none!important}
body.tft1 .synergy-entry .syn-top b{font:700 14px/1 var(--font-head)!important;color:var(--c-text)!important;background:none!important;border:0!important;padding:0!important;text-shadow:none!important}
body.tft1 .synergy-entry :is(.syn-near,.syn-effect,.syn-status),body.tft1 .synergy-entry::before,body.tft1 .synergy-entry::after{display:none!important}
body.tft1 #coach-btn#coach-btn#coach-btn{--x:24;--y:calc(412 + var(--t1syn,0));--w:44;--h:44;display:inline-grid!important;place-items:center;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:transparent!important;font-size:0!important;line-height:0!important;white-space:nowrap!important;z-index:30;text-shadow:none!important}
body.tft1 #coach-btn#coach-btn#coach-btn::after{content:'AI';font:700 12px/1 var(--font-head);color:var(--c-text);display:block;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center}
body.tft1 #coach-btn::before{display:none!important}
body.tft1 #arena-toast{background:var(--c-panel)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:500 14px/1.4 var(--font-body)!important;text-shadow:none!important;padding:6px 12px!important;backdrop-filter:none!important}

/* ---------- 3. PC 아래 묶음 (bench [508,824,872,64] 9칸 88×64 간격 10, deployment [1488,800,136,28], battle [1400,840,224,48], shop [508,916,1116,148], level_xp [520,928,164,25], buy_xp [520,964,164,40], refresh [520,1012,164,40], cards [704+184i,948,176,108], gold [1368,922,210,24], lock [1584,920,32,32], bag [296,932,196,124], pouch [296,888,196,28]) ----------
   #shared-shop-dock을 [288,800,1340,264] 투명 틀로 두고 안을 절대 좌표로 놓는다. 세로가 남으면(B) 틀째 내려간다(.t1-b). 옛 층이 #id#id로 고정한 자식은 id 셋으로 누른다. */
body.tft1 #shared-shop-dock{--x:288;--y:800;--w:1340;--h:264;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;z-index:20!important;display:block!important;filter:none!important}
body.tft1 #shared-shop-dock::before,body.tft1 #shared-shop-dock::after{display:none!important}
body.tft1 #shared-shop-dock :is(#dock-bench-row#dock-bench-row,#bench#bench,#dock-start#dock-start,#hud-deploy-count#hud-deploy-count,#hud-shop-controls#hud-shop-controls,#hud-level#hud-level,#xp-btn#xp-btn,#reroll-btn#reroll-btn,#shop-cards#shop-cards,#dock-wallet#dock-wallet,#dock-toolbar#dock-toolbar,#lock-btn#lock-btn,#battle-btn#battle-btn),body.tft1 #shared-shop-dock .shop-area{position:absolute!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;translate:none!important;zoom:1!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;background-image:none!important;border-image:none!important;text-shadow:none!important;filter:none!important}
/* 벤치 9칸 */
body.tft1 #shared-shop-dock #dock-bench-row#dock-bench-row{left:220px!important;top:24px!important;width:872px!important;height:64px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.tft1 #shared-shop-dock #bench#bench{left:0!important;top:0!important;width:872px!important;height:64px!important;display:grid!important;grid-template-columns:repeat(9,88px)!important;gap:10px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;--band-img:none}
body.tft1 #shared-shop-dock #bench#bench::before,body.tft1 #bench::after{display:none!important}
body.tft1 #shared-shop-dock #bench#bench .bench-slot{position:relative!important;width:88px!important;height:64px!important;min-width:0!important;background:var(--c-slot)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;display:grid!important;place-items:center;overflow:visible!important;filter:none!important}
body.tft1 #shared-shop-dock #bench#bench .bench-slot::before,body.tft1 #shared-shop-dock #bench#bench .bench-slot::after{display:none!important}
body.tft1 #shared-shop-dock #bench#bench .bench-slot.selected{border-color:var(--c-accent)!important}
body.tft1 #shared-shop-dock #bench#bench .bench-slot .bench-num{position:absolute!important;left:8px!important;top:4px!important;font:700 12px/1 var(--font-head)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;text-shadow:none!important;opacity:1!important}
body.tft1 #shared-shop-dock #bench#bench .bench-slot img{image-rendering:pixelated;max-height:56px}
/* 배치 칩 + 전투! */
body.tft1 #shared-shop-dock #dock-start#dock-start{left:892px!important;top:16px!important;width:224px!important;height:48px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count{left:88px!important;top:-40px!important;width:136px!important;height:28px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:4px;padding:0!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:12px/1 var(--font-body)!important;white-space:nowrap;overflow:visible!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count[data-ready=true]{border-color:var(--c-ok)!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count #limit-text{font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important;text-shadow:none!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count::after{content:'팀 배치'}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count #hud-deploy-slots,body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count::before{display:none!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn{left:0!important;top:0!important;width:224px!important;height:48px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:0!important;background:var(--c-action)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 20px/1 var(--font-head)!important;text-shadow:none!important;overflow:visible!important;opacity:1!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn::before,body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn::after,body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn .deploy-triangle{display:none!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn>span{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;position:static!important;text-shadow:none!important;opacity:1!important;transform:none!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn small{display:inline-grid!important;place-items:center;position:static!important;width:auto!important;min-width:22px;height:22px;padding:0 4px;background:var(--c-key)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;opacity:1!important;margin:0!important;transform:none!important;text-shadow:none!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn:hover{border-color:var(--c-accent)!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn:disabled,body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn[aria-disabled=true]{opacity:.4!important}
/* 상점 띠 */
body.tft1 #shared-shop-dock .shop-area{left:220px!important;top:116px!important;width:1116px!important;height:148px!important;background:var(--c-panel-shop)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1 #shared-shop-dock .shop-area::before,body.tft1 #shared-shop-dock .shop-area::after{display:none!important}
body.tft1 #shared-shop-dock #hud-shop-controls#hud-shop-controls{left:232px!important;top:128px!important;z-index:2;width:164px!important;height:136px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1 #hud-shop-controls .shop-sidebar{display:contents!important}
body.tft1 #shared-shop-dock #hud-level#hud-level{left:0!important;top:0!important;width:164px!important;height:25px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;display:block!important;overflow:visible!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title{display:flex!important;justify-content:space-between;align-items:baseline;width:164px!important;height:16px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #level-label{font:700 14px/1 var(--font-head)!important;color:var(--c-text)!important;text-shadow:none!important;background:none!important;padding:0!important;margin:0!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #xp-label{font:12px/1 var(--font-body)!important;color:var(--c-dim)!important;text-shadow:none!important;background:none!important;padding:0!important;margin:0!important;max-width:none!important;overflow:visible!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track{position:absolute!important;left:0!important;top:21px!important;width:164px!important;height:4px!important;background:var(--c-slot)!important;border:0!important;border-radius:2px!important;padding:0!important;margin:0!important;overflow:hidden!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .xp-progress{position:absolute!important;inset:0!important;height:4px!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #xp-bar{position:absolute!important;left:0!important;top:0!important;height:4px!important;background:var(--c-accent)!important;border:0!important;border-radius:2px!important;box-shadow:none!important;background-image:none!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-xp-segments,body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track>:not(.xp-progress),body.tft1 #buy-xp-preview,body.tft1 #level-odds{display:none!important}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){left:0!important;width:164px!important;height:40px!important;display:flex!important;align-items:center;gap:8px;padding:0 10px!important;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;text-shadow:none!important;white-space:nowrap;overflow:visible!important;opacity:1!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn{top:36px!important}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn{top:84px!important}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn) img,body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn) .hud-coin{display:none!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn::before{content:'구매';font:inherit}
body.tft1 #shared-shop-dock #xp-btn#xp-btn>span,body.tft1 #shared-shop-dock #reroll-btn#reroll-btn>b{margin-left:auto!important;font:12px/1 var(--font-head)!important;color:var(--c-dim)!important;background:none!important;padding:0!important;border:0!important;text-shadow:none!important;position:static!important;display:inline!important;width:auto!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn>span::after,body.tft1 #shared-shop-dock #reroll-btn#reroll-btn>b::after{content:' G'}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn>span{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;position:static!important;display:inline!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn::after{content:'F'}body.tft1 #shared-shop-dock #reroll-btn#reroll-btn::after{content:'R'}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)::after{display:inline-grid;place-items:center;width:22px;height:22px;background:var(--c-key);border:1px solid var(--c-line);border-radius:var(--r-s);font:700 12px/1 var(--font-head);color:var(--c-text);flex:none}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn):hover{border-color:var(--c-accent)!important}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn):disabled,body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)[data-state=locked],body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn)[data-state=poor]{opacity:.4!important}
/* 상점 카드 5장 176×108: 왼쪽 위 타입 원 2개, 오른쪽 위 코스트, 도트 48×50, 이름 14px, 역할 12px, 아래 합성 진행 12px, 오른쪽 아래 i 24px */
body.tft1 #shared-shop-dock #shop-cards#shop-cards{left:196px!important;top:32px!important;width:920px!important;height:108px!important;display:flex!important;gap:8px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;grid-template-columns:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card{position:relative!important;flex:none!important;width:176px!important;height:108px!important;min-width:0!important;min-height:0!important;background:var(--c-card)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;overflow:hidden!important;color:var(--c-text)!important;filter:none!important;display:block!important;opacity:1!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card::before,body.tft1 #shared-shop-dock #shop-cards .shop-card::after,body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-price,body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-stars,body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-top::before,body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-top::after{display:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card:hover,body.tft1 #shared-shop-dock #shop-cards .shop-card:focus-visible{border-color:var(--c-accent)!important;outline:0!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card.locked{opacity:.5!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-top{position:static!important;display:contents!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .poke-img{position:absolute!important;left:16px!important;top:33px!important;width:48px!important;height:50px!important;object-fit:contain;image-rendering:pixelated;margin:0!important;transform:none!important;filter:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-cost{position:absolute!important;right:12px!important;top:8px!important;left:auto!important;width:auto!important;height:auto!important;font:700 12px/1 var(--font-head)!important;color:var(--c-accent)!important;background:none!important;background-image:none!important;border:0!important;padding:0!important;margin:0!important;text-shadow:none!important;box-shadow:none!important;transform:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-cost::after{content:' G'}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-name{position:absolute!important;left:76px!important;top:34px!important;width:64px!important;font:700 14px/1.2 var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important;text-shadow:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-name .shop-done{display:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta{position:static!important;display:contents!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role){position:absolute!important;top:8px!important;width:18px!important;height:18px!important;font-size:0!important;line-height:0!important;background:none!important;border:0!important;padding:0!important;margin:0!important;display:block!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role):nth-of-type(1){left:8px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role):nth-of-type(2){left:30px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol{width:18px!important;height:18px!important;border-radius:50%!important;border:1px solid var(--c-line)!important;display:grid!important;place-items:center;margin:0!important;box-shadow:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol img{width:12px!important;height:12px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-role{position:absolute!important;left:76px!important;top:58px!important;font:12px/1.4 var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;text-shadow:none!important;width:auto!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .merge-hint{position:absolute!important;left:12px!important;top:88px!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;font:12px/1 var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;text-shadow:none!important;box-shadow:none!important;transform:none!important;white-space:nowrap;text-align:left!important;display:block!important;opacity:1!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-info{position:absolute!important;left:144px!important;top:56px!important;right:auto!important;bottom:auto!important;width:24px!important;height:24px!important;display:grid!important;place-items:center;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:50%!important;box-shadow:none!important;padding:0!important;margin:0!important;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;transform:none!important;text-shadow:none!important;opacity:1!important;z-index:3}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-info .shop-info-glyph{font:inherit!important;color:inherit!important;background:none!important;width:auto!important;height:auto!important;border:0!important;padding:0!important;margin:0!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-info:hover{border-color:var(--c-accent)!important}
body.tft1 #hud #shared-shop-dock #shop-cards .shop-card .shop-advice-badge{position:absolute!important;left:76px!important;top:8px!important;right:auto!important;width:auto!important;height:18px!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;padding:0 6px!important;font:700 12px/18px var(--font-head)!important;color:var(--c-bg)!important;background:var(--c-accent)!important;background-image:none!important;border:0!important;border-radius:var(--r-s)!important;box-shadow:none!important;margin:0!important;transform:none!important;text-shadow:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold .shop-name{left:12px!important;top:44px!important;width:150px!important;color:var(--c-dim)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold .shop-meta{display:none!important}
/* 골드·이자·잠금 */
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{left:1080px!important;top:122px!important;width:210px!important;height:24px!important;display:flex!important;flex-direction:row-reverse;justify-content:flex-start;align-items:center;gap:12px;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{font:700 14px/1 var(--font-head)!important;color:var(--c-accent)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;text-shadow:none!important;display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;width:auto!important;height:auto!important;position:static!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{content:'골드';font:12px/1 var(--font-body);color:var(--c-dim)}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold *{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;display:inline!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-coin,body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold img,body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet .interest-coins,body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet img{display:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side{font:12px/1 var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;position:static!important;width:auto!important;height:auto!important;display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;transform:none!important;text-shadow:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side *{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;border:0!important;position:static!important;display:inline!important;width:auto!important;height:auto!important}
body.tft1 #shared-shop-dock #dock-toolbar#dock-toolbar{left:1296px!important;top:120px!important;width:32px!important;height:32px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1 #dock-toolbar .work-bag-button{display:none!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn{position:absolute!important;left:0!important;top:0!important;transform:none!important;translate:none!important;scale:none!important;margin:0!important;width:32px!important;height:32px!important;display:grid!important;place-items:center;padding:0!important;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;opacity:1!important;font-size:0!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn #lock-icon{display:grid!important;place-items:center;width:16px!important;height:16px!important;position:static!important;background:none!important;margin:0!important;padding:0!important;transform:none!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn svg{width:16px!important;height:16px!important;display:block}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn[aria-pressed=true]{border-color:var(--c-accent)!important;color:var(--c-accent)!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn::before,body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn::after,body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn span:not(#lock-icon){display:none!important}
/* 가방 4×2 + 주머니(접힌 줄) */
body.tft1 #pc-equipment-icons{--x:296;--y:932;--w:196;--h:124;display:block!important;background:var(--c-panel)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important;overflow:visible!important;z-index:21!important;filter:none!important}
body.tft1 #pc-equipment-icons::before,body.tft1 #pc-equipment-icons::after{display:none!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons .pc-equipment-heading{position:absolute!important;left:12px!important;top:6px!important;right:8px!important;height:20px!important;display:flex!important;align-items:center;justify-content:space-between;background:none!important;border:0!important;padding:0!important;margin:0!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-bag-count{position:static!important;width:auto!important;height:20px!important;display:inline-flex!important;align-items:center;gap:4px;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font:12px/1 var(--font-body)!important;color:var(--c-dim)!important;text-shadow:none!important;transform:none!important;cursor:pointer}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-bag-count img{display:none!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-bag-count b::before{content:'가방 ';font:12px/1 var(--font-body);color:var(--c-dim)}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-bag-count b{font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book{position:static!important;width:20px!important;height:20px!important;min-width:0!important;display:grid!important;place-items:center;padding:0!important;margin:0!important;background:var(--c-panel-solid)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;transform:none!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book img{width:14px!important;height:14px!important;display:block;margin:0!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-owned-items{position:absolute!important;left:12px!important;top:30px!important;width:172px!important;height:84px!important;display:grid!important;grid-template-columns:repeat(4,40px)!important;grid-auto-rows:40px!important;gap:4px!important;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:visible!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-owned-items::before{content:'';position:absolute;left:0;top:0;width:40px;height:40px;background:var(--c-slot);border:1px solid var(--c-line);border-radius:var(--r-s);box-sizing:border-box;box-shadow:44px 0 0 0 var(--c-slot),88px 0 0 0 var(--c-slot),132px 0 0 0 var(--c-slot),0 44px 0 0 var(--c-slot),44px 44px 0 0 var(--c-slot),88px 44px 0 0 var(--c-slot),132px 44px 0 0 var(--c-slot);pointer-events:none;z-index:0} /* 빈 칸 8개 */
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-owned-items .pc-owned-item{position:relative;z-index:1;width:40px!important;height:40px!important;min-width:0!important;display:grid!important;place-items:center;background:var(--c-slot)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-owned-items .pc-owned-item[aria-pressed=true]{border-color:var(--c-accent)!important}
body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-owned-items .pc-owned-item img{width:28px!important;height:28px!important;image-rendering:pixelated}
body.tft1 #cv-pouch{--x:296;--y:888;--w:196;--h:28;display:flex!important;align-items:center;background:var(--c-panel)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;overflow:visible!important;z-index:21!important;color:var(--c-text)!important;filter:none!important}
body.tft1 #cv-pouch::before,body.tft1 #cv-pouch::after{display:none!important}
body.tft1 #cv-pouch#cv-pouch#cv-pouch>header{display:inline-flex!important;align-items:center;gap:6px;margin:0 0 0 12px!important;padding:0!important;background:none!important;border:0!important;font:12px/1 var(--font-body)!important;color:var(--c-dim)!important;width:auto!important;height:auto!important;position:static!important;text-shadow:none!important}
body.tft1 #cv-pouch#cv-pouch#cv-pouch>header b{font:12px/1 var(--font-body)!important;color:var(--c-dim)!important}
body.tft1 #cv-pouch#cv-pouch#cv-pouch>header span{font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important}
body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-grid{display:flex!important;align-items:center!important;align-self:center!important;gap:4px!important;margin:0 8px 0 auto!important;min-height:0!important;max-height:none!important;padding:0!important;background:none!important;border:0!important;width:auto!important;height:auto!important;position:static!important;grid-template-columns:none!important}
body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-grid .cv-pouch-slot{position:relative!important;width:20px!important;height:20px!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;flex:none!important;min-width:0!important;display:grid!important;place-items:center;background:var(--c-slot)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:4px!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;overflow:hidden}
body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-slot img{width:16px!important;height:16px!important;image-rendering:pixelated}
body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-slot::before,body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-slot::after{display:none!important}

body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{flex-direction:row-reverse!important;flex-wrap:nowrap!important;align-items:center!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet :is(img,canvas,.interest-coins,.hud-coin,svg){display:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{display:inline-flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;height:auto!important;min-width:0!important;line-height:1!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side{flex-direction:row!important;width:auto!important;height:auto!important;min-width:0!important;line-height:1!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side>b{display:inline!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #dock-xp-remaining,body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet :is(.pika-portrait,.side-gold-rise,.gold-rise){display:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet .interest-badge::before{content:'이자 ';font:12px/1 var(--font-body);color:var(--c-dim)}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet .hud-win-streak{display:inline!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet .hud-win-streak:not(:empty)::before{content:' · '}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side :is(.pika-portrait,.side-gold-rise,.interest-coins){display:none!important}
/* 재개 보정(관리자 2026-11-02): 노드 원 32px·아이콘 22px로 대비, 안내 칩, 배치 칩 136×28(옛 scale 1.3 해제), 골드 줄 간격, 벤치 뒤 얇은 어두운 띠 */
body.tft1 .stage-node:not(.active):not(.cleared){background:var(--c-node)!important;border-color:var(--c-node-line)!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count{scale:none!important;zoom:1!important;font-size:12px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{gap:16px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{gap:0!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{margin-right:6px}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak[data-streak="0"]{display:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak:not([data-streak="0"])::before{content:' · 연승 ';font:12px/1 var(--font-body);color:var(--c-dim)}
body.tft1 #shared-shop-dock #dock-bench-row#dock-bench-row::before{content:''!important;display:block!important;position:absolute!important;left:-10px!important;top:-8px!important;width:892px!important;height:80px!important;background:var(--c-band)!important;background-image:none!important;border:0!important;border-radius:var(--r-m)!important;box-shadow:none!important;pointer-events:none!important;z-index:-1!important;transform:none!important}

/* ---------- 3b. 움직이는 단추(사용자 요청 2026-11-03, 제안값): 구매 XP 테두리 빛·전투! 맥박·주먹 ----------
   transform·opacity만 움직인다(배치·그리기 비용 없음). 끄는 조건: prefers-reduced-motion, 설정 '효과 줄이기'(game.reduceEffects), 배터리 20% 이하·충전 안 함 → body.t1-calm(TFT1.calm). 탭이 숨으면 브라우저가 멈춘다.
   빛은 설계 규칙 '빛 번짐 없음'의 예외(사용자 요청)로 이 두 단추에만 쓴다. */
:is(body.tft1,body.tft1m) .t1-orbit{position:absolute;inset:-1px;border-radius:inherit;padding:2px;overflow:hidden;pointer-events:none;z-index:3;display:none;-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)}
:is(body.tft1,body.tft1m) #xp-btn[data-state=ready] .t1-orbit{display:block}
:is(body.tft1,body.tft1m) .t1-orbit b{position:absolute;left:50%;top:50%;width:320px;height:320px;margin:-160px 0 0 -160px;background:conic-gradient(from 0deg,transparent 0deg 292deg,var(--c-glow) 338deg,transparent 360deg);will-change:transform;animation:t1-orbit 2.4s linear infinite}
@keyframes t1-orbit{to{transform:rotate(360deg)}}
:is(body.tft1,body.tft1m) .t1-pulse{position:absolute;inset:-3px;border-radius:calc(var(--r-s) + 3px);pointer-events:none;z-index:0;box-shadow:0 0 0 2px var(--c-pulse),0 0 14px 2px var(--c-pulse);opacity:.2;will-change:opacity;animation:t1-pulse 1.6s ease-in-out infinite}
@keyframes t1-pulse{0%,100%{opacity:.15}50%{opacity:.85}}
:is(body.tft1,body.tft1m) #battle-btn:is(:disabled,[data-bs=disabled],[aria-disabled=true]) .t1-pulse{display:none}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn>.bs-fist,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn>.bs-fist{display:block!important;flex:none!important;width:28px!important;height:28px!important;position:static!important;margin:0!important;transform-origin:30% 60%;will-change:transform;animation:t1-punch 1.2s ease-out infinite}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn>.bs-fist{width:24px!important;height:24px!important}
@keyframes t1-punch{0%,52%,100%{transform:translateX(0) rotate(0) scale(1)}66%{transform:translateX(6px) rotate(-8deg) scale(1.1)}78%{transform:translateX(-1px) rotate(0) scale(.98)}}
:is(body.tft1,body.tft1m) #battle-btn:is(:disabled,[data-bs=disabled]) .bs-fist{animation:none!important}
body.t1-calm .t1-orbit b,body.t1-calm .t1-pulse,body.t1-calm #battle-btn .bs-fist{animation:none!important}
body.t1-calm .t1-orbit{display:none!important}
body.t1-calm .t1-pulse{opacity:.4!important}
@media (prefers-reduced-motion:reduce){.t1-orbit b,.t1-pulse,#battle-btn .bs-fist{animation:none!important}.t1-orbit{display:none!important}.t1-pulse{opacity:.4!important}}

/* ---------- 3c. 상점 띠 메인 기준 = 롤 TFT 상점 띠(사용자 2026-11-03, 참고 13) — 3절 아래 묶음 좌표를 덮는다 ----------
   큰 테두리 하나 [288,904,1344,164] 안에: 왼쪽 가방 4×2·주머니 / 위 줄 Lv·XP 막대 · 코스트별 확률(LevelOdds.distribution, 읽기만) · 골드·이자·연승 · 잠금(L) / 왼쪽 세로 구매 XP(F)·새로고침(R) 큰 단추 / 오른쪽 카드 5장(특성 2줄 + 코스트색 이름 띠 + 코스트 숫자).
   벤치 [508,824]·전투!·배치 칩은 띠 위 그대로. 코스트색은 tokens-v1.css --cost-1~5(제안값). */
body.tft1 #shared-shop-dock .shop-area{left:0!important;top:104px!important;width:1344px!important;height:164px!important;background:var(--c-panel-shop)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important}
body.tft1 #shared-shop-dock .shop-area::after{content:''!important;display:block!important;position:absolute!important;left:212px!important;top:12px!important;width:1px!important;height:140px!important;background:var(--c-line)!important;border:0!important;pointer-events:none!important} /* 가방 | 상점 구분 선 */
body.tft1 #pc-equipment-icons{--y:912;--h:100;background:none!important;border:0!important;box-shadow:none!important}
body.tft1 #cv-pouch{--y:1028;background:var(--c-slot)!important;box-shadow:none!important}
body.tft1 #shared-shop-dock #hud-shop-controls#hud-shop-controls{left:220px!important;top:112px!important;width:170px!important;height:148px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level{width:170px!important;height:24px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title{width:170px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track{width:170px!important;top:20px!important}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){width:170px!important;height:54px!important;padding:0 12px!important;font-size:16px!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn{top:34px!important}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn{top:94px!important}
/* 위 줄 가운데: 코스트별 확률 */
body.tft1 #t1-odds{position:absolute;left:412px;top:8px;height:24px;display:flex;align-items:center;gap:14px;font:700 12px/1 var(--font-head);color:var(--c-text);white-space:nowrap;pointer-events:none;z-index:2}
body.tft1 #t1-odds::before{content:'확률';font:12px/1 var(--font-body);color:var(--c-dim);margin-right:-4px}
body.tft1 #t1-odds span{display:inline-flex;align-items:center;gap:5px}
body.tft1 #t1-odds i{width:8px;height:8px;border-radius:50%;background:var(--c)}
body.tft1 #t1-odds span[data-zero]{color:var(--c-dim)}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{left:892px!important;top:112px!important;width:300px!important;justify-content:flex-start!important}
body.tft1 #shared-shop-dock #dock-toolbar#dock-toolbar{left:1308px!important;top:108px!important;width:28px!important;height:28px!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn{width:28px!important;height:28px!important}
/* 카드 5장 180×116 */
body.tft1 #shared-shop-dock #shop-cards#shop-cards{left:400px!important;top:40px!important;width:932px!important;height:116px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card{width:180px!important;height:116px!important;--cost:var(--cost-1)}
body.tft1 #shared-shop-dock #shop-cards .shop-card[data-rarity="2"]{--cost:var(--cost-2)}
body.tft1 #shared-shop-dock #shop-cards .shop-card[data-rarity="3"]{--cost:var(--cost-3)}
body.tft1 #shared-shop-dock #shop-cards .shop-card[data-rarity="4"]{--cost:var(--cost-4)}
body.tft1 #shared-shop-dock #shop-cards .shop-card:is([data-rarity="5"],[data-rarity="8"],[data-rarity="12"]){--cost:var(--cost-5)}
body.tft1 #shared-shop-dock #shop-cards .shop-card .poke-img{left:108px!important;top:8px!important;width:64px!important;height:68px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta{position:absolute!important;left:8px!important;top:8px!important;width:100px!important;height:auto!important;max-height:none!important;overflow:visible!important;font-size:12px!important;display:grid!important;grid-template-columns:auto auto!important;justify-content:start!important;gap:4px 8px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role){position:static!important;width:auto!important;height:16px!important;display:inline-flex!important;align-items:center!important;gap:3px!important;font:12px/16px var(--font-body)!important;color:var(--c-text)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol{width:16px!important;height:16px!important;flex:none}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-role{position:static!important;grid-column:1/-1!important;font:12px/16px var(--font-body)!important;color:var(--c-dim)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-role::before{content:'◆ ';color:var(--cost)}
body.tft1 #shared-shop-dock #shop-cards .shop-card .merge-hint{left:8px!important;top:60px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-name{left:0!important;top:86px!important;width:180px!important;height:30px!important;padding:0 40px 0 8px!important;box-sizing:border-box!important;line-height:30px!important;background:var(--cost)!important;color:var(--c-text)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-cost{left:auto!important;right:8px!important;top:86px!important;height:30px!important;line-height:30px!important;color:var(--c-text)!important;font:700 14px/30px var(--font-head)!important;z-index:2}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-info{left:152px!important;top:4px!important;width:24px!important;height:24px!important;min-width:0!important;min-height:0!important;max-width:24px!important;max-height:24px!important}
body.tft1 #hud #shared-shop-dock #shop-cards .shop-card .shop-advice-badge{left:112px!important;top:66px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card:hover{border-color:var(--c-accent)!important}
/* 왼쪽 시너지: 육각 배지(활성 = 시너지 색, 비활성 = 회색) + 이름 + 단계 수 */
body.tft1 #hud-left #synergy-list .synergy-entry>:first-child{background-image:none!important;box-shadow:none!important;opacity:1!important;border:0!important;border-radius:0!important;width:28px!important;height:28px!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:var(--badge-color,var(--c-node))!important;display:grid!important;place-items:center}
body.tft1 #hud-left #synergy-list .synergy-entry>:first-child :is(img,svg){width:18px!important;height:18px!important;filter:none!important}
body.tft1 #hud-left #synergy-list .synergy-entry.inactive>:first-child{background:var(--c-badge-off)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.inactive>:first-child :is(img,svg){filter:grayscale(1) brightness(1.3)!important;opacity:.7}
body.tft1 #hud-left #synergy-list .synergy-entry.inactive .syn-top :is(strong,b){color:var(--c-dim)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.active .syn-top b{color:var(--c-accent)!important}
body.tft1 #hud-left #synergy-list .synergy-entry{height:28px!important}

/* ---------- 3d. 입체감(사용자 2026-11-03 "깔끔해졌지만 마음에 들진 않음", 참고 19 Kanto Tactics 준비 화면 + 추가 참고) ----------
   구조(한 몸 상점 띠·가장자리 UI)는 그대로 두고 겉모습만 바꾼다. 평평한 단색 대신 위쪽 밝은 테·아래 진한 그림자(눌리는 단추)·판 위쪽 경사를 쓴다.
   색·그라데이션은 tokens-v1.css의 --g-*·--shadow-*에서만 정한다. 새 그림 없이 CSS만 쓰고, 판 칸 채움은 BoardArt.palette 훅에서 한다. */
/* 띠: 불투명(뒤 뿌리 안 비침), 높이 176 [288,896,1344,176] */
body.tft1 #shared-shop-dock .shop-area{top:96px!important;height:176px!important;background:var(--g-band)!important;border-top-color:var(--c-hi)!important;box-shadow:var(--shadow-panel)!important}
body.tft1 #shared-shop-dock .shop-area::after{top:14px!important;height:148px!important}
body.tft1 #pc-equipment-icons{--y:906}
body.tft1 #cv-pouch{--y:1032}
/* 위 줄 왼쪽: LEVEL 육각 배지 + 숫자 크게 */
body.tft1 #shared-shop-dock #hud-shop-controls#hud-shop-controls{top:104px!important;height:164px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level{height:36px!important;padding-left:44px!important;box-sizing:border-box!important}
body.tft1 #shared-shop-dock #hud-level#hud-level::before{content:attr(data-lv);position:absolute;left:0;top:0;width:36px;height:36px;display:grid;place-items:center;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:var(--g-lv);color:var(--c-text);font:700 20px/1 var(--font-head)}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title{width:126px!important;height:18px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #level-label{font-size:0!important;background:none!important;padding:0!important;border:0!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title::before,body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title::after,body.tft1 #shared-shop-dock #hud-level#hud-level #level-label::after{display:none!important;content:none!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #level-label::before{content:'LEVEL'!important;font:700 12px/1 var(--font-head)!important;color:var(--c-dim)!important;background:none!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;display:inline!important;position:static!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track{left:44px!important;width:126px!important;top:22px!important;height:6px!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .xp-progress,body.tft1 #shared-shop-dock #hud-level#hud-level #xp-bar{height:6px!important}
/* 구매 XP: 밝은 파랑 + 사탕 아이콘 + 남은 XP, 새로고침: 몬스터볼 아이콘 */
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn){height:56px!important;border-top-color:var(--c-hi)!important;box-shadow:var(--shadow-btn)!important;display:grid!important;grid-template-columns:28px 1fr auto!important;grid-template-rows:1fr 1fr!important;column-gap:8px!important;align-items:center!important;padding:6px 10px!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn{font-size:0!important;top:42px!important;background:var(--g-xp)!important;border-color:var(--c-xp-line)!important}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn{top:104px!important;background:var(--g-btn)!important}
body.tft1 #shared-shop-dock :is(#xp-btn#xp-btn,#reroll-btn#reroll-btn):active{transform:translateY(2px)!important;box-shadow:var(--shadow-btn-down)!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn img.hud-candy{display:block!important;grid-column:1;grid-row:1/3;width:26px!important;height:26px!important;image-rendering:pixelated;position:static!important;margin:0!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn::before{grid-column:2;grid-row:1;content:'구매 XP'!important;font:700 16px/1 var(--font-head)!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn>span:not(.t1-xp-left){grid-column:3;grid-row:2;justify-self:end;color:var(--c-text)!important;opacity:.85}
body.tft1 #shared-shop-dock #xp-btn#xp-btn .t1-xp-left{grid-column:2;grid-row:2;justify-self:start;font:600 12px/1 var(--font-body);font-style:normal;color:var(--c-text);white-space:nowrap}
body.tft1 #shared-shop-dock #xp-btn#xp-btn::after,body.tft1 #shared-shop-dock #reroll-btn#reroll-btn::after{grid-column:3;grid-row:1}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn::before{content:'';grid-column:1;grid-row:1/3;width:24px;height:24px;border-radius:50%;background:var(--g-ball);box-shadow:inset 0 0 0 2px var(--c-ball-edge)}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn>span{grid-column:2;grid-row:1;font:700 16px/1 var(--font-head)!important}
body.tft1 #shared-shop-dock #reroll-btn#reroll-btn>b{grid-column:3;grid-row:2;justify-self:end;color:var(--c-text)!important;opacity:.85}
/* 살 수 있을 때 구매 XP·전투!에 은은한 사선 줄무늬(추가 참고) */
body.tft1 #shared-shop-dock #xp-btn#xp-btn[data-state=ready],body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn:not(:disabled){background-image:var(--stripe),var(--g-fill)!important}
body.tft1 #shared-shop-dock #xp-btn#xp-btn[data-state=ready]{--g-fill:var(--g-xp)}
body.tft1 #shared-shop-dock #xp-btn#xp-btn:not([data-state=ready]){filter:saturate(.35) brightness(.85)!important}
/* 골드: 금테 어두운 칩, 띠 위 줄 가운데 크게 */
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{left:880px!important;top:102px!important;height:32px!important;gap:14px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{height:32px!important;padding:0 16px!important;background:var(--g-gold-chip)!important;border:2px solid var(--c-gold-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow-btn)!important;font:700 20px/1 var(--font-head)!important;color:var(--c-accent)!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{content:'●'!important;color:var(--c-accent)!important;font:16px/1 var(--font-body)!important;margin-right:8px!important}
/* 위 줄 확률은 레벨 오른쪽으로 */
body.tft1 #t1-odds{left:400px;top:12px}
/* 잠금 */
body.tft1 #shared-shop-dock #dock-toolbar#dock-toolbar{top:102px!important;width:32px!important;height:32px!important}
body.tft1 #hud #shared-shop-dock #dock-toolbar #lock-btn#lock-btn{width:32px!important;height:32px!important;box-shadow:var(--shadow-btn)!important}
/* 카드 더 크게 180×128: 은회색 세로 그라데이션, 도트 크게, 왼쪽 위 타입 원 2개(세로), 아래 이름 줄 + 코스트 */
body.tft1 #shared-shop-dock #shop-cards#shop-cards{top:40px!important;height:128px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card{height:128px!important;background:var(--g-card)!important;border:1px solid var(--c-card-line)!important;border-top-color:var(--c-card-hi)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-ink)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card:hover{transform:translateY(-2px)!important;border-color:var(--c-accent)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .poke-img{left:32px!important;top:6px!important;width:100px!important;height:84px!important;object-fit:contain!important;image-rendering:pixelated!important;filter:drop-shadow(0 2px 0 rgba(0,0,0,.25))!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta{gap:4px!important;grid-template-columns:20px!important;width:20px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role){font-size:0!important;width:20px!important;height:20px!important;gap:0!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol{width:20px!important;height:20px!important;box-shadow:0 1px 0 rgba(0,0,0,.35)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol img{width:14px!important;height:14px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-role{display:none!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .merge-hint{left:4px!important;right:auto!important;top:76px!important;padding:2px 5px!important;border-radius:4px!important;background:var(--c-merge-chip)!important;color:var(--c-text)!important;font:10px/1.2 var(--font-body)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-name{top:96px!important;height:32px!important;line-height:32px!important;background:var(--g-namebar)!important;border-top:3px solid var(--cost)!important;color:var(--c-text)!important;font-size:14px!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-cost{top:99px!important;height:29px!important;line-height:29px!important;color:var(--c-accent)!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card .shop-info{left:152px!important;top:6px!important;background:var(--c-info)!important;border-color:var(--c-card-line)!important;color:var(--c-ink)!important}
body.tft1 #hud #shared-shop-dock #shop-cards .shop-card .shop-advice-badge{left:auto!important;right:4px!important;top:36px!important;writing-mode:vertical-rl!important;height:auto!important;width:18px!important;padding:3px 0!important;line-height:18px!important}
/* 벤치 칸 살짝 들어간 느낌 */
body.tft1 #shared-shop-dock #bench#bench .bench-slot{box-shadow:var(--shadow-slot)!important}
/* 배치 수 칩: 몬스터볼 점 */
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count{top:-44px!important;height:32px!important;background:var(--g-btn)!important;box-shadow:var(--shadow-btn)!important;font-size:14px!important;gap:8px!important}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count::before{content:''!important;display:block!important;width:14px;height:14px;border-radius:50%;background:var(--g-ball);box-shadow:inset 0 0 0 1.5px var(--c-ball-edge)}
body.tft1 #hud #shared-shop-dock #dock-start #hud-deploy-count#hud-deploy-count #limit-text{font-size:14px!important}
/* 전투!: 더 크고 두껍게 232×64 */
body.tft1 #shared-shop-dock #dock-start#dock-start{left:884px!important;top:0!important;width:232px!important;height:64px!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn{width:232px!important;height:64px!important;--g-fill:var(--g-fight);background:var(--g-fight)!important;border:1px solid var(--c-fight-line)!important;border-top-color:var(--c-fight-hi)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow-fight)!important;font-size:26px!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn:active{transform:translateY(3px)!important;box-shadow:var(--shadow-btn-down)!important}
body.tft1 #hud #shared-shop-dock #dock-start #battle-btn#battle-btn>.bs-fist{width:34px!important;height:34px!important}
/* 왼쪽 위 칩·진행 판·메뉴도 같은 입체 */
body.tft1 :is(#hud-round,#speed-btn,#t1-menu,#coach-btn,#type-chart-btn,#journey-btn) ,body.tft1 #hud-topstats .hp-resource{border-top-color:var(--c-hi)!important}

/* ---------- 3e. 우리 표식 + XP 미리보기 상시(사용자 2026-11-03) ----------
   표식: 몬스터볼 무늬(반원 띠 + 가운데 원, 흰 반투명)를 전투!·구매 XP·상점 띠 두 모서리에, 사선 줄무늬(--stripe)는 강조 표식으로 통일(전투!·살 수 있는 구매 XP·LEVEL 배지·띠 위 가장자리).
   XP 미리보기: 기존 HUDLivePreview(마우스 올림·길게 누름일 때만)는 그대로 두고, 새 디자인에서는 TFT1.xpGhost가 늘 '구매 XP 1번 하면 여기까지'를 밝은 반투명으로 보여 준다.
   골드가 모자라면 회색으로 흐리게, 마우스를 올리거나 길게 누르면(기존 .xp-projected) 더 밝게 한다. 계산은 projectTrainerXP(06 economy.js)를 읽기만 한다. */
:is(body.tft1,body.tft1m) .t1-ball{position:absolute;pointer-events:none;border-radius:50%;background:var(--g-ball-mark);box-shadow:inset 0 0 0 2px var(--c-ball-mark);opacity:var(--ball-a,.35);z-index:1}
body.tft1 #xp-btn .t1-ball{width:30px;height:30px;right:-8px;bottom:-8px}
body.tft1 #battle-btn .t1-ball{width:40px;height:40px;right:-10px;top:-10px}
body.tft1m #battle-btn .t1-ball{width:26px;height:26px;right:4px;top:4px} /* 휴대폰은 단추 안쪽(화면 밖으로 나가면 모바일 화면 폭이 늘어남) */
body.tft1m #xp-btn .t1-ball{display:none}
body.tft1 #shared-shop-dock .shop-area .t1-ball{width:84px;height:84px;--ball-a:.10}
body.tft1 #shared-shop-dock .shop-area .t1-ball.tl{left:-26px;top:-26px}
body.tft1 #shared-shop-dock .shop-area .t1-ball.br{right:-26px;bottom:-26px}
body.tft1 #shared-shop-dock .shop-area{overflow:hidden!important}
body.tft1 #shared-shop-dock .shop-area::before{content:''!important;display:block!important;position:absolute!important;left:0;right:0;top:0;height:4px;background:var(--stripe-strong)!important;pointer-events:none;border:0!important;opacity:.8}
body.tft1 #shared-shop-dock #hud-level#hud-level::before{background-image:var(--stripe),var(--g-lv)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn{background-image:var(--stripe),var(--g-fight)!important;box-shadow:var(--shadow-fight)!important;border-top-color:var(--c-fight-hi)!important;overflow:hidden!important}
/* XP 미리보기 채움(PC 막대) */
:is(body.tft1,body.tft1m) .t1-xp-ghost{position:absolute;top:0;bottom:0;left:var(--from,0%);width:var(--w,0%);background:var(--c-xp-ghost);border-radius:2px;pointer-events:none;z-index:2;animation:t1-ghost 1.4s ease-in-out infinite}
:is(body.tft1,body.tft1m) .t1-xp-ghost[data-poor]{background:var(--c-xp-ghost-off);animation:none}
:is(body.tft1,body.tft1m) .xp-projected .t1-xp-ghost:not([data-poor]),:is(body.tft1,body.tft1m) .t1-xp-ghost.hot:not([data-poor]){background:var(--c-xp-ghost-hot);animation:none}
@keyframes t1-ghost{0%,100%{opacity:.55}50%{opacity:1}}
body.t1-calm .t1-xp-ghost{animation:none!important}
@media (prefers-reduced-motion:reduce){.t1-xp-ghost{animation:none!important}}
body.tft1 #shared-shop-dock #hud-level#hud-level #xp-label#xp-label,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #xp-label#xp-label{display:none!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title{justify-content:space-between!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #t1-xp-proj{margin-left:auto}
body.tft1 #t1-odds{left:404px!important}
:is(body.tft1,body.tft1m) .hud-xp-track .t1-xp-ghost{display:block!important;position:absolute!important;height:auto!important;margin:0!important}
:is(body.tft1,body.tft1m) .hud-xp-track .t1-xp-ghost[hidden]{display:none!important}
:is(body.tft1,body.tft1m) #t1-xp-proj{font:12px/1 var(--font-head);color:var(--c-text);white-space:nowrap;font-style:normal}
:is(body.tft1,body.tft1m) #t1-xp-proj b{color:var(--c-xp-ghost-text);font-weight:700}
:is(body.tft1,body.tft1m) #t1-xp-proj[data-poor] b{color:var(--c-dim)}
body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track{overflow:hidden!important;border-radius:3px!important}
/* 휴대폰: Lv 판 아래쪽에 얇은 XP 막대 */
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track{display:block!important;position:absolute!important;left:8px!important;right:8px!important;bottom:3px!important;top:auto!important;width:auto!important;height:3px!important;background:var(--c-slot)!important;border-radius:2px!important;overflow:hidden!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track :is(.xp-progress,#xp-bar){display:block!important;position:absolute!important;left:0;top:0;height:3px!important;background:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track #xp-bar{background:var(--c-accent)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track #hud-xp-segments{display:none!important}
body.tft1 #shared-shop-dock #hud-level#hud-level .hud-xp-track>.t1-xp-ghost:not([hidden]){display:block!important}
body.tft1 #shared-shop-dock #hud-level#hud-level #xp-bar,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #xp-bar{visibility:visible!important;opacity:1!important;z-index:1}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #t1-xp-proj{color:var(--c-text)!important;font:10px/14px var(--font-head)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track .t1-xp-ghost{top:0!important;height:3px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level .hud-xp-track.hud-xp-track{height:3px!important;min-height:0!important;max-height:3px!important;bottom:2px!important;padding:0!important;border:0!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #t1-xp-proj b{color:var(--c-xp-ghost-text)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #t1-xp-proj[data-poor] b{color:var(--c-dim)!important}

/* ---------- 5. 설정 창 = GPT 114(관리자 2026-11-03, 05 자료/GPT납품_20261102/114 layout_settings_1920/844.json) ----------
   console-v51.js SettingsV90이 tft1/tft1m일 때 무대에 .sv114를 붙이고 창을 114 좌표에 둔다(PC [360,120,1200,840] / 844 [12,8,820,374], 창 안 좌표는 창 왼쪽 위 기준).
   항목·문구·저장 키는 V5.1 설정 그대로. 시안 남색은 차콜 토큰으로. 휴대폰은 누르는 칸 모두 44px 이상. −/+ 단추는 5씩(제안값). */
#console-v51 .cv-stage.sv114 .sv-win{width:1200px;height:840px;border:1px solid var(--c-line);border-image:none;border-radius:var(--r-m);background:var(--c-panel);box-shadow:var(--shadow-panel);color:var(--c-text);font:400 14px/1.4 var(--font-body)}
#console-v51 .cv-stage.sv114 .sv-win::after{content:"";position:absolute;left:32px;right:32px;top:728px;border-top:1px solid var(--c-line);pointer-events:none}
#console-v51 .cv-stage.sv114 .sv-head{height:72px}
#console-v51 .cv-stage.sv114 .sv-gear{left:32px;top:32px;width:24px;height:24px;display:block;clip-path:none;background:none}
#console-v51 .cv-stage.sv114 .sv-gear::before{display:none}
#console-v51 .cv-stage.sv114 .sv-gear svg{width:24px;height:24px;color:var(--c-text)}
#console-v51 .cv-stage.sv114 .sv-head h2{left:72px;top:31px;font:700 24px/1 var(--font-head);letter-spacing:0;color:var(--c-text)}
#console-v51 .cv-stage.sv114 .sv-brand{display:block;left:152px;top:37px;font:400 12px/1.2 var(--font-body);letter-spacing:0;color:var(--c-dim)}
#console-v51 .cv-stage.sv114 .sv-brand::after{display:none}
#console-v51 .cv-stage.sv114 .sv-sec,#console-v51 .cv-stage.sv114 .sv-hint{top:166px;font:400 12px/1.2 var(--font-body);color:var(--c-dim);pointer-events:none}
#console-v51 .cv-stage.sv114 .sv-sec{left:32px}
#console-v51 .cv-stage.sv114 .sv-hint{left:auto;right:32px;font-size:14px}
/* 단추 공통(닫기·탭·−/+·본문 단추·메인 메뉴로): 차콜 입체 단추 */
#console-v51 .cv-stage.sv114 .sv-win :is(.cv-button.sv-close,.cv-tabs .cv-button,.sv-step,.cv-main-menu),#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn,.import-label){border:1px solid var(--c-line);border-image:none;border-radius:var(--r-s);background:var(--g-btn);box-shadow:var(--shadow-btn);color:var(--c-text);font:700 24px/1 var(--font-head);text-shadow:none;clip-path:none;cursor:pointer}
#console-v51 .cv-stage.sv114 .sv-win :is(.cv-button.sv-close,.cv-tabs .cv-button,.sv-step,.cv-main-menu,.cv-done)::before,#console-v51 .cv-stage.sv114 .sv-win :is(.cv-tabs .cv-button:not(.selected),.sv-step,.cv-main-menu,.cv-done)::after{display:none}
#console-v51 .cv-stage.sv114 .sv-win :is(.cv-button.sv-close,.cv-tabs .cv-button,.sv-step,.cv-main-menu):hover,#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn,.import-label):hover{border-color:var(--c-accent)}
#console-v51 .cv-stage.sv114 .sv-win :is(.cv-button.sv-close,.cv-tabs .cv-button,.sv-step,.cv-main-menu,.cv-done):active,#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn,.import-label):active{border-image-source:none;box-shadow:var(--shadow-btn-down);transform:translateY(1px)}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn):disabled,#console-v51 .cv-stage.sv114 .sv-win .cv-main-menu:disabled{border-image-source:none;opacity:.4;cursor:not-allowed}
#console-v51 .cv-stage.sv114 .sv-win :is(.cv-done,.cv-main-menu,.sv-close,.sv-step,.cv-tabs .cv-button,button,.compact-btn,.import-label,input,select):focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
#console-v51 .cv-stage.sv114 .sv-win .cv-button.sv-close{left:1124px;top:24px;width:44px;height:44px;min-width:0;min-height:0;padding:0}
#console-v51 .cv-stage.sv114 .sv-win .cv-button.sv-close::after{content:"";display:block;position:absolute;inset:0;background:linear-gradient(45deg,transparent calc(50% - 1px),var(--c-text) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)) center/18px 18px no-repeat,linear-gradient(-45deg,transparent calc(50% - 1px),var(--c-text) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)) center/18px 18px no-repeat}
/* 탭 4개 278×48 간격 8, 고른 탭: 노랑 글자 + 아래 노랑 밑줄(상태 표시) + 눌린 입체 */
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs{left:32px;top:96px;width:1136px;height:48px}
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button{top:0;height:48px;gap:12px;font-size:24px;padding:0}
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button svg{width:20px;height:20px}
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button:nth-child(1){left:0;width:278px}#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button:nth-child(2){left:286px;width:278px}#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button:nth-child(3){left:572px;width:278px}#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button:nth-child(4){left:858px;width:278px}
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button.selected{color:var(--c-accent);border-color:rgba(255,201,60,.55);background:var(--c-slot);box-shadow:var(--shadow-slot)}
#console-v51 .cv-stage.sv114 .sv-win .cv-tabs .cv-button.selected::after{content:"";display:block;position:absolute;left:16px;right:16px;bottom:3px;height:3px;border-radius:2px;background:var(--c-accent)}
/* 본문 [32,200,1136,512] */
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body{left:32px;top:200px;width:1136px;height:512px;color:var(--c-text);font:400 16px/1.5 var(--font-body);scrollbar-color:rgba(255,255,255,.25) transparent}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(p,h3){color:var(--c-text);text-shadow:none}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body h3{font:400 12px/1.2 var(--font-body);color:var(--c-dim);margin:0 0 14px 8px}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body p{font:400 16px/28px var(--font-body);margin:0 0 4px 8px}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body>p:not(.settings-note){margin:0 0 0 48px;line-height:64px}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body .cv-quick+h3{margin-top:40px}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body .save-controls p{margin-bottom:28px}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body .settings-note{font-size:14px;line-height:1.5;color:var(--c-dim)}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn,.import-label){display:flex;justify-content:flex-start;width:1120px;max-width:none;height:56px;margin:0 0 16px 8px;padding:0 0 0 44px;border-width:1px}
#console-v51 .cv-stage.sv114 .sv-win .cv-quick{display:block}
#console-v51 .cv-stage.sv114 .sv-win .cv-quick :is(button,.cv-button){height:52px;margin-bottom:12px}
/* 데이터 탭 아래 단추 3개: 옛 결정 197 S3(#id·!important 가운데 정렬)를 눌러 위 저장 단추와 같은 왼쪽 정렬 */
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-panel>:is(#analysis-history-btn,#patch-history-btn,#offline-download){justify-content:flex-start;width:1120px!important;margin:0 0 16px 8px!important;text-align:left}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-panel>:is(#analysis-history-btn,#patch-history-btn,#offline-download){width:780px!important;margin:0 0 8px 8px!important}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-panel .settings-note{font-size:14px!important}#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-panel .settings-note{font-size:12px!important}
/* 소리 5줄: 줄 간격 88, [이름 352][− 44][슬라이더 540][+ 44][값] 사이 12 */
#console-v51 .cv-stage.sv114 .sv-win :is(.volume-row,.check-row){max-width:none;margin:0;background:none;border:0;color:var(--c-text);font:700 24px/1.2 var(--font-head)}
#console-v51 .cv-stage.sv114 .sv-win .sv-audio .volume-row{display:grid;grid-template-columns:352px 44px 540px 44px 1fr;column-gap:12px;align-items:center;height:88px;min-height:0;padding:0 8px 0 0}
#console-v51 .cv-stage.sv114 .sv-win .volume-row>span{padding-left:52px;white-space:nowrap}
#console-v51 .cv-stage.sv114 .sv-win .volume-row output{padding:0;text-align:right;font:700 24px/1 var(--font-head);color:var(--c-text)}
#console-v51 .cv-stage.sv114 .sv-win .cv-settings-body .sv-step{position:relative;width:44px;height:44px;padding:0;margin:0;display:grid;place-items:center;justify-content:center}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]{width:540px;height:44px;margin:0;border:0;border-image:none;border-radius:3px;background:linear-gradient(var(--c-accent),var(--c-accent)) 12px center/calc((100% - 24px) * var(--p,0) / 100) 6px no-repeat,linear-gradient(rgba(255,255,255,.18),rgba(255,255,255,.18)) 12px center/calc(100% - 24px) 6px no-repeat}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]::-webkit-slider-runnable-track{height:44px;background:transparent;border:0}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]::-webkit-slider-thumb{width:24px;height:24px;margin-top:10px;border-radius:50%;border:3px solid var(--c-accent);background:var(--c-text);box-shadow:0 2px 0 rgba(0,0,0,.5);box-sizing:border-box}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]:active::-webkit-slider-thumb{background:var(--c-accent)}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]::-moz-range-track{height:44px;background:transparent;border:0}
#console-v51 .cv-stage.sv114 .sv-win input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;border:3px solid var(--c-accent);background:var(--c-text);box-sizing:border-box}
/* 플레이: 줄 64 + 아래 1px 선, 오른쪽 토글 88×44·선택 칸 192×44 */
#console-v51 .cv-stage.sv114 .sv-win .check-row{display:flex;align-items:center;min-height:64px;padding:0 8px 0 52px;border-bottom:1px solid var(--c-line);box-sizing:border-box}
#console-v51 .cv-stage.sv114 .sv-win .check-row small{margin-left:12px;font:400 14px/1.3 var(--font-body);color:var(--c-dim)}
#console-v51 .cv-stage.sv114 .sv-win .check-row input[type=checkbox]{width:88px;height:44px;margin:0 0 0 auto;border:1px solid var(--c-line);border-radius:var(--r-s);box-shadow:var(--shadow-slot);background:linear-gradient(#A6B0BF,#A6B0BF) 6px 50%/32px 32px no-repeat,linear-gradient(var(--c-dim),var(--c-dim)) calc(100% - 16px) 50%/12px 1px no-repeat,var(--c-slot)}
#console-v51 .cv-stage.sv114 .sv-win .check-row input[type=checkbox]:checked{border-color:rgba(255,201,60,.6);background:linear-gradient(var(--c-accent),var(--c-accent)) calc(100% - 6px) 50%/32px 32px no-repeat,url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23FFC93C' stroke-width='1.8'/></svg>") 14px 50%/16px 16px no-repeat,var(--c-slot)}
#console-v51 .cv-stage.sv114 .sv-win .check-row input[type=checkbox]:disabled{opacity:.4;cursor:not-allowed}
#console-v51 .cv-stage.sv114 .sv-win .check-row select{-webkit-appearance:none;appearance:none;min-width:192px;height:44px;margin-left:auto;padding:0 36px 0 16px;border:1px solid var(--c-line);border-image:none;border-radius:var(--r-s);box-shadow:var(--shadow-slot);background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4.5l3 3 3-3' fill='none' stroke='%23F3F6FB' stroke-width='1.6'/></svg>") calc(100% - 14px) 50%/14px 14px no-repeat,var(--c-slot);color:var(--c-accent);font:700 12px/1 var(--font-head)}
#console-v51 .cv-stage.sv114 .sv-win .check-row select option{background:#302D2B;color:var(--c-text)}
/* 줄 앞 아이콘(관리자 결정 2026-11-03 ②, 114 layout icon.*): 20px 선 아이콘을 CSS 마스크로(글자색). 줄 노드는 옛 설정과 같은 노드라 DOM은 건드리지 않는다 */
#console-v51 .cv-stage.sv114 .sv-win :is(.volume-row,.check-row)::before{content:"";position:absolute;left:8px;top:50%;width:20px;height:20px;margin-top:-10px;background:currentColor;-webkit-mask:var(--sv-ic) center/contain no-repeat;mask:var(--sv-ic) center/contain no-repeat;pointer-events:none}
#console-v51 .cv-stage.sv114.sv-land .sv-win :is(.volume-row,.check-row)::before{left:8px;width:18px;height:18px;margin-top:-9px}
#console-v51 .cv-stage.sv114 .sv-win .volume-row[for=volume-master]{--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='M4 9h4l5-4v14l-5-4H4z'/><path d='M16 9a4 4 0 0 1 0 6M18.5 6.5a7.5 7.5 0 0 1 0 11'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .volume-row[for=volume-bgm]{--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='M9 18V5l11-2v13'/><circle cx='6' cy='18' r='3'/><circle cx='17' cy='16' r='3'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .volume-row[for=volume-sfx]{--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='M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5L18 18M6 18l2.5-2.5M15.5 8.5L18 6'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .volume-row[for=volume-cry]{--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='M4 5h16v11H9l-5 4z'/><path d='M8 10.5h8'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .volume-row[for=volume-ambient]{--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='M5 19c0-9 6-14 15-14 0 9-5 15-14 15'/><path d='M5 19l8-8'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#cry-variant){--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='M4 9h4l5-4v14l-5-4H4z'/><path d='M16 9a4 4 0 0 1 0 6M18.5 6.5a7.5 7.5 0 0 1 0 11'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#mute-toggle){--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='M4 9h4l5-4v14l-5-4H4z'/><path d='M16 9l5 6M21 9l-5 6'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#reduce-effects){--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='M13 2L4 14h7l-1 8 9-12h-7z'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#reduce-shake){--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='M2 14l4-6 4 8 4-8 4 8 4-6'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#combat-feel){--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='M2 14l4-6 4 8 4-8 4 8 4-6'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#shop-recommendations){--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'><circle cx='12' cy='12' r='9'/><path d='M12 11v6M12 7.5v.5'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#skip-evolution){--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='M6 5l9 7-9 7z'/><path d='M18 5v14'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#combat-slow){--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'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>")}
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#room-basic){--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 11l9-7 9 7'/><path d='M5 10v10h14V10'/><path d='M10 20v-6h4v6'/></svg>")} /* 11-05 메인 메뉴 기본 방(blog 303188fb) 줄 아이콘 — 집 */
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#center-short){--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'><rect x='4' y='4' width='16' height='16' rx='4'/><path d='M12 8v8M8 12h8'/></svg>")} /* 11-10 포켓몬센터 연출 짧게 줄 아이콘 — 회복 십자 */
#console-v51 .cv-stage.sv114 .sv-win .check-row:has(#tower-quick){--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='M8 21V8l4-5 4 5v13'/><path d='M5 21h14M10 12h4M10 16h4'/></svg>")} /* 11-11 배틀 타워 연출 짧게 줄 아이콘 — 탑 */
/* 아래: 자동 저장 안내 · 메인 메뉴로 [760,752,200,48] · 완료 [972,752,196,48](노랑 주 단추) */
#console-v51 .cv-stage.sv114 .sv-auto{display:flex;left:32px;top:764px;gap:12px;font:400 14px/1.2 var(--font-body);color:var(--c-dim)}
#console-v51 .cv-stage.sv114 .sv-auto i{width:18px;height:18px;background:none;border:1.5px solid var(--c-dim);color:var(--c-dim);font:700 12px/1 var(--font-head)}
#console-v51 .cv-stage.sv114 .sv-win .cv-button.cv-main-menu{left:760px;top:752px;width:200px;height:48px;min-width:0;min-height:0;margin:0;padding:0;font-size:12px}
#console-v51 .cv-stage.sv114 .sv-win .cv-button.cv-done{left:972px;top:752px;width:196px;height:48px;padding:0;border:1px solid #C9962A;border-image:none;border-radius:var(--r-s);background:linear-gradient(180deg,#FFD866,var(--c-accent));box-shadow:0 3px 0 #8A6A12,inset 0 1px 0 rgba(255,255,255,.5);color:#0E1830;font:700 24px/1 var(--font-head);letter-spacing:0;text-shadow:none}
#console-v51 .cv-stage.sv114 .sv-win .cv-button.cv-done:active{box-shadow:0 1px 0 #8A6A12,inset 0 1px 0 rgba(255,255,255,.4)}
/* 휴대폰 844×390 [12,8,820,374]: 글자 12px, 줄 44 */
#console-v51 .cv-stage.sv114.sv-land .sv-win{width:820px;height:374px;border-width:1px;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win::after{display:none}
#console-v51 .cv-stage.sv114.sv-land .sv-head{height:48px}
#console-v51 .cv-stage.sv114.sv-land .sv-gear{left:12px;top:18px;width:24px;height:24px}
#console-v51 .cv-stage.sv114.sv-land .sv-gear svg{width:24px;height:24px}
#console-v51 .cv-stage.sv114.sv-land .sv-head h2{left:44px;top:17px;font-size:24px}
#console-v51 .cv-stage.sv114.sv-land .sv-brand{display:block;left:120px;top:22px}
#console-v51 .cv-stage.sv114.sv-land .sv-sec{left:340px;top:22px}
#console-v51 .cv-stage.sv114.sv-land .sv-hint{left:368px;right:auto;top:22px;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-hint::before{content:"· "}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-button.sv-close{left:764px;top:8px;width:44px;height:44px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs{left:12px;top:52px;width:796px;height:44px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button{height:44px;gap:8px;font-size:12px;border-width:1px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button svg{width:20px;height:20px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button:nth-child(1){left:0;width:193px}#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button:nth-child(2){left:201px;width:193px}#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button:nth-child(3){left:402px;width:193px}#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-tabs .cv-button:nth-child(4){left:603px;width:193px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body{left:12px;top:100px;width:796px;height:220px;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win :is(.volume-row,.check-row){font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .sv-audio .volume-row{grid-template-columns:244px 44px 348px 44px 1fr;column-gap:8px;height:44px;padding-right:16px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .volume-row>span{padding-left:36px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .volume-row output{font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body .sv-step{width:44px;height:44px;margin:0;padding:0;font-size:20px}
#console-v51 .cv-stage.sv114.sv-land .sv-win input[type=range]{width:348px;height:44px;background-position:22px center,22px center;background-size:calc((100% - 44px) * var(--p,0) / 100) 6px,calc(100% - 44px) 6px}
#console-v51 .cv-stage.sv114.sv-land .sv-win input[type=range]::-webkit-slider-runnable-track{height:44px}
#console-v51 .cv-stage.sv114.sv-land .sv-win input[type=range]::-webkit-slider-thumb{width:44px;height:44px;margin-top:0;border-width:4px}
#console-v51 .cv-stage.sv114.sv-land .sv-win input[type=range]::-moz-range-thumb{width:44px;height:44px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .check-row{min-height:44px;padding:0 12px 0 36px;max-width:none}
#console-v51 .cv-stage.sv114.sv-land .sv-win .check-row small{font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .check-row input[type=checkbox]{width:88px;height:44px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .check-row select{min-width:132px;height:44px;font-size:12px;line-height:1}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body h3{margin:4px 0 8px 8px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body p{font-size:12px;line-height:20px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body>p:not(.settings-note){margin-left:36px;line-height:32px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body .cv-quick+h3{margin-top:16px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body .save-controls p{margin-bottom:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body .settings-note{font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-settings-body :is(button:not(.sv-step),.compact-btn,.import-label){width:780px;height:44px;margin:0 0 8px 8px;padding-left:28px;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-quick :is(button,.cv-button){height:44px;margin-bottom:8px}
#console-v51 .cv-stage.sv114.sv-land .sv-auto{display:flex;left:28px;top:336px;gap:8px;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-auto i{width:16px;height:16px;font-size:10px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-button.cv-main-menu{left:500px;top:322px;width:156px;height:44px;margin:0;font-size:12px}
#console-v51 .cv-stage.sv114.sv-land .sv-win .cv-button.cv-done{left:668px;top:322px;width:140px;height:44px;font-size:12px;border-width:1px}
/* ---------- 6. 메인 메뉴 = GPT 114 배치 + 시범 규칙(관리자 2026-11-03, 05 자료/GPT납품_20261102/114 layout_menu_1920/844.json) ----------
   배경·모드 카드 그림·로고는 그대로(캔버스). 카드 자리는 기존 C2 배치(114와 거의 같음, 전환 연출 좌표가 묶여 있어 옮기지 않음).
   위 오른쪽: 업데이트 소식 칩 [1400,48,288,44] · 도감 [1712,40,64,64] · 설정 [1800,40,64,64](844: [452,12,260,44] · [724,12,44,44] · [780,12,44,44]).
   단추 자리는 WorkArt.place가 인라인으로 넣으므로 !important로 덮는다(화면 비율 기준 %). '모드 선택'·키 안내 위치는 console-v51.js C2Lobby.layoutFor 훅.
   '새로운 모험 시작'(저장 있으면 '모험 이어하기'): 평평한 노랑 금지 → 두꺼운 노랑 + 사선 줄무늬 + 테두리 맥박 빛 + 몬스터볼 표식(관리자 지시). 움직임은 3b와 같은 끄는 조건. */
body.tft1 #title-cover.c2-lobby #title-news{left:72.917%!important;top:4.444%!important;width:15%!important;height:4.074%!important}
body.tft1 #title-cover.c2-lobby [data-action=dex]{left:89.167%!important;top:3.704%!important;width:3.333%!important;height:5.926%!important}
body.tft1 #title-cover.c2-lobby [data-action=settings]{left:93.75%!important;top:3.704%!important;width:3.333%!important;height:5.926%!important}
body.tft1m #title-cover.c2-lobby #title-news{left:53.555%!important;top:3.077%!important;width:30.806%!important;height:11.282%!important}
body.tft1m #title-cover.c2-lobby [data-action=dex]{left:85.782%!important;top:3.077%!important;width:5.213%!important;height:11.282%!important}
body.tft1m #title-cover.c2-lobby [data-action=settings]{left:92.417%!important;top:3.077%!important;width:5.213%!important;height:11.282%!important}
/* 옛 v090.css #title-cover #title-start(빨강)·console-v51.css #title-news(!important)를 누른다 */
body.tft1 #title-cover#title-cover.c2-lobby [data-skin=primary]{height:6.667%!important}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news#title-news{right:auto!important;bottom:auto!important;transform:none!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;box-shadow:var(--shadow-btn)!important;font:700 14px/1 var(--font-head)!important;gap:8px}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news#title-news>span{color:var(--c-text)!important;font:inherit!important;text-shadow:none!important;overflow:hidden;text-overflow:ellipsis}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news#title-news::before{content:none!important}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news#title-news::after{margin-left:auto;height:auto;padding:0;border-radius:0;background:none!important;color:var(--c-accent)!important;font:700 12px/1 var(--font-head)!important;letter-spacing:0}
body.tft1m #title-cover.c2-lobby #title-news#title-news{font-size:12px!important}
/* 칩·아이콘 단추: 차콜 입체(토큰) */
:is(body.tft1,body.tft1m) #title-cover.c2-lobby :is(#title-news,[data-action=dex],[data-action=settings]){min-width:44px;min-height:44px;border:1px solid var(--c-line);border-image:none;border-radius:var(--r-s);background:var(--c-panel);box-shadow:var(--shadow-btn);color:var(--c-text);filter:none}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby :is(#title-news,[data-action=dex],[data-action=settings]):hover{border-color:var(--c-accent)}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby :is(#title-news,[data-action=dex],[data-action=settings]):active{box-shadow:var(--shadow-btn-down);translate:0 1px}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby :is(#title-news,[data-action=dex],[data-action=settings]):focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 12px;font:700 14px/1 var(--font-head);white-space:nowrap;overflow:hidden}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby #title-news :is(strong,span,b){font:inherit;color:inherit}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-action=dex]{padding:6px;display:grid;place-items:center}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-action=dex] :is(img,svg,canvas){max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-action=settings]{display:grid;place-items:center}
/* 모드 카드: 그림 테두리 대신 차콜 1px 선 + 입체 그림자, 고른 카드는 노랑 테 + 몬스터볼 표식(오른쪽 아래) */
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile]{border:1px solid var(--c-line);border-image:none;border-radius:var(--r-s);box-shadow:var(--shadow-panel);background:linear-gradient(180deg,transparent 0 76%,rgba(38,36,35,.88) 84%,rgba(30,28,27,.96))}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile]:hover{border-color:rgba(255,201,60,.6)}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile][aria-pressed=true]{border:2px solid var(--c-accent);box-shadow:var(--shadow-panel),0 0 0 1px rgba(0,0,0,.5)}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile][aria-pressed=true]::after{content:"";position:absolute;right:12px;bottom:12px;width:20px;height:20px;border-radius:50%;background:var(--g-ball);box-shadow:0 0 0 1.5px var(--c-ball-edge);pointer-events:none}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile]:focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
:is(body.tft1,body.tft1m) #title-cover.c2-lobby [data-skin=tile] strong{font-family:var(--font-head)}
/* 새로운 모험 시작: 두꺼운 노랑(아래 진한 금 5px) + 사선 줄무늬 + 왼쪽 몬스터볼 + 테두리 맥박 빛 */
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]{overflow:visible;border:2px solid #8A6A12;border-image:none;border-radius:var(--r-m);background:var(--stripe),linear-gradient(180deg,#FFE27A,var(--c-accent) 55%,#E9A91C);box-shadow:0 5px 0 #7A5A0C,inset 0 2px 0 rgba(255,255,255,.55),inset 0 -3px 0 rgba(122,90,12,.35);color:#0E1830;font-family:var(--font-head);font-weight:700;padding-left:calc(16px + 1.6em + 12px);text-shadow:0 1px 0 rgba(255,255,255,.45);filter:none}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]::before{content:"";position:absolute;left:16px;top:50%;width:1.6em;height:1.6em;margin-top:-.8em;border-radius:50%;background:var(--g-ball);box-shadow:0 0 0 2px var(--c-ball-edge),0 2px 0 rgba(0,0,0,.35);pointer-events:none}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]::after{content:"";position:absolute;inset:-5px;border-radius:calc(var(--r-m) + 5px);box-shadow:0 0 0 2px var(--c-glow),0 0 18px 3px var(--c-glow);opacity:.2;pointer-events:none;will-change:opacity;animation:t1-pulse 1.6s ease-in-out infinite}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]:hover{filter:brightness(1.05)}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]:active{box-shadow:0 2px 0 #7A5A0C,inset 0 2px 0 rgba(255,255,255,.45);translate:0 3px}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary]:focus-visible{outline:3px solid #F3F6FB;outline-offset:3px}
:is(body.tft1,body.tft1m) #title-cover#title-cover.c2-lobby [data-skin=primary] small{color:#3B2E08}
body.t1-calm #title-cover#title-cover.c2-lobby [data-skin=primary]::after{animation:none!important;opacity:.45}
@media (prefers-reduced-motion:reduce){#title-cover#title-cover.c2-lobby [data-skin=primary]::after{animation:none!important;opacity:.45}}
/* 버전·빌드(pwa.js #running-build 실제 값): 메뉴 오른쪽 아래 [1758,1010] 작은 회색 글자(게임 중 숨김은 v090.css 그대로) */
body.tft1:not(.playing) #running-build{right:3.75vw;bottom:5.4vh;padding:0;background:none;color:var(--c-dim);font:700 12px/1 var(--font-head)}
body.tft1m:not(.playing) #running-build{right:20px;bottom:15px;padding:0;background:none;color:var(--c-dim);font:700 11px/1 var(--font-head)}
/* ---------- 7. 전투 중 위 띠(디자인 개편 ②-a, 관리자 2026-11-03): 남은 시간·타임리미트 막대 ----------
   진행 판 [632,16,656,60] 오른쪽에 붙는 가운데 묶음: 남은 시간 [1300,16,128,44] · 막대 [1436,16,204,44](배속 [1768,16]과 겹치지 않음).
   옛 층(console-v51.css 결정 151·route 변수·hud85 그림 막대)이 #id·!important로 걸려 id 셋으로 누른다. 휴대폰은 떠 있는 막대(.tempo-float) 자리 그대로 모양만. */
body.tft1.playing.hud-combat #fight-clock#fight-clock#fight-clock,body.tft1.playing.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge:not(.tempo-float){position:fixed!important;top:calc(16*var(--t1k)*1px)!important;right:auto!important;bottom:auto!important;height:44px!important;margin:0!important;transform:scale(var(--t1k))!important;transform-origin:0 0!important;translate:none!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:8px!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-top-color:var(--c-hi)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow-btn)!important;clip-path:none!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;text-shadow:none!important;z-index:30!important}
body.tft1.playing.hud-combat #fight-clock#fight-clock#fight-clock{left:calc(var(--t1r)/2 + (960 + 340*var(--hzT,1))*var(--t1k)*1px)!important;width:128px!important;justify-content:center!important;padding:0 8px!important;white-space:nowrap!important}
body.tft1.playing.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge:not(.tempo-float){left:calc(var(--t1r)/2 + (960 + 476*var(--hzT,1))*var(--t1k)*1px)!important;width:204px!important;padding:0 12px!important}
/* 막대: 들어간 빈 칸 + 노랑 채움(남은 시간), 빠른 전투는 숫자 노랑, 시간 넘김은 빨강 채움 + 빨강 칩 */
body.tft1.playing.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge>i,body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge>i{position:relative!important;display:block!important;flex:1 1 auto!important;width:auto!important;height:10px!important;margin:0!important;background:var(--c-slot)!important;border:1px solid var(--c-line)!important;border-radius:3px!important;box-shadow:var(--shadow-slot)!important;overflow:hidden!important}
body.tft1.playing.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge>i::after,body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge>i::after{content:''!important;position:absolute!important;inset:0!important;transform-origin:left!important;transform:scaleX(var(--left,1))!important;background:linear-gradient(180deg,#FFE27A,var(--c-accent))!important;border-radius:2px!important}
body.tft1.playing.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge>b,body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge>b{display:inline-block!important;flex:none!important;min-width:3ch!important;padding:0!important;background:none!important;clip-path:none!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;text-align:right!important}
:is(body.tft1,body.tft1m) #tempo-gauge#tempo-gauge#tempo-gauge[data-state=fast]>b{color:var(--c-accent)!important}
:is(body.tft1,body.tft1m) #tempo-gauge#tempo-gauge#tempo-gauge[data-state=over]>i{border-color:var(--c-action)!important}
:is(body.tft1,body.tft1m) #tempo-gauge#tempo-gauge#tempo-gauge[data-state=over]>i::after{transform:none!important;background:var(--g-fight)!important}
:is(body.tft1,body.tft1m) #tempo-gauge#tempo-gauge#tempo-gauge[data-state=over]>b{padding:3px 8px!important;border-radius:var(--r-s)!important;background:var(--c-action)!important;color:#fff!important}
/* 휴대폰: 떠 있는 막대 판만 차콜(자리·크기는 옛 층) */
body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge.tempo-float{background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-top-color:var(--c-hi)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-text)!important;gap:6px!important}
body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge.tempo-float>b{font-size:12px!important}
body.tft1m #tempo-gauge#tempo-gauge#tempo-gauge.tempo-float>i{flex:none!important;width:110px!important;height:9px!important}
/* 휴대폰 떠 있는 막대 자리: 옛 [14,158]은 시너지 줄과 겹침(5192605e에서 17곳) → 위 가운데 빈자리(진행 판 오른쪽 ~ 배속 왼쪽) 높이 32 */
body.tft1m.hud-combat #tempo-gauge#tempo-gauge#tempo-gauge.tempo-float{left:50%!important;top:8px!important;right:auto!important;bottom:auto!important;height:32px!important;padding:0 10px!important;translate:-50% 0!important;transform:none!important}
/* ---------- 8. 라운드 결과 카드(승패, 디자인 개편 ②-a, 관리자 2026-11-03) ----------
   옛 층(console-v51.css 923~997: 상아 그림 테두리 ::after·상아 칸·select 그림 단추)을 tft1/tft1m에서만 차콜 판으로 덮는다. 자리·크기·자동 넘김·문구는 그대로.
   승리: 위 노랑 줄 + 노랑 제목, 패배(.lose): 위 빨강 줄 + 밝은 빨강 제목. 상아 ::after 테두리는 끈다. */
html body:is(.tft1,.tft1m) #combat-result#combat-result#combat-result:not(.hidden){border:1px solid var(--c-line)!important;border-top:4px solid var(--c-accent)!important;border-image:none!important;border-radius:var(--r-m)!important;background:linear-gradient(180deg,#46423F,#2B2927 60%,#242221)!important;box-shadow:var(--shadow-panel),0 18px 40px rgba(0,0,0,.45)!important;color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result#combat-result.lose:not(.hidden){border-top-color:var(--c-action)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result#combat-result:not(.hidden)::after{display:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result#combat-result::before{opacity:.12!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-overline{color:var(--c-dim)!important;font-family:var(--font-head)!important;letter-spacing:.12em!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-title{color:var(--c-accent)!important;font-family:var(--font-head)!important;text-shadow:0 3px 0 rgba(0,0,0,.55)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result.lose #result-title{color:#FF8C7A!important;text-shadow:0 3px 0 rgba(0,0,0,.55)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-description,html body.playing:is(.tft1,.tft1m) #combat-result.has-judgment#combat-result #result-description{background:var(--c-slot)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow-slot)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-description *{color:var(--c-text)!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-description strong{color:var(--c-accent)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-why{color:var(--c-accent)!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-auto-status{color:var(--c-dim)!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result .result-sparkles{color:var(--c-accent)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-life{color:#FF8C7A!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-life strong{color:#FF8C7A!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-life small{color:var(--c-dim)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-life b{color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-rewards>span{background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-top-color:var(--c-hi)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-accent)!important;font-family:var(--font-head)!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-rewards>span.xp-reward{color:var(--c-xp-ghost-text)!important;border-color:var(--c-line)!important}
/* 직접 누르는 단추(자동 넘김이 아닐 때 = 패배 등): 완료와 같은 노랑 주 단추. 자동 넘김일 때는 카드 전체를 덮는 투명 단추라 그대로 */
html body:is(.tft1,.tft1m) #combat-result#combat-result:not(.auto-advance) #result-continue{border:1px solid #C9962A!important;border-image:none!important;border-radius:var(--r-s)!important;background:linear-gradient(180deg,#FFD866,var(--c-accent))!important;box-shadow:0 3px 0 #8A6A12,inset 0 1px 0 rgba(255,255,255,.5)!important;color:#0E1830!important;font-family:var(--font-head)!important;text-shadow:none!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result:not(.auto-advance) #result-continue:hover{border-image-source:none!important;filter:brightness(1.05)}
html body:is(.tft1,.tft1m) #combat-result#combat-result:not(.auto-advance) #result-continue:active{border-image-source:none!important;box-shadow:0 1px 0 #8A6A12!important;translate:0 2px}
html body:is(.tft1,.tft1m) #combat-result#combat-result:has(#result-continue:focus-visible){outline:2px solid var(--c-accent)!important}
html body:is(.tft1,.tft1m) #combat-result#combat-result #result-auto-status{background:var(--c-slot)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important}
/* ---------- 9. 메가진화 패널(디자인 개편 ②-c, 관리자 2026-11-03) ----------
   #mega-panel(mega.js·console-v51.js 표시부): 상아 판·나무 리본 제목·그림 탭 → 차콜 판·Galmuri 제목·차콜 탭(고른 탭 노랑). 자리·크기·문구·흐름 그대로.
   03 연출(#mega-cinema '메가진화!' 띠·건너뛰기, dev/combat-fx115)은 건드리지 않는다. */
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel{border:1px solid var(--c-line)!important;border-top:4px solid var(--c-accent)!important;border-image:none!important;border-radius:var(--r-m)!important;background:linear-gradient(180deg,#46423F,#2B2927 60%,#242221)!important;box-shadow:var(--shadow-panel),0 18px 40px rgba(0,0,0,.45)!important;color:var(--c-text)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel>small{color:var(--c-dim)!important;font-family:var(--font-head)!important;letter-spacing:.12em}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel>h2{background:none!important;border:0!important;color:var(--c-accent)!important;font-family:var(--font-head)!important;text-shadow:0 3px 0 rgba(0,0,0,.55)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel>h2::before,:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel>h2::after{display:none!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel :is(#mega-help,#mega-close){border:1px solid var(--c-line)!important;border-image:none!important;border-radius:var(--r-s)!important;background:var(--g-btn)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-text)!important;font-family:var(--font-head)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel #mega-close::before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent calc(50% - 1px),var(--c-text) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)) center/18px 18px no-repeat,linear-gradient(-45deg,transparent calc(50% - 1px),var(--c-text) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)) center/18px 18px no-repeat}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel #mega-close{font-size:0!important;position:absolute}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel :is(#mega-help,#mega-close):hover{border-color:var(--c-accent)!important}
/* 탭(메가 예약 / 스톤 상점): 차콜 단추, 고른 탭 노랑 글자·밑줄 */
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button{border:1px solid var(--c-line)!important;border-image:none!important;border-radius:var(--r-s)!important;background:var(--g-btn)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-text)!important;font-family:var(--font-head)!important;text-shadow:none!important;position:relative}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true]){color:var(--c-accent)!important;border-color:rgba(255,201,60,.55)!important;background:var(--c-slot)!important;box-shadow:var(--shadow-slot)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true])::after{content:"";position:absolute;left:16px;right:16px;bottom:3px;height:3px;border-radius:2px;background:var(--c-accent)}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button:hover{border-color:var(--c-accent)!important}
/* 본문 글·스톤 칩·유닛 카드 */
:is(body.tft1,body.tft1m) #mega-panel#mega-panel #mega-content :is(p,.mg-info,.mg-reason,small){color:var(--c-text)!important;text-shadow:none!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel #mega-content :is(.mg-info,.mg-reason,.mgt-res>small){color:var(--c-dim)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mega-stones>span{background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-top-color:var(--c-hi)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow-btn)!important;color:var(--c-text)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mega-stones>span *{color:inherit!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card{background:var(--c-slot)!important;border:1px solid var(--c-line)!important;border-image:none!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow-slot)!important;color:var(--c-text)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card>b{color:var(--c-text)!important;font-family:var(--font-head)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card :is(b,strong,span,p,div){text-shadow:none!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mega-preview *{color:var(--c-text)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-badge{background:var(--c-panel-solid)!important;border:1px solid rgba(255,201,60,.55)!important;border-radius:var(--r-s)!important;color:var(--c-accent)!important;font-family:var(--font-head)!important;font-style:normal}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card:is(.selected,.on,[aria-pressed=true],.reserved){border:2px solid var(--c-accent)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card :is(button,.mg-pick){border:1px solid var(--c-line)!important;border-image:none!important;border-radius:var(--r-s)!important;background:var(--g-btn)!important;color:var(--c-text)!important;font-family:var(--font-head)!important}
/* 03 연출(#mega-cinema·#dmax-scene, dev/combat-fx115)의 건너뛰기가 오른쪽 위 배속·메뉴 자리(1920 [1780,12] / 844 [728,12])에 겹침 → 연출이 떠 있는 동안만 배속·메뉴를 숨긴다(03 요소는 옮기지 않음, 03에 알림) */
:is(body.tft1,body.tft1m):has(#mega-cinema:not([hidden]),#dmax-scene:not(.hidden)) :is(#speed-btn,#t1-menu){visibility:hidden!important}
body.tft1m:has(#mega-cinema:not([hidden]),#dmax-scene:not(.hidden)) :is(#speed-btn#speed-btn#speed-btn#speed-btn,#t1-menu#t1-menu#t1-menu#t1-menu){visibility:hidden!important}
/* ---------- 10. 02 보고 92 출시 전 수정(관리자 2026-11-03, v0.12.36) ----------
   A. 실제 실행(PWA·?test=1 아님)에서 옛 '전체 화면' 아이콘이 오른쪽 위 끝 [1908,12]에 반쯤 잘려 보임 — console-v51.css 459 `html body.playing:not(.mobile-ui) #hud-options>#hud-fullscreen{display:grid!important}`가
      tft1 숨김(1절 58행)보다 세다 → 메뉴가 닫혀 있으면 숨기고, 메뉴를 열면 1절 목록 모양(inline-flex)으로. 전체 화면은 메뉴 안 '전체 화면'으로 쓴다.
   B. 활성 시너지가 많으면 마지막 줄이 AI·상성 단추 [24/80,412] 밑에 깔림 — 목록 높이를 단추 위까지(기둥 안 113→317, 204px = 5줄)로 제한하고 넘치면 세로 스크롤(얇은 막대). */
html body.tft1:not(.t1-menu-open) #hud-options>#hud-fullscreen#hud-fullscreen,html body.tft1:not(.t1-menu-open) #hud-fullscreen#hud-fullscreen#hud-fullscreen{display:none!important}
html body.tft1.t1-menu-open #hud-options>#hud-fullscreen#hud-fullscreen{display:inline-flex!important;place-items:normal;order:0}
body.tft1 #hud-left #synergy-list#synergy-list{max-height:204px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent;padding-right:4px!important;width:156px!important}
/* 낮음: 메인 메뉴 가로 스크롤 10px — 게임 밖(옛 사이드바 자리)에서 전투!·구매 XP 단추의 몬스터볼 표식(right:-10px)이 화면 오른쪽 밖으로 나감 → 게임 중(body.playing)에만 그린다 */
body.tft1:not(.playing) :is(#xp-btn,#battle-btn) .t1-ball{display:none!important}
/* ---------- 13. v0.12.38 전투 기록 단추(02 보고 92 ④·사용자 실기기 'DPS 아이콘 때문에 이자가 가려짐', 관리자 2026-11-03) ----------
   C. 전투 중 '이자 +3' 위 갈색 책장 아이콘(02 보고 92 ④) = 전투 기록 단추 #cv-blog-open.blog-coin. 결정 282 ⑤가 지갑 오른쪽 끝+8에 44×44로 두는데(BattleLog.placeBtn 인라인),
      tft1 지갑(300px 폭, 글자는 오른쪽 정렬)의 오른쪽 끝이 이자 글자 바로 뒤라 덮었다 → 같은 줄 잠금 단추 [1596,902,32,32] 왼쪽 8px [1556,902,32,32]에 잠금과 같은 차콜 단추로 둔다(지갑 오른쪽·전투 중에만은 그대로). */
html body.tft1:not(.mobile-ui) #cv-blog-open#cv-blog-open.blog-coin{--x:1556;--y:902;--t1a:calc(var(--t1r)/2);--t1by:var(--t1bd);position:fixed!important;left:calc(var(--t1a) + (var(--hax,0) + (var(--x) - var(--hax,0))*var(--hz,1))*var(--t1k)*1px)!important;top:calc((var(--hay,0) + (var(--y) + var(--t1by) - var(--hay,0))*var(--hz,1))*var(--t1k)*1px)!important;right:auto!important;bottom:auto!important;width:32px!important;height:32px!important;transform:scale(calc(var(--t1k)*var(--hz,1)))!important;transform-origin:0 0!important;padding:0!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important}
html body.tft1:not(.mobile-ui) #cv-blog-open#cv-blog-open.blog-coin img{display:none!important}
/*    아이콘: 옛 나무 테 책장 그림(battle-log-open img) 대신 막대 그래프 선 아이콘(글자색 마스크, 관리자 2026-11-03 '차콜 둥근 아이콘 단추 + 선 아이콘') */
html body.tft1:not(.mobile-ui) #cv-blog-open#cv-blog-open.blog-coin::before{content:'';display:block;width:18px;height:18px;background:var(--c-text);-webkit-mask: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.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20h16'/><rect x='5.5' y='12' width='3' height='5'/><rect x='10.5' y='6' width='3' height='11'/><rect x='15.5' y='9' width='3' height='8'/></svg>") center/contain no-repeat;mask: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.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20h16'/><rect x='5.5' y='12' width='3' height='5'/><rect x='10.5' y='6' width='3' height='11'/><rect x='15.5' y='9' width='3' height='8'/></svg>") center/contain no-repeat}
html body.tft1:not(.mobile-ui) #cv-blog-open#cv-blog-open.blog-coin:is(:hover,:focus-visible){border-color:var(--c-accent)!important}
/* ---------- 11. v0.12.36 핫픽스: 게임 중 메뉴 정렬(관리자 2026-11-03, 02 보고 93·사용자 실기기 영상 05) ----------
   A. 실제 모험(body.playing) PC 메뉴: console-v51.css 447·452 `#world-tour-btn.cv-tour-moved{translate:var(--cv-mx) var(--cv-my)!important}`(옛 HUD에서 월드 투어를 위 띠 옆으로 옮기던 규칙)가
      1절 목록 자리보다 세서 '월드 투어'가 [1307,24]로 떠 목록 셋째 칸이 비었다 → tft1에서는 옮김을 끈다.
   B. '전체 화면' 항목: 10절 A의 place-items:normal이 1절 align-items:center를 지워 글자·아이콘이 위로 붙었다 → 가운데 정렬로. */
html body.tft1 #hud-options>#world-tour-btn#world-tour-btn,html body.tft1 #world-tour-btn#world-tour-btn.cv-tour-moved{translate:none!important}
html body.tft1.t1-menu-open #hud-options>#hud-fullscreen#hud-fullscreen{align-items:center!important;justify-content:flex-start!important}
/* ---------- 12. 휴대폰 보정(사용자 실기기 제보 2026-11-03 v0.12.36 '모바일은 애매하네', 관리자) ----------
   제보: 휴대폰 가로 브라우저 약 1000×657(DPR 2). 시험 모드 재현(1000×657·844)으로 확인한 원인과 고침:
   ① 위 왼쪽 글자(라운드·준비 단계·진행 점·다음 경로), 지역 이름, 시너지 줄이 판 없이 배경 위에 떠 있음 → 세 묶음 뒤에 차콜 판(::before, 묶음보다 사방 4~6px 넓게)
   ② 지역 이름(.mobile-stage-copy strong)이 '29번도로 · 도라지시티 · 야생 포켓몬'처럼 길면 두 줄로 꺾여 잘림 → 한 줄 12px + 말줄임
   ③ 상점 카드 판이 투명 — 4절 카드 규칙이 background:var(--c-panel)(그레이디언트) 뒤에 background-image:none을 같이 걸어 판이 지워짐 → 판을 다시 칠함(PC와 같은 차콜)
   ④ '주머니' 앞이 잘림 — 옛 층의 격자 칸 36px(grid-template-columns)에 ::after 글자가 왼쪽으로 붙어 잘림 → 한 칸 1fr 가운데, 원래 글자(<b>·<span>)는 숨김
   ⑤ 가방 단추 양옆 '1'·'%' 조각 = 상점 띠 코스트 확률 줄(#t1-odds)이 휴대폰에서 가방 단추 밑으로 샘 → 휴대폰에서 숨김(PC 그대로)
   ⑥ F·R 키캡: 터치에서는 숨김(마우스 있는 창은 그대로)
   ⑦ 메뉴(≡) 줄을 배경 그레이디언트 대신 글자색 선으로 — 브라우저 강제 어둡게(삼성 인터넷·Chrome 자동 다크)가 배경 그림을 검게 바꿔 '검정 위 검정'이 됐을 가능성
   ⑧ 강제 어둡게 끄기: 이 게임은 처음부터 어두운 화면이라 color-scheme:only light로 브라우저 자동 다크를 사양한다(밝은 기본값은 지금과 같음, 실기기 확인 필요) */
:root{color-scheme:only light}
html body.tft1m.hud85m :is(#hud-round#hud-round#hud-round,#mobile-stage#mobile-stage#mobile-stage,#mobile-synergy#mobile-synergy#mobile-synergy)::before{content:''!important;display:block!important;position:absolute!important;left:-6px!important;top:-4px!important;right:-6px!important;bottom:-4px!important;width:auto!important;height:auto!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;z-index:-1!important;pointer-events:none!important;transform:none!important;opacity:1!important}
html body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy{width:140px!important;overflow:hidden!important}
html body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy strong{display:block!important;max-width:140px!important;font:700 12px/16px var(--font-head)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card{background:var(--c-panel)!important;box-shadow:var(--shadow)!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card :is(.shop-role,.merge-hint){color:#C3CCDA!important}
html body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle{grid-template-columns:1fr!important}
html body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle>*{display:none!important}
html body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle::after{width:auto!important;justify-self:center!important}
html body.tft1m #t1-odds{display:none!important}
@media (hover:none),(pointer:coarse){html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock :is(#xp-btn#xp-btn#xp-btn,#reroll-btn#reroll-btn#reroll-btn)::after{display:none!important}}
html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu i{position:relative;display:block;box-sizing:border-box;width:20px;height:14px;background:none!important;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu i::after{content:'';position:absolute;left:0;right:0;top:4px;border-top:2px solid currentColor}
/* ---------- 14. v0.12.37 핫픽스: AI 훈수 옛 띠·시너지 육각·검은 단추(사용자 실기기 제보, 관리자 2026-11-03) ----------
   A. 'AI 훈수 잔재': 패배 뒤(재도전 가능) ResultFlow가 #retry-coach(옛 나무 판 'AI 훈수', console-v51.css 419 cv-coach-plank)를 띄우고 옛 규칙 424가 #coach-btn을 숨긴다.
      tft1/tft1m에는 이 판 자리 규칙이 없어 옛 판이 떠 보였다 → #retry-coach는 숨기고 AI 아이콘을 그대로 두며(노랑 테), 그동안 AI를 누르면 직전 패배 분석을 연다(console-v51.js TFT1 뒤 클릭 훅).
   B. 비활성 시너지 육각이 18×28로 눌려 알약·시계 모양 — 옛 층 flex:0 0 18px가 남음 → 활성과 같은 28×28(flex:none).
   C. AI·상성·배지 단추가 검정 — 2절 규칙이 background:var(--c-panel-solid)(그레이디언트) 뒤에 background-image:none을 같이 걸어 판이 지워짐(12절 ③과 같은 원인) → 다시 칠함. */
html body:is(.tft1,.tft1m) #retry-coach#retry-coach{display:none!important}
html body.tft1.cv-retry-coach #coach-btn#coach-btn#coach-btn{display:inline-grid!important}
html body.tft1m.cv-retry-coach #coach-btn#coach-btn#coach-btn{display:inline-grid!important}
html body:is(.tft1,.tft1m).retry-ready #coach-btn#coach-btn#coach-btn{border-color:var(--c-accent)!important}
html body.tft1 #hud-left #synergy-list .synergy-entry>:first-child{flex:none!important;min-width:28px!important;max-width:28px!important}
html body.tft1 :is(#coach-btn#coach-btn#coach-btn,#type-chart-btn#type-chart-btn#type-chart-btn,#journey-btn#journey-btn#journey-btn){background:var(--c-panel-solid)!important}
/* ---------- 15. v0.12.37 핫픽스: 위 진행 띠 갈림길 칩(사용자 실기기 '게임 시작 시 화면이 짤림', 관리자 2026-11-03) ----------
   갈림길 칩 #route-choice(run-strategy.js가 #hud-progress 끝에 붙임, '⑂ C · 강한 적 · 첫 승리 +3G/장비'·'⑂ 갈림길 선택')에 tft1 자리 규칙이 없어
   진행 판 왼쪽 위(제목 '회색시티 3/9' 자리)에 그대로 얹혀 제목 윗부분이 가려졌다 → 진행 판 바로 아래 별도 줄(판 왼쪽 맞춤)의 작은 차콜 칩. 누르면 갈림길 창(그대로). */
html body.tft1 #hud-round #hud-progress #route-choice:not(:empty):not([hidden]){position:absolute!important;left:16px!important;top:calc(100% + 6px)!important;right:auto!important;bottom:auto!important;display:inline-flex!important;align-items:center;height:24px!important;width:auto!important;max-width:624px;padding:0 10px!important;margin:0!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:12px/1 var(--font-body)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:none!important;translate:none!important;cursor:pointer;z-index:9}
html body.tft1 #hud-round #hud-progress #route-choice:not(:empty):hover{border-color:var(--c-accent)!important}
/* ---------- 16. v0.12.37 핫픽스: 가려졌을 때 움직임 멈춤(02 보고 94 카지노 릴 프레임, 관리자 2026-11-03) ----------
   구매 XP 테두리 회전(t1-orbit)·맥박(t1-pulse)·전투! 주먹(t1-punch)·XP 미리보기 깜빡임(t1-ghost)이 카지노 같은 전체 화면 창 뒤에서도 돌아
   CPU 4배에서 스타일 계산 594ms(v0.12.35 334ms). body.t1-still(console-v51.js TFT1 뒤 0.5초 확인: 화면 가운데가 판이 아님·전투 중·탭 숨김)이면 멈춘다.
   모양은 그대로이고 움직임만 정지(paused)라 다시 보이면 이어서 돈다. 효과 줄이기(t1-calm)와 따로. */
body.t1-still :is(.t1-orbit b,.t1-pulse,#battle-btn .bs-fist,.t1-xp-ghost){animation-play-state:paused!important}
/* 전체 화면 창에 가려졌을 때(body.t1-covered)만: 옛 층을 포함한 HUD·상점 띠 안 모든 움직임도 정지(전투 중에는 위 t1 움직임만 멈추고 전투 HUD 연출은 그대로) */
body.t1-covered :is(#hud,#hud-bottom,#shared-shop-dock,#hud-left,#pc-equipment-icons,#cv-pouch) :is(*,*::before,*::after){animation-play-state:paused!important}
/* ---------- 17. v0.12.38 상점 카드: 합성 칩·추천 표시(사용자 실기기 'PC판 깔끔해짐'·'추천 색깔이 눈에 안 들어옴', 관리자 2026-11-03) ----------
   ① '0/3 · 1성 합성' 칩(top 76)이 도트 [32,6,100,84] 발밑과 겹침 → 도트 [32,4,100,72](contain, 정수배 아님 그대로), 칩은 이름 띠(96) 바로 위 78.
   ② 추천: 진한 초록 바탕 세로 꼬리표(3d절 356, 도트 옆) 대비가 없음 → 세로 꼬리표 없앰. 카드 테 노랑 2px(1px 테 + 안쪽 1px) + 은은한 맥박 빛(::after, 투명도만 움직임 — t1-pulse),
      카드 위 가장자리(타입 원 오른쪽 34px)에 걸친 가로 칩 '추천'(노랑 바탕·진한 글자·Galmuri 12px). 칩은 원래 단추(.shop-advice-badge, 누르면 추천 이유) 그대로라 동작은 같다. */
html body.tft1 #shared-shop-dock #shop-cards .shop-card .poke-img{top:4px!important;height:72px!important}
html body.tft1 #shared-shop-dock #shop-cards .shop-card .merge-hint{top:78px!important}
html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card.shop-recommended.shop-recommended.shop-recommended.shop-recommended{overflow:visible!important;border-color:var(--c-accent)!important;box-shadow:inset 0 0 0 1px var(--c-accent),var(--shadow-btn)!important}
html body.tft1 #shared-shop-dock #shop-cards .shop-card.shop-recommended::after{content:''!important;display:block!important;position:absolute!important;inset:-4px!important;width:auto!important;height:auto!important;border-radius:calc(var(--r-m) + 4px)!important;background:none!important;border:0!important;box-shadow:0 0 12px 2px var(--c-accent)!important;opacity:.25;pointer-events:none!important;z-index:0!important;animation:t1-pulse 1.8s ease-in-out infinite!important;transform:none!important}
html body.tft1 #hud #shared-shop-dock #shop-cards .shop-card .shop-advice-badge{left:34px!important;right:auto!important;top:-11px!important;writing-mode:horizontal-tb!important;width:auto!important;height:20px!important;padding:0 8px!important;line-height:20px!important;background:var(--c-accent)!important;background-image:none!important;color:#2B2108!important;font:700 12px/20px var(--font-head)!important;border:0!important;border-radius:4px!important;box-shadow:0 2px 0 rgba(0,0,0,.35)!important;z-index:4!important;text-shadow:none!important}
html body.tft1 #hud #shared-shop-dock #shop-cards .shop-card .shop-advice-badge *{color:inherit!important;font:inherit!important;background:none!important;border:0!important;box-shadow:none!important;writing-mode:horizontal-tb!important}
body.t1-calm #shop-cards .shop-card.shop-recommended::after{animation:none!important;opacity:.5}
body.t1-still #shop-cards .shop-card.shop-recommended::after{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){#shop-cards .shop-card.shop-recommended::after{animation:none!important;opacity:.5}}
/* ---------- 18. v0.12.38 가방·주머니 판(사용자 실기기 '주머니 아이템이 잘 안 보임', 관리자 2026-11-03) ----------
   ① 주머니 칸 20px(그림 16px)이 작아 아이템이 점처럼 보임 → 가방 칸과 같은 40px, 그림(.cv-pouch-icon)은 칸 가운데 30px(75%, 도트 그대로). 판 [296,1018,196,48], '주머니 0/4'는 판 위 테두리에 걸친 작은 이름표.
      자리를 내려고 가방 판을 [296,898]로 6px 올림(칸 4×2 928~1012).
   ② 가방 판 왼쪽 위 'e'처럼 보이던 조각 = 상점 띠 왼쪽 위 몬스터볼 표식(.t1-ball.tl, 84px 중 대부분이 가방 판 뒤) → 이 표식은 뺌(오른쪽 아래 표식은 그대로).
   ③ '가방 0/8' 옆 합성 도감 단추(#pc-crafting-book, class t1-btn의 min-height 44가 남아 22×44 알약이 판 밖으로 나옴)를 둥근 아이콘 칩 22×22로. */
html body.tft1 #pc-equipment-icons{--y:898}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch{--y:1018;--h:48;display:block!important;overflow:visible!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch>header{position:absolute!important;left:10px!important;top:-8px!important;height:16px!important;margin:0!important;padding:0 6px!important;background:#302D2B!important;border:1px solid var(--c-line)!important;border-radius:4px!important;font:10px/14px var(--font-body)!important;z-index:2}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch>header :is(b,span){font-size:10px!important;line-height:14px!important}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch>header small{display:none!important}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-grid{position:absolute!important;left:11px!important;top:3px!important;margin:0!important;gap:4px!important}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-grid .cv-pouch-slot{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;background:var(--c-slot)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;padding:0!important}
html body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-slot :is(img,.cv-pouch-icon){width:30px!important;height:30px!important;min-width:0!important;min-height:0!important;margin:0!important;object-fit:contain;background-size:contain!important;background-position:center!important;image-rendering:pixelated}
/* 04 11-06 사용자 제보: '주머니 4/4' 이름표(위 −8, 16 높이)가 아이콘 윗줄을 덮어 숫자 '4'가 그림과 겹쳐 보임 → 이름표를 조금 위로, 칸 줄을 아래로(판 48 안, 칸 40 = 가방 칸 크기 그대로) */
html body.tft1 #cv-pouch#cv-pouch#cv-pouch>header{top:-13px!important}html body.tft1 #cv-pouch#cv-pouch#cv-pouch .cv-pouch-grid{top:6px!important}
html body.tft1 #shared-shop-dock .shop-area .t1-ball.tl{display:none!important}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-height:22px!important;flex:none!important;padding:0!important;border-radius:50%!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;box-shadow:none!important;overflow:hidden!important}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book img{width:14px!important;height:14px!important}
/* ---------- 19. v0.12.38 휴대폰: 세로가 긴 터치 화면의 아래 빈 공간(02 보고 95 ②, 사용자 '아래 빈 공간', 관리자 2026-11-03) ----------
   hud85m 배율 k=min(폭/844, 높이/390)이 폭에 걸리는 화면(1000×657·1024×600)은 설계 390 아래가 비었다(200px·132px, v0.12.36부터).
   --t1mbd = 높이/k − 390(설계 단위, console-v51.js TFT1.sync) 만큼 아래 묶음만 내려 바닥에 붙인다: 벤치 줄(안에 전투! #dock-start 포함)·구매 XP·새로고침.
   상점 띠(#shared-shop-dock)가 zoom=k라 top 값은 설계 단위 그대로(translate는 새 쌓임 맥락을 만들어 배치 수가 골드 띠 밑에 깔려 top으로 옮김). 상점 목록·레벨 띠·잠금·가방·왼쪽 기둥은 위에 그대로.
   판 경계(EquipmentDock.bounds 훅)도 같은 값만큼 아래로 늘린다. 844×390·915×412(남는 세로 0)은 그대로. */
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-bench-row#dock-bench-row#dock-bench-row{top:calc(103px + var(--t1mbd,0)*1px)!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock :is(#xp-btn#xp-btn#xp-btn,#reroll-btn#reroll-btn#reroll-btn){top:calc(99px + var(--t1mbd,0)*1px)!important}
/* 배치 수(#hud-deploy-count)는 #dock-start 안 → #dock-bench-row 안이라 같이 내려가므로 같은 값만큼 되올려 레벨 띠 자리에 둔다 */
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count{top:calc(-265px - var(--t1mbd,0)*1px)!important}
/* ---------- 20. v0.12.38 강제 다크 사양 보강(02 보고 95 ①, 관리자 2026-11-03) ----------
   12절 :root{color-scheme:only light}(+ index.html meta)로도 Chrome 강제 다크(WebContentsForceDark)가 ≡ 선·'2/2 배치' 초록 숫자를 어둡게 바꿨다.
   Chrome·삼성 인터넷 자동 다크는 '이미 어두운 화면'(color-scheme: dark)을 밝힌 페이지는 건드리지 않는다 — 새 화면은 처음부터 어두운 차콜 화면이므로
   새 화면(body.tft1/tft1m)일 때만 dark로 밝힌다(헤드리스 강제 다크 전후 캡처로 확인). 옛 화면(?ui=old)은 12절 only light 그대로(기본 글자색이 바뀌지 않게). */
:root:has(> body.tft1),:root:has(> body.tft1m){color-scheme:dark!important}
/* ---------- 21. v0.12.38 '전용기!/전체기!' 띠(#ex-flash, 03 기술 이름 띠 회신 약속, 관리자 2026-11-03) ----------
   옛 보라 알약(console-v51.css 1337, 보라 테·보라 빛 글자) → 차콜 판 + 위 노랑 줄 + Galmuri 노랑 글자. 자리(위 가운데 16%)·0.8초·아군 4성 전용기 발동 때만은 그대로. */
html body:is(.tft1,.tft1m) #ex-flash{padding:6px 22px 7px!important;border-radius:var(--r-m)!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-top:3px solid var(--c-accent)!important;box-shadow:var(--shadow)!important;color:var(--c-accent)!important;font:700 clamp(18px,2vw,28px)/1.2 var(--font-head)!important;text-shadow:none!important;white-space:nowrap}
/* ---------- 22. v0.12.38 휴대폰 상점 '추천'(관리자 2026-11-03 캡처 지적 — 사용자 '추천 색깔이 눈에 안 들어옴') ----------
   4절 칩이 카드 왼쪽 위 [2,2](도트 위)에 진한 청록 바탕 9px라 도트를 가리고 거의 안 읽힘 → PC 17절과 같은 규칙: 카드 노랑 테(1px 테+안쪽 1px),
   노랑 바탕·진한 글자 칩 10px을 카드 위 가장자리 오른쪽(i 단추 왼쪽)에 걸침 — 도트·이름을 가리지 않음. 누르면 추천 이유(단추 그대로). */
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.shop-recommended{overflow:visible!important;border-color:var(--c-accent)!important;box-shadow:inset 0 0 0 1px var(--c-accent)!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge{left:auto!important;right:30px!important;top:-8px!important;height:14px!important;padding:0 5px!important;font:700 10px/14px var(--font-head)!important;color:#2B2108!important;background:var(--c-accent)!important;background-image:none!important;border:0!important;outline:0!important;border-radius:3px!important;box-shadow:0 1px 0 rgba(0,0,0,.35)!important;z-index:5!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge *{color:inherit!important;font:inherit!important;background:none!important;border:0!important;box-shadow:none!important}
/* ---------- 23. v0.12.38 레벨 XP 막대(사용자 실기기 '레벨업 게이지 칸이 좀 안 맞음', 관리자 2026-11-03) ----------
   ① 미리보기 구간이 진한 청회색이라 빈 칸처럼 보임 → 지금 XP 노랑(그대로) · 미리보기 밝은 노랑 반투명 + 깜빡임(t1-ghost 그대로) · 빈 곳 어두운 칸(그대로)으로 셋 구분.
   ② 눈금(제안값) — v0.12.39: 구매 XP 1번(4XP)당 한 칸, 마지막 칸은 남은 XP만큼 짧게(30칸 넘으면·MAX 생략) — console-v51.js TFT1.xpGhost가 --xpn·data-ticks를 둔다.
   ③ '0/6→레벨 업!'이 글자 줄 밖으로 나가 막대보다 길어 보임 → 레벨 업일 때 10px, 글자 줄은 막대와 같은 폭 안에서 줄바꿈 없이(넘치면 자름). PC·휴대폰 같은 규칙. */
:is(body.tft1,body.tft1m){--c-xp-ghost:rgba(255,224,130,.55);--c-xp-ghost-hot:rgba(255,236,170,.95);--c-xp-ghost-text:#FFE082}
html body:is(.tft1,.tft1m) #hud-level .hud-xp-track[data-ticks]:not([data-ticks="0"])::after{content:''!important;display:block!important;position:absolute!important;inset:0!important;pointer-events:none!important;z-index:3!important;border-radius:inherit;
 background:repeating-linear-gradient(90deg,transparent 0 calc(100% / var(--xpn,1) - 1px),rgba(20,18,17,.85) calc(100% / var(--xpn,1) - 1px) calc(100% / var(--xpn,1)))!important}
html body.tft1 #shared-shop-dock #hud-level#hud-level #hud-level-title{overflow:hidden!important}
html body:is(.tft1,.tft1m) #hud-level #t1-xp-proj{white-space:nowrap!important;flex:none}
html body:is(.tft1,.tft1m) #hud-level #t1-xp-proj.t1-up{font-size:10px!important}
html body:is(.tft1,.tft1m) #hud-level #t1-xp-proj.t1-up b{font-size:10px!important}
/* ---------- 24. v0.12.38 상점 확률 줄 코스트 숫자(관리자 2026-11-03, 사용자 '8~12코스트는 빠졌냐') ----------
   ① 칸마다 '1코 27%' — 숫자는 흐린 본문 글꼴, 값은 Galmuri 굵게. 점은 CostChip 색(8코 금빛·12코 무지개 그레이디언트)
   ② 8코·12코는 늘 보임, 0%면 흐림(5코도 같음). 값은 LevelOdds.distribution = 06 EvolutionShop.availability 그대로
   ③ 휴대폰은 상점 띠 줄이 가방 단추 밑으로 새서(12절 ⑤) 따로 #t1-odds-m — 준비 단계에만 화면 위 가운데(844 좌표 x397·y6) */
body.tft1 #t1-odds{gap:12px}
body.tft1 :is(#t1-odds,#t1-odds-m) b{font:12px/1 var(--font-body);color:var(--c-dim);margin-right:3px}
body.tft1 :is(#t1-odds,#t1-odds-m) span[data-zero]{opacity:.45}
body.tft1 :is(#t1-odds,#t1-odds-m) span[data-cost="8"] i,body.tft1 :is(#t1-odds,#t1-odds-m) span[data-cost="12"] i{width:9px;height:9px;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
#t1-odds-m{display:none}
html body.tft1m.hud85m #t1-odds-m:not([hidden]){display:flex;position:fixed;left:calc(var(--t1ma,0px) + 397*var(--m85k)*1px);top:calc(6*var(--m85k)*1px);transform-origin:50% 0;transform:translateX(-50%) scale(var(--m85k));height:22px;align-items:center;gap:8px;padding:0 10px;border-radius:var(--r-s,6px);background:var(--c-panel-solid,#24262c);border:1px solid var(--c-line,#3a3d45);font:700 11px/1 var(--font-head);color:var(--c-text);white-space:nowrap;pointer-events:none;z-index:30}
html body.tft1m.hud85m #t1-odds-m span{display:inline-flex;align-items:center;gap:3px}
html body.tft1m.hud85m #t1-odds-m i{width:7px;height:7px;border-radius:50%;background:var(--c)}
html body.tft1m.hud85m #t1-odds-m b{font-size:10px;margin-right:1px}
/* ---------- 26. v0.12.38 월드 투어 입구 숨김(사용자 결정 2026-11-03, 옛 화면·새 화면 모두) ----------
   console-v51.js WORLD_TOUR_GATE가 body.wt-off를 둔다(?worldtour=1이면 안 둠). console-v51.css의 body.playing #hud-options>#world-tour-btn{display:grid!important}(ID 2개)·tft1m 메뉴 열림 :is(#world-tour-btn×3)(ID 3 + 클래스 3)보다 세게 ID 3 + 클래스 4. */
html body.wt-off.wt-off.wt-off.wt-off #world-tour-btn#world-tour-btn#world-tour-btn,html body.wt-off #mobile-menu [data-mobile-action="tour"],html body.wt-off [data-mobile-action="tour"]{display:none!important}
/* 빈 칸 없이: 도감을 월드 투어 칸(PC y164·휴대폰 y148)으로 올림 */
html body.tft1.wt-off.t1-menu-open #field-guide-btn{--y:164}
html body.tft1m.hud85m.wt-off.t1-menu-open #mobile-guide#mobile-guide#mobile-guide{--y:148}
/* ---------- 27. v0.12.38 골드 칩 상점 띠 위 가운데(롤 TFT식, 관리자 2026-11-03) ----------
   ① #dock-wallet을 상점 띠 가운데(1920 기준 골드·연승·이자 묶음 가운데 x960, 최대 약 826~1093)로. 골드 칩은 동전 + Galmuri 26px, 높이 34(카드 위 1px 남김)
   ② 연승 불꽃 칩(hud-live-preview .hud-win-streak, 0연승이면 숨김 그대로) — 골드 칩 안 오른쪽 작은 차콜·주황 테 칩
   ③ '이자 +N' 노랑 칩 + 이자 단계 눈금(GoldIncome.cap = 4칸 실제값, 제안 5칸 아님 · 채운 칸 = GoldIncome.interest) — 06 gold-ui .interest-coins를 그대로 보임(gold-ui.css의 min-width·flex-basis 12px, 배지 폭 22px 고정을 풂)
   ④ 확률 줄(24구획)은 골드 묶음 오른쪽(1920 x1106~1580)으로 옮기고 간격을 좁힘. 레벨은 왼쪽 위, 잠금은 오른쪽 위 그대로
   ⑤ 휴대폰은 Lv 줄 오른쪽 골드 밑 '이자 +N'을 노랑 칩으로 */
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet{left:522px!important;top:101px!important;width:300px!important;height:34px!important;justify-content:center!important;gap:8px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{height:34px!important;min-width:104px!important;justify-content:center!important;padding:0 12px!important;font:700 26px/1 var(--font-head)!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{font:18px/1 var(--font-body)!important;margin-right:6px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak:not([data-streak="0"]){display:inline-flex!important;align-items:center;gap:2px;margin-left:8px!important;padding:2px 6px!important;border:1px solid #E8803A!important;border-radius:8px;background:rgba(232,128,58,.16)!important;font:700 12px/1 var(--font-head)!important;color:#FFB27A!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak:not([data-streak="0"])::before{content:none!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak:not([data-streak="0"]) img{display:inline-block!important;width:12px!important;height:12px!important;image-rendering:pixelated}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold .hud-win-streak:not([data-streak="0"]) b::after{content:'연승'}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side{display:inline-flex!important;align-items:center!important;gap:6px!important;height:22px!important;padding:0 8px!important;border-radius:11px!important;background:var(--c-accent)!important;color:#1D1A14!important;font:700 12px/1 var(--font-head)!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side .interest-badge{order:0;color:#1D1A14!important;width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;white-space:nowrap;overflow:visible!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side .interest-badge::before{color:#1D1A14!important;font:700 12px/1 var(--font-head)!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side .interest-coins{order:1;display:inline-flex!important;gap:2px!important;margin-left:2px!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side .interest-coin{display:inline-block!important;width:5px!important;min-width:0!important;flex:0 0 5px!important;height:10px!important;border-radius:1px;background:#1D1A14!important}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side .interest-coin.empty{background:rgba(29,26,20,.25)!important}
body.tft1 #t1-odds{left:792px!important;gap:4px} /* 11-05 사용자 제보: 전투 중 기록 단추(#cv-blog-open --x:1556)가 12코 %를 가림 → 간격 6→4·왼쪽 26px, 가장 긴 레벨 8에서도 끝이 단추 앞 10px 이상 */
body.tft1 #t1-odds::before{margin-right:0}
body.tft1 #t1-odds span{gap:3px}
body.tft1 #t1-odds b{margin-right:2px}
html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side{height:14px!important;padding:0 5px!important;border-radius:7px!important;background:var(--c-accent)!important;color:#1D1A14!important;font:700 10px/14px var(--font-head)!important}
html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side .interest-badge{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;white-space:nowrap;overflow:visible!important;color:#1D1A14!important}
html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side .interest-badge::before{color:#1D1A14!important}
/* ---------- 29. v0.12.38 AI 전술 코치 창(관리자 2026-11-03) ----------
   ① 남색 판 → 차콜 판(--c-panel-solid) + 위 노랑 줄 3px, 제목 Galmuri. 위 오른쪽 ↻·⏮·⌃·✕는 차콜 아이콘 단추 28×28(휴대폰 36, tactics-coach.css flex:0 0 44px를 덮음)
   ② '지금 할 행동 1순위' = 노랑 왼쪽 막대 + 굵게, '추천 주력' = 흐린 왼쪽 막대(보조 강조). 상자 안 상자(남색 카드 테두리)는 빼고 구분선으로 나눔
   ③ 'Lv·골드·필드·벤치' 첫 줄은 작은 칩(console-v51.js TFT1.coachChips가 ' · '로 나눔, 글자 그대로), 둘째 줄은 흐린 작은 글자
   ④ '분석 근거·전체 정보'는 접힌 줄(▶, details 그대로) — 펼친 안쪽 카드도 같은 차콜 톤. 문구 중복 정리는 08 몫 */
html body:is(.tft1,.tft1m) #strategy-overlay .strategy-panel{background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-top:3px solid var(--c-accent)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .strategy-panel #strategy-title{font:700 14px/1.2 var(--font-head)!important;color:var(--c-text)!important;letter-spacing:0}
html body.tft1m #strategy-overlay .strategy-panel #strategy-title{font-size:16px!important}
html body:is(.tft1,.tft1m) #strategy-overlay .strategy-panel header :is(.coach-tools button,#coach-fold,#strategy-close){width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex:0 0 28px!important;display:inline-grid!important;place-items:center;padding:0!important;background:rgba(255,255,255,.06)!important;border:1px solid var(--c-line)!important;border-radius:6px!important;color:var(--c-text)!important;font:700 14px/1 var(--font-body)!important;box-shadow:none!important}
html body.tft1m #strategy-overlay .strategy-panel header :is(.coach-tools button,#coach-fold,#strategy-close){width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important}
html body:is(.tft1,.tft1m) #strategy-overlay .strategy-panel header :is(.coach-tools button,#coach-fold,#strategy-close):is(:hover,:focus-visible){border-color:var(--c-accent)!important;color:var(--c-accent)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .strategy-panel header .coach-tools button:disabled{opacity:.4}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-verdict{font:700 14px/1.35 var(--font-body)!important;color:var(--c-accent)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-summary{color:var(--c-dim)!important;font:11px/1.4 var(--font-body)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-summary .t1-cchips{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-summary .t1-cchips span{font:700 11px/18px var(--font-head);padding:0 6px;border-radius:4px;background:rgba(255,255,255,.08);border:1px solid var(--c-line);color:var(--c-text)}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-advice{background:none!important;border:0!important;border-bottom:1px solid var(--c-line)!important;border-radius:0!important;box-shadow:none!important;padding:8px 4px 8px 40px!important;margin:0!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-cards{gap:0!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-cards .coach-advice:first-child{border-left:3px solid var(--c-accent)!important;background:rgba(255,224,138,.06)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-cards .coach-advice:first-child h3{color:var(--c-accent)!important;font-weight:700!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-cards .coach-advice:first-child p{font-weight:700!important;color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-cards .coach-advice:nth-child(2){border-left:3px solid rgba(255,255,255,.28)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-advice h3{font:700 12px/1.3 var(--font-head)!important;color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-advice p{color:var(--c-text)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-evidence{background:none!important;border:0!important;border-top:1px solid var(--c-line)!important;border-radius:0!important;box-shadow:none!important;margin-top:4px!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-evidence>summary{background:none!important;border:0!important;padding:8px 4px!important;color:var(--c-dim)!important;font:12px/1.3 var(--font-body)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-evidence .coach-tabs button{background:rgba(255,255,255,.06)!important;border:1px solid var(--c-line)!important;color:var(--c-text)!important;border-radius:6px!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-evidence .coach-tabs button[aria-selected="true"]{border-color:var(--c-accent)!important;color:var(--c-accent)!important}
html body:is(.tft1,.tft1m) #strategy-overlay .coach-advice::before{background:rgba(255,255,255,.06)!important;border:1px solid var(--c-line)!important;color:var(--c-accent)!important;box-shadow:none!important}
/* ---------- 30. v0.12.38 휴대폰 갈림길 칩(관리자 2026-11-03, tft1m에서 안 보이고 안 눌림 — 옛 화면도 같아 회귀 아님) ----------
   원인: #route-choice(08 run-strategy.js가 #hud-progress 끝에 붙임)가 휴대폰 진행 띠 안 y43에 9px로 놓여 단계 점 밑에 깔림.
   갈림길 고르기 자체는 전투!(combat.js 51: RouteBranches.pending이면 RouteBranches.open)로 휴대폰에서도 됐다 → 칩은 안내·바로 열기용.
   #hud-round가 transform:scale(--m85k)라 fixed 칩의 기준이 이 띠 → 844 좌표 x397·y34(띠 원점 6,5 뺌)에 가운데 맞춤, 높이 28 차콜 칩. 누르면 갈림길 창(그대로). */
html body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-progress #route-choice:not(:empty):not([hidden]){position:fixed!important;left:391px!important;top:29px!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;display:inline-flex!important;align-items:center;height:28px!important;width:auto!important;max-width:440px;padding:0 12px!important;margin:0!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-accent)!important;border-radius:14px!important;color:var(--c-text)!important;font:700 12px/1 var(--font-head)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:var(--shadow)!important;z-index:40!important;pointer-events:auto!important;cursor:pointer}
/* ---------- 31. v0.12.38 1180×820(PC 배치 + 터치) 확인(관리자 2026-11-03) ----------
   ① F·R·SPACE 키캡: 키보드 없는 터치 화면(hover:none 그리고 pointer:coarse)에서는 숨김. 터치 노트북(마우스·터치 둘 다, hover 있음)은 그대로. 휴대폰은 12구획 그대로
   ② 가방 위 남색 덩어리 = 옛 상점 독 그림(equipment-xp.css body.equipment-xp.playing #shared-shop-dock var(--dock-skin), 클래스 2개)이
      tft1 background:none(3절, 클래스 1개)을 이겨 가방 판 위로 비침 → 더 세게 지움. 1180처럼 가방 판이 낮은 크기에서만 보였다
   ③ (같이 발견, 기존부터) '0/8' 글자가 가방 판 위로 삐져나옴 — console-v51.css 옛 HUD 규칙(@min-width:1100px, :not(.work-pc-hud))이 #pc-bag-count>b를 translateY(-30px)·margin-left:-44px로 옮김.
      1920 마우스는 work-pc-hud라 안 걸리고, 1180 터치는 work-pc-hud가 없어 걸림 → tft1에서는 풂 */
@media (hover:none) and (pointer:coarse){html body.tft1 #shared-shop-dock#shared-shop-dock :is(#xp-btn#xp-btn#xp-btn,#reroll-btn#reroll-btn#reroll-btn)::after,html body.tft1 #shared-shop-dock#shared-shop-dock #dock-start #battle-btn#battle-btn#battle-btn>small{display:none!important}}
html body.tft1.equipment-xp #shared-shop-dock#shared-shop-dock{background:none!important}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-bag-count>b{transform:none!important;margin:0!important;width:auto!important}
/* ---------- 25. v0.12.38 가방 옆 합성 도감 단추(관리자 2026-11-03, 사용자 '가방 옆 도감 부분이 짜침, 아이콘도 바꿔야') ----------
   ① PC #pc-crafting-book: 파란 책 그림 22px 원 → 차콜 둥근 단추(높이 20 = 가방 제목 줄) + 도감 기기 도트 아이콘(05 GPT 117-2 A안 assets/ui/dex-icon/dex_device_A_16.webp, 16px = 1배). equipment-repair.css가 button::before·::after를 display:none!important로 꺼서 다시 켬 + 'Galmuri 도감' 글자
      (그림은 ::before — --c-panel-solid가 그레이디언트라 background-image를 덮지 않음, 4절 함정)
   ② 휴대폰 도구 창 #tool-window '▤' 글자 단추(06 tool-window.js, 표시만 덮음) → 같은 아이콘(32판을 16px, 2배 화면 정수배) + '도감'
   ③ 아이콘은 05 dev/art 9c554189(A안, 사용자 확인 전 — B안이면 파일 이름만 dex_device_B_*). 'e' 무늬는 18구획 ②에서 이미 뺌 */
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book{width:auto!important;min-width:0!important;height:20px!important;min-height:20px!important;max-height:20px!important;display:inline-flex!important;align-items:center;gap:4px;padding:0 8px 0 6px!important;border-radius:10px!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;color:var(--c-text)!important;font:11px/1 var(--font-head)!important;cursor:pointer}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book img{display:none!important}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book::before{content:'';display:block!important;width:16px;height:16px;flex:none;background:url(assets/ui/dex-icon/dex_device_A_16.webp) center/16px 16px no-repeat;image-rendering:pixelated}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book::after{content:'도감';display:block!important}
html body.tft1 #pc-equipment-icons#pc-equipment-icons #pc-crafting-book:is(:hover,:focus-visible){border-color:var(--c-accent)!important;color:var(--c-accent)!important}
html body.tft1m #tool-window#tool-window .tw-icon[data-tw="codex"]{width:auto;min-width:64px;padding:0 10px 0 8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:0;color:var(--c-text);background:var(--c-panel-solid);border:1px solid var(--c-line);border-radius:17px}
html body.tft1m #tool-window#tool-window .tw-icon[data-tw="codex"]::before{content:'';width:16px;height:16px;flex:none;background:url(assets/ui/dex-icon/dex_device_A_32.webp) center/16px 16px no-repeat;image-rendering:pixelated}
html body.tft1m #tool-window#tool-window .tw-icon[data-tw="codex"]::after{content:'도감';font:13px/1 var(--font-head)}
/* ---------- 32. v0.12.38 전설 코스트 색 = 확률 줄과 같게(관리자 결정 2026-11-03 '한 화면에서 같은 코스트가 두 색이면 헷갈림') ----------
   06 LEGEND_SHOP 종(CostChip.legend, data-legend="1")만: 8코 = 빨강 #E8546B, 12코 = 무지개(CostChip 12, 확률 줄 24구획과 같은 그레이디언트).
   상점 카드 값 글자·대기석 칩(옛 hud65a cost_chip_8/12 그림)을 덮는다. 진화 완성체 8G(top-*, data-legend="0")는 결정 389대로 일반 표시 */
html body:is(.tft1,.tft1m) #shared-shop-dock #shop-cards#shop-cards .shop-card .shop-cost[data-legend="1"][data-cost="8"]{color:#E8546B!important}
html body:is(.tft1,.tft1m) #shared-shop-dock #shop-cards#shop-cards .shop-card .shop-cost[data-legend="1"][data-cost="12"]{background:linear-gradient(90deg,#ff6b6b,#ffd23f,#5ce08a,#4fb3ff,#b07cff,#ff6bd5)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:none!important;filter:none!important;opacity:1!important}
html body:is(.tft1,.tft1m) #bench#bench .bench-cost[data-legend="1"][data-cost="8"]{background:#E8546B!important;color:#fff!important;border-radius:50%!important;box-shadow:0 0 0 1px rgba(255,255,255,.5)!important}
html body:is(.tft1,.tft1m) #bench#bench .bench-cost[data-legend="1"][data-cost="12"]{background:linear-gradient(135deg,#ff6b6b,#ffd23f,#5ce08a,#4fb3ff,#b07cff,#ff6bd5)!important;color:#1D1A14!important;border-radius:50%!important;box-shadow:0 0 0 1px rgba(255,255,255,.7)!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-cost[data-legend="1"][data-cost="8"]{color:#E8546B!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-cost[data-legend="1"][data-cost="12"]{background:linear-gradient(90deg,#ff6b6b,#ffd23f,#5ce08a,#4fb3ff,#b07cff,#ff6bd5)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:none!important;filter:none!important;opacity:1!important}
/* ---------- 33. v0.12.38 휴대폰 폭격 결말 때 왼쪽 판 흐림(관리자 결정 2026-11-03, 03 폭격 개편 7b1921b4 캡처 '내 트레이너가 왼쪽 판에 가림') ----------
   03이 결말(f.ending)이 시작될 때 body.combat-ending을 붙인다(관리자가 03에 요청). 그동안 tft1m 왼쪽 판(가방·AI·주머니·상성)을 .25로 흐리게 하고 누름을 막는다.
   트레이너 자리는 옮기지 않음(판 좌표는 03 몫). 클래스가 없으면 아무 변화 없음 */
html body.tft1m.hud85m :is(#dock-toolbar [data-dock="toggle"],#coach-btn#coach-btn#coach-btn,#cv-pouch#cv-pouch#cv-pouch,#type-chart-btn#type-chart-btn#type-chart-btn){transition:opacity .2s ease}
html body.tft1m.hud85m.combat-ending #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock="toggle"],html body.tft1m.hud85m.combat-ending :is(#coach-btn#coach-btn#coach-btn,#cv-pouch#cv-pouch#cv-pouch,#type-chart-btn#type-chart-btn#type-chart-btn){opacity:.25!important;pointer-events:none!important}
@media (prefers-reduced-motion:reduce){html body.tft1m.hud85m :is(#dock-toolbar [data-dock="toggle"],#coach-btn,#cv-pouch,#type-chart-btn){transition:none}}
/* ---------- 28. v0.12.38 활성 시너지 목록 판(관리자 2026-11-03, 롤 TFT 특성 목록 기준) ----------
   ① 반투명 차콜 판(기둥 [24,172,224,234]) + 제목 Galmuri 작게. 줄 36 + 간격 4 = 40, 5줄 넘으면 스크롤(10구획 B 그대로, 높이 196)
   ② 활성: 육각 = 등급색(data-step 1 브론즈·2 실버, data-max 금빛 — console-v51.js TFT1.synSteps), 이름 굵게, 아래 단계 칸(다다름 밝게·지금 노랑)
   ③ 비활성: 회색 육각(2절 그대로) + 줄 흐림, 아래 정렬(ui.js 활성·비활성 목록 순서 그대로). 말풍선(title) 그대로
   ④ --t1syn = 0: 스크롤이라 AI·상성 단추를 밀지 않음(전에는 줄 수만큼 밀려 빈 틈)
   ⑤ 휴대폰 #mobile-synergy 아이콘도 같은 등급색 육각(data-tier·data-max) */
body.tft1 #hud-left #hud-synergies#hud-synergies{left:0!important;top:84px!important;width:224px!important;padding:8px 8px 8px 10px!important;box-sizing:border-box!important;background:rgba(30,31,35,.78)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-m)!important;box-shadow:var(--shadow)!important}
body.tft1 #hud-left #hud-synergies#hud-synergies::before{font:700 11px/16px var(--font-head)!important;color:var(--c-dim)!important;margin-bottom:6px!important}
body.tft1 #hud-left #synergy-list#synergy-list{width:206px!important;max-height:196px!important;gap:4px!important;padding-right:2px!important}
body.tft1 #hud-left #synergy-list#synergy-list :is(.synergy-active-list,.synergy-inactive-list){width:200px!important;gap:4px!important}
body.tft1 #hud-left #synergy-list .synergy-entry{width:200px!important;height:36px!important;padding:0 6px 0 4px!important;border-radius:6px!important;box-sizing:border-box!important}
body.tft1 #hud-left #synergy-list .synergy-entry.active{background:rgba(255,255,255,.05)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.inactive{opacity:.55}
body.tft1 #hud-left #synergy-list .synergy-entry .syn-data{display:flex!important;flex-direction:column;justify-content:center;gap:3px}
body.tft1 #hud-left #synergy-list .synergy-entry .syn-top strong{font:700 13px/1 var(--font-body)!important}
body.tft1 #hud-left #synergy-list .synergy-entry .syn-top b{font:700 13px/1 var(--font-head)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.active .syn-top b{color:var(--c-accent)!important}
body.tft1 #hud-left #synergy-list .synergy-entry .t1-steps{display:flex;gap:3px;line-height:1}
body.tft1 #hud-left #synergy-list .synergy-entry .t1-steps i{font:700 10px/12px var(--font-head);font-style:normal;padding:0 3px;border-radius:3px;color:var(--c-dim);background:rgba(255,255,255,.06)}
body.tft1 #hud-left #synergy-list .synergy-entry .t1-steps i.on{color:var(--c-text);background:rgba(255,255,255,.16)}
body.tft1 #hud-left #synergy-list .synergy-entry .t1-steps i[data-now]{color:#1D1A14;background:var(--c-accent)}
body.tft1 #hud-left #synergy-list .synergy-entry.active[data-step="1"]>:first-child{background:linear-gradient(160deg,#D8955A,#8A5226)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.active[data-step="2"]>:first-child{background:linear-gradient(160deg,#E4E9F0,#8E98A6)!important}
body.tft1 #hud-left #synergy-list .synergy-entry.active[data-max]>:first-child{background:linear-gradient(160deg,#FFE9A3,#C8962B)!important}
html body.tft1 #coach-btn#coach-btn#coach-btn{--y:412}
html body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i>:first-child{width:20px!important;height:20px!important;border:0!important;border-radius:0!important;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:var(--c-badge-off,#4A4D55)!important}
html body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i[data-tier="1"]>:first-child{background:linear-gradient(160deg,#D8955A,#8A5226)!important}
html body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i[data-tier="2"]>:first-child{background:linear-gradient(160deg,#E4E9F0,#8E98A6)!important}
html body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i[data-max]>:first-child{background:linear-gradient(160deg,#FFE9A3,#C8962B)!important}
html body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i[data-tier="0"]{opacity:.55}
/* ⑥ (관리자 2026-11-03) '격투가'(역할)·'격투'(타입)가 나란히 헷갈림 → 타입 시너지 이름 옆 작은 '타입' 칩(data-kind="type", TFT1.synSteps가 SynergyRules.get(key).kind로 둠) */
body.tft1 #hud-left #synergy-list .synergy-entry[data-kind="type"] .syn-top strong::after{content:'타입';display:inline-block;margin-left:4px;padding:0 3px;border:1px solid var(--c-line);border-radius:3px;font:700 9px/12px var(--font-head);color:var(--c-dim);vertical-align:1px}
/* ---------- 36. v0.12.39 관장 선택 화면(③-1, GymSelectT1 · #work-gyms.t1gc) ----------
   단위 --u = 화면 높이 1%(PC는 가로 0.56%와 작은 쪽, 휴대폰 1.3vh). 휴대폰은 backdrop-filter가 꺼져 있어 어둡게만 한다. */
#work-gyms.t1gc{--u:min(1vh,.56vw);background:rgba(14,13,12,.62);-webkit-backdrop-filter:blur(7px) brightness(.7);backdrop-filter:blur(7px) brightness(.7);color:var(--c-text);font-family:var(--font-body)}
body.tft1m #work-gyms.t1gc{--u:1.3vh;background:rgba(10,10,10,.82);-webkit-backdrop-filter:none;backdrop-filter:none}
#work-gyms.t1gc>canvas{display:none}
html body #work-gyms.t1gc .work-gym-controls{position:absolute;inset:0;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;align-items:flex-end;gap:calc(var(--u)*2.2) calc(var(--u)*2.6)}
#work-gyms.t1gc .t1gc-hd{flex:0 0 100%;display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*1.2);margin-bottom:calc(var(--u)*.4);pointer-events:none}
#work-gyms.t1gc .t1gc-hd small{font:700 max(11px,calc(var(--u)*1.9))/1 var(--font-head);color:var(--c-dim);letter-spacing:.08em}
#work-gyms.t1gc .t1gc-hd b{font:700 calc(var(--u)*4.4)/1 var(--font-head);text-shadow:0 3px 0 rgba(0,0,0,.6)}
body.tft1m #work-gyms.t1gc .t1gc-hd b{font-size:calc(var(--u)*3.6)}
#work-gyms.t1gc .t1gc-bd{display:flex;gap:calc(var(--u)*.7);align-items:center;padding:calc(var(--u)*.7) calc(var(--u)*1.2);border-radius:var(--r-s);background:var(--g-band);border:1px solid var(--c-line);box-shadow:var(--shadow)}
#work-gyms.t1gc .t1gc-bd img{width:calc(var(--u)*3.4);height:calc(var(--u)*3.4);object-fit:contain}
#work-gyms.t1gc .t1gc-bd img.no{opacity:.22;filter:grayscale(1)}
#work-gyms.t1gc .t1gc-bd em{font:700 max(11px,calc(var(--u)*1.9))/1 var(--font-head);font-style:normal;color:var(--c-accent);margin-left:calc(var(--u)*.6)}
html body #work-gyms.t1gc .work-gym-controls [data-gym]{position:relative;left:auto;top:auto;width:calc(var(--u)*34);height:calc(var(--u)*50);border-radius:var(--r-s);overflow:hidden;background:var(--c-panel-solid);border:1px solid rgba(255,255,255,.18);box-shadow:var(--shadow-panel);transition:transform .14s ease-out,box-shadow .14s ease-out,filter .14s ease-out}
html body.tft1m #work-gyms.t1gc .work-gym-controls{gap:calc(var(--u)*1.6) calc(var(--u)*2.2)}
html body.tft1m #work-gyms.t1gc .work-gym-controls [data-gym]{width:calc(var(--u)*31);height:calc(var(--u)*41)}
body.tft1m #work-gyms.t1gc .t1gc-hd{gap:calc(var(--u)*.8);margin-bottom:0}
#work-gyms.t1gc .t1gc-card,#work-gyms.t1gc .t1gc-card>*{position:absolute;display:block}
#work-gyms.t1gc .t1gc-card{inset:0}
#work-gyms.t1gc .t1gc-card .sc{inset:0 0 34% 0;background-size:cover;background-position:center;filter:brightness(.5) saturate(.8)}
#work-gyms.t1gc .t1gc-card .sc::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,#292725)}
#work-gyms.t1gc .t1gc-card .tb{left:0;right:0;top:0;height:calc(var(--u)*.6);background:var(--tc)}
#work-gyms.t1gc .t1gc-card .pt{left:4%;top:4%;width:92%;height:66%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 4px 0 rgba(0,0,0,.45))}
#work-gyms.t1gc .t1gc-card .ky{left:calc(var(--u)*1.2);top:calc(var(--u)*1.6);width:calc(var(--u)*3.6);height:calc(var(--u)*3.6);display:grid;place-items:center;border-radius:5px;font:700 max(12px,calc(var(--u)*2.2))/1 var(--font-head);font-style:normal;background:var(--c-key);color:var(--c-text);border:1px solid rgba(255,255,255,.3);box-shadow:0 2px 0 rgba(0,0,0,.6)}
#work-gyms.t1gc .t1gc-card .no{right:calc(var(--u)*1.2);top:calc(var(--u)*1.8);font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);font-style:normal;color:var(--c-dim)}
#work-gyms.t1gc .t1gc-card .bn{left:0;right:0;bottom:0;height:31%;box-sizing:border-box;padding:calc(var(--u)*1.3) calc(var(--u)*1.6);display:flex;flex-direction:column;gap:calc(var(--u)*.9);text-align:left;background:var(--g-band);border-top:1px solid var(--c-line)}
#work-gyms.t1gc .t1gc-card .bn>b{font:700 calc(var(--u)*3.4)/1 var(--font-head);color:var(--c-text)}
#work-gyms.t1gc .t1gc-card .bn>small{font:500 max(11px,calc(var(--u)*1.7))/1 var(--font-body);color:var(--c-dim)}
#work-gyms.t1gc .t1gc-card .rw{display:flex;gap:calc(var(--u)*.8);align-items:center;margin-top:auto}
#work-gyms.t1gc .t1gc-card .chip{display:inline-flex;align-items:center;gap:calc(var(--u)*.5);height:calc(var(--u)*2.8);padding:0 calc(var(--u)*.9);border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line);font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);color:var(--c-text);white-space:nowrap}
#work-gyms.t1gc .t1gc-card .chip.t{border-left:calc(var(--u)*.6) solid var(--tc)}
#work-gyms.t1gc .t1gc-card .chip img{width:calc(var(--u)*2.2);height:calc(var(--u)*2.2);object-fit:contain}
html body #work-gyms.t1gc .work-gym-controls [data-gym][aria-pressed=true]{transform:translateY(calc(var(--u)*-1.6));border:2px solid var(--c-accent);box-shadow:0 0 0 2px rgba(255,201,60,.25),0 calc(var(--u)*1.4) 0 rgba(4,10,24,.55),0 0 calc(var(--u)*3) rgba(255,201,60,.35);z-index:2}
#work-gyms.t1gc [data-gym][aria-pressed=true] .ky{background:var(--c-accent);color:#1a1408;border-color:var(--c-accent)}
#work-gyms.t1gc .has-sel [data-gym][aria-pressed=false]{filter:brightness(.62) saturate(.7)}
#work-gyms.t1gc [data-gym]:focus-visible{outline:2px dashed var(--c-accent);outline-offset:3px}
#work-gyms.t1gc .t1gc-br{flex:0 0 100%;height:0;display:block}
#work-gyms.t1gc .t1gc-gd{align-self:center;font:700 max(12px,calc(var(--u)*2.2))/1 var(--font-head);color:var(--c-dim);pointer-events:none}
#work-gyms.t1gc .t1gc-gd i{font-style:normal;display:inline-grid;place-items:center;min-width:calc(var(--u)*2.8);height:calc(var(--u)*2.8);margin:0 2px;border-radius:4px;background:var(--c-key);border:1px solid rgba(255,255,255,.3);color:var(--c-text);font-size:calc(var(--u)*1.6)}
#work-gyms.t1gc .has-sel .t1gc-gd{display:none}
html body #work-gyms.t1gc .work-gym-controls [data-action]{position:relative;left:auto;top:auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:var(--r-s);font-family:var(--font-head);color:var(--c-text)}
html body #work-gyms.t1gc .work-gym-controls [data-action=back]{height:max(44px,calc(var(--u)*5.4));padding:0 calc(var(--u)*2.4);background:var(--g-btn);border:1px solid var(--c-line);box-shadow:var(--shadow-btn);font:700 max(12px,calc(var(--u)*2))/1 var(--font-head)}
html body #work-gyms.t1gc .work-gym-controls [data-action=confirm]{height:max(44px,calc(var(--u)*7));padding:0 calc(var(--u)*5);gap:calc(var(--u)*1.4);color:#fff;text-shadow:0 2px 0 var(--c-fight-line);transform:skewX(-8deg);border:1px solid var(--c-fight-line);box-shadow:var(--shadow-fight);
 background:repeating-linear-gradient(-55deg,rgba(255,255,255,.10) 0 calc(var(--u)*1.2),rgba(255,255,255,0) calc(var(--u)*1.2) calc(var(--u)*2.4)),var(--g-fight)}
html body #work-gyms.t1gc .work-gym-controls [data-action=confirm]:disabled{display:none}
html body #work-gyms.t1gc .work-gym-controls [data-action=confirm]:not(:disabled):active{transform:skewX(-8deg) translateY(2px);box-shadow:0 2px 0 #7A1D15}
#work-gyms.t1gc .t1gc-go{display:inline-flex;align-items:center;gap:calc(var(--u)*1.4);transform:skewX(8deg)}
#work-gyms.t1gc .t1gc-go b{font:700 max(16px,calc(var(--u)*3.4))/1 var(--font-head)}
#work-gyms.t1gc .t1gc-go small{font:700 max(10px,calc(var(--u)*1.5))/1 var(--font-head);padding:calc(var(--u)*.5) calc(var(--u)*.8);border-radius:4px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.35);text-shadow:none}
/* 휴대폰·터치: 키 안내(Enter·1 2 3 키)는 숨긴다(31구획 1180 터치 규칙과 같은 판정) */
body.tft1m #work-gyms.t1gc :is(.t1gc-go small,.t1gc-gd .k){display:none}
@media (hover:none) and (pointer:coarse){#work-gyms.t1gc :is(.t1gc-go small,.t1gc-gd .k){display:none}}
@media (prefers-reduced-motion:reduce){#work-gyms.t1gc [data-gym]{transition:none!important}}
/* ---------- 38. v0.12.39 ③ 전체 창 공통(관리자 보완 2026-11-03) ----------
   관장 선택·관장 도입 포스터(뒤에 리그 입장 #t1-league·결과 띠 #t1-result도 여기에 더함)가 열려 있는 동안:
   ① 날씨 층(#cv-weather-fx z1200·#cv-wx-edges)이 창 위에 그려지지 않게 숨긴다(날씨 계산은 그대로, 창이 닫히면 다시 보임)
   ② 휴대폰은 backdrop-filter가 꺼져 있어 뒤 게임 화면(#app)에 직접 흐림을 준다(창이 덮는 동안만, 정지 화면이라 부담 작음). */
body:has(#work-gyms.t1gc:not(.hidden),#t1-poster,#t1-league,#t1-result) :is(#cv-weather-fx,#cv-wx-edges){visibility:hidden!important}
body.tft1m:has(#work-gyms.t1gc:not(.hidden)) :is(#app,#t1-odds-m){filter:blur(2.5px)}
/* ---------- 39. v0.12.39 리그 입장 연출(③-3, LeagueEntrance · #t1-league) ----------
   data-phase: (없음=불러오는 중) → badges(0~1.0초) → bands(1.0~2.6초) → title(2.6~3.4초) → door(3.4~4.0초) → closing. 짧은 판(.t1l-short)은 bands만 1초. */
#t1-league{position:fixed;inset:0;z-index:10050;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#2a2622,#0c0b0a 70%);color:var(--c-text);font-family:var(--font-body);--u:min(1vh,.56vw);cursor:pointer;touch-action:manipulation;transition:opacity .2s}
body.tft1m #t1-league{--u:1.12vh}
#t1-league.t1l-load>*{visibility:hidden}
#t1-league[data-phase=closing]{opacity:0}
#t1-league .t1l-bdg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:calc(var(--u)*1.6);padding:calc(var(--u)*2) calc(var(--u)*2.6);border-radius:var(--r-s);background:var(--g-band);border:1px solid var(--c-line);box-shadow:var(--shadow-panel);transition:opacity .25s}
#t1-league .t1l-bdg i{width:calc(var(--u)*9);height:calc(var(--u)*9);display:grid;place-items:center;border-radius:var(--r-s);background:var(--c-slot);border:2px solid rgba(255,255,255,.14)}
#t1-league .t1l-bdg img{width:78%;height:78%;object-fit:contain;filter:grayscale(1) brightness(.45)}
#t1-league[data-phase=badges] .t1l-bdg i{animation:t1l-lit .3s ease-out both;animation-delay:calc(100ms + var(--i)*100ms)}
#t1-league[data-phase=badges] .t1l-bdg img{animation:t1l-col .3s ease-out both;animation-delay:calc(100ms + var(--i)*100ms)}
@keyframes t1l-lit{0%{transform:scale(1)}50%{transform:scale(1.14);box-shadow:0 0 calc(var(--u)*4) rgba(255,201,60,.9)}100%{transform:scale(1);border-color:var(--c-accent);box-shadow:0 0 calc(var(--u)*2) rgba(255,201,60,.55)}}
@keyframes t1l-col{to{filter:none}}
#t1-league .t1l-cap{position:absolute;left:50%;top:calc(50% + var(--u)*9);transform:translateX(-50%);font:700 max(12px,calc(var(--u)*2.2))/1 var(--font-head);color:var(--c-dim);letter-spacing:.2em;white-space:nowrap;transition:opacity .25s}
#t1-league:not([data-phase=badges]) :is(.t1l-bdg,.t1l-cap){opacity:0}
#t1-league .t1l-bs{position:absolute;inset:0;display:flex;gap:calc(var(--u)*.8);padding:0 calc(var(--u)*.8);pointer-events:none;transition:filter .3s}
#t1-league .t1l-b{position:relative;flex:1;overflow:hidden;border-radius:4px;transform:translateY(-104%);background:linear-gradient(180deg,color-mix(in srgb,var(--tc) 85%,#000),color-mix(in srgb,var(--tc) 35%,#0c0b0a) 70%,#0c0b0a);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
#t1-league .t1l-b::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-60deg,rgba(255,255,255,.07) 0 calc(var(--u)*.6),transparent calc(var(--u)*.6) calc(var(--u)*2.2))}
#t1-league:is([data-phase=bands],[data-phase=title]) .t1l-b{animation:t1l-drop .35s cubic-bezier(.2,.9,.3,1.05) both;animation-delay:calc(var(--i)*250ms)}
#t1-league.t1l-short[data-phase=bands] .t1l-b{animation-duration:.25s;animation-delay:calc(var(--i)*80ms)}
#t1-league[data-phase=title] .t1l-b{animation:none;transform:none}
@keyframes t1l-drop{to{transform:none}}
#t1-league .t1l-b .ac{position:absolute;left:50%;top:6%;width:min(92%,calc(var(--u)*26));transform:translateX(-50%);image-rendering:pixelated;filter:drop-shadow(0 calc(var(--u)*.6) 0 rgba(0,0,0,.5))}
#t1-league .t1l-b .pt{position:absolute;left:-30%;width:160%;bottom:0;height:62%;object-fit:cover;object-position:50% 100%;filter:drop-shadow(0 0 calc(var(--u)*.6) rgba(0,0,0,.9))}
#t1-league .t1l-b .nm{position:absolute;left:0;right:0;bottom:0;padding:calc(var(--u)*1.2) calc(var(--u)*1);display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*.6);background:linear-gradient(0deg,rgba(12,11,10,.95),rgba(12,11,10,.75) 70%,transparent)}
#t1-league .t1l-b .nm b{font:700 max(13px,calc(var(--u)*3.4))/1 var(--font-head);text-shadow:0 2px 0 rgba(0,0,0,.6)}
#t1-league .t1l-b .nm>span{display:inline-flex;align-items:center;gap:calc(var(--u)*.5);font:700 max(10px,calc(var(--u)*1.5))/1 var(--font-head);padding:calc(var(--u)*.5) calc(var(--u)*.8);border-radius:4px;background:rgba(24,22,21,.75);border-left:calc(var(--u)*.5) solid var(--tc)}
#t1-league .t1l-b .nm>span img{width:calc(var(--u)*2);height:calc(var(--u)*2)}
#t1-league .t1l-b .nm em{font:700 max(10px,calc(var(--u)*1.4))/1 var(--font-head);font-style:normal;color:var(--c-dim);letter-spacing:.2em}
#t1-league .t1l-b.ch{background:linear-gradient(180deg,#2a2725,#0c0b0a)}
#t1-league .t1l-b.ch .pt{filter:brightness(0) drop-shadow(0 0 calc(var(--u)*.4) rgba(255,201,60,.8))}
#t1-league .t1l-b.ch .q{position:absolute;left:50%;top:18%;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)}
#t1-league[data-phase=title] .t1l-bs{filter:brightness(.45)}
#t1-league .t1l-tt{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%) scale(.9);opacity:0;text-align:center;padding:calc(var(--u)*2.4) calc(var(--u)*6);background:rgba(12,11,10,.78);border-top:2px solid var(--c-accent);border-bottom:2px solid var(--c-accent);white-space:nowrap;transition:opacity .25s,transform .3s cubic-bezier(.2,.9,.3,1.2)}
#t1-league[data-phase=title] .t1l-tt{opacity:1;transform:translate(-50%,-50%)}
#t1-league .t1l-tt small{display:block;font:700 max(12px,calc(var(--u)*2))/1 var(--font-head);letter-spacing:.4em;color:var(--c-accent);margin-bottom:calc(var(--u)*1.4)}
#t1-league .t1l-tt b{display:block;font:700 calc(var(--u)*9)/1 var(--font-head);text-shadow:0 5px 0 rgba(0,0,0,.6)}
#t1-league .t1l-tt span{display:block;margin-top:calc(var(--u)*1.4);font:700 max(12px,calc(var(--u)*2.6))/1 var(--font-head);color:#cfd6e4;letter-spacing:.2em}
#t1-league .t1l-dr{position:absolute;inset:0;opacity:0;pointer-events:none}
#t1-league .t1l-dr i{position:absolute;inset:0;background-size:cover;background-position:center}
#t1-league[data-phase=door] .t1l-dr{opacity:1}
#t1-league[data-phase=door] :is(.t1l-bs,.t1l-tt){opacity:0}
#t1-league[data-phase=door] .t1l-dr .l{animation:t1l-l .6s ease-in both}
#t1-league[data-phase=door] .t1l-dr .r{animation:t1l-r .6s ease-in both}
@keyframes t1l-l{to{transform:translateX(-60%)}}
@keyframes t1l-r{to{transform:translateX(60%)}}
#t1-league .t1l-sk{position:absolute;right:calc(var(--u)*3.4);top:calc(var(--u)*3.4);z-index:3;min-height:44px;min-width:44px;font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);color:var(--c-dim);padding:calc(var(--u)*.8) calc(var(--u)*1.2);border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line);cursor:pointer}
@media (prefers-reduced-motion:reduce){#t1-league,#t1-league *{animation-duration:1ms!important;animation-delay:0s!important;transition:none!important}}
/* 36-2. 관장 고르기 2안 다듬기(사용자 승인 11-05, 참고 영상 구조) — GymSelectT1.card·g3. 카드: 위쪽 꽉 찬 그림(체육관 장면+관장) / 큰 배지 → 타입 원 아이콘 → 이름 / 타입색 테.
   올리면 뜸·관장 그림 튀어오름·위 가운데 '?'(= 정보만). 고르면(aria-pressed) 나머지 사라지고 가운데로 커지며 노랑 빛 + 뒤에서 정보 창(.g3-info) → '도전!'(Enter). */
html body #work-gyms.t1gc .work-gym-controls{--g3w:312px;--g3h:510px;--g3gap:36px;--g3px:4} /* 그림 칸 = 05 카드 배경 1× 76×88의 정수 배율 — 배경·관장 도트 같은 배율(PC 4배 304×352, 휴대폰 2배 152×176) */
html body.tft1m #work-gyms.t1gc .work-gym-controls{--g3w:156px;--g3h:248px;--g3gap:18px;--g3px:2}
html body #work-gyms.t1gc .work-gym-controls{column-gap:var(--g3gap)!important}
html body #work-gyms.t1gc .work-gym-controls [data-gym]{width:var(--g3w)!important;height:var(--g3h)!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;outline:none!important;z-index:2;transition:transform .42s cubic-bezier(.2,1.1,.3,1),opacity .3s}
#work-gyms.t1gc .g3{position:absolute;inset:0;display:block;pointer-events:none;--k:1}
body.tft1m #work-gyms.t1gc .g3{--k:.47}
#work-gyms.t1gc .g3-card{position:absolute;inset:0;display:flex;flex-direction:column;border-radius:calc(16px * var(--k));border:calc(4px * var(--k)) solid var(--tc);background:#161b36;box-shadow:0 0 0 calc(2px * var(--k)) #0b0d18,0 calc(12px * var(--k)) calc(26px * var(--k)) #0009;overflow:hidden;transition:transform .15s,box-shadow .2s}
#work-gyms.t1gc .g3-art{position:relative;flex:none;aspect-ratio:152/176;overflow:hidden}
#work-gyms.t1gc .g3-sc{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.82) saturate(1.05);transition:filter .2s}
#work-gyms.t1gc .g3-sc::after{content:'';position:absolute;inset:0;background:radial-gradient(60% 40% at 50% 92%,color-mix(in srgb,var(--tc) 55%,transparent),transparent 70%),linear-gradient(180deg,transparent 60%,#161b36aa 100%)}
#work-gyms.t1gc .g3-pt{position:absolute;left:0;right:0;bottom:15%;margin:0 auto;max-width:none;image-rendering:pixelated;transform-origin:50% 100%;filter:drop-shadow(0 calc(4px * var(--k)) 0 #0007)}
#work-gyms.t1gc .g3-pt.low{bottom:4%}
#work-gyms.t1gc .g3-pt.ill{left:3%;right:auto;bottom:4%;width:94%;height:88%;object-fit:contain;object-position:50% 100%;image-rendering:auto}
#work-gyms.t1gc .g3-sc.dot{image-rendering:pixelated;background-position:center bottom;background-size:304px 352px} /* 05 카드 배경 1× 76×88 → PC 4배, 휴대폰 2배(칸과 딱 맞음) */
body.tft1m #work-gyms.t1gc .g3-sc.dot{background-size:152px 176px}
#work-gyms.t1gc .g3-low{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:calc(6px * var(--k));padding-bottom:calc(14px * var(--k));background:linear-gradient(180deg,#1b2140,#141832)}
#work-gyms.t1gc .g3-badge{position:absolute;left:50%;top:calc(-46px * var(--k));width:calc(84px * var(--k));height:calc(84px * var(--k));object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 calc(4px * var(--k)) 0 #0008) drop-shadow(0 0 calc(10px * var(--k)) #fff6)}
#work-gyms.t1gc .g3-type{display:grid;place-items:center;width:calc(50px * var(--k));height:calc(50px * var(--k));border-radius:50%;box-shadow:0 0 0 calc(2px * var(--k)) #fff8,0 calc(3px * var(--k)) 0 #0008}
#work-gyms.t1gc .g3-type img{width:100%;height:100%;object-fit:contain}
#work-gyms.t1gc .g3-name{font:900 calc(34px * var(--k))/1.05 var(--font-head,sans-serif);color:#fff;text-shadow:0 calc(3px * var(--k)) 0 #0b0d18,calc(2px * var(--k)) 0 0 #0b0d18,calc(-2px * var(--k)) 0 0 #0b0d18,0 calc(-2px * var(--k)) 0 #0b0d18}
#work-gyms.t1gc .g3-key{position:absolute;z-index:3;left:calc(12px * var(--k));top:calc(12px * var(--k));display:grid;place-items:center;width:calc(34px * var(--k));height:calc(34px * var(--k));border-radius:calc(7px * var(--k));background:#eef0f6;color:#171a2b;border:calc(2px * var(--k)) solid #171a2b;box-shadow:0 calc(2px * var(--k)) 0 #0b0d18;font:900 calc(19px * var(--k))/1 sans-serif}
body.tft1m #work-gyms.t1gc .g3-key{width:18px;height:18px;font-size:11px;border-radius:5px;left:6px;top:6px}
body.tft1m #work-gyms.t1gc .g3-name{font-size:17px}
#work-gyms.t1gc .g3-q{position:absolute;z-index:4;left:50%;top:calc(-34px * var(--k));width:calc(54px * var(--k));height:calc(54px * var(--k));margin-left:calc(-27px * var(--k));border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 35%,#3b4270,#151935);border:calc(3px * var(--k)) solid #ffc93c;color:#ffc93c;font:900 calc(30px * var(--k))/1 sans-serif;font-style:normal;box-shadow:0 calc(3px * var(--k)) 0 #0b0d18;opacity:0;transform:translateY(calc(10px * var(--k))) scale(.8);transition:opacity .18s,transform .22s cubic-bezier(.3,1.4,.5,1);pointer-events:auto;cursor:help}
body.tft1m #work-gyms.t1gc .g3-q{width:30px;height:30px;margin-left:-15px;top:-20px;font-size:17px;border-width:2px}
@keyframes g3-hop{0%{transform:translateY(0) scale(1)}25%{transform:translateY(-7%) scale(1.06) rotate(-2deg)}50%{transform:translateY(1%) scale(1.02) rotate(1.5deg)}75%{transform:translateY(-3%) scale(1.05)}100%{transform:translateY(0) scale(1.04)}}
@keyframes g3-float{0%,100%{transform:translateY(0) scale(1.04)}50%{transform:translateY(-2.5%) scale(1.055)}}
@keyframes g3-badge{0%{transform:translateX(-50%) rotate(0) scale(1)}30%{transform:translateX(-50%) rotate(-14deg) scale(1.2)}65%{transform:translateX(-50%) rotate(8deg) scale(1.08)}100%{transform:translateX(-50%) rotate(0) scale(1.1)}}
@media (hover:hover){
 #work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:hover .g3-card{transform:translateY(calc(-12px * var(--k)));box-shadow:0 0 0 calc(2px * var(--k)) #0b0d18,0 0 calc(26px * var(--k)) color-mix(in srgb,var(--tc) 70%,transparent),0 calc(14px * var(--k)) calc(26px * var(--k)) #0009}
 #work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:hover .g3-pt{animation:g3-hop .6s cubic-bezier(.3,1.35,.5,1) both,g3-float 1.6s ease-in-out .6s infinite}
 #work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:hover .g3-badge{animation:g3-badge .6s cubic-bezier(.3,1.35,.5,1) both}
 #work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:hover .g3-sc{filter:brightness(1) saturate(1.15)}
 #work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:hover .g3-q{opacity:1;transform:translateY(calc(-12px * var(--k))) scale(1)}}
#work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:is(.g3-press,:focus-visible) .g3-card{transform:translateY(calc(-8px * var(--k)))}
#work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:is(.g3-press,:focus-visible) .g3-pt{animation:g3-hop .6s cubic-bezier(.3,1.35,.5,1) both,g3-float 1.6s ease-in-out .6s infinite}
#work-gyms.t1gc .work-gym-controls:not(.has-sel) [data-gym]:is(.g3-press,:focus-visible) .g3-q{opacity:1;transform:translateY(calc(-12px * var(--k))) scale(1)}
body.tft1m #work-gyms.t1gc .work-gym-controls:not(.has-sel) .g3-q{opacity:1;transform:translateY(-4px) scale(1)} /* 휴대폰: 마우스 올림이 없어 '?'는 늘 보임 */
/* 고른 뒤: 나머지 사라짐, 고른 카드 가운데로 + 커짐 + 노랑 빛 */
#work-gyms.t1gc .work-gym-controls.has-sel [data-gym][aria-pressed=false]{opacity:0;transform:scale(.86);pointer-events:none}
#work-gyms.t1gc .work-gym-controls.has-sel [data-gym][aria-pressed=true]{transform:translateX(calc(var(--g3dx,0px) - var(--g3w) * .34)) scale(var(--g3s,1.12));z-index:3}
body.tft1m #work-gyms.t1gc .work-gym-controls.has-sel [data-gym][aria-pressed=true]{--g3s:1.02}
#work-gyms.t1gc [data-gym][aria-pressed=true] .g3-card{border-color:#ffd84a;box-shadow:0 0 0 calc(3px * var(--k)) #0b0d18,0 0 calc(40px * var(--k)) calc(8px * var(--k)) #ffd84acc,0 0 calc(90px * var(--k)) #ffd84a66}
#work-gyms.t1gc [data-gym][aria-pressed=true] .g3-q{display:none}
/* 정보 창: 고른 카드 뒤에서 오른쪽으로 밀려 나옴('?'로 열면 그 카드 옆) */
#work-gyms.t1gc .g3-info{--k:1;position:absolute;z-index:1;top:0;left:0;width:calc(var(--g3w) * 1.4);min-height:calc(var(--g3h) * .86);height:auto;margin-top:0;box-sizing:border-box;padding:calc(18px * var(--k)) calc(22px * var(--k)) calc(18px * var(--k)) calc(var(--g3w) * .62);border-radius:calc(14px * var(--k));background:linear-gradient(180deg,#232a4bf2,#181c36f2);border:calc(3px * var(--k)) solid var(--tc,#8890c0);box-shadow:0 calc(10px * var(--k)) calc(24px * var(--k)) #000a;color:#eef0ff;opacity:0;transform:translateX(calc(var(--g3w) * -.55));transition:transform .45s cubic-bezier(.2,1.05,.3,1) .12s,opacity .25s .12s;pointer-events:none;font-family:var(--font-read,sans-serif)}
body.tft1m #work-gyms.t1gc .g3-info{--k:.47;padding:8px 8px 8px calc(var(--g3w) * .62);min-height:calc(var(--g3h) * .92)}
#work-gyms.t1gc .g3-info.peek{z-index:5;padding-left:calc(22px * var(--k));width:calc(var(--g3w) * 1.1)}
body.tft1m #work-gyms.t1gc .g3-info.peek{padding-left:8px}
#work-gyms.t1gc .g3-info.on{opacity:1;transform:translateX(calc(var(--g3w) * .02))}
#work-gyms.t1gc .g3-info h4{margin:0 0 calc(4px * var(--k));font:900 calc(26px * var(--k))/1.1 var(--font-head,sans-serif)}
#work-gyms.t1gc .g3-info .sub{font-size:calc(15px * var(--k));color:#c9cdf0;margin-bottom:calc(12px * var(--k))}
#work-gyms.t1gc .g3-info .lab{display:inline-block;margin:calc(4px * var(--k)) 0;padding:calc(2px * var(--k)) calc(10px * var(--k));border-radius:999px;background:#dcd2ff;color:#2a2250;font-weight:900;font-size:calc(14px * var(--k))}
#work-gyms.t1gc .g3-info .ace{display:flex;align-items:center;gap:calc(10px * var(--k));margin:calc(6px * var(--k)) 0}
#work-gyms.t1gc .g3-info .ace .pic{display:block;flex:none;width:calc(84px * var(--k));height:calc(84px * var(--k));object-fit:contain;image-rendering:pixelated;background:#0e1230;border-radius:calc(10px * var(--k));border:calc(2px * var(--k)) solid var(--tc,#888)}
#work-gyms.t1gc .g3-info .ace b{display:block;font-size:calc(22px * var(--k))}
#work-gyms.t1gc .g3-info .ace small{font-size:calc(14px * var(--k));color:#c9cdf0}
#work-gyms.t1gc .g3-info .st{display:grid;grid-template-columns:1fr 1fr;gap:calc(6px * var(--k));margin:calc(8px * var(--k)) 0}
#work-gyms.t1gc .g3-info .st span{padding:calc(5px * var(--k)) calc(8px * var(--k));border-radius:calc(8px * var(--k));background:#0e1230;font-size:calc(14px * var(--k));color:#c9cdf0}
#work-gyms.t1gc .g3-info .st b{color:#fff;font-size:calc(18px * var(--k));margin-right:calc(4px * var(--k))}
#work-gyms.t1gc .g3-info .team{display:flex;flex-wrap:wrap;gap:calc(4px * var(--k))}
#work-gyms.t1gc .g3-info .team .pic{display:block;width:calc(46px * var(--k));height:calc(46px * var(--k));object-fit:contain;image-rendering:pixelated;background:#0e1230;border-radius:calc(8px * var(--k))}
#work-gyms.t1gc .g3-info .stn{display:block;margin-top:calc(6px * var(--k));font-size:calc(12px * var(--k));color:#9aa0c8}
body.tft1m #work-gyms.t1gc .g3-info :is(.st,.stn){display:none} /* 휴대폰: 에이스·팀만 */
#work-gyms.t1gc .t1gc-hd b{font-weight:900;color:#fff;text-shadow:0 3px 0 #15122a,2px 0 0 #15122a,-2px 0 0 #15122a,0 -2px 0 #15122a!important}
@media (prefers-reduced-motion:reduce){#work-gyms.t1gc .g3 *{animation:none!important}#work-gyms.t1gc .g3-info,html body #work-gyms.t1gc .work-gym-controls [data-gym]{transition:none!important}}
#work-gyms.t1gc .g3-info .pic{position:relative}#work-gyms.t1gc .g3-info .sr{font-style:normal;color:#ffc93c;letter-spacing:-.08em;text-shadow:0 1px 0 #0009}
#work-gyms.t1gc .g3-info .team .sr{position:absolute;left:0;right:0;bottom:-2px;text-align:center;font-size:calc(11px * var(--k));line-height:1}#work-gyms.t1gc .g3-info .ace .sr{font-size:calc(16px * var(--k))}
#work-gyms.t1gc .g3-info .pic img{width:100%!important;height:100%!important;object-fit:contain;image-rendering:pixelated}
/* ---------- 37. v0.12.39 관장 도입 포스터(③-2, GymPoster · #t1-poster) ----------
   data-phase: (없음=불러오는 중, 검은 덮개) → line(대사만, 포스터 부품은 바깥에 숨김) → poster(0.4초에 맞춰짐) → closing(0.2초 흐려짐). */
#t1-poster{position:fixed;inset:0;z-index:10050;overflow:hidden;background:#0c0b0a;color:var(--c-text);font-family:var(--font-body);--u:min(1vh,.56vw);cursor:pointer;touch-action:manipulation;transition:opacity .2s}
body.tft1m #t1-poster{--u:1.12vh}
#t1-poster>*{position:absolute;display:block}
#t1-poster.t1p-load>*{visibility:hidden}
#t1-poster .t1p-bg{inset:0;background-size:cover;background-position:center bottom;transform:scale(1.14);transform-origin:50% 100%;filter:brightness(.4) saturate(.85) blur(2.5px);transition:filter .4s}
#t1-poster .t1p-dr{inset:0;background:radial-gradient(ellipse 42% 62% at 50% 50%,rgba(8,7,6,.8),rgba(8,7,6,.55) 55%,rgba(8,7,6,.15) 85%,transparent)}
#t1-poster .t1p-vg{inset:0;background:linear-gradient(90deg,rgba(12,11,10,.92) 0,rgba(12,11,10,.72) 30%,rgba(12,11,10,0) 52%),linear-gradient(0deg,rgba(12,11,10,.85),rgba(12,11,10,0) 35%),radial-gradient(ellipse at 62% 40%,color-mix(in srgb,var(--tc) 30%,transparent),transparent 60%)}
#t1-poster .t1p-fr{inset:calc(var(--u)*1.4);border:calc(var(--u)*.5) solid var(--tc);border-radius:var(--r-s);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 0 0 1px rgba(0,0,0,.6);pointer-events:none;transition:opacity .4s}
#t1-poster .t1p-pt{left:36%;bottom:0;height:92%;width:min(47%,calc(92vh / 1.1));object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 0 calc(var(--u)*.6) rgba(0,0,0,.9)) drop-shadow(0 0 calc(var(--u)*2.4) color-mix(in srgb,var(--tc) 55%,transparent));transition:transform .4s cubic-bezier(.2,.9,.3,1.1),opacity .3s}
#t1-poster .t1p-ac{left:33%;bottom:1%;width:calc(var(--u)*26);image-rendering:pixelated;filter:drop-shadow(0 calc(var(--u)*.6) 0 rgba(0,0,0,.55));transition:transform .4s cubic-bezier(.3,1.6,.5,1),opacity .3s}
#t1-poster .t1p-lf{left:6%;top:9%;bottom:9%;width:32%;display:flex;flex-direction:column;gap:calc(var(--u)*1.4);transition:transform .4s cubic-bezier(.2,.9,.3,1),opacity .3s}
#t1-poster .t1p-kd{display:flex;align-items:center;gap:calc(var(--u)*1);font:700 max(11px,calc(var(--u)*1.9))/1 var(--font-head);letter-spacing:.3em;color:var(--tc)}
#t1-poster .t1p-kd img{width:calc(var(--u)*3);height:calc(var(--u)*3)}
#t1-poster .t1p-nm{font:700 calc(var(--u)*11)/1 var(--font-head);letter-spacing:.02em;text-shadow:0 calc(var(--u)*.6) 0 rgba(0,0,0,.65);white-space:nowrap}
#t1-poster .t1p-no{display:flex;align-items:center;gap:calc(var(--u)*1.2);font:700 max(12px,calc(var(--u)*2.6))/1 var(--font-head)}
#t1-poster .t1p-no b{font-size:calc(var(--u)*6);color:var(--c-accent);text-shadow:0 3px 0 rgba(0,0,0,.6)}
#t1-poster .t1p-no img{width:calc(var(--u)*4.4);height:calc(var(--u)*4.4);object-fit:contain}
#t1-poster .t1p-ln{display:block;width:calc(var(--u)*24);height:2px;background:linear-gradient(90deg,var(--tc),transparent)}
#t1-poster .t1p-in{font:500 max(11px,calc(var(--u)*1.9))/1.5 var(--font-body);color:#cfd6e4}
#t1-poster .t1p-tm{margin-top:auto;width:calc(var(--u)*34);display:flex;flex-direction:column;gap:calc(var(--u)*.5)}
#t1-poster .t1p-tm>small{font:700 max(10px,calc(var(--u)*1.5))/1 var(--font-head);letter-spacing:.25em;color:var(--c-dim);margin-bottom:calc(var(--u)*.4)}
#t1-poster .t1p-tm>span{display:flex;align-items:center;gap:calc(var(--u)*1);font:700 max(11px,calc(var(--u)*1.8))/1 var(--font-head);color:#e8ecf3}
#t1-poster .t1p-tm img{width:calc(var(--u)*4.6);height:calc(var(--u)*4.6);image-rendering:pixelated;margin:calc(var(--u)*-.6) 0}
#t1-poster .t1p-tm>span.more{font:500 max(10px,calc(var(--u)*1.5))/1 var(--font-body);color:var(--c-dim);padding-left:calc(var(--u)*5.6)}
#t1-poster .t1p-tm em{font-style:normal;color:var(--c-accent);font-size:.85em}
#t1-poster .t1p-tm span small{font:500 max(10px,calc(var(--u)*1.4))/1 var(--font-body);color:var(--c-dim);margin-left:auto}
#t1-poster .t1p-vt{right:4%;top:9%;writing-mode:vertical-rl;font:700 max(12px,calc(var(--u)*2.4))/1 var(--font-head);letter-spacing:.35em;color:rgba(243,246,251,.55);transition:opacity .4s}
body.tft1m #t1-poster .t1p-vt{top:22%}
#t1-poster .t1p-sk{right:calc(var(--u)*3.4);top:calc(var(--u)*3.4);z-index:3;min-height:44px;min-width:44px;font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);color:var(--c-dim);padding:calc(var(--u)*.8) calc(var(--u)*1.2);border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line);cursor:pointer}
#t1-poster .t1p-dl{left:50%;bottom:calc(var(--u)*5);margin:0;transform:translateX(-50%);width:min(78%,calc(var(--u)*120));min-height:calc(var(--u)*11);box-sizing:border-box;padding:calc(var(--u)*2.2) calc(var(--u)*3);border-radius:var(--r-s);
 background:var(--g-band);border:1px solid rgba(255,255,255,.22);box-shadow:var(--shadow-panel);font:700 max(13px,calc(var(--u)*2.8))/1.45 var(--font-head);transition:opacity .2s}
#t1-poster .t1p-who{position:absolute;left:calc(var(--u)*2.4);top:calc(var(--u)*-2.4);padding:calc(var(--u)*.8) calc(var(--u)*1.6);border-radius:5px;background:var(--tc);color:#141210;font:700 max(11px,calc(var(--u)*2))/1 var(--font-head);border:1px solid rgba(0,0,0,.4)}
#t1-poster .t1p-nx{position:absolute;right:calc(var(--u)*2.4);bottom:calc(var(--u)*1.4);font-style:normal;color:var(--c-accent);font-size:calc(var(--u)*2)}
#t1-poster:not([data-phase=line]) .t1p-dl{opacity:0}
#t1-poster[data-phase=line] .t1p-pt{transform:translateX(28%);opacity:0}
#t1-poster[data-phase=line] .t1p-ac{transform:translateX(-60%);opacity:0}
#t1-poster[data-phase=line] .t1p-lf{transform:translateX(-30%);opacity:0}
#t1-poster[data-phase=line] .t1p-vt{opacity:0}
#t1-poster[data-phase=line] .t1p-fr{opacity:.25}
#t1-poster[data-phase=line] .t1p-bg{filter:brightness(.28) saturate(.7) blur(2.5px)}
#t1-poster[data-phase=closing]{opacity:0}
@media (prefers-reduced-motion:reduce){#t1-poster,#t1-poster *{transition:none!important}}
/* 37-2. 관장급 만남 ② 적막한 판 위 가운데 대사(관리자 승인 11-04, 위임 제안값: 검정 74% + 흐림 3px·채도 낮춤, 상자 없이 이름·밑줄·대사·▼).
   관장·사천왕·챔피언 = #t1-poster 대사 단계(포스터 배경·테를 숨기고 판이 비침) → 포스터. 라이벌 = #t1-line(LineT1) → 라이벌 VS. 휴대폰은 흐림 없이 어둡게만(기존 성능 규칙). */
html body #t1-poster#t1-poster[data-phase=line],#t1-line{background:rgba(8,8,10,.74);backdrop-filter:blur(3px) saturate(.45) brightness(.8);transition:background .5s,backdrop-filter .5s}
#t1-poster[data-phase=line] :is(.t1p-bg,.t1p-dr,.t1p-vg,.t1p-fr){opacity:0}
#t1-poster:not([data-phase=line]) :is(.t1p-bg,.t1p-dr,.t1p-vg){transition:opacity .4s,filter .4s}
#t1-poster[data-phase=line] .t1p-dl,#t1-line .t1l-dl{top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);width:min(82%,calc(var(--u)*130));min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none;text-align:center;display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*2.2)}
#t1-poster[data-phase=line] .t1p-who,#t1-line .t1l-who{position:static;background:none;border:0;padding:0;color:var(--tc);font:700 max(12px,calc(var(--u)*2))/1 var(--font-head);letter-spacing:.3em}
#t1-poster[data-phase=line] .t1p-who::after,#t1-line .t1l-who::after{content:'';display:block;width:calc(var(--u)*10);height:2px;margin:calc(var(--u)*1.2) auto 0;background:var(--tc);opacity:.8}
#t1-poster[data-phase=line] .t1p-tx,#t1-line .t1l-tx{font:700 max(16px,calc(var(--u)*4))/1.5 var(--font-head);color:#F3F6FB;text-shadow:0 2px 0 rgba(0,0,0,.7);min-height:1.5em}
#t1-poster[data-phase=line] .t1p-nx,#t1-line .t1l-nx{position:static;font-style:normal;color:var(--c-accent);font-size:max(12px,calc(var(--u)*1.8));opacity:.8;animation:t1p-nx 1s steps(2) infinite}
@keyframes t1p-nx{50%{opacity:.2}}
#t1-poster[data-phase=line] .t1p-sk{opacity:.7}
#t1-line{position:fixed;inset:0;z-index:10050;--u:min(1vh,.56vw);cursor:pointer;touch-action:manipulation;font-family:var(--font-body);transition:opacity .2s}
body.tft1m #t1-line{--u:1.12vh}
#t1-line>*{position:absolute;display:block}
#t1-line .t1l-sk{right:calc(var(--u)*3.4);top:calc(var(--u)*3.4);min-height:44px;min-width:44px;font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);color:var(--c-dim);padding:calc(var(--u)*.8) calc(var(--u)*1.2);border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line);cursor:pointer;opacity:.7}
#t1-line[data-phase=closing]{opacity:0}
@media (prefers-reduced-motion:reduce){#t1-line,#t1-line *{transition:none!important;animation:none!important}}
/* ---------- 40. v0.12.39 승리·패배 결과 띠(③-4, ResultBandT1 · #t1-result) ----------
   data-phase: wait(03 결말 폭격 body.combat-ending 기다리는 중, 안 보임) → in. 승리 = 결과 연출 V2 자리(z 60, 아무 데나 누르면 다음), 패배 = 누름 통과(z 44, 'AI 훈수' 단추 z 45 위로 안 덮음).
   옛 결과 창(#combat-result)은 띠가 있는 동안 숨김(body.t1-result-on). */
html body.t1-result-on #combat-result{visibility:hidden!important}
/* 결과 띠 동안 판 가운데 '⚔ 전투 개시' 꼬리표(arenaToast 1.6초)가 띠 뒤에 남지 않게(관리자 보완 2026-11-04) */
html body.t1-result-on #arena-toast{visibility:hidden!important}
#t1-result{position:fixed;inset:0;z-index:60;overflow:hidden;color:var(--c-text);font-family:var(--font-body);--u:min(1vh,.56vw);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
body.tft1m #t1-result{--u:1.15vh}
#t1-result.lose{z-index:44;pointer-events:none;cursor:default}
#t1-result.lose .nx{pointer-events:auto;background:linear-gradient(180deg,#56524E,#302D2B);color:var(--c-text);border-color:rgba(255,255,255,.2);box-shadow:0 3px 0 rgba(4,10,24,.6)}
#t1-result[data-phase=wait]{visibility:hidden}
#t1-result .dim{position:absolute;inset:0;background:rgba(10,10,10,.35);opacity:0}
#t1-result.lose .dim{background:linear-gradient(180deg,rgba(30,30,34,.55),rgba(10,10,12,.7))}
#t1-result[data-phase=in] .dim{animation:t1r-fade .3s ease-out both}
@keyframes t1r-fade{to{opacity:1}}
#t1-result .ray{position:absolute;left:50%;top:50%;width:calc(var(--u)*140);height:calc(var(--u)*140);translate:-50% -50%;border-radius:50%;opacity:0;pointer-events:none;
 background:repeating-conic-gradient(from 0deg,rgba(255,201,60,.22) 0 6deg,transparent 6deg 18deg);-webkit-mask:radial-gradient(circle,#000 18%,transparent 62%);mask:radial-gradient(circle,#000 18%,transparent 62%)}
#t1-result.gym .ray{background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--tc) 40%,transparent) 0 6deg,transparent 6deg 18deg)}
#t1-result[data-phase=in] .ray{animation:t1r-ray .8s ease-out both}
@keyframes t1r-ray{0%{opacity:0;rotate:0deg}25%{opacity:1}100%{opacity:0;rotate:45deg}}
#t1-result .band{position:absolute;left:0;right:0;top:50%;translate:0 -50%;padding:calc(var(--u)*2.4) 0 calc(var(--u)*2.2);display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*1.4);
 background:linear-gradient(180deg,rgba(41,39,37,.94),rgba(24,22,21,.94));border-top:2px solid var(--c-accent);border-bottom:2px solid var(--c-accent);box-shadow:0 0 0 1px rgba(0,0,0,.6),0 calc(var(--u)*1) calc(var(--u)*4) rgba(0,0,0,.5);transform-origin:50% 50%}
#t1-result[data-phase=in] .band{animation:t1r-open .12s ease-out both}
@keyframes t1r-open{from{transform:scaleY(0)}to{transform:none}}
#t1-result.gym .band{border-color:var(--tc);background:repeating-linear-gradient(-60deg,color-mix(in srgb,var(--tc) 16%,transparent) 0 calc(var(--u)*1),transparent calc(var(--u)*1) calc(var(--u)*3)),linear-gradient(180deg,rgba(41,39,37,.95),rgba(24,22,21,.95))}
#t1-result.league .band{border-color:var(--tc)}
#t1-result.lose .band{top:54%;border-color:#8a8f99;background:linear-gradient(180deg,rgba(38,38,42,.95),rgba(22,22,25,.95))}
#t1-result .kick{font:700 max(11px,calc(var(--u)*1.7))/1 var(--font-head);letter-spacing:.4em;color:var(--c-accent)}
#t1-result:is(.gym,.league) .kick{color:var(--tc)}
#t1-result.lose .kick{color:#9aa0aa}
#t1-result .big{font:700 calc(var(--u)*12)/1 var(--font-head);color:var(--c-accent);text-shadow:0 calc(var(--u)*.7) 0 #7a5a10,0 0 calc(var(--u)*4) rgba(255,201,60,.45);transform-origin:50% 80%}
#t1-result.win[data-phase=in] .big{animation:t1r-pop .25s cubic-bezier(.2,.9,.3,1.3) .1s both}
@keyframes t1r-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.18) translateY(calc(var(--u)*-1.2))}100%{transform:none}}
#t1-result.lose .big{color:#d9dde4;text-shadow:0 calc(var(--u)*.7) 0 #3a3d44}
#t1-result.lose[data-phase=in] .big{animation:t1r-sink .4s ease-out both}
@keyframes t1r-sink{from{transform:translateY(calc(var(--u)*-1.6));opacity:1}to{transform:none;opacity:.8}}
#t1-result .hp{margin:0;display:flex;align-items:baseline;gap:calc(var(--u)*1.4);font:700 calc(var(--u)*5)/1 var(--font-head);color:#ff5a4e;text-shadow:0 3px 0 #5a1410}
#t1-result .hp small{font:700 max(11px,calc(var(--u)*1.8))/1 var(--font-head);color:#9aa0aa}
#t1-result .hp small b{color:var(--c-text);font-size:1.4em}
#t1-result .row{display:flex;flex-wrap:wrap;justify-content:center;gap:calc(var(--u)*1);align-items:center;min-height:calc(var(--u)*4.4);max-width:calc(100% - var(--u)*40)}
#t1-result .c{display:inline-flex;align-items:center;gap:calc(var(--u)*.6);height:calc(var(--u)*4.2);padding:0 calc(var(--u)*1.4);border-radius:6px;background:linear-gradient(180deg,#56524E,#302D2B);border:1px solid rgba(255,255,255,.18);box-shadow:0 3px 0 rgba(4,10,24,.6);font:700 max(12px,calc(var(--u)*2.1))/1 var(--font-head);white-space:nowrap}
#t1-result .c.g{color:var(--c-accent)}
#t1-result .c.x{color:#7cc4ff}
#t1-result .c.s{color:#ff9c4a}
#t1-result .c img{width:calc(var(--u)*2.4);height:calc(var(--u)*2.4);object-fit:contain;image-rendering:pixelated}
#t1-result[data-phase=in] .c{animation:t1r-chip .2s ease-out both;animation-delay:calc(350ms + var(--i)*var(--gap,150ms))}
@keyframes t1r-chip{from{opacity:0;transform:translateY(calc(var(--u)*1.4))}to{opacity:1;transform:none}}
#t1-result .mvp{margin:0;max-width:calc(100% - var(--u)*40);text-align:center;font:500 max(11px,calc(var(--u)*1.7))/1.3 var(--font-body);color:#cfd6e4}
#t1-result .mvp b{color:var(--c-accent);font-family:var(--font-head)}
#t1-result .st{margin:0;font:700 max(11px,calc(var(--u)*1.6))/1 var(--font-head);color:#9aa0aa;padding:calc(var(--u)*.8) calc(var(--u)*1.4);border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line)}
#t1-result .nx{position:absolute;right:calc(var(--u)*4);bottom:calc(var(--u)*2.2);display:flex;align-items:center;gap:calc(var(--u)*.8);min-height:44px;height:calc(var(--u)*4.6);padding:0 calc(var(--u)*1.8);border-radius:6px;cursor:pointer;
 font:700 max(12px,calc(var(--u)*2))/1 var(--font-head);background:linear-gradient(180deg,#FFD866,#E0A92A);color:#2a1d05;border:1px solid #8a6410;box-shadow:0 3px 0 #6b4c0c}
#t1-result .nx small{font-size:.75em;padding:2px 5px;border-radius:3px;background:rgba(0,0,0,.18)}
body.tft1m #t1-result .nx small{display:none}
#t1-result .bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--c-accent);transform-origin:0 50%;transform:scaleX(0)}
#t1-result.gym .bar{background:var(--tc)}
#t1-result[data-phase=in] .bar{animation:t1r-bar var(--hold) linear .3s both}
@keyframes t1r-bar{from{transform:scaleX(0)}to{transform:none}}
#t1-result .bdg{position:absolute;left:50%;top:calc(50% - var(--u)*33);translate:-50% 0;width:calc(var(--u)*15);height:calc(var(--u)*15);object-fit:contain;filter:drop-shadow(0 0 calc(var(--u)*3) rgba(255,255,255,.7)) drop-shadow(0 calc(var(--u)*.6) 0 rgba(0,0,0,.6))}
#t1-result .bdg.ty{width:calc(var(--u)*11);height:calc(var(--u)*11);top:calc(50% - var(--u)*28)}
#t1-result[data-phase=in] .bdg{animation:t1r-bdg .45s cubic-bezier(.2,.9,.3,1.3) .2s both}
@keyframes t1r-bdg{from{opacity:0;transform:translateY(calc(var(--u)*6)) scale(.5)}to{opacity:1;transform:none}}
#t1-result .sp{position:absolute;width:calc(var(--u)*2.4);height:calc(var(--u)*2.4);background:#fff;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);opacity:0}
#t1-result .sp.s1{left:calc(50% - var(--u)*11);top:calc(50% - var(--u)*32)}
#t1-result .sp.s2{left:calc(50% + var(--u)*8);top:calc(50% - var(--u)*35)}
#t1-result .sp.s3{left:calc(50% + var(--u)*10);top:calc(50% - var(--u)*21);scale:.6}
#t1-result[data-phase=in] .sp{animation:t1r-sp 1s ease-in-out .5s infinite}
#t1-result[data-phase=in] .sp.s2{animation-delay:.75s}
#t1-result[data-phase=in] .sp.s3{animation-delay:.95s}
@keyframes t1r-sp{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
#t1-result .ko{position:absolute;left:calc(50% + var(--u)*19);top:calc(50% - var(--u)*7);rotate:-12deg;padding:calc(var(--u)*.8) calc(var(--u)*1.6);border:calc(var(--u)*.5) solid #ff5a4e;border-radius:6px;color:#ff5a4e;font:700 calc(var(--u)*4)/1 var(--font-head);background:rgba(20,10,10,.6)}
#t1-result[data-phase=in] .ko{animation:t1r-ko .2s ease-in .45s both}
@keyframes t1r-ko{from{opacity:0;transform:scale(1.8)}to{opacity:1;transform:none}}
/* 휴대폰: 칩은 한 줄(줄바꿈하면 띠 밖으로 나감), 오른쪽 '다음' 단추 자리만큼 비움 */
body.tft1m #t1-result .row{flex-wrap:nowrap;gap:4px;max-width:calc(100% - 200px)}
body.tft1m #t1-result .c{font-size:11px;padding:0 6px;gap:3px}
body.tft1m #t1-result .mvp{max-width:calc(100% - 200px)}
@media (prefers-reduced-motion:reduce){#t1-result,#t1-result *{animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important}}
/* ---------- 41. v0.12.39 진행 띠 118-2 1안 A단계(StripT1 · #t1-strip, 사용자 승인 2026-11-04) ----------
   data-st: pill(알약) → open(펼침 .30) → move(이동 1.20) → arrive(도착 .25) → close(접힘 .35) → pill. 옛 진행 띠 #hud-round는 그동안 숨김(body.t1-strip-on).
   PC 알약 356×60 (782,16) / 펼침 840×148 (540,16) · 휴대폰 알약 144×34 (2,2) / 펼침 156×77 (2,2) — 118-2 notes 1·2절 */
html body.t1-strip-on:is(.tft1,.tft1m) :is(#hud-round#hud-round#hud-round#hud-round,#route-readout#route-readout#route-readout#route-readout){visibility:hidden!important}
#t1-strip{--x:782;--y:16;--w:356;--h:46;--t1a:calc(var(--t1r,0px)/2);position:fixed;left:calc(var(--t1a,0px) + (var(--hax,0) + (var(--x) - var(--hax,0))*var(--hz,1))*var(--t1k,1)*1px);top:calc((var(--hay,0) + (var(--y) + var(--t1by,0) - var(--hay,0))*var(--hz,1))*var(--t1k,1)*1px);width:calc(var(--w)*1px);height:calc(var(--h)*1px);transform:scale(calc(var(--t1k,1)*var(--hz,1)));transform-origin:0 0;
 z-index:40;box-sizing:border-box;overflow:hidden;border-radius:30px;background:#29282D;border:1px solid #56545A;box-shadow:var(--shadow);color:#F3F6FB;font-family:var(--font-body);cursor:default;
 transition:left .3s ease-out,width .3s ease-out,height .3s ease-out,border-radius .3s}
body:not(.tft1):not(.tft1m) #t1-strip{display:none}
#t1-strip:is([data-st=open],[data-st=move],[data-st=arrive]){--x:540;--w:840;--h:148;border-radius:var(--r-m);cursor:pointer}
#t1-strip[data-st=close]{transition-duration:.35s}
body.tft1m #t1-strip{--ry:80%;--x:2;--y:2;--w:144;--h:30;--hz:var(--hzM,1);--hax:0;--hay:0;left:calc(var(--t1ma,0px) + var(--x)*var(--hz)*var(--m85k,1)*1px);top:calc(var(--y)*var(--hz)*var(--m85k,1)*1px);transform:scale(calc(var(--m85k,1)*var(--hz)));border-radius:17px}
body.tft1m #t1-strip:is([data-st=open],[data-st=move],[data-st=arrive]){--w:156;--h:77;border-radius:var(--r-s)}
/* 알약 */
#t1-strip .pl{position:absolute;inset:0;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:0 18px 0 14px;transition:opacity .2s}
#t1-strip:not([data-st=pill]):not([data-st=close]) .pl{opacity:0;pointer-events:none}
#t1-strip .pme{grid-row:1/3;width:22px;height:30px;object-fit:contain;image-rendering:pixelated}
#t1-strip .tt{font:700 22px/1 var(--font-head);white-space:nowrap;align-self:end}
#t1-strip .sb{grid-column:2/4;display:flex;align-items:center;gap:4px;min-width:0;font-size:11px;color:#ABAAB3;align-self:start;margin-top:3px}
#t1-strip .sb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#t1-strip .sb :is(img,svg){width:16px;height:16px;object-fit:contain;image-rendering:pixelated;flex:none}
#t1-strip .st{grid-column:3;grid-row:1;font:700 12px/1 var(--font-head);font-style:normal;white-space:nowrap;color:var(--c-accent);align-self:end;justify-self:end;margin-right:16px}
#t1-strip[data-fight="1"] .st{color:#ff8c7a}
#t1-strip .pfl{position:absolute;right:16px;top:9px;width:8px;height:10px;image-rendering:pixelated}
body.tft1m #t1-strip .pl{padding:0 10px 0 8px;column-gap:6px}
body.tft1m #t1-strip .pme{width:13px;height:18px}
body.tft1m #t1-strip .tt{font-size:13px}
body.tft1m #t1-strip .sb{display:none}
body.tft1m #t1-strip .pl{grid-template-rows:1fr}
body.tft1m #t1-strip .st{grid-row:1;align-self:center;font-size:10px;margin-right:10px}
body.tft1m #t1-strip .pfl{display:none}
/* 펼침 지도 */
#t1-strip .mp{position:absolute;left:0;top:0;width:840px;height:148px;opacity:0;pointer-events:none;transition:opacity .2s}
#t1-strip:is([data-st=open],[data-st=move],[data-st=arrive]) .mp{opacity:1}
#t1-strip .mp header{position:absolute;left:18px;right:18px;top:10px;display:flex;align-items:baseline;justify-content:space-between}
#t1-strip .mt{font:700 24px/1 var(--font-head)}
#t1-strip .mp header em{font:700 12px/1 var(--font-head);font-style:normal;color:var(--c-accent)}
#t1-strip .vw{position:absolute;left:18px;top:46px;width:804px;height:88px;overflow:hidden;border-radius:4px;border:1px solid #56545A;background:#1d1c20}
#t1-strip .wd{position:absolute;left:0;top:0;height:100%;display:flex;will-change:transform}
#t1-strip .ld{width:50%;height:100%;image-rendering:pixelated;flex:none}
#t1-strip .ld0{position:absolute;inset:0;background:repeating-linear-gradient(90deg,#2b2a2f 0 16px,#262529 16px 32px),#262529}
#t1-strip .rd{position:absolute;left:0;top:0;overflow:visible}
#t1-strip .rd polyline{fill:none;stroke-linejoin:miter;stroke-linecap:square}
#t1-strip .rd .r1{stroke:#6E6650;stroke-width:12}
#t1-strip .rd .r2{stroke:#C2B690;stroke-width:8}
#t1-strip .rd .fpp{stroke:var(--c-accent);stroke-width:3;stroke-dasharray:4 5;stroke-linecap:butt;opacity:.9}
body.tft1m #t1-strip .rd .r1{stroke-width:6}
body.tft1m #t1-strip .rd .r2{stroke-width:4}
body.tft1m #t1-strip .rd .fpp{stroke-width:2;stroke-dasharray:2 3}
#t1-strip .nd{position:absolute;translate:-50% -50%;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#29282D;border:1px solid #56545A}
/* 칸 도트는 길 위에 바로 선다(판 없음, 지금 칸만 얇은 고리) */
#t1-strip .nd.sp{width:auto;height:auto;background:none;border:0;translate:-50% -100%;margin-top:3px}
#t1-strip .nd.sp img{display:block;image-rendering:pixelated;object-fit:contain;object-position:50% 100%}
#t1-strip .nd.sp .tr{width:36px;height:36px}
#t1-strip .nd.sp .pk{width:32px;height:32px}
#t1-strip .nd.sp .bl{width:16px;height:16px}
#t1-strip .nd.sp .q{font:700 22px/1 var(--font-head);color:#F3F6FB;text-shadow:0 2px 0 rgba(0,0,0,.6)}
#t1-strip .nd.sp.cur::after{content:'';position:absolute;left:50%;bottom:-6px;translate:-50% 0;width:26px;height:9px;border-radius:50%;border:2px solid var(--c-accent)}
#t1-strip .nd.sp.done{opacity:.5;filter:grayscale(.6)}
#t1-strip .nd:not(.sp) :is(img,svg){width:14px;height:14px;object-fit:contain;image-rendering:pixelated}
#t1-strip .nd.done{opacity:.55}
#t1-strip .nd.cur{border-color:var(--c-accent)}
#t1-strip .fl{position:absolute;translate:-2px -100%;margin-top:-34px;display:flex;align-items:flex-start;gap:3px}
#t1-strip .fl img{width:16px;height:20px;image-rendering:pixelated;animation:t1s-flag .8s ease-in-out infinite}
@keyframes t1s-flag{0%,100%{transform:none}50%{transform:translateY(-3px)}}
#t1-strip .fl.lf{flex-direction:row-reverse;translate:calc(-100% + 14px) 0}
#t1-strip .tg{display:none}
#t1-strip .fl b{font:700 11px/1 var(--font-head);padding:3px 6px;border-radius:4px;background:#29282D;border:1px solid var(--c-accent);color:var(--c-accent);white-space:nowrap}
#t1-strip .rider{position:absolute;translate:-50% calc(-100% + 3px);transform:translateY(var(--hop,0px));display:flex;flex-direction:column;align-items:center}
#t1-strip .rider .me{image-rendering:pixelated;display:block}
#t1-strip .rider .me.walk{width:48px;height:48px;object-fit:contain;object-position:50% 100%}
#t1-strip .rider .me.bike{width:60px;height:80px}
#t1-strip .rider .me.surf{width:88px;height:64px}
/* 도시 상징 자리표시(05 낱장 요청): 지붕 + 몸체 + 이름 */
#t1-strip .cty{position:absolute;translate:-50% -100%;display:flex;flex-direction:column;align-items:center;gap:2px;opacity:.9}
#t1-strip .cty i{width:34px;height:26px;background:linear-gradient(#8E8A97,#5E5B66);clip-path:polygon(50% 0,100% 38%,100% 100%,0 100%,0 38%);box-shadow:inset 0 -6px 0 #45434B}
#t1-strip .cty b{font:700 9px/1 var(--font-head);padding:2px 4px;border-radius:3px;background:rgba(41,40,45,.85);color:#ABAAB3;white-space:nowrap}
body.tft1m #t1-strip .cty i{width:14px;height:11px}
body.tft1m #t1-strip .cty b{display:none}
#t1-strip .rider .rd{position:absolute;bottom:100%;font:700 10px/1 var(--font-head);font-style:normal;padding:2px 4px;border-radius:3px;background:rgba(41,40,45,.9);border:1px dashed #ABAAB3;color:#ABAAB3;white-space:nowrap}
#t1-strip[data-st=arrive] .nd.cur{box-shadow:0 0 0 3px rgba(255,201,60,.5)}
/* 휴대폰 펼침: 지도 1배 */
body.tft1m #t1-strip .mp{width:156px;height:77px}
body.tft1m #t1-strip .mp header{left:6px;right:6px;top:5px}
body.tft1m #t1-strip .mt{font-size:12px}
body.tft1m #t1-strip .mp header em{font-size:9px}
body.tft1m #t1-strip .vw{left:4px;top:24px;width:148px;height:44px}
body.tft1m #t1-strip .nd{width:12px;height:12px}
body.tft1m #t1-strip .nd :is(img,svg){width:9px;height:9px}
body.tft1m #t1-strip .fl{margin-top:-14px;translate:-1px -100%}
body.tft1m #t1-strip .nd.sp .tr{width:16px;height:16px}
body.tft1m #t1-strip .nd.sp .pk{width:14px;height:14px}
body.tft1m #t1-strip .nd.sp .bl{width:8px;height:8px}
body.tft1m #t1-strip .nd.sp .q{font-size:10px}
body.tft1m #t1-strip .nd.sp.cur::after{width:12px;height:5px;border-width:1px;bottom:-3px}
body.tft1m #t1-strip .fl img{width:8px;height:10px}
body.tft1m #t1-strip .fl b{display:none}
body.tft1m #t1-strip .tg{display:block;position:absolute;left:50%;top:2px;translate:-50% 0;max-width:136px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 9px/1 var(--font-head);padding:2px 5px;border-radius:3px;background:#29282D;border:1px solid var(--c-accent);color:var(--c-accent)}

body.tft1m #t1-strip .rider .me.walk{width:22px;height:22px}
body.tft1m #t1-strip .rider .me.bike{width:15px;height:20px}
body.tft1m #t1-strip .rider .me.surf{width:22px;height:16px}
body.tft1m #t1-strip .rider .rd{font-size:7px;padding:1px 2px}
/* B: 갈림길(fork = 고르기 전 펼친 채 대기, forked = 고른 뒤 2.1초) — PC 880×148 (520,16), 휴대폰 156×77 */
#t1-strip:is([data-st=fork],[data-st=forked]){--x:520;--w:880;--h:148;border-radius:var(--r-m)}
/* 고르기 창(#strategy-overlay, 화면 전체)이 떠 있어도 띠에서 고를 수 있게 그 위로 */
#t1-strip:is([data-st=fork],[data-st=forked]){z-index:10060}
body.tft1m #t1-strip:is([data-st=fork],[data-st=forked]){--x:2;--w:156;--h:77;border-radius:var(--r-s)}
#t1-strip:is([data-st=fork],[data-st=forked]) .pl{opacity:0;pointer-events:none}
#t1-strip .fk{position:absolute;left:0;top:0;width:880px;height:148px;opacity:0;pointer-events:none;transition:opacity .2s}
#t1-strip:is([data-st=fork],[data-st=forked]) .fk{opacity:1;pointer-events:auto}
#t1-strip .fk header{position:absolute;left:18px;right:18px;top:10px;display:flex;align-items:baseline;justify-content:space-between}
#t1-strip .fk header b{font:700 24px/1 var(--font-head)}
#t1-strip .fk header em{font:700 12px/1 var(--font-head);font-style:normal;color:var(--c-accent)}
#t1-strip .fvw{position:absolute;left:18px;top:46px;width:452px;height:88px;overflow:hidden;border-radius:4px;border:1px solid #56545A;background:#232a22 url('assets/ui/progress-strip/terrain/forest.webp') 0 0/804px 88px;image-rendering:pixelated}
#t1-strip .fvw svg{position:absolute;inset:0}
#t1-strip .fvw polyline{fill:none;stroke-linejoin:miter;stroke-linecap:square;transition:opacity .15s,stroke .15s}
#t1-strip .fvw .r1{stroke:#6E6650;stroke-width:12}
#t1-strip .fvw .r2{stroke:#C2B690;stroke-width:8}
#t1-strip .fe{position:absolute;translate:-50% -50%;display:grid;place-items:center;transition:opacity .15s}
#t1-strip .fe i{font:700 20px/1 var(--font-head);font-style:normal;color:#F3F6FB;width:24px;height:26px;display:grid;place-items:center;border-radius:4px;background:#29282D;border:1px solid #56545A;animation:t1s-clue 1s ease-in-out infinite}
@keyframes t1s-clue{0%,100%{opacity:.85}50%{opacity:1}}
#t1-strip .fe b{font:700 11px/1 var(--font-head);padding:4px 6px;border-radius:4px;background:#29282D;border:1px solid var(--c-accent);color:var(--c-accent);white-space:nowrap;translate:-40% 0}
#t1-strip .fvw .rider{position:absolute}
#t1-strip .fl3{position:absolute;left:484px;right:18px;top:46px;display:flex;flex-direction:column;gap:5px}
#t1-strip .fo{display:flex;align-items:center;gap:10px;height:26px;padding:0 10px;border-radius:5px;background:var(--c-slot);border:1px solid var(--c-line);color:var(--c-text);font:500 12px/1 var(--font-body);cursor:pointer;text-align:left;transition:opacity .15s,border-color .15s}
#t1-strip .fo:not(:disabled):hover{border-color:var(--c-accent)}
#t1-strip .fo b{font:700 13px/1 var(--font-head);color:var(--c-accent);width:12px}
#t1-strip .fo :is(img,svg,.type-icon){width:16px;height:16px;flex:none}
#t1-strip .fo:disabled{cursor:default}
/* 고른 뒤: 고른 길만 노랑, 나머지 약 28% */
#t1-strip .fk[data-pick]:not([data-pick=""]) :is(polyline,.fe,.fo){opacity:.28}
#t1-strip .fk:is([data-pick=a]) .p-a,#t1-strip .fk:is([data-pick=b]) .p-b,#t1-strip .fk:is([data-pick=c]) .p-c{opacity:1!important}
#t1-strip .fk:is([data-pick=a]) .r2.p-a,#t1-strip .fk:is([data-pick=b]) .r2.p-b,#t1-strip .fk:is([data-pick=c]) .r2.p-c{stroke:var(--c-accent)}
#t1-strip .fk:is([data-pick=a]) .fo.p-a,#t1-strip .fk:is([data-pick=b]) .fo.p-b,#t1-strip .fk:is([data-pick=c]) .fo.p-c{border-color:var(--c-accent)}
body.tft1m #t1-strip .fk{width:156px;height:77px}
body.tft1m #t1-strip .fk header{left:6px;right:6px;top:5px}
body.tft1m #t1-strip .fk header b{font-size:11px}
body.tft1m #t1-strip .fk header em{font-size:8px}
body.tft1m #t1-strip .fvw{left:4px;top:24px;width:148px;height:44px;background-size:402px 44px}
body.tft1m #t1-strip .fvw .r1{stroke-width:6}
body.tft1m #t1-strip .fvw .r2{stroke-width:4}
body.tft1m #t1-strip .fe i{font-size:9px;width:11px;height:12px}
body.tft1m #t1-strip .fe b{font-size:8px;padding:1px 3px}
#t1-strip .fk header .sh,#t1-strip .fe small{display:none}
body.tft1m #t1-strip .fk header .lg{display:none}
body.tft1m #t1-strip .fk header .sh{display:inline}
/* 휴대폰: 단서 목록 대신 갈래 끝 글자 + ?(고르기는 고르기 창 카드) */
body.tft1m #t1-strip .fl3{display:none}
body.tft1m #t1-strip .fe{flex-direction:row;display:flex;gap:1px}
body.tft1m #t1-strip .fe small{display:block;font:700 7px/1 var(--font-head);color:var(--c-accent)}
body.tft1m #t1-strip .fo{height:14px;padding:0 3px;gap:2px;font-size:7px;background:rgba(41,40,45,.86)}
body.tft1m #t1-strip .fo b{font-size:8px;width:6px}
body.tft1m #t1-strip .fo :is(img,svg,.type-icon){width:8px;height:8px}
body.tft1m #t1-strip .fvw .rider .me.walk{width:22px;height:22px}
/* B: 승리 칸 체크 도장 '쾅' + 조각(0.18초 내려찍기, 조각 0.32초), 패배·라이벌 패배 진행은 조용히 */
#t1-strip .nd.stamp{opacity:1!important;filter:none!important;z-index:3}/* 도장은 떠나는 주인공 도트 위에(관리자 11-04: 주인공에 가려 안 보임) */
#t1-strip .nd.stamp::before{content:'✓';position:absolute;left:50%;top:-18px;translate:-50% 0;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#3E9A5A;border:2px solid #F3F6FB;color:#F3F6FB;font:700 14px/1 var(--font-head);z-index:2;animation:t1s-stamp .18s cubic-bezier(.3,1.6,.5,1) both}
#t1-strip .nd.stamp::after{content:'';position:absolute;left:50%;top:-8px;width:4px;height:4px;border-radius:1px;background:var(--c-accent);box-shadow:-14px -8px 0 #FFE9A8,12px -10px 0 var(--c-accent),-10px 8px 0 var(--c-accent),14px 6px 0 #FFE9A8,0 -16px 0 #FFE9A8;opacity:0;animation:t1s-chip .32s ease-out .12s both;border:0;width:4px;bottom:auto}
@keyframes t1s-stamp{from{transform:translateY(-10px) scale(1.6);opacity:0}to{transform:none;opacity:1}}
@keyframes t1s-chip{0%{opacity:1;transform:scale(.4)}100%{opacity:0;transform:scale(1.4)}}
#t1-strip .nd.quiet{opacity:.45;filter:grayscale(1)}
body.tft1m #t1-strip .nd.stamp::before{width:11px;height:11px;font-size:8px;top:-10px;border-width:1px}
/* C: 관장·사천왕·챔피언 칸 테마(사용자 승인 '시안보다 강하게') — 띠 바탕 틴트·테두리 빛·이름 띠 = 상대 타입색(--tc), 챔피언 금색.
   빛 숨쉬기는 ::after 투명도만(합성 단계) 2.4초, 화면이 덮이면(t1-still) 멈춤, 동작 줄이기면 없음(아래 공통 규칙). */
#t1-strip:is([data-theme=gym],[data-theme=elite],[data-theme=champion]){border-color:var(--tc);background:linear-gradient(100deg,color-mix(in srgb,var(--tc) 36%,#29282D) 0%,color-mix(in srgb,var(--tc) 16%,#29282D) 58%,#29282D 100%);box-shadow:0 0 0 1px var(--tc),0 0 18px 1px color-mix(in srgb,var(--tc) 55%,transparent),var(--shadow)}
#t1-strip:is([data-theme=gym],[data-theme=elite],[data-theme=champion])::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px var(--tc),inset 0 0 14px color-mix(in srgb,var(--tc) 60%,transparent);animation:t1s-glow 2.4s ease-in-out infinite}
@keyframes t1s-glow{0%,100%{opacity:.35}50%{opacity:1}}
body.t1-still #t1-strip::after{animation-play-state:paused}
#t1-strip .nb{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 8px;border-radius:3px;background:var(--tc);color:var(--tcf,#1B1A1E);font:700 11px/1.2 var(--font-head)}
#t1-strip .mp header .nb{margin:0 auto 0 12px;align-self:center;font-size:13px;padding:3px 10px}
#t1-strip[data-theme=champion] .tt{color:var(--tc)}
#t1-strip[data-theme=champion] .nb{color:#1B1A1E;background:linear-gradient(180deg,#F6D47A,var(--tc));box-shadow:0 0 0 1px #FFF1C2 inset}
body.tft1m #t1-strip .mp header .nb{font-size:8px;padding:1px 4px;margin-left:4px}
/* D: 05 118-3 반입(dev/art@8e3bb5aa) — 성도·호연 풍경 끝 통일·sea_briney 배 덮개·체육관 24·탈것 시트·깃발 2프레임·발자국 */
#t1-strip .lbg{position:absolute;top:0;width:50%;height:100%;z-index:-1;background-size:100% 100%;image-rendering:pixelated;filter:blur(5px) brightness(.72) saturate(.85);transform:scale(1.3,1.6)}/* 투명 가장자리를 같은 그림 흐린 색으로 채움 → 관동처럼 사각 띠 */
#t1-strip .lpt{position:absolute;image-rendering:pixelated;background-repeat:no-repeat}
#t1-strip .gyb{position:absolute;top:0;height:100%;translate:-50% 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
#t1-strip .gyb img{height:100%;width:auto;image-rendering:pixelated}
#t1-strip .gyb b{position:absolute;bottom:2px;font:700 10px/1 var(--font-head);padding:2px 4px;border-radius:3px;background:rgba(41,40,45,.9);color:#F3F6FB;white-space:nowrap}
body.tft1m #t1-strip .gyb b{display:none}
#t1-strip .rider .me.sp{display:block;background:var(--sheet) 0 0/auto 100% no-repeat;image-rendering:pixelated;animation:t1s-sp var(--d) steps(var(--n),jump-none) infinite}
#t1-strip:not([data-st=move]) .rider .me.sp{animation-play-state:paused}
@keyframes t1s-sp{to{background-position-x:100%}}
#t1-strip .rider .me.sp:is(.bike,.rope){width:64px;height:80px}
#t1-strip .rider .me.sp:is(.surf,.boat,.dive){width:96px;height:64px}
body.tft1m #t1-strip .rider .me.sp:is(.bike,.rope){width:16px;height:20px}
body.tft1m #t1-strip .rider .me.sp:is(.surf,.boat,.dive){width:24px;height:16px}
#t1-strip .fl .fg{display:block;width:16px;height:20px;background:url(assets/ui/progress-strip/mark/flag_01.webp) 0 0/100% 100%;image-rendering:pixelated;animation:t1s-flag .8s ease-in-out infinite,t1s-fw .36s steps(1) infinite}
@keyframes t1s-fw{0%{background-image:url(assets/ui/progress-strip/mark/flag_01.webp)}50%{background-image:url(assets/ui/progress-strip/mark/flag_02.webp)}}
#t1-strip:is([data-st=pill],[data-st=close]) .fl .fg{animation-play-state:paused}
body.tft1m #t1-strip .fl .fg{width:8px;height:10px}
#t1-strip .rd .fpp{display:none}/* 점선 대신 발자국 그림 */
#t1-strip .fps{position:absolute;inset:0;pointer-events:none}
#t1-strip .fp{position:absolute;width:16px;height:14px;translate:-50% -50%;background:url(assets/ui/progress-strip/mark/footsteps_01.webp) 0 0/100% 100%;image-rendering:pixelated}
#t1-strip .fp.b{background-image:url(assets/ui/progress-strip/mark/footsteps_02.webp)}
body.tft1m #t1-strip .fp{width:8px;height:7px}
/* 큰 사건(관리자 위임 11-04, 118-2 시안 2): 알약 → 560×96 (680,16) .18 펼침 · .72 유지 · .30 접힘 = 1.20초, 휴대폰 156×77 (2,2). 판(위 끝 약 y130)은 가리지 않음 */
#t1-strip:is([data-ev=open],[data-ev=hold]){--x:680;--w:560;--h:96;border-radius:var(--r-m);transition-duration:.18s}
#t1-strip[data-ev=close]{transition-duration:.3s}
body.tft1m #t1-strip:is([data-ev=open],[data-ev=hold]){--x:2;--w:156;--h:77;border-radius:var(--r-s)}
#t1-strip[data-ev] .pl{opacity:0}
#t1-strip .ev{position:absolute;left:0;top:0;width:560px;height:96px;padding:14px 20px;box-sizing:border-box;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;column-gap:12px;row-gap:6px;opacity:0;pointer-events:none;transition:opacity .12s}
#t1-strip:is([data-ev=open],[data-ev=hold]) .ev{opacity:1}
#t1-strip .ev b{font:700 30px/1 var(--font-head);color:var(--c-accent);white-space:nowrap}
#t1-strip .ev small{grid-row:2;font:500 13px/1.2 var(--font-body);color:#ABAAB3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#t1-strip .ev .ea{grid-column:2;grid-row:1/3;position:relative;width:64px;height:64px;display:grid;place-items:center}
#t1-strip .ev .ea img{max-width:64px;max-height:64px;image-rendering:pixelated;object-fit:contain}
#t1-strip .ev .ex{position:absolute;left:50%;top:-16px;translate:-50% 0;font:700 22px/1 var(--font-head);font-style:normal;color:var(--c-accent);text-shadow:0 2px 0 #1B1A1E;animation:t1s-ex .16s ease-out both}
@keyframes t1s-ex{from{transform:translateY(6px);opacity:0}to{transform:none;opacity:1}}
#t1-strip .ev[data-k=rival] b{color:#FF8C7A}
body.tft1m #t1-strip .ev{width:156px;height:77px;padding:6px 8px;column-gap:4px;row-gap:3px}
body.tft1m #t1-strip .ev b{font-size:14px}
body.tft1m #t1-strip .ev small{font-size:8px}
body.tft1m #t1-strip .ev .ea{width:30px;height:30px}
body.tft1m #t1-strip .ev .ea img{max-width:30px;max-height:30px}
body.tft1m #t1-strip .ev .ex{font-size:12px;top:-9px}
/* C: 관장 KO 뒤 배지 비행(BadgeFlyT1) — 결과 띠 배지 자리 → 배지 칸 곡선 0.70초(PC 32px=2배·휴대폰 16px), 도착 칸 노랑 반짝 0.50초 */
#t1-bdg-fly{position:fixed;z-index:10070;pointer-events:none;image-rendering:pixelated;filter:drop-shadow(0 0 6px rgba(255,201,60,.8));will-change:transform}
#journey-btn.t1-bdg-in{animation:t1-bdg-in .5s ease-out}
@keyframes t1-bdg-in{0%{box-shadow:0 0 0 2px var(--c-accent),0 0 16px 4px rgba(255,201,60,.7);transform:scale(1.08)}100%{box-shadow:0 0 0 0 transparent;transform:none}}
@media (prefers-reduced-motion:reduce){#journey-btn.t1-bdg-in{animation:none}}
/* 갈림길 고르기 창 정리(관리자 11-04 (가)): PC는 창을 숨기고 띠에서만 고름, 휴대폰은 차콜 평판 카드 3장의 작은 창(금테·장식 판 없음) */
html body.tft1 #strategy-overlay.t1-fork-pc{display:none!important}
/* PC 갈림길 대기(관리자 11-04 보완): 전투 단추 자리에 '경로 선택' — 누르면 띠 A·B·C로 초점, 띠 단추 노랑 테두리 깜빡 */
html body.tft1.t1-fork-wait #battle-btn{visibility:hidden!important}
#t1-fork-go{position:fixed;z-index:10061;display:grid;place-content:center;justify-items:center;gap:4px;box-sizing:border-box;padding:0;background:var(--c-panel-solid);border:2px solid var(--c-accent);border-radius:var(--r-m);box-shadow:var(--shadow);color:var(--c-accent);font:700 24px/1 var(--font-head);cursor:pointer}
#t1-fork-go small{font:700 11px/1 var(--font-body);color:var(--c-dim)}
#t1-fork-go:is(:hover,:focus-visible){background:#3A3524}
body:not(.tft1) #t1-fork-go{display:none}
#t1-strip .fo:focus-visible{outline:2px solid var(--c-accent);outline-offset:1px}
#t1-strip.hint .fo:not(:disabled){animation:t1s-hint .9s ease-out}
@keyframes t1s-hint{0%,60%{border-color:var(--c-accent);box-shadow:0 0 0 2px rgba(255,224,138,.45)}100%{box-shadow:none}}
html body.tft1m #strategy-overlay.t1-fork-m .strategy-panel{width:min(560px,calc(100vw - 24px))!important;max-width:none!important;height:auto!important;max-height:calc(100vh - 24px)!important;padding:8px 10px 10px!important;overflow:hidden!important}
html body.tft1m #strategy-overlay.t1-fork-m .strategy-panel header small,html body.tft1m #strategy-overlay.t1-fork-m #strategy-close[hidden]{display:none!important}
html body.tft1m #strategy-overlay.t1-fork-m .strategy-panel :is(header,#strategy-title){background:none!important;border:0!important;box-shadow:none!important;padding-left:2px!important;min-height:0!important}
#strategy-overlay .t1fk{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
#strategy-overlay .t1fk-c{display:grid;grid-template-rows:auto 28px auto 1fr;justify-items:center;align-content:start;gap:4px;min-height:132px;padding:8px 6px 10px;background:var(--c-slot);border:1px solid var(--c-line);border-radius:var(--r-s);color:var(--c-text);text-align:center;cursor:pointer;box-shadow:none;font:inherit}
#strategy-overlay .t1fk-c:is(:hover,:focus-visible){border-color:var(--c-accent)}
#strategy-overlay .t1fk-c>b{font:700 13px/1 var(--font-head);color:var(--c-accent)}
#strategy-overlay .t1fk-c :is(img,svg,.type-icon){width:28px;height:28px}
#strategy-overlay .t1fk-c>span{font:700 13px/1.25 var(--font-body);color:var(--c-text)}
#strategy-overlay .t1fk-c>small{font:500 10px/1.35 var(--font-body);color:var(--c-dim)}
#strategy-overlay .t1fk-c.cv-route-dim{opacity:.35;filter:grayscale(.6);transition:opacity .25s,filter .25s}
#strategy-overlay .t1fk-c.cv-route-flip{animation:cv-route-flip .36s ease-in-out}
#strategy-overlay .t1fk-c.cv-route-open{border-color:var(--c-accent);cursor:default;opacity:1}
#strategy-overlay .t1fk-c .cv-route-back{display:grid;gap:4px;place-items:center;align-self:center;grid-row:1/-1}
#strategy-overlay .t1fk-c .cv-route-back small{font:700 10px/1.3 var(--font-body);color:var(--c-dim)}
#strategy-overlay .t1fk-c .cv-route-back b{font:700 16px/1.15 var(--font-head);color:var(--c-accent)}
#strategy-overlay .t1fk-c .cv-route-back span{font:500 11px/1.35 var(--font-body);color:var(--c-text)}
/* 보상·배지 연출의 '연출 건너뛰기'가 tft1 위쪽 1.5× 단추를 덮던 것 → 위 줄 아래로(관리자 보완 5) */
html body.tft1 :is(#work-rewards,#work-badge) .work-skip{top:calc(76px*var(--t1k,1))!important}
html body.tft1m :is(#work-rewards,#work-badge) .work-skip{top:calc(52px*var(--m85k,1))!important}
@media (prefers-reduced-motion:reduce){#t1-strip,#t1-strip *{transition:none!important;animation:none!important}}
/* ---------- 4. 휴대폰 가로 844×390 (body.tft1m — hud85m 좌표 틀 위, 113 REV2 layout_844.json) ----------
   왼쪽 기둥 8~152, 판 가운데(경계는 TFT1 bounds 훅: x 168~620, y 20~310), 오른쪽 상점 기둥 640~838(+R), 벤치 [172,342] 44칸 9개.
   #shared-shop-dock은 [5,239]에 zoom=k 그대로라 안쪽 좌표는 설계값−(5,239), 오른쪽 기둥은 +--t1mrd(설계 단위 남는 가로). gen: scratchpad gen_m.py */
body.tft1m.hud85m #hud-round#hud-round#hud-round,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life,body.tft1m.hud85m #journey-btn#journey-btn#journey-btn,body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage,body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy,body.tft1m.hud85m #coach-btn#coach-btn#coach-btn,body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch,body.tft1m.hud85m #type-chart-btn#type-chart-btn#type-chart-btn,body.tft1m.hud85m #speed-btn#speed-btn#speed-btn,body.tft1m.hud85m #t1-menu#t1-menu#t1-menu,body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet{position:fixed!important;left:calc(var(--t1ma,0px) + (var(--hax,0) + (var(--x) - var(--hax,0))*var(--hz,1))*var(--m85k)*1px)!important;top:calc((var(--hay,0) + (var(--y) - var(--hay,0))*var(--hz,1))*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(calc(var(--m85k)*var(--hz,1)))!important;transform-origin:0 0!important;translate:none!important;scale:none!important;zoom:1!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;background-image:none!important;border-image:none!important;filter:none!important;text-shadow:none!important;opacity:1!important;visibility:visible!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round::before,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life::before,body.tft1m.hud85m #journey-btn#journey-btn#journey-btn::before,body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage::before,body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy::before,body.tft1m.hud85m #coach-btn#coach-btn#coach-btn::before,body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch::before,body.tft1m.hud85m #type-chart-btn#type-chart-btn#type-chart-btn::before,body.tft1m.hud85m #speed-btn#speed-btn#speed-btn::before,body.tft1m.hud85m #t1-menu#t1-menu#t1-menu::before,body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet::before{content:none!important;display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round::after,body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage::after,body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy::after,body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch::after,body.tft1m.hud85m #type-chart-btn#type-chart-btn#type-chart-btn::after,body.tft1m.hud85m #speed-btn#speed-btn#speed-btn::after,body.tft1m.hud85m #t1-menu#t1-menu#t1-menu::after,body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet::after{content:none!important;display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round{--x:8;--y:4;--w:144;--h:70;--t1ma:0px}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life{--x:8;--y:84;--w:64;--h:28;--t1ma:0px}
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn{--x:80;--y:84;--w:68;--h:28;--t1ma:0px}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage{--x:8;--y:122;--w:140;--h:32;--t1ma:0px}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy{--x:8;--y:170;--w:140;--h:35;--t1ma:0px}
body.tft1m.hud85m #coach-btn#coach-btn#coach-btn{--x:104;--y:216;--w:44;--h:44;--t1ma:0px}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch{--x:8;--y:268;--w:88;--h:44;--t1ma:0px}
body.tft1m.hud85m #type-chart-btn#type-chart-btn#type-chart-btn{--x:104;--y:268;--w:44;--h:44;--t1ma:0px}
body.tft1m.hud85m #speed-btn#speed-btn#speed-btn{--x:692;--y:4;--w:94;--h:44;--t1ma:var(--m85r)}
body.tft1m.hud85m #t1-menu#t1-menu#t1-menu{--x:794;--y:4;--w:44;--h:44;--t1ma:var(--m85r)}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet{--x:640;--y:54;--w:198;--h:32;--t1ma:var(--m85r)}
body.tft1m.hud85m #hud-round#hud-round#hud-round{background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;display:block!important;z-index:30!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round>*{position:absolute!important;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar{left:0!important;top:0!important;width:144px!important;height:36px!important;display:block!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar .header-middle{display:block!important;position:static!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar .head-sep{display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar .round-text{display:block!important;position:static!important;font-size:0!important;line-height:0!important;color:transparent!important;padding:0!important;margin:0!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar .round-text::before,body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar .round-text::after,body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-progress::before,body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-progress::after,body.tft1m.hud85m #hud-round#hud-round#hud-round #route-readout::before,body.tft1m.hud85m #hud-round#hud-round#hud-round #route-readout::after,body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar::before,body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-roundbar::after{display:none!important;content:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #round-label{position:absolute!important;left:0!important;top:0!important;display:block!important;font:700 14px/18px var(--font-head)!important;color:var(--c-text)!important;white-space:nowrap}
body.tft1m.hud85m #hud-round#hud-round#hud-round #phase-pill{position:absolute!important;left:0!important;top:19px!important;display:block!important;font:12px/16px var(--font-body)!important;color:var(--c-accent)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #phase-pill i{display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #hud-progress{left:0!important;top:36px!important;width:144px!important;height:34px!important;display:block!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #stage-dots{position:absolute!important;left:0!important;top:0!important;width:144px!important;height:16px!important;display:flex!important;gap:0!important;justify-content:space-between!important;align-items:center!important;background:none!important;border:0!important;padding:0!important;margin:0!important;transform:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #stage-dots::before,body.tft1m.hud85m #hud-round#hud-round#hud-round #stage-dots::after{display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node{position:relative!important;flex:none!important;width:15px!important;height:15px!important;min-width:0!important;border-radius:50%!important;background:var(--c-node)!important;background-image:none!important;border:1px solid var(--c-node-line)!important;box-shadow:none!important;padding:0!important;margin:0!important;display:grid!important;place-items:center;transform:none!important;overflow:hidden!important;opacity:1!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node.active{border-color:var(--c-accent)!important;background:var(--c-accent)!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node.cleared{border-color:var(--c-ok)!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node i{font-size:9px!important;line-height:1!important;max-height:13px!important;overflow:hidden!important;display:grid!important;place-items:center;width:100%!important;height:100%!important;position:static!important;background:none!important;border:0!important;margin:0!important;padding:0!important;transform:none!important;box-shadow:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node i>*,body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node img{width:11px!important;height:11px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-size:9px!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node :is(small,em),body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node::before,body.tft1m.hud85m #hud-round#hud-round#hud-round .stage-node::after{display:none!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #route-readout{position:absolute!important;left:0!important;top:20px!important;width:144px!important;height:14px!important;font:10px/14px var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #route-readout *{font:inherit!important;color:inherit!important;margin:0!important;padding:0!important;position:static!important}
body.tft1m.hud85m #hud-round#hud-round#hud-round #route-readout .route-track,body.tft1m.hud85m #hud-round#hud-round#hud-round #route-choice:empty{display:none!important}
body.tft1m.hud85m :is(#mobile-life#mobile-life#mobile-life,#journey-btn#journey-btn#journey-btn){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 12px/1 var(--font-head)!important;z-index:30!important}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life>span,body.tft1m.hud85m #journey-btn#journey-btn#journey-btn .badge-empty{display:none!important}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life::after{content:'HP'!important;font:inherit!important;order:-1;display:inline!important;position:static!important;background:none!important;border:0!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn::after{content:'배지'!important;font:inherit!important;order:-1;display:inline!important;position:static!important;background:none!important;border:0!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life b,body.tft1m.hud85m #journey-btn#journey-btn#journey-btn b{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;position:static!important}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage{display:block!important;background:none!important;border:0!important;box-shadow:none!important;text-align:left!important;overflow:visible!important;z-index:30!important}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy{display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;gap:2px!important;position:static!important;background:none!important;padding:0!important;margin:0!important}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy strong{font:700 14px/16px var(--font-head)!important;color:var(--c-text)!important;white-space:nowrap}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage .mobile-stage-copy small{font:12px/14px var(--font-body)!important;color:var(--c-dim)!important;opacity:1!important}
body.tft1m.hud85m #mobile-stage#mobile-stage#mobile-stage #fight-clock{display:none!important}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy{display:block!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:30!important}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn{display:flex!important;gap:4px!important}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;width:24px!important}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i>:first-child{width:18px!important;height:18px!important;border-radius:50%!important;border:1px solid var(--c-line)!important;margin:0!important;box-shadow:none!important;display:grid!important;place-items:center}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i>:first-child :is(img,svg){width:12px!important;height:12px!important}
body.tft1m.hud85m #mobile-synergy#mobile-synergy#mobile-synergy .t1m-syn-i b{font:700 10px/1 var(--font-head)!important;color:var(--c-text)!important;white-space:nowrap}
body.tft1m.hud85m :is(#coach-btn#coach-btn#coach-btn,#type-chart-btn#type-chart-btn#type-chart-btn){display:inline-grid!important;place-items:center!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 12px/1 var(--font-head)!important;z-index:30!important;overflow:hidden!important}
body.tft1m.hud85m #coach-btn#coach-btn#coach-btn{font-size:0!important;color:transparent!important}
body.tft1m.hud85m #coach-btn#coach-btn#coach-btn::before{display:none!important}
body.tft1m.hud85m #coach-btn#coach-btn#coach-btn::after{content:'AI';font:700 12px/1 var(--font-head);color:var(--c-text);position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch{display:block!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;overflow:hidden!important;z-index:30!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch::before,body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch::after{display:none!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch>:not(.cv-pouch-toggle){display:none!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;display:grid!important;place-items:center!important;font-size:0!important;color:transparent!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle::before{display:none!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle::after{content:'주머니';font:700 12px/1 var(--font-head);color:var(--c-text)}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch .cv-pouch-toggle>*{display:none!important}
body.tft1m.hud85m #speed-btn#speed-btn#speed-btn,body.tft1m.hud85m #t1-menu#t1-menu#t1-menu{display:inline-grid!important;place-items:center!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 14px/1 var(--font-head)!important;z-index:31!important}
body.tft1m.hud85m #t1-menu#t1-menu#t1-menu i{width:20px;height:14px;background:repeating-linear-gradient(var(--c-text) 0 2px,transparent 2px 6px)}
body.tft1m.hud85m :is(#mobile-menu-toggle#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide#mobile-guide){display:none!important}
body.tft1m.hud85m.t1-menu-open :is(#mobile-menu-toggle#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide#mobile-guide){position:fixed!important;left:calc(var(--t1ma,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;translate:none!important;scale:none!important;zoom:1!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;background-image:none!important;border-image:none!important;filter:none!important;text-shadow:none!important;opacity:1!important;visibility:visible!important;--t1ma:var(--m85r);--x:646;--w:192;--h:44;display:inline-flex!important;align-items:center!important;gap:12px!important;padding:0 12px!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;z-index:40!important;font-size:0!important;pointer-events:auto!important}
body.tft1m.hud85m.t1-menu-open #mobile-menu-toggle#mobile-menu-toggle#mobile-menu-toggle{--y:52}body.tft1m.hud85m.t1-menu-open #hud-fullscreen#hud-fullscreen#hud-fullscreen{--y:100}body.tft1m.hud85m.t1-menu-open #world-tour-btn#world-tour-btn#world-tour-btn{--y:148}body.tft1m.hud85m.t1-menu-open #mobile-guide#mobile-guide#mobile-guide{--y:196}
body.tft1m.hud85m.t1-menu-open :is(#mobile-menu-toggle#mobile-menu-toggle#mobile-menu-toggle,#hud-fullscreen#hud-fullscreen#hud-fullscreen,#world-tour-btn#world-tour-btn#world-tour-btn,#mobile-guide#mobile-guide#mobile-guide) svg{width:20px!important;height:20px!important;position:static!important;flex:none}
body.tft1m.hud85m.t1-menu-open #mobile-menu-toggle#mobile-menu-toggle#mobile-menu-toggle::after{content:'설정·메뉴';font:700 14px/1 var(--font-head)}body.tft1m.hud85m.t1-menu-open #hud-fullscreen#hud-fullscreen#hud-fullscreen::after{content:'전체 화면';font:700 14px/1 var(--font-head)}body.tft1m.hud85m.t1-menu-open #world-tour-btn#world-tour-btn#world-tour-btn::after{content:'월드 투어';font:700 14px/1 var(--font-head)}body.tft1m.hud85m.t1-menu-open #mobile-guide#mobile-guide#mobile-guide::after{content:'포켓몬 도감';font:700 14px/1 var(--font-head)}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet{display:block!important;background:none!important;border:0!important;box-shadow:none!important;z-index:19!important;overflow:visible!important}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet :is(img,canvas,.interest-coins,.hud-coin,svg,.pika-portrait,.side-gold-rise,.gold-rise,.hud-win-streak){display:none!important}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #hud-shop-gold{position:absolute!important;right:8px!important;left:auto!important;top:2px!important;width:auto!important;height:14px!important;min-height:0!important;min-width:0!important;line-height:14px!important;font:700 12px/14px var(--font-head)!important;color:var(--c-accent)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;white-space:nowrap}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #hud-shop-gold *{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;position:static!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #hud-shop-gold .gold-balance::after{content:' G'}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side{position:absolute!important;right:8px!important;left:auto!important;top:16px!important;width:auto!important;height:12px!important;min-height:0!important;min-width:0!important;font:10px/12px var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;display:inline-flex!important;white-space:nowrap!important}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side *{font:inherit!important;color:inherit!important;background:none!important;border:0!important;padding:0!important;margin:0!important;position:static!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side .interest-badge::before{content:'이자 '}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-bench-row#dock-bench-row#dock-bench-row,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-shop-controls#hud-shop-controls#hud-shop-controls,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-start#dock-start#dock-start,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn{position:absolute!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;translate:none!important;scale:none!important;zoom:1!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;background-image:none!important;border-image:none!important;text-shadow:none!important;filter:none!important;pointer-events:auto!important;visibility:visible!important;opacity:1!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock{pointer-events:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock .shop-area{position:absolute!important;left:0!important;top:0!important;width:0!important;height:0!important;margin:0!important;padding:0!important;transform:none!important;zoom:1!important;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock .shop-area::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock .shop-area::after{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-bench-row#dock-bench-row#dock-bench-row{left:calc((167 + var(--t1mrd,0)/2)*1px)!important;top:103px!important;width:428px!important;height:44px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-bench-row#dock-bench-row#dock-bench-row::before{content:''!important;display:block!important;position:absolute!important;left:-6px!important;top:-5px!important;width:440px!important;height:54px!important;background:var(--c-band)!important;border:0!important;border-radius:var(--r-m)!important;box-shadow:none!important;pointer-events:none!important;z-index:-1!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench{left:0!important;top:0!important;width:428px!important;height:44px!important;display:grid!important;grid-template-columns:repeat(9,44px)!important;gap:4px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench::after,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot::after{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot{position:relative!important;width:44px!important;height:44px!important;min-width:0!important;background:var(--c-slot)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;display:grid!important;place-items:center;overflow:visible!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot.selected{border-color:var(--c-accent)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot .bench-num{position:absolute!important;left:3px!important;top:2px!important;font:700 10px/1 var(--font-head)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #bench#bench#bench .bench-slot img{max-height:38px;image-rendering:pixelated}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards{left:calc((635 + var(--t1mrd,0))*1px)!important;top:-147px!important;width:198px!important;height:236px!important;display:flex!important;flex-direction:column!important;gap:4px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;grid-template-columns:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card{position:relative!important;flex:none!important;width:198px!important;height:44px!important;min-width:0!important;min-height:0!important;max-height:none!important;background:var(--c-panel)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:none!important;padding:0!important;margin:0!important;transform:none!important;overflow:hidden!important;color:var(--c-text)!important;display:block!important;filter:none!important;opacity:1!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card::after,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card :is(.shop-price,.shop-stars),body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-top::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-top::after{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.locked{opacity:.5!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-top,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta{position:static!important;display:contents!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .poke-img{position:absolute!important;left:4px!important;top:4px!important;width:32px!important;height:36px!important;object-fit:contain;image-rendering:pixelated;margin:0!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-name{position:absolute!important;left:40px!important;top:5px!important;width:62px!important;font:700 12px/16px var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-name .shop-done{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-role{position:absolute!important;left:40px!important;top:23px!important;font:12px/16px var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;width:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .merge-hint{position:absolute!important;left:82px!important;top:23px!important;right:auto!important;bottom:auto!important;width:auto!important;max-width:34px!important;height:16px!important;font:12px/16px var(--font-body)!important;color:var(--c-dim)!important;background:none!important;border:0!important;padding:0!important;margin:0!important;transform:none!important;white-space:nowrap;display:block!important;opacity:1!important;overflow:hidden!important;text-overflow:clip!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .merge-hint i{display:none}/* v0.12.38: 휴대폰은 '0/3'·'합성!'만(좁은 칸에서 '1성'이 잘려 ':'처럼 보임) */
.shop-card .merge-hint i{font-style:normal}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role){position:absolute!important;top:5px!important;width:16px!important;height:16px!important;font-size:0!important;line-height:0!important;background:none!important;border:0!important;padding:0!important;margin:0!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role):nth-of-type(1){left:112px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role):nth-of-type(2){left:132px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol{width:16px!important;height:16px!important;border-radius:50%!important;border:1px solid var(--c-line)!important;display:grid!important;place-items:center;margin:0!important;box-shadow:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-meta>span:not(.shop-role) .type-symbol img{width:10px!important;height:10px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-cost{position:absolute!important;left:118px!important;top:23px!important;right:auto!important;width:auto!important;height:auto!important;font:700 12px/16px var(--font-head)!important;color:var(--c-accent)!important;background:none!important;background-image:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-cost::after{content:' G'}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-info{position:absolute!important;left:154px!important;top:-1px!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;display:grid!important;place-items:center;background:none!important;background-image:none!important;border:0!important;border-left:1px solid var(--c-line)!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;transform:none!important;opacity:1!important;z-index:3}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-info .shop-info-glyph{display:grid!important;place-items:center;width:20px!important;height:20px!important;border:1px solid var(--c-line)!important;border-radius:50%!important;background:var(--c-panel-solid)!important;font:inherit!important;color:inherit!important;padding:0!important;margin:0!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .shop-advice-badge{position:absolute!important;left:2px!important;top:2px!important;right:auto!important;width:auto!important;height:14px!important;min-width:0!important;min-height:0!important;padding:0 3px!important;font:700 9px/14px var(--font-head)!important;color:var(--c-bg)!important;background:var(--c-accent)!important;background-image:none!important;border:0!important;border-radius:4px!important;box-shadow:none!important;margin:0!important;transform:none!important;z-index:4}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold .shop-name{left:12px!important;top:13px!important;width:140px!important;color:var(--c-dim)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-shop-controls#hud-shop-controls#hud-shop-controls{left:0!important;top:0!important;width:0!important;height:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-shop-controls#hud-shop-controls#hud-shop-controls .shop-sidebar{display:contents!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn{top:99px!important;width:68px!important;height:48px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;padding:4px 6px!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 12px/1 var(--font-head)!important;white-space:nowrap;overflow:hidden!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn{left:3px!important;font-size:0!important}body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn{left:75px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn :is(img,.hud-coin),body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn :is(img,.hud-coin){display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn::before{content:'구매 XP'!important;display:block!important;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;grid-column:1/3;grid-row:1;position:static!important;background:none!important;width:auto!important;height:auto!important;opacity:1!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn>span,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn>b{grid-column:1;grid-row:2;font:12px/1 var(--font-head)!important;color:var(--c-dim)!important;background:none!important;padding:0!important;margin:0!important;border:0!important;position:static!important;display:inline!important;width:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn>span::after,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn>b::after{content:' G'}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn>span{grid-column:1/3;grid-row:1;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important;position:static!important;display:inline!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn::after{content:'F'!important}body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn::after{content:'R'!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #xp-btn#xp-btn#xp-btn::after,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #reroll-btn#reroll-btn#reroll-btn::after{grid-column:2;grid-row:2;display:inline-grid!important;place-items:center;width:18px!important;height:18px!important;background:var(--c-key)!important;border:1px solid var(--c-line)!important;border-radius:4px!important;font:700 10px/1 var(--font-head)!important;color:var(--c-text)!important;position:static!important;opacity:1!important;inset:auto!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level{left:calc((635 + var(--t1mrd,0))*1px)!important;top:-185px!important;width:198px!important;height:37px!important;background:var(--c-panel)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;padding:2px 8px!important;display:block!important;overflow:visible!important;z-index:22!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #hud-level-title{display:flex!important;justify-content:flex-start!important;gap:8px!important;align-items:baseline!important;width:auto!important;height:14px!important;padding:0!important;margin:0!important;background:none!important;border:0!important;position:static!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #level-label{font:700 12px/14px var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level #xp-label{font:10px/14px var(--font-body)!important;color:var(--c-dim)!important;background:none!important;padding:0!important;margin:0!important;max-width:none!important;overflow:visible!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-level#hud-level#hud-level :is(#hud-xp-segments,#dock-xp-remaining){display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-start#dock-start#dock-start{left:calc((468 + var(--t1mrd,0)/2)*1px)!important;top:-4px!important;width:198px!important;height:48px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn{left:0!important;top:0!important;width:198px!important;height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0!important;background:var(--c-action)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:700 20px/1 var(--font-head)!important;overflow:visible!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn::after,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn :is(.deploy-triangle,small){display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn>span{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;position:static!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count{left:8px!important;top:-265px!important;width:auto!important;height:14px!important;display:inline-flex!important;align-items:center!important;gap:4px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font:10px/14px var(--font-body)!important;color:var(--c-dim)!important;white-space:nowrap;overflow:visible!important;z-index:24!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count #limit-text{font:700 10px/14px var(--font-head)!important;color:var(--c-text)!important;background:none!important;padding:0!important;margin:0!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count[data-ready=true] #limit-text{color:var(--c-ok)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count::after{content:'배치'!important;display:inline!important;font:10px/14px var(--font-body)!important;color:var(--c-dim)!important;position:static!important;background:none!important;width:auto!important;height:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count #hud-deploy-slots{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar{left:0!important;top:0!important;width:0!important;height:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;display:block!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock=codex]{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock=toggle]{position:absolute!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;translate:none!important;scale:none!important;zoom:1!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;background-image:none!important;border-image:none!important;text-shadow:none!important;filter:none!important;pointer-events:auto!important;visibility:visible!important;opacity:1!important;left:3px!important;top:-23px!important;width:88px!important;height:44px!important;display:inline-grid!important;place-items:center!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font-size:0!important;--work-button:none!important;--work-hover:none!important;--work-focus:none!important;--work-pressed:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock=toggle]::before{content:'가방 ' attr(data-t1-count)!important;display:block!important;font:700 12px/1 var(--font-head)!important;color:var(--c-text)!important;background:none!important;position:static!important;width:auto!important;height:auto!important;inset:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock=toggle]::after{display:none!important;content:none!important;position:static!important;font:700 12px/1 var(--font-head);color:var(--c-text);background:none!important;width:auto!important;height:auto!important;inset:auto!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #dock-toolbar#dock-toolbar#dock-toolbar .work-bag-button[data-dock=toggle]>*{display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn{left:calc((635 + var(--t1mrd,0))*1px)!important;top:-235px!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important;padding:0!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font-size:0!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn #lock-icon{display:grid!important;place-items:center;width:18px!important;height:18px!important;position:static!important;background:none!important;margin:0!important;padding:0!important;transform:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn svg{width:18px!important;height:18px!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn[aria-pressed=true]{border-color:var(--c-accent)!important;color:var(--c-accent)!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn::before,body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #lock-btn#lock-btn#lock-btn::after{display:none!important}
body.tft1m.hud85m :is(#cv-shop-fold#cv-shop-fold#cv-shop-fold,#buy-xp-info#buy-xp-info#buy-xp-info){display:none!important}
body.tft1m.hud85m :is(#speed-btn#speed-btn#speed-btn,#t1-menu#t1-menu#t1-menu,#coach-btn#coach-btn#coach-btn,#type-chart-btn#type-chart-btn#type-chart-btn,#cv-pouch#cv-pouch#cv-pouch):hover{border-color:var(--c-accent)!important}
body.tft1m.hud85m #arena-toast{background:var(--c-panel)!important;background-image:none!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;color:var(--c-text)!important;font:500 12px/1.4 var(--font-body)!important;text-shadow:none!important;padding:4px 10px!important}
/* ---------- 42. v0.12.39 안내 칩(#arena-toast) — 진행 띠 아래 여백, 차콜 불투명(관리자 위임 결정 11-04, 수치 제안값) ----------
   PC 설계: 띠 알약 아래(62) + 10 = y72, 화면 가운데. 휴대폰 844 설계: 띠 아래(32) + 6 = y38, 판 가운데(404, TFT1.PAD.m.cx). 띠가 꺼져 있으면 옛 자리. */
body:is(.tft1,.tft1m).t1-strip-on #arena-toast{position:fixed!important;--tk:var(--c-accent);background:rgba(38,36,35,.92)!important;background-image:none!important;border:1px solid rgba(255,255,255,.18)!important;border-left:4px solid var(--tk)!important;border-radius:var(--r-s)!important;box-shadow:0 3px 0 rgba(4,10,24,.55)!important;color:#fff!important;text-shadow:none!important;backdrop-filter:none!important;white-space:nowrap;max-width:none!important;pointer-events:none;z-index:40!important;opacity:0;transform:translateX(-50%) translateY(-8px)!important;transition:opacity .15s,transform .15s!important}
body.tft1.t1-strip-on #arena-toast{left:calc(var(--t1r,0px)/2 + 960*var(--t1k,1)*1px)!important;top:calc(72*var(--t1k,1)*1px)!important;font:700 calc(17.5px*var(--t1k,1))/1.3 var(--font-body)!important;padding:calc(7px*var(--t1k,1)) calc(18px*var(--t1k,1)) calc(7px*var(--t1k,1)) calc(14px*var(--t1k,1))!important}
body.tft1m.t1-strip-on #arena-toast{left:calc(var(--t1ma,0px) + 404*var(--m85k,1)*1px)!important;top:calc(38*var(--m85k,1)*1px)!important;font:700 calc(15px*var(--m85k,1))/1.3 var(--font-body)!important;padding:calc(4px*var(--m85k,1)) calc(12px*var(--m85k,1)) calc(4px*var(--m85k,1)) calc(10px*var(--m85k,1))!important}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast.show{opacity:1;transform:translateX(-50%) translateY(0)!important}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast[data-k=warn]{--tk:#E0505A}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast[data-k=enc][data-kind=wild]{--tk:#3FBF6A}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast[data-k=enc][data-kind=trainer]{--tk:#6FA8FF}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast[data-k=enc][data-kind=rocket]{--tk:#C94C5A}
body:is(.tft1,.tft1m).t1-strip-on #arena-toast.t1-again{animation:t1-toast-again .3s ease-out}
@keyframes t1-toast-again{0%{filter:brightness(1.7)}100%{filter:none}}
body.t1-calm #arena-toast{transition:none!important;animation:none!important}
/* ---------- 43. v0.12.39 상점 카드 코스트 바탕·합성 확정 금빛(관리자 위임 결정 11-04, 사용자 참고 06·09 — 수치 제안값) ----------
   ShopCardT1(console-v51.js)이 가격 기준 --cc(COST_CHIP = 06 OddsMini·확률 줄 색)를 붙인다. 바탕은 그라데이션 없는 평판 2단: 위 = 코스트색 58%, 아래 이름 띠 = 30%(둘 다 차콜과 섞음).
   8코 = 빨강 바탕 + 2px 빨강 테, 12코 = 무지개 바탕(어둡게) + 흰 빛 테 — 8과 12는 테두리 빛으로 한 번 더 구분. 합성 확정 = 금빛 테 숨쉬기 + 반짝임 2개(118-3 mark/spark_5). */
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]){background:color-mix(in srgb,var(--cc) 58%,#232120)!important;background-image:none!important;border-color:color-mix(in srgb,var(--cc) 72%,#000)!important;border-top-color:color-mix(in srgb,var(--cc) 70%,#fff)!important;color:#F3F6FB!important}
html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c] .shop-name{background:color-mix(in srgb,var(--cc) 30%,#151416)!important;background-image:none!important;border-top:1px solid color-mix(in srgb,var(--cc) 80%,#000)!important}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c])[data-t1c="8"]{box-shadow:0 0 0 2px var(--cc),var(--shadow-btn)!important}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c])[data-t1c="12"]{background:linear-gradient(rgba(28,26,30,.62),rgba(28,26,30,.62)),var(--cc12)!important;box-shadow:0 0 0 2px rgba(255,255,255,.75),0 0 10px 2px rgba(176,124,255,.6),var(--shadow-btn)!important}
html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c][data-t1c="12"] .shop-name{background:linear-gradient(rgba(16,15,18,.78),rgba(16,15,18,.78)),var(--cc12)!important}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]) .shop-info{background:rgba(20,19,22,.55)!important;color:#F3F6FB!important;border-color:rgba(255,255,255,.28)!important}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]).t1-merge{border-color:#FFC93C!important;--mg:.9;animation:t1-merge-glow 1.6s ease-in-out infinite}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]).t1-merge.locked{--mg:.4}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]).t1-merge .merge-hint{display:none!important}
@keyframes t1-merge-glow{0%,100%{box-shadow:0 0 0 2px rgba(255,201,60,var(--mg)),0 0 6px 1px rgba(255,201,60,calc(var(--mg)*.35))}50%{box-shadow:0 0 0 2px rgba(255,201,60,var(--mg)),0 0 16px 4px rgba(255,201,60,calc(var(--mg)*.7))}}
#shop-cards .shop-card .t1-spk{position:absolute;z-index:4;width:15px;height:15px;pointer-events:none;background:url(assets/ui/progress-strip/mark/spark_5_01.webp) 0 0/100% 100% no-repeat;image-rendering:pixelated;animation:t1-spk 1s steps(1) infinite}
#shop-cards .shop-card .t1-spk.a{left:3px;top:3px}#shop-cards .shop-card .t1-spk.b{right:3px;bottom:36px;animation-delay:-.5s}body.tft1m #shop-cards .shop-card .t1-spk.b{bottom:3px}
body.tft1m #shop-cards .shop-card .t1-spk{width:10px;height:10px}
@keyframes t1-spk{0%{background-image:url(assets/ui/progress-strip/mark/spark_5_01.webp);opacity:1}50%{background-image:url(assets/ui/progress-strip/mark/spark_5_02.webp);opacity:.55}}
#shop-cards .shop-card.locked .t1-spk{opacity:.45;animation:none}
body.t1-calm #shop-cards .shop-card.t1-merge{animation:none!important;box-shadow:0 0 0 2px #FFC93C!important}body.t1-calm #shop-cards .shop-card .t1-spk{animation:none!important}
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]).shop-recommended{border-color:var(--c-accent)!important;border-top-color:var(--c-accent)!important} /* 추천 카드는 노랑 테 유지(코스트 테보다 우선) */
/* 추천 배지: 카드 위로 튀어나와 확률 줄을 덮던 것(세로 겹침) → 카드 안 왼쪽 위(타입 아이콘 옆) */
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card .shop-advice-badge.shop-advice-badge{top:6px!important;left:32px!important;z-index:5!important}
/* ---------- 44. v0.12.39 ♥ HP 칩(관리자 위임 결정 11-04, 색·시간 제안값) — 'HP' 글자 대신 빨강 도트 하트 7×6(정수 3배 = 21×18), HeartT1이 t1-hit·data-low를 붙인다 ---------- */
body.tft1 #hud-topstats .hp-resource small{display:none!important}
body.tft1 #hud-topstats .hp-resource::before{content:'';display:block;flex:none;order:0;width:21px;height:18px;background:var(--hc,#E8463C);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life::after{content:''!important;width:21px!important;height:18px!important;background:var(--hc,#E8463C)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
:is(body.tft1 #hud-topstats .hp-resource,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life)[data-low]{--hc:#8A2A26}
body.tft1 #hud-topstats .hp-resource strong{font:700 17.5px/1 var(--font-head)!important}body.tft1m.hud85m #mobile-life#mobile-life#mobile-life b{font:700 15px/1 var(--font-head)!important} /* 관리자 11-04: 하트 3배(21px)·숫자 Galmuri 굵게 1.25배, 칩 높이 그대로 */
body.tft1 #hud-topstats .hp-resource.t1-hit::before,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life.t1-hit::after{animation:t1-heart .35s ease-out}
body.tft1 #hud-topstats .hp-resource.t1-hit strong,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life.t1-hit b{animation:t1-hp-flash .7s ease-out}
@keyframes t1-heart{0%{transform:scale(1)}35%{transform:scale(1.4)}100%{transform:scale(1)}}
@keyframes t1-hp-flash{0%,60%{color:#FF5A4E}100%{color:inherit}}
body.t1-calm :is(body.tft1 #hud-topstats .hp-resource,body.tft1m.hud85m #mobile-life#mobile-life#mobile-life).t1-hit :is(strong,b){animation:none!important}body.t1-calm body.tft1 #hud-topstats .hp-resource.t1-hit::before,body.t1-calm body.tft1m.hud85m #mobile-life#mobile-life#mobile-life.t1-hit::after{animation:none!important}
/* ---------- 45. v0.12.39 이자 칩(관리자 안 11-04, 수치 제안값) — 차콜 알약 + 노랑 글자, 칸 = 06 GoldIncome(채운 칸 노랑·빈 칸 어두운 회색, 정수 픽셀) ---------- */
:is(html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side,html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side#gold-interest-side){background:#2B2927!important;background-image:none!important;border:1px solid rgba(255,201,60,.55)!important;box-shadow:0 2px 0 rgba(4,10,24,.55)!important;color:#FFC93C!important;overflow:visible!important;pointer-events:auto!important;cursor:help}
:is(html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side,html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side#gold-interest-side) .interest-badge{color:#FFC93C!important}
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side .interest-badge::before,html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side#gold-interest-side .interest-badge::before{color:#FFC93C!important} /* 02 보고 98: 휴대폰 '이자' 글자가 851줄 옛 #1D1A14로 남아 차콜 바탕에서 안 보이던 것 */
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side .interest-coin{width:6px!important;flex:0 0 6px!important;height:10px!important;border-radius:0!important;background:#FFC93C!important;box-shadow:none!important;image-rendering:pixelated}
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side .interest-coin.empty{background:#4A4642!important}
html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side .interest-coins{gap:2px!important}
:is(html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side,html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side#gold-interest-side)[data-next]:is(:hover,:focus-visible,:active)::after{content:attr(data-next);position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);white-space:nowrap;padding:4px 8px;border-radius:var(--r-s);background:rgba(38,36,35,.96);border:1px solid rgba(255,255,255,.18);color:#F3F6FB;font:700 12px/1.2 var(--font-body);pointer-events:none;z-index:50;display:block!important;width:auto!important;height:auto!important}
:is(html body.tft1 #hud #shared-shop-dock#shared-shop-dock #dock-wallet#dock-wallet #gold-interest-side#gold-interest-side,html body.tft1m.hud85m #dock-wallet#dock-wallet#dock-wallet #gold-interest-side#gold-interest-side):focus{outline:0}
/* ---------- 46. v0.12.39 실시간 확률표(#t1-odds-pop, OddsPopT1 — 사용자 지시 11-04, 숫자는 06 LevelOdds 실제 값) ---------- */
#t1-odds-pop{position:fixed;z-index:70;pointer-events:none;padding:8px 10px;border-radius:var(--r-m);background:rgba(38,36,35,.97);border:1px solid rgba(255,255,255,.18);box-shadow:0 3px 0 rgba(4,10,24,.55);color:#F3F6FB;font:700 12px/1.2 var(--font-body)}
#t1-odds-pop[hidden]{display:none}
#t1-odds-pop table{border-collapse:collapse}
#t1-odds-pop th,#t1-odds-pop td{padding:3px 6px;text-align:center;white-space:nowrap}
#t1-odds-pop tr:first-child th{font:700 11px/1 var(--font-head);color:#ABAAB3}
#t1-odds-pop tr:first-child th i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c);margin-right:3px;vertical-align:1px}
#t1-odds-pop tr:not(:first-child) th{text-align:left;color:#FFC93C;font:700 12px/1 var(--font-head)}
#t1-odds-pop tr+tr+tr td{border-top:1px solid rgba(255,255,255,.12)}
#t1-odds-pop td.up{color:#5EDB86}#t1-odds-pop td.dn{color:#FF6B5E}#t1-odds-pop td b{font-size:9px;margin-left:2px}
#t1-odds-pop td.mx{color:#ABAAB3}
body.tft1m #t1-odds-pop{font-size:11px;padding:6px 8px}body.tft1m #t1-odds-pop th,body.tft1m #t1-odds-pop td{padding:2px 4px}
body:is(.tft1,.tft1m) :is(#hud-level,#t1-odds){cursor:help}
/* ---------- 47. v0.12.39 왼쪽 위 칩 한 규칙(사용자 지적 '♥ 칩과 배지 칩 크기가 다름', 관리자 11-04) — ♥ HP·배지 칩 = 같은 칸 크기·안쪽 여백·글자·모서리, 아이콘 + 숫자.
   1920: 104×36(work-ui의 배지 min-height 44를 끔)·여백 0 10px·간격 6px·숫자 Galmuri 17.5px / 844: 64×28·여백 0 4px·간격 4px·숫자 15px. 모서리 var(--r-s).
   배지 아이콘: 미획득 = 회색 도트 배지 6×6(정수 3배 18px, .badge-empty — 배지 비행 착지점 그대로), 획득 = 마지막 배지 그림(field-guide가 넣는 img) ---------- */
body.tft1 #hud-topstats .hp-resource{width:104px!important}
body.tft1 #journey-btn#journey-btn{left:112px!important;width:104px!important;height:36px!important;min-height:0!important;padding:0 10px!important;gap:6px!important}
body.tft1 #hud-topstats .hp-resource{padding:0 10px!important}
body.tft1 #journey-btn#journey-btn::before{content:none!important;display:none!important}
body.tft1 #journey-btn#journey-btn b{font:700 17.5px/1 var(--font-head)!important;min-width:0!important;letter-spacing:0}
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn{--x:80;--w:64}
body.tft1m.hud85m :is(#mobile-life#mobile-life#mobile-life,#journey-btn#journey-btn#journey-btn){padding:0 4px!important;gap:4px!important;min-height:0!important;min-width:0!important}
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn::after{content:none!important;display:none!important}
body.tft1m.hud85m #mobile-life#mobile-life#mobile-life::after{flex:none!important} /* 01 회귀 heart-interest 844: 여백 6px에서 하트가 19.75px로 눌림 → 줄지 않게, 여백 4px */
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn b{font:700 15px/1 var(--font-head)!important;min-width:0!important}
:is(body.tft1 #journey-btn#journey-btn,body.tft1m.hud85m #journey-btn#journey-btn#journey-btn) .badge-empty{display:block!important;flex:none;width:18px;height:18px;font-size:0!important;color:transparent!important;background:#8F8B87!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h4v1H1zM0 1h6v4H0zM1 5h4v1H1z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h4v1H1zM0 1h6v4H0zM1 5h4v1H1z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
body.tft1 #journey-btn#journey-btn img{display:block!important;width:24px!important;height:24px!important;flex:none;object-fit:contain;image-rendering:pixelated;margin:-3px 0!important}
body.tft1m.hud85m #journey-btn#journey-btn#journey-btn img{display:block!important;width:20px!important;height:20px!important;flex:none;object-fit:contain;image-rendering:pixelated;margin:-1px 0!important}
/* ---------- 48. v0.12.39 강제 다크 844 ≡ 선·'2/2' 초록(02 보고 95 ①·96 ④, 관리자 11-04) ----------
   20절 color-scheme만으로는 Chrome 강제 다크(WebContentsForceDark)가 안 막혔다. 헤드리스 실측(같은 차콜 바탕): 테두리·그라데이션·box-shadow·mask 흰 선은 #F3F6FB → #202226~#505153으로 어두워지고,
   SVG 그림 배경은 그대로. 글자 #3FBF6A(--c-ok)는 #007326으로 바뀌고 #5EDB86은 그대로.
   → ≡ 세 줄을 SVG 그림 배경으로(1920·844 같은 20×14), 휴대폰 '2 / 2 배치' 초록 숫자를 #5EDB86으로(확률표 '오름'과 같은 초록, 색은 제안값) ---------- */
html body.tft1 #t1-menu#t1-menu#t1-menu i,html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu#t1-menu i{display:block;width:20px!important;height:14px!important;border:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' shape-rendering='crispEdges'%3E%3Cpath fill='%23F3F6FB' d='M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat!important}
html body.tft1 #t1-menu#t1-menu#t1-menu i::after,html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu#t1-menu i::after{content:none!important;display:none!important}
body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count[data-ready=true] #limit-text{color:#5EDB86!important}
/* ---------- 50. v0.12.40 코인(골드) 수입 창 차콜(#gold-popover, 관리자 승인 11-04 사용자 제보 — 113 REV2 차콜 평판 + 위 노랑 줄 하나).
   보유 골드 큰 숫자 / '이기면·지면' 큰 숫자 두 개(칸 배경 없음) / 0 아닌 줄만(0인 줄은 '그 밖 n개 항목은 이번에 0G') / 예상 최종 노랑. 숫자·항목은 06 GoldIncome.preview 그대로(GoldUI.render 뒤 console-v51.js GoldPopT1이 표시만). ---------- */
html body:is(.tft1,.tft1m) #gold-popover#gold-popover{box-sizing:border-box;width:320px;padding:0;background:#262423!important;border-image:none!important;border-style:solid!important;border-color:rgba(255,255,255,.14)!important;border-width:1px!important;border-top:3px solid #FFC93C!important;border-radius:10px!important;box-shadow:0 6px 0 rgba(4,10,24,.55);color:#F3F6FB!important;font-family:var(--font-body);background-image:none;outline:0}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover::before,html body:is(.tft1,.tft1m) #gold-popover#gold-popover::after{display:none!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 0 14px;margin:0;background:none;border:0}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover header strong{font:700 13px/1 var(--font-head)!important;color:#A9A6AE!important;letter-spacing:.04em}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover header button{width:28px;height:28px;min-width:0;min-height:0;padding:0;border:0;background:none;color:#A9A6AE!important;font-size:18px;box-shadow:none}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-body{padding:6px 14px 12px;display:flex;flex-direction:column;gap:0;background:none}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-current{display:flex;align-items:center;justify-content:space-between;margin:0;padding:0;background:none;border:0;font:600 12px/1 var(--font-body)!important;color:#A9A6AE!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-current strong{display:flex;align-items:center;gap:6px;font:700 30px/1 var(--font-head)!important;color:#F3F6FB!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-current .hud-coin{width:24px;height:24px}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-body>small:first-of-type{display:block;margin:2px 0 10px;font:500 11px/1.3 var(--font-body)!important;color:#7F7C85!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-sum{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-sum div{display:flex;flex-direction:column;gap:4px;padding:2px 0}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-sum span{font:600 11px/1 var(--font-body)!important;color:#A9A6AE!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-sum b{font:700 22px/1 var(--font-head)!important;color:#F3F6FB!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-sum div:first-child b{color:#FFC93C!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-row{display:grid;grid-template-columns:1fr 44px 44px;align-items:center;padding:6px 0;margin:0;border:0;border-top:1px solid rgba(255,255,255,.07);background:none;font:600 13px/1.2 var(--font-body)!important;color:#D9D7DE!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-row b{text-align:right;font:700 14px/1 var(--font-head)!important;color:#F3F6FB!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-row.zero{display:none}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-head{border-top:0;padding:0 0 4px;font:600 11px/1 var(--font-body)!important;color:#7F7C85!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-head span{visibility:hidden}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-head b{font:600 11px/1 var(--font-body)!important;color:#7F7C85!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-total{margin-top:2px;padding-top:8px;border-top:1px solid rgba(255,201,60,.55);font:700 13px/1 var(--font-head)!important;color:#F3F6FB!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-total b{font-size:18px;color:#FFC93C!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-body>p{display:none}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-body>small:last-child{display:block;margin-top:8px;font:500 10.5px/1.45 var(--font-body)!important;color:#7F7C85!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .t1g-zero{padding:6px 0 0;font:500 11px/1 var(--font-body)!important;color:#7F7C85!important;border-top:1px solid rgba(255,255,255,.07)}
html body.tft1m #gold-popover#gold-popover{width:300px;max-height:calc(100vh - 16px);overflow:auto}
html body.tft1m #gold-popover#gold-popover .income-body>small:last-child{display:none}
html body.tft1m #gold-popover#gold-popover .income-row{padding:4px 0}
html body.tft1m #gold-popover#gold-popover .income-current strong{font-size:24px}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-row span{color:#D9D7DE!important}
html body:is(.tft1,.tft1m) #gold-popover#gold-popover .income-total span{color:#F3F6FB!important}
/* ---------- 51. v0.12.40 첫 파트너 화면 tft1(LabT1, 관리자 승인 11-04 사용자 제보 — 차콜 평판·노랑 하나, 네이비 상자 걷기, 시안 캡처_첫파트너 start_mock).
   무대(.cv-lab-stage)는 1280 기준 배율이라 제목·말풍선 값은 무대 px. 카드·토글·출발(#t1-start)은 #starter-overlay 직속(화면 px). 크기·색 제안값. ---------- */
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-header{background:linear-gradient(180deg,rgba(12,11,10,.72),rgba(12,11,10,0))!important;border:0!important;box-shadow:none!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-header::before,html body:is(.tft1,.tft1m) .cv-lab-stage .cv-header::after{display:none!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-header h2{color:#F3F6FB!important;text-shadow:0 2px 0 rgba(0,0,0,.6)}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-header .cv-button{background:rgba(38,36,35,.92)!important;border:1px solid rgba(255,255,255,.2)!important;border-image:none!important;color:#F3F6FB!important;clip-path:none!important;border-radius:6px!important;box-shadow:none!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-speech{left:36px!important;top:76px!important;bottom:auto!important;width:360px!important;max-width:360px!important;height:auto!important;padding:12px 16px!important;background:rgba(38,36,35,.94)!important;border:1px solid rgba(255,255,255,.14)!important;border-image:none!important;clip-path:none!important;border-radius:10px!important;box-shadow:0 4px 0 rgba(4,10,24,.5)!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-speech::before,html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-speech::after{display:none!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-speech b{color:#FFC93C!important;font-size:11px!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-speech p{color:#F3F6FB!important;font-size:13px!important;white-space:normal!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-lab-footer,html body:is(.tft1,.tft1m) .cv-lab-stage #lab-difficulty{display:none!important}
html body:is(.tft1,.tft1m) .cv-lab-stage .cv-ball-hit:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important}
html body.tft1m .cv-lab-stage .cv-lab-speech{top:58px!important;left:8px!important;width:300px!important;max-width:300px!important;padding:6px 10px!important}
html body.tft1m .cv-lab-stage .cv-lab-speech p{font-size:12px!important}
html body #starter-overlay.cv-lab>#t1-start{display:flex!important}
#t1-start[hidden]{display:none!important}
#t1-start{position:absolute;left:0;right:0;top:0;bottom:28px;z-index:4;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:14px;pointer-events:none;font-family:var(--font-body)}
#t1-start .ts-cards{display:flex;gap:18px;pointer-events:auto}
#t1-start .ts-card{box-sizing:border-box;width:300px;min-height:0;padding:10px 16px 14px;display:grid;grid-template-columns:96px 1fr;column-gap:12px;row-gap:4px;align-items:center;text-align:left;background:rgba(38,36,35,.95);border:1px solid rgba(255,255,255,.14);border-top:3px solid transparent;border-radius:10px;box-shadow:0 4px 0 rgba(4,10,24,.5);color:#F3F6FB;cursor:pointer;transition:transform .12s}
#t1-start .ts-card.on{border-top-color:#FFC93C;transform:translateY(-6px)}
#t1-start .ts-card:focus-visible{outline:2px solid #FFC93C;outline-offset:2px}
#t1-start .ts-dot{grid-row:1/4;width:96px;height:96px;display:grid;place-items:center;overflow:visible}
#t1-start .ts-dot img{width:192px;height:192px;margin:-48px;max-width:none;image-rendering:pixelated}
#t1-start .ts-card b{font:700 22px/1 var(--font-head)}
#t1-start .ts-ty{display:flex;gap:8px;align-items:center}
#t1-start .ts-ty img{width:18px;height:18px}
#t1-start .ts-ty em{font:600 13px/1 var(--font-body);font-style:normal;color:#C9C7CF;margin-left:-4px}
#t1-start .ts-card small{font:500 12.5px/1.35 var(--font-body);color:#A9A6AE}
#t1-start .ts-go{pointer-events:auto;height:52px;padding:0 40px;border:0;border-radius:6px;background:#FFC93C;color:#262423;font:700 20px/1 var(--font-head);box-shadow:0 3px 0 #B8861A;cursor:pointer}
#t1-start .ts-go:disabled{background:#3A3836;color:#8F8B87;box-shadow:none;cursor:default}
/* 난이도 카드(관리자 승인 11-05): --dk = 844 체감 단위(console-v51-lab.js LabT1.place가 넣음, 1920 ≈ 2.5). 하드 = 짙은 빨강·불꽃·붉은 빛, 노말 = 연초록·몬스터볼, 고른 쪽 크게 + '선택' 꼬리표 */
#t1-start .ts-diff{--dk:1;position:absolute;right:calc(var(--dk)*10px);top:96px;display:flex;align-items:flex-start;gap:calc(var(--dk)*8px);padding:0;background:none;border:0;pointer-events:auto}
#t1-start .ts-diff[hidden]{display:none}
#t1-start .ts-diff button{position:relative;display:flex;flex-direction:column;align-items:center;gap:calc(var(--dk)*3px);width:calc(var(--dk)*104px);height:auto;min-height:0;padding:calc(var(--dk)*8px) calc(var(--dk)*6px) calc(var(--dk)*7px);box-sizing:border-box;border:calc(var(--dk)*2.5px) solid #181818;border-radius:calc(var(--dk)*8px);color:#181818;font:inherit;cursor:pointer;transition:transform .15s,filter .15s,box-shadow .15s}
#t1-start .ts-diff .dc-n{background:linear-gradient(#f4fbf6,#d7eee0)}
#t1-start .ts-diff .dc-h{background:linear-gradient(#5a1414,#2a0909);color:#fff}
#t1-start .ts-diff .dc-ic{position:relative;display:block;width:calc(var(--dk)*34px);height:calc(var(--dk)*34px)}
#t1-start .ts-diff .dc-ic img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
#t1-start .ts-diff .dc-n .dc-ic::before{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(#e83a30 0 44%,#181818 44% 56%,#f8f8f0 56%);border:calc(var(--dk)*2.5px) solid #181818;box-sizing:border-box}
#t1-start .ts-diff .dc-h .dc-ic img{filter:drop-shadow(0 0 calc(var(--dk)*6px) #ff3b2f)}
#t1-start .ts-diff b{font:900 calc(var(--dk)*17px)/1 var(--font-head);letter-spacing:.04em}
#t1-start .ts-diff .dc-h b{color:#ffd0c8;text-shadow:0 0 calc(var(--dk)*6px) #ff3b2f}
#t1-start .ts-diff button:not(.on){filter:saturate(.45) brightness(.82);transform:scale(.94)}
#t1-start .ts-diff .dc-n.on{box-shadow:0 0 0 calc(var(--dk)*2px) #f8f8f0,0 0 calc(var(--dk)*14px) calc(var(--dk)*3px) #3fd08a;transform:scale(1.04)}
#t1-start .ts-diff .dc-h.on{box-shadow:0 0 0 calc(var(--dk)*2px) #ffd84a,0 0 calc(var(--dk)*18px) calc(var(--dk)*4px) #ff3b2f;transform:scale(1.04);animation:dc-pulse 1.4s ease-in-out infinite alternate}
@keyframes dc-pulse{to{box-shadow:0 0 0 calc(var(--dk)*2px) #ffd84a,0 0 calc(var(--dk)*26px) calc(var(--dk)*6px) #ff3b2f}}
#t1-start .ts-diff button.on::before{content:'선택';position:absolute;top:calc(var(--dk)*-7px);left:50%;transform:translateX(-50%);padding:calc(var(--dk)*1.5px) calc(var(--dk)*6px);border-radius:calc(var(--dk)*4px);background:#ffd84a;color:#181818;border:calc(var(--dk)*1.5px) solid #181818;font:900 calc(var(--dk)*7.5px)/1 var(--font-head)}
#t1-start .ts-diff button:focus-visible{outline:calc(var(--dk)*2px) solid #FFC93C;outline-offset:calc(var(--dk)*3px)}
@media (prefers-reduced-motion:reduce){#t1-start .ts-diff .dc-h.on{animation:none}}
#t1-start .ts-diff button:disabled{filter:grayscale(1) brightness(.6);opacity:1;cursor:not-allowed;transform:scale(.94)}
#t1-start .ts-diff small{display:block;padding:0;min-height:2.6em;font:700 calc(var(--dk)*8.6px)/1.3 var(--font-body);text-align:center;color:#3d4a42}
#t1-start .ts-diff .dc-h small{color:#ffc9c0}#t1-start .ts-diff button:disabled small{color:#ddd}
body.tft1m #t1-start{bottom:8px;gap:6px}
body.tft1m #t1-start .ts-cards{gap:8px}
body.tft1m #t1-start .ts-card{width:250px;padding:6px 10px 8px;grid-template-columns:64px 1fr;row-gap:2px}
body.tft1m #t1-start .ts-dot{width:64px;height:64px}body.tft1m #t1-start .ts-dot img{width:128px;height:128px;margin:-32px}
body.tft1m #t1-start .ts-card b{font-size:16px}body.tft1m #t1-start .ts-card small{font-size:10.5px}
body.tft1m #t1-start .ts-go{height:36px;font-size:15px;padding:0 24px}
/* 휴대폰 난이도 카드: 크기·자리는 --dk·LabT1.place가 정함(예전 작은 알약 값 지움) */
/* 52구획 v0.12.41 ② 야생 포획 창(console-v51.js CaptureT1, 08 WildCapture 창 대체). 차콜 판 하나 + 볼 그림판 + 문구 + 단추. 주 단추 노랑(첫 파트너 '시작'과 같은 규칙), 나머지 차콜 */
#wild-capture.t1-capture{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;background:rgba(14,12,10,.55);font-family:var(--font-body)}
#wild-capture .tc-panel{box-sizing:border-box;width:520px;max-width:calc(100vw - 32px);padding:14px 20px 18px;display:flex;flex-direction:column;align-items:center;gap:8px;background:#262423;border:1px solid rgba(255,255,255,.14);border-top:3px solid #FFC93C;border-radius:10px;box-shadow:0 4px 0 rgba(4,10,24,.5);color:#F3F6FB;text-align:center}
#wild-capture .tc-kick{font:700 12px/1 var(--font-head);letter-spacing:.18em;color:#FFC93C}
#wild-capture .tc-stage{width:400px;height:208px;display:grid;place-items:center}
#wild-capture .tc-stage canvas{display:block;image-rendering:pixelated}
/* 04 11-06 포획 던지기: 창 전체 투명 판(볼이 화면 아래에서 포물선으로 날아옴, console-v51.js CaptureT1.mount) */
#wild-capture .tc-fly{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;image-rendering:pixelated;z-index:1}
#wild-capture .tc-text{margin:0;min-height:1.4em;font:700 20px/1.4 var(--font-head)}
#wild-capture .tc-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:4px}
#wild-capture .tc-btn{height:44px;min-height:0;padding:0 20px;border:1px solid rgba(255,255,255,.16);border-radius:6px;background:linear-gradient(180deg,#56524E,#302D2B);color:#F3F6FB;font:700 16px/1 var(--font-head);box-shadow:0 3px 0 rgba(4,10,24,.6);cursor:pointer}
#wild-capture .tc-btn.tc-go{border:0;background:#FFC93C;color:#262423;box-shadow:0 3px 0 #B8861A}
body.tft1m #wild-capture .tc-panel{width:460px;padding:6px 12px 10px;gap:4px}
body.tft1m #wild-capture .tc-stage{width:260px;height:108px}
body.tft1m #wild-capture .tc-text{font-size:15px}
body.tft1m #wild-capture .tc-btn{height:34px;padding:0 14px;font-size:13px}
/* 52구획 2단계: 대기석 가득 → 바꾸기 카드(대기석 9칸 + 돌아가기, 5열) */
#wild-capture .tc-btn:focus-visible,#wild-capture .tc-unit:focus-visible{outline:2px solid #FFC93C;outline-offset:2px}
#wild-capture .tc-acts.tc-bench{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;width:100%}
#wild-capture .tc-unit{min-height:0;height:auto;padding:0 2px 6px;display:flex;flex-direction:column;align-items:center;gap:1px;background:none;border:0;border-radius:8px;color:#F3F6FB;cursor:pointer;overflow:hidden} /* 관리자 11-05: 칸 테두리·박스 없앰, 호버만 옅은 바탕 */
#wild-capture .tc-unit:hover{background:rgba(255,255,255,.07)}#wild-capture .tc-unit:hover b{color:#FFC93C}
#wild-capture .tc-unit img{width:112px;height:112px;margin:-24px -24px -26px;max-width:none;image-rendering:pixelated;pointer-events:none} /* 낱장 여백을 음수 여백으로 잘라 도트 약 2배 */
#wild-capture .tc-unit b{font:700 12px/1.2 var(--font-body);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#wild-capture .tc-unit small{font:600 11px/1.2 var(--font-body);color:#FFC93C}
#wild-capture .tc-back{align-self:center;justify-self:center;height:40px;font-size:14px;padding:0 14px}
body.tft1m #wild-capture .tc-acts.tc-bench{gap:4px}
body.tft1m #wild-capture .tc-unit{padding:2px 2px 3px;gap:0}
body.tft1m #wild-capture .tc-unit img{width:56px;height:56px;margin:-14px -14px -14px}
body.tft1m #wild-capture .tc-unit b{font-size:10.5px}body.tft1m #wild-capture .tc-unit small{font-size:9.5px}
/* 53구획 v0.12.42 ④-1 배틀 타워 전용 띠(console-v51.js TowerStripT1·TowerAutoT1). 알약 = 캠페인 알약과 같은 차콜·모서리, 폭만 넓혀 방 5칸을 오른쪽에. 옛 파란 #frontier-bar는 타워(tft1)에서 차콜 + 알약 아래로 */
#t1-strip[data-frontier=tower]{--x:1196;--w:560;--h:56} /* PC: 왼쪽 위 타워 띠(결정 10-30 자리, 268~최대 930) 오른쪽, 1.5× 단추 왼쪽 */
#t1-strip .pl.tw{grid-template-columns:auto 1fr auto auto;padding:0 16px 0 12px}
#t1-strip .pl.tw .tt{font-size:20px}
#t1-strip .pl.tw .tw-run{font:600 12px/1 var(--font-body);color:#ABAAB3;margin-left:4px}
#t1-strip .pl.tw .sb{grid-column:2/3}
#t1-strip .pl.tw .st{grid-column:4;grid-row:1/3;align-self:center;margin:0 0 0 4px}
#t1-strip .tw-rooms{grid-column:3;grid-row:1/3;position:relative;display:flex;gap:10px;margin:0;padding:0;list-style:none;align-items:flex-start}
#t1-strip .tw-rooms::before{content:'';position:absolute;left:14px;right:14px;top:13px;height:2px;background:#56545A}
#t1-strip .tw-rooms .rm{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;width:28px}
#t1-strip .tw-rooms .rm i{box-sizing:border-box;width:26px;height:26px;display:grid;place-items:center;border-radius:5px;background:#3A3836;border:2px solid #56545A;overflow:hidden;font-style:normal}
#t1-strip .tw-rooms .rm b{font:700 12px/1 var(--font-head);color:#ABAAB3}
#t1-strip .tw-rooms .rm img{width:30px;height:30px;object-fit:cover;object-position:50% 20%;image-rendering:pixelated}
#t1-strip .tw-rooms .rm small{font:600 9px/1 var(--font-body);color:#8F8B87}
#t1-strip .tw-rooms .rm.done i{background:#2F3A2C;border-color:#4C8760}#t1-strip .tw-rooms .rm.done b{color:#9CC24C}
#t1-strip .tw-rooms .rm.cur i{border-color:#FFC93C;background:#4A4130}#t1-strip .tw-rooms .rm.cur small{color:#FFC93C}
#t1-strip .tw-rooms .rm.boss:not(.done) i{border-color:#C63F36}
#t1-strip .tw-rooms .rm.bless::after{content:'✦';position:absolute;right:-5px;top:-5px;font-size:11px;line-height:1;color:#FFC93C}
body.tft1m #t1-strip[data-frontier=tower]{--w:300;--h:30}
body.tft1m #t1-strip .pl.tw{grid-template-columns:auto auto 1fr;padding:0 8px 0 8px;column-gap:6px}
body.tft1m #t1-strip .pl.tw .tt{font-size:12px}body.tft1m #t1-strip .pl.tw .tw-run,body.tft1m #t1-strip .pl.tw .st{display:none}
body.tft1m #t1-strip .tw-rooms{grid-column:3;grid-row:1;gap:5px;justify-self:end;align-items:center}
body.tft1m #t1-strip .tw-rooms::before{top:8px;left:8px;right:8px}
body.tft1m #t1-strip .tw-rooms .rm{width:18px}body.tft1m #t1-strip .tw-rooms .rm i{width:17px;height:17px;border-width:1px;border-radius:3px}
body.tft1m #t1-strip .tw-rooms .rm b{font-size:9px}body.tft1m #t1-strip .tw-rooms .rm img{width:20px;height:20px}body.tft1m #t1-strip .tw-rooms .rm small{display:none}
/* 옛 파란 띠 → 차콜(타워만, PC tft1). 자리는 사용자 제보 10-30대로 왼쪽 위 그대로, 층·상대 글자는 알약에 있으니 띠에서는 숨김. 휴대폰(hud85m 띠)은 지도 창 작업 때 따로 */
html body.tft1.t1-tower #frontier-bar{background:rgba(38,36,35,.95)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;clip-path:none!important;box-shadow:0 4px 0 rgba(4,10,24,.5)!important;color:#F3F6FB!important}
html body.tft1.t1-tower #frontier-bar .fb-row>div:first-of-type,html body.tft1.t1-tower #frontier-bar #frontier-foe{display:none!important}
html body.tft1.t1-tower #frontier-bar button{background:linear-gradient(180deg,#56524E,#302D2B)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:6px!important;color:#F3F6FB!important;clip-path:none!important;box-shadow:0 3px 0 rgba(4,10,24,.6)!important}
html body.tft1.t1-tower #frontier-bar :is(#frontier-fight,#frontier-next){background:#FFC93C!important;color:#262423!important;border:0!important;box-shadow:0 3px 0 #B8861A!important}
html body.tft1.t1-tower #frontier-bar .fb-hud span{color:#F3F6FB!important}
html body.tft1.t1-tower #frontier-result{background:none!important;border:0!important}
html body.tft1.t1-tower #frontier-result :is(h3,#frontier-result-title){color:#FFC93C!important}
/* 자동 진행 2초: '다음 층' 단추 아래 노랑 줄이 줄어듦 */
html body.t1-tower #frontier-next{position:relative;overflow:hidden}
html body.t1-tower #frontier-next.t1-auto::after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:#262423;opacity:.45;transform-origin:left;animation:t1-tower-auto var(--auto,2000ms) linear forwards}
@keyframes t1-tower-auto{from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* 휴대폰: 타워 띠(hud85m)가 왼쪽 위를 덮어 알약이 가려지므로 타워 중 알약은 숨김(08 알림 E). 방 미니맵은 지도 창 작업 때 휴대폰 띠 안으로 */
html body.tft1m.t1-tower #t1-strip[data-frontier=tower]{display:none!important}
/* 54구획 v0.12.42 ④-2 배틀 타워 지도 창(console-v51.js TowerMapT1). 차콜 판 하나 + 점·선 길(SVG) + 한 줄 범례. 박스 없음 */
#t1-strip[data-frontier=tower]{cursor:pointer}
body.tft1m.t1-tower #frontier-bar :is(#frontier-floor,#frontier-foe){cursor:pointer}
#t1-tmap{position:fixed;inset:0;z-index:3400;/* 타워 띠(3200)·날씨 층 위 */display:flex;align-items:center;justify-content:center;background:rgba(14,12,10,.55);font-family:var(--font-body)}
#t1-tmap .tm-p{box-sizing:border-box;padding:16px 26px 16px;background:rgba(38,36,35,.97);border:1px solid rgba(255,255,255,.14);border-top:3px solid #FFC93C;border-radius:10px;box-shadow:0 4px 0 rgba(4,10,24,.5);color:#F3F6FB}
#t1-tmap header{display:flex;align-items:baseline;gap:14px;margin-bottom:8px}
#t1-tmap header b{font:700 28px/1 var(--font-head)}
#t1-tmap header small{color:#ABAAB3;font-size:16px}
#t1-tmap .tm-x{margin-left:auto;align-self:center;width:44px;height:44px;min-height:0;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:6px;background:linear-gradient(180deg,#56524E,#302D2B);color:#F3F6FB;font:700 18px/1 var(--font-head);cursor:pointer}
#t1-tmap svg{display:block}#t1-tmap svg text{font-family:var(--font-head)}
#t1-tmap .tm-lg{display:flex;flex-wrap:nowrap;justify-content:center;gap:20px;margin-top:8px;font-size:15px;color:#ABAAB3;white-space:nowrap}
#t1-tmap .tm-lg em{font-style:normal;color:#F3F6FB}
body.tft1m #t1-tmap .tm-p{padding:4px 10px 6px}
body.tft1m #t1-tmap header{margin-bottom:0;gap:8px}
body.tft1m #t1-tmap header b{font-size:14px}body.tft1m #t1-tmap header small{font-size:10px}
body.tft1m #t1-tmap .tm-x{width:28px;height:28px;font-size:12px}
body.tft1m #t1-tmap .tm-lg{font-size:9.5px;gap:8px;margin-top:2px}
/* 55구획 v0.12.42 휴대폰 타워 띠(hud85m 절대 배치 스킨) 차콜(관리자 11-05: 박스·네이비 줄이기). 자리·크기·단추 배치는 console-v51.css 3098~ 그대로, 바탕 그림·글자색·단추 판만 바꿈 */
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result):not([hidden]){background:rgba(38,36,35,.95)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;box-shadow:0 3px 0 rgba(4,10,24,.5)!important;color:#F3F6FB!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) #frontier-foe{background:#3A3836!important;border-radius:50%!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) :is(#frontier-floor,#frontier-floor .fb-pre,#frontier-hud b){color:#F3F6FB!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) #frontier-state{color:#ABAAB3!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row>button:not([hidden]){background:linear-gradient(180deg,#56524E,#302D2B)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:6px!important;color:#F3F6FB!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) .fb-row>button:not([hidden]) :is(b,span){color:inherit!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar:not(.fb-result) #frontier-fight:not([hidden]){background:#FFC93C!important;border:0!important;color:#262423!important;box-shadow:0 2px 0 #B8861A!important}
/* 결과 띠(.fb-result)도 남색 판 대신 차콜 */
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar.fb-result{background:rgba(38,36,35,.95)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;clip-path:none!important;box-shadow:0 3px 0 rgba(4,10,24,.5)!important;color:#F3F6FB!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar.fb-result button{background:linear-gradient(180deg,#56524E,#302D2B)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:6px!important;color:#F3F6FB!important;clip-path:none!important}
html body.tft1m.t1-tower.frontier-active #frontier-bar#frontier-bar.fb-result #frontier-next{background:#FFC93C!important;border:0!important;color:#262423!important}
/* ---------- 49. v0.12.40 도구 발견 카드(#t1-itemfind, ItemFindT1 — 받은요청 652·654, 관리자 승인 3단계 ①, 크기·색·시간 제안값) ----------
   화면 어둡게 + 위 노랑 '도구다!' + 빨강 아이템 볼(32px 정수배: PC 4배 128px·휴대폰 2배 64px, 열림 때 도구 아이콘 12px×배율 위로) → 113 REV2 차콜 카드(위 노랑 줄 하나)
   큰 아이콘·이름·효과 한 줄·노랑 '받기!' + 아래 차콜 단추 '도감에서 보기'·'가방 열고 합성'. 가방 강조: 방금 받은 장비 노랑 테, 지금 합성되는 짝 재료 초록 테(5초). */
#t1-itemfind{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:rgba(8,10,16,.62);outline:0;font-family:var(--font-body)}
#t1-itemfind[hidden]{display:none}
#t1-itemfind h2{margin:0;font:700 36px/1 var(--font-head);color:#FFC93C;text-shadow:0 3px 0 rgba(4,10,24,.75)}
#t1-itemfind .if-ball{position:relative;width:calc(32px*var(--s));height:calc(32px*var(--s));margin:calc((var(--ifh,326px) - 32px*var(--s))/2) 0} /* 볼 칸 = 카드+아래 단추 높이 → 카드로 바뀌어도 제목이 안 튐 */
#t1-itemfind .if-ball[hidden]{display:none}
#t1-itemfind .if-b{display:block;width:100%;height:100%;image-rendering:pixelated}
#t1-itemfind .if-pop{position:absolute;left:50%;top:calc(4px*var(--s));width:calc(16px*var(--s));height:calc(16px*var(--s));margin-left:calc(-8px*var(--s));object-fit:contain;image-rendering:pixelated;opacity:0;transition:transform .24s steps(6),opacity .12s}
#t1-itemfind .if-ball.open .if-pop{opacity:1;transform:translateY(calc(-12px*var(--s)))}
#t1-itemfind .if-card{box-sizing:border-box;width:320px;padding:20px 20px 18px;display:flex;flex-direction:column;align-items:center;gap:8px;background:#262423;border:1px solid rgba(255,255,255,.14);border-top:3px solid #FFC93C;border-radius:var(--r-m,10px);box-shadow:0 6px 0 rgba(4,10,24,.55);animation:t1-if-in .18s ease-out}
#t1-itemfind .if-card[hidden],#t1-itemfind .if-more[hidden]{display:none}
#t1-itemfind .if-icon{width:104px;height:104px;display:grid;place-items:center;border-radius:var(--r-m,10px);background:#1B1A19;border:1px solid rgba(255,255,255,.10)}
#t1-itemfind .if-icon img{width:80px;height:80px;object-fit:contain;image-rendering:pixelated}
#t1-itemfind .if-name{font:700 22px/1.2 var(--font-head);color:#F3F6FB;text-align:center}
#t1-itemfind .if-txt{margin:0;font:600 14px/1.45 var(--font-body);color:#C9C7CF;text-align:center}
#t1-itemfind .if-take{box-sizing:border-box;margin-top:6px;width:100%;height:48px;border:0;border-radius:var(--r-s,6px);background:#FFC93C;color:#262423;font:700 20px/1 var(--font-head);box-shadow:0 3px 0 #B8861A;cursor:pointer}
#t1-itemfind .if-take:active{transform:translateY(2px);box-shadow:0 1px 0 #B8861A}
#t1-itemfind .if-more{display:flex;gap:10px;animation:t1-if-in .18s ease-out}
#t1-itemfind .if-more button{height:40px;padding:0 16px;border-radius:var(--r-s,6px);background:rgba(38,36,35,.96);border:1px solid rgba(255,255,255,.24);color:#F3F6FB;font:700 15px/1 var(--font-head);box-shadow:0 2px 0 rgba(4,10,24,.55);cursor:pointer}
#t1-itemfind .if-more button:is(:hover,:focus-visible),#t1-itemfind .if-take:focus-visible{border-color:#FFC93C;outline:0}
#t1-itemfind .if-take:focus-visible{box-shadow:0 0 0 2px #262423,0 0 0 4px #FFC93C}
body.tft1m #t1-itemfind{gap:8px;--ifh:230px}
body.tft1m #t1-itemfind h2{font-size:22px}
body.tft1m #t1-itemfind .if-card{width:260px;padding:12px 14px 12px;gap:5px}
body.tft1m #t1-itemfind .if-icon{width:64px;height:64px}body.tft1m #t1-itemfind .if-icon img{width:48px;height:48px}
body.tft1m #t1-itemfind .if-name{font-size:17px}body.tft1m #t1-itemfind .if-txt{font-size:12px}
body.tft1m #t1-itemfind .if-take{height:38px;font-size:16px;margin-top:3px}
body.tft1m #t1-itemfind .if-more button{height:34px;padding:0 12px;font-size:13px}
@keyframes t1-if-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.t1-if-new{outline:2px solid #FFC93C!important;outline-offset:-2px;animation:t1-if-glow .8s ease-in-out infinite alternate}
.t1-if-mate{outline:2px solid #5EDB86!important;outline-offset:-2px;animation:t1-if-glow .8s ease-in-out infinite alternate}
@keyframes t1-if-glow{from{filter:brightness(1)}to{filter:brightness(1.35)}}
@media (prefers-reduced-motion:reduce){#t1-itemfind .if-card,#t1-itemfind .if-more,.t1-if-new,.t1-if-mate{animation:none}#t1-itemfind .if-pop{transition:none}}
body.t1-itemfind-on #arena-toast{visibility:hidden!important} /* 카드 중에는 판 안내 칩 숨김(844에서 제목과 겹침) */

/* ---------- 49-2. 04 11-05 도구 화면 2차(원작풍, 사용자 승인 — ItemFindT1·CraftBookT1, 크기·시간 제안값) ----------
   판을 어둡게 하지 않고 판 위 볼 → 가방 비행 → 벤치 위 흰 메시지 창. 도트는 정수배(볼 32×4/×2, 도구 32×3/×2). 조합법은 원작 가방 화면 구조(크림 목록 + 빨강 탭). */
#t1-itemfind{display:block;background:none;pointer-events:auto;cursor:pointer}
#t1-itemfind .if-ball{position:fixed;margin:0;transform:translate(-50%,-50%);filter:drop-shadow(0 calc(2px*var(--s)) 0 rgba(0,0,0,.4))}
#t1-itemfind .if-pop{width:96px;height:96px;margin-left:-48px;top:calc(-16px*var(--s));filter:drop-shadow(0 0 10px #fff)}
#t1-itemfind .if-ball.flying .if-b{opacity:.55;transition:opacity .3s}
body.tft1m #t1-itemfind .if-pop{width:64px;height:64px;margin-left:-32px}
#t1-itemfind .if-msg{position:fixed;left:50%;transform:translateX(-50%);bottom:220px;width:min(1040px,calc(100vw - 32px));box-sizing:border-box;padding:24px 36px 22px;background:#F8F8F0;color:#181818;border:6px solid #181818;border-radius:12px;box-shadow:inset 0 0 0 4px #B8B8B0,0 8px 0 rgba(0,0,0,.5);text-align:left;animation:t1-if2-in .16s ease-out}
@keyframes t1-if2-in{from{opacity:0}to{opacity:1}}
#t1-itemfind .if-msg[hidden]{display:none}
#t1-itemfind .if-msg b{display:block;font:700 36px/1.35 var(--font-head)}
#t1-itemfind .if-msg span{display:block;margin-top:6px;font:700 24px/1.3 var(--font-head);color:#C03028}
#t1-itemfind .if-nx{position:absolute;right:230px;bottom:18px;color:#C03028;font-style:normal;font-size:24px;animation:t1p-nx 1s steps(2) infinite}
#t1-itemfind .if-rk{position:absolute;right:22px;bottom:14px;display:flex;align-items:center;gap:8px;padding:4px 6px;border:0;background:none;color:#57514A;font:700 19px/1 var(--font-head);cursor:pointer}
#t1-itemfind kbd,#t1-craftbook kbd{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:5px;background:#2B2927;color:#F3EFE6;font:800 17px/1 var(--font-head);border-bottom:3px solid #000}
#t1-itemfind .if-peek{position:fixed;right:24px;top:96px;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;background:rgba(20,19,18,.8);border:1px solid #57514A;color:#F3EFE6;font-size:22px;cursor:pointer}
#t1-itemfind .if-peek i{font-style:normal;filter:grayscale(1) brightness(1.6)}
#t1-itemfind.peek .if-msg,#t1-itemfind.peek .if-ball{opacity:0;transition:opacity .12s}
.t1-if-bag{animation:t1-if-bag .7s ease-out}
@keyframes t1-if-bag{0%{box-shadow:0 0 0 3px #FFC93C,0 0 20px #FFC93C}100%{box-shadow:0 0 0 0 transparent}}
body.tft1m #t1-itemfind .if-msg{width:min(560px,calc(100vw - 24px));padding:10px 16px;border-width:3px;border-radius:6px;box-shadow:inset 0 0 0 2px #B8B8B0,0 4px 0 rgba(0,0,0,.5)}
body.tft1m #t1-itemfind .if-msg b{font-size:16px}body.tft1m #t1-itemfind .if-msg span{font-size:12px;margin-top:2px}
body.tft1m #t1-itemfind .if-nx{right:124px;bottom:8px;font-size:12px}body.tft1m #t1-itemfind .if-rk{right:10px;bottom:6px;font-size:11px;gap:4px}
body.tft1m #t1-itemfind kbd,body.tft1m #t1-craftbook kbd{min-width:18px;height:18px;font-size:11px;border-bottom-width:2px}
body.tft1m #t1-itemfind .if-peek{right:8px;top:70px;font-size:14px;padding:3px 5px}
#t1-craftbook{position:fixed;inset:0;z-index:210;display:grid;place-items:center;background:rgba(12,11,10,.55);outline:0;font-family:var(--font-head)}
#t1-craftbook[hidden]{display:none}
#t1-craftbook .cb-box{position:relative;display:grid;grid-template-columns:400px 820px;gap:18px;padding:20px;background:#2B2927;border:5px solid #181818;border-radius:14px;box-shadow:0 10px 0 rgba(0,0,0,.45)}
#t1-craftbook .cb-x{position:absolute;right:-14px;top:-14px;width:40px;height:40px;border-radius:50%;background:#181818;border:3px solid #F8F8F0;color:#fff;font-size:18px;cursor:pointer}
#t1-craftbook h3{display:flex;align-items:center;margin:0 0 10px;padding:8px 14px;border-radius:10px 10px 0 0;background:#C03028;color:#fff;font:800 24px/1 var(--font-head);border-bottom:4px solid #7A1C17}
#t1-craftbook h3 small{margin-left:auto;font-size:.7em;opacity:.85}
#t1-craftbook ul{list-style:none;margin:0;padding:8px;background:#F8F8F0;border:4px solid #181818;border-radius:10px;box-shadow:inset 0 0 0 3px #B8B8B0;display:flex;flex-direction:column}
#t1-craftbook .cb-row{position:relative;display:flex;align-items:center;gap:12px;height:64px;padding:0 12px 0 34px;border-radius:8px;color:#181818;font:800 24px/1 var(--font-head);cursor:pointer}
#t1-craftbook .cb-row img{width:64px;height:64px;flex:none;image-rendering:pixelated}
#t1-craftbook .cb-row em{margin-left:auto;padding:3px 9px;border-radius:999px;background:#2B2927;color:#FFC93C;font:800 15px/1 var(--font-head);font-style:normal}
#t1-craftbook .cb-row.sel{background:#E8E2D0}
#t1-craftbook .cb-row.cur::before{content:'▶';position:absolute;left:8px;color:#C03028;font-size:20px}
#t1-craftbook .cb-row.can{background:#FFE58A;box-shadow:inset 0 0 0 3px #E0A800}
#t1-craftbook .cb-row.can.sel{background:#FFD95A}
#t1-craftbook .pl{color:#8A8378;font-size:22px}
#t1-craftbook .rs{display:flex;flex-direction:column;gap:4px;min-width:0}
#t1-craftbook .rs small{font:700 18px/1.2 var(--font-body);color:#57514A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:470px}
#t1-craftbook .cb-go{margin-left:auto;flex:none;padding:8px 14px;border:0;border-radius:8px;background:#C03028;color:#fff;font:800 18px/1 var(--font-head);border-bottom:3px solid #7A1C17;cursor:pointer}
#t1-craftbook .cb-ft{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:22px;align-items:center;margin:0;color:#D6D0C4;font:700 17px/1 var(--font-body)}
#t1-craftbook .cb-ft b{color:#FFE58A}
body.tft1m #t1-craftbook .cb-box{grid-template-columns:210px 380px;gap:8px;padding:8px;border-width:3px;border-radius:8px}
body.tft1m #t1-craftbook h3{margin:0 0 4px;padding:4px 8px;font-size:12px;border-radius:6px 6px 0 0;border-bottom-width:2px}
body.tft1m #t1-craftbook ul{padding:3px;border-width:2px;border-radius:6px;box-shadow:inset 0 0 0 1px #B8B8B0}
body.tft1m #t1-craftbook .cb-row{height:32px;gap:6px;padding:0 6px 0 16px;font-size:12px;border-radius:4px}
body.tft1m #t1-craftbook .cb-row img{width:32px;height:32px}
body.tft1m #t1-craftbook .cb-row em{font-size:9px;padding:1px 5px}
body.tft1m #t1-craftbook .cb-row.cur::before{left:3px;font-size:10px}
body.tft1m #t1-craftbook .pl{font-size:12px}body.tft1m #t1-craftbook .rs small{font-size:10px;max-width:190px}
body.tft1m #t1-craftbook .cb-go{padding:4px 8px;font-size:10px;border-radius:5px}
body.tft1m #t1-craftbook .cb-ft{gap:10px;font-size:10px}
body.tft1m #t1-craftbook .cb-x{width:28px;height:28px;right:-8px;top:-8px;font-size:13px;border-width:2px}
body.t1-craftbook-on #arena-toast{visibility:hidden!important}
@media (prefers-reduced-motion:reduce){#t1-itemfind .if-msg,.t1-if-bag{animation:none}}
/* ---------- 49-3. 04 11-05 가득 창(FullT1, 관리자 승인 — 차콜 평판 + 노랑 하나, 크기 제안값) ---------- */
#cv-pouch-over.t1-full,#encounter-event.t1-full-host{position:fixed;inset:0;left:0;top:0;transform:none;width:auto;max-width:none;max-height:none;overflow:visible;padding:0;margin:0;border:0;border-radius:0;background:none!important;box-shadow:none;color:#F3EFE6;font-family:var(--font-body);display:block}
#cv-pouch-over.t1-full{z-index:150}
.t1-full-dim{position:absolute;inset:0;background:rgba(8,10,16,.6)}
.t1-full-panel{position:absolute;left:50%;top:96px;transform:translateX(-50%);width:min(1100px,calc(100vw - 32px));box-sizing:border-box;padding:24px;background:#2B2927;border:3px solid #3A3734;border-radius:16px;box-shadow:0 10px 0 rgba(0,0,0,.5);text-align:left}
.t1-full-panel[data-full=pouch]{width:min(1000px,calc(100vw - 32px))}
.t1-full-panel[data-full=bench]{top:200px;width:min(820px,calc(100vw - 32px))}
.t1-full-panel h4{display:flex;justify-content:space-between;align-items:center;margin:0;font:800 30px/1.2 var(--font-head);color:#F3EFE6}
.t1-full-panel h4 em{font-style:normal;font:700 24px/1 var(--font-head);color:#BDB6AA}
.t1-full-new{display:flex;align-items:center;gap:22px;margin:16px 0;padding:16px 20px;border-radius:12px;background:#1F1D1B}
.t1-full-new>.cv-pouch-icon{flex:none;width:112px;height:112px;display:grid;place-items:center;border-radius:12px;background:radial-gradient(circle,rgba(255,255,255,.25),transparent 70%)}
.t1-full-new>.cv-pouch-icon img{width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 0 10px rgba(255,255,255,.5))}
.t1-full-new small{display:inline-block;margin-bottom:6px;padding:2px 12px;border-radius:99px;background:rgba(255,255,255,.1);color:#E9E3D6;font:700 18px/1.4 var(--font-body)}
.t1-full-new b{display:block;font:800 34px/1.2 var(--font-head);color:#F3EFE6}
.t1-full-new span{display:block;margin-top:4px;font:600 22px/1.35 var(--font-body);color:#D8D2C6}
.t1-full-grid{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:12px}
.t1-full-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:134px;padding:10px 4px;border:3px solid #4A4642;border-radius:12px;background:#1F1D1B;color:#E9E3D6;cursor:pointer}
.t1-full-slot .cv-pouch-icon{width:72px;height:72px;display:grid;place-items:center}
.t1-full-slot .cv-pouch-icon img{width:72px;height:72px;image-rendering:pixelated}
.t1-full-slot b{font:700 20px/1.15 var(--font-body);text-align:center}
.t1-full-slot i{font:700 18px/1 var(--font-body);font-style:normal;color:#BDB6AA}
.t1-full-slot.sel{border-color:#FFC93C;box-shadow:0 0 0 2px #FFC93C,0 0 20px rgba(255,201,60,.55)}
.t1-full-slot.sel::before{content:'▶';position:absolute;left:-4px;top:-16px;color:#FFC93C;font-size:24px}
.t1-full-btns{display:flex;gap:14px;margin-top:18px}
.t1-full-btns button{flex:1;min-height:72px;display:grid;place-items:center;align-content:center;padding:0 10px;border:2px solid #5A554F;border-radius:12px;background:#45413C;color:#F3EFE6;font:800 26px/1.15 var(--font-head);cursor:pointer}
.t1-full-btns button small{display:block;margin-top:2px;font:700 17px/1.2 var(--font-body);color:#CFC8BB}
.t1-full-btns button.pri{background:#FFC93C;border-color:#FFC93C;color:#181818}
.t1-full-btns button.pri small{color:#4A3A10}
.t1-full-btns button.sub{flex:.8;font-size:20px;background:none}
.t1-full-btns button:hover{filter:brightness(1.08)}
.t1-full-btns button:focus-visible,.t1-full-slot:focus-visible{outline:3px solid #fff;outline-offset:2px}
.t1-full-mons{align-items:center}
.t1-full-row{display:flex;gap:10px;flex:none}
.t1-full-mon{display:grid;justify-items:center;gap:2px;width:112px;padding:6px 0;border-radius:12px;background:radial-gradient(circle,rgba(255,255,255,.2),transparent 70%)}
.t1-full-mon img{width:96px;height:96px;object-fit:contain;image-rendering:pixelated}
.t1-full-mon b{font:700 18px/1.2 var(--font-body);color:#F3EFE6}
.t1-full-mon i{font:700 16px/1 var(--font-body);font-style:normal;color:#FFC93C}
.t1-full-ring{position:absolute;border-radius:12px;box-shadow:0 0 0 4px #FFC93C,0 0 24px #FFC93C;pointer-events:none}
.t1-full-ring span{position:absolute;left:50%;top:-46px;transform:translateX(-50%);padding:4px 14px;border:2px solid #FFC93C;border-radius:8px;background:#2B2927;color:#FFC93C;font:800 22px/1.3 var(--font-head);white-space:nowrap}
body.tft1m .t1-full-panel{top:6px;padding:10px 14px;border-width:2px;border-radius:8px;width:min(600px,calc(100vw - 16px))}
body.tft1m .t1-full-panel[data-full=bench]{top:52px;width:min(480px,calc(100vw - 16px))}
body.tft1m .t1-full-panel h4{font-size:15px}
body.tft1m .t1-full-panel h4 em{font-size:12px}
body.tft1m .t1-full-new{gap:10px;margin:6px 0;padding:6px 10px;border-radius:8px}
body.tft1m .t1-full-new>.cv-pouch-icon{width:52px;height:52px}
body.tft1m .t1-full-new>.cv-pouch-icon img{width:44px;height:44px}
body.tft1m .t1-full-new small{font-size:10px;margin-bottom:2px;padding:1px 8px}
body.tft1m .t1-full-new b{font-size:16px}
body.tft1m .t1-full-new span{font-size:12px;margin-top:1px}
body.tft1m .t1-full-grid{gap:6px}
body.tft1m .t1-full-slot{min-height:64px;padding:4px 2px;border-width:2px;border-radius:8px;gap:1px}
body.tft1m .t1-full-slot .cv-pouch-icon,body.tft1m .t1-full-slot .cv-pouch-icon img{width:32px;height:32px}
body.tft1m .t1-full-slot b{font-size:11px}
body.tft1m .t1-full-slot i{font-size:10px}
body.tft1m .t1-full-slot.sel::before{font-size:13px;top:-9px;left:-2px}
body.tft1m .t1-full-btns{gap:6px;margin-top:8px}
body.tft1m .t1-full-btns button{min-height:44px;font-size:13px;border-radius:8px;padding:0 4px}
body.tft1m .t1-full-btns button small{font-size:10px}
body.tft1m .t1-full-btns button.sub{font-size:11px}
body.tft1m .t1-full-mon{width:56px;padding:2px 0}
body.tft1m .t1-full-mon img{width:44px;height:44px}
body.tft1m .t1-full-mon b{font-size:11px}
body.tft1m .t1-full-ring{box-shadow:0 0 0 2px #FFC93C,0 0 12px #FFC93C}
body.tft1m .t1-full-ring span{top:-26px;font-size:12px;padding:2px 8px}
#t1-fullbag{position:fixed;inset:0;z-index:150;color:#F3EFE6;font-family:var(--font-body);outline:0}
#t1-fullbag[hidden]{display:none}
body.t1-fullbag-on #work-rewards{visibility:hidden!important}
.t1-full-ic{flex:none;width:112px;height:112px;display:grid;place-items:center;border-radius:12px;background:radial-gradient(circle,rgba(255,255,255,.25),transparent 70%)}
.t1-full-ic img{width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 0 10px rgba(255,255,255,.5))}
.t1-full-slot>img{width:64px;height:64px;image-rendering:pixelated}
.t1-full-panel[data-full=bag]{padding:20px 24px}
.t1-full-panel[data-full=bag] .t1-full-slot{min-height:88px;padding:6px 4px}
.t1-full-panel[data-full=bag] .t1-full-slot>img{width:48px;height:48px}
.t1-full-panel[data-full=bag] .t1-full-new{margin:12px 0;padding:10px 18px}
.t1-full-panel[data-full=bag] .t1-full-ic{width:88px;height:88px}
.t1-full-panel[data-full=bag] .t1-full-ic img{width:64px;height:64px}
.t1-full-panel[data-full=bag] .t1-full-btns{margin-top:14px}
.t1-full-panel[data-full=bag] .t1-full-btns button{min-height:64px}
.t1-full-panel[data-full=bag] .t1-full-link{margin-top:6px}
.t1-full-btns button.glow{border-color:#fff;box-shadow:0 0 16px rgba(255,255,255,.5),inset 0 0 10px rgba(255,255,255,.25)}
.t1-full-btns button:disabled{opacity:.45;cursor:default;filter:none}
.t1-full-link{display:block;margin:10px 0 0 auto;padding:4px 6px;border:0;background:none;color:#CFC8BB;font:700 18px/1.2 var(--font-body);text-decoration:underline;cursor:pointer}
body.tft1m .t1-full-ic{width:52px;height:52px}
body.tft1m .t1-full-ic img{width:44px;height:44px}
body.tft1m .t1-full-slot>img{width:32px;height:32px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-slot{min-height:56px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-slot b{font-size:9px}
body.tft1m .t1-full-link{margin-top:4px;font-size:11px;padding:2px}
body.tft1m .t1-full-panel[data-full=bag]{padding:10px 14px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-slot>img{width:32px;height:32px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-new{margin:6px 0;padding:6px 10px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-ic{width:52px;height:52px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-ic img{width:44px;height:44px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-btns{margin-top:8px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-btns button{min-height:44px}
body.tft1m .t1-full-panel[data-full=bag] .t1-full-link{margin-top:4px}
/* 49-3 보완(관리자 11-05): 질문은 창 제목, 키 안내 한 줄·바꾼 뒤 안내는 창 안. 1920은 844 체감 크기로 키움(제안값) */
.t1-full-hint{margin:0;color:#BDB6AA;font:700 20px/1.3 var(--font-body)}
.t1-full-btns+.t1-full-hint{margin-top:12px}
.t1-full-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.t1-full-foot .t1-full-link{margin:0 0 0 auto}
.t1-full-note{margin:12px 0 0;padding:6px 14px;border-left:4px solid #FFC93C;border-radius:6px;background:rgba(255,201,60,.12);color:#FFE58A;font:800 22px/1.3 var(--font-body)}
body.tft1m .t1-full-note{margin-top:6px;padding:2px 8px;border-left-width:3px;font-size:11px}
body:not(.tft1m) .t1-full-panel{padding:24px 28px}
body:not(.tft1m) .t1-full-panel[data-full=pouch]{width:min(1360px,calc(100vw - 32px))}
body:not(.tft1m) .t1-full-panel[data-full=bag]{width:min(1440px,calc(100vw - 32px));padding:24px 28px}
body:not(.tft1m) .t1-full-panel[data-full=bench]{width:min(1100px,calc(100vw - 32px))}
body:not(.tft1m) .t1-full-panel h4{font-size:40px}
body:not(.tft1m) .t1-full-panel h4 em{font-size:28px}
body:not(.tft1m) .t1-full-panel .t1-full-new{margin:14px 0;padding:12px 22px;gap:26px}
body:not(.tft1m) .t1-full-panel .t1-full-new>.cv-pouch-icon,body:not(.tft1m) .t1-full-panel .t1-full-ic{width:136px;height:136px}
body:not(.tft1m) .t1-full-panel .t1-full-new>.cv-pouch-icon img,body:not(.tft1m) .t1-full-panel .t1-full-ic img{width:128px;height:128px}
body:not(.tft1m) .t1-full-panel .t1-full-new small{font-size:22px}
body:not(.tft1m) .t1-full-panel .t1-full-new b{font-size:44px}
body:not(.tft1m) .t1-full-panel .t1-full-new span{font-size:28px}
body:not(.tft1m) .t1-full-panel .t1-full-grid{gap:14px}
body:not(.tft1m) .t1-full-panel .t1-full-slot{min-height:150px;padding:8px 6px}
body:not(.tft1m) .t1-full-panel .t1-full-slot>img,body:not(.tft1m) .t1-full-panel .t1-full-slot .cv-pouch-icon,body:not(.tft1m) .t1-full-panel .t1-full-slot .cv-pouch-icon img{width:96px;height:96px}
body:not(.tft1m) .t1-full-panel .t1-full-slot b{font-size:24px}
body:not(.tft1m) .t1-full-panel .t1-full-slot i{font-size:22px}
body:not(.tft1m) .t1-full-panel .t1-full-btns{margin-top:18px}
body:not(.tft1m) .t1-full-panel .t1-full-btns button{min-height:84px;font-size:32px}
body:not(.tft1m) .t1-full-panel .t1-full-btns button small{font-size:22px}
body:not(.tft1m) .t1-full-panel .t1-full-link{font-size:24px}
body:not(.tft1m) .t1-full-panel .t1-full-mon{width:136px}
body:not(.tft1m) .t1-full-panel .t1-full-mon img{width:128px;height:128px}
body:not(.tft1m) .t1-full-panel .t1-full-mon b{font-size:22px}
#encounter-event.t1-full-host{backdrop-filter:none!important;-webkit-backdrop-filter:none!important} /* 옛 .overlay 흐림이 대기석까지 어둡게 덮던 것(관리자 11-05 지적) */
/* ---------- 49-4. 04 11-05 길 위 아이템 볼(08 ItemBall A안·05 itemball_red 32px, 펼친 띠 PC ×1·휴대폰 ×½, 알약에서는 지도와 함께 숨음) ---------- */
#t1-strip .nd.hb>*{visibility:hidden}
#t1-strip .nd.hb{background:none;border-color:transparent}
#t1-strip .ib{--f:32px;position:absolute;width:var(--f);height:var(--f);translate:-50% -100%;margin:4px 0 0 22px;background:url(assets/reward-final/item-find-dot/itemball_red_sheet.webp) 0 0/calc(var(--f)*4) var(--f) no-repeat;image-rendering:pixelated;pointer-events:none;animation:t1-ib-shine .7s step-end infinite}
#t1-strip.m .ib{--f:16px;margin:2px 0 0 11px} /* 관리자 11-05: 볼 지름 = 주인공 키의 약 절반(PC 32·휴대폰 16), 칸에서 진행 방향 앞으로 비켜 주인공 옆에 */
@keyframes t1-ib-shine{0%{background-position:0 0}85.714%{background-position:calc(var(--f)*-1) 0}}
#t1-strip[data-st=arrive] .ib.cur,#t1-strip[data-st=close] .ib.cur{animation:t1-ib-hop .4s step-end forwards}
@keyframes t1-ib-hop{0%{background-position:calc(var(--f)*-1) 0;transform:translateY(calc(var(--f)/-8))}25%{background-position:calc(var(--f)*-2) 0;transform:none}50%{background-position:calc(var(--f)*-1) 0;transform:translateY(calc(var(--f)/-16))}75%{background-position:0 0;transform:none}}
@media (prefers-reduced-motion:reduce){#t1-strip .ib,#t1-strip[data-st] .ib.cur{animation:none}}
/* ---------- 49-5. 04 11-05 관장 등장 3차(GymIntro3 · #t1-poster.v3, 관리자 채택 — 시간 시범값 GYM_INTRO3, 크기 제안값) ----------
   포스터 단계에서 옛 포스터 부품은 숨기고 .p3 층만 보인다. 글자·간격은 --u(높이 기준)라 1920·844 체감 크기가 같다. 팀 도트는 PC 192·ACE 288, 휴대폰 96·ACE 144(2차 보완 a). */
#t1-poster.v3{--dot:calc(var(--u)*17.8);--ace:calc(var(--u)*26.7)}
body.tft1m #t1-poster.v3{--dot:96px;--ace:144px}
#t1-poster.v3[data-phase=poster]>:not(.p3):not(.t1p-sk),#t1-poster.v3[data-phase=closing]>:not(.p3):not(.t1p-sk){visibility:hidden}
#t1-poster.v3 .t1p-sk{z-index:40}
#t1-poster .p3{inset:0;z-index:20;overflow:hidden;background:#07070a;color:#fff;font-family:var(--font-head);opacity:0;pointer-events:none}
#t1-poster.v3[data-phase=poster] .p3,#t1-poster.v3[data-phase=closing] .p3{opacity:1}
#t1-poster .p3 *{position:absolute;box-sizing:border-box}
#t1-poster .p3 .p3-ph{inset:0;opacity:0}
#t1-poster:not([data-phase=poster]):not([data-phase=closing]) .p3 *{animation:none!important}
@keyframes p3On{from{opacity:0}to{opacity:1}}
@keyframes p3Off{from{opacity:1}to{opacity:0}}
@keyframes p3In{from{transform:translateX(60%);opacity:0}to{transform:none;opacity:1}}
@keyframes p3BandIn{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes p3Drift{from{transform:translateX(0)}to{transform:translateX(-34vw)}}
@keyframes p3Streak{from{background-position:0 0,0 0}to{background-position:-60vw 0,0 0}}
@keyframes p3Sil{0%,99%{filter:brightness(0)}100%{filter:none}}
@keyframes p3Fl{0%{opacity:0}35%{opacity:1}100%{opacity:0}}
@keyframes p3FlHold{0%{opacity:0}40%{opacity:1}100%{opacity:1}}
@keyframes p3SpinY{from{transform:rotateY(0)}to{transform:rotateY(360deg)}}
@keyframes p3BdFade{0%{filter:none;opacity:1}50%{filter:sepia(1) saturate(4) hue-rotate(-20deg);opacity:.8}100%{filter:sepia(1) saturate(6) hue-rotate(-45deg);opacity:0}}
@keyframes p3Up{from{transform:translateY(calc(var(--u)*3));opacity:0}to{transform:none;opacity:1}}
@keyframes p3Pan{from{top:-100%}to{top:var(--p1,0%)}}
@keyframes p3Tw{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
@keyframes p3Beam{from{transform:translateX(-120vw)}to{transform:translateX(120vw)}}
@keyframes p3Gold{from{opacity:0;letter-spacing:.4em}to{opacity:1;letter-spacing:.04em}}
#t1-poster .p3 .p3-box img{inset:0;width:100%;height:100%;object-fit:contain;object-position:right bottom}
/* A — 관장 이름 띠(0~0.8초) */
#t1-poster .p3 .p3-a{animation:p3On 1ms both,p3Off 150ms 650ms forwards}
#t1-poster .p3 .p3-band{left:0;right:0;top:30%;height:34%;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--tc) 70%,#000) 18%,var(--tc) 46%,color-mix(in srgb,var(--tc) 55%,#fff) 52%,var(--tc) 60%,color-mix(in srgb,var(--tc) 70%,#000) 84%,transparent);animation:p3BandIn 150ms both}
#t1-poster .p3 .p3-props{left:0;top:0;width:150vw;height:100%;animation:p3Drift 800ms linear both}
#t1-poster .p3 .p3-props img{width:calc(var(--u)*6);height:calc(var(--u)*6);image-rendering:pixelated}
#t1-poster .p3 .p3-mini{left:22%;bottom:0;width:40%;height:115%;animation:p3Sil 400ms both}
#t1-poster .p3 .p3-mini img{object-position:center bottom}
#t1-poster .p3 .p3-fl{inset:0;background:#fff;opacity:0}
#t1-poster .p3 .p3-a .p3-fl{animation:p3Fl 160ms 380ms both}
#t1-poster .p3 .p3-vs{right:8%;bottom:6%;font:italic 900 calc(var(--u)*8.5)/1 var(--font-head);letter-spacing:.04em;background:linear-gradient(180deg,#fff,#cfd3d8 45%,#7d838c 55%,#e9ecef);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 calc(var(--u)*.5) 0 #000c);animation:p3Up 150ms 450ms both}
#t1-poster .p3 .p3-vs small{position:static;font-size:.55em;margin-right:.25em}
/* 사천왕 — 세로 패닝(0~1.4초) → 검게 → 4칸 판(1.7~3.0초) */
#t1-poster .p3 .p3-pan{animation:p3On 1ms both,p3Off 1ms 1400ms forwards}
#t1-poster .p3 .p3-pan>img{left:50%;top:-100%;height:200%;transform:translateX(calc(var(--ax,50%)*-1));animation:p3Pan 1400ms cubic-bezier(.4,0,.3,1) both}
#t1-poster .p3 .p3-spk{width:calc(var(--u)*1.2);height:calc(var(--u)*1.2);border-radius:50%;background:radial-gradient(#fff,#fff0 70%);animation:p3Tw 500ms infinite}
#t1-poster .p3 .p3-grid{animation:p3On 80ms 1700ms both,p3Off 120ms 2900ms forwards;background:linear-gradient(180deg,#3a3a46,#24242c);background-size:cover}
#t1-poster .p3 .p3-col{top:0;bottom:0;width:25%;overflow:hidden;border-right:calc(var(--u)*.4) solid #07070a;background:repeating-linear-gradient(0deg,#ffffff14 0 2px,transparent 2px calc(var(--u)*5)),repeating-linear-gradient(90deg,#ffffff14 0 2px,transparent 2px calc(var(--u)*5))}
#t1-poster .p3 .p3-grid.art .p3-col{background:none}
#t1-poster .p3 .p3-col img{left:50%;top:30%;height:130%;transform:translate(calc(var(--ax)*-1),calc(var(--ay)*-1));filter:brightness(0)}
#t1-poster .p3 .p3-col.cur img{animation:p3Sil 1ms 2250ms both}
#t1-poster .p3 .p3-col.cur .p3-fl{animation:p3Fl 200ms 2150ms both}
#t1-poster .p3 .p3-gvs{left:0;right:0;bottom:9%;text-align:center;font:italic 900 calc(var(--u)*9)/1 var(--font-head);text-shadow:0 calc(var(--u)*.6) 0 #000c;animation:p3Up 150ms 2350ms both}
#t1-poster .p3 .p3-gvs small{position:static;display:block;font:800 calc(var(--u)*3)/1.4 var(--font-head);font-style:normal;letter-spacing:.3em;color:#e8e2d6}
/* 챔피언 — 검게 → 0.3초 번쩍·밝은 판 실루엣 → 1.1초 금색 VS·직함·빛줄기 → 2.7초 B */
#t1-poster .p3 .p3-c1{animation:p3On 1ms 300ms both,p3Off 1ms 1100ms forwards}
#t1-poster .p3 .p3-plate{inset:0;background:repeating-conic-gradient(from 45deg,#f2f0f7 0 25%,#c9c5d6 0 50%) 0 0/calc(var(--u)*6.4) calc(var(--u)*6.4)}
#t1-poster .p3 .p3-plate.dark{background:radial-gradient(ellipse 70% 45% at 50% 52%,#3c3854cc,transparent 70%),repeating-conic-gradient(from 45deg,#2c2a3c 0 25%,#0d0c14 0 50%) 0 0/calc(var(--u)*6.4) calc(var(--u)*6.4)}
#t1-poster .p3 .p3-plate.art{background-repeat:repeat;background-size:calc(var(--u)*6.4);image-rendering:pixelated}
#t1-poster .p3 .p3-csil{left:20%;right:20%;bottom:0;height:90%;filter:brightness(0)}
#t1-poster .p3 .p3-csil img{object-position:center bottom}
#t1-poster .p3 .p3-c1 .p3-fl{animation:p3Fl 250ms 300ms both}
#t1-poster .p3 .p3-c2{animation:p3On 1ms 1100ms both,p3Off 200ms 2500ms forwards}
#t1-poster .p3 .p3-glow{left:0;right:0;top:36%;height:34%;background:linear-gradient(180deg,transparent,#ffd84a22 40%,#ffd84a33 50%,#ffd84a22 60%,transparent)}
#t1-poster .p3 .p3-gold{left:0;right:0;top:36%;text-align:center;font:900 calc(var(--u)*19)/1 var(--font-head);background:linear-gradient(180deg,#fff6c8,#ffd84a 45%,#b07a10 55%,#ffe98a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 calc(var(--u)*.7) 0 #000);animation:p3Gold 300ms 1150ms both}
#t1-poster .p3 .p3-title{left:0;right:0;top:61%;text-align:center;font:800 calc(var(--u)*3.6)/1 var(--font-head);letter-spacing:.35em;color:#f0ead8;animation:p3On 200ms 1350ms both}
#t1-poster .p3 .p3-beam{left:0;width:100vw;top:57%;height:calc(var(--u)*.8);background:linear-gradient(90deg,transparent,#9fd8ff 40%,#fff 50%,#d2a8ff 60%,transparent);filter:blur(1px) drop-shadow(0 0 calc(var(--u)*1.4) #9fd8ff);animation:p3Beam 1000ms 1400ms both}
#t1-poster .p3 .p3-twk{left:62%;top:28%;width:calc(var(--u)*11);height:calc(var(--u)*11);background:radial-gradient(#fff 8%,#d2a8ff55 30%,transparent 60%);opacity:0;animation:p3Tw 300ms 2450ms both}
#t1-poster .p3 .p3-twk.art{background:none;background-size:400% 100%;image-rendering:pixelated}
#t1-poster .p3 .p3-stars{inset:0;background:radial-gradient(circle,#fff 1px,transparent 1.6px) 0 0/calc(var(--u)*7.7) calc(var(--u)*9),radial-gradient(circle,#9fd8ffaa 1px,transparent 1.6px) calc(var(--u)*2.7) calc(var(--u)*4.4)/calc(var(--u)*12.2) calc(var(--u)*10.1),#06060c}
/* B — 소개(관장 0.8초~·사천왕 3.0초~·챔피언 2.7초~, 짧은 판 0초~) */
#t1-poster .p3 .p3-b{animation:p3On 120ms var(--p3-b0) both}
#t1-poster .p3 .p3-streak{inset:0;background:repeating-linear-gradient(180deg,transparent 0 calc(var(--u)*1.3),color-mix(in srgb,var(--tc) 40%,transparent) calc(var(--u)*1.3) calc(var(--u)*1.7),transparent calc(var(--u)*1.7) calc(var(--u)*3.2)),linear-gradient(90deg,color-mix(in srgb,var(--tc) 22%,transparent),transparent 30%,transparent 70%,color-mix(in srgb,var(--tc) 22%,transparent));background-size:60vw 100%,100% 100%;-webkit-mask:linear-gradient(180deg,transparent 4%,#000 25%,#000 75%,transparent 96%);mask:linear-gradient(180deg,transparent 4%,#000 25%,#000 75%,transparent 96%);animation:p3Streak 900ms linear infinite}
#t1-poster .p3 .p3-bd{left:4%;top:12%;height:42%;aspect-ratio:1;perspective:calc(var(--u)*80);animation:p3BdFade 300ms var(--p3-bf) both}
body.tft1m #t1-poster .p3 .p3-bd{top:10%;height:36%}
#t1-poster .p3 .p3-bd img{inset:0;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;animation:p3SpinY 1400ms linear infinite;filter:drop-shadow(0 0 calc(var(--u)*1.8) color-mix(in srgb,var(--tc) 70%,#fff))}
#t1-poster .p3 .p3-bn{left:calc(4% + 46vh);top:27%;display:flex;flex-direction:column;gap:calc(var(--u)*.6);font:800 calc(var(--u)*3.2)/1 var(--font-head);color:#ffd84a;text-shadow:0 2px 0 #000a;white-space:nowrap;animation:p3Off 300ms var(--p3-bf) forwards}
body.tft1m #t1-poster .p3 .p3-bn{left:calc(4% + 40vh);top:24%}
#t1-poster .p3 .p3-bn small{position:static;font-size:.7em;color:#e8e2d6;letter-spacing:.08em}
#t1-poster .p3 .p3-lead{right:2%;bottom:0;width:55%;height:92%;filter:drop-shadow(0 0 calc(var(--u)*3) color-mix(in srgb,var(--tc) 50%,transparent));animation:p3In 350ms var(--p3-b0) cubic-bezier(.2,.9,.3,1) both}
#t1-poster .p3 .p3-meta{left:calc(var(--u)*2.4);top:calc(var(--u)*1.8);font:700 calc(var(--u)*2.6)/1.2 var(--font-body);color:#e8e2d6;letter-spacing:.04em;white-space:nowrap;text-shadow:0 1px 0 #000}
#t1-poster .p3 .p3-meta b{position:static;color:var(--tc);margin-right:.4em}
#t1-poster .p3 .p3-team{left:4%;bottom:21%;display:flex;align-items:flex-end;gap:calc(var(--u)*1.7)}
body.tft1m #t1-poster .p3 .p3-team{bottom:23%;gap:4px}
#t1-poster .p3 .p3-team span{position:relative;display:flex;flex-direction:column;align-items:center;font:800 calc(var(--u)*2.6)/1.1 var(--font-head);text-shadow:0 2px 0 #000a;animation:p3Up 200ms calc(var(--p3-b0) + 300ms) both}
#t1-poster .p3 .p3-team span:nth-child(2){animation-delay:calc(var(--p3-b0) + 400ms)}
#t1-poster .p3 .p3-team span:nth-child(3){animation-delay:calc(var(--p3-b0) + 500ms)}
#t1-poster .p3 .p3-team span:nth-child(4){animation-delay:calc(var(--p3-b0) + 600ms)}
#t1-poster .p3 .p3-team span:nth-child(n+5){animation-delay:calc(var(--p3-b0) + 700ms)}
#t1-poster .p3 .p3-team img{position:static;width:var(--dot);height:var(--dot);margin-bottom:calc(var(--dot)*-.13);image-rendering:pixelated;filter:drop-shadow(0 calc(var(--u)*.6) 0 #0008)}
#t1-poster .p3 .p3-team span.ace img{width:var(--ace);height:var(--ace);margin-bottom:calc(var(--ace)*-.13);filter:drop-shadow(0 calc(var(--u)*.6) 0 #0008) drop-shadow(0 0 calc(var(--u)*1.7) #FFC93C88)}
#t1-poster .p3 .p3-team span.ace{color:#FFC93C}
#t1-poster .p3 .p3-team span.ace::before{content:'ACE';position:absolute;top:calc(var(--ace)*.15);right:calc(var(--u)*-1.2);padding:calc(var(--u)*.5) calc(var(--u)*1.3);border-radius:999px;background:#FFC93C;color:#1d1a14;border:calc(var(--u)*.3) solid #1d1a14;font:900 calc(var(--u)*2.4)/1 var(--font-head);transform:rotate(8deg)}
#t1-poster .p3 .p3-team em{position:static;font-style:normal;color:#e8e2d6;font-size:.9em}
#t1-poster .p3 .p3-team .more{align-self:center;color:#e8e2d6}
#t1-poster .p3 .p3-msg{left:4%;right:4%;bottom:3%;min-height:calc(var(--u)*14);padding:calc(var(--u)*4.3) calc(var(--u)*4.1) calc(var(--u)*2.4);background:#f8f8f0;border:calc(var(--u)*.6) solid #181818;box-shadow:inset 0 0 0 calc(var(--u)*.4) #b8b8b0,0 calc(var(--u)*.8) 0 #0008;border-radius:calc(var(--u)*1.2);color:#181818;animation:p3Up 200ms calc(var(--p3-m1) - 100ms) both}
#t1-poster .p3 .p3-who{left:calc(var(--u)*2.8);top:calc(var(--u)*-2.8);padding:calc(var(--u)*.8) calc(var(--u)*2.1);border-radius:calc(var(--u)*.9);background:var(--tc);border:calc(var(--u)*.4) solid #181818;color:#fff;font:900 calc(var(--u)*2.8)/1 var(--font-head);text-shadow:0 2px 0 #0007;white-space:nowrap}
#t1-poster .p3 .p3-msg p{position:relative;margin:0;font:800 calc(var(--u)*3.6)/1.45 var(--font-head)}
#t1-poster .p3 .p3-t1{animation:p3On 1ms var(--p3-m1) both,p3Off 1ms var(--p3-m2) forwards}
#t1-poster .p3 .p3-msg:not(:has(.p3-t2)) .p3-t1{animation:p3On 1ms var(--p3-m1) both}
#t1-poster .p3 .p3-msg p.p3-t2{position:absolute;left:calc(var(--u)*4.1);top:calc(var(--u)*4.3);animation:p3On 1ms var(--p3-m2) both}
/* 끝 — 흰 번쩍 → 0.2초 흐려지며 전투(지금 흐름 그대로) */
#t1-poster .p3 .p3-end{animation:p3On 1ms var(--p3-en) both}
#t1-poster .p3 .p3-end .p3-fl{animation:p3FlHold 300ms var(--p3-en) both}
#t1-poster.p3-short .p3 .p3-a,#t1-poster.p3-short .p3 .p3-pan,#t1-poster.p3-short .p3 .p3-grid,#t1-poster.p3-short .p3 .p3-c1,#t1-poster.p3-short .p3 .p3-c2{display:none}
/* v0.12.42 휴대폰 주머니 결함 수정(04, 관리자 11-05): tft1m에서 #cv-pouch는 88×44 단추 상자(overflow hidden·토글 외 숨김)라 '주머니'를 눌러 펼친 칸이 0×0이었다 → 펼쳤을 때만 단추 오른쪽에 칸 4개를 띄운다. 칸을 누르면 기존 사용 창(#cv-pouch-pop) 그대로 */
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch[data-open="true"]{overflow:visible!important;z-index:60!important} /* 옆 '상성' 단추 위로(사용 창 #cv-pouch-pop 61 아래) */
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch[data-open="true"]>.cv-pouch-grid{display:flex!important;position:absolute!important;left:calc(100% + 6px)!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;gap:4px!important;padding:4px!important;background:var(--c-panel-solid)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-s)!important;box-shadow:var(--shadow)!important;z-index:31!important}
body.tft1m.hud85m #cv-pouch#cv-pouch#cv-pouch[data-open="true"] .cv-pouch-toggle::after{color:var(--c-accent,#FFC93C)}
/* 주머니 쓰기 창(관리자 승인 11-05): 새 화면(tft1·tft1m) 시트 — 가득 창과 같은 차콜 틀·그림 카드·노랑 기본 단추. --pu = 844 체감 단위(console-v51.js ConsumablePouch.sheet, PC ×0.95 → 1920 ≈ 2.2, 가로 약 79%) */
html body #cv-pouch-pop.t1-use{position:fixed!important;left:50%!important;top:calc(var(--pu,1)*8px)!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;z-index:150!important;width:calc(var(--pu,1)*700px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important;overflow:auto!important;box-sizing:border-box!important;padding:calc(var(--pu,1)*10px) calc(var(--pu,1)*12px)!important;background:#232120f5!important;border:1px solid #ffffff24!important;border-image:none!important;border-radius:calc(var(--pu,1)*8px)!important;box-shadow:0 calc(var(--pu,1)*6px) calc(var(--pu,1)*24px) #000a!important;color:#f2efe8!important;font-family:var(--font-head)!important}
html body #cv-pouch-pop.t1-use .pu-top{display:flex;align-items:center;gap:calc(var(--pu,1)*8px);margin:0 0 calc(var(--pu,1)*8px)} html body #cv-pouch-pop.t1-use .pu-top b{font:900 calc(var(--pu,1)*15px)/1 var(--font-head)} html body #cv-pouch-pop.t1-use .pu-top small{margin-left:auto;font:700 calc(var(--pu,1)*10px)/1 var(--font-body);color:#a9a6ae}
html body #cv-pouch-pop.t1-use .pu-x{width:calc(var(--pu,1)*26px);height:calc(var(--pu,1)*26px);border:0;border-radius:calc(var(--pu,1)*6px);background:#3a3735;color:#f2efe8;font:900 calc(var(--pu,1)*15px)/1 var(--font-head);cursor:pointer}
html body #cv-pouch-pop.t1-use .pu-bag{display:flex;gap:calc(var(--pu,1)*6px);margin-bottom:calc(var(--pu,1)*8px)} html body #cv-pouch-pop.t1-use .pu-bag button{flex:1;display:flex;align-items:center;gap:calc(var(--pu,1)*5px);min-height:calc(var(--pu,1)*34px);padding:calc(var(--pu,1)*4px) calc(var(--pu,1)*6px);background:#2f2c2a;border:calc(var(--pu,1)*1.5px) solid #ffffff1c;border-radius:calc(var(--pu,1)*6px);color:#d8d4cc;font:700 calc(var(--pu,1)*9.5px)/1.1 var(--font-head);text-align:left;cursor:pointer}
html body #cv-pouch-pop.t1-use .pu-bag button.on{border-color:#ffc93c;background:#3a3326;color:#fff} html body #cv-pouch-pop.t1-use .pu-bag button:disabled{opacity:.45;cursor:default}
html body #cv-pouch-pop.t1-use .cv-pouch-icon{position:relative;flex:none;display:grid;place-items:center;width:calc(var(--pu,1)*26px);height:calc(var(--pu,1)*26px)} html body #cv-pouch-pop.t1-use .cv-pouch-icon img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated} html body #cv-pouch-pop.t1-use .cv-pouch-icon>span{font:800 calc(var(--pu,1)*8px)/1 var(--font-head)} html body #cv-pouch-pop.t1-use .cv-pouch-icon img+span{display:none}
html body #cv-pouch-pop.t1-use .cv-copy-badge{position:absolute;right:calc(var(--pu,1)*-3px);bottom:calc(var(--pu,1)*-3px);font:900 calc(var(--pu,1)*8px)/1 var(--font-head)}
html body #cv-pouch-pop.t1-use .pu-hd{display:flex;align-items:center;gap:calc(var(--pu,1)*10px);padding:calc(var(--pu,1)*8px) calc(var(--pu,1)*10px);background:#2b2826;border-radius:calc(var(--pu,1)*6px);margin-bottom:calc(var(--pu,1)*8px)} html body #cv-pouch-pop.t1-use .pu-hd>.cv-pouch-icon{width:calc(var(--pu,1)*40px);height:calc(var(--pu,1)*40px)}
html body #cv-pouch-pop.t1-use .pu-hd b{display:block;font:900 calc(var(--pu,1)*14px)/1.1 var(--font-head)} html body #cv-pouch-pop.t1-use .pu-hd p{margin:calc(var(--pu,1)*3px) 0 0;font:500 calc(var(--pu,1)*10px)/1.35 var(--font-body);color:#cfcac0}
html body #cv-pouch-pop.t1-use .pu-tag{margin-left:auto;flex:none;padding:calc(var(--pu,1)*3px) calc(var(--pu,1)*7px);border-radius:calc(var(--pu,1)*4px);background:#3a3735;color:#ffd66b;font:800 calc(var(--pu,1)*9px)/1 var(--font-head)}
html body #cv-pouch-pop.t1-use .pu-note{margin:0 0 calc(var(--pu,1)*6px);font:700 calc(var(--pu,1)*10px)/1.3 var(--font-body);color:#ffd66b}
html body #cv-pouch-pop.t1-use .pu-pv{display:flex;align-items:center;justify-content:center;gap:calc(var(--pu,1)*14px);padding:calc(var(--pu,1)*10px);margin-bottom:calc(var(--pu,1)*8px);background:#2b2826;border-radius:calc(var(--pu,1)*6px);font:800 calc(var(--pu,1)*13px)/1 var(--font-head)} html body #cv-pouch-pop.t1-use .pu-pv b{color:#ffd66b;font-size:1.3em} html body #cv-pouch-pop.t1-use .pu-pv .pu-g{font:700 .72em/1 var(--font-body);font-style:normal;margin-left:.22em;color:#cfcac0;letter-spacing:0} html body #cv-pouch-pop.t1-use .pu-pv b .pu-g{color:#e8b94a}
html body #cv-pouch-pop.t1-use .pu-tg{display:grid;grid-template-columns:repeat(4,1fr);gap:calc(var(--pu,1)*6px);margin-bottom:calc(var(--pu,1)*8px)} html body #cv-pouch-pop.t1-use .pu-tg button{position:relative;display:flex;align-items:center;gap:calc(var(--pu,1)*5px);min-height:calc(var(--pu,1)*46px);padding:calc(var(--pu,1)*4px) calc(var(--pu,1)*6px);background:#2f2c2a;border:calc(var(--pu,1)*1.5px) solid #ffffff1c;border-radius:calc(var(--pu,1)*6px);color:#f2efe8;text-align:left;font:800 calc(var(--pu,1)*10px)/1.2 var(--font-head);cursor:pointer}
html body #cv-pouch-pop.t1-use .pu-tg button.on{border-color:#ffc93c;box-shadow:0 0 0 calc(var(--pu,1)*1px) #ffc93c,0 0 calc(var(--pu,1)*10px) #ffc93c66;background:#3a3326} html body #cv-pouch-pop.t1-use .pu-tg img{width:calc(var(--pu,1)*38px);height:calc(var(--pu,1)*38px);object-fit:contain;image-rendering:pixelated;margin:calc(var(--pu,1)*-4px) 0;flex:none}
html body #cv-pouch-pop.t1-use .pu-tg span{min-width:0} html body #cv-pouch-pop.t1-use .pu-tg b{display:block;font:800 calc(var(--pu,1)*10px)/1.2 var(--font-head)} html body #cv-pouch-pop.t1-use .pu-tg small{display:block;font:600 calc(var(--pu,1)*8.5px)/1.2 var(--font-body);color:#a9a6ae} html body #cv-pouch-pop.t1-use .pu-tg em{display:block;font:800 calc(var(--pu,1)*9px)/1.2 var(--font-head);font-style:normal;color:#7ee0a0}
html body #cv-pouch-pop.t1-use .pu-tg .cv-pouch-cost{position:absolute;left:calc(var(--pu,1)*3px);top:calc(var(--pu,1)*3px);width:calc(var(--pu,1)*13px);height:calc(var(--pu,1)*13px);border-radius:calc(var(--pu,1)*3px);background:var(--tier,#9aa3ad);color:#111;font:900 calc(var(--pu,1)*9px)/calc(var(--pu,1)*13px) var(--font-head);text-align:center;font-style:normal}
html body #cv-pouch-pop.t1-use .pu-act{display:grid;grid-template-columns:2fr 1fr 1fr;gap:calc(var(--pu,1)*8px)} html body #cv-pouch-pop.t1-use .pu-act button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--pu,1)*2px);min-height:calc(var(--pu,1)*36px);border-radius:calc(var(--pu,1)*6px);border:0;background:#3a3735;color:#f2efe8;font:900 calc(var(--pu,1)*12px)/1 var(--font-head);cursor:pointer}
html body #cv-pouch-pop.t1-use .pu-act button small{font:600 calc(var(--pu,1)*8.5px)/1 var(--font-body);opacity:.8} html body #cv-pouch-pop.t1-use .pu-act .pu-go{background:#ffc93c;color:#262423} html body #cv-pouch-pop.t1-use .pu-act button:disabled{background:#4a4743;color:#8d8a84;cursor:default}
/* v0.12.42 핫픽스 후보(관리자 11-05, 04 발견): 휴대폰 새 화면(tft1m)에서 끌어서 판매 칸이 화면 아래 밖(844×390에서 top 397·높이 16)이던 것 →
   끄는 동안 화면 위 띠(왼쪽 정보 열 오른쪽 ~ 화면 끝, 높이 110)로 옮김. 모양·판정(placement-ui.js SaleDrag, 06 saleValue)은 그대로, 자리만.
   끄는 동안만 띠와 겹치는 배속·메뉴·지갑·잠금·확률 줄을 숨김. 벤치는 그대로(벤치가 늘 우선). */
html body.tft1m.playing .game-footer #sell-drop#sell-drop{position:fixed!important;inset:auto!important;left:160px!important;right:6px!important;top:4px!important;width:auto!important;height:110px!important;min-height:0!important;padding:6px 16px!important;box-sizing:border-box!important;z-index:80!important}
html body.tft1m.unit-dragging #app #speed-btn#speed-btn,html body.tft1m.unit-dragging #app #t1-menu#t1-menu,html body.tft1m.unit-dragging #app #dock-wallet#dock-wallet,html body.tft1m.unit-dragging #app #lock-btn#lock-btn,html body.tft1m.unit-dragging #t1-odds-m#t1-odds-m{visibility:hidden!important;opacity:0!important}
/* ---------- 49-6. 04 11-05 메인 메뉴 방(MenuRoomT1 · .t1room — 05 menu-room137, 08 RoomDecor 단계, 크기 제안값) ----------
   방 그림은 C2 캔버스 바로 위, C2 단추(.c2-controls)·안내 아래. 모드 고르기 전(메인)에만 보이고, 옛 C2 모드 단추 4개는 방 상자가 대신한다. */
.c2-lobby .t1room{position:absolute;inset:0;z-index:1;overflow:hidden;background:#0b0a0e;--s:4px}
/* v0.12.43 핫픽스: 방을 화면 안에 담음(MenuRoomT1.place min). 04 11-06 창 모드: 남는 띠 = 흐린 복사본 대신 바탕 그림 가장자리를 늘린 캔버스(.t1room-ext, MenuRoomT1.ext) */
.c2-lobby .t1room-ext{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}
.c2-lobby .t1room-ext[hidden]{display:none}
.c2-lobby .t1room.ext-x .t1room-l{clip-path:inset(0 var(--s))}.c2-lobby .t1room.ext-y .t1room-l{clip-path:inset(var(--s) 0)}.c2-lobby .t1room.ext-x.ext-y .t1room-l{clip-path:inset(var(--s))}
.c2-lobby .t1room[hidden]{display:none}
.c2-lobby .t1room-c{position:absolute;left:50%;top:50%;width:calc(var(--cw)*var(--s));height:calc(var(--ch)*var(--s));transform:translate(-50%,-50%)}
.c2-lobby .t1room-c>*{position:absolute}
.c2-lobby .t1room-l{inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none;user-select:none}
.c2-lobby .t1room-bd{object-fit:contain;image-rendering:pixelated;pointer-events:none;filter:drop-shadow(0 1px 0 #0008)}
.c2-lobby .t1room-m{padding:0;border:0;background:transparent;cursor:pointer;border-radius:calc(var(--s)*2);outline:none;transition:background .12s,box-shadow .12s}
.c2-lobby .t1room-m:hover,.c2-lobby .t1room-m:focus-visible{background:#ffffff1f;box-shadow:inset 0 0 0 calc(var(--s)*.75) #ffd84a}
.c2-lobby .t1room-m.lock{cursor:default}
.c2-lobby .t1room-m.lock:hover{background:#0000002e;box-shadow:inset 0 0 0 calc(var(--s)*.75) #9a958c}
.c2-lobby .t1room-nm{transform:translateX(-50%);padding:calc(var(--s)*1.2) calc(var(--s)*3);border-radius:calc(var(--s)*1.5);background:#181818e6;border:calc(var(--s)*.5) solid #f8f8f0;color:#fff;font:800 calc(var(--s)*5.4)/1 var(--font-head);white-space:nowrap;pointer-events:none;text-shadow:0 1px 0 #000}
.c2-lobby .t1room.mob .t1room-nm{font-size:calc(var(--s)*6.4);padding:calc(var(--s)*1.2) calc(var(--s)*2.6)}
/* 관리자 11-05 보완: 1920 이름표·정보 줄을 844 체감(화면 높이 약 3.3%·2.9%)에 맞춤 */
.c2-lobby .t1room:not(.mob) .t1room-nm{font-size:calc(var(--s)*8.6);padding:calc(var(--s)*1.4) calc(var(--s)*3.4);border-width:calc(var(--s)*.6)}
.c2-lobby .t1room:not(.mob) .t1room-info{font-size:calc(var(--s)*7.4)}
.c2-lobby .t1room-lk{width:calc(var(--s)*9);height:calc(var(--s)*10);border-radius:calc(var(--s)*1.5);background:#2b2a30;border:calc(var(--s)*.5) solid #f8f8f0;pointer-events:none}
.c2-lobby .t1room-lk::before{content:'';position:absolute;left:22%;right:22%;top:-45%;height:60%;border:calc(var(--s)*.9) solid #f8f8f0;border-bottom:0;border-radius:999px 999px 0 0}
.c2-lobby .t1room-new{position:absolute;left:50%;top:14%;transform:translateX(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 34px 12px;background:#f8f8f0;color:#181818;border:4px solid #181818;border-radius:10px;box-shadow:inset 0 0 0 3px #b8b8b0,0 6px 0 #0008;font:900 clamp(18px,3.4vh,40px)/1 var(--font-head);animation:t1roomIn .35s cubic-bezier(.2,1.3,.4,1) both;cursor:pointer;pointer-events:auto}
.c2-lobby .t1room-new small{font:800 clamp(11px,1.9vh,22px)/1 var(--font-head);color:#585550}
.c2-lobby .t1room-new.out{opacity:0;transition:opacity .3s}
@keyframes t1roomIn{from{opacity:0;transform:translate(-50%,-20px) scale(.9)}to{opacity:1;transform:translateX(-50%)}}
.c2-lobby.t1room-on .c2-controls{z-index:2;pointer-events:none}
.c2-lobby.t1room-on .c2-controls>*{pointer-events:auto}
.c2-lobby.t1room-on .c2-controls [data-action^="mode-"]{display:none!important}
/* v0.12.43 핫픽스 2: 방이 보이면 .c2-controls = 방 그림 영역(MenuRoomT1.frame). 시작 단추는 C2가 화면 폭 기준 px로 놓으므로 1920×1080 자리(왼 66·위 903·폭 498, 높이는 기존 규칙 그대로)를 방 기준 %로 고정 */
body.tft1 #title-cover.c2-lobby.t1room-on .c2-controls [data-action=primary]:is(#title-start,#title-resume){left:3.4375%!important;top:83.611%!important;width:25.9375%!important}
.c2-lobby .t1room-logo{object-fit:contain;object-position:left top;pointer-events:none;filter:drop-shadow(0 calc(var(--s)*.8) 0 #000a)}
.c2-lobby .t1room-info{display:flex;align-items:center;justify-content:center;padding:0 calc(var(--s)*3);border-radius:calc(var(--s)*2);background:#181818d9;border:calc(var(--s)*.5) solid #f8f8f0;color:#fff;font:800 calc(var(--s)*4.6)/1 var(--font-head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.c2-lobby .t1room.mob .t1room-info{font-size:calc(var(--s)*5.6)}
@media (prefers-reduced-motion:reduce){.c2-lobby .t1room-new{animation:none}}
/* 49-6. 04 11-05 라이벌 등장 = 관장 등장 3차 틀(관리자 전달 사용자 결정 '라이벌도 GYM 하고 똑같은 방식으로'). 배지 자리 = 대표 포켓몬(ACE) 도트, 돌지 않고 살짝 뜀, 끝에서 흐려짐 */
#t1-poster.p3-rival .p3 .p3-bd{animation:p3RvOut 300ms var(--p3-bf) both}
#t1-poster.p3-rival .p3 .p3-bd img{animation:p3RvBob 900ms ease-in-out infinite alternate;filter:drop-shadow(0 0 calc(var(--u)*1.8) color-mix(in srgb,var(--tc) 70%,#fff))}
@keyframes p3RvBob{from{transform:translateY(0)}to{transform:translateY(-4%)}}
@keyframes p3RvOut{from{opacity:1;transform:none}to{opacity:0;transform:scale(.85)}}
/* 49-7. 04 11-05 트레이너 등장 전면 교체(관리자 지시 · 사용자 '로켓단도 그렇고 일반 트레이너들도 UI 싹 다 바꿔야 함'). 크기·시간 제안값.
   ① 라이벌 보완(관리자 11-05): A 단계 흰 번쩍을 띠 안으로만(화면 전체가 회색으로 바래 보이던 0.38~0.54초) · B 단계 ACE 도트와 'ACE 이름'을 배지만큼 크게(96px 도트의 빈 여백을 덮게 상자를 키움).
   간부·보스(.p3-vl)도 같은 전체 판. '다시 만남'(08 e.again)은 짧은 판(B만) + 오른쪽 위 꼬리표. */
#t1-poster.p3-rival .p3 .p3-a .p3-fl{top:30%;height:34%;bottom:auto}
#t1-poster.p3-rival .p3 .p3-bd.p3-ace{left:2%;top:4%;height:62%}
body.tft1m #t1-poster.p3-rival .p3 .p3-bd.p3-ace{left:2%;top:2%;height:56%}
#t1-poster.p3-rival .p3 .p3-bd.p3-ace~.p3-bn{left:calc(2% + 60vh);top:24%;font-size:calc(var(--u)*6);gap:calc(var(--u)*1)}
body.tft1m #t1-poster.p3-rival .p3 .p3-bd.p3-ace~.p3-bn{left:calc(2% + 52vh);top:20%;font-size:calc(var(--u)*5.4)}
#t1-poster.p3-rival .p3 .p3-bd.p3-ace~.p3-bn small{font-size:.55em;letter-spacing:.16em;color:#FFC93C}
#t1-poster.p3-vl .p3 .p3-agn,#t1-poster.p3-again .p3 .p3-agn{right:calc(var(--u)*16);top:calc(var(--u)*1.6);padding:calc(var(--u)*.7) calc(var(--u)*2);border-radius:999px;background:var(--tc);border:calc(var(--u)*.35) solid #fff;color:#fff;font:900 calc(var(--u)*2.6)/1 var(--font-head);letter-spacing:.12em;text-shadow:0 2px 0 #0008;animation:p3Up 200ms 150ms both}
/* ② 일반 트레이너·조무래기 짧은 판(TrainerIntro · #t1-poster.p3-tr): 판이 비치는 어둠 + 가로 띠 + 도트 + 한 줄 + 대사 줄 하나. 1920·844 모두 --u(높이 기준) */
#t1-poster.p3-tr{background:rgba(6,7,10,.58);backdrop-filter:blur(2px) saturate(.6)}
#t1-poster.p3-tr .p3{background:none}
#t1-poster.p3-tr .p3 .p3-tb{opacity:1;animation:p3On 120ms both}
#t1-poster.p3-tr .p3 .p3-tband{left:0;right:0;top:32%;height:30%;overflow:visible;background:linear-gradient(180deg,color-mix(in srgb,var(--tc) 55%,#000),var(--tc) 30%,color-mix(in srgb,var(--tc) 70%,#fff) 50%,var(--tc) 70%,color-mix(in srgb,var(--tc) 55%,#000));border-top:calc(var(--u)*.4) solid color-mix(in srgb,var(--tc) 35%,#fff);border-bottom:calc(var(--u)*.4) solid color-mix(in srgb,var(--tc) 35%,#fff);box-shadow:0 0 calc(var(--u)*4) #000a;transform-origin:left center;animation:p3BandIn 180ms cubic-bezier(.2,.9,.3,1) both}
body.tft1m #t1-poster.p3-tr .p3 .p3-tband{top:24%;height:38%}
#t1-poster.p3-tr .p3 .p3-tband .p3-streak{inset:0;opacity:.55;-webkit-mask:none;mask:none;overflow:hidden}
#t1-poster.p3-tr .p3 .p3-tdot{left:13%;bottom:0;image-rendering:pixelated;filter:drop-shadow(0 calc(var(--u)*.6) 0 #0009);animation:p3TrIn 260ms 80ms cubic-bezier(.2,.9,.3,1) both}
body.tft1m #t1-poster.p3-tr .p3 .p3-tdot{left:9%}
#t1-poster.p3-tr .p3 .p3-tcp{left:34%;right:6%;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:calc(var(--u)*1.2)}
body.tft1m #t1-poster.p3-tr .p3 .p3-tcp{left:30%;right:4%}
#t1-poster.p3-tr .p3 .p3-tcp>*{position:relative}
#t1-poster.p3-tr .p3 .p3-tkd{font:700 calc(var(--u)*2.6)/1.2 var(--font-body);color:#fff;opacity:.9;letter-spacing:.04em;text-shadow:0 1px 0 #0009;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:p3Up 200ms 160ms both}
#t1-poster.p3-tr .p3 .p3-tkd b{position:static;margin-right:.4em;color:#fff}
#t1-poster.p3-tr .p3 .p3-tt{font:900 calc(var(--u)*5.6)/1.15 var(--font-head);color:#fff;text-shadow:0 calc(var(--u)*.5) 0 #000b,0 0 calc(var(--u)*2) #0006;animation:p3Up 220ms 220ms both}
#t1-poster.p3-tr .p3 .p3-tdl{margin:0;display:flex;align-items:baseline;gap:calc(var(--u)*1.6);max-width:100%;animation:p3Up 220ms 380ms both} /* 관리자 11-05: 띠 아래 상자 → 띠 안 둘째 줄 */
#t1-poster.p3-tr .p3 .p3-tdl>*{position:relative}
#t1-poster.p3-tr .p3 .p3-twho{flex:none;font:900 calc(var(--u)*2.4)/1.3 var(--font-head);color:#fff;opacity:.8;white-space:nowrap}
#t1-poster.p3-tr .p3 .p3-ttx{font:700 calc(var(--u)*3)/1.3 var(--font-head);color:#fff;text-shadow:0 1px 0 #0009;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#t1-poster.p3-tr[data-phase=closing]{opacity:0}
#t1-poster.p3-calm .p3 *{animation:none!important}
@keyframes p3TrIn{from{transform:translateX(-45%);opacity:0}to{transform:none;opacity:1}}
/* 49-8. 04 11-05 스테이지 이동 연출(StageMoveT1 · 관리자 통과 시안, 시간·배율 시범값 STAGE_MOVE). 적막한 바탕 위에 띠만 가운데 크게 → 제자리로 */
#t1-hush{position:fixed;inset:0;z-index:10040;background:radial-gradient(ellipse at 50% 50%,#10141c 0%,#06080c 70%);opacity:0;transition:opacity .4s;pointer-events:none}
body.t1-hush #t1-hush{opacity:1}
#t1-hush.t1-floor{background:#0a0c10}#t1-hush canvas{position:absolute;inset:0;width:100%;height:100%}#t1-hush.t1-floor::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,#0a0c1026 30%,#0a0c1066 100%)} /* 사용자 결정 11-05 1안: 판 바깥 흐린 그림 + 옅은 막(가장자리만 조금 진하게) */
body.t1-hush #t1-strip,body.t1-back #t1-strip{z-index:10041!important}
body.t1-big #t1-strip{transform:translate(var(--sm-x),var(--sm-y)) scale(var(--sm-k))!important;transition:transform .35s cubic-bezier(.3,.8,.3,1)}
body.t1-back #t1-strip{transition:transform .35s ease-in}
@media (prefers-reduced-motion:reduce){#t1-hush{transition:none}body.t1-big #t1-strip,body.t1-back #t1-strip{transition:none}}
/* 49-8 보완(관리자 11-05): PC 큰 띠 = 높이 222로 키워 화면 높이 약 40%·가로 85% 안, 지명·'이동 중'·다음 칸 줄은 844 체감 크기(844 표시 크기 × 약 2). ④ 휴대폰 갈림길 카드 3장 = 큰 띠 아래 */
body.t1-bigpc #t1-strip:is([data-st=open],[data-st=move],[data-st=arrive],[data-st=close],[data-st=fork],[data-st=forked]){--h:210}
body.t1-bigpc #t1-strip .mt{font-size:38px}
body.t1-bigpc #t1-strip .mp header em,body.t1-bigpc #t1-strip .fk header em{font-size:26px}
body.t1-bigpc #t1-strip .fk header b{font-size:34px}
body.t1-bigpc #t1-strip .vw{top:62px}
body.t1-bigpc #t1-strip:is([data-st=open],[data-st=move],[data-st=arrive])::after{content:attr(data-dest);position:absolute;left:18px;right:18px;top:164px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 28px/1.2 var(--font-head);color:var(--c-accent)}
body.t1-hush #t1-fork-go{display:none}
body.t1-bigpc #t1-strip .fo{height:40px;font-size:24px;font-family:var(--font-head);font-weight:700}
body.t1-bigpc #t1-strip .fo :is(img,svg,.type-icon){width:24px;height:24px}
body.t1-bigpc #t1-strip .fl3{gap:6px}
body.t1-bigpc #t1-strip :is(.fvw,.fl3){top:66px}
body.t1-bigpc #t1-strip .fvw{height:110px;background-size:1005px 110px}
body.t1-bigpc #t1-strip .fo b{font-size:26px;width:20px}
/* 사용자 결정 11-05(갈림길 큰 카드 시안 구조 + 확률 3단계): PC·휴대폰 같은 구조 — 큰 띠 아래 길 3장(머리 = 글자·타입 아이콘·단서, 결과 4종 = 아이콘·이름·단계 칸 3개+낮음/보통/높음, '이 길로').
   top은 코드가 큰 띠 아래 끝에 맞춘다. 크기 단위 --u(1920 = 1). PC는 띠 안 A·B·C 줄을 숨김. */
#t1-fkbig{--u:min(calc(100vw / 1920),calc(100vh / 1080));position:fixed;left:50%;transform:translateX(-50%);width:calc(1500*var(--u));top:60%;z-index:10061;font-family:var(--font-body);animation:t1fkIn .3s both}
@keyframes t1fkIn{from{opacity:0;transform:translate(-50%,20px)}}
body.t1-fkbig-on #t1-strip .fk .fl3{visibility:hidden!important}
#t1-fkbig .t1fk{display:grid;grid-template-columns:repeat(3,1fr);gap:calc(24*var(--u))}
#t1-fkbig .t1fk-c{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:calc(8*var(--u));padding:calc(14*var(--u)) calc(20*var(--u));background:#232120f2;border:calc(2*var(--u)) solid #ffffff2a;border-radius:calc(12*var(--u));box-shadow:0 calc(8*var(--u)) calc(28*var(--u)) #000a;color:#F2EFE8;transition:transform .12s,border-color .12s}
#t1-fkbig .t1fk-c:is(:hover,:focus-visible){border-color:var(--c-accent);transform:translateY(calc(-6*var(--u)));box-shadow:0 0 0 calc(2*var(--u)) var(--c-accent),0 calc(12*var(--u)) calc(30*var(--u)) #000c}
:is(#t1-fkbig,#strategy-overlay) .t1fk-c .hd{display:flex;align-items:center;gap:calc(12*var(--u,1px))}
#t1-fkbig .t1fk-c .hd :is(img,svg,.type-icon){width:calc(44*var(--u));height:calc(44*var(--u))}
#t1-fkbig .t1fk-c .hd b{font:700 calc(40*var(--u))/1 var(--font-head);color:var(--c-accent)}
#t1-fkbig .t1fk-c .hd>span{font:700 calc(24*var(--u))/1.25 var(--font-head)}
:is(#t1-fkbig,#strategy-overlay) .t1fk-c ul{list-style:none;margin:0;padding:0;display:grid;gap:calc(4*var(--u,1px))}
:is(#t1-fkbig,#strategy-overlay) .t1fk-c li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:calc(10*var(--u,1px))}
#t1-fkbig .t1fk-c li{font:700 calc(20*var(--u))/1 var(--font-head);color:#D8D4CC}
#t1-fkbig .t1fk-c li img{width:calc(32*var(--u));height:calc(32*var(--u));object-fit:contain;image-rendering:pixelated}
:is(#t1-fkbig,#strategy-overlay) .lv{display:flex;align-items:center;gap:calc(3*var(--u,1px));font-style:normal;--c:#9AA3AD}
:is(#t1-fkbig,#strategy-overlay) .o-elite .lv{--c:#E06464}:is(#t1-fkbig,#strategy-overlay) .o-supply .lv{--c:#5CC98A}:is(#t1-fkbig,#strategy-overlay) .o-trap .lv{--c:#FFC93C}
:is(#t1-fkbig,#strategy-overlay) .lv s{display:block;width:calc(18*var(--u,1px));height:calc(12*var(--u,1px));background:#171615;border:1px solid #000;box-shadow:0 0 0 1px #ffffff14}
:is(#t1-fkbig,#strategy-overlay) .lv1 s:nth-child(-n+2),:is(#t1-fkbig,#strategy-overlay) .lv2 s,:is(#t1-fkbig,#strategy-overlay) .lv0 s:first-child{background:var(--c)}
:is(#t1-fkbig,#strategy-overlay) .lv em{font-style:normal;min-width:2.6em;text-align:right;margin-left:calc(6*var(--u,1px))}
:is(#t1-fkbig,#strategy-overlay) .lv2 em{color:var(--c)}:is(#t1-fkbig,#strategy-overlay) .lv0 em{opacity:.6}
#t1-fkbig .t1fk-c .go{margin-top:calc(2*var(--u));text-align:center;padding:calc(8*var(--u));border-radius:calc(8*var(--u));background:#3A3735;font:700 calc(20*var(--u))/1 var(--font-head)}
#t1-fkbig .t1fk-c:is(:hover,:focus-visible) .go{background:var(--c-accent);color:#262423}
body.tft1m #t1-fkbig,body.mobile-ui #t1-fkbig{width:calc(100vw - 24px);--u:0.45px}
body.tft1m #t1-fkbig .t1fk,body.mobile-ui #t1-fkbig .t1fk{gap:8px}
body.tft1m #t1-fkbig .t1fk-c,body.mobile-ui #t1-fkbig .t1fk-c{padding:7px 9px;gap:5px;border-width:1px;border-radius:10px}
body.tft1m #t1-fkbig .t1fk-c .hd b,body.mobile-ui #t1-fkbig .t1fk-c .hd b{font-size:18px}
body.tft1m #t1-fkbig .t1fk-c .hd>span,body.mobile-ui #t1-fkbig .t1fk-c .hd>span{font-size:11px}
body.tft1m #t1-fkbig .t1fk-c .hd :is(img,svg,.type-icon),body.mobile-ui #t1-fkbig .t1fk-c .hd :is(img,svg,.type-icon){width:24px;height:24px}
body.tft1m #t1-fkbig .t1fk-c li,body.mobile-ui #t1-fkbig .t1fk-c li{font-size:11px;gap:5px}
body.tft1m #t1-fkbig .t1fk-c li img,body.mobile-ui #t1-fkbig .t1fk-c li img{width:18px;height:18px}
body.tft1m #t1-fkbig .lv s,body.mobile-ui #t1-fkbig .lv s{width:8px;height:7px}
body.tft1m #t1-fkbig .t1fk-c .go,body.mobile-ui #t1-fkbig .t1fk-c .go{font-size:11px;padding:5px}
/* 휴대폰 작은 고르기 창(#strategy-overlay)도 같은 카드 내용 */
#strategy-overlay .t1fk-c:has(.hd){grid-template-rows:auto auto;min-height:0}
#strategy-overlay .t1fk-c .hd{flex-wrap:wrap;justify-content:center;gap:4px}
#strategy-overlay .t1fk-c ul{width:100%;margin-top:4px}
#strategy-overlay .t1fk-c li{font:700 10px/1 var(--font-body);gap:4px;text-align:left}
#strategy-overlay .t1fk-c li img{width:16px;height:16px;object-fit:contain}
#strategy-overlay .lv s{width:6px;height:6px}
#strategy-overlay .t1fk-c .go{display:none}

/* 49-9 도감 개편 ②(시안 1 통과, 관리자 11-05): 빨간 기기 + 어두운 녹색 CRT 화면, 진화 사슬 묶음 카드, 획득/발견/미발견, '!' 새 표식.
   크기 단위 --u = 844 기준 1, 1920 기준 약 2.2(시안 크기 원칙). 트레이너 단말로 옮겨진 목록은 이 규칙을 받지 않는다(#pokedex 안만). */
#pokedex:has(.dx2){padding:0}
#pokedex .dex-device.dx2{--u:min(calc(100vw / 860),calc(100vh / 400));--g:rgba(140,230,170,.38);width:min(1860px,97vw);height:min(1048px,96vh);max-width:none;max-height:none;margin:0;display:flex;flex-direction:column;gap:calc(3*var(--u));padding:calc(4*var(--u)) calc(6*var(--u)) calc(5*var(--u));background:#dc2a32;border:calc(2*var(--u)) solid #181818;border-image:none;border-radius:calc(10*var(--u));box-shadow:inset 0 calc(-3*var(--u)) 0 #9c1419,inset 0 calc(2*var(--u)) 0 #f26066;font-family:'Galmuri11',var(--font-head);color:#e8f4ea;-webkit-font-smoothing:none;overflow:hidden}
body.mobile-ui #pokedex .dex-device.dx2{width:100vw;height:100vh;border-width:0;border-radius:0}
#pokedex .dx2>header{display:flex;align-items:center;gap:calc(6*var(--u));height:calc(30*var(--u));flex:none;padding:0;background:none;border:0}
#pokedex .dx2>header .dex-lens{display:block;width:calc(24*var(--u));height:calc(24*var(--u));border-radius:50%;background:radial-gradient(circle at 35% 35%,#bff 0 18%,#3ad 40%,#126 100%);border:calc(2*var(--u)) solid #fff;outline:2px solid #181818;flex:none}
#pokedex .dx2 .dxled{display:flex;gap:calc(3*var(--u))}
#pokedex .dx2 .dxled i{display:block;width:calc(7*var(--u));height:calc(7*var(--u));border-radius:50%;border:2px solid #181818;background:#f33}
#pokedex .dx2 .dxled i:nth-child(2){background:#fc3}
#pokedex .dx2 .dxled i:nth-child(3){background:#3c5}
#pokedex .dx2>header h2{margin:0;font-size:calc(15*var(--u));color:#fff;text-shadow:2px 2px 0 #181818;white-space:nowrap}
#pokedex .dx2 #dex-progress{margin-left:auto;display:flex;gap:calc(4*var(--u));font-weight:400;white-space:nowrap}
#pokedex .dx2 .dxch{display:flex;align-items:center;gap:calc(3*var(--u));background:#1a1d1f;color:#fff;border-radius:calc(12*var(--u));padding:calc(2*var(--u)) calc(8*var(--u));font-size:calc(10*var(--u))}
#pokedex .dx2 .dxch b{font-size:calc(12*var(--u))}
#pokedex .dx2 .dxch.rg b{color:#ffe26a}
#pokedex .dx2 .dxball{display:inline-block;width:calc(11*var(--u));height:calc(11*var(--u));border-radius:50%;border:2px solid #181818;background:linear-gradient(#e33 0 44%,#181818 44% 56%,#fff 56%)}
#pokedex .dx2 .dxstar{font-style:normal;color:#ffd23a}
#pokedex .dx2 #dex-close{flex:none;width:calc(24*var(--u));height:calc(24*var(--u));min-width:44px;min-height:44px;border-radius:50%;border:0;background:#1a1d1f;color:#fff;font:inherit;font-size:calc(12*var(--u));padding:0;display:flex;align-items:center;justify-content:center}
body.mobile-ui #pokedex .dx2 #dex-close{min-width:36px;min-height:36px}
#pokedex .dx2 .dex-toolbar{display:flex;align-items:center;gap:calc(4*var(--u));flex:none;padding:0;background:none;border:0;flex-wrap:nowrap}
#pokedex .dx2 #dex-rchips{display:flex;gap:calc(4*var(--u))}
#pokedex .dx2 #dex-rchips button,#pokedex .dx2 .dex-toolbar select,#pokedex .dx2 #dex-search{height:calc(18*var(--u));min-height:0;background:#1a1d1f;color:#cfd8d2;border:0;border-radius:calc(10*var(--u));padding:0 calc(7*var(--u));font:inherit;font-size:calc(10*var(--u));white-space:nowrap}
#pokedex .dx2 #dex-rchips button.on{background:#2f8f4e;color:#fff}
#pokedex .dx2 #dex-rchips b{color:#ffe26a;font-weight:400}
#pokedex .dx2 #dex-search{margin-left:auto;width:calc(130*var(--u));color:#e8f4ea}
#pokedex .dx2 #dex-search::placeholder{color:#8a948e}
#pokedex .dx2 #dex-region{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;padding:0}
#pokedex .dx2 .dex-panels{flex:1;min-height:0;display:flex;gap:calc(6*var(--u));margin:0;padding:calc(6*var(--u));background:#0f1d18 repeating-linear-gradient(0deg,rgba(120,255,170,.035) 0 1px,transparent 1px 3px);border:calc(2*var(--u)) solid #181818;border-radius:calc(8*var(--u));grid-template-columns:none}
#pokedex .dx2 #dex-detail{width:calc(232*var(--u));flex:none;overflow:auto;padding:0 calc(2*var(--u)) 0 0;background:none;border:0;color:#e8f4ea;font-size:calc(10*var(--u));scrollbar-width:thin;scrollbar-color:#2f5a44 transparent}
#pokedex .dx2 #dex-detail .dex-screen{position:relative;height:calc(118*var(--u));margin:0 0 calc(4*var(--u));display:flex;align-items:center;justify-content:center;background:#2c3a33 radial-gradient(rgba(0,0,0,.3) 1px,transparent 1.2px) 0 0/calc(3*var(--u)) calc(3*var(--u));border:2px solid rgba(140,230,170,.45);border-radius:calc(6*var(--u))}
#pokedex .dx2 #dex-detail .dex-screen small{position:absolute;left:calc(5*var(--u));top:calc(3*var(--u));font-size:calc(9*var(--u));color:#cfe8d6}
#pokedex .dx2 #dex-detail .dex-screen img{width:calc(140*var(--u));height:calc(140*var(--u));image-rendering:pixelated;filter:none;opacity:1}
#pokedex .dx2 #dex-detail .dex-screen.dx-u img{filter:brightness(0);opacity:.8}
#pokedex .dx2 #dex-detail .dex-screen.dx-s img{filter:grayscale(1) brightness(.8);opacity:.75}
#pokedex .dx2 #dex-detail .dex-screen h2{position:absolute;left:calc(5*var(--u));bottom:calc(2*var(--u));margin:0;font-size:calc(15*var(--u));color:#fff;text-shadow:2px 2px 0 #10241a}
#pokedex .dx2 #dex-detail .detail-types{display:flex;align-items:center;gap:calc(4*var(--u));flex-wrap:wrap;font-size:calc(10*var(--u))}
#pokedex .dx2 .dxsr{margin-left:auto;color:#ffd23a;font-size:calc(12*var(--u))}
#pokedex .dx2 .dxsr i{font-style:normal;color:#3e5247}
#pokedex .dx2 #dex-detail p{margin:calc(3*var(--u)) 0;color:#cfe8d6;font-size:calc(9*var(--u))}
#pokedex .dx2 .dxevo{margin:calc(4*var(--u)) 0;padding-top:calc(3*var(--u));border-top:1px solid rgba(140,230,170,.3)}
#pokedex .dx2 .dxevo h4{margin:0 0 calc(2*var(--u));font-size:calc(9*var(--u));color:#9fb8a8}
#pokedex .dx2 .dxrow{display:flex;align-items:center;flex-wrap:wrap;gap:calc(1*var(--u))}
#pokedex .dx2 #dex-list{flex:1;min-width:0;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:calc(5*var(--u));padding:0;background:none;grid-template-columns:none;scrollbar-width:thin;scrollbar-color:#2f5a44 transparent}
#pokedex .dx2 .dxg{display:flex;align-items:center;gap:calc(1*var(--u));background:rgba(40,70,55,.35);border:1px solid rgba(140,230,170,.22);border-radius:calc(7*var(--u));padding:calc(3*var(--u))}
#pokedex .dx2 .dxb{display:flex;flex-direction:column;gap:calc(2*var(--u))}
#pokedex .dx2 .dxi{display:flex;align-items:center;gap:calc(1*var(--u))}
#pokedex .dx2 .dxrow .dxb{flex-direction:row;flex-wrap:wrap}
#pokedex .dx2 .dxa{font-style:normal;font-size:calc(10*var(--u));color:#5fe08a;text-shadow:0 0 calc(3*var(--u)) rgba(95,224,138,.7);margin:0 calc(1*var(--u))}
#pokedex .dx2 .dxa.sep{color:#4a6a58;text-shadow:none}
#pokedex .dx2 button.dxc{position:relative;width:calc(56*var(--u));height:calc(56*var(--u));min-width:0;min-height:0;margin:0;padding:0;background:#1d2f27;border:2px solid var(--g);border-radius:calc(6*var(--u));box-shadow:0 0 calc(4*var(--u)) rgba(110,230,160,.18),inset 0 0 calc(6*var(--u)) rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;font:inherit;color:#e8f4ea;overflow:hidden;cursor:pointer}
#pokedex .dx2 button.dxc.dx-c{border-color:rgba(160,250,190,.75);box-shadow:0 0 calc(6*var(--u)) rgba(110,240,160,.35),inset 0 0 calc(6*var(--u)) rgba(0,0,0,.3)}
#pokedex .dx2 button.dxc.selected{border-color:#fff;background:#24392f;box-shadow:0 0 calc(8*var(--u)) rgba(255,255,255,.7);z-index:2}
#pokedex .dx2 button.dxc img{width:calc(72*var(--u));height:calc(72*var(--u));max-width:none;image-rendering:pixelated;filter:none;opacity:1}
#pokedex .dx2 button.dxc.dx-u img{filter:brightness(0);opacity:.85}
#pokedex .dx2 button.dxc.dx-s img{filter:grayscale(1) brightness(.75);opacity:.7}
#pokedex .dx2 button.dxc small{position:absolute;z-index:1;left:auto;right:calc(3*var(--u));top:calc(1*var(--u));font-size:calc(8*var(--u));color:#8fc8a2}
#pokedex .dx2 button.dxc b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#pokedex .dx2 button.dxc .dex-tier-note{position:absolute;left:0;right:0;bottom:0;font-style:normal;font-size:calc(7*var(--u));background:rgba(10,20,16,.8);color:#ffe26a;text-align:center}
#pokedex .dx2 button.dxc.sm{width:calc(38*var(--u));height:calc(38*var(--u))}
#pokedex .dx2 button.dxc.sm img{width:calc(50*var(--u));height:calc(50*var(--u))}
#pokedex .dx2 button.dxc.sm small{font-size:calc(7*var(--u))}
#pokedex .dx2 .dxn{position:absolute;z-index:3;left:calc(1*var(--u));top:calc(1*var(--u));width:calc(14*var(--u));height:calc(14*var(--u));border-radius:50%;background:#e8262c;border:2px solid #fff;color:#fff;font-style:normal;font-size:calc(9*var(--u));line-height:1;display:flex;align-items:center;justify-content:center}
#pokedex .dx2>footer{flex:none;display:flex;align-items:center;gap:calc(4*var(--u));padding:0;background:none;border:0;color:#ffd9da;font-size:calc(8*var(--u))}
#pokedex .dx2>footer button{min-height:0;height:calc(16*var(--u));padding:0 calc(6*var(--u));background:#1a1d1f;color:#fff;border:0;border-radius:calc(8*var(--u));font:inherit;font-size:calc(9*var(--u))}
#pokedex .dx2 .dex-empty{color:#9fb8a8}
#pokedex .dx2 button.dxc img{position:static;transform:none;margin:0;inset:auto;grid-column:auto;object-fit:contain}
#pokedex .dex-device.dx2 button:not(.dxc),#pokedex .dex-device.dx2 select,#pokedex .dex-device.dx2 #dex-search{border:0;border-image:none;background-image:none;box-shadow:none;text-shadow:none;max-width:none;line-height:1}
#pokedex .dex-device.dx2 .detail-stats>*{background:#1d2f27;color:#cfe8d6;border-color:rgba(140,230,170,.3)}
#pokedex .dex-device.dx2 #dex-rchips button,#pokedex .dex-device.dx2 footer #dex-hall,#pokedex .dex-device.dx2 footer #dex-export,#pokedex .dex-device.dx2 header #dex-close{border:0;border-image:none;background-image:none;box-shadow:none;text-shadow:none;max-width:none;line-height:1}
#pokedex .dex-device.dx2 #dex-detail button.dxc img,#pokedex .dex-device.dx2 #dex-list button.dxc img{position:static;transform:none;margin:0;inset:auto;grid-column:auto;object-fit:contain;max-width:none;max-height:none}
#pokedex .dex-device.dx2 #dex-detail button.dxc.sm img{width:calc(50*var(--u));height:calc(50*var(--u))}
#pokedex .dex-device.dx2 #dex-list button.dxc img{width:calc(72*var(--u));height:calc(72*var(--u))}
#pokedex .dex-device.dx2 #dex-detail .detail-stats>*{background:#1d2f27;color:#cfe8d6;border-color:rgba(140,230,170,.3)}
#pokedex .dex-device.dx2 #dex-rchips button,#pokedex .dex-device.dx2 footer #dex-hall,#pokedex .dex-device.dx2 footer #dex-export,#pokedex .dex-device.dx2 header #dex-close{background-color:#1a1d1f;color:#fff}
#pokedex .dex-device.dx2 #dex-rchips button.on{background-color:#2f8f4e}
#pokedex .dex-device.dx2 #dex-list button.dxc img{width:calc(60*var(--u));height:calc(60*var(--u))}
#pokedex .dex-device.dx2 #dex-detail button.dxc.sm img{width:calc(40*var(--u));height:calc(40*var(--u))}
#pokedex .dex-device.dx2 #dex-detail .dex-screen img{width:calc(110*var(--u));height:calc(110*var(--u));max-width:none;max-height:none}
#pokedex .dex-device.dx2 #dex-list button.dxc img{width:calc(44*var(--u));height:calc(44*var(--u))}
#pokedex .dex-device.dx2 #dex-detail button.dxc.sm img{width:calc(30*var(--u));height:calc(30*var(--u))}
#pokedex .dex-device.dx2 #dex-detail .dex-screen img{width:calc(92*var(--u));height:calc(92*var(--u))}
#pokedex .dex-device.dx2 #dex-list button.dxc,#pokedex .dex-device.dx2 #dex-detail button.dxc{background:#1d2f27;border:2px solid var(--g);border-radius:calc(6*var(--u))}
#pokedex .dex-device.dx2 #dex-list button.dxc.dx-c,#pokedex .dex-device.dx2 #dex-detail button.dxc.dx-c{border-color:rgba(160,250,190,.75)}
#pokedex .dex-device.dx2 #dex-list button.dxc.selected,#pokedex .dex-device.dx2 #dex-detail button.dxc.selected{border-color:#fff;background:#24392f}
/* 49-9 ③ +N 알림(도감을 열 때 1회) */
#pokedex .dex-device.dx2{position:relative}
#pokedex .dx2 #dex-plus{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:rgba(8,10,12,.66);overflow:hidden;border-radius:inherit;cursor:pointer}
#pokedex .dx2 .dxrays{position:absolute;inset:-60%;background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,226,90,.28) 0 7deg,rgba(0,0,0,0) 7deg 15deg);animation:dxspin 12s linear infinite}
@keyframes dxspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){#pokedex .dx2 .dxrays{animation:none}}
#pokedex .dx2 .dxpw{position:relative;text-align:center}
#pokedex .dx2 .dxpw h3{margin:0;font-size:calc(13*var(--u));color:#fff;text-shadow:2px 2px 0 #181818}
#pokedex .dx2 .dxbig{display:flex;align-items:center;justify-content:center;gap:calc(6*var(--u));margin:calc(4*var(--u)) 0}
#pokedex .dx2 .dxbig .dxball{width:calc(28*var(--u));height:calc(28*var(--u))}
#pokedex .dx2 .dxbig b{font-size:calc(30*var(--u));color:#ffd23a;text-shadow:calc(2*var(--u)) calc(2*var(--u)) 0 #181818}
#pokedex .dx2 .dxprow{display:flex;gap:calc(5*var(--u));justify-content:center}
#pokedex .dx2 .dxprow div{display:flex;flex-direction:column;align-items:center;gap:calc(2*var(--u));font-size:calc(9*var(--u));color:#fff;text-shadow:1px 1px 0 #181818}
#pokedex .dx2 .dxprow i{width:calc(62*var(--u));height:calc(62*var(--u));border-radius:50%;background:#173027;border:calc(3*var(--u)) solid #5fbf7f;box-shadow:0 0 calc(8*var(--u)) rgba(120,240,160,.5);display:flex;align-items:center;justify-content:center;overflow:hidden}
#pokedex .dx2 .dxprow img{width:calc(48*var(--u));height:calc(48*var(--u));image-rendering:pixelated;position:static;margin:0}
#pokedex .dex-device.dx2 #dex-plus .dxok{margin-top:calc(6*var(--u));min-height:36px;height:auto;padding:calc(3*var(--u)) calc(14*var(--u));background:#1a1d1f;color:#fff;border:0;border-image:none;border-radius:calc(10*var(--u));font:inherit;font-size:calc(11*var(--u))}
#pokedex .dex-device.dx2 #dex-plus{background:rgba(6,8,10,.8)}
#pokedex .dex-device.dx2 #dex-plus .dxrays{background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,226,90,.16) 0 7deg,rgba(0,0,0,0) 7deg 15deg);-webkit-mask-image:radial-gradient(circle at 50% 50%,#000 0 18%,transparent 42%);mask-image:radial-gradient(circle at 50% 50%,#000 0 18%,transparent 42%)}
#pokedex .dex-device.dx2 #dex-plus .dxbig b{font-size:calc(30*var(--u));line-height:1;color:#ffd23a}
#pokedex .dex-device.dx2 #dex-plus .dxbig .dxball{width:calc(26*var(--u));height:calc(26*var(--u));border-width:calc(2*var(--u))}
/* PC: console-v51.css 314 '#pokedex .dex-device b{13px!important}'가 +N 숫자를 13px로 줄임 → 844와 같은 30u */
body:not(.mobile-ui) #pokedex .dex-device.dx2 #dex-plus .dxbig b{font-size:calc(30*var(--u))!important;line-height:1}
/* 전투 기록(피해량) 창 전면 교체(사용자 지시 11-05, 관리자 승인 — 시안 보고/20261105_전투기록_시안.md): 새 화면에서 BattleLog.render가 blog-v2를 붙임.
   차콜 평판·1px 외곽선, Galmuri11(이름·탭)·PT Neo 16(숫자·합계), 별 = BattleGrade 등급색 그림(03 b3d94202), 탭 = 기존 도트 상태 아이콘, 막대 = 각진 1px 테두리 단색 2칸(빗금 없음).
   휴대폰 옆 패널(폭 240)은 한 화면 5줄(관리자 결정), PC 폭 300 그대로. 값·순위·자리(place·placeMobile)는 BattleLog 그대로. */
html body #cv-battle-log#cv-battle-log.blog-v2{border:1px solid #ffffff24!important;border-image:none!important;background:#232120f2!important;border-radius:8px!important;box-shadow:0 6px 24px #000a!important;padding:10px 12px!important;color:#f2efe8!important;display:grid!important;grid-template-columns:1fr auto;grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto;grid-template-areas:"h x" "tabs tabs" "teams teams" "leg leg" "list list" "sa sa" "se se";row-gap:8px;font-family:'Galmuri11','PT Read',sans-serif}
html body #cv-battle-log#cv-battle-log.blog-v2>*{position:static!important;margin:0!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important}
html body #cv-battle-log#cv-battle-log.blog-v2 h2{grid-area:h;align-self:center;font:700 16px/1 'Galmuri11',sans-serif!important;color:#f2efe8!important;letter-spacing:0}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-close{grid-area:x;width:26px!important;height:26px!important;padding:0!important;border-radius:6px;background:#3a3735!important;display:grid;place-items:center;cursor:pointer}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-close img{display:none}#cv-battle-log#cv-battle-log.blog-v2 .blog-close::before{content:'✕';font:700 14px/1 'Galmuri11',sans-serif;color:#f2efe8}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-tabs{grid-area:tabs;display:grid!important;grid-template-columns:repeat(3,1fr);gap:6px}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-tabs button{width:auto!important;height:34px!important;flex-direction:row!important;gap:4px!important;display:flex;align-items:center;justify-content:center;background:#2f2c2a!important;border:1.5px solid #ffffff1c!important;border-radius:6px;color:#d8d4cc!important;font:700 11px/1 'Galmuri11',sans-serif!important;text-shadow:none!important;padding:0 4px!important;white-space:nowrap}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-tabs button.on{border-color:#ffc93c!important;background:#3a3326!important;color:#fff!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-tabs img{width:20px!important;height:20px!important;image-rendering:pixelated;object-fit:contain}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-teams{grid-area:teams;display:grid!important;grid-template-columns:1fr 1fr;gap:3px;padding:3px!important;background:#1b1a19;border-radius:6px}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-teams button{width:auto!important;height:26px!important;background:transparent!important;border:0!important;border-radius:4px;opacity:1!important;box-shadow:none!important;color:#8d8a84!important;font:700 12px/1 'Galmuri11',sans-serif!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-teams [data-blog-team=ally].on{background:#2c4636!important;color:#9fe3b8!important;box-shadow:inset 0 -2px 0 #5cc98a!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-teams [data-blog-team=enemy].on{background:#4a2b2b!important;color:#f4a3a3!important;box-shadow:inset 0 -2px 0 #e06464!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-legend{grid-area:leg;color:#a9a6ae!important;font:700 11px/1 'Galmuri11',sans-serif!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-legend i{width:10px!important;height:10px!important;border-radius:0!important;border:1px solid #000a;background-image:none!important;margin:0 4px 1px 2px!important}
html body #cv-battle-log#cv-battle-log.blog-v2 [data-bar=basic],html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=dealt] .blog-a,html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=taken] .blog-a{background:#f08a3c!important}
html body #cv-battle-log#cv-battle-log.blog-v2 [data-bar=skill],html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=dealt] .blog-b{background:#a77bdb!important}
html body #cv-battle-log#cv-battle-log.blog-v2 [data-bar=blocked],html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=taken] .blog-b{background:#8fa3b8!important}
html body #cv-battle-log#cv-battle-log.blog-v2 [data-bar=heal],html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=heal] .blog-a{background:#5cc98a!important}
html body #cv-battle-log#cv-battle-log.blog-v2 [data-bar=shield],html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list[data-tab=heal] .blog-b{background:#7cc4e8!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list{grid-area:list;overflow:hidden auto!important;padding:0!important;display:block!important;scrollbar-width:thin}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list li{height:auto!important;display:grid;grid-template-columns:18px 30px minmax(0,1fr) auto auto;grid-template-areas:"r f n s u" "r f b b b";column-gap:6px;row-gap:3px;align-items:center;padding:4px 2px;border-bottom:1px solid #ffffff0f}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list li[hidden]{display:none!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-list li>*{position:static!important;left:auto!important;top:auto!important;right:auto!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-rank{grid-area:r;width:auto!important;height:auto!important;background:none!important;font:400 16px/1 'PT Neo',monospace!important;color:#8d8a84!important;text-align:center}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-rank.crown::before{content:'1';color:#ffc93c}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-face{grid-area:f;width:30px!important;height:30px!important;image-rendering:pixelated}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-name{grid-area:n;width:auto!important;font:700 12px/1.2 'Galmuri11',sans-serif!important;color:#f2efe8}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-star{grid-area:s;display:flex;letter-spacing:0!important;line-height:0}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-star img{width:14px;height:14px;image-rendering:pixelated}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-num{grid-area:u;font:400 16px/1 'PT Neo',monospace!important;color:#f2efe8}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-num em{font-style:normal;color:#8d8a84}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-track{grid-area:b;width:auto!important;height:8px!important;border-radius:0!important;border:1px solid #000;background:#171615!important;box-shadow:0 0 0 1px #ffffff14}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-track i{background-image:none!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-track .blog-b{border-left:1px solid #0008}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-sum{font:400 16px/1 'PT Neo',monospace!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-sum[data-team=ally]{grid-area:sa;color:#7ee0a0!important;border-top:1px solid #ffffff1c;padding-top:8px!important}
html body #cv-battle-log#cv-battle-log.blog-v2 .blog-sum[data-team=enemy]{grid-area:se;color:#f08080!important}
/* 휴대폰 옆 패널(폭 240): 제목·아군/상대 한 줄, 탭 3칸, 숫자는 막대 줄 오른쪽 */
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile{padding:6px 8px!important;row-gap:5px;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto minmax(0,1fr) auto auto;grid-template-areas:"h teams x" "tabs tabs tabs" "list list list" "sa sa sa" "se se se"}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile h2{font-size:13px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-teams{margin:0 4px!important;padding:2px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-teams button{height:22px!important;font-size:11px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-close{width:24px!important;height:24px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-tabs{gap:4px}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-tabs button{height:28px!important;font-size:10px!important;gap:2px!important;padding:0 2px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-tabs img{width:16px!important;height:16px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-legend{display:none!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-list li{grid-template-columns:14px 24px minmax(0,1fr) auto;grid-template-areas:"r f n s" "r f b u";column-gap:4px;row-gap:2px;padding:3px 0}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-face{width:24px!important;height:24px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-name{font-size:11px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-star img{width:10px;height:10px}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-track{height:6px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-sum[data-team=ally]{padding-top:5px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile{row-gap:4px}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-list li{row-gap:1px;padding:0 0 1px}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-star{height:11px;align-items:center}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-star img{width:9px!important;height:9px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-num{line-height:16px!important;height:16px}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-face{width:20px!important;height:20px!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-list li{grid-template-columns:14px 20px minmax(0,1fr) auto}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-name{line-height:1!important}
html body #cv-battle-log#cv-battle-log.blog-v2.blog-mobile .blog-tabs button{height:26px!important}
/* 판매 칸 → '<박사>에게 보내기'(사용자 지시 11-05, 관리자 승인 141 — 시안 보고/20261105_박사보내기_시안.md). placement-ui.js SaleLab이 새 화면에서 lab-v2(+그림 있으면 lab-art)를 붙임.
   끄는 동안 왼쪽 가방·주머니 숨김 → 띠가 판매 칸 전체. 그림 = 칸 높이 맞춤·왼쪽 기준(1920 약 3배), 글자는 오른쪽 벽 자리. 그림 없는 지방은 지방 색 띠 + 박사 원작 도트. 붉은 경고색 없음. */
body.playing.unit-dragging #pc-equipment-icons,body.playing.unit-dragging #cv-pouch,body.playing.unit-dragging .work-bag-button{visibility:hidden!important}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2{inset:var(--sale-top,0) 0 0 0!important;padding:0!important;border:2px solid #1d1a14!important;border-radius:8px!important;box-shadow:0 0 0 1px #ffffff26,0 6px 20px #0008!important;overflow:hidden;justify-content:flex-start!important;align-items:stretch!important;gap:0!important;background:var(--lab-bg,#d8e2ea)!important;image-rendering:pixelated;animation:none!important}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2[data-region=hoenn]{--lab-bg:#cfe2bf}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2[data-region=sinnoh]{--lab-bg:#d8d3e6}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2[data-region=johto]{--lab-bg:#ece4c4}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2.lab-art{background:var(--lab-art) left center/auto 100% no-repeat,var(--lab-bg,#d8e2ea)!important}
html body #sell-drop.lab-v2 .sale-emblem{position:absolute!important;left:4%;bottom:0;top:6%;width:auto!important;height:auto!important;aspect-ratio:1;margin:0!important;border:0!important;border-radius:0!important;background:var(--lab-prof) center bottom/contain no-repeat!important;box-shadow:none!important;transform:none!important}
html body #sell-drop.lab-v2.lab-art .sale-emblem{left:27%;top:30%;bottom:10%;background:none!important} /* 그림이 있으면 PC 자리 위 보이지 않는 칸 = 동전이 날아가는 목표 */
html body #sell-drop.lab-v2 .sale-emblem svg{display:none!important}
html body #sell-drop.lab-v2 .sale-copy{position:absolute;left:46%;right:3%;top:50%;transform:translateY(-50%);display:grid!important;grid-template-columns:auto 1fr;grid-template-areas:"t t" "g u" "h h";align-items:center;column-gap:14px;row-gap:6px;color:#1d1a14;text-align:left;text-shadow:none}
html body #sell-drop.lab-v2 .sale-copy #sale-prompt{grid-area:t;font:700 30px/1.1 'Galmuri11',sans-serif!important;color:#1d1a14!important;letter-spacing:0}
html body #sell-drop.lab-v2 .sale-copy #sale-gold{grid-area:g;justify-self:start;padding:4px 12px 5px;border-radius:6px;background:#232120;color:#ffc93c!important;font:400 32px/1 'PT Neo',monospace!important}
html body #sell-drop.lab-v2 .sale-copy #sale-unit{grid-area:u;font:700 16px/1.2 'Galmuri11',sans-serif!important;color:#3a352e!important;opacity:1!important}
html body #sell-drop.lab-v2 .sale-copy #sale-hint{grid-area:h;font:600 13px/1.2 'PT Read',sans-serif!important;color:#4a443b!important;opacity:1!important}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2.sale-hover{border-color:#ffc93c!important;box-shadow:0 0 0 2px #ffc93c,0 0 18px #ffc93c88,0 6px 20px #0008!important;filter:brightness(1.06)}
html body.playing .game-footer #sell-drop#sell-drop.lab-v2.sale-paid{border-color:#7ee0a0!important;box-shadow:0 0 0 2px #7ee0a0,0 6px 20px #0008!important}
html body.tft1m.playing .game-footer #sell-drop#sell-drop.lab-v2{inset:auto!important;left:160px!important;right:6px!important;top:4px!important;bottom:auto!important;height:110px!important;padding:0!important}
html body.tft1m #sell-drop.lab-v2 .sale-copy{left:50%;right:2%;row-gap:3px;column-gap:8px}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-prompt{font-size:17px!important}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-gold{font-size:16px!important;padding:3px 7px}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-unit{font-size:11px!important}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-hint{display:none!important}
/* 04 11-06 연구소 띠 다듬기(사용자 캡처·관리자 지시): ① 글자 묶음을 벽 그림(지도·선반 — 지방마다 자리 다름) 위에 바로 쓰지 않고 자기 도트 종이판(나무 테두리, 그림 1픽셀 ≈ 3px) 위로
   ② '+N 골드' 검은 상자 → 금화 아이콘 + 금빛 명패 ③ 안내 글 = 종이판 위 진한 갈색 14px(대비 4.5 이상) ④ 놓기 직전 노란 테두리(.sale-hover)는 그대로 */
html body #sell-drop.lab-v2 .sale-copy{right:auto;max-width:52%;padding:9px 18px 8px;background:#f8f0dc;border:3px solid #5e3a1c;border-radius:3px;box-shadow:inset 0 0 0 3px #d9b27c,inset 0 -6px 0 #ead9b8,0 3px 0 #2e1a0a,0 6px 12px #0004;column-gap:12px;row-gap:5px}
html body #sell-drop.lab-v2 .sale-copy #sale-prompt{color:#2e1a0a!important}
html body #sell-drop.lab-v2 .sale-copy #sale-gold{display:inline-flex;align-items:center;gap:8px;padding:3px 12px 4px 7px;border-radius:3px;background:#ffe7a0;border:3px solid #8a5a00;box-shadow:inset 0 3px 0 #fff4c8,inset 0 -3px 0 #e8b040;color:#6a3a00!important;font:400 28px/1 'PT Neo',monospace!important}
html body #sell-drop.lab-v2 .sale-copy #sale-gold::before{content:'';flex:none;width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 38% 34%,#fffbe0 0 14%,#ffd84a 15% 52%,#e8a400 53% 68%,#8a5a00 69%);box-shadow:0 2px 0 #5e3a00}
html body #sell-drop.lab-v2 .sale-copy #sale-unit{color:#4a3420!important}
html body #sell-drop.lab-v2 .sale-copy #sale-hint{font:700 14px/1.25 'PT Read',sans-serif!important;color:#5a4128!important}
html body.tft1m #sell-drop.lab-v2 .sale-copy{max-width:48%;padding:4px 8px 4px;border-width:2px;box-shadow:inset 0 0 0 2px #d9b27c,0 2px 0 #2e1a0a;column-gap:6px;row-gap:2px}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-gold{gap:4px;padding:2px 6px 2px 4px;border-width:2px;box-shadow:inset 0 2px 0 #fff4c8,inset 0 -2px 0 #e8b040;font-size:15px!important}
html body.tft1m #sell-drop.lab-v2 .sale-copy #sale-gold::before{width:13px;height:13px;box-shadow:0 1px 0 #5e3a00}
/* 가방 입구 도구 창(06 tool-window.js) 겉모양 = 가이드 v2와 같은 차콜 평판(관리자 결정 11-05, 04 CSS로 덮음 — 06 동작·로직 그대로). 남색·청록 테두리 그림·금 모서리 없음. ▤ = '도감 · 합성표'(가이드 도구 탭) */
html body.tft1 #tool-window#tool-window{background:#11141c!important;border:1px solid #272d3c!important;border-image:none!important;border-radius:12.5px!important;box-shadow:0 10.0px 37.5px #000a!important;font-family:'Galmuri11',var(--font-head)!important;color:#e6e8ef!important;padding:12.5px 15.0px!important;box-sizing:border-box}
html body.tft1 #tool-window#tool-window::before,html body.tft1 #tool-window#tool-window::after{display:none!important}
html body.tft1 #tool-window#tool-window header{background:#181c27!important;border:0!important;border-bottom:1px solid #272d3c!important;border-image:none!important;margin:-12.5px -15.0px 10.0px!important;padding:10.0px 15.0px!important}
html body.tft1 #tool-window#tool-window header h2{color:#ffd84a!important;font-family:'Galmuri11',var(--font-head)!important}
html body.tft1 #tool-window#tool-window .tw-bag{background:#272d3c!important;color:#e6e8ef!important;border:0!important}
html body.tft1 #tool-window#tool-window .tw-icon{background:#272d3c!important;border:1px solid #3a4256!important;border-image:none!important;color:#e6e8ef!important;box-shadow:none!important}
html body.tft1 #tool-window#tool-window .tw-icon[data-tw="codex"]{width:auto!important;min-width:0!important;height:auto!important;padding:5.0px 12.5px!important;white-space:nowrap!important;border-radius:7.5px!important;background:#ffd84a!important;border-color:#ffd84a!important}
html body.tft1 #tool-window#tool-window .tw-icon[data-tw="codex"]::after{content:'도감 · 합성표'!important;color:#181818!important;font:15.0px/1 'Galmuri11',var(--font-head)!important}
html body.tft1 #tool-window#tool-window .tw-card{background:#181c27!important;border:1px solid #272d3c!important;border-image:none!important;border-radius:10.0px!important;box-shadow:none!important}
html body.tft1 #tool-window#tool-window .tw-card::before,html body.tft1 #tool-window#tool-window .tw-card::after{display:none!important}
html body.tft1 #tool-window#tool-window .tw-card.sel{border-color:#ffd84a!important;box-shadow:0 0 0 1px #ffd84a!important}
html body.tft1 #tool-window#tool-window :is(.tw-slot,.tw-item){background:#0c0e14!important;border:1px solid #2c3346!important;border-image:none!important;border-radius:5.0px!important;box-shadow:none!important}
html body.tft1 #tool-window#tool-window :is(.tw-item.sel,.tw-slot.filled){border-color:#3fd08a!important}
html body.tft1 #tool-window#tool-window :is(.tw-bagrow>small,.tw-meta small){color:#9aa3b8!important}
html body.tft1 #tool-window#tool-window :is(.tw-btn,.tw-save){background:#272d3c!important;border:1px solid #3a4256!important;border-image:none!important;color:#e6e8ef!important;box-shadow:none!important;border-radius:7.5px!important}
html body.tft1 #tool-window#tool-window .tw-save:not(:disabled){background:#ffd84a!important;color:#181818!important;border-color:#ffd84a!important}
html body.tft1 #tool-window#tool-window :is(.tw-save,.tw-btn):disabled{opacity:.45!important}
html body.tft1 #tool-window#tool-window .tw-desc{border:1px solid #272d3c!important;border-image:none!important;background:#181c27!important;border-radius:10.0px!important;padding:10.0px 12.5px!important}
html body.tft1 #tool-window#tool-window .tw-desc .top b{color:#ffd84a!important}
html body.tft1 #tool-window#tool-window .tw-desc .count{color:#3fd08a!important}
html body.tft1 #tool-window#tool-window .tw-recipe{border:1px solid #2c3346!important;border-image:none!important;background:#0c0e14!important;border-radius:5.0px!important;color:#7d869b!important;padding:0 7.5px!important}
html body.tft1 #tool-window#tool-window .tw-recipe.ready{border-color:#3fd08a!important;background:#12261d!important;color:#e6e8ef!important}
html body.tft1m #tool-window#tool-window{background:#11141c!important;border:1px solid #272d3c!important;border-image:none!important;border-radius:10px!important;box-shadow:0 8px 30px #000a!important;font-family:'Galmuri11',var(--font-head)!important;color:#e6e8ef!important;padding:10px 12px!important;box-sizing:border-box}
html body.tft1m #tool-window#tool-window::before,html body.tft1m #tool-window#tool-window::after{display:none!important}
html body.tft1m #tool-window#tool-window header{background:#181c27!important;border:0!important;border-bottom:1px solid #272d3c!important;border-image:none!important;margin:-10px -12px 8px!important;padding:8px 12px!important}
html body.tft1m #tool-window#tool-window header h2{color:#ffd84a!important;font-family:'Galmuri11',var(--font-head)!important}
html body.tft1m #tool-window#tool-window .tw-bag{background:#272d3c!important;color:#e6e8ef!important;border:0!important}
html body.tft1m #tool-window#tool-window .tw-icon{background:#272d3c!important;border:1px solid #3a4256!important;border-image:none!important;color:#e6e8ef!important;box-shadow:none!important}
html body.tft1m #tool-window#tool-window .tw-icon[data-tw="codex"]{width:auto!important;min-width:0!important;height:auto!important;padding:4px 10px!important;white-space:nowrap!important;border-radius:6px!important;background:#ffd84a!important;border-color:#ffd84a!important}
html body.tft1m #tool-window#tool-window .tw-icon[data-tw="codex"]::after{content:'도감 · 합성표'!important;color:#181818!important;font:12px/1 'Galmuri11',var(--font-head)!important}
html body.tft1m #tool-window#tool-window .tw-card{background:#181c27!important;border:1px solid #272d3c!important;border-image:none!important;border-radius:8px!important;box-shadow:none!important}
html body.tft1m #tool-window#tool-window .tw-card::before,html body.tft1m #tool-window#tool-window .tw-card::after{display:none!important}
html body.tft1m #tool-window#tool-window .tw-card.sel{border-color:#ffd84a!important;box-shadow:0 0 0 1px #ffd84a!important}
html body.tft1m #tool-window#tool-window :is(.tw-slot,.tw-item){background:#0c0e14!important;border:1px solid #2c3346!important;border-image:none!important;border-radius:4px!important;box-shadow:none!important}
html body.tft1m #tool-window#tool-window :is(.tw-item.sel,.tw-slot.filled){border-color:#3fd08a!important}
html body.tft1m #tool-window#tool-window :is(.tw-bagrow>small,.tw-meta small){color:#9aa3b8!important}
html body.tft1m #tool-window#tool-window :is(.tw-btn,.tw-save){background:#272d3c!important;border:1px solid #3a4256!important;border-image:none!important;color:#e6e8ef!important;box-shadow:none!important;border-radius:6px!important}
html body.tft1m #tool-window#tool-window .tw-save:not(:disabled){background:#ffd84a!important;color:#181818!important;border-color:#ffd84a!important}
html body.tft1m #tool-window#tool-window :is(.tw-save,.tw-btn):disabled{opacity:.45!important}
html body.tft1m #tool-window#tool-window .tw-desc{border:1px solid #272d3c!important;border-image:none!important;background:#181c27!important;border-radius:8px!important;padding:8px 10px!important}
html body.tft1m #tool-window#tool-window .tw-desc .top b{color:#ffd84a!important}
html body.tft1m #tool-window#tool-window .tw-desc .count{color:#3fd08a!important}
html body.tft1m #tool-window#tool-window .tw-recipe{border:1px solid #2c3346!important;border-image:none!important;background:#0c0e14!important;border-radius:4px!important;color:#7d869b!important;padding:0 6px!important}
html body.tft1m #tool-window#tool-window .tw-recipe.ready{border-color:#3fd08a!important;background:#12261d!important;color:#e6e8ef!important}
/* 가방 도구 창 PC 확대(관리자 11-05 '1920에서 작다'): 06 배치(left/top) 대신 가운데 고정 + 844 체감 배율(--tw-k, guide-v2.js) — 휴대폰(tft1m)은 그대로 */
html body.tft1 #tool-window#tool-window{left:50%!important;top:50%!important;transform:translate(-50%,-50%) scale(var(--tw-k,1))!important;max-height:calc((100vh - 32px) / var(--tw-k,1))!important}
/* 사용자 지시(관리자 11-05): 전투 중 '전투!'·배치 수 숨김 — 위 tft1m 묶음 규칙이 visibility:visible을 강제하므로 그보다 강하게(자리 유지). 메가 묶음은 console-v51.css */
body.tft1m.hud85m.playing.cv-fight-hide #shared-shop-dock#shared-shop-dock #battle-btn#battle-btn#battle-btn,body.tft1m.hud85m.playing.cv-fight-hide #shared-shop-dock#shared-shop-dock #hud-deploy-count#hud-deploy-count#hud-deploy-count{visibility:hidden!important;pointer-events:none!important}
/* ---------- 49-10. 04 11-05 등장 연출 HGSS식 9차(HgIntro · #t1-poster.p3-hgss, 사용자 확인 시안 rivalmock7 9차) ----------
   띠·VS·잔상·번개·정보 줄은 화면 크기에 맞춰 코드가 <style>로 넣는다(console-v51.js HgIntro.css — 띠 높이 = 폭/4.5, 도트 칸 px = 띠/60). 여기엔 공통 칸만. */
#t1-poster.p3-hgss .p3 .hg9 .hg-nm small{position:static}
@media (prefers-reduced-motion:reduce){#t1-poster.p3-hgss .p3 *{animation:none!important}#t1-poster.p3-hgss .hg9 .vsw{visibility:visible}#t1-poster.p3-hgss .hg9 :is(.ghost,.fl){display:none}#t1-poster.p3-hgss .hg9 :is(.blk,.hg-nm,.hg-info,.burst){opacity:1}} /* 동작 줄이기 = 마지막 장면만 */
/* ---------- 49-11. 04 11-05 VS 앞 대사 = 원작식 포켓몬 대화창(PokeDialog · #t1-poster.dlg .pdlg, 사용자 확인 시안 2차) ----------
   칸 크기(--px·--fz·--lh 등)는 코드가 넣는다(1920 = 글씨 64px·테 8px, 휴대폰 = 21px·3px). 남색 대사 상자(.t1p-dl)는 숨기고 읽기 프로그램용 글만 남김. */
#t1-poster.dlg[data-phase=line] .t1p-dl{visibility:hidden}
#t1-poster .pdlg{position:absolute;left:50%;transform:translateX(-50%);z-index:45;pointer-events:none;font-family:'Galmuri11',sans-serif;animation:pdIn .15s steps(3) both}
@keyframes pdIn{from{opacity:0;transform:translate(-50%,30%)}}
#t1-poster .pdlg.out{opacity:0;transition:opacity .12s}
#t1-poster .pdlg .fr{position:relative;background:#45454d;padding:calc(var(--px)*2);box-shadow:inset 0 0 0 var(--px) #2b2b31}
#t1-poster .pdlg .ln{position:relative;padding:var(--px) calc(var(--px)*9) var(--px) var(--px);background:linear-gradient(180deg,#f6d24a,#f19a2c)}
#t1-poster .pdlg .ln::after{content:'';position:absolute;right:var(--px);top:var(--px);bottom:var(--px);width:calc(var(--px)*8);background:#5c5c66;box-shadow:inset var(--px) 0 0 #3a3a42}
#t1-poster .pdlg .in{position:relative;height:var(--inh);background:#fff;box-shadow:inset 0 0 0 var(--px) #e8e8ec;overflow:hidden}
#t1-poster .pdlg .win{position:absolute;left:var(--padx);right:var(--padx);top:var(--pady);height:calc(var(--lh)*2);overflow:hidden}
#t1-poster .pdlg .tx{position:absolute;left:0;right:0;top:0;transition:transform .12s steps(3)}
#t1-poster .pdlg .tx .r{height:var(--lh);font:400 var(--fz)/var(--lh) 'Galmuri11',sans-serif;color:#46464e;text-shadow:var(--sh) var(--sh) 0 #c4c4cc;white-space:nowrap;letter-spacing:.02em}
#t1-poster .pdlg .nx{position:absolute;right:calc(var(--px)*4);bottom:calc(var(--px)*6);width:0;height:0;border-left:calc(var(--px)*2.2) solid transparent;border-right:calc(var(--px)*2.2) solid transparent;border-top:calc(var(--px)*2.6) solid #fff;filter:drop-shadow(calc(var(--px)/2) calc(var(--px)/2) 0 #222);opacity:0;z-index:2}
#t1-poster .pdlg.wait .nx{animation:pdNx .5s steps(1) infinite}
@keyframes pdNx{0%{opacity:1;transform:translateY(0)}50%{opacity:1;transform:translateY(var(--px))}}
/* ---------- 49-12. 04 11-05 ③-② 조무래기·일반 트레이너 A안 원작식(TrainerIntro · #t1-poster.p3-ta, 시안 trainerA) ----------
   판이 그대로 보임 → 상대 도트 + '!'(0.3초) → 원작식 대화창 1줄(49-11) → 몬스터볼 전환(위 = --tc, 아래 흰색, 가운데 단추) → 전투. 시간은 코드(TRAINER_INTRO.ta, 시범값). */
html body #t1-poster#t1-poster.p3-ta,html body #t1-poster#t1-poster.p3-ta[data-phase]{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;cursor:pointer}
#t1-poster.p3-ta .p3{background:none}
#t1-poster.p3-ta .ta-who{position:absolute;right:27%;top:12%;image-rendering:pixelated;filter:drop-shadow(0 4px 0 #0006);z-index:30}
#t1-poster.p3-ta .ta-bang{position:absolute;right:calc(27% + 52px);top:calc(12% - 84px);width:64px;height:80px;box-sizing:border-box;background:#fff;border:5px solid #1d1a14;border-radius:6px;display:grid;place-items:center;font:700 58px/1 'Galmuri11',var(--font-head);color:#e2453c;z-index:31;animation:taBang .2s steps(3) both}
#t1-poster.p3-ta .ta-bang::after{content:'';position:absolute;bottom:-18px;left:50%;margin-left:-10px;border:10px solid transparent;border-top-color:#1d1a14}
@keyframes taBang{0%{transform:scale(0)}60%{transform:scale(1.3)}100%{transform:scale(1)}}
#t1-poster.p3-ta .ta-h{left:0;right:0;height:50%}
#t1-poster.p3-ta .ta-h.t{top:0;background:var(--tc);border-bottom:12px solid #111;animation:taHt .3s cubic-bezier(.6,0,.9,.5) both}
#t1-poster.p3-ta .ta-h.b{bottom:0;background:#f4f1ea;border-top:12px solid #111;animation:taHb .3s cubic-bezier(.6,0,.9,.5) both}
@keyframes taHt{from{transform:translateY(-100%)}}@keyframes taHb{from{transform:translateY(100%)}}
#t1-poster.p3-ta .ta-btn{left:50%;top:50%;width:180px;height:180px;margin:-90px 0 0 -90px;border-radius:50%;background:#f4f1ea;border:18px solid #111;box-shadow:inset 0 0 0 10px #d8d4cc;animation:taBtn .2s .25s cubic-bezier(.3,1.6,.5,1) both}
@keyframes taBtn{from{transform:scale(0)}}
body.tft1m #t1-poster.p3-ta .ta-who{right:24%;top:14%}
body.tft1m #t1-poster.p3-ta .ta-bang{right:calc(24% + 18px);top:calc(14% - 30px);width:24px;height:30px;border-width:3px;font-size:22px}
body.tft1m #t1-poster.p3-ta .ta-bang::after{bottom:-10px;margin-left:-6px;border-width:6px}
body.tft1m #t1-poster.p3-ta .ta-h.t{border-bottom-width:5px}body.tft1m #t1-poster.p3-ta .ta-h.b{border-top-width:5px}
body.tft1m #t1-poster.p3-ta .ta-btn{width:70px;height:70px;margin:-35px 0 0 -35px;border-width:7px;box-shadow:inset 0 0 0 4px #d8d4cc}
@media (prefers-reduced-motion:reduce){#t1-poster.p3-ta *{animation:none!important}}
/* ---------- 49-13. 04 11-05 로사·로이 마무리 카드(AmbushV2.finale · #t1-poster .duo-fin) — 05 rocket-duo/finale.webp 정수배, 관동은 오른쪽(마자용) 잘라 냄 ---------- */
#t1-poster .duo-fin{position:absolute;inset:0;z-index:46;display:grid;place-items:center;background:#05060ad9}
#t1-poster .duo-fin .w{position:relative;overflow:hidden;border:6px solid #111;box-shadow:0 0 0 4px #8e1020,0 18px 40px #000a;animation:duoIn .22s steps(4) both}
#t1-poster .duo-fin img{display:block;image-rendering:pixelated}
#t1-poster .duo-fin .fl{position:absolute;inset:0;background:#fff;opacity:0;animation:duoFl .25s .85s both}
@keyframes duoIn{from{transform:scale(.2) rotate(-6deg);opacity:0}}@keyframes duoFl{50%{opacity:1}100%{opacity:0}}
body.tft1m #t1-poster .duo-fin .w{border-width:3px;box-shadow:0 0 0 2px #8e1020}
@media (prefers-reduced-motion:reduce){#t1-poster .duo-fin *{animation:none!important}}
/* ---------- 49-14. 04 11-05 ② 새 전투 흐름: 판 위 상대 트레이너 + 수·별 줄(#t1-foe), 흰 페이드(#t1-whitefade) — 위치는 화면 비율 근사(시범값) ---------- */
#t1-foe{position:fixed;left:50%;top:21%;transform:translate(-50%,-100%);z-index:40;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
#t1-foe[hidden]{display:none}
#t1-foe img{image-rendering:pixelated;filter:drop-shadow(0 4px 0 #0007)}
#t1-foe b{font:700 18px/1 'Galmuri11',var(--font-head);color:#fff;background:#111d;border:2px solid #FFC93C;border-radius:6px;padding:4px 10px;white-space:nowrap}
body.tft1m #t1-foe{top:26%}body.tft1m #t1-foe b{font-size:11px;padding:2px 6px;border-width:1px}
#t1-foe.t1-foe-dot{transform:translate(-50%,0)} /* 04 11-13 03 도트가 그려지면 줄은 발 아래(위치는 JS) */
#t1-whitefade{position:fixed;inset:0;z-index:10070;background:#fff;pointer-events:none;animation:t1Wf .41s linear both}
@keyframes t1Wf{0%{opacity:0}37%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){#t1-whitefade{animation:none;opacity:0}}
/* ---------- 49-7. 04 11-06 공용 잭팟 축하(JackpotFx — 카지노 잭팟·대박 3택·타워 시련 슬롯, 시안). 도트 느낌 = 계단(steps) 움직임·pixelated, 글자 = Galmuri(--font-head) ---------- */
#jackpot-fx{position:fixed;inset:0;z-index:9000;overflow:hidden;cursor:pointer;--gold1:#fff7b0;--gold2:#ffd23a;--gold3:#e08a12;--ink:#2a1606;image-rendering:pixelated;animation:jfxOut var(--ms) linear both}
#jackpot-fx.jfx-out{animation:none;opacity:0;transition:opacity .18s}
#jackpot-fx .jfx-dim{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#3a1f0080 0%,#0b0610d9 70%)}
#jackpot-fx .jfx-flash{position:absolute;inset:0;background:#fffbe6;animation:jfxFlash .32s steps(4,end) both}
#jackpot-fx .jfx-rays{position:absolute;left:50%;top:46%;width:260vmax;height:260vmax;margin:-130vmax 0 0 -130vmax;background:repeating-conic-gradient(from 0deg,#ffe36b66 0deg 7deg,transparent 7deg 18deg);-webkit-mask:radial-gradient(circle,#000 0 8%,#0008 22%,transparent 46%);mask:radial-gradient(circle,#000 0 8%,#0008 22%,transparent 46%);animation:jfxRays 6s linear infinite,jfxRaysIn .4s .12s ease-out both}
#jackpot-fx.jfx-rainbow .jfx-rays{background:repeating-conic-gradient(from 0deg,#ff6b6b5f 0deg 6deg,transparent 6deg 12deg,#ffd23a5f 12deg 18deg,transparent 18deg 24deg,#5be37d5f 24deg 30deg,transparent 30deg 36deg,#5bb8ff5f 36deg 42deg,transparent 42deg 48deg,#c58bff5f 48deg 54deg,transparent 54deg 60deg)}
#jackpot-fx .jfx-core{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:clamp(6px,1.4vh,18px);pointer-events:none}
#jackpot-fx .jfx-title{display:flex;font:400 clamp(44px,11.5vh,156px)/1 var(--font-head);letter-spacing:.02em;white-space:nowrap}
#jackpot-fx .jfx-title span{display:inline-block;color:var(--gold2);background:linear-gradient(180deg,var(--gold1) 0 38%,var(--gold2) 38% 70%,var(--gold3) 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 .06em 0 var(--ink)) drop-shadow(.05em 0 0 var(--ink)) drop-shadow(-.05em 0 0 var(--ink)) drop-shadow(0 -.05em 0 var(--ink)) drop-shadow(0 .1em 0 #0009);animation:jfxPop .62s calc(150ms + var(--i)*55ms) cubic-bezier(.2,1.6,.4,1) both,jfxBob 1.1s calc(800ms + var(--i)*90ms) ease-in-out infinite}
#jackpot-fx.jfx-rainbow .jfx-title span{background:linear-gradient(180deg,#fff 0 30%,hsl(calc(var(--i)*40),95%,62%) 30% 72%,hsl(calc(var(--i)*40),80%,40%) 72%);-webkit-background-clip:text;background-clip:text}
#jackpot-fx .jfx-num{font:400 clamp(44px,10.5vh,144px)/1 var(--font-head);color:#fff;text-shadow:0 4px 0 var(--ink),3px 0 0 var(--ink),-3px 0 0 var(--ink),0 -3px 0 var(--ink),0 0 18px #ffcf40;animation:jfxPop .45s .4s cubic-bezier(.2,1.5,.4,1) both;font-variant-numeric:tabular-nums}
#jackpot-fx .jfx-num em{font-style:normal;color:var(--gold1)}
#jackpot-fx.jfx-counted .jfx-num{animation:jfxThump .42s cubic-bezier(.2,1.6,.4,1)} /* 관리자 11-06: 끝의 '쿵' = 크게 커졌다 돌아옴 */
#jackpot-fx .jfx-sub{font:400 clamp(14px,2.4vh,30px)/1.2 var(--font-head);color:#fff;text-shadow:0 2px 0 var(--ink);padding:.3em .8em;background:#181818cc;border:3px solid #f8f8f0;border-radius:6px;animation:jfxPop .4s .6s ease-out both}
#jackpot-fx .jfx-rain,#jackpot-fx .jfx-sparks{position:absolute;inset:0;pointer-events:none}
#jackpot-fx .jfx-coin{position:absolute;top:auto;bottom:var(--py,0px);width:calc(var(--sz)*12px);height:calc(var(--sz)*12px);margin-left:calc(var(--sz)*-6px);border-radius:50%;background:radial-gradient(circle at 38% 32%,#fff6b8 0 16%,#ffd23a 17% 56%,#c46f0a 57% 68%,#5a2c04 69%);box-shadow:0 0 0 3px #2a1606,inset 0 0 0 calc(var(--sz)*1.5px) #e8a21a66;animation:jfxDrop var(--d) var(--w) cubic-bezier(.45,.05,.8,.5) both,jfxSpin .42s var(--w) steps(4) 4} /* 관리자 11-06: 동전 3배·회전, 떨어져 튕기고 아래에 쌓임 */
#jackpot-fx .jfx-coin.art{border-radius:0;box-shadow:none;background-size:200% 200%}
#jackpot-fx .jfx-spark{position:absolute;width:calc(var(--sz)*3px);height:calc(var(--sz)*3px);background:#fff;box-shadow:0 calc(var(--sz)*-3px) 0 #fff9,0 calc(var(--sz)*3px) 0 #fff9,calc(var(--sz)*-3px) 0 0 #fff9,calc(var(--sz)*3px) 0 0 #fff9;opacity:0;animation:jfxTw .7s var(--w) steps(3) 3 both}
#jackpot-fx .jfx-skip{position:absolute;right:16px;bottom:12px;font:400 13px/1 var(--font-head);color:#fff9;text-shadow:0 1px 0 #000;animation:jfxPop .3s .9s both}
body.jfx-shake>*:not(#jackpot-fx){animation:jfxShake .46s steps(9) both}
@keyframes jfxFlash{0%{opacity:.95}100%{opacity:0}}
@keyframes jfxRays{to{transform:rotate(360deg)}}
@keyframes jfxRaysIn{from{opacity:0;scale:.3}to{opacity:1;scale:1}}
@keyframes jfxPop{0%{opacity:0;transform:translateY(-.6em) scale(.2)}60%{opacity:1;transform:translateY(.08em) scale(1.28)}100%{opacity:1;transform:none}}
@keyframes jfxBob{0%,100%{translate:0 0}50%{translate:0 -.07em}}
@keyframes jfxThump{0%{scale:1}35%{scale:1.45}100%{scale:1}}
@keyframes jfxDrop{0%{transform:translate(var(--dx),calc(-100vh - 160px))}68%{transform:translate(0,0)}78%{transform:translate(0,calc(var(--sz)*-7px))}88%{transform:translate(0,0)}94%{transform:translate(0,calc(var(--sz)*-2px))}100%{transform:translate(0,0)}}
@keyframes jfxSpin{0%{scale:1 1}50%{scale:.25 1}100%{scale:1 1}}
@keyframes jfxTw{0%{opacity:0;scale:.4}50%{opacity:1;scale:1}100%{opacity:0;scale:.4}}
@keyframes jfxShake{0%,100%{translate:0 0}12%{translate:-10px 4px}25%{translate:9px -6px}37%{translate:-7px -3px}50%{translate:6px 5px}62%{translate:-4px 2px}75%{translate:3px -2px}87%{translate:-1px 1px}}
@keyframes jfxOut{0%,88%{opacity:1}100%{opacity:0}}
#jackpot-fx.jfx-calm .jfx-title span,#jackpot-fx.jfx-calm .jfx-num,#jackpot-fx.jfx-calm .jfx-sub{animation:none}
@media (prefers-reduced-motion:reduce){#jackpot-fx .jfx-title span,#jackpot-fx .jfx-num{animation:none}}
/* 04 11-06 장비 착용 모션(EquipFX, 시안): 대기석 포켓몬 튐 — 판 위는 u.hop(console-v51.js) */
.bench-slot.eq-hop{animation:eqHop .3s cubic-bezier(.3,1.6,.5,1)}.bench-slot.eq-hop-big{animation:eqHop .4s cubic-bezier(.3,1.8,.5,1);--eqh:-14px}
@keyframes eqHop{0%,100%{translate:0 0}40%{translate:0 var(--eqh,-9px)}}
@media (prefers-reduced-motion:reduce){.bench-slot.eq-hop,.bench-slot.eq-hop-big{animation:none}}
/* ---------- 49-9. 04 11-06 상점 '빈 슬롯'(산 뒤 빈 칸) = 같은 틀의 어두운 빈 자리(사용자 요청, 시안). 밝은 회색 판·글자 띠 대신 점선 테두리 + 옅은 몬스터볼 + 작은 '구매함'. 칸 크기·위치 그대로(ui.js 마크업 무변경, CSS만) ---------- */
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold,html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold{background:linear-gradient(180deg,#1c1f27,#121419)!important;border:2px dashed rgba(200,210,225,.24)!important;box-shadow:inset 0 2px 8px rgba(0,0,0,.65)!important;cursor:default}
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold::before,html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold::before{content:'';display:block!important;opacity:1!important;position:absolute;left:50%;top:44%;width:46px;aspect-ratio:1;translate:-50% -50%;border-radius:50%;pointer-events:none;
 background:radial-gradient(circle,rgba(220,228,240,.20) 0 9%,transparent 9% 17%,rgba(220,228,240,.20) 17% 26%,transparent 26%),linear-gradient(transparent 0 45%,rgba(220,228,240,.20) 45% 55%,transparent 55%);box-shadow:inset 0 0 0 3px rgba(220,228,240,.20)}
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold .shop-name,html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold .shop-name{left:0!important;right:0!important;top:auto!important;bottom:10px!important;width:auto!important;height:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;text-align:center!important;font-size:0!important;line-height:1!important}
body.tft1 #shared-shop-dock #shop-cards .shop-card.sold .shop-name::after,html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold .shop-name::after{content:'구매함';font:500 12px/1 var(--font-body);letter-spacing:.12em;color:rgba(200,210,225,.5)}
/* 휴대폰(줄 카드 198×44): 볼은 왼쪽 작게, 글자는 그 옆 */
html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold::before{left:24px;top:50%;width:26px;box-shadow:inset 0 0 0 2px rgba(220,228,240,.20)}
html body.tft1m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card.sold.sold .shop-name{left:48px!important;right:auto!important;top:50%!important;bottom:auto!important;translate:0 -50%!important;text-align:left!important}
/* ---------- 49-10. 04 11-06 체력 막대 색 규칙(03 요청·사용자 결정 11-06, 03 battle-renderer.js hpBar와 같은 값). data-hp = hi(>50%)·mid(20~50%)·lo(<20%) — HPColor.band. 틀·띠 그림은 그대로, 채움만 단색 픽셀 ---------- */
:root{--hp-hi:#40d860;--hp-hi-l:#b8f8c8;--hp-mid:#f8c830;--hp-mid-l:#fff4b0;--hp-lo:#f04830;--hp-lo-l:#ffb8a8;--hp-empty:#14141c;--hp-ghost:#e8dcc8;--hp-shield:#ffffff;--hp-shield-l:#a8c8ff;--hp-sep:#101018}
[data-hp=hi]{--hpc:var(--hp-hi);--hpl:var(--hp-hi-l)}[data-hp=mid]{--hpc:var(--hp-mid);--hpl:var(--hp-mid-l)}[data-hp=lo]{--hpc:var(--hp-lo);--hpl:var(--hp-lo-l)}
/* ① 포켓몬 정보 창(PC 옆 패널·휴대폰 시트): 틀 그림 위 안쪽만 빈 칸 #14141c, 채움 단색 + 위 1줄 밝게, 50% 눈금, 보호막 흰 칸 */
html body #unit-side .us-bar[data-hp]{position:relative;--pv:3px;background:linear-gradient(var(--hp-empty),var(--hp-empty)) content-box no-repeat,url('assets/ui-unit-panel/hp_frame.webp') center/100% 100% no-repeat}
html body #unit-side[data-compact=true]:not([data-sheet=true]) .us-bar[data-hp],html body #unit-side[data-sheet=true] .us-bar[data-hp]{--pv:2px}
html body #unit-side .us-bar[data-hp]>i{background:linear-gradient(var(--hpl) 0 1px,var(--hpc) 1px)!important;image-rendering:pixelated}
html body #unit-side .us-bar[data-hp]::after{content:'';position:absolute;left:calc(3px + (100% - 6px) / 2);top:var(--pv);bottom:var(--pv);width:1px;background:rgba(0,0,0,.5);pointer-events:none}
html body #unit-side .us-bar .us-shield{position:absolute;top:var(--pv);bottom:var(--pv);left:calc(3px + (100% - 6px) * var(--x) / 100);width:calc((100% - 6px) * var(--w) / 100);box-sizing:border-box;background:linear-gradient(var(--hp-shield-l) 0 1px,var(--hp-shield) 1px);border-left:1px solid var(--hp-sep)}
/* ② 다이맥스 턴 장면: 빈 칸 #14141c, 피해 잔상(따라 내려오는 표시값), 채움 단색. 구간 25/50% → 20/50% */
#dmax-scene#dmax-scene .dx-bar{position:relative;background:var(--hp-empty)}
#dmax-scene#dmax-scene .dx-bar>em[data-hp]{position:relative;z-index:1;background:linear-gradient(var(--hpl) 0 1px,var(--hpc) 1px);filter:none}
#dmax-scene#dmax-scene .dx-bar>.dx-ghost{position:absolute;left:0;top:0;bottom:0;background:var(--hp-ghost);text-decoration:none}
/* ③ 다이맥스 미리보기 · ④ 다이맥스 고르기 */
#dmax-scene#dmax-scene .dp-hp{background:var(--hp-empty)}
#dmax-scene#dmax-scene .dp-hp>em[data-hp]{background:linear-gradient(var(--hpl) 0 1px,var(--hpc) 1px)}
.cv-hp progress[data-hp]{appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:var(--hp-empty)}
.cv-hp progress[data-hp]::-webkit-progress-bar{background:var(--hp-empty)}
.cv-hp progress[data-hp]::-webkit-progress-value{background:linear-gradient(var(--hpl) 0 1px,var(--hpc) 1px)}
.cv-hp progress[data-hp]::-moz-progress-bar{background:linear-gradient(var(--hpl) 0 1px,var(--hpc) 1px)}
/* ---------- 49-12. 04 11-06 공용 도트 틀(관리자 승인 — 옛 크림 양피지·칠한 배너·보석 날개 단추 교체, 보고 04 20261106_옛보상창틀_목록.md) ----------
   톤 = 연구소 띠 종이판·카지노 카드 틀·박사 선물: 밝은 종이 + 나무 테두리(그림 1픽셀 ≈ 3~4px), 나무 명패 제목, 노란 도트 주 단추, 종이 보조 단추. 검은 상자·네이비 과다 없음.
   새 창은 클래스(.px-panel·.px-plaque·.px-btn·.px-btn2·.px-tile)를 쓰고, 마크업을 못 바꾸는 옛 창(08 encounter-events.js·faction-ambush.js)은 같은 값을 선택자로 입힘(JS 무변경). */
:root{--px-paper:#f8f0dc;--px-paper2:#fffaf0;--px-wood:#5e3a1c;--px-wood-l:#d9b27c;--px-wood-m:#8a5a32;--px-ink:#2e1a0a;--px-text:#4a3420;--px-gold:#ffd84a}
.px-panel,html body #encounter-event#encounter-event .event-scene{background:var(--px-paper)!important;border:4px solid var(--px-wood)!important;border-image:none!important;border-radius:4px!important;box-shadow:inset 0 0 0 4px var(--px-wood-l),inset 0 -10px 0 #ead9b8,0 6px 0 var(--px-ink),0 16px 40px #0009!important;filter:none!important}
.px-plaque,html body #encounter-event#encounter-event .event-scene h2{display:inline-block;background:var(--px-wood-m)!important;color:#fff4dc!important;border:3px solid var(--px-ink)!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #b88352,inset 0 -3px 0 var(--px-wood),0 4px 0 #0006!important;text-shadow:0 3px 0 #3a2210!important;letter-spacing:.04em;padding:8px 30px 7px!important;min-width:0!important}
html body #encounter-event#encounter-event .event-scene header small{color:var(--px-wood-m)!important;font-weight:800}
html body #encounter-event#encounter-event .event-scene header p{color:var(--px-text)!important;font-weight:600}
.px-tile,html body #encounter-event#encounter-event .event-scene article.event-choice{background:var(--px-paper2)!important;border:3px solid var(--px-wood-m)!important;border-image:none!important;border-radius:4px!important;box-shadow:inset 0 0 0 2px #f0dcb4,0 4px 0 var(--px-wood)!important}
html body #encounter-event#encounter-event .event-scene article.event-choice p{background:#f3e6c8!important;border:2px solid #dcc08c!important;color:#5a4128!important;border-radius:3px!important}
html body #encounter-event#encounter-event .ev-reward>i{background:var(--px-paper2)!important;border:3px solid var(--px-wood-m);border-radius:8px;box-shadow:inset 0 0 0 3px #f0dcb4,inset 0 -8px 0 #f0e2c4,0 4px 0 var(--px-wood)}
/* 주 단추 = 노란 도트 단추(+ 몬스터볼 표시는 큰 단추만) */
.px-btn,html body #encounter-event#encounter-event .event-scene>button.event-gold-button,html body #encounter-event#encounter-event .event-scene article.event-choice>button{background:linear-gradient(#ffe680,#f8c020)!important;border:3px solid #2a1a00!important;border-image:none!important;border-radius:6px!important;box-shadow:inset 0 3px 0 #fff4c0,inset 0 -3px 0 #e0a000,0 5px 0 #8a5a00!important;color:#2a1a00!important;font-weight:900!important;text-shadow:none!important;padding:8px 18px!important;transition:transform .08s,filter .08s}
html body #encounter-event#encounter-event .event-scene>button.event-gold-button{display:inline-flex!important;align-items:center;justify-content:center;gap:12px}
html body #encounter-event#encounter-event .event-scene>button.event-gold-button::before{content:'';display:block!important;flex:none;width:28px;height:28px;border-radius:50%;background:linear-gradient(#e83838 0 44%,#2a1a00 44% 56%,#fff 56%);box-shadow:0 0 0 3px #2a1a00,inset 0 0 0 0 #fff;position:static!important}
.px-btn:hover,html body #encounter-event#encounter-event .event-scene>button.event-gold-button:hover,html body #encounter-event#encounter-event .event-scene article.event-choice>button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}
.px-btn:active,html body #encounter-event#encounter-event .event-scene>button.event-gold-button:active,html body #encounter-event#encounter-event .event-scene article.event-choice>button:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 3px 0 #fff4c0,inset 0 -3px 0 #e0a000,0 2px 0 #8a5a00!important}
.px-btn:disabled,html body #encounter-event#encounter-event .event-scene article.event-choice>button:disabled{background:#ddd3c0!important;border-color:#8a7f6a!important;box-shadow:inset 0 3px 0 #ece4d4,0 3px 0 #8a7f6a!important;color:#6e6452!important;filter:none;transform:none}
html body #encounter-event#encounter-event .event-scene article.event-choice>button{padding-left:18px!important}
/* 보조 단추 = 종이 단추 */
.px-btn2,html body #encounter-event#encounter-event .event-scene>button:not(.event-gold-button){background:var(--px-paper)!important;background-image:none!important;border:3px solid var(--px-wood)!important;border-radius:6px!important;box-shadow:inset 0 -3px 0 #e6d2ac,0 4px 0 var(--px-wood)!important;color:#3a2210!important;font-weight:800!important;text-shadow:none!important}
.px-btn2:active,html body #encounter-event#encounter-event .event-scene>button:not(.event-gold-button):active{background-image:none!important;transform:translateY(2px);box-shadow:inset 0 -3px 0 #e6d2ac,0 2px 0 var(--px-wood)!important}
html body.tft1m #encounter-event#encounter-event .event-scene{border-width:3px!important;box-shadow:inset 0 0 0 3px var(--px-wood-l),0 4px 0 var(--px-ink),0 10px 24px #0009!important}
html body.tft1m #encounter-event#encounter-event .event-scene h2{border-width:2px!important;padding:5px 18px 4px!important}
html body.tft1m #encounter-event#encounter-event .event-scene>button.event-gold-button::before{width:18px;height:18px;box-shadow:0 0 0 2px #2a1a00}
html body.tft1m #encounter-event#encounter-event .event-scene article.event-choice{border-width:2px!important}
html body.tft1m #encounter-event#encounter-event .event-scene>button.event-gold-button,html body.tft1m #encounter-event#encounter-event .event-scene article.event-choice>button,html body.tft1m #encounter-event#encounter-event .event-scene>button:not(.event-gold-button){border-width:2px!important;padding:4px 12px!important}
/* ② 로켓단 매복 정보 = 같은 틀의 로켓 판: 종이 수배서 + 짙은 테두리·붉은 명패(연출 바탕의 어두운 화면은 그대로) */
#rocket-ambush#rocket-ambush .rocket-intel{border:4px solid #2a1414!important;border-image:none!important;border-radius:4px!important;background:#f4ead2!important;box-shadow:inset 0 0 0 4px #b83238,inset 0 0 0 7px #f4ead2,0 6px 0 #120808,0 18px 44px #000b!important}
#rocket-ambush#rocket-ambush .rocket-intel h2{background:#a8202a!important;color:#fff4e8!important;border:3px solid #2a1414!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #d8484e,inset 0 -3px 0 #6e1218,0 4px 0 #0007!important;text-shadow:0 3px 0 #4a0a0e!important;padding:6px 28px 5px!important}
html body.tft1m #rocket-ambush#rocket-ambush .rocket-intel{border-width:3px!important;box-shadow:inset 0 0 0 3px #b83238,0 4px 0 #120808!important}
html body.tft1m #rocket-ambush#rocket-ambush .rocket-intel h2{border-width:2px!important;padding:4px 16px 3px!important}
html body:not(.tft1m) #encounter-event#encounter-event .event-scene{padding-top:22px!important} /* 옛 그림 테두리(24px)가 주던 위 여백 → 'STAGE' 글자가 테두리에 붙지 않게 */
/* 04 11-06 게임 중 메뉴 창 C(GameMenu, src/console-v51.js 끝) — 5세대식 2×3 각진 칸(배치·느낌만, 그림 복제 없음). 시안 mock/game-menu-1106 그대로 옮김.
   단위 --gmu: PC 1920×1080 = 1, 휴대폰 가로는 1300×760 기준. 아이콘 = 임시 CSS 도형(05 경유 도트 6종 예정) */
#game-menu{position:fixed;inset:0;z-index:215;display:grid;place-items:center;background:#0c0e14b0;font-family:var(--font-head),sans-serif;--gmu:min(calc(100vw / 1920),calc(100vh / 1080));-webkit-tap-highlight-color:transparent}
#game-menu[hidden]{display:none}
body.tft1m #game-menu,body.mobile-ui #game-menu{--gmu:min(calc(100vw / 1300),calc(100vh / 760))}
#game-menu button{font:inherit;color:inherit;cursor:pointer;margin:0}
#game-menu button:disabled,#game-menu [aria-disabled="true"]{cursor:not-allowed}
#game-menu .gm-win{position:relative;width:calc(1100*var(--gmu));background:repeating-linear-gradient(0deg,#00000010 0 calc(2*var(--gmu)),transparent calc(2*var(--gmu)) calc(26*var(--gmu))),repeating-linear-gradient(90deg,#00000010 0 calc(2*var(--gmu)),transparent calc(2*var(--gmu)) calc(26*var(--gmu))),#e8eaee;border:calc(6*var(--gmu)) solid #1c2028;border-radius:calc(14*var(--gmu));box-shadow:0 calc(12*var(--gmu)) 0 #0007,0 calc(30*var(--gmu)) calc(60*var(--gmu)) #000a;overflow:hidden}
#game-menu .gm-win.dim::after{content:'';position:absolute;inset:0;z-index:5;background:#0c0e1499}
#game-menu .gm-top{display:flex;align-items:center;gap:calc(26*var(--gmu));padding:calc(12*var(--gmu)) calc(26*var(--gmu));background:#1c2028;color:#fff;font:900 calc(28*var(--gmu))/1 var(--font-head);white-space:nowrap}
#game-menu .gm-top span{color:#9aa4b8;font-size:.8em;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis}
#game-menu .gm-top .gm-life{color:#ff9a9a;flex:none}
#game-menu .gm-gold{margin-left:auto;color:#ffd84a;flex:none}
#game-menu .gm-grid{display:grid;grid-template-columns:1fr 1fr;gap:calc(22*var(--gmu)) calc(26*var(--gmu));padding:calc(30*var(--gmu)) calc(30*var(--gmu)) calc(26*var(--gmu))}
#game-menu .gm-t{position:relative;display:flex;align-items:center;gap:calc(26*var(--gmu));height:calc(124*var(--gmu));padding:0 calc(30*var(--gmu));text-align:left;background:linear-gradient(170deg,#3a404c,#20242c);color:#fff;border:calc(4*var(--gmu)) solid #10131a;border-radius:0;clip-path:polygon(0 calc(22*var(--gmu)),calc(22*var(--gmu)) 0,calc(100% - 140*var(--gmu)) 0,calc(100% - 118*var(--gmu)) calc(14*var(--gmu)),100% calc(14*var(--gmu)),100% 100%,0 100%);box-shadow:inset 0 calc(-6*var(--gmu)) 0 #0005;outline:none}
#game-menu .gm-t.on{background:linear-gradient(170deg,#7fe4f8,#28b4e0 60%,#1c96c8);color:#0c2a3a;box-shadow:inset 0 0 0 calc(4*var(--gmu)) #e8fbff,inset 0 calc(-6*var(--gmu)) 0 #0003}
#game-menu .gm-t[aria-disabled="true"]{filter:saturate(.3);opacity:.7}
#game-menu .gm-tx{min-width:0}
#game-menu .gm-t b{display:block;font:900 calc(40*var(--gmu))/1 var(--font-head);letter-spacing:.03em}
#game-menu .gm-t small{display:block;margin-top:calc(8*var(--gmu));font:700 calc(20*var(--gmu))/1.2 var(--font-head);opacity:.75}
#game-menu .gm-k{position:absolute;right:calc(16*var(--gmu));bottom:calc(12*var(--gmu));font:800 calc(18*var(--gmu))/1 var(--font-head);opacity:.6}
#game-menu .gm-ic{flex:none;position:relative;width:calc(76*var(--gmu));height:calc(76*var(--gmu))}
#game-menu .gm-ic.ball{border-radius:50%;background:linear-gradient(#e83838 0 44%,#1c2028 44% 56%,#fff 56%);box-shadow:0 0 0 calc(5*var(--gmu)) #1c2028}
#game-menu .gm-ic.ball::after{content:'';position:absolute;left:35%;top:35%;width:30%;height:30%;border-radius:50%;background:#fff;box-shadow:0 0 0 calc(5*var(--gmu)) #1c2028}
#game-menu .gm-ic.dex{width:calc(58*var(--gmu));margin:0 calc(9*var(--gmu));background:#e23a3a;border:calc(4*var(--gmu)) solid #1c2028;border-radius:calc(8*var(--gmu))}
#game-menu .gm-ic.dex::after{content:'';position:absolute;left:18%;right:18%;top:18%;height:38%;background:#9ee8ff;border:calc(3*var(--gmu)) solid #1c2028}
#game-menu .gm-ic.bag{background:#e84a4a;border:calc(4*var(--gmu)) solid #1c2028;border-radius:calc(20*var(--gmu)) calc(20*var(--gmu)) calc(10*var(--gmu)) calc(10*var(--gmu));height:calc(62*var(--gmu));margin-top:calc(14*var(--gmu))}
#game-menu .gm-ic.bag::before{content:'';position:absolute;left:24%;right:24%;top:calc(-22*var(--gmu));height:calc(22*var(--gmu));border:calc(4*var(--gmu)) solid #1c2028;border-bottom:0;border-radius:calc(14*var(--gmu)) calc(14*var(--gmu)) 0 0}
#game-menu .gm-ic.card{height:calc(52*var(--gmu));background:#f0a030;border:calc(4*var(--gmu)) solid #1c2028;border-radius:calc(6*var(--gmu))}
#game-menu .gm-ic.card::after{content:'';position:absolute;right:12%;top:18%;width:34%;height:62%;background:#fff3d8;border:calc(3*var(--gmu)) solid #1c2028}
#game-menu .gm-ic.book{height:calc(56*var(--gmu));background:linear-gradient(90deg,#c8a8f8 0 48%,#1c2028 48% 52%,#e0ccff 52%);border:calc(4*var(--gmu)) solid #1c2028;border-radius:calc(4*var(--gmu))}
#game-menu .gm-ic.opt{width:calc(64*var(--gmu));margin:0 calc(6*var(--gmu));background:#40c870;border:calc(4*var(--gmu)) solid #1c2028;border-radius:calc(8*var(--gmu))}
#game-menu .gm-ic.opt::before,#game-menu .gm-ic.opt::after{content:'';position:absolute;left:16%;right:16%;height:16%;background:#e8fff0;border:calc(3*var(--gmu)) solid #1c2028}
#game-menu .gm-ic.opt::before{top:20%}#game-menu .gm-ic.opt::after{bottom:20%}
#game-menu .gm-bot{display:flex;align-items:center;justify-content:space-between;gap:calc(16*var(--gmu));padding:calc(12*var(--gmu)) calc(26*var(--gmu));background:#1c2028;color:#c8d0dc;font:700 calc(20*var(--gmu))/1 var(--font-head)}
#game-menu .gm-help{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#game-menu .gm-btns{display:flex;gap:calc(14*var(--gmu));align-items:center;flex:none}
#game-menu :is(.gm-home,.gm-sq,.gm-x){height:calc(56*var(--gmu));display:flex;align-items:center;justify-content:center;background:#2a303c;border:calc(3*var(--gmu)) solid #4a5262;border-radius:calc(8*var(--gmu))}
#game-menu .gm-home{padding:0 calc(22*var(--gmu));color:#e8ecf2;font:900 calc(26*var(--gmu))/1 var(--font-head)}
#game-menu .gm-home:disabled{opacity:.45}
#game-menu .gm-sq{width:calc(56*var(--gmu));color:#c8d0dc;font:900 calc(28*var(--gmu))/1 var(--font-head)}
#game-menu .gm-x{width:calc(70*var(--gmu));color:#ff4a3a;font:900 calc(44*var(--gmu))/1 var(--font-head)}
#game-menu :is(.gm-home,.gm-sq,.gm-x):is(:hover,:focus-visible):not(:disabled){border-color:#7fe4f8;outline:none}
#game-menu .gm-cf{position:fixed;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(620*var(--gmu));padding:calc(28*var(--gmu)) calc(30*var(--gmu));background:#e8eaee;border:calc(6*var(--gmu)) solid #1c2028;border-radius:calc(12*var(--gmu));box-shadow:0 calc(10*var(--gmu)) 0 #0007;color:#1c2028;text-align:center}
#game-menu .gm-cf b{display:block;font:900 calc(36*var(--gmu))/1.2 var(--font-head)}
#game-menu .gm-cf small{display:block;margin:calc(10*var(--gmu)) 0 calc(22*var(--gmu));font:700 calc(22*var(--gmu))/1.3 var(--font-head);color:#4a5262}
#game-menu .gm-cf div{display:flex;gap:calc(16*var(--gmu));justify-content:center}
#game-menu .gm-cf button{padding:calc(14*var(--gmu)) calc(28*var(--gmu));border:calc(3*var(--gmu)) solid #1c2028;border-radius:calc(8*var(--gmu));font:900 calc(26*var(--gmu))/1 var(--font-head);outline:none}
#game-menu .gm-cf .gm-yes{background:linear-gradient(170deg,#7fe4f8,#28b4e0);color:#0c2a3a}#game-menu .gm-cf .gm-no{background:#fff;color:#1c2028}
#game-menu .gm-cf button:focus-visible{box-shadow:0 0 0 calc(4*var(--gmu)) #ffd84a}
/* 모험 기록: 지방별 저장 4칸(2×2) */
#game-menu .gm-saves{padding:calc(22*var(--gmu)) calc(30*var(--gmu)) calc(26*var(--gmu))}
#game-menu .gm-sh{display:flex;align-items:center;gap:calc(20*var(--gmu));margin-bottom:calc(18*var(--gmu));color:#1c2028}
#game-menu .gm-sh b{font:900 calc(34*var(--gmu))/1 var(--font-head)}
#game-menu .gm-sh small{margin-left:auto;font:700 calc(19*var(--gmu))/1.2 var(--font-head);color:#4a5262;text-align:right}
#game-menu .gm-back{padding:calc(10*var(--gmu)) calc(18*var(--gmu));background:#1c2028;color:#fff;border:0;border-radius:calc(8*var(--gmu));font:900 calc(22*var(--gmu))/1 var(--font-head)}
#game-menu .gm-rows{display:grid;grid-template-columns:1fr 1fr;gap:calc(18*var(--gmu)) calc(26*var(--gmu))}
#game-menu .gm-r{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:calc(8*var(--gmu)) calc(16*var(--gmu));min-height:calc(126*var(--gmu));padding:calc(16*var(--gmu)) calc(22*var(--gmu));background:linear-gradient(170deg,#3a404c,#20242c);color:#fff;border:calc(4*var(--gmu)) solid #10131a;clip-path:polygon(0 calc(18*var(--gmu)),calc(18*var(--gmu)) 0,100% 0,100% 100%,0 100%);box-shadow:inset 0 calc(-6*var(--gmu)) 0 #0005}
#game-menu .gm-r.cur{background:linear-gradient(170deg,#7fe4f8,#28b4e0 60%,#1c96c8);color:#0c2a3a;box-shadow:inset 0 0 0 calc(4*var(--gmu)) #e8fbff}
#game-menu .gm-r.locked{filter:saturate(.25);opacity:.7}
#game-menu .gm-rt{display:flex;align-items:center;gap:calc(12*var(--gmu));grid-column:1}
#game-menu .gm-rt b{font:900 calc(36*var(--gmu))/1 var(--font-head)}
#game-menu .gm-rt em{font:800 calc(17*var(--gmu))/1 var(--font-head);font-style:normal;padding:calc(5*var(--gmu)) calc(10*var(--gmu));border-radius:calc(6*var(--gmu));background:#ffffff22}
#game-menu .gm-rt em.now{background:#0c2a3a;color:#7fe4f8}#game-menu .gm-rt em.park{background:#ffd84a;color:#1c2028}
#game-menu .gm-r small{grid-column:1;font:700 calc(19*var(--gmu))/1.3 var(--font-head);opacity:.85}
#game-menu .gm-r button{grid-column:2;grid-row:1/span 2;padding:calc(14*var(--gmu)) calc(20*var(--gmu));background:#ffd84a;color:#1c2028;border:calc(3*var(--gmu)) solid #1c2028;border-radius:calc(8*var(--gmu));font:900 calc(23*var(--gmu))/1 var(--font-head);box-shadow:0 calc(4*var(--gmu)) 0 #0006;outline:none}
#game-menu .gm-r.cur button{background:#fff}
#game-menu .gm-r button:disabled{background:#5a6272;color:#c8d0dc;box-shadow:none}
#game-menu .gm-r button:focus-visible,#game-menu .gm-back:focus-visible{box-shadow:0 0 0 calc(4*var(--gmu)) #ff8a3a}
/* 04 11-06 도감 상세 = 가로형 요약(DexH, src/console-v51.js 끝). 시안 mock/dex-detail-1106 H v2 이식(배치·느낌만, 그림 복제 없음). 밝은 톤.
   단위 --du: PC 1920×1080, 휴대폰 1560×1000 기준(화면을 거의 다 씀). 숫자 = PT Neo. 타입 배경 = 임시 CSS(05 18장 예정) */
#dex-h{position:fixed;inset:0;z-index:212;display:grid;place-items:center;background:#1a1c22b8;font-family:var(--font-head),sans-serif;--du:min(calc(100vw / 1920),calc(100vh / 1080));--fs:1}
#dex-h[hidden]{display:none}
body.mobile-ui #dex-h,body.tft1m #dex-h{--du:min(calc(100vw / 1560),calc(100vh / 1000));--fs:1.32}
#dex-h button{font:inherit;color:inherit;margin:0;cursor:pointer}
#dex-h .dh-num{font-family:'PT Neo',var(--font-head),sans-serif;letter-spacing:.02em}
#dex-h .dh-win{position:relative;width:calc(1500*var(--du));height:calc(800*var(--du));display:grid;grid-template-columns:calc(470*var(--du)) 1fr;grid-template-rows:auto 1fr;gap:0 calc(18*var(--du));background:#f2f5ee;color:#2a2c30;border:calc(4*var(--du)) solid #2a2c30;border-radius:calc(10*var(--du));box-shadow:inset 0 calc(4*var(--du)) 0 #fff,inset 0 calc(-4*var(--du)) 0 #c8cec0,0 calc(8*var(--du)) 0 #0005;overflow:hidden}
body.mobile-ui #dex-h .dh-win,body.tft1m #dex-h .dh-win{width:calc(1540*var(--du));height:calc(960*var(--du))}
#dex-h.in .dh-win{animation:dhIn .28s cubic-bezier(.2,.8,.3,1) both}
@keyframes dhIn{from{transform:translateX(30%);opacity:0}}
#dex-h .dh-pg.fr{animation:dhPgR .22s ease-out both}#dex-h .dh-pg.fl{animation:dhPgL .22s ease-out both}
@keyframes dhPgR{from{transform:translateX(18%);opacity:.2}}@keyframes dhPgL{from{transform:translateX(-18%);opacity:.2}}
#dex-h.calm .dh-win,#dex-h.calm .dh-pg{animation:none!important}
@media (prefers-reduced-motion:reduce){#dex-h .dh-win,#dex-h .dh-pg{animation:none!important}}
/* 머리띠: 첫 타입 색 + 1px 도트 입체 */
#dex-h .dh-hd{grid-column:1/-1;display:flex;align-items:center;gap:calc(20*var(--du));padding:calc(8*var(--du)) calc(18*var(--du)) calc(8*var(--du)) calc(24*var(--du));background:var(--tc);border-bottom:calc(4*var(--du)) solid #2a2c30;box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff66,inset 0 calc(-3*var(--du)) 0 #0003;color:#fff;text-shadow:0 calc(3*var(--du)) 0 #0004;font:900 calc(34*var(--du)*var(--fs))/1 var(--font-head);white-space:nowrap}
#dex-h .dh-hd nav{display:flex;gap:calc(4*var(--du));align-items:center}
#dex-h .dh-tab,#dex-h .dh-arr{background:none;border:0;padding:calc(6*var(--du)) calc(14*var(--du));color:#ffffffbb;font:900 calc(24*var(--du)*var(--fs))/1 var(--font-head);text-shadow:inherit}
#dex-h .dh-arr{color:#fff;font-size:calc(32*var(--du)*var(--fs));padding:0 calc(6*var(--du))}
#dex-h .dh-tab.on{background:#fff;color:#2a2c30;text-shadow:none;clip-path:polygon(calc(8*var(--du)) 0,calc(100% - 8*var(--du)) 0,100% 50%,calc(100% - 8*var(--du)) 100%,calc(8*var(--du)) 100%,0 50%)}
#dex-h .dh-tab:focus-visible,#dex-h .dh-btn:focus-visible,#dex-h .dh-mon:focus-visible{outline:calc(3*var(--du)) solid #ffd84a;outline-offset:calc(2*var(--du))}
#dex-h .dh-tools{margin-left:auto;display:flex;gap:calc(8*var(--du))}
#dex-h .dh-btn{min-width:calc(52*var(--du));height:calc(48*var(--du));padding:0 calc(10*var(--du));background:#ffffff2e;border:calc(3*var(--du)) solid #2a2c30;border-radius:calc(6*var(--du));color:#fff;font:900 calc(24*var(--du)*var(--fs))/1 var(--font-head);box-shadow:inset 0 calc(-3*var(--du)) 0 #0003}
body.mobile-ui #dex-h .dh-btn,body.tft1m #dex-h .dh-btn{min-width:36px;height:34px}
#dex-h .dh-x{background:#2a2c30;color:#ff6a5a}
/* 왼쪽: 번호·큰 도트·이름·타입 */
#dex-h .dh-lf{display:flex;flex-direction:column;min-height:0;background:#e4e8dc;border-right:calc(4*var(--du)) solid #2a2c30}
#dex-h .dh-no{align-self:flex-start;margin:calc(12*var(--du)) 0 0 calc(14*var(--du));padding:calc(6*var(--du)) calc(18*var(--du)) calc(6*var(--du)) calc(14*var(--du));background:var(--tc);color:#fff;text-shadow:0 calc(2*var(--du)) 0 #0004;box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff55;font:900 calc(28*var(--du)*var(--fs))/1 var(--font-head);clip-path:polygon(0 0,100% 0,calc(100% - 14*var(--du)) 100%,0 100%)}
#dex-h .dh-pic{position:relative;flex:1;min-height:0;display:flex;align-items:flex-end;justify-content:center;margin:calc(10*var(--du)) calc(14*var(--du));border:calc(4*var(--du)) solid #2a2c30;box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff88,inset 0 calc(-3*var(--du)) 0 #0002;overflow:hidden;background:linear-gradient(#e0e8f0 0 55%,#c8d0b8 55%)}
#dex-h .dh-pic.ty-grass,#dex-h .dh-pic.ty-bug{background:linear-gradient(#bfe6ff 0 45%,transparent 45%),repeating-linear-gradient(90deg,#5aa83a 0 calc(8*var(--du)),#6cbc46 calc(8*var(--du)) calc(16*var(--du))) 0 55%/100% 12% no-repeat,linear-gradient(transparent 55%,#8cd05a 55%)}
#dex-h .dh-pic.ty-water,#dex-h .dh-pic.ty-ice{background:linear-gradient(#bfe6ff 0 45%,transparent 45%),repeating-linear-gradient(90deg,#3a88d8 0 calc(10*var(--du)),#5aa8f0 calc(10*var(--du)) calc(20*var(--du))) 0 55%/100% 10% no-repeat,linear-gradient(transparent 55%,#6ab8f0 55%)}
#dex-h .dh-pic.ty-fire,#dex-h .dh-pic.ty-dragon{background:linear-gradient(#ffe0b0 0 55%,#e0a060 55%)}
#dex-h .dh-pic.ty-electric{background:linear-gradient(#fff6c0 0 55%,#e8d070 55%)}
#dex-h .dh-pic.ty-ground,#dex-h .dh-pic.ty-rock,#dex-h .dh-pic.ty-fighting{background:linear-gradient(#f4e2c0 0 55%,#c8a468 55%)}
#dex-h .dh-pic.ty-psychic,#dex-h .dh-pic.ty-fairy{background:linear-gradient(#ffe0ee 0 55%,#e8a8c8 55%)}
#dex-h .dh-pic.ty-ghost,#dex-h .dh-pic.ty-dark,#dex-h .dh-pic.ty-poison{background:linear-gradient(#d8d0ee 0 55%,#9a88c0 55%)}
#dex-h .dh-pic.ty-flying{background:linear-gradient(#cfeeff 0 70%,#a8d8f0 70%)}
#dex-h .dh-pic.ty-steel{background:linear-gradient(#e8ecf0 0 55%,#b0b8c4 55%)}
#dex-h .dh-shadow{position:absolute;left:50%;bottom:14%;width:calc(200*var(--du));height:calc(26*var(--du));transform:translateX(-50%);background:#0000002e;border-radius:50%}
#dex-h .dh-body{display:block;position:relative;z-index:1;margin-bottom:12%;image-rendering:pixelated;background-repeat:no-repeat}
#dex-h .dh-gif{position:relative;z-index:1;margin-bottom:12%;image-rendering:pixelated;object-fit:fill}
#dex-h .unk .dh-gif,#dex-h img.unk{filter:brightness(0);opacity:.8}
#dex-h .dh-nm{background:#fff;border-top:calc(4*var(--du)) solid #2a2c30;box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;padding:calc(8*var(--du)) calc(18*var(--du));font:900 calc(46*var(--du)*var(--fs))/1.1 var(--font-head);color:#2a2620}
#dex-h .dh-nm b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dex-h .dh-nm small{display:block;font:800 calc(22*var(--du)*var(--fs))/1.3 var(--font-head);color:#6a6258}
#dex-h .dh-nm small em{font-style:normal;color:#e8a400}#dex-h .dh-nm small em.o{color:#9a9488}
#dex-h .dh-tys{display:flex;gap:calc(10*var(--du));padding:calc(10*var(--du)) calc(18*var(--du));min-height:calc(30*var(--du))}
#dex-h .dh-ty{display:inline-flex;align-items:center;gap:calc(6*var(--du));padding:calc(4*var(--du)) calc(12*var(--du)) calc(4*var(--du)) calc(6*var(--du));background:#fff;border:calc(3*var(--du)) solid #2a2c30;border-left:calc(8*var(--du)) solid var(--c);box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;font:900 calc(22*var(--du)*var(--fs))/1 var(--font-head);color:#2a2c30}
#dex-h :is(.dh-ty,.dh-chip) :is(svg,img){width:calc(28*var(--du)*var(--fs));height:calc(28*var(--du)*var(--fs));flex:none}
/* 오른쪽 쪽 */
#dex-h .dh-rt{min-width:0;min-height:0;overflow:hidden auto;padding:calc(14*var(--du)) calc(22*var(--du)) calc(14*var(--du)) 0;scrollbar-width:thin}
#dex-h .dh-pg{display:flex;flex-direction:column;gap:calc(12*var(--du))}
#dex-h .dh-sec{display:flex;flex-direction:column}
#dex-h .dh-sec>h4{align-self:flex-start;margin:0;padding:calc(5*var(--du)) calc(44*var(--du)) calc(5*var(--du)) calc(18*var(--du));background:var(--tc);color:#fff;text-shadow:0 calc(2*var(--du)) 0 #0004;box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff55;font:900 calc(24*var(--du)*var(--fs))/1 var(--font-head);letter-spacing:.06em;clip-path:polygon(0 0,calc(100% - 26*var(--du)) 0,100% 100%,0 100%)}
#dex-h .dh-sec>h4 small{margin-left:calc(10*var(--du));font-size:.62em;opacity:.92;letter-spacing:0}
#dex-h .dh-box{background:#fff;border:calc(3*var(--du)) solid #2a2c30;box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;padding:calc(10*var(--du)) calc(14*var(--du))}
#dex-h .dh-items{display:flex;flex-wrap:wrap;gap:calc(10*var(--du));align-items:center}
#dex-h .dh-chip{display:inline-flex;align-items:center;gap:calc(6*var(--du));padding:calc(6*var(--du)) calc(14*var(--du));background:#f2f5ee;border:calc(2*var(--du)) solid #2a2c30;border-radius:calc(4*var(--du));box-shadow:inset 0 calc(-2*var(--du)) 0 #d8dccf;font:800 calc(22*var(--du)*var(--fs))/1 var(--font-head)}
#dex-h .dh-g2{display:grid;grid-template-columns:1fr 1fr;gap:calc(8*var(--du)) calc(24*var(--du))}
#dex-h .dh-sr{display:grid;grid-template-columns:calc(34*var(--du)*var(--fs)) auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:calc(10*var(--du));font:800 calc(26*var(--du)*var(--fs))/1 var(--font-head)}
#dex-h .dh-sr em{font-style:normal;grid-row:span 2;font-size:1.3em;text-align:center}
#dex-h .dh-sr .dh-num{text-align:right;font-size:1.12em}
#dex-h .dh-sb{display:block;grid-column:2/4;height:calc(12*var(--du)*var(--fs));margin-top:calc(5*var(--du));background:#e4e8dc;border:calc(2*var(--du)) solid #2a2c30}
#dex-h .dh-sb u{display:block;height:100%;box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff66}
#dex-h .dh-sb.none{background:repeating-linear-gradient(90deg,#e4e8dc 0 calc(6*var(--du)),#f2f5ee calc(6*var(--du)) calc(12*var(--du)))}
#dex-h .dh-cmp{display:grid;grid-template-columns:auto 1fr auto;gap:calc(6*var(--du)) calc(12*var(--du));align-items:center;font:800 calc(24*var(--du)*var(--fs))/1 var(--font-head)}
#dex-h .dh-cmp>b{background:var(--tc);color:#fff;padding:calc(7*var(--du)) calc(14*var(--du));letter-spacing:.05em}
#dex-h .dh-cmp i{display:block;height:calc(18*var(--du)*var(--fs));background:#e4e8dc;border:calc(2*var(--du)) solid #2a2c30}
#dex-h .dh-cmp i u{display:block;height:100%;background:var(--tc);box-shadow:inset 0 calc(3*var(--du)) 0 #ffffff66}
#dex-h .dh-cmp span{min-width:calc(150*var(--du));text-align:right}
#dex-h .dh-sks{display:flex;flex-direction:column;gap:calc(10*var(--du))}
#dex-h .dh-sk{display:grid;grid-template-columns:auto 1fr auto;gap:calc(6*var(--du)) calc(14*var(--du));align-items:center;background:#fff;border:calc(3*var(--du)) solid #2a2c30;border-radius:calc(8*var(--du));box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;padding:calc(10*var(--du)) calc(14*var(--du));font:800 calc(28*var(--du)*var(--fs))/1.15 var(--font-head);color:#2a2620}
#dex-h .dh-sk em{font-style:normal;padding:calc(5*var(--du)) calc(12*var(--du));border-radius:calc(6*var(--du));background:var(--tc);color:#fff;font-size:.72em;white-space:nowrap}
#dex-h .dh-sk.a em{background:#d8a020}#dex-h .dh-sk.m em{background:#7a8290}#dex-h .dh-sk.x em{background:#c03848}
#dex-h .dh-sk u{text-decoration:none;font-size:.78em;color:#3a3530;background:#e8e4dc;padding:calc(4*var(--du)) calc(10*var(--du));border-radius:calc(6*var(--du));white-space:nowrap}
#dex-h .dh-sk small{grid-column:1/-1;font:700 calc(21*var(--du)*var(--fs))/1.35 var(--font-body,sans-serif);color:#4a4e56}
#dex-h .dh-rows{display:flex;flex-direction:column;gap:calc(8*var(--du))}
#dex-h .dh-row{display:grid;grid-template-columns:calc(220*var(--du)) 1fr;background:#fff;border:calc(3*var(--du)) solid #2a2c30;border-radius:calc(6*var(--du));overflow:hidden;font:800 calc(26*var(--du)*var(--fs))/1.25 var(--font-head);color:#2a2620}
#dex-h .dh-row>b{background:var(--tc);color:#fff;text-shadow:0 calc(2*var(--du)) 0 #0004;padding:calc(10*var(--du)) calc(16*var(--du))}
#dex-h .dh-row>span{padding:calc(10*var(--du)) calc(16*var(--du))}
#dex-h .dh-ash{margin-top:calc(10*var(--du));font-size:calc(20*var(--du)*var(--fs))}
#dex-h .dh-evo{display:flex;align-items:center;flex-wrap:wrap;gap:calc(14*var(--du));background:#fff;border:calc(3*var(--du)) solid #2a2c30;border-radius:calc(10*var(--du));box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;padding:calc(16*var(--du))}
#dex-h .dh-mon{display:flex;flex-direction:column;align-items:center;gap:calc(4*var(--du));padding:calc(8*var(--du));background:#f2f5ee;border:calc(3*var(--du)) solid #c8cec0;border-radius:calc(8*var(--du));font:900 calc(22*var(--du)*var(--fs))/1 var(--font-head);color:#2a2c30}
#dex-h .dh-mon.on{border-color:var(--tc);box-shadow:0 0 0 calc(3*var(--du)) #2a2c30}
#dex-h .dh-mon:disabled{cursor:default;color:#8a8e96}
#dex-h .dh-mon img{width:calc(144*var(--du));height:calc(144*var(--du));image-rendering:pixelated}
#dex-h .dh-arw{font-size:calc(30*var(--du)*var(--fs));color:var(--tc)}
#dex-h .dh-note,#dex-h .dh-lock{margin:calc(12*var(--du)) 0 0;font:700 calc(22*var(--du)*var(--fs))/1.4 var(--font-head);color:#5a5e66}
#dex-h .dh-lock{margin-top:calc(40*var(--du));text-align:center}
/* 도감 목록 정리(관리자 11-06): 가로형 창이 켜진 판(body.dexh-on) — 옛 상세 칸 숨기고 목록이 폭 전체, 빨강·남색·검은 상자 → 공용 도트 틀 톤(종이·나무) */
html body.dexh-on #pokedex .dex-device.dx2{background:var(--px-paper);border:calc(4*var(--u)) solid var(--px-wood);box-shadow:inset 0 0 0 calc(3*var(--u)) var(--px-wood-l),0 calc(4*var(--u)) 0 var(--px-ink);color:var(--px-text)}
html body.dexh-on #pokedex .dex-device.dx2>header h2{color:var(--px-ink);text-shadow:none}
html body.dexh-on #pokedex .dex-device.dx2 .dxch{background:var(--px-wood-m);color:#fff4dc;box-shadow:inset 0 calc(1*var(--u)) 0 #b88352}
html body.dexh-on #pokedex .dex-device.dx2 #dex-rchips button,html body.dexh-on #pokedex .dex-device.dx2 .dex-toolbar select,html body.dexh-on #pokedex .dex-device.dx2 #dex-search,html body.dexh-on #pokedex .dex-device.dx2 footer #dex-hall,html body.dexh-on #pokedex .dex-device.dx2 footer #dex-export{background-color:var(--px-paper2);color:var(--px-ink);box-shadow:inset 0 0 0 2px var(--px-wood-l)}
html body.dexh-on #pokedex .dex-device.dx2 #dex-rchips button.on{background-color:var(--px-wood-m);color:#fff4dc}
html body.dexh-on #pokedex .dex-device.dx2 #dex-rchips b{color:#b07a10}
html body.dexh-on #pokedex .dex-device.dx2 #dex-rchips button.on b{color:var(--px-gold)}
html body.dexh-on #pokedex .dex-device.dx2 #dex-search::placeholder{color:#a08a6a}
html body.dexh-on #pokedex .dex-device.dx2 header #dex-close{background-color:var(--px-wood);color:#fff4dc}
html body.dexh-on #pokedex .dex-device.dx2 .dex-panels{background:#efe2c4;border:calc(2*var(--u)) solid var(--px-wood-m);box-shadow:inset 0 calc(2*var(--u)) 0 #d8c49c}
html body.dexh-on #pokedex .dex-device.dx2 #dex-detail{display:none}
html body.dexh-on #pokedex .dex-device.dx2 .dxg{background:#fffaf0;border:calc(1*var(--u)) solid var(--px-wood-l);box-shadow:0 calc(1*var(--u)) 0 #d8c49c}
html body.dexh-on #pokedex .dex-device.dx2 .dxa{color:var(--px-wood-m);text-shadow:none}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc{background:#f8f0dc;border:2px solid #e0cca4;box-shadow:inset 0 calc(-2*var(--u)) 0 #ead9b8}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc.dx-c{border-color:var(--px-wood-m);box-shadow:inset 0 calc(-2*var(--u)) 0 #ead9b8}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc.selected{background:#fff4c8;border-color:var(--px-ink);box-shadow:0 0 0 2px var(--px-gold)}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc small{color:#8a6a40}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc.dx-u img{filter:brightness(0);opacity:.45}
html body.dexh-on #pokedex .dex-device.dx2 #dex-list button.dxc .dex-tier-note{background:#5e3a1ccc;color:var(--px-gold)}
html body.dexh-on #pokedex .dex-device.dx2>footer{color:var(--px-text)}
html body.dexh-on #pokedex .dex-device.dx2 .dex-empty{color:var(--px-text)}
/* 05 GPT 162 ① 타입 배경 판: 정수 배율(--k) 그대로, 판 높이 = 100×k, 가로는 가운데 기준(휴대폰은 양옆이 조금 잘림). 발은 바닥면(아래 40%) 안 */
#dex-h .dh-pic.art{flex:none;height:calc(var(--k)*100px);margin:auto calc(7*var(--du));background:var(--bg) center bottom/calc(var(--k)*112px) calc(var(--k)*100px) no-repeat,#2a2c30;image-rendering:pixelated}
#dex-h .dh-pic.art .dh-shadow{bottom:calc(var(--k)*14px);width:calc(var(--k)*44px);height:calc(var(--k)*7px)}
#dex-h .dh-pic.art :is(.dh-body,.dh-gif){margin-bottom:calc(var(--k)*16px)}
/* 05 GPT 163 ① 메뉴 아이콘(1× 22×22·10×10): PC 4배·휴대폰 2배 정수 배율, 그림이 읽히면(#game-menu.gm-art) 임시 도형을 덮음 */
#game-menu{--gmk:4}body.tft1m #game-menu,body.mobile-ui #game-menu{--gmk:2}
#game-menu.gm-art .gm-ic{width:calc(22px*var(--gmk));height:calc(22px*var(--gmk));margin:0;border:0;border-radius:0;box-shadow:none;background:var(--gmi) center/100% 100% no-repeat;image-rendering:pixelated}
#game-menu.gm-art .gm-ic::before,#game-menu.gm-art .gm-ic::after{content:none}
#game-menu.gm-art .gm-ic.ball{--gmi:url(assets/ui/menu-icons/icon_pokemon.webp)}#game-menu.gm-art .gm-ic.dex{--gmi:url(assets/ui/menu-icons/icon_dex.webp)}#game-menu.gm-art .gm-ic.bag{--gmi:url(assets/ui/menu-icons/icon_bag.webp)}
#game-menu.gm-art .gm-ic.card{--gmi:url(assets/ui/menu-icons/icon_trainer.webp)}#game-menu.gm-art .gm-ic.book{--gmi:url(assets/ui/menu-icons/icon_save.webp)}#game-menu.gm-art .gm-ic.opt{--gmi:url(assets/ui/menu-icons/icon_settings.webp)}
#game-menu .gm-i{font-style:normal}
#game-menu.gm-art .gm-i{display:inline-block;width:calc(10px*var(--gmk));height:calc(10px*var(--gmk));font-size:0;vertical-align:middle;background:center/100% 100% no-repeat;image-rendering:pixelated}
#game-menu.gm-art .gm-i.home{margin-right:calc(8*var(--gmu));background-image:url(assets/ui/menu-icons/icon_home.webp)}#game-menu.gm-art .gm-i.close{background-image:url(assets/ui/menu-icons/icon_close.webp)}
/* 04 11-06 설정 카드 펼침(SettingsCards, src/console-v51.js 끝): 탭 줄+본문 자리(PC 창 안 [32,96,1136,616] / 844 [12,52,796,268])를 세로 카드 목록 하나로 */
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-list{position:absolute;left:32px;top:96px;width:1136px;height:616px;overflow:hidden auto;display:flex;flex-direction:column;gap:12px;padding:2px 8px 8px 2px;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-list{left:12px;top:52px;width:796px;height:268px;gap:6px}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card{flex:none;border:1px solid var(--c-line);border-radius:12px;background:var(--c-slot);box-shadow:var(--shadow-slot)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card.open{border:2px solid var(--c-accent);background:var(--c-panel)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card>.cv-button.sc-head{position:relative;left:auto;top:auto;display:flex;align-items:center;gap:18px;width:100%;height:80px;min-height:0;margin:0;padding:0 24px 0 16px;border:0;border-image:none;border-radius:12px;background:none;box-shadow:none;color:var(--c-text);text-align:left;font:inherit;cursor:pointer}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card>.cv-button.sc-head::before,#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card>.cv-button.sc-head::after{display:none}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-head>svg{flex:none;box-sizing:content-box;width:28px;height:28px;padding:12px;border-radius:10px;background:rgba(255,255,255,.08);color:var(--c-text)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card.open .sc-head>svg{color:var(--c-accent)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-t{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-t b{font:700 26px/1 var(--font-head)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-t small{font:400 16px/1.2 var(--font-body);color:var(--c-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-chev{flex:none;width:12px;height:12px;border-right:3px solid var(--c-dim);border-bottom:3px solid var(--c-dim);transform:rotate(-45deg);margin-right:6px;transition:transform .15s}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card.open .sc-chev{transform:rotate(45deg);border-color:var(--c-accent)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card.open>.sc-head{border-bottom:2px solid var(--c-accent);border-radius:12px 12px 0 0}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-head:focus-visible{outline:2px solid var(--c-accent);outline-offset:-2px}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card>.cv-settings-body{position:relative;left:auto;top:auto;width:auto;height:auto;max-height:none;overflow:visible;margin:0;padding:12px 0 8px;border:0;background:none;box-shadow:none}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-card>.cv-settings-body.sv-more::after{display:none}
/* 휴대폰 가로 */
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-card>.cv-button.sc-head{height:48px;gap:10px;padding:0 14px 0 8px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-head>svg{width:20px;height:20px;padding:6px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-t{gap:3px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-t b{font-size:15px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-t small{font-size:11px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-card>.cv-settings-body{padding:6px 0 4px}
/* 화면 카드 */
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-screen{display:flex;flex-direction:column;gap:8px;padding:0 16px}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-row{display:grid;grid-template-columns:200px 1fr auto;align-items:center;column-gap:16px;min-height:76px;padding:0 0 0 8px;border-radius:10px;background:rgba(255,255,255,.04)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-row>b{font:700 24px/1.2 var(--font-head);color:var(--c-text)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-row>small{font:400 15px/1.3 var(--font-body);color:var(--c-dim)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-opts{display:flex;gap:10px;padding-right:12px}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:56px;min-width:56px;margin:0;padding:0 16px;border:2px solid var(--c-line);border-image:none;border-radius:10px;background:var(--c-slot);box-shadow:inset 0 -3px 0 rgba(0,0,0,.25);color:var(--c-text);font:700 20px/1 var(--font-head);cursor:pointer}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts button::before,#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts button::after{display:none}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts button.on{background:var(--c-accent);border-color:#fff3b8;color:#2a2008;box-shadow:inset 0 -3px 0 rgba(0,0,0,.2),0 0 0 2px rgba(255,201,60,.35)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts button:focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .cv-settings-body .sc-opts .sc-a{width:56px;padding:0;font-size:var(--a)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky i{display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid rgba(0,0,0,.35)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky .sk-day{background:radial-gradient(circle at 50% 50%,#fff6a0 0 35%,#7cc8ff 40%)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky .sk-dusk{background:linear-gradient(#ffb070,#d0607a)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky .sk-night{background:radial-gradient(circle at 35% 35%,#fff8d8 0 22%,#5a4a8a 26%)}
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky .sk-cycle{background:conic-gradient(#7cc8ff 0 120deg,#e98a6a 120deg 240deg,#5a4a8a 240deg)} /* 11-10 순환 = 낮·노을·밤 세 조각 */
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-sky .sk-auto{background:radial-gradient(circle,#2b2b2e 0 12%,transparent 14%),conic-gradient(#f3c623 0 90deg,#eee 90deg)} /* 실제 시간 = 시계 */
#console-v51 .cv-stage.sv114.sc-cards .sv-win .sc-fs svg{width:22px;height:22px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-screen{gap:4px;padding:0 6px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-row{grid-template-columns:96px 1fr auto;min-height:48px;column-gap:8px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-row>b{font-size:14px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .sc-row>small{font-size:10px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .cv-settings-body .sc-opts button{height:40px;min-width:40px;padding:0 10px;font-size:13px}
#console-v51 .cv-stage.sv114.sv-land.sc-cards .sv-win .cv-settings-body .sc-opts .sc-a{width:40px;font-size:calc(var(--a)*.72)}
/* 전체 화면 아이콘(상태별 SVG, FsIcon) */
#hud-fullscreen svg,#game-menu .gm-sq svg{width:60%;height:60%}
/* 설정 단추 눈에 띄는 색(사용자 11-06): 메인 로비 톱니·게임 중 ≡ 메뉴 = 노란 단추 */
#title-cover .c2-button[data-action="settings"]{background:#ffd84a!important;background-image:none!important;border:3px solid #2a2008!important;border-image:none!important;border-radius:12px!important;box-shadow:inset 0 -4px 0 #c99a14,0 4px 0 #0006!important;color:#2a2008!important;filter:none!important}
#title-cover .c2-button[data-action="settings"]:is(:hover,:focus-visible){background:#ffe680!important}
#title-cover .c2-button[data-action="settings"] :is(svg,img){filter:brightness(0) saturate(0) opacity(.85)!important}
html body.tft1 #t1-menu#t1-menu,html body.tft1m #t1-menu#t1-menu{background:#ffd84a!important;background-image:none!important;border-color:#2a2008!important;box-shadow:inset 0 -3px 0 #c99a14,0 3px 0 #0006!important;color:#2a2008!important}
html body.tft1 #t1-menu#t1-menu i,html body.tft1m #t1-menu#t1-menu i{filter:brightness(0) opacity(.85)}
/* UI 크기(설정 화면 카드, --ui-z): 떠 있는 창만 */
#game-menu{--gmu:min(calc(min(calc(100vw / 1920),calc(100vh / 1080))*var(--ui-z,1)),calc(100vh / 760),calc(100vw / 1150))}
body.tft1m #game-menu,body.mobile-ui #game-menu{--gmu:min(calc(min(calc(100vw / 1300),calc(100vh / 760))*var(--ui-z,1)),calc(100vh / 760),calc(100vw / 1150))} /* 휴대폰은 화면이 꽉 차서 더 키우지 않음(작게만) */
#dex-h{--du:min(calc(min(calc(100vw / 1920),calc(100vh / 1080))*var(--ui-z,1)),calc(100vh / 840),calc(100vw / 1540))}
body.mobile-ui #dex-h,body.tft1m #dex-h{--du:min(calc(min(calc(100vw / 1560),calc(100vh / 1000))*var(--ui-z,1)),calc(100vh / 980),calc(100vw / 1580))}
/* 휴대폰 ≡(hud85m 판은 아이디 3번 + ::before 판) — 노란 단추 */
html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu#t1-menu{background:#ffd84a!important;color:#2a2008!important;border-radius:10px}
html body.tft1m.hud85m #t1-menu#t1-menu#t1-menu#t1-menu::before{background:#ffd84a!important;background-image:none!important;border-color:#2a2008!important;box-shadow:inset 0 -3px 0 #c99a14!important}
/* 04 11-06 상점 카드 합성 표시 = 몬스터볼 점 3개(ShopCardT1.dress, .merge-hint.t1-dots). 검은 띠·글 없음, 카드 색 위에서 읽히게 흰 테두리+짙은 외곽 */
html body:is(.tft1,.tft1m) #shared-shop-dock #shop-cards .shop-card .merge-hint.t1-dots{display:flex!important;gap:4px;align-items:center;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;width:auto!important;max-width:none!important;overflow:visible!important}
html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card .merge-hint.t1-dots{display:flex!important;gap:3px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;max-width:none!important;overflow:visible!important}
.shop-card .merge-hint.t1-dots .md{display:block;flex:none;width:12px;height:12px;box-sizing:border-box;border-radius:50%;border:2px solid #1c2028;background:radial-gradient(circle,#fff 0 22%,#1c2028 23% 34%,transparent 35%),linear-gradient(#ffffff40 0 46%,#1c2028 46% 54%,#ffffff40 54%);box-shadow:0 0 0 1px #ffffffaa;opacity:.75}
.shop-card .merge-hint.t1-dots .md.on{background:radial-gradient(circle,#fff 0 22%,#1c2028 23% 34%,transparent 35%),linear-gradient(#e83838 0 46%,#1c2028 46% 54%,#fff 54%);opacity:1}
.shop-card .merge-hint.t1-dots .md.next{opacity:1;animation:mdNext 1s ease-in-out infinite}
@keyframes mdNext{0%,100%{box-shadow:0 0 0 1px #ffffffaa}50%{box-shadow:0 0 0 2px #ffd84a,0 0 8px 2px #ffd84a}}
body.reduce-effects .shop-card .merge-hint.t1-dots .md.next{animation:none;box-shadow:0 0 0 2px #ffd84a}
@media (prefers-reduced-motion:reduce){.shop-card .merge-hint.t1-dots .md.next{animation:none;box-shadow:0 0 0 2px #ffd84a}}
html body.tft1m.hud85m .shop-card .merge-hint.t1-dots .md{width:9px;height:9px;border-width:1.5px}
/* 사면 합성 카드(꼬렛 같은 2마리)도 점이 보이게 */
:is(html body.tft1 #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards .shop-card[data-t1c],html body.tft1m.hud85m #shared-shop-dock#shared-shop-dock #shop-cards#shop-cards#shop-cards .shop-card[data-t1c]).t1-merge .merge-hint.t1-dots{display:flex!important;visibility:visible!important;opacity:1!important}
html body.tft1 .shop-card .merge-hint.t1-dots .md{width:16px;height:16px;border-width:2.5px}html body.tft1 .shop-card .merge-hint.t1-dots{gap:5px!important}
/* 04 11-06 ③ 스타팅 고르기 5세대식(StarterG5, src/console-v51.js 끝) — 배치·느낌만(원작 픽셀 복제 없음). 단위 --su: 1920×1080 기준(휴대폰 가로도 같은 배치를 줄임).
   받침대·볼·손 커서·빛 터짐·연구소 배경 = 임시 CSS(05 GPT 예정), 박사 = 지금 게임 원화. 관리자 11-06: 박사는 받침대 뒤 상반신만, 손 커서는 받침대 위(박사 몸과 안 겹침) */
#starter-g5{position:fixed;inset:0;z-index:2810;/* 기존 연구소 #starter-overlay(2800) 위 */overflow:hidden;font-family:var(--font-head),sans-serif;--su:min(calc(100vw / 1920),calc(100vh / 1080));color:#2a2c30}
#starter-g5[hidden]{display:none}
#starter-g5 button{font:inherit;color:inherit;margin:0;cursor:pointer}
#starter-g5 .st5-bg{position:absolute;inset:0;background:repeating-linear-gradient(90deg,#00000008 0 calc(60*var(--su)),transparent calc(60*var(--su)) calc(120*var(--su))),radial-gradient(ellipse at 50% 30%,#fff6e0 0 30%,#f0dcb0 62%,#c8a878 100%)}
#starter-g5[data-region="johto"] .st5-bg{filter:hue-rotate(-12deg)}#starter-g5[data-region="hoenn"] .st5-bg{filter:hue-rotate(150deg) saturate(.7)}#starter-g5[data-region="sinnoh"] .st5-bg{filter:hue-rotate(190deg) saturate(.6)}
/* 박사: 받침대 뒤, 위 몸만 보이게(받침대가 허리 아래를 가림) */
#starter-g5 .st5-prof{position:absolute;left:50%;top:calc(70*var(--su));transform:translateX(-50%);height:calc(600*var(--su));image-rendering:pixelated;filter:drop-shadow(0 calc(8*var(--su)) 0 #0002);z-index:1;transition:opacity .25s}
#starter-g5 .st5-prof.none{width:calc(260*var(--su));background:#0001;border-radius:50% 50% 0 0}
#starter-g5.open .st5-prof{opacity:.25}
/* 받침대(금속 기계) + 볼 3개 */
#starter-g5 .st5-stand{position:absolute;left:50%;top:calc(430*var(--su));transform:translateX(-50%);z-index:2;width:calc(1060*var(--su));height:calc(260*var(--su));display:flex;justify-content:space-around;align-items:flex-end;padding:0 calc(60*var(--su)) calc(56*var(--su));box-sizing:border-box;background:linear-gradient(#f0f4f8 0 6%,#c8d2dc 6% 30%,#a8b4c0 30% 72%,#7a8694 72%);border:calc(6*var(--su)) solid #3a404a;border-radius:calc(28*var(--su)) calc(28*var(--su)) calc(12*var(--su)) calc(12*var(--su));box-shadow:inset 0 calc(6*var(--su)) 0 #fff,inset 0 calc(-10*var(--su)) 0 #0002,0 calc(14*var(--su)) 0 #0003}
#starter-g5 .st5-ball{position:relative;width:calc(128*var(--su));height:calc(128*var(--su));padding:0;border:0;border-radius:50%;background:radial-gradient(ellipse at 50% 100%,#0003 0 50%,transparent 52%) 0 calc(18*var(--su))/100% 100% no-repeat}
#starter-g5 .st5-ball i{position:absolute;inset:calc(6*var(--su));border-radius:50%;background:linear-gradient(#e83838 0 44%,#2a1a00 44% 56%,#fff 56%);box-shadow:0 0 0 calc(6*var(--su)) #2a1a00,inset calc(-10*var(--su)) calc(-10*var(--su)) 0 #0002}
#starter-g5 .st5-ball i::after{content:'';position:absolute;left:36%;top:36%;width:28%;height:28%;border-radius:50%;background:#fff;box-shadow:0 0 0 calc(6*var(--su)) #2a1a00}
/* 고른 볼: 노란 빛 테두리 숨쉬기 깜빡임(볼 자체는 안 흔들림 — 참고 GIF) */
#starter-g5 .st5-ball.on i{animation:st5Glow 1s ease-in-out infinite}
@keyframes st5Glow{0%,100%{box-shadow:0 0 0 calc(6*var(--su)) #2a1a00,0 0 0 calc(12*var(--su)) #ffe04a,0 0 calc(30*var(--su)) calc(10*var(--su)) #ffd84acc}50%{box-shadow:0 0 0 calc(6*var(--su)) #2a1a00,0 0 0 calc(12*var(--su)) #ffe04a55,0 0 calc(10*var(--su)) calc(2*var(--su)) #ffd84a44}}
#starter-g5 .st5-ball.gone i{opacity:0}
#starter-g5 .st5-ball:focus-visible{outline:calc(4*var(--su)) solid #2a6ad8;outline-offset:calc(8*var(--su))}
/* 손 커서: 고른 볼 바로 위(받침대 면 안), 위아래로 통통 0.5초 */
#starter-g5 .st5-hand{position:absolute;z-index:3;left:calc(50% + var(--x)*313*var(--su) - 28*var(--su));top:calc(436*var(--su));width:calc(56*var(--su));height:calc(64*var(--su));animation:st5Hand .5s steps(2) infinite;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16' shape-rendering='crispEdges'%3E%3Cpath d='M5 0h2v7h1V3h2v4h1V4h2v7l-1 3H4L1 9V7h2l1 2V0z' fill='%23fff' stroke='%232a2c30' stroke-width='1'/%3E%3C/svg%3E");transform:rotate(180deg);filter:drop-shadow(0 calc(4*var(--su)) 0 #0004)}
@keyframes st5Hand{50%{translate:0 calc(10*var(--su))}}
/* 볼 열림 → 포켓몬 + 정보 + 예/아니오 */
#starter-g5 .st5-out{position:absolute;left:50%;top:calc(110*var(--su));transform:translateX(-50%);z-index:4;text-align:center;animation:st5Pop .35s cubic-bezier(.2,1.4,.4,1) both}
@keyframes st5Pop{from{transform:translateX(-50%) scale(.2);opacity:0}}
#starter-g5 .st5-burst{position:absolute;left:50%;top:50%;width:calc(520*var(--su));height:calc(520*var(--su));transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(#fffbe0 0 20%,#ffe68a66 40%,transparent 66%)}
#starter-g5 .st5-out img{position:relative;width:calc(384*var(--su));height:calc(384*var(--su));image-rendering:pixelated}
#starter-g5 .st5-info{position:absolute;right:calc(120*var(--su));top:calc(150*var(--su));z-index:6;width:calc(560*var(--su));padding:calc(24*var(--su)) calc(28*var(--su));background:#fffaf0;border:calc(6*var(--su)) solid #2a3040;border-radius:calc(16*var(--su));box-shadow:0 calc(8*var(--su)) 0 #0003}
#starter-g5 .st5-info b{display:block;font:900 calc(52*var(--su))/1.1 var(--font-head)}
#starter-g5 .st5-tys{display:flex;gap:calc(10*var(--su));margin:calc(12*var(--su)) 0}
#starter-g5 .st5-tys span{display:inline-flex;align-items:center;gap:calc(6*var(--su));padding:calc(6*var(--su)) calc(14*var(--su)) calc(6*var(--su)) calc(6*var(--su));background:#f2f5ee;border:calc(3*var(--su)) solid #2a3040;border-left:calc(10*var(--su)) solid var(--c);font:900 calc(26*var(--su))/1 var(--font-head)}
#starter-g5 .st5-tys :is(svg,img){width:calc(30*var(--su));height:calc(30*var(--su))}
#starter-g5 .st5-info p{margin:0;font:700 calc(26*var(--su))/1.4 var(--font-head);color:#4a4e56}
#starter-g5 .st5-yn{position:absolute;right:calc(150*var(--su));top:calc(470*var(--su));z-index:6;display:flex;flex-direction:column;gap:calc(8*var(--su));padding:calc(14*var(--su)) calc(18*var(--su));background:#fff;border:calc(6*var(--su)) solid #2a3040;border-radius:calc(14*var(--su));box-shadow:0 calc(8*var(--su)) 0 #0003}
#starter-g5 .st5-yn button{position:relative;min-width:calc(200*var(--su));min-height:44px;padding:calc(10*var(--su)) calc(30*var(--su)) calc(10*var(--su)) calc(52*var(--su));background:none;border:0;text-align:left;font:900 calc(38*var(--su))/1 var(--font-head)}
#starter-g5 .st5-yn button.on::before{content:'▶';position:absolute;left:calc(12*var(--su));color:#e04848}
#starter-g5 .st5-yn button:focus-visible{outline:0}#starter-g5 .st5-yn button.on{background:#fff4c8;border-radius:calc(8*var(--su))}
/* 아래 대화 글 */
#starter-g5 .st5-talk{position:absolute;left:calc(160*var(--su));right:calc(160*var(--su));bottom:calc(46*var(--su));z-index:5;padding:calc(22*var(--su)) calc(40*var(--su));background:#fff;border:calc(6*var(--su)) solid #2a3040;border-radius:calc(16*var(--su));box-shadow:inset 0 0 0 calc(5*var(--su)) #a8c8e8,0 calc(8*var(--su)) 0 #0003}
#starter-g5 .st5-talk b{display:block;font:900 calc(26*var(--su))/1.2 var(--font-head);color:#2a6ad8}
#starter-g5 .st5-talk p{margin:calc(4*var(--su)) 0 0;font:800 calc(42*var(--su))/1.35 var(--font-head)}
#starter-g5 .st5-talk small{display:block;margin-top:calc(6*var(--su));font:700 calc(22*var(--su))/1.3 var(--font-head);color:#6a6e76}
/* 위 줄: 연구소 이름 · 난이도 · 이어하기 */
#starter-g5 .st5-top{position:absolute;left:calc(40*var(--su));right:calc(40*var(--su));top:calc(28*var(--su));z-index:7;display:flex;align-items:center;justify-content:space-between;gap:calc(20*var(--su))}
#starter-g5 .st5-lab{padding:calc(10*var(--su)) calc(22*var(--su));background:#5e3a1c;color:#fff4dc;border:calc(4*var(--su)) solid #2e1a0a;border-radius:calc(6*var(--su));box-shadow:inset 0 calc(3*var(--su)) 0 #b88352;font:900 calc(30*var(--su))/1 var(--font-head)}
#starter-g5 .st5-tools{display:flex;gap:calc(14*var(--su));align-items:center}
#starter-g5 .st5-diff{display:flex;border:calc(4*var(--su)) solid #2a3040;border-radius:calc(10*var(--su));overflow:hidden;background:#fff}
#starter-g5 .st5-diff button,#starter-g5 .st5-resume{min-height:40px;padding:calc(10*var(--su)) calc(24*var(--su));border:0;background:#fff;font:900 calc(26*var(--su))/1 var(--font-head)}
#starter-g5 .st5-diff button.on{background:#ffd84a}
#starter-g5 .st5-diff button+button{border-left:calc(3*var(--su)) solid #2a3040}
#starter-g5 .st5-resume{border:calc(4*var(--su)) solid #2a3040;border-radius:calc(10*var(--su));background:#e8f4ff}
@media (prefers-reduced-motion:reduce){#starter-g5 *{animation:none!important}}
body.reduce-effects #starter-g5 *{animation:none!important}
#starter-g5 .st5-left{display:flex;align-items:center;gap:calc(14*var(--su))}
#starter-g5 :is(.st5-back,.st5-gear){min-width:44px;min-height:40px;padding:calc(10*var(--su)) calc(20*var(--su));background:#fff;border:calc(4*var(--su)) solid #2a3040;border-radius:calc(10*var(--su));font:900 calc(28*var(--su))/1 var(--font-head)}
#starter-g5 .st5-back{font-size:calc(40*var(--su));padding:calc(4*var(--su)) calc(18*var(--su))}
#starter-g5 .st5-gear{background:#ffd84a}
/* 05 163 ③ 그림 판(#starter-g5.art): 받침대 위 왼쪽 위 기준 좌표(starter.json), 정수 배율 --k(PC 4·휴대폰 2), 가운데 정렬 */
#starter-g5 .st5-artstand{position:absolute;left:50%;top:calc(520*var(--su));transform:translateX(-50%);z-index:2;background-size:100% 100%;background-repeat:no-repeat;image-rendering:pixelated}
#starter-g5.art .st5-prof{height:calc(590*var(--su))}
#starter-g5 .st5-ball.art{position:absolute;padding:0;background:none;border:0;border-radius:0}
#starter-g5 .st5-ball.art img{position:absolute;left:0;top:0;width:100%;height:100%;image-rendering:pixelated}
#starter-g5 .st5-ball.art.on{animation:st5Breath 1s ease-in-out infinite}
@keyframes st5Breath{50%{filter:brightness(1.18) drop-shadow(0 0 calc(2px*var(--k)) #ffe04a)}}
#starter-g5 .st5-ball.art.gone{animation:none}
#starter-g5 .st5-ball.art .st5-half.top{animation:st5Lid .25s steps(3) both}
@keyframes st5Lid{from{transform:translateY(calc(9px*var(--k)))}}
#starter-g5 :is(.st5-hand.art,.st5-flash){position:absolute;z-index:3;background-repeat:no-repeat;background-position:0 0;translate:none;image-rendering:pixelated;transform:none;filter:none}
#starter-g5 .st5-hand.art{animation:st5Sheet var(--fd) steps(var(--fn)) infinite}
#starter-g5 .st5-flash{animation:st5Sheet var(--fd) steps(var(--fn)) 1 both}
@keyframes st5Sheet{to{background-position:calc(-1*var(--fw)) 0}}
#starter-g5.art .st5-out{top:calc(150*var(--su))}
/* 연구소 책상 띠(임시 CSS, 박사 상반신 배경 그림 오면 교체): 박사 허리 아래를 가려 손 커서가 흰 가운과 겹치지 않게(관리자 11-06 지적) */
#starter-g5 .st5-desk{position:absolute;left:0;right:0;top:calc(372*var(--su));height:calc(330*var(--su));z-index:2;background:linear-gradient(#c89a62 0 calc(10*var(--su)),#8a5a32 calc(10*var(--su)) calc(18*var(--su)),#b07a48 calc(18*var(--su)) 70%,#94643a 70%);box-shadow:inset 0 calc(4*var(--su)) 0 #e8c088,0 calc(-6*var(--su)) calc(12*var(--su)) #0002}
#starter-g5.art .st5-artstand{z-index:3}#starter-g5.art :is(.st5-hand.art,.st5-flash){z-index:4}
#starter-g5 .st5-ball.art:focus-visible{outline:0}
#starter-g5.art.open .st5-desk{filter:brightness(.92)}
/* 오른쪽 볼을 열면 정보·예/아니오를 왼쪽에(나온 포켓몬을 가리지 않게) */
#starter-g5 :is(.st5-info,.st5-yn).l{right:auto;left:calc(120*var(--su))}
/* 05 162 ② 능력치 아이콘 12×12: PC 2배·휴대폰 1배(정수) */
#dex-h .dh-sr em .dh-ic{display:block;width:24px;height:24px;margin:auto;image-rendering:pixelated}
body.mobile-ui #dex-h .dh-sr em .dh-ic,body.tft1m #dex-h .dh-sr em .dh-ic{width:12px;height:12px}
/* 04 11-06 ④ 지방 카드(#region-pick) · 이어하기 확대 지도(#zoom-map) · 지방 탭(.rt-tabs) · 161 들판 바탕(.f161). 크기 단위 --u = 844×390 체감 기준(1920×1080 ≈ 2.53), 카드 그림 = 정수 배율 --ck */
#region-pick,#zoom-map{position:fixed;inset:0;z-index:3600;overflow:hidden;background:#2a2850;color:#2a1a00;font-family:var(--font-head,'PT Read',sans-serif);letter-spacing:0;user-select:none}
#region-pick[hidden],#zoom-map[hidden]{display:none}
.f161{position:absolute;inset:0;background:linear-gradient(#2c2a5a,#5a4a8a 55%,#2e6a3a 85%,#244a2a);overflow:hidden;pointer-events:none}
.f161[data-sky="day"]{background:linear-gradient(#7cc8f0,#bfe6f6 55%,#58b048 85%,#3a8030)}
.f161[data-sky="dusk"]{background:linear-gradient(#5a4a8a,#f0a070 55%,#4a7a3a 85%,#2e5a2a)}
.f161>i{position:absolute;left:0;right:0;image-rendering:pixelated;background-position:0 0}
.f161>.f161-sky{left:50%;width:100%;transform:translateX(-50%);background-position:center 0}
#region-pick .rp-tint{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--rx,30%) 55%,var(--rc,#58c868) 0%,transparent 55%);opacity:.32;mix-blend-mode:soft-light;transition:background .3s}
#region-pick .rp-top{position:absolute;left:0;right:0;top:calc(10*var(--u));display:flex;justify-content:center;align-items:center;z-index:3}
#region-pick .rp-back,#zoom-map .zm-back{position:absolute;left:calc(10*var(--u));top:0;font:900 calc(13*var(--u))/1 var(--font-head)!important;padding:calc(6*var(--u)) calc(12*var(--u))!important;min-height:calc(30*var(--u))}
#zoom-map .zm-back{position:static;flex:none}
#region-pick .rp-title{margin:0;font:900 calc(18*var(--u))/1 var(--font-head)!important;padding:calc(7*var(--u)) calc(20*var(--u)) calc(6*var(--u))!important;white-space:nowrap}
#region-pick .rp-title small{margin-left:calc(9*var(--u));font:800 calc(10*var(--u))/1 var(--font-head);color:#ffe0a8}
#region-pick .rp-cards{position:absolute;left:50%;top:calc(58*var(--u));transform:translateX(-50%);z-index:2;display:flex;gap:calc(var(--ck)*7px);align-items:flex-start}
#region-pick[data-size="m"] .rp-cards{top:calc(52*var(--u));gap:calc(var(--ck)*5px)}
#region-pick .rp-card{flex:none;background:var(--px-paper);border:calc(var(--ck)*1.5px) solid var(--px-wood);border-radius:calc(var(--ck)*2px);overflow:hidden;box-shadow:inset 0 0 0 calc(var(--ck)*1px) var(--px-wood-l),0 calc(var(--ck)*1.5px) 0 var(--px-ink),0 calc(var(--ck)*4px) calc(var(--ck)*8px) #0007;transition:transform .18s,box-shadow .18s}
#region-pick .rp-card.on{transform:translateY(calc(var(--ck)*-4px));box-shadow:inset 0 0 0 calc(var(--ck)*1px) var(--px-wood-l),0 0 0 calc(var(--ck)*1.5px) var(--px-gold),0 0 calc(var(--ck)*10px) calc(var(--ck)*2px) #ffd84a99,0 calc(var(--ck)*2px) 0 var(--px-ink)}
#region-pick .rp-sc{position:relative;overflow:hidden;cursor:pointer;background:linear-gradient(#3a3870,var(--rc) 75%,#2e5a2a 80%);border-bottom:calc(var(--ck)*1px) solid var(--px-wood)}
#region-pick .rp-art{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
#region-pick .rp-stand{position:absolute;left:50%;transform:translate(-50%,-100%);width:calc(var(--ck)*26px);height:calc(var(--ck)*26px);display:flex;align-items:flex-end;justify-content:center}
#region-pick .rp-mon{width:100%;height:100%;object-fit:contain;object-position:50% 100%;image-rendering:pixelated;filter:drop-shadow(0 calc(var(--ck)*1px) 0 #0006)}
#region-pick .rp-card.lk .rp-sc>img{filter:grayscale(1) brightness(.62) contrast(.9)}
#region-pick .rp-card.lk .rp-sc{background:#4a4a52}
/* 자물쇠 = 코드 도트(고리 + 몸통 + 열쇠 구멍) */
#region-pick .rp-lock{position:absolute;left:50%;top:44%;width:calc(var(--ck)*14px);height:calc(var(--ck)*11px);transform:translate(-50%,0);background:#c8c0a8;border:calc(var(--ck)*1px) solid #2a2418;box-shadow:inset 0 calc(var(--ck)*-2px) 0 #9a917a,0 calc(var(--ck)*1px) 0 #0008}
#region-pick .rp-lock::before{content:'';position:absolute;left:50%;bottom:100%;width:calc(var(--ck)*8px);height:calc(var(--ck)*7px);transform:translateX(-50%);border:calc(var(--ck)*1.5px) solid #2a2418;border-bottom:0;border-radius:calc(var(--ck)*4px) calc(var(--ck)*4px) 0 0;box-shadow:inset 0 0 0 calc(var(--ck)*1px) #c8c0a8}
#region-pick .rp-lock::after{content:'';position:absolute;left:50%;top:calc(var(--ck)*3px);width:calc(var(--ck)*2px);height:calc(var(--ck)*4px);transform:translateX(-50%);background:#2a2418}
#region-pick .rp-bd{padding:calc(var(--ck)*3px) calc(var(--ck)*4px) calc(var(--ck)*4px)}
#region-pick .rp-bd b{display:flex;align-items:center;gap:calc(var(--ck)*2px);font:900 calc(var(--ck)*9px)/1.1 var(--font-head);color:var(--px-ink)}
#region-pick .rp-chip{margin-left:auto;padding:calc(var(--ck)*1px) calc(var(--ck)*2.5px);border-radius:999px;background:#ffd070;border:calc(var(--ck)*.75px) solid var(--px-ink);font:900 calc(var(--ck)*4.5px)/1.1 var(--font-head);white-space:nowrap}
#region-pick .rp-card[data-st="active"] .rp-chip{background:#8fe08a}
#region-pick .rp-card[data-st="parked"] .rp-chip{background:#a8c8f0}
#region-pick .rp-card.lk .rp-chip{background:#d0c8b8;color:#5a5040}
#region-pick .rp-bd small{display:block;margin:calc(var(--ck)*1.5px) 0 0;min-height:2.5em;font:800 calc(var(--ck)*5px)/1.25 var(--font-head);color:var(--px-text)}
#region-pick .rp-card.lk .rp-bd small{color:#8a5a32}
#region-pick .rp-btns{display:flex;flex-direction:column;gap:calc(var(--ck)*2px);margin-top:calc(var(--ck)*2px)}
#region-pick .rp-btns button{width:100%;font:900 calc(var(--ck)*6px)/1 var(--font-head)!important;padding:calc(var(--ck)*2.5px) calc(var(--ck)*2px)!important;cursor:pointer}
#region-pick .rp-btns .rp-go{background:linear-gradient(#ffb070,#f08a3a)!important;color:#fff!important;text-shadow:0 2px 0 #0005!important;box-shadow:inset 0 3px 0 #ffd0a0,inset 0 -3px 0 #c06020,0 5px 0 #7a3a10!important}
#region-pick .rp-btns button:focus-visible{outline:calc(var(--ck)*1px) solid #c03028;outline-offset:calc(var(--ck)*.75px)}
#region-pick[data-size="m"] .rp-bd b{font-size:15px}
#region-pick[data-size="m"] .rp-chip{font-size:10px}
#region-pick[data-size="m"] .rp-bd small{font-size:10.5px;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#region-pick[data-size="m"] .rp-card.lk .rp-bd small{white-space:normal}
#region-pick[data-size="m"] .rp-btns{flex-direction:row;gap:4px}
#region-pick[data-size="m"] .rp-btns button{font-size:11.5px!important;padding:6px 2px!important;min-height:30px;white-space:nowrap;letter-spacing:-.02em}
#region-pick[data-size="m"] .rp-btns .rp-go{flex:1.25}#region-pick[data-size="m"] .rp-btns .rp-re{flex:1}
#region-pick .rp-hint{position:absolute;left:0;right:0;bottom:calc(12*var(--u));margin:0;text-align:center;color:#fff1d6;font:800 calc(10*var(--u))/1.2 var(--font-head);text-shadow:0 2px 0 #0008;z-index:2}
#region-pick[data-size="m"] .rp-hint{bottom:4px;font-size:10px}
/* 지방 탭(확대 지도 위 · ⑤ 메인 진행 고리 위에서도 씀) */
.rt-tabs{display:flex;gap:calc(4*var(--u))}
.rt-tab{position:relative;display:flex;align-items:center;gap:calc(4*var(--u));padding:calc(5*var(--u)) calc(10*var(--u));border-radius:calc(6*var(--u)) calc(6*var(--u)) 0 0;background:#d8c8a8;border:calc(2*var(--u)) solid var(--px-ink,#2a1a00);border-bottom-width:calc(4*var(--u));font:900 calc(12*var(--u))/1 var(--font-head);color:#4a3a28;cursor:pointer}
.rt-tab.on{background:var(--px-paper,#fff1d6);color:var(--px-ink,#2a1a00);box-shadow:0 0 calc(10*var(--u)) #ffd84a88;transform:translateY(calc(-2*var(--u)))}
.rt-tab.lk{opacity:.72;background:#b8b0a0}
.rt-tab em{font-style:normal;font-size:.78em;color:#8a5a32}
.rt-tab .rt-lock{width:calc(7*var(--u));height:calc(6*var(--u));margin-top:calc(3*var(--u));background:#7a6a50;border-radius:1px;position:relative}
.rt-tab .rt-lock::before{content:'';position:absolute;left:50%;bottom:100%;width:calc(4*var(--u));height:calc(3.5*var(--u));transform:translateX(-50%);border:calc(1.2*var(--u)) solid #7a6a50;border-bottom:0;border-radius:calc(3*var(--u)) calc(3*var(--u)) 0 0}
.rt-tab .rt-new{position:absolute;right:calc(-6*var(--u));top:calc(-8*var(--u));padding:calc(2*var(--u)) calc(4*var(--u));background:#e83838;color:#fff;border-radius:calc(4*var(--u));font:900 calc(8*var(--u))/1 var(--font-head);font-style:normal}
.rt-tab:focus-visible{outline:calc(2*var(--u)) solid #c03028;outline-offset:calc(1*var(--u))}
/* 확대 지도 */
#zoom-map .zm-map{position:absolute;left:0;top:0;z-index:1;will-change:transform}
#zoom-map .zm-map.anim{transition:transform .45s cubic-bezier(.3,.7,.3,1)}
#zoom-map .zm-base,#zoom-map .zm-map>svg{position:absolute;left:0;top:0;width:100%;height:100%;image-rendering:pixelated}
#zoom-map .zm-wave{position:absolute;inset:0;background-position:0 0;background-size:200% 100%;background-repeat:no-repeat;image-rendering:pixelated;opacity:.9;animation:tm-wave 2s steps(1) infinite;pointer-events:none}
#zoom-map .zm-sh{position:absolute;z-index:2;transform:translate(-50%,-78%);width:calc(26*var(--u));height:calc(30*var(--u));display:flex;align-items:center;justify-content:center;background:#c03028;clip-path:polygon(0 0,100% 0,100% 62%,50% 100%,0 62%);filter:drop-shadow(0 calc(2*var(--u)) 0 #0007)}
#zoom-map .zm-sh::before{content:'';position:absolute;inset:calc(2.5*var(--u));background:#e85848;clip-path:inherit;box-shadow:inset 0 calc(3*var(--u)) 0 #ff8a78}
#zoom-map .zm-sh b{position:relative;margin-top:calc(-5*var(--u));color:#fff4dc;font:900 calc(13*var(--u))/1 var(--font-head);text-shadow:0 calc(1.5*var(--u)) 0 #6a1010}
#zoom-map .zm-sh.clear{background:#2e1a0a}
#zoom-map .zm-sh.clear::before{background:#f8f0dc;box-shadow:none}
#zoom-map .zm-sh img{position:relative;margin-top:calc(-5*var(--u));width:calc(16*var(--u));height:calc(16*var(--u));object-fit:contain;image-rendering:pixelated}
#zoom-map .zm-sh.next{animation:zm-next 1.1s ease-in-out infinite}
#zoom-map .zm-sh.big{width:calc(36*var(--u));height:calc(40*var(--u));background:#5e3a1c}
#zoom-map .zm-sh.big::before{background:#ffd84a;box-shadow:inset 0 calc(3*var(--u)) 0 #fff0a0}
#zoom-map .zm-sh.big b{color:#5e3a1c;text-shadow:none;font-size:calc(11*var(--u))}
@keyframes zm-next{0%,100%{transform:translate(-50%,-78%);filter:drop-shadow(0 calc(2*var(--u)) 0 #0007) drop-shadow(0 0 0 #ffd84a)}50%{transform:translate(-50%,-90%);filter:drop-shadow(0 calc(2*var(--u)) 0 #0007) drop-shadow(0 0 calc(6*var(--u)) #ffd84a)}}
#zoom-map .zm-lb{position:absolute;z-index:2;transform:translate(-50%,calc(4*var(--u)));padding:calc(2*var(--u)) calc(6*var(--u));background:#f8f0dcee;border:calc(1.5*var(--u)) solid #2e1a0a;border-radius:calc(3*var(--u));color:#2e1a0a;font:900 calc(10*var(--u))/1.1 var(--font-head);white-space:nowrap}
#zoom-map .zm-lb.nx{background:#ffd84a}
#zoom-map .zm-lb.hid{display:none}
#zoom-map .zm-hero.road{transform:translate(-50%,-90%)}
#zoom-map .zm-ping{position:absolute;z-index:2;width:calc(30*var(--u));height:calc(30*var(--u));transform:translate(-50%,-50%);border:calc(2.5*var(--u)) solid #ffd84a;border-radius:50%;animation:zm-ping 1.4s ease-out infinite;pointer-events:none}
@keyframes zm-ping{0%{opacity:1;transform:translate(-50%,-50%) scale(.6)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.6)}}
#zoom-map .zm-hero{position:absolute;z-index:3;transform:translate(calc(-50% - 24*var(--u)),-80%);image-rendering:pixelated;filter:drop-shadow(0 calc(2*var(--u)) 0 #0008)}
#zoom-map .zm-top{position:absolute;left:calc(10*var(--u));right:calc(10*var(--u));top:calc(10*var(--u));z-index:4;display:flex;align-items:flex-end;gap:calc(10*var(--u))}
#zoom-map .zm-arrow{position:absolute;top:44%;z-index:4;width:calc(34*var(--u));height:calc(44*var(--u));transform:translateY(-50%);background:var(--px-paper);border:calc(2.5*var(--u)) solid var(--px-wood);border-radius:calc(6*var(--u));box-shadow:0 calc(3*var(--u)) 0 var(--px-wood);color:var(--px-wood);font:900 calc(16*var(--u))/1 var(--font-head);cursor:pointer}
#zoom-map .zm-arrow.l{left:calc(10*var(--u))}#zoom-map .zm-arrow.r{right:calc(10*var(--u))}
#zoom-map .zm-arrow:disabled{opacity:.35;cursor:default}
#zoom-map .zm-bar{position:absolute;z-index:4;left:calc(10*var(--u));right:calc(10*var(--u));bottom:calc(8*var(--u));display:flex;align-items:center;gap:calc(10*var(--u));padding:calc(7*var(--u)) calc(12*var(--u))!important;box-sizing:border-box;color:var(--px-ink)}
#zoom-map .zm-team{display:flex;flex:none}
#zoom-map .zm-mon{width:calc(34*var(--u));height:calc(34*var(--u));object-fit:contain;image-rendering:pixelated}
#zoom-map .zm-sv{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(4*var(--u))}
#zoom-map .zm-sv b{font:900 calc(15*var(--u))/1.1 var(--font-head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#zoom-map .zm-sv span{font:800 calc(11*var(--u))/1.2 var(--font-head);color:var(--px-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#zoom-map .zm-go{flex:none;font:900 calc(15*var(--u))/1 var(--font-head)!important;padding:calc(9*var(--u)) calc(20*var(--u))!important;background:linear-gradient(#ffb070,#f08a3a)!important;color:#fff!important;text-shadow:0 2px 0 #0005!important;box-shadow:inset 0 3px 0 #ffd0a0,inset 0 -3px 0 #c06020,0 5px 0 #7a3a10!important;cursor:pointer}
#zoom-map .zm-go:focus-visible{outline:calc(2*var(--u)) solid #c03028;outline-offset:calc(2*var(--u))}
/* 04 11-06 도감 이로치 획득 반짝(05 162 ② shiny_spark 16×16 × 4프레임, 그림 없으면 ✦) */
#dex-h .dh-shiny{display:inline-block;vertical-align:-.05em;margin-left:.2em;width:1.1em;height:1.1em;overflow:hidden;color:#ffd84a;font-size:1em;line-height:.9em;text-shadow:0 0 .3em #fff8}
#dex-h .dh-shiny img{display:block;width:400%;height:100%;image-rendering:pixelated;animation:dh-shiny .8s steps(4) infinite;filter:drop-shadow(0 0 2px #fff6)}
@keyframes dh-shiny{to{transform:translateX(-100%)}}
/* 이로치 기록이 있으면 그림 칸 오른쪽 위 '일반 ↔ 이로치' 바꾸기(관리자 11-06) */
#dex-h .dh-pic{position:relative}
#dex-h .dh-shtg{position:absolute;right:6px;top:6px;z-index:3;display:flex;align-items:center;gap:4px;padding:4px 10px 4px 6px;background:var(--px-paper,#f8f0dc);border:3px solid var(--px-wood,#5e3a1c);border-radius:6px;box-shadow:0 3px 0 var(--px-wood,#5e3a1c);color:#3a2210;font:900 18px/1 var(--font-head);cursor:pointer}
#dex-h .dh-shtg.on{background:linear-gradient(#fff2a0,#ffd84a);border-color:#8a5a00;box-shadow:0 3px 0 #8a5a00,0 0 10px #ffd84a99}
#dex-h .dh-shtg .dh-shiny{margin:0;font-size:22px}
#dex-h .dh-shtg:focus-visible{outline:3px solid #c03028;outline-offset:2px}
/* 04-B 11-15 사용자 '도감에 메가 진화는 없네? 보고 싶은데': 도감 상세 [일반|메가(X·Y)] 전환 · 메가 쪽(종족값 비교·메가 특성·메가스톤) · 목록 메가 표식(스톤 도트) */
#dex-h .dh-mg{display:flex;gap:calc(8*var(--du));margin:0 calc(14*var(--du)) calc(10*var(--du));flex-wrap:wrap}
#dex-h .dh-mg button{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:calc(6*var(--du));min-height:max(32px,calc(48*var(--du)));padding:0 calc(12*var(--du));background:#fff;border:calc(3*var(--du)) solid #2a2c30;border-radius:calc(6*var(--du));box-shadow:inset 0 calc(-3*var(--du)) 0 #d8dccf;color:#2a2c30;font:900 calc(24*var(--du)*var(--fs))/1 var(--font-head);cursor:pointer;white-space:nowrap}
#dex-h .dh-mg button[aria-pressed="true"]{background:#2a2c30;color:#fff;box-shadow:inset 0 calc(-3*var(--du)) 0 #000}
#dex-h .dh-mg button[data-k][aria-pressed="true"]{background:linear-gradient(90deg,#e8505a,#e8a040,#e8d050,#50c070,#4a90e0,#9a60d0);text-shadow:0 calc(2*var(--du)) 0 #0008}
#dex-h .dh-mgi{width:calc(18*var(--du));height:calc(18*var(--du));border-radius:50%;background:conic-gradient(#e8505a,#e8d050,#50c070,#4a90e0,#9a60d0,#e8505a);box-shadow:0 0 0 calc(2*var(--du)) #2a2c30}
#dex-h .dh-mg button:focus-visible{outline:3px solid #c03028;outline-offset:2px}
#dex-h .dh-tab-mega{background:linear-gradient(90deg,#e8505a,#e8a040,#50c070,#4a90e0,#9a60d0)!important;color:#fff!important;text-shadow:0 1px 0 #0008}
#dex-h .dh-mst{display:grid;gap:calc(6*var(--du))}
#dex-h .dh-mr{display:grid;grid-template-columns:calc(150*var(--du)) calc(70*var(--du)) 1fr calc(80*var(--du));align-items:center;column-gap:calc(10*var(--du));font:800 calc(24*var(--du)*var(--fs))/1.1 var(--font-head);color:#2a2c30}
#dex-h .dh-mr .dh-num{text-align:right}
#dex-h .dh-mr .dh-sb{grid-column:auto;margin-top:0}
#dex-h .dh-mr em{font-style:normal;text-align:right}
#dex-h .dh-mr em.up{color:#1f9a4a}#dex-h .dh-mr em.dn{color:#c03028}#dex-h .dh-mr em.eq{color:#8a8478}
#dex-h .dh-mr.tot{border-top:calc(3*var(--du)) solid #2a2c30;padding-top:calc(6*var(--du))}
#dex-h .dh-stone{display:flex;align-items:center;gap:calc(14*var(--du));font:900 calc(26*var(--du)*var(--fs))/1.2 var(--font-head);color:#2a2c30}
#dex-h .dh-stone img{width:calc(64*var(--du));height:calc(64*var(--du));image-rendering:pixelated;flex:none}
#dex-h .dh-mega{filter:drop-shadow(0 0 calc(6*var(--du)) #fff8)}
#pokedex .dxm,#dex-list .dxm{position:absolute;z-index:3;right:3px;bottom:3px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle,#2a2c30 0 58%,transparent 60%),conic-gradient(#e8505a,#e8d050,#50c070,#4a90e0,#9a60d0,#e8505a);box-shadow:0 0 0 2px #fff;font:900 12px/1 var(--font-head);font-style:normal;color:#fff;pointer-events:none} /* 메가 표식: 무지개 고리 + M */
#pokedex [data-dex-select]{position:relative}
@media (max-height:500px){#dex-h .dh-shtg{right:3px;top:3px;min-height:30px;padding:3px 9px 3px 5px;border-width:2px;font-size:12px;box-shadow:0 2px 0 var(--px-wood,#5e3a1c)}#dex-h .dh-shtg .dh-shiny{font-size:13px}}
/* 04 11-06 관장 고르기: '‹ 다시 고르기'(고른 뒤에만, 도전! 옆) + 판·카드 아래·정보 판 = 공용 도트 틀(종이·나무). 카드 위 그림·타입색 테는 그대로 */
#work-gyms.t1gc .g3-undo{display:none}
html body #work-gyms.t1gc .work-gym-controls.has-sel .g3-undo{display:inline-flex;align-items:center;justify-content:center;position:static;height:max(44px,calc(var(--u)*5.4));min-width:0;margin:0 calc(var(--u)*1.4) 0 0;padding:0 calc(var(--u)*2.4);font:800 max(13px,calc(var(--u)*2))/1 var(--font-head,sans-serif);cursor:pointer;pointer-events:auto}
#work-gyms.t1gc .g3-card{background:var(--px-paper)}
#work-gyms.t1gc .g3-low{background:linear-gradient(180deg,var(--px-paper2),#ead9b8);box-shadow:inset 0 calc(3px * var(--k)) 0 var(--px-wood-l)}
#work-gyms.t1gc .g3-name{color:var(--px-ink);text-shadow:0 calc(2px * var(--k)) 0 #fff4dc}
#work-gyms.t1gc .g3-info{background:var(--px-paper);border:calc(4px * var(--k)) solid var(--px-wood);border-radius:calc(4px * var(--k));box-shadow:inset 0 0 0 calc(3px * var(--k)) var(--px-wood-l),inset 0 calc(-8px * var(--k)) 0 #ead9b8,0 calc(6px * var(--k)) 0 var(--px-ink),0 calc(14px * var(--k)) calc(30px * var(--k)) #0009;color:var(--px-ink)}
#work-gyms.t1gc .g3-info h4{color:var(--px-ink)}
#work-gyms.t1gc .g3-info .sub,#work-gyms.t1gc .g3-info .ace small,#work-gyms.t1gc .g3-info .stn{color:var(--px-wood-m)}
#work-gyms.t1gc .g3-info .lab{border-radius:2px;background:var(--px-wood-m);color:#fff4dc;border:calc(2px * var(--k)) solid var(--px-ink);box-shadow:inset 0 calc(2px * var(--k)) 0 #b88352;text-shadow:0 1px 0 #3a2210}
#work-gyms.t1gc .g3-info .ace .pic,#work-gyms.t1gc .g3-info .team .pic{background:var(--px-paper2);border:calc(2px * var(--k)) solid var(--px-wood-l);border-radius:calc(4px * var(--k))}
#work-gyms.t1gc .g3-info .st span{background:var(--px-paper2);border:calc(2px * var(--k)) solid #e6d2ac;border-radius:calc(4px * var(--k));color:var(--px-wood-m)}
#work-gyms.t1gc .g3-info .st b{color:var(--px-ink)}
#work-gyms.t1gc .t1gc-bd{background:var(--px-paper);border:3px solid var(--px-wood);border-radius:4px;box-shadow:inset 0 0 0 2px var(--px-wood-l),0 4px 0 var(--px-ink)}
#work-gyms.t1gc .t1gc-bd em{color:var(--px-ink)}
/* 04 11-06 골드 칩: 코인 = 피카츄 금화(예상 골드 창·상점 가격과 같은 그림), 마우스 올림 = 금화 반짝 한 바퀴·칩 살짝 뜸·'눌러서 예상 수입 보기' (예상 골드 창은 사용자 '원래대로' — 차콜 그대로) */
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{content:''!important;display:inline-block;flex:none;width:22px;height:22px;background:url(assets/ui/pikachu-coin.webp) center/100% 100% no-repeat;font-size:0!important;margin-right:8px!important;filter:drop-shadow(0 2px 0 #0006)}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold{position:relative!important;cursor:pointer;transition:transform .15s ease-out,box-shadow .15s}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold:is(:hover,:focus-visible){transform:translateY(-2px)}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold:is(:hover,:focus-visible)::before{animation:t1CoinSpin .6s ease-out}
@keyframes t1CoinSpin{0%{transform:scaleX(1);filter:drop-shadow(0 2px 0 #0006)}25%{transform:scaleX(.15)}50%{transform:scaleX(-1);filter:drop-shadow(0 2px 0 #0006) brightness(1.35)}75%{transform:scaleX(.15)}100%{transform:scaleX(1);filter:drop-shadow(0 2px 0 #0006)}}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::after{content:'눌러서 예상 수입 보기';position:absolute;left:50%;bottom:calc(100% + 8px);translate:-50% 4px;padding:5px 10px 4px;white-space:nowrap;font:700 12px/1 var(--font-head);color:#3a2210;background:var(--px-paper);border:2px solid var(--px-wood);border-radius:3px;box-shadow:0 3px 0 var(--px-ink);opacity:0;pointer-events:none;transition:opacity .15s,translate .15s;z-index:5}
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold:is(:hover,:focus-visible)::after{opacity:1;translate:-50% 0}
@media (prefers-reduced-motion:reduce){body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold::before{animation:none!important}}
/* 04 11-06 VS 등장 띠 동안 건너뛰기 단추 흐리게(누를 수 없음) */
#t1-poster.vsband-lock .t1p-sk{opacity:.35;pointer-events:none}
/* 04 11-06 골드 칩 마우스 올림 = 예상 골드 창(console-v51.js GoldHoverT1): 열린 동안 칩 안내 숨김 */
body.tft1 #hud #shared-shop-dock #dock-wallet#dock-wallet #hud-shop-gold:is(.gh-open,.gh-pin)::after{opacity:0!important}
/* 창이 칩 위를 덮어 칩 안내가 안 보임 → 안내는 창 머리 제목 옆에 */
body.tft1 #gold-popover:is(.gh-hov,.gh-pin) header strong::after{content:'· 칩을 누르면 고정';margin-left:8px;font:700 11px/1 var(--font-body);color:#bdb6a8;letter-spacing:0}
body.tft1 #gold-popover.gh-pin header strong::after{content:'· 고정됨';color:#FFC93C}
/* 04 11-06 ⑤ 타이틀 + 메인 A+B(#main-ab). --u = 844 체감 단위(1920 ≈ 2.53), --s = 161 들판 배율(480×270 덮기, 아래 맞춤) */
.c2-lobby .mab{position:absolute;inset:0;z-index:1;overflow:hidden;background:#2a2850;font-family:var(--font-head,'PT Read',sans-serif);color:#2a1a00;user-select:none}
.c2-lobby .mab[hidden]{display:none}
.c2-lobby.mab-on .c2-controls{display:none!important}
.mab .f161{z-index:0}




.mab-wmon{display:block;width:calc(44*var(--u));height:calc(44*var(--u));object-fit:contain;object-position:50% 100%;image-rendering:pixelated;animation:mab-bob .5s steps(2) infinite;filter:drop-shadow(0 2px 0 #0006)}
@keyframes mab-walk{0%{left:-8%}48%{transform:translateY(-100%) scaleX(1)}50%{left:104%;transform:translateY(-100%) scaleX(-1)}98%{transform:translateY(-100%) scaleX(-1)}100%{left:-8%;transform:translateY(-100%) scaleX(1)}}
@keyframes mab-bob{50%{transform:translateY(calc(-2*var(--u)))}}

@keyframes mab-fly{0%,100%{opacity:.2;transform:translate(0,0)}50%{opacity:1;transform:translate(calc(10*var(--u)),calc(-8*var(--u)))}}


@keyframes mab-pidgey{0%{left:-10%}60%,100%{left:110%}}
@keyframes mab-flap{to{background-position:calc(-1*var(--fwp,0px)) 0}}
/* 타이틀 */
.mab-title{position:absolute;inset:0;z-index:5}
.mab-logo{position:absolute;display:block}
.mab-logo>img,.mab-logo>b{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
.mab-logo>b{display:flex;align-items:center;justify-content:center;color:#ffd84a;font:900 calc(40*var(--u))/1 var(--font-head);text-shadow:0 4px 0 #5e3a1c}
.mab-shine{position:absolute;inset:0;image-rendering:pixelated;background-repeat:no-repeat;opacity:0;pointer-events:none}
.mab-press{position:absolute;padding:0;border:0;background:none;cursor:pointer;animation:mab-blink 1.2s steps(1) infinite;color:#fff1d6;font:900 calc(16*var(--u))/1 var(--font-head)}
.mab-press img{display:block;width:100%;height:100%;image-rendering:pixelated}
@keyframes mab-blink{0%{opacity:1}58.3%{opacity:0}}
.mab-sub{position:absolute;left:0;right:0;text-align:center;color:#fff1d6;font:800 calc(10*var(--u))/1 var(--font-head);text-shadow:0 2px 0 #0008;opacity:.85}
 /* 타이틀: 걷는 포켓몬·구구는 보이고 소품은 들어올 때 톡톡 */
/* 진입 연출(WELCOME 영상식, 사용자 11-06): 틀 테두리 먼저(.fx-f) → 채움(자식·종이 바탕) → 단추 켜짐(.fx-b, 이어하기 .fx-go 마지막 튐) → 소품 톡톡(.pop). transform·opacity만 */
.mab.intro .fx-f{animation:mab-frame .12s ease-out both;animation-delay:var(--fd)}


.mab.intro .fx-f.px-panel{background:transparent!important;isolation:isolate}
.mab.intro .fx-f.px-panel::before{content:'';position:absolute;inset:4px;z-index:-1;background:var(--px-paper);animation:mab-fill .15s ease-out both;animation-delay:calc(var(--fd) + .12s)}
.mab.intro .fx-b{animation:mab-btn .2s ease-out both;animation-delay:var(--bd)}
.mab.intro .fx-go{animation-name:mab-btn-go}
.mab.intro .pop{animation:mab-pop .22s cubic-bezier(.34,1.56,.64,1) both;animation-delay:var(--d,0s)}
.mab.intro.short .pop{animation:none}



@keyframes mab-frame{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes mab-frame-c{from{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes mab-fill{from{opacity:0}to{opacity:1}}
@keyframes mab-btn{from{opacity:.3}to{opacity:1}}
@keyframes mab-btn-go{0%{opacity:.3;transform:scale(1)}60%{opacity:1;transform:scale(1.06)}100%{opacity:1;transform:none}}
@keyframes mab-pop{0%{transform:scale(0);opacity:0}70%{transform:scale(1.12);opacity:1}100%{transform:none;opacity:1}}
/* 창 열기도 같은 짧은 판(200ms): 틀 → 채움 */
#game-menu:not([hidden]) .gm-win,#dex-h:not([hidden]) .dh-win,#settings-overlay:not(.hidden) .settings-card{animation:win-frame .2s ease-out both}
#game-menu:not([hidden]) .gm-win>*,#dex-h:not([hidden]) .dh-win>*,#settings-overlay:not(.hidden) .settings-card>*{animation:mab-fill .12s ease-out .08s both}
@keyframes win-frame{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mab.intro *,.mab.intro *::before,#game-menu .gm-win,#game-menu .gm-win>*,#dex-h .dh-win,#dex-h .dh-win>*,#settings-overlay .settings-card,#settings-overlay .settings-card>*{animation:none!important}}
/* 메인 UI */













@keyframes mab-breath{to{background-position:calc(-1*var(--fw)) 0}}




.mab-no,.mab-ok{font:900 calc(13*var(--u))/1 var(--font-head);color:#5e3a1c}
.mab-lk{width:22%;height:18%;background:#7a6a50;border-radius:1px;position:relative;margin-top:8%}
.mab-lk::before{content:'';position:absolute;left:50%;bottom:100%;width:60%;height:70%;transform:translateX(-50%);border:calc(1.2*var(--u)) solid #7a6a50;border-bottom:0;border-radius:99px 99px 0 0}




@keyframes mab-wave{to{transform:translateX(-100%)}}
.mab-lead{position:absolute;left:62%;top:calc(30*var(--u));width:calc(40*var(--u));height:calc(40*var(--u));object-fit:contain;image-rendering:pixelated}




























/* C2 로비 공통 단추 규칙(#title-cover.c2-lobby button = 절대 위치·12px 테·최소 44px)을 메인 A+B 안에서 되돌림 */
#title-cover.c2-lobby .mab button{min-height:0;min-width:0;transform:none}
#title-cover.c2-lobby .mab .rt-tab{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:calc(4*var(--u));padding:calc(4*var(--u)) calc(9*var(--u));border:calc(2*var(--u)) solid var(--px-ink,#2a1a00);border-bottom-width:calc(4*var(--u));border-radius:calc(6*var(--u)) calc(6*var(--u)) 0 0;background:#d8c8a8;color:#4a3a28;font:900 calc(11*var(--u))/1 var(--font-head);white-space:nowrap}
#title-cover.c2-lobby .mab .rt-tab.on{background:var(--px-paper,#fff1d6);color:var(--px-ink,#2a1a00);box-shadow:0 0 calc(10*var(--u)) #ffd84a88;transform:translateY(calc(-2*var(--u)))}
#title-cover.c2-lobby .mab .rt-tab.lk{opacity:.72;background:#b8b0a0}


#title-cover.c2-lobby .mab .rt-tab em,#title-cover.c2-lobby .mab .rt-tab .rt-lock{flex:none}
#title-cover.c2-lobby .mab .mab-press{position:absolute;padding:0;border:0;background:none}






/* 161-4 ① 소품 움직임: 마을 창 불빛(2f 1fps)·모닥불(4f 8fps)·빛 숨쉬기·연못 반짝(밤 2f 2fps)·별똥별(가끔) */
.f161>.f161-vlights{animation:f161-vl 2s steps(1) infinite}
@keyframes f161-vl{50%{background-position:calc(-1*var(--fw)) 0}}
.mab-sheet{background-repeat:no-repeat;background-position:0 0;animation:mab-sheet var(--fd) steps(var(--fn)) infinite}
@keyframes mab-sheet{to{background-position:calc(-1*var(--fw)) 0}}
.mab.intro .mab-sheet.pop{animation:mab-pop .22s cubic-bezier(.34,1.56,.64,1) both,mab-sheet var(--fd) steps(var(--fn)) infinite;animation-delay:var(--d,0s),0s}

@keyframes mab-glow{50%{opacity:.26}}


@keyframes mab-star{0%,88%{opacity:0;transform:translate(0,0)}90%{opacity:1}97%{opacity:1;transform:translate(calc(-30*var(--u)),calc(12*var(--u)))}100%{opacity:0;transform:translate(calc(-36*var(--u)),calc(14*var(--u)))}}
@keyframes mab-starf{to{background-position:calc(-1*var(--fw)) 0}}
@media (prefers-reduced-motion:reduce){.f161>.f161-vlights,.mab-sheet{animation:none!important}}
/* 04 11-06 스타팅: 05 163 ④ 박사·연구소 배경(480×160, 아래 120~160 = 책상) + 163 ③R 볼 케이스 — 줄무늬 임시 바탕·책상 띠 대신 */
#starter-g5 .st5-pbg{position:absolute;z-index:1;background-size:100% 100%;background-repeat:no-repeat;image-rendering:pixelated}
#starter-g5 .st5-pdesk{position:absolute;left:0;right:0;bottom:0;z-index:1;background:linear-gradient(#b47a44,#8a5a32);box-shadow:inset 0 4px 0 #6a4224}
#starter-g5.pbg .st5-bg{background:#e8c896}
#starter-g5.pbg .st5-out img{width:var(--os,calc(384*var(--su)));height:var(--os,calc(384*var(--su)))}
#starter-g5.pbg .st5-burst{width:calc(var(--os,384px)*1.3);height:calc(var(--os,384px)*1.3)}
/* ---------- 49-8. 04 11-06 패배 회복 = 포켓몬센터(CenterHeal, 구현). 그림은 자리표시 CSS — 05 GPT 그림이 오면 .pc-nurse·.pc-counter·.pc-machine·.pc-ball·.pc-out(지방 4종)·.pc-door 자리에 넣음 ---------- */
/* 04 11-15 사용자 '패배 때 창이 가려짐'(관리자 최우선): 결과 띠를 안 쓰는 패배(라이벌·리그·기습)는 옛 결과 창(#combat-result) 위에 센터를 띄워
   결과 창(z 더 높음)이 센터 한가운데에 겹쳤음(cb8171af부터). 일반 패배와 같은 순서 = 센터가 도는 동안 결과 창은 숨기고, 센터가 끝나면(건너뛰기 포함) 보임.
   타워 층 결과 띠(#frontier-result)도 같음. 결과 창 자동 넘김·'다음'은 ResultFlow.complete 감쌈이 센터 끝까지 미룸(기존) */
body.pc-heal :is(#combat-result,#frontier-result){visibility:hidden!important;pointer-events:none!important}
#pc-heal{position:fixed;inset:0;z-index:46;display:grid;place-items:center;pointer-events:none;animation:pcIn .3s ease-out both}
#pc-heal.out{animation:pcOut .3s ease-in both}
#pc-heal .pc-box{pointer-events:auto;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.6vh,18px);padding:clamp(10px,2vh,22px) clamp(14px,2.4vw,34px);background:#0e1018ee;border:4px solid #f8f8f0;border-radius:12px;box-shadow:0 0 0 3px #181818,0 10px 0 #0008}
#pc-heal .pc-scene{position:relative;width:clamp(300px,34vw,640px);aspect-ratio:16/9;overflow:hidden;border:3px solid #181818;border-radius:6px;background:#f6d9e3;image-rendering:pixelated}
#pc-heal .pc-in{position:absolute;inset:0}
#pc-heal .pc-wall{position:absolute;left:0;right:0;top:0;height:46%;background:repeating-linear-gradient(90deg,#f9e6ec 0 18px,#f1d2dc 18px 20px)}
#pc-heal .pc-counter{position:absolute;left:6%;right:6%;top:52%;height:20%;background:#d8473f;border:3px solid #7a1f1a;border-top-width:8px;border-top-color:#f2b23c;border-radius:4px}
#pc-heal .pc-nurse{position:absolute;left:44%;top:16%;width:12%;height:40%;background:#f4a7c0;border:3px solid #9b3b5c;border-radius:40% 40% 10% 10%;display:grid;place-items:end center}
#pc-heal .pc-nurse b{font:400 clamp(9px,1.1vh,13px)/1 var(--font-head);color:#5a1a33;margin-bottom:4px}
#pc-heal .pc-machine{position:absolute;left:62%;top:24%;width:28%;height:34%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto 1fr 1fr;gap:4%;padding:4%;box-sizing:border-box;background:#c9d2dc;border:3px solid #4a5462;border-radius:6px}
#pc-heal .pc-screen{grid-column:1/-1;height:clamp(6px,1.4vh,14px);background:#2a6f8a;border:2px solid #1b3540;border-radius:3px}
#pc-heal.lit .pc-screen,#pc-heal.healed .pc-screen{background:#7ff3ff}
#pc-heal .pc-slot{position:relative;display:grid;place-items:center;background:#5c6674;border:2px solid #2c333c;border-radius:50%}
#pc-heal .pc-slot.off{opacity:.45}
#pc-heal .pc-ball{width:62%;aspect-ratio:1;border-radius:50%;background:linear-gradient(#e83a30 0 45%,#181818 45% 55%,#f4f1ea 55%);border:2px solid #181818;opacity:0;transform:translateY(-140%) scale(.6)}
#pc-heal .pc-slot.on .pc-ball{animation:pcBall .26s cubic-bezier(.3,1.6,.5,1) both}
#pc-heal.lit .pc-slot.on{animation:pcLit .22s steps(2,end) calc(var(--i) * 40ms) 3 both}
#pc-heal.healed .pc-slot.on{background:#7ff3ff;box-shadow:0 0 10px #7ff3ff}
#pc-heal.skip .pc-slot.on .pc-ball{animation:none;opacity:1;transform:none}
/* 입구(그 지방 첫 패배만): 바깥 → 문 열림 → 안으로 들어가며 바깥이 커지고 사라짐. 지방 4종은 자리표시 색만 다름(그림 오면 교체) */
#pc-heal .pc-out{position:absolute;inset:0;--roof:#d8473f;--wall:#f4efe2;--ground:#8fc46a;transition:transform .4s ease-in,opacity .4s ease-in;transform-origin:50% 78%}
#pc-heal[data-region=johto] .pc-out{--roof:#c8402f;--wall:#efe6cf;--ground:#9cc36a}
#pc-heal[data-region=hoenn] .pc-out{--roof:#e2533c;--wall:#f6f1e6;--ground:#e3d29a}
#pc-heal[data-region=sinnoh] .pc-out{--roof:#d63a4a;--wall:#e8ecf0;--ground:#a7c9a0}
#pc-heal .pc-sky{position:absolute;inset:0 0 30% 0;background:#8fd0f4}
#pc-heal .pc-out::after{content:'';position:absolute;left:0;right:0;bottom:0;height:30%;background:var(--ground)}
#pc-heal .pc-front{position:absolute;left:22%;right:22%;top:34%;bottom:30%;background:var(--wall);border:3px solid #383838;border-top:none;z-index:1}
#pc-heal .pc-roof{position:absolute;left:18%;right:18%;top:16%;height:20%;background:var(--roof);border:3px solid #383838;border-radius:6px 6px 0 0;z-index:2;display:grid;place-items:center}
#pc-heal .pc-roof b{width:clamp(18px,2.4vw,42px);aspect-ratio:1;display:grid;place-items:center;background:#f8f8f0;color:var(--roof);border:2px solid #383838;border-radius:4px;font:400 clamp(12px,1.6vw,26px)/1 var(--font-head)}
#pc-heal .pc-door{position:absolute;bottom:30%;width:9%;height:22%;background:#9fd8ee;border:3px solid #383838;z-index:3;transition:transform .5s ease-in-out}
#pc-heal .pc-door.l{left:41%;border-right-width:1px}
#pc-heal .pc-door.r{left:50%;border-left-width:1px}
#pc-heal.open .pc-door.l{transform:translateX(-90%)}
#pc-heal.open .pc-door.r{transform:translateX(90%)}
#pc-heal .pc-name{position:absolute;left:0;right:0;top:4%;z-index:3;text-align:center;font:400 clamp(11px,1.6vh,18px)/1.2 var(--font-head);color:#181818;text-shadow:0 1px 0 #fff}
#pc-heal.entry.inside .pc-out{transform:scale(2.6);opacity:0}
#pc-heal .pc-line{margin:0;padding:.55em 1.1em;min-width:min(86vw,clamp(300px,34vw,640px));max-width:min(92vw,clamp(300px,34vw,640px));min-height:2.6em;box-sizing:border-box;background:#f8f8f0;color:#181818;border:3px solid #181818;border-radius:8px;font:400 clamp(15px,2.3vh,26px)/1.3 var(--font-head);text-align:left;word-break:keep-all}
#pc-heal .pc-line:empty{visibility:hidden}
#pc-heal.healed .pc-line{color:#16602a}
@keyframes pcIn{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes pcOut{to{opacity:0}}
@keyframes pcBall{0%{opacity:0;transform:translateY(-140%) scale(.6)}100%{opacity:1;transform:none}}
@keyframes pcLit{0%{background:#5c6674;box-shadow:none}50%{background:#ffe36b;box-shadow:0 0 14px #ffe36b}100%{background:#7ff3ff;box-shadow:0 0 10px #7ff3ff}}
/* '패배'·DEFEAT 글자는 센터가 뜬 패배에서 완전히 뺌(사용자 결정 11-06). 장면 중엔 띠(생명력·골드·다음)를 숨겼다가 끝나면 보임 — 띠 등장 애니메이션이 transform을 덮어 줄이기가 안 먹어 겹쳤음. Space·Enter 넘김은 그대로 */
#t1-result.lose.pc-on .kick,#t1-result.lose.pc-on .big{display:none}
body.pc-heal #t1-result.lose .band{opacity:0;pointer-events:none}#t1-result.lose.pc-on .band{transition:opacity .3s}
body.pc-heal #t1-result.lose .dim{opacity:.6}
@media (max-height:500px){#pc-heal .pc-scene{width:min(62vw,420px)}#pc-heal .pc-box{padding:8px 12px;gap:6px}#pc-heal .pc-line{font-size:14px;min-width:min(62vw,420px);max-width:min(62vw,420px)}}
#pc-heal.calm,#pc-heal.calm .pc-slot.on .pc-ball{animation:none}#pc-heal.calm .pc-ball{opacity:1;transform:none}#pc-heal.calm .pc-out,#pc-heal.calm .pc-door{transition:none}
@media (prefers-reduced-motion:reduce){#pc-heal,#pc-heal .pc-slot.on .pc-ball,#pc-heal.lit .pc-slot.on{animation:none}#pc-heal .pc-out,#pc-heal .pc-door{transition:none}}
/* 04 11-06 포켓몬센터 05 GPT 160 그림 연결(#pc-heal.art): 장면 = 320×180 × 정수배(--ck, PC 2·휴대폰 1), 좌표 = center.json */
#pc-heal.art .pc-scene{width:calc(320px*var(--ck));height:calc(180px*var(--ck));aspect-ratio:auto;background:#f6d9e3;border-width:3px}
#pc-heal.art .pc-a{position:absolute;image-rendering:pixelated;max-width:none}
#pc-heal.art .pc-n{opacity:0}
#pc-heal.art .pc-n.stand{opacity:1}
#pc-heal.art.take .pc-n.stand{opacity:0}#pc-heal.art.take .pc-n.take{opacity:1}
#pc-heal.art.healed .pc-n.take,#pc-heal.art.healed .pc-n.stand{opacity:0}#pc-heal.art.healed .pc-n.bow{opacity:1}
#pc-heal.art .pc-slot{position:absolute;display:block;background:none;border:0;border-radius:0;z-index:2}
#pc-heal.art .pc-slot.off{opacity:1}
#pc-heal.art .pc-slot img{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
#pc-heal.art .pc-slot .b,#pc-heal.art .pc-slot .g{opacity:0}
#pc-heal.art .pc-slot.on .b{animation:pcBall .26s cubic-bezier(.3,1.6,.5,1) both}
#pc-heal.art.lit .pc-slot.on{animation:none;box-shadow:none}
#pc-heal.art.lit .pc-slot.on .g{animation:pcGlow .22s steps(2,end) calc(var(--i) * 40ms) 3 both}
#pc-heal.art.healed .pc-slot.on{background:none;box-shadow:none}
#pc-heal.art.healed .pc-slot.on .g{opacity:1;animation:none}
#pc-heal.art.skip .pc-slot.on .b{animation:none;opacity:1;transform:none}
@keyframes pcGlow{0%{opacity:0}50%{opacity:1}100%{opacity:1}}
#pc-heal.art .pc-out{transform-origin:50% 68%;z-index:5}
#pc-heal.art .pc-door{opacity:0;border:0;background:none;transition:none;transform:none!important}
#pc-heal.art .pc-door.f0{opacity:1}
#pc-heal.art.open .pc-door.f1{animation:pcDoor 0s linear .12s forwards}
#pc-heal.art.open .pc-door.f2{animation:pcDoor 0s linear .21s forwards}
#pc-heal.art.open .pc-door.f3{animation:pcDoor 0s linear .31s forwards}
#pc-heal.art.skip .pc-door.f3,#pc-heal.art.calm.open .pc-door.f3{opacity:1;animation:none}
@keyframes pcDoor{to{opacity:1}}
#pc-heal.art .pc-name{top:3%;padding:2px 10px;left:50%;right:auto;transform:translateX(-50%);background:#f8f8f0e6;border:2px solid #181818;border-radius:4px;text-shadow:none}
#pc-heal.art .pc-line:empty{display:none} /* 바깥 장면 동안 빈 대사 칸(검은 빈 칸) 없앰 */
#pc-heal.art .pc-line{min-width:calc(320px*var(--ck));max-width:calc(320px*var(--ck))}
/* 04 11-10 센터 연출 2차: 대사창 = 장면 아래쪽에 겹침(원작식)·글자 크기 = 장면 배율, ▼ = 누르면 다음, 오른쪽 위 '건너뛰기', 인사(.bow) 전엔 간호순 서기 */
#pc-heal .pc-box{position:relative;padding:clamp(6px,1vh,12px);gap:0}
#pc-heal:not(.art) .pc-scene{--ck:2}
#pc-heal .pc-scene .pc-line{position:absolute;left:calc(6px*var(--ck));right:calc(6px*var(--ck));bottom:calc(5px*var(--ck));z-index:8;min-width:0!important;max-width:none!important;min-height:calc(31px*var(--ck));box-sizing:border-box;padding:calc(4px*var(--ck)) calc(14px*var(--ck)) calc(4px*var(--ck)) calc(8px*var(--ck));font-size:calc(9px*var(--ck));line-height:1.4;border-width:calc(1px*var(--ck) + 1px);border-radius:calc(3px*var(--ck))}
#pc-heal .pc-next{position:absolute;right:calc(12px*var(--ck));bottom:calc(8px*var(--ck));z-index:9;font:400 calc(7px*var(--ck))/1 var(--font-head);color:#d8473f;opacity:0;pointer-events:none}
#pc-heal.wait .pc-next{opacity:1;animation:pcNext .6s steps(2,end) infinite}
@keyframes pcNext{50%{translate:0 calc(1px*var(--ck))}}
#pc-heal .pc-skip{position:absolute;top:calc(clamp(6px,1vh,12px) + 3px*var(--ck));right:calc(clamp(6px,1vh,12px) + 3px*var(--ck));z-index:10;min-height:36px;padding:4px 12px;font:400 clamp(13px,1.6vh,17px)/1 var(--font-head);color:#f8f8f0;background:#181818cc;border:2px solid #f8f8f0;border-radius:6px;cursor:pointer;pointer-events:auto}
#pc-heal .pc-skip:hover,#pc-heal .pc-skip:focus-visible{background:#d8473f}
#pc-heal.out .pc-skip{visibility:hidden}
#pc-heal.art.healed:not(.bow) .pc-n.bow{opacity:0}#pc-heal.art.healed:not(.bow) .pc-n.stand{opacity:1}
#pc-heal.calm.wait .pc-next{animation:none}
/* 04 11-06 메인 전체 화면 단추: 방 = 도감·설정과 같은 c2-button(아이콘만), 들판 = 오른쪽 위 크림 단추 */
#title-fullscreen.c2-button{display:grid;place-items:center;padding:0!important}
#title-fullscreen.c2-button svg{width:50%;height:50%;color:#2a2008}
#title-fullscreen.mab-fs{position:absolute;z-index:6;top:calc(10*var(--u,1px));right:calc(10*var(--u,1px));width:calc(30*var(--u,1px));height:calc(30*var(--u,1px));min-width:40px;min-height:40px;display:grid;place-items:center;padding:0!important;border-radius:calc(6*var(--u,1px))!important;cursor:pointer}
#title-fullscreen.mab-fs svg{width:58%;height:58%;color:#3b2a1a}
#title-fullscreen.c2-button{min-width:0!important;min-height:0!important;box-sizing:border-box}
.c2-controls[data-fs-shift]:has(#title-fullscreen.c2-button) #title-news{translate:calc(-1 * var(--mainfs-shift,88px)) 0!important}
/* 관리자 11-07 결함: 들판 메인 전체 화면 단추(오른쪽 위 10u·30u)가 로고를 가림 → 단추가 있으면 로고를 단추 왼쪽으로 비킴 */

/* 04 11-10 진화 무대 아래 대화창 = 사천왕·라이벌 대사와 같은 원작식 포켓몬 대화창(PokeDialog 49-11 모양, 03 요청 받은요청 1115행).
   #evolution-name 하나에 입힘(글은 03이 한 글자씩 textContent): 짙은 회색 테(#45454d·#2b2b31) → 주황 금 줄 → 흰 안쪽(#e8e8ec 안 테), Galmuri11 글·옅은 그림자.
   배율 --px = 1920 4px · 844 약 2px. 03 '무대' 방식(기본)에서만: 03이 다른 방식이면 #evolution-overlay에 data-evostage="0"을 달면 빠짐. 03 인라인 !important를 지우면 이 모양이 보임 */
#evolution-overlay[data-kind=evolution]:not([data-evostage="0"]) #evolution-name{--px:clamp(2px,.21vw,4px);box-sizing:border-box;width:min(880px,92vw);max-width:92vw!important;min-height:calc(var(--px)*19)!important;margin:0!important;padding:calc(var(--px)*4) calc(var(--px)*8)!important;border:var(--px) solid transparent;border-radius:0;
 background:linear-gradient(#fff,#fff) padding-box,linear-gradient(180deg,#f6d24a,#f19a2c) border-box;box-shadow:inset 0 0 0 var(--px) #e8e8ec,0 0 0 calc(var(--px)*2) #45454d,0 0 0 calc(var(--px)*3) #2b2b31,0 calc(var(--px)*2) 0 calc(var(--px)*3) rgba(0,0,0,.35);
 color:#46464e;display:block;text-align:left;font:400 max(16px,calc(var(--px)*6.5))/1.55 'Galmuri11',sans-serif;font-size:max(16px,calc(var(--px)*6.5))!important;letter-spacing:.02em;text-shadow:calc(var(--px)/2) calc(var(--px)/2) 0 #c4c4cc;white-space:pre-wrap;word-break:keep-all}
/* 04 11-06 재료 보상 카드 '추천'(console-v51.js MatPickT1, 06 GearAdvice.rewardPick): 노란 알약 꼬리표(상점 추천과 같은 결) + 아래 한 줄 */
#work-rewards .fbp-layer [data-fbp-pick].t1-rec-on{position:relative}
#work-rewards .fbp-layer [data-fbp-pick] .t1-rec{position:absolute;top:calc(-.7 * clamp(13px,1.05vw,22px));left:50%;translate:-50% 0;padding:.35em .9em .25em;font:700 clamp(13px,1.05vw,22px)/1 var(--font-head);border:2px solid #3a2210;font-style:normal;color:#3a2210;background:#FFC93C;border-radius:999px;box-shadow:0 2px 0 rgba(0,0,0,.35);white-space:nowrap;z-index:3;pointer-events:none}
/* 04-B 11-15 관리자: 추천 한 줄이 카드 위쪽에 작고 흐린 주황으로 겹쳐 안 읽힘 → 카드 아래쪽(효과 수치 밑, PC는 카드 안 아래 장식 자리 · 휴대폰은 카드가 낮아 아래 테두리에 걸침) 어두운 띠 + 밝은 글씨, 흐름 밖이라 효과 수치를 밀거나 가리지 않음, 최대 2줄 */
#work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line{position:absolute!important;left:4.5%;right:4.5%;top:auto!important;bottom:1.2%!important;transform:none!important;z-index:3;box-sizing:border-box;margin:0;padding:.4em .8em .35em;background:rgba(20,18,32,.95);border:2px solid #FFC93C;border-radius:10px;box-shadow:0 3px 0 rgba(0,0,0,.45);font:800 clamp(14px,1.05vw,20px)/1.25 var(--font-body);color:#FFF1C2;text-shadow:0 1px 0 #000;text-align:center;letter-spacing:-.01em;word-break:keep-all;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;pointer-events:none}
#work-rewards .fbp-layer [data-fbp-pick].t1-rec-on:has(.t1-rec-line) :is(.rc-rule,.rc-ptr){visibility:hidden} /* 04-B 11-15 관리자: 추천 띠가 있으면 카드 아래 장식(볼 무늬·선)을 숨겨 글씨와 안 겹치게 */
#work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line{z-index:6}
body:is(.mobile-ui,.tft1m) #work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line{left:5%;right:5%;top:auto!important;bottom:2.5%!important;transform:none!important;padding:.25em .4em;font-size:0;line-height:0;-webkit-line-clamp:2;border-width:1.5px;border-radius:7px;letter-spacing:-.03em}
body:is(.mobile-ui,.tft1m) #work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line[data-short]::before{content:attr(data-short);display:block;font-size:11.5px;line-height:1.22;letter-spacing:-.03em}
body:is(.mobile-ui,.tft1m) #work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line:not([data-short]){font-size:11px;line-height:1.22}
/* 04 11-13 배속 단추(사용자 승인 기본 1.0, 1×→1.25×→1.5×→2× 순환): 같은 자리·크기 안에서 글자 크게(PC 14→22px, 휴대폰 15→20px), 1×보다 빠르면 단계 색 + 노랑 테두리. data-tempo = console-v51 TempoBtn */
body.tft1 #speed-btn#speed-btn{font-size:22px!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums}
body.tft1m.hud85m #speed-btn#speed-btn#speed-btn{font-size:20px!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums}
body:is(.tft1,.tft1m) #speed-btn#speed-btn#speed-btn[data-tempo='1.25']{color:#ffe7a3!important}
body:is(.tft1,.tft1m) #speed-btn#speed-btn#speed-btn[data-tempo='1.5']{color:#ffd04d!important;border-color:#c99a2e!important}
body:is(.tft1,.tft1m) #speed-btn#speed-btn#speed-btn[data-tempo='2']{color:#ffb347!important;border-color:#ffc93c!important}
/* 04 11-06 사용자 '도구 창 칸 너무 큼': PC 도구 창 = 배율 ~1.18(guide-v2.js --tw-k) + 창 폭 = 카드 8장(24×2 + 8×144 + 7×12 + 테두리 40 = 1324) 또는 화면 폭, 카드 줄은 폭만큼 자동(06 --cols 대신 auto-fill). 06 tool-window.js 무변경 */
html body.tft1 #tool-window#tool-window{width:min(1324px,calc((100vw - 32px) / var(--tw-k,1)))!important}
html body.tft1 #tool-window#tool-window .tw-cards{grid-template-columns:repeat(auto-fill,144px)!important}
/* 04 11-06 관리자: 도구 창 바탕 남색 계열(#11141c·#181c27·#272d3c) → 정보성 창 규칙대로 상점 카드 차콜(#262423 + 위 노랑 줄). 크기·동작 무변경 */
html :is(body.tft1,body.tft1m) #tool-window#tool-window{background:#262423!important;border:1px solid rgba(255,255,255,.14)!important;border-top:3px solid #FFC93C!important}
html :is(body.tft1,body.tft1m) #tool-window#tool-window header{background:#2f2c2a!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
html :is(body.tft1,body.tft1m) #tool-window#tool-window :is(.tw-bag,.tw-icon:not([data-tw="codex"]),.tw-btn,.tw-save){background:#3a3633!important;border-color:rgba(255,255,255,.18)!important}
html :is(body.tft1,body.tft1m) #tool-window#tool-window :is(.tw-card,.tw-desc){background:#302d2b!important;border-color:rgba(255,255,255,.12)!important}
/* 04 11-06 가방·주머니 칸 '촥' 착지(console-v51.js ThudT1): 눌림 → 살짝 튐 → 제자리 + 노란 테두리 반짝 0.5초 */
.t1-thud{animation:t1Thud .5s cubic-bezier(.2,.8,.3,1);position:relative;z-index:2}
@keyframes t1Thud{0%{transform:scale(.82);box-shadow:0 0 0 3px #FFC93C,0 0 14px #FFC93C;filter:brightness(1.5)}35%{transform:scale(1.08);box-shadow:0 0 0 3px #FFC93C,0 0 10px #FFC93C99}100%{transform:none;box-shadow:0 0 0 0 transparent;filter:none}}
@media (prefers-reduced-motion:reduce){.t1-thud{animation:none}}
/* 04 11-06 특별한 파트너(지우 피카츄) 창 = 공용 도트 틀 + 특별 등급(console-v51.js AshPartnerT1) */
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice{position:relative;border:4px solid #c88a10!important;box-shadow:inset 0 0 0 3px #ffe680,inset 0 0 0 5px #c88a10,0 4px 0 var(--px-wood),0 0 0 3px #fff6c8,0 0 18px #ffd84a99!important;background:linear-gradient(#fffdf4,#fff3cc)!important;animation:pxSpecialIn .45s steps(6) both,pxSpecialGlow 1.1s .45s ease-out 1}
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::before,html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::after{content:'';position:absolute;width:8px;height:8px;background:#fff;box-shadow:0 0 0 2px #ffd84a;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:pxSpark 1.6s steps(4) infinite}
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::before{top:-6px;left:-6px}
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::after{right:-6px;bottom:-6px;animation-delay:.8s}
html body #encounter-event#encounter-event .event-scene.px-special .px-special-tag{position:absolute;top:-12px;left:50%;translate:-50% 0;padding:3px 8px 2px;font:700 11px/1 var(--font-head);font-style:normal;color:#5a3a00;background:linear-gradient(#fff3a0,#ffd040);border:2px solid #2a1a00;border-radius:3px;box-shadow:0 2px 0 #8a5a00;white-space:nowrap}
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice>p.px-types{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;background:none!important;border:0!important;padding:2px 0!important}
html body #encounter-event#encounter-event .event-scene.px-special .px-type{display:inline-flex;align-items:center;gap:4px;padding:3px 8px 3px 4px;background:var(--px-paper2);border:2px solid var(--px-wood-m);border-radius:3px;box-shadow:0 2px 0 var(--px-wood);font:700 12px/1 var(--font-body);color:var(--px-text)}
html body #encounter-event#encounter-event .event-scene.px-special .px-type :is(img,svg,i){width:18px;height:18px;image-rendering:pixelated}
html body #encounter-event#encounter-event .event-scene.px-special article.event-choice>button.px-btn-special:not(:disabled)::after{content:' ★';color:#a05a00}
@keyframes pxSpecialIn{0%{transform:perspective(600px) rotateY(90deg);filter:brightness(2)}60%{transform:perspective(600px) rotateY(-8deg)}100%{transform:none;filter:none}}
@keyframes pxSpecialGlow{0%{filter:brightness(1.5)}100%{filter:none}}
@keyframes pxSpark{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){html body #encounter-event#encounter-event .event-scene.px-special article.event-choice,html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::before,html body #encounter-event#encounter-event .event-scene.px-special article.event-choice::after{animation:none!important}}
body.tft1m #encounter-event#encounter-event .event-scene.px-special .px-special-tag{top:-14px;padding:2px 6px 1px;font-size:10px}
/* 04 11-06 관리자 승인(사용자 규칙 '정보성 창 = 상점 카드 차콜'): 시너지(타입) 상세 창 등 #detail-popover = 짙은 남색 → 차콜 판(#262423)·위 노랑 줄·노랑 제목. 마크업·동작(info-panels.js) 무변경, 색·테두리만 */
:is(body.tft1,body.tft1m) #detail-popover#detail-popover{background:rgba(38,36,35,.97)!important;border:1px solid rgba(255,255,255,.14)!important;border-top:3px solid #FFC93C!important;border-radius:8px!important;box-shadow:0 4px 0 rgba(0,0,0,.45),0 12px 30px rgba(0,0,0,.45)!important;color:#efe9df!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .synergy-panel-head{background:#2f2c2a!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover h2{color:#FFC93C!important;font-family:var(--font-head)!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover h3{color:#e8c46a!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover :is(.detail-note,.synergy-empty,p){color:#d8d1c4}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover :is(.synergy-back,.synergy-all-toggle,.detail-close){background:#3a3633!important;border:1px solid rgba(255,255,255,.18)!important;color:#f1ece4!important;box-shadow:0 2px 0 rgba(0,0,0,.4)}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover :is(.synergy-back,.synergy-all-toggle,.detail-close):hover{background:#46413d!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .synergy-thresholds p{background:#302d2b!important;color:#b7afa2!important;border:1px solid rgba(255,255,255,.06)}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .synergy-thresholds p.lit{background:rgba(255,201,60,.14)!important;color:#FFC93C!important;border-color:rgba(255,201,60,.4)}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .member-grid>div{background:#302d2b!important;border-color:rgba(255,255,255,.12)!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .member-grid>div.on-board{background:rgba(255,201,60,.12)!important;border-color:#FFC93C!important}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .member-grid :is(small,b){color:#efe9df}
:is(body.tft1,body.tft1m) #detail-popover#detail-popover .synergy-overview button{background:#302d2b!important;border:1px solid rgba(255,255,255,.12)!important;color:#efe9df!important}
/* 04 11-06 메가 창 성급별 메가 후 능력치 표(console-v51.js MegaStarT1, 숫자 = 03 Mega.starTable) */
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star{width:100%;table-layout:fixed;box-sizing:border-box;margin:6px 0 2px;border-collapse:collapse;font:600 10px/1.2 var(--font-body);color:var(--c-text);font-variant-numeric:tabular-nums}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star :is(th,td){padding:2px 1px;overflow:hidden;border-top:1px solid var(--c-line);text-align:center;white-space:nowrap}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star thead th{border-top:0;color:var(--c-dim,#bdb6a8);font-weight:700}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star :is(thead,tbody) th:first-child{width:26px;text-align:left;color:var(--c-dim,#bdb6a8);font-weight:700}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star small{display:block;font-size:9px;color:#8fd18f}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star .now{background:rgba(255,201,60,.14);color:#FFC93C}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card .mg-star [data-off]{opacity:.4}
/* 04 11-06 공용 도트 틀 나머지(옛 보상 창 틀 목록 3~6): 크림 양피지(card_ally)·칠한 배너(hero-nameplate)·금테 원판(hero-icon-disc)·보석 날개(select-*)·월넛 보조 단추(secondary-*) → .px-panel·.px-plaque·.px-btn·.px-btn2 톤. CSS만, JS·동작 무변경 */
html body #story-dialogue .story-stage{border-image:none!important;border:4px solid var(--px-wood)!important;border-radius:4px!important;background:var(--px-paper)!important;box-shadow:inset 0 0 0 4px var(--px-wood-l),inset 0 -10px 0 #ead9b8,0 6px 0 var(--px-ink),0 16px 40px #0009!important;filter:none!important;padding:14px 18px!important}
html body #story-dialogue .story-portrait{background:var(--px-paper2)!important;border:3px solid var(--px-wood-m)!important;border-radius:6px!important;box-shadow:inset 0 0 0 2px #f0dcb4,inset 0 -8px 0 #f0e2c4,0 4px 0 var(--px-wood)!important}
html body #story-dialogue .story-copy strong{background:var(--px-wood-m)!important;border:3px solid var(--px-ink)!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #b88352,inset 0 -3px 0 var(--px-wood),0 4px 0 #0006!important;color:#fff4dc!important;text-shadow:0 3px 0 #3a2210!important;padding:6px 22px 5px!important;margin:2px 0 8px 0}
html body #mega-panel .journey-panel{border-image:none!important;border:4px solid var(--px-wood)!important;border-radius:4px!important;background:var(--px-paper)!important;box-shadow:inset 0 0 0 4px var(--px-wood-l),inset 0 -10px 0 #ead9b8,0 6px 0 var(--px-ink),0 16px 40px #0009!important;filter:none!important;padding:14px 18px!important}
html body #mega-panel .journey-panel>h2{background:var(--px-wood-m)!important;border:3px solid var(--px-ink)!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #b88352,inset 0 -3px 0 var(--px-wood),0 4px 0 #0006!important;color:#fff4dc!important;text-shadow:0 3px 0 #3a2210!important;padding:8px 30px 7px!important}
html body #mega-panel #mega-content :is(.mega-stones>span,.mega-roster>article){background:var(--px-paper2)!important;border:3px solid var(--px-wood-m)!important;border-radius:4px!important;box-shadow:inset 0 0 0 2px #f0dcb4,0 3px 0 var(--px-wood)!important}
html body #mega-panel #mega-content button{background:var(--px-paper)!important;background-image:none!important;border:3px solid var(--px-wood)!important;border-radius:6px!important;box-shadow:inset 0 -3px 0 #e6d2ac,0 4px 0 var(--px-wood)!important;color:#3a2210!important;text-shadow:none!important;font-weight:800!important}
html body #mega-panel #mega-content button:active{background-image:none!important;transform:translateY(2px);box-shadow:inset 0 -3px 0 #e6d2ac,0 2px 0 var(--px-wood)!important}
html body #mega-panel #mega-close{background:var(--px-paper)!important;border:3px solid var(--px-wood)!important;border-radius:6px!important;color:#3a2210!important;font-size:20px!important;line-height:1!important}
html body #mega-panel #mega-close::before{content:'✕';color:#3a2210}
#result-v2 .rv2-spr::before{background:radial-gradient(circle,#fffaf0 0 58%,#f0dcb4 59% 66%,var(--px-wood-m) 67% 72%,transparent 73%)!important;opacity:1}
#work-rewards.pk-host article.pk-card>button.pk-btn{border-image:none!important;border:3px solid #2a1a00!important;border-radius:6px!important;background:linear-gradient(#ffe680,#f8c020)!important;box-shadow:inset 0 3px 0 #fff4c0,inset 0 -3px 0 #e0a000,0 5px 0 #8a5a00!important;color:#2a1a00!important;text-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:none!important;filter:brightness(1.06)}
#work-rewards.pk-host article.pk-card>button.pk-btn:active:not(:disabled){border-image-source:none!important;transform:translateY(3px);box-shadow:inset 0 3px 0 #fff4c0,inset 0 -3px 0 #e0a000,0 2px 0 #8a5a00!important}
#work-rewards.pk-host article.pk-card>button.pk-btn:disabled{background:#ddd3c0!important;border-color:#8a7f6a!important;box-shadow:inset 0 3px 0 #ece4d4,0 3px 0 #8a7f6a!important;color:#6e6452!important}
@media (max-height:500px){html body #story-dialogue .story-stage,html body #mega-panel .journey-panel{border-width:3px!important;padding:8px 10px!important}html body #story-dialogue .story-copy strong{padding:4px 14px 3px!important}}
/* 04 11-06 TFT1 메가 창 = 종이 도트 판(관리자 승인 11-06, 남색·차콜 과다 정리). 위 차콜 규칙의 색 토큰만 창 안에서 종이 팔레트로 바꾸고, 판·제목·단추 겉만 공용 도트 틀 톤으로. 자리·크기·흐름 그대로 */
:is(body.tft1,body.tft1m) #mega-panel#mega-panel{--c-text:#3a2210;--c-dim:#7a5a3a;--c-line:#8a5a32;--c-hi:#fffaf0;--c-panel-solid:#fffaf0;--c-slot:#fffaf0;--c-accent:#c0602a;--g-btn:linear-gradient(#fffaf0,#efe0c0);--shadow-panel:none}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel{background:var(--px-paper)!important;border:4px solid var(--px-wood)!important;border-radius:4px!important;box-shadow:inset 0 0 0 4px var(--px-wood-l),inset 0 -10px 0 #ead9b8,0 6px 0 var(--px-ink),0 16px 40px #0009!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .journey-panel>h2{display:inline-block;background:var(--px-wood-m)!important;border:3px solid var(--px-ink)!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #b88352,inset 0 -3px 0 var(--px-wood),0 4px 0 #0006!important;color:#fff4dc!important;text-shadow:0 3px 0 #3a2210!important;padding:6px 28px 5px!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button{color:#3a2210!important;border:3px solid var(--px-wood)!important;box-shadow:inset 0 -3px 0 #e6d2ac,0 3px 0 var(--px-wood)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true]){background:linear-gradient(#ffe680,#f8c020)!important;color:#2a1a00!important;border-color:#2a1a00!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mgt-bar button:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true])::after{display:none}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel .mg-card{border:3px solid var(--px-wood-m)!important;box-shadow:inset 0 0 0 2px #f0dcb4,0 4px 0 var(--px-wood)!important}
:is(body.tft1,body.tft1m) #mega-panel#mega-panel :is(#mega-help,#mega-close){border:3px solid var(--px-wood)!important;color:#3a2210!important}
/* 04 11-06 갈림길 창(#strategy-overlay.rf-on): 차콜 상자 → 종이 도트 판 + 나무 명패 제목, 카드 설명 자리 = 확률 3단계 칩(낮음·보통·높음) */
html body #strategy-overlay.rf-on .strategy-panel{background:var(--px-paper)!important;border:4px solid var(--px-wood)!important;border-image:none!important;border-radius:4px!important;box-shadow:inset 0 0 0 4px var(--px-wood-l),inset 0 -10px 0 #ead9b8,0 6px 0 var(--px-ink),0 16px 40px #0009!important;padding:14px 22px 20px!important}
html body #strategy-overlay.rf-on .strategy-panel>header{text-align:center!important}
html body #strategy-overlay.rf-on #strategy-title{display:inline-block;margin:0 0 10px!important;padding:8px 36px 7px!important;background:var(--px-wood-m)!important;border:3px solid var(--px-ink)!important;border-radius:3px!important;box-shadow:inset 0 3px 0 #b88352,inset 0 -3px 0 var(--px-wood),0 4px 0 #0006!important;color:#fff4dc!important;text-shadow:0 3px 0 #3a2210!important;font:400 34px/1.1 var(--font-title,'Galmuri11'),sans-serif!important}
html body #strategy-overlay.rf-on #strategy-close{background:var(--px-paper)!important;border:3px solid var(--px-wood)!important;border-radius:6px!important;color:#3a2210!important}
#strategy-overlay.rf-on .pk-desc.rf-odds{display:grid!important;grid-template-columns:1fr 1fr;gap:6px 8px;align-content:center;text-align:left}
#strategy-overlay.rf-on .rf-o{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 8px;border:2px solid #8a6a3a;border-radius:4px;background:#fffaf0;font-size:.92em;line-height:1.1;white-space:nowrap}
#strategy-overlay.rf-on .rf-o b{font-weight:800;color:#3a2210}
#strategy-overlay.rf-on .rf-o em{font-style:normal;font-weight:900;padding:2px 6px;border-radius:3px;color:#fff}
#strategy-overlay.rf-on .rf-o.low em{background:#8a8a7a}#strategy-overlay.rf-on .rf-o.mid em{background:#c08a2a}#strategy-overlay.rf-on .rf-o.high em{background:#c0402a}
@media (max-height:500px){html body #strategy-overlay.rf-on .strategy-panel{padding:6px 10px 10px!important;border-width:3px!important}html body #strategy-overlay.rf-on #strategy-title{font-size:18px!important;padding:4px 18px 3px!important;margin:0 0 4px!important}#strategy-overlay.rf-on .pk-desc.rf-odds{gap:3px 4px}#strategy-overlay.rf-on .rf-o{padding:2px 4px;font-size:.85em}}
html body #strategy-overlay.rf-on.pk-on #strategy-title#strategy-title{font-size:34px!important;line-height:1.1!important}
html body #strategy-overlay.rf-on.pk-on #strategy-close#strategy-close{width:44px!important;height:44px!important;background:var(--px-paper)!important;border:3px solid var(--px-wood)!important;border-radius:6px!important;color:#3a2210!important;font:900 22px/1 var(--font-head)!important;opacity:1!important;box-shadow:0 3px 0 var(--px-wood)!important}
@media (max-height:500px){html body #strategy-overlay.rf-on.pk-on #strategy-title#strategy-title{font-size:18px!important}html body #strategy-overlay.rf-on.pk-on #strategy-close#strategy-close{width:36px!important;height:36px!important;font-size:18px!important}}

/* 04-B 11-15 추천 그림 A안(사용자 결정 '그림만', 기본 켬 · ?recart=0 되돌리기): 띠 = [이 카드 재료]+[짝 재료]→[완성 장비]·[포켓몬], 골드 = [가방 n/8]→[동전]. 긴 이유 글은 .ra-sr(화면 밖, 글자 내용·읽기용)
   크기: 장비 도트 32 = 1920 3배(96, 투명 여백 위아래 5도트씩 잘라 띠 높이 66), 844 1배(32). 포켓몬 96 원본 1배(1920)·1/2(844). 띠는 카드 폭 안 */
#work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line.ra{display:block!important;-webkit-line-clamp:unset;overflow:hidden;padding:3px 6px;font-size:0;line-height:0;left:3%;right:3%;bottom:1%!important}
#work-rewards .t1-rec-line.ra::before{content:none!important}
#work-rewards .t1-rec-line.ra .ra-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#work-rewards .t1-rec-line.ra .ra-row{display:flex;align-items:center;justify-content:center;gap:2px;height:66px}
#work-rewards .t1-rec-line.ra .ra-ic{width:96px;height:96px;margin:-15px -13px;image-rendering:pixelated;flex:none;filter:drop-shadow(0 3px 0 #000a)}
#work-rewards .t1-rec-line.ra .ra-ic.ra-png{width:64px;height:64px;margin:0;image-rendering:auto}
#work-rewards .t1-rec-line.ra .ra-ic.ra-coin{image-rendering:auto;width:64px;height:64px;margin:0 0 0 4px}
#work-rewards .t1-rec-line.ra .ra-mon{width:96px;height:96px;margin:-15px -20px -15px -18px;image-rendering:pixelated;flex:none}
#work-rewards .t1-rec-line.ra :is(.ra-pl,.ra-ar){font:900 26px/1 var(--font-body);font-style:normal;color:#FFC93C;flex:none}
#work-rewards .t1-rec-line.ra .ra-pl::before{content:'+'}
#work-rewards .t1-rec-line.ra .ra-ar::before{content:'\2192'}
#work-rewards .t1-rec-line.ra .ra-dot{width:7px;height:7px;border-radius:50%;background:#FFC93C;margin:0 6px;flex:none}
#work-rewards .t1-rec-line.ra .ra-bag{display:inline-grid;place-items:center;align-content:center;gap:3px;min-width:76px;height:58px;box-sizing:border-box;border:2px solid #FFC93C;border-radius:10px;background:#2b2638;font:900 22px/1 var(--font-body);color:#FFF1C2;margin-right:6px}
#work-rewards .t1-rec-line.ra .ra-bag::before{content:'\AC00\BC29';font-size:14px;color:#d8c9a0}
#work-rewards .t1-rec-line.ra .ra-bag::after{content:attr(data-n)}
#work-rewards .t1-rec-line.ra .ra-g::before{content:'G';font:900 26px/1 var(--font-body);color:#FFC93C}
/* 844: 효과 수치 밑은 24px뿐 → 위쪽 꼬리표 바로 밑(꼬리표는 등급 줄 높이로 올려 번호 위에 겹침, 띠와 안 겹침) */
body:is(.mobile-ui,.tft1m) #work-rewards .fbp-layer [data-fbp-pick].t1-rec-art .t1-rec{top:-28px} /* 감싸는 틀 위쪽이 카드 위 30px 아래라 -28 = 카드 위 2px(등급 줄 높이) */
body:is(.mobile-ui,.tft1m) #work-rewards .fbp-layer [data-fbp-pick] .t1-rec-line.ra{top:29px!important;bottom:auto!important;left:3%;right:3%;padding:2px 3px;border-width:1.5px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-row{height:24px;gap:1px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-ic{width:32px!important;height:32px!important;margin:-4px -4px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra :is(.ra-ic.ra-png,.ra-ic.ra-coin){width:24px!important;height:24px!important;margin:0 0 0 2px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-mon{width:48px;height:48px;margin:-12px -10px -12px -9px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra :is(.ra-pl,.ra-ar){font-size:14px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-dot{width:4px;height:4px;margin:0 3px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-bag{min-width:40px;height:24px;grid-auto-flow:column;gap:2px;padding:0 4px;font-size:12px;border-width:1.5px;border-radius:6px;margin-right:3px}
body:is(.mobile-ui,.tft1m) #work-rewards .t1-rec-line.ra .ra-bag::before{font-size:9px}

/* 04-B 11-15 사용자 '이거 카드가 이상함'(관장 고르기, 성도 이향 7/8): ① 팀이 많으면(이향 10마리) 정보 창이 카드보다 길어져 '도전!'을 덮음 → 팀 칸을 2줄 이하(열 = max(4, 팀/2))로,
   단추 줄을 정보 창 위로 ② 타입 원 아이콘만으로는 뜻이 안 보임(용 = 되돌리기 화살표처럼 보임) → 원 옆에 타입 이름 ③ 정보 창 부제가 '라이징배' + '지'로 끊김 → 낱말 단위 줄바꿈 */
#work-gyms.t1gc .g3-info .sub{word-break:keep-all;overflow-wrap:normal}
#work-gyms.t1gc .g3-info .team{display:grid;grid-template-columns:repeat(var(--tc,4),minmax(0,calc(46px * var(--k))));gap:calc(4px * var(--k))}
#work-gyms.t1gc .g3-info .team .pic{width:auto!important;height:auto!important;aspect-ratio:1}
#work-gyms.t1gc .g3-type:has(.g3-tn){display:inline-flex;align-items:center;gap:calc(6px * var(--k));width:auto;padding:0 calc(14px * var(--k)) 0 0;border-radius:999px;background:color-mix(in srgb,var(--tc,#888) 82%,#000)}
#work-gyms.t1gc .g3-type:has(.g3-tn) img{width:calc(50px * var(--k));height:calc(50px * var(--k));flex:none}
#work-gyms.t1gc .g3-type .g3-tn{font:900 calc(20px * var(--k))/1 var(--font-head,sans-serif);font-style:normal;color:#fff;text-shadow:0 calc(2px * var(--k)) 0 #0009;white-space:nowrap}
html body #work-gyms.t1gc .work-gym-controls>[data-action=confirm]{z-index:6}
html body #work-gyms.t1gc .work-gym-controls.has-sel>.g3-undo{position:relative;z-index:6} /* 정보 창(z 1, 뒤에 붙음)이 길어져도 '다시 고르기·도전!'이 위 */
/* 04 11-15 사용자 'UI 크기 줄이는데 정작 게임 UI들은 안 줄어듦'(관리자 지시): 설정 > 화면 > UI 크기가 게임 HUD에도 — 위 믹스인이 그룹 기준점(--hax,--hay, 1920×1080 설계 좌표)을 중심으로 --hz배.
   위·왼쪽·오른쪽 묶음 = --hzT(PC .8/.9/1/1.08/1.15), 아래 묶음(상점 5장·벤치 9칸·XP·새로고침·전투 단추·가방·주머니) = --hzB: 줄일 땐 화면 아래 기준, 키울 땐 묶음 윗변 기준으로 아래로만(판을 안 가림, 화면 아래까지 상한 1.05).
   전투판은 그대로. 값은 console-v51.js applyUiSize가 body에 넣음(저장 = 기존 uiSize). 휴대폰 UI(hud85m)는 아래 휴대폰 절 */
body.tft1:not(.mobile-ui) :is(#hud-round,#t1-strip){--hz:var(--hzT,1);--hax:960;--hay:0}
body.tft1:not(.mobile-ui) :is(#hud-stats,#hud-left,#coach-btn){--hz:var(--hzT,1);--hax:0;--hay:0}
body.tft1:not(.mobile-ui) :is(#speed-btn,#t1-menu){--hz:var(--hzT,1);--hax:1920;--hay:0}
body.tft1:not(.mobile-ui) :is(#shared-shop-dock,#pc-equipment-icons,#cv-pouch,#cv-blog-open){--hz:var(--hzB,1);--hax:960;--hay:calc(var(--hzBa,1080) + var(--t1by,0))}
body.tft1.playing.hud-combat:not(.mobile-ui) :is(#fight-clock,#tempo-gauge:not(.tempo-float)){scale:var(--hzT,1);transform-origin:0 0}
body.tft1.playing.hud-combat:not(.mobile-ui) #fight-clock#fight-clock#fight-clock,body.tft1.playing.hud-combat:not(.mobile-ui) #tempo-gauge#tempo-gauge#tempo-gauge:not(.tempo-float){top:calc(16*var(--hzT,1)*var(--t1k)*1px)!important}
/* 04 11-15 UI 크기 → 휴대폰 HUD(tft1m·hud85m, 위 1535행 믹스인): 틀만 준비, 지금 --hzM = 1(상점 묶음이 화면 전체 한 덩어리라 통째 배율 불가, console-v51.js UI_HUD.mobile). 왼쪽 열 = 왼쪽 위 기준, 오른쪽 위 = 오른쪽 위 기준, 아래 상점 묶음 = 아래 가운데 기준 */
body.tft1m.hud85m :is(#hud-round,#mobile-life,#journey-btn,#mobile-stage,#mobile-synergy,#coach-btn,#type-chart-btn,#cv-pouch){--hz:var(--hzM,1);--hax:0;--hay:0}
body.tft1m.hud85m :is(#speed-btn,#t1-menu,#dock-wallet){--hz:var(--hzM,1);--hax:844;--hay:0}
/* 04 11-15 UI 크기 → 휴대폰 상점 묶음 칸별(관리자 6번 '제안대로'): #shared-shop-dock은 화면 전체 한 덩어리라 통째 배율 대신 칸마다 기준점(--ax,--ay, 844×390 설계 좌표) 둘레로 --hzM배.
   위치 = 기준점 + (원래 왼쪽 위 −기준점)×배율 → scale(원점 왼쪽 위) + translate((기준점−원래)×(1−배율)). 줄이는 쪽만(.86/.93/1/1/1). 판 쪽으로는 안 움직임 */
html.uihz-m body.tft1m.hud85m #app #hud #shared-shop-dock#shared-shop-dock :is(#shop-cards#shop-cards#shop-cards,#lock-btn#lock-btn#lock-btn,#xp-btn#xp-btn#xp-btn,#reroll-btn#reroll-btn#reroll-btn,.work-bag-button,#bench#bench#bench,#battle-btn#battle-btn#battle-btn,#hud-deploy-count#hud-deploy-count#hud-deploy-count,#hud-level#hud-level#hud-level),html.uihz-m body.tft1m.hud85m #t1-odds-m#t1-odds-m#t1-odds-m{ /* 배율 1이면 이 규칙 자체가 꺼짐(단추 눌림 원점 등 그대로) */scale:var(--hzM,1)!important;transform-origin:0 0!important;translate:calc((var(--ax) - var(--px))*(1 - var(--hzM,1))*var(--m85k,1)*1px) calc((var(--ay) - var(--py))*(1 - var(--hzM,1))*var(--m85k,1)*1px)!important}
html body.tft1m.hud85m #shop-cards#shop-cards{--px:640;--py:92;--ax:844;--ay:0}
html body.tft1m.hud85m #lock-btn#lock-btn{--px:640;--py:4;--ax:844;--ay:0}
html body.tft1m.hud85m #hud-level#hud-level{--px:640;--py:54;--ax:844;--ay:0}
html body.tft1m.hud85m #xp-btn#xp-btn{--px:8;--py:338;--ax:0;--ay:390}
html body.tft1m.hud85m #reroll-btn#reroll-btn{--px:80;--py:338;--ax:0;--ay:390}
html body.tft1m.hud85m .work-bag-button.work-bag-button{--px:8;--py:216;--ax:0;--ay:0}
html body.tft1m.hud85m #bench#bench{--px:172;--py:342;--ax:386;--ay:390}
html body.tft1m.hud85m #battle-btn#battle-btn{--px:640;--py:338;--ax:844;--ay:390}
html body.tft1m.hud85m #hud-deploy-count#hud-deploy-count{--px:648;--py:73;--ax:844;--ay:0} /* #dock-start 자식이지만 레벨 판 줄에 그려짐 → 레벨 판과 같은 기준 */
html body.tft1m.hud85m #t1-odds-m#t1-odds-m{--px:184;--py:6;--ax:397;--ay:0}
/* 04 11-15 관리자 7번: 메가진화 창 202 계열 시안(html.megaui-202 = ?megaui=202, 기본 꺼짐 — 11-06 승인 종이 판 그대로). 자리·크기·흐름·글 무변경, 겉만:
   창 = 202 보상 창 톤 차콜 판, 제목 = 금 글자, 탭 = 202 보조/주 단추 9조각, 스톤 칩 = 202 효과 알약, 메가 카드 = 202 카드 9조각 + 금 받침, '전장에 없음' = 202 분류 딱지. 새 그림 없음 */
html.megaui-202 body #mega-panel#mega-panel#mega-panel .journey-panel{background:linear-gradient(#26231f,#1b1916)!important;border:2px solid #4a443d!important;border-image:none!important;border-radius:14px!important;box-shadow:0 18px 48px #000c,inset 0 1px 0 #ffffff14!important;color:#f3f1ea!important;--c-text:#f3f1ea;--c-dim:#b9b2a6;--c-line:#4a443d;--c-accent:#ffc93c}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .journey-panel>small{color:#c9a85a!important;letter-spacing:.12em}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .journey-panel>h2{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;color:#ffd76a!important;text-shadow:0 2px 0 #000,0 0 12px #ffb40055!important;display:flex;align-items:center;justify-content:center;gap:10px}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .journey-panel>h2::before{content:'';width:34px;height:34px;background:url(assets/ui/reward-202/parts/2x/reward_header_icon.png) center/contain no-repeat;image-rendering:auto}
html.megaui-202 body #mega-panel#mega-panel#mega-panel :is(#mega-help,#mega-close){border-radius:8px!important;box-shadow:0 0 0 2px #6a625a,0 3px 0 #000a!important;background:#2c2a28!important;color:#f3f1ea!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .mgt-bar button{border:solid transparent!important;border-width:12px 18px!important;border-image:url(assets/ui/reward-202/parts/2x/reward_button_secondary_normal.png) 24 36 fill/12px 18px!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#f3f1ea!important;padding:0!important;line-height:16px}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .mgt-bar button:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true]){border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_primary_normal.png)!important;color:#2a1a00!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .mgt-bar button:hover:not(:is(.on,.selected,.active,[aria-pressed=true],[aria-selected=true])){border-image-source:url(assets/ui/reward-202/parts/2x/reward_button_secondary_hover.png)!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel :is(p.mgt-res,small.mgt-res){color:#d8d2c6!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .mega-stones>span{background:none!important;border:solid transparent!important;border-width:10px 15px!important;border-image:url(assets/ui/reward-202/parts/2x/reward_effect_pill.png) 52 76 fill/10px 15px!important;border-radius:0!important;box-shadow:none!important;color:#f3f1ea!important;padding:0 2px!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel .mega-stones>span small{color:#c9c2b4!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card{background:#2c2a28 padding-box!important;border:solid transparent!important;border-width:10px 8px!important;border-image:url(assets/ui/reward-202/parts/2x/reward_card_normal.png) 80 60 fill/10px 8px!important;border-radius:0!important;box-shadow:none!important;color:#f3f1ea!important;filter:drop-shadow(0 6px 10px #0009)}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card:hover{border-image-source:url(assets/ui/reward-202/parts/2x/reward_card_hover.png)!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card :is(b,small,.mg-reason,td,th){color:inherit!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card :is(.mg-info,.mg-info *,.mg-reason,small){color:#c9c2b4!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mega-preview{background:radial-gradient(ellipse 34% 22% at 70% 34%,#ffc93c30,transparent 70%)!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mg-badge{background:none!important;border:solid transparent!important;border-width:3px 8px!important;border-image:url(assets/ui/reward-202/parts/2x/reward_category_tag.png) 24 38 fill/3px 8px!important;line-height:1.1!important;text-shadow:0 1px 0 #000;border-radius:0!important;color:#ffd76a!important;box-shadow:none!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card table.mg-star :is(th,td){border-color:#4a443d!important;background:none!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card table.mg-star :is(th,td):is(.on,.cur,[data-on]){color:#ffd76a!important;background:#ffc93c1a!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mega-preview{column-gap:2px!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mega-preview>img:first-of-type{width:60px!important;height:60px!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mega-preview>img:last-of-type{width:72px!important;height:72px!important}
/* 관리자 11-15: 상태 딱지가 이름을 가림 → 카드 오른쪽 위 모서리 밖(윗변 위)으로 */
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card{overflow:visible!important;margin-top:24px!important}
html.megaui-202 body #mega-panel#mega-panel#mega-panel article.mg-card .mg-badge{position:absolute!important;top:-22px!important;right:4px!important;left:auto!important;bottom:auto!important;z-index:2;white-space:nowrap}
/* 04 11-15 기존 실패 type-chart-354 정리(관리자): tft1 HUD에선 '상성' 단추가 왼쪽 열(AI 옆)로 옮겨져, 열린 상성표 패널(왼쪽 사이드, z60)이 단추를 덮어 '다시 누르면 닫힘'이 안 됐음
   → PC tft1(휴대폰 아님)은 패널을 왼쪽 열 단추(AI·상성, x 24~123) 오른쪽부터(132px × 화면 배율). 판 왼쪽 끝(약 500px)은 안 가림. 휴대폰은 패널 아래 끝(235)이 단추(268) 위라 그대로 */
html body.tft1:not(.mobile-ui):not(.tft1m) #type-chart#type-chart:not(.m){left:calc(132px * var(--t1k,1))!important}
