/* v5.2 - three exact poster images, buttons mapped to painted regions. */
#screen-wardrobe.poster-active.active{background:#0c075a!important;overflow-y:auto!important;overflow-x:hidden!important;height:100dvh!important;overscroll-behavior:contain!important;}
#screen-wardrobe.poster-active .v49-wardrobe-board{width:100%!important;height:auto!important;overflow:visible!important;}
#screen-wardrobe.poster-active .wardrobe-v39{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:941 / 1672!important;overflow:visible!important;background:transparent!important;position:relative!important;}
#screen-wardrobe.poster-active .wardrobe-v39>:not(#premium-poster-layer){display:none!important;}
#screen-wardrobe.poster-active #premium-poster-layer{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;overflow:hidden!important;}
#screen-wardrobe.poster-active .premium-poster-layer img.poster-art{position:absolute;width:100%;height:100%;inset:0;display:block;user-select:none;-webkit-user-drag:none;pointer-events:none;}
#screen-wardrobe.poster-active .poster-hotspot{position:absolute;display:block;padding:0!important;margin:0!important;border:0!important;border-radius:10px;background:transparent!important;box-shadow:none!important;outline:none;color:transparent!important;cursor:pointer;-webkit-tap-highlight-color:rgba(255,230,120,.18);touch-action:manipulation;z-index:5;}
#screen-wardrobe.poster-active .poster-hotspot:focus-visible{outline:3px dashed yellow!important;outline-offset:0px;}
#screen-wardrobe.poster-active .poster-hotspot:active{box-shadow:inset 0 0 0 4px #fff66b!important;background:rgba(255,255,255,.13)!important;}
#screen-wardrobe.poster-active .poster-hotspot.selected:not(.poster-item)::after{content:'';position:absolute;inset:0;border-radius:15px;box-shadow:inset 0 0 0 3px #fff74d,0 0 14px #ffd800;pointer-events:none;}
#screen-wardrobe.poster-active .poster-medal-live{position:absolute!important;left:72.5%;top:5.10%;width:8.5%;height:3.4%;border-radius:999px;background:#081964!important;color:white!important;font-weight:1000;font-size:clamp(13px,4.5vw,26px);display:grid;place-items:center;z-index:12;line-height:1;pointer-events:none;}
#screen-wardrobe.poster-active .poster-item.is-equipped::after{content:'✓';position:absolute;right:7%;top:1%;border:2px solid #fff19a;border-radius:50%;background:#00a67c;color:white;text-shadow:1px 2px #005d41;font-size:clamp(12px,4vw,24px);line-height:1.35;width:1.35em;height:1.35em;display:grid;place-items:center;box-shadow:0 2px 8px #0549;pointer-events:none;}
#screen-wardrobe.poster-active .poster-equip-state{position:absolute;top:55%;left:79%;right:5%;height:2.2%;text-align:center;z-index:6;color:white;background:#009c8a;border-radius:20px;font-weight:900;font-size:clamp(9px,2.5vw,14px);display:grid;place-items:center;pointer-events:none;border:1px solid white;}
#screen-wardrobe.poster-active .poster-equip-state[hidden]{display:none!important;}
#screen-wardrobe.poster-active .poster-hotspot.poster-slot.selected::after{content:'';position:absolute;inset:2px;border:3px solid #ffe841;border-radius:18px;box-shadow:0 0 13px #ffd22e;}
#screen-wardrobe.poster-active .poster-hotspot.poster-item.slot-filtered{opacity:.5;pointer-events:none;}
#screen-wardrobe.poster-active .poster-hotspot.poster-item.slot-filtered::after{content:'';position:absolute;inset:2px;border-radius:12px;background:rgba(18,18,54,.22);}
#screen-wardrobe.poster-active .poster-english-label{display:none;}
html[lang='en'] #screen-wardrobe.poster-active .poster-hotspot[data-label-en] .poster-english-label{display:flex!important;position:absolute;inset:4px;align-items:center;justify-content:center;max-width:100%;background:linear-gradient(135deg,#061866,#1166c9);color:#fff;font-weight:900;text-shadow:1px 2px #04125a;font-size:clamp(9px,2.7vw,15px);white-space:normal;line-height:1.15;text-align:center;border:2px solid #45f1ff;border-radius:10px;box-shadow:0 1px 7px #03204a;}
html[lang='en'] #screen-wardrobe.poster-active .poster-hotspot.poster-equip .poster-english-label{font-size:clamp(15px,4vw,25px);background:linear-gradient(120deg,#ffad2c,#dc19d3);border-color:#ffef72;}
html[lang='en'] #screen-wardrobe.poster-active .poster-hotspot.poster-set .poster-english-label{font-size:clamp(10px,3vw,17px);}
html[lang='en'] #screen-wardrobe.poster-active .poster-hotspot.poster-item .poster-english-label{inset:37% 2% 17%;font-size:clamp(9px,2.2vw,14px);background:#f5fbff;color:#162768;text-shadow:none;border:0;box-shadow:none;}
html[lang='en'] #screen-wardrobe.poster-active .poster-hotspot.poster-item .poster-english-label:after{content:'EQUIP';display:block;position:absolute;bottom:-45%;left:5%;right:5%;background:linear-gradient(#12dab0,#007d82);border:1px solid white;border-radius:15px;font-size:clamp(8px,2.3vw,14px);color:white;padding:3px;}
#screen-wardrobe.poster-active .poster-hotspot.poster-bgm .poster-english-label{background:linear-gradient(#219cfa,#1436a6)!important;}
#screen-wardrobe.poster-active .poster-label-boot{position:absolute;left:25%;right:25%;bottom:1%;z-index:5;text-align:center;background:rgba(5,12,81,.8);color:white;border-radius:40px;padding:3px;font-size:11px;pointer-events:none;}
/* Image has its own JP/EN in the upper-right. Route touches to the real language switch. */
body:has(#screen-wardrobe.poster-active.active) #lang-toggle{display:none!important;}

/* v5.3: cover the baked “100円セット” wording with an accessible live Premium tab. */
#screen-wardrobe.poster-active .poster-hotspot[data-poster-act="genre:premium"]::before{
 content:'プレミアム'; position:absolute; inset:3% 2%; z-index:5;
 display:flex; align-items:center; justify-content:center;
 background:linear-gradient(180deg,#fff9a1 0%,#fbd139 42%,#ff9c14 100%);
 color:#442268; border:2px solid #fffac3; border-radius:13px;
 font-size:clamp(12px,3.6vw,22px); font-weight:1000;letter-spacing:-.04em;
 text-shadow:0 1px 1px #ffe87c; box-shadow:inset 0 -3px 0 #dc6818,0 0 9px #ffff84;
 pointer-events:none;
}
html[lang="en"] #screen-wardrobe.poster-active .poster-hotspot[data-poster-act="genre:premium"]::before{content:'Premium';}
html[lang="en"] #screen-wardrobe.poster-active .poster-hotspot[data-poster-act="genre:premium"] .poster-english-label{display:none!important;}
