@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600&display=swap");

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
    --color-primary: #434ce7;
    --color-danger:  #ff4757;
    --color-success: #2ed573;
    --color-bg:      #0e1014;
    --color-glass:   rgba(255,255,255,0.1);
    --color-glass-hover: rgba(255,255,255,0.15);
    --color-text:    rgb(255,255,255);
    --color-text-muted: rgba(255,255,255,0.75);
    --color-border:  rgba(255,255,255,0.05);
    --radius-sm:  8px;
    --radius-md:  10px;
    --radius-lg:  12px;
    --radius-xl:  15px;
    --radius-full: 50px;
    --transition: 0.23s ease-in-out;
    --font: 'Barlow', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-user-drag: none;
    user-select: none;
}

body, html {
    padding: 0;
    margin: 0;
    background-color: var(--color-bg);
    font-family: var(--font);
    overflow-x: hidden;
}

a, a:hover { text-decoration: none; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.split {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .split { flex-direction: row; }
}
.left  { flex: 70%; min-width: 0; }
.right { flex: 30%; min-width: 0; }

.header .split {
    min-width: 0;
}

.header > .pageContainer {
    position: relative;
    z-index: 5;
}

.pageContainer {
    width: 94%;
    margin: 0 auto;
    position: relative;
}
@media (min-width: 1250px) {
    .pageContainer { width: 1250px; }
}

.small-page-width {
    width: 96%;
    margin: 0 auto;
    position: relative;
}
@media (min-width: 650px) {
    .small-page-width { width: 650px; }
}

/* =============================================
   NAVBAR
   ============================================= */
.pageContainer.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: none;
    margin-left: 0;
    --nav-scroll: 0;
}
@media (min-width: 992px) {
    .pageContainer.nav {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -21px;
        width: auto;
    }
}

.navbar {
    width: 100%;
    border-radius: 0;
    --nav-scroll: 0;
    background: rgba(0, 0, 0, calc(0.02 + var(--nav-scroll) * 0.93)) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, calc(var(--nav-scroll) * 0.42));
    backdrop-filter: blur(calc(4px + 20px * var(--nav-scroll))) saturate(calc(100% + 60% * var(--nav-scroll)));
    -webkit-backdrop-filter: blur(calc(4px + 20px * var(--nav-scroll))) saturate(calc(100% + 60% * var(--nav-scroll)));
    border: 1px solid rgba(255, 255, 255, calc(0.03 + var(--nav-scroll) * 0.14));
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-right: 0 !important;
    transition:
        background 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        backdrop-filter 0.45s ease,
        -webkit-backdrop-filter 0.45s ease;
}
@media (min-width: 992px) {
    .navbar {
        width: calc(100% + 21px);
        border-radius: 28px;
        background: rgba(0, 0, 0, calc(0.1 + var(--nav-scroll) * 0.8)) !important;
        margin-right: -21px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

.navbar .nav-link {
    transition: color 0.35s ease, opacity 0.35s ease;
    opacity: calc(0.78 + var(--nav-scroll) * 0.22);
}

.pageContainer.nav.nav-scrolled .navbar .nav-link {
    opacity: 1;
}

.navbar-toggler {
    transition: background 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
    opacity: calc(0.85 + var(--nav-scroll) * 0.15);
}

.navbar svg {
    width: 20px;
    vertical-align: top;
    margin-top: 1px;
}
.navbar-nav .nav-item:not(.home) svg { margin-right: 5px; }
.navbar-brand img { width: 44px; }

/* ── Centred logo ── */
.navbar-brand-center {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.navbar-brand-center img {
    height: 34px;
    width: auto;
    display: block;
}

/* Mobile: logo lives inside the collapse overlay, centred between the two nav lists */
@media (max-width: 991px) {
    .navbar {
        display: flex;
        align-items: center;
    }

    /* Toggler stays in the bar */
    .navbar-toggler {
        flex: 0 0 44px;
        order: 1;
        margin-left: 0;
        margin-right: 0;
    }

    /* Collapse is the fullscreen overlay — logo sits inside it */
    .navbar-collapse {
        order: 2;
    }

    /* Inside the overlay, show logo centred between the two nav lists */
    .navbar-collapse .navbar-brand-center {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
        width: 100%;
    }

    .navbar-collapse .navbar-brand-center img {
        height: 36px;
    }
}

/* Desktop: logo as a real flex item — physically impossible to intersect.
   The navbar-collapse becomes a three-column row: [left nav] [logo] [right nav] */
@media (min-width: 992px) {
    nav.navbar {
        position: relative;
        display: flex;
        align-items: center;
    }

    nav.navbar .navbar-collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
    }

    /* Left nav: hugs the left edge */
    nav.navbar .navbar-collapse .navbar-nav.mr-auto {
        flex: 0 0 auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-right: 0 !important;
        padding-right: 0;
    }

    /* Logo: centred by pushing both sides with auto margins */
    nav.navbar .navbar-collapse .navbar-brand-center {
        position: static;
        transform: none;
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Right nav: hugs the right edge */
    nav.navbar .navbar-collapse .navbar-nav.ml-auto {
        flex: 0 0 auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        margin-left: auto !important;
        padding-left: 0;
    }
}

/* Legacy centred brand class (kept for theme compat) */
.navbar-brand-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
@media (min-width: 992px) {
    .navbar-brand-centered { display: block; }
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-muted) !important;
    transition: color var(--transition);
    font-family: var(--font) !important;
}
.nav-link .notificationIndicator {
    position: absolute;
    font-size: 12px;
    background: var(--color-danger);
    min-width: 19px;
    color: white !important;
    border-radius: 9px;
    text-align: center;
    line-height: 1.4;
    margin-top: -33px;
    margin-left: 14px;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.nav-item {
    transition: background var(--transition);
    border-radius: var(--radius-full);
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
}
.nav-item:last-child { margin-right: 0; }
.nav-item:hover { background: var(--color-glass); }
.nav-item:hover .nav-link { color: var(--color-text) !important; }

.avatarHolder { padding: 0 !important; cursor: pointer; }
.avatarHolder .avatar {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    overflow: hidden;
}
.avatarHolder .avatar img { width: 100%; height: 100%; }

/* Dropdown */
.dropdown-toggle::after { display: none; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
    background: rgba(0,0,0,0.95);
    border: none;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 999;
}
.dropdown-menu .dropdown-divider { border-color: var(--color-border) !important; }
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(0,0,0,0.95) transparent;
}
.nav-item.dropdown .dropdown-menu {
    transform: translateX(-50%);
    left: 50%;
    margin-top: -2px;
}
.dropdown-menu .dropdown-item {
    transition: opacity var(--transition);
    margin-left: 7px;
    width: calc(100% - 14px);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: transparent !important;
    padding-left: 9px;
    opacity: 0.8;
    font-weight: 500;
}
.dropdown-menu .dropdown-item:hover { opacity: 1 !important; }
.dropdown-title {
    font-family: var(--font);
    color: var(--color-text);
    font-weight: 600;
    font-size: 18px;
    margin-left: 16px;
    margin-top: 2px;
    margin-bottom: 2px;
}

/* Mobile nav (full-screen overlay) */
@media (max-width: 991px) {
    .navbar-toggler {
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.15);
        backdrop-filter: blur(10px) saturate(150%);
        border: none;
        border-radius: 50%;
        transition: background 0.2s;
        position: relative;
        z-index: 1100;
        padding: 0;
    }
    .navbar-toggler:hover { background: rgba(255,255,255,0.25); }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        width: 24px;
        height: 24px;
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%,-50%);
    }
    .navbar-toggler:not(.collapsed) .navbar-toggler-icon { display: none; }
    .navbar-toggler:not(.collapsed)::after {
        content: '\00d7';
        font-size: 2rem;
        color: rgba(255,255,255,0.9);
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%,-50%);
        line-height: 1;
    }
    .navbar-collapse {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(15px) saturate(150%);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1050;
        padding-top: 5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
    }
    .navbar-collapse.show { transform: translateY(0); }
    .navbar-collapse .navbar-nav { width: 100%; text-align: center; margin: 0; padding: 1rem 0; }
    .navbar-collapse .nav-item { width: 100%; margin: 0; padding: 0; }
    .navbar-collapse .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: rgba(255,255,255,0.9) !important;
    }
    .navbar-collapse .nav-link:hover { background: var(--color-glass); color: #fff !important; }
    .navbar-collapse .nav-item + .nav-item { margin-top: 0.5rem; }
    .navbar-collapse .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        transform: none !important;
        margin: 0; padding: 0;
        text-align: center;
    }
    .navbar-collapse .dropdown-menu::before { display: none; }
    .navbar-collapse .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
        padding: 0.75rem 0;
        font-size: 1rem;
        text-align: center;
        margin-left: 0;
        width: 100%;
    }
    .navbar-collapse .dropdown-item:hover { background: var(--color-glass) !important; color: #fff !important; }
    .navbar-brand-centered { display: none; }
}

