:root {
    --theme-bg: #0f0f1f;
    --theme-surface: rgba(255, 255, 255, 0.05);
    --theme-surface-strong: rgba(15, 15, 31, 0.95);
    --theme-surface-soft: rgba(255, 255, 255, 0.08);
    --theme-card-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(15, 19, 34, 0.2));
    --theme-card-surface-soft: rgba(255, 255, 255, 0.08);
    --theme-card-border: rgba(255, 255, 255, 0.1);
    --theme-card-shadow: rgba(0, 0, 0, 0.25);
    --account-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(15, 19, 34, 0.22));
    --account-card-bg-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(14, 18, 34, 0.28));
    --account-chip-bg: rgba(255, 255, 255, 0.08);
    --account-chip-border: rgba(255, 255, 255, 0.1);
    --theme-text: #f8f9fa;
    --theme-text-muted: #cfd2ff;
    --theme-border: rgba(255, 255, 255, 0.12);
    --theme-hero-start: #1a1a2e;
    --theme-hero-end: #0f0f1f;
    --theme-shadow: rgba(0, 0, 0, 0.25);
}

:root[data-theme='light'] {
    --theme-bg: #f5f7fb;
    --theme-surface: rgba(255, 255, 255, 0.92);
    --theme-surface-strong: rgba(255, 255, 255, 0.9);
    --theme-surface-soft: rgba(233, 240, 255, 0.86);
    --theme-card-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 241, 255, 0.94));
    --theme-card-surface-soft: rgba(233, 240, 255, 0.86);
    --theme-card-border: rgba(24, 32, 51, 0.1);
    --theme-card-shadow: rgba(38, 54, 94, 0.12);
    --account-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 242, 255, 0.92));
    --account-card-bg-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 238, 255, 0.94));
    --account-chip-bg: rgba(233, 240, 255, 0.86);
    --account-chip-border: rgba(24, 32, 51, 0.08);
    --theme-text: #182033;
    --theme-text-muted: #42506b;
    --theme-border: rgba(24, 32, 51, 0.12);
    --theme-hero-start: #eef4ff;
    --theme-hero-end: #dfe9ff;
    --theme-shadow: rgba(38, 54, 94, 0.12);
}

:root {
    --controls-shell-bg: linear-gradient(135deg, rgba(12, 16, 34, 0.82), rgba(29, 36, 68, 0.7));
    --controls-shell-border: rgba(255, 255, 255, 0.14);
    --controls-button-bg: rgba(255, 255, 255, 0.045);
    --controls-button-hover: rgba(255, 255, 255, 0.1);
    --controls-accent: linear-gradient(135deg, rgba(108, 92, 231, 0.95), rgba(0, 206, 201, 0.78));
    --footer-shell-bg: #171c2b;
    --footer-shell-border: rgba(255, 255, 255, 0.08);
    --footer-heading: #eef2ff;
    --footer-muted: #aab4d3;
    --footer-link-dot: rgba(143, 179, 255, 0.55);
}

:root[data-theme='light'] {
    --controls-shell-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 239, 255, 0.92));
    --controls-shell-border: rgba(24, 32, 51, 0.12);
    --controls-button-bg: rgba(24, 32, 51, 0.04);
    --controls-button-hover: rgba(24, 32, 51, 0.08);
    --controls-accent: linear-gradient(135deg, rgba(90, 120, 255, 0.98), rgba(61, 196, 181, 0.82));
    --footer-shell-bg: #eef2fb;
    --footer-shell-border: rgba(24, 32, 51, 0.1);
    --footer-heading: #182033;
    --footer-muted: #51607e;
    --footer-link-dot: rgba(90, 120, 255, 0.5);
}

html, body {
    background: var(--theme-bg) !important;
    color: var(--theme-text) !important;
}

html {
    scroll-behavior: smooth;
}

html.site-preload body > *:not(.site-bg-effects):not(.site-controls):not(script),
html.site-loading body > *:not(.site-bg-effects):not(.site-controls):not(script) {
    opacity: 0.985;
    transform: translateY(10px);
}

html.site-ready body > *:not(.site-bg-effects):not(.site-controls):not(script) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.34s ease, transform 0.34s ease;
    transition-delay: 0.06s;
}

