/* ============================================
   requestr — Bootstrap 5.3 overlay
   Teal/green stage palette + bespoke components.
   ============================================ */

:root {
    --rq-pink: #00cadd;
    --rq-pink-2: #00a1b4;
    --rq-pink-soft: rgba(0, 202, 221, 0.12);
    --rq-pink-glow: rgba(0, 122, 140, 0.28);

    --bs-primary: #00cadd;
    --bs-primary-rgb: 0, 202, 221;
    --bs-link-color: #00a1b4;
    --bs-link-color-rgb: 0, 161, 180;
    --bs-link-hover-color: #007a8c;
    --bs-link-hover-color-rgb: 0, 122, 140;
    --bs-border-radius: 0.625rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-radius-pill: 50rem;
    --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --bs-font-monospace: "JetBrains Mono", "SF Mono", Monaco, monospace;
}

/* Dark theme: deep ink with our pink accent kept warm */
[data-bs-theme="dark"] {
    --bs-body-bg: #04171b;
    --bs-body-color: #eefbf7;
    --bs-secondary-bg: #09242b;
    --bs-tertiary-bg: #10313a;
    --bs-border-color: #16424d;
    --bs-emphasis-color: #ffffff;
    --bs-secondary-color: rgba(238, 251, 247, 0.72);
    --bs-tertiary-color: rgba(238, 251, 247, 0.52);
}

/* Light theme: cool mint */
[data-bs-theme="light"] {
    --bs-body-bg: #f2fdfb;
    --bs-body-color: #073038;
    --bs-secondary-bg: #ffffff;
    --bs-tertiary-bg: #def8f1;
    --bs-border-color: #c8ece4;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(1100px 600px at 85% -8%, rgba(0, 202, 221, 0.18), transparent 60%),
        radial-gradient(900px 500px at -8% 110%, rgba(143, 248, 182, 0.14), transparent 60%),
        var(--bs-body-bg);
    background-attachment: fixed;
    min-height: 100vh;
    transition: background-color 0.2s ease, color 0.2s ease;
}

::selection { background: var(--rq-pink); color: #fff; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-weight: 800; }

em { font-style: italic; color: var(--rq-pink); font-weight: inherit; }

/* ---------- Primary button: pink + glow ---------- */
.btn-primary {
    --bs-btn-bg: var(--rq-pink);
    --bs-btn-border-color: var(--rq-pink);
    --bs-btn-hover-bg: var(--rq-pink-2);
    --bs-btn-hover-border-color: var(--rq-pink-2);
    --bs-btn-active-bg: var(--rq-pink-2);
    --bs-btn-active-border-color: var(--rq-pink-2);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    box-shadow: 0 6px 18px -6px var(--rq-pink-glow);
    transition: transform 0.18s, box-shadow 0.18s, background-color 0.18s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px var(--rq-pink-glow); }
.btn-primary:active { transform: translateY(0); }

.btn { font-weight: 600; }

/* ---------- Brand wordmark + animated equalizer ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none !important;
    color: var(--bs-emphasis-color) !important;
}
.brand-logo-full {
    display: block;
    height: 34px;
    width: auto;
}
.brand-logo-mark {
    display: block;
    height: 38px;
    width: auto;
}
.eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 18px;
}
.eq span {
    width: 3px;
    background: var(--rq-pink);
    border-radius: 1.5px;
    transform-origin: bottom;
    animation: rq-eq 1.4s ease-in-out infinite;
}
.eq span:nth-child(1) { height: 60%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 100%; animation-delay: 0.18s; }
.eq span:nth-child(3) { height: 40%; animation-delay: 0.36s; }
@keyframes rq-eq {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}

/* ---------- Theme toggle pill button ---------- */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.theme-toggle:hover { background: var(--bs-tertiary-bg); transform: scale(1.05); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-bs-theme="light"] .theme-toggle .sun { display: block; }
[data-bs-theme="light"] .theme-toggle .moon { display: none; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rq-pink);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1.5px;
    background: var(--rq-pink);
    border-radius: 1px;
}

