.account-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--panel-border);
}

.account-hero .hero-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-hero h1 {
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    letter-spacing: -0.02em;
}

.account-hero .hint {
    color: var(--text-muted);
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-tags span {
    padding: clamp(4px, 1.3vw, 10px) clamp(10px, 2.6vw, 14px);
    border-radius: var(--radius-sm);
    background: rgba(88, 212, 255, 0.12);
    color: var(--text-primary);
    font-size: clamp(0.78rem, 2.8vw, 0.9rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    flex: 1;
}

.metric-card {
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--panel-soft);
    border: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    /* gap: 4px; */
}

.metric-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.metric-card strong {
    font-size: 1.6rem;
}

.account-lockout .account-panel {
    align-items: flex-start;
    gap: 18px;
}

.account-panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 4vw, 24px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 16px);
}

.alert-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    display: grid;
    gap: 6px;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

.account-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-pill {
    border-radius: var(--radius-md);
    padding: clamp(10px, 2.8vw, 14px) clamp(14px, 4vw, 18px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    text-transform: none;
    letter-spacing: 0.06em;
    font-size: clamp(0.9rem, 2.8vw, 1rem);
}

.tab-pill.is-active {
    background: linear-gradient(115deg, var(--accent), var(--accent-strong));
    color: #04121c;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(88, 212, 255, 0.25);
}

.tab-panels {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tab-panel {
    display: none;
    animation: accountFade 0.25s ease;
}

.tab-panel.is-active {
    display: block;
}

.panel-header {
    margin-bottom: 18px;
    display: grid;
    gap: 6px;
    padding-inline: 0;
}

.panel-header .hint {
    color: var(--text-muted);
}

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

.panel-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quick-task-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-task-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    color: var(--text-muted);
}

.quick-task-list a {
    font-size: 0.85rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.season-splash {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1300;
}

.season-splash.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.season-splash-backdrop {
    position: fixed;
    inset: 0;
    cursor: pointer;
}

.season-splash-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.015) 2px, rgba(255, 255, 255, 0.015) 4px),
        linear-gradient(135deg, #1a1d24 0%, #0d0f13 100%);
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 6px;
    padding: 0;
    box-shadow: 
        0 0 80px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    width: min(1080px, calc(100% - 40px));
    max-height: 90vh;
    overflow: hidden;
    color: #e8e9ed;
}

.season-splash-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10;
}

.season-splash-close::before,
.season-splash-close::after {
    content: '';
    width: 20px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.season-splash-close::before { transform: rotate(45deg); }
.season-splash-close::after { transform: rotate(-45deg); }

.season-splash-close:hover {
    transform: scale(1.1);
}

.season-splash-close:hover::before,
.season-splash-close:hover::after {
    background: #fff;
}

.season-splash-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 40px 16px;
    flex-shrink: 0;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.brand-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.season-splash-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 40px 20px;
    text-align: center;
    flex-shrink: 0;
}

.season-splash-number {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ff6b35;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    position: relative;
}

.season-splash-number::before,
.season-splash-number::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
}

.season-splash-number::before {
    right: calc(100% + 16px);
}

.season-splash-number::after {
    left: calc(100% + 16px);
}

.season-splash-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.95;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 255, 255, 0.2);
    margin: 0;
}

.season-splash-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 53, 0.5) rgba(0, 0, 0, 0.3);
}

.season-splash-scroll::-webkit-scrollbar {
    width: 10px;
}

.season-splash-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 6px 6px 0;
}

.season-splash-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 5px;
    transition: background 0.2s ease;
}

.season-splash-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

.season-splash-media {
    width: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
    flex-shrink: 0;
}

.season-splash-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(13, 15, 19, 0.7) 0%, transparent 20%, transparent 80%, rgba(13, 15, 19, 0.8) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(13, 15, 19, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.season-splash-media::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, 
        rgba(13, 15, 19, 1) 0%, 
        transparent 8%, 
        transparent 92%, 
        rgba(13, 15, 19, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.season-splash-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.season-splash-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 40px 32px;
    text-align: center;
}

.season-splash-tagline {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ff6b35;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    position: relative;
    padding: 0 80px;
}

.season-splash-tagline::before,
.season-splash-tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), transparent);
    transform: translateY(-50%);
}