html.site-ready body > header,
html.site-ready body > .hero,
html.site-ready body > .nas-hero,
html.site-ready body > .game-hero,
html.site-ready body > .hero-container,
html.site-ready body > .auth-shell,
html.site-ready body > .account-shell,
html.site-ready body > .conversation-shell,
html.site-ready body > .interactions-shell {
    transition-delay: 0.02s;
}

html.site-ready body > nav,
html.site-ready body > .nav-container,
html.site-ready body > .top-nav,
html.site-ready body > .main-nav {
    transition-delay: 0.08s;
}

html.site-ready body > main,
html.site-ready body > section,
html.site-ready body > article,
html.site-ready body > .page-shell,
html.site-ready body > .content-shell {
    transition-delay: 0.12s;
}

html.site-ready body > footer,
html.site-ready body > .site-footer {
    transition-delay: 0.16s;
}

html.site-preload :is(
    .hero-shell > *,
    .hero-text > *,
    .auth-card > *,
    .account-panel > *,
    .account-summary > *,
    .account-list > *,
    .account-hero__copy > *,
    .account-hero__chips > *,
    .account-hero__logos > *,
    .conversation-card > *,
    .conversation-form > *,
    .conversation-hero__stats > *,
    .conversation-meta > *,
    .conversation-thread > *,
    .auth-points > *,
    .account-items > *,
    .site-footer__inner > *,
    .site-footer__list > *,
    .card,
    .video-card,
    .gallery-card,
    .doctor-card,
    .stat-card,
    .benefit-card,
    .step-card,
    .form-container,
    .integration-diagram
),
html.site-loading :is(
    .hero-shell > *,
    .hero-text > *,
    .auth-card > *,
    .account-panel > *,
    .account-summary > *,
    .account-list > *,
    .account-hero__copy > *,
    .account-hero__chips > *,
    .account-hero__logos > *,
    .conversation-card > *,
    .conversation-form > *,
    .conversation-hero__stats > *,
    .conversation-meta > *,
    .conversation-thread > *,
    .auth-points > *,
    .account-items > *,
    .site-footer__inner > *,
    .site-footer__list > *,
    .card,
    .video-card,
    .gallery-card,
    .doctor-card,
    .stat-card,
    .benefit-card,
    .step-card,
    .form-container,
    .integration-diagram
) {
    opacity: 0.992;
    transform: translateY(8px);
}

html.site-ready :is(
    .hero-shell > *,
    .hero-text > *,
    .auth-card > *,
    .account-panel > *,
    .account-summary > *,
    .account-list > *,
    .account-hero__copy > *,
    .account-hero__chips > *,
    .account-hero__logos > *,
    .conversation-card > *,
    .conversation-form > *,
    .conversation-hero__stats > *,
    .conversation-meta > *,
    .conversation-thread > *,
    .auth-points > *,
    .account-items > *,
    .site-footer__inner > *,
    .site-footer__list > *,
    .card,
    .video-card,
    .gallery-card,
    .doctor-card,
    .stat-card,
    .benefit-card,
    .step-card,
    .form-container,
    .integration-diagram
) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.36s ease, transform 0.36s ease;
    transition-delay: 0.1s;
}

html.site-ready :is(
    .hero-shell,
    .hero-text,
    .auth-card,
    .account-panel,
    .account-summary,
    .account-list,
    .account-hero__copy,
    .account-hero__chips,
    .account-hero__logos,
    .conversation-card,
    .conversation-form,
    .conversation-hero__stats,
    .conversation-meta,
    .conversation-thread,
    .auth-points,
    .account-items,
    .site-footer__inner,
    .site-footer__list
) > :nth-child(1) {
    transition-delay: 0.08s;
}

html.site-ready :is(
    .hero-shell,
    .hero-text,
    .auth-card,
    .account-panel,
    .account-summary,
    .account-list,
    .account-hero__copy,
    .account-hero__chips,
    .account-hero__logos,
    .conversation-card,
    .conversation-form,
    .conversation-hero__stats,
    .conversation-meta,
    .conversation-thread,
    .auth-points,
    .account-items,
    .site-footer__inner,
    .site-footer__list
) > :nth-child(2) {
    transition-delay: 0.12s;
}

