:root {
    --bg: #080809;
    --bg-soft: #0e0e10;
    --panel: rgba(18, 18, 20, 0.85);
    --panel-strong: #1b1b1e;
    --panel-muted: #101012;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f5f7;
    --muted: #aaaab2;
    --red: #ff2636;
    --red-strong: #e02030;
    --red-soft: rgba(255, 38, 54, 0.14);
    --glow: 0 8px 28px rgba(255, 38, 62, 0.22);
    --button-red: #b92b48;
    --button-red-strong: #a2263f;
    --button-red-soft: rgba(185, 43, 72, 0.14);
    --button-glow: 0 8px 28px rgba(185, 43, 72, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Visual refresh: retain the original red, warm neutrals and dark surfaces. */
button:focus-visible, a:focus-visible, video:focus-visible {
    outline: 2px solid #e28295;
    outline-offset: 5px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 38, 62, 0.12), transparent 25%),
        radial-gradient(circle at top right, rgba(255, 109, 90, 0.08), transparent 20%),
        linear-gradient(180deg, #030305 0%, #080709 100%);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(3, 3, 5, 0.96);
    backdrop-filter: blur(14px);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin-top: auto;
    padding: 1.5rem max(1.5rem, calc((100% - 80rem) / 2));
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(5,4,6,0.86);
}

.footer-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
    color: white;
    text-decoration: none;
}

.footer-brand img {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}

.footer-brand > span {
    font-size: 0.92rem;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.footer-brand > span span {
    color: #ff263e;
}

.footer-content {
    display: grid;
    justify-items: end;
    gap: 0.55rem;
    min-width: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem 1rem;
}

.footer-links a,
.footer-links button {
    padding: 0;
    border: 0;
    background: none;
    color: #a99da0;
    font: inherit;
    font-size: 0.64rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-links button:hover {
    color: white;
}

.footer-copyright {
    color: #756b6e;
    font-size: 0.58rem;
    text-align: right;
}

.cookie-preferences-backdrop {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(8px);
}

.cookie-preferences-backdrop.hidden {
    display: none;
}

.cookie-preferences-dialog {
    position: relative;
    width: min(100%, 30rem);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #1b1519, #0b090b);
    box-shadow: 0 25px 90px rgba(0,0,0,0.55);
}

.cookie-preferences-dialog h2 {
    margin-top: 0.5rem;
    color: white;
    font-size: 1.45rem;
    font-weight: 850;
}

.cookie-preferences-dialog > p {
    margin-top: 0.85rem;
    color: #c0b5b7;
    font-size: 0.78rem;
    line-height: 1.7;
}

.cookie-preferences-dialog .cookie-preferences-note {
    margin-bottom: 1.3rem;
    color: #988d90;
    font-size: 0.68rem;
}

.cookie-preferences-note a {
    color: #ff8794;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-preferences-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.55rem;
    color: #a99da0;
}

.cookie-preferences-close:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.public-info-site-header {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    padding: 0 1.5rem;
}

.public-info-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: #756b6e;
    font-size: 0.62rem;
}

.public-info-footer a {
    color: #a99da0;
    text-decoration: none;
}

.public-info-footer a:hover {
    color: white;
}

.mobile-nav {
    display: none;
}

.nav-icon--games {
    color: #ffffff;
}

.nav-icon--live {
    color: #ffffff;
}

.nav-icon--leaderboard {
    color: #ffffff;
}

.nav-icon--play-pass {
    color: #ff263e;
}

[data-nav-item].is-active {
    color: #ff263e;
}

[data-nav-item].is-active .nav-icon--games,
[data-nav-item].is-active .nav-icon--live,
[data-nav-item].is-active .nav-icon--leaderboard,
[data-nav-item].is-active .nav-icon--play-pass {
    color: #ff263e;
}

[data-nav-item="home"].is-active i {
    color: #ff263e;
}

[data-nav-item="leaderboard"].is-active .nav-icon--leaderboard {
    color: #fbbf24;
}

.mobile-nav-link {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.2rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.mobile-nav-link i {
    font-size: 0.95rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    border-color: rgba(255,38,62,0.25);
    background: rgba(255,38,62,0.08);
    color: white;
}

.mobile-nav-link.is-active {
    border-color: rgba(255,38,62,0.3);
    background: rgba(255,38,62,0.1);
    color: #ff6b78;
}

.mobile-nav-link.is-active i {
    color: #ff263e;
}

#view-home,
#view-catalog,
#view-live {
    position: relative;
}

.home-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background:
        radial-gradient(ellipse at 78% 48%, rgba(255,38,62,0.16), transparent 40%),
        linear-gradient(115deg, #080709 0%, #100b0e 54%, #080709 100%);
}

.home-hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, black 55%, transparent);
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    display: grid;
    min-height: 540px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fda4af;
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.home-kicker-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ff263e;
    box-shadow: 0 0 15px rgba(255,38,62,0.8);
}

.home-hero-copy h1 {
    margin-top: 1.3rem;
    color: white;
    font-size: clamp(3.1rem, 6vw, 5.5rem);
    font-weight: 950;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.home-hero-copy h1 span,
.home-how-intro h2 span {
    color: #ff5267;
}

.home-hero-copy > p {
    max-width: 510px;
    margin-top: 1.5rem;
    color: #b0a5a7;
    font-size: 0.98rem;
    line-height: 1.8;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.home-primary-button,
.home-secondary-button {
    display: inline-flex;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    font-size: 0.76rem;
    font-weight: 850;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-primary-button {
    background: linear-gradient(135deg, #b92b48, #7a1d2f);
    color: white;
    box-shadow: 0 10px 28px rgba(161, 38, 62,0.25);
}

.home-secondary-button {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.035);
    color: #f4e9e8;
}

.home-primary-button:hover,
.home-secondary-button:hover {
    transform: translateY(-2px);
}

.home-secondary-button:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.07);
}

.home-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    color: #988d90;
    font-size: 0.68rem;
    font-weight: 700;
}

.home-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-hero-proof i {
    color: #fb7185;
}

.home-hero-art {
    position: relative;
    display: grid;
    min-height: 370px;
    align-items: center;
    justify-items: center;
}

.home-hero-art img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 1.5rem;
    object-fit: cover;
    object-position: center 72%;
    box-shadow: 0 35px 90px rgba(0,0,0,0.6), 0 0 70px rgba(255,38,62,0.16);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.home-hero-art-glow {
    position: absolute;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: rgba(255,38,62,0.18);
    filter: blur(75px);
}

.home-hero-art-label {
    position: absolute;
    right: 0;
    bottom: 1.1rem;
    z-index: 2;
    display: grid;
    gap: 0.25rem;
    min-width: 11rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 0.9rem;
    background: rgba(9,8,10,0.82);
    backdrop-filter: blur(12px);
}

