:root {
    --fn-bg: #fff7fb;
    --fn-bg-deep: #ffeef6;
    --fn-bg-highlight: #ffe2f2;
    --fn-surface: rgba(255, 255, 255, 0.9);
    --fn-surface-solid: #ffffff;
    --fn-ink: #2d1a28;
    --fn-ink-soft: #5c4155;
    --fn-ink-muted: #8a6a7b;
    --fn-magenta: #ff7fb3;
    --fn-cyan: #6bd7ff;
    --fn-accent: linear-gradient(120deg, #ff9bc8 0%, #ff6fae 45%, #ffc7dd 100%);
    --fn-pulse: #ff8fc1;
    --fn-border: rgba(45, 26, 40, 0.14);
    --fn-shadow-heavy: 0 30px 60px rgba(255, 105, 180, 0.22);
    --fn-shadow-soft: 0 16px 28px rgba(255, 143, 193, 0.18);
    --fn-radius-sm: 12px;
    --fn-radius-md: 20px;
    --fn-radius-lg: 32px;
    --fn-radius-pill: 999px;
    --fn-font-body: "Space Grotesk", "Inter", system-ui, sans-serif;
    --fn-font-display: "Fraunces", "Playfair Display", serif;
}

body.fennario {
    margin: 0;
    font-family: var(--fn-font-body);
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 159, 214, 0.35), transparent 43%),
        radial-gradient(circle at 80% 0%, rgba(255, 235, 244, 0.55), transparent 50%),
        linear-gradient(180deg, #fff9fc 0%, #fff2f8 70%, #ffe8f4 100%);
    color: var(--fn-ink);
    min-height: 100vh;
    position: relative;
}

body.fennario::before,
body.fennario::after {
    content: "";
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

body.fennario::before {
    top: -200px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 143, 193, 0.35), transparent 65%);
}

body.fennario::after {
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 213, 237, 0.45), transparent 60%);
}

.site-shell {
    position: relative;
    z-index: 1;
}

:root,
:root * {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(45, 26, 40, 0.08);
    backdrop-filter: blur(16px);
}

.topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    color: var(--fn-ink);
}

.brand-block {
    display: flex;
    gap: 14px;
    align-items: center;
}

.site-logo {
    font-family: var(--fn-font-display);
    font-size: 1.35rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-flex;
    gap: 0.4em;
}

.site-logo span {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    font-weight: 500;
    color: var(--fn-ink-soft);
}

.brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fn-ink-soft);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fn-ink-soft);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-bar {
    flex: 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--fn-radius-pill);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 26, 40, 0.12);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--fn-ink-soft);
    font-size: 0.95rem;
    font-family: var(--fn-font-body);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-actions button,
.topbar-actions a {
    border-radius: var(--fn-radius-pill);
    border: 1px solid transparent;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--fn-accent);
    color: #2d1a28;
    box-shadow: 0 12px 30px rgba(255, 143, 193, 0.35);
}

.btn-ghost {
    border-color: rgba(45, 26, 40, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: var(--fn-ink-soft);
}

.btn-outline {
    border-color: var(--fn-border);
    background: rgba(255, 255, 255, 0.8);
    color: var(--fn-ink-soft);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
}

.top-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 32px;
}