.season-splash-tagline::before {
    left: 0;
}

.season-splash-tagline::after {
    right: 0;
}

.season-splash-description {
    white-space: pre-line;
    line-height: 1.65;
    color: rgba(232, 233, 237, 0.9);
    font-size: 1.05rem;
    max-width: 750px;
}

.season-splash-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.season-splash-cta {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 16px 48px;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    box-shadow: 
        0 4px 20px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.season-splash-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff7a45 0%, #ff5a1f 100%);
    box-shadow: 
        0 6px 28px rgba(255, 107, 53, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
    .season-splash-card {
        width: calc(100% - 24px);
        max-height: 95vh;
    }
    
    .season-splash-brand {
        padding: 20px 24px 12px;
    }
    
    .brand-text {
        font-size: 0.95rem;
    }
    
    .brand-line {
        max-width: 100px;
    }
    
    .season-splash-header {
        padding: 0 24px 16px;
    }
    
    .season-splash-number {
        font-size: 1.1rem;
    }
    
    .season-splash-title {
        font-size: 2rem;
    }
    
    .season-splash-body {
        padding: 20px 24px 24px;
    }
    
    .season-splash-tagline {
        font-size: 1.1rem;
        padding: 0 60px;
    }
    
    .season-splash-description {
        font-size: 0.95rem;
    }
    
    .season-splash-cta {
        font-size: 1rem;
        padding: 14px 36px;
    }
}

.status-dot.is-complete {
    background: linear-gradient(115deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 12px rgba(88, 212, 255, 0.6);
}


.feed-panel {
    min-height: 320px;
}

.panel-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    flex-wrap: wrap;
}

.panel-actions .btn,
.panel-actions a.btn,
.panel-actions button.btn {
    padding: clamp(8px, 2.4vw, 12px) clamp(12px, 3.6vw, 18px);
    font-size: clamp(0.8rem, 2.8vw, 0.95rem);
    min-height: 34px;
}

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

.panel-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    overflow: hidden;
    background: var(--panel-soft);
}

.panel-iframe {
    width: 100%;
    min-height: 640px;
    border: 0;
    display: block;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--panel-border);
    background: var(--panel-soft);
    margin-top: 0px;
}

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

.posts-visibility-card {
    position: relative;
    display: block;
    width: 100%;
}