.home-hero-art-label span {
    color: #fb7185;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.home-hero-art-label strong {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.home-hero-orbit {
    position: absolute;
    z-index: 0;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero-orbit-two {
    width: 32rem;
    height: 32rem;
    border-color: rgba(255,38,62,0.08);
}

.home-section {
    margin-bottom: 5rem;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home-section-heading h2 {
    margin-top: 0.45rem;
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.home-section-heading p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.home-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0;
    color: #fb7185;
    font-size: 0.72rem;
    font-weight: 850;
}

.home-text-link:hover {
    color: white;
}

.home-hot-games {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.home-hot-game {
    position: relative;
    display: flex;
    min-height: 370px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.15rem;
    background: #100d0f;
    color: white;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-hot-game:hover {
    transform: translateY(-5px);
    border-color: rgba(255,90,110,0.5);
}

.home-hot-game::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,3,4,0.1) 0%, rgba(4,3,4,0.2) 35%, rgba(4,3,4,0.94) 100%);
    content: "";
}

.home-hot-game > img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-hot-game:hover > img {
    transform: scale(1.045);
}

.home-game-number {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 900;
}

.home-game-number span {
    padding: 0.3rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(10,9,11,0.55);
    color: #ffb5bd;
    font-size: 0.52rem;
    letter-spacing: 0.12em;
}

.home-hot-game-copy h3 {
    color: white;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.home-hot-game-copy p {
    margin-top: 0.4rem;
    color: #d0c3c5;
    font-size: 0.72rem;
    line-height: 1.6;
}

.home-hot-game-copy > span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #ff9aa5;
    font-size: 0.68rem;
    font-weight: 850;
}

.home-leaderboard-section {
    margin-bottom: 5rem;
}

.home-leaderboard-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 1.1rem;
    background: linear-gradient(150deg, rgba(24,20,23,0.96), rgba(10,9,11,0.96));
}

.home-leaderboard-head,
.home-leaderboard-row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) 7rem 7rem;
    align-items: center;
    gap: 1rem;
}

.home-leaderboard-head {
    min-height: 2.8rem;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #817579;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.home-leaderboard-head span:nth-child(n+3) {
    text-align: right;
}

.home-leaderboard-row {
    min-height: 4.45rem;
    padding: 0.55rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.055);
}

.home-leaderboard-row:last-child {
    border-bottom: 0;
}

.home-leaderboard-rank {
    color: #918589;
    font-size: 0.8rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.home-leaderboard-rank.is-top-1 {
    color: #fbbf24;
}

.home-leaderboard-rank.is-top-2 {
    color: #d4d4d8;
}

.home-leaderboard-rank.is-top-3 {
    color: #d99063;
}

.home-leaderboard-person {
    min-width: 0;
}

.home-leaderboard-person .leaderboard-avatar {
    width: 2.25rem;
    height: 2.25rem;
}

.home-leaderboard-coins,
.home-leaderboard-time {
    color: #f6eeee;
    font-size: 0.75rem;
    font-weight: 800;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.home-leaderboard-time {
    color: #b0a5a7;
    font-size: 0.68rem;
}

.home-leaderboard-status {
    padding: 1rem 1.25rem;
    color: #a99da0;
    font-size: 0.7rem;
    text-align: center;
}

.home-leaderboard-status.is-error {
    color: #fbbf24;
}

.home-how-it-works {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem 0 2rem;
}

.home-how-intro,
.home-how-step {
    min-height: 195px;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.075);
    border-radius: 1rem;
    background: rgba(18,15,17,0.75);
}

.home-how-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: transparent;
    background: transparent;
    padding-left: 0;
}

.home-how-intro h2 {
    margin-top: 0.65rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.1;
}

.home-how-step {
    position: relative;
}

.home-how-step > span {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    color: #75696d;
    font-size: 0.65rem;
    font-weight: 850;
}

.home-how-step > i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(255,38,62,0.23);
    border-radius: 0.8rem;
    background: rgba(255,38,62,0.1);
    color: #fb7185;
}

.home-how-step h3 {
    margin-top: 1rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 850;
}

.home-how-step p {
    margin-top: 0.45rem;
    color: #a99da0;
    font-size: 0.67rem;
    line-height: 1.6;
}

.account-status-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    flex: 0 0 auto;
    border-radius: 9999px;
}

.account-status-dot.is-active,
.account-status-text.is-active {
    background: #22c55e;
    color: #4ade80;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}

.account-status-dot.is-inactive,
.account-status-text.is-inactive {
    background: #ef4444;
    color: #f87171;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.12);
}

.account-menu-toggle {
    display: none;
}

.account-logout-label {
    display: none;
}

.header-account-avatar {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,154,140,0.4);
    border-radius: 9999px;
    background: linear-gradient(135deg, #be1029, #f04443);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
}

.header-account-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.account-menu-button {
    border: 1px solid rgba(229, 146, 162,0.28);
    background: linear-gradient(135deg, #791c2f 0%, #a1263e 55%, #cb304f 100%);
    color: white;
    font-weight: 750;
    box-shadow: 0 5px 18px rgba(161, 38, 62,0.2);
}

.account-menu-button:hover {
    background: linear-gradient(135deg, #8e2137 0%, #b02944 55%, #d2405d 100%);
    box-shadow: 0 7px 22px rgba(161, 38, 62,0.3);
}

.account-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.account-overview-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,154,140,0.25);
    border-radius: 1rem;
    background: linear-gradient(135deg, #be1029, #f04443);
    color: white;
    font-size: 1.25rem;
    font-weight: 900;
}

.account-overview-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-card {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(255,38,62,0.07), transparent 45%),
        var(--panel);
}

.account-card-title {
    margin-top: 0.45rem;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.account-display-name-form {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.account-display-name-form label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.account-display-name-controls {
    display: flex;
    gap: 0.45rem;
}

.account-display-name-controls input {
    width: 100%;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.65rem;
    background: rgba(3,3,5,0.7);
    color: white;
    font-size: 0.75rem;
}

.account-display-name-controls button {
    flex: 0 0 auto;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(229, 146, 162,0.28);
    border-radius: 0.65rem;
    background: #a1263e;
    color: white;
    font-size: 0.7rem;
    font-weight: 750;
}

.account-display-name-controls button:disabled {
    cursor: wait;
    opacity: 0.65;
}

#account-display-name-status {
    min-height: 1rem;
    color: var(--muted);
    font-size: 0.68rem;
}

#account-display-name-status.is-success {
    color: #4ade80;
}

#account-display-name-status.is-error {
    color: #f87171;
}