html.site-ready :is(
    .hero-shell,
    .hero-text,
    .auth-card,
    .account-panel,
    .account-summary,
    .account-list,
    .account-hero__copy,
    .account-hero__chips,
    .account-hero__logos,
    .conversation-card,
    .conversation-form,
    .conversation-hero__stats,
    .conversation-meta,
    .conversation-thread,
    .auth-points,
    .account-items,
    .site-footer__inner,
    .site-footer__list
) > :nth-child(3) {
    transition-delay: 0.16s;
}

html.site-ready :is(
    .hero-shell,
    .hero-text,
    .auth-card,
    .account-panel,
    .account-summary,
    .account-list,
    .account-hero__copy,
    .account-hero__chips,
    .account-hero__logos,
    .conversation-card,
    .conversation-form,
    .conversation-hero__stats,
    .conversation-meta,
    .conversation-thread,
    .auth-points,
    .account-items,
    .site-footer__inner,
    .site-footer__list
) > :nth-child(n+4) {
    transition-delay: 0.2s;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 110ms;
    animation-timing-function: ease;
}

::view-transition-old(root) {
    animation-name: site-root-exit;
}

::view-transition-new(root) {
    animation-name: site-root-enter;
}

@keyframes site-root-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(1px);
    }
}

@keyframes site-root-enter {
    from {
        opacity: 1;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(108, 92, 231, 0.08), transparent 26%),
        radial-gradient(circle at 82% 14%, rgba(61, 196, 181, 0.08), transparent 24%),
        linear-gradient(180deg, color-mix(in srgb, var(--theme-bg) 88%, white 12%), var(--theme-bg));
    transition: opacity 0.22s ease;
}

html.site-theme-switching body,
html.site-transition-leave body,
html.site-transition-enter body {
    overflow: hidden;
}

html.site-transition-leave::before,
html.site-transition-enter::before {
    opacity: 0;
}