.top-highlight {
    margin-top: 8px;
    padding: 18px;
    border-radius: var(--fn-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 61, 232, 0.14), rgba(55, 246, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.top-pill {
    padding: 6px 16px;
    border-radius: var(--fn-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.2em;
    font-size: 0.7rem;
}

.app-shell {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 24px;
    padding: 0 32px 72px;
}

.top-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.primary-nav-bar {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.primary-nav,
.secondary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.primary-nav a,
.secondary-nav a {
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--fn-ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 15px 30px rgba(255, 159, 214, 0.18);
}

.primary-nav a.active,
.secondary-nav a.active {
    background: var(--fn-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(255, 127, 179, 0.25);
}

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

.app-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.site-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-section {
    position: relative;
    padding: 48px;
    border-radius: var(--fn-radius-lg);
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: linear-gradient(140deg, #fff4f9, #ffe9f4);
    box-shadow: var(--fn-shadow-heavy);
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 20%, rgba(255, 159, 214, 0.35), transparent 65%);
    opacity: 0.7;
}

.hero-badge {
    display: inline-flex;
    padding: 6px 20px;
    border-radius: 999px;
    border: 1px solid rgba(45, 26, 40, 0.18);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fn-ink-soft);
}

.hero-title {
    font-family: var(--fn-font-display);
    font-size: clamp(2.6rem, 3vw, 4rem);
    margin: 12px 0;
}

.hero-subtitle {
    color: var(--fn-ink-soft);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.hero-stat {
    padding: 18px;
    border-radius: var(--fn-radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(45, 26, 40, 0.12);
}

.hero-stat strong {
    display: block;
    font-size: 1.4rem;
    color: var(--fn-cyan);
}

.hero-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hero-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border 0.2s ease;
}

.hero-card:hover {
    border-color: var(--fn-cyan);
}

.hero-card img {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-fit: cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    padding: 36px;
    border-radius: var(--fn-radius-lg);
    background: linear-gradient(140deg, #fff3f9, #ffe8f3);
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-heavy);
}

.hero-grid h1 {
    font-family: var(--fn-font-display);
    font-size: clamp(2.4rem, 3vw, 3.8rem);
    margin: 12px 0;
}

.hero-grid .hero-subtitle {
    margin-bottom: 22px;
}

.hero-grid .hero-actions {
    margin: 18px 0;
}

.hero-pulse {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--fn-ink-soft);
}

.hero-pulse strong {
    font-size: 1.1rem;
    color: var(--fn-cyan);
}

.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radar-card {
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-soft);
}

.radar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radar-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(45, 26, 40, 0.08);
    padding-bottom: 10px;
}

.radar-card li:last-child {
    border-bottom: none;
}

.radar-heat {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--fn-radius-pill);
    border: 1px solid rgba(55, 246, 255, 0.4);
}

.radar-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.radar-stack-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: rgba(255, 255, 255, 0.96);
    align-items: center;
    text-align: center;
}

.radar-stack-card img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 140px;
}

.rail-card {
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fn-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rail-card .rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rail-card .rail-header span {
    font-weight: 600;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--fn-ink-muted);
}

.rail-card .rail-meta {
    font-size: 0.85rem;
    color: var(--fn-ink-soft);
}

.rail-user {
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 26, 40, 0.08);
}

.rail-user:last-child {
    border-bottom: none;
}

.rail-user img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--fn-shadow-soft);
}

.rail-user a {
    color: inherit;
}

.live-card {
    padding: 12px 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 127, 179, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-family: var(--fn-font-display);
    font-size: 1.9rem;
}

.section-subtitle {
    color: var(--fn-ink-soft);
    font-size: 0.95rem;
}

.pulse-callout {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: linear-gradient(135deg, rgba(255, 210, 232, 0.45), rgba(255, 238, 246, 0.9));
}

.pulse-callout h3 {
    margin-bottom: 12px;
    color: var(--fn-ink);
}

.pulse-callout p {
    margin-bottom: 6px;
    color: var(--fn-ink-soft);
}

.pulse-callout-meta {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fn-ink-muted);
}

.story-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 16px;
    border-radius: 26px;
    background: rgba(9, 9, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-pill,
.story-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-align: center;
}

.story-pill img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.featured-card {
    position: relative;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-soft);
    min-height: 360px;
    overflow: hidden;
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: inherit;
    background: radial-gradient(circle at 0 0, rgba(55, 246, 255, 0.2), transparent 55%);
    pointer-events: none;
}

.featured-card img {
    width: 100%;
    height: 240px;
    border-radius: 18px;
    object-fit: cover;
    filter: saturate(1.2) contrast(1.05);
    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.02);
}

.onlyfans-orbit .section-head,
.focus-strip .section-head {
    gap: 14px;
}

.section-card {
    padding: 32px;
    border-radius: var(--fn-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 250, 0.95));
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-heavy);
    margin-top: 32px;
}

.rail-card {
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: #ffffff;
}

.orbit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.orbit-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: #ffffff;
    box-shadow: var(--fn-shadow-soft);
}

.orbit-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.focus-track {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.focus-card {
    border-radius: 22px;
    border: 1px solid rgba(45, 26, 40, 0.12);
    background: #ffffff;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.focus-card img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
}

.trend-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.trend-card {
    padding: 22px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 320px;
}

.trend-card img {
    border-radius: 20px;
    height: 220px;
    object-fit: cover;
}

.trend-card .featured-name a {
    font-size: 1.2rem;
}
.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 32px;
    border-radius: var(--fn-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 249, 0.95));
    border: 1px solid rgba(45, 26, 40, 0.12);
    box-shadow: var(--fn-shadow-heavy);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feed-shell {
    border-radius: var(--fn-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--fn-shadow-soft);
    padding: 32px;
    margin-top: 32px;
}

