/* OnlyScope – Creator-Feed (OnlyFans-inspiriert, eigener Stil) */

:root {
    --os-purple: #7456F1;
    --os-purple-light: #9b87f5;
    --os-purple-dark: #5538d4;
    --os-purple-glow: rgba(116, 86, 241, 0.35);
    --os-magenta: #c44fd4;
    --os-bg: #0c0c10;
    --os-bg-elevated: #14141c;
    --os-surface: #1a1a24;
    --os-surface-hover: #22222e;
    --os-border: rgba(255, 255, 255, 0.08);
    --os-border-strong: rgba(255, 255, 255, 0.14);
    --os-text: #ececf1;
    --os-text-muted: #8b8b9a;
    --os-text-faint: #5c5c6a;
    --os-radius: 6px;
    --os-radius-sm: 4px;
    --os-radius-pill: 6px;
    --os-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    --os-feed-width: 780px;
    --os-gallery-width: 1100px;
    --header-height: 56px;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--os-text);
    background: var(--os-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(116, 86, 241, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 79, 212, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--os-purple-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: #fff; }

.site-main { position: relative; z-index: 1; min-height: calc(100vh - var(--header-height) - 48px); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(12, 12, 16, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--os-border);
}

.header-inner {
    max-width: var(--os-gallery-width);
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-brand {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.site-name {
    font-weight: 700;
    font-size: 1.0625rem;
    background: linear-gradient(135deg, #fff 0%, var(--os-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-tagline { display: none; }

.main-nav {
    display: flex;
    gap: 0.125rem;
    margin-left: 1.5rem;
}

.main-nav-link {
    padding: 0.4375rem 0.875rem;
    border-radius: var(--os-radius-pill);
    color: var(--os-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.main-nav-link:hover { color: var(--os-text); background: var(--os-surface); }
.main-nav-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--os-purple) 0%, var(--os-magenta) 100%);
    box-shadow: 0 2px 12px var(--os-purple-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.header-login-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.header-login-input {
    width: 9.5rem;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--os-border-strong);
    border-radius: var(--os-radius-sm);
    background: var(--os-bg-elevated);
    color: var(--os-text);
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.2;
    transition: border-color 0.15s, box-shadow 0.15s;
    min-width: 0;
}

.header-login-input::placeholder { color: var(--os-text-faint); }

.header-login-input:focus {
    outline: none;
    border-color: var(--os-purple);
    box-shadow: 0 0 0 2px var(--os-purple-glow);
}

.header-login-form .btn-sm {
    height: 36px;
    padding-inline: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-user--static {
    cursor: default;
    border: none;
    background: transparent;
    padding: 0;
    gap: 0.625rem;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    padding: 0.25rem 0.625rem 0.25rem 0.25rem;
    border-radius: var(--os-radius-pill);
    border: 1px solid var(--os-border);
    background: var(--os-surface);
    transition: border-color 0.15s;
}

.header-user:hover { border-color: var(--os-purple); color: inherit; }

.header-user-name { font-size: 0.8125rem; font-weight: 600; }

.header-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--os-text-muted);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.header-icon-btn:hover { background: var(--os-surface); color: var(--os-purple-light); }

.mobile-menu-toggle {
    display: none;
    background: var(--os-surface);
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius-sm);
    font-size: 1rem;
    color: var(--os-text);
    cursor: pointer;
    padding: 0.5rem 0.625rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--os-bg-elevated);
    border-bottom: 1px solid var(--os-border);
    padding: 0.75rem;
    z-index: 199;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--os-text);
    border-radius: var(--os-radius-sm);
    font-weight: 500;
}

.mobile-nav-link:hover { background: var(--os-surface); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 198;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ── Avatars ─────────────────────────────────────────── */
.avatar,
.header-avatar, .activity-avatar, .profile-mini-avatar, .member-avatar,
.profile-avatar, .feed-post__avatar, .feed-composer__avatar, .creator-hero__avatar,
.gallery-item__avatar {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--os-purple), var(--os-magenta));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1;
}

.feed-post__avatar { font-size: 0.875rem; }
.feed-composer__avatar { font-size: 0.8125rem; }
.header-avatar { font-size: 0.6875rem; }
.creator-hero__avatar { font-size: 1.75rem; border: 4px solid var(--os-bg-elevated); }
.member-avatar { font-size: 1.125rem; margin: 0 auto 0.875rem; }
.gallery-item__avatar { font-size: 0.625rem; }

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.avatar--svg .avatar-img {
    object-fit: cover;
}

.header-user .header-avatar {
    border: 2px solid var(--os-border-strong);
}

/* ── Cards ─────────────────────────────────────────── */
.card {
    background: var(--os-surface);
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius);
    overflow: hidden;
}

.card-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.625rem; color: var(--os-text); }
.card-text, .card-text-muted, .card-intro { font-size: 0.875rem; color: var(--os-text-muted); }
.card-text-muted { margin-top: 0.5rem; color: var(--os-text-faint); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--os-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: transform 0.12s, box-shadow 0.15s, opacity 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--os-purple) 0%, var(--os-magenta) 100%);
    color: #fff;
    box-shadow: 0 4px 16px var(--os-purple-glow);
}