/* =============================================
   HEADER / NOW PLAYING
   ============================================= */
.header {
    width: 100%;
    min-height: 270px;
    background: var(--color-glass);
    position: relative;
    overflow: hidden;
    padding-top: 95px;
}

/* Mobile: tighter top padding */
@media (max-width: 767px) {
    .header {
        padding-top: 76px;
        padding-bottom: 8px;
        min-height: 0;
    }
}

.header .blur {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
}
.header .blur::after {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(255,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
}
.header .blur img {
    width: 100%; height: 100%;
    filter: blur(50px) saturate(300%);
    opacity: 0.5;
}

/* Canvas — visualizer strip pinned to header bottom */
.header canvas { position: absolute; left: 0; pointer-events: none; }

#audioCanvas {
    top: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

#musicVisualizer {
    bottom: 0;
    top: auto;
    width: 100%;
    height: 36px;
    z-index: 3;
    opacity: 1;
    mix-blend-mode: normal;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%);
    mask-image: linear-gradient(to top, #000 55%, transparent 100%);
}

.header.viz-off #musicVisualizer {
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 768px) {
    #musicVisualizer { height: 44px; }
}

.theme-xmas #musicVisualizer,
.theme-nitro #musicVisualizer {
    mix-blend-mode: normal;
}

.header .toggle.visualizer-style.viz-toggle-off {
    opacity: 0.45;
}

.header .toggle.visualizer-style:not(.viz-toggle-off) {
    opacity: 1;
}

/* Stats row */
.header .stats .avatar {
    width: 70px; height: 70px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    display: inline-block;
    background: #fff;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .header .stats .avatar { width: 90px; height: 90px; }
}
.header .stats .avatar img { width: 100%; height: 100%; }

.header .now-playing.left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
}

.header .stats .textleft {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    text-shadow: 0 0 30px rgba(0,0,0,0.4);
    padding-left: 10px;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .header .stats .textleft { padding-left: 20px; }
}

.header .presenter-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
}
@media (min-width: 768px) {
    .header .presenter-stats { gap: 15px; }
}

.header .stats .textright {
    display: block;
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-shadow: 0 0 30px rgba(0,0,0,0.4);
    padding-right: 10px;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .header .stats .textright { padding-right: 20px; }
}

.header .stats .bigText {
    font-family: var(--font);
    font-weight: 600;
    color: var(--color-text);
    font-size: clamp(18px, 5vw, 28px);
    line-height: 1.25;
    min-height: 1.25em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    width: 100%;
    max-width: 100%;
    display: block;
}
@media (min-width: 768px) {
    .header .stats .bigText {
        font-size: 42px;
        line-height: 1.15;
        min-height: 1.15em;
        text-overflow: clip;
    }
}
.header .stats .smallText {
    font-family: var(--font);
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.25;
    min-height: 1.25em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    width: 100%;
    max-width: 100%;
    display: block;
}
@media (min-width: 768px) {
    .header .stats .smallText { font-size: 18px; text-overflow: clip; }
}

/* Mobile split: stack vertically */
@media (max-width: 767px) {
    .header .split {
        flex-direction: column;
        gap: 8px;
    }

    .header .now-playing {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: none;
        width: 100%;
    }

    .header .stats .avatar {
        width: 52px;
        height: 52px;
    }

    .header .stats .textleft {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        padding-left: 10px;
    }

    .header .presenter-stats {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        gap: 10px;
        width: 100%;
        flex: none;
    }

    .header .stats .textright {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        text-align: right;
        padding-right: 10px;
    }

    .presenter-stats .avatar-perm {
        height: 44px;
    }
}

/* Scrolling text */
.scroll-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    animation: scrollText linear infinite;
}

.scroll-part {
    flex-shrink: 0;
    padding-right: 64px;
}

@keyframes scrollText {
    0%, 12% {
        transform: translate3d(0, 0, 0);
    }
    88%, 100% {
        transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0);
    }
}

/* Marquee containers */
.now-playing .bigText,
.now-playing .smallText {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.now-playing .bigText.is-scrolling,
.now-playing .smallText.is-scrolling {
    text-overflow: clip;
}

.now-playing .bigText.is-scrolling::after,
.now-playing .smallText.is-scrolling::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(14, 16, 20, 0.55));
}

/* Controls */
.header .controls {
    margin-left: -12px;
    width: calc(100% + 6px);
    margin-top: 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.volume-track {
    position: relative;
    flex: 1;
    max-width: 220px;
    height: 32px;
    display: flex;
    align-items: center;
    --vol-pct: 50%;
}

.volume-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.volume-track::after {
    content: '';
    position: absolute;
    left: 0;
    width: var(--vol-pct);
    height: 6px;
    border-radius: 999px;
    background: #ffffff;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: width 0.08s linear;
}

@media (min-width: 768px) {
    .volume-track {
        max-width: 200px;
    }
}

.header .controls .col-4:first-child {
    display: flex;
    align-items: center;
}

.header .toggle.volume {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.header .toggle.volume svg {
    width: 20px;
    height: 20px;
}

.header .toggle.volume i {
    font-size: 20px !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .header .toggle.volume {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .header .controls {
        margin-left: 0;
        width: 100%;
        margin-top: 12px;
        padding-bottom: 4px;
    }

    .header .controls .row {
        align-items: center;
    }

    .header .controls .col-4:first-child {
        display: flex;
        align-items: center;
        padding-left: 4px;
    }

    .volume-control {
        width: 100%;
    }

    .volume-track {
        max-width: none;
    }

    .header .toggle.volume {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .header .toggle.play {
        width: 60px;
        height: 60px;
    }

    .header .toggle.play svg {
        width: 28px;
        height: 28px;
    }
}

.header .toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    position: relative;
}
@media (min-width: 768px) {
    .header .toggle { width: 50px; height: 50px; }
}
.header .toggle:hover { cursor: pointer; }
.header .toggle.play {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(30px) saturate(350%);
    margin: 0 auto;
    transition: background var(--transition), transform 0.2s ease;
}
.header .toggle.play:hover { background: rgba(255,255,255,0.3); }

.header .toggle.play.is-loading {
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.14) !important;
    pointer-events: none;
    cursor: wait;
}

.play-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: playSpin 0.7s linear infinite;
}

@media (min-width: 768px) {
    .play-spinner {
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
        border-width: 3px;
    }
}

@keyframes playSpin {
    to { transform: rotate(360deg); }
}
.header .toggle svg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    color: var(--color-text);
    width: 20px; height: 20px;
}
@media (min-width: 768px) {
    .header .toggle svg { width: 24px; height: 24px; }
}
.header .toggle:not(.play) { display: inline-block; vertical-align: top; }
.header .toggle.volume svg {
    width: 20px;
    height: 20px;
}
.header .toggle i { color: white; opacity: 1; position: absolute; font-size: 39px; }
@media (min-width: 768px) {
    .header .toggle i { font-size: 49px; }
}

/* Mobile play button — desktop play sizing handled above */
@media (max-width: 767px) {
    .floatRight .toggle {
        width: 36px;
        height: 36px;
    }

    .floatRight .toggle svg {
        width: 18px;
        height: 18px;
    }
}

.floatRight { float: right; display: flex; gap: 5px; }
.floatRight .toggle svg { color: rgba(255,255,255,0.65) !important; transition: color var(--transition); }
.floatRight .toggle:hover svg { color: var(--color-text) !important; cursor: pointer; }

@media (max-width: 767px) {
    .floatRight {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        padding-right: 4px;
    }

    .floatRight .toggle {
        width: 36px;
        height: 36px;
    }

    .floatRight .toggle svg {
        width: 18px;
        height: 18px;
    }
}

/* Volume slider */
#volume {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    background: transparent;
    border-radius: 0;
    outline: none;
    display: block;
    cursor: pointer;
    margin: 0;
    position: relative;
    z-index: 2;
    touch-action: none;
}