.feed-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feed-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.feed-header .section-title {
    margin: 0;
}

.feed-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feed-tile {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--fn-border);
    box-shadow: 0 18px 50px rgba(255, 127, 179, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 380px;
}

.tile-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feed-tile:hover .tile-media img {
    transform: scale(1.05);
}

.tile-body {
    padding: 0 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creator-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--fn-shadow-soft);
}

.creator-identity strong {
    display: block;
    font-size: 1rem;
}

.creator-identity span {
    color: var(--fn-ink-muted);
    font-size: 0.85rem;
}

.creator-bio {
    color: var(--fn-ink-soft);
    line-height: 1.5;
    font-size: 0.95rem;
}

.creator-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.creator-actions .btn-primary,
.creator-actions .btn-ghost {
    flex: 1;
    min-width: 120px;
}

.chip {
    padding: 6px 14px;
    border-radius: var(--fn-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--fn-ink-soft);
    background: rgba(255, 255, 255, 0.03);
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.creator-card {
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(45, 26, 40, 0.12);
    overflow: hidden;
    box-shadow: var(--fn-shadow-soft);
    transition: transform 0.25s ease;
}

.creator-card:hover {
    transform: translateY(-6px);
}

.creator-cover {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

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

.creator-cover-meta {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.creator-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.creator-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid transparent;
}

.creator-identity span {
    color: var(--fn-ink-soft);
}

.creator-bio {
    color: var(--fn-ink-soft);
    line-height: 1.4;
}

.creator-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--fn-ink-soft);
}

.creator-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-rail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rail-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 26, 40, 0.12);
}

.rail-user:last-child {
    border-bottom: none;
}

.rail-user img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
}

.rail-meta {
    color: var(--fn-ink-soft);
    font-size: 0.8rem;
}

.live-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 61, 232, 0.08);
    border: 1px solid rgba(255, 61, 232, 0.35);
}

.site-footer {
    margin-top: 60px;
    padding: 48px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--fn-ink-soft);
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--fn-ink-soft);
}

.profile-page {
    padding: 60px 0;
}

.profile-hero {
    padding: 70px 0 40px;
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 224, 243, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 80px rgba(255, 127, 179, 0.18);
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 127, 179, 0.35), transparent 55%);
    opacity: 0.65;
}

.profile-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: saturate(1.2) brightness(0.85);
}

.profile-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.profile-avatar-wrap {
    position: relative;
    width: fit-content;
}

.profile-avatar-shadow {
    position: absolute;
    inset: 6px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(255, 127, 179, 0.4), transparent 65%);
    filter: blur(6px);
    opacity: 0.7;
    z-index: -1;
}

.profile-card {
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--fn-shadow-soft);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    backdrop-filter: blur(12px);
}

.profile-avatar {
    width: 220px;
    height: 220px;
    border-radius: 32px;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(255, 127, 179, 0.25);
}

.profile-meta h1 {
    font-family: var(--fn-font-display);
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    margin-bottom: 6px;
}

.profile-name-subline {
    margin-bottom: 6px;
}

.profile-handle {
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fn-ink-soft);
    font-size: 0.85rem;
}

.profile-bio {
    color: var(--fn-ink-soft);
    line-height: 1.6;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.profile-tag {
    padding: 6px 18px;
    border-radius: var(--fn-radius-pill);
    border: 1px solid var(--fn-border);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    color: var(--fn-ink-soft);
    box-shadow: var(--fn-shadow-soft);
}

.profile-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.profile-hero-tagline {
    margin: 0;
    font-size: 0.9rem;
    color: var(--fn-ink-soft);
}

.profile-hero-detail {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-hero-detail span {
    padding: 6px 14px;
    border-radius: var(--fn-radius-pill);
    border: 1px solid var(--fn-border);
    font-size: 0.8rem;
    color: var(--fn-ink-soft);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--fn-shadow-soft);
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.profile-actions .btn-primary {
    background: var(--fn-accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 127, 179, 0.35);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.profile-stats .stat-item {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    box-shadow: var(--fn-shadow-soft);
}

.profile-stats strong {
    display: block;
    font-size: 1.4rem;
    color: var(--fn-magenta);
}

.social-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    margin-top: 40px;
}

.profile-feed {
    margin-top: 32px;
}

.profile-feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
}

.feed-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
}

.profile-summary-card {
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
}

.summary-cover {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    filter: saturate(1.2) brightness(0.85);
}

.summary-body {
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fn-border);
    border-top: none;
    box-shadow: 0 20px 45px rgba(255, 127, 179, 0.12);
}

.summary-body h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.summary-handle {
    color: var(--fn-ink-muted);
    margin: 0 0 12px;
}

.summary-meta {
    font-size: 0.85rem;
    color: var(--fn-ink-soft);
    margin-bottom: 10px;
}

.summary-description {
    color: var(--fn-ink-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}

.summary-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.summary-stats li {
    flex: 1;
    min-width: 110px;
    padding: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 188, 208, 0.5);
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    box-shadow: var(--fn-shadow-soft);
}

.summary-stats span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fn-ink-muted);
    margin-bottom: 4px;
}

.profile-seo-content {
    margin-top: 40px;
}

.profile-feed-layout .person-card,
.profile-feed-layout .post-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fn-border);
}

.profile-feed-stream {
    display: grid;
    gap: 18px;
}

.content-section .btn-load-more {
    margin-top: 24px;
}

.profile-summary-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--fn-shadow-soft);
}

.profile-photo-labels {
    padding: 24px 0;
}

.photo-labels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.photo-label {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fn-ink-soft);
    box-shadow: 0 10px 30px rgba(255, 127, 179, 0.15);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.seo-grid article {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--fn-border);
    box-shadow: var(--fn-shadow-soft);
}

.seo-grid h2 {
    color: var(--fn-cyan);
}

.editorial-modal {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
}

.editorial-modal.show {
    display: flex;
}

.editorial-modal-content {
    width: min(420px, 100%);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 28px;
    position: relative;
    box-shadow: 0 30px 70px rgba(255, 127, 179, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.modal-title {
    margin: 0;
    font-family: var(--fn-font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--fn-ink-soft);
    margin: -6px 0 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 12px 30px rgba(255, 127, 179, 0.25);
}

.modal-close:hover {
    transform: scale(1.05);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fn-ink-soft);
}

.form-input {
    border: 1px solid rgba(45, 26, 40, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--fn-magenta);
    box-shadow: 0 0 0 3px rgba(255, 143, 193, 0.3);
}

.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: var(--fn-ink-muted);
}

.auth-switch-link {
    color: var(--fn-magenta);
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.auth-switch-link:hover {
    opacity: 0.75;
}

.profile-feed-stream {
    display: grid;
    gap: 20px;
}

.profile-feed-stream .feed-post {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--fn-border);
    box-shadow: 0 20px 45px rgba(255, 143, 193, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-feed-stream .post-header {
    padding: 16px 18px;
    gap: 12px;
    border-bottom: 1px solid rgba(45, 26, 40, 0.08);
    display: flex;
    align-items: center;
}

.profile-feed-stream .post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--fn-shadow-soft);
}

.post-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-username {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    font-size: 0.8rem;
    color: var(--fn-magenta);
}

.post-meta {
    font-size: 0.8rem;
    color: var(--fn-ink-muted);
}

.post-media {
    position: relative;
    padding-top: 125%;
    overflow: hidden;
}

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

.post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.post-media:hover .post-overlay {
    opacity: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.post-tag {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid rgba(45, 26, 40, 0.08);
}

.action-btn {
    background: none;
    border: none;
    color: var(--fn-ink-soft);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.post-footer {
    padding: 16px 18px 20px;
    border-top: 1px solid rgba(45, 26, 40, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-caption {
    color: var(--fn-ink-soft);
    line-height: 1.6;
}

.view-profile-btn {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--fn-border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--fn-ink);
    font-weight: 600;
    box-shadow: var(--fn-shadow-soft);
    transition: background 0.2s ease, transform 0.2s ease;
}

.view-profile-btn:hover {
    background: var(--fn-bg-highlight);
    transform: translateY(-2px);
}

.site-shell svg {
    color: inherit;
}

.rail-links a {
    color: var(--fn-cyan);
}

.btn-sm {
    padding: 8px 16px;
}

.stagger > * {
    animation: pulseRise 0.7s ease both;
}

.stagger > *:nth-child(2) {
    animation-delay: 0.05s;
}

.stagger > *:nth-child(3) {
    animation-delay: 0.12s;
}

.stagger > *:nth-child(4) {
    animation-delay: 0.18s;
}

@keyframes pulseRise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

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

    .social-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .topbar-inner {
        flex-direction: column;
        border-radius: 28px;
    }

    .search-bar {
        width: 100%;
    }

    .side-nav {
        position: static;
        top: auto;
    }
}