.btn-primary:hover { color: #fff; box-shadow: 0 6px 24px var(--os-purple-glow); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--os-border-strong);
    color: var(--os-text);
}

.btn-outline:hover { border-color: var(--os-purple-light); color: var(--os-purple-light); }

.btn-ghost { background: transparent; color: var(--os-text-muted); }
.btn-sm { padding: 0.4375rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ── Forms ─────────────────────────────────────────── */
.form-field { margin-bottom: 0.875rem; }
.form-field label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--os-text-muted); }

.form-field input, .form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--os-border-strong);
    border-radius: var(--os-radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    background: var(--os-bg-elevated);
    color: var(--os-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input::placeholder, .form-field textarea::placeholder { color: var(--os-text-faint); }

.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--os-purple);
    box-shadow: 0 0 0 3px var(--os-purple-glow);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--os-text-muted);
    margin-bottom: 1rem;
}

.login-links { margin-top: 1rem; font-size: 0.875rem; text-align: center; color: var(--os-text-muted); }

.alert { padding: 0.75rem 1rem; border-radius: var(--os-radius-sm); margin-bottom: 1rem; font-size: 0.875rem; }
.alert-error { background: rgba(229, 57, 53, 0.15); color: #ff8a80; border: 1px solid rgba(229, 57, 53, 0.3); }

/* ── Feed Layout ───────────────────────────────────── */
.content-home { padding: 1.25rem 1rem 3rem; }

.feed-layout {
    max-width: var(--os-feed-width);
    margin: 0 auto;
}

.feed-alert { max-width: var(--os-feed-width); margin: 0 auto 1rem; }

.feed-composer {
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.feed-composer__row {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.feed-composer__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-composer__form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--os-border-strong);
    border-radius: var(--os-radius-sm);
    background: var(--os-bg-elevated);
    color: var(--os-text);
    font-family: inherit;
    font-size: 0.9375rem;
    resize: none;
    min-height: 52px;
}

.feed-composer__form textarea:focus {
    outline: none;
    border-color: var(--os-purple);
}

.feed-composer__form .btn { align-self: flex-end; }

.feed-guest-cta {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.feed-guest-cta p {
    color: var(--os-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.feed-guest-cta__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Feed Posts ────────────────────────────────────── */
.feed-post {
    margin-bottom: 0;
}

.feed-post--media { padding-bottom: 0; }

.feed-post__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
}

.feed-post__meta { min-width: 0; }

.feed-post__author {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.feed-post__date {
    font-size: 0.75rem;
    color: var(--os-text-faint);
}

/* ── Media (gross, im Fokus) ─────────────────────── */
.feed-post__media,
.activity-images {
    display: grid;
    gap: 3px;
    background: #000;
}

.activity-images--1 {
    grid-template-columns: 1fr;
}

.activity-images--1 .activity-image {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    background: #0a0a0e;
}

.activity-images--2 {
    grid-template-columns: 1fr 1fr;
}

.activity-images--2 .activity-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.activity-images--3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.activity-images--3 .activity-image-wrap:first-child {
    grid-row: span 2;
}

.activity-images--3 .activity-image,
.activity-images--4 .activity-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.activity-images--4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.activity-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: #0a0a0e;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    text-align: left;
}

.activity-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.activity-image-link:hover::after { opacity: 1; }

.activity-image-link:hover .activity-image { transform: scale(1.02); }

.activity-image { transition: transform 0.35s ease; }

/* ── Satire-Verkaufspost (3 Bilder) ──────────────── */
.feed-post__media--sale .activity-image-wrap {
    position: relative;
}

.sale-image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    background: rgba(12, 12, 16, 0.75);
    border: 1px solid var(--os-border-strong);
    color: var(--os-purple-light);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--os-radius-sm);
    pointer-events: none;
}

.sale-offer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--os-bg-elevated);
    border-top: 1px solid var(--os-border);
    text-align: center;
}

.sale-offer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.sale-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, var(--os-purple), var(--os-magenta));
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--os-radius-sm);
}

.sale-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    max-width: 320px;
    line-height: 1.35;
}

.sale-price {
    font-size: 1.625rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.sale-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--os-text-muted);
}

.sale-btn {
    cursor: not-allowed;
    opacity: 0.9;
    margin-top: 0.125rem;
}

.sale-disclaimer {
    font-size: 0.6875rem;
    color: var(--os-text-faint);
    font-style: italic;
}

.feed-post--sale .feed-post__caption {
    border-top: 1px dashed var(--os-border-strong);
    margin-top: 0;
    padding-top: 0.875rem;
}

.feed-post__caption {
    padding: 0.875rem 1rem 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--os-text);
}

.feed-post__caption-author {
    font-weight: 700;
    margin-right: 0.375rem;
    color: #fff;
}