html.site-transition-enter.site-transition-enter-active::before {
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.site-theme-switching body > *:not(.site-bg-effects):not(script) {
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

html.site-theme-switching body > *:not(.site-bg-effects):not(script) {
    opacity: 0.995;
    filter: none;
}

html.site-transition-leave body > *:not(.site-bg-effects):not(script) {
    opacity: 1;
    filter: none;
    transform: translateY(2px) scale(0.9995);
    transition: transform 0.14s ease;
}

html.site-transition-enter body > *:not(.site-bg-effects):not(script) {
    opacity: 1;
    filter: none;
    transform: translateY(4px) scale(0.9995);
}

html.site-transition-enter.site-transition-enter-active body > *:not(.site-bg-effects):not(script) {
    opacity: 1;
    filter: none;
    transform: translateY(0);
    transition: transform 0.18s ease;
}

body,
body * {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body,
    body * {
        transition: none !important;
        animation: none !important;
    }
}

body p,
body li,
body label,
body small,
body input,
body textarea,
body select,
body .hero-subtitle,
body .detail-label,
body .detail-value,
body .doctor-specialty,
body .doctor-clinic,
body .doctor-location,
body .stat-label,
body .card-caption,
body .brief,
body .additional-info,
body .copyright,
body .footer-brand p,
body .footer-contact p,
body .system-info p,
body .gallery-card p,
body .video-card p,
body .contact-info p,
body .contact-info,
body .module-badge,
body .contact-item,
body .muted,
body .section-lead {
    color: var(--theme-text-muted) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .section-title,
body .brand,
body .gallery-card h3,
body .video-card h3,
body .module-badge strong,
body .contact-info strong,
body .stat-value,
body .kpi {
    color: var(--theme-text) !important;
}

body .hero,
body .nas-hero,
body .game-hero,
body .hero-container {
    background: linear-gradient(135deg, var(--theme-hero-start) 0%, var(--theme-hero-end) 100%) !important;
}

body .hero::after {
    background: linear-gradient(to top, var(--theme-bg), transparent) !important;
}

body .nav-container,
body footer,
body .game-footer,
body .contact-info,
body .contact-form input,
body .contact-form textarea,
body input,
body textarea,
body select,
body .card,
body .video-card,
body .gallery-card,
body .trailer-card,
body .rights-card,
body .doctor-card,
body .stat-card,
body .benefit-card,
body .step-card,
body .form-container,
body .integration-diagram,
body .system-badge,
body .additional-info,
body .logo-container,
body .UElogo-container,
body .department-logo,
body .module-badge,
body .social-links a {
    background: var(--theme-card-surface) !important;
    color: var(--theme-text) !important;
    border-color: var(--theme-card-border) !important;
    box-shadow: 0 16px 36px var(--theme-card-shadow);
}

body input,
body textarea,
body select,
body .contact-form input,
body .contact-form textarea {
    caret-color: var(--theme-text);
}

body .logo-container,
body .UElogo-container,
body .module-badge,
body .additional-info,
body .social-links a {
    background: var(--theme-card-surface-soft) !important;
}

body .module-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    padding: 0.7rem 1rem !important;
    margin-bottom: 1rem;
    border: 1px solid var(--theme-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px var(--theme-shadow) !important;
    line-height: 1.2;
}

body .nav-container {
    background: var(--theme-surface-strong) !important;
}

body footer,
body .game-footer {
    background: var(--theme-surface-strong) !important;
}

body .nav-links a,
body footer a,
body .social-links a,
body .brand,
body .cta-button,
body .lang-btn,
body .ctab-button,
body .contact-info a,
body .module-badge,
body .additional-info li::before {
    color: var(--theme-text) !important;
}

body .nav-links a::after,
body .section-title::after {
    background: var(--controls-accent) !important;
}

body .additional-info li::before {
    color: var(--theme-text) !important;
    background: none !important;
    box-shadow: none !important;
}

body .lang-switcher {
    display: none !important;
}

:root[data-theme='light'] body .cta-button,
:root[data-theme='light'] body .ctab-button,
:root[data-theme='light'] body .lang-btn {
    color: #ffffff !important;
}

:root[data-theme='light'] body .project-image,
:root[data-theme='light'] body .dashboard-preview,
:root[data-theme='light'] body .video-container,
:root[data-theme='light'] body .video-card,
:root[data-theme='light'] body .gallery-card,
:root[data-theme='light'] body .logo-container,
:root[data-theme='light'] body .department-logo,
:root[data-theme='light'] body .module-badge,
:root[data-theme='light'] body .world-item img,
:root[data-theme='light'] body .concept-card img {
    box-shadow: 0 12px 32px rgba(38, 54, 94, 0.14);
}

.site-controls {
    position: fixed;
    top: 18px;
    inset-inline-end: 20px;
    left: auto;
    transform: none;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 5px;
    border-radius: 18px;
    border: 1px solid var(--controls-shell-border);
    background: var(--controls-shell-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(125%);
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.site-controls::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 72%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.site-controls--hidden {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    pointer-events: none;
}

.theme-toggle,
.language-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid transparent;
    background: var(--controls-button-bg);
    color: var(--theme-text);
    border-radius: 14px;
    padding: 7px 11px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover,
.language-toggle:hover {
    transform: translateY(-2px);
    background: var(--controls-button-hover);
    border-color: var(--controls-shell-border);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-toggle__icon,
.language-toggle__icon {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--controls-accent);
    box-shadow: 0 6px 14px rgba(96, 104, 224, 0.22);
}

.language-toggle {
    min-width: 98px;
}

.theme-toggle__text,
.language-toggle__text {
    white-space: nowrap;
}

html[dir='rtl'] .site-controls {
    direction: rtl;
}

html[dir='rtl'] body,
html[dir='rtl'] .site-footer,
html[dir='rtl'] section,
html[dir='rtl'] .hero,
html[dir='rtl'] .hero-container,
html[dir='rtl'] .nas-hero,
html[dir='rtl'] .game-hero {
    direction: rtl;
}

html[dir='rtl'] .site-controls,
html[dir='rtl'] .site-footer__bottom {
    text-align: right;
}

@media (max-width: 768px) {
    .site-controls {
        top: 12px;
        inset-inline-end: 12px;
        left: auto;
        max-width: calc(100vw - 24px);
        justify-content: center;
    }

    .theme-toggle,
    .language-toggle {
        padding: 7px 10px;
        min-height: 36px;
    }

    .language-toggle {
        min-width: 0;
    }
}

.auth-shell,
.account-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 124px 20px 72px;
    position: relative;
    font-family: 'Cairo', sans-serif;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: stretch;
}

.auth-shell::before,
.account-shell::before {
    content: '';
    position: absolute;
    inset: 26px 8% auto;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.24), rgba(0, 206, 201, 0.08) 45%, transparent 72%);
    filter: blur(32px);
    pointer-events: none;
    opacity: 0.95;
}

.auth-card,
.account-panel,
.account-summary,
.account-list {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    box-shadow: 0 16px 34px var(--theme-shadow);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px) saturate(135%);
}

.auth-card,
.account-panel,
.account-list {
    padding: 28px;
}

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-card::before,
.account-panel::before,
.account-list::before,
.account-summary::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    pointer-events: none;
}

