#limboPickerModal {
    position: fixed;
    inset: 0;
    z-index: 6200;
    background: rgba(5, 6, 11, 0.96);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, 3vw, 28px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
#limboPickerModal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lp-panel {
    width: min(940px, 100%);
    max-height: min(88dvh, 760px);
    background: rgba(12, 14, 22, 0.98);
    border: 1px solid rgba(255, 30, 64, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: "Rajdhani", "Segoe UI", sans-serif;
}
.lp-header { padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.lp-title-wrap h2 { font-family: "Rajdhani", sans-serif; font-size: clamp(18px, 4vw, 24px); font-weight: 700; letter-spacing: 2px; color: #fff; text-transform: uppercase; }
.lp-title-wrap p { font-size: 12px; color: #a1a1aa; margin-top: 2px; }
.lp-header-right { display: flex; align-items: center; gap: 10px; }
.lp-counter { padding: 5px 12px; border-radius: 999px; font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 1px; background: rgba(255, 30, 64, 0.14); border: 1px solid rgba(255, 30, 64, 0.5); color: #ff5c77; white-space: nowrap; }
.lp-counter.ready { background: rgba(0, 255, 255, 0.14); border-color: #00ffff; color: #00ffff; }
.lp-close { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #d4d4d8; border-radius: 6px; cursor: pointer; font-size: 15px; }
.lp-close:hover { background: #ff1e40; color: #fff; border-color: #ff1e40; }

.lp-grid {
    flex: 1; min-height: 0; overflow-y: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch;
    padding: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; align-content: start;
}
.lp-grid::-webkit-scrollbar { width: 5px; }
.lp-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }

.lp-item {
    display: flex; align-items: center; gap: 12px; padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px; cursor: pointer; text-align: left; color: #fff;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}
.lp-item:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.lp-item.selected { background: rgba(255, 30, 64, 0.16); border-color: #ff1e40; }
.lp-item img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #141620; }
.lp-item-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lp-item-meta b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-item-meta em { font-style: normal; font-size: 12px; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-badge { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: transparent; flex-shrink: 0; }
.lp-item.selected .lp-badge { background: #ff1e40; border-color: #ff1e40; color: #fff; }

.lp-footer { padding: 14px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0; background: rgba(8, 10, 16, 0.94); }
.lp-actions-left { display: flex; gap: 8px; }
.lp-btn {
    padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06); color: #e4e4e7; font-family: "Rajdhani", sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
    display: inline-flex; align-items: center; gap: 7px; transition: background-color 0.2s ease;
}
.lp-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.lp-btn-start { background: linear-gradient(135deg, #ff1e40, #ff4d6a); border-color: #ff4d6a; color: #fff; padding: 11px 26px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.lp-btn-start:disabled { background: #1f2430; border-color: #2f3646; color: #6b7280; cursor: not-allowed; }

#limboOverlay {
    position: fixed; inset: 0; z-index: 6000; background: #030408;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease; overflow: hidden;
}
#limboOverlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
#limboOverlay::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 35%, rgba(0, 2, 8, 0.88) 88%);
    pointer-events: none; z-index: 6010;
}
#limboCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#limboCloseBtn {
    position: absolute; top: clamp(14px, 2.6vh, 22px); left: clamp(16px, 4vw, 32px); z-index: 6100;
    width: 44px; height: 44px; background: rgba(9, 9, 13, 0.8); border: 1px solid rgba(255, 255, 255, 0.16);
    color: #d4d4d8; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
#limboCloseBtn:hover { background: #ff1e40; color: #fff; border-color: #ff1e40; }

#limboStatusPill {
    position: absolute; top: max(20px, env(safe-area-inset-top, 20px)); left: 50%; transform: translateX(-50%);
    z-index: 6080; padding: 6px 16px; border-radius: 999px; background: rgba(8, 11, 18, 0.82);
    border: 1px solid rgba(255, 30, 64, 0.45); color: #ff6680; font-family: "Rajdhani", sans-serif;
    font-size: clamp(11px, 3vw, 13px); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    pointer-events: none; white-space: nowrap;
}
#limboStatusPill.focus-on { color: #ffffff; border-color: #ffffff; }
#limboFlash { position: absolute; inset: 0; background: #ffffff; opacity: 0; pointer-events: none; z-index: 6090; }

#limboWinnerCard {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.78);
    width: min(88dvw, 390px); background: rgba(8, 11, 18, 0.96); border: 2px solid #00ffff;
    border-radius: 16px; padding: 26px 22px; text-align: center;
    box-shadow: 0 0 26px rgba(0, 255, 255, 0.25); opacity: 0; pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    z-index: 6120; will-change: transform, opacity; cursor: pointer;
}
#limboWinnerCard.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
#limboWinnerCover { width: 138px; height: 138px; border-radius: 12px; object-fit: cover; margin: 0 auto 14px; display: block; border: 2px solid var(--limbo-win-color, #00ffff); }
#limboWinnerLabel { font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #00ffff; margin-bottom: 6px; }
#limboWinnerTitle { font-size: clamp(20px, 5.5vw, 28px); font-weight: 900; color: #ffffff; line-height: 1.2; }
#limboWinnerArtist { font-size: 15px; color: #a1a1aa; margin-top: 4px; font-weight: 600; }
#limboWinnerSub { margin-top: 14px; font-family: 'Consolas', monospace; font-size: 11px; letter-spacing: 1px; color: #00ffff; opacity: 0.85; }