/* lewd.bio studio + spotlight profiles */

:root {
    --ink: #f4f4f5;
    --muted: #a1a1aa;
    --line: rgba(255, 255, 255, 0.08);
    --panel: rgba(255, 255, 255, 0.035);
    --rose: #fb7185;
    --rose-deep: #e11d48;
}

body.site {
    background: #09090b;
    color: var(--ink);
}

body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site h5,
body.site h6,
body.site .heading-font {
    font-family: Outfit, sans-serif;
    letter-spacing: -0.035em;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(9, 9, 11, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.site-nav .nav-cta {
    background: linear-gradient(180deg, #fb7185, #e11d48);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.28);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #09090b;
}

/* Dashboard shell */
body.studio {
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(251, 113, 133, 0.16), transparent 55%),
        #09090b;
}

.studio-shell {
    display: flex;
    min-height: 100vh;
}

.studio-aside {
    width: 248px;
    flex: 0 0 248px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    padding: 22px 14px 28px;
    background: rgba(12, 12, 16, 0.92);
    border-right: 1px solid var(--line);
}

.studio-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 18px;
}

.studio-brand a {
    font-weight: 750;
    letter-spacing: -0.05em;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.studio-brand span {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rose);
}

.studio-group {
    margin-bottom: 18px;
}

.studio-group p {
    margin: 0 8px 6px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #71717a;
}

.studio-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #d4d4d8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
}

.studio-link i {
    width: 18px;
    color: #a1a1aa;
}

.studio-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.studio-link.is-active {
    background: rgba(251, 113, 133, 0.14);
    color: white;
}

.studio-link.is-active i {
    color: var(--rose);
}

.studio-frame {
    flex: 1;
    min-width: 0;
}

.studio-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.studio-menu,
.studio-scrim {
    display: none;
}

.studio-top h1 {
    font-size: 15px;
    font-weight: 650;
    margin: 0;
}

.studio-top .grow {
    flex: 1;
}

.studio-top .view-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    color: #18181b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.studio-main {
    padding: 8px 8px 48px;
}

body.studio .bg-gray-800 {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.studio .bg-gray-700,
body.studio .bg-gray-900 {
    background: rgba(0, 0, 0, 0.28);
}

body.studio .rounded-xl {
    border-radius: 20px;
}

body.studio input,
body.studio textarea,
body.studio select {
    border-radius: 12px;
}

.studio-home {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 16px 0;
}

.studio-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(500px 180px at 100% 0%, rgba(251, 113, 133, 0.22), transparent 60%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.studio-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose);
}

.studio-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 0.95;
}

.studio-hero .lede {
    color: var(--muted);
    margin: 0 0 18px;
}

.url-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.url-chip code {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    color: #fecdd3;
    font-size: 14px;
}

.url-chip button,
.btn-ghost,
.btn-solid {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
}

.url-chip button,
.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    text-decoration: none;
    border: 1px solid var(--line);
}

.btn-solid {
    display: inline-flex;
    background: linear-gradient(180deg, #fb7185, #e11d48);
    color: white;
    text-decoration: none;
}

.hero-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.stat-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-pills div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--line);
}

.stat-pills strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.stat-pills span {
    color: var(--muted);
    font-size: 12px;
}

.hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.upsell {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    background: rgba(251, 113, 133, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.22);
}

.tool-board {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tool-board section {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.tool-board h3 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #71717a;
}

.tool-board a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.studio-home > .bg-gray-800,
.studio-home > #events,
.studio-home > #notifications {
    margin-top: 18px;
}

/* Spotlight profile */
body.profile-page {
    background: #070709;
}

.spot {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

.spot-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(520px 280px at 50% 0%, color-mix(in srgb, var(--spot-primary) 45%, transparent), transparent 70%),
        var(--spot-bg);
}

.spot-bg.has-cover {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), var(--spot-bg) 78%), var(--cover);
    background-size: cover;
    background-position: center top;
}

.spot-sheet {
    position: relative;
    z-index: 1;
    width: min(460px, calc(100% - 28px));
    margin: 0 auto;
    padding: 54px 0 48px;
}

.spot-card {
    padding: 22px 18px 18px;
    border-radius: 32px;
    background: color-mix(in srgb, var(--spot-bg) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--spot-ink) 12%, transparent);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(22px);
}

.spot-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: -62px auto 14px;
    border: 4px solid color-mix(in srgb, var(--spot-bg) 70%, white);
    box-shadow: 0 0 0 3px var(--spot-primary), 0 16px 40px rgba(0, 0, 0, 0.35);
    background: #18181b;
}

.spot-fallback {
    display: grid;
    place-items: center;
    font-family: Fraunces, Georgia, serif;
    font-size: 36px;
    color: white;
    background: linear-gradient(160deg, var(--spot-primary), var(--spot-accent));
}

.spot-id {
    text-align: center;
}

.spot-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--spot-primary) 18%, transparent);
    color: var(--spot-ink);
    font-size: 12px;
    font-weight: 700;
}