/* ---------- Live tag pulse ---------- */
.tag-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--rq-pink);
    color: #fff;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tag-live::before {
    content: "";
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: rq-pulse 1.4s infinite ease-in-out;
}
@keyframes rq-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- QR tile ---------- */
.qr-tile {
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.2rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.35);
}
.qr-tile .qr-img {
    background: #fff;
    border-radius: 0.8rem;
    padding: 14px;
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.qr-tile .qr-img img { width: 100%; max-width: 280px; height: auto; display: block; border-radius: 4px; }
.qr-tile .pin-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bs-secondary-color);
    font-weight: 600;
}
.qr-tile .qr-note {
    margin: 0.65rem 0 0;
    color: var(--bs-secondary-color);
    font-size: 0.92rem;
    line-height: 1.45;
}
.qr-tile .pin {
    font-family: var(--bs-font-monospace);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--rq-pink);
    margin: 0.3rem 0 0.4rem;
}
.qr-tile .url {
    font-family: var(--bs-font-monospace);
    font-size: 0.72rem;
    color: var(--bs-tertiary-color);
    word-break: break-all;
}
.qr-tile .regen-pin {
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.qr-tile .regen-pin:hover { color: var(--rq-pink); text-decoration: none; }

/* ---------- Request board ---------- */
.request-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: var(--bs-border-radius);
    margin-bottom: 0.5rem;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    transition: background 0.18s, border-color 0.18s;
    animation: rq-slide 0.35s ease;
}
.request-row.no-anim, .activity-item.no-anim { animation: none; }
@keyframes rq-slide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.request-row:hover { background: var(--bs-tertiary-bg); }
.request-row.top {
    border-color: var(--rq-pink);
    background:
        linear-gradient(95deg, var(--rq-pink-soft), transparent 70%),
        var(--bs-secondary-bg);
}
.request-row .rank {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bs-tertiary-color);
    line-height: 1;
    text-align: center;
    letter-spacing: -0.03em;
}
.request-row.top .rank { color: var(--rq-pink); }
.request-row .meta { min-width: 0; }
.request-row .title { font-weight: 600; font-size: 1rem; }
.request-row .album { color: var(--bs-secondary-color); font-size: 0.85rem; margin-top: 0.1rem; }
.request-row .fans { color: var(--bs-tertiary-color); font-size: 0.78rem; margin-top: 0.35rem; }
.request-row .count {
    font-weight: 700;
    color: var(--bs-body-color);
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    padding: 0.3rem 0.95rem;
    min-width: 56px;
    text-align: center;
}
.request-row.top .count { background: var(--rq-pink); color: #fff; border-color: transparent; }

/* ---------- Song picks (fan request page) ---------- */
.request-public-body {
    background:
        radial-gradient(900px 380px at 20% 0%, rgba(143, 248, 182, 0.16), transparent 60%),
        radial-gradient(1100px 480px at 100% 0%, rgba(0, 202, 221, 0.14), transparent 62%),
        var(--bs-body-bg);
}
.artist-request-hero {
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--artist-brand-1, var(--rq-pink)) 16%, var(--bs-border-color));
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--artist-brand-1, var(--rq-pink)) 44%, #f6fffd) 0%, color-mix(in srgb, var(--artist-brand-2, #8ff8b6) 34%, #ecfffa) 32%, color-mix(in srgb, var(--artist-brand-3, #56bf80) 28%, #f7fffb) 68%, color-mix(in srgb, var(--artist-brand-4, #10884f) 34%, #effaf5) 100%);
    color: #fff;
    box-shadow: 0 28px 60px -34px rgba(0, 84, 102, 0.22);
    position: relative;
}
.artist-request-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 260px at 10% 8%, rgba(255, 255, 255, 0.34), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.artist-request-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 1.1rem;
    align-items: stretch;
    padding: 1.55rem;
    position: relative;
    z-index: 1;
}
.artist-request-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 0;
}
.artist-request-title {
    width: 100%;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: anywhere;
    color: #073038;
}
.artist-request-message {
    margin: 1rem 0 0;
    color: rgba(7, 48, 56, 0.82);
    font-size: 1.02rem;
    max-width: 38rem;
    line-height: 1.55;
}
.artist-request-bio {
    margin: 1rem 0 0;
    color: rgba(7, 48, 56, 0.68);
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
.hero-link-group {
    margin-top: 1.2rem;
    text-align: center;
}
.hero-link-label {
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(7, 48, 56, 0.52);
}
.hero-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}
.hero-link-icon-btn {
    width: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
    padding: 0;
    border-radius: 1.1rem;
}
.hero-link-icon-btn svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.hero-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: #073038;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.hero-link-btn:hover {
    color: #073038;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}
