/*
 * Vote dock: stays pinned under the header (below pink edge). Only the panel body collapses;
 * the handle stays visible so you can always reopen. (Moving the whole dock with top:-100vh hid the handle and broke toggling.)
 */
.vote-slide-dock {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw - 16px, 800px);
    max-width: 800px;
    z-index: 9998;
    top: var(--vote-dock-top, calc(var(--header-pink-edge-bottom, 120px) + 2.35rem));
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Collapsing wrapper: slides content up; handle below is always on screen */
.vote-slide-panel-clip {
    width: 100%;
    max-height: min(72vh, 640px);
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.35s ease;
    opacity: 1;
}

.vote-slide-dock:not(.open) .vote-slide-panel-clip {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.vote-slide-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: auto;
    z-index: auto;
    border-radius: 0 0 14px 14px;
    border: 2px solid #ff69ff;
    border-top: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    background: #1a1a1a;
}

/* Handle: same chrome as welcome tab, centered, flush under panel (one continuous “grip”) */
button.header-welcome-tab.vote-slide-dock-toggle {
    flex-shrink: 0;
    margin-top: -2px;
    border-top: none;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 18px;
    min-width: 7.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 105, 255, 0.2);
}

.vote-slide-dock:not(.open) button.header-welcome-tab.vote-slide-dock-toggle {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    min-width: 0;
    letter-spacing: 0.08em;
}

.vote-slide-dock:not(.open) button.header-welcome-tab.vote-slide-dock-toggle.twitch-pulse {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.vote-panel-inner {
    padding-top: var(--vote-panel-title-pad, 2rem);
}

/* Vote UI hidden: markup and handlers stay for later — remove class vote-panel-hidden from <body> to show again */
body.vote-panel-hidden {
    --site-header-stack: calc(var(--header-pink-edge-bottom, 120px) + var(--vote-welcome-stack-height, 2.35rem));
}
body.vote-panel-hidden .vote-slide-dock {
    display: none !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.dt-paging-input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
}
.dt-paging-input input {
    width: 50px !important;
    text-align: center;
    border: 1px solid #dee2e6;
    display: inline-block;
}

.dt-paging {
    display: inline-block;
    vertical-align: middle;
}
/* Adds a label before the input paging box */
div.dt-paging-input::before {
    content: "Go to page: ";
    margin-right: 5px;
    vertical-align: middle;
}

/* Table Header and Body */
table.dataTable thead th {
    background-color: #121212 !important;
    color: #ff69ff !important;
    border-bottom: 2px solid #ff69ff !important;
}

table.dataTable {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #333 !important;
}

/* Hover effect on rows */
table.dataTable.display tbody tr:hover {
    background-color: #252525 !important;
    color: #ff69ff !important;
}
/* Core Page Theme */
body {
    background-color: #0b0b0b !important; /* Deep black */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Global Link Colors */
a {
    color: #ff69ff;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #ff5c97;
    text-shadow: 0 0 8px rgba(255, 45, 117, 0.6);
}
/* Navbar Styling */
.navbar {
    background-color: #121212 !important;
    border-bottom: 2px solid #ff69ff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.navbar-brand, .nav-link {
    color: #ff69ff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #ff69ff;
}
.card, .container-fluid.main-content {
    background-color: #1a1a1a !important;
    border: 1px solid #333;
    color: white;
}

/* Footer Styling */
footer {
    background-color: #121212;
    border-top: 1px solid #333;
    color: #666;
    padding: 20px 0;
}
.form-control {
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #ff69ff !important;
}

.form-control:focus {
    background-color: #222 !important;
    border-color: #ff69ff !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 45, 117, 0.25) !important;
}

/* Labels */
label {
    color: #ff69ff;
    font-weight: 500;
}
/* Target Primary Buttons (the blue ones) */
.btn-primary, 
button.btn-primary, 
input[type="button"].btn-primary, 
input[type="submit"].btn-primary {
    background-color: #ff69ff !important;
    border-color: #ff69ff !important;
    color: #000000 !important; /* Black text on pink looks sharp */
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Hover & Active States */
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #ff5c97 !important;
    border-color: #ff5c97 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.4) !important;
}

/* Handle Outline Buttons if you use them */
.btn-outline-primary {
    color: #ff69ff !important;
    border-color: #ff69ff !important;
}

.btn-outline-primary:hover {
    background-color: #ff69ff !important;
    color: #000 !important;
}
/* 1. The Active Page Number Box */
.page-item.active .page-link {
    background-color: #ff69ff !important;
    border-color: #ff69ff !important;
    color: #000000 !important; /* Black text on pink active box */
    z-index: 3;
}
/* 2. All Other Page Numbers (1, 2, 3, etc.) */
.page-link {
    background-color: #121212 !important; /* Black background */
    color: #ff69ff !important;           /* Pink text */
    border: 1px solid #333 !important;   /* Subtle dark border */
}

/* 3. Hovering over a page number */
.page-link:hover {
    background-color: #1a1a1a !important;
    color: #ff5c97 !important;
    border-color: #ff69ff !important;
}

/* 4. The Focus Ring (when you click a number) */
.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 255, 0.25) !important;
    background-color: #121212 !important;
}