#volume::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border: none;
}

#volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    margin-top: -5px;
    cursor: grab;
}

#volume:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.12);
}

#volume::-moz-range-track {
    height: 6px;
    background: transparent;
    border: none;
}

#volume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    cursor: grab;
}

@media (max-width: 767px) {
    #volume::-webkit-slider-thumb {
        width: 22px;
        height: 22px;
        margin-top: -8px;
    }

    #volume::-moz-range-thumb {
        width: 22px;
        height: 22px;
    }
}

/* Presenter stats */
.presenter-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (min-width: 768px) {
    .presenter-stats { gap: 15px; }
}
.presenter-stats .textright { text-align: right; }
.presenter-stats .avatar-perm {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (min-width: 768px) {
    .presenter-stats .avatar-perm { height: 60px; }
}
.presenter-stats .avatar-perm img { height: 100%; }
.presenter-stats.perm-show-active { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.presenter-stats.perm-show-active .textright { text-align: left; margin-right: auto; }

/* Snow layer */
.snow-layer {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 12px;
    background: #fff;
    border-top-left-radius: 12% 20px;
    border-top-right-radius: 12% 20px;
    box-shadow: 0 -5px 10px rgba(255,255,255,0.7);
    opacity: 0.95;
    z-index: 1;
}
@media (min-width: 768px) {
    .snow-layer { left: 60%; transform: translateX(-65%); width: 60%; height: 16px; }
}

/* =============================================
   PAGE CONTENT
   ============================================= */
.pageAjax {
    min-height: calc(100vh - 270px);
    padding: 15px 0;
}

@media (max-width: 767px) {
    .pageAjax { padding: 10px 0 20px; }
}

.contentTitle {
    color: var(--color-text);
    font-weight: 600;
    width: 100%;
    font-size: 19px;
    letter-spacing: 0.4px;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .contentTitle { font-size: 21px; }
}
@media (max-width: 767px) {
    .contentTitle { font-size: 17px; }
}
.contentTitle svg {
    width: 26px; height: 26px;
    vertical-align: top;
    margin-top: 3px;
    margin-right: 6px;
    opacity: 0.6;
}
.contentTitle.big {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px !important;
}
@media (min-width: 768px) {
    .contentTitle.big { font-size: 29px; }
}
@media (max-width: 767px) {
    .contentTitle.big { font-size: 21px; }
}
.contentTitle.big svg {
    width: 20px; height: 20px;
    margin-top: 8px;
    margin-right: 6px;
    opacity: 0.8;
}
@media (min-width: 768px) {
    .contentTitle.big svg { width: 24px; height: 24px; margin-top: 11px; }
}

.contentBody {
    color: var(--color-text);
    width: 100%;
    font-size: 16px;
    letter-spacing: 0.4px;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .contentBody { font-size: 17px; }
}
textarea.contentBody {
    appearance: none !important;
    outline: none !important;
    border: none !important;
    background: var(--color-glass);
    border-radius: 7px;
    padding: 10px 13px;
}

/* =============================================
   RECENTLY PLAYED
   ============================================= */
.recently-played {
    width: 100%;
    height: auto;
    max-height: 431px;
    overflow-y: auto;
}
@media (min-width: 768px) {
    .recently-played { height: 431px; }
}
@media (max-width: 767px) {
    .recently-played { max-height: none; }
}

.recently-played .item {
    width: calc(100% - 7px);
    display: block;
    position: relative;
    transition: background 0.53s ease-in-out;
    background: linear-gradient(324deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 80%);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(50px) saturate(160%);
    margin-top: 12px;
    overflow: hidden;
}
.recently-played a.item {
    color: inherit;
    text-decoration: none;
}
@media (max-width: 767px) {
    .recently-played .item {
        width: 100%;
        margin-top: 10px;
    }
}
.recently-played .item:hover {
    background: linear-gradient(324deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 80%);
    cursor: pointer;
}
@keyframes load {
    0%   { margin-top: -78px; }
    100% { margin-top: 12px; }
}
.recently-played .item.unloaded { animation: load 1s forwards; }

.recently-played .item .avatar {
    position: absolute;
    width: 60px; height: 60px;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
}
@media (min-width: 768px) {
    .recently-played .item .avatar { width: 74px; height: 74px; }
}
@media (max-width: 767px) {
    .recently-played .item .avatar { width: 56px; height: 56px; }
}
.recently-played .item .avatar img { width: 100%; height: 100%; }

.recently-played .item .blur {
    position: absolute;
    top: 3px; left: -11px;
    width: 70px; height: 70px;
    filter: blur(15px) saturate(230%);
    border-radius: 50%;
    opacity: 0.4;
}
.recently-played .item .blur img { width: 100%; height: 100%; border-radius: 50%; }

.recently-played .text {
    width: 100%;
    display: inline-block;
    padding: 10px;
    padding-left: 70px;
}
@media (min-width: 768px) {
    .recently-played .text { padding-left: 89px; }
}
@media (max-width: 767px) {
    .recently-played .text {
        padding-left: 66px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}
.recently-played .text .songName {
    font-family: var(--font);
    font-weight: 700;
    color: var(--color-text);
    font-size: 18px;
    letter-spacing: 0.5px;
    max-height: 27px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (min-width: 768px) {
    .recently-played .text .songName { font-size: 20px; max-height: 30px; }
}
@media (max-width: 767px) {
    .recently-played .text .songName { font-size: 16px; max-height: none; }
}
.recently-played .text .songArtist {
    font-family: var(--font);
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 14px;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .recently-played .text .songArtist { font-size: 16px; }
}
@media (max-width: 767px) {
    .recently-played .text .songArtist { font-size: 13px; }
}
.recently-played .item .toggles { display: inline-block; }
.recently-played .item .toggles i {
    font-size: 31px;
    color: var(--color-text-muted);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    cursor: pointer;
}
.recently-played .item .toggles i:hover { color: var(--color-text); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.06) 100%);
    border-top: 1px solid var(--color-border);
}
.footer .dropdown-divider,
.footer-divider {
    height: 0;
    margin: 0;
    border: none;
    border-top: 1px solid var(--color-border);
    opacity: 1;
}
.footer--nostalgia {
    background: rgba(13,43,65,0.6);
    border-top-color: rgba(255,255,255,0.07);
    padding-bottom: 8px;
}
.footer--nostalgia .footer-divider { border-top-color: rgba(255,255,255,0.07); }

.footer-online-wrap {
    padding: 28px 0 24px;
}
.footer-online {
    max-width: 640px;
    margin: 0 auto;
}
.footer-online-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-online-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
@media (min-width: 768px) {
    .footer-online-title { font-size: 18px; }
}
.footer-online-title svg {
    width: 20px;
    height: 20px;
    opacity: 0.55;
    flex-shrink: 0;
}
.footer-online-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(46,213,115,0.12);
    border: 1px solid rgba(46,213,115,0.25);
    color: #7dffb0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.footer-online-badge:empty { display: none; }
.footer-online-empty {
    margin: 4px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.1);
    color: var(--color-text-muted);
    font-size: 14px;
    text-align: center;
    line-height: 1.45;
}

/* Credits bar */
.footer-credits.credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0 22px;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-credits.credits {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 16px 0 20px;
        font-size: 14px;
        text-align: left;
    }
}
.footer-credits-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .footer-credits-main { justify-content: flex-start; }
}
.footer-copy { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-meta { color: var(--color-text-muted); }
.footer-meta a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-meta a:hover { color: white; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer-links a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: white;
}

/* Legacy credits selectors (theme overrides) */
.credits .l { float: none; margin-bottom: 10px; }
.credits .cb { display: block; margin-top: 5px; }
.credits .cb a { text-decoration: none; color: rgba(255,255,255,0.9); font-weight: 600; }
.credits .r { float: none; margin-top: 10px; text-align: center; }
.credits .r a { color: var(--color-text-muted); text-decoration: none; }

/* Online members */
.onlineMembers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
@media (min-width: 768px) {
    .onlineMembers { justify-content: flex-start; gap: 12px; }
}
.onlineMember {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}
@media (min-width: 768px) {
    .onlineMember { width: 44px; height: 44px; }
}
.onlineMember.is-empty {
    display: none;
}
.onlineMember a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.onlineMember a:hover {
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.onlineMember img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.onlineMember.active a {
    border-color: rgba(46,213,115,0.45);
}
.onlineMember.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-success);
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 0 1px rgba(46,213,115,0.35);
    pointer-events: none;
}
.onlineMember.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-success);
    opacity: 0.45;
    animation: online-pulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes online-pulse {
    0% { transform: scale(1); opacity: 0.45; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* =============================================
   MODALS
   ============================================= */
.modal-backdrop {
    background: linear-gradient(0deg, rgba(247,247,247,0) 0%, rgba(0,0,0,1) 100%) !important;
}
.modal-content {
    border: none !important;
    border-radius: var(--radius-xl);
    background: rgba(0,0,0,1) !important;
    backdrop-filter: blur(20px) saturate(130%);
    position: relative;
}
.modal-header, .modal-body, .modal-footer { border-color: rgba(0,0,0,0.05) !important; }
.modal-title {
    color: var(--color-text);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: 0.2px;
}
.modal-title svg { vertical-align: top; margin-right: 6px; margin-top: 3px; width: 19px; opacity: 0.75; }
.modal-header button {
    text-shadow: none !important;
    color: rgba(255,255,255,0.7);
    padding: 10px !important;
    font-size: 17px;
    transition: color var(--transition);
}
.modal-header button:hover { color: var(--color-text) !important; }
.modal-open { overflow: unset !important; padding-right: 0 !important; }
.bannerCont { display: none; }
@media (min-width: 768px) {
    .modal-dialog {
        left: 50%; top: 50%;
        transform: translate(-50%,-50%) !important;
        position: absolute;
        width: 500px;
        animation: zoomIn 0.6s forwards;
    }
    .bannerCont { display: block; }
}
@keyframes zoomIn {
    0%   { opacity: 0; left: 50%; top: 60%; transform: scale(0) translate(-50%,-50%) !important; position: absolute; }
    100% { left: 50%; top: 50%; transform: scale(1) translate(-50%,-50%) !important; position: absolute; }
}

/* Mobile: slide-up sheet */
@media (max-width: 767px) {
    .modal-dialog {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        animation: slideUp 0.3s ease-out forwards !important;
    }

    .modal-content {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: var(--radius-xl) !important;
        border-top-right-radius: var(--radius-xl) !important;
    }

    @keyframes slideUp {
        from { transform: translateY(100%) !important; }
        to   { transform: translateY(0)    !important; }
    }
}

/* =============================================
   CONFIRM DIALOG (rebootConfirm)
   ============================================= */
.reboot-confirm-open { overflow: hidden; }

.reboot-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    transition: background 0.22s ease, backdrop-filter 0.22s ease;
}

.reboot-confirm-overlay.visible {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.reboot-confirm-dialog {
    width: 100%;
    max-width: 400px;
    background: rgba(16, 18, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    overflow: hidden;
}

.reboot-confirm-overlay.visible .reboot-confirm-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.reboot-confirm-header {
    padding: 18px 20px 0;
}

.reboot-confirm-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.reboot-confirm-body {
    padding: 12px 20px 18px;
}

.reboot-confirm-detail {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #00c853;
    margin-bottom: 8px;
}

.reboot-confirm-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.reboot-confirm-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.reboot-confirm-btn {
    flex: 1;
    height: 42px !important;
    padding: 0 16px !important;
    border: none;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease, background 0.15s ease;
}

.reboot-confirm-btn--cancel {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.reboot-confirm-btn--cancel:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.reboot-confirm-btn--primary {
    background: var(--color-primary, #007bff) !important;
    color: #fff !important;
}

.reboot-confirm-btn--purchase {
    background: #00c853 !important;
    color: #fff !important;
}

.reboot-confirm-btn--danger {
    background: rgba(231, 76, 60, 0.9) !important;
    color: #fff !important;
}

.reboot-confirm-btn--primary:hover,
.reboot-confirm-btn--purchase:hover,
.reboot-confirm-btn--danger:hover {
    filter: brightness(1.06);
}

@media (max-width: 480px) {
    .reboot-confirm-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .reboot-confirm-dialog {
        max-width: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .reboot-confirm-actions {
        flex-direction: column-reverse;
    }
}

/* =============================================
   FORMS
   ============================================= */
form label { display: block; color: var(--color-text-muted); }
form input,
form select {
    display: block;
    width: 100%;
    appearance: none;
    border: none;
    outline: none;
    background: var(--color-glass);
    border-radius: var(--radius-md);
    padding: 10px 15px;
    margin-bottom: 20px;
    color: var(--color-text);
    height: 44px !important;
}
form textarea {
    display: block;
    width: 100%;
    appearance: none;
    border: none;
    outline: none;
    background: var(--color-glass);
    border-radius: var(--radius-md);
    padding: 10px 15px;
    margin-bottom: 20px;
    color: var(--color-text);
}
select option { color: black; }
form input:last-child { margin-bottom: 0 !important; }
form button {
    width: 100%;
    font-weight: 600;
    color: var(--color-text);
    outline: none !important;
    border: none !important;
    padding: 10px 15px;
    opacity: 0.8 !important;
    transition: opacity var(--transition);
}
form button:hover { opacity: 1 !important; }

select {
    width: 100%;
    padding: 10px 13px;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    background: transparent;
    border: none;
    appearance: none;
    outline: none;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 16px;
    font-family: var(--font);
    margin-bottom: 15px;
}

.form-group { width: 100%; display: block; vertical-align: top; margin-right: 0; }
@media (min-width: 768px) {
    .form-group { width: calc(50% - 10px); display: inline-block; }
    .form-group:nth-child(odd) { margin-right: 10px; }
}
.form-group:last-child { margin-right: 0 !important; }

.small-page-width input {
    width: 100%;
    height: 45px !important;
    border: none;
    border-radius: var(--radius-sm) !important;
    background: rgba(255,255,255,0.025);
    padding: 10px 15px !important;
    font-family: var(--font) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: rgba(255,255,255,0.58);
    margin-bottom: 20px;
    line-height: 1.5;
    transition: all var(--transition);
}
@media (min-width: 768px) {
    .small-page-width input { height: 50px !important; font-size: 18px !important; }
}
.small-page-width .divider {
    width: 100%; height: 1px;
    background: transparent;
    clear: left;
    margin-bottom: 10px !important;
}

.usernameCheck { position: relative; }
.usernameCheck .checker {
    position: absolute;
    bottom: 0; right: 0;
    height: 45px;
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    padding: 9px 13px;
    display: none;
}
@media (min-width: 768px) { .usernameCheck .checker { height: 50px; padding: 11px 13px; } }
.usernameCheck .checker.available { background: var(--color-success); }
.usernameCheck .checker.taken    { background: var(--color-danger); }

.g-recaptcha { margin: 0 auto; width: fit-content; position: relative; margin-bottom: 15px; transform: scale(0.85); }
@media (min-width: 480px) { .g-recaptcha { transform: scale(1); } }

.accountPromo { padding: 0; text-align: center; width: 100%; color: var(--color-text-muted); margin-bottom: 20px; }
.accountPromo a { font-weight: 600; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    border-radius: var(--radius-md) !important;
    text-align: center;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    height: 50px;
    padding: 11px;
}
.action-btn,
.buyButton,
.viewButton {
    border-radius: var(--radius-md) !important;
    text-align: center;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    height: 50px;
    padding: 11px;
    background: var(--color-primary) !important;
    color: var(--color-text);
}
.btn-primary { background: var(--color-primary) !important; }

.profileButtons {
    width: 100%;
    text-align: center;
    position: relative;
    top: auto; right: auto;
    z-index: 100;
    padding: 15px;
}
@media (min-width: 768px) {
    .profileButtons { text-align: right; position: absolute; top: 0; right: 0; padding: 24px; }
}
.profileButtons .btn {
    padding: 8px 15px;
    height: auto !important;
    opacity: 0.8;
    transition: opacity var(--transition);
    font-size: 14px;
}
@media (min-width: 768px) {
    .profileButtons .btn { padding: 10px 22px; font-size: 16px; }
}
.profileButtons .btn:hover { opacity: 1; }
.followUser { margin-top: 0; }

/* Profile page — Reboot glass layout */
.profile-page {
    --profile-gap: 14px;
    --profile-accent: #00c853;
    --profile-accent-soft: rgba(0, 200, 83, 0.12);
    --profile-accent-border: rgba(0, 200, 83, 0.28);
    --profile-glass: linear-gradient(324deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.055) 80%);
    --profile-glass-hover: linear-gradient(324deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 80%);
}

.profile-page .about,
.profile-page .wtl-box {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.profile-page-title {
    margin-bottom: 16px !important;
    color: var(--color-text);
    font-family: var(--font);
}

.profile-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 22px;
    min-height: 0;
    height: auto !important;
    padding: 0 !important;
    background: var(--profile-glass);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 12px 40px rgba(0, 0, 0, 0.18);
}

.profile-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--profile-accent), var(--color-primary));
    opacity: 0.85;
    z-index: 4;
    pointer-events: none;
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.profile-hero-bg img {
    width: 115%;
    height: 115%;
    object-fit: cover;
    object-position: center 25%;
    filter: blur(48px) saturate(145%);
    opacity: 0.5;
    transform: scale(1.1);
}

.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(67, 76, 231, 0.14) 0%, transparent 42%),
        linear-gradient(180deg, rgba(14, 16, 20, 0.35) 0%, rgba(14, 16, 20, 0.72) 55%, rgba(14, 16, 20, 0.92) 100%);
    pointer-events: none;
}

.profile-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px 28px;
    align-items: center;
    padding: 26px 28px;
}

