/* 招募页辅助入口：用户选定第 2 版迷你胶囊，保持两侧分组，降低立绘遮挡。 */
#lotteryOverlay .recruit-utility-dock {
    position: fixed;
    bottom: 124px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    pointer-events: none;
    z-index: 10;
}
#lotteryOverlay .recruit-utility-group {
    display: grid;
    grid-template-rows: repeat(2, 30px);
    align-items: center;
    justify-items: start;
    gap: 3px;
    pointer-events: auto;
}
#lotteryOverlay .recruit-utility-group:last-child { justify-items: end; }
#lotteryOverlay .recruit-utility-dock .lottery-pity-counter {
    position: absolute;
    bottom: calc(100% + 7px);
    left: 0;
    max-width: 100%;
    box-sizing: border-box;
}
#lotteryOverlay .lottery-side-btn {
    display: inline-flex;
    min-width: 76px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border: 1px solid rgba(201, 216, 211, 0.17) !important;
    border-radius: 99px;
    background: rgba(12, 27, 36, 0.45) !important;
    box-shadow: none !important;
    color: #d4d9d5 !important;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1px;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 1px 4px #000, 0 0 8px #0009;
    transform: none !important;
    backdrop-filter: none !important;
}

#lotteryOverlay .lottery-side-btn:hover,
#lotteryOverlay .lottery-side-btn:focus-visible {
    border-color: rgba(201, 216, 211, 0.4) !important;
    background: rgba(16, 27, 32, 0.65) !important;
    color: #fff7e6 !important;
}

#lotteryOverlay .recruit-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

#lotteryOverlay .recruit-tab-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    line-height: 1;
}

#lotteryOverlay .recruit-tab-icon .jp-icon {
    width: 14px;
    height: 14px;
}

#lotteryTabPremium .recruit-tab-icon { color: #db9ff1; }
#lotteryTabWeapon .recruit-tab-icon { color: #eea07a; }
#lotteryTabCharacter .recruit-tab-icon { color: #e7c86e; }
#lotteryTabPermanent .recruit-tab-icon { color: #aac5e0; }
#lotteryTabSkin .recruit-tab-icon { color: #f2a9c5; }
#lotteryTabCharacter.active-character .recruit-tab-icon { color: #32280d; }

#ltAdTenInner .lottery-ad-ten-label {
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* 角色池定轨候选 12 项（珍品只有 7 项），且定轨行固定在底部 240px：
   菜单若向下展开会超出屏幕且无法点到最后几项，因此改为向上展开并限制高度、超出部分内部滚动。 */
#ltPermanentTargetRow .premium-target-menu {
    top: auto;
    bottom: 39px;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

#ltPermanentTargetRow .premium-target-btn:disabled,
#ltPermanentTargetRow .premium-target-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 380px) {
    #lotteryOverlay .recruit-tab {
        gap: 2px;
    }
    #lotteryOverlay .recruit-tab-icon,
    #lotteryOverlay .recruit-tab-icon .jp-icon {
        width: 12px;
        height: 12px;
    }
}
