/* 战斗界面三格：放在技能栏上方，不占「剑气」「遁影」「一次性技能」原位 */
#slotBar { position: absolute; right: calc(8px + var(--safe-r, 0px)); bottom: calc(124px + var(--safe-b, 0px)); display: flex; gap: 8px; z-index: 7; pointer-events: auto; }
.slot-btn { position: relative; width: 50px; height: 50px; padding: 0; border-radius: 12px; border: 1.5px solid rgba(255, 200, 140, .6); background: linear-gradient(160deg, rgba(74, 42, 26, .9), rgba(30, 16, 36, .92)); color: #FFE9C2; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 1px var(--rc, transparent), 0 5px 14px rgba(0, 0, 0, .42); }
.slot-btn:active { transform: scale(.92); }
.slot-btn.empty { opacity: .78; border-style: dashed; }
.slot-btn .mp-icon { font-size: 22px; opacity: .85; }
.slot-btn em { font-style: normal; font-size: 9px; line-height: 1; margin-top: 2px; max-width: 46px; overflow: hidden; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.slot-ico { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: #FFD08A; }
.slot-ico img, .slot-ico .item-art { width: 26px; height: 26px; object-fit: contain; }
.slot-ico .mp-icon { font-size: 22px; }
.slot-btn u { position: absolute; right: -4px; bottom: -4px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: #C9751F; color: #FFF6E2; font-size: 11px; font-weight: 900; line-height: 17px; text-align: center; text-decoration: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.slot-cd { position: absolute; inset: 0; border-radius: 12px; background: rgba(12, 6, 18, .72); display: none; align-items: center; justify-content: center; color: #FFE0A3; font-size: 17px; font-weight: 800; }
.slot-btn.cooling { filter: grayscale(.7); }
.slot-btn.cooling .slot-cd { display: flex; }
#slotPicker .bag-card { width: min(92vw, 360px); max-height: 80vh; overflow-y: auto; }
.slot-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 200, 140, .4); background: rgba(40, 22, 48, .85); color: #FFF1DC; text-align: left; }
.slot-opt b { display: block; font-size: 14px; }
.slot-opt small { display: block; margin-top: 2px; font-size: 11px; opacity: .8; }
.slot-opt:active { filter: brightness(1.2); }
.slot-none { margin: 14px 0 4px; font-size: 12px; text-align: center; color: rgba(255, 226, 196, .7); }
/* 首页「道具行囊」里的三格携带区，复用战斗界面的格子外观 */
.carry-bar { display: flex; gap: 16px; justify-content: center; margin: 12px 0 6px; }
.carry-bar .slot-btn { width: 64px; height: 64px; }
.carry-bar .slot-ico, .carry-bar .slot-ico img { width: 30px; height: 30px; }
.carry-bar .slot-btn em { font-size: 11px; max-width: 60px; }
.carry-tip { display: block; text-align: center; margin-bottom: 8px; opacity: .7; }
/* 盖过 .xiu-view button 的通用样式，让首页三格和战斗界面一致 */
.xiu-view .carry-bar .slot-btn { width: 64px; height: 64px; min-height: 64px; padding: 0; border-radius: 12px; border: 1.5px solid rgba(255, 200, 140, .6); background: linear-gradient(160deg, rgba(74, 42, 26, .9), rgba(30, 16, 36, .92)); color: #FFE9C2; touch-action: manipulation; -webkit-touch-callout: none; }
.xiu-view .carry-bar .slot-btn.empty { border-style: dashed; }
.xiu-view .carry-bar .slot-btn em { margin-top: 3px; }
.xiu-view .carry-bar .slot-btn u { right: -5px; bottom: -5px; }
.xiu-view .xiu-row button[data-cq], .xiu-view .xiu-row button[data-cput] { flex: none; min-width: 64px; }
