/* 그림자 영웅 - full-set effects (js/setforms.js, 2026-11-28): the S window (보스 스킬 for ↑ + X, plus 보스 변신 / 적 변신 rows), its touch button,
   and the sealed skill tiles of 그림자의 계승 / 보스 변신 (a cross over the tile). */
.set-menu{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(6,8,12,.62);font-family:var(--sans);-webkit-user-select:none;user-select:none}
.set-menu[hidden]{display:none}
.set-menu-box{display:flex;flex-direction:column;gap:8px;width:min(720px,100%);max-height:100%;padding:12px 14px;border:1px solid #6d5a38;border-radius:6px;background:#11151cf2;color:#e9edf1;box-shadow:0 8px 30px rgba(0,0,0,.6);box-sizing:border-box}
.set-menu-box header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.set-menu-title{font:700 16px/1.2 var(--sans);color:#f2dfae}
.set-menu-close{flex:none;width:32px;height:32px;border:1px solid #4a5464;border-radius:4px;background:#1b222d;color:#e9edf1;font:700 15px/1 var(--sans);touch-action:manipulation}
.set-menu-hint,.set-menu-note{margin:0;color:#a9b4c0;font-size:12px;line-height:1.4}
.set-menu-note{color:#c9b58c}
.set-menu-list{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:1px}
.set-menu-sec-title{margin:0 0 5px;font:700 12.5px/1.2 var(--sans);color:#f2dfae}
.set-menu-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.set-menu-item{display:grid;justify-items:center;align-content:start;gap:2px;min-width:0;padding:6px 3px 5px;border:1px solid #39424f;border-radius:5px;background:#1a202a;color:#e9edf1;font:inherit;touch-action:manipulation;cursor:pointer}
.set-menu-item:hover{border-color:#7c8796}
.set-menu-item.on{border-color:#f0c46a;background:#3a2f1a;box-shadow:0 0 0 1px #f0c46a inset}
.set-menu-item[data-current="true"]{box-shadow:inset 0 -3px #8fd0ff}
.set-menu-item.on[data-current="true"]{box-shadow:0 0 0 1px #f0c46a inset,inset 0 -3px #8fd0ff}
.set-menu-item[data-off="true"]{opacity:.55}
.set-menu-pic{display:flex;align-items:flex-end;justify-content:center;width:48px;height:48px}
.set-menu-pic img{width:100%;height:100%;object-fit:contain;display:block}
.set-menu-thumb{width:48px;height:48px;display:block}
.set-menu-item b{max-width:100%;font:600 12px/1.2 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set-menu-item small{max-width:100%;color:#a9b4c0;font-size:10.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:640px){.set-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.potion-shortcut.set-menu-btn{border-color:#d6b36a}
.potion-shortcut.set-menu-btn .set-menu-mark{color:#f2d28a;font-size:clamp(13px,calc(var(--u)*14),19px);line-height:1}
.potion-shortcut.set-menu-btn .potion-count{font-size:clamp(8px,calc(var(--u)*8),11px);white-space:nowrap;max-width:100%;overflow:hidden}

/* sealed skills (그림자의 계승 · 보스 변신): dimmed, with a red cross over the tile */
#skill-banner .skill-tile[data-state="sealed"]{position:relative;border-color:#5a2a2a;background:#160d10e8;color:#8f8a90}
#skill-banner .skill-tile[data-state="sealed"] .skill-command{color:#8f8a90}
#skill-banner .skill-tile[data-state="sealed"]::after{content:"";position:absolute;inset:2px;pointer-events:none;
  background:linear-gradient(to top right,transparent calc(50% - 1.2px),#e0473a calc(50% - 1.2px),#e0473a calc(50% + 1.2px),transparent calc(50% + 1.2px)),
             linear-gradient(to bottom right,transparent calc(50% - 1.2px),#e0473a calc(50% - 1.2px),#e0473a calc(50% + 1.2px),transparent calc(50% + 1.2px))}
