﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg: #000;
    --fg: #fff;
    --muted: #a1a1aa;
    --border: #27272a;
    --accent: #3b82f6;
    --card: #1c1c1c;
    --secondary: #27272a;
    --red: #ef4444;
    --green: #31d161;
    --pink: #f545f3;
    --purple: #7638fb;
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --navH: 52px
}

html {
    font-size: 16px
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

#root {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh
}

.app {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, .05);
    border-right: 1px solid rgba(255, 255, 255, .05);
    overflow: hidden;
    padding-top: var(--sat);
    padding-bottom: calc(var(--navH) + var(--sab));
    box-sizing: border-box
}

.hidden {
    display: none !important
}

input,
textarea {
    font-family: inherit;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    width: 100%
}

input:focus,
textarea:focus {
    border-color: rgba(59, 130, 246, .4)
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--fg)
}

.scrollable {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 0;
    scrollbar-width: none
}

.scrollable::-webkit-scrollbar {
    display: none
}

img {
    display: block
}

/* Auth Screen */
.auth-screen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(24px + var(--sat)) 24px 24px
}

.auth-box {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px
}

.auth-icon {
    width: 96px;
    height: 96px;
    border-radius: 32px;
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .2);
    display: flex;
    align-items: center;
    justify-content: center
}

.auth-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent)
}

.auth-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-align: center
}

.auth-input {
    height: 64px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase
}

.auth-input:focus {
    border-color: rgba(59, 130, 246, .4)
}

.auth-btn {
    width: 100%;
    height: 64px;
    background: #fff;
    color: #000;
    border-radius: 16px;
    font-weight: 900;
    font-size: 20px;
    transition: transform .1s
}

.auth-btn:active {
    transform: scale(.95)
}

.auth-error {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center
}

.auth-purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    background: rgba(59, 130, 246, .1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, .2);
    border-radius: 16px;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform .1s
}

.auth-purchase:active {
    transform: scale(.95)
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    height: 56px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 50
}

.header-username {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-username svg {
    width: 14px;
    height: 14px
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px
}

.threads-icon {
    width: 22px;
    height: 22px;
    filter: invert(1)
}

.menu-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5
}

.menu-dropdown {
    position: absolute;
    right: 16px;
    top: 56px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    min-width: 176px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5)
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    transition: background .15s
}

.menu-item:hover {
    background: rgba(255, 255, 255, .05)
}

.menu-item.logout {
    color: var(--red)
}

/* Profile */
.profile-section {
    padding: 8px 16px 4px
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 22px
}

.profile-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

.profile-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profile-name-input {
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0
}

.avatar-wrap {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    flex-shrink: 0
}

.avatar-wrap img,
#profileAvatarImg {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center
}

.stat-num {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    font-weight: 400;
    text-transform: lowercase;
    margin-top: -1px
}

.bio-section {
    margin-top: 8px
}

.display-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2
}

.bio-text {
    font-size: 13px;
    line-height: 1.25;
    white-space: pre-wrap;
    margin-top: 2px
}

.bio-text .tag {
    color: var(--accent);
    font-weight: 500
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px
}

.profile-link img {
    width: 18px;
    height: 18px;
    filter: invert(67%) sepia(35%) saturate(771%) hue-rotate(189deg) brightness(100%) contrast(89%)
}

.profile-link span {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent)
}

.action-btns {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin: 8px 0 10px
}

.action-btns button {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    min-width: 0
}

.action-btns button:active {
    transform: scale(.98);
    background: rgba(255, 255, 255, .12)
}

.dash-card {
    margin: 0 16px 8px;
    background: rgba(255, 255, 255, .075);
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .06);
    cursor: pointer
}

.dash-card h3 {
    font-size: 15px;
    font-weight: 700
}

.dash-views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px
}

.dash-views svg {
    width: 12px;
    height: 12px;
    color: var(--green);
    stroke-width: 3
}

.dash-views span {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    font-weight: 500
}

.grid-tabs {
    display: flex;
    height: 44px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 40
}

.grid-tab {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: .4;
    cursor: pointer;
    transition: opacity .2s
}

.grid-tab.active {
    opacity: 1
}

.grid-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--fg)
}

.grid-tab img {
    width: 20px;
    height: 20px;
    filter: invert(1)
}