@media (max-width: 767px) {
    .profile-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 22px 16px;
    }
}

.profile-hero-avatar-col { flex-shrink: 0; }

.profile-hero-avatar-col .profileAvatar {
    margin: 0;
    border: 3px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(67, 76, 231, 0.15);
}

.profile-hero-body { min-width: 0; }

.profile-hero-name {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .profile-hero-name { justify-content: center; }
}

.profile-hero-name h1 {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.12;
    letter-spacing: 0.2px;
}

.profile-role-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(67, 76, 231, 0.22), rgba(0, 200, 83, 0.12));
    border: 1px solid rgba(67, 76, 231, 0.28);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-role-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
    opacity: 0.9;
}

.profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.profile-meta-sep { opacity: 0.35; user-select: none; }

.profile-status-dot--online {
    color: var(--profile-accent);
    font-weight: 600;
}

.profile-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 767px) {
    .profile-hero-badges { justify-content: center; }
}

.profile-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
}

.profile-hero-badge--role {
    background: rgba(67, 76, 231, 0.12);
    border-color: rgba(67, 76, 231, 0.28);
    color: #b8bcff;
}

.profile-hero-badge--live {
    background: var(--profile-accent-soft);
    border-color: var(--profile-accent-border);
    color: #9cf0b8;
}