.hero-mailing-signup {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.15rem;
    padding: 1.25rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-mailing-head {
    max-width: 34rem;
    margin-bottom: 0.9rem;
}
.hero-mailing-form {
    align-items: center;
}
.hero-mailing-signup h2,
.hero-mailing-copy {
    color: #073038;
}
.hero-mailing-signup h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-mailing-copy {
    opacity: 0.74;
    font-size: 0.94rem;
    line-height: 1.55;
}
.hero-mailing-signup .form-control {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(7, 48, 56, 0.1);
    min-height: 3rem;
    border-radius: 0.95rem;
    font-size: 0.95rem;
}
.hero-mailing-btn {
    font-weight: 700;
    color: #073038;
    min-height: 3rem;
    border-radius: 0.95rem;
    background: #073038;
    border-color: #073038;
    color: #fff;
}
.hero-mailing-btn:hover,
.hero-mailing-btn:focus {
    background: #0a4955;
    border-color: #0a4955;
    color: #fff;
}
.artist-request-media {
    display: flex;
    align-items: stretch;
}
.artist-media-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: none;
}
.artist-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 16px 28px -20px rgba(0, 49, 67, 0.14);
}
.artist-cover-placeholder {
    display: grid;
    place-items: center;
    font-size: 4.3rem;
    font-weight: 800;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), transparent 42%),
        rgba(255, 255, 255, 0.46);
    color: #073038;
}
.artist-request-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}
.artist-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.2rem 0;
}
.artist-meta-row-pin {
    padding-top: 0.55rem;
    border-top: 1px solid rgba(7, 48, 56, 0.1);
}
.artist-meta-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(7, 48, 56, 0.48);
}
.artist-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.82);
    color: #073038;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.85);
}
.artist-badge-pin {
    font-family: var(--bs-font-monospace);
    letter-spacing: 0.14em;
    font-size: 0.9rem;
}
.request-result-btn {
    width: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    background: var(--bs-secondary-bg);
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 0.7rem;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.request-result-btn:hover {
    border-color: var(--rq-pink);
    background: var(--bs-tertiary-bg);
    transform: translateY(-1px);
}
.request-result-btn img,
.request-result-btn .song-cover {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}
.spotify-preview-missing {
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.request-browse-card {
    border-color: color-mix(in srgb, var(--rq-pink) 16%, var(--bs-border-color));
}
.requested-list {
    display: grid;
    gap: 0.8rem;
}
.request-accordion .accordion-item {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
}
.request-accordion .accordion-button {
    background: var(--bs-secondary-bg);
    color: var(--bs-emphasis-color);
    font-weight: 700;
    box-shadow: none;
}
.request-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--rq-pink) 10%, transparent), color-mix(in srgb, #8ff8b6 10%, transparent));
}
.request-accordion .accordion-button::after {
    margin-left: 0;
}
.request-accordion .accordion-body {
    background: var(--bs-secondary-bg);
}
.requested-song {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
}
.requested-song-copy {
    min-width: 0;
}
.requested-song-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--bs-emphasis-color);
}
.requested-song-sub {
    margin-top: 0.15rem;
    color: var(--bs-secondary-color);
    font-size: 0.84rem;
}
.requested-song-count {
    text-align: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--rq-pink) 10%, transparent);
    color: var(--rq-pink);
    min-width: 88px;
}
.requested-song-count strong,
.requested-song-count span {
    display: block;
}
.requested-song-count strong {
    font-size: 1.05rem;
    line-height: 1.1;
}
.requested-song-count span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.requested-song-btn {
    white-space: nowrap;
}
.song-pick {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    margin-bottom: 0.55rem;
    background: var(--bs-secondary-bg);
    cursor: pointer;
    transition: all 0.18s;
}
.song-pick:hover { border-color: var(--rq-pink); background: var(--bs-tertiary-bg); transform: translateX(3px); }
.song-pick.requested { opacity: 0.4; cursor: not-allowed; transform: none; }
.song-pick .song-title { font-weight: 600; font-size: 1rem; }
.song-pick .song-album { color: var(--bs-secondary-color); font-size: 0.82rem; margin-top: 0.15rem; }
.song-pick .arrow {
    color: var(--rq-pink);
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 1rem;
    transition: transform 0.18s;
}
.song-pick:hover .arrow { transform: translateX(4px); }

