.spotlight-theme {
    color-scheme: dark;
    --sp-bg: #100d11;
    --sp-surface: #18141a;
    --sp-raised: #201a21;
    --sp-line: #352a35;
    --sp-muted: #c6b7c5;
    --sp-text: #f8f0f5;
    --sp-pink: #ff7997;
    --sp-light: #ffc1ce;
    background: var(--sp-bg);
    color: var(--sp-text);
}
.spotlight-theme .site-shell { background: var(--sp-bg); }
.spotlight-theme .container { width: min(1320px, calc(100% - 72px)); }
.spotlight-theme [hidden] { display: none !important; }
.spotlight-theme :focus-visible { outline: 2px solid var(--sp-light); outline-offset: 3px; }
.spotlight-theme .button { min-height: 40px; padding: 0 13px; border-radius: 9px; box-shadow: none; font-size: .84rem; }
.spotlight-theme .button-primary { background: var(--sp-pink); color: #211018; border: 1px solid var(--sp-pink); }
.spotlight-theme .button-primary:hover { background: #ffa0b4; }
.spotlight-theme .button-secondary { background: #241923; color: var(--sp-text); border: 1px solid #563948; }
.spotlight-theme .button-secondary:hover { background: #3b2530; }
.sp-header { background: #141016; border-bottom: 1px solid var(--sp-line); }
.sp-header-inner { min-height: 68px; display: flex; align-items: center; gap: 25px; }
.sp-brand { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 1.55rem; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.sp-brand-mark { display: grid; place-items: center; width: 33px; height: 33px; margin-right: 9px; border-radius: 10px; background: var(--sp-pink); color: #211018; }
.sp-brand b { color: var(--sp-pink); }
.sp-nav, .sp-header-actions { display: flex; align-items: center; gap: 7px; }
.sp-nav { white-space: nowrap; }
.sp-nav a, .sp-filters a { padding: 7px 9px; border-radius: 7px; color: var(--sp-muted); font-size: .83rem; font-weight: 650; }
.sp-nav a:hover, .sp-nav .is-active, .sp-filters a:hover, .sp-filters .is-active { background: #39222d; color: var(--sp-light); }
.sp-header-actions { margin-left: auto; }
.sp-header-actions input { width: 145px; padding: 8px 10px; border: 1px solid var(--sp-line); border-radius: 8px; background: var(--sp-bg); color: var(--sp-text); font: inherit; }
.sp-home, .sp-watch { padding-top: 20px; padding-bottom: 34px; }
.sp-banner { margin-bottom: 12px; overflow: hidden; border: 1px solid #573849; border-radius: 11px; background: var(--sp-surface); }
.sp-banner a, .sp-banner img { display: block; width: 100%; }
.sp-banner img { max-height: 150px; object-fit: contain; }
.sp-hero { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; min-height: 320px; border: 1px solid #4d293c; border-radius: 18px; background: #21141e; }
.sp-hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 61%; height: 100%; object-fit: cover; object-position: center 30%; }
.sp-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #21141e 39%, #21141eb0 48%, #21141e45 62%, transparent 78%), linear-gradient(0deg, #1b0d1780, transparent 32%); }
.sp-hero-copy { padding: 30px 36px; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--sp-light); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.spotlight-theme .live-pulse { background: var(--sp-pink); box-shadow: 0 0 0 3px #ff799733; }
.sp-hero h1 { margin: 10px 0; font-size: clamp(2.45rem, 4.4vw, 3.8rem); line-height: .99; font-weight: 850; letter-spacing: -.06em; }
.sp-hero h1 em { display: block; color: #ff97ae; font-style: normal; }
.sp-hero p { max-width: 365px; margin: 0 0 18px; color: #e5d4df; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-spotlight { position: absolute; bottom: 15px; right: 15px; display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; padding: 8px 10px; border: 1px solid #97627990; border-radius: 9px; background: #1b1019e8; }
.sp-spotlight:hover { background: #38202e; }
.sp-spotlight strong, .sp-spotlight small { grid-column: 1; }
.sp-spotlight small { color: var(--sp-muted); }
.sp-spotlight-arrow { grid-area: 1 / 2 / span 3; align-self: center; color: var(--sp-pink); }
.spotlight-theme {
    --directory-surface: var(--sp-surface);
    --directory-border: var(--sp-line);
    --directory-active: #39222d;
}
.sp-home-directory { margin: 24px 0 34px; scroll-margin-top: 16px; }
.sp-chat, .sp-about, .sp-saved { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: 12px; }
.sp-list-section + .sp-list-section { margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--sp-line); }
.sp-list-section .sp-section-heading { margin-bottom: 10px; }
.sp-section-more { color: var(--sp-light); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.sp-section-heading, .sp-section-heading > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sp-section-heading { justify-content: space-between; }
.sp-section-heading h2, .sp-related h2, .sp-guides h2 { margin: 0; letter-spacing: -.042em; font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.08; }
.sp-room-count { padding: 3px 7px; border-radius: 999px; color: #a0e4ba; background: #21352a; font-size: .7rem; font-weight: 750; }
.sp-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 13px; }
.sp-filters a { border: 1px solid var(--sp-line); background: var(--sp-surface); }
.sp-saved a { color: var(--sp-light); }
.spotlight-theme .model-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.spotlight-theme .model-card { border: 1px solid var(--sp-line); border-radius: 11px; background: var(--sp-surface); overflow: hidden; }
.spotlight-theme .model-card:hover { border-color: #875365; }
.spotlight-theme .model-visual { width: 100%; height: auto; aspect-ratio: 1.61; border: 0; border-radius: 0; }
.spotlight-theme .model-photo { object-position: center 38%; }
.spotlight-theme .model-viewers { right: auto; left: 10px; }
.spotlight-theme .model-info { min-height: 52px; padding: 7px 9px; }
.spotlight-theme .model-meta { color: var(--sp-muted); }
.spotlight-theme .model-badge.live, .spotlight-theme .status-live { background: #b92b50; color: #fff; }
.sp-save-room { border: 1px solid #654456; border-radius: 7px; background: #241923; color: var(--sp-light); cursor: pointer; font-size: 1.05rem; padding: 2px 6px; }
.sp-save-room[aria-pressed=true] { background: #4a2535; color: #ff9db6; }
.sp-saved { margin-top: 15px; padding: 13px; }
.sp-saved h2 { margin-top: 0; font-size: 1.2rem; }
.sp-guides { padding-top: 23px; border-top: 1px solid var(--sp-line); scroll-margin-top: 16px; }
.sp-guides h2 { margin: 5px 0 13px; }
.sp-guides > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.sp-guides details { border: 1px solid var(--sp-line); border-radius: 10px; background: var(--sp-surface); padding: 10px 12px; }
.sp-guides summary { cursor: pointer; font-weight: 700; }
.sp-guides p { margin: 6px 0 0; color: var(--sp-muted); }
.sp-watch-heading { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 13px; }
.sp-watch-heading h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -.052em; line-height: 1.08; }
.sp-watch-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,295px); grid-template-areas: "player chat" "about chat"; align-items: start; gap: 13px 16px; }
.sp-watch-grid .player-wrap { grid-area: player; aspect-ratio: 16/9; margin: 0; background: var(--sp-bg); border-color: #4d293c; border-radius: 13px; }
.sp-watch-grid .player-placeholder { min-height: 0; }
.sp-chat { grid-area: chat; padding: 14px; }
.sp-chat h2, .sp-about h2 { margin: 0 0 8px; letter-spacing: -.025em; font-size: 1.25rem; }
.sp-chat p { border: 1px dashed #634354; border-radius: 8px; padding: 9px; color: var(--sp-muted); font-size: .8rem; }
.sp-chat-actions { display: grid; gap: 6px; }
.sp-chat dl { margin: 12px 0 0; }
.sp-chat dl > div { display: flex; justify-content: space-between; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--sp-line); }
.sp-chat dt, .sp-about p { color: var(--sp-muted); }
.sp-chat dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.sp-about { grid-area: about; padding: 14px; }
.sp-about p { margin: 0 0 7px; }
.sp-related { margin-top: 22px; }
.sp-related h2 { margin-bottom: 12px; }
.spotlight-theme .listing-hero, .spotlight-theme .seo-copy, .spotlight-theme .empty-state, .spotlight-theme .site-footer { background: var(--sp-surface); border-color: var(--sp-line); }
.spotlight-theme .filter-pills a, .spotlight-theme .profile-tags a, .spotlight-theme .profile-tags span { border-color: var(--sp-line); background: var(--sp-surface); color: var(--sp-light); }
.spotlight-theme .filter-pills a.active { background: #39222d; }
.sp-dialog { width: min(510px, calc(100% - 26px)); max-height: calc(100dvh - 26px); padding: 18px; border: 1px solid #654356; border-radius: 14px; background: var(--sp-surface); color: var(--sp-text); }
.sp-dialog::backdrop { background: #0a070bd7; backdrop-filter: blur(4px); }
.sp-dialog h2 { margin: 5px 32px 8px 0; line-height: 1.08; letter-spacing: -.035em; }
.sp-dialog p { color: var(--sp-muted); margin: 0 0 11px; }
.sp-close { position: absolute; top: 8px; right: 8px; background: var(--sp-raised); color: var(--sp-text); border: 1px solid var(--sp-line); border-radius: 8px; font-size: 1.3rem; cursor: pointer; width: 34px; height: 34px; }
.sp-signup-widget { display: block; width: min(100%, 485px); height: min(535px, 65dvh); border: 0; border-radius: 9px; margin-bottom: 12px; }
.sp-join-page { padding-block: 32px; }
.sp-admin { padding-block: 30px; }
.sp-admin form { display: grid; gap: 10px; max-width: 550px; }
.sp-admin label { display: grid; gap: 4px; }
.sp-admin .sp-check { display: flex; align-items: center; }
.sp-admin input:not([type=checkbox]) { width: 100%; padding: 8px; border: 1px solid var(--sp-line); border-radius: 7px; background: var(--sp-bg); color: var(--sp-text); }
.sp-admin img { max-height: 150px; object-fit: contain; margin: 0 0 12px; }
@media (max-width: 1000px) {
    .spotlight-theme .container { width: calc(100% - 38px); }
    .sp-header-inner { gap: 12px; }
    .sp-header-actions input { width: 112px; }
    .spotlight-theme .model-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 750px) {
    .sp-header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 8px; }
    .sp-nav { grid-row: 2; grid-column: 1/-1; overflow: auto; min-height: 40px; }
    .sp-watch-grid { grid-template-columns: 1fr; grid-template-areas: "player" "chat" "about"; }
}
@media (max-width: 540px) {
    .spotlight-theme .container { width: calc(100% - 24px); }
    .sp-header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 0 6px; }
    .sp-brand { font-size: 1.26rem; }
    .sp-brand-mark { width: 28px; height: 28px; margin-right: 6px; }
    .sp-header-actions input { width: 84px; font-size: .72rem; padding: 7px 5px; }
    .spotlight-theme .button { min-height: 34px; padding: 0 8px; font-size: .72rem; }
    .sp-home,.sp-watch { padding-top: 12px; }
    .sp-banner img { max-height: 82px; }
    .sp-hero { align-items: end; min-height: 310px; }
    .sp-hero-image { width: 100%; height: 75%; object-position: center 22%; }
    .sp-hero::before { background: linear-gradient(0deg,#21141e 24%,#21141edc 42%,#21141e3d 74%,transparent); }
    .sp-hero-copy { padding: 16px 12px; }
    .sp-hero h1 { font-size: clamp(2.05rem,9vw,2.5rem); }
    .sp-hero p { font-size: .83rem; margin-bottom: 10px; }
    .sp-spotlight { bottom: auto; top: 8px; right: 8px; gap: 0 6px; font-size: .77rem; }
    .sp-spotlight .sp-eyebrow { font-size: .54rem; }
    .spotlight-theme .model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .sp-guides > div { grid-template-columns: 1fr; }
}
