@keyframes popupFadeIn{0%{opacity:0}to{opacity:1}}@keyframes popupScaleIn{0%{transform:translateY(12px) scale(.97);opacity:0;filter:blur(2px)}to{transform:translateY(0) scale(1);opacity:1;filter:blur(0)}}.modern-blur-overlay{position:fixed;inset:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999;animation:popupFadeIn .18s ease-out;padding:22px;box-sizing:border-box;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.modern-popup-card{position:relative;overflow:hidden;width:min(370px,100%);padding:28px;border-radius:24px;box-sizing:border-box;text-align:center;color:#f5f5f7;font-family:Onest,system-ui,-apple-system,sans-serif;background:linear-gradient(145deg,#1c1c21fa,#0c0c0ffa);border:1px solid rgba(255,255,255,.1);box-shadow:0 28px 80px #0000009e,0 0 0 1px #ff3e3e14;animation:popupScaleIn .22s cubic-bezier(.16,1,.3,1)}.modern-popup-card:before{content:"";position:absolute;inset:-1px -1px auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,62,62,.55),transparent)}.modern-popup-title{margin:0 0 10px;font-size:1.25rem;font-weight:800;letter-spacing:-.02em}.modern-popup-message{margin:0 0 22px;color:#ffffffad;font-size:.95rem;line-height:1.55}.modern-popup-icon{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 14px;border-radius:50%;color:#fff;font-weight:900;background:linear-gradient(135deg,#ff343d,#c91822);box-shadow:0 14px 34px #ff343d3d}.modern-popup-actions{display:flex;gap:10px}.modern-popup-card--logout{width:min(420px,100%);padding:32px}.modern-popup-icon--logout{width:48px;height:48px;margin-bottom:18px;border:1px solid rgba(255,89,96,.28);background:#ff343d1c;box-shadow:0 15px 38px #ff343d2e}.modern-popup-icon--logout svg{width:23px;height:23px}.modern-popup-card--logout .modern-popup-title{font-size:1.32rem}.modern-popup-card--logout .modern-popup-message{max-width:310px;margin:0 auto 26px}.modern-popup-actions--logout{gap:12px}.modern-popup-actions--logout .modern-btn-pop{min-height:54px;padding:13px 18px}.modern-popup-actions--logout .modern-btn-secondary{flex:.85}.modern-popup-actions--logout .modern-btn-logout{flex:1.15;white-space:nowrap}@media(max-width:420px){.modern-popup-card--logout{padding:26px 22px}.modern-popup-actions--logout{flex-direction:column-reverse}}.modern-btn-pop{width:100%;padding:12px 14px;border-radius:14px;border:none;color:#fff;font-weight:800;font-size:.95rem;cursor:pointer;transition:transform .14s ease,filter .14s ease,background-color .14s ease}.modern-btn-pop:active{transform:scale(.98)}.modern-btn-pop:focus-visible,.modern-popup-input:focus-visible{outline:2px solid rgba(255,62,62,.55);outline-offset:2px}.modern-btn-primary{background:linear-gradient(135deg,#ff343d,#c91822);box-shadow:0 12px 28px #ff343d38}.modern-btn-primary:hover{filter:brightness(1.08)}.modern-btn-secondary{background:#ffffff12;border:1px solid rgba(255,255,255,.1);color:#f1f1f3}.modern-btn-secondary:hover{background:#ffffff1c}.modern-btn-ok{background:#3ac7781f;border:1px solid rgba(58,199,120,.35);font-size:1.15rem;line-height:1}.modern-btn-ok:hover{background:#3ac77833}.modern-popup-input{width:100%;padding:13px;margin-bottom:20px;box-sizing:border-box;border-radius:14px;border:1px solid rgba(255,255,255,.11);background:#ffffff0e;color:#fff;font-size:1rem;text-align:center;outline:none}.modern-popup-input:focus{border-color:#ff3e3e8c}.modern-popup-input.has-error{border-color:#ff343d}.modern-popup-number-field{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#ffffffad;font-size:.85rem}.modern-popup-number-field .modern-popup-input{margin-bottom:0}.modern-popup-duration-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.8fr);gap:10px;margin-bottom:20px}.modern-popup-duration-field .modern-popup-input{min-width:0;margin-bottom:0}.modern-popup-select{width:100%;padding:13px 11px;border:1px solid rgba(255,255,255,.14);border-radius:12px;color:#fff;background:#18181d;font:inherit;font-size:.9rem;outline:none}.modern-popup-select:focus-visible{border-color:#ff3e3e8c;outline:2px solid rgba(255,62,62,.28);outline-offset:2px}.modern-popup-card--external-link{width:min(460px,100%)}.external-link-destination{max-width:100%;margin:-6px 0 18px;padding:11px 13px;overflow-wrap:anywhere;border:1px solid rgba(255,255,255,.09);border-radius:12px;color:#ffffffb8;background:#0000003d;font-size:.78rem;line-height:1.45;text-align:left}.modern-popup-checkbox{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;color:#ffffffb8;cursor:pointer;font-size:.84rem;line-height:1.4;text-align:left}.modern-popup-checkbox input{width:17px;height:17px;flex:0 0 17px;margin:1px 0 0;accent-color:#ff343d}.message-safe-link{color:#ff9297;font-weight:650;text-decoration:underline;text-decoration-color:#ff929780;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere;cursor:pointer}.message-safe-link:hover{color:#ffc1c4;text-decoration-color:currentColor}.message-wrapper.me .message-safe-link,.own-message .message-safe-link{color:#fff;text-decoration-color:#ffffff9e}.modern-popup-card--narrow{max-width:340px}.notif-popup-actions{display:flex;flex-direction:column;gap:10px}.notif-btn-accept{padding:12px;border-radius:12px;border:none;cursor:pointer;font-weight:700;font-size:.95rem;background:linear-gradient(135deg,#ff343d,#c91822);color:#fff;box-shadow:0 8px 24px #ff343d4d}.notif-btn-decline{padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);cursor:pointer;font-size:.9rem;background:transparent;color:#fff9}.auth-guest-link{display:block;width:100%;margin:14px 0 0;padding:8px;border:0;background:none;color:var(--text-secondary, #a8a8b3);font:inherit;font-size:.95rem;font-weight:500;text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.auth-guest-link,.auth-guest-link:hover{background:none;box-shadow:none;transform:none}.auth-guest-link:hover{color:var(--text-primary, #fff)}.guest-dialog-overlay{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;background:#000000b8;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);animation:popupFadeIn .18s ease-out}.guest-dialog{position:relative;display:flex;flex-direction:column;gap:14px;width:min(420px,100%);max-height:calc(100dvh - 32px);overflow-x:hidden;overflow-y:auto;box-sizing:border-box;padding:26px 24px 22px;border-radius:24px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(155deg,#1c1c22fa,#0c0c10fc);color:#f5f5f7;font-family:Onest,system-ui,-apple-system,sans-serif;box-shadow:0 28px 80px #000000a8,0 0 0 1px var(--accent-red-glow-weak, rgba(255, 52, 61, .08)),0 0 32px var(--accent-red-glow-weak, rgba(255, 52, 61, .1));animation:popupScaleIn .22s cubic-bezier(.16,1,.3,1)}.guest-dialog *,.guest-dialog *:before,.guest-dialog *:after{box-sizing:border-box}.guest-dialog:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--accent-red-glow-strong, rgba(255, 52, 61, .52)),transparent);pointer-events:none}.guest-dialog-head{display:flex;align-items:center;gap:12px}.guest-dialog-badge{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;border:1px solid var(--accent-red-glow-medium, rgba(255, 52, 61, .24));background:var(--accent-red-soft, rgba(255, 52, 61, .14));color:var(--accent-red-bright, #ff5c63);box-shadow:0 10px 24px var(--accent-red-glow-weak, rgba(255, 52, 61, .14))}.guest-dialog-badge svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.guest-dialog h2{margin:0;font-size:1.24rem;font-weight:800;letter-spacing:-.02em;color:#fff}.guest-dialog a{color:var(--accent-red-bright, #ff5c63);text-underline-offset:2px}.guest-dialog a:hover{color:#ff858b}.guest-dialog-text,.guest-dialog-note{margin:0;color:#ffffffad;font-size:.89rem;line-height:1.48}.guest-dialog-note{margin-top:-4px;font-size:.77rem;line-height:1.45;color:#ffffff8f}.guest-dialog-field{display:flex;flex-direction:column;gap:6px;font-size:.82rem;font-weight:600;color:#ffffffc7}.guest-dialog-field input{width:100%;margin:0;padding:11px 13px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#101014eb;color:#f5f5f7;font-family:inherit;font-size:.94rem;box-shadow:none;color-scheme:dark;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.guest-dialog-field input:focus{outline:none;border-color:var(--accent-red, #ff343d);background:#18181efa;box-shadow:0 0 0 3px var(--accent-red-glow-weak, rgba(255, 52, 61, .14))}.guest-dialog .birth-date-card{width:100%;margin:0;padding:12px 14px 13px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:linear-gradient(155deg,#ffffff0a,#ffffff04),#121216f2;transition:border-color .22s ease,background-color .22s ease,box-shadow .22s ease}.guest-dialog .birth-date-card:focus-within{border-color:var(--accent-red, #ff343d);background-color:#1a1a20fa;box-shadow:0 0 0 3px var(--accent-red-glow-weak, rgba(255, 52, 61, .14))}.guest-dialog .birth-date-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.guest-dialog .birth-date-card-label{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#ffffffa3}.guest-dialog .birth-date-card-badge{padding:2px 8px;border-radius:999px;border:1px solid var(--accent-red-glow-medium, rgba(255, 77, 77, .32));background:var(--accent-red-soft, rgba(255, 51, 51, .12));color:var(--accent-red-bright, #ff7b82);font-size:.68rem;font-weight:800;letter-spacing:.03em}.guest-dialog .birth-date-card-fields{display:grid;grid-template-columns:minmax(0,.85fr) 1px minmax(0,1.25fr) 1px minmax(0,1fr);align-items:center;gap:6px}.guest-dialog .birth-date-divider{width:1px;height:20px;background:#ffffff1a}.guest-dialog .birth-date-segment{position:relative;min-width:0;display:flex;align-items:center}.guest-dialog .birth-date-segment select{width:100%;min-width:0;appearance:none;-webkit-appearance:none;padding:8px 22px 8px 8px;border:1px solid transparent;border-radius:10px;background:#ffffff0b;color:#f5f5f7;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;color-scheme:dark;transition:background-color .2s ease,border-color .2s ease}.guest-dialog .birth-date-segment select:hover{background:#ffffff14}.guest-dialog .birth-date-segment select:focus{outline:none;background:var(--accent-red-soft, rgba(255, 51, 51, .12));border-color:var(--accent-red-glow-medium, rgba(255, 77, 77, .45))}.guest-dialog .birth-date-segment select option{background:#1a1a1f;color:#f5f5f7}.guest-dialog .birth-date-chevron{position:absolute;right:6px;width:14px;height:14px;pointer-events:none;fill:none;stroke:#ffffff80;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.guest-dialog-consent{display:grid;grid-template-columns:18px minmax(0,1fr);gap:11px;align-items:start;width:100%;margin:0;padding:12px 13px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#ffffff08;font-size:.81rem;line-height:1.48;color:#ffffffc7;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}.guest-dialog-consent:hover{border-color:#ffffff29;background:#ffffff0b}.guest-dialog-consent:has(input:checked){border-color:var(--accent-red-glow-medium, rgba(255, 52, 61, .28));background:var(--accent-red-soft, rgba(255, 52, 61, .08))}.guest-dialog-consent input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0;padding:0;border:0;border-radius:5px;background:transparent;box-shadow:none;flex:none;cursor:pointer;accent-color:var(--accent-red, #ee3347)}.guest-dialog-consent input[type=checkbox]:focus-visible{outline:2px solid var(--accent-red-bright, #ff5c63);outline-offset:2px;background:transparent;box-shadow:none}.guest-dialog-consent>span{min-width:0;overflow-wrap:anywhere}.guest-dialog .captcha-slot{margin:0}.guest-dialog-choices{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;font-size:.88rem}.guest-dialog-choices label{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#ffffff08;cursor:pointer}.guest-dialog-choices label:has(input:checked){border-color:var(--accent-red-glow-medium, rgba(255, 52, 61, .28));background:var(--accent-red-soft, rgba(255, 52, 61, .08))}.guest-dialog-choices input[type=radio]{width:17px;height:17px;min-width:17px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;flex:none;accent-color:var(--accent-red, #ee3347)}.guest-dialog-actions{display:flex;gap:10px;margin-top:2px}.guest-dialog-actions button{width:auto;flex:1;min-height:46px;margin:0;padding:11px 16px;border:1px solid transparent;border-radius:14px;font-family:inherit;font-size:.94rem;font-weight:700;cursor:pointer;box-shadow:none;transform:none;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .14s ease}.guest-dialog-secondary{background:#ffffff12;border-color:#ffffff1f;color:#f5f5f7;box-shadow:none}.guest-dialog-secondary:hover{background:#ffffff1f;border-color:#fff3;box-shadow:none;transform:translateY(-1px)}.guest-dialog-primary{background:linear-gradient(135deg,var(--accent-red, #ff343d),var(--accent-red-dim, #c91822));color:#fff;box-shadow:0 10px 24px var(--accent-red-glow-weak, rgba(255, 52, 61, .22))}.guest-dialog-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--accent-red-bright, #ff5c63),var(--accent-red, #ff343d));box-shadow:0 12px 28px var(--accent-red-glow, rgba(255, 52, 61, .32));transform:translateY(-1px)}.guest-dialog-primary:disabled{opacity:.6;cursor:default;transform:none}@media(max-width:420px){.guest-dialog{padding:22px 18px 18px;border-radius:20px}.guest-dialog-actions{flex-direction:column-reverse}}.guest-banner{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);left:50%;z-index:9000;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:6px 8px 6px 14px;border-radius:999px;background:#17171b;border:1px solid #33333b;color:#f4f4f6;font-size:.8rem;white-space:nowrap;transform:translate(-50%)}.guest-banner button{padding:5px 11px;border:0;border-radius:999px;background:#ee3347;color:#fff;font:inherit;font-weight:600;cursor:pointer}html.is-guest .settings-pane-link:not([data-settings-target=preferences]):not([data-settings-target=session]):not([data-settings-target=about]),html.is-guest .settings-search-bar,html.is-guest .invite-card,html.is-guest [data-placeholder-action=search],html.is-guest [data-placeholder-action=group],html.is-guest #public-gif-btn,html.is-guest #private-gif-btn,html.is-guest #private-voice-btn,html.is-guest #ctx-fav-gif-btn,html.is-guest #friend-search,html.is-guest #conversation-search-toggle,html.is-guest #search-results,html.is-guest #desktop-groups-section,html.is-guest #groups-trigger,html.is-guest #go-to-social,html.is-guest #community-create-trigger,html.is-guest #settings-a-edit-profile,html.is-guest #settings-summary-edit,html.is-guest .settings-a-menu-row:not([data-settings-a-targets*=settings-a-language]),html.is-guest .settings-container>*:not(:has(#settings-logout-btn)):not(:has(#language-selector)){display:none!important}.guest-left-notice{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 90px);left:50%;z-index:9000;padding:9px 16px;border-radius:999px;background:#2a2a31;color:#f4f4f6;font-size:.85rem;transform:translate(-50%)}@media(min-width:768px){html.is-guest:has(#pvm-placeholder) .guest-banner{left:92px;transform:none}}@media(max-width:767px){.guest-banner{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 150px)}}.human-check-frame{width:190px;height:190px;margin:18px auto 14px;border-radius:50%;overflow:hidden;border:3px solid rgba(238,51,71,.75);box-shadow:0 0 24px #ee334740}.human-check-image{width:100%;height:100%;display:block;user-select:none;transition:transform .05s linear}.human-check-slider{width:100%;accent-color:#ee3347;margin:4px 0 6px}.human-check-status{min-height:20px;margin:4px 0 10px;font-size:14px;color:#ff8a95}.modern-popup-reaction-list{list-style:none;margin:0 0 22px;padding:0;max-height:50vh;overflow-y:auto;text-align:start}.modern-popup-reaction-list li{display:flex;gap:10px;align-items:flex-start;padding:6px 0;color:#ffffffdb;font-size:.92rem;overflow-wrap:anywhere}.modern-popup-reaction-emoji{flex:0 0 auto;font-size:1.15rem;line-height:1.2}.modern-popup-card--row{width:min(400px,100%);padding:20px;border-radius:20px;text-align:start;background:#151519;border:1px solid #26262c;box-shadow:0 24px 64px #0000008c}.modern-popup-card--row:before{display:none}.modern-popup-card--row .modern-popup-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.modern-popup-card--row .modern-popup-icon{flex:0 0 auto;width:40px;height:40px;margin:0;border:0;border-radius:12px;color:#ff5a6e;background:#e2263f29;box-shadow:none}.modern-popup-card--row .modern-popup-icon svg{width:20px;height:20px}.modern-popup-card--row .modern-popup-text{min-width:0;flex:1;padding-top:1px}.modern-popup-card--row .modern-popup-title{margin:0 0 4px;font-size:1.05rem;font-weight:700;letter-spacing:-.01em;overflow-wrap:anywhere}.modern-popup-card--row .modern-popup-message{max-width:none;margin:0;font-size:.9rem;line-height:1.5;color:#ffffffa8;overflow-wrap:anywhere}.modern-popup-card--row .modern-popup-input{text-align:start}.modern-popup-card--row .modern-btn-pop{border-radius:12px;font-weight:700}.modern-popup-card--row .modern-btn-primary{background:#e2263f;box-shadow:none}.modern-popup-card--row .modern-btn-secondary{background:#222228;border-color:#2c2c33}.modern-popup-card--row .modern-btn-ok{background:#222228;border:1px solid #2c2c33;font-size:.95rem}.modern-popup-card--row .modern-btn-ok:hover{background:#2a2a31}.modern-popup-card--row.modern-popup-card--logout{padding:22px}.modern-popup-card--row .modern-popup-icon--logout{width:40px;height:40px;margin:0}.modern-popup-card--row.modern-popup-card--logout .modern-popup-message{margin:0;max-width:none}.modern-popup-card--row .modern-popup-head--single{align-items:center}.modern-popup-card--row .modern-popup-head--single .modern-popup-title{margin:0}.modern-popup-card--row .modern-popup-reaction-list{margin-bottom:16px}.modern-toast-stack{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:10000;width:min(420px,calc(100% - 24px));display:flex;flex-direction:column;gap:8px;pointer-events:none}@media(max-width:760px){.modern-toast-stack{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}.modern-toast{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:14px;border:1px solid #2a2a31;background:#1a1a1f;color:#f2f2f4;font-family:Onest,system-ui,-apple-system,sans-serif;box-shadow:0 14px 36px #00000080;pointer-events:auto;cursor:pointer;animation:popupScaleIn .22s cubic-bezier(.16,1,.3,1);transition:opacity .18s ease,transform .18s ease}.modern-toast.is-leaving{opacity:0;transform:translateY(8px)}.modern-toast-icon{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:#ff5a6e;background:#e2263f29}.modern-toast-icon svg{width:17px;height:17px}.modern-toast-text{flex:1;min-width:0}.modern-toast-title{font-size:.9rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.modern-toast-message{margin-top:2px;font-size:.82rem;line-height:1.4;color:#ffffffa3;overflow-wrap:anywhere}.modern-toast-close{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#8a8a93;cursor:pointer}.modern-toast-close:hover{background:#ffffff14}.modern-toast-close-icon{display:grid;place-items:center}.modern-toast-close-icon svg{width:15px;height:15px}@media(prefers-reduced-motion:reduce){.modern-toast,.modern-popup-card--row{animation:none}}