.request-modal {
    border-radius: 1.35rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
    box-shadow: 0 28px 64px -32px rgba(0, 49, 67, 0.5);
}
.request-modal-song {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--rq-pink) 12%, transparent), color-mix(in srgb, #8ff8b6 14%, transparent));
    border: 1px solid color-mix(in srgb, var(--rq-pink) 22%, var(--bs-border-color));
}
.request-modal-song-title {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--bs-emphasis-color);
}
.request-modal-song-sub {
    margin-top: 0.2rem;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

/* ---------- PIN entry ---------- */
.pin-input {
    text-align: center;
    font-family: var(--bs-font-monospace) !important;
    font-size: 2.2rem !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase;
    padding: 1.1rem !important;
    font-weight: 700;
}

/* ---------- Toast ---------- */
.rq-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    background: var(--rq-pink);
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 14px 40px -8px var(--rq-pink-glow);
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1080;
    font-size: 0.95rem;
}
.rq-toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Misc ---------- */
.navbar {
    border-bottom: 1px solid var(--bs-border-color);
    background: color-mix(in srgb, var(--bs-body-bg) 80%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.form-control:focus {
    border-color: var(--rq-pink);
    box-shadow: 0 0 0 0.2rem var(--rq-pink-soft);
}

.card { border-radius: var(--bs-border-radius-lg); }

.mode-switch {
    display: inline-flex;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    flex-wrap: wrap;
}
.mode-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mode-switch-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--bs-body-color);
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
button.mode-switch-btn {
    cursor: pointer;
}
.mode-switch-btn:hover {
    background: color-mix(in srgb, var(--rq-pink) 10%, transparent);
}
.mode-switch-btn.active,
.mode-switch-input:checked + .mode-switch-btn {
    background: linear-gradient(135deg, #00cadd, #00a1b4);
    color: #fff;
    box-shadow: 0 10px 24px -14px var(--rq-pink-glow);
}

@media (max-width: 575px) {
    .mode-switch {
        width: 100%;
        border-radius: 1rem;
    }
    .mode-switch-btn {
        flex: 1 1 100%;
        text-align: center;
        border-radius: 0.85rem;
    }
    .requested-song {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .requested-song-count {
        justify-self: start;
    }
    .requested-song-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ============================================
   Live (tablet/phone) view
   ============================================ */

.live-body {
    background: var(--bs-body-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

.live-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    background: color-mix(in srgb, var(--bs-body-bg) 85%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--bs-border-color);
}
.live-header .brand { font-size: 1.05rem; }
.live-header-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }

.live-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: -0.005em;
    border: 2px solid;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.live-header-btn:active { transform: scale(0.97); }
.live-header-btn span { white-space: nowrap; }
.live-header-btn svg { flex-shrink: 0; }

@media (min-width: 600px) {
    .live-header-btn { padding: 0.85rem 1.4rem; font-size: 1.02rem; min-height: 54px; border-radius: 16px; }
    .live-header-btn svg { width: 22px; height: 22px; }
}
@media (min-width: 992px) {
    .live-header-btn { padding: 0.95rem 1.6rem; font-size: 1.05rem; min-height: 60px; }
}

.live-header-btn-danger {
    color: #ef4444;
    border-color: color-mix(in srgb, #ef4444 45%, transparent);
}
.live-header-btn-danger:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

.live-header-btn-secondary {
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}
.live-header-btn-secondary:hover {
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

@media (max-width: 380px) {
    .live-header { padding: 0.7rem 0.85rem; gap: 0.5rem; }
    .live-header .brand { font-size: 0.95rem; }
    .live-status { display: none; }
    .live-header-btn { padding: 0.6rem 0.85rem; font-size: 0.88rem; min-height: 44px; }
    .live-header-btn span { display: none; }
}

/* Modal — Clear board confirmation */
.live-modal {
    border-radius: 22px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
}
.live-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: color-mix(in srgb, #ef4444 18%, transparent);
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.live-modal-icon svg { width: 30px; height: 30px; }
.live-modal-btn {
    padding: 0.95rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 14px;
    min-height: 56px;
    min-width: 9rem;
    -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
    .live-modal-btn { padding: 1.05rem 1.8rem; min-height: 62px; min-width: 11rem; font-size: 1.05rem; }
}
.live-modal .btn-danger {
    --bs-btn-bg: #ef4444;
    --bs-btn-border-color: #ef4444;
    --bs-btn-hover-bg: #dc2626;
    --bs-btn-hover-border-color: #dc2626;
    --bs-btn-active-bg: #dc2626;
    --bs-btn-active-border-color: #dc2626;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    font-family: var(--bs-font-monospace);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.live-status .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rq-pink);
    animation: rq-pulse 1.4s infinite ease-in-out;
}
.live-status.offline { color: var(--bs-tertiary-color); }
.live-status.offline .dot { background: var(--bs-tertiary-color); animation: none; }

.live-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0.75rem 4rem;
}

@media (min-width: 768px) {
    .live-main { padding: 1.5rem 1.25rem 5rem; }
    .live-header { padding: 1rem 1.5rem; }
}

@media (max-width: 767px) {
    .artist-request-hero-inner {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }
    .artist-request-media {
        order: -1;
    }
    .artist-request-copy {
        padding-right: 0;
    }
    .artist-cover {
        max-width: 180px;
    }
}

.live-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 18px;
    margin-bottom: 0.65rem;
    transition: background 0.22s, transform 0.22s, opacity 0.22s, border-color 0.22s;
    animation: rq-slide 0.3s ease;
}
.live-blacklist {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.22);
}
.live-blacklist:hover {
    background: #ef4444;
    color: #fff;
}
.live-empty-pin {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.9rem;
    font-family: var(--bs-font-monospace);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--rq-pink);
    background: color-mix(in srgb, var(--rq-pink) 12%, transparent);
}

@media (min-width: 768px) {
    .live-row {
        grid-template-columns: 96px minmax(0, 1fr) auto auto;
        gap: 1.25rem;
        padding: 1.1rem 1.3rem;
        margin-bottom: 0.85rem;
        border-radius: 22px;
    }
}

.live-row.flashing { transform: scale(0.985); }
.live-row.flash-accept { background: color-mix(in srgb, #16a34a 16%, var(--bs-secondary-bg)); border-color: #16a34a; }
.live-row.flash-remove { background: color-mix(in srgb, #ef4444 14%, var(--bs-secondary-bg)); border-color: #ef4444; opacity: 0.6; }

.live-cover {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bs-tertiary-bg);
}
@media (min-width: 768px) {
    .live-cover { width: 96px; height: 96px; border-radius: 14px; }
}

.live-meta { min-width: 0; }
.live-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--bs-emphasis-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (min-width: 768px) { .live-title { font-size: 1.45rem; } }

.live-sub {
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 768px) { .live-sub { font-size: 0.95rem; margin-top: 0.2rem; } }

.live-fans {
    color: var(--bs-body-color);
    font-size: 0.82rem;
    margin-top: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 768px) { .live-fans { font-size: 1rem; margin-top: 0.5rem; } }

.live-fans-label {
    color: var(--bs-secondary-color);
    font-style: italic;
    margin-right: 0.25rem;
}

.live-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    padding: 0.55rem 0.85rem;
    min-width: 64px;
}
.live-count span {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--bs-emphasis-color);
}
.live-count small {
    color: var(--bs-tertiary-color);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.3rem;
    font-weight: 700;
}
@media (min-width: 768px) {
    .live-count { min-width: 86px; padding: 0.7rem 1rem; }
    .live-count span { font-size: 2.2rem; }
    .live-count small { font-size: 0.7rem; }
}

.live-actions { display: flex; gap: 0.5rem; }
@media (min-width: 768px) { .live-actions { gap: 0.7rem; } }

.live-btn {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.18s, box-shadow 0.18s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.live-btn svg { width: 28px; height: 28px; }
.live-btn:active { transform: scale(0.92); }
@media (min-width: 768px) {
    .live-btn { width: 76px; height: 76px; border-radius: 16px; }
    .live-btn svg { width: 36px; height: 36px; }
}

.live-accept {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 0 #0e7a37, 0 12px 24px -10px rgba(22, 163, 74, 0.5);
}
.live-accept:hover { background: #1ab855; }
.live-accept:active { box-shadow: 0 1px 0 #0e7a37, 0 6px 16px -10px rgba(22, 163, 74, 0.5); }

.live-remove {
    background: var(--bs-secondary-bg);
    color: #ef4444;
    border: 2px solid color-mix(in srgb, #ef4444 35%, transparent);
    box-shadow: 0 2px 0 var(--bs-border-color);
}
.live-remove:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

@media (max-width: 480px) {
    .live-row { grid-template-columns: 52px minmax(0, 1fr) auto; }
    .live-cover { width: 52px; height: 52px; border-radius: 10px; }
    .live-count { display: none; }
    .live-actions { grid-column: 1 / -1; justify-content: stretch; }
    .live-btn { width: auto; flex: 1; height: 52px; border-radius: 12px; }
}

.live-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--bs-secondary-color);
}
.live-empty-icon {
    font-size: 4rem;
    color: var(--rq-pink);
    margin-bottom: 0.5rem;
}
.live-empty h2 { font-size: 1.5rem; font-weight: 700; color: var(--bs-emphasis-color); margin-bottom: 0.5rem; }
.live-empty p { font-size: 1rem; }

/* ============================================
   Mobile responsiveness
   ============================================ */

/* Collapsed mobile nav: stack links with breathing room */
.navbar-collapse .navbar-nav { padding: 0.5rem 0 0.25rem; }
.navbar-collapse .nav-link {
    padding: 0.65rem 0;
    color: var(--bs-body-color);
    font-weight: 500;
}
.navbar-collapse .nav-link:hover { color: var(--rq-pink); }
.navbar-collapse .btn { margin-top: 0.5rem; }
@media (min-width: 768px) {
    .navbar-collapse .navbar-nav { padding: 0; }
    .navbar-collapse .nav-link { padding: 0; color: var(--bs-secondary-color); }
    .navbar-collapse .btn { margin-top: 0; }
}

/* Width utilities Bootstrap doesn't ship per-breakpoint by default */
.w-md-auto { }
.w-lg-auto { }
@media (min-width: 768px) {
    .w-md-auto { width: auto !important; }
}
@media (min-width: 992px) {
    .w-lg-auto { width: auto !important; }
}

/* Prevent horizontal overflow from rotated mockup on the landing page */
@media (max-width: 575.98px) {
    .mockup { transform: none; }
    .mockup:hover { transform: translateY(-2px); }
    .landing-hero { padding-top: 1.5rem; }
}

/* Request row: drop fixed rank width on tight screens and tighten gaps */
@media (max-width: 575.98px) {
    .request-row {
        grid-template-columns: 40px 1fr auto;
        gap: 0.6rem;
        padding: 0.85rem 0.9rem;
    }
    .request-row .rank { font-size: 1.2rem; }
    .request-row .count { padding: 0.25rem 0.7rem; min-width: 44px; font-size: 0.9rem; }
    .request-row .mark-played { width: 30px; height: 30px; }
    .request-row .meta { min-width: 0; }
    .request-row .title { font-size: 0.95rem; }
    .request-row .album, .request-row .fans { font-size: 0.78rem; }
    .song-cover-sm { width: 32px; height: 32px; }
}

/* Tighten card padding on small screens */
@media (max-width: 575.98px) {
    .card-body.p-4, .card-body.p-lg-4, .card-body.p-lg-5 { padding: 1.25rem !important; }
}

/* PIN input scales down on small phones */
@media (max-width: 575.98px) {
    .pin-input { font-size: 1.6rem !important; letter-spacing: 0.18em !important; padding: 0.9rem !important; }
    .qr-tile .pin { font-size: 1.8rem; letter-spacing: 0.14em; }
}

/* Big display headings stay readable but not gigantic on mobile */
@media (max-width: 575.98px) {
    .display-3, .display-4, .display-5 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
    .landing-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
}

/* Touch target sizing for small icon buttons */
@media (max-width: 767.98px) {
    .btn-sm { padding: 0.5rem 0.85rem; font-size: 0.92rem; }
    .theme-toggle { width: 40px; height: 40px; }
    .nav-link { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (min-width: 768px) {
    .nav-link { min-height: auto; }
}

/* QR tile + activity panel inherit good padding on small phones */
@media (max-width: 575.98px) {
    .qr-tile { padding: 1rem; }
    .qr-tile .qr-img img { max-width: 220px; }
    .activity-panel { padding: 0.85rem; }
}

/* Spotify result rows wrap nicely under 360px */
@media (max-width: 575.98px) {
    .spotify-result { gap: 0.7rem; padding: 0.6rem 0.7rem; }
    .spotify-result img { width: 40px; height: 40px; }
    .spotify-result .btn { padding: 0.4rem 0.75rem; font-size: 0.85rem; }
}

/* Played row: stack the action on very narrow screens */
@media (max-width: 380px) {
    .played-row { flex-wrap: wrap; }
    .played-row .undo-played { margin-left: auto; }
}

/* Final CTA padding tightens up */
@media (max-width: 575.98px) {
    .final-cta { padding: 2.5rem 1rem; margin: 2.5rem 0 1rem; }
}

/* Footer wraps gracefully */
.site-footer .container-fluid { gap: 0.75rem; }

/* ============================================
   Landing page
   ============================================ */

.landing-hero {
    padding: 3rem 0 4rem;
    position: relative;
}
.landing-hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}
.landing-hero .lede { font-size: 1.15rem; max-width: 42ch; }

/* Mockup illustration: a stylised event/request board */
.mockup {
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.4rem;
    padding: 1.2rem;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.35);
    transform: rotate(-1.2deg);
    transition: transform 0.4s ease;
}
.mockup:hover { transform: rotate(0deg) translateY(-4px); }
.mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.6rem 1rem;
}
.mockup-head .mock-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.mockup .mock-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    font-size: 0.88rem;
}
.mockup .mock-row.top {
    background: linear-gradient(95deg, var(--rq-pink-soft), transparent 70%), var(--bs-tertiary-bg);
    border-color: var(--rq-pink);
}
.mockup .mock-rank { font-weight: 800; color: var(--bs-tertiary-color); text-align: center; font-size: 1.1rem; }
.mockup .mock-row.top .mock-rank { color: var(--rq-pink); }
.mockup .mock-title-line { font-weight: 600; }
.mockup .mock-sub { color: var(--bs-secondary-color); font-size: 0.75rem; margin-top: 0.1rem; }
.mockup .mock-count {
    background: var(--bs-secondary-bg);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 44px;
    text-align: center;
}
.mockup .mock-row.top .mock-count { background: var(--rq-pink); color: #fff; }

/* Use-case pills */
.use-case-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.use-case {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bs-body-color);
}
.use-case::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--rq-pink);
    border-radius: 50%;
}

/* Section header */
.section-head-lg {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-head-lg h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.6rem;
}
.section-head-lg p { color: var(--bs-secondary-color); font-size: 1.05rem; }

/* How-it-works steps */
.step {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    height: 100%;
}
.step-num {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rq-pink);
    margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.step p { color: var(--bs-secondary-color); font-size: 0.95rem; margin-bottom: 0; }

/* Feature cards */
.feature {
    padding: 1.6rem;
    border-radius: 1rem;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    height: 100%;
    transition: transform 0.18s, border-color 0.18s;
}
.feature:hover { transform: translateY(-2px); border-color: var(--rq-pink); }
.feature .icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--rq-pink-soft);
    color: var(--rq-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.feature p { color: var(--bs-secondary-color); font-size: 0.92rem; margin-bottom: 0; }

/* Integration tiles */
.integration {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 0.9rem;
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    transition: border-color 0.18s;
    height: 100%;
}
.integration:hover { border-color: var(--rq-pink); }
.integration .logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.1rem;
}
.integration .logo.spotify { background: #1DB954; color: #000; }
.integration .logo.apple { background: linear-gradient(135deg, #fa2c4f, #fc4445); color: #fff; }
.integration .logo.manual { background: var(--bs-tertiary-bg); color: var(--bs-body-color); border: 1px solid var(--bs-border-color); }
.integration .name { font-weight: 700; }
.integration .status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}
.integration .status.available { color: var(--rq-pink); font-weight: 600; }
.integration .status.soon { color: var(--bs-secondary-color); }

/* FAQ */
.accordion {
    --bs-accordion-bg: var(--bs-secondary-bg);
    --bs-accordion-border-color: var(--bs-border-color);
    --bs-accordion-active-bg: var(--bs-tertiary-bg);
    --bs-accordion-active-color: var(--bs-body-color);
    --bs-accordion-btn-focus-border-color: var(--rq-pink);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem var(--rq-pink-soft);
}
.accordion-button:not(.collapsed) { color: var(--bs-body-color); background: var(--bs-tertiary-bg); }
.accordion-button { font-weight: 600; }

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 4rem 1.5rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(600px 200px at 50% -10%, var(--rq-pink-soft), transparent 60%),
        var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    margin: 4rem 0 2rem;
}
.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.6rem;
}

/* Activity feed */
.activity-panel {
    background: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    padding: 1rem 1.1rem;
}
.analytics-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.analytics-stat-card {
    background: linear-gradient(180deg, color-mix(in srgb, var(--artist-brand-1, var(--rq-pink)) 12%, var(--bs-secondary-bg)) 0%, var(--bs-secondary-bg) 100%);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    padding: 1.1rem 1.15rem;
}
.analytics-stat-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}
.analytics-stat-value {
    margin-top: 0.45rem;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.analytics-stat-meta {
    margin-top: 0.45rem;
    color: var(--bs-secondary-color);
    font-size: 0.88rem;
}
.analytics-list,
.analytics-name-list,
.analytics-source-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.analytics-song-row,
.analytics-name-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}
.analytics-rank {
    width: 2rem;
    flex: 0 0 2rem;
    text-align: center;
    font-weight: 800;
    color: var(--bs-secondary-color);
}
.analytics-count-pill {
    min-width: 3rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--artist-brand-1, var(--rq-pink)) 18%, var(--bs-tertiary-bg));
    border: 1px solid color-mix(in srgb, var(--artist-brand-1, var(--rq-pink)) 26%, var(--bs-border-color));
    font-weight: 800;
    text-align: center;
}
.analytics-source-row {
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}
.analytics-source-bar {
    height: 0.65rem;
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    overflow: hidden;
}
.analytics-source-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--artist-brand-1, #00cadd), var(--artist-brand-3, #56bf80));
}
.analytics-empty {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed var(--bs-border-color);
    color: var(--bs-secondary-color);
    background: var(--bs-body-bg);
}
.activity-item {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    animation: rq-slide 0.3s ease;
}
.activity-item:last-child { border-bottom: 0; }
.activity-line { font-size: 0.92rem; line-height: 1.35; }
.activity-time {
    color: var(--bs-tertiary-color);
    font-size: 0.75rem;
    font-family: var(--bs-font-monospace);
    margin-top: 0.1rem;
}