.account-current-plan,
.account-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255,206,115,0.25);
    border-radius: 9999px;
    background: rgba(255,206,115,0.08);
    color: #ffcf7b;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.account-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

.account-details-grid > div {
    min-width: 0;
}

.account-details-grid dt {
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.account-details-grid dd {
    color: white;
    font-size: 0.8rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.account-detail-status dd {
    padding-left: 0.55rem;
}

.account-status-text {
    position: relative;
    display: inline-block;
    background: transparent !important;
    box-shadow: none !important;
}

.account-status-text::before {
    position: absolute;
    top: 50%;
    left: -0.55rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.account-status-text.is-active::before {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,0.65);
}

.account-status-text.is-inactive::before {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239,68,68,0.65);
}

.account-plan-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
}

.account-actions {
    display: flex;
    justify-content: flex-end;
}

.account-logout-button {
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.03);
    color: #d4d4d8;
    font-size: 0.7rem;
    font-weight: 700;
    transition: color 150ms ease, border-color 150ms ease;
}

.account-logout-button:hover {
    border-color: rgba(192, 45, 74,0.5);
    color: white;
}

.glow-red {
    box-shadow: var(--glow);
}

.glow-text {
    text-shadow: 0 0 15px rgba(230, 25, 50, 0.6);
}

button.bg-red-600 {
    background: linear-gradient(135deg, #791c2f 0%, #a1263e 48%, #cb304f 100%);
    border: 1px solid rgba(229, 146, 162, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 235, 225, 0.18), 0 8px 28px rgba(161, 38, 62, 0.24);
}

button.bg-red-600:hover {
    background: linear-gradient(135deg, #8e2137 0%, #b02944 48%, #d2405d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 235, 225, 0.25), 0 10px 32px rgba(161, 38, 62, 0.34);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #e592a2;
    outline-offset: 4px;
}

input:focus,
select:focus {
    box-shadow: 0 0 0 3px var(--red-soft);
}

.hero-panel {
    background:
        linear-gradient(135deg, rgba(28, 22, 25, 0.94), rgba(20, 17, 19, 0.82)),
        rgba(20, 17, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.7;
}

.hero-panel::before {
    width: 240px;
    height: 240px;
    right: -60px;
    top: -80px;
    background: rgba(255, 38, 62, 0.15);
}

.hero-panel::after {
    width: 190px;
    height: 190px;
    left: 46%;
    bottom: -80px;
    background: rgba(255, 109, 90, 0.12);
}

.hero-badge {
    box-shadow: 0 0 0 1px rgba(255, 38, 62, 0.2);
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-card {
    position: relative;
    padding: 1.2rem;
    background: rgba(8, 8, 11, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.live-dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12), 0 0 14px rgba(34, 197, 94, 0.5);
    animation: pulse 1.8s infinite;
}

.score-card {
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.05);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.mini-stat span {
    color: var(--muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.mini-stat strong {
    font-size: 1.05rem;
    color: white;
}

.premium-card {
    background: linear-gradient(180deg, rgba(20,17,19,0.9), rgba(12,10,12,0.9));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 38, 62, 0.3);
    box-shadow: 0 18px 36px rgba(255, 38, 62, 0.12);
}

.game-card-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    object-fit: cover;
    object-position: center 74%;
}

.game-catalog-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}

.game-catalog-card:hover .game-card-details-link {
    color: #fff;
}

.game-card-details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    color: #fb7185;
    font-size: 0.75rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

.live-game-frame-wrap {
    display: flex;
    justify-content: center;
    background: #09090b;
}

.live-game-frame {
    display: block;
    width: min(100%, 540px);
    height: clamp(800px, 80vw, 1000px);
    flex: 0 0 auto;
    border: 0;
    background: #09090b;
}

.live-studio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: -0.75rem 0 1.5rem;
    padding: 0.35rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.95rem;
    background: rgba(14,12,14,0.85);
}

.live-studio-tab {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    color: #a99da0;
    font-size: 0.73rem;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.live-studio-tab:hover {
    color: white;
}

.live-studio-tab.is-active {
    border-color: rgba(192, 45, 74,0.2);
    background: rgba(192, 45, 74,0.12);
    color: #e48b9d;
}

#live-studio-panel,
#audio-center-panel {
    min-width: 0;
}

.audio-center-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at 5% 0%, rgba(255,38,62,0.12), transparent 40%),
        linear-gradient(145deg, rgba(24,20,23,0.96), rgba(10,9,11,0.96));
}