.auth-card h2,
.account-panel h2,
.account-list h2 {
    margin: 0;
    color: var(--theme-text);
}

.auth-card--hero {
    background: linear-gradient(160deg, rgba(108, 92, 231, 0.2), rgba(0, 206, 201, 0.08)), var(--theme-surface) !important;
}

.auth-card--hero::after,
.account-panel::after {
    content: '';
    position: absolute;
    inset: auto -12% -28% auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.18), transparent 68%);
    pointer-events: none;
}

.auth-card--form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(18, 23, 44, 0.28)), var(--theme-surface) !important;
    justify-content: center;
}

.auth-kicker,
.account-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    font-size: 0.86rem;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-title,
.account-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 14px;
    color: var(--theme-text);
}

.auth-card--hero .auth-title,
.account-panel .account-title {
    background: linear-gradient(135deg, #ffffff 0%, #cfe0ff 38%, #7edbff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-lead,
.account-lead {
    color: var(--theme-text-muted);
    line-height: 1.8;
    margin: 0;
}

.auth-points {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--theme-text);
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(14, 18, 34, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-points strong {
    color: var(--theme-text);
}

.auth-point-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--controls-accent);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(79, 117, 242, 0.2);
}

.auth-form {
    display: grid;
    gap: 16px;
    align-content: start;
    margin-top: 4px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    color: var(--theme-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-field input,
.auth-field textarea,
.auth-field select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--theme-border);
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    font: inherit;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-field input:focus,
.auth-field textarea:focus,
.auth-field select:focus {
    outline: none;
    border-color: rgba(108, 92, 231, 0.52);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}

.auth-submit,
.ghost-link,
.account-link,
.interest-submit,
.media-like-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.auth-submit {
    width: 100%;
    min-height: 52px;
}

.auth-submit,
.interest-submit,
.media-like-button.is-liked {
    background: var(--controls-accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(57, 90, 195, 0.22);
}

.auth-submit,
.interest-submit {
    letter-spacing: 0.01em;
}

.ghost-link,
.account-link,
.media-like-button {
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    border-color: var(--theme-border);
}

.auth-submit:hover,
.ghost-link:hover,
.account-link:hover,
.interest-submit:hover,
.media-like-button:hover {
    transform: translateY(-2px);
}

.auth-meta,
.auth-alert,
.account-note,
.empty-state,
.interest-status {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--theme-surface-soft);
    color: var(--theme-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-alert {
    border: 1px solid rgba(255, 118, 117, 0.18);
    color: var(--theme-text);
}

.auth-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-inline-links > * {
    flex: 1 1 180px;
}

.account-shell {
    display: grid;
    gap: 24px;
}

.account-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 24px;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(160, 196, 255, 0.16);
    background:
        radial-gradient(circle at 18% 22%, rgba(118, 92, 255, 0.24), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(0, 214, 201, 0.16), transparent 30%),
        linear-gradient(160deg, rgba(18, 26, 48, 0.88), rgba(10, 14, 26, 0.78));
    box-shadow: 0 22px 44px rgba(5, 10, 24, 0.28);
    overflow: hidden;
}

.account-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.account-hero__copy,
.account-hero__visual {
    position: relative;
    z-index: 1;
}

.account-hero__logo {
    width: min(100%, 280px);
    filter: drop-shadow(0 10px 26px rgba(108, 92, 231, 0.34));
}

.account-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbe6ff;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.account-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    line-height: 1.02;
    background: linear-gradient(135deg, #ffffff 0%, #dde8ff 38%, #84dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.account-hero__lead {
    margin: 0;
    max-width: 720px;
    color: #d2dcf6;
    line-height: 1.8;
}

.account-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.account-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eef4ff;
}

.account-hero__chip strong {
    font-size: 1.1rem;
}

.account-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-hero__logos {
    position: relative;
    display: grid;
    gap: 18px;
    justify-items: center;
    width: min(100%, 280px);
}

.account-hero__glow {
    position: relative;
    width: min(100%, 280px);
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(145deg, rgba(108, 92, 231, 0.28), rgba(0, 206, 201, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 40px rgba(8, 15, 36, 0.24);
}

.account-hero__glow::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-hero__glow--nas {
    width: min(100%, 240px);
    aspect-ratio: auto;
    min-height: 108px;
    border-radius: 24px;
    padding: 20px 22px;
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(145deg, rgba(0, 206, 201, 0.14), rgba(108, 92, 231, 0.18));
}

.account-hero__glow--nas::before {
    inset: 10px;
    border-radius: 18px;
}

.account-hero__logo--nas {
    width: min(100%, 190px);
    filter: drop-shadow(0 8px 18px rgba(0, 206, 201, 0.18));
}

.account-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
    overflow: visible;
    background: transparent;
    padding: 8px;
}

.account-summary > div {
    position: relative;
    padding: 13px 14px;
    background: var(--account-card-bg-strong);
    border-radius: 18px;
    border: 1px solid var(--account-chip-border);
    box-shadow: 0 14px 24px rgba(8, 6, 20, 0.18);
    overflow: hidden;
}

.account-summary > div::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 203, 255, 0.44), transparent);
    pointer-events: none;
}