/* 5. Disabled Buttons (Previous/Next when at start/end) */
.page-item.disabled .page-link {
    background-color: #0b0b0b !important;
    color: #444 !important;
    border-color: #222 !important;
}
*:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 255, 0.25) !important;
    outline: none !important;
}
.nowrap {
    white-space: nowrap !important;
}
.panel-content {
    padding: 20px;
    padding-bottom: 40px; /* Space so content doesn't hit the VOTE button */
}

.panel-content {
    padding: 20px;
    min-height: 150px; /* Forces space for the grid even if empty */
}

.vote-grid .col-4 {
    min-width: 80px;
    text-align: center;
}
/* Pulsing Gold Border for the Winner */
.winner-pulse {
    border: 3px solid #ffd700 !important; /* Gold */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 1); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.6); }
}
/* 1. Override the Bootstrap Info Buttons to Pink */
.btn-info {
    background-color: #ff69ff !important;
    border-color: #ff69ff !important;
    color: #000 !important; /* Black text looks better on hot pink */
    font-weight: bold;
}

.btn-info:hover, .btn-info:active {
    background-color: #ff5c97 !important;
    border-color: #ff5c97 !important;
    box-shadow: 0 0 10px rgba(255, 105, 255, 0.5);
}

/* 2. Force the SQL Labels to Pink */
.text-info {
    color: #ff69ff !important;
}

/* 3. Style the "Option X" text if you want it to pop more */
.text-secondary {
    color: #ffb3ff !important; /* A lighter, softer pink for the sub-text */
}
/* Custom Pink Outline for the MAX Button */
.btn-outline-info {
    color: #ff69ff !important;
    border-color: #ff69ff !important;
    background-color: transparent !important;
    font-weight: bold;
}

/* Hover and Active states */
.btn-outline-info:hover, 
.btn-outline-info:active, 
.btn-outline-info:focus {
    background-color: #ff69ff !important;
    color: #000000 !important; /* Black text on pink background */
    border-color: #ff69ff !important;
    box-shadow: 0 0 10px rgba(255, 105, 255, 0.5) !important;
}
.max-button-glow {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.75) !important; /* Soft gold glow */
}
.result-card:hover {
    border: 2px solid #ff69ff !important; /* This is Hot Pink */
    box-shadow: 0 0 10px rgba(255, 105, 255, 0.75) !important; /* Soft gold glow */
    background-color: #222 !important;
    transform: scale(1.02);
    transition: all 0.2s ease;
}
/* Twitch block: responsive stack lives in Index.cshtml (#twitch-stack); avoid fixed 1114px here */
#twitch-stack {
    box-sizing: border-box;
    width: 100%;
    max-width: 734px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ff69ff;
    border-radius: 10px;
    background: #000;
    overflow: hidden;
    display: block;
}

