.account-switcher{position:relative}.account-switcher-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:1.75rem;min-height:var(--touch-min);padding:0 .25rem;color:var(--text-muted);background:transparent;border:none;cursor:pointer}.account-switcher-trigger:hover{color:var(--text)}.account-switcher-chevron{font-size:.75rem;line-height:1}.account-switcher-menu{position:absolute;top:calc(100% + .35rem);right:0;z-index:200;width:min(18rem,calc(100vw - 2rem));padding:var(--space-sm);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-dropdown)}.account-switcher-title{margin:0 0 var(--space-sm);padding:0 var(--space-xs);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.account-switcher-list{list-style:none;margin:0;padding:0}.account-switcher-list li{margin-bottom:.25rem}.account-switcher-item{display:flex;align-items:center;gap:var(--space-sm);width:100%;padding:.5rem;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text);text-align:left;cursor:pointer}.account-switcher-item:hover,.account-switcher-item.active{background:var(--color-surface-subtle)}.account-switcher-item-text{display:flex;flex-direction:column;min-width:0;flex:1}.account-switcher-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-switcher-handle{font-size:.8125rem;color:var(--text-muted)}.account-switcher-active{font-size:.6875rem;font-weight:600;color:var(--accent);text-transform:uppercase}.account-switcher-loading{color:var(--text-muted)}.account-switcher-remove{margin-left:2.75rem;padding:.15rem 0;border:none;background:none;color:var(--text-muted);font-size:.75rem;cursor:pointer}.account-switcher-remove:hover{color:var(--danger)}.account-switcher-actions{display:flex;flex-direction:column;gap:.35rem;margin-top:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--border)}.account-switcher-link{display:block;padding:.45rem .5rem;border-radius:var(--radius-sm);color:var(--accent);font-weight:500;text-decoration:none}.account-switcher-link:hover{background:var(--color-surface-subtle-hover);text-decoration:none}.account-switcher-footer{display:flex;flex-direction:column;gap:.25rem;margin-top:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--border)}.account-switcher-logout,.account-switcher-logout-all{padding:.45rem .5rem;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);text-align:left;cursor:pointer}.account-switcher-logout:hover,.account-switcher-logout-all:hover{background:var(--color-surface-subtle-hover);color:var(--text)}.account-switcher--inline{width:100%}.account-switcher--inline .account-switcher-actions{margin-top:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--color-border-subtle)}.account-switcher--inline .account-switcher-link{padding:.65rem var(--space-sm)}.brand-logo-link{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none}.brand-logo-link:hover{text-decoration:none;opacity:.88}.brand-logo{display:block;object-fit:contain}.brand-logo-logo{filter:var(--logo-filter, none)}.brand-logo-nav.brand-logo-logo{height:1.75rem;width:auto}.brand-logo-nav.brand-logo-icon{height:1.75rem;width:1.75rem}.brand-logo-auth.brand-logo-logo{height:2.5rem;width:auto;margin:0 auto var(--space-sm)}.brand-logo-auth.brand-logo-icon{height:3rem;width:3rem;margin:0 auto var(--space-sm)}.brand-logo-inline.brand-logo-logo{height:1.25rem;width:auto;vertical-align:middle}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);min-width:var(--touch-min);border-radius:var(--radius-full);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);flex-shrink:0}.theme-toggle:hover{background:var(--color-surface-hover);color:var(--color-text)}.theme-toggle svg{display:block;width:20px;height:20px}.theme-toggle-auth{position:fixed;top:calc(env(safe-area-inset-top,0px) + var(--space-md));right:var(--space-md);z-index:var(--z-nav)}.mobile-nav-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--color-overlay);z-index:var(--z-overlay);border:none;padding:0;cursor:pointer;pointer-events:auto}.mobile-nav-sheet{position:fixed;left:0;right:0;bottom:var(--mobile-bottom-nav-block);z-index:calc(var(--z-overlay) + 1);background:var(--color-surface);border-radius:var(--radius) var(--radius) 0 0;max-height:min(75dvh,calc(100dvh - var(--mobile-header-block) - var(--mobile-bottom-nav-block) - var(--space-md)));display:flex;flex-direction:column;animation:mobile-nav-sheet-up var(--transition-slow) ease-out;box-shadow:0 -8px 32px var(--color-shadow);pointer-events:auto}@keyframes mobile-nav-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.mobile-nav-sheet-handle{width:40px;height:4px;background:var(--color-border);border-radius:var(--radius-full);margin:var(--space-sm) auto 0;flex-shrink:0}.mobile-nav-sheet-header{display:flex;align-items:center;justify-content:center;padding:var(--space-md) 48px;border-bottom:1px solid var(--color-border);position:relative;flex-shrink:0}.mobile-nav-sheet-header h2{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold)}.mobile-nav-sheet-close{position:absolute;right:var(--space-md);top:50%;transform:translateY(-50%);width:36px;height:36px;font-size:1.5rem;color:var(--color-text-muted);display:flex;align-items:center;justify-content:center}.mobile-nav-sheet-body{flex:1;overflow-y:auto;padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-md)}.mobile-nav-sheet-profile{display:flex;align-items:center;gap:var(--space-md);width:100%;padding:var(--space-sm);border:none;border-radius:var(--radius-sm);background:none;font:inherit;color:var(--color-text);text-align:left;cursor:pointer}.mobile-nav-sheet-profile:hover{background:var(--color-surface-hover)}.mobile-nav-sheet-profile .avatar,.mobile-nav-sheet-profile .avatar-placeholder{width:48px;height:48px;min-width:48px;min-height:48px}.mobile-nav-sheet-profile .avatar-placeholder{line-height:48px;font-size:var(--font-size-lg)}.mobile-nav-sheet-profile-text{display:flex;flex-direction:column;min-width:0}.mobile-nav-sheet-profile-name{font-weight:var(--font-weight-semibold);font-size:var(--font-size-lg)}.mobile-nav-sheet-profile-handle{font-size:var(--font-size-md);color:var(--color-text-muted)}.mobile-nav-sheet-links{display:flex;flex-direction:column;gap:.15rem}.mobile-nav-sheet-link{display:flex;align-items:center;gap:var(--space-md);width:100%;padding:.75rem var(--space-sm);border:none;border-radius:var(--radius-sm);background:none;font:inherit;color:var(--color-text);text-align:left;font-weight:var(--font-weight-medium);cursor:pointer}.mobile-nav-sheet-link:hover{background:var(--color-surface-hover);color:var(--color-primary)}.mobile-nav-sheet-link-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0}.mobile-nav-sheet-link-icon svg{display:block;width:22px;height:22px}.mobile-nav-sheet-link-label{flex:1}.mobile-nav-sheet-link-badge{background:var(--color-badge);color:var(--color-text-on-primary);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold);padding:2px 6px;border-radius:var(--radius-full);min-width:18px;text-align:center}.mobile-nav-sheet-section{border-top:1px solid var(--color-border-subtle);padding-top:var(--space-md)}.mobile-nav-sheet-section-title{margin:0 0 var(--space-sm);padding:0 var(--space-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.mobile-nav-sheet-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem var(--space-sm);font-weight:var(--font-weight-medium)}.mobile-nav-sheet-logout{display:flex;align-items:center;justify-content:center;gap:var(--space-sm);width:100%;min-height:var(--touch-min);margin-top:auto;padding:.75rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font-weight:var(--font-weight-semibold)}.mobile-nav-sheet-logout:hover{background:var(--color-surface-hover);color:var(--color-text)}.mobile-nav-sheet-logout svg{width:20px;height:20px}.mobile-nav-sheet-logout--all{margin-top:calc(-1 * var(--space-sm));color:var(--color-danger);border-color:transparent;background:transparent}.mobile-nav-sheet-logout--all:hover{background:var(--color-surface-hover);color:var(--color-danger)}.navbar{position:sticky;top:0;z-index:var(--z-nav);background:var(--color-navbar);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--color-navbar-border);padding-top:env(safe-area-inset-top,0px);flex-shrink:0}.navbar-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);height:var(--nav-height);padding:0 var(--mobile-gutter);max-width:var(--wide-max);margin:0 auto;width:100%}.navbar-mobile-actions{display:flex;align-items:center;gap:var(--space-xs);flex-shrink:0}.navbar-mobile-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);flex-shrink:0;border-radius:var(--radius-full);color:var(--color-text-muted);text-decoration:none}.navbar-mobile-icon-btn:hover,.navbar-mobile-icon-btn.active{color:var(--color-text);background:var(--color-surface-hover);text-decoration:none}.navbar-mobile-icon-btn svg{display:block;width:22px;height:22px}.navbar-mobile-icon-badge{position:absolute;top:8px;right:8px;background:var(--color-badge);color:var(--color-text-on-primary);font-size:.55rem;font-weight:var(--font-weight-bold);padding:1px 4px;border-radius:var(--radius-full);min-width:14px;text-align:center;line-height:1.3;pointer-events:none}.navbar-mobile-avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);flex-shrink:0;border-radius:var(--radius-full);text-decoration:none;box-sizing:border-box}.navbar-mobile-avatar.active{box-shadow:inset 0 0 0 2px var(--color-primary)}.navbar-mobile-avatar .avatar,.navbar-mobile-avatar .avatar-placeholder{width:32px;height:32px;min-width:32px;min-height:32px;border-radius:var(--radius-full)}.navbar-mobile-avatar .avatar-placeholder{line-height:32px;font-size:.85rem}.navbar-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);min-height:var(--nav-height);padding-bottom:var(--space-sm);overflow:visible}.navbar-links{display:none;gap:var(--space-lg)}.navbar-links a{color:var(--color-text-muted);font-weight:var(--font-weight-medium);text-decoration:none;padding:.35rem 0}.navbar-links a:hover,.navbar-links a.active{color:var(--color-text);text-decoration:none}.navbar-links a.active{font-weight:var(--font-weight-semibold);color:var(--color-primary)}.notif-link{position:relative}.badge{position:absolute;top:-6px;right:-10px;background:var(--color-badge);color:var(--color-text-on-primary);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold);padding:2px 5px;border-radius:var(--radius-full);min-width:16px;text-align:center;line-height:1.2}.navbar-user{display:flex;align-items:center;gap:.35rem;flex-shrink:0;overflow:visible}.user-chip{display:flex;align-items:center;gap:var(--space-sm);color:var(--color-text);text-decoration:none;padding:.15rem}.user-chip:hover{text-decoration:none}.user-chip .avatar,.user-chip .avatar-placeholder{width:36px;height:36px;min-width:36px;min-height:36px}.user-chip .avatar-placeholder{line-height:36px;font-size:.9rem}.user-chip-text{display:flex;flex-direction:column;line-height:1.2;min-width:0}.user-chip-name{font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-chip-handle{font-size:var(--font-size-sm);color:var(--color-text-muted)}.navbar-logout{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted)}.navbar-logout:hover{background:var(--color-surface-hover);color:var(--color-text)}.navbar-logout svg{display:block;width:20px;height:20px}.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;min-height:var(--bottom-nav-height);background:var(--color-navbar-solid);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--color-border-subtle);align-items:stretch;padding:.3rem var(--mobile-gutter) calc(.3rem + env(safe-area-inset-bottom,0px));z-index:var(--z-nav)}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-width:0;min-height:100%;color:var(--color-nav-tab);font-weight:var(--font-weight-medium);text-decoration:none;padding:.15rem 0;border-radius:var(--radius-sm);position:relative;-webkit-tap-highlight-color:transparent}.mobile-nav-item:hover{text-decoration:none;color:var(--color-nav-tab-active)}.mobile-nav-item.active{color:var(--color-nav-tab-active)}.mobile-nav-more{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:none;background:none;font:inherit;cursor:pointer;width:100%;text-align:center;color:var(--color-nav-tab)}.mobile-nav-more:hover,.mobile-nav-more.active{color:var(--color-nav-tab-active)}.mobile-nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0}.mobile-nav-icon svg{display:block;width:22px;height:22px}.mobile-nav-label{font-size:var(--font-size-xs);line-height:1.15;text-align:center;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-nav-badge{position:absolute;top:-2px;right:-6px;background:var(--color-badge);color:var(--color-text-on-primary);font-size:.55rem;font-weight:var(--font-weight-bold);padding:1px 4px;border-radius:var(--radius-full);min-width:14px;text-align:center;line-height:1.3;pointer-events:none}@media (max-width: 767px){.app-layout--authenticated .navbar{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:none;pointer-events:none}.app-layout--authenticated .navbar-mobile-head{pointer-events:auto;background:var(--color-navbar);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--color-navbar-border)}.app-layout--authenticated .mobile-nav{pointer-events:auto;background:var(--color-navbar-solid);border-top:1px solid var(--color-navbar-border)}.app-layout--authenticated .mobile-nav--behind-sheet{pointer-events:none}}@media (min-width: 768px){.navbar{padding-top:env(safe-area-inset-top,0px)}.navbar-inner{padding-bottom:0}.navbar-links{display:flex}.mobile-nav{display:none}.navbar-user{gap:var(--space-sm)}.user-chip .avatar,.user-chip .avatar-placeholder{width:var(--avatar-size-md);height:var(--avatar-size-md);min-width:var(--avatar-size-md);min-height:var(--avatar-size-md)}.user-chip .avatar-placeholder{line-height:var(--avatar-size-md);font-size:var(--font-size-lg)}}.site-footer{margin-top:auto;padding:var(--space-lg) var(--space-md);padding-bottom:calc(var(--space-lg) + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);text-align:center}.site-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-md);margin-bottom:var(--space-sm)}.site-footer-nav a{color:var(--text-muted);font-size:.875rem;text-decoration:none}.site-footer-nav a:hover{color:var(--primary);text-decoration:underline}.site-footer-copy{color:var(--text-muted);font-size:.75rem}.emoji-picker-wrap{position:relative;display:inline-flex}.emoji-picker-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:36px;padding:.35rem .65rem;border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:var(--font-size-md);font-weight:var(--font-weight-medium);background:transparent;border:1px solid transparent}.emoji-picker-trigger:hover:not(:disabled){color:var(--color-text);background:var(--color-surface-hover);border-color:var(--color-border)}.emoji-picker-trigger:disabled{opacity:.5;cursor:not-allowed}.emoji-picker-trigger-text{line-height:1}.emoji-picker-panel{width:min(18.5rem,calc(100vw - 2rem));max-height:16rem;overflow-y:auto;padding:var(--space-sm);border-radius:var(--radius);background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-dropdown);-webkit-overflow-scrolling:touch}.emoji-picker-panel--portal{position:fixed;z-index:var(--z-modal);margin:0}.emoji-picker-group+.emoji-picker-group{margin-top:var(--space-sm)}.emoji-picker-group-label{margin:0 0 .25rem;padding:0 .15rem;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted)}.emoji-picker-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.15rem}.emoji-picker-item{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:var(--radius-sm);font-size:1.2rem;line-height:1;background:transparent}.emoji-picker-item:hover{background:var(--color-surface-hover)}.emoji-picker-wrap--icon-only .emoji-picker-trigger-text{display:none}.emoji-picker-wrap--icon-only .emoji-picker-trigger{min-width:36px;padding-inline:.35rem}.gif-picker-wrap{position:relative;display:inline-flex}.gif-picker-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.35rem}.gif-picker-panel{width:min(20rem,calc(100vw - 2rem));max-height:18rem}.gif-picker-search-wrap{margin-bottom:var(--space-sm)}.gif-picker-search{width:100%;min-height:36px;padding:.5rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text);font:inherit}.gif-picker-search:focus{outline:2px solid var(--color-primary);outline-offset:0}.gif-picker-status{margin:0;padding:var(--space-md) var(--space-sm);text-align:center;font-size:var(--font-size-md);color:var(--color-text-muted)}.gif-picker-status--error{color:var(--color-danger)}.gif-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-xs)}.gif-picker-item{display:flex;align-items:center;justify-content:center;aspect-ratio:1;padding:0;border-radius:var(--radius-sm);background:var(--color-surface-hover);border:1px solid var(--color-border);overflow:hidden}.gif-picker-item:hover:not(:disabled){border-color:var(--color-primary)}.gif-picker-item img{width:100%;height:100%;object-fit:cover;pointer-events:none}.gif-picker-item:disabled{opacity:.6;cursor:wait}.gif-picker-credit{margin:var(--space-sm) 0 0;font-size:var(--font-size-xs);color:var(--color-text-muted);text-align:right}@media (max-width: 480px){.emoji-picker-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.gif-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.composer-tool-group{display:inline-flex;align-items:center;gap:.125rem;flex-shrink:0}.composer-tool-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:36px;min-height:36px;padding:.35rem .65rem;border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:var(--font-size-md);font-weight:var(--font-weight-medium);background:transparent;border:1px solid transparent;cursor:pointer}.composer-tool-btn:hover:not(:disabled){color:var(--color-text);background:var(--color-surface-hover);border-color:var(--color-border)}.composer-tool-btn:disabled{opacity:.5;cursor:not-allowed}.composer-tool-btn--icon-only{padding-inline:.35rem}.composer-tool-btn--icon-only .composer-tool-btn-text{display:none}.composer-tool-group .emoji-picker-trigger,.composer-tool-group .gif-picker-trigger{min-width:36px;min-height:36px;padding-inline:.35rem}.composer-tool-group .emoji-picker-trigger-text,.composer-tool-group .gif-picker-trigger-text{display:none}.create-post{margin-bottom:var(--space-lg)}.create-post textarea{width:100%;padding:var(--space-sm) 0;border:none;background:transparent;color:var(--text);resize:vertical;min-height:4.5rem;margin-bottom:var(--space-sm);font-size:1rem}.create-post textarea:focus{outline:none}.create-actions{display:flex;flex-direction:column;gap:var(--space-sm)}.create-actions-row{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:var(--space-sm)}.create-actions-row .composer-tool-group .file-label{min-height:36px;padding:.35rem .65rem}.file-label{cursor:pointer;min-height:var(--touch-min);display:inline-flex;align-items:center}.create-preview{border-radius:var(--radius-sm);margin-bottom:var(--space-sm);width:100%}.create-preview-image{max-height:200px;object-fit:cover}.create-preview-video-wrap{aspect-ratio:9 / 16;max-width:min(100%,280px);margin:0 auto var(--space-sm);background:var(--color-media-bg);border-radius:var(--radius-sm);overflow:hidden}.create-preview-video{width:100%;height:100%;object-fit:cover;display:block}.create-aspect-hint{color:var(--text-muted);font-size:.875rem;margin:0 0 var(--space-sm)}@media (min-width: 640px){.create-actions{flex-direction:row;justify-content:space-between;align-items:center}.create-preview-image{max-height:240px}}.follow-btn-icon{width:22px;height:22px;border-radius:50%;background:var(--color-primary);color:var(--color-text-on-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);line-height:1;display:flex;align-items:center;justify-content:center;border:2px solid var(--color-avatar-ring);box-shadow:0 2px 6px var(--color-shadow-elevated)}.follow-btn-icon.following{background:var(--color-surface);color:var(--color-text);font-size:.7rem}.follow-btn-icon:disabled{opacity:.6}.follow-btn-shorts{width:24px;height:24px;border-radius:50%;background:var(--color-shorts-subscribe);color:#fff;display:flex;align-items:center;justify-content:center;border:2px solid #ffffff;box-shadow:0 2px 8px #00000059;flex-shrink:0;transition:transform var(--transition-fast),opacity var(--transition-normal)}.follow-btn-shorts:hover:not(:disabled){transform:scale(1.08)}.follow-btn-shorts:active:not(:disabled){transform:scale(.95)}.follow-btn-shorts:disabled{opacity:.65}.follow-btn-shorts svg{display:block}.follow-btn-caption{flex-shrink:0;padding:.2rem .7rem;border-radius:var(--radius-full);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);line-height:1.25;border:1.5px solid #ffffff;background:transparent;color:#fff;min-height:unset;text-shadow:none;box-shadow:0 1px 4px #00000040;transition:background var(--transition-normal),border-color var(--transition-normal)}.follow-btn-caption:hover:not(:disabled){background:#ffffff1f}.follow-btn-caption.following{background:#ffffff2e;border-color:#ffffff8c;color:#fffffff2;font-weight:var(--font-weight-semibold)}.follow-btn-caption:disabled{opacity:.65}.confirm-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:var(--color-overlay-heavy);display:flex;align-items:flex-end;justify-content:center;padding:0;animation:confirm-fade-in .15s ease-out}.confirm-modal{width:100%;max-width:100%;border-radius:var(--radius) var(--radius) 0 0;padding:var(--space-lg) var(--space-md);padding-bottom:calc(var(--space-lg) + env(safe-area-inset-bottom,0px));animation:confirm-slide-up .2s ease-out}.confirm-modal-title{font-size:1.125rem;font-weight:700;margin-bottom:var(--space-sm);line-height:1.3}.confirm-modal-message{color:var(--text-muted);font-size:.9375rem;margin-bottom:var(--space-lg);line-height:1.5}.confirm-modal-error{color:var(--danger);font-size:.875rem;margin-bottom:var(--space-md)}.confirm-modal-actions{display:flex;flex-direction:column-reverse;gap:var(--space-sm)}.confirm-modal-actions .btn{width:100%;min-height:var(--touch-min)}@keyframes confirm-fade-in{0%{opacity:0}to{opacity:1}}@keyframes confirm-slide-up{0%{transform:translateY(1rem);opacity:0}to{transform:translateY(0);opacity:1}}@media (min-width: 640px){.confirm-modal-overlay{align-items:center;padding:var(--space-md)}.confirm-modal{width:min(380px,100%);border-radius:var(--radius);padding:var(--space-lg);animation:confirm-scale-in .2s ease-out}.confirm-modal-actions{flex-direction:row;justify-content:flex-end}.confirm-modal-actions .btn{width:auto;min-width:6rem}}@keyframes confirm-scale-in{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}.reaction-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.4rem}.reaction-bar--compact{margin-top:.25rem}.engagement-rail{display:flex;flex-direction:column;gap:.3rem;margin-top:.2rem}.engagement-rail--end{align-items:flex-end}.engagement-rail--start{align-items:flex-start}.engagement-rail-actions{display:flex;align-items:center;gap:.15rem;padding:.1rem;border-radius:999px;border:1px solid transparent;opacity:0;transform:translateY(2px);transition:opacity .15s ease,transform .15s ease,border-color .15s ease,background .15s ease}@media (hover: hover) and (pointer: fine){.chat-message-wrap:hover .engagement-rail-actions,.comment-bubble:hover .engagement-rail-actions,.engagement-rail-actions:focus-within{opacity:1;transform:translateY(0);border-color:var(--border);background:var(--surface);box-shadow:var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .06))}}@media (hover: none),(pointer: coarse){.engagement-rail-actions{opacity:1;transform:none;border-color:var(--border);background:var(--surface)}}.engagement-rail-btn{font-size:.75rem;font-weight:600;color:var(--text-muted);padding:.3rem .55rem;min-height:unset;border-radius:999px}.engagement-rail-btn:hover{color:var(--primary);background:var(--surface-hover)}.reaction-picker-wrap{position:relative;display:inline-flex}.reaction-trigger{display:inline-flex;align-items:center;justify-content:center;width:1.85rem;height:1.85rem;border-radius:999px;border:none;background:transparent;color:var(--text-muted);min-height:unset;padding:0;transition:color .15s ease,background .15s ease,transform .12s ease}.reaction-trigger:hover,.reaction-trigger--open{color:var(--primary);background:var(--surface-hover)}.reaction-trigger--active{color:var(--primary)}.reaction-trigger-emoji{font-size:1rem;line-height:1}.reaction-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem}.reaction-chip{display:inline-flex;align-items:center;gap:.2rem;padding:.15rem .45rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.75rem;line-height:1.2;min-height:unset}.reaction-chip--mine{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--surface))}.reaction-chip-emoji{font-size:.9rem;line-height:1}.reaction-chip-count{font-weight:600;color:var(--text-muted)}.reaction-picker{display:flex;gap:.15rem;padding:.4rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md, 0 8px 24px rgba(0, 0, 0, .12));animation:reaction-picker-in .16s ease}.reaction-picker--portal{position:fixed;z-index:var(--z-modal, 100);animation:reaction-picker-fade .16s ease}@keyframes reaction-picker-in{0%{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes reaction-picker-fade{0%{opacity:0}to{opacity:1}}.reaction-picker-item{width:2.15rem;height:2.15rem;border-radius:999px;font-size:1.2rem;line-height:1;min-height:unset;padding:0;background:transparent;transition:transform .12s ease,background .12s ease}.reaction-picker-item:hover{transform:scale(1.15);background:var(--surface-hover)}.reaction-picker-item--active{background:color-mix(in srgb,var(--primary) 14%,var(--surface))}.reply-preview{display:flex;align-items:center;gap:var(--space-sm);padding:.55rem .75rem;border-bottom:1px solid var(--border);background:var(--color-overlay-muted, var(--surface-hover))}.reply-preview-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}.reply-preview-label{font-size:.75rem;font-weight:600;color:var(--primary)}.reply-preview-text{font-size:.8rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reply-preview-cancel{flex-shrink:0;width:1.5rem;height:1.5rem;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:1rem;line-height:1;min-height:unset;padding:0}.reply-quote{display:flex;align-items:stretch;gap:.45rem;width:100%;margin-bottom:.35rem;padding:.35rem .45rem;border-radius:var(--radius-sm);background:var(--color-overlay-muted, rgba(0, 0, 0, .06));text-align:left;min-height:unset}.reply-quote:disabled{cursor:default}.reply-quote-bar{width:3px;border-radius:999px;background:var(--primary);flex-shrink:0}.reply-quote-text{font-size:.78rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-bubble.mine .reply-quote{background:#ffffff26}.chat-bubble.mine .reply-quote-text{color:#ffffffd9}.chat-bubble.mine .reply-quote-bar{background:#fffc}.comment-row--reply{margin-left:2rem}.comment-row--reply .comment-bubble{border-style:dashed}.chat-bubble-footer{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem}.chat-row.mine .chat-bubble-footer{align-items:flex-end}.chat-row.mine .engagement-rail-actions{background:var(--surface)}.chat-row.mine .engagement-rail-btn{color:var(--text-muted)}.chat-row.mine .engagement-rail-btn:hover{color:var(--primary);background:var(--surface-hover)}.chat-row.mine .reaction-trigger{color:var(--text-muted)}.chat-row.mine .reaction-trigger:hover,.chat-row.mine .reaction-trigger--open,.chat-row.mine .reaction-trigger--active{color:var(--primary);background:var(--surface-hover)}.chat-row.mine .reaction-chip{background:color-mix(in srgb,var(--primary) 10%,var(--surface));border-color:color-mix(in srgb,var(--primary) 25%,var(--border))}.chat-row.mine .reaction-chip--mine{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 16%,var(--surface))}.comments-section{margin-top:var(--space-md);padding-top:var(--space-md);border-top:1px solid var(--border)}.comments-section--sheet{margin-top:0;padding-top:0;border-top:none;display:flex;flex-direction:column;min-height:100%}.comments-heading{display:flex;align-items:center;gap:var(--space-sm);font-size:.95rem;font-weight:600;margin-bottom:var(--space-md);color:var(--text)}.comments-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .4rem;border-radius:999px;background:var(--surface-hover);color:var(--text-muted);font-size:.75rem;font-weight:600}.comments-empty,.comments-loading{text-align:center;color:var(--text-muted);font-size:.875rem;padding:var(--space-md) var(--space-sm)}.comment-composer{margin-bottom:var(--space-lg)}.comment-composer-row{display:flex;align-items:flex-start;gap:var(--space-sm)}.comment-composer-avatar{flex-shrink:0;margin-top:.15rem}.comment-composer-body{flex:1;min-width:0;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.comment-composer-body textarea{width:100%;min-height:4.5rem;padding:.75rem;border:none;background:transparent;color:var(--text);resize:vertical;line-height:1.45}.comment-composer-body textarea:focus{outline:none}.comment-composer-body:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.comment-attachment-preview{position:relative;display:inline-block;margin:0 .75rem .5rem}.comment-attachment-preview img{width:88px;height:88px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--border)}.comment-attachment-remove{position:absolute;top:-.35rem;right:-.35rem;width:1.35rem;height:1.35rem;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center}.comment-composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);padding:.5rem .75rem;border-top:1px solid var(--border);background:var(--color-overlay-muted)}.comment-toolbar-btn{cursor:pointer}.comment-submit-btn{min-height:2rem;padding:.35rem .85rem}.comment-submit-error{color:var(--danger);font-size:.8rem;padding:0 .75rem .65rem}.comments-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-md)}.comment-row{display:flex;align-items:flex-start;gap:var(--space-sm)}.comment-row-avatar{flex-shrink:0;text-decoration:none}.comment-bubble{flex:1;min-width:0;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:.65rem .75rem}.comment-bubble-editing{padding:.75rem}.comment-bubble-header{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .5rem;margin-bottom:.25rem}.comment-author-name{font-weight:600;font-size:.875rem;color:var(--text);text-decoration:none}.comment-author-handle{font-size:.75rem;color:var(--text-muted)}.comment-author-name:hover{color:var(--primary);text-decoration:none}.comment-time{font-size:.75rem;color:var(--text-muted)}.comment-text{font-size:.9rem;line-height:1.45;color:var(--text);white-space:pre-wrap;word-break:break-word;margin:0}.comment-image{display:block;max-width:min(100%,240px);max-height:240px;margin-top:.5rem;border-radius:var(--radius-sm);object-fit:cover;border:1px solid var(--border)}.comment-image-attached{margin-top:0;margin-bottom:.5rem;opacity:.85}.comment-bubble-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.5rem;padding-top:.45rem;border-top:1px solid var(--border)}.comment-bubble-actions button{font-size:.75rem;font-weight:500;color:var(--text-muted);padding:0;min-height:unset}.comment-bubble-actions button:hover{color:var(--primary);text-decoration:underline}.comment-bubble-actions .comment-action-danger:hover{color:var(--danger)}.comment-edit{width:100%}.comment-edit textarea{width:100%;padding:.65rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;min-height:3.5rem;resize:vertical;margin-bottom:var(--space-sm)}.comment-edit textarea:focus{outline:2px solid var(--primary);outline-offset:0}.comment-edit-error{color:var(--danger);font-size:.8rem;margin-bottom:var(--space-sm)}.comment-edit-actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}.post-card{margin-bottom:var(--space-md)}.post-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:var(--space-sm);margin-bottom:var(--space-sm)}.post-author{display:flex;gap:var(--space-sm);align-items:center;color:var(--text);text-decoration:none;flex:1;min-width:0}.post-author:hover{text-decoration:none}.post-author strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-author-handle{display:block;font-size:.8rem;font-weight:500;color:var(--text-muted)}.post-time{display:block;font-size:.8rem;color:var(--text-muted)}.post-actions{display:flex;flex-wrap:wrap;gap:var(--space-sm);width:100%}.post-content{white-space:pre-wrap;margin-bottom:var(--space-sm);word-break:break-word}.post-image{border-radius:var(--radius-sm);margin-bottom:var(--space-sm);max-height:360px;object-fit:cover;width:100%}.post-video-wrap{aspect-ratio:9 / 16;max-width:min(100%,360px);margin:0 auto var(--space-sm);background:var(--color-media-bg);border-radius:var(--radius-sm);overflow:hidden}.post-video{width:100%;height:100%;object-fit:cover;display:block}.post-views{font-size:var(--font-size-sm);color:var(--text-muted);margin-bottom:var(--space-sm)}.post-footer{display:flex;gap:var(--space-md);padding-top:var(--space-sm);border-top:1px solid var(--border)}.like-btn,.comment-btn,.repost-btn,.share-btn{color:var(--text-muted);font-weight:500;min-height:var(--touch-min);padding:.35rem .5rem;border-radius:var(--radius-sm)}.repost-btn.reposted{color:var(--color-primary)}.share-tip{align-self:center;font-size:var(--font-size-sm);color:var(--color-primary);font-weight:var(--font-weight-medium)}.post-repost-label{font-size:var(--font-size-sm);color:var(--text-muted);margin-bottom:var(--space-sm)}.post-repost-label a{color:var(--text);font-weight:var(--font-weight-semibold);text-decoration:none}.post-repost-quote{margin-bottom:var(--space-sm);font-style:italic}.post-embed{display:block;border:1px solid var(--border);border-radius:var(--radius-sm);padding:var(--space-sm);margin-bottom:var(--space-sm);color:inherit;text-decoration:none}.post-embed:hover{text-decoration:none;background:var(--color-surface-hover)}.post-content-embedded{font-size:var(--font-size-md);margin-bottom:var(--space-xs)}.post-image-embedded{border-radius:var(--radius-sm);max-height:280px;object-fit:cover;width:100%}.like-btn.liked{color:var(--danger)}.edit-form textarea{width:100%;padding:.65rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);margin-bottom:var(--space-sm);min-height:5rem}.edit-actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}@media (min-width: 640px){.post-header{flex-wrap:nowrap}.post-actions{width:auto;flex-shrink:0}.post-image{max-height:480px}}@media (min-width: 768px){.post-card{margin-bottom:var(--space-md)}}.request-error-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md);padding:var(--space-xl) var(--space-md);margin:var(--space-lg) auto;max-width:26rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius)}.request-error-state--compact{padding:var(--space-lg) var(--space-md);margin:var(--space-md) auto}.request-error-state-icon{display:inline-flex;align-items:center;justify-content:center;width:4.5rem;height:4.5rem;border-radius:var(--radius-full);color:var(--color-danger);background:var(--color-network-server-icon-bg)}.request-error-state-icon--offline,.request-error-state-icon--network,.request-error-state-icon--timeout{color:var(--color-network-offline-text);background:var(--color-network-offline-icon-bg)}.request-error-state-icon--rate-limit{color:var(--color-network-warning-text);background:var(--color-network-warning-icon-bg)}.request-error-state-title{font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);color:var(--color-text);margin:0}.request-error-state-message{font-size:var(--font-size-md);line-height:var(--line-height-relaxed);color:var(--color-text-muted);margin:0}.request-error-state-retry{margin-top:var(--space-xs);min-width:8rem}.comment-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--color-overlay);z-index:var(--z-overlay)}.comment-sheet{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--z-overlay) + 1);background:var(--color-surface);border-radius:var(--radius) var(--radius) 0 0;max-height:75dvh;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px);animation:sheet-up var(--transition-slow) ease-out}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.comment-sheet-handle{width:40px;height:4px;background:var(--color-border);border-radius:var(--radius-full);margin:var(--space-sm) auto 0}.comment-sheet-header{display:flex;align-items:center;justify-content:center;padding:var(--space-md) 48px;border-bottom:1px solid var(--color-border);position:relative;flex-shrink:0}.comment-sheet-header h2{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold)}.comment-sheet-close{position:absolute;right:var(--space-md);top:50%;transform:translateY(-50%);width:36px;height:36px;font-size:1.5rem;color:var(--color-text-muted)}.comment-sheet-body{flex:1;overflow-y:auto;padding:var(--space-md)}.reel-card{position:relative;width:100%;height:var(--reels-item-height);flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:always;background:var(--color-reels-stage-bg);overflow:hidden}.reel-card-media{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--color-reels-stage-bg)}.reel-card-video{width:100%;height:100%;object-fit:cover;display:block}.reel-card-play-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:var(--color-overlay-light);pointer-events:none}.reel-card-gradient{position:absolute;left:0;right:0;bottom:0;height:40%;background:linear-gradient(transparent,var(--color-media-gradient-bottom));pointer-events:none}.reel-card-mute{position:absolute;top:calc(env(safe-area-inset-top,0px) + var(--space-md));right:var(--space-md);z-index:2;width:36px;height:36px;border-radius:50%;background:var(--color-media-control-bg);font-size:var(--font-size-lg);display:flex;align-items:center;justify-content:center}.reel-card-rail{position:absolute;right:var(--space-sm);bottom:calc(72px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:18px;z-index:2}.reel-card-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--color-avatar-ring);display:block}.reel-card-avatar-placeholder{display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);color:var(--color-text-on-media);background:linear-gradient(135deg,var(--color-primary),var(--color-accent-secondary))}.reel-card-creator{display:flex;flex-direction:column;align-items:center;margin-bottom:2px}.reel-card-avatar-link{display:block;line-height:0}.reel-card-author-row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-sm);margin-bottom:6px}.reel-card-author{font-weight:var(--font-weight-bold);font-size:var(--font-size-base);color:var(--color-text-on-media);text-decoration:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reel-card-action{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--color-text-on-media);text-shadow:0 1px 4px var(--color-text-shadow-media)}.reel-card-action span{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold)}.reel-card-action-liked{color:var(--color-accent-like)}.reel-card-action-reposted{color:var(--color-primary)}.reel-card-caption{position:absolute;left:var(--space-md);right:72px;bottom:calc(var(--space-md) + env(safe-area-inset-bottom,0px));z-index:2;color:var(--color-text-on-media);text-shadow:0 1px 4px var(--color-text-shadow-media-strong)}.reel-card-desc{font-size:var(--font-size-md);line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;word-break:break-word}.reel-card-views{margin-top:.35rem;font-size:var(--font-size-sm);color:var(--color-text-on-media);opacity:.85;text-shadow:0 1px 4px var(--color-text-shadow-media-strong)}@media (min-width: 768px){.reel-card{border-radius:inherit}.reel-card-mute{top:var(--space-md)}.reel-card-rail{right:var(--space-md);bottom:var(--space-lg)}.reel-card-caption{left:var(--space-md);right:80px;bottom:var(--space-md)}}.reels-page{width:100%;height:var(--reels-viewport-height);background:var(--color-reels-shell-bg);position:relative;display:flex;flex-direction:column;min-height:0}.reels-shell{width:100%;height:100%;min-height:0;flex:1}.reels-feed{width:100%;height:100%;overflow-y:scroll;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none;background:var(--color-reels-feed-bg)}.reels-feed::-webkit-scrollbar{display:none}.reels-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-sm);padding:var(--space-lg);text-align:center;color:var(--color-text);background:var(--color-reels-feed-bg)}.reels-empty-sub{font-size:var(--font-size-md);max-width:280px;color:var(--color-text-muted)}.reels-loader{width:32px;height:32px;border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:reels-spin .8s linear infinite}@keyframes reels-spin{to{transform:rotate(360deg)}}.reels-loading-more{text-align:center;padding:var(--space-md);color:var(--color-text-muted);font-size:var(--font-size-md);scroll-snap-align:none;background:var(--color-reels-feed-bg)}@media (min-width: 768px){.reels-page{--reels-phone-height: min( calc(420px * 16 / 9), calc(100dvh - var(--nav-height) - var(--space-lg) * 2) );--reels-phone-width: calc(var(--reels-phone-height) * 9 / 16);--reels-viewport-height: var(--reels-phone-height);--reels-item-height: var(--reels-phone-height);flex:1;align-items:center;justify-content:center;height:auto;min-height:0;padding:var(--space-lg);background:var(--color-reels-desktop-canvas)}.reels-shell{width:var(--reels-phone-width);height:var(--reels-phone-height);flex:0 0 auto;border-radius:var(--radius);overflow:hidden;background:var(--color-reels-stage-bg);box-shadow:0 0 0 1px var(--color-reels-phone-border),var(--shadow-reels-phone)}.reels-feed,.reels-empty{border-radius:inherit}.reels-empty{color:var(--color-text-on-media);background:var(--color-reels-stage-bg)}.reels-empty-sub{color:var(--color-reels-empty-sub)}.reels-loading-more{color:var(--color-reels-loading-text);background:var(--color-reels-stage-bg)}}.auth-phone-wrap{position:relative;width:min(100%,240px);margin:0 auto var(--space-lg);aspect-ratio:240 / 300}.auth-phone{position:relative;width:68%;margin:0 auto;height:100%;border-radius:28px;padding:8px;background:linear-gradient(145deg,#2a2a35,#111118);border:2px solid rgba(255,255,255,.12);box-shadow:0 24px 48px #00000059,0 0 0 1px #ffffff0f inset}.auth-phone-notch{position:absolute;top:10px;left:50%;transform:translate(-50%);width:36%;height:5px;border-radius:999px;background:#0000008c;z-index:2}.auth-phone-screen{width:100%;height:100%;border-radius:22px;overflow:hidden;background:#000}.auth-phone-reel{position:relative;width:100%;height:100%;background:linear-gradient(160deg,rgba(99,102,241,.55),transparent 45%),linear-gradient(320deg,rgba(168,85,247,.45),transparent 50%),linear-gradient(180deg,#1a1030,#0a0a12)}.auth-phone-reel-gradient{position:absolute;left:0;right:0;bottom:0;height:45%;background:linear-gradient(transparent,#000000bf)}.auth-phone-reel-play{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;opacity:.35}.auth-phone-reel-rail{position:absolute;right:8px;bottom:28%;display:flex;flex-direction:column;gap:8px}.auth-phone-dot{width:10px;height:10px;border-radius:50%;background:#ffffffd9;box-shadow:0 1px 4px #0006}.auth-phone-dot--heart{background:var(--color-accent-like)}.auth-phone-reel-caption{position:absolute;left:10px;right:28px;bottom:12px}.auth-phone-handle{display:inline-block;font-size:.65rem;font-weight:700;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}.auth-phone-float{position:absolute;padding:.35rem .65rem;border-radius:var(--radius-full);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);color:var(--text);background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-card);white-space:nowrap}.auth-phone-float--reels{top:14%;right:-2%;color:var(--primary);border-color:var(--color-primary-subtle-border);background:var(--color-primary-subtle-bg)}.auth-phone-float--chat{left:-4%;top:46%}.auth-phone-float--posts{right:0;bottom:8%;color:var(--color-accent-secondary)}@media (min-width: 640px){.auth-phone-wrap{margin-left:0;margin-right:0}.auth-phone-float--reels{right:-8%}.auth-phone-float--chat{left:-10%}}.auth-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:calc(env(safe-area-inset-top,0px) + var(--touch-min) + var(--space-sm)) var(--space-md) var(--space-md)}.auth-page-register{align-items:flex-start;padding-top:calc(env(safe-area-inset-top,0px) + var(--touch-min) + var(--space-md));padding-bottom:var(--space-xl)}.auth-layout{width:100%;max-width:920px;display:flex;flex-direction:column;align-items:center;gap:var(--space-xl)}.auth-layout--compact{max-width:400px}.auth-hero{width:100%;max-width:440px;text-align:center}.auth-hero .brand-logo{display:block;margin:0 auto var(--space-md)}.auth-hero-badge{display:inline-block;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);letter-spacing:.04em;text-transform:uppercase;color:var(--primary);background:var(--color-primary-subtle-bg);border:1px solid var(--color-primary-subtle-border);border-radius:var(--radius-full);padding:.3rem .75rem;margin-bottom:var(--space-md)}.auth-hero-headline{font-size:clamp(1.5rem,4.5vw,2rem);font-weight:var(--font-weight-bold);line-height:var(--line-height-tight);letter-spacing:-.03em;color:var(--text);margin-bottom:var(--space-xs)}.auth-hero-tagline{font-size:var(--font-size-md);line-height:var(--line-height-normal);color:var(--text-muted);margin-bottom:var(--space-md)}.auth-hero-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm);margin-bottom:var(--space-lg)}@media (min-width: 480px){.auth-hero-features{grid-template-columns:repeat(4,minmax(0,1fr))}}.auth-hero-feature{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:var(--space-sm) .25rem;border-radius:var(--radius);background:var(--color-surface);border:1px solid var(--color-border)}.auth-hero-feature-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--radius-full);background:var(--color-surface-hover);color:var(--text)}.auth-hero-feature--primary .auth-hero-feature-icon{color:var(--primary);background:var(--color-primary-subtle-bg)}.auth-hero-feature--accent .auth-hero-feature-icon{color:var(--color-accent-secondary);background:var(--color-promo-gradient-end)}.auth-hero-feature--success .auth-hero-feature-icon{color:var(--color-success);background:var(--color-success-subtle-bg)}.auth-hero-feature-label{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--text)}.auth-hero-early{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius);text-align:center;background:linear-gradient(135deg,var(--color-promo-gradient-start),var(--color-promo-gradient-end));border:1px solid var(--color-promo-border)}.auth-hero-early-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .75rem;border-radius:var(--radius-full);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);text-transform:uppercase;letter-spacing:.04em;color:var(--primary);background:var(--color-surface);border:1px solid var(--color-promo-border)}.auth-hero-early-chip:before{content:"✦";font-size:.75rem}.auth-hero-early-text{font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);line-height:var(--line-height-normal);color:var(--text);margin:0}.auth-early-note{display:flex;align-items:center;justify-content:center;gap:var(--space-sm);margin-top:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-full);background:var(--color-primary-subtle-bg);border:1px solid var(--color-primary-subtle-border);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);line-height:var(--line-height-normal);color:var(--primary);text-align:center}.auth-early-note:before{content:"✦";flex-shrink:0}.auth-register-cta{margin-top:var(--space-lg);padding:var(--space-md);border-radius:var(--radius);text-align:center;background:linear-gradient(135deg,var(--color-promo-gradient-start),var(--color-promo-gradient-end));border:1px solid var(--color-promo-border)}.auth-register-cta-label{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--primary);margin-bottom:.25rem}.auth-register-cta-text{font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);line-height:var(--line-height-normal);color:var(--text);margin-bottom:var(--space-md)}.auth-register-cta-btn{text-decoration:none}.auth-card{width:100%;max-width:400px}.auth-card-body{width:100%}.auth-card-register{max-width:440px}.auth-header{margin-bottom:var(--space-lg);text-align:center}.auth-brand{display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);background:var(--color-primary-subtle-bg);border:1px solid var(--color-primary-subtle-border);border-radius:999px;padding:.25rem .65rem;margin-bottom:var(--space-sm)}.auth-card h1{font-size:1.35rem;margin-bottom:.25rem;font-weight:600;letter-spacing:-.02em}.auth-sub{color:var(--text-muted);margin-bottom:0;font-size:.925rem;line-height:1.45}.auth-card:not(.auth-card-register) .auth-sub{margin-bottom:var(--space-lg)}.auth-notice{margin-bottom:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-sm);background:var(--color-info-subtle-bg);color:var(--text);font-size:.9375rem;line-height:1.45}.auth-form{display:flex;flex-direction:column}.auth-btn{width:100%;margin-top:var(--space-xs);min-height:var(--touch-min);font-weight:600}.auth-switch{text-align:center;margin-top:var(--space-lg);padding-top:var(--space-lg);border-top:1px solid var(--border);font-size:.9rem;color:var(--text-muted)}.auth-switch a{font-weight:500}.auth-forgot{margin:calc(-1 * var(--space-xs)) 0 var(--space-md);text-align:right;font-size:.875rem}.auth-forgot a{color:var(--text-muted);font-weight:500}.auth-forgot a:hover{color:var(--primary)}.form-section{border:none;margin:0 0 var(--space-md);padding:0;min-width:0}.form-section:last-of-type{margin-bottom:var(--space-sm)}.form-section:disabled{opacity:.72}.form-section-label{display:block;font-size:.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:var(--space-sm);padding:0}.form-group:last-child{margin-bottom:0}.form-group.has-error input{border-color:var(--danger)}.form-group.has-error input:focus{outline-color:var(--danger)}.field-error{color:var(--danger);font-size:.8rem;line-height:1.35;margin-top:.35rem}.form-hint{font-size:.8rem;color:var(--text-muted);margin-top:.35rem;line-height:1.35}.terms-group{margin-bottom:var(--space-md)}.terms-group.has-error .terms-checkbox{color:var(--text)}.terms-checkbox{display:flex;align-items:flex-start;gap:var(--space-sm);font-size:.875rem;color:var(--text-muted);line-height:1.45;cursor:pointer}.terms-checkbox input{margin-top:.2rem;flex-shrink:0;width:1rem;height:1rem;min-height:unset;accent-color:var(--primary)}.terms-group.has-error .terms-checkbox input{outline:1px solid var(--danger);outline-offset:1px}.terms-checkbox a{color:var(--primary);font-weight:500}.form-banner-error{background:var(--color-danger-subtle-bg);border:1px solid var(--color-danger-subtle-border);color:var(--color-danger-text);font-size:.875rem;line-height:1.4;padding:.65rem .85rem;border-radius:var(--radius-sm);margin-bottom:var(--space-md)}.form-banner-error-action a{color:var(--color-danger-text-soft);font-weight:600}@media (min-width: 640px){.auth-page-register{align-items:center;padding-top:calc(env(safe-area-inset-top,0px) + var(--space-md))}.auth-page-login{padding-top:calc(env(safe-area-inset-top,0px) + var(--space-md));padding-bottom:var(--space-md);overflow:hidden}.auth-layout{flex-direction:row;align-items:center;justify-content:center;gap:clamp(var(--space-xl),5vw,3.5rem)}.auth-layout:not(.auth-layout--compact){display:grid;grid-template-columns:minmax(0,1fr) 400px;align-items:stretch;gap:clamp(var(--space-lg),4vw,2.5rem);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - var(--space-md) * 2)}.auth-layout--compact{flex-direction:column;display:flex}.auth-hero{flex:1;max-width:420px;text-align:left}.auth-layout:not(.auth-layout--compact) .auth-hero{display:flex;flex-direction:column;justify-content:flex-start;max-width:none;min-height:0;height:100%;gap:var(--space-lg)}.auth-layout:not(.auth-layout--compact) .auth-hero-intro{flex-shrink:0}.auth-layout:not(.auth-layout--compact) .auth-hero-visual{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}.auth-hero .brand-logo{margin-left:0;margin-right:auto}.auth-layout:not(.auth-layout--compact) .auth-hero .brand-logo{margin-bottom:var(--space-sm)}.auth-layout:not(.auth-layout--compact) .auth-hero-badge{margin-bottom:var(--space-sm)}.auth-layout:not(.auth-layout--compact) .auth-hero-headline{font-size:clamp(1.35rem,2.2vw,1.65rem)}.auth-layout:not(.auth-layout--compact) .auth-hero-tagline{margin-bottom:var(--space-sm);font-size:var(--font-size-sm)}.auth-layout:not(.auth-layout--compact) .auth-phone-wrap{width:clamp(140px,20vh,176px);margin-bottom:var(--space-sm)}.auth-layout:not(.auth-layout--compact) .auth-hero-features{margin-bottom:0;gap:var(--space-xs)}.auth-layout:not(.auth-layout--compact) .auth-hero-early{flex-shrink:0;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:var(--space-sm);padding:var(--space-sm) var(--space-md)}.auth-layout:not(.auth-layout--compact) .auth-hero-early-text{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);text-align:left}.auth-card{flex:0 0 400px}.auth-layout:not(.auth-layout--compact) .auth-hero-feature{padding:var(--space-xs) .2rem}.auth-layout:not(.auth-layout--compact) .auth-hero-feature-icon{width:2.1rem;height:2.1rem}.auth-layout:not(.auth-layout--compact) .auth-card{display:flex;flex-direction:column;justify-content:flex-start;align-self:stretch;min-height:0;height:100%;gap:var(--space-lg)}.auth-layout:not(.auth-layout--compact) .auth-card-body{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}.auth-layout:not(.auth-layout--compact) .auth-header{margin-bottom:var(--space-md)}.auth-layout:not(.auth-layout--compact) .auth-register-cta{margin-top:0;flex-shrink:0;padding:var(--space-sm) var(--space-md)}.auth-layout:not(.auth-layout--compact) .auth-register-cta-text{margin-bottom:var(--space-sm)}.auth-card-register{padding:var(--space-lg)}.auth-card h1{font-size:1.5rem}}@media (min-width: 640px) and (max-height: 720px){.auth-layout:not(.auth-layout--compact) .auth-hero-headline{font-size:1.25rem}.auth-layout:not(.auth-layout--compact) .auth-phone-wrap{width:clamp(120px,18vh,150px)}.auth-layout:not(.auth-layout--compact) .auth-hero-feature-label{font-size:.7rem}.auth-layout:not(.auth-layout--compact) .auth-header{margin-bottom:var(--space-sm)}.auth-layout:not(.auth-layout--compact) .form-group{margin-bottom:var(--space-sm)}.auth-layout:not(.auth-layout--compact) .auth-hero-early{padding:var(--space-xs) var(--space-sm);gap:var(--space-xs)}.auth-layout:not(.auth-layout--compact) .auth-hero-early-text{font-size:.75rem}.auth-layout:not(.auth-layout--compact) .auth-register-cta{padding:var(--space-xs) var(--space-sm)}.auth-layout:not(.auth-layout--compact) .auth-register-cta-text{font-size:var(--font-size-sm);margin-bottom:var(--space-xs)}}.register-handle-field{display:flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);overflow:hidden;margin-bottom:.35rem}.register-handle-field .profile-username-prefix{padding:.65rem 0 .65rem .75rem;color:var(--text-muted);font-weight:500}.register-handle-field input{flex:1;min-width:0;border:none;background:transparent;color:var(--text);font:inherit;padding:.65rem .75rem .65rem 0;min-height:var(--touch-min)}.register-handle-field input:focus{outline:none}.form-group.has-error .register-handle-field{border-color:var(--danger)}.register-handle-field:focus-within{outline:2px solid var(--primary);outline-offset:0}.form-group.has-error .register-handle-field:focus-within{outline-color:var(--danger)}.account-picker-list{list-style:none;margin:0 0 var(--space-md);padding:0;display:flex;flex-direction:column;gap:var(--space-sm)}.account-picker-item{display:flex;align-items:center;gap:var(--space-sm);width:100%;padding:var(--space-sm);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);cursor:pointer;text-align:left}.account-picker-item:hover{border-color:var(--accent)}.account-picker-text{display:flex;flex-direction:column;min-width:0}.account-picker-name{font-weight:600}.account-picker-handle{font-size:.875rem;color:var(--text-muted)}.account-picker-deleted{color:var(--accent);font-weight:500}.birth-date-input{width:100%}.birth-date-fields{display:grid;grid-template-columns:.9fr 1.4fr .7fr;gap:var(--space-sm)}.birth-date-field{min-width:0}.birth-date-sublabel{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:.25rem}.birth-date-field select{width:100%;min-height:var(--touch-min);padding:.65rem 2rem .65rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa3b5' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center}.birth-date-field select:focus{outline:2px solid var(--primary);outline-offset:0}.birth-date-field select:disabled{opacity:.55;cursor:not-allowed}.birth-date-input.has-error .birth-date-field select{border-color:var(--danger)}.birth-date-input.has-error .birth-date-field select:focus{outline-color:var(--danger)}.birth-date-field select option{background:var(--surface);color:var(--text)}@media (max-width: 380px){.birth-date-fields{grid-template-columns:1fr}}.follow-list-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--color-overlay-heavy);display:flex;align-items:flex-end;justify-content:center;z-index:200;padding:0}.follow-list-modal{width:100%;max-height:85dvh;border-radius:var(--radius) var(--radius) 0 0;display:flex;flex-direction:column;padding:var(--space-md);padding-bottom:calc(var(--space-md) + env(safe-area-inset-bottom,0px))}.follow-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-md)}.follow-list-close{font-size:1.5rem;color:var(--text-muted);line-height:1;min-width:var(--touch-min);min-height:var(--touch-min);display:inline-flex;align-items:center;justify-content:center}.follow-list{list-style:none;overflow-y:auto;-webkit-overflow-scrolling:touch}.follow-list-user{display:flex;gap:var(--space-sm);align-items:center;padding:var(--space-sm) 0;min-height:var(--touch-min);border-top:1px solid var(--border);color:var(--text);text-decoration:none}.follow-list-user div{min-width:0}.follow-list-user strong{display:block}.follow-list-handle{display:block;font-size:.8rem;color:var(--text-muted);font-weight:500}.follow-list-user span{display:block;font-size:.85rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 640px){.follow-list-overlay{align-items:center;padding:var(--space-md)}.follow-list-modal{width:min(400px,100%);max-height:70vh;border-radius:var(--radius);padding-bottom:var(--space-md)}}.profile-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md);margin-bottom:var(--space-xl)}.profile-avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm)}.profile-info{width:100%}.profile-info h1,.profile-name{font-size:1.35rem;margin-bottom:.15rem;word-break:break-word;font-weight:600;letter-spacing:-.02em}.profile-handle{color:var(--text-muted);font-size:.95rem;margin-bottom:var(--space-sm)}.profile-bio{color:var(--text-muted);margin-bottom:var(--space-md);word-break:break-word}.profile-stats{display:flex;justify-content:center;gap:var(--space-lg);margin-bottom:var(--space-sm)}.stat-btn{background:none;border:none;color:var(--text-muted);font-size:.9rem;cursor:pointer;padding:var(--space-sm);min-height:var(--touch-min)}.stat-btn strong{color:var(--text);margin-right:.25rem}.stat-btn:hover{text-decoration:underline}.profile-actions{display:flex;justify-content:center;gap:var(--space-sm);flex-wrap:wrap}.bio-edit textarea{width:100%;padding:.5rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);margin-bottom:var(--space-sm);min-height:5rem}.bio-edit .btn{margin-right:var(--space-sm);margin-bottom:var(--space-sm)}.profile-edit{width:100%;margin-bottom:var(--space-md);text-align:left}.profile-edit-label{display:block;font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:.35rem}.profile-name-input{width:100%;min-height:var(--touch-min);padding:.65rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);margin-bottom:.25rem}.profile-name-input:focus{outline:2px solid var(--primary);outline-offset:0}.profile-edit-hint{font-size:.75rem;color:var(--text-muted);margin-bottom:var(--space-md);line-height:1.35}.profile-username-field{display:flex;align-items:center;margin-bottom:.25rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);overflow:hidden}.profile-username-prefix{padding:.65rem 0 .65rem .75rem;color:var(--text-muted);font-weight:500}.profile-username-field input{flex:1;min-width:0;border:none;background:transparent;color:var(--text);font:inherit;padding:.65rem .75rem .65rem 0;min-height:var(--touch-min)}.profile-username-field input:focus{outline:none}.profile-username-field:focus-within{outline:2px solid var(--primary);outline-offset:0}.profile-edit textarea{width:100%;padding:.65rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text);margin-bottom:var(--space-sm);min-height:5rem;resize:vertical}.profile-edit textarea:focus{outline:2px solid var(--primary);outline-offset:0}.profile-edit-error{color:var(--danger);font-size:.85rem;margin-bottom:var(--space-sm)}.profile-edit-actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}.profile-posts-title{font-size:1.1rem;margin-bottom:var(--space-md)}.profile-posts-tabs{display:flex;gap:0;margin-bottom:var(--space-md);border-bottom:1px solid var(--border)}.profile-posts-tab{flex:1;padding:12px;font-weight:600;font-size:.9375rem;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px}.profile-posts-tab.active{color:var(--text);border-bottom-color:var(--primary)}.avatar-upload{cursor:pointer}.profile-danger{margin-top:var(--space-lg);border-color:var(--color-danger-subtle-border)}.profile-danger-title{font-size:1rem;margin-bottom:var(--space-sm);color:var(--danger)}.profile-danger-text{color:var(--text-muted);font-size:.9375rem;margin-bottom:var(--space-md);line-height:1.5}.btn-danger{background:var(--danger);color:var(--color-text-on-primary);border:none}.btn-danger:hover{filter:brightness(1.08)}.profile-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:var(--space-md);background:var(--color-overlay-heavy)}.profile-modal{width:min(100%,24rem);padding:var(--space-lg)}.profile-modal h2{margin-bottom:var(--space-sm);font-size:1.125rem}.profile-modal-text{color:var(--text-muted);font-size:.9375rem;margin-bottom:var(--space-md);line-height:1.5}@media (min-width: 640px){.profile-header{flex-direction:row;align-items:flex-start;text-align:left}.profile-stats,.profile-actions{justify-content:flex-start}.profile-info h1,.profile-name{font-size:1.5rem}}.search-user-row{display:flex;flex-direction:column;align-items:stretch;gap:var(--space-md);margin-bottom:var(--space-sm)}.search-user-info{min-width:0}.search-user-info a{font-weight:600;font-size:1rem}.search-user-handle{color:var(--text-muted);font-size:.85rem;margin-top:.1rem}.search-user-bio{color:var(--text-muted);font-size:.9rem;margin-top:.25rem;word-break:break-word}@media (min-width: 640px){.search-user-row{flex-direction:row;align-items:center;justify-content:space-between}}.messages-layout{display:grid;grid-template-columns:1fr;gap:0;min-height:var(--app-viewport-height);height:var(--app-viewport-height)}.messages-layout .conversations-list{display:flex;flex-direction:column;max-height:none;height:100%;padding:0;overflow-y:auto;-webkit-overflow-scrolling:touch;border-radius:0}.messages-layout .chat-panel{display:none;flex-direction:column;height:100%;max-height:var(--app-viewport-height);padding:0;overflow:hidden;border-radius:0}.messages-layout.show-chat .conversations-list{display:none}.messages-layout.show-chat .chat-panel{display:flex}.conversations-header{padding:var(--space-md) var(--space-md) var(--space-sm)}.conversations-list h2{font-size:1.25rem;margin:0}.convo-search{margin:0 var(--space-md) var(--space-sm);padding:.6rem .85rem;border-radius:999px;border:1px solid var(--border);background:var(--bg);color:var(--text);width:calc(100% - 2rem);min-height:var(--touch-min)}.convo-search:focus{outline:2px solid var(--primary);outline-offset:0}.conversations-list .empty-state{padding:var(--space-xl) var(--space-md)}.convo-item{display:flex;align-items:center;gap:var(--space-sm);width:100%;min-height:var(--touch-min);padding:.85rem var(--space-md);border-radius:0;text-align:left;color:var(--text);border:none;background:none;border-bottom:1px solid var(--border)}.convo-item:hover,.convo-item.active{background:var(--surface-hover)}.convo-item.unread .convo-preview{color:var(--text);font-weight:600}.convo-meta{flex:1;min-width:0}.convo-top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-sm);margin-bottom:.15rem}.convo-time{font-size:.75rem;color:var(--text-muted);flex-shrink:0}.convo-preview{display:block;font-size:.85rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread-dot{background:var(--primary);color:#fff;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:999px;min-width:20px;text-align:center;flex-shrink:0}.chat-empty,.chat-thread-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--space-xl) var(--space-md);color:var(--text-muted)}.chat-empty-icon{font-size:2.5rem;margin-bottom:var(--space-md)}.chat-empty h3{color:var(--text);margin-bottom:var(--space-sm)}.chat-header{display:flex;align-items:center;gap:var(--space-sm);padding:.85rem var(--space-md);border-bottom:1px solid var(--border);min-height:var(--nav-height)}.chat-back{font-size:1.35rem;color:var(--text);padding:.35rem .5rem;min-width:var(--touch-min);min-height:var(--touch-min);display:inline-flex;align-items:center;justify-content:center}.chat-header-user{display:flex;align-items:center;gap:var(--space-sm);color:var(--text);text-decoration:none;min-width:0}.chat-header-user span{display:block;font-size:.8rem;color:var(--text-muted)}.chat-messages{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:.35rem;padding:var(--space-md)}.chat-date-divider{display:flex;justify-content:center;margin:.75rem 0}.chat-date-divider span{font-size:.75rem;color:var(--text-muted);background:var(--surface);padding:.25rem .75rem;border-radius:999px;border:1px solid var(--border)}.chat-row{display:flex;align-items:flex-end;gap:var(--space-sm);max-width:90%}.chat-row.mine{align-self:flex-end;flex-direction:row-reverse}.chat-row.theirs{align-self:flex-start}.chat-message-wrap{display:flex;flex-direction:column;gap:.2rem;max-width:100%;min-width:0}.chat-row.mine .chat-message-wrap{align-items:flex-end}.chat-row.theirs .chat-message-wrap{align-items:flex-start}.chat-bubble{padding:.55rem .85rem;border-radius:18px;font-size:.95rem;max-width:100%}.chat-bubble time{display:block;font-size:.65rem;margin-top:.25rem;opacity:.75;text-align:right}.chat-bubble.mine{background:var(--primary);color:#fff;border-bottom-right-radius:4px}.chat-bubble.theirs{background:var(--surface-hover);color:var(--text);border-bottom-left-radius:4px}.chat-bubble.pending{opacity:.7}.chat-input{display:flex;align-items:flex-end;gap:var(--space-sm);padding:.85rem var(--space-md);padding-bottom:calc(.85rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--surface)}.chat-input textarea{flex:1;padding:.65rem .9rem;border-radius:20px;border:1px solid var(--border);background:var(--bg);color:var(--text);resize:none;min-height:42px;max-height:120px;line-height:1.4;font-family:inherit}.chat-input textarea:focus{outline:2px solid var(--primary);outline-offset:0}.chat-file-input{display:none}.chat-send-error{padding:var(--space-sm) var(--space-md) 0;color:var(--danger);font-size:.875rem}.chat-attach-btn{flex-shrink:0;min-width:var(--touch-min);min-height:var(--touch-min);padding:.5rem;font-size:1.1rem;line-height:1}.chat-composer-tools{flex-shrink:0}.chat-attach-btn--files{margin-left:.125rem}.chat-attachment-preview{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-top:1px solid var(--border);background:var(--bg)}.preview-thumb{width:56px;height:56px;object-fit:cover;border-radius:var(--radius-sm)}.preview-file{font-size:.9rem;color:var(--text-muted);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-remove{margin-left:auto;font-size:1.25rem;color:var(--text-muted);padding:.25rem .5rem;line-height:1;min-width:var(--touch-min);min-height:var(--touch-min)}.preview-remove:hover{color:var(--danger)}.msg-attachment-image{display:block;margin-top:.35rem}.msg-attachment-image img{max-width:min(220px,100%);max-height:220px;border-radius:10px;object-fit:cover}.msg-attachment-file{display:flex;align-items:center;gap:var(--space-sm);margin-top:.35rem;padding:var(--space-sm) .75rem;border-radius:var(--radius-sm);background:var(--color-overlay-faint);color:inherit;text-decoration:none;font-size:.9rem}.chat-bubble.theirs .msg-attachment-file{background:var(--bg)}.msg-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-bubble p{margin:0;white-space:pre-wrap;word-break:break-word}.chat-bubble p+.msg-attachment-image,.chat-bubble p+.msg-attachment-file{margin-top:var(--space-sm)}@media (min-width: 768px){.messages-layout{grid-template-columns:300px 1fr;min-height:calc(100dvh - var(--nav-height) - 4rem)}.messages-layout .conversations-list{max-height:calc(100dvh - var(--nav-height) - 4rem)}.messages-layout .chat-panel{display:flex;max-height:calc(100dvh - var(--nav-height) - 4rem)}.messages-layout.show-chat .conversations-list{display:flex}.chat-back{display:none}.chat-row{max-width:75%}}@media (min-width: 1024px){.messages-layout{grid-template-columns:320px 1fr}}.legal-page{max-width:680px;margin:0 auto;padding:var(--space-md);padding-bottom:var(--space-xl)}.legal-page h1{font-size:1.5rem;margin-bottom:var(--space-sm)}.legal-updated{color:var(--text-muted);font-size:.875rem;margin-bottom:var(--space-xl)}.legal-page h2{font-size:1.1rem;margin:var(--space-lg) 0 var(--space-sm)}.legal-page p,.legal-page li{color:var(--text-muted);line-height:1.6;margin-bottom:var(--space-sm)}.legal-page ul{padding-left:1.25rem;margin-bottom:var(--space-md)}.legal-page a{color:var(--primary)}.legal-back{display:inline-block;margin-bottom:var(--space-md);color:var(--text-muted);font-size:.9rem}.email-verify-banner{display:flex;flex-direction:column;gap:var(--space-sm);margin:0 auto var(--space-md);max-width:var(--content-max);padding:var(--space-md);background:var(--color-primary-subtle-bg);border:1px solid var(--color-primary-subtle-border);border-radius:var(--radius)}.email-verify-banner-text{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;color:var(--text-muted);line-height:1.45}.email-verify-banner-text strong{color:var(--text)}.email-verify-banner-feedback{color:var(--success);font-size:.8rem}.email-verify-banner-error{color:var(--danger);font-size:.8rem}.email-verify-banner-btn{align-self:flex-start;min-height:var(--touch-min)}@media (min-width: 640px){.email-verify-banner{flex-direction:row;align-items:center;justify-content:space-between}}.verify-email-card{text-align:center}.verify-email-icon{width:3rem;height:3rem;margin:0 auto var(--space-md);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.35rem;font-weight:700}.verify-email-icon-success{background:var(--color-success-subtle-bg);color:var(--color-success);border:1px solid var(--color-success-subtle-border)}.verify-email-icon-error{background:var(--color-danger-subtle-bg);color:var(--color-danger);border:1px solid var(--color-danger-subtle-border)}.verify-email-card .auth-sub{margin-bottom:var(--space-lg)}.verify-email-dev-hint{font-size:.85rem!important;margin-top:calc(-1 * var(--space-sm));margin-bottom:var(--space-md)!important}.verify-email-dev-hint code{font-size:.8rem}.install-app-banner{margin:0 auto var(--space-md);max-width:var(--content-max);padding:0 var(--space-md)}.install-app-banner-inner{display:grid;grid-template-columns:auto 1fr;gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius);background:linear-gradient(135deg,var(--color-promo-gradient-start),var(--color-promo-gradient-end));border:1px solid var(--color-promo-border);box-shadow:var(--shadow-card)}.install-app-banner-icon-wrap{grid-row:span 2;align-self:start}.install-app-banner-icon{width:44px;height:44px;border-radius:12px;box-shadow:0 4px 12px var(--color-shadow)}.install-app-banner-copy{min-width:0}.install-app-banner-title{display:block;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);line-height:var(--line-height-tight);color:var(--color-text);margin-bottom:.25rem}.install-app-banner-text{font-size:var(--font-size-md);line-height:var(--line-height-normal);color:var(--color-text-muted);margin-bottom:var(--space-sm)}.install-app-banner-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.install-app-banner-steps li{display:flex;align-items:center;gap:var(--space-sm);font-size:var(--font-size-md);line-height:var(--line-height-normal);color:var(--color-text)}.install-app-banner-step-icon{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;flex-shrink:0;border-radius:var(--radius-full);background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-primary)}.install-app-banner-dots{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;font-weight:var(--font-weight-bold);color:var(--color-primary)}.install-app-banner-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm)}.install-app-banner-install{min-height:40px;padding-inline:1rem}.install-app-banner-dismiss{font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-text-muted);padding:.35rem .5rem;border-radius:var(--radius-sm)}.install-app-banner-dismiss:hover{color:var(--color-text);background:var(--color-surface-subtle)}@media (min-width: 768px){.install-app-banner{display:none}}@media (max-width: 767px){.main-content--immersive .install-app-banner{display:none}}.network-status-banner{flex-shrink:0;border-bottom:1px solid transparent;animation:network-banner-in var(--transition-slow) ease-out}@keyframes network-banner-in{0%{opacity:0;transform:translateY(-.35rem)}to{opacity:1;transform:translateY(0)}}.network-status-banner-inner{display:flex;align-items:flex-start;gap:var(--space-md);padding:var(--space-md)}.network-status-banner-icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--radius-full);flex-shrink:0}.network-status-banner-copy{flex:1;min-width:0}.network-status-banner-title{display:block;font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);margin-bottom:.15rem}.network-status-banner-message{font-size:var(--font-size-md);line-height:var(--line-height-normal);margin:0;opacity:.92}.network-status-banner-retry{flex-shrink:0;align-self:center}.network-status-banner--offline{background:var(--color-network-offline-bg);border-bottom-color:var(--color-network-offline-border);color:var(--color-network-offline-text)}.network-status-banner--offline .network-status-banner-icon{background:var(--color-network-offline-icon-bg)}.network-status-banner--server{background:var(--color-network-server-bg);border-bottom-color:var(--color-network-server-border);color:var(--color-network-server-text)}.network-status-banner--server .network-status-banner-icon{background:var(--color-network-server-icon-bg)}.network-status-banner--warning{background:var(--color-network-warning-bg);border-bottom-color:var(--color-network-warning-border);color:var(--color-network-warning-text)}.network-status-banner--warning .network-status-banner-icon{background:var(--color-network-warning-icon-bg)}.network-status-banner--reconnecting{background:var(--color-network-reconnect-bg);border-bottom-color:var(--color-network-reconnect-border);color:var(--color-network-reconnect-text)}.network-status-banner--reconnecting .network-status-banner-icon{background:var(--color-network-reconnect-icon-bg)}.network-status-banner-icon-spin{animation:network-banner-spin 1s linear infinite}@keyframes network-banner-spin{to{transform:rotate(360deg)}}@media (max-width: 479px){.network-status-banner-inner{flex-wrap:wrap}.network-status-banner-retry{width:100%;margin-left:calc(2.25rem + var(--space-md))}}:root{--space-xs: .25rem;--space-sm: .5rem;--space-md: 1rem;--space-lg: 1.5rem;--space-xl: 2rem;--radius: 12px;--radius-sm: 8px;--radius-full: 999px;--font-family: "Inter", system-ui, -apple-system, sans-serif;--font-size-xs: .625rem;--font-size-sm: .75rem;--font-size-md: .875rem;--font-size-base: .9375rem;--font-size-lg: 1rem;--font-size-xl: 1.125rem;--font-size-2xl: 1.25rem;--font-size-3xl: 1.35rem;--font-size-4xl: 1.5rem;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--line-height-tight: 1.3;--line-height-normal: 1.45;--line-height-relaxed: 1.5;--touch-min: 44px;--nav-height: 52px;--mobile-gutter: var(--space-md);--bottom-nav-height: 60px;--mobile-top-inset: 0px;--mobile-header-block: calc(var(--nav-height) + env(safe-area-inset-top, 0px));--mobile-bottom-nav-block: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));--app-viewport-height: calc(100dvh - var(--mobile-header-block) - var(--mobile-bottom-nav-block));--content-max: 680px;--wide-max: 1100px;--avatar-size-sm: 28px;--avatar-size-md: 40px;--avatar-size-lg: 80px;--avatar-size-xl: 96px;--reels-viewport-height: var(--app-viewport-height);--reels-item-height: var(--reels-viewport-height);--transition-fast: .1s;--transition-normal: .15s;--transition-slow: .25s;--z-nav: 100;--z-overlay: 200;--z-modal: 300;font-family:var(--font-family);line-height:var(--line-height-relaxed);-webkit-tap-highlight-color:transparent}@media (min-width: 768px){:root{--mobile-top-inset: 0px;--reels-viewport-height: calc(100dvh - var(--nav-height) - env(safe-area-inset-top, 0px))}}[data-theme=dark]{color-scheme:dark;--color-bg: #0a0a10;--color-surface: #14141c;--color-surface-hover: #1d1d28;--color-surface-elevated: #232330;--color-border: #2f2f3d;--color-border-subtle: rgba(255, 255, 255, .07);--color-text: #edeef4;--color-text-muted: #9496a8;--color-text-on-primary: #ffffff;--color-text-on-media: #ffffff;--color-primary: #8b5cf6;--color-primary-hover: #a78bfa;--color-accent: #8b5cf6;--color-accent-secondary: #f472b6;--color-accent-like: #fb7185;--color-danger: #f87171;--color-danger-subtle-bg: rgba(248, 113, 113, .12);--color-danger-subtle-border: rgba(248, 113, 113, .28);--color-danger-text: #fca5a5;--color-danger-text-soft: #fecaca;--color-success: #34d399;--color-success-subtle-bg: rgba(52, 211, 153, .12);--color-success-subtle-border: rgba(52, 211, 153, .28);--color-info-subtle-bg: rgba(139, 92, 246, .14);--color-network-offline-bg: rgba(250, 204, 21, .1);--color-network-offline-border: rgba(250, 204, 21, .28);--color-network-offline-text: #fde68a;--color-network-offline-icon-bg: rgba(250, 204, 21, .16);--color-network-server-bg: rgba(251, 113, 133, .1);--color-network-server-border: rgba(251, 113, 133, .28);--color-network-server-text: #fecdd3;--color-network-server-icon-bg: rgba(251, 113, 133, .16);--color-network-warning-bg: rgba(251, 146, 60, .1);--color-network-warning-border: rgba(251, 146, 60, .28);--color-network-warning-text: #fdba74;--color-network-warning-icon-bg: rgba(251, 146, 60, .16);--color-network-reconnect-bg: rgba(52, 211, 153, .1);--color-network-reconnect-border: rgba(52, 211, 153, .28);--color-network-reconnect-text: #a7f3d0;--color-network-reconnect-icon-bg: rgba(52, 211, 153, .16);--color-overlay: rgba(0, 0, 0, .52);--color-overlay-heavy: rgba(0, 0, 0, .68);--color-overlay-light: rgba(0, 0, 0, .28);--color-overlay-muted: rgba(0, 0, 0, .14);--color-overlay-faint: rgba(0, 0, 0, .18);--color-navbar: rgba(10, 10, 16, .88);--color-navbar-solid: rgba(10, 10, 16, .96);--color-navbar-border: var(--color-border);--color-nav-tab: rgba(237, 238, 244, .52);--color-nav-tab-active: #edeef4;--color-badge: var(--color-primary);--color-media-bg: #000000;--color-reels-shell-bg: #0a0a10;--color-reels-feed-bg: #000000;--color-reels-stage-bg: #000000;--color-reels-desktop-canvas: #06060c;--color-reels-phone-border: rgba(255, 255, 255, .09);--shadow-reels-phone: 0 24px 80px rgba(0, 0, 0, .58);--color-reels-empty-sub: rgba(255, 255, 255, .72);--color-reels-loading-text: rgba(255, 255, 255, .65);--color-shorts-subscribe: #ef4444;--color-media-border: #2a2a36;--color-media-gradient-bottom: rgba(0, 0, 0, .78);--color-media-control-bg: rgba(0, 0, 0, .48);--color-text-post-gradient-start: #1e1b2e;--color-text-post-gradient-end: #2a1628;--color-banner-muted-bg: rgba(255, 255, 255, .05);--color-promo-gradient-start: rgba(139, 92, 246, .18);--color-promo-gradient-end: rgba(244, 114, 182, .12);--color-promo-border: rgba(139, 92, 246, .32);--color-primary-subtle-bg: rgba(139, 92, 246, .14);--color-primary-subtle-border: rgba(139, 92, 246, .32);--color-unread-bg: rgba(139, 92, 246, .1);--color-surface-subtle: rgba(255, 255, 255, .05);--color-surface-subtle-hover: rgba(255, 255, 255, .04);--color-create-btn-bg: #edeef4;--color-create-btn-fg: #0a0a10;--color-avatar-ring: #ffffff;--color-shadow: rgba(0, 0, 0, .28);--color-shadow-elevated: rgba(0, 0, 0, .4);--color-text-shadow-media: rgba(0, 0, 0, .52);--color-text-shadow-media-strong: rgba(0, 0, 0, .64);--shadow-card: 0 4px 24px var(--color-shadow);--shadow-dropdown: 0 12px 32px var(--color-shadow-elevated);--meta-theme-color: #0a0a10;--logo-filter: none}[data-theme=light]{color-scheme:light;--color-bg: #f6f7fb;--color-surface: #ffffff;--color-surface-hover: #eef0f6;--color-surface-elevated: #ffffff;--color-border: #dde1ec;--color-border-subtle: rgba(26, 22, 37, .06);--color-text: #1a1625;--color-text-muted: #6b7289;--color-text-on-primary: #ffffff;--color-text-on-media: #ffffff;--color-primary: #7c3aed;--color-primary-hover: #6d28d9;--color-accent: #7c3aed;--color-accent-secondary: #ec4899;--color-accent-like: #f43f5e;--color-danger: #e11d48;--color-danger-subtle-bg: rgba(225, 29, 72, .08);--color-danger-subtle-border: rgba(225, 29, 72, .22);--color-danger-text: #be123c;--color-danger-text-soft: #9f1239;--color-success: #10b981;--color-success-subtle-bg: rgba(16, 185, 129, .08);--color-success-subtle-border: rgba(16, 185, 129, .22);--color-info-subtle-bg: rgba(124, 58, 237, .08);--color-network-offline-bg: #fffbeb;--color-network-offline-border: #fde68a;--color-network-offline-text: #a16207;--color-network-offline-icon-bg: #fef3c7;--color-network-server-bg: #fff1f2;--color-network-server-border: #fecdd3;--color-network-server-text: #be123c;--color-network-server-icon-bg: #ffe4e6;--color-network-warning-bg: #fff7ed;--color-network-warning-border: #fed7aa;--color-network-warning-text: #c2410c;--color-network-warning-icon-bg: #ffedd5;--color-network-reconnect-bg: #ecfdf5;--color-network-reconnect-border: #a7f3d0;--color-network-reconnect-text: #047857;--color-network-reconnect-icon-bg: #d1fae5;--color-overlay: rgba(26, 22, 37, .42);--color-overlay-heavy: rgba(26, 22, 37, .58);--color-overlay-light: rgba(26, 22, 37, .18);--color-overlay-muted: rgba(26, 22, 37, .05);--color-overlay-faint: rgba(26, 22, 37, .07);--color-navbar: rgba(246, 247, 251, .88);--color-navbar-solid: rgba(255, 255, 255, .96);--color-navbar-border: var(--color-border);--color-nav-tab: #6b7289;--color-nav-tab-active: #1a1625;--color-badge: var(--color-primary);--color-media-bg: #000000;--color-reels-shell-bg: var(--color-bg);--color-reels-feed-bg: var(--color-bg);--color-reels-stage-bg: #000000;--color-reels-desktop-canvas: var(--color-bg);--color-reels-phone-border: rgba(26, 22, 37, .14);--shadow-reels-phone: 0 24px 64px rgba(26, 22, 37, .18);--color-reels-empty-sub: rgba(255, 255, 255, .72);--color-reels-loading-text: rgba(255, 255, 255, .65);--color-shorts-subscribe: #ef4444;--color-media-border: var(--color-border);--color-media-gradient-bottom: rgba(9, 9, 15, .78);--color-media-control-bg: rgba(9, 9, 15, .48);--color-text-post-gradient-start: #ede9fe;--color-text-post-gradient-end: #fce7f3;--color-banner-muted-bg: rgba(26, 22, 37, .04);--color-promo-gradient-start: rgba(124, 58, 237, .1);--color-promo-gradient-end: rgba(236, 72, 153, .07);--color-promo-border: rgba(124, 58, 237, .2);--color-primary-subtle-bg: rgba(124, 58, 237, .08);--color-primary-subtle-border: rgba(124, 58, 237, .2);--color-unread-bg: rgba(124, 58, 237, .07);--color-surface-subtle: rgba(26, 22, 37, .04);--color-surface-subtle-hover: rgba(26, 22, 37, .03);--color-create-btn-bg: #1a1625;--color-create-btn-fg: #ffffff;--color-avatar-ring: #ffffff;--color-shadow: rgba(26, 22, 37, .07);--color-shadow-elevated: rgba(26, 22, 37, .11);--color-text-shadow-media: rgba(9, 9, 15, .45);--color-text-shadow-media-strong: rgba(9, 9, 15, .58);--shadow-card: 0 4px 24px var(--color-shadow);--shadow-dropdown: 0 12px 32px var(--color-shadow-elevated);--meta-theme-color: #f6f7fb;--logo-filter: brightness(0)}[data-theme=dark],[data-theme=light]{--bg: var(--color-bg);--surface: var(--color-surface);--surface-hover: var(--color-surface-hover);--border: var(--color-border);--text: var(--color-text);--text-muted: var(--color-text-muted);--primary: var(--color-primary);--primary-hover: var(--color-primary-hover);--danger: var(--color-danger);--success: var(--color-success);--shadow: var(--shadow-card)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{min-height:100vh;min-height:100dvh;overflow-x:hidden;color:var(--color-text);background:var(--color-bg)}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none;touch-action:manipulation}img{max-width:100%;display:block}.container{width:100%;max-width:var(--content-max);margin:0 auto;padding:0 var(--space-md)}.container-wide{width:100%;max-width:var(--wide-max);margin:0 auto;padding:0 var(--space-md)}.app-layout{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--color-bg)}.main-content{flex:1;padding:var(--space-md) 0 calc(var(--mobile-bottom-nav-block) + var(--space-md))}@media (max-width: 767px){.app-layout--authenticated{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-layout--authenticated .site-footer{display:none}.app-layout--authenticated .main-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:var(--space-md) 0;padding-bottom:calc(var(--mobile-bottom-nav-block) + var(--space-md))}.app-layout--authenticated .main-content--immersive{padding:0;overflow:hidden;display:flex;flex-direction:column}.app-layout--authenticated .main-content--immersive>.container,.app-layout--authenticated .main-content--immersive>.container-wide{flex:1;min-height:0;max-width:none;padding:0;margin:0;width:100%}}.main-content--immersive{padding:0;overflow:hidden}.page-title{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);margin-bottom:var(--space-md);line-height:var(--line-height-tight)}.page-back-link{margin-bottom:var(--space-sm)}.page-back-link a{color:var(--color-text-muted);text-decoration:none;font-size:var(--font-size-md)}.page-back-link a:hover{color:var(--color-text);text-decoration:none}.home-banner{margin-bottom:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-sm);background:var(--color-banner-muted-bg);color:var(--color-text-muted);font-size:var(--font-size-base);line-height:var(--line-height-normal)}.home-banner-success{background:var(--color-success-subtle-bg);color:var(--color-text)}.reels-promo{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin-bottom:var(--space-md);padding:var(--space-md);border-radius:var(--radius);background:linear-gradient(135deg,var(--color-promo-gradient-start),var(--color-promo-gradient-end));border:1px solid var(--color-promo-border);color:var(--color-text);text-decoration:none;font-weight:var(--font-weight-semibold)}.reels-promo:hover{text-decoration:none;border-color:var(--color-primary)}.reels-promo span{font-size:var(--font-size-md);font-weight:var(--font-weight-medium);color:var(--color-text-muted)}.reels-promo-icon{font-size:var(--font-size-3xl)}.page-section{margin-bottom:var(--space-xl)}.page-section-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);margin-bottom:var(--space-sm)}@media (max-width: 767px){.hide-mobile{display:none!important}}@media (min-width: 768px){.hide-desktop{display:none!important}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);min-height:var(--touch-min);padding:.6rem 1.1rem;border-radius:var(--radius-full);font-weight:var(--font-weight-semibold);font-size:var(--font-size-base);transition:background var(--transition-normal),transform var(--transition-fast);white-space:nowrap}.btn:active{transform:scale(.98)}.btn-primary{background:var(--color-primary);color:var(--color-text-on-primary)}.btn-primary:hover{background:var(--color-primary-hover)}.btn-secondary{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}.btn-secondary:hover{background:var(--color-surface-hover)}.btn-danger{background:var(--color-danger-subtle-bg);color:var(--color-danger)}.btn-sm{min-height:36px;padding:.35rem .75rem;font-size:var(--font-size-md)}.btn-icon{min-width:var(--touch-min);padding:var(--space-sm)}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-md);box-shadow:var(--shadow-card)}.card-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-sm)}.form-group{margin-bottom:var(--space-md)}.form-group label{display:block;margin-bottom:.35rem;font-size:var(--font-size-md);color:var(--color-text-muted)}.form-group input,.form-group textarea{width:100%;min-height:var(--touch-min);padding:.65rem .85rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text)}.form-group textarea{min-height:6rem;resize:vertical}.form-group input:focus,.form-group textarea:focus{outline:2px solid var(--color-primary);outline-offset:0}.search-form{display:flex;flex-direction:column;gap:var(--space-sm);margin-bottom:var(--space-lg)}.search-form input{width:100%;min-height:var(--touch-min);padding:.65rem .85rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text)}.search-form input:focus{outline:2px solid var(--color-primary);outline-offset:0}.error-msg{color:var(--color-danger);font-size:var(--font-size-md);margin-top:var(--space-sm)}.empty-state{text-align:center;padding:var(--space-xl) var(--space-md);color:var(--color-text-muted)}.avatar{width:var(--avatar-size-md);height:var(--avatar-size-md);min-width:var(--avatar-size-md);min-height:var(--avatar-size-md);border-radius:50%;object-fit:cover;background:var(--color-border);flex-shrink:0}.avatar-lg{width:var(--avatar-size-lg);height:var(--avatar-size-lg);min-width:var(--avatar-size-lg);min-height:var(--avatar-size-lg);font-size:2rem}.avatar-sm{width:var(--avatar-size-sm);height:var(--avatar-size-sm);min-width:var(--avatar-size-sm);min-height:var(--avatar-size-sm);font-size:var(--font-size-sm)}.avatar-placeholder{display:block;text-align:center;line-height:var(--avatar-size-md);font-weight:var(--font-weight-bold);font-size:var(--font-size-lg);color:var(--color-text-on-primary);background:linear-gradient(135deg,var(--color-primary),var(--color-accent-secondary));overflow:hidden;-webkit-user-select:none;user-select:none}.avatar-lg.avatar-placeholder{line-height:var(--avatar-size-lg)}.avatar-sm.avatar-placeholder{line-height:var(--avatar-size-sm)}.notif-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-sm)}.notif-item{display:flex;gap:var(--space-sm);align-items:flex-start}.notif-item.unread-notif{border-color:var(--color-primary);background:var(--color-unread-bg)}.notif-meta{font-size:var(--font-size-sm);color:var(--color-text-muted);margin-top:.15rem}.admin-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-sm);margin-bottom:var(--space-xl)}.admin-stat{text-align:center}.admin-stat-value{font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold)}.admin-stat-label{color:var(--color-text-muted);font-size:var(--font-size-sm);text-transform:capitalize}.admin-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-table{width:100%;min-width:520px;border-collapse:collapse;font-size:var(--font-size-md)}.admin-table th,.admin-table td{padding:.65rem var(--space-sm);text-align:left}.admin-table thead tr{color:var(--color-text-muted)}.admin-table tbody tr{border-top:1px solid var(--color-border)}.admin-post-card{margin-bottom:var(--space-sm)}.admin-post-row{display:flex;flex-direction:column;gap:var(--space-md)}.admin-post-actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}@media (min-width: 640px){.page-title{font-size:var(--font-size-4xl)}.avatar-lg{width:var(--avatar-size-xl);height:var(--avatar-size-xl);min-width:var(--avatar-size-xl);min-height:var(--avatar-size-xl);font-size:2.25rem}.avatar-lg.avatar-placeholder{line-height:var(--avatar-size-xl)}.search-form{flex-direction:row;align-items:stretch}.search-form input{flex:1}.admin-stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-md)}.admin-post-row{flex-direction:row;justify-content:space-between;align-items:flex-start}}@media (min-width: 768px){.main-content{padding:var(--space-lg) 0 var(--space-xl)}.app-layout--authenticated{height:auto;overflow:visible}.app-layout--authenticated .main-content{overflow:visible;padding:var(--space-lg) 0 var(--space-xl)}.app-layout--immersive{min-height:100dvh;display:flex;flex-direction:column}.app-layout--immersive .site-footer{display:none}.app-layout--authenticated .main-content--immersive{flex:1;display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden;height:calc(100dvh - var(--nav-height));background:var(--color-reels-desktop-canvas)}.main-content--immersive{padding:0}.card{padding:var(--space-md) var(--space-lg)}}