.account-summary__block {
    display: grid;
    gap: 4px;
    align-content: start;
    min-width: 0;
}

.account-summary__block--identity {
    grid-column: span 2;
}

.account-summary__block--action {
    align-content: center;
}

.account-summary__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--account-chip-bg);
    color: var(--theme-text);
    border: 1px solid var(--account-chip-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.account-value {
    display: block;
    font-size: clamp(1.02rem, 1.45vw, 1.5rem);
    font-weight: 800;
    color: var(--theme-text);
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.account-label {
    display: block;
    margin-top: 2px;
    color: var(--theme-text-muted);
    line-height: 1.6;
    font-size: 0.84rem;
}

.account-label--strong {
    margin-top: 0;
    color: var(--theme-text);
    font-weight: 700;
}

.account-summary .account-link {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.86rem;
    gap: 6px;
}

.account-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 118, 117, 0.14);
    border: 1px solid rgba(255, 118, 117, 0.22);
    color: #ffd8d3;
    font-size: 0.76rem;
    font-weight: 700;
}

.account-project-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
}

.account-project-status__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--account-chip-bg);
    color: var(--theme-text);
    border: 1px solid var(--account-chip-border);
    font-size: 0.86rem;
}

.account-project-status__pill--alert,
.account-hero__chip--alert {
    background: rgba(255, 118, 117, 0.14);
    border-color: rgba(255, 118, 117, 0.24);
    color: #ffe4df;
}

.account-project-status--alert {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 118, 117, 0.08), rgba(15, 19, 34, 0.06));
    border: 1px solid rgba(255, 118, 117, 0.14);
}

.account-link--alert {
    box-shadow: 0 0 0 1px rgba(255, 118, 117, 0.18), 0 14px 26px rgba(255, 118, 117, 0.12);
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.account-list h3,
.account-panel h3 {
    margin: 0 0 14px;
    color: var(--theme-text);
}

.account-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.account-section-copy,
.account-more-note {
    margin: 0;
    color: var(--theme-text-muted);
    line-height: 1.7;
}

.account-more-note {
    margin-top: 16px;
}

.account-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 4px;
}

.account-media-grid--full {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.account-interest-grid {
    display: grid;
    gap: 14px;
    padding: 4px;
}

.account-media-card {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: var(--account-card-bg);
    border: 1px solid var(--account-chip-border);
}

.account-media-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.2), transparent 40%), linear-gradient(160deg, rgba(108, 92, 231, 0.18), rgba(0, 206, 201, 0.1));
    border: 1px solid var(--account-chip-border);
}

.account-media-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-media-card__body {
    display: grid;
    gap: 10px;
}

.account-media-card__body strong {
    color: var(--theme-text);
}

