.connectionScreen{--connection-bg: #111318;--connection-text: #edf0f5;--connection-muted: #9ca6b5;--connection-accent: #cbd5e1;--connection-glow: rgb(203 213 225 / 6%);--connection-line: rgb(203 213 225 / 12%);position:fixed;inset:0;width:100%;min-height:100dvh;box-sizing:border-box;display:grid;grid-template-rows:1fr auto 1fr;justify-items:center;padding:max(32px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));overflow:auto;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,var(--connection-glow),transparent 60%),var(--connection-bg);color:var(--connection-text);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;text-align:center;-webkit-font-smoothing:antialiased}.connectionScreen[data-theme=cal]{--connection-bg: #0d0f12;--connection-accent: #d9ef7b;--connection-glow: rgb(217 239 123 / 5%)}.connectionScreen[data-theme=admin]{--connection-accent: #edba6d;--connection-glow: rgb(237 186 109 / 6%)}.connectionScreen[data-theme=opl]{--connection-bg: #121212;--connection-text: #e5e5e5;--connection-muted: #a3a3a3;--connection-accent: #d4d4d4;--connection-glow: rgb(212 212 212 / 4%)}.connectionScreen[data-theme=shh]{--connection-bg: #202124;--connection-text: #e8eaed;--connection-muted: #a5aab2;--connection-accent: #8ab4f8;--connection-glow: rgb(138 180 248 / 5%)}.connectionScreen .connectionScreenContent{grid-row:2;width:min(100%,360px);min-width:0;display:flex;flex-direction:column;align-items:center;padding:28px 0}.connectionScreen .connectionScreenBrand{display:grid;justify-items:center;gap:16px;margin-bottom:40px}.connectionScreen .connectionScreenMark{display:grid;place-items:center;width:72px;height:72px;box-sizing:border-box;overflow:hidden;border:1px solid var(--connection-line);border-radius:22px;background:var(--connection-glow);color:var(--connection-accent);box-shadow:0 12px 40px #0000000f;font-size:26px;font-weight:650;letter-spacing:-.055em}.connectionScreen .connectionScreenMark img{display:block;width:100%;height:100%;object-fit:contain}.connectionScreen[data-theme=opl] .connectionScreenMark{font-size:23px}.connectionScreen .connectionScreenName{margin:0;color:var(--connection-text);font-size:14px;line-height:1.4;font-weight:600;letter-spacing:.02em}.connectionScreen .connectionScreenTitle{margin:0;font:550 clamp(23px,5.8vw,28px)/1.25 ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em;color:var(--connection-text)}.connectionScreen .connectionScreenDetail{min-height:44px;max-width:290px;margin:12px 0 0;color:var(--connection-muted);font-size:14px;font-weight:400;line-height:1.6;letter-spacing:0;text-wrap:pretty}.connectionScreen .connectionScreenActivity{display:flex;justify-content:center;gap:7px;margin-top:24px;height:8px}.connectionScreen .connectionScreenActivity span{width:6px;height:6px;border-radius:50%;background:var(--connection-accent);animation:connectionScreenPulse 1.4s ease-in-out infinite}.connectionScreen .connectionScreenActivity span:nth-child(2){animation-delay:.16s}.connectionScreen .connectionScreenActivity span:nth-child(3){animation-delay:.32s}.connectionScreen .connectionScreenFooter{grid-row:3;align-self:end;margin:32px 0 0;color:var(--connection-muted);font-size:10px;font-weight:500;line-height:1.4;letter-spacing:.18em;text-transform:uppercase}.connectionScreen[data-state=offline] .connectionScreenActivity span{animation:none;opacity:.35}@keyframes connectionScreenPulse{0%,70%,to{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@media(max-height:440px){.connectionScreen .connectionScreenBrand{gap:10px;margin-bottom:20px}.connectionScreen .connectionScreenContent{padding:0}.connectionScreen .connectionScreenMark{width:52px;height:52px;border-radius:16px}.connectionScreen .connectionScreenFooter{margin-top:20px}}@media(prefers-reduced-motion:reduce){.connectionScreen .connectionScreenActivity span{animation:none;opacity:.7}}.file-selector{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#101012;color:#f5f5f5;overflow:hidden;box-sizing:border-box}.file-selector[open]{display:flex;flex-direction:column}.file-selector-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #ffffff16}.file-selector h2,.file-selector h3,.file-selector p{margin:0}.file-selector h2{font-size:21px}.file-selector-header p{margin-top:5px;color:#aaaab4;font-size:13px}.file-selector-close{flex:0 0 44px;width:44px;min-height:44px;padding:0;border-radius:50%;background:#29292f;color:#eee;font-size:28px}.file-selector-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 20px}.file-selector-toolbar button,.file-selector-once{min-height:42px;padding:10px 14px;border-radius:10px;background:#29292f;color:#eee;font-size:13px}.file-selector-toolbar button,.file-selector-footer button{width:auto}.file-selector-toolbar>span{margin-left:auto;color:#aaaab4;font-size:12px}.file-selector-folder{flex-shrink:0;display:grid;gap:7px;margin:0 20px 14px;padding:12px;border:1px solid #ffffff20;border-radius:10px}.file-selector-folder>strong{font-size:13px;overflow-wrap:anywhere}.file-selector-folder>p{color:#aaaab4;font-size:12px}.file-selector-folder>p.file-selector-error{color:#ffb3b3}.file-selector-folder>div{display:flex;flex-wrap:wrap;gap:8px}.file-selector-folder button{width:auto;min-height:38px;padding:8px 12px;border-radius:8px;background:#29292f;color:#eee;font-size:12px}.file-selector-path{padding:0 10px;font-size:10px;color:#aaaab4;overflow-wrap:anywhere}.file-selector-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 20px}.file-selector-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;list-style:none;padding:0;margin:0}.file-selector-grid li{min-width:0}.file-selector-tile{display:flex;flex-direction:column;gap:7px;width:100%;padding:0 0 10px;text-align:left;color:#eee;background:#1c1c21;border:2px solid transparent;border-radius:12px;overflow:hidden}.file-selector-tile[aria-pressed=true]{border-color:#927dff;background:#211d34}.file-selector-tile>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;padding:0 10px;font-size:12px;line-height:1.4}.file-selector-size{padding:0 10px;font-size:11px;color:#aaaab4}.file-selector-thumbnail{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;overflow:hidden;background:#29292f}.file-selector-preview{display:grid;place-items:center;position:absolute;inset:0}.file-selector-thumbnail img,.file-selector-thumbnail video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.file-selector-thumbnail pre{margin:0;padding:14px;align-self:start;justify-self:stretch;height:100%;overflow:hidden;font:10px/1.5 monospace;color:#bdbdc9;white-space:pre-wrap;overflow-wrap:anywhere}.file-selector-document{display:grid;justify-items:center;gap:10px;color:#aaaab4;font-size:11px}.file-selector-document svg{width:40px;height:40px;fill:none;stroke:#b2a4fc;stroke-width:1.5;stroke-linejoin:round}.file-selector-check{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #ffffff70;border-radius:50%;background:#1119;color:#fff;font-size:15px}.file-selector-tile[aria-pressed=true] .file-selector-check{background:#7054f1;border-color:#b7a9ff}.file-selector-kind{position:absolute;left:8px;bottom:8px;padding:4px 6px;border-radius:5px;background:#000b;color:#fff;font-size:10px}.file-selector-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100%;text-align:center;padding:20px}.file-selector-empty h3{font-size:18px}.file-selector-empty p{max-width:300px;color:#aaaab4;font-size:14px;line-height:1.6}.file-selector-footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid #ffffff16;background:#161619}.file-selector-footer p{flex-basis:100%;font-size:13px}.file-selector-error{color:#ffb3b3}.file-selector-send{margin-left:auto;padding:12px 20px;min-height:46px;background:#7054f1;color:#fff;border-radius:12px;font-weight:600}.file-selector button:disabled{opacity:.4}.file-selector button:focus-visible{outline:2px solid #c0b4ff;outline-offset:3px}html[data-shh-locked] .file-selector,html[data-shh-cover] .file-selector{visibility:hidden!important}@media(max-width:400px){.file-selector-header,.file-selector-toolbar,.file-selector-footer{padding:12px}.file-selector-folder{margin:0 12px 12px}.file-selector-content{padding:4px 12px 12px}.file-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.file-selector-toolbar>span{flex-basis:100%;margin-left:0}}.chat-page{position:fixed;top:var(--chat-top, 0px);left:0;right:0;height:var(--chat-height, 100dvh);display:flex;flex-direction:column;background:#000;color:#f5f5f5;padding:env(safe-area-inset-top) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));max-width:760px;margin:0 auto}.chat-header{display:flex;align-items:center;flex-shrink:0;gap:12px;padding:8px 4px;border-bottom:1px solid #171717}.chat-back{width:24px;min-height:44px;padding:2px;flex-shrink:0;background:transparent;color:#fff;border-radius:50%}.chat-back svg,.chat-send svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chat-back svg{width:20px;height:20px}.chat-avatar{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#38313e;color:#fff;font-size:23px;font-weight:600;flex-shrink:0}.online-dot{position:absolute;bottom:-1px;right:-1px;width:14px;height:14px;border-radius:50%;border:3px solid #000;background:#4cdb76}.chat-peer h1{font-size:18px;line-height:1.4;margin:0;color:#fafafa}.chat-peer p{color:#a8a8ad;font-size:13px;line-height:1.5}.chat-messages{flex:1;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:8px 2px 18px}.chat-date{color:#929297;text-align:center;font-size:11px;text-transform:uppercase;margin:8px 0}.message-row{display:flex;margin:5px 0}.message-row.outgoing{justify-content:flex-end}.message-bubble{max-width:82%;border-radius:12px;padding:11px 16px;font-size:16px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;background:#262629}.outgoing .message-bubble{position:relative;background:#6247f5}.chat-messages.is-empty{display:flex;flex-direction:column}.chat-empty{color:#929297;text-align:center;margin:auto 0;padding:48px 12px;font-size:14px}.chat-empty-face{display:block;width:56px;height:56px;margin:0 auto 12px}.chat-composer{display:flex;align-items:flex-end;gap:4px;background:#262626;border-radius:28px;padding:7px 8px;flex-shrink:0}.chat-composer textarea{width:100%;min-width:0;min-height:38px;max-height:120px;resize:none;border:0;outline:none;background:transparent;color:#fff;font:16px/24px Arial,sans-serif;padding:7px 0}.chat-composer textarea::placeholder{color:#a2a2a6}.chat-composer:focus-within{box-shadow:0 0 0 1px #555}.chat-file-queue{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 6px;color:#aaaab4;font-size:12px}.chat-file-queue button{min-height:38px;padding:8px 12px;background:#29292f;color:#eee;border-radius:8px;font-size:12px}.chat-send{display:grid;place-items:center;width:38px;height:38px;min-height:38px;border-radius:50%;flex-shrink:0;background:#6247f5;color:#fff}.chat-send:disabled{opacity:.35;cursor:default}.voice-composer{flex-shrink:0;min-width:0;padding:7px 8px;border-radius:28px;background:#262626}.voice-composer-controls{display:flex;align-items:center;gap:8px;min-width:0;min-height:38px}.voice-recording-time{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;color:#eee;font-size:12px;font-variant-numeric:tabular-nums}.voice-recording-time>span{display:block;flex-shrink:0;width:16px;height:16px;border-radius:50%;background:#f77}.voice-meter{flex:1;min-width:0;width:100%;height:48px}.voice-status{flex:1;color:#c8c8cc;font-size:13px}.voice-stop,.voice-discard,.voice-play{display:grid;place-items:center;flex:0 0 38px;width:38px;min-height:38px;padding:8px;border-radius:50%;background:transparent;color:#eee}.voice-stop{margin-left:auto;background:#f772;color:#ff9595}.voice-stop svg,.voice-play svg{width:22px;height:22px;fill:currentColor}.voice-discard{color:#ff9595}.voice-discard svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.voice-error{padding:6px 8px 2px;color:#ff9595;font-size:12px}.voice-player{display:flex;align-items:center;flex:1;gap:6px;min-width:0}.voice-player>audio{display:none}.voice-playback{flex:1;min-width:0}.voice-timeline{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:28px;margin:0;padding:0;background:transparent;cursor:pointer;touch-action:pan-y}.voice-timeline::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:linear-gradient(to right,#eee7ff 0 var(--voice-progress),#655b7c var(--voice-progress) 100%)}.voice-timeline::-moz-range-track{height:8px;border-radius:4px;background:#655b7c}.voice-timeline::-moz-range-progress{height:8px;border-radius:4px;background:#eee7ff}.voice-timeline::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:3px;height:22px;margin-top:-7px;border:0;border-radius:1px;background:#fff;box-shadow:0 0 0 1px #262626}.voice-timeline::-moz-range-thumb{width:3px;height:22px;border:0;border-radius:1px;background:#fff;box-shadow:0 0 0 1px #262626}.voice-timeline:focus-visible{outline:2px solid #b9aaff;outline-offset:1px;border-radius:6px}.voice-timeline:disabled{opacity:.45;cursor:default}.voice-times{display:flex;justify-content:space-between;gap:8px;color:#eee;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.voice-times>span:last-child{color:#c5bed4;font-weight:400}.voice-playback-error{display:block;margin-top:4px;color:#ff9595;font-size:11px}.message-bubble:has(.message-audio){width:82%}.message-audio{width:100%;max-width:100%;min-width:0;white-space:normal}.message-menu .voice-play,.message-audio .voice-play{margin:0;padding:8px}.message-audio .voice-retry{width:auto;min-height:36px;padding:4px;background:transparent;color:#ddd;font-size:12px}.chat-error{color:#f5a3a3;font-size:12px;padding:8px 4px}.load-older,.retry-message{min-height:36px;width:auto;display:block;padding:6px 12px;background:transparent;color:#b2a2ff;font-size:12px}.load-older{margin:0 auto}.pending-message{text-align:right}.pending-message>span{font-size:11px;color:#aaa;margin-right:6px}.pending-message .retry-message{margin-left:auto}.pending-message .message-bubble{opacity:.65}.message-bubble{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.message-interactive{touch-action:pan-y}.message-interactive:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #b2a2ff}.message-menu-overlay{position:fixed;inset:0;z-index:1000}.message-menu{position:absolute;width:240px;max-width:calc(100vw - 16px);overflow-y:auto;overscroll-behavior:contain;padding:12px;background:#303034;border:1px solid #48484c;border-radius:14px;box-shadow:0 8px 28px #0009;color:#f5f5f5;outline:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.message-menu time{display:block;font-size:12px;line-height:1.5;color:#c8c8cc}.message-menu button{min-height:36px;margin-top:8px;background:transparent;border-radius:8px;color:#f5f5f5;text-align:left;padding:6px 0}.message-menu .message-unsend{color:#ff9595}.message-menu .copy-error{font-size:12px;color:#ff9595}.message-menu button:disabled{opacity:.4}.chat-activity{color:#a8a8ad;font-size:13px;line-height:1.5}.chat-menu-container{position:relative;margin-left:auto;flex-shrink:0}.chat-menu-trigger{position:relative;display:grid;place-items:center;width:44px;min-height:44px;padding:10px;background:transparent;color:#a8a8ad;border-radius:50%}.chat-menu-trigger svg{width:24px;height:24px;fill:currentColor}.chat-options-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:1000;width:200px;max-width:calc(100vw - 32px);padding:6px;border:1px solid #48484c;border-radius:12px;background:#303034;box-shadow:0 8px 28px #0009}.chat-options-menu button{min-height:44px;padding:10px 12px;border-radius:8px;background:transparent;color:#f5f5f5;text-align:left}.chat-options-menu button:hover,.chat-options-menu button:focus-visible{background:#414145}.message-bubble.is-edited{position:relative;padding-top:20px}.message-edited{position:absolute;top:4px;left:12px;font-size:9px;line-height:1;color:#c8c8cc}.outgoing .message-edited{color:#d4ccff}.chat-edit-banner{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 12px;color:#c8c8cc;font-size:12px}.chat-edit-banner button{width:36px;min-height:36px;padding:0;background:transparent;color:#c8c8cc;font-size:22px}.message-reply-preview{display:block;width:100%;min-height:0;margin:0 0 8px;padding:7px 9px;border:0;border-left:3px solid #b9aaff;border-radius:6px;background:#0003;color:#eee;text-align:left;font:12px/1.4 Arial,sans-serif;white-space:normal}.message-reply-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.message-reply-content{display:flex;align-items:center;gap:8px;min-width:0}.message-reply-content>.message-reply-text{min-width:0}.reply-media{position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:48px;overflow:hidden;border-radius:4px;background:#0003}.reply-media img,.reply-media video{width:100%;height:100%;object-fit:cover;pointer-events:none}.reply-media-placeholder{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;opacity:.7}.reply-video-icon{position:absolute;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#0009;color:#fff;font-size:10px}.reply-audio-wave{width:60px;height:36px;fill:none;stroke:#cbb8f6;stroke-width:3;stroke-linecap:round}.message-focused .message-bubble{outline:none;box-shadow:inset 0 0 0 2px #b9aaff}.chat-reply-banner{padding:8px 12px;gap:12px}.chat-reply-banner>div{min-width:0}.chat-reply-banner .message-reply-content{margin-top:4px;color:#f5f5f5;font-size:13px;line-height:1.4}.chat-reply-banner p{margin:4px 0 0;color:#f5f5f5;font-size:13px;line-height:1.4}.chat-reply-banner button{flex-shrink:0}.chat-attach{display:grid;place-items:center;flex:0 0 28px;width:28px;min-width:0;min-height:38px;padding:0;background:transparent;color:#c8c8cc}.chat-attach svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.chat-attach:disabled{opacity:.4}.chat-attachment-actions{display:flex;align-items:flex-end;flex-shrink:0;gap:4px}.chat-attachment-actions[hidden]{display:none}.chat-attachments-expand svg{stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.message-picture{width:260px;max-width:100%;margin-bottom:6px;border-radius:8px;overflow:hidden;background:#0003;white-space:normal}.message-picture img{display:block;width:100%;height:auto}.message-file{display:flex;flex-direction:column;gap:6px;width:260px;max-width:100%;padding:8px 0;white-space:normal}.message-file strong,.attachment-preview-file strong{overflow-wrap:anywhere}.message-file>span,.attachment-preview-file>span{font-size:12px;opacity:.75}.message-file button{align-self:flex-start;padding:8px 12px;border-radius:8px;background:#ffffff18;color:inherit}.message-file p{margin:0;font-size:12px;color:#ff9595}.attachment-preview-file{position:absolute;inset:80px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.message-picture button{background:transparent;color:#ddd;padding:8px;font-size:12px}.chat-picture-preview{display:flex;align-items:flex-start;gap:12px;flex-shrink:0;padding:8px 12px}.chat-picture-preview img{width:auto;max-width:160px;height:80px;object-fit:contain;border-radius:8px}.chat-picture-preview button{width:36px;min-height:36px;background:transparent;color:#ccc;font-size:22px}.chat-picture-preview .picture-once-toggle{width:auto;padding:6px 10px;border:1px solid #555;border-radius:8px;font-size:12px}.picture-once-toggle[aria-pressed=true]{color:#c7baff;border-color:#b9aaff}.picture-once-label{display:block;padding:4px 8px;color:#d4ccff;font-size:11px;line-height:1.4}.picture-once-message button{width:auto;min-height:40px;padding:6px 10px;background:#0002;color:#f5f5f5;font-size:13px;border-radius:8px}.picture-once-message button:disabled{opacity:.6}.picture-once-error{font-size:12px;color:#ff9595}.picture-once-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border:0;background:#000;color:#fff}.picture-once-viewer[open]{display:flex;flex-direction:column}.picture-once-header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:8px 16px;font-size:14px}.picture-once-header button{width:44px;min-height:44px;background:transparent;color:#fff;font-size:28px}.picture-once-viewer>img{flex:1;min-height:0;width:100%;object-fit:contain}.chat-peer-status{display:grid;gap:2px}.strike-heading{font-size:11px;line-height:1.4;color:#a8a8ad}.given-strikes-menu-item{display:grid;gap:4px;padding:8px 12px;margin-bottom:4px;border-bottom:1px solid #48484c}.chat-options-menu .chat-strike-icon{min-height:32px;padding:3px;color:#97979f;text-align:center}.chat-options-menu .chat-strike-icon.is-filled{color:#ff5757}.chat-strike-indicators{display:flex;gap:2px}.chat-strike-icon{display:grid;place-items:center;width:30px;min-height:32px;padding:3px;background:transparent;color:#97979f}.chat-strike-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}.chat-strike-icon.is-filled{color:#ff5757}.chat-strike-icon.is-filled svg{fill:currentColor}.chat-strike-icon:disabled{cursor:default}.chat-options-menu .strike-remove-row button{min-height:32px;padding:6px 0;color:#ff9595;font-size:13px}.strike-remove-row p{font-size:12px;color:#ff9595}.chat-strike-icon[aria-pressed=true]{background:#ff575722}.chat-presence{display:flex;align-items:center;gap:8px}.chat-presence .chat-activity{font-size:15px;line-height:1.4}.chat-presence-dot{flex:0 0 11px;width:11px;height:11px;border-radius:50%;background:#777}.chat-presence-dot.is-active{background:#42d879}.message-reaction-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid #48484c}.message-menu .message-reaction-options button{display:grid;place-items:center;width:100%;min-width:0;min-height:36px;margin:0;padding:0;font-size:22px;text-align:center}.message-reaction-options button[aria-pressed=true]{background:#6247f566;box-shadow:inset 0 0 0 1px #b9aaff}.message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;padding-right:20px;white-space:normal}.message-reaction{display:inline-flex;align-items:center;gap:3px;width:auto;min-height:26px;padding:1px 6px;border-radius:12px;background:#0003;color:#fff;font-size:16px}.message-reaction[aria-pressed=true]{box-shadow:inset 0 0 0 1px #c5baff}.message-reaction .reaction-count{font-size:10px}.message-reaction-options .reaction-strike,.message-reactions .reaction-strike{color:#ff5757;font-weight:700}.message-menu .message-reaction-options .reaction-strike{font-size:34px;line-height:1}.message-reactions .reaction-strike>span:first-child{font-size:25px;line-height:1}.message-link{display:inline;width:auto;min-height:0;padding:0;border-radius:2px;background:transparent;color:#c8dbff;font:inherit;text-align:inherit;text-decoration:underline;overflow-wrap:anywhere;white-space:inherit;vertical-align:baseline}.message-link-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #48484c;border-radius:16px;background:#303034;color:#f5f5f5}.message-link-dialog::backdrop{background:#0009}.message-link-content{padding:16px}.message-link-content header{display:flex;align-items:center;gap:12px}.message-link-content h2{flex:1;margin:0;font-size:18px}.message-link-dismiss{width:36px;min-height:36px;background:transparent;color:#fff;font-size:26px}.message-link-url{margin:12px 0 18px;overflow-wrap:anywhere;white-space:normal}.message-link-actions{display:flex;gap:12px}.message-link-content .copy-error{margin-top:12px;color:#ff9595;font-size:13px}.message-picture .message-picture-open{display:block;min-height:0;padding:0;border-radius:0;cursor:zoom-in}.picture-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border:0;background:#000;color:#fff;overflow:hidden;overscroll-behavior:contain}.picture-viewer[open]{display:flex;flex-direction:column}.picture-viewer::backdrop{background:#000}.picture-viewer-surface{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.picture-viewer-surface.is-zoomed{cursor:grab}.picture-viewer-surface.is-zoomed:active{cursor:grabbing}.picture-viewer-surface img{position:absolute;top:50%;left:50%;max-width:none;transform-origin:center;pointer-events:none;will-change:transform}.picture-viewer-close,.picture-viewer-download{position:fixed;top:calc(env(safe-area-inset-top) + 8px);right:calc(env(safe-area-inset-right) + 8px);z-index:1;display:grid;place-items:center;width:44px;min-height:44px;padding:0;border-radius:50%;background:#242426cc;color:#fff;font-size:30px}.picture-viewer-download{right:calc(env(safe-area-inset-right) + 60px);text-decoration:none}.picture-download-error{position:fixed;top:calc(env(safe-area-inset-top) + 60px);left:16px;right:16px;z-index:1;padding:12px;border-radius:8px;background:#242426ee;color:#ff9595;font-size:13px;text-align:center}.shh-camera{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border:0;background:#000;color:#fff;overflow:hidden}.shh-camera[open]{display:flex;flex-direction:column}.shh-camera-preview{position:relative;flex:1;min-height:0;overflow:hidden;border-radius:24px;background:#161616}.shh-camera video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}.shh-camera .is-front-camera{transform:scaleX(-1)}.shh-camera button{display:grid;place-items:center;width:48px;min-height:48px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff}.shh-camera button:disabled{opacity:.4}.shh-camera button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.shh-camera .shh-camera-close,.shh-camera .shh-camera-flash{position:fixed;top:calc(12px + env(safe-area-inset-top));z-index:2;filter:drop-shadow(0 1px 3px #0008)}.shh-camera-close{right:calc(12px + env(safe-area-inset-right))}.shh-camera-flash{left:50%;transform:translate(-50%)}.shh-camera-flash[aria-pressed=true]{color:#ffe17b}.shh-camera-gallery{position:fixed;left:calc(12px + env(safe-area-inset-left));bottom:calc(27px + env(safe-area-inset-bottom));z-index:2}.shh-camera-switch{position:fixed;right:calc(12px + env(safe-area-inset-right));bottom:calc(27px + env(safe-area-inset-bottom));z-index:2}.shh-camera-controls{position:fixed;inset:auto 0 0;height:calc(102px + env(safe-area-inset-bottom));background:transparent;pointer-events:none}.shh-camera-controls button{pointer-events:auto}.shh-camera .shh-camera-shutter{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:2;width:78px;height:78px;min-height:78px;padding:5px;border:3px solid #fff}.shh-camera-shutter span{width:100%;height:100%;border-radius:50%;background:#fff;transition:transform .12s}.shh-camera-shutter:active span{transform:scale(.9)}.shh-camera-shutter{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.shh-camera-shutter.is-recording{border-color:#f55}.shh-camera-shutter.is-recording span{width:32px;height:32px;border-radius:8px;background:#f55}.shh-camera-recording{position:fixed;top:calc(64px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:2;padding:6px 12px;border-radius:20px;background:#000b;color:#f77;font-variant-numeric:tabular-nums}.shh-camera-clip{position:fixed;inset:0;z-index:5;background:#000}.shh-camera .shh-camera-clip video,.shh-camera .shh-camera-clip img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.shh-camera .shh-camera-clip button{position:absolute;z-index:1;width:auto;padding:10px 16px;border-radius:24px;background:#242426cc}.shh-camera-clip-back{top:calc(12px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left))}.shh-camera-clip-mute{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right))}.shh-camera-clip-once{bottom:calc(27px + env(safe-area-inset-bottom));left:calc(12px + env(safe-area-inset-left))}.shh-camera-clip-send{bottom:calc(27px + env(safe-area-inset-bottom));right:calc(12px + env(safe-area-inset-right))}.shh-camera-error{position:fixed;left:calc(12px + env(safe-area-inset-left));right:calc(12px + env(safe-area-inset-right));bottom:calc(118px + env(safe-area-inset-bottom));z-index:1;padding:12px;border-radius:8px;background:#242426e6;color:#ffb3b3}.shh-camera-screen-flash{position:fixed;inset:0;z-index:3;background:#fff;pointer-events:none}html[data-shh-locked] .shh-camera{visibility:hidden!important}.shh-camera-options{position:fixed;top:calc(12px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));z-index:4;width:max-content;min-width:0;text-align:center;color:#fff}.shh-camera-options summary{padding:6px;border-radius:8px;background:#0008;cursor:pointer;font-size:13px}.shh-camera-options summary span{display:block;font-size:11px;opacity:.75}.shh-camera-options-list{position:absolute;top:calc(100% + 8px);left:0;z-index:4;width:min(280px,calc(100vw - 32px));padding:6px;border:1px solid #ffffff30;border-radius:12px;background:#242426f5;box-shadow:0 6px 24px #0008}.shh-camera .shh-camera-options-list button{width:100%;min-height:40px;padding:8px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.shh-camera-options-list button[aria-pressed=true]{background:#333}.message-picture video{display:block;width:100%;max-height:60dvh;object-fit:contain}.chat-picture-preview video{display:block;width:auto;max-width:160px;height:80px;object-fit:contain;border-radius:8px}.message-picture-open{position:relative}.message-video-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:36px;text-shadow:0 1px 8px #000;pointer-events:none}.video-viewer video{width:100%;height:100%;min-height:0;object-fit:contain}.message-video-player{position:relative;flex:1;min-height:0;width:100%}.message-video-player video{display:block;width:100%;height:100%;object-fit:contain}.message-video-progress{position:absolute;left:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100% - 24px);height:3px;border:0;border-radius:2px;overflow:hidden;appearance:none;background:#ffffff40;color:#fff;pointer-events:none}.message-video-progress::-webkit-progress-bar{background:#ffffff40}.message-video-progress::-webkit-progress-value{background:#fff}.message-video-progress::-moz-progress-bar{background:#fff}.video-viewer p{position:absolute;bottom:70px;left:16px;right:16px;text-align:center}.picture-once-viewer video{flex:1;width:100%;min-height:0;object-fit:contain}.attachment-preview-unavailable{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:80px 24px 110px;overflow-wrap:anywhere;text-align:center}.emoji-picker{margin-bottom:10px}.emoji-picker input{box-sizing:border-box;width:100%;min-height:32px;padding:5px 8px;border:1px solid #686870;border-radius:8px;background:#202024;color:#fff;font:16px/20px Arial,sans-serif}.emoji-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;max-height:min(240px,40dvh);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;margin-top:6px;scrollbar-width:thin}.message-menu .emoji-grid button{display:grid;place-items:center;width:100%;min-width:0;min-height:36px;margin:0;padding:0;font-size:24px}.emoji-grid button:hover,.emoji-grid button[aria-pressed=true]{background:#6247f566}.emoji-grid button:focus-visible{outline-offset:-2px}.emoji-empty{grid-column:1 / -1;padding:12px 0;color:#c8c8cc;font-size:12px}.game-turn-dot,.game-menu-turn{display:inline-block;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#ff5757}.chat-menu-container{display:flex;align-items:center;gap:4px}.game-turn-dot{position:absolute;right:5px;top:5px;box-shadow:0 0 0 2px #000}.chat-menu-games{padding:8px 6px;border-bottom:1px solid #48484c;margin-bottom:4px}.chat-menu-games>.strike-heading{display:block;padding:0 6px 4px}.chat-menu-games button{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-turn-notice{flex:0 0 40px;position:relative;width:40px;min-height:40px;background:#3b181b;color:#f77;border-radius:50%;padding:10px;margin-left:auto}.game-turn-notice svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.game-header-title{flex:1;margin:0;font-size:16px;font-weight:600;color:#e9def9}.game-info-button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:10px;margin-left:auto;background:transparent;color:#bfaed4;border-radius:50%}.game-info-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.game-info-button .game-info-dot{fill:currentColor;stroke:none}.game-page{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px clamp(12px,4vw,32px) 28px}.game-page>*{width:min(100%,380px);margin-left:auto;margin-right:auto}.game-page.is-idle{display:flex;flex-direction:column}.game-idle{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.game-idle .game-start{width:min(100%,240px);border-radius:12px}.game-idle .game-start:disabled{opacity:.4;cursor:default}.game-status{min-height:24px;margin-bottom:14px;color:#b4afb9;font-size:14px}.game-status.is-your-turn{color:#e0bfff}.game-board-view{position:relative;isolation:isolate}.game-result-effect{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;pointer-events:none;z-index:500}.game-result-label{position:absolute;inset:0;display:grid;place-items:center;padding:24px}.game-result-label strong{font-size:clamp(32px,9vw,88px);font-weight:800;line-height:1.15;letter-spacing:.06em;text-align:center;color:#fff0bd;text-shadow:0 2px 6px #000,0 4px 28px #000,0 0 60px #000;animation:game-result-title 2.2s ease-out both}.is-loss .game-result-label strong{color:#d3daec}.game-result-glow{position:absolute;inset:0;opacity:0;animation:game-result-glow 2.2s ease-out both}.is-win .game-result-glow{background:radial-gradient(ellipse at 50% 35%,#e8c97925,transparent 75%)}.is-loss .game-result-glow{background:radial-gradient(ellipse at 50% 0,#8d9fc332,transparent 85%)}.game-result-effect span{position:absolute;left:var(--x);top:-24px;opacity:0;animation:game-confetti 1.9s var(--delay) cubic-bezier(.16,.55,.6,1) both}.game-result-effect.is-win span{width:7px;height:13px;border-radius:2px;background:var(--color)}.game-result-effect.is-win span:nth-child(3n){width:9px;height:9px;border-radius:50%}.game-result-effect.is-loss span{width:2px;height:22px;border-radius:2px;background:linear-gradient(transparent,#b0bed8a6);animation-name:game-rain;animation-timing-function:ease-in}@keyframes game-result-glow{0%,to{opacity:0}18%,55%{opacity:1}}@keyframes game-result-title{0%{opacity:0;transform:scale(.9)}15%,75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1)}}@keyframes game-confetti{0%{opacity:0;transform:translateY(0) rotate(var(--turn))}12%{opacity:1}75%{opacity:.85}to{opacity:0;transform:translate(var(--drift),calc(100dvh + 48px)) rotate(calc(var(--turn) + 270deg))}}@keyframes game-rain{0%{opacity:0;transform:translateY(0)}20%{opacity:.7}to{opacity:0;transform:translateY(calc(100dvh + 48px))}}@media(prefers-reduced-motion:reduce){.game-result-effect.is-win span,.game-result-effect.is-loss span{display:none;animation:none}.game-result-glow{animation:none;opacity:.65}.game-result-label strong{animation:none}}.tic-tac-toe-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-square{aspect-ratio:1;min-height:0;padding:0;border-radius:14px;border:1px solid #39313f;background:#1b171f;color:#ede1ff;font-size:clamp(36px,12vw,64px);font-weight:600}.game-square.is-o{color:#f0b6c7}.game-square.is-winner{background:#342540;border-color:#c4a1e7}.game-square:disabled{cursor:default}.game-square:not(:disabled):hover{background:#2a2232;border-color:#ab8acb}.connect-four-columns,.connect-four-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(4px,1.5vw,8px);padding:8px}.connect-four-drop{min-width:0;min-height:44px;padding:0;border-radius:10px;background:#342540;color:#e0bfff;font-size:24px}.connect-four-drop:disabled{opacity:.35;cursor:default}.connect-four-drop:not(:disabled):hover{background:#4b355d}.connect-four-drop:focus-visible{outline:2px solid #e0bfff;outline-offset:2px}.connect-four-board{overflow:hidden;border:1px solid #544472;border-radius:14px;background:#29223d}.connect-four-disc{display:block;aspect-ratio:1;width:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:50%;background:#100e15;box-shadow:inset 0 2px 4px #0006}.connect-four-disc.is-empty:not(:disabled):hover{background:#2d2440}.connect-four-disc.is-empty:focus-visible{outline:2px solid #e0bfff;outline-offset:-3px}.connect-four-disc:disabled{cursor:default}.connect-four-token{position:relative;z-index:1;display:block;width:100%;height:100%;border-radius:50%;box-shadow:inset 0 2px 4px #0006;pointer-events:none}.connect-four-disc.is-red .connect-four-token{background:#f17c89}.connect-four-disc.is-yellow .connect-four-token{background:#f0cf70}.connect-four-disc.is-winner .connect-four-token{outline:3px solid #fff;outline-offset:-4px}.game-actions{display:flex;gap:10px;margin-top:18px}.game-start,.game-new-round{background:#cbb8f6;color:#21162f}.game-reset{background:#242027;color:#d8ccdf;border:1px solid #44384e}.game-actions button{min-height:44px;border-radius:12px}.game-actions button:disabled{opacity:.4;cursor:default}.game-error{margin-top:12px;color:#ff9595;font-size:13px}.game-dialog{width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow-y:auto;border:1px solid #44384e;border-radius:16px;background:#211b28;color:#f2e8fc}.game-dialog::backdrop{background:#000b}.game-dialog-content{display:grid;gap:20px;padding:20px}.game-dialog-content>header{display:flex;align-items:center;gap:12px}.game-dialog-content h2{flex:1;margin:0;font-size:20px}.game-dialog-dismiss{flex:0 0 32px;width:32px;min-height:32px;padding:0;background:transparent;color:#d8ccdf;font-size:26px}.game-dialog .game-start,.game-dialog .game-reset{border-radius:12px}.game-dialog button:disabled{opacity:.4;cursor:default}.game-stats dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.game-stats dl>div{background:#17131b;border:1px solid #33283c;border-radius:12px;padding:12px}.game-stats dt{font-size:12px;color:#b1a4bc}.game-stats dd{font-size:24px;margin:6px 0 0;color:#f2e8fc;font-weight:600}@media(max-height:620px){.game-page{padding-top:10px}.game-board-view:has(.tic-tac-toe-board){max-width:240px}}:root{font-family:Arial,sans-serif;color:#9aa0a6;background:#202124;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:dark}*{box-sizing:border-box}body{margin:0}h1{margin:52px 0 17px;font-size:22px;font-weight:600;line-height:1.35}p{margin:0;font-size:15px;line-height:1.6}button{width:100%;min-height:48px;border:0;border-radius:20px;background:#8ab4f8;color:#202124;font:500 14px Arial,sans-serif;cursor:pointer}button:focus-visible{outline:2px solid #e8eaed;outline-offset:4px}.auth-page{min-height:100dvh;width:100%;max-width:420px;margin:auto;padding:max(24px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;gap:18px}.auth-page h1{margin:0;color:#e8eaed}.auth-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-header h1{flex:1;min-width:0}.auth-sign-in-header{text-align:center}.auth-back{flex:0 0 44px;width:44px;min-height:44px;font-size:26px;background:transparent;color:#e8eaed}.passcode-dots{display:flex;justify-content:center;gap:clamp(6px,3vw,12px);min-height:54px;padding:20px 0}.passcode-dots span{width:14px;height:14px;border:1px solid #9aa0a6;border-radius:50%}.passcode-dots .filled{background:#e8eaed;border-color:#e8eaed}.passcode-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.passcode-keys button{min-height:64px;background:#303134;color:#e8eaed;border-radius:16px;font-size:24px}.passcode-keys button:nth-last-child(3){font-size:14px}.auth-page button:disabled{opacity:.45;cursor:default}.auth-secondary{background:transparent;color:#8ab4f8}.auth-error{color:#f28b82}html[data-shh-locked] .chat-page,html[data-shh-locked] .picture-once-viewer,html[data-shh-locked] .picture-viewer,html[data-shh-locked] .message-link-dialog,html[data-shh-locked] .game-dialog,html[data-shh-locked] .game-result-effect,html[data-shh-locked] .message-menu-overlay{visibility:hidden!important;pointer-events:none!important}