.grid-tab svg {
    width: 18px;
    height: 18px;
    fill: var(--fg)
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 0;
    background: transparent
}

.post-grid.post-grid--nogap {
    gap: 0;
    background: transparent
}

.grid-item {
    aspect-ratio: 1/1;
    position: relative;
    background: var(--secondary);
    cursor: pointer;
    overflow: hidden
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.grid-overlay {
    position: absolute;
    bottom: 6px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px
}

.grid-overlay img {
    width: 14px;
    height: 14px;
    filter: invert(1)
}

.grid-overlay span {
    font-size: 11px;
    font-weight: 700;
    color: #fff
}

.grid-play {
    position: absolute;
    top: 6px;
    right: 6px
}

.grid-play img {
    width: 15px;
    height: 15px;
    filter: invert(1)
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--navH) + var(--sab));
    padding-bottom: var(--sab);
    background: rgba(0, 0, 0, .95);
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50
}

.nav-btn {
    padding: 6px;
    transition: transform .1s;
    position: relative
}

.nav-btn:active {
    transform: scale(.9)
}

.nav-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: invert(1)
}

#bottomNavAvatarImg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover !important;
    filter: none !important
}

.nav-btn .nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover
}

.nav-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #fe0135;
    border-radius: 50%;
    border: 1.5px solid var(--bg)
}

/* Sub-pages */
.sub-page {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--sat);
    bottom: 0;
    background: var(--bg);
    z-index: 60;
    display: flex;
    flex-direction: column
}

.sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    height: 52px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0
}

.sub-header h1 {
    font-size: 16px;
    font-weight: 700
}

.back-btn {
    padding: 4px
}

.back-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5
}

/* Edit Profile Page */
.edit-profile-page {
    background: var(--bg)
}

.ep-header {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 80;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.ep-back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center
}

.ep-back svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5
}

.ep-title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 700
}

.ep-spacer {
    width: 32px
}

.ep-body {
    padding: 0 16px 24px
}

.ep-avatar-wrap {
    padding: 18px 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px
}

.ep-avatar-row {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center
}

.ep-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, .06)
}

.ep-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ep-avatar-upload {
    position: absolute;
    inset: 0;
    cursor: pointer
}

.ep-avatar--ghost {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06)
}

.ep-ghost-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.ep-avatar-label {
    color: rgba(96, 165, 250, 1);
    font-size: 14px;
    font-weight: 600
}

.ep-form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.ep-field {
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 16px;
    padding: 12px 14px
}

.ep-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 4px
}

.ep-input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    color: var(--fg);
    outline: none
}

.ep-textarea {
    min-height: 64px;
    resize: none
}

.ep-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 0
}

.ep-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.ep-row:last-child {
    border-bottom: 0
}

.ep-row-left {
    color: rgba(255, 255, 255, .92);
    font-weight: 500
}

.ep-row-right {
    display: flex;
    align-items: center;
    gap: 10px
}

.ep-row-muted {
    color: rgba(255, 255, 255, .45);
    font-size: 14px;
    font-weight: 500
}

.ep-row-chevron svg {
    width: 18px;
    height: 18px;
    opacity: .6
}

.ep-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 10px 0
}

.ep-section-title {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75)
}

.ep-toggle {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    position: relative;
    border: 1px solid rgba(255, 255, 255, .12)
}

.ep-toggle.on {
    background: rgba(255, 255, 255, .85)
}

.ep-toggle-knob {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    background: #0b0b0b;
    transition: left .15s ease
}

.ep-toggle.on .ep-toggle-knob {
    left: 23px
}

.ep-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px
}

.ep-link {
    color: rgba(96, 165, 250, 1);
    font-weight: 600;
    font-size: 15px
}

/* Professional Dashboard */
.dash-page .section {
    padding: 0 16px;
    margin-top: 16px
}

.dash-page .section h2 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px
}

.insight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    cursor: pointer
}

.insight-row .label {
    font-size: 14px;
    font-weight: 500
}

.insight-row .value-wrap {
    display: flex;
    align-items: center;
    gap: 6px
}

.insight-row .trend-icon {
    width: 16px;
    height: 16px;
    color: var(--green);
    stroke-width: 2.5
}

.insight-row .value {
    font-size: 14px;
    font-weight: 500
}

.insight-row .chevron {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, .2)
}

.tools-list {
    margin-top: 16px
}