/* Mark-played button on ranked rows */
.request-row .mark-played {
    border-radius: 50%;
    width: 32px; height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
}
.request-row .mark-played:hover {
    background: var(--rq-pink);
    color: #fff;
    border-color: var(--rq-pink);
}

/* Played history rows */
.played-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    margin-bottom: 0.4rem;
    background: var(--bs-secondary-bg);
    opacity: 0.78;
    transition: opacity 0.18s;
}
.played-row:hover { opacity: 1; }

/* Song covers */
.song-cover {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}
.placeholder-cover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-tertiary-color);
    font-size: 1.4rem;
    border: 1px solid var(--bs-border-color);
}
.song-cover-sm {
    width: 36px; height: 36px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.min-w-0 { min-width: 0; }

/* Spotify search results */
.spotify-result {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    margin-bottom: 0.45rem;
    background: var(--bs-secondary-bg);
    transition: border-color 0.15s, background 0.15s;
}
.spotify-result:hover { border-color: var(--rq-pink); background: var(--bs-tertiary-bg); }
.spotify-result img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }

.spotify-spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--bs-border-color);
    border-top-color: var(--rq-pink);
    animation: spin 0.7s linear infinite;
    pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.integration-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bs-border-color);
}
.integration-dot.spotify { background: #1DB954; }

.badge.text-bg-success-soft {
    background: rgba(29, 185, 84, 0.15);
    color: #1DB954;
    border: 1px solid rgba(29, 185, 84, 0.3);
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.badge.text-bg-success-soft:hover { background: rgba(29, 185, 84, 0.25); }
.badge.text-bg-danger-soft {
    background: rgba(220, 53, 69, 0.14);
    color: #b42334;
    border: 1px solid rgba(220, 53, 69, 0.25);
    font-weight: 700;
}
.badge.text-bg-info-soft {
    background: rgba(13, 202, 240, 0.14);
    color: #0b7285;
    border: 1px solid rgba(13, 202, 240, 0.25);
    font-weight: 700;
}
.request-note-shoutout,
.activity-extra,
.live-note-shoutout {
    margin-top: 0.35rem;
    color: var(--bs-body-color);
    font-size: 0.84rem;
    font-style: italic;
}
.request-note-private,
.live-note-private {
    margin-top: 0.3rem;
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
}
.poll-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.15rem;
    padding: 1rem;
    background: var(--bs-body-bg);
}
.poll-question {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}
.poll-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.poll-option-btn {
    border-radius: 999px;
    padding-inline: 1rem;
}
.request-cap-meta {
    border-top: 1px solid var(--bs-border-color);
    padding-top: 0.9rem;
}
.live-btn.live-next,
.live-btn.live-later {
    width: auto;
    min-width: 64px;
    padding: 0 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}
.live-btn.live-next {
    color: #b42334;
    border-color: rgba(220, 53, 69, 0.28);
    background: rgba(220, 53, 69, 0.08);
}
.live-btn.live-later {
    color: #0b7285;
    border-color: rgba(13, 202, 240, 0.28);
    background: rgba(13, 202, 240, 0.08);
}

/* Tabs in songs page */
.nav-tabs {
    --bs-nav-tabs-border-color: var(--bs-border-color);
    --bs-nav-tabs-link-active-color: var(--rq-pink);
    --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) transparent;
}
.nav-tabs .nav-link { color: var(--bs-secondary-color); font-weight: 600; }
.nav-tabs .nav-link.active { color: var(--rq-pink); background: var(--bs-secondary-bg); }
.nav-tabs .nav-link:hover:not(.active) { color: var(--bs-body-color); border-color: transparent; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--bs-border-color);
    padding: 2rem 0;
    margin-top: 2rem;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}
