:root{--bg-gradient: linear-gradient(160deg, #ffd9f0 0%, #d9ecff 35%, #e4d6ff 70%, #ffe3f3 100%);--surface: rgba(255, 255, 255, .92);--surface-2: #fdf0f8;--surface-3: #f4e9ff;--primary: #ff5cb8;--primary-2: #b795f5;--accent-blue: #7dd3fc;--text: #3a2e4d;--muted: #9b8aad;--danger: #ff6b81;--radius: 20px;--decor-opacity: .4}[data-theme=ocean]{--bg-gradient: linear-gradient(160deg, #d6f3ff 0%, #cfe8ff 35%, #cdeaff 70%, #e0f7ff 100%);--surface: rgba(255, 255, 255, .92);--surface-2: #eaf7ff;--surface-3: #e0f0ff;--primary: #2aa9d8;--primary-2: #5ec9e0;--accent-blue: #67d1e8;--text: #16394a;--muted: #6f97a8;--danger: #ff6b81}[data-theme=sunset]{--bg-gradient: linear-gradient(160deg, #ffe3c2 0%, #ffd0da 35%, #ffc6e8 70%, #ffe9d6 100%);--surface: rgba(255, 255, 255, .92);--surface-2: #fff2e6;--surface-3: #ffe6ee;--primary: #ff8a65;--primary-2: #ff6f9c;--accent-blue: #ffb37d;--text: #4a2c22;--muted: #ad8a7c;--danger: #ff5c6c}[data-theme=mint]{--bg-gradient: linear-gradient(160deg, #d6fff0 0%, #d3f7e0 35%, #e7ffe0 70%, #ecfff5 100%);--surface: rgba(255, 255, 255, .92);--surface-2: #e7fff3;--surface-3: #e2f9e5;--primary: #2fb886;--primary-2: #6bd6a8;--accent-blue: #6fd3c7;--text: #1f4536;--muted: #7ba896;--danger: #ff6b81}[data-theme=berry]{--bg-gradient: linear-gradient(160deg, #ffd6ea 0%, #f0c9ff 35%, #dcd0ff 70%, #f3d9ff 100%);--surface: rgba(255, 255, 255, .92);--surface-2: #fbeaff;--surface-3: #f1e4ff;--primary: #b34fd1;--primary-2: #7e6bf0;--accent-blue: #a98cf7;--text: #3d2450;--muted: #9b85b3;--danger: #ff6b81}[data-theme=midnight]{--bg-gradient: linear-gradient(160deg, #14121f 0%, #171426 35%, #1c1630 70%, #100e1a 100%);--surface: rgba(35, 30, 55, .9);--surface-2: #211c34;--surface-3: #241f3a;--primary: #a56bff;--primary-2: #6ea8ff;--accent-blue: #63c7ff;--text: #ece7ff;--muted: #9186b0;--danger: #ff7a90;--decor-opacity: .12}*{box-sizing:border-box}html,body,#root{height:100%}html{overscroll-behavior-y:contain}body{margin:0;position:relative;background:var(--bg-gradient);background-attachment:fixed;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;overscroll-behavior-y:contain}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background-image:url(/decor-pattern.png);background-size:260px 260px;background-repeat:repeat;opacity:var(--decor-opacity);transition:opacity .2s ease;pointer-events:none;z-index:0}#root{position:relative;z-index:1}.auth-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.auth-brand{margin-bottom:20px}.app-brand{display:flex;align-items:center;gap:10px}.app-brand-logo{border-radius:30%;box-shadow:0 4px 14px #b764c859;flex-shrink:0}.app-brand-subtitle{display:flex;align-items:center;gap:5px}.app-brand-subtitle-photo{width:18px;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px var(--surface),0 0 0 2.5px var(--primary)}.own-avatar{display:flex}.card{background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:var(--radius);padding:28px 24px;width:100%;max-width:380px;display:flex;flex-direction:column;gap:12px;box-shadow:0 12px 40px #b764c840;border:1px solid rgba(255,255,255,.6)}.card h1,.card h3{margin:0 0 4px;background:linear-gradient(135deg,var(--primary),var(--primary-2));-webkit-background-clip:text;background-clip:text;color:transparent}input,textarea{background:var(--surface-2);border:1.5px solid #ffd3ec;color:var(--text);border-radius:14px;padding:12px 14px;font-size:16px;width:100%;font-family:inherit}input:focus,textarea:focus{outline:none;border-color:var(--primary)}input::placeholder,textarea::placeholder{color:var(--muted)}textarea.recovery-box{font-family:monospace;word-break:break-all}.btn{border:none;border-radius:999px;padding:12px 18px;font-weight:700;cursor:pointer;background:var(--surface-2);color:var(--text);transition:transform .1s ease,opacity .15s ease;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.btn:active{transform:scale(.96)}.btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 6px 16px #ff5cb859}.btn.ghost{background:transparent;color:var(--text);box-shadow:none}.btn.small{padding:8px 14px;font-size:14px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}.error{color:#d6336c;font-size:14px}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}.screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;max-width:480px;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;padding-top:max(14px,env(safe-area-inset-top));background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,92,184,.15);position:sticky;top:0;z-index:5}.app-name{font-weight:800;font-size:18px;letter-spacing:-.2px;background:linear-gradient(135deg,var(--primary),var(--primary-2));-webkit-background-clip:text;background-clip:text;color:transparent}.chat-peer-name{font-size:16px}.row{display:flex;gap:8px}.row input{flex:1}.section-header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 4px}.section-header h3{margin:0;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}.invite-popover-wrap{position:relative}.invite-add-btn{width:32px;height:32px;border-radius:50%;border:none;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;font-size:19px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #ff5cb859;transition:transform .1s ease}.invite-add-btn:active{transform:scale(.92)}.invite-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:280px;max-width:calc(100vw - 32px);background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:16px;box-shadow:0 12px 32px #78468c47;border:1px solid rgba(255,255,255,.6);display:flex;flex-direction:column;gap:10px}.invite-popover h4{margin:0;font-size:15px;background:linear-gradient(135deg,var(--primary),var(--primary-2));-webkit-background-clip:text;background-clip:text;color:transparent}.invite-popover input{font-size:16px;padding:9px 11px}.friend-list{padding:4px 16px 8px;display:flex;flex-direction:column}.friend-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid rgba(183,149,245,.18)}.friend-row-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;background:none;border:none;color:var(--text);padding:10px 8px;text-align:left;cursor:pointer;border-radius:14px;transition:background .15s ease,transform .1s ease}.friend-row-main:hover{background:var(--surface-2)}.friend-row-main:active{background:var(--surface-2);transform:scale(.98)}.friend-row-text{min-width:0}.friend-edit-btn{flex-shrink:0;background:none;border:none;color:var(--muted);width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:18px;font-weight:800;line-height:1;transition:background .15s ease,transform .1s ease}.friend-edit-btn:hover{background:var(--surface-2)}.friend-edit-btn:active{transform:scale(.9);background:var(--surface-2)}.avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;flex-shrink:0;box-shadow:0 4px 10px #ff5cb84d;overflow:hidden}.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.friend-name{font-size:16px;font-weight:600}.friend-note{font-size:12.5px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140a198c;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{position:relative;max-width:380px;width:100%;display:flex;flex-direction:column;gap:8px}.modal-card textarea{border-radius:14px;border:1.5px solid rgba(183,149,245,.35);background:var(--surface-2);color:var(--text);padding:10px 12px;font-size:14px;font-family:inherit;resize:none}.modal-close{position:absolute;top:10px;right:10px;background:var(--surface-2);border:none;color:var(--text);width:30px;height:30px;border-radius:50%;font-size:15px;cursor:pointer}.danger-text{color:var(--danger)}.story-bar{display:flex;gap:14px;overflow-x:auto;padding:12px 16px 4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.story-bar::-webkit-scrollbar{display:none}.story-item{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0;width:66px}.story-avatar-btn{position:relative;background:none;border:none;padding:0;cursor:pointer;transition:transform .1s ease}.story-avatar-btn:active{transform:scale(.94)}.story-ring{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;padding:3px;box-sizing:border-box}.story-ring-unseen{background:linear-gradient(135deg,var(--primary),var(--primary-2),var(--accent-blue))}.story-ring-seen{background:var(--surface-3)}.story-ring-mine{background:linear-gradient(135deg,var(--primary),var(--primary-2))}.story-ring-empty{background:var(--surface-2)}.story-add-badge{position:absolute;right:-2px;bottom:-2px;width:22px;height:22px;border-radius:50%;background:var(--primary);color:#fff;border:2px solid var(--surface);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;line-height:1;cursor:pointer}.story-label{font-size:11.5px;color:var(--muted);max-width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-viewer{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;z-index:65;display:flex;flex-direction:column}.story-progress-row{display:flex;gap:4px;padding:max(10px,env(safe-area-inset-top)) 10px 0}.story-progress-track{flex:1;height:3px;border-radius:3px;background:#ffffff4d;overflow:hidden}.story-progress-fill{height:100%;background:#fff;border-radius:3px}.story-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;color:#fff}.story-viewer-username{font-weight:700;font-size:15px}.story-icon-btn{background:#ffffff26;border:none;color:#fff;width:36px;height:36px;border-radius:50%;font-size:15px;cursor:pointer}.story-viewer-media{position:relative;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.story-viewer-image,.story-viewer-video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;background:#000}.story-tap-zone{position:absolute;top:0;bottom:0;width:50%;background:none;border:none;padding:0}.story-tap-left{left:0}.story-tap-right{right:0}.story-viewer-count{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:14px;color:#fff;background:#0006;padding:5px 10px;border-radius:999px;font-size:13px}.story-paused-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:34px;color:#ffffffd9;pointer-events:none}.avatar-upload{position:relative}.avatar-upload-btn{position:relative;border:none;background:none;padding:0;cursor:pointer;border-radius:50%;display:block;transition:transform .1s ease}.avatar-upload-btn:active{transform:scale(.94)}.avatar-edit-badge{position:absolute;bottom:-2px;right:-2px;width:18px;height:18px;border-radius:50%;background:var(--surface);border:1.5px solid #fff;display:flex;align-items:center;justify-content:center;font-size:10px;box-shadow:0 2px 6px #00000026}.avatar-error{position:absolute;top:calc(100% + 4px);left:0;width:max-content;max-width:220px}.chat-screen{height:100vh;height:100dvh;position:relative}.chat-call-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background:#000}.chat-call-bar{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;z-index:2;display:flex;gap:8px}.call-icon-btn.small{width:38px;height:38px;font-size:15px}.call-icon-btn.hangup{background:var(--danger)}.chat-foreground{position:relative;z-index:1;display:flex;flex-direction:column;height:100%}.topbar-over-video{background:#00000059;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom-color:transparent}.topbar-over-video .app-name,.topbar-over-video .muted{color:#fff;-webkit-text-fill-color:#fff}.topbar-over-video .btn.ghost{color:#fff}.messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.messages-over-video{justify-content:flex-end}.composer-over-video{background:#00000073;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top-color:transparent}.composer-over-video input{background:#ffffffeb}.bubble-row{display:flex}.bubble-row.mine{justify-content:flex-end}.bubble-row.theirs{justify-content:flex-start}.bubble{max-width:75%;background:var(--surface);color:var(--text);padding:10px 14px;border-radius:18px;box-shadow:0 3px 10px #b764c826}.bubble-row.mine .bubble{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-bottom-right-radius:4px}.bubble-row.theirs .bubble{border-bottom-left-radius:4px}.bubble-text{margin:0;white-space:pre-wrap;word-break:break-word}.bubble-media{max-width:100%;border-radius:12px;margin-top:4px;display:block}.bubble-media-only{max-width:min(78vw,360px);padding:6px}.bubble-media-only .bubble-media{width:100%;min-width:220px;height:auto}.bubble-meta{font-size:11px;color:var(--muted);margin-top:4px;display:flex;align-items:center;gap:6px}.bubble-row.mine .bubble-meta{color:#ffffffd9}.delete-btn{background:none;border:none;padding:0;margin-left:2px;font-size:12px;cursor:pointer;opacity:.65;line-height:1}.delete-btn:hover,.delete-btn:active{opacity:1}.reveal-btn{background:linear-gradient(135deg,var(--primary),var(--primary-2));border:none;color:#fff;font-weight:700;cursor:pointer;padding:8px 6px;border-radius:12px}.composer{display:flex;align-items:center;gap:4px;padding:8px 10px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(255,92,184,.15);position:sticky;bottom:0}.composer input{flex:1 1 auto;min-width:64px;padding:10px 12px}.composer>.btn.ghost{padding:6px 8px;font-size:18px;flex-shrink:0}.composer .btn.primary.small{padding:8px 12px;flex-shrink:0}.destruct-trigger{font-size:17px;padding:6px 7px!important}.destruct-picker{position:relative}.destruct-menu{position:absolute;bottom:48px;right:0;background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:6px;display:flex;flex-direction:column;min-width:200px;box-shadow:0 10px 30px #b764c84d;z-index:20;border:1px solid rgba(255,255,255,.6)}.destruct-option{background:none;border:none;color:var(--text);text-align:left;padding:10px 12px;border-radius:10px;cursor:pointer;font-weight:600}.destruct-option{transition:background .15s ease}.destruct-option:hover,.destruct-option:active{background:var(--surface-2)}.camera-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;z-index:50;display:flex;flex-direction:column;overflow:hidden}.camera-header{display:flex;align-items:center;justify-content:space-between;padding:14px;padding-top:max(14px,env(safe-area-inset-top));flex-shrink:0}.camera-brand-logo{width:30px;height:30px;border-radius:30%;opacity:.92;box-shadow:0 3px 10px #00000059}.camera-icon-btn{width:40px;height:40px;border-radius:50%;background:#0006;border:none;color:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s ease,transform .1s ease}.camera-icon-btn:active{transform:scale(.92);background:#0000008c}.camera-icon-btn:disabled{opacity:.4;cursor:default}.camera-preview{flex:1;min-height:0;width:100%;height:100%;object-fit:cover;display:block}.camera-fallback{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px;color:#fff}.qr-scanner-title{color:#fff;font-weight:700;font-size:15px}.qr-scan-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(70vw,260px);height:min(70vw,260px);border:3px solid rgba(255,255,255,.85);border-radius:20px;box-shadow:0 0 0 999px #00000073}.qr-scan-hint{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:0;right:0;color:#fff;padding:0 24px}.link-device-qr{display:block;margin:12px auto;width:220px;height:220px;border-radius:12px;background:#fff;padding:10px;box-sizing:content-box}.link-device-warning{text-align:center}.record-indicator{position:absolute;top:max(14px,env(safe-area-inset-top));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;background:#0000008c;color:#fff;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;z-index:2}.record-dot{width:9px;height:9px;border-radius:50%;background:var(--danger);animation:record-pulse 1s infinite ease-in-out}.record-dot.paused{animation:none;opacity:1;background:#ffffffb3}.record-locked-hint{font-weight:500;opacity:.9}@keyframes record-pulse{0%,to{opacity:1}50%{opacity:.3}}.filter-strip{display:flex;gap:10px;overflow-x:auto;padding:10px 16px;background:#0006;flex-shrink:0;-webkit-overflow-scrolling:touch}.filter-strip::-webkit-scrollbar{display:none}.filter-chip{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#ffffff26;border:2px solid transparent;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.filter-chip.active{border-color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2))}.filter-chip-3d,.filter-chip-3d.active{box-shadow:0 0 0 2px #ffe066d9}.camera-controls{display:flex;align-items:center;justify-content:space-around;padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom));background:#0009;flex-shrink:0}.camera-controls-spacer{width:52px}.gallery-btn{width:46px;height:46px;border-radius:14px;background:#ffffff2e;border:2px solid rgba(255,255,255,.55);font-size:20px;cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:transform .1s ease,background .15s ease}.gallery-btn:active{transform:scale(.92);background:#ffffff4d}.gallery-btn:disabled{opacity:.4;cursor:default}.shutter-wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px}.shutter-ring-wrap{position:relative;width:76px;height:76px;display:flex;align-items:center;justify-content:center}.shutter-ring{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transform:rotate(-90deg)}.shutter-ring-track{fill:none;stroke:#ffffff47;stroke-width:4}.shutter-ring-progress{fill:none;stroke:var(--danger);stroke-width:4;stroke-linecap:round;transition:stroke-dashoffset .18s linear}.shutter-btn{width:76px;height:76px;border-radius:50%;background:#ffffff47;border:5px solid #fff;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .12s ease,background .12s ease;box-shadow:0 2px 14px #00000059}.shutter-btn:active{transform:scale(.94)}.shutter-btn.recording{background:var(--danger);border-color:#ff9a9a;border-radius:20px;width:60px;height:60px;transform:scale(1.05);display:flex;align-items:center;justify-content:center}.shutter-btn.recording.paused{background:#ffffff4d;border-color:#fff}.shutter-btn-icon{color:var(--danger);font-size:18px;line-height:1;pointer-events:none}.shutter-hint{color:#ffffffbf;font-size:11px;text-align:center}.lock-btn{position:absolute;top:50%;left:-50px;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:#0000008c;border:1.5px solid rgba(255,255,255,.6);color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;animation:lock-hint-bounce 1.2s infinite ease-in-out}@keyframes lock-hint-bounce{0%,to{transform:translateY(-50%) translate(0)}50%{transform:translateY(-50%) translate(-6px)}}.bubble-media{cursor:zoom-in}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#140a19f0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}.lightbox-media{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}.lightbox-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;background:#fff3;border:none;color:#fff;width:40px;height:40px;border-radius:50%;font-size:18px;cursor:pointer;z-index:61;transition:transform .1s ease,background .15s ease}.lightbox-close:active{transform:scale(.9);background:#ffffff52}.call-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg-gradient);z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text)}.call-connected{background:#000;color:#fff;justify-content:flex-end}.call-info{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.call-avatar{width:88px;height:88px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:700;box-shadow:0 8px 24px #ff5cb859}.call-avatar.large{width:120px;height:120px;font-size:44px}.call-info h2{margin:4px 0 0}.call-actions{display:flex;gap:48px;margin-top:48px}.call-btn{width:64px;height:64px;border-radius:50%;border:none;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px #00000040;transition:transform .1s ease}.call-btn:active{transform:scale(.92)}.call-btn.accept{background:linear-gradient(135deg,#34d399,#60d9c9);color:#fff}.call-btn.reject{background:linear-gradient(135deg,var(--danger),#ff8fa3);color:#fff}.call-remote-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;background:#000}.call-pip{position:fixed;z-index:8;width:110px;height:150px;border-radius:16px;overflow:hidden;border:2px solid rgba(255,255,255,.4);box-shadow:0 6px 18px #0006;cursor:grab;touch-action:none;transition:box-shadow .15s ease}.call-pip:active{cursor:grabbing;box-shadow:0 8px 24px #0000008c}.call-pip-video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.call-pip-restore{position:fixed;z-index:8;width:44px;height:44px;border-radius:50%;background:#0000008c;border:2px solid rgba(255,255,255,.5);color:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px #0006;transition:transform .1s ease}.call-pip-restore:active{transform:scale(.9)}.call-controls{position:relative;z-index:3;display:flex;gap:24px;align-items:center;justify-content:center;padding:24px;padding-bottom:max(24px,env(safe-area-inset-bottom));width:100%;background:linear-gradient(transparent,#0009)}.call-icon-btn{width:52px;height:52px;border-radius:50%;border:none;background:#ffffff2e;color:#fff;font-size:20px;cursor:pointer;transition:transform .1s ease,background .15s ease}.call-icon-btn:active{transform:scale(.92)}.call-icon-btn.active{background:#ff5cb88c}.call-toast{position:fixed;top:max(16px,env(safe-area-inset-top));left:50%;transform:translate(-50%);background:var(--surface);color:var(--text);padding:10px 18px;border-radius:14px;box-shadow:0 10px 30px #b764c84d;z-index:70;cursor:pointer;font-size:14px;font-weight:600}.lang-switcher{position:relative}.lang-switcher-btn{display:flex;align-items:center;gap:6px;background:var(--surface-2);border:1.5px solid #ffd3ec;color:var(--text);border-radius:999px;padding:6px 12px;font-weight:700;font-size:13px;cursor:pointer;transition:transform .1s ease}.lang-switcher-btn:active{transform:scale(.95)}.lang-flag{font-size:16px;line-height:1}.lang-flag-svg{width:20px;height:15px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #0000001f;flex-shrink:0}.lang-code{letter-spacing:.5px}.lang-menu{position:absolute;top:42px;right:0;background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:6px;min-width:180px;display:flex;flex-direction:column;box-shadow:0 10px 30px #b764c84d;z-index:30;border:1px solid rgba(255,255,255,.6);max-height:320px;overflow-y:auto}.lang-option{display:flex;align-items:center;gap:10px;background:none;border:none;color:var(--text);text-align:left;padding:9px 10px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px}.lang-option{transition:background .15s ease}.lang-option:hover,.lang-option:active{background:var(--surface-2)}.lang-option.active{background:var(--surface-3)}.theme-switcher{position:relative}.theme-switcher-btn{display:flex;align-items:center;justify-content:center;background:var(--surface-2);border:1.5px solid #ffd3ec;border-radius:999px;width:30px;height:30px;padding:0;cursor:pointer;transition:transform .1s ease}.theme-switcher-btn:active{transform:scale(.9)}.theme-swatch{display:block;width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,255,255,.8)}.theme-menu{position:absolute;top:42px;right:0;background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:6px;min-width:190px;display:flex;flex-direction:column;box-shadow:0 10px 30px #b764c84d;z-index:30;border:1px solid rgba(255,255,255,.6)}.theme-option{display:flex;align-items:center;gap:10px;background:none;border:none;color:var(--text);text-align:left;padding:9px 10px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px;transition:background .15s ease}.theme-option:hover,.theme-option:active{background:var(--surface-2)}.theme-option.active{background:var(--surface-3)}.header-menu{position:relative}.header-menu-btn{display:flex;align-items:center;justify-content:center;background:var(--surface-2);border:1.5px solid #ffd3ec;color:var(--text);border-radius:999px;width:30px;height:30px;padding:0;cursor:pointer;font-size:18px;font-weight:800;line-height:1;transition:transform .1s ease}.header-menu-btn:active{transform:scale(.9)}.header-menu-list{position:absolute;top:42px;right:0;background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:6px;min-width:190px;display:flex;flex-direction:column;box-shadow:0 10px 30px #b764c84d;z-index:30;border:1px solid rgba(255,255,255,.6)}.header-menu-item{display:flex;align-items:center;gap:10px;background:none;border:none;color:var(--text);text-align:left;padding:9px 10px;border-radius:10px;cursor:pointer;font-weight:600;font-size:14px;text-decoration:none;transition:background .15s ease}.header-menu-item:hover,.header-menu-item:active{background:var(--surface-2)}.auth-screen{position:relative}.auth-lang-corner{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;display:flex;align-items:center;gap:8px}.auth-back-link{position:absolute;top:max(16px,env(safe-area-inset-top));left:16px;display:inline-flex;align-items:center;color:var(--text);font-weight:700;font-size:14px;text-decoration:none;background:var(--surface-2);padding:8px 14px;border-radius:999px}.auth-back-link:active{transform:scale(.96)}.voice-recorder{display:flex;align-items:center;gap:4px;flex-shrink:0}.voice-record-btn{background:transparent;border:none;color:var(--primary);font-size:15px;cursor:pointer;padding:4px;transition:transform .1s ease}.voice-record-btn:active{transform:scale(.9)}.voice-record-btn.recording{color:var(--danger)}.voice-timer{font-size:11px;color:var(--danger);font-weight:700;font-variant-numeric:tabular-nums}.bubble-audio{display:flex;align-items:center;gap:8px;margin-top:4px}.bubble-audio audio{max-width:220px;height:36px}.landing{min-height:100vh;min-height:100dvh;overflow-x:hidden}.landing-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;padding-top:max(16px,env(safe-area-inset-top))}.landing-header-label{font-size:12.5px;color:var(--muted);font-weight:600}.landing-hero{text-align:center;max-width:720px;margin:0 auto;padding:32px 24px 56px}.landing-hero h1{font-size:clamp(26px,5vw,38px);margin:0 0 14px;line-height:1.2}.landing-hero-subtitle{color:var(--muted);font-size:16px;margin:0 0 14px;line-height:1.5}.landing-no-data-badge{display:inline-flex;align-items:center;gap:6px;background:var(--surface-2);color:var(--text);font-weight:700;font-size:13.5px;padding:8px 16px;border-radius:999px;margin:0 0 28px}.landing-hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.landing-protest{max-width:460px;margin:0 auto 40px;padding:28px 24px 24px;display:flex;flex-direction:column;align-items:center;gap:14px;background:var(--surface);border:2px solid rgba(255,107,129,.45);border-radius:28px;box-shadow:0 10px 28px #ff6b8138}.landing-protest-icon{filter:drop-shadow(0 3px 8px rgba(255,107,129,.35))}.landing-protest-text{text-align:center;font-weight:800;font-size:clamp(17px,3.4vw,21px);color:var(--text);letter-spacing:.2px}.landing-eu-flags{max-width:640px;margin:0 auto;padding:2px 4px 0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 8px}.landing-eu-flag{width:26px;height:19.5px;object-fit:cover;border-radius:4px;box-shadow:0 1px 4px #00000040}.landing-section{max-width:1040px;margin:0 auto;padding:48px 24px}.landing-section h2{text-align:center;font-size:clamp(22px,4vw,28px);margin:0 0 10px}.landing-section-intro{text-align:center;color:var(--muted);max-width:580px;margin:0 auto 32px;line-height:1.5}.landing-section-alt{background:var(--surface);border-radius:32px;margin:0 16px 48px;max-width:1008px}.landing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.landing-grid-features{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.landing-card{background:var(--surface);border-radius:var(--radius);padding:20px;box-shadow:0 4px 18px #50285a14}.landing-section-alt .landing-card{background:var(--surface-2);box-shadow:none}.landing-card-icon{font-size:26px;margin-bottom:8px}.landing-card-photo{width:52px;height:52px;border-radius:50%;object-fit:cover;margin-bottom:8px;box-shadow:0 0 0 3px var(--surface),0 0 0 4.5px var(--primary)}.landing-card h3{margin:0 0 6px;font-size:15.5px}.landing-card p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55}.landing-footer{text-align:center;padding:20px 24px 64px}.landing-footer h2{font-size:clamp(20px,4vw,26px);margin:0 0 18px}.landing-dev-credit{margin:22px 0 0;font-size:12px;color:var(--muted)}@media (max-width: 640px){.landing-hero-ctas{flex-direction:column;align-items:stretch}.landing-hero-ctas .btn{width:100%}}