.profile-hero-badge--show {
    background: var(--profile-accent-soft);
    border-color: var(--profile-accent-border);
    color: #9cf0b8;
}

.profile-hero-badge--chart {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.25);
    color: #ffe082;
}

.profile-hero-actions {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    padding: 0 !important;
    text-align: right;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

@media (max-width: 767px) {
    .profile-hero-actions {
        text-align: center;
        align-items: center;
    }
}

.profile-action-btn {
    opacity: 1 !important;
    margin: 0 !important;
    min-width: 132px;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font);
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: filter var(--transition), background var(--transition), border-color var(--transition);
}

.profile-page .profile-action-btn.btn-primary {
    background: var(--profile-accent) !important;
    color: #0b0e14 !important;
    border: none !important;
}

.profile-page .profile-action-btn.btn-primary:hover {
    filter: brightness(1.06);
}

.profile-action-btn--ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--color-text) !important;
}

.profile-action-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.profile-follow-btn.is-following {
    background: rgba(255, 255, 255, 0.07) !important;
    color: var(--color-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.profile-follow-btn.is-following:hover {
    background: rgba(255, 71, 87, 0.12) !important;
    border-color: rgba(255, 71, 87, 0.35) !important;
    color: #ffb3ba !important;
}

.profile-layout { margin-top: 6px; }

.profile-sidebar,
.profile-main {
    display: flex;
    flex-direction: column;
    gap: var(--profile-gap);
}

@media (min-width: 992px) {
    .profile-sidebar {
        position: sticky;
        top: 78px;
        align-self: flex-start;
    }
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--profile-gap);
}

.profile-stat-grid--single { grid-template-columns: 1fr; }

.profile-stat-card {
    position: relative;
    padding: 16px 16px 15px !important;
    overflow: hidden;
    background: var(--profile-glass) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: background var(--transition), border-color var(--transition);
}

.profile-stat-card:hover {
    background: var(--profile-glass-hover) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.profile-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: rgba(67, 76, 231, 0.12);
    border: 1px solid rgba(67, 76, 231, 0.18);
}

.profile-stat-icon svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.profile-stat-label {
    font-family: var(--font);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

.profile-stat-value {
    font-family: var(--font);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.05;
}

.profile-stat-value--sm {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.profile-side-panel {
    padding: 0 !important;
    overflow: hidden;
    background: var(--profile-glass) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: background var(--transition);
}

.profile-side-panel:hover {
    background: var(--profile-glass-hover) !important;
}

.profile-panel-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 14px 22px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.profile-panel-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--color-primary), var(--profile-accent));
    opacity: 0.9;
}

.profile-panel-head svg {
    width: 17px;
    height: 17px;
    opacity: 0.55;
    flex-shrink: 0;
}

.profile-panel-head--split {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.profile-panel-head--gold {
    color: #ffd700;
    border-bottom-color: rgba(255, 215, 0, 0.14);
}

.profile-panel-head--gold::before {
    background: linear-gradient(180deg, #ffd700, #ffb300);
}

.profile-panel-meta {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.profile-panel-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--profile-accent);
    text-decoration: none;
    transition: color var(--transition);
}

.profile-panel-link:hover {
    text-decoration: underline;
    color: #4caf69;
}

.profile-panel-count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
    margin-left: 4px;
}

.profile-panel-body {
    padding: 16px 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-family: var(--font);
}

.profile-panel-body--flush { padding: 0; }

.profile-muted-note {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.42);
}

.profile-about-text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.profile-empty-state {
    text-align: center;
    padding: 32px 16px;
    color: rgba(255, 255, 255, 0.42);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.profile-empty-state svg {
    width: 34px;
    height: 34px;
    opacity: 0.3;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-empty-state p { margin: 0; font-size: 14px; }

.profile-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-social-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.profile-social-btn svg { width: 18px; height: 18px; opacity: 0.85; }

.profile-social-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.profile-social-btn--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.profile-social-btn--twitter:hover  { background: #1da1f2; border-color: transparent; }
.profile-social-btn--youtube:hover  { background: #ff0000; border-color: transparent; }
.profile-social-btn--tiktok:hover   { background: #111; border-color: #25f4ee; box-shadow: 0 0 0 1px #fe2c55; }

.profile-host-grid { display: flex; flex-direction: column; gap: 8px; }

.profile-host-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}

.profile-host-chip:hover {
    background: rgba(67, 76, 231, 0.1);
    border-color: rgba(67, 76, 231, 0.22);
    color: #fff;
    text-decoration: none;
}

.profile-host-chip img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-host-chip span {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-episode-stats { display: flex; flex-wrap: wrap; gap: 6px; }

.profile-page .perm-show-avatar {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: 112px !important;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: none !important;
}

.profile-page .perm-show-avatar img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
}

.profile-page .formatted-content { line-height: 1.65; word-wrap: break-word; }

.profile-page .formatted-content h1,
.profile-page .formatted-content h2,
.profile-page .formatted-content h3,
.profile-page .formatted-content h4,
.profile-page .formatted-content h5,
.profile-page .formatted-content h6 {
    margin: 1em 0 0.5em;
    color: var(--color-text);
    font-family: var(--font);
    font-weight: 600;
}

.profile-page .formatted-content h1 { font-size: 1.75em; }
.profile-page .formatted-content h2 { font-size: 1.5em; }
.profile-page .formatted-content h3 { font-size: 1.3em; }
.profile-page .formatted-content strong { font-weight: 600; color: var(--color-text); }
.profile-page .formatted-content em { font-style: italic; }
.profile-page .formatted-content del { text-decoration: line-through; opacity: 0.7; }

.profile-page .formatted-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.22), transparent);
    margin: 1.4em 0;
}

/* Profile chart + episodes */
.profile-page .chart-list { display: flex; flex-direction: column; }

.profile-page .chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition);
}

.profile-page .chart-row:last-child { border-bottom: none; }
.profile-page .chart-row:hover { background: rgba(255,255,255,0.035); }