.site-footer .brand { color: var(--bs-body-color); }

.profile-hero {
    border-radius: 1.75rem;
    border: 1px solid var(--bs-border-color);
    overflow: hidden;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--profile-brand-1, #00cadd) 44%, #f6fffd) 0%,
            color-mix(in srgb, var(--profile-brand-2, #8ff8b6) 34%, #ecfffa) 35%,
            color-mix(in srgb, var(--profile-brand-3, #56bf80) 28%, #f7fffb) 68%,
            color-mix(in srgb, var(--profile-brand-4, #10884f) 32%, #effaf5) 100%);
}
.profile-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.6rem;
}
.profile-copy {
    min-width: 0;
}
.profile-title {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #073038;
}
.profile-bio {
    margin: 1rem 0 0;
    max-width: 42rem;
    color: rgba(7, 48, 56, 0.82);
    line-height: 1.6;
}
.profile-media {
    display: flex;
    justify-content: center;
}
.profile-cover {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.7);
}
.profile-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: rgba(7, 48, 56, 0.46);
}
.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.profile-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #073038;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.75);
}
.profile-link-pill:hover {
    color: #073038;
    background: rgba(255, 255, 255, 0.9);
}
.profile-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.profile-member-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.2rem;
    padding: 1rem;
    background: var(--bs-body-bg);
}
.profile-event-list {
    display: grid;
    gap: 0.85rem;
}
.profile-event-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}
.profile-member-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.9rem;
    background: var(--bs-tertiary-bg);
}

@media (max-width: 991px) {
    .analytics-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .analytics-stat-grid {
        grid-template-columns: 1fr;
    }
    .profile-hero-inner {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }
}