.tool-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    cursor: pointer
}

.tool-row .tool-icon {
    flex-shrink: 0;
    color: var(--fg)
}

.tool-row .tool-icon svg {
    width: 20px;
    height: 20px
}

.tool-row .tool-info {
    flex: 1;
    min-width: 0
}

.tool-row .tool-title {
    font-size: 14px;
    font-weight: 500
}

.tool-row .tool-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.2
}

.tool-row .badge-new {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px
}

.plan-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px
}

.plan-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis
}

.plan-pill:active {
    transform: scale(.98);
    opacity: .9
}

/* Post View */
.post-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.post-view .scrollable {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden
}

.post-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    height: 44px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0
}

.post-view-header .center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    margin-left: 10px
}

.post-view-header .center .title {
    font-size: 16px;
    font-weight: 700
}

.post-view-header .center .sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 1px
}

.post-media {
    position: relative;
    width: 100%;
    background: #111;
    overflow: hidden;
    flex: 1;
    min-height: 0
}

.post-media.is-reel {
    flex: 1
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.post-media video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.post-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent);
    z-index: 2
}

.post-overlay-right {
    display: flex;
    align-items: center;
    gap: 8px
}

.post-brand {
    font-size: 18px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: .5px;
    opacity: .85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6)
}

.post-brand .ai {
    background: #c9f24a;
    color: #000;
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 6px;
    margin-left: 4px
}

.post-more {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25)
}

.post-overlay-top .user-info {
    display: flex;
    align-items: center;
    gap: 10px
}

.post-overlay-top .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2)
}

.post-overlay-top .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.post-overlay-top .user-name {
    font-size: 13px;
    font-weight: 700
}

.post-overlay-top .audio-info {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: .9
}

.post-overlay-top .audio-info svg {
    width: 12px;
    height: 12px
}

.post-overlay-top .audio-info span {
    font-size: 11px;
    font-weight: 500
}

.post-insights-bar {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border)
}

.view-insights-link {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.view-insights-link img {
    width: 16px;
    height: 16px;
    filter: invert(1)
}

.view-insights-link span {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9)
}

.boost-btn {
    background: #4f46e5;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    height: 32px;
    padding: 0 20px;
    border-radius: 8px;
    transition: transform .1s
}

.boost-btn:active {
    transform: scale(.95)
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px
}

.actions-left {
    display: flex;
    align-items: center;
    gap: 20px
}

.action-item {
    display: flex;
    align-items: center;
    gap: 6px
}

.action-item img {
    width: 24px;
    height: 24px;
    filter: invert(1)
}

.action-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2
}

.action-item span {
    font-size: 13px;
    font-weight: 700
}

/* Reel View */
.reel-view {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column
}

.reel-bg {
    position: absolute;
    inset: 0;
    background: #111;
    z-index: 0;
    overflow: hidden
}

.reel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.reel-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.reel-top-bar {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    padding: 16px;
    padding-bottom: 4px
}

.reel-side-actions {
    position: absolute;
    right: 12px;
    bottom: 155px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px
}

.reel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.reel-action button {
    padding: 2px
}

.reel-action button:active {
    transform: scale(.9)
}

.reel-action img {
    width: 26px;
    height: 26px;
    filter: invert(1)
}

.reel-action span {
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5)
}

.reel-bottom {
    position: absolute;
    bottom: var(--sab);
    left: 0;
    right: 0;
    z-index: 20
}

.reel-bottom-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .4), transparent);
    padding-top: 32px
}

.reel-user-info {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.reel-user-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.reel-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, .2)
}

.reel-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.reel-username {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5)
}

.reel-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    max-width: 85%
}

.reel-insights-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 16px 16px
}

.reel-insight-link {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.reel-insight-link:active {
    opacity: .6
}

.reel-insight-link img {
    width: 16px;
    height: 16px;
    filter: invert(1)
}

.reel-insight-link span {
    font-size: 12px;
    font-weight: 700
}

.reel-comment-bar {
    background: var(--bg);
    padding: 0 16px 20px
}

.reel-comment-bar::before {
    content: '';
    display: block;
    height: .5px;
    background: var(--border);
    margin-bottom: 10px
}

.reel-comment-input {
    background: var(--secondary);
    border-radius: 999px;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--border)
}

.reel-comment-input span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500
}