.profile-page .chart-pos {
    width: 32px; min-width: 32px;
    font-size: 20px; font-weight: 600;
    text-align: center;
    color: rgba(255,255,255,0.45);
    line-height: 1;
    font-family: var(--font);
}

.profile-page .chart-pos--gold   { color: #ffd700; }
.profile-page .chart-pos--silver { color: #c0c0c0; }
.profile-page .chart-pos--bronze { color: #cd7f32; }

.profile-page .chart-mov-wrap { width: 42px; min-width: 42px; display: flex; justify-content: center; }

.profile-page .chart-mov {
    display: inline-flex; align-items: center; gap: 2px;
    font-size: 11px; font-weight: 600;
    padding: 3px 6px; border-radius: var(--radius-sm); white-space: nowrap;
}

.profile-page .chart-mov svg { width: 12px; height: 12px; }
.profile-page .chart-mov--up   { background: rgba(46,213,115,0.16); color: var(--color-success); }
.profile-page .chart-mov--down { background: rgba(255,71,87,0.16); color: var(--color-danger); }
.profile-page .chart-mov--same { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.38); }
.profile-page .chart-mov--new  { background: rgba(67,76,231,0.16); color: #8b93ff; font-size: 10px; }

.profile-page .chart-art {
    width: 46px; min-width: 46px; height: 46px;
    border-radius: var(--radius-sm); overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.profile-page .chart-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-page .chart-info { flex: 1; min-width: 0; }

.profile-page .chart-title {
    font-size: 15px; font-weight: 600; color: var(--color-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.profile-page .chart-artist {
    font-size: 13px; color: rgba(255,255,255,0.52);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
}

.profile-page .chart-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 5px; font-size: 11px; color: rgba(255,255,255,0.38);
}

.profile-page .chart-meta span { display: inline-flex; align-items: center; gap: 3px; }
.profile-page .chart-plays { text-align: right; min-width: 52px; }
.profile-page .chart-plays-count { display: block; font-size: 15px; font-weight: 600; color: var(--color-text); line-height: 1; }
.profile-page .chart-plays-label {
    display: block; font-size: 10px; color: rgba(255,255,255,0.32);
    margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px;
}

.profile-page .chart-right {
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 6px; min-width: 60px;
}

.profile-page .chart-vote-btn {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full); color: rgba(255,255,255,0.48);
    font-size: 12px; padding: 3px 9px; cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.profile-page .chart-vote-btn:hover:not(:disabled) {
    background: rgba(232,62,140,0.18); border-color: #e83e8c; color: #e83e8c;
}

.profile-page .chart-vote-btn.voted {
    background: rgba(232,62,140,0.18); border-color: #e83e8c; color: #e83e8c;
}

.profile-page .chart-vote-btn:disabled { cursor: not-allowed; opacity: 0.4; }
.profile-page .chart-row--votable { cursor: pointer; }
.profile-page .chart-row--votable:hover { background: rgba(232,62,140,0.05) !important; }

.profile-page .chart-row--voted {
    background: rgba(232,62,140,0.07) !important;
    border-left: 3px solid #e83e8c;
}

.profile-page .chart-schedule-list { display: flex; flex-direction: column; }

.profile-page .chart-schedule-item {
    display: flex; flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 3px;
}

.profile-page .chart-schedule-item:last-child { border-bottom: none; }
.profile-page .chart-schedule-item--highlight { background: rgba(255,215,0,0.04); }

.profile-page .chart-schedule-day {
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.65px;
    color: var(--profile-accent);
}

.profile-page .chart-schedule-item--highlight .chart-schedule-day { color: #ffd700; }

.profile-page .chart-schedule-desc {
    font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.4;
}

.profile-page .community-winner-card {
    border-color: rgba(255,215,0,0.2) !important;
    background: linear-gradient(324deg, rgba(255,215,0,0.04) 0%, rgba(255,255,255,0.03) 80%) !important;
}

.profile-page .community-winner-body {
    display: flex; align-items: center; gap: 16px;
}

.profile-page .community-winner-art {
    width: 64px; min-width: 64px; height: 64px;
    border-radius: var(--radius-md); overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.15);
}

.profile-page .community-winner-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-page .community-winner-info { flex: 1; min-width: 0; }

.profile-page .community-winner-title {
    font-size: 17px; font-weight: 600; color: var(--color-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.profile-page .community-winner-artist { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 3px; }

.profile-page .community-winner-votes {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: rgba(255,215,0,0.82); margin-top: 6px;
}

.profile-page .community-winner-breakdown { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }

.profile-page .winner-vote-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 600;
}

.profile-page .winner-vote-pill--site {
    background: var(--profile-accent-soft); color: var(--profile-accent);
    border: 1px solid var(--profile-accent-border);
}

.profile-page .winner-vote-pill--discord {
    background: rgba(88,101,242,0.16); color: #7289da;
    border: 1px solid rgba(88,101,242,0.28);
}

.profile-page .vote-prompt {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; font-size: 13px;
    color: rgba(255,255,255,0.72);
    background: rgba(232,62,140,0.07);
    border-bottom: 1px solid rgba(232,62,140,0.12);
}

.profile-page .vote-prompt--guest { background: rgba(255,255,255,0.03); border-bottom-color: rgba(255,255,255,0.07); }
.profile-page .vote-prompt--closed { background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.42); }
.profile-page .vote-prompt--announced { background: rgba(255,215,0,0.06); color: rgba(255,215,0,0.82); }
.profile-page .vote-prompt a { color: var(--profile-accent); }

.profile-page .episodes-list { display: flex; flex-direction: column; gap: 12px; }

.profile-page .episode-item {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition), border-color var(--transition);
}

.profile-page .episode-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.09);
}

.profile-page .episode-item.archived-episode { opacity: 0.82; }

.profile-page .episode-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; margin-bottom: 8px;
}

.profile-page .episode-number {
    font-size: 10px; color: var(--profile-accent);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

.profile-page .episode-title {
    margin: 4px 0 0; font-size: 17px; font-weight: 600;
    color: var(--color-text); font-family: var(--font);
}

.profile-page .episode-date { font-size: 13px; color: rgba(255,255,255,0.45); white-space: nowrap; }
.profile-page .episode-description { margin: 10px 0; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.profile-page .episode-audio { margin: 10px 0; }
.profile-page .episode-audio audio { width: 100%; height: 40px; }
.profile-page .episode-status { margin: 6px 0; }

.profile-page .episode-duration {
    font-size: 12px; color: rgba(255,255,255,0.42);
    display: flex; align-items: center; gap: 5px; margin-top: 8px;
}

.profile-page .upcoming-episodes {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.profile-page .upcoming-episodes h5 {
    margin: 0 0 10px; color: var(--profile-accent);
    font-size: 14px; font-weight: 600; font-family: var(--font);
}

.profile-page .upcoming-item {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md); margin-bottom: 8px;
}

.profile-page .badge {
    display: inline-block; padding: 3px 8px; border-radius: var(--radius-sm);
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.4px;
}

.profile-page .badge-secondary     { background: #6c757d; color: #fff; }
.profile-page .badge-upcoming      { background: rgba(67,76,231,0.35); color: #c5c9ff; }
.profile-page .badge-coming-soon   { background: rgba(255,193,7,0.22); color: #ffe082; }
.profile-page .badge-available     { background: var(--profile-accent-soft); color: var(--profile-accent); border: 1px solid var(--profile-accent-border); }
.profile-page .badge-not-available { background: rgba(255,71,87,0.16); color: #ff8a94; }
.profile-page .badge-archived      { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); }
.profile-page .text-warning { color: #ffc107; }
.profile-page .text-danger  { color: var(--color-danger); }
.profile-page .text-muted   { color: rgba(255,255,255,0.42); }

@media (max-width: 767px) {
    .profile-stat-grid { grid-template-columns: 1fr; }
    .profile-page .community-winner-body { flex-direction: column; text-align: center; }
    .profile-page .chart-row { padding: 10px 12px; gap: 8px; }
    .profile-page .chart-meta { display: none; }
    .profile-hero-meta { justify-content: center; }
}


/* =============================================
   CARDS / BOXES
   ============================================= */
.about {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    margin-top: 15px;
}

.sff-box {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-lg);
    background: linear-gradient(324deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.05) 80%);
    position: relative;
    margin-top: 30px;
    height: 100px;
    margin-bottom: 15px;
    transition: background var(--transition);
}
.sff-box:hover {
    cursor: pointer;
    background: linear-gradient(324deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.075) 80%);
}
.sff-box .avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -40px;
    z-index: 99;
}
.sff-box .avatar img { width: 100%; height: 100%; border-radius: inherit; }
.sff-box .avatar .online {
    width: 10px; height: 10px;
    border-radius: 50%;
    position: absolute;
    bottom: 0; right: 0;
    background: var(--color-success);
    margin: 3px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.sff-box .avatar .online.live { background: var(--color-danger) !important; }
.sff-box .avatar .online i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 11px; margin-top: -0.5px; color: black; }
.sff-box .name {
    width: 100%; text-align: center;
    color: var(--color-text);
    font-weight: 600;
    display: block;
    font-family: var(--font);
    padding-top: 35px;
    font-size: 20px;
    position: relative;
    z-index: 99;
}
@media (min-width: 768px) { .sff-box .name { font-size: 22px; } }
.sff-box .blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.sff-box .blur img { width: 100%; height: 100%; filter: blur(50px) saturate(130%); margin-top: -40%; }

.int-box {
    padding: 15px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
    text-align: center;
    margin-bottom: 15px;
}
.int-box .text { color: var(--color-text-muted); }
.int-box .btn  { width: 100%; margin-top: 20px; }

.wtl-box {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-lg);
    background: linear-gradient(324deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.05) 80%);
    position: relative;
    margin-top: 10px;
    margin-bottom: 15px;
}
.wtl-box .wtl-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-sm);
    background: var(--color-glass);
    position: relative;
    display: inline-block;
    vertical-align: top;
}
@media (min-width: 768px) { .wtl-box .wtl-icon { width: 70px; height: 70px; } }
.wtl-box .wtl-icon i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--color-text); font-size: 30px; }
@media (min-width: 768px) { .wtl-box .wtl-icon i { font-size: 35px; } }
.wtl-box .wtl-text { width: calc(100% - 65px); display: inline-block; vertical-align: top; padding-left: 10px; padding-top: 2px; }
@media (min-width: 768px) { .wtl-box .wtl-text { width: calc(100% - 75px); padding-left: 14px; padding-top: 4px; } }
.wtl-box .wtl-title { font-family: var(--font); font-size: 20px; font-weight: 600; color: var(--color-text); }
@media (min-width: 768px) { .wtl-box .wtl-title { font-size: 22px; } }
.wtl-box .wtl-desc { font-family: var(--font); font-size: 14px; color: var(--color-text-muted); margin-top: 3px; }
@media (min-width: 768px) { .wtl-box .wtl-desc { font-size: 16px; margin-top: 5px; } }
.wtl-box .btn { width: 100%; margin-top: 20px; }
.wtl-icon.apple   { background: #1d78f2 !important; }
.wtl-icon.speakers { background: #ffa502 !important; }
.wtl-icon.discord { background: #5865F2 !important; }
.wtl-icon.waveform { background: #ed1a42 !important; }

.ab-card {
    background: linear-gradient(324deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 80%);
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

/* =============================================
   TIMETABLE
   ============================================= */
.days .col { text-align: center; border-radius: var(--radius-lg); transition: all var(--transition); padding: 0 5px; }
.days .col:hover { cursor: pointer; background: rgba(255,255,255,0.05); }
.days .col:hover .dayText { color: var(--color-text); }
.days .col.selected .day { background: var(--color-primary); }
.days .col.selected .dayText { color: var(--color-text); }
.days .day {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-glass);
    text-align: center;
    color: var(--color-text);
    font-weight: 600;
    font-size: 18px;
    padding-top: 6px;
    margin: 15px auto;
}
@media (min-width: 768px) { .days .day { width: 50px; height: 50px; font-size: 22px; padding-top: 8px; } }
@media (max-width: 767px) { .days .day { width: 36px; height: 36px; font-size: 16px; padding-top: 5px; margin: 10px auto; } }
.days .dayText { color: var(--color-text-muted); margin-bottom: 15px; font-size: 14px; }
@media (min-width: 768px) { .days .dayText { font-size: 16px; } }
@media (max-width: 767px) { .days .dayText { font-size: 12px; margin-bottom: 10px; } }
.row.days { margin-left: 0 !important; margin-right: 0 !important; margin-bottom: 10px; }

.tt-box {
    width: 100%;
    position: relative;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    padding: 8px;
    background: linear-gradient(324deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.05) 80%);
    transition: background 0.3s ease-in-out;
}
.tt-box[target]:hover {
    background: linear-gradient(324deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.075) 80%);
    cursor: pointer;
}
.tt-box .avatar { width: 35px; height: 35px; border-radius: 50%; display: inline-block; vertical-align: top; }
.tt-box .avatar img { width: 100%; height: 100%; border-radius: inherit; }
.tt-box .avatar-perm { width: 35px; height: 35px; border-radius: 50%; display: inline-block; vertical-align: top; }
.tt-box .avatar-perm img { height: 100%; }
.tt-box .time {
    position: absolute;
    right: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--color-text);
    font-weight: 600;
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
}
@media (min-width: 768px) { .tt-box .time { font-size: 16px; } }
@media (max-width: 767px) { .tt-box .time { font-size: 12px; right: 8px; } }
.tt-box .blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.tt-box .blur img { width: 100%; height: 100%; filter: blur(50px) saturate(130%); margin-top: -30%; }
.tt-box .name { display: inline-block; vertical-align: top; color: var(--color-text); font-weight: 600; margin-top: 5px; position: relative; margin-left: 10px; font-size: 14px; }
@media (min-width: 768px) { .tt-box .name { font-size: 16px; } }
@media (max-width: 767px) { .tt-box .name { font-size: 13px; margin-left: 8px; } }

/* =============================================
   PROFILE
   ============================================= */
.profileHeader {
    width: 100%;
    height: 250px;
    background: rgba(255,255,255,0.05);
    position: relative;
    transition: all var(--transition);
    margin-bottom: 20px;
    border-radius: var(--radius-xl);
    padding-top: 25px;
}
@media (min-width: 768px) { .profileHeader { height: 300px; padding-top: 35px; } }
@media (max-width: 767px) { .profileHeader { height: auto; padding-top: 15px; margin-bottom: 15px; } }
.profileHeader .profileHeaderBlur { width: 100%; height: 100px; position: relative; overflow: hidden; background: rgba(0,0,0,0.05); }
@media (min-width: 768px) { .profileHeader .profileHeaderBlur { height: 120px; } }
.profileHeader .profileHeaderBlur img { width: 100%; height: 100%; filter: blur(50px) saturate(130%); opacity: 0.65; }
.profileHeader .name {
    width: 100%; text-align: center;
    color: var(--color-text);
    font-weight: 600;
    display: block;
    font-family: var(--font);
    padding-top: 25px;
    font-size: 20px;
    position: relative;
    z-index: 99;
}
@media (min-width: 768px) { .profileHeader .name { padding-top: 35px; font-size: 22px; } }
@media (max-width: 767px) { .profileHeader .name { font-size: 18px; padding-top: 15px; } }
@media (min-width: 1250px) { .profileHeader.collapsed { width: 1250px !important; border-bottom: none; } }

.profileAvatar {
    margin: 0 auto;
    width: 120px; height: 120px;
    border-radius: 50%;
    position: relative;
    border: 5px solid #1a1c20;
}
@media (min-width: 768px) { .profileAvatar { width: 150px; height: 150px; } }
@media (max-width: 767px) { .profileAvatar { width: 100px; height: 100px; } }
.profileAvatar img { width: 100%; height: 100%; border-radius: 50%; }
.profileAvatar.online::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2px; right: -2px;
    border: 5px solid #1a1c20;
    background: var(--color-success);
    padding: 10px;
    border-radius: 50%;
}
@media (min-width: 768px) { .profileAvatar.online::after { padding: 13px; } }