.audio-center-header h3 {
    margin-top: 0.45rem;
    color: white;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.audio-center-header p {
    max-width: 42rem;
    margin-top: 0.4rem;
    color: #a99da0;
    font-size: 0.75rem;
    line-height: 1.65;
}

.audio-center-controls {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.audio-stop-all {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border: 1px solid rgba(217, 95, 119,0.2);
    border-radius: 0.7rem;
    background: rgba(192, 45, 74,0.09);
    color: #e9a3b1;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.audio-stop-all i {
    font-size: 1.55rem;
    line-height: 1;
}

.audio-stop-all:hover {
    border-color: rgba(217, 95, 119,0.42);
    background: rgba(192, 45, 74,0.18);
    color: white;
    transform: translateY(-1px);
}

.audio-stop-all:focus-visible {
    outline: 2px solid #e9a3b1;
    outline-offset: 2px;
}

.audio-center-notice {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(251,191,36,0.13);
    border-radius: 0.75rem;
    background: rgba(251,191,36,0.045);
    color: #b7a98a;
    font-size: 0.67rem;
    line-height: 1.7;
}

.audio-library-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.audio-search,
.audio-category-filter {
    display: grid;
    gap: 0.35rem;
    color: #8e8286;
    font-size: 0.58rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.audio-search {
    position: relative;
    flex: 1 1 20rem;
}

.audio-search > i {
    position: absolute;
    bottom: 0.77rem;
    left: 0.8rem;
    color: #756b6e;
    font-size: 0.7rem;
}

.audio-search input,
.audio-category-filter select {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.7rem;
    outline: 0;
    background: rgba(12,10,12,0.92);
    color: #f4e9e8;
    font-size: 0.7rem;
}

.audio-search input {
    padding-left: 2.25rem;
}

.audio-search input:focus,
.audio-category-filter select:focus {
    border-color: rgba(255,38,62,0.5);
}

.audio-category-filter {
    flex: 0 0 12rem;
}

.audio-library-count {
    flex: 0 0 auto;
    padding: 0.75rem 0 0.65rem;
    color: #817579;
    font-size: 0.62rem;
    white-space: nowrap;
}

.audio-center-status {
    min-height: 1.25rem;
    margin: 0.8rem 0;
    color: #a99da0;
    font-size: 0.68rem;
}

.audio-center-status.is-error {
    color: #fbbf24;
}

.audio-sound-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.audio-sound-card {
    display: grid;
    min-width: 0;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--sound-accent, #fb7185) 18%, rgba(255,255,255,0.075));
    border-radius: 0.85rem;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sound-accent, #fb7185) 11%, transparent), transparent 48%),
        linear-gradient(145deg, rgba(21,18,21,0.96), rgba(11,10,12,0.96));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.audio-sound-card:hover {
    border-color: color-mix(in srgb, var(--sound-accent, #fb7185) 48%, transparent);
    box-shadow: 0 0.5rem 1.6rem color-mix(in srgb, var(--sound-accent, #fb7185) 10%, transparent);
    transform: translateY(-2px);
}

.audio-sound-card[hidden],
.audio-sound-card.hidden {
    display: none;
}

.audio-sound-card-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.6rem;
}

.audio-sound-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--sound-accent, #fb7185) 38%, transparent);
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--sound-accent, #fb7185) 15%, transparent);
    color: var(--sound-accent, #fb7185);
    font-size: 0.75rem;
}

.audio-sound-card-heading h4 {
    overflow: hidden;
    color: #f6eeee;
    font-size: 0.73rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-sound-file-name {
    overflow: hidden;
    color: #817579;
    font-size: 0.6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-sound-controls {
    display: flex;
    gap: 0.45rem;
}

.audio-sound-controls button {
    display: inline-flex;
    min-width: 0;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 0.55rem;
    background: rgba(255,255,255,0.035);
    color: #cfc3c5;
    font-size: 0.59rem;
    font-weight: 750;
}

.audio-sound-controls button:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--sound-accent, #dc6a81) 50%, transparent);
    background: color-mix(in srgb, var(--sound-accent, #dc6a81) 13%, transparent);
    color: white;
}

.audio-sound-controls .audio-sound-play {
    flex: 1 1 auto;
}

.audio-sound-controls .audio-sound-favorite {
    width: 2rem;
    flex: 0 0 2rem;
    padding: 0.35rem;
    color: #95898c;
}

.audio-sound-controls .audio-sound-favorite.is-favorite {
    border-color: color-mix(in srgb, var(--sound-accent, #fbbf24) 36%, transparent);
    background: color-mix(in srgb, var(--sound-accent, #fbbf24) 13%, transparent);
    color: var(--sound-accent, #fbbf24);
}

.audio-sound-controls .audio-sound-play.is-playing {
    border-color: color-mix(in srgb, var(--sound-accent, #fb7185) 45%, transparent);
    background: color-mix(in srgb, var(--sound-accent, #fb7185) 17%, transparent);
    color: var(--sound-accent, #fb7185);
}

.audio-sound-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.live-favorites-panel {
    margin-top: 1.15rem;
    padding: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.9rem;
    background: linear-gradient(145deg, rgba(21,18,21,0.88), rgba(11,10,12,0.9));
}

.live-favorites-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.live-favorites-heading .section-kicker {
    font-size: 0.55rem;
}

.live-favorites-heading h4 {
    margin-top: 0.2rem;
    color: #f5eeee;
    font-size: 0.85rem;
    font-weight: 850;
}

.live-favorites-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.live-favorites-stop.audio-stop-all {
    width: 2.45rem;
    min-height: 2.45rem;
    border-radius: 0.55rem;
}

.live-favorites-stop.audio-stop-all i {
    font-size: 1.45rem;
}

.soundboard-stop.audio-stop-all {
    width: 2.65rem;
    min-height: 2.65rem;
    border-radius: 0.65rem;
}

.live-favorites-volume {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
    margin: -0.2rem 0 0.65rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0.55rem;
    background: rgba(0,0,0,0.18);
    color: #bdb4c8;
    font-size: 0.58rem;
    font-weight: 700;
}

.live-favorites-volume i {
    flex: 0 0 auto;
    color: #a78bfa;
    font-size: 0.65rem;
}

.live-favorites-volume input {
    width: clamp(4rem, 8vw, 6rem);
    min-width: 2.5rem;
    margin-left: auto;
    accent-color: #b78bff;
}

.live-favorites-volume > span {
    min-width: 2rem;
    color: #c9b7f5;
    font-size: 0.6rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.live-favorites-search {
    position: relative;
    display: block;
    margin-top: 0.65rem;
    margin-bottom: 0.55rem;
}

.live-favorites-search > i {
    position: absolute;
    top: 50%;
    left: 0.65rem;
    color: #958a9d;
    font-size: 0.68rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.live-favorites-search input {
    width: 100%;
    min-height: 2.25rem;
    padding: 0.5rem 0.65rem 0.5rem 1.9rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.6rem;
    outline: none;
    background: rgba(0,0,0,0.22);
    color: #f5eeee;
    font-size: 0.66rem;
}

.live-favorites-search input::placeholder {
    color: #817781;
}

.live-favorites-search input:focus {
    border-color: rgba(167,139,250,0.55);
    box-shadow: 0 0 0 2px rgba(167,139,250,0.1);
}

.live-favorites-search-results {
    display: grid;
    gap: 0.3rem;
    max-height: 12rem;
    overflow-y: auto;
    margin: -0.2rem 0 0.6rem;
    padding: 0.15rem 0.25rem 0.15rem 0;
    scrollbar-color: rgba(167,139,250,0.55) rgba(255,255,255,0.035);
    scrollbar-width: thin;
}

.live-favorites-search-results::-webkit-scrollbar {
    width: 0.4rem;
}

.live-favorites-search-results::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
}

.live-favorites-search-results::-webkit-scrollbar-thumb {
    border: 1px solid rgba(14,12,17,0.85);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(196,167,255,0.78), rgba(139,92,246,0.58));
}

.live-favorites-search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4bcff, #a78bfa);
}

.live-favorites-search-result {
    display: flex;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.45rem 0.35rem 0.6rem;
    border: 1px solid color-mix(in srgb, var(--sound-accent, #fb7185) 22%, rgba(255,255,255,0.08));
    border-radius: 0.55rem;
    background: color-mix(in srgb, var(--sound-accent, #fb7185) 6%, #151417);
}

.live-favorites-search-result > i {
    flex: 0 0 1rem;
    color: var(--sound-accent, #fb7185);
    text-align: center;
}

.live-favorites-search-name {
    overflow: hidden;
    flex: 1;
    color: #eee8ef;
    font-size: 0.63rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-favorites-search-add {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    place-items: center;
    border: 1px solid rgba(167,139,250,0.24);
    border-radius: 0.45rem;
    background: rgba(167,139,250,0.1);
    color: #c4a7ff;
}

.live-favorites-search-add:hover:not(:disabled) {
    background: rgba(167,139,250,0.22);
    color: white;
}

.live-favorites-search-add:disabled {
    border-color: rgba(74,222,128,0.18);
    background: rgba(74,222,128,0.08);
    color: #86efac;
    cursor: default;
}

.live-favorites-search-add:focus-visible {
    outline: 2px solid #c4a7ff;
    outline-offset: 2px;
}

.live-favorites-search-empty,
.live-favorites-search-hint {
    padding: 0.45rem 0.55rem;
    color: #9c929e;
    font-size: 0.59rem;
}

.live-favorites-search-empty {
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 0.55rem;
}

.live-favorites-count {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border: 1px solid rgba(251,191,36,0.22);
    border-radius: 999px;
    background: rgba(251,191,36,0.09);
    color: #fbbf24;
    font-size: 0.65rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.live-favorites-empty {
    padding: 0.65rem;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 0.65rem;
    color: #8f8487;
    font-size: 0.65rem;
    line-height: 1.55;
}

.live-favorite-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.live-favorite-card {
    display: grid;
    aspect-ratio: 1 / 0.88;
    min-width: 0;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--sound-accent, #fb7185) 42%, rgba(255,255,255,0.1));
    border-radius: 0.65rem;
    background: linear-gradient(145deg, color-mix(in srgb, var(--sound-accent, #fb7185) 14%, #17171a), #1a191d 78%);
}

.live-favorite-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 1.25rem;
}

.live-favorite-number {
    color: #a69fac;
    font-size: 0.52rem;
    font-variant-numeric: tabular-nums;
}

.live-favorite-remove {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--sound-accent, #fbbf24);
    font-size: 0.65rem;
}

.live-favorite-trigger {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.25rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: inherit;
    text-align: center;
}

.live-favorite-trigger:focus-visible,
.live-favorite-remove:focus-visible {
    outline: 2px solid var(--sound-accent, #dc6a81);
    outline-offset: 2px;
}

.live-favorite-icon {
    display: grid;
    width: auto;
    height: auto;
    place-items: center;
    background: transparent;
    color: var(--sound-accent, #fb7185);
    font-size: 1rem;
}

.live-favorite-title {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    color: #f1e9ea;
    font-size: 0.58rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.live-favorite-trigger.is-playing {
    filter: brightness(1.45);
}

.audio-favorite-toast {
    position: fixed;
    z-index: 100;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    display: flex;
    width: min(26rem, calc(100vw - 2rem));
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(74,222,128,0.35);
    border-radius: 0.85rem;
    background: rgba(17,24,22,0.97);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.45);
    color: #e6fff0;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.65rem) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(14px);
}

.audio-favorite-toast.hidden {
    display: none;
}

.audio-favorite-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.audio-favorite-toast.is-warning {
    border-color: rgba(251,191,36,0.42);
    background: rgba(35,27,13,0.97);
    color: #fff3cf;
}

.audio-favorite-toast.is-error {
    border-color: rgba(248,113,113,0.42);
    background: rgba(37,18,19,0.97);
    color: #ffe3e3;
}

.audio-favorite-toast-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgba(74,222,128,0.12);
    color: #4ade80;
}

.audio-favorite-toast.is-warning .audio-favorite-toast-icon {
    background: rgba(251,191,36,0.13);
    color: #fbbf24;
}

.audio-favorite-toast.is-error .audio-favorite-toast-icon {
    background: rgba(248,113,113,0.13);
    color: #f87171;
}

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 38, 62, 0.08);
    border: 1px solid rgba(255, 38, 62, 0.2);
    color: #ff9a8c;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-top span {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.pricing-card {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(20,17,19,0.92), rgba(12,10,12,0.92));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

.pricing-card.featured {
    border-color: rgba(255, 38, 62, 0.3);
    box-shadow: 0 0 0 1px rgba(255, 38, 62, 0.12), 0 20px 50px rgba(255, 38, 62, 0.1);
}

.eyebrow {
    color: #ff9a8c;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.64rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0.7rem 0 0.5rem;
}

.price {
    font-size: 2.3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.price span {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.pricing-card li {
    color: var(--muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.pricing-card li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 800;
}

.feature-showcase {
    margin-top: 2.5rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 2vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-top: 0.6rem;
    line-height: 1.2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.feature-card,
.dashboard-card,
.dashboard-panel {
    background: linear-gradient(180deg, rgba(20,17,19,0.9), rgba(12,10,12,0.9));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.feature-card {
    padding: 1.4rem;
    border-radius: 1.4rem;
}

.icon-wrap {
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(255, 38, 62, 0.12);
    color: #ff9a8c;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 38, 62, 0.17);
}

.feature-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
}

.dashboard-card,
.dashboard-panel {
    border-radius: 1.5rem;
}

.dashboard-card {
    padding: 1.5rem;
}

.dashboard-panel {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(18,14,16,0.92), rgba(8,7,9,0.96));
}

.section-kicker {
    color: #ff9a8c;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34,197,94,0.12);
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    padding: 1rem;
}

.mini-stat-box span {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mini-stat-box strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.4rem;
    color: white;
}

.live-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.feed-box,
.chart-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    padding: 1rem;
}

.feed-header,
.chart-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: #e4e4e7;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.pulse-indicator {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34,197,94,0.1);
    animation: pulse 1.6s infinite;
}

.feed-list {
    display: grid;
    gap: 0.7rem;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.7rem 0.8rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.feed-item strong {
    color: white;
}

.feed-avatar,
.tiktok-profile-avatar {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e61932, #831a2a);
    color: white;
    font-weight: 700;
}

.feed-avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.feed-avatar-image,
.tiktok-profile-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tiktok-profile-avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

.leaderboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.leaderboard-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.07);
}

.leaderboard-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.leaderboard-periods button {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 0.75rem;
    background: #09090b;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.leaderboard-periods button:hover,
.leaderboard-periods button.is-active {
    border-color: rgba(161, 38, 62,0.55);
    background: rgba(161, 38, 62,0.12);
    color: white;
}

.leaderboard-trophy {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border-radius: 0.9rem;
    background: rgba(230,25,50,0.12);
    color: #ff8b80;
}

.leaderboard-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.leaderboard-top-card {
    display: grid;
    justify-items: start;
    gap: 0.8rem;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}

.leaderboard-top-1 {
    border-color: rgba(255,206,115,0.38);
    background: linear-gradient(145deg, rgba(145,95,24,0.2), rgba(255,255,255,0.02));
}

.leaderboard-top-label {
    color: #ffcf7b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.leaderboard-top-coins {
    color: white;
    font-size: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.leaderboard-top-caption,
.leaderboard-top-time {
    color: var(--muted);
    font-size: 0.75rem;
}

.leaderboard-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.leaderboard-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #e61932, #831a2a);
    color: white;
    font-weight: 800;
}

.leaderboard-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaderboard-avatar.has-image {
    color: transparent;
}

.leaderboard-person a,
.leaderboard-person span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-person a {
    color: white;
    font-size: 0.85rem;
    font-weight: 750;
}

.leaderboard-person a:hover {
    color: #ff8b80;
}

.leaderboard-person span {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.leaderboard-rank {
    display: grid;
    place-items: center;
    min-width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.6rem;
    color: #ffcf7b;
    font-size: 0.75rem;
    font-weight: 800;
}

.leaderboard-table th {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leaderboard-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.leaderboard-table tbody tr:hover {
    background: rgba(255,255,255,0.025);
}

.leaderboard-position,
.leaderboard-number {
    color: white;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
}

.leaderboard-number {
    text-align: right;
}

@media (max-width: 700px) {
    .live-studio-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-studio-tab {
        padding: 0.6rem 0.4rem;
        font-size: 0.65rem;
    }

    .audio-center-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    .audio-center-controls {
        justify-content: flex-start;
        width: 100%;
    }

    .audio-library-toolbar {
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .audio-search {
        flex-basis: 100%;
    }

    .audio-category-filter {
        flex: 1 1 auto;
    }

    .audio-library-count {
        margin-left: auto;
    }

    .audio-sound-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .audio-sound-card {
        gap: 0.6rem;
        padding: 0.65rem;
    }

    .audio-sound-card-heading {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .audio-sound-icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .audio-sound-card-heading h4 {
        padding-top: 0.15rem;
        font-size: 0.66rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .audio-sound-controls {
        gap: 0.3rem;
    }

    .audio-sound-controls button {
        gap: 0.25rem;
        padding-right: 0.4rem;
        padding-left: 0.4rem;
        font-size: 0.55rem;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .public-info-site-header {
        min-height: 4rem;
        padding: 0 1rem;
    }

    .public-info-footer {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .footer-content {
        justify-items: start;
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 0.55rem 0.9rem;
    }

    .footer-copyright {
        text-align: left;
    }

    .home-hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .home-hero-copy h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .home-hero-copy > p {
        font-size: 0.88rem;
    }

    .home-hero-art {
        min-height: 260px;
        margin: 0 -0.25rem;
    }

    .home-hero-art img {
        max-width: 520px;
        border-radius: 1rem;
        transform: none;
    }

    .home-hero-art-label {
        right: 0.25rem;
        bottom: 0.4rem;
    }

    .home-section-heading {
        align-items: flex-start;
    }

    .home-section-heading p {
        max-width: 29rem;
    }

    .home-hot-games {
        grid-template-columns: 1fr;
    }

    .home-hot-game {
        min-height: 300px;
    }

    .home-how-it-works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-how-intro {
        min-height: 150px;
        padding: 1rem;
    }

    .home-how-step {
        min-height: 175px;
    }

    .home-leaderboard-head,
    .home-leaderboard-row {
        grid-template-columns: 2.25rem minmax(0, 1fr) 4.2rem 4.2rem;
        gap: 0.45rem;
    }

    .home-leaderboard-head,
    .home-leaderboard-row {
        padding-right: 0.7rem;
        padding-left: 0.7rem;
    }

    .home-leaderboard-head {
        font-size: 0.46rem;
        letter-spacing: 0.04em;
    }

    .home-leaderboard-person {
        gap: 0.45rem;
    }

    .home-leaderboard-person .leaderboard-avatar {
        width: 1.8rem;
        height: 1.8rem;
    }

    .home-leaderboard-person a {
        font-size: 0.72rem;
    }

    .home-leaderboard-person span {
        font-size: 0.58rem;
    }

    .home-leaderboard-coins {
        font-size: 0.68rem;
    }

    .home-leaderboard-time {
        font-size: 0.6rem;
    }

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-details-grid {
        grid-template-columns: 1fr;
    }

    .account-plan-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .leaderboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .leaderboard-podium {
        grid-template-columns: 1fr;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.75rem 0.6rem;
    }

    .leaderboard-table th {
        font-size: 0.55rem;
    }

    .leaderboard-table .leaderboard-person {
        gap: 0.45rem;
    }

    .leaderboard-avatar {
        width: 2rem;
        height: 2rem;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .home-hero-inner {
        min-height: 460px;
        gap: 1rem;
    }

    .home-hero-copy h1 {
        font-size: 3.7rem;
    }

    .home-hero-art {
        min-height: 300px;
    }

    .home-hot-game {
        min-height: 320px;
    }

    .home-how-it-works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-how-intro {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .site-header-inner {
        min-height: 0;
        padding: 0.65rem 1rem;
        row-gap: 0.65rem;
    }

    .site-header-inner > div:first-child {
        gap: 0.5rem;
    }

    .site-header-inner > div:first-child img {
        width: 2.25rem;
        height: 2.25rem;
    }

    .site-header-inner > div:first-child > span {
        font-size: 1.05rem;
    }

    .header-account-actions {
        position: relative;
        gap: 0.5rem;
    }

    #account-status-indicator {
        order: 1;
    }

    #header-account-avatar {
        order: 2;
    }

    #account-menu-toggle:not(.hidden) {
        display: inline-flex;
        order: 3;
    }

    #btn-login-modal {
        order: 4;
    }

    #user-profile-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        z-index: 60;
        display: none;
        min-width: 9rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.45rem;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 0.75rem;
        background: #18181b;
        box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    }

    #user-profile-menu.is-open {
        display: flex;
    }

    .account-menu-toggle {
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        flex: 0 0 auto;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 0.7rem;
        background: rgba(255,255,255,0.06);
        color: #e4e4e7;
        cursor: pointer;
    }

    .account-menu-toggle:hover,
    .account-menu-toggle[aria-expanded="true"] {
        border-color: rgba(229, 146, 162,0.4);
        color: #dc687f;
    }

    .account-logout-label {
        display: inline;
    }

    #header-account-avatar {
        order: 3;
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.65rem;
    }

    #btn-login-modal {
        gap: 0.4rem;
        padding: 0.55rem 0.7rem;
        font-size: 0.68rem;
    }

    #user-profile-menu {
        gap: 0.4rem;
        padding: 0.3rem 0.45rem;
    }

    .user-avatar-trigger {
        width: 2rem;
        height: 2rem;
    }

    #user-profile-menu > div:nth-child(2) {
        display: none;
    }

    #user-profile-menu > button:first-child {
        display: inline-flex;
        margin-left: 0;
        padding: 0.35rem 0.5rem;
        font-size: 0.58rem;
        text-align: left;
    }

    #user-profile-menu > button:last-child {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.55rem;
        min-height: 2rem;
        padding: 0.35rem 0.5rem;
        color: #a1a1aa;
        text-align: left;
    }

    #user-profile-menu {
        padding: 0.45rem;
    }

    .mobile-nav {
        display: grid;
        order: 3;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .mobile-nav-link {
        padding-right: 0.1rem;
        padding-left: 0.1rem;
        font-size: 0.52rem;
    }

    .mobile-nav-link i {
        font-size: 0.85rem;
    }

    #view-account,
    #view-live,
    #view-leaderboard,
    #view-play-pass,
    #view-catalog {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .account-card {
        padding: 1.15rem;
    }

    .leaderboard-summary {
        flex-wrap: wrap;
    }

    .leaderboard-summary > button {
        margin-left: 0;
    }

    .leaderboard-periods button {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .modal,
    #auth-modal > div {
        padding: 1.35rem;
    }

    #view-home > .max-w-7xl {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 380px) {
    .site-header-inner {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .site-header-inner > div:first-child > span {
        font-size: 0.92rem;
    }

    #btn-login-modal {
        padding: 0.5rem 0.55rem;
        font-size: 0.62rem;
    }

    .mobile-nav-link {
        font-size: 0.52rem;
    }

    .account-details-grid dd {
        font-size: 0.75rem;
    }

    .audio-sound-grid {
        grid-template-columns: 1fr;
    }
}

.bars {
    height: 150px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.55rem;
    padding-top: 0.8rem;
}

.bars span {
    display: block;
    width: 100%;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(255,38,62,0.9), rgba(255,38,62,0.35));
    box-shadow: 0 -8px 18px rgba(255,38,62,0.2);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .pricing-grid,
    .feature-grid,
    .dashboard-stats,
    .live-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        margin-top: 1rem;
    }
}

.soundboard-shell {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1rem;
    background: #111112;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
}

.soundboard-topbar,
.soundboard-source-tabs,
.soundboard-library-controls,
.soundboard-scope-tabs,
.audio-library-toolbar {
    display: flex;
    align-items: center;
}

.soundboard-topbar {
    justify-content: space-between;
}

.soundboard-monitor {
    display: flex;
    min-height: 2.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.5rem 0 0.65rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.65rem;
    background: rgba(255,255,255,0.025);
}

.soundboard-monitor-label,
.soundboard-volume-control {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #bdb4c8;
    font-size: 0.65rem;
    font-weight: 700;
}

.soundboard-stop.audio-stop-all {
    min-height: 1.9rem;
    gap: 0.35rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.55rem;
    font-size: 0.58rem;
    white-space: nowrap;
}

.soundboard-monitor-label i,
.soundboard-volume-control i {
    color: #a78bfa;
}

.soundboard-volume-control input {
    width: clamp(5rem, 12vw, 8rem);
    accent-color: #b78bff;
}

.soundboard-volume-control span {
    min-width: 2.2rem;
    color: #c9b7f5;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.soundboard-source-tabs {
    gap: 0.25rem;
}

.soundboard-source-tab {
    min-height: 2.1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    color: #bdb8c3;
    font-size: 0.7rem;
    font-weight: 750;
}

.soundboard-source-tab:hover {
    color: white;
}

.soundboard-source-tab.is-active {
    border-color: rgba(255,255,255,0.07);
    background: #28262b;
    color: white;
}

.soundboard-library-controls {
    min-height: 2.2rem;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 0.55rem;
}

.soundboard-scope-tabs {
    gap: 0.35rem;
}

.soundboard-scope-tab {
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 0.5rem;
    color: #c6bfcc;
    font-size: 0.62rem;
    font-weight: 650;
    white-space: nowrap;
}

.soundboard-scope-tab.is-active {
    border-color: #ad82f2;
    background: rgba(173,130,242,0.16);
    color: #d8baff;
}

.soundboard-scope-tab > span {
    display: grid;
    min-width: 1rem;
    height: 1rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    color: #ded8e5;
    font-size: 0.55rem;
    font-variant-numeric: tabular-nums;
}

.soundboard-library-controls .audio-library-count {
    padding: 0;
}

.soundboard-shell .audio-library-toolbar {
    align-items: stretch;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.soundboard-shell .audio-category-filter {
    flex: 0 0 auto;
}

.soundboard-shell .audio-category-filter select,
.soundboard-shell .audio-search input {
    min-height: 2rem;
    border-color: rgba(255,255,255,0.15);
    border-radius: 0.6rem;
    background-color: #151517;
    color: #e9e4ed;
    font-size: 0.62rem;
}

.soundboard-shell .audio-category-filter select {
    max-width: 8.5rem;
    padding: 0.4rem 1.7rem 0.4rem 0.55rem;
}

.soundboard-shell .audio-search {
    flex: 1 1 auto;
}

.soundboard-shell .audio-search > i {
    bottom: 0.67rem;
    left: 0.6rem;
    font-size: 0.6rem;
}

.soundboard-shell .audio-search input {
    min-height: 2rem;
    padding: 0.4rem 0.55rem 0.4rem 1.7rem;
}

.soundboard-shell .audio-center-status {
    min-height: 0;
    margin: 0.45rem 0 0.55rem;
    color: #89838f;
    font-size: 0.58rem;
}

.soundboard-shell .audio-center-status:empty {
    display: none;
}

.soundboard-shell .audio-sound-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.soundboard-shell .audio-sound-card {
    position: relative;
    aspect-ratio: 1 / 1.05;
    min-height: 8rem;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    padding: 0.45rem;
    border-color: color-mix(in srgb, var(--sound-accent, #fb7185) 42%, rgba(255,255,255,0.1));
    border-radius: 0.72rem;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--sound-accent, #fb7185) 14%, #17171a), #1a191d 75%);
}

.soundboard-shell .audio-sound-card:hover {
    border-color: color-mix(in srgb, var(--sound-accent, #fb7185) 75%, white);
    box-shadow: 0 0.4rem 1.2rem color-mix(in srgb, var(--sound-accent, #fb7185) 18%, transparent);
    transform: translateY(-1px);
}

.audio-sound-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    min-height: 1.35rem;
}

.audio-sound-number {
    color: #a69fac;
    font-size: 0.55rem;
    font-variant-numeric: tabular-nums;
}

.audio-sound-card .audio-sound-favorite {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a69fac;
    font-size: 0.68rem;
}

.audio-sound-card .audio-sound-favorite:hover,
.audio-sound-card .audio-sound-favorite.is-favorite {
    border: 0;
    background: transparent;
    color: var(--sound-accent, #fbbf24);
}

.audio-sound-trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.3rem 0.15rem 0.5rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: inherit;
    text-align: center;
}

.audio-sound-trigger:focus-visible,
.audio-sound-card .audio-sound-favorite:focus-visible {
    outline: 2px solid var(--sound-accent, #fb7185);
    outline-offset: 2px;
}

.soundboard-shell .audio-sound-icon {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--sound-accent, #fb7185);
    font-size: 1.1rem;
}

.soundboard-shell .audio-sound-trigger h4 {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    color: #f5f1f7;
    font-size: 0.63rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.audio-sound-trigger.is-playing {
    filter: brightness(1.35);
}

.soundboard-footnote {
    margin-top: 0.7rem;
    color: #77727c;
    font-size: 0.56rem;
    line-height: 1.5;
}

@media (min-width: 900px) {
    .soundboard-shell .audio-sound-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .soundboard-shell {
        padding: 0.65rem;
    }

    .soundboard-monitor {
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-inline: 0.45rem;
    }

    .soundboard-monitor-label {
        flex: 1 0 100%;
    }

    .soundboard-stop.audio-stop-all {
        width: 2.4rem;
        min-height: 2.4rem;
    }

    .soundboard-stop.audio-stop-all i {
        font-size: 1.35rem;
    }

    .soundboard-volume-control {
        gap: 0.25rem;
        margin-left: auto;
    }

    .soundboard-volume-control input {
        width: 4.5rem;
    }

    .soundboard-shell .audio-sound-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .soundboard-shell .audio-sound-card {
        min-height: 6.2rem;
        padding: 0.35rem;
    }

    .soundboard-shell .audio-sound-icon {
        font-size: 1rem;
    }

    .soundboard-shell .audio-sound-trigger h4 {
        font-size: 0.58rem;
    }
}

@media (max-width: 360px) {
    .live-favorites-controls {
        gap: 0.3rem;
    }

    .live-favorites-volume {
        gap: 0.2rem;
    }

    .live-favorites-volume input {
        width: 4rem;
        min-width: 2rem;
    }
}


/* ==========================================================================
   LIVE STREAMS DIRECTORY (scrollplay-style)
   ========================================================================== */

.nav-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #ef4444;
    margin-left: 0.35rem;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: live-pulse-dot 1.5s infinite ease-in-out;
}

@keyframes live-pulse-dot {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.streams-refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #d4d4d8);
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
}

.streams-refresh-button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.streams-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(18, 18, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .streams-filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.streams-search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    flex: 1;
    max-width: 360px;
}

.streams-search-box i {
    position: absolute;
    left: 0.9rem;
    color: #71717a;
    font-size: 0.85rem;
    pointer-events: none;
}

.streams-search-box input {
    width: 100%;
    background: rgba(11, 11, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.6rem 0.9rem 0.6rem 2.3rem;
    font-size: 0.8rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.streams-search-box input:focus {
    border-color: #ff3344;
}

.streams-game-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.streams-game-filters::-webkit-scrollbar {
    display: none;
}

.streams-game-chip {
    padding: 0.45rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #a1a1aa;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.streams-game-chip:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #f4f4f5;
    border-color: rgba(255, 255, 255, 0.15);
}

.streams-game-chip.is-active {
    background: rgba(255, 38, 54, 0.15);
    border-color: #ff3344;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 38, 54, 0.2);
}

/* Stream Card */
.stream-card {
    display: flex;
    flex-direction: column;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.stream-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 38, 54, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 38, 54, 0.15);
}

.stream-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #09090b;
}

.stream-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.stream-card:hover .stream-card-cover {
    transform: scale(1.05);
}

.stream-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(17, 17, 20, 0.95) 100%);
}

.stream-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 2;
}

.stream-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    text-transform: uppercase;
}

.stream-live-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 9999px;
    animation: live-pulse-dot 1s infinite alternate;
}

.stream-game-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
}

.stream-card-duration {
    position: absolute;
    bottom: 0.6rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #d4d4d8;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.stream-card-content {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.stream-creator-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stream-avatar-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    overflow: hidden;
    background: #1f1f23;
    border: 2px solid #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.stream-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-avatar-fallback {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.stream-creator-info {
    flex: 1;
    min-width: 0;
}

.stream-creator-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.stream-creator-handle {
    font-size: 0.72rem;
    color: #a1a1aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

.stream-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.stream-card-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
}

.stream-tiktok-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #fe2c55 0%, #ee1d52 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(254, 44, 85, 0.3);
    text-decoration: none;
    text-align: center;
}

.stream-tiktok-btn:hover {
    background: linear-gradient(135deg, #ff3b63 0%, #fa2459 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(254, 44, 85, 0.45);
}

.stream-game-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stream-game-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Empty State Cards */
.streams-empty-card {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(18, 18, 18, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    margin: 2rem 0;
}

.streams-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(255, 38, 54, 0.1);
    color: #ff3344;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.home-stream-empty-banner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
}

@media (min-width: 640px) {
    .home-stream-empty-banner {
        flex-direction: row;
        align-items: center;
    }
}

.home-stream-empty-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: rgba(255, 38, 54, 0.12);
    color: #ff3344;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-stream-empty-text {
    flex: 1;
}


/* ==========================================================================
   GET APP DROPDOWN (Hover flyout)
   ========================================================================== */

.get-app-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.get-app-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.6rem 0.95rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.get-app-dropdown:hover .get-app-trigger,
.get-app-trigger:hover {
    background: rgba(255, 38, 54, 0.15);
    border-color: rgba(255, 38, 54, 0.4);
    box-shadow: 0 0 15px rgba(255, 38, 54, 0.2);
    color: #ffffff;
}

.get-app-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.4rem;
    width: 270px;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1rem;
    padding: 0.6rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 38, 54, 0.1);
    backdrop-filter: blur(16px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* Hover bridge: keeps menu open while cursor moves between trigger and menu */
.get-app-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.get-app-dropdown:hover .get-app-menu,
.get-app-dropdown:focus-within .get-app-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.get-app-menu-header {
    padding: 0.35rem 0.65rem 0.3rem;
}

.get-app-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: transparent;
    transition: all 0.15s ease;
    text-decoration: none;
    width: 100%;
}

.get-app-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.get-app-item-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.get-app-item:hover .get-app-item-icon {
    background: rgba(255, 38, 54, 0.15);
    border-color: rgba(255, 38, 54, 0.3);
    color: #ff3344;
}

.live-studio-icon {
    background: rgba(255, 38, 54, 0.1);
    border-color: rgba(255, 38, 54, 0.2);
    color: #ff3344;
}

.get-app-item-text {
    flex: 1;
    min-width: 0;
}

.get-app-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.4rem 0.5rem;
}

.get-app-menu button[data-nav-item="live"] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    display: block;
}

.get-app-menu button[data-nav-item="live"].is-active .get-app-item {
    background: rgba(255, 38, 54, 0.12);
    border: 1px solid rgba(255, 38, 54, 0.25);
}