.account-media-card__body p {
    margin: 0;
    color: var(--theme-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-interest-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: var(--account-card-bg);
    border: 1px solid var(--account-chip-border);
}

.account-interest-card__top,
.account-interest-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.account-interest-card__body {
    display: grid;
    gap: 10px;
}

.account-interest-card__body strong {
    color: var(--theme-text);
}

.account-interest-card__body p {
    margin: 0;
    color: var(--theme-text-muted);
    line-height: 1.8;
}

.account-interest-card__date,
.account-interest-card__footer small {
    color: var(--theme-text-muted);
}

.account-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.account-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--account-chip-bg);
    color: var(--theme-text);
    font-size: 0.85rem;
    border: 1px solid var(--account-chip-border);
}

.account-meta-date {
    color: var(--theme-text-muted);
    font-size: 0.9rem;
}

.account-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.account-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 19, 34, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-item--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.account-panel--compact {
    margin-top: 24px;
}

.interactions-shell {
    gap: 24px;
}

.interactions-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
}

.interactions-hero__actions {
    display: flex;
    justify-content: flex-end;
}

.conversation-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 16px;
}

.conversation-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.conversation-card,
.conversation-form {
    position: relative;
    padding: 26px;
    border-radius: 30px;
    background: var(--account-card-bg-strong);
    border: 1px solid var(--account-chip-border);
    box-shadow: 0 20px 40px rgba(8, 6, 20, 0.18);
    overflow: hidden;
}

.conversation-card::before,
.conversation-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 38%);
    pointer-events: none;
}

.conversation-card--hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(0, 206, 201, 0.08), transparent 22%),
        linear-gradient(145deg, rgba(108, 92, 231, 0.22), rgba(8, 14, 30, 0.22)),
        var(--account-card-bg-strong);
}

.conversation-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--account-chip-bg);
    color: var(--theme-text);
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid var(--account-chip-border);
}

.conversation-title {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    color: var(--theme-text);
}

.conversation-lead,
.conversation-section-copy,
.conversation-meta__item span {
    margin: 0;
    color: var(--theme-text-muted);
    line-height: 1.8;
}

.conversation-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.conversation-stat-card {
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 4px;
}

.conversation-stat-card strong {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    color: var(--theme-text);
}

.conversation-stat-card span {
    color: var(--theme-text-muted);
    font-size: 0.86rem;
}

.conversation-stat-card--accent {
    background: rgba(0, 206, 201, 0.12);
    border-color: rgba(0, 206, 201, 0.18);
}

.conversation-stat-card--alert {
    background: rgba(255, 118, 117, 0.12);
    border-color: rgba(255, 118, 117, 0.18);
}

.conversation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.conversation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-text);
    text-decoration: none;
}

.conversation-meta {
    display: grid;
    gap: 12px;
}

.conversation-meta__item {
    padding: 16px;
    border-radius: 22px;
    background: var(--account-card-bg);
    border: 1px solid var(--account-chip-border);
    display: grid;
    gap: 6px;
}

.conversation-meta__item strong,
.conversation-section-head h2 {
    color: var(--theme-text);
}

.conversation-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.conversation-status-pill,
.conversation-composer-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--account-chip-bg);
    border: 1px solid var(--account-chip-border);
    color: var(--theme-text);
    font-size: 0.84rem;
}

.conversation-status-pill--answered {
    background: rgba(0, 206, 201, 0.12);
    border-color: rgba(0, 206, 201, 0.18);
}

.conversation-thread {
    display: grid;
    gap: 14px;
}

.conversation-bubble {
    max-width: min(100%, 760px);
    padding: 16px 18px;
    border-radius: 24px 24px 24px 10px;
    background: var(--account-card-bg);
    border: 1px solid var(--account-chip-border);
    box-shadow: 0 10px 20px rgba(9, 12, 24, 0.12);
}

.conversation-bubble--admin {
    justify-self: end;
    border-radius: 24px 24px 10px 24px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.18), rgba(0, 206, 201, 0.08));
}

.conversation-bubble__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--theme-text-muted);
    font-size: 0.9rem;
}

.conversation-bubble__body {
    white-space: pre-wrap;
    color: var(--theme-text);
    line-height: 1.9;
}

.conversation-bubble--fresh {
    animation: conversation-bubble-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: bottom left;
}

.conversation-bubble--fresh-admin {
    transform-origin: bottom right;
}

.conversation-bubble--fresh-user {
    box-shadow: 0 14px 28px rgba(79, 117, 242, 0.16), 0 0 0 1px rgba(108, 92, 231, 0.14);
}