.avatarButtons {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    z-index: 100;
    margin: 0;
}
.avatarButtonsContainer { max-width: 89px; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
.avatarButtons .avatarButton {
    margin: 0 auto;
    position: relative;
    color: white;
    background: rgba(47,47,47,0.7);
    backdrop-filter: blur(20px) saturate(160%);
    border-radius: 50%;
    width: 35px; height: 35px;
    display: inline-block;
    font-size: 16px;
    vertical-align: top;
    margin-right: 5px;
    text-align: center;
    transition: all var(--transition);
}
@media (min-width: 768px) { .avatarButtons .avatarButton { width: 40px; height: 40px; font-size: 19px; margin-right: 10px; } }
.avatarButtons .avatarButton:last-child { margin-right: 0 !important; }
.avatarButtons .avatarButton:hover { background: #fff; color: black !important; cursor: pointer; }
.avatarButtons .avatarButton i { position: absolute; top: 50%; left: 50%; margin-top: -1px; opacity: 0.9; transform: translate(-50%,-50%); }

/* =============================================
   SHOP
   ============================================= */
.shop-item {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    overflow: hidden;
    margin-right: 0;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.07);
    padding: 10px;
    border-radius: var(--radius-xl);
}
@media (min-width: 768px) { .shop-item { width: 32.1%; margin-right: 1%; } }
.shop-item .shop-item-image { width: 100%; height: 200px; overflow: hidden; border-radius: var(--radius-lg); }
@media (min-width: 768px) { .shop-item .shop-item-image { height: 279.92px; } }
.shop-item .shop-item-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-item .shop-item-title { width: 100%; text-align: left; color: var(--color-text); font-weight: 600; display: block; font-family: var(--font); padding-top: 10px; font-size: 18px; }
@media (min-width: 768px) { .shop-item .shop-item-title { font-size: 19px; } }
.shop-item .shop-item-price { width: 100%; text-align: left; color: var(--color-text-muted); font-size: 15px; padding-bottom: 10px; }
@media (min-width: 768px) { .shop-item .shop-item-price { font-size: 16px; } }
.shop-item .buyButton { width: 100%; }

/* =============================================
   VACANCIES
   ============================================= */
.vacancy {
    background: linear-gradient(324deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 80%);
    padding: 15px;
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
}
.vacancy .vacancyIcon { width: 50px; height: 50px; border-radius: 50%; background: var(--color-glass); text-align: center; color: var(--color-text); }
.vacancy .vacancyIcon i { font-size: 22px; margin-top: 13px; }
.vacancy .vacancyName { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
@media (min-width: 768px) { .vacancy .vacancyName { font-size: 22px; } }
.vacancy .vacancyText { font-size: 15px; color: var(--color-text-muted); }
@media (min-width: 768px) { .vacancy .vacancyText { font-size: 16px; } }
.vacancy .vacancyNeed { margin-top: 10px; }
.vacancy .vacancyNeedIcon { width: 20px; height: 20px; border-radius: 50%; background: var(--color-glass); text-align: center; }
.vacancy .vacancyNeedIcon i { font-size: 12px; margin-top: 5px; }
.vacancy .vacancyNeedText { font-size: 14px; color: var(--color-text-muted); margin-left: 5px; }

/* =============================================
   SETTINGS / THEMES
   ============================================= */
.settingsTab {
    width: 100%;
    position: relative;
    padding: 6px;
    background: rgba(255,255,255,0.025);
    border-radius: var(--radius-lg);
    min-height: 55px;
    margin-bottom: 20px;
}
.settingsTab .setting {
    width: 100%;
    transition: background var(--transition);
    display: block;
    vertical-align: top;
    color: var(--color-text-muted);
    font-weight: 600;
    line-height: 2.3;
    border-radius: var(--radius-md);
    padding: 3px 15px;
    text-align: center;
}
@media (min-width: 768px) {
    .settingsTab .setting { width: fit-content; display: inline-block; }
    .settingsTab .setting.right { float: right; }
}
.settingsTab .setting:hover { cursor: pointer; background: var(--color-glass); }
.settingsTab .setting svg { margin-top: -3px; margin-right: 4px; height: 22px; }

.theme-preview-img {
    width: 140px; height: 90px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
    border: 3px solid transparent;
}
@media (min-width: 768px) { .theme-preview-img { width: 170px; height: 110px; } }
.theme-preview-img:hover { transform: scale(1.08); box-shadow: 0 0 12px rgba(255,255,255,0.2); }
.theme-preview-img.selected { border: 3px solid #00c853; box-shadow: 0 0 15px rgba(0,200,83,0.4); }
.theme-selector { gap: 15px; flex-wrap: wrap; }
@media (min-width: 768px) { .theme-selector { gap: 20px; } }
.theme-btn { padding: 0; border: none; background: none; }

/* =============================================
   NOTIFICATIONS (PNotify)
   ============================================= */
.ui-pnotify-container { border-radius: 9px !important; padding: 15px !important; }
.brighttheme-error { background-image: none !important; background: #eb3b5a !important; }
.ui-pnotify-closer { margin-right: -3px; font-size: 20px; }
.ui-pnotify-sticker { display: none !important; }
.ui-pnotify-title { margin-bottom: 11px !important; font-weight: bold; font-size: 17px; vertical-align: top; line-height: 0.9; }
.ui-pnotify-text { font-size: 14px; font-weight: 400; }

.notif-menu .avatar { width: 45px; height: 45px; position: absolute; border-radius: 50%; display: inline-block; vertical-align: top; top: 50%; transform: translateY(-50%); }
.notif-menu .avatar img { width: 100%; height: 100%; border-radius: inherit; }
.notif-menu .text { display: inline-block; vertical-align: top; width: 250px; word-wrap: break-word; position: relative; }
.notif-menu .dropdown-item { background: rgba(255,255,255,0.05) !important; position: relative; padding-top: 5px; padding-bottom: 5px; }
.notif-menu .notifTitle { font-weight: 400; color: var(--color-text-muted); padding-left: 55px; }
.notif-menu .notifDesc  { font-weight: 600; color: var(--color-danger); padding-left: 55px; }

/* =============================================
   TOOLTIP
   ============================================= */
.tooltip-inner {
    background: rgba(255,255,255,0.075);
    backdrop-filter: blur(50px) saturate(130%);
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font);
    color: white;
}

/* =============================================
   MISC
   ============================================= */
.skeleton::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(-45deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.035) 50%, rgba(255,255,255,0) 60%);
    background-size: 500%;
    background-position-x: 100%;
    animation: shimmer 2s infinite linear;
    border-radius: inherit;
}
@keyframes shimmer { to { background-position-x: 0%; } }

.partner { display: inline-block; vertical-align: top; position: relative; margin: 0 15px 15px 0; }
@media (min-width: 768px) { .partner { margin-right: 30px; } }
.partner.last { margin-right: 0 !important; }
.partner img { height: 45px; transition: all var(--transition); filter: none; opacity: 1; }
@media (min-width: 768px) { .partner img { height: 65px; } }
.partner:hover img { filter: grayscale(1); opacity: 0.45; }

.banners { width: 100%; height: 160px; background: linear-gradient(324deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 80%); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
@media (min-width: 768px) { .banners { height: 415px; } }
.banners .banner img { width: 100%; height: 160px; object-fit: cover; }
@media (min-width: 768px) { .banners .banner img { width: 823.33px; height: 415px; } }
.bannerIndicators { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); }
.bannerIndicators .bannerIndicator {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(50px) saturate(130%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), inset 0 0 0 2px rgba(255,255,255,0.15), 0 0 20px rgba(0,0,0,0.3);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-right: 8px;
    transition: background var(--transition);
}
@media (min-width: 768px) { .bannerIndicators .bannerIndicator { width: 19px; height: 19px; margin-right: 10px; } }
.bannerIndicator:last-child { margin-right: 0 !important; }
.bannerIndicator:hover { background: rgba(255,255,255,0.4); cursor: pointer; }
.bannerIndicator.selected { background: var(--color-text); }

/* Terms */
.terms { color: var(--color-text-muted); }
.terms b, .terms strong { color: var(--color-text); }
.terms h2 { color: var(--color-text); font-weight: 600; width: 100%; font-size: 21px; letter-spacing: 0.4px; }
.terms h3 { color: var(--color-text); font-weight: 600; font-size: 18px; }
.terms li p { background: transparent; padding: 7px 10px; }

/* Animation toggle button */
.animation-toggle {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 10001;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: none;
    font-size: 14px;
}
@media (min-width: 768px) { .animation-toggle { padding: 10px 15px; font-size: 16px; } }
.animation-toggle:hover { background: rgba(0,0,0,0.7); }
.visualizer-style { cursor: pointer; }

/* Snowflake */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: white;
    font-size: 1em;
    user-select: none;
    pointer-events: none;
    animation: fall linear;
}
@keyframes fall { to { transform: translateY(100vh); } }

/* Scrollbar */
::-webkit-scrollbar { width: 0; }