.feed-post__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem 0.875rem;
}

.feed-action {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--os-text-muted);
    font-size: 1.125rem;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, background 0.15s;
}

.feed-action:hover:not(:disabled) { color: var(--os-purple-light); background: rgba(116, 86, 241, 0.12); }
.feed-action:disabled { opacity: 0.45; cursor: default; }
.feed-action--share { margin-left: auto; font-size: 1rem; }

/* ── Creator Profile ───────────────────────────────── */
.content-profile,
.content-narrow,
.content-gallery {
    max-width: var(--os-gallery-width);
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

.creator-hero { margin-bottom: 1.25rem; }

.creator-hero__cover {
    height: 200px;
    background: linear-gradient(135deg, var(--os-purple-dark) 0%, var(--os-magenta) 60%, #1a1a24 100%);
    background-size: cover;
    background-position: center;
}

.creator-hero__body {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
    margin-top: -48px;
}

.creator-hero__avatar-wrap { flex-shrink: 0; }

.creator-hero__info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.125rem;
}

.creator-hero__handle {
    font-size: 0.875rem;
    color: var(--os-text-muted);
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    border-radius: var(--os-radius);
    overflow: hidden;
    background: #000;
}

.gallery-item__link,
.creator-grid__item {
    display: block;
    overflow: hidden;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    text-align: left;
    background: var(--os-surface);
    position: relative;
    aspect-ratio: 1;
    text-decoration: none;
}

.gallery-item__link img,
.gallery-item__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item__link:hover img,
.gallery-item__link:hover .gallery-item__img { transform: scale(1.04); }

.creator-grid__item img,
.creator-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.creator-grid__item:hover img,
.creator-grid__item:hover .creator-grid__img { transform: scale(1.06); }

.creator-grid__item--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--os-text-muted);
    text-decoration: none;
}

.creator-grid__item--text:hover { color: var(--os-text); background: var(--os-surface-hover); }

/* ── Gallery ───────────────────────────────────────── */
.gallery-header {
    margin-bottom: 1.5rem;
}

.gallery-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.gallery-lead { color: var(--os-text-muted); font-size: 0.9375rem; }

.gallery-masonry {
    columns: 2;
    column-gap: 12px;
}

@media (min-width: 640px) { .gallery-masonry { columns: 3; } }
@media (min-width: 960px) { .gallery-masonry { columns: 4; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: var(--os-radius-sm);
    overflow: hidden;
    background: var(--os-surface);
    border: 1px solid var(--os-border);
}

.gallery-item__caption {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--os-text-muted);
}

/* ── Members ───────────────────────────────────────── */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.member-card {
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color 0.15s, transform 0.15s;
}

.member-card:hover {
    border-color: var(--os-purple);
    transform: translateY(-2px);
}

.member-name { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.125rem; }
.member-username { font-size: 0.75rem; color: var(--os-text-faint); }

.content-narrow h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

/* ── Auth ──────────────────────────────────────────── */
.auth-card { padding: 2rem; max-width: 420px; margin: 0 auto; }
.auth-card h1 { margin-bottom: 0.5rem; font-size: 1.5rem; font-weight: 700; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.page-body { padding: 1.5rem; line-height: 1.7; }
.page-body p { margin-bottom: 1rem; color: var(--os-text-muted); }

.empty-state {
    text-align: center;
    color: var(--os-text-muted);
    padding: 3rem 1.5rem;
}

.empty-state i { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; color: var(--os-text-faint); }

/* ── Lightbox ──────────────────────────────────────── */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.lightbox-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 901;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(96vw, 1400px);
    max-height: calc(100vh - 80px);
    flex: 1;
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--os-radius-sm);
    box-shadow: var(--os-shadow);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 1px solid var(--os-border-strong);
    border-radius: var(--os-radius-sm);
    background: rgba(26, 26, 36, 0.9);
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close:hover { background: var(--os-surface-hover); }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--os-border-strong);
    border-radius: var(--os-radius-sm);
    background: rgba(26, 26, 36, 0.9);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__nav:hover { background: var(--os-surface-hover); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--os-text-muted);
}

body.lightbox-open { overflow: hidden; }

.profile-post-list { list-style: none; padding: 1rem 1.25rem; }
.profile-post-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--os-border); }
.profile-post-list li:last-child { border-bottom: none; }
.profile-post-date { display: block; font-size: 0.75rem; color: var(--os-text-faint); margin-top: 0.25rem; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--os-border);
    padding: 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--os-text-faint);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--header-height);
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
        row-gap: 0.625rem;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    .header-login-form {
        width: 100%;
    }

    .header-login-input {
        flex: 1 1 0;
        width: auto;
    }

    .header-user-name { display: none; }

    .header-inner { gap: 0.75rem; }

    .activity-images--1 .activity-image { max-height: 60vh; }
}

@media (min-width: 769px) {
    .content-home { padding-top: 2rem; }
}