.spot-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.profile-username {
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
}

.spot-handle {
    margin: 6px 0 0;
    color: color-mix(in srgb, var(--spot-ink) 62%, transparent);
    font-size: 14px;
}

.spot-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.spot-chips span {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--spot-ink) 14%, transparent);
    font-size: 12px;
    color: color-mix(in srgb, var(--spot-ink) 80%, transparent);
}

.profile-bio {
    margin: 14px auto 0;
    max-width: 34ch;
    line-height: 1.55;
    font-size: 15px;
    color: color-mix(in srgb, var(--spot-ink) 82%, transparent);
}

.lb-dock {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 6px;
}

.lb-dock-item {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: inherit;
    background: color-mix(in srgb, var(--spot-ink) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--spot-ink) 12%, transparent);
    cursor: pointer;
}

.lb-dock-item:hover {
    transform: translateY(-2px);
}

.lb-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

a.platform-link,
button.platform-link,
.lb-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 12px 14px;
    border-radius: 18px;
    min-height: 58px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.spot .lb-link-glass {
    background: color-mix(in srgb, var(--spot-ink) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--spot-ink) 14%, transparent);
}

.spot .lb-link-solid,
.spot .lb-link-pill {
    background: var(--spot-primary);
    color: #1a0a10;
}

.spot .lb-link-outline {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--spot-primary) 75%, white);
}

.spot .lb-link-pill {
    border-radius: 999px;
}

.lb-link:hover,
.platform-link:hover {
    transform: translateY(-2px);
}

.lb-featured {
    min-height: 84px;
    background:
        linear-gradient(110deg, color-mix(in srgb, var(--spot-primary) 28%, transparent), color-mix(in srgb, var(--spot-accent) 18%, transparent)) !important;
    border: 1px solid color-mix(in srgb, var(--spot-primary) 45%, transparent) !important;
}

.lb-ico,
.lb-thumb {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.lb-label {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lb-sub {
    font-size: 12px;
    opacity: 0.72;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-go,
.lb-badge {
    opacity: 0.7;
    flex: 0 0 auto;
}

.lb-verified {
    color: #86efac;
}

.platform-link .platform-icon::before,
.lb-ico .platform-icon::before,
.lb-dock-item .platform-icon::before {
    margin-right: 0;
}

.spot .platform-icon::before,
.lb-dock-item .platform-icon::before {
    filter: brightness(0) invert(1);
}

.spot-share {
    margin-top: 16px;
    width: 100%;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--spot-ink) 70%, transparent);
    font-weight: 650;
    cursor: pointer;
}

.profile-brand {
    text-align: center;
    padding: 28px 16px 40px;
    font-size: 13px;
    opacity: 0.55;
}

.profile-brand a {
    color: inherit;
    font-weight: 750;
    text-decoration: none;
}

.music-fab,
.gate {
    position: fixed;
    z-index: 60;
}

.music-fab {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 12, 16, 0.85);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.music-fab.is-on {
    background: var(--rose-deep);
}

.gate {
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, 0.62);
    padding: 20px;
}

.gate.is-open {
    display: grid;
}

.gate-card {
    width: min(420px, 100%);
    padding: 22px;
    border-radius: 24px;
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.gate-card p {
    color: #a1a1aa;
}

.gate-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.preset-grid,
.style-picks {
    display: grid;
    gap: 8px;
}

.preset-grid {
    grid-template-columns: repeat(3, 1fr);
}

.preset-swatch,
.style-picks label {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: left;
    cursor: pointer;
}

.preset-swatch small {
    display: block;
    color: #a1a1aa;
}

.checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checks label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #e4e4e7;
    font-size: 14px;
}

.studio-preview-frame {
    width: 100%;
    height: min(78vh, 820px);
    border: 0;
    border-radius: 28px;
    background: #070709;
}

.icon-tiktok::before,
.icon-youtube::before,
.icon-discord::before,
.icon-telegram::before,
.icon-twitch::before,
.icon-snapchat::before {
    content: '';
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.icon-tiktok::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/tiktok.svg'); }
.icon-youtube::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/youtube.svg'); }
.icon-discord::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/discord.svg'); }
.icon-telegram::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/telegram.svg'); }
.icon-twitch::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/twitch.svg'); }
.icon-snapchat::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/snapchat.svg'); }

@media (max-width: 960px) {
    .studio-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.04);
        color: white;
    }

    .studio-aside {
        position: fixed;
        z-index: 50;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        width: min(84vw, 300px);
    }

    body.studio-nav-open .studio-aside {
        transform: none;
    }

    .studio-scrim {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 45;
    }

    body.studio-nav-open .studio-scrim {
        display: block;
    }

    .studio-hero,
    .tool-board,
    .stat-pills {
        grid-template-columns: 1fr;
    }

    .upsell {
        flex-direction: column;
        align-items: flex-start;
    }
}