#twitch-embed-container {
    border: none;
    display: block;
    padding: 5px;
    border-radius: 0;
    background: #000;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    overflow: hidden;
}

#twitch-player {
    width: 100%;
    min-height: 158px;
    aspect-ratio: 16 / 9;
}

#twitch-player iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.bonus-indicator-neon {
    position: absolute;
    top: -25px; /* Moves it ABOVE the points */
    left: 10px;
    background: #ff69ff; /* Your Zetanova Pink */
    color: #000;         /* Black text */
    padding: 1px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 3px;
    box-shadow: 0 0 15px #ff69ff; /* The GLOW */
    animation: flash-glow 1s infinite alternate;
    z-index: 100;
}

@keyframes flash-glow {
    from { opacity: 0.5; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

@keyframes flyUpAndFade {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
}
.diamond-particle {
    position: absolute;
    pointer-events: none;
    z-index: 10000;
    /* We use 'linear' here because we'll handle the 'pop' vs 'drift' in the percentages */
    animation: whaleFountain 3s linear forwards;
}

@keyframes whaleFountain {
    0% {
        transform: translate(0, 0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    /* THE PEAK: Fast burst up to 140px in the first 20% of the time */
    20% {
        opacity: 1;
        transform: translate(var(--scatter-x), -140px) scale(1.3) rotate(var(--rot));
    }
    /* THE DRIFT: Slow movement from 20% to 100% of the time */
    100% {
        opacity: 0;
        /* Slowly drifts 60px further horizontally and 100px down while shrinking */
        transform: translate(calc(var(--scatter-x) * 1.6), -40px) scale(0.3) rotate(calc(var(--rot) * 1.5));
    }
}
.mostly-transparent-grey {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very light 0.15 grey (Crystal clear, no blur) */
    background-color: rgba(0, 0, 0, 0.65); 
    /* Blocks all clicks/interaction */
    pointer-events: all; 
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    /* Removed the blur so they can see the songs perfectly */
}

.coming-soon-text {
    transform: scaleY(1.5); 
    margin-bottom: 300px; 
    font-size: 5rem; /* Big and Bold */
    font-weight: 600;
    color: #fff;
    letter-spacing: 5px;
    text-transform: uppercase;
    user-select: none;
        text-shadow: 
        0 0 5px #fff,          /* Inner white core for sharpness */
        0 0 10px #ff69ff,      /* First pink layer */
        0 0 20px #ff69ff,      /* Second pink layer for spread */
        0 0 40px #ff69ff,      /* Third pink layer for that 'globe' look */
        0 0 60px #ff69ff;      /* Final far-reaching glow */
}

/* The Flashy Pulsing Glow */
.twitch-pulse-glow {
    animation: twitchPulse 1.5s infinite alternate;
}

@keyframes twitchPulse {
    0% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 60px #00d4ff;
        transform: scale(1.05); /* Slight grow for the "Flashy" feel */
    }
}


.twitch-outline {
    border: 1px solid #ff69ff;
    border-radius: 8px; /* Optional: smooths the corners */
    transition: all 0.3s ease;
    padding: 2px; /* Adds a tiny bit of space between image and border */
}

.twitch-outline:hover {
    box-shadow: 0 0 15px rgba(255, 105, 255, 0.6);
    transform: scale(1.05); /* Makes it pop slightly when hovered */
}
/* Brighter, Wider Pink Pulse for the Twitch Image */
.twitch-pulse {
    border: 2px solid #ff69ff; /* Slightly thicker border for visibility */
    border-radius: 8px;
    padding: 3px;
    /* Faster 2s pulse makes it feel more "alive" */
    animation: twitch-glow-intense 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

@keyframes twitch-glow-intense {
    0% { 
        box-shadow: 0 0 10px rgba(255, 105, 255, 0.4); 
        border-color: #ff69ff; 
    }
    50% { 
        /* Increased spread to 40px and higher opacity */
        box-shadow: 0 0 40px rgba(255, 105, 255, 0.9), inset 0 0 10px rgba(255, 255, 255, 0.5); 
        border-color: #ffffff; 
    }
    100% { 
        box-shadow: 0 0 10px rgba(255, 105, 255, 0.4); 
        border-color: #ff69ff; 
    }
}

.twitch-pulse:hover {
    transform: scale(1.1); /* Slightly bigger pop on hover */
    box-shadow: 0 0 50px rgba(255, 105, 255, 1); /* Max glow when hovered */
}
/* --- KARAOKE UI --- */
.karaoke-column {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff69ff;
    border-radius: 8px;
    padding: 10px;
    color: white;
    min-height: 250px;
    box-shadow: 0 0 10px #ff69ff;
    transition: all 0.3s ease;
}
.karaoke-column h4 {
    color: #ff69ff;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #ff69ff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Stacks Name and Score vertically */
.leaderboard-entry {
    display: flex;
    flex-direction: column; 
    padding: 8px 0;
    border-bottom: 1px solid #444; /* The separator line */
}

/* Removes the line from the very last person in the list */
.leaderboard-entry:last-child {
    border-bottom: none;
}

.leaderboard-entry .rank-name-row {
    display: flex;
    gap: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.leaderboard-entry .rank { color: #ff69ff; }
.leaderboard-entry .name { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.leaderboard-entry .score { 
    color: #00ff00; 
    font-family: monospace; 
    font-size: 0.85rem;
    padding-left: 22px; /* Aligns score under the name, skipping the rank width */
    text-align: left;
}

@media (max-width: 767.98px) {
    .karaoke-column {
        min-height: 140px;
        padding: 6px 4px;
    }
    .karaoke-column h4 {
        font-size: 0.62rem;
        letter-spacing: -0.02em;
        padding-bottom: 3px;
        margin-bottom: 6px;
    }
    .leaderboard-entry {
        padding: 5px 0;
    }
    .leaderboard-entry .rank-name-row {
        font-size: 0.62rem;
        gap: 2px;
        flex-wrap: wrap;
    }
    .leaderboard-entry .name {
        white-space: normal;
        word-break: break-word;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.15;
    }
    .leaderboard-entry .score {
        font-size: 0.62rem;
        padding-left: 0;
        text-align: center;
    }
}

.btn-karaoke {
    background: transparent;
    border: 2px solid #ff69ff;
    color: #ff69ff;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 5px #ff69ff;
}

.btn-karaoke:hover { background: #ff69ff; color: black; }
.hidden { display: none !important; }
/* --- END KARAOKE UI --- */

/* --- AMENDMENT: PINK DRAGON DATATABLES UI OVERRIDES --- */
/* Search Input and Entries Select Styling */
.dataTables_filter input, 
.dataTables_length select,
.dt-search input,
.dt-length select {
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #ff69ff !important;
    border-radius: 4px;
    padding: 2px 8px;
    transition: all 0.3s ease;
}

.dataTables_filter input:focus, 
.dt-search input:focus {
    border-color: #ff69ff !important;
    box-shadow: 0 0 8px rgba(255, 105, 255, 0.4) !important;
    outline: none !important;
}

/* Table Info and Labels */
.dataTables_info, .dt-info,
.dataTables_filter label, .dt-search label,
.dataTables_length label, .dt-length label {
    color: #ffffff !important;
}

/* Custom Go-to-page Input Override */
.dt-paging-input input {
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #ff69ff !important;
}
/* --- END OF AMENDMENT --- */

/* Jukebox: single-column “card” rows, tap to request */
.jukebox-table-shell {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid rgba(255, 105, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.jukebox-table-shell .dataTables_wrapper {
    max-width: 100%;
}

/* Song library: two columns (read left→right, top→bottom: 1 | 2, 3 | 4, …) */
.jukebox-table-shell.jukebox-dt-two-col table.dataTable {
    width: 100% !important;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable thead {
    display: table;
    width: 100%;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable thead tr {
    display: table-row;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable thead th {
    display: table-cell;
    width: 100%;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: space-between;
    align-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable tbody tr {
    display: block;
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    box-sizing: border-box;
    margin: 0 !important;
}

.jukebox-table-shell.jukebox-dt-two-col table.dataTable tbody tr td.jukebox-song-cell-wrap {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 575.98px) {
    .jukebox-table-shell.jukebox-dt-two-col table.dataTable tbody tr {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.jukebox-table-shell table.dataTable tbody tr.odd,
.jukebox-table-shell table.dataTable tbody tr.even {
    background-color: #1a1a1a !important;
}

.jukebox-dt-toolbar #jukebox-search-mount .dt-search,
.jukebox-dt-toolbar #jukebox-search-mount .dataTables_filter {
    float: none;
    width: 100%;
    margin: 0;
    text-align: left;
}

.jukebox-dt-toolbar #jukebox-search-mount .dt-search input,
.jukebox-dt-toolbar #jukebox-search-mount .dataTables_filter input {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
}

/* Fixed ↑ control: aligned to song library table left edge via JS; shown when thead scrolls under site header */
.jukebox-scroll-library-btn {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 10050;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 2px solid #ff69ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ff69ff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 105, 255, 0.25);
    transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.jukebox-scroll-library-btn:hover {
    color: #fff;
    background: #2a1528;
    box-shadow:
        0 6px 22px rgba(255, 105, 255, 0.35),
        0 0 0 1px rgba(255, 105, 255, 0.5);
}

.jukebox-scroll-library-btn:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 3px;
}

.jukebox-scroll-library-btn:active {
    transform: scale(0.96);
}

.jukebox-icon-btn {
    width: 2.35rem;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-color: rgba(255, 105, 255, 0.55) !important;
    color: #ff69ff !important;
    font-size: 1.1rem;
    line-height: 1;
}

table.dataTable tbody tr.jukebox-tap-row {
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

table.dataTable tbody tr.jukebox-tap-row:hover {
    background: linear-gradient(180deg, rgba(80, 20, 70, 0.55) 0%, rgba(50, 12, 48, 0.75) 100%) !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 105, 255, 0.55),
        inset 0 0 22px rgba(255, 105, 255, 0.18),
        0 0 16px rgba(255, 105, 255, 0.35) !important;
}

/* Keep stacked typography readable (global DT hover forces pink text) */
.jukebox-table-shell table.dataTable.display tbody tr.jukebox-tap-row:hover {
    color: inherit !important;
}

.jukebox-table-shell table.dataTable.display tbody tr.jukebox-tap-row:hover .jukebox-artist {
    color: #ffb8f0 !important;
}

.jukebox-table-shell table.dataTable.display tbody tr.jukebox-tap-row:hover .jukebox-title {
    color: #fff !important;
}

.jukebox-table-shell table.dataTable.display tbody tr.jukebox-tap-row:hover .jukebox-dur {
    color: #e8e8e8 !important;
}

.jukebox-table-shell table.dataTable.display tbody tr.jukebox-tap-row:hover .jukebox-cost-inner {
    border-color: rgba(255, 180, 255, 0.85) !important;
    box-shadow: 0 0 12px rgba(255, 105, 255, 0.45);
}

table.dataTable tbody tr.jukebox-tap-row:focus-visible {
    outline: 2px solid #ff69ff;
    outline-offset: -2px;
    box-shadow: 0 0 20px rgba(255, 105, 255, 0.5);
}

.jukebox-table-shell table.dataTable tbody td.jukebox-song-cell-wrap {
    border-top: none !important;
    border-bottom: 4px solid rgba(255, 105, 255, 0.75) !important;
    box-shadow: 0 3px 0 rgba(255, 105, 255, 0.12);
}

.jukebox-song-cell-wrap {
    padding: 0.55rem 0.7rem 0.65rem !important;
    vertical-align: middle;
}

.jukebox-song-titles .jukebox-artist {
    display: block;
    color: #ff9de6;
    font-size: 0.82rem;
    line-height: 1.2;
}

.jukebox-song-titles .jukebox-title {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    margin-top: 0.12rem;
    word-break: break-word;
}

.jukebox-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(140, 140, 150, 0.55);
}

.jukebox-dur {
    font-variant-numeric: tabular-nums;
    color: #bbb;
    font-size: 0.85rem;
}

.jukebox-cost-inner {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 105, 255, 0.1);
    border: 1px solid rgba(255, 105, 255, 0.35);
    font-size: 0.82rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.jukebox-login-hint {
    margin-top: 0.35rem;
}

/* Attached show/hide tabs (playlist + leaderboards) */
.attachable-card {
    position: relative;
}

.attach-tab {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 8px;
    border: 2px solid #ff69ff;
    background: #0d0d0d;
    color: #ff69ff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.attach-tab:hover {
    color: #fff;
    background: #1a1a1a;
}

.attach-tab.attach-tab-collapsed {
    opacity: 0.72;
}

/* Full-bleed live ticker above leaderboards (breaks out of .container width) */
.live-ticker-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    margin-top: 8px;
    box-sizing: border-box;
}

.live-site-ticker {
    overflow: hidden;
    height: 30px;
    line-height: 30px;
    background: linear-gradient(180deg, #0d0d0d 0%, #151515 100%);
    border: 1px solid rgba(255, 105, 255, 0.45);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.live-site-ticker-track {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    animation: live-site-ticker-marquee 48s linear infinite;
    will-change: transform;
}

.live-site-ticker:hover .live-site-ticker-track {
    animation-play-state: paused;
}

.live-site-ticker-chunk {
    display: inline-block;
    padding-right: 4rem;
    color: #e8e8e8;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes live-site-ticker-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.perform-queue-strip {
    border: 1px solid rgba(255, 105, 255, 0.35);
    border-radius: 8px;
    background: #111;
    padding: 8px 10px 10px;
    margin-bottom: 12px;
    max-width: 100%;
}

.perform-queue-strip .pq-title {
    color: #ff69ff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.perform-queue-strip ul {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 0.85rem;
    color: #ddd;
}

.perform-queue-strip li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.perform-queue-strip li:last-child {
    border-bottom: none;
}

.perform-queue-strip .pq-hint {
    font-size: 0.72rem;
    color: #888;
    margin: 0;
}

.karaoke-lb-shell {
    position: relative;
    margin-top: 22px;
    padding-top: 6px;
}

/* Ticker is a sibling above the shell so the Leaderboards tab anchors to the card, not the scroller */
.live-ticker-bleed + .karaoke-lb-shell {
    margin-top: 14px;
}

.attach-tab.attach-tab-leaderboards,
.attach-tab.attach-tab-playlist {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
}

/* Footer social icons: uniform square frame */
.social-footer-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .social-footer-icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 767.98px) {
    .jukebox-table-shell table.dataTable {
        font-size: 0.88rem;
        table-layout: fixed;
        width: 100% !important;
    }

    .jukebox-table-shell table.dataTable tbody td,
    .jukebox-table-shell table.dataTable thead th {
        padding: 0.4rem 0.45rem;
        vertical-align: middle;
    }

    .playlist-card .playlist-table-inner.jukebox-table-shell table.table tbody td,
    .playlist-card .playlist-table-inner.jukebox-table-shell table.table thead th {
        padding: 0.4rem 0.45rem;
        vertical-align: middle;
        font-size: 0.88rem;
    }

    .jukebox-table-shell .dataTables_length,
    .jukebox-table-shell .dt-length {
        text-align: center;
        margin-bottom: 0.35rem;
    }
}