*{margin:0;padding:0;box-sizing:border-box}:root{--color-bg:#ffffff;--color-bg-secondary:#f5f5f5;--color-text:#000000;--color-text-secondary:#666666;--color-border:#e0e0e0;--color-border-light:#f0f0f0;--color-active:#333333;--color-hover:#fafafa;--color-accent:#4a90e2;--spacing-xs:4px;--spacing-sm:8px;--spacing-md:16px;--spacing-lg:24px;--touch-target:44px;--landing-display:flex;--chat-display:none;--initial-tab-transform:translateX(-200%)}[data-theme=dark]{--color-bg:#0a0a0a;--color-bg-secondary:#1a1a1a;--color-text:#e8e8e8;--color-text-secondary:#9e9e9e;--color-border:#2d2d2d;--color-border-light:#242424;--color-active:#4a90e2;--color-hover:#1f1f1f;--color-accent:#5ba3ff}body,html{margin:0;padding:0;width:100%;height:100%;overflow:hidden;position:fixed}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transition:background-color .3s ease,color .3s ease}img[src*=dp_avatar]{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;will-change:auto}img[src*="uploads/avatars"],img[src*=dp_avatar]{opacity:1;transition:none}#app{width:100%;height:100%;display:flex;flex-direction:column}.screen{display:none;width:100%;height:100%;flex-direction:column;overflow-y:auto;overflow-x:hidden}.screen.active{display:flex}#landing-screen{display:var(--landing-display)!important}#chat-screen{display:var(--chat-display)!important}:root{--primary-color:#ffffff;--primary-light:#e0e0e0;--primary-dark:#cccccc;--primary-gradient:linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);--secondary-color:#1a1a1a;--accent-color:#ffffff;--landing-bg:#0a0a0a;--landing-bg-secondary:#111111;--landing-text:#ffffff;--landing-text-secondary:#888888;--landing-border:#2a2a2a}#shader-container{display:none!important;visibility:hidden}#shader-canvas{display:none!important}#landing-screen{display:var(--landing-display,flex);flex-direction:column;min-height:100vh;background:#000;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;position:relative;z-index:1}#landing-screen::-webkit-scrollbar{display:none}.landing-header{position:absolute;top:0;left:0;right:0;z-index:1000;background:0 0;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:none;box-shadow:none}.landing-header-container{max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between}.header-left{display:flex;align-items:center;gap:12px;min-width:120px}.header-right{display:flex;align-items:center;min-width:120px;justify-content:flex-end}.landing-header .theme-toggle-btn{width:40px;height:40px;border:none;border-radius:50%;background:0 0;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:none;font-size:18px;position:relative}.landing-header .theme-toggle-btn:hover{background:0 0}.landing-logo{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;color:#fff}.landing-logo i{font-size:28px}.landing-nav{display:flex;gap:32px;position:absolute;left:50%;transform:translateX(-50%)}.nav-link{color:#fff;text-decoration:none;font-weight:500;font-size:17px;transition:color .3s ease;position:relative}.nav-link::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:#fff;transition:width .3s ease}.nav-link:hover{color:#ccc}.nav-link:hover::after{width:100%}.mobile-menu-btn{display:none;background:0 0;border:none;font-size:22px;color:#fff;cursor:pointer;padding:4px}.landing-header-container{position:relative}.hero-section{padding:140px 24px 80px;background:0 0;min-height:100vh;display:flex;align-items:center;position:relative;z-index:2}.hero-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;width:100%}.hero-content{padding-right:40px}.hero-title{font-size:48px;font-weight:700;line-height:1.2;color:#fff;margin-bottom:24px}.hero-title br+*{color:#fff}.hero-subtitle{font-size:18px;color:#d1d5db;line-height:1.7;margin-bottom:32px;font-family:sans-serif}.hero-features{display:flex;flex-wrap:wrap;gap:20px}.hero-feature{display:flex;align-items:center;gap:8px;color:#fff;font-weight:500}.hero-feature i{color:#fff;font-size:18px}.hero-form-wrapper{background:#0000007a;backdrop-filter:blur(15px) saturate(200%);-webkit-backdrop-filter:blur(15px) saturate(200%);border-radius:16px;border:1px solid rgba(255,255,255,.18);padding:30px;box-shadow:0 8px 32px 0 rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.2);max-width:450px;overflow:hidden}@supports not (backdrop-filter:blur(10px)){.hero-form-wrapper{background:rgba(38,38,38,.85);border:2px solid rgba(255,255,255,.2)}}.hero-form-wrapper::-webkit-scrollbar{display:none}.landing-content{width:100%}.form-title{font-size:24px;font-weight:600;margin-bottom:24px;color:#fff;text-align:center}.app-title{display:none}.auth-tabs{display:flex;gap:0;width:100%;margin-bottom:24px;background:rgba(255,255,255,.05);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:4px}.auth-tab{flex:1;padding:12px 16px;background:0 0;border:none;border-radius:8px;font-size:15px;font-weight:500;color:rgba(255,255,255,.6);cursor:pointer;transition:all .3s cubic-bezier(.25, .46, .45, .94)}.auth-tab.active{background:rgba(255,255,255,.15);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.2)}.auth-tab:hover:not(.active){color:#fff;background:rgba(255,255,255,.05)}.connect-form{width:100%}.connect-form label{display:block;margin-bottom:8px;color:#fff;font-size:14px;font-weight:500;display:flex;align-items:center;gap:8px}.connect-form label i{font-size:15px}.connect-form input{width:100%;padding:14px 16px;border:1px solid rgba(255,255,255,.15);border-radius:12px;font-size:16px;margin-bottom:16px;background:rgba(255,255,255,.05);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;transition:all .3s cubic-bezier(.25, .46, .45, .94)}.connect-form input:focus{outline:0;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.08);box-shadow:0 0 0 3px rgba(255,255,255,.1);transform:scale(1.02)}.connect-form input::placeholder{color:rgba(255,255,255,.7)}.disabled-input{background:#1a1a1a!important;color:#666!important;cursor:not-allowed}.password-input-wrapper{position:relative;width:100%}.password-input-wrapper input{padding-right:48px}.password-toggle{position:absolute;right:12px;top:12px;background:0 0;border:none;color:#666;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .2s}.password-toggle:hover{color:#fff}.forgot-password{display:block;text-align:right;color:#888;font-size:13px;text-decoration:none;margin-top:-8px;margin-bottom:16px;transition:color .2s}.forgot-password:hover{color:#fff}.gender-radio-group{display:flex;flex-direction:row!important;flex-wrap:nowrap!important;gap:24px;margin-bottom:20px;margin-top:8px}.radio-label{display:flex;align-items:center;gap:8px;cursor:pointer;transition:none;background:0 0;border:none;padding:0;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none}.radio-label input[type=radio]{margin:0;padding:0!important;width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;max-width:12px!important;max-height:12px!important;border:2px solid #666;border-radius:50%;background:0 0;appearance:none;-webkit-appearance:none;cursor:pointer;transition:none;flex-shrink:0;position:relative;box-sizing:border-box!important;outline:0!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent}.radio-label input[type=radio]:active,.radio-label input[type=radio]:focus,.radio-label input[type=radio]:hover{outline:0!important;box-shadow:none!important;transform:none!important}.radio-label input[type=radio]:checked{border-color:#6366f1;background:#6366f1}.radio-label input[type=radio]:checked::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:4px;background:#fff;border-radius:50%}.radio-label:has(input[value=Female]) input[type=radio]:checked{border-color:#ec4899;background:#ec4899}.radio-label i{font-size:14px}.radio-label:has(input[value=Male]) i{color:#3b82f6}.radio-label:has(input[value=Female]) i{color:#ec4899}.radio-label span{font-weight:500;color:#fff;font-size:14px}.radio-label input[type=radio]:checked+i+span{font-weight:600}.primary-btn{width:100%;min-height:52px;padding:16px 24px;background:#2525258a;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.25, .46, .45, .94);display:flex;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden}.primary-btn:hover:not(:disabled){background:linear-gradient(135deg,rgba(255,255,255,.2) 0,rgba(255,255,255,.08) 100%);transform:translateY(-2px);box-shadow:0 15px 35px rgba(0,0,0,.2);border-color:rgba(255,255,255,.3)}.primary-btn:active{transform:translateY(0)}.primary-btn:disabled{background:rgba(255,255,255,.03);color:rgba(255,255,255,.4);cursor:not-allowed;transform:none;box-shadow:none;border-color:rgba(255,255,255,.1)}.status-message{margin-top:16px;text-align:center;color:#888;font-size:14px;min-height:20px}.znc-form input:first-of-type,.znc-form input:nth-of-type(2),.znc-form input:nth-of-type(3),.znc-form label:first-of-type,.znc-form label:nth-of-type(2),.znc-form label:nth-of-type(3){display:none!important}.section-container{max-width:1200px;margin:0 auto;padding:0 24px}.section-title{font-size:36px;font-weight:700;text-align:center;color:#fff;margin-bottom:16px}.section-description{font-size:18px;text-align:center;color:#888;max-width:600px;margin:0 auto 48px;line-height:1.6}.why-section{padding:100px 24px;background:#0a0a0a}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:48px}.stat-card{background:#111;border-radius:20px;padding:32px 24px;text-align:center;border:1px solid #2a2a2a;transition:all .3s ease}.stat-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,.4);border-color:#444}.stat-number{font-size:42px;font-weight:700;color:#fff;margin-bottom:8px}.stat-label{font-size:16px;color:#888;font-weight:500}.features-section{padding:100px 24px;background:#000}.glowing-cards-container{position:relative;max-width:75rem;margin:0 auto;padding:1rem 0}.glowing-cards-wrapper{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:2rem;margin-bottom:2rem}.glowing-cards-wrapper:last-of-type{margin-bottom:0}.feature-card{position:relative;flex:1;min-width:280px;max-width:340px;padding:2rem;border-radius:1rem;background:#000;border:1px solid #2a2a2a;text-align:left;transition:all .4s ease-out;z-index:1}.feature-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.4);border-color:#444}.feature-header{display:flex;align-items:center;gap:.625rem;margin-bottom:.875rem}.feature-icon{font-size:1.375rem;line-height:1}.feature-card h3{font-size:1.0625rem;font-weight:600;color:#fff;margin:0;line-height:1.2}.feature-card p{font-size:.9375rem;color:#888;line-height:1.6;margin-bottom:1rem}.feature-bullets{list-style:none;padding:0;margin:0}.feature-bullets li{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#888;margin-bottom:.375rem}.feature-bullets li i{font-size:.875rem;opacity:.7}.feature-card::before{content:'';position:absolute;inset:-2px;border-radius:inherit;padding:2px;background:var(--glow-gradient,transparent);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .3s ease;pointer-events:none}.feature-card.glow-active::before{opacity:1}.glowing-overlay{display:none}.how-section{padding:100px 24px;background:#0a0a0a}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;position:relative}.steps-grid::before{content:'';position:absolute;top:40px;left:15%;right:15%;height:3px;background:linear-gradient(90deg,#333 0,#555 100%);z-index:0}.step-card{background:#0a0a0a;border-radius:20px;padding:40px 32px;text-align:center;position:relative;z-index:1}.step-number{width:80px;height:80px;margin:0 auto 24px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;color:#000;box-shadow:0 8px 24px rgba(255,255,255,.1)}.step-card h3{font-size:20px;font-weight:600;color:#fff;margin-bottom:12px}.step-card p{font-size:15px;color:#888;line-height:1.6}.testimonials-section{padding:100px 24px;background:linear-gradient(135deg,#111 0,#0a0a0a 100%)}.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.testimonial-card{background:#111;border-radius:20px;padding:32px;border:1px solid #2a2a2a;transition:all .3s ease}.testimonial-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,.4);border-color:#444}.testimonial-content{margin-bottom:24px}.testimonial-content p{font-size:15px;color:#e0e0e0;line-height:1.7;font-style:italic}.testimonial-author{display:flex;align-items:center;gap:16px}.author-avatar{width:48px;height:48px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center}.author-avatar i{font-size:20px;color:#000}.author-info h4{font-size:16px;font-weight:600;color:#fff;margin-bottom:2px}.author-info span{font-size:13px;color:#888}.cta-section{padding:100px 24px;background:#111;text-align:center;border-top:1px solid #2a2a2a}.cta-content h2{font-size:36px;font-weight:700;color:#fff;margin-bottom:16px}.cta-content p{font-size:18px;color:#888;margin-bottom:32px}.cta-button{display:inline-flex;align-items:center;gap:12px;padding:16px 40px;background:#fff;color:#000;border-radius:12px;font-size:18px;font-weight:600;text-decoration:none;transition:all .3s ease;box-shadow:0 8px 24px rgba(255,255,255,.1)}.cta-button:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(255,255,255,.15);background:#f0f0f0}.landing-footer{background:#000;padding:80px 24px 24px;color:#fff;border-top:1px solid #1a1a1a}.footer-container{max-width:1200px;margin:0 auto}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}.footer-logo{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;color:#fff;margin-bottom:16px}.footer-logo i{color:#888}.footer-brand p{color:rgba(255,255,255,.7);line-height:1.6;margin-bottom:24px}.social-links{display:flex;gap:12px}.social-link{width:40px;height:40px;background:rgba(255,255,255,.1);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:all .3s ease}.social-link:hover{background:#4a4a4a;transform:translateY(-4px)}.footer-contact h4,.footer-links h4{font-size:18px;font-weight:600;color:#fff;margin-bottom:20px}.footer-contact ul,.footer-links ul{list-style:none;padding:0;margin:0}.footer-contact li,.footer-links li{margin-bottom:12px}.footer-links a{color:rgba(255,255,255,.7);text-decoration:none;transition:color .3s ease}.footer-links a:hover{color:#ccc}.footer-contact li{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.7)}.footer-contact i{color:#888}.footer-bottom{padding-top:24px;border-top:1px solid rgba(255,255,255,.1);text-align:center}.footer-bottom p{color:rgba(255,255,255,.5);font-size:14px}@media (max-width:1024px){.hero-container{grid-template-columns:1fr;gap:48px}.hero-content{padding-right:0;text-align:center}.hero-features{justify-content:center}.hero-title{font-size:40px}.stats-grid{grid-template-columns:repeat(2,1fr)}.glowing-cards-wrapper{gap:1.5rem}.feature-card{min-width:260px}.testimonials-grid{grid-template-columns:repeat(2,1fr)}.steps-grid::before{display:none}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.landing-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0a0a0a;flex-direction:column;padding:20px;gap:16px;box-shadow:0 10px 30px rgba(0,0,0,.5);transform:none;border-top:1px solid #2a2a2a}.landing-nav.active{display:flex}.mobile-menu-btn{display:flex;align-items:center;justify-content:center}.header-left{gap:10px}.landing-logo{font-size:20px}.hero-section{padding:120px 1% 60px;min-height:auto}.hero-title{font-size:32px}.hero-subtitle{font-size:16px}.hero-form-wrapper{padding:24px;width:100%;max-width:100%}.section-title{font-size:28px}.section-description{font-size:16px}.stats-grid,.steps-grid,.testimonials-grid{grid-template-columns:1fr}.section-container{padding:0!important;max-width:100%!important}.glowing-cards-wrapper{flex-direction:column;align-items:stretch;gap:1rem;padding:0!important;width:100%!important;margin-left:0!important;margin-right:0!important;margin-bottom:1rem!important}.feature-card{flex:none!important;min-width:100%!important;max-width:100%!important;width:100%!important;margin:0!important;box-sizing:border-box!important}.glowing-cards-container{padding:0!important;max-width:100%!important;width:100%!important;margin:0!important}.cta-section,.features-section,.how-section,.testimonials-section,.why-section{padding:60px 1%}.footer-grid{grid-template-columns:1fr;gap:32px}.cta-content h2{font-size:28px}}@media (max-width:480px){.landing-header-container{padding:12px 1%}.hero-section{padding:120px 1% 60px}.hero-form-wrapper{width:100%;max-width:100%;margin:0;border-radius:12px}.section-container{padding:0!important}.feature-card{width:100%!important;max-width:100%!important;margin:0!important}.glowing-cards-container{padding:0!important;margin:0!important;width:100%!important}.glowing-cards-wrapper{padding:0!important;margin-left:0!important;margin-right:0!important;margin-bottom:1rem!important;width:100%!important}.hero-title{font-size:28px}.gender-radio-group{flex-direction:column;gap:12px}.stat-card{padding:24px 16px}.stat-number{font-size:32px}.hero-form-wrapper{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(0,0,0,.85)}.auth-tabs{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(255,255,255,.08)}.connect-form input{backdrop-filter:none;-webkit-backdrop-filter:none}.primary-btn{backdrop-filter:none;-webkit-backdrop-filter:none}}.app-header{background:var(--color-bg);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:100}:root .app-header{background:#000;border-bottom:1px solid #000}.header-content{display:flex;justify-content:space-between;align-items:center;padding:10px var(--spacing-md);min-height:42px}.header-title{font-size:18px;font-weight:600}:root .header-title{color:#fff}.connection-indicator{display:none}.user-logout-btn,.znc-logout-btn{width:36px;height:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:16px;margin-left:auto}:root .user-logout-btn,:root .znc-logout-btn{color:#fff}.radio-toggle-btn{width:36px;height:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:16px}:root .radio-toggle-btn{color:#fff}.radio-popup{position:fixed;top:62px;right:100px;width:320px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:1000;overflow:hidden}[data-theme=dark] .radio-popup{box-shadow:0 4px 12px rgba(0,0,0,.4)}.radio-popup-content{padding:16px}.radio-popup-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.radio-station-info{display:flex;align-items:center;gap:12px}.radio-popup-play-btn{width:48px;height:48px;border:none;border-radius:50%;background:var(--color-text);color:var(--color-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:18px}.radio-popup-play-btn:hover{transform:scale(1.05)}.radio-popup-play-btn:active{transform:scale(.95)}.radio-popup-play-btn.loading{opacity:.7}.radio-station-name{display:flex;flex-direction:column}.station-label{font-size:12px;color:var(--color-text-secondary);margin-bottom:2px}.station-name{font-size:16px;font-weight:600;color:var(--color-text)}.radio-popup-refresh-btn{width:32px;height:32px;border:none;border-radius:4px;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.radio-popup-refresh-btn:hover{background:var(--color-hover)}.radio-popup-refresh-btn:active{background:var(--color-bg-secondary)}.radio-popup-status{padding:8px 12px;background:var(--color-bg-secondary);border-radius:8px;margin-bottom:12px;text-align:center}#radio-popup-status-text{font-size:13px;color:var(--color-text-secondary)}.radio-volume-control{display:flex;align-items:center;gap:12px}.radio-volume-control i{color:var(--color-text-secondary);font-size:14px}.radio-volume-slider{flex:1;height:4px;-webkit-appearance:none;appearance:none;background:var(--color-border);border-radius:2px;outline:0}.radio-volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:var(--color-text);border-radius:50%;cursor:pointer;transition:transform .2s}.radio-volume-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.radio-volume-slider::-moz-range-thumb{width:16px;height:16px;background:var(--color-text);border:none;border-radius:50%;cursor:pointer;transition:transform .2s}.radio-volume-slider::-moz-range-thumb:hover{transform:scale(1.2)}.wallpaper-toggle-btn{width:36px;height:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:16px}:root .wallpaper-toggle-btn{color:#fff}.wallpaper-toggle-btn:hover{background:var(--color-hover)}.wallpaper-toggle-btn:active{background:var(--color-bg-secondary)}.wallpaper-picker{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:2000;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px)}.wallpaper-picker-content{background:var(--color-bg);border-radius:12px;width:90%;max-width:600px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px rgba(0,0,0,.3)}[data-theme=dark] .wallpaper-picker-content{box-shadow:0 4px 20px rgba(0,0,0,.6)}.wallpaper-picker-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--color-border)}.wallpaper-picker-header h3{margin:0;font-size:18px;font-weight:600;color:var(--color-text)}.wallpaper-close-btn{width:32px;height:32px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:18px}.wallpaper-close-btn:hover{background:var(--color-hover)}.wallpaper-close-btn:active{background:var(--color-bg-secondary)}.wallpaper-grid{padding:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;overflow-y:auto;max-height:calc(80vh - 70px)}.wallpaper-item{position:relative;border-radius:8px;overflow:hidden;cursor:pointer;aspect-ratio:16/9;border:2px solid transparent;transition:all .2s}.wallpaper-item:hover{border-color:var(--color-primary);transform:scale(1.05)}.wallpaper-item.selected{border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary)}.wallpaper-item img{width:100%;height:100%;object-fit:cover;display:block}.wallpaper-item-name{position:absolute;bottom:0;left:0;right:0;padding:8px;background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;font-size:12px;text-align:center;font-weight:500}.wallpaper-loading{grid-column:1/-1;text-align:center;padding:40px 20px;color:var(--color-text-secondary)}.dot{width:8px;height:8px;border-radius:50%;background:#ccc}.dot.connected{background:#4caf50}.dot.connecting{background:#ff9800}.dot.error{background:#f44336}.tab-nav{display:flex;background:var(--color-bg);border-bottom:1px solid var(--color-border);position:sticky;top:56px;z-index:99}.tab-btn{flex:1;min-height:var(--touch-target);padding:var(--spacing-sm);background:0 0;border:none;border-bottom:2px solid transparent;font-size:15px;font-weight:500;color:var(--color-text-secondary);cursor:pointer;transition:all .2s;position:relative;display:flex;align-items:center;justify-content:center;gap:6px}.tab-icon{width:24px;height:24px;object-fit:contain;opacity:.6;transition:opacity .2s}.tab-btn.active .tab-icon{opacity:1}.tab-btn.active{color:var(--color-text);border-bottom-color:var(--color-text)}.tab-btn:active{background:var(--color-hover)}.count{font-size:12px;color:var(--color-text-secondary)}.badge{display:inline-block;min-width:18px;height:18px;padding:0 5px;background:var(--color-text);color:var(--color-bg);border-radius:9px;font-size:11px;line-height:18px;text-align:center;margin-left:4px}.badge:empty{display:none}.content-area{flex:1;overflow:hidden;position:relative;width:100%}.tabs-container{display:flex;flex-direction:row;width:300%;height:100%;position:relative;transition:transform .3s cubic-bezier(.25, .46, .45, .94);will-change:transform;transform:var(--initial-tab-transform)}.tabs-container.dragging,.tabs-container.no-transition{transition:none}.tab-content{display:flex;flex-direction:column;width:33.333%;height:100%;flex-shrink:0;overflow:hidden;position:relative}#main-tab{background-image:url('../background/white.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}[data-theme=dark] #main-tab{background-image:url('../background/black3.jpg')}.messages-container{flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--spacing-md);-webkit-overflow-scrolling:touch;overscroll-behavior:contain;min-height:0;background:0 0;touch-action:pan-y}.message{margin-bottom:var(--spacing-md);word-wrap:break-word;overflow-wrap:break-word}.message-bubble{display:inline-block;max-width:80%;padding:8px 12px;background:#f8f8f8;border-radius:12px;font-size:15px;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word}[data-theme=dark] .message-bubble{background:#121212}.message-header{display:flex;align-items:baseline;gap:var(--spacing-sm);margin-bottom:var(--spacing-xs)}.message-nick{font-weight:600;color:var(--color-text);font-size:14px;cursor:pointer;transition:opacity .2s}.message-nick:hover{opacity:.7}.message-time{font-size:11px;color:var(--color-text-secondary)}.message-rank-icon{width:20px;height:20px;object-fit:contain;margin-right:6px;flex-shrink:0;align-self:flex-start;margin-top:2px}.message-text{font-size:15px;color:var(--color-text);white-space:pre-wrap;line-height:1.4}.message.action .message-text{font-style:italic;color:var(--color-text-secondary)}.message.system{text-align:center;font-size:13px;color:var(--color-text-secondary);margin:var(--spacing-sm) 0}.empty-state{display:flex;align-items:center;justify-content:center;height:100%;color:var(--color-text-secondary);font-size:14px;text-align:center;padding:var(--spacing-lg)}.users-list{padding:var(--spacing-md);overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;width:100%;height:100%;min-height:0;touch-action:pan-y}.user-item{padding:var(--spacing-md);cursor:pointer;transition:background .2s;min-height:var(--touch-target);display:flex;align-items:center}.user-item:active{background:var(--color-hover)}.user-nick{font-size:17px;font-weight:600;color:var(--color-text);display:flex;align-items:center;gap:8px}.rank-icon{width:40px;height:40px;margin-left:4px;flex-shrink:0;object-fit:contain;vertical-align:middle}[data-theme=dark] .rank-icon{filter:brightness(1.6) contrast(1.2)}.country-flag{flex-shrink:0;border-radius:2px;object-fit:cover}.pm-chat-view,.pm-list-view{display:none;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:var(--color-bg)}.pm-chat-view.active,.pm-list-view.active{display:flex}.pm-conversations{padding:var(--spacing-md);overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}.pm-conversation-item{padding:var(--spacing-md);border-bottom:1px solid var(--color-border-light);cursor:pointer;transition:background .2s;min-height:var(--touch-target);display:flex;justify-content:space-between;align-items:center}.pm-conversation-item:active{background:var(--color-hover)}.pm-conversation-item.unread{background:var(--color-bg-secondary)}.pm-nick{font-size:15px;font-weight:500;color:var(--color-text)}.pm-preview{font-size:13px;color:var(--color-text-secondary);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-preview img.emoji-inline{width:16px;height:16px;vertical-align:middle;display:inline-block;margin:0 1px}.pm-unread-badge{width:8px;height:8px;border-radius:50%;background:var(--color-text)}.pm-delete-btn{width:32px;height:32px;border:none;background:0 0;color:var(--color-text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0;transition:all .2s;opacity:.6}.pm-delete-btn:hover{background:rgba(255,0,0,.1);color:#f44;opacity:1}.pm-delete-btn:active{background:rgba(255,0,0,.2)}.pm-header{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);border-bottom:1px solid var(--color-border);background:var(--color-bg);min-height:var(--touch-target)}#pm-recipient-name{font-size:16px;font-weight:500;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.back-btn{width:40px;height:40px;border:none;background:0 0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text);border-radius:50%;transition:background .2s}.back-btn:active{background:var(--color-hover)}.typing-indicator{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm) var(--spacing-md);margin-bottom:var(--spacing-md);font-size:13px;color:var(--color-text-secondary);animation:fadeIn .3s ease-in}@keyframes fadeIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.typing-text{font-style:italic}.typing-dots{display:flex;gap:3px;align-items:center}.typing-dots span{width:4px;height:4px;background:var(--color-text-secondary);border-radius:50%;animation:typingDot 1.4s infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingDot{0%,100%,60%{opacity:.3;transform:scale(1)}30%{opacity:1;transform:scale(1.2)}}.input-area{border-top:none;background:0 0;padding:var(--spacing-sm);padding-bottom:max(var(--spacing-sm),env(safe-area-inset-bottom,0px));display:flex;gap:var(--spacing-sm);align-items:flex-end;flex-shrink:0;width:100%;box-sizing:border-box;position:relative}.message-input{flex:1;min-height:40px;max-height:120px;padding:10px 12px;border:1px solid var(--color-border);border-radius:20px;font-size:15px;font-family:inherit;resize:none;background:var(--color-bg);color:var(--color-text);overflow-y:auto;overflow-x:hidden;word-wrap:break-word;white-space:pre-wrap;line-height:1.4}.message-input:focus{outline:0;border-color:var(--color-active)}.message-input:empty:before{content:attr(data-placeholder);color:var(--color-text-secondary);pointer-events:none;position:absolute}[data-theme=dark] .message-input:empty:before{color:rgba(255,255,255,.5)}.send-btn{width:40px;height:40px;min-width:40px;border:none;background:0 0;color:var(--color-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:opacity .2s;flex-shrink:0;align-self:flex-end;margin-bottom:0;padding:0}.send-btn:active{opacity:.8}.send-btn:disabled{opacity:.3;cursor:not-allowed}.send-btn-icon{width:24px;height:24px;object-fit:contain}.input-hint{position:absolute;bottom:-20px;left:var(--spacing-sm);font-size:11px;color:var(--color-text-secondary);white-space:nowrap;display:none}.emoji-btn{width:36px;height:36px;min-width:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;font-size:20px;padding:0}.emoji-btn:hover{background:var(--color-hover)}.emoji-btn:active{transform:scale(.95)}.emoji-btn-icon{width:26px;height:26px;display:block;object-fit:contain}.emoji-picker{display:none;position:absolute;bottom:110px;left:8px;width:280px;max-width:calc(100vw - 32px);max-height:min(320px,calc(100vh - 230px));max-height:min(320px,calc(100dvh - 230px));background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.15);z-index:10001;overflow:hidden}.emoji-picker.active{display:block;animation:emojiPickerSlideUp .2s ease-out}@keyframes emojiPickerSlideUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.emoji-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;overflow-y:auto;max-height:min(300px,calc(100vh - 250px));max-height:min(300px,calc(100dvh - 250px));-webkit-overflow-scrolling:touch}.emoji-item{width:100%;aspect-ratio:1;border:none;background:var(--color-bg-secondary);border-radius:8px;cursor:pointer;transition:all .2s;padding:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.emoji-item:hover{background:var(--color-hover);transform:scale(1.05)}.emoji-item:active{transform:scale(.95)}.emoji-item img{width:100%;height:100%;object-fit:contain}.message-bubble img.emoji-inline,.message-text img.emoji-inline{width:30px;height:30px;vertical-align:middle;display:inline-block;margin:0 2px}.gif-btn{width:36px;height:36px;min-width:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;padding:0}.gif-btn:hover{background:var(--color-hover)}.gif-btn:active{transform:scale(.95)}.gif-picker{position:absolute;bottom:110px;left:8px;width:320px;max-width:calc(100vw - 32px);max-height:min(400px,calc(100vh - 230px));max-height:min(400px,calc(100dvh - 230px));background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.15);z-index:10001;overflow:hidden;display:none;flex-direction:column}.gif-picker.active{display:flex;animation:gifPickerSlideUp .2s ease-out}@keyframes gifPickerSlideUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.gif-search-box{padding:12px;border-bottom:1px solid var(--color-border);background:var(--color-bg);position:relative}.gif-search-input{width:100%;padding:8px 40px 8px 12px;border:1px solid var(--color-border);border-radius:8px;font-size:14px;background:var(--color-bg-secondary);color:var(--color-text);outline:0}.gif-search-btn{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;background:0 0;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);transition:all .2s}.gif-search-btn:hover{background:var(--color-hover);color:var(--color-active)}.gif-search-btn:active{transform:translateY(-50%) scale(.95)}.gif-search-input:focus{border-color:var(--color-active);background:var(--color-bg)}.gif-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:12px;overflow-y:auto;min-height:min(370px,calc(100vh - 290px));min-height:min(370px,calc(100dvh - 290px));max-height:min(370px,calc(100vh - 290px));max-height:min(370px,calc(100dvh - 290px));-webkit-overflow-scrolling:touch}.gif-item{width:100%;height:140px;border:none;background:var(--color-bg-secondary);border-radius:8px;cursor:pointer;transition:all .2s;padding:0;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.gif-item:hover{transform:scale(1.05);box-shadow:0 2px 8px rgba(0,0,0,.1)}.gif-item:active{transform:scale(.95)}.gif-item img{width:100%;height:100%;object-fit:contain}.gif-loading{grid-column:1/-1;text-align:center;padding:24px;color:var(--color-text-secondary);font-size:14px}.message-text img.gif-inline{max-width:200px;max-height:200px;border-radius:8px;display:block;margin:4px 0}.youtube-btn{width:36px;height:36px;min-width:36px;border:none;background:0 0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;margin:0 2px;padding:0}.youtube-btn:hover{background:var(--color-hover)}.youtube-btn:active{transform:scale(.95)}.youtube-picker{position:absolute;bottom:110px;left:8px;width:calc(100% - 16px);max-width:400px;height:min(400px,calc(100vh - 230px));height:min(400px,calc(100dvh - 230px));max-height:min(400px,calc(100vh - 230px));max-height:min(400px,calc(100dvh - 230px));background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:none;z-index:10001;flex-direction:column}.youtube-picker.active{display:flex;animation:gifPickerSlideUp .2s ease-out}.youtube-search-box{padding:12px;border-bottom:1px solid var(--color-border);background:var(--color-bg);position:relative}.youtube-search-input{width:100%;padding:8px 40px 8px 12px;border:1px solid var(--color-border);border-radius:8px;font-size:14px;background:var(--color-bg-secondary);color:var(--color-text);outline:0}.youtube-search-btn{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;background:0 0;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);transition:all .2s}.youtube-search-btn:hover{background:var(--color-hover);color:red}.youtube-search-btn:active{transform:translateY(-50%) scale(.95)}.youtube-search-input:focus{border-color:red;background:var(--color-bg)}.youtube-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:12px;overflow-y:auto;min-height:min(370px,calc(100vh - 290px));min-height:min(370px,calc(100dvh - 290px));max-height:min(370px,calc(100vh - 290px));max-height:min(370px,calc(100dvh - 290px));-webkit-overflow-scrolling:touch}.youtube-item{width:100%;height:140px;border:none;background:var(--color-bg-secondary);border-radius:8px;cursor:pointer;transition:all .2s;padding:0;overflow:hidden;position:relative;display:flex;flex-direction:column}.youtube-item:hover{transform:scale(1.02);box-shadow:0 2px 8px rgba(0,0,0,.2)}.youtube-item:active{transform:scale(.98)}.youtube-thumbnail{width:100%;height:100px;object-fit:cover;display:block;flex-shrink:0}.youtube-title{padding:8px;font-size:12px;line-height:1.3;color:var(--color-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:left}.youtube-loading{grid-column:1/-1;text-align:center;padding:24px;color:var(--color-text-secondary);font-size:14px}.youtube-video-preview{position:relative;width:100%;max-width:300px;border-radius:8px;overflow:hidden;background:var(--color-bg-secondary);margin:8px 0;cursor:pointer;transition:all .2s}.youtube-video-preview:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,.2)}.youtube-video-preview img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.youtube-video-preview .play-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;background:rgba(255,0,0,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:none}.youtube-video-preview .play-overlay::after{content:'';width:0;height:0;border-left:20px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:4px}.youtube-video-preview .video-title{padding:8px;font-size:13px;color:var(--color-text);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.youtube-mini-player{position:fixed;bottom:20px;right:20px;width:320px;background:#000;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.5);z-index:10000;display:flex;flex-direction:column;overflow:hidden;resize:none;pointer-events:auto}.youtube-mini-header{background:rgba(0,0,0,.9);padding:4px 8px;display:flex;justify-content:flex-end;gap:4px;cursor:move;user-select:none;touch-action:none;flex-shrink:0;height:40px}.youtube-mini-header button{background:0 0;border:none;color:#fff;font-size:18px;width:32px;height:32px;cursor:pointer;border-radius:4px;transition:background .2s;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.youtube-mini-header button:hover{background:rgba(255,255,255,.2)}.youtube-mini-header button:active{background:rgba(255,255,255,.3)}.youtube-mini-content{position:relative;background:#000;width:100%;aspect-ratio:16/9;overflow:hidden}.youtube-mini-content iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.voice-btn{width:36px;height:36px;min-width:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;padding:0}.voice-btn:hover{background:var(--color-hover)}.voice-btn:active{transform:scale(.95)}.voice-controls{position:absolute;bottom:8px;left:8px;right:8px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:24px;padding:8px 12px;display:flex;align-items:center;gap:8px;box-shadow:0 2px 12px rgba(0,0,0,.1);z-index:10;animation:slideUpFade .3s ease-out}@keyframes slideUpFade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.recording-indicator{display:flex;align-items:center;gap:8px;flex:1}.recording-dot{width:12px;height:12px;border-radius:50%;background:#f44;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}.recording-time{font-size:14px;font-weight:500;color:var(--color-text);min-width:40px}.control-btn{width:40px;height:40px;min-width:40px;border:none;border-radius:50%;background:var(--color-bg);color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;border:1px solid var(--color-border)}.control-btn:hover{background:var(--color-hover)}.control-btn:active{transform:scale(.9)}.record-btn{background:#f44;color:#fff;border-color:#f44}.record-btn:hover{background:#f33}.stop-btn{background:#f44;color:#fff;border-color:#f44}.stop-btn:hover{background:#f33}.play-btn{background:#4caf50;color:#fff;border-color:#4caf50}.play-btn:hover{background:#45a049}.send-voice-btn{background:var(--color-text);color:var(--color-bg);border-color:var(--color-text)}.send-voice-btn:hover{opacity:.9}.cancel-btn{background:var(--color-bg-secondary);color:var(--color-text-secondary)}.cancel-btn:hover{background:#e0e0e0}.voice-controls.recording .message-input{opacity:.3;pointer-events:none}.voice-message-player{display:flex;align-items:center;gap:10px;padding:12px;background:var(--color-bg-secondary);border-radius:16px;margin-top:6px;max-width:280px}.voice-play-btn{width:36px;height:36px;min-width:36px;border:none;border-radius:50%;background:var(--color-text);color:var(--color-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.voice-play-btn:active{transform:scale(.95)}.voice-play-btn.playing{background:#4caf50}.voice-progress-container{flex:1;display:flex;flex-direction:column;gap:4px}.voice-progress-bar{width:100%;height:4px;background:var(--color-border);border-radius:2px;overflow:hidden;cursor:pointer;position:relative}.voice-progress-fill{height:100%;background:var(--color-text);border-radius:2px;transition:width .1s linear;width:0%}.voice-time-display{display:flex;justify-content:space-between;font-size:11px;color:var(--color-text-secondary)}.input-area.voice-mode .emoji-btn,.input-area.voice-mode .file-btn,.input-area.voice-mode .gif-btn,.input-area.voice-mode .message-input,.input-area.voice-mode .send-btn,.input-area.voice-mode .youtube-btn{display:none}.input-area.voice-mode .voice-btn{display:none}.input-area.voice-mode .voice-controls{display:flex;position:relative}.file-btn{width:36px;height:36px;border:none;background:0 0;color:var(--color-text-secondary);cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.file-btn:hover{background:var(--color-hover);color:var(--color-active)}.file-btn:active{transform:scale(.95)}.file-preview{position:absolute;bottom:100%;left:0;right:0;background:var(--color-bg);border-top:1px solid var(--color-border);padding:var(--spacing-md);display:none;z-index:100;max-height:300px;overflow-y:auto}.file-preview-container{display:flex;flex-direction:column;gap:var(--spacing-sm);align-items:center}.file-preview-image{max-width:100%;max-height:200px;border-radius:8px;object-fit:contain}.file-preview-video{max-width:100%;max-height:200px;border-radius:8px;background:#000}.file-preview-audio{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-md);background:var(--color-bg-secondary);border-radius:8px;color:var(--color-text-secondary)}.file-preview-audio span{font-size:14px;word-break:break-all;text-align:center}.file-preview-buttons{display:flex;gap:var(--spacing-sm);margin-top:var(--spacing-sm)}.file-cancel-btn,.file-send-btn{padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.file-send-btn{background:var(--color-active);color:#fff}.file-send-btn:hover:not(:disabled){opacity:.9}.file-send-btn:disabled{opacity:.5;cursor:not-allowed}.file-cancel-btn{background:var(--color-bg-secondary);color:var(--color-text)}.file-cancel-btn:hover{background:var(--color-border)}.image-message-display{margin-top:var(--spacing-sm);cursor:pointer}.message-image{max-width:100%;max-height:400px;border-radius:8px;object-fit:contain;cursor:pointer;transition:opacity .2s}.message-image:hover{opacity:.9}.video-message-display{margin-top:var(--spacing-sm);max-width:100%}.message-video{max-width:100%;max-height:400px;border-radius:8px;background:#000}.video-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:48px;color:#fff;opacity:.8;pointer-events:none}.topic-section{padding:0;margin-bottom:var(--spacing-lg);padding-bottom:var(--spacing-lg);border-bottom:1px solid var(--color-border)}.topic-heading{font-size:15px;font-weight:600;color:var(--color-text);margin:0 0 12px 0;text-align:left;letter-spacing:-.2px}.topic-content{display:flex;flex-direction:column;gap:6px;padding-left:0}.topic-text{font-size:14px;color:var(--color-text);line-height:1.5;margin:0;white-space:pre-wrap;word-wrap:break-word}.topic-meta{font-size:11px;color:var(--color-text-secondary);margin:0;opacity:.7}.radio-section{padding:0;padding-top:var(--spacing-md);margin-bottom:var(--spacing-md)}.radio-heading{font-size:15px;font-weight:600;color:var(--color-text);margin:0 0 12px 0;text-align:left;letter-spacing:-.2px}.radio-player{display:flex;align-items:center;gap:12px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:28px;padding:10px 16px 10px 10px;max-width:100%;transition:border-color .2s ease}.radio-player:hover{border-color:var(--color-text-secondary)}.radio-player-btn{width:36px;height:36px;min-width:36px;border:none;border-radius:50%;background:var(--color-text);color:var(--color-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:15px;padding-left:2px}.radio-player-btn:hover{opacity:.85;transform:scale(1.05)}.radio-player-btn:active{transform:scale(.95)}.radio-player-btn i.fa-play{padding-left:2px}.radio-status{font-size:13px;color:var(--color-text-secondary);white-space:nowrap;user-select:none;font-weight:500}.radio-player-spacer{flex:1;min-width:20px}.radio-player-refresh{width:28px;height:28px;min-width:28px;border:none;border-radius:50%;background:0 0;color:var(--color-text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:14px}.radio-player-refresh:hover{background:var(--color-hover);color:var(--color-text)}.radio-player-refresh:active{transform:scale(.95)}.radio-player-refresh.refreshing i{animation:spin .8s linear infinite}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.posts-container{padding:var(--spacing-lg);height:100%;overflow-y:auto}.create-post-section{margin-bottom:var(--spacing-lg);padding:var(--spacing-md);background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px}.create-post-header{margin-bottom:var(--spacing-md)}.create-post-title{font-size:15px;font-weight:600;color:var(--color-text);margin:0}.post-text-input{width:100%;min-height:80px;max-height:200px;padding:12px;border:1px solid var(--color-border);border-radius:8px;font-size:15px;font-family:inherit;color:var(--color-text);background:var(--color-bg);resize:vertical;box-sizing:border-box}.post-text-input:focus{outline:0;border-color:var(--color-text-secondary)}.post-media-preview{margin-top:var(--spacing-md);position:relative;border-radius:8px;overflow:hidden;background:var(--color-hover)}.post-media-preview img,.post-media-preview video{width:100%;height:auto;max-height:300px;object-fit:contain;display:block}.remove-media-btn{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.remove-media-btn:hover{background:rgba(0,0,0,.9)}.create-post-actions{display:flex;justify-content:space-between;align-items:center;margin-top:var(--spacing-md)}.post-media-buttons{display:flex;gap:8px}.post-media-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all .2s}.post-media-btn:hover{background:var(--color-hover);border-color:var(--color-text-secondary)}.post-submit-btn{padding:10px 24px;background:var(--color-text);color:var(--color-bg);border:none;border-radius:20px;font-size:15px;font-weight:600;cursor:pointer;transition:opacity .2s}.post-submit-btn:hover{opacity:.9}.post-submit-btn:disabled{opacity:.5;cursor:not-allowed}.posts-feed{display:flex;flex-direction:column;gap:var(--spacing-md)}.posts-empty,.posts-loading{text-align:center;padding:var(--spacing-lg);color:var(--color-text-secondary);font-size:14px}.post-item{background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;padding:var(--spacing-md);transition:box-shadow .2s}.post-item:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}.post-header{display:flex;align-items:center;gap:12px;margin-bottom:var(--spacing-sm)}.post-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0}.post-author-info{flex:1}.post-delete-btn{background:0 0;border:none;font-size:20px;cursor:pointer;padding:8px;border-radius:8px;transition:background-color .2s;line-height:1;flex-shrink:0}.post-delete-btn:hover{background:rgba(255,0,0,.1)}.post-author-name{font-size:15px;font-weight:600;color:var(--color-text);margin:0 0 2px 0;display:flex;align-items:center;gap:6px}.post-timestamp{font-size:12px;color:var(--color-text-secondary);margin:0}.post-text{font-size:15px;line-height:1.5;color:var(--color-text);margin:var(--spacing-sm) 0;white-space:pre-wrap;word-wrap:break-word}.post-media{margin-top:var(--spacing-sm);border-radius:8px;overflow:hidden}.post-media img,.post-media video{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;background:var(--color-hover)}.input-area{position:relative}.image-preview-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0);display:flex;justify-content:center;align-items:center;z-index:10000;opacity:0;transition:opacity .3s ease,background .3s ease}.image-preview-modal.show{opacity:1;background:rgba(0,0,0,.9)}.image-preview-modal.fade-out{opacity:0;background:rgba(0,0,0,0)}.image-preview-content{position:relative;max-width:90%;max-height:90%;display:flex;justify-content:center;align-items:center;animation:zoomIn .3s ease}.image-preview-modal.fade-out .image-preview-content{animation:zoomOut .3s ease}@keyframes zoomIn{from{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes zoomOut{from{transform:scale(1);opacity:1}to{transform:scale(.5);opacity:0}}.image-preview-img{max-width:100%;max-height:90vh;object-fit:contain;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5)}.image-preview-close{position:absolute;top:-40px;right:-40px;width:40px;height:40px;background:rgba(255,255,255,.9);color:#000;border:none;border-radius:50%;font-size:28px;line-height:1;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .2s ease;box-shadow:0 2px 10px rgba(0,0,0,.3);z-index:10001}.image-preview-close:hover{background:#fff;transform:scale(1.1)}.image-preview-close:active{transform:scale(.95)}.avatar-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease-out}.avatar-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85);backdrop-filter:blur(4px)}.avatar-modal-content{position:relative;background:#fff;border-radius:16px;max-width:90%;max-height:90%;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:slideUp .3s ease-out}.avatar-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:none;background:rgba(0,0,0,.6);color:#fff;font-size:24px;line-height:1;border-radius:50%;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;transition:all .2s}.avatar-modal-close:hover{background:rgba(0,0,0,.8);transform:scale(1.1)}.avatar-modal-header{padding:16px 20px;background:#f5f5f5;border-bottom:1px solid #e0e0e0}.avatar-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#000}.avatar-modal-body{padding:0;display:flex;align-items:center;justify-content:center;background:#000;min-width:280px;min-height:280px;max-width:500px;max-height:500px}.avatar-modal-body img{width:100%;height:100%;object-fit:contain;display:block}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.instagram-embed-container{max-width:100%!important;margin:10px 0!important;overflow:hidden}.instagram-media{max-width:540px!important;width:100%!important;margin:0 auto!important;border-radius:8px!important;overflow:hidden!important}.notification-overlay{position:fixed;right:16px;z-index:9999;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:8px;pointer-events:none;max-width:calc(100% - 32px)}.notification-bubble{padding:8px 12px;font-size:13px;font-weight:500;animation:bubbleFadeIn .3s ease-out;pointer-events:auto;max-width:250px;word-wrap:break-word;text-align:right}.notification-bubble.join{color:#4caf50}.notification-bubble.quit{color:#f44336}.notification-bubble.fade-out{animation:bubbleFadeOut .3s ease-out forwards}@keyframes bubbleFadeIn{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes bubbleFadeOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.sound-settings-btn{background:0 0;border:none;color:#fff;font-size:18px;cursor:pointer;padding:8px;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.sound-settings-btn:hover{background:var(--color-hover)}.sound-settings-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease-out}.sound-settings-content{background:var(--color-bg);border-radius:16px;width:90%;max-width:320px;box-shadow:0 10px 40px rgba(0,0,0,.3);animation:slideUp .3s ease-out;overflow:hidden}.sound-settings-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--color-border)}.sound-settings-header h3{margin:0;font-size:18px;font-weight:600;color:var(--color-text)}.sound-settings-close{background:0 0;border:none;color:var(--color-text-secondary);font-size:20px;cursor:pointer;padding:4px;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s}.sound-settings-close:hover{background:var(--color-hover);color:var(--color-text)}.sound-settings-body{padding:16px 20px}.sound-setting-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--color-border)}.sound-setting-item:last-child{border-bottom:none}.setting-label{font-size:15px;font-weight:500;color:var(--color-text)}.toggle-switch{position:relative;display:inline-block;width:50px;height:28px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.3s;border-radius:28px}.toggle-slider:before{position:absolute;content:"";height:22px;width:22px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.toggle-switch input:checked+.toggle-slider{background-color:#4caf50}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(22px)}[data-theme=dark] .toggle-slider{background-color:#555}[data-theme=dark] .toggle-switch input:checked+.toggle-slider{background-color:#4caf50}.font-style-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease-out}.font-style-content{background:var(--color-bg);border-radius:16px;width:90%;max-width:360px;box-shadow:0 10px 40px rgba(0,0,0,.3);animation:slideUp .3s ease-out;overflow:hidden}.font-style-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--color-border)}.font-style-header h3{margin:0;font-size:18px;font-weight:600;color:var(--color-text)}.font-style-close{background:0 0;border:none;color:var(--color-text-secondary);font-size:20px;cursor:pointer;padding:4px;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:background .2s}.font-style-close:hover{background:var(--color-hover)}.font-style-body{padding:20px}.font-style-label{margin:0 0 16px 0;font-size:14px;color:var(--color-text-secondary)}.color-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-bottom:20px}.color-swatch{width:100%;aspect-ratio:1;border-radius:6px;cursor:pointer;transition:transform .2s,box-shadow .2s;border:2px solid transparent}.color-swatch:hover{transform:scale(1.1);box-shadow:0 4px 12px rgba(0,0,0,.2)}.color-swatch.selected{border:3px solid var(--color-text);box-shadow:0 0 0 2px var(--color-bg),0 4px 12px rgba(0,0,0,.3)}.font-preview{background:var(--color-hover);border-radius:12px;padding:16px;margin-bottom:20px;text-align:center}.preview-label{font-size:12px;color:var(--color-text-secondary);display:block;margin-bottom:8px}.preview-text{font-size:16px;font-weight:500}.font-style-save-btn{width:100%;background:#000;color:#fff;border:none;border-radius:12px;padding:14px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}.font-style-save-btn:hover{background:#1a1a1a}[data-theme=dark] .font-style-save-btn{background:#fff;color:#000}[data-theme=dark] .font-style-save-btn:hover{background:#e0e0e0}.style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.style-option{background:var(--color-hover);border:2px solid transparent;border-radius:8px;padding:10px 8px;text-align:center;cursor:pointer;transition:all .2s;font-size:13px}.style-option:hover{background:var(--color-border)}.style-option.selected{border-color:var(--color-text);background:var(--color-border)}.bubble-color-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-bottom:20px}.bubble-swatch{width:100%;aspect-ratio:1;border-radius:6px;cursor:pointer;transition:transform .2s,box-shadow .2s;border:2px solid var(--color-border)}.bubble-swatch:hover{transform:scale(1.1);box-shadow:0 4px 12px rgba(0,0,0,.2)}.bubble-swatch.selected{border:3px solid var(--color-text);box-shadow:0 0 0 2px var(--color-bg),0 4px 12px rgba(0,0,0,.3)}.bubble-swatch-default{background:linear-gradient(135deg,#f8f8f8 50%,#121212 50%);position:relative}.bubble-swatch-default::after{content:'Default';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:9px;font-weight:600;color:#666;text-shadow:0 0 2px #fff}.preview-bubble{display:inline-block;padding:10px 14px;border-radius:12px;background:#f8f8f8;max-width:90%}[data-theme=dark] .preview-bubble{background:#121212}.font-family-options{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:20px;max-height:180px;overflow-y:auto;padding:4px}.font-family-option{padding:6px 4px;border:1px solid var(--color-border);border-radius:6px;cursor:pointer;text-align:center;font-size:10px;transition:all .2s ease;background:var(--color-bg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-family-option:hover{border-color:var(--color-text);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.font-family-option.selected{border-color:var(--color-text);background:var(--color-text);color:var(--color-bg);box-shadow:0 4px 12px rgba(0,0,0,.2)}.font-modal-tabs{display:flex;gap:0;width:100%;margin-bottom:16px;background:var(--color-bg-secondary,#f5f5f5);border-radius:12px;padding:4px}[data-theme=dark] .font-modal-tabs{background:#2a2a2a}.font-modal-tab{flex:1;padding:10px 8px;background:0 0;border:none;border-radius:8px;font-size:13px;font-weight:500;color:var(--color-text-secondary);cursor:pointer;transition:all .3s ease;white-space:nowrap}.font-modal-tab.active{background:var(--color-bg);color:var(--color-text);box-shadow:0 1px 3px rgba(0,0,0,.1)}.font-modal-tab:hover:not(.active){color:var(--color-text);opacity:.7}.font-tab-content{display:none}.font-tab-content.active{display:block}.font-style-body .font-preview{margin-top:0;margin-bottom:16px}.font-tab-content .bubble-color-swatches,.font-tab-content .color-swatches,.font-tab-content .font-family-options,.font-tab-content .style-options{margin-bottom:16px}.font-tab-content .font-family-options{max-height:200px}.nick-modal-tab{flex:1;padding:10px 16px;border:none;background:var(--color-hover);color:var(--color-text-secondary);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;border-radius:8px;margin:0 2px}.nick-modal-tab.active{background:var(--color-bg);color:var(--color-text);box-shadow:0 1px 3px rgba(0,0,0,.1)}.nick-modal-tab:hover:not(.active){color:var(--color-text);opacity:.7}.nick-tab-content{display:none}.nick-tab-content.active{display:block}.nick-preview-container{background:var(--color-hover);border-radius:12px;padding:16px;text-align:center}.nick-preview-text{font-size:18px;font-weight:500}.nick-tab-content .color-swatches,.nick-tab-content .font-family-options,.nick-tab-content .style-options{margin-bottom:16px}.nick-tab-content .font-family-options{max-height:200px}.avatar-section{padding:var(--spacing-md);border-bottom:1px solid var(--color-border)}.avatar-heading{font-size:16px;font-weight:600;margin-bottom:var(--spacing-md);color:var(--color-text)}.avatar-content{display:flex;flex-direction:column;gap:var(--spacing-md)}.avatar-preview-container{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);background:var(--color-bg-secondary);border-radius:8px}.current-avatar-img{width:80px;height:80px;border-radius:12px;object-fit:cover;border:2px solid var(--color-border)}.avatar-info{flex:1;display:flex;flex-direction:column}#avatar-status-text{font-size:14px;color:var(--color-text-secondary)}.avatar-controls{display:flex;gap:var(--spacing-sm);flex-wrap:wrap}.avatar-btn{padding:10px 16px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:6px}.avatar-btn.primary-btn{background:#000;color:#fff}.avatar-btn.primary-btn:hover{background:#333}.avatar-btn.secondary-btn{background:var(--color-bg-secondary);color:var(--color-text);border:1px solid var(--color-border)}.avatar-btn.secondary-btn:hover{background:var(--color-hover)}.avatar-btn.confirm-btn{background:#10b981;color:#fff}.avatar-btn.confirm-btn:hover{background:#059669}.avatar-btn.cancel-btn{background:#ef4444;color:#fff}.avatar-btn.cancel-btn:hover{background:#dc2626}.avatar-upload-preview{padding:var(--spacing-md);background:var(--color-bg-secondary);border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:var(--spacing-md)}#avatar-preview-img{width:150px;height:150px;border-radius:16px;object-fit:cover;border:2px solid var(--color-border)}.avatar-upload-actions{display:flex;gap:var(--spacing-sm)}.avatar-hint{font-size:12px;color:var(--color-text-secondary);text-align:center;margin:0}.profile-main-view{height:100%;overflow-y:auto;background:var(--color-bg)}.profile-header{text-align:center;padding:40px 20px 30px;background:var(--color-bg);border-bottom:1px solid var(--color-border)}.profile-avatar-wrapper{width:100px;height:100px;margin:0 auto 16px;border-radius:50%;overflow:hidden;border:3px solid var(--color-border);box-shadow:0 2px 8px rgba(0,0,0,.1)}.profile-avatar{width:100%;height:100%;object-fit:cover}.profile-name{font-size:20px;font-weight:600;color:var(--color-text);margin:0 0 4px 0;letter-spacing:-.3px}.profile-username{font-size:14px;color:var(--color-text-secondary);margin:0 0 20px 0}.edit-profile-btn{background:#000;color:#fff;border:none;border-radius:24px;padding:12px 32px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px rgba(0,0,0,.1)}.edit-profile-btn:hover{background:#1a1a1a;transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.edit-profile-btn:active{transform:translateY(0)}.profile-menu{padding:8px 0}.profile-menu-item{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--color-bg);border-bottom:1px solid var(--color-border);cursor:pointer;transition:background .2s}.profile-menu-item:hover{background:var(--color-hover)}.profile-menu-item:active{background:var(--color-border)}.menu-item-left{display:flex;align-items:center;gap:12px}.menu-icon{width:20px;height:20px;color:var(--color-text);flex-shrink:0}.menu-item-left span{font-size:15px;color:var(--color-text);font-weight:400}.menu-arrow{width:20px;height:20px;color:var(--color-text-secondary);flex-shrink:0}.profile-menu-item[data-action=logout]{border-bottom:none}.profile-edit-view{height:100%;overflow-y:auto;background:var(--color-bg)}.edit-header{display:flex;align-items:center;padding:16px 20px;background:var(--color-bg);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:10}.back-btn{background:0 0;border:none;color:var(--color-text);cursor:pointer;padding:8px;margin-right:12px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.back-btn:hover{background:var(--color-hover)}.back-btn:active{background:var(--color-border)}.edit-title{font-size:18px;font-weight:600;color:var(--color-text);margin:0}.edit-content{padding:24px 20px}.edit-avatar-section{text-align:center;margin-bottom:32px}.edit-avatar-wrapper{width:120px;height:120px;margin:0 auto 12px;border-radius:50%;overflow:visible;position:relative;border:3px solid var(--color-border);box-shadow:0 2px 8px rgba(0,0,0,.1)}.edit-avatar{width:100%;height:100%;object-fit:cover;border-radius:50%}.edit-avatar-overlay{position:absolute;bottom:-10px;right:-10px;width:40px;height:40px;background:#000;border:3px solid var(--color-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:1}.edit-avatar-overlay:hover{background:#1a1a1a;transform:scale(1.05)}.edit-avatar-overlay:active{transform:scale(.95)}.edit-avatar-overlay svg{width:20px;height:20px}.edit-username-label{font-size:14px;color:var(--color-text-secondary);margin:0}.edit-form{max-width:500px;margin:0 auto}.form-group{margin-bottom:20px}.form-label{display:block;font-size:12px;color:var(--color-text-secondary);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.form-input{width:100%;padding:14px 16px;background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:8px;font-size:15px;color:var(--color-text);transition:all .2s;box-sizing:border-box;font-family:inherit}.form-input:focus{outline:0;border-color:#000;background:var(--color-bg)}.form-input:disabled,.form-input[readonly]{background:var(--color-bg-secondary);cursor:not-allowed;opacity:.7}.form-row{display:flex;gap:12px}.form-half{flex:1}.save-profile-btn{width:100%;background:#000;color:#fff;border:none;border-radius:8px;padding:16px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:12px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.save-profile-btn:hover{background:#1a1a1a;transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.save-profile-btn:active{transform:translateY(0)}.avatar-upload-preview{margin-top:16px;padding:16px;background:var(--color-bg-secondary);border-radius:8px;border:1px solid var(--color-border)}.avatar-upload-preview img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:0 auto 16px;display:block;border:2px solid var(--color-border)}.avatar-upload-actions{display:flex;gap:12px;justify-content:center}.avatar-btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.avatar-btn.confirm-btn{background:#22c55e;color:#fff}.avatar-btn.confirm-btn:hover{background:#16a34a}.avatar-btn.cancel-btn{background:#ef4444;color:#fff}.avatar-btn.cancel-btn:hover{background:#dc2626}.avatar-border-male{border:2px solid #03add8!important;box-sizing:border-box;border-radius:50%}.avatar-border-female{border:2px solid #f9f!important;box-sizing:border-box;border-radius:50%}.avatar-border-other{border:2px solid #ccc!important;box-sizing:border-box;border-radius:50%}.theme-toggle-btn{width:36px;height:36px;border:none;border-radius:50%;background:0 0;color:var(--color-text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;font-size:18px;margin-left:8px;position:relative}:root .theme-toggle-btn{color:#fff}.landing-header .theme-toggle-btn{color:var(--color-text)!important}.landing-header .theme-toggle-btn .fa-moon,.landing-header .theme-toggle-btn .fa-sun{color:inherit}.theme-toggle-btn i{transition:transform .3s ease,opacity .3s ease}.theme-toggle-btn .fa-sun{position:absolute;opacity:0;transform:rotate(180deg)}.theme-toggle-btn .fa-moon{position:absolute;opacity:1;transform:rotate(0)}[data-theme=dark] .theme-toggle-btn .fa-sun{opacity:1;transform:rotate(0)}[data-theme=dark] .theme-toggle-btn .fa-moon{opacity:0;transform:rotate(-180deg)}[data-theme=dark] .primary-btn{background:#3132334f;color:#fff}[data-theme=dark] .send-btn{background:0 0;color:#fff}[data-theme=dark] .send-btn-icon{filter:brightness(0) invert(1)}[data-theme=dark] .badge{background:var(--color-accent);color:#fff}[data-theme=dark] .pm-unread-badge{background:var(--color-accent)}[data-theme=dark] .emoji-picker,[data-theme=dark] .gif-picker{box-shadow:0 4px 20px rgba(0,0,0,.5)}[data-theme=dark] .gif-item:hover{box-shadow:0 2px 12px rgba(0,0,0,.4)}[data-theme=dark] .tab-btn.active{border-bottom-color:var(--color-accent)}[data-theme=dark] .tab-icon{filter:invert(1) brightness(1.2)}[data-theme=dark] .tab-btn.active .tab-icon{filter:invert(1) brightness(1.5)}[data-theme=dark] .message-input:focus{border-color:var(--color-accent)}[data-theme=dark] .connect-form input:focus{border-color:var(--color-accent)}[data-theme=dark] .dot.connected{background:#4ade80}[data-theme=dark] .dot.connecting{background:#fb923c}[data-theme=dark] .dot.error{background:#f87171}[data-theme=dark] .modal-overlay{background:rgba(0,0,0,.7)}[data-theme=dark] .modal-content{background:var(--color-bg-secondary)}[data-theme=dark] .file-preview-container img,[data-theme=dark] .file-preview-container video{border:1px solid var(--color-border)}[data-theme=dark] .voice-controls{border:1px solid var(--color-border)}[data-theme=dark] .recording-indicator{background:rgba(239,68,68,.2)}[data-theme=dark] .avatar-section,[data-theme=dark] .radio-section,[data-theme=dark] .topic-section{background:0 0;border-color:var(--color-border)}[data-theme=dark] .avatar-preview-container{background:var(--color-bg-secondary);border:1px solid var(--color-border)}*{transition:background-color .3s ease,border-color .3s ease,color .3s ease}.message-input,.tab-btn:active,.tabs-container,button:active,input,textarea{transition:transform .3s cubic-bezier(.25, .46, .45, .94),background-color .3s ease,border-color .3s ease,color .3s ease,opacity .2s}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:var(--color-bg-secondary)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:var(--color-text-secondary)}#landing-screen .theme-toggle-btn{position:relative!important;top:auto!important;right:auto!important;z-index:1!important;color:var(--color-text)}.header-content{display:flex;justify-content:space-between;align-items:center;gap:8px}.header-title{flex:1;min-width:0}.connection-indicator{flex-shrink:0}[data-theme=dark] .radio-player{background:var(--color-bg-secondary);border-color:var(--color-border)}[data-theme=dark] .radio-player-btn{background:var(--color-accent);color:#fff}[data-theme=dark] .avatar-btn.primary-btn{background:var(--color-accent);color:#fff}[data-theme=dark] .avatar-btn.primary-btn:hover{background:#3a7bc8}[data-theme=dark] .edit-profile-btn{background:#fff;color:#000}[data-theme=dark] .edit-profile-btn:hover{background:#e5e5e5}[data-theme=dark] .save-profile-btn{background:#fff;color:#000}[data-theme=dark] .save-profile-btn:hover{background:#e5e5e5}[data-theme=dark] .edit-avatar-overlay{background:#fff;border-color:var(--color-bg)}[data-theme=dark] .edit-avatar-overlay:hover{background:#e5e5e5}[data-theme=dark] .edit-avatar-overlay svg{fill:#000000}[data-theme=dark] .form-input:focus{border-color:#fff}[data-theme=dark] .create-post-section,[data-theme=dark] .post-item{background:rgba(255,255,255,.03);border-color:var(--color-border)}[data-theme=dark] .post-item:hover{box-shadow:0 2px 8px rgba(0,0,0,.3)}[data-theme=dark] .emoji-btn img,[data-theme=dark] .file-btn img,[data-theme=dark] .gif-btn img,[data-theme=dark] .voice-btn img,[data-theme=dark] .youtube-btn img{filter:brightness(0) invert(1) brightness(1.2)}@media (min-width:600px){.input-hint{display:block}}@media (max-width:768px){.youtube-mini-player{width:calc(100vw - 40px);max-width:320px;right:20px;left:20px;margin:0 auto}.radio-popup{right:12px;width:calc(100vw - 24px);max-width:320px}}@media (max-width:767px){#app{height:100vh;height:100dvh}.messages-container{flex:1;min-height:0;overflow-y:scroll;-webkit-overflow-scrolling:touch}.input-area{flex-shrink:0;flex-grow:0;flex-wrap:wrap;padding:6px;gap:6px}.input-area .emoji-btn,.input-area .file-btn,.input-area .gif-btn,.input-area .voice-btn,.input-area .youtube-btn{order:1;width:32px;height:32px;min-width:32px}.input-area .emoji-btn-icon{width:22px;height:22px}.input-area .message-input{order:2;flex:1 1 100%;width:100%;margin-right:40px}.input-area .send-btn{order:2;position:absolute;right:1px;bottom:8px}}@media (max-width:320px){.header-title{font-size:18px}.tab-btn{font-size:14px;padding:var(--spacing-xs)}.message-text{font-size:14px}}@media (min-width:768px) and (max-width:1199px){#app{max-width:768px;margin:0 auto;border-left:1px solid var(--color-border);border-right:1px solid var(--color-border)}.tabs-container{width:300%;display:flex;flex-direction:row}.tab-content{width:33.333%;min-width:33.333%;max-width:33.333%;flex-shrink:0}.content-area{overflow:hidden;position:relative}.pm-conversations,.users-list{width:100%;box-sizing:border-box}.emoji-picker{bottom:70px}.gif-picker{bottom:70px}.youtube-picker{bottom:70px}}@media (max-width:768px){.file-preview{max-height:250px}.file-preview-image,.file-preview-video{max-height:150px}.message-image,.message-video{max-height:300px}.image-preview-close{top:10px;right:10px;width:36px;height:36px;font-size:24px}.image-preview-img{max-height:85vh;border-radius:4px}}@media (max-width:480px){.avatar-modal-content{max-width:95%;max-height:85%}.avatar-modal-body{min-width:240px;min-height:240px}}@media (max-width:1199px){.tab-btn[data-tab=posts]{order:1}.tab-btn[data-tab=profile]{order:2}.tab-btn[data-tab=main]{order:3}.tab-btn[data-tab=users]{order:4}.tab-btn[data-tab=pm]{order:5}}@media (max-width:540px){.instagram-media{max-width:100%!important;min-width:100%!important}.instagram-embed-container{max-width:100%!important}}@media (min-width:769px){.notification-overlay{right:56px}}@media (max-width:480px){.notification-overlay{right:12px}.notification-bubble{padding:6px 10px;font-size:12px;max-width:200px}}@media (max-width:480px){.header-title{font-size:18px}.radio-toggle-btn,.theme-toggle-btn,.user-logout-btn,.znc-logout-btn{width:36px;height:36px;font-size:16px}.radio-popup{right:10px;left:10px;width:auto;max-width:calc(100vw - 20px)}}@media (max-width:480px){.profile-header{padding:32px 16px 24px}.profile-menu-item{padding:14px 16px}.edit-content{padding:20px 16px}.form-row{flex-direction:column;gap:20px}}.desktop-panel-toggle{display:none}#landing-screen~#chat-screen .desktop-panel-toggle{display:none}@media (min-width:1200px){body,html{overflow:hidden;height:100vh}#chat-screen.active .desktop-panel-toggle{display:none}#app{max-width:100%;width:100%;border:none;height:100vh;overflow:hidden}#chat-screen{overflow:hidden!important;height:100vh}#chat-screen.active .tab-nav{display:flex!important;flex-direction:column;background:var(--color-bg);border-right:1px solid var(--color-border);border-bottom:none;padding:8px 0;width:5%;min-width:60px;height:calc(100vh - 56px);position:fixed;left:0;top:56px;z-index:98;overflow-y:auto}#chat-screen.active .tab-btn{flex:0 0 auto!important;max-width:100%!important;min-width:100%!important;width:100%!important;height:48px;border-bottom:none;border-right:3px solid transparent;transition:border-color .2s,background-color .2s;order:initial;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 8px}#chat-screen.active .tab-btn[data-tab=main]{display:none!important;visibility:hidden!important;pointer-events:none!important}#chat-screen.active .tab-btn.active{border-right-color:var(--color-primary);background:var(--color-surface)}#chat-screen.active .tab-btn[data-tab=main].active{border-right-color:transparent}#chat-screen.active .content-area{display:flex;flex-direction:row;overflow:hidden;height:100%;flex:1;margin-left:5%}#chat-screen.active .tabs-container{display:grid;grid-template-columns:30fr 70fr;grid-template-rows:1fr;width:100%;height:100%;transform:none!important;transition:none;gap:0}#main-tab{display:flex!important;flex-direction:column;border-left:1px solid var(--color-border);min-height:0;min-width:0;width:100%;max-width:none;grid-column:2;grid-row:1;overflow-y:hidden;overflow-x:hidden;height:100%;position:relative}#main-tab .messages-container{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}#main-tab .input-area{flex-shrink:0;flex-grow:0;width:93%;max-width:100%;box-sizing:border-box;position:relative;overflow:visible;flex-wrap:wrap;gap:8px;padding:8px}#main-tab .input-area .emoji-btn,#main-tab .input-area .file-btn,#main-tab .input-area .gif-btn,#main-tab .input-area .voice-btn,#main-tab .input-area .youtube-btn{order:1;flex:0 0 auto}#main-tab .input-area .voice-btn{margin-right:auto}#main-tab .input-area .message-input{order:2;flex:1 1 calc(100% - 48px)!important;min-width:calc(100% - 48px)!important;width:auto!important;margin-right:0!important}#main-tab .input-area .send-btn{order:2;flex-shrink:0;position:relative!important}#main-tab .emoji-picker,#main-tab .file-preview,#main-tab .gif-picker,#main-tab .voice-controls,#main-tab .youtube-picker{order:3;display:none;position:absolute;bottom:110px;left:8px;z-index:10000}#main-tab .voice-controls{bottom:8px}#main-tab .emoji-picker.active,#main-tab .gif-picker.active,#main-tab .youtube-picker.active{display:flex!important}#users-tab{flex-direction:column;min-height:0;min-width:0;width:100%;max-width:none;grid-column:1;grid-row:1;position:relative;overflow:hidden;height:100%;border-right:1px solid var(--color-border)}#users-tab.active-panel{display:flex!important}#users-tab:not(.active-panel){display:none!important}#users-tab .users-list{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}#pm-tab{flex-direction:column;min-height:0;min-width:0;width:100%;max-width:none;grid-column:1;grid-row:1;position:relative;overflow:hidden;height:100%;border-right:1px solid var(--color-border)}#pm-tab.active-panel{display:flex!important}#pm-tab:not(.active-panel){display:none!important}#profile-tab{flex-direction:column;min-height:0;min-width:0;width:100%;max-width:none;grid-column:1;grid-row:1;position:relative;overflow:hidden;height:100%;border-right:1px solid var(--color-border)}#profile-tab.active-panel{display:flex!important}#profile-tab:not(.active-panel){display:none!important}#profile-tab .profile-main-view{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}#posts-tab{flex-direction:column;min-height:0;min-width:0;width:100%;max-width:none;grid-column:1;grid-row:1;position:relative;overflow:hidden;height:100%;border-right:1px solid var(--color-border)}#posts-tab.active-panel{display:flex!important}#posts-tab:not(.active-panel){display:none!important}#posts-tab .posts-container{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}#pm-tab .pm-list-view{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;position:relative;top:auto}#pm-tab .pm-chat-view{position:fixed;top:56px;width:30%;bottom:0;height:calc(100vh - 56px);background:var(--color-bg);z-index:10;display:none;flex-direction:column}#pm-tab .pm-chat-view.active{display:flex!important}#pm-tab .pm-chat-view .input-area,#pm-tab .pm-chat-view .pm-header,#pm-tab .pm-chat-view .pm-messages{background:var(--color-bg)}#pm-tab .pm-chat-view .input-area{flex-wrap:wrap;align-items:center;padding:var(--spacing-sm);gap:6px}#pm-tab .pm-chat-view .emoji-btn,#pm-tab .pm-chat-view .file-btn,#pm-tab .pm-chat-view .gif-btn,#pm-tab .pm-chat-view .voice-btn,#pm-tab .pm-chat-view .youtube-btn{order:1;flex-shrink:0}#pm-tab .pm-chat-view .message-input{order:2;flex:1 1 calc(100% - 50px);min-width:calc(100% - 50px)}#pm-tab .pm-chat-view .send-btn{order:2;flex-shrink:0}#pm-tab .pm-chat-view .emoji-picker,#pm-tab .pm-chat-view .file-preview,#pm-tab .pm-chat-view .gif-picker,#pm-tab .pm-chat-view .voice-controls,#pm-tab .pm-chat-view .youtube-picker{order:3}#pm-tab .pm-conversations{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.desktop-panel-toggle{display:none!important}.desktop-toggle-icon{width:32px;height:32px;border-radius:8px;background:var(--color-surface);border:1px solid var(--color-border);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.desktop-toggle-icon:hover{background:var(--color-border);transform:scale(1.05)}.desktop-toggle-icon.active{background:var(--color-primary);border-color:var(--color-primary)}.desktop-toggle-icon img{width:20px;height:20px;opacity:.7}.desktop-toggle-icon.active img{opacity:1;filter:brightness(0) invert(1)}.tab-content{overflow-y:auto;overflow-x:hidden}.messages-container,.pm-conversations,.posts-container,.profile-main-view,.users-list{height:100%}#pm-list-view{display:flex!important}.messages-container::-webkit-scrollbar,.pm-conversations::-webkit-scrollbar,.posts-container::-webkit-scrollbar,.profile-main-view::-webkit-scrollbar,.tab-content::-webkit-scrollbar,.users-list::-webkit-scrollbar{width:4px}.messages-container::-webkit-scrollbar-track,.pm-conversations::-webkit-scrollbar-track,.posts-container::-webkit-scrollbar-track,.profile-main-view::-webkit-scrollbar-track,.tab-content::-webkit-scrollbar-track,.users-list::-webkit-scrollbar-track{background:0 0}.messages-container::-webkit-scrollbar-thumb,.pm-conversations::-webkit-scrollbar-thumb,.posts-container::-webkit-scrollbar-thumb,.profile-main-view::-webkit-scrollbar-thumb,.tab-content::-webkit-scrollbar-thumb,.users-list::-webkit-scrollbar-thumb{background:rgba(0,0,0,.1);border-radius:2px}.messages-container::-webkit-scrollbar-thumb:hover,.pm-conversations::-webkit-scrollbar-thumb:hover,.posts-container::-webkit-scrollbar-thumb:hover,.profile-main-view::-webkit-scrollbar-thumb:hover,.tab-content::-webkit-scrollbar-thumb:hover,.users-list::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.2)}[data-theme=dark] .messages-container::-webkit-scrollbar-thumb,[data-theme=dark] .pm-conversations::-webkit-scrollbar-thumb,[data-theme=dark] .posts-container::-webkit-scrollbar-thumb,[data-theme=dark] .profile-main-view::-webkit-scrollbar-thumb,[data-theme=dark] .tab-content::-webkit-scrollbar-thumb,[data-theme=dark] .users-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15)}[data-theme=dark] .messages-container::-webkit-scrollbar-thumb:hover,[data-theme=dark] .pm-conversations::-webkit-scrollbar-thumb:hover,[data-theme=dark] .posts-container::-webkit-scrollbar-thumb:hover,[data-theme=dark] .profile-main-view::-webkit-scrollbar-thumb:hover,[data-theme=dark] .tab-content::-webkit-scrollbar-thumb:hover,[data-theme=dark] .users-list::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.25)}}.stories-section{padding:12px 16px;border-bottom:1px solid var(--color-border);background:var(--color-bg)}.stories-container{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;padding:4px 0}.stories-container::-webkit-scrollbar{display:none}.story-item{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;flex-shrink:0;min-width:68px}.story-avatar-wrapper{position:relative;width:64px;height:64px;border-radius:50%;padding:3px;background:linear-gradient(45deg,#f09433 0,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)}.story-avatar-wrapper.no-story{background:var(--color-border)}.story-avatar-wrapper.viewed{background:var(--color-text-secondary);opacity:.7}.story-avatar-wrapper.add-story{background:var(--color-border);border:2px dashed var(--color-text-secondary);padding:1px}.story-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;background:var(--color-bg);border:3px solid var(--color-bg)}.story-add-icon{position:absolute;bottom:-2px;right:-2px;width:22px;height:22px;background:var(--color-primary,#0095f6);border:2px solid var(--color-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700}.story-nickname{font-size:11px;color:var(--color-text);text-align:center;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.95);z-index:10000;display:none;align-items:center;justify-content:center}.story-modal-overlay.active{display:flex}.story-modal{position:relative;width:100%;max-width:420px;height:100%;max-height:90vh;display:flex;flex-direction:column;background:#000;border-radius:12px;overflow:hidden}.story-modal-header{position:absolute;top:0;left:0;right:0;z-index:10;padding:12px 16px;background:linear-gradient(to bottom,rgba(0,0,0,.6),transparent);display:flex;align-items:center;gap:12px}.story-progress-container{position:absolute;top:0;left:0;right:0;display:flex;gap:4px;padding:8px 12px;z-index:11}.story-progress-bar{flex:1;height:3px;background:rgba(255,255,255,.3);border-radius:2px;overflow:hidden}.story-progress-bar .progress{height:100%;background:#fff;width:0%;transition:width .1s linear}.story-progress-bar.completed .progress{width:100%}.story-user-info{display:flex;align-items:center;gap:10px;flex:1;margin-top:16px}.story-user-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #fff}.story-user-details{flex:1}.story-user-name{color:#fff;font-weight:600;font-size:14px}.story-time{color:rgba(255,255,255,.7);font-size:12px}.story-close-btn{background:0 0;border:none;color:#fff;font-size:24px;cursor:pointer;padding:8px;margin-top:16px}.story-content{flex:1;display:flex;align-items:center;justify-content:center;position:relative}.story-media{max-width:100%;max-height:100%;object-fit:contain}.story-nav{position:absolute;top:50%;transform:translateY(-50%);width:40%;height:60%;cursor:pointer;z-index:5}.story-nav-prev{left:0}.story-nav-next{right:0}.story-modal-footer{position:absolute;bottom:0;left:0;right:0;padding:16px;background:linear-gradient(to top,rgba(0,0,0,.6),transparent);display:flex;justify-content:space-between;align-items:center;z-index:10}.story-views-btn{display:flex;align-items:center;gap:6px;background:0 0;border:none;color:#fff;font-size:14px;cursor:pointer;padding:8px 12px}.story-views-btn i{font-size:16px}.story-delete-btn{background:0 0;border:none;color:#fff;font-size:20px;cursor:pointer;padding:8px}.add-story-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);z-index:10000;display:none;align-items:center;justify-content:center}.add-story-modal-overlay.active{display:flex}.add-story-modal{background:var(--color-bg);border-radius:16px;width:90%;max-width:400px;padding:24px;text-align:center}.add-story-modal h3{margin-bottom:20px;color:var(--color-text);font-size:18px}.add-story-preview{width:100%;max-height:300px;border-radius:12px;margin-bottom:16px;display:none;object-fit:contain;background:#000}.add-story-preview.active{display:block}.add-story-actions{display:flex;flex-direction:column;gap:12px}.add-story-select-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:2px dashed var(--color-border);border-radius:12px;background:0 0;color:var(--color-text);cursor:pointer;font-size:15px;transition:all .2s}.add-story-select-btn:hover{border-color:var(--color-primary,#0095f6);color:var(--color-primary,#0095f6)}.add-story-submit-btn{padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(45deg,#f09433 0,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);color:#fff;cursor:pointer;font-size:15px;font-weight:600;display:none}.add-story-submit-btn.active{display:block}.add-story-cancel-btn{padding:12px 24px;border:none;border-radius:12px;background:var(--color-bg-secondary);color:var(--color-text);cursor:pointer;font-size:14px}.add-story-file-info{font-size:12px;color:var(--color-text-secondary);margin-top:8px}.viewers-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:10001;display:none;align-items:flex-end;justify-content:center}.viewers-modal-overlay.active{display:flex}.viewers-modal{background:var(--color-bg);border-radius:16px 16px 0 0;width:100%;max-width:420px;max-height:60vh;padding:16px;animation:slideUp .3s ease}@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}.viewers-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--color-border)}.viewers-modal-header h4{color:var(--color-text);font-size:16px}.viewers-modal-close{background:0 0;border:none;color:var(--color-text);font-size:20px;cursor:pointer}.viewers-list{max-height:40vh;overflow-y:auto}.viewer-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--color-border)}.viewer-item:last-child{border-bottom:none}.viewer-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.viewer-info{flex:1}.viewer-name{color:var(--color-text);font-weight:500;font-size:14px}.viewer-time{color:var(--color-text-secondary);font-size:12px}.no-viewers{text-align:center;padding:24px;color:var(--color-text-secondary)}@media (max-width:480px){.story-modal{max-width:100%;max-height:100vh;border-radius:0}.add-story-modal{width:95%}}