.conversation-bubble--fresh-admin {
    box-shadow: 0 16px 30px rgba(0, 206, 201, 0.12), 0 0 0 1px rgba(0, 206, 201, 0.16);
}

@keyframes conversation-bubble-pop {
    0% {
        opacity: 0.78;
        transform: translateY(18px) scale(0.96);
    }
    65% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.conversation-empty {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--theme-text-muted);
}

.conversation-form form {
    display: grid;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.conversation-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.conversation-field label {
    color: var(--theme-text);
    font-weight: 700;
}

.conversation-form input,
.conversation-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--account-chip-border);
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    font: inherit;
}

.conversation-form textarea {
    min-height: 180px;
    resize: vertical;
}

.conversation-form button {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.4rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #6157d8, #7a6df2);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.conversation-alert {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 118, 117, 0.12);
    border: 1px solid rgba(255, 118, 117, 0.24);
    color: #ffd5d4;
}

.account-item__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    padding: 10px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
        linear-gradient(160deg, rgba(108, 92, 231, 0.18), rgba(0, 206, 201, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.account-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.account-item p,
.account-item small,
.interest-status,
.empty-state {
    margin: 0;
}

.skylight-social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 26px auto 0;
}

.skylight-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--theme-surface-soft);
    color: var(--theme-text);
}

.gallery-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.media-like-button {
    min-height: 42px;
    padding: 10px 14px;
}

.media-like-button__count {
    min-width: 1.6em;
    text-align: center;
}

.interest-panel {
    margin: 0 auto 36px;
    max-width: 780px;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.08), rgba(10, 14, 26, 0.08)), var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    box-shadow: 0 18px 34px var(--theme-shadow);
    display: grid;
    gap: 18px;
}

.interest-panel__header {
    display: grid;
    gap: 10px;
    text-align: center;
}

.interest-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--account-chip-bg);
    color: var(--theme-text);
    border: 1px solid var(--account-chip-border);
}

.interest-panel__body {
    display: grid;
    gap: 16px;
}

.interest-panel__form,
.interest-panel form {
    display: grid;
    gap: 14px;
}

.interest-panel textarea {
    width: 100%;
    min-height: 118px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--theme-border);
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    font: inherit;
}

.interest-status--active {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.12), rgba(0, 206, 201, 0.05));
    border-color: rgba(108, 92, 231, 0.18);
    color: var(--theme-text);
}

.interest-status--guest {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 19, 34, 0.18));
    border-color: rgba(255, 255, 255, 0.08);
}

.interest-panel__guest-card,
.interest-panel__footer {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--theme-surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.interest-panel__guest-card {
    display: grid;
    gap: 8px;
}

.interest-panel__guest-card strong,
.interest-panel__footer strong {
    color: var(--theme-text);
}

.interest-panel__guest-card p,
.interest-panel__footer p {
    margin: 0;
    color: var(--theme-text-muted);
}

.interest-panel__footer {
    display: grid;
    gap: 12px;
}

.interest-panel__actions {
    margin-top: 0;
}

@media (max-width: 900px) {
    .auth-shell,
    .account-grid,
    .account-summary {
        grid-template-columns: 1fr;
    }

    .account-media-grid,
    .interactions-hero {
        grid-template-columns: 1fr;
    }

    .account-summary__block--identity {
        grid-column: span 1;
    }

    .account-hero {
        grid-template-columns: 1fr;
    }

    .conversation-hero,
    .conversation-hero__stats {
        grid-template-columns: 1fr;
    }

    .auth-shell::before,
    .account-shell::before {
        inset-inline: 20px;
    }
}

@media (max-width: 640px) {
    .auth-shell,
    .account-shell {
        padding-top: 108px;
    }

    .auth-card,
    .account-panel,
    .account-list,
    .interest-panel {
        padding: 22px;
    }

    .account-item {
        grid-template-columns: 1fr;
    }

    .account-section-head {
        flex-direction: column;
    }

    .account-summary > div {
        padding: 12px;
    }

    .account-item__thumb {
        width: 100%;
        max-width: 160px;
        height: 160px;
    }

    .conversation-card,
    .conversation-form {
        padding: 22px;
    }

    .conversation-section-head {
        flex-direction: column;
    }
}