.posts-visibility-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.posts-visibility-inner {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: var(--panel);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.posts-visibility-inner.is-selected,
.posts-visibility-card input:checked + .posts-visibility-inner {
    border-color: var(--accent);
    background: rgba(88, 212, 255, 0.08);
    box-shadow: 0 10px 32px rgba(3, 23, 36, 0.45);
}

.posts-visibility-card input:focus-visible + .posts-visibility-inner {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.posts-visibility-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.posts-visibility-title strong {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.posts-visibility-inner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.posts-visibility-chip {
    display: none;
    padding: 4px 12px;
    border-radius: var(--radius-md);
    background: rgba(88, 212, 255, 0.16);
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.posts-visibility-inner.is-selected .posts-visibility-chip,
.posts-visibility-card input:checked + .posts-visibility-inner .posts-visibility-chip {
    display: inline-flex;
}

.profile-form {
    padding: 0;
    border: none;
    background: transparent;
    gap: 20px;
    margin-top: 0px;
}

.profile-section {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.profile-section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.profile-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.profile-link {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-link a {
    color: var(--accent);
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-inline-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: center;
}

.profile-custom-link-row {
    grid-template-columns: minmax(0, 4fr) minmax(140px, 1fr);
}

.profile-custom-link-field .searchfield {
    width: 100%;
    min-width: max-content;
}

.profile-custom-link-toggle {
    display: flex;
    justify-content: flex-end;
}

.profile-custom-link-toggle .profile-inline-toggle {
    width: 100%;
    justify-content: center;
}

.profile-inline-toggle {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: clamp(8px, 2.6vw, 12px) clamp(12px, 3vw, 16px);
    background: rgba(255, 255, 255, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

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

.profile-connection-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: var(--panel-soft);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.profile-stat-comparison-card {
    gap: 14px;
}

.profile-stat-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-stat-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 640px;
}

.profile-stat-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    align-items: start;
}

.profile-stat-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.profile-connection-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-rank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-note {
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(88, 212, 255, 0.08);
    border: 1px solid rgba(88, 212, 255, 0.35);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.profile-form-footer {
    display: flex;
    justify-content: flex-end;
}

.anon-status-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(88, 212, 255, 0.08);
    border: 1px solid rgba(88, 212, 255, 0.35);
    font-size: 0.95rem;
}

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

.anon-hero-card {
    border: 1px solid rgba(88, 212, 255, 0.35);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(88, 212, 255, 0.18), rgba(28, 31, 56, 0.7));
    flex-wrap: wrap;
    margin-top: 0px;
}

.anon-meta-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.anon-meta-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.anon-meta-list li strong {
    font-size: 1rem;
    color: #fff;
}

.anon-hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.anon-badge {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.anon-badge.is-public {
    background: rgba(255, 143, 138, 0.15);
    border-color: rgba(255, 143, 138, 0.5);
    color: #ffb4b0;
}

.anon-badge.is-standard {
    background: rgba(88, 212, 255, 0.15);
    border-color: rgba(88, 212, 255, 0.6);
    color: var(--accent);
}

.anon-badge.is-deep {
    background: rgba(137, 93, 255, 0.25);
    border-color: rgba(167, 140, 255, 0.6);
    color: #e3d5ff;
}

.anon-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(5, 8, 20, 0.4);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(5, 10, 35, 0.35);
}

.anon-enable-card {
    gap: 20px;
}

.anon-enable-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.anon-enable-header h5 {
    margin: 4px 0;
    font-size: 1.2rem;
}

.anon-enable-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.anon-enable-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.anon-enable-chip.is-accent {
    border-color: rgba(88, 212, 255, 0.8);
    color: var(--accent);
    background: rgba(88, 212, 255, 0.12);
}

.anon-enable-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anon-enable-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.anon-enable-point {
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--accent);
}

.anon-enable-list li p {
    margin: 4px 0 0;
    color: var(--text-muted);
}

.anon-enable-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.anon-enable-footer button {
    min-width: 200px;
}

.profile-alert {
    border: 1px solid rgba(255, 143, 138, 0.6);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    background: rgba(255, 143, 138, 0.12);
    color: #ffc9c7;
    font-weight: 600;
}

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

.request-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.request-card-header,
.support-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.status-pill {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.status-pill.is-open {
    border-color: rgba(255, 200, 141, 0.6);
    color: #ffc88d;
}

.status-pill.is-closed,
.status-pill.is-success,
.status-pill.is-approved {
    border-color: rgba(88, 212, 255, 0.7);
    color: var(--accent);
}

.request-alert,
.support-alert {
    border: 1px solid rgba(255, 143, 138, 0.6);
    background: rgba(255, 143, 138, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 0.9rem;
}

.request-alert.is-positive {
    border-color: rgba(88, 212, 255, 0.7);
    background: rgba(88, 212, 255, 0.12);
    color: var(--accent);
}

.request-note {
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    font-size: 0.9rem;
    background: rgba(88, 212, 255, 0.08);
    border-radius: var(--radius-sm);
}

.copy-feedback {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.35);
    color: #00bcd4db;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 5px;
    pointer-events: none;
    z-index: 2147483647;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.is-visible {
    display: block;
    opacity: 0.85;
}

.request-form .searchfield,
.request-form textarea {
    width: 100%;
}

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

.support-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-history {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-history li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.history-title {
    font-weight: 600;
}

.inline-form {
    display: inline;
}

.inline-form button {
    margin: 0;
}

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

.notification-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
}

.notification-form {
    gap: 14px;
}

.notification-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px;
    background: rgba(5, 8, 20, 0.4);
}

.notification-toggle input {
    margin-top: 4px;
}

.notification-toggle span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-toggle span strong {
    font-size: 1rem;
}

.notification-toggle span em {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.notification-toggle span small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.notification-tagging {
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    gap: 18px;
}

.notification-tagging-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0px;
}

.notification-tagging-current {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.notification-tagging-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 2em;
}

.notification-pill {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px;
    background: rgba(5, 12, 24, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.notification-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.notification-pill span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notification-pill span strong {
    font-size: 1rem;
}

.notification-pill span small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.notification-pill.is-active {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(88, 212, 255, 0.2);
    background: linear-gradient(115deg, rgba(88, 212, 255, 0.12), rgba(9, 31, 48, 0.8));
    transform: translateY(-1px);
}

.notification-tagging-custom {
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    gap: 8px;
}

.notification-tagging-custom label {
    font-weight: 600;
}

.notification-tagging-custom input {
    width: 100%;
}

.notification-tagging-input {
    position: relative;
}

.notification-tagging-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 8, 20, 0.95);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 12;
}

.notification-tagging-suggestions[hidden] {
    display: none;
}

.tagging-suggestion {
    border: none;
    background: transparent;
    color: inherit;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tagging-suggestion strong {
    font-size: 0.95rem;
}

.tagging-suggestion span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tagging-suggestion:hover,
.tagging-suggestion:focus-visible {
    background: rgba(88, 212, 255, 0.12);
    outline: none;
}

.tagging-suggestion.is-empty {
    cursor: default;
    color: var(--text-muted);
}

.notification-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.notification-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2em;
}

.notification-feed-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notification-feed-unread {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.notification-feed li {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.notification-feed li.is-unread {
    border-color: var(--accent-soft);
    background: rgba(88, 212, 255, 0.05);
}

.notification-feed li:hover {
    border-color: var(--accent);
}

.notification-feed-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
}

.notification-feed-title {
    font-weight: 600;
}

.notification-feed-body {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.notification-feed-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notification-feed-hint {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.notification-pagination {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--panel-border);
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: var(--panel-soft);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.15s ease;
}

.pagination-link:hover {
    background: var(--panel);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.pagination-link.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    cursor: default;
    pointer-events: none;
}

.overview-panel {
    gap: 24px;
}

.overview-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.overview-headline {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overview-quick-card {
    width: min(280px, 100%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
}

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

.overview-quick-card li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.task-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.for-you-feed {
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: rgba(6, 10, 20, 0.9);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.for-you-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.for-you-composer-wrapper {
    margin-top: 12px;
}

.for-you-composer-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    background: rgba(8, 12, 24, 0.95);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.for-you-composer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 0;
    background: transparent;
    padding: 0;
}

.for-you-composer-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.for-you-composer-user img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.for-you-composer-user p {
    margin: 0;
    font-weight: 600;
}

.for-you-composer-user span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.for-you-composer .posts-editor {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(3, 5, 10, 0.6);
}

.for-you-composer .posts-editor-toolbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.for-you-composer .posts-card-actions {
    justify-content: flex-end;
}

.for-you-composer-disabled {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.feed-filter-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feed-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feed-filter-toggle input {
    width: 18px;
    height: 18px;
}

.for-you-scroll {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: min(70vh, 720px);
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    scrollbar-width: thin;
    padding-top: 2px;
}

.for-you-scroll::-webkit-scrollbar {
    width: 6px;
}

.for-you-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.for-you-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.for-you-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.for-you-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 24, 0.95);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.for-you-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.for-you-card-author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.for-you-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.for-you-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 10px;
}

.for-you-card-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.for-you-card-author {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.for-you-card-author:hover,
.for-you-card-author:focus-visible {
    color: var(--accent);
    outline: none;
}

.for-you-card-handle {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.for-you-card-handle:hover,
.for-you-card-handle:focus-visible {
    color: var(--accent);
    outline: none;
    text-decoration: none;
}

.for-you-card-head time {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.for-you-card-context {
    display: flex;
}

.for-you-context {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.for-you-context span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.for-you-context.is-feed {
    border-color: rgba(255, 255, 255, 0.22);
}

.for-you-context.is-match {
    border-color: #58d4ff;
    color: #58d4ff;
}

.for-you-context.is-profile {
    border-color: #9b5cff;
    color: #c6a6ff;
}

.for-you-context.is-support {
    border-color: #ffb347;
    color: #ffb347;
}

.for-you-context.is-announcement {
    border-color: #7dd87d;
    color: #7dd87d;
}

.for-you-card-content {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-primary);
    word-break: break-word;
    margin-top: 12px;
    margin-bottom: 40px;
}

.for-you-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.for-you-card-reactions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
}

.for-you-card-reactions .posts-reaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.for-you-card-replies {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.72rem, 2.6vw, 0.82rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: clamp(8px, 2.4vw, 10px) clamp(12px, 3vw, 14px);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}


.for-you-card-actions {
    margin-left: auto;
    flex: 0 0 auto;
}

.for-you-card-actions .btn-link {
    text-transform: none;
    letter-spacing: 0;
    padding: 0 5px;
    white-space: nowrap;
}

.for-you-card-thread {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.for-you-empty {
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 32px 16px;
    color: var(--text-muted);
    background: rgba(4, 6, 12, 0.6);
    margin-top: 8px;
}

.for-you-loader {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
    padding: 12px 0;
}

.feed-sentinel {
    width: 100%;
    height: 2px;
}

.overview-feed {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
}

.overview-feed-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

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

.feed-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

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

.form-label {
    font-weight: 600;
}

.form-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.feed-card {
    background: var(--panel-soft);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-card-meta {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.feed-card-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feed-card.is-placeholder {
    border-style: dashed;
    opacity: 0.85;
}

.feed-card.is-coming {
    background: rgba(88, 212, 255, 0.08);
    border-color: var(--accent-soft);
}

.placeholder-panel {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

.loading-dots {
    display: inline-flex;
    gap: 6px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: accountPulse 1s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

.account-toast-stack {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1200;
    pointer-events: none;
}

.account-toast {
    min-width: 260px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.account-toast[data-tone="success"] {
    border-color: rgba(88, 212, 255, 0.7);
    background: rgba(88, 212, 255, 0.12);
}

.account-toast[data-tone="error"] {
    border-color: rgba(255, 143, 138, 0.9);
    background: rgba(255, 143, 138, 0.14);
}

.account-toast[data-tone="info"] {
    border-color: rgba(255, 255, 255, 0.25);
}

.account-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.account-copy-toast {
    position: fixed;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    background: rgba(4, 18, 28, 0.94);
    border: 1px solid rgba(88, 212, 255, 0.4);
    color: var(--text-primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2147483647;
    pointer-events: none;
}

.account-copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes accountPulse {
    0% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }
}

body.is-overlay-active {
    overflow: hidden;
}

.user-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-search-overlay[hidden] {
    display: none;
}

.user-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 28, 0.85);
}

.user-search-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    background: var(--panel);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.user-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.user-search-close {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
}

.user-search-close::before,
.user-search-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.user-search-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.user-search-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.user-search-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.user-search-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.user-search-body input[type="search"] {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--panel-border);
    background: var(--panel-soft);
    padding: 12px 14px;
    color: var(--text-primary);
}

.user-search-body input[type="search"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(88, 212, 255, 0.4);
}

.user-search-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-search-results {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-search-result {
    border-radius: var(--radius-md);
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.user-search-result strong {
    font-size: 1rem;
}

.user-search-result span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-search-result:focus-visible,
.user-search-result:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.relationship-quick-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.relationship-quick-overlay[hidden] {
    display: none;
}

.relationship-quick-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 20, 0.8);
}

.relationship-quick-panel {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    background: var(--panel);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.relationship-quick-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.relationship-quick-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
}

.relationship-quick-close::before,
.relationship-quick-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.relationship-quick-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.relationship-quick-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.relationship-quick-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.relationship-quick-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.relationship-quick-status {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.relationship-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.relationship-quick-button {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 30, 42, 0.9);
    color: var(--text-primary);
    padding: 10px 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.relationship-quick-button.follow {
    background: linear-gradient(120deg, #58d4ff, #1a8cd8);
    border-color: transparent;
    color: #04121c;
    font-weight: 600;
}

.relationship-quick-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.relationship-quick-link {
    color: var(--accent);
    text-decoration: none;
}

.relationship-quick-link:hover,
.relationship-quick-link:focus-visible {
    text-decoration: underline;
}

.relationship-quick-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.relationship-quick-errors {
    color: #ff9b9b;
    min-height: 1.2em;
}

.tagging-legend {
    font-size: x-large;
    font-family: system-ui;
}

.no-margin-top {
    margin-top: 0 !important;
}

.dark-card-theme {
    background: #0c0f18;
}

.setting-disabled {
    cursor: not-allowed;
}

.feed-bottom-nav {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.feed-bottom-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .account-hero {
        flex-direction: column;
    }

    .hero-metrics {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .account-hero {
        gap: 16px;
    }

    .tab-nav {
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 8px;
    }

    .tab-pill {
        padding: 8px 12px;
        font-size: 0.92rem;
    }

    .account-panel {
        padding: clamp(14px, 4vw, 18px);
        gap: 12px;
        padding-bottom: 16px;
    }

    .overview-grid,
    .feed-columns,
    .posts-visibility-grid,
    .profile-inline-inputs,
    .account-form,
    .panel-header-inline,
    .profile-section-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .tab-panel-body {
        margin-inline: calc(-1 * clamp(10px, 4vw, 16px));
        padding-inline: clamp(10px, 4vw, 16px);
    }

    .profile-stat-comparison-card {
        overflow: hidden;
        padding: clamp(12px, 4vw, 16px);
    }

    .profile-stat-comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-stat-checkbox-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .profile-stat-checkbox-grid .form-toggle span,
    .profile-stat-comparison-card .hint,
    .profile-stat-comparison-card .form-label {
        white-space: normal;
        word-break: break-word;
    }

    .panel-header-inline {
        display: flex;
        gap: 10px;
    }

    .panel-header {
        padding-inline: clamp(10px, 4vw, 16px);
    }

    .account-panel,
    .placeholder-panel,
    .posts-card {
        border-radius: var(--radius-md);
    }

    .posts-card {
        padding: clamp(12px, 4vw, 16px);
    }

    .posts-feed {
        gap: clamp(12px, 4vw, 16px);
    }

    .for-you-card-footer {
        align-items: flex-start;
        gap: 10px;
    }

    .for-you-card-reactions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .for-you-card-reactions .posts-reaction-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cta-row {
        flex-direction: column;
    }

    .account-center {
        /* padding-bottom: 72px; */
    }

    .feed-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 52px;
        display: none;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: rgba(6, 9, 18, 0.92);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        z-index: 1200;
    }

    .feed-bottom-nav.is-visible {
        display: flex;
    }

    .feed-nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: var(--text-primary);
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        min-width: 120px;
        background: linear-gradient(120deg, rgba(88, 212, 255, 0.22), rgba(44, 148, 207, 0.18));
    }

    .account-toast-stack {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }

    .panel-actions {
        width: 100%;
    }
    .panel-actions .btn,
    .panel-actions a.btn,
    .panel-actions button.btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        text-align: center;
    }

    .for-you-card-replies {
        align-self: flex-start;
    }

    .metric-card {
        padding: 5px;
        border-radius: var(--radius-md);
        background: var(--panel-soft);
        border: 1px solid var(--panel-border);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: stretch;
        justify-content: space-between;
        align-items: flex-start;
    }

    .for-you-feed {
        border: 1px solid var(--panel-border);
        border-radius: 24px;
        background: rgba(6, 10, 20, 0.9);
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
        width: 114%;
        transform: translate(-6%);
    }

    .quick-task-list {
        display:none;
    }

    .for-you-hint {
        display:none;
    }
} /* end media */