/* Reel Insights Page */
.reel-insights {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.insights-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none
}

.insights-scroll::-webkit-scrollbar {
    display: none
}

.insights-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0 32px
}

.insights-thumb {
    width: 120px;
    aspect-ratio: 9/16;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3)
}

.insights-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.insights-caption {
    margin-top: 20px;
    text-align: center;
    padding: 0 24px
}

.insights-caption h2 {
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.insights-caption p {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px
}

.insights-stats {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border)
}

.insight-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px
}

.insight-stat img {
    width: 20px;
    height: 20px;
    filter: invert(1)
}

.insight-stat span {
    font-size: 11px;
    font-weight: 500
}

.section-divider {
    height: 6px;
    background: #23262b;
    width: 100%;
    flex-shrink: 0
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px
}

.section-title h3 {
    font-size: 16px;
    font-weight: 700
}

.section-title svg {
    width: 14px;
    height: 14px;
    color: var(--muted)
}

.overview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    margin-bottom: 16px
}

.overview-row .label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .9)
}

.overview-row .val {
    font-size: 13px;
    font-weight: 700
}

/* Donut Chart */
.donut-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 32px
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1
}

.donut-center .small-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--muted)
}

.donut-center .big-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px
}

.legend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    padding: 0
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0
}

.legend-label {
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
    flex: 1
}

.legend-right {
    min-width: 64px;
    display: flex;
    justify-content: flex-end;
    text-align: right
}

.legend-value {
    font-size: 13px;
    font-weight: 700
}

/* Source bar */
.source-row {
    margin-bottom: 4px
}

.source-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 2px
}

.source-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px
}

.source-bar {
    height: 8px;
    flex: 1;
    background: var(--secondary);
    border-radius: 999px;
    overflow: hidden
}

.source-bar-fill {
    height: 100%;
    background: var(--pink);
    border-radius: 999px;
    transition: width .3s
}

.source-percent {
    font-size: 13px;
    font-weight: 700;
    min-width: 40px;
    text-align: right
}

/* Banned page */
.banned-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.banned-card {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .05)
}

.banned-alert {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 16px
}

.banned-alert svg {
    width: 24px;
    height: 24px;
    color: var(--red);
    flex-shrink: 0
}

.banned-alert h2 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--red)
}

.banned-alert p {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.3
}

/* Info page */
.info-page .info-content {
    padding: 24px
}

.info-card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 32px
}

.info-card p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4
}

.info-card .accent {
    color: var(--accent);
    font-weight: 700
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: rgba(0, 0, 0, .4);
    border-radius: 12px;
    margin-top: 12px;
    text-decoration: none;
    color: var(--fg)
}

.contact-link:hover {
    background: rgba(0, 0, 0, .6)
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.contact-left svg {
    width: 20px;
    height: 20px
}

.contact-left span {
    font-size: 15px;
    font-weight: 700
}

.contact-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px
}

/* Views insight */
.views-page .filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 8px
}

.filter-pill {
    background: var(--secondary);
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700
}

.filter-pill:active {
    transform: scale(.95)
}

.filter-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted)
}

/* Audience cards */
.audience-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none
}

.audience-cards::-webkit-scrollbar {
    display: none
}

.audience-card {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 12px
}

.audience-card h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px
}

.audience-item {
    margin-bottom: 6px
}

.audience-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .9)
}

.audience-bar-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.audience-bar {
    height: 8px;
    flex: 1;
    background: var(--secondary);
    border-radius: 999px;
    overflow: hidden
}

.audience-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width .5s
}

.audience-val {
    font-size: 11px;
    font-weight: 700;
    min-width: 36px;
    text-align: right
}

/* Refresh animation */
@keyframes refresh-spin {
    0% {
        opacity: .3
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .3
    }
}

.refresh-spoke {
    animation: refresh-spin 1s ease-in-out infinite
}

/* Font families */
.font-inter {
    font-family: 'Inter', sans-serif
}

.font-classic {
    font-family: 'Playfair Display', serif
}

.font-modern {
    font-family: 'Montserrat', sans-serif
}

.font-typewriter {
    font-family: 'Courier Prime', monospace
}

.font-strong {
    font-family: 'Inter', sans-serif;
    font-weight: 900
}

/* Scrollbar hide utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none
}

.scrollbar-hide {
    scrollbar-width: none
}