:root{--uhoh-face:#e4f0e0;--uhoh-face-dark:#c5dcb8;--uhoh-border:#8aaa70;--uhoh-border-dark:#6a9050;--uhoh-border-light:#f4ffe8;--uhoh-title:#7ab830;--uhoh-title-end:#b4e05c;--uhoh-text:#1a2a10;--uhoh-muted:#5a6a50;--uhoh-accent:#8dc63f;--uhoh-yellow:#fff8c8;--uhoh-yellow-deep:#f0e490;--uhoh-blue:#2b5896;--uhoh-official:#c9a227;--uhoh-official-frame:#d4a017;--uhoh-official-frame-inner:#8a6914;--uhoh-input:#fff;--uhoh-select:#7ab830;--uhoh-select-text:#fff;--uhoh-btn-face:#f2f8ec;--uhoh-btn-face-end:#c8e0a8;--uhoh-panel:#dce8e0;--uhoh-tab-idle:#6aa028;--uhoh-tab-idle-end:#8cbc40;--uhoh-radius:12px;--uhoh-radius-sm:8px;--uhoh-radius-xs:6px;--uhoh-shadow:0 2px 8px #2850142e;--uhoh-gloss:linear-gradient(180deg, #ffffff8c 0%, #ffffff1f 48%, #0000000d 100%);--msg-theirs-bg:#f5faf6;--msg-mine-bg:#fff;--msg-theirs-head:#2b5896;--msg-mine-head:#d9531e;--msg-link:purple;--chat-font-size:14px;--chat-font-family:Tahoma, "Segoe UI", Arial, sans-serif;--chat-text-color:#000;--message-list-bg:#fff;--uhoh-error-bg:#fff0f0;--uhoh-error-border:#c04040;--uhoh-error-text:#701010;--uhoh-success-bg:#e8f5e8;--uhoh-success-border:#8cb88c;--uhoh-success-text:#206020;--font-ui:"Tahoma", "Segoe UI", "Verdana", sans-serif}.contacts-meta:has(.stories-ribbon){align-items:center;gap:10px;min-height:38px;display:flex}.contacts-meta>span{flex-shrink:0}.stories-ribbon{scrollbar-width:none;flex:1;align-items:center;gap:6px;min-width:0;padding:3px 2px;display:flex;overflow-x:auto}.stories-ribbon::-webkit-scrollbar{display:none}.story-trigger{appearance:none;cursor:pointer;background:0 0;border:0;border-radius:50%;flex-shrink:0;padding:2px}.story-trigger:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.story-circle{border:1.5px solid var(--uhoh-muted);width:30px;height:30px;color:var(--uhoh-muted);background:var(--uhoh-panel);border-radius:50%;justify-content:center;align-items:center;padding:3px;display:flex}.story-circle.unseen{border:2px solid var(--uhoh-accent)}.story-circle img{object-fit:cover;border-radius:50%;width:100%;height:100%}.story-backdrop{z-index:25000;-webkit-app-region:no-drag;background:#000000e6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.story-viewer{color:#fff;-webkit-user-select:none;user-select:none;background:#080a07;width:min(100vw,56.25dvh);height:100dvh;position:relative;overflow:hidden}.story-viewer>img,.story-viewer>video{object-fit:contain;width:100%;height:100%;display:block}.story-touch{touch-action:none;position:absolute;inset:0}.story-header{padding:max(12px, env(safe-area-inset-top)) 14px 40px;pointer-events:none;background:linear-gradient(#000a,#0000);position:absolute;inset:0 0 auto}.story-progress{gap:4px;display:flex}.story-progress>span{background:#fff5;border-radius:5px;flex:1;height:3px;display:block;overflow:hidden}.story-progress i{background:#fff;height:100%;display:block}.story-author{font:14px var(--font-ui);align-items:center;gap:10px;margin-top:12px;display:flex}.story-author strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.story-author time{color:#fff9;margin-right:auto;font-size:11px}.story-author button,.story-previous,.story-next{appearance:none;color:#fff;cursor:pointer;pointer-events:auto;background:#0002;border:0;border-radius:50%;flex-shrink:0;width:38px;height:38px;font-size:23px}.story-previous,.story-next{bottom:max(24px, env(safe-area-inset-bottom));background:#0005;font-size:32px;position:absolute}.story-previous{left:14px}.story-next{right:14px}.story-loading,.story-error{flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.story-error button{color:var(--uhoh-text);background:var(--uhoh-btn-face);border:1px solid var(--uhoh-border);cursor:pointer;border-radius:10px;padding:10px 18px}.story-spinner{border:2px solid #fff4;border-top-color:#fff;border-radius:50%;width:30px;height:30px;animation:1s linear infinite story-spin}@keyframes story-spin{to{transform:rotate(360deg)}}.story-views{left:50%;bottom:max(24px, env(safe-area-inset-bottom));color:#fff;min-height:40px;font:500 14px var(--font-ui);font-variant-numeric:tabular-nums;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 16px;display:flex;position:absolute;transform:translate(-50%)}.story-views:hover{background:#fff3}.story-views:focus-visible,.story-viewers button:focus-visible{outline-offset:2px;outline:2px solid #fff}.story-viewers{background:var(--uhoh-panel);max-height:60%;color:var(--uhoh-text);border-radius:16px 16px 0 0;flex-direction:column;display:flex;position:absolute;inset:auto 0 0;box-shadow:0 -8px 24px #0006}.story-viewers-head{font:600 16px var(--font-ui);justify-content:space-between;align-items:center;padding:12px 12px 8px 18px;display:flex}.story-viewers-head button{appearance:none;color:var(--uhoh-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;width:36px;height:36px;font-size:24px}.story-viewers ul{margin:0;padding:0 0 12px;list-style:none;overflow-y:auto}.story-viewers li button{appearance:none;width:100%;color:inherit;text-align:left;cursor:pointer;font:14px var(--font-ui);background:0 0;border:0;align-items:center;gap:12px;padding:8px 18px;display:flex}.story-viewers li button:hover{background:color-mix(in srgb, var(--uhoh-text) 8%, transparent)}.story-viewers li button>span:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.story-viewers li b{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.story-viewers li small,.story-viewers li button>span:last-child{color:var(--uhoh-muted);font-size:12px}.story-viewers-note{color:var(--uhoh-muted);font:14px var(--font-ui);flex-direction:column;align-items:center;gap:12px;padding:28px 18px;display:flex}.story-viewers-note .story-spinner{border-color:var(--uhoh-border);border-top-color:var(--uhoh-accent)}.story-viewers-retry{color:var(--uhoh-text);background:var(--uhoh-btn-face);border:1px solid var(--uhoh-border);cursor:pointer;border-radius:10px;padding:8px 16px}@media (prefers-reduced-motion:reduce){.story-spinner{border-color:#fff;animation:none}}*{box-sizing:border-box}html,body,#root{background:var(--uhoh-face);height:100%;color:var(--uhoh-text);font-family:var(--font-ui);-webkit-user-select:none;user-select:none;margin:0;font-size:12px;overflow:hidden}button,input,textarea{font:inherit;color:inherit}.window{background:linear-gradient(180deg, var(--uhoh-face) 0%, var(--uhoh-panel) 100%);border:2px solid var(--uhoh-border);border-radius:var(--uhoh-radius);height:100%;box-shadow:var(--uhoh-shadow);flex-direction:column;display:flex;position:relative;overflow:hidden}.titlebar{background:linear-gradient(180deg, #ffffff6b 0%, #fff0 45%), linear-gradient(90deg, var(--uhoh-title), var(--uhoh-title-end));color:#fff;-webkit-app-region:drag;text-shadow:0 1px 1px #00000040;border-bottom:1px solid var(--uhoh-border-dark);flex-shrink:0;align-items:center;height:38px;padding:0 10px 0 78px;display:flex}.titlebar-bare{height:28px;padding-left:72px}.login-window .titlebar-bare{height:28px}.titlebar-drag{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.titlebar-logo{flex-shrink:0}.titlebar-text{flex-direction:column;min-width:0;line-height:1.15;display:flex}.titlebar-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.titlebar-text span{opacity:.9;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.window-body{flex-direction:column;flex:1;gap:8px;min-height:0;padding:8px;display:flex;position:relative}.login-window{align-self:flex-start;width:100%;height:auto;min-height:0}.login-window .window-body{flex:none}.login-body{flex-direction:column;flex:none;gap:5px;min-height:0;padding:6px 10px 8px;display:flex;overflow:visible}.login-form{flex-direction:column;gap:5px;margin-top:0;display:flex}.login-submit{width:100%;margin-top:4px}.login-link-btn{-webkit-app-region:no-drag;color:var(--uhoh-accent);font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;margin:0;padding:0;font-size:11px;font-weight:700;text-decoration:underline}.link-btn{color:var(--msg-link);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.login-forgot-link{margin-top:-2px;margin-bottom:2px}.login-legal{flex-direction:column;gap:6px;margin-top:8px;display:flex}.login-legal-row{cursor:pointer;flex-direction:row;align-items:flex-start;gap:8px;font-size:12px;display:flex}.login-legal-row input[type=checkbox]{cursor:pointer;flex:none;width:14px;height:14px;margin:1px 0 0}.login-legal-row span{line-height:1.4}.forgot-panel{flex-direction:column;gap:6px;display:flex}.forgot-title{color:var(--uhoh-accent);font-size:14px;font-weight:800}.forgot-hint{color:var(--uhoh-muted);margin:0;font-size:11px;line-height:1.35}.login-brand{align-items:center;gap:8px;min-width:0;padding:0;display:flex}.login-brand-text{flex:auto;min-width:0}.brand-name{letter-spacing:.03em;color:var(--uhoh-accent);text-shadow:none;font-size:20px;font-weight:800;line-height:1.05}.brand-sub{color:var(--uhoh-muted);margin-top:0;font-size:11px;line-height:1.2}.login-brand .lang-switch{flex:none;margin:0}.login-tabs{border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-face-dark);grid-template-columns:1fr 1fr;gap:0;display:grid;overflow:hidden}.login-tabs button{-webkit-app-region:no-drag;border:none;border-right:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, var(--uhoh-tab-idle-end), var(--uhoh-tab-idle));color:#fff;cursor:pointer;text-shadow:0 1px 1px #0003;padding:5px 8px;font-weight:700}.login-tabs button:last-child{border-right:none}.login-tabs button.active{background:linear-gradient(180deg, #fff6 0%, #fff0 45%), linear-gradient(180deg, #f4faf0, var(--uhoh-face));color:var(--uhoh-text);text-shadow:none;box-shadow:inset 0 0 0 1px #ffffff59}.login-field{gap:2px;font-size:12px}.login-field span{color:var(--uhoh-text);font-weight:700}.login-field input{padding:5px 8px}.uin-picker{flex-direction:column;gap:4px;margin-top:1px;display:flex}.uin-picker-label{font-size:12px;font-weight:700}.uin-picker-toggle{border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);grid-template-columns:1fr 1fr;gap:0;display:grid;overflow:hidden}.uin-picker-toggle button{-webkit-app-region:no-drag;border:none;border-right:1px solid var(--uhoh-border);color:var(--uhoh-muted);cursor:pointer;background:0 0;padding:5px 8px;font-size:12px;font-weight:700;line-height:1.2}.uin-picker-toggle button:last-child{border-right:none}.uin-picker-toggle button.active{background:linear-gradient(180deg, var(--uhoh-title-end), var(--uhoh-select));color:#fff;text-shadow:0 1px 1px #0000002e}.uin-picker-input{font-variant-numeric:tabular-nums;letter-spacing:.04em;padding:5px 8px}.uin-picker-input.is-invalid{border-color:#c04040}.uin-picker-hint{color:var(--uhoh-muted);font-size:11px;line-height:1.35}.field-error{color:var(--uhoh-error-text);font-size:11px;font-weight:600;line-height:1.25}.error-box{background:var(--uhoh-error-bg);border:1px solid var(--uhoh-error-border);border-radius:var(--uhoh-radius-xs);color:var(--uhoh-error-text);padding:5px 8px;font-size:12px}.notice-box{background:color-mix(in srgb, var(--uhoh-accent) 18%, var(--uhoh-face));border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);color:var(--uhoh-text);padding:5px 8px;font-size:12px}.modal-form{flex-direction:column;gap:8px;display:flex}.tabs{border-bottom:1px solid var(--uhoh-border);gap:4px;padding-bottom:0;display:flex}.tabs button{-webkit-app-region:no-drag;border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, var(--uhoh-tab-idle-end), var(--uhoh-tab-idle));color:#fff;cursor:pointer;border-radius:var(--uhoh-radius-sm) var(--uhoh-radius-sm) 0 0;text-shadow:0 1px 1px #0003;border-bottom:none;padding:6px 14px}.tabs button.active{background:linear-gradient(180deg, #ffffff73 0%, #fff0 40%), linear-gradient(180deg, var(--uhoh-title-end), var(--uhoh-face));color:var(--uhoh-text);text-shadow:none;font-weight:700;position:relative;top:1px}label{flex-direction:column;gap:3px;min-width:0;max-width:100%;font-weight:600;display:flex}input,textarea,.search-input,select{-webkit-app-region:no-drag;box-sizing:border-box;background:var(--uhoh-input);width:100%;min-width:0;max-width:100%;color:var(--uhoh-text);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);-webkit-user-select:text;user-select:text;outline:none;padding:6px 8px;box-shadow:inset 0 1px 2px #28501414}select{cursor:pointer;-webkit-text-fill-color:var(--uhoh-text)}select option{background:var(--uhoh-input);color:var(--uhoh-text);-webkit-text-fill-color:var(--uhoh-text)}input::placeholder,textarea::placeholder,.search-input::placeholder{color:var(--uhoh-muted);opacity:1}input:focus,textarea:focus,.search-input:focus{border-color:var(--uhoh-accent);box-shadow:inset 0 1px 2px #28501414,0 0 0 2px #8dc63f47}.row-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;min-width:0;display:grid}.row-2>*{min-width:0}.primary-btn,.tool-actions button,.status-btn,.modal-actions button,.send-btn,.tabs button,.contact-row,.search-block button,.context-menu button,.status-menu button{-webkit-app-region:no-drag}.primary-btn{background:linear-gradient(180deg, #ffffff80 0%, #fff0 42%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);cursor:pointer;color:var(--uhoh-text);padding:7px 14px;font-weight:700;box-shadow:inset 0 1px #ffffffa6,0 1px 2px #2850141f}.primary-btn:disabled{opacity:.55;cursor:default}.primary-btn:not(:disabled):hover{filter:brightness(1.04)}.primary-btn:not(:disabled):active{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, var(--uhoh-face-dark), var(--uhoh-btn-face-end));box-shadow:inset 0 1px 3px #28501433}.secondary-btn{background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);cursor:pointer;color:var(--uhoh-text);padding:7px 14px;font-weight:700;box-shadow:inset 0 1px #ffffffa6,0 1px 2px #2850141f}.secondary-btn:disabled{opacity:.55;cursor:default}.secondary-btn:not(:disabled):hover{filter:brightness(1.04)}.secondary-btn:not(:disabled):active{background:linear-gradient(180deg, var(--uhoh-face-dark), var(--uhoh-btn-face-end));box-shadow:inset 0 1px 3px #28501433}.server-status{color:var(--uhoh-muted);font-size:11px}.server-status.ok{color:#1a7a00}.server-status.bad{color:#a01010}.contacts-toolbar{flex-direction:column;align-items:stretch;gap:6px;min-width:0;display:flex}.me-row{width:100%;min-width:0;position:relative}.status-btn{background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-panel));border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);cursor:pointer;text-align:left;width:100%;min-width:0;color:var(--uhoh-text);align-items:center;gap:6px;padding:6px 8px;font-size:14px;display:flex;overflow:hidden;box-shadow:inset 0 1px #ffffffb3}.status-btn .status-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex;overflow:hidden}.status-btn .status-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-weight:700;overflow:hidden}.tool-actions{flex:none;gap:4px;width:100%;display:flex}.caret,.status-btn .caret{color:var(--uhoh-muted);flex:none}.me-avatar-wrap,.contact-avatar-wrap,.chat-peer-avatar{isolation:isolate;flex:none;line-height:0;display:inline-block;position:relative}.me-avatar-wrap{cursor:pointer}.me-status-badge,.contact-status-badge,.chat-peer-status{z-index:3;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:4px;padding:1px;line-height:0;position:absolute;bottom:-4px;right:-4px}.birthday-cake{z-index:2;pointer-events:none;filter:drop-shadow(0 1px 2px #00000073);transform-origin:50% 80%;font-size:22px;line-height:1;animation:.9s ease-in-out infinite birthday-cake-bob;position:absolute;top:-11px;left:50%}.chat-peer-avatar .birthday-cake{font-size:22px;top:-11px}.contact-details-avatar .birthday-cake{font-size:28px;top:-14px}@keyframes birthday-cake-bob{0%,to{transform:translate(-50%)translateY(0)rotate(-12deg)}50%{transform:translate(-50%)translateY(-4px)rotate(12deg)}}@keyframes birthday-shimmer{0%,68%{background-position:0 0}to{background-position:100% 0}}@media (prefers-reduced-motion:reduce){.birthday-cake{animation:none;transform:translate(-50%)}.peer-birthday,.contact-details-birthday{color:#b45309;-webkit-text-fill-color:#b45309;background:0 0;animation:none}[data-theme=dark] .peer-birthday,[data-theme=dark] .contact-details-birthday{color:#e8c25a;-webkit-text-fill-color:#e8c25a}}.avatar-shell{z-index:0;vertical-align:middle;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex;position:relative}.avatar-shell .avatar{width:100%;height:100%}.avatar-shell.is-official{border-radius:calc(var(--uhoh-radius-xs) + 1px);padding:2.5px;overflow:hidden}.avatar-shell.is-official:before{content:"";z-index:0;background:conic-gradient(#7a5a10 0deg,#f8e38a 48deg,#d4a017 96deg,#fff8d0 144deg,#c9a227 192deg,#8a6914 240deg,#f8e38a 300deg,#7a5a10 360deg);animation:2.8s linear infinite official-frame-spin;position:absolute;inset:-45%}.avatar-shell.is-official .avatar{z-index:1;border-color:var(--uhoh-official-frame-inner,#8a6914);box-shadow:none;position:relative}@keyframes official-frame-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.avatar-shell.is-official:before{animation:none}}.avatar{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);border-radius:var(--uhoh-radius-xs);vertical-align:middle;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;overflow:hidden;box-shadow:0 1px 2px #2850141f}.avatar img{object-fit:cover;image-rendering:auto;width:100%;height:100%;display:block}.avatar-placeholder{width:100%;height:100%;color:var(--uhoh-muted);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));-webkit-user-select:none;user-select:none;place-items:center;font-size:.55em;font-weight:700;display:grid}.avatar-edit{border-bottom:1px solid var(--uhoh-border);align-items:center;gap:12px;margin-bottom:6px;padding:4px 0 10px;display:flex}.avatar-edit-preview{border:2px solid var(--uhoh-border-dark);cursor:pointer;background:0 0;flex-shrink:0;padding:0;line-height:0}.avatar-edit-preview:hover:not(:disabled){outline:1px solid var(--uhoh-blue)}.avatar-edit-preview.is-clickable{cursor:pointer}.avatar-edit-preview:disabled{opacity:.7;cursor:default}.avatar-edit-actions{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.avatar-edit-label{font-size:12px;font-weight:700}.avatar-edit-error{max-width:220px;margin-top:2px}.avatar-edit-column{flex-direction:column;align-items:stretch;gap:8px;width:max-content;max-width:100%}.avatar-edit-column .avatar-edit-preview{align-self:flex-start}.avatar-edit-column .avatar-edit-actions,.avatar-edit-column .avatar-edit-actions .primary-btn,.avatar-edit-column .avatar-edit-actions .secondary-btn{width:100%}.avatar-edit-column .avatar-edit-error{max-width:none}.avatar-edit-main{align-self:flex-start;line-height:0;position:relative}.avatar-thumbs{flex-wrap:wrap;gap:6px;display:flex}.avatar-thumb{line-height:0;position:relative}.avatar-thumb-open{border:1px solid var(--uhoh-border-dark);cursor:pointer;background:0 0;padding:0;line-height:0}.avatar-thumb.is-main .avatar-thumb-open{outline:2px solid var(--uhoh-blue);outline-offset:1px}.avatar-thumb-open:focus-visible,.avatar-thumb-add:focus-visible{outline:2px solid var(--uhoh-blue)}.avatar-thumb-actions{opacity:0;gap:1px;display:flex;position:absolute;top:1px;right:1px}.avatar-thumb:hover .avatar-thumb-actions,.avatar-thumb:focus-within .avatar-thumb-actions{opacity:1}.avatar-thumb-actions button{color:#fff;cursor:pointer;background:#000000a6;border:0;width:18px;height:18px;padding:0;font-size:11px;line-height:18px}.avatar-thumb-add{width:46px;height:46px;color:var(--uhoh-blue);border:1px dashed var(--uhoh-border-dark);cursor:pointer;background:0 0;padding:0;font-size:22px}.avatar-thumb-add:disabled,.avatar-thumb-open:disabled{opacity:.6;cursor:default}.avatar-crop-backdrop{z-index:60}.avatar-crop-modal{width:min(300px,100%)}.avatar-crop-body{flex-direction:column;gap:8px;display:flex}.avatar-crop-hint{color:var(--uhoh-muted);margin:0;font-size:11px;line-height:1.35}.avatar-crop-stage{border:2px solid var(--uhoh-border-dark);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#1a1a1a;margin:0 auto;position:relative;overflow:hidden}.avatar-crop-stage:active{cursor:grabbing}.avatar-crop-img{pointer-events:none;-webkit-user-drag:none;max-width:none;position:absolute}.avatar-crop-frame{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff8c}.avatar-crop-zoom{flex-direction:column;gap:4px;font-size:11px;display:flex}.avatar-crop-zoom input[type=range]{width:100%;accent-color:var(--uhoh-blue,#2b5896);margin:0}.status-menu{z-index:20;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);box-shadow:var(--uhoh-shadow);flex-direction:column;max-height:min(360px,70vh);display:flex;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:auto}.status-menu button{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:7px 10px;font-size:14px;display:flex}.status-menu button:hover{background:var(--uhoh-select);color:var(--uhoh-select-text)}.tool-actions{gap:4px;width:100%;display:flex}.tool-actions>button,.tool-action-btn{flex:1 1 0;min-width:0}.tool-actions button,.tool-icon-btn,.tool-action-btn{border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;height:28px;min-height:28px;color:var(--uhoh-text);justify-content:center;align-items:center;padding:0;display:flex;box-shadow:inset 0 1px #ffffffa6,0 1px 2px #28501414}.tool-action-btn.tree-menu-button,[data-theme=dark] .tool-action-btn.tree-menu-button{background:linear-gradient(115deg,#cdebd8,#fbe6aa,#f6cddc,#cdebd8) 0 0/300% 100%;border-radius:5px;animation:5s ease-in-out infinite tree-menu-shimmer}.tree-menu-button .tool-action-icon{font-size:20px}@keyframes tree-menu-shimmer{0%,to{background-position:0%}50%{background-position:100%}}@media (prefers-reduced-motion:reduce){.tool-action-btn.tree-menu-button{animation:none}}.tool-action-icon{color:var(--uhoh-text);justify-content:center;align-items:center;line-height:0;display:flex}.tool-action-icon svg{width:16px;height:16px;display:block}.tool-actions button:hover,.tool-icon-btn:hover,.tool-action-btn:hover{background:linear-gradient(180deg, #fff9 0%, #fff0 45%), linear-gradient(180deg, #fff, var(--uhoh-btn-face-end));border-color:var(--uhoh-accent);color:var(--uhoh-text)}.tool-actions button:active,.tool-action-btn:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #2850142e}.search-input{width:100%}.lang-switch{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.lang-switch.compact{justify-content:flex-end;margin:0}.lang-label{font-weight:600}.lang-select{-webkit-app-region:no-drag;border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);min-width:96px;max-width:100%;color:var(--uhoh-text);font:inherit;width:auto;padding:3px 6px;font-size:12px}.lang-switch.compact .lang-select{width:auto;min-width:56px;padding:4px 4px 4px 6px}.uin-reveal{text-align:center;flex-direction:column;gap:8px;padding:6px 2px 2px;display:flex}.uin-reveal-label{color:var(--uhoh-muted);font-size:12px;font-weight:600}.uin-reveal-number{letter-spacing:.06em;color:var(--uhoh-accent);font-variant-numeric:tabular-nums;font-size:28px;font-weight:800}.uin-reveal-hint{color:var(--uhoh-muted);margin:0;font-size:12px;line-height:1.35}.uin-reveal-actions{flex-direction:column;align-items:stretch;gap:8px;margin-top:2px;display:flex}.uin-reveal-actions .copy-uin-btn{align-self:center;min-width:110px}.uin-reveal-actions .primary-btn{width:100%}.modal.settings-modal{width:100%;max-width:none;height:100%;min-height:0;max-height:100%;box-shadow:none;background:linear-gradient(180deg, var(--uhoh-face) 0%, var(--uhoh-panel) 100%);border:none;border-radius:0;flex-direction:column;display:flex}.modal-backdrop.settings-backdrop{justify-content:stretch;align-items:stretch;place-items:unset;background:var(--uhoh-face);z-index:50;padding:0;display:flex;overflow:hidden}.settings-modal-head{background:linear-gradient(180deg, #ffffff6b 0%, #fff0 45%), linear-gradient(90deg, var(--uhoh-title), var(--uhoh-title-end));color:#fff;-webkit-app-region:drag;text-shadow:0 1px 1px #00000040;border-bottom:1px solid var(--uhoh-border-dark);flex-shrink:0;align-items:center;gap:8px;height:38px;padding:0 8px 0 78px;font-size:12px;font-weight:700;display:flex}.settings-modal-head>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.settings-modal-x{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));width:20px;height:18px;color:var(--uhoh-text);cursor:pointer;-webkit-app-region:no-drag;border-radius:4px;flex-shrink:0;padding:0;font-size:12px;line-height:16px;box-shadow:inset 0 1px #ffffffa6}.settings-modal-x:hover{background:linear-gradient(180deg, var(--uhoh-border-light), var(--uhoh-btn-face-end))}.settings-scroll{-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;flex:1;min-height:0;overflow:hidden auto}.settings-scroll .settings-body{gap:8px;padding:10px 14px 16px}.settings-scroll .settings-action{padding-right:12px}.settings-body{gap:10px}.settings-field{min-width:0}.settings-field-label{flex:auto;min-width:0;font-weight:700}.settings-field-value{color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;align-items:center;gap:4px;min-width:0;max-width:45%;font-weight:600;display:inline-flex;overflow:hidden}.settings-field-value .caret{flex-shrink:0}.settings-row{justify-content:space-between;align-items:center;gap:8px;padding:4px 0;display:flex}.settings-label{font-weight:700}.settings-action{text-align:left;border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));width:100%;color:var(--uhoh-text);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:8px 10px;font-weight:600;display:flex;box-shadow:inset 0 1px #ffffff8c}.settings-action.settings-field{align-items:center}.settings-action:hover{background:#7ab8302e}.settings-action.active{border-color:var(--uhoh-accent);background:#7ab83047}.settings-action.danger{color:#801010}.settings-action.back{font-weight:700}.settings-check{color:var(--uhoh-accent);font-weight:700}.settings-lang-list{flex-direction:column;gap:6px;display:flex}.contacts-meta{color:var(--uhoh-muted);font-size:13px}.list-mode-tabs{margin:0}.sidebar-tab-stack{flex-direction:column;flex-shrink:0;gap:0;margin:4px 8px 0;display:flex}.sidebar-tab-stack .tabs{width:100%}.sidebar-tab-stack .tabs button{text-align:center;flex:1;min-width:0;padding:6px 8px}.sidebar-tab-stack .list-mode-tabs{border-bottom:none}.sidebar-tab-stack .list-mode-tabs:last-child{border-bottom:1px solid var(--uhoh-border)}.sidebar-tab-stack .directory-search-tabs{border-top:1px solid var(--uhoh-border-dark);margin:0}.directory-search-panel{flex-direction:column;flex:1;min-height:0;padding:8px;display:flex;overflow:auto}.directory-search{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.directory-search-tabs,.directory-search-actions{flex-shrink:0}.search-field-wrap{display:block;position:relative}.contacts-search-wrap{margin:0 0 6px}.search-field-wrap input{padding-left:28px}.tab-search-icon{vertical-align:-2px;color:currentColor;opacity:.75;flex-shrink:0;margin-right:5px;display:inline-block}.search-field-icon{color:var(--uhoh-muted);pointer-events:none;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.directory-search-actions .primary-btn{box-sizing:border-box;text-align:center;width:100%}.directory-search-compact .wp-filters{margin:0}.directory-search-results{flex:1;min-height:100px;max-height:none}.contact-list{background:var(--uhoh-input);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);flex:1;min-height:0;font-size:14px;overflow:auto;box-shadow:inset 0 1px 2px #2850140f}.group-title{background:linear-gradient(180deg, var(--uhoh-panel), var(--uhoh-face-dark));border-bottom:1px solid var(--uhoh-border);color:var(--uhoh-text);z-index:2;background-color:var(--uhoh-face-dark);padding:6px 10px;font-size:13px;font-weight:700;position:sticky;top:0}.contact-group{z-index:0;position:relative}.contact-group.is-reorderable .group-toggle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.contact-group.is-dragging{z-index:3;opacity:.55}.contact-group.is-dragging .group-toggle{cursor:grabbing}.contact-group.is-drop-target>.group-title{box-shadow:inset 0 0 0 2px var(--uhoh-accent)}.contact-row{z-index:0;cursor:default;text-align:left;background:0 0;border:0;grid-template-columns:48px 1fr;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 10px;font-size:14px;display:grid;position:relative}.contact-row:has(.birthday-cake){padding-top:16px}.contact-main{flex-direction:column;gap:1px;min-width:0;display:flex}.contact-name-row{align-items:baseline;gap:8px;min-width:0;display:flex}.contact-name-row .contact-name{flex:0 auto;min-width:0}.contact-name-row .contact-status-line{flex:none}.contact-name-row .contact-unread{margin-left:auto}.contact-preview{color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;line-height:1.25;display:block;overflow:hidden}.contact-preview-thumb{object-fit:cover;border:1px solid var(--uhoh-border);vertical-align:-2px;background:#fff;border-radius:3px;flex-shrink:0;width:14px;height:14px;margin-right:4px}.contact-preview-file{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.preview-smiley,.contact-preview .smiley,.popup-preview .smiley{object-fit:contain;object-position:center;width:16px;max-width:16px;height:16px;max-height:16px;image-rendering:-webkit-optimize-contrast;vertical-align:-3px;display:inline-block;overflow:hidden}.msg-attachment-image.is-compact img{max-width:72px;max-height:54px}.msg-album{border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-xs);background:#1a1a1a;gap:2px;max-width:min(320px,100%);display:grid;overflow:hidden}.msg-album.count-1{grid-template-columns:1fr}.msg-album.count-2,.msg-album.count-3,.msg-album.count-4{grid-template-columns:1fr 1fr}.msg-album-cell{background:#2a2a2a;min-width:0;min-height:96px;position:relative}.msg-album-cell .msg-attachment,.msg-album-cell .msg-attachment-image,.msg-album-cell .msg-attachment-video{background:0 0;border:0;width:100%;max-width:none;height:100%;padding:0;display:block}.msg-album-cell .msg-attachment-image img,.msg-album-cell .msg-attachment-video video,.msg-album-cell .msg-attachment-image.is-compact img{object-fit:cover;border:0;width:100%;max-width:none;height:100%;min-height:96px;max-height:none;display:block}.msg-album.count-1 .msg-album-cell .msg-attachment-image img,.msg-album.count-1 .msg-album-cell .msg-attachment-video video{object-fit:contain;background:#111;min-height:140px;max-height:280px}.msg-attachment-video.is-compact{position:relative;overflow:hidden}.msg-attachment-video-thumb{cursor:pointer;background:#111;border:none;max-width:min(320px,100%);padding:0;display:block;position:relative;overflow:hidden}.msg-attachment-video-thumb video{object-fit:cover;border:1px solid var(--uhoh-border-dark);pointer-events:none;background:#000;width:100%;max-width:min(320px,100%);max-height:240px;display:block}.msg-attachment-video-thumb.is-compact video{border:0;max-width:none;max-height:none}.msg-attachment-video-thumb .msg-album-video-badge{color:#fff;text-align:center;pointer-events:none;background:#000000a6;border-radius:50%;width:36px;height:36px;font-size:14px;line-height:36px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.msg-album-cell .msg-attachment-video-thumb{width:100%;max-width:none;height:100%}.msg-album-cell .msg-attachment-video-thumb video{object-fit:cover;border:0;width:100%;max-width:none;height:100%;min-height:96px;max-height:none}.video-lightbox .video-lightbox-body{max-width:min(920px,92vw);max-height:85vh}.video-lightbox video{border:2px solid var(--uhoh-border-light);background:#000;max-width:min(920px,92vw);max-height:85vh;display:block}.video-lightbox-fallback{background:var(--uhoh-face);border:2px solid var(--uhoh-border-light);color:var(--uhoh-text);text-align:center;max-width:360px;padding:24px 28px}.video-lightbox-fallback a{color:var(--msg-link,var(--uhoh-blue));font-weight:600}.msg-album-video-badge{color:#fff;text-align:center;pointer-events:none;background:#0009;border-radius:50%;width:22px;height:22px;font-size:11px;line-height:22px;position:absolute;bottom:6px;left:6px}.contact-unread{color:#fff;text-align:center;background:#c03030;border-radius:9px;flex-shrink:0;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:700;line-height:18px}.contact-row.pending-auth .contact-name{font-style:italic}.group-toggle{cursor:pointer;text-align:left;border:0;align-items:center;gap:6px;width:100%;display:flex}.group-caret{flex-shrink:0;width:12px}.composer-input.is-empty:before{content:none}.group-unread{color:#fff;text-align:center;background:#c03030;border-radius:9px;flex-shrink:0;min-width:18px;height:18px;margin-left:auto;padding:0 5px;font-size:10px;font-weight:700;line-height:18px}.group-count{color:var(--uhoh-muted);font-weight:600}.group-title.unauthorized-group{color:#804000;background:linear-gradient(#fff4e8,#ffe8d0)}.status-text{flex-direction:column;flex:1;align-items:flex-start;gap:1px;min-width:0;max-width:100%;display:flex;overflow:hidden}.status-message-preview{color:var(--uhoh-blue);word-break:break-word;white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;max-width:100%;font-size:10px;line-height:1.25;display:-webkit-box;overflow:hidden}.status-message-meta{color:var(--uhoh-muted);font-size:11px}.status-menu-extra{border-top:1px solid var(--uhoh-border);margin-top:4px;font-style:italic;padding-top:6px!important}.settings-toggle{cursor:pointer;text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;padding:6px 0;font-weight:600;display:flex}.settings-toggle input[type=checkbox]{cursor:pointer;flex:none;width:14px;height:14px;margin:0}.settings-toggle span{flex:auto;line-height:1.35}.settings-panel .settings-toggle{width:100%}.success-box{background:var(--uhoh-success-bg);border:1px solid var(--uhoh-success-border);border-radius:var(--uhoh-radius-xs);color:var(--uhoh-success-text);padding:6px 8px;font-size:12px}.contact-details-modal{flex-direction:column;width:min(400px,94vw);max-height:calc(100vh - 24px);display:flex}.contact-details-body{gap:12px;min-height:0;padding:12px;overflow-y:auto}.contact-details-header{align-items:flex-start;gap:12px;display:flex}.contact-details-header:has(.birthday-cake){padding-top:16px}.contact-details-avatar{isolation:isolate;flex-shrink:0;position:relative}.contact-details-avatar.is-clickable{cursor:pointer;background:0 0;border:0;padding:0;line-height:0}.contact-details-status-badge{z-index:3;position:absolute;bottom:-2px;right:-2px}.contact-details-head-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.contact-details-name-row{align-items:baseline;gap:8px;min-width:0;display:flex}.contact-details-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;font-weight:700;overflow:hidden}.contact-details-name-row .contact-details-name{flex:0 auto}.contact-details-name-row .contact-details-status{flex:none;margin:0;font-style:normal;font-weight:700}.contact-details-status{min-width:0;color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-style:italic;font-weight:400;overflow:hidden}.contact-details-status.is-online{color:var(--uhoh-accent)}.contact-details-status-message{color:var(--uhoh-blue);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}[data-theme=dark] .contact-details-status-message{color:#8ab4f8}.contact-details-pending{color:#804000;margin-top:6px;font-size:11px;font-weight:600}.contact-details-request-note{color:var(--uhoh-text);overflow-wrap:anywhere;margin-top:4px;font-size:12px}.contact-details-fields{gap:8px;margin:0;display:grid}.contact-details-fields>div{grid-template-columns:minmax(0,38%) minmax(0,62%);align-items:start;gap:4px 12px;display:grid}.contact-details-fields dt{color:var(--uhoh-muted);margin:0;font-size:11px;font-weight:700;line-height:1.35}.contact-details-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;-webkit-user-select:text;user-select:text;min-width:0;margin:0;font-size:13px}.contact-details-name,.room-info-name{-webkit-user-select:text;user-select:text}.allow-text-context-menu button,.allow-text-context-menu .modal-actions{-webkit-user-select:none;user-select:none}.modal.modal-room-info{flex-direction:column;width:min(400px,100vw - 24px);min-height:0;max-height:min(85vh,100%);display:flex}.modal-room-info>.modal-title{flex-shrink:0}.modal-room-info .room-info-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex-direction:column;flex:auto;gap:0;min-height:0;padding:14px 12px 18px;display:flex;overflow:hidden auto}.room-info-header{flex-direction:column;align-items:flex-start;gap:8px;padding-bottom:12px;display:flex}.room-info-avatar-btn{background:0 0;border:0;border-radius:8px;flex-shrink:0;padding:0;line-height:0}.room-info-avatar-btn.is-clickable{cursor:pointer}.room-info-avatar-btn.is-clickable:hover{opacity:.92}.room-info-head-text{flex:1;min-width:0}.room-info-name{word-break:break-word;font-size:15px;font-weight:700;line-height:1.3}.room-info-sub{color:var(--uhoh-muted);margin-top:4px;font-size:12px;line-height:1.3}.room-info-fields{border-top:1px solid var(--uhoh-border);border-bottom:1px solid var(--uhoh-border);gap:10px;margin:0;padding:12px 0;display:grid}.room-info-body>.avatar-edit-column{border-bottom:none;margin-bottom:0;padding-bottom:12px}.room-info-body>.avatar-edit-column .room-info-sub{margin-top:2px}.room-info-field{gap:3px;margin:0;display:grid}.room-info-field-label{color:var(--uhoh-muted);margin:0;font-size:11px;font-weight:700;line-height:1.35}.room-info-field-value{-webkit-user-select:text;user-select:text;margin:0;font-size:13px;line-height:1.35}.room-info-footer{border-top:1px solid var(--uhoh-border);margin-top:12px;padding-top:12px}.modal-kick-member textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:72px}.kick-member-lead{margin:0 0 8px;font-size:13px;line-height:1.4}.delete-account-warning{color:#6a5a10;margin:0 0 8px;font-size:12px;line-height:1.45}.contact-details-email{-webkit-user-select:text;user-select:text}.contact-details-footer{border-top:1px solid var(--uhoh-border);flex-direction:column;gap:10px;padding-top:4px;display:flex}.contact-details-actions,.modal-actions.contact-details-actions{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;display:grid}.contact-details-actions>button.primary-btn,.contact-details-actions>button:nth-child(2n):last-child{grid-column:1/-1}.contact-details-actions>button.primary-btn{border-color:var(--uhoh-border-dark);background:var(--uhoh-select);color:var(--uhoh-select-text);font-weight:700}.contact-details-actions>button.danger-btn{color:#a02020}[data-theme=dark] .contact-details-actions>button.danger-btn{color:#ff9d90}.contact-details-actions>button{text-align:center;width:100%;padding:7px 12px}.contact-details-close{align-self:flex-end;min-width:88px;padding:6px 14px}.danger-btn{border-radius:var(--uhoh-radius-sm);color:#802020;cursor:pointer;background:linear-gradient(#fff0f0,#ffe0e0);border:1px solid #c03030;padding:6px 12px}.danger-btn:hover{background:#ffd0d0}.contact-icons{align-items:center;gap:4px;display:inline-flex}.contact-row:hover .me-status-badge,.contact-row:hover .contact-status-badge{border-color:var(--uhoh-border)}.contact-row:hover{background:#7ab83026}.contact-row.selected{background:var(--uhoh-select);color:var(--uhoh-select-text)}.contact-row.selected .contact-status-line,.contact-row.selected .contact-status-line.is-online,.contact-row.selected .contact-status-line.is-offline,.contact-row.selected .contact-status-copy,.contact-row.selected .contact-status-message,.contact-row.selected .contact-preview,.contact-row.selected .contact-uin{color:#ffffffeb}.contact-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.user-name{vertical-align:baseline;align-items:center;gap:4px;min-width:0;max-width:100%;display:inline-flex}.user-name-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.user-name.is-official .user-name-text,.msg-row .msg-head .user-name.is-official .user-name-text,.peer-name .user-name.is-official .user-name-text,.contact-name .user-name.is-official .user-name-text,.contact-details-name .user-name.is-official .user-name-text,.search-result-name .user-name.is-official .user-name-text,.room-member-name .user-name.is-official .user-name-text{color:var(--uhoh-official);font-weight:800}.contact-row.selected .user-name.is-official .user-name-text{color:#ffe9a0;font-weight:800}.msg-author-link:hover .user-name.is-official .user-name-text,.peer-name-btn:hover .user-name.is-official .user-name-text{color:var(--uhoh-official);filter:brightness(1.12);font-weight:800}.official-account-note{color:var(--uhoh-official);align-items:center;gap:4px;margin:2px 0 0;font-size:11px;font-weight:700;display:flex}.official-account-note.avatar-official-heading{margin:0 0 6px;font-size:12px}.contact-uin{color:inherit;opacity:.7;font-size:12px}.empty-hint{color:var(--uhoh-muted);text-align:center;padding:16px 10px}.context-menu{z-index:50;background:linear-gradient(180deg, #ffffffb8 0%, #fff0 28%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-panel));border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);flex-direction:column;gap:1px;min-width:188px;max-width:min(280px,100vw - 16px);max-height:none;padding:4px;display:flex;position:fixed;overflow:visible;box-shadow:inset 0 1px #ffffffbf,0 4px 14px #28501438}.context-menu-item{border-radius:var(--uhoh-radius-xs);text-align:left;cursor:pointer;width:100%;min-height:28px;font:inherit;color:var(--uhoh-text);background:0 0;border:0;align-items:center;gap:8px;padding:5px 10px;font-size:12px;font-weight:600;line-height:1.25;display:flex}.context-menu-check{flex:0 0 12px;width:12px;font-size:12px;line-height:1}.context-menu-label{flex:auto;min-width:0}.context-menu-caret{color:var(--uhoh-muted);flex:none;font-size:14px;line-height:1}.context-menu-item .menu-icon{flex:none;width:18px;height:18px}.context-menu-item:disabled .menu-icon{opacity:.45}.context-menu-item:hover:not(:disabled),.context-menu-item:focus-visible{background:linear-gradient(180deg, var(--uhoh-border-light), var(--uhoh-btn-face-end));color:var(--uhoh-text);outline:none;box-shadow:inset 0 0 0 1px #7ab83059}.context-menu-item:active:not(:disabled){background:linear-gradient(180deg, var(--uhoh-face-dark), var(--uhoh-btn-face-end))}.context-menu-item.is-danger{color:#8a2418}.context-menu-item.is-danger:hover:not(:disabled),.context-menu-item.is-danger:focus-visible{color:#7a1810;background:linear-gradient(#fff2f0,#f5d4ce);box-shadow:inset 0 0 0 1px #b8584859}.context-menu-item:disabled{opacity:.45;cursor:default}.context-menu-sep{background:linear-gradient(90deg, transparent, var(--uhoh-border) 12%, var(--uhoh-border) 88%, transparent);height:1px;margin:3px 6px}.context-menu-submenu-wrap:hover>.context-menu-item.has-submenu{background:linear-gradient(180deg, var(--uhoh-border-light), var(--uhoh-btn-face-end));color:var(--uhoh-text);box-shadow:inset 0 0 0 1px #7ab83059}.context-menu-submenu-wrap{position:relative}.context-menu-flyout-portal{z-index:10000;-webkit-overflow-scrolling:touch;background:linear-gradient(180deg, #ffffffb8 0%, #fff0 28%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-panel));border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);flex-direction:column;gap:1px;min-width:160px;max-width:min(240px,100vw - 16px);max-height:min(60vh,100vh - 16px);padding:4px;display:flex;position:fixed;overflow:hidden auto;box-shadow:inset 0 1px #ffffffbf,0 4px 14px #28501438}.context-menu button,.context-menu-item{-webkit-app-region:no-drag}.modal-backdrop{z-index:40;background:#28282859;place-items:safe center;padding:12px;display:grid;position:absolute;inset:0;overflow:auto}.modal{box-sizing:border-box;background:linear-gradient(180deg, var(--uhoh-face), var(--uhoh-panel));border:2px solid var(--uhoh-border);border-radius:var(--uhoh-radius);width:min(300px,100%);max-width:100%;box-shadow:var(--uhoh-shadow);overflow:hidden}.modal-title{background:linear-gradient(180deg, #ffffff6b 0%, #fff0 45%), linear-gradient(90deg, var(--uhoh-title), var(--uhoh-title-end));color:#fff;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 1px #00000040;align-items:center;gap:8px;padding:8px 10px;font-weight:700;display:flex;overflow:hidden}.modal-title>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.modal-x{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));width:20px;height:18px;color:var(--uhoh-text);cursor:pointer;border-radius:4px;flex-shrink:0;margin-left:auto;padding:0;font-size:12px;line-height:16px;box-shadow:inset 0 1px #ffffffa6}.modal-x:hover{background:linear-gradient(180deg, var(--uhoh-border-light), var(--uhoh-btn-face-end))}.modal-form{box-sizing:border-box;min-width:0;padding:10px}.add-contact-user{flex-direction:column;gap:2px;margin-bottom:8px;display:flex}.add-contact-user-label{color:var(--uhoh-muted);font-size:11px;font-weight:700;line-height:1.35}.add-contact-user-name{word-break:break-word;font-size:14px;font-weight:700;line-height:1.35}.add-contact-user-uin{color:var(--uhoh-muted);font-size:11px;line-height:1.3}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.modal-actions-split{flex-wrap:nowrap;justify-content:space-between;align-items:center}.modal-actions-split button{white-space:nowrap;flex:0 auto;max-width:none}.modal-actions button{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff80 0%, #fff0 42%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;box-sizing:border-box;min-width:72px;max-width:100%;color:var(--uhoh-text);padding:6px 12px;font-weight:600;box-shadow:inset 0 1px #ffffffa6}.search-block{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-panel);padding:8px}.row-search{align-items:stretch;gap:6px;display:flex}.row-search input{flex:1}.row-search-btn{white-space:nowrap;flex:none}.search-results{flex-direction:column;gap:4px;max-height:140px;margin-top:6px;display:flex;overflow:auto}.search-results button,.search-result-row{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;text-align:left;align-items:flex-start;gap:6px;padding:6px 8px;display:flex}.search-result-main{flex-direction:column;gap:2px;min-width:0;display:flex}.search-result-name{font-weight:700}.search-result-meta{color:var(--uhoh-muted);font-size:11px;line-height:1.3}.search-result-known{color:var(--uhoh-blue);font-weight:600}[data-theme=dark] .search-result-known{color:#8ab4f8}.search-results-empty{text-align:center;color:var(--uhoh-muted);padding:8px;font-size:12px}.chat-shell{flex-direction:row;flex:1;align-items:stretch;min-width:0;min-height:0;display:flex}.chat-hub-window{flex-direction:column;height:100%;min-height:0;display:flex}.chat-tabs{background:linear-gradient(180deg, #ffffff40 0%, #fff0 100%), linear-gradient(180deg, var(--uhoh-face-dark), var(--uhoh-panel));border-bottom:1px solid var(--uhoh-border-dark);flex-wrap:nowrap;flex:none;gap:4px;padding:6px 8px 0;display:flex;overflow-x:auto}.chat-tab{background:linear-gradient(180deg, var(--uhoh-tab-idle-end), var(--uhoh-tab-idle));border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm) var(--uhoh-radius-sm) 0 0;color:#fff;text-shadow:0 1px 1px #0003;cursor:grab;-webkit-user-select:none;user-select:none;border-bottom:none;align-items:stretch;max-width:180px;display:flex;box-shadow:inset 0 1px #ffffff59}.chat-tab.is-dragging{opacity:.55;cursor:grabbing}.chat-tab.is-drop-target{box-shadow:inset 0 1px #ffffff59,inset 0 0 0 2px #ffffffbf}.chat-tab.active{background:linear-gradient(180deg, #ffffff8c 0%, #ffffff1a 40%), linear-gradient(180deg, var(--uhoh-title-end), var(--uhoh-face));color:var(--uhoh-text);text-shadow:none;border-color:var(--uhoh-border);font-weight:700;position:relative;top:1px}.chat-tab-main{min-width:0;cursor:inherit;color:inherit;background:0 0;border:none;align-items:center;gap:6px;padding:5px 6px 5px 8px;display:flex}.chat-tab-title{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.chat-tab-room-icon{color:var(--uhoh-blue);flex-shrink:0;font-size:12px;font-weight:700}.chat-tab-unread{color:#fff;text-align:center;background:#c03030;border-radius:8px;flex-shrink:0;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px}.chat-tab-close{cursor:pointer;color:inherit;opacity:.7;border-radius:0 var(--uhoh-radius-sm) 0 0;background:0 0;border:none;padding:0 6px;font-size:14px;line-height:1}.chat-tab-close:hover{opacity:1;background:#0000001f}.chat-hub-panes{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-hub-pane{flex:1;min-width:0;min-height:0;display:none}.chat-hub-pane.is-active{flex-direction:column;display:flex}.chat-embedded{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-body-embedded{padding:6px}.chat-body{flex:auto;gap:6px;min-width:280px;min-height:0;padding:6px;position:relative}.smiley-side{border-left:1px solid var(--uhoh-border);background:var(--uhoh-face);flex-direction:column;flex:0 0 220px;align-self:stretch;width:220px;min-height:0;display:flex}.smiley-btn.active{background:var(--uhoh-select);color:var(--uhoh-select-text)}.chat-peer{background:linear-gradient(180deg, #ffffff73 0%, #fff0 55%), linear-gradient(180deg, var(--uhoh-panel), var(--uhoh-face-dark));border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);flex-wrap:wrap;align-items:center;gap:8px;padding:7px 10px;display:flex;box-shadow:inset 0 1px #ffffff8c}.chat-peer:has(.birthday-cake){padding-top:16px}.chat-peer-info{flex:150px;min-width:0}.peer-name{font-weight:700}.peer-name-row{align-items:baseline;gap:8px;min-width:0;display:flex}.peer-name-row .peer-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peer-name-row .peer-status{flex:none;margin-top:0}.peer-meta-row{align-items:center;gap:6px;min-width:0;margin-top:2px;display:flex}.peer-meta-row>.peer-status{flex:none;margin-top:0}.peer-meta-row>.peer-status-message{flex:0 auto;margin-top:0}.peer-meta-row>.xstatus-icon{flex:none}.peer-name-row .peer-status-copy{text-overflow:ellipsis;white-space:nowrap;word-break:normal;-webkit-line-clamp:unset;line-clamp:unset;display:block;overflow:hidden}.peer-status{color:var(--uhoh-muted);align-items:center;gap:10px;min-width:0;margin-top:2px;font-size:11px;font-weight:600;display:flex}.peer-status.is-online{color:var(--uhoh-accent)}.peer-status-copy{word-break:break-word;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;flex:0 auto;min-width:0;line-height:1.25;display:-webkit-box;overflow:hidden}.contact-status-line{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;line-height:1.2;display:inline-block;overflow:hidden}.contact-status-line.is-online{color:var(--uhoh-accent)}.contact-status-line.is-offline{color:var(--uhoh-muted)}.contact-status-copy{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;font-weight:600;overflow:hidden}.contact-status-message,.peer-status-message{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--uhoh-blue);font-size:11px;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-theme=dark] .status-message-preview,[data-theme=dark] .contact-status-message,[data-theme=dark] .peer-status-message,[data-theme=dark] .contact-details-status-message,[data-theme=dark] .room-status-line{color:#8ab4f8}.message-list{background:var(--message-list-bg,#fff);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);min-height:0;font-family:var(--chat-font-family);font-size:var(--chat-font-size);flex-direction:column;flex:1;gap:0;padding:0;display:flex;overflow:auto;box-shadow:inset 0 1px 2px #2850140f}.msg-row{box-sizing:border-box;border:none;width:100%;padding:6px 10px 7px;display:block}.msg-row.theirs{background:var(--msg-theirs-bg,#f5faf6)}.msg-row.mine{background:var(--msg-mine-bg,#fff)}.msg-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:2px;font-size:14px;font-weight:700;line-height:1.35;display:flex}.msg-receipt{color:#a0a0a0;flex-shrink:0;align-items:center;font-size:11px;display:inline-flex}.msg-receipt svg{display:block}.msg-receipt.is-delivered{color:#6a8a6a}.msg-receipt.is-read{color:#3b82f6}.msg-receipt.is-sending,.msg-row.mine .msg-receipt.is-sending{color:#a0a0a0;letter-spacing:0}.msg-send-failed{color:#fff;cursor:pointer;background:#e53935;border:none;border-radius:50%;flex-shrink:0;width:18px;height:18px;padding:0;font-size:12px;font-weight:700;line-height:18px}.msg-send-failed:focus-visible{outline-offset:2px;outline:2px solid #e53935}.msg-row.theirs .msg-head{color:var(--msg-theirs-head,#2b5896)}.msg-row.mine .msg-head{color:var(--msg-mine-head,#d9531e)}.msg-body{white-space:pre-wrap;word-break:break-word;-webkit-user-select:text;user-select:text;font-size:var(--chat-font-size);font-family:var(--chat-font-family);color:var(--chat-text-color);line-height:1.4}.msg-body a.msg-link,.msg-link{color:var(--msg-link,purple);cursor:pointer;text-decoration:underline}.msg-body a.msg-attachment-file,.msg-attachment-file{color:var(--uhoh-text);text-decoration:none}.msg-attachment-file .msg-attachment-name{color:var(--uhoh-text)}.msg-row.auto-reply{opacity:.85;font-style:italic}.msg-row.system-notice{text-align:center;opacity:.85;padding:10px 12px}.msg-row.system-notice .msg-body{color:var(--uhoh-muted);font-style:italic}.msg-row.auto-reply .msg-head:after{content:" [auto]";color:var(--uhoh-muted);font-size:11px;font-weight:400}.msg-row.selectable{cursor:pointer}.msg-row.is-selected{outline:2px solid var(--uhoh-accent,#4a8c3f);outline-offset:-2px;background:#4a8c3f14}.msg-selection-bar{background:var(--message-list-bg,#fff);border-bottom:1px solid var(--uhoh-border,#c8dcc4);align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:flex}.msg-reply-quote{border-left:3px solid var(--uhoh-accent,#4a8c3f);color:var(--uhoh-muted);background:#0000000a;border-radius:0 4px 4px 0;margin-bottom:6px;padding:4px 8px;font-size:12px;display:block}.msg-reply-quote.is-link{text-align:left;width:100%;font-family:inherit;line-height:inherit;cursor:pointer;border-top:0;border-bottom:0;border-right:0}.msg-reply-quote.is-link:focus-visible{outline:2px solid var(--uhoh-accent,#4a8c3f);outline-offset:1px}.msg-reply-author{color:var(--uhoh-accent,#4a8c3f);margin-bottom:2px;font-weight:600;display:block}.msg-forwarded{font:inherit;color:var(--uhoh-accent,#4a8c3f);text-align:left;background:0 0;border:0;margin:0 0 4px;padding:0;font-size:12px;font-style:italic;font-weight:600;display:block}.msg-forwarded.is-link{cursor:pointer}.msg-forwarded.is-link:hover,.msg-forwarded.is-link:focus-visible{text-decoration:underline}.forward-dialog .forward-target-list{max-height:320px}.forward-target-row{color:inherit;font:inherit;background:0 0;border:0;font-size:12px}.forward-target-row:focus-visible{outline:2px solid var(--uhoh-accent,#4a8c3f);outline-offset:-2px;background:#ffffff59}.forward-target-sub{color:var(--uhoh-muted);flex-shrink:0;font-size:11px}.reply-composer-bar{border-top:1px solid var(--uhoh-border,#c8dcc4);background:var(--message-list-bg,#fff);align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.reply-composer-inner{flex-wrap:wrap;flex:1;align-items:baseline;gap:4px 8px;min-width:0;display:flex}.reply-composer-label{color:var(--uhoh-accent,#4a8c3f);font-weight:600}.reply-composer-author{font-weight:600}.reply-composer-preview{color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.edit-composer-bar{border-top:1px solid var(--uhoh-border,#c8dcc4);background:var(--message-list-bg,#fff);align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.edit-composer-inner{flex:1;min-width:0}.edit-composer-label{color:var(--uhoh-accent,#4a8c3f);font-weight:600}.edit-composer-cancel{cursor:pointer;color:var(--uhoh-muted);background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1}.msg-edited-flag{color:var(--uhoh-muted);margin-left:4px;font-size:11px;font-style:italic}.pinned-message-bar{z-index:3;background:color-mix(in srgb, var(--uhoh-face) 86%, transparent);-webkit-backdrop-filter:blur(12px);pointer-events:auto;border:none;border-radius:14px;align-items:center;gap:8px;margin:0;padding:6px 10px;font-size:12px;display:flex;position:absolute;top:6px;left:8px;right:8px;box-shadow:0 2px 10px #0000001f}.pinned-message-open{text-align:left;cursor:pointer;min-width:0;color:inherit;font:inherit;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:0;display:flex}.pinned-message-accent{background:var(--uhoh-accent);border-radius:2px;flex-shrink:0;align-self:stretch;width:3px;min-height:32px}.pinned-message-thumb{object-fit:cover;background:var(--uhoh-face-dark);border-radius:6px;flex-shrink:0;width:36px;height:36px}.pinned-message-copy{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.pinned-message-title{color:var(--uhoh-text);font-weight:700;line-height:1.25}.pinned-message-preview{color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;line-height:1.25;overflow:hidden}.pinned-message-preview .msg-preview,.pinned-message-preview .smiley{vertical-align:middle}.pinned-message-unpin{cursor:pointer;color:var(--uhoh-muted);background:0 0;border:none;flex-shrink:0;padding:0 4px;font-size:18px;line-height:1}.pinned-message-unpin:hover{color:var(--uhoh-text)}.pin-confirm-modal{width:min(360px,100%)}.pin-confirm-modal .modal-actions-split button{flex:1 1 0;min-width:0}.pin-confirm-prompt{margin:0;font-size:13px;font-weight:400;line-height:1.4}.pin-for-both{cursor:pointer;flex-direction:row;align-items:flex-start;gap:8px;margin:4px 0 8px;font-size:13px;font-weight:400;line-height:1.35;display:flex}.pin-for-both input[type=checkbox]{width:14px;min-width:14px;height:14px;box-shadow:none;appearance:auto;-webkit-appearance:checkbox;cursor:pointer;background:0 0;border:none;border-radius:0;flex:0 0 14px;margin:2px 0 0;padding:0}.pin-for-both span{flex:auto;min-width:0;font-weight:600;line-height:1.35}[data-theme=dark] .pinned-message-bar{background:color-mix(in srgb, var(--uhoh-face) 88%, transparent);box-shadow:0 2px 12px #00000059}.message-list-wrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.message-list-wrap .message-list{flex:1}.msg-highlight{animation:1.6s ease-out msg-highlight-flash}@keyframes msg-highlight-flash{0%{background:#ffd65c8c}to{background:0 0}}.room-status-line{color:var(--uhoh-blue);text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:2px;font-size:11px;font-weight:600;overflow:hidden}.room-status-editor{border-top:1px solid var(--uhoh-border,#c8dcc4);border-bottom:1px solid var(--uhoh-border,#c8dcc4);flex-direction:column;gap:6px;padding:8px 0;display:flex}.room-status-label{color:var(--uhoh-muted);text-transform:uppercase;letter-spacing:.02em;font-size:11px;font-weight:700}.room-status-edit-row{align-items:center;gap:6px;display:flex}.room-status-edit-row input{flex:1;min-width:0}.room-status-readonly{color:var(--uhoh-text);font-size:13px}.room-status-hint{color:var(--uhoh-muted);margin:0;font-size:11px}.find-room-card-status{color:var(--uhoh-muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:3px;font-size:12px;overflow:hidden}.reply-composer-cancel{cursor:pointer;color:var(--uhoh-muted);background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1}.room-avatar-row{align-items:center;gap:12px;display:flex}.room-avatar-pick{flex-direction:column;gap:3px;min-width:0;max-width:100%;font-weight:600;display:flex}.room-avatar-pick .avatar-edit{border-bottom:none;margin-bottom:0;padding:4px 0 0}.room-avatar-pick .avatar-edit-column{width:max-content;max-width:100%}.chat-tab-room-icon .avatar{width:18px;height:18px}.peer-name-btn,.msg-author-link{font:inherit;color:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;margin:0;padding:0;text-decoration:underline}.peer-name-btn{min-width:0;max-width:100%;display:inline-flex}.msg-author-link{align-items:center;max-width:100%;display:inline-flex}.msg-author-link:hover,.peer-name-btn:hover{color:var(--uhoh-accent,#4a8c3f)}.chat-peer .room-avatar-btn{background:0 0;border:0;padding:0}.typing-hint{color:var(--uhoh-muted);flex-shrink:0;padding:6px 10px;font-size:13px;font-style:italic}.message-list .typing-hint{background:var(--msg-theirs-bg,#f5faf6)}.composer{grid-template-columns:auto 1fr auto;align-items:stretch;gap:0;display:grid}.composer-tools{z-index:5;flex-direction:column;align-self:stretch;gap:0;min-height:64px;display:flex;position:relative}.composer .send-btn{min-width:84px;min-height:64px;max-height:var(--composer-input-max-h);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 42%), linear-gradient(180deg, var(--uhoh-title-end), var(--uhoh-title));border:1px solid var(--uhoh-border-dark);color:var(--uhoh-text);cursor:pointer;text-shadow:none;align-self:stretch;margin-left:6px;font-size:13px;font-weight:700;box-shadow:inset 0 1px #ffffff8c}.composer .send-btn:hover{filter:brightness(1.05)}.composer .send-btn:active{filter:brightness(.96)}.composer .send-btn.is-cooldown{font-variant-numeric:tabular-nums;letter-spacing:.02em}.composer-tools .smiley-btn{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs) 0 0 var(--uhoh-radius-xs);flex:50%;width:40px;min-width:40px;height:auto;min-height:0}.composer-tools .smiley-btn+.smiley-btn{border-top:none}.composer-tools .smiley-btn img{object-fit:contain;object-position:center;image-rendering:auto;width:28px;max-width:28px;height:28px;max-height:28px}.composer-tools .attach-btn svg{width:20px;height:20px}.composer-attach-strip{flex-wrap:wrap;gap:8px;max-height:168px;padding:8px 8px 2px;display:flex;overflow-y:auto}.composer-attach-thumb{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-panel);flex:none;width:72px;height:72px;position:relative;overflow:hidden}.composer-attach-thumb img,.composer-attach-thumb video{object-fit:cover;background:var(--uhoh-panel);width:100%;height:100%;display:block}.composer-attach-thumb.is-uploading img,.composer-attach-thumb.is-uploading video{opacity:.72}.composer-attach-thumb.is-error img,.composer-attach-thumb.is-error video{opacity:.45}.composer-attach-progress{background:#00000059;border-radius:2px;height:4px;position:absolute;bottom:6px;left:6px;right:6px;overflow:hidden}.composer-attach-progress-bar{background:linear-gradient(90deg, var(--uhoh-title-end), var(--uhoh-title));height:100%;transition:width .12s linear}.composer-attach-error{color:#fff;cursor:pointer;background:#a0282873;border:0;justify-content:center;align-items:center;padding:0;font-family:inherit;font-size:22px;font-weight:700;display:flex;position:absolute;inset:0}.composer-attach-video-badge{color:#fff;text-align:center;pointer-events:none;background:#0000008c;border-radius:50%;width:18px;height:18px;font-size:9px;line-height:18px;position:absolute;bottom:4px;left:4px}.composer-attach-thumb.is-uploading .composer-attach-video-badge{bottom:14px}.composer-attach-file-icon{width:100%;height:100%;color:var(--uhoh-muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px 4px;display:flex}.composer-attach-file-name{max-width:100%;color:var(--uhoh-text);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;overflow:hidden}.composer-attach-remove{color:#fff;cursor:pointer;background:#141414b8;border:1px solid #ffffff8c;border-radius:50%;width:18px;height:18px;padding:0;font-size:14px;line-height:16px;position:absolute;top:2px;right:2px}.composer-attach-remove:hover{background:#a02828e6}.avatar-lightbox{z-index:1000;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.avatar-lightbox img{object-fit:contain;border:2px solid var(--uhoh-border-light);background:var(--uhoh-face);max-width:80vw;max-height:80vh}.avatar-lightbox-close{color:#fff;cursor:pointer;background:0 0;border:0;font-size:20px;position:absolute;top:12px;right:16px}.avatar-lightbox-nav{color:#fff;cursor:pointer;background:#00000059;border:0;width:48px;height:72px;font-size:40px;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.avatar-lightbox-nav:hover,.avatar-lightbox-nav:focus-visible{background:#0009}.avatar-lightbox-nav.is-previous{left:16px}.avatar-lightbox-nav.is-next{right:16px}.avatar-lightbox-counter{color:#fff;background:#00000080;padding:2px 10px;font-size:13px;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.avatar-photo-count{color:#fff;pointer-events:none;background:#0009;padding:0 5px;font-size:11px;line-height:16px;position:absolute;bottom:2px;right:2px}.chat-peer-avatar.is-clickable{cursor:pointer}.composer-attach-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.attach-btn{color:var(--uhoh-text)}.message-content{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.msg-attachment{max-width:min(320px,100%)}.msg-attachment-image img{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:#fff;max-width:min(280px,100%);max-height:240px;display:block}button.msg-attachment-image{cursor:zoom-in;background:0 0;border:none;padding:0;display:block}.msg-attachment-video video{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:#000;max-width:min(320px,100%);max-height:240px;display:block}.msg-video-wrap{max-width:100%;display:inline-block;position:relative}.msg-video-fs{z-index:2;color:#fff;cursor:pointer;background:#0000008c;border:1px solid #ffffffb3;width:28px;height:28px;padding:0;font-size:14px;line-height:1;position:absolute;top:6px;right:6px}.msg-video-fs:hover{background:#000000bf}.msg-attachment-audio{width:100%;min-width:220px;max-width:min(320px,100%)}.msg-attachment-audio audio{width:100%}.now-playing-bar{border:none;border-bottom:1px solid var(--uhoh-border);background:linear-gradient(180deg, #ffffff73 0%, #fff0 55%), linear-gradient(180deg, var(--uhoh-panel), var(--uhoh-face));flex:none;align-items:center;gap:8px;min-height:40px;margin:0;padding:4px 8px 4px 6px;display:flex;box-shadow:inset 0 1px #ffffff80}.now-playing-play,.now-playing-close{width:32px;height:32px;color:var(--uhoh-text);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.now-playing-play{color:#fff;border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, #ffffff73 0%, #fff0 50%), linear-gradient(180deg, var(--uhoh-accent), #6aa028);box-shadow:0 1px 2px #28501440}.now-playing-play:hover,.now-playing-close:hover{filter:brightness(1.06)}.now-playing-play:active,.now-playing-close:active{transform:translateY(1px)}.now-playing-close{color:var(--uhoh-muted);font-size:20px;line-height:1}.now-playing-title{min-width:0;color:var(--uhoh-text);flex:auto;font-size:13px;font-weight:650;line-height:1.2}.chat-audio-player{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));-webkit-user-select:none;user-select:none;align-items:center;gap:10px;width:100%;padding:8px 10px;display:flex;box-shadow:inset 0 1px #ffffff8c}.chat-audio-play{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, #ffffff73 0%, #fff0 50%), linear-gradient(180deg, var(--uhoh-accent), #6aa028);color:#fff;cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex;box-shadow:0 1px 2px #28501440}.chat-audio-play:hover{filter:brightness(1.05)}.chat-audio-play:active{transform:translateY(1px)}.chat-audio-player.is-playing .chat-audio-play{background:linear-gradient(#ffffff59 0%,#fff0 50%),linear-gradient(#9ad24a,#5a9020)}.chat-audio-main{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.chat-audio-title{color:var(--uhoh-muted);min-width:0;max-width:100%;font-size:11px;line-height:1.2}.audio-marquee{width:100%;min-width:0;position:relative;overflow:hidden}.audio-marquee-measure{visibility:hidden;white-space:nowrap;pointer-events:none;position:absolute;top:0;left:0}.audio-marquee-track{white-space:nowrap;width:max-content;max-width:none;display:inline-flex}.audio-marquee-item{white-space:nowrap;flex:none}.audio-marquee.is-overflow .audio-marquee-item{padding-right:32px}.chat-audio-track{cursor:pointer;touch-action:none;outline:none;height:18px;position:relative}.chat-audio-track-rail,.chat-audio-track-fill{border-radius:999px;height:6px;margin-top:-3px;position:absolute;top:50%;left:0;right:0}.chat-audio-track-rail{background:#28501429;border:1px solid #506e3c59;box-shadow:inset 0 1px 2px #2850141f}.chat-audio-track-fill{border:1px solid var(--uhoh-border-dark);background:linear-gradient(#b4e05c,#7ab830);width:0;right:auto;box-shadow:inset 0 1px #ffffff59}.chat-audio-track-thumb{pointer-events:none;background:linear-gradient(#fffef5,#f0e490);border:1px solid #b8a040;border-radius:50%;width:14px;height:14px;margin-top:-7px;margin-left:-7px;position:absolute;top:50%;box-shadow:0 1px 2px #28501447}.chat-audio-track:focus-visible .chat-audio-track-thumb,.chat-audio-player.is-seeking .chat-audio-track-thumb{border-color:#8a7020;transform:scale(1.12)}.chat-audio-times{color:var(--uhoh-muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;font-size:10px;line-height:1;display:flex}.msg-attachment-caption{display:none}.msg-attachment-file{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));color:var(--uhoh-text);align-items:center;gap:8px;max-width:100%;padding:6px 8px;text-decoration:none;display:inline-flex}.msg-attachment-file:hover{background:linear-gradient(180deg, var(--uhoh-border-light), var(--uhoh-btn-face));border-color:var(--uhoh-accent)}.msg-attachment-icon{color:var(--msg-attachment-icon,#2b5896);flex:none;place-items:center;display:grid}.msg-attachment-meta{flex-direction:column;gap:1px;min-width:0;display:flex}.msg-attachment-name{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.msg-attachment-size{color:var(--uhoh-muted);font-size:11px}.composer textarea,.composer-input{resize:none;min-height:64px;max-height:var(--composer-input-max-h);font-family:var(--chat-font-family);font-size:var(--chat-font-size);background:var(--uhoh-input);color:var(--chat-text-color,var(--uhoh-text));border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);-webkit-user-select:text;user-select:text;white-space:pre-wrap;word-break:break-word;outline:none;padding:6px 8px;line-height:1.35;overflow:hidden auto;box-shadow:inset 0 1px 2px #2850140f}.composer-input-wrap{min-width:0;min-height:64px;max-height:var(--composer-input-max-h);position:relative}.composer-suggestions{z-index:5;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:8px;gap:4px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow-x:auto;box-shadow:0 2px 8px #0000001f}.composer-suggestion{cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:44px;height:44px;padding:2px;display:grid}.composer-suggestion:hover,.composer-suggestion:focus-visible{background:var(--uhoh-select,#8dc63f40)}.composer-suggestion img{max-width:40px;max-height:40px}.composer-mentions{z-index:6;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:8px;flex-direction:column;max-height:232px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 2px 10px #00000029}.composer-mention{min-height:28px;color:var(--uhoh-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.composer-mention.is-active,.composer-mention:focus-visible{background:var(--uhoh-select,#8dc63f40)}.composer-mention-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.composer-mention-note{color:var(--uhoh-muted);flex:none;font-size:.85em}.composer-input-wrap .composer-input{width:100%;height:100%;min-height:64px}.composer-placeholder{color:var(--uhoh-muted);pointer-events:none;white-space:nowrap;text-overflow:ellipsis;line-height:1.35;font-family:var(--chat-font-family);font-size:var(--chat-font-size);padding:6px 8px;position:absolute;inset:0;overflow:hidden}.composer-input:focus{border-color:var(--uhoh-accent);box-shadow:inset 0 1px 2px #2850140f,0 0 0 2px #8dc63f40}.composer-input.is-empty:before{content:attr(data-placeholder);color:var(--uhoh-muted);pointer-events:none}.composer-input .composer-smiley,.composer-input .smiley{width:calc(var(--chat-font-size) * 2.3);height:calc(var(--chat-font-size) * 2.3);object-fit:contain;object-position:center;image-rendering:auto;vertical-align:middle;max-width:none;max-height:none;margin:0 1px;display:inline-block}.composer-wrap{--composer-max-lines:5;--composer-input-max-h:calc(var(--chat-font-size) * 1.35 * var(--composer-max-lines) + 12px);position:relative}.smiley-btn{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff80 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;place-items:center;width:40px;min-width:40px;padding:0;display:grid;box-shadow:inset 0 1px #ffffffa6}.smiley-btn img{object-fit:contain;object-position:center;image-rendering:auto;width:28px;max-width:28px;height:28px;max-height:28px;display:block}.smiley-popover{z-index:1000;background:var(--uhoh-face);border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-sm);flex-direction:column;width:440px;max-width:calc(100vw - 16px);height:min(440px,55vh);display:flex;position:fixed;overflow:hidden;box-shadow:0 8px 24px #00000038,inset 0 1px #ffffff8c}.smiley-picker-head{background:linear-gradient(180deg, #ffffff6b 0%, #fff0 45%), linear-gradient(90deg, var(--uhoh-title), var(--uhoh-title-end));color:#fff;text-shadow:0 1px 1px #00000040;flex-shrink:0;justify-content:space-between;align-items:center;padding:5px 8px;font-weight:700;display:flex}.smiley-picker-head button{color:#fff;cursor:pointer;background:0 0;border:0;font-size:16px;line-height:1}.smiley-popover .smiley-grid{background:#fff;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:92px;align-content:start;gap:6px;min-height:0;padding:10px;display:grid;overflow:auto}.smiley-popover .smiley-cell{width:100%;height:100%}.smiley-popover .smiley-cell img{width:100%;max-width:none;height:100%;max-height:none}.smiley-cell{cursor:pointer;box-sizing:border-box;border-radius:var(--uhoh-radius-xs);background:#fff;border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;width:88px;height:88px;margin:0;padding:4px;display:flex;overflow:hidden}.smiley-cell:hover{border-color:var(--uhoh-accent);border-radius:var(--uhoh-radius-xs);background:#7ab8302e}.smiley-cell-broken{background:repeating-linear-gradient(45deg,#fff,#fff 6px,#f3d6d6 6px 12px);border-color:#c45c5c}.smiley-cell img{pointer-events:none;object-fit:contain;object-position:center;image-rendering:auto;flex-shrink:0;width:76px;max-width:76px;height:76px;max-height:76px;display:block}.smiley-cell-sticker{width:112px;height:112px}.smiley-cell-sticker img{width:104px;max-width:104px;height:104px;max-height:104px}.smiley{object-fit:contain;object-position:center;image-rendering:auto;vertical-align:middle;width:28px;max-width:28px;height:28px;max-height:28px;margin:0 1px;display:inline-block}.message-rich{white-space:pre-wrap;word-break:break-word}.message-rich .smiley{width:calc(var(--chat-font-size) * 2.9);height:calc(var(--chat-font-size) * 2.9);max-width:none;max-height:none;margin:0}.message-rich.is-jumbo{flex-wrap:wrap;gap:6px;display:flex}.message-rich.is-jumbo .smiley{--jumbo-floor:calc(var(--chat-font-size) * 2);width:max(var(--jumbo-floor), var(--jumbo-side));height:max(var(--jumbo-floor), var(--jumbo-side))}.message-rich.jumbo-1{--jumbo-side:100px}.message-rich.jumbo-2{--jumbo-side:80px}.message-rich.jumbo-3{--jumbo-side:64px}.message-rich.jumbo-4{--jumbo-side:52px}.message-rich.jumbo-many{--jumbo-side:40px}.message-rich .smiley-sticker,.message-rich.is-jumbo .smiley-sticker{width:168px;max-width:168px;height:168px;max-height:168px}.smiley-hold-preview{color:#fff;pointer-events:none;z-index:2;background:#00000073;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-weight:700;display:flex;position:absolute;inset:0}.smiley-hold-preview img{object-fit:contain;background:var(--uhoh-input);border-radius:var(--uhoh-radius);width:160px;height:160px;padding:12px;box-shadow:0 8px 24px #0000004d}.preview-smiley,.contact-preview .smiley,.popup-preview .smiley,.pinned-message-preview .smiley{width:16px;max-width:16px;height:16px;max-height:16px}::-webkit-scrollbar{width:14px;height:14px}::-webkit-scrollbar-track{background:var(--uhoh-panel);border-radius:8px}::-webkit-scrollbar-thumb{background:linear-gradient(180deg, var(--uhoh-title-end), var(--uhoh-title));border:2px solid var(--uhoh-panel);border-radius:8px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg, #c4ec70, var(--uhoh-title))}.status-icon,.uhoh-flower,.app-logo{aspect-ratio:1;object-fit:contain;flex-shrink:0;display:block}.app-logo.rounded,.login-logo{object-fit:contain;background:0 0;border-radius:0}.status-logo{aspect-ratio:1;object-fit:contain;object-position:center;image-rendering:auto;background:0 0;border-radius:0;flex:none;line-height:0;display:inline-block;position:relative;overflow:visible}.status-overlay,.status-mark{display:none}.contact-row.offline-row{opacity:.92}.contact-row.offline-row .contact-name{color:var(--uhoh-muted)}.contact-row.offline-row .user-name.is-official .user-name-text{color:var(--uhoh-official);font-weight:800}.group-title.online-group{color:var(--uhoh-accent)}.group-title.offline-group{color:var(--uhoh-muted)}.popup-window{background:linear-gradient(180deg, var(--uhoh-face), var(--uhoh-panel));border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);height:100%;box-shadow:var(--uhoh-shadow);font-family:var(--font-ui);-webkit-user-select:none;user-select:none;flex-direction:column;display:flex;overflow:hidden}.popup-loading{background:var(--uhoh-face)}.page-loading{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:0;padding:24px;display:flex}.page-loading-mark{place-items:center;width:76px;height:76px;display:grid;position:relative}.page-loading-ring{border:4px solid color-mix(in srgb, var(--uhoh-border) 35%, transparent);border-top-color:var(--uhoh-title);border-right-color:var(--uhoh-title-end);border-radius:50%;animation:1.1s linear infinite page-loading-spin;position:absolute;inset:0}.page-loading-logo{animation:.7s ease-in-out infinite alternate page-loading-pulse}.page-loading-dots{align-items:center;gap:7px;display:flex}.page-loading-dots span{background:var(--uhoh-accent);border-radius:50%;width:8px;height:8px;animation:.9s ease-in-out infinite page-loading-bounce}.page-loading-dots span:nth-child(2){background:var(--uhoh-title);animation-delay:.15s}.page-loading-dots span:nth-child(3){animation-delay:.3s}.page-loading-msg{color:var(--uhoh-muted);font-size:13px}@keyframes page-loading-spin{to{transform:rotate(360deg)}}@keyframes page-loading-pulse{0%{transform:scale(.92)}to{transform:scale(1.08)}}@keyframes page-loading-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media (prefers-reduced-motion:reduce){.page-loading-ring,.page-loading-logo,.page-loading-dots span{animation:none}}.popup-title{background:linear-gradient(180deg, #ffffff6b 0%, #fff0 45%), linear-gradient(90deg, var(--uhoh-title), var(--uhoh-title-end));color:#fff;text-shadow:0 1px 1px #00000040;flex-shrink:0;align-items:center;gap:6px;padding:5px 6px;font-size:11px;font-weight:700;display:flex}.popup-title>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.popup-x{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));color:var(--uhoh-text);cursor:pointer;border-radius:4px;flex-shrink:0;width:18px;height:16px;padding:0;font-size:12px;line-height:12px}.popup-body{background:linear-gradient(180deg, var(--uhoh-yellow), var(--uhoh-yellow-deep));color:var(--uhoh-text);text-align:left;cursor:pointer;border:0;flex:1;align-items:flex-start;gap:8px;min-height:0;margin:0;padding:8px;display:flex}.popup-body:hover{filter:brightness(1.06)}.popup-text{flex:1;min-width:0}.popup-from{color:var(--msg-theirs-head,var(--uhoh-blue));text-overflow:ellipsis;white-space:nowrap;margin-bottom:3px;font-size:11px;font-weight:700;overflow:hidden}.popup-preview{color:var(--uhoh-text);-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;font-size:11px;line-height:1.25;display:-webkit-box;overflow:hidden}.chat-window.drag-over .chat-body,.chat-embedded.drag-over .chat-body{outline:2px dashed var(--uhoh-select);outline-offset:-4px;background:var(--uhoh-yellow)}.chat-drop-overlay{z-index:25;pointer-events:none;background:color-mix(in srgb, var(--uhoh-yellow) 72%, transparent);border:2px dashed var(--uhoh-select);border-radius:var(--uhoh-radius-sm);box-sizing:border-box;place-items:center;margin:4px;display:grid;position:absolute;inset:0}.chat-drop-overlay>span{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));color:var(--uhoh-text);box-shadow:var(--uhoh-shadow);padding:8px 14px;font-size:13px;font-weight:700}.upload-progress{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);text-align:center;height:22px;margin:4px 6px;font-size:11px;line-height:20px;position:relative;overflow:hidden}.upload-progress-bar{background:linear-gradient(90deg, var(--uhoh-title-end), var(--uhoh-title));opacity:.45;transition:width .15s linear;position:absolute;top:0;bottom:0;left:0}.upload-progress>span{z-index:1;position:relative}.chat-tool-btn{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff80 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;padding:3px 10px;font-size:11px;box-shadow:inset 0 1px #ffffff8c}.chat-search-bar{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-yellow);gap:4px;padding:4px 6px;display:flex}.chat-search-bar input{flex:1;min-width:0}.chat-search-bar{align-items:center}.chat-search-count{white-space:nowrap;min-width:0;color:var(--uhoh-text);flex:none;font-size:12px}.chat-search-spinner{border:2px solid var(--uhoh-border);border-top-color:var(--uhoh-select);border-radius:50%;flex:none;width:12px;height:12px;animation:.8s linear infinite chat-search-spin}@keyframes chat-search-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.chat-search-spinner{animation:none}}.chat-search-bar .tool-icon-btn:disabled{opacity:.35;cursor:default}mark.search-hit{color:#1b1b1b;background:#ffd84a;border-radius:2px}.smiley-tabs{border-bottom:1px solid var(--uhoh-border-dark);background:var(--uhoh-face-dark);flex-wrap:nowrap;flex-shrink:0;gap:2px;padding:4px;display:flex;overflow-x:auto}.smiley-tabs button{white-space:nowrap;border:1px solid var(--uhoh-border-dark);background:var(--uhoh-face);cursor:pointer;flex-shrink:0;padding:2px 6px;font-size:10px}.smiley-tabs button.active{background:var(--uhoh-select);color:#fff}.smiley-pack-tabs{background:var(--uhoh-face)}.smiley-empty{color:var(--uhoh-text);text-align:center;grid-column:1/-1;padding:20px 8px}.peer-birthday,.contact-details-birthday{box-shadow:none;color:#0000;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,#b45309 0%,#c17a12 20%,#b45309 38%,#ffe7a8 48%,#fff 50%,#ffe7a8 52%,#b45309 62%,#c17a12 80%,#b45309 100%);background-position:0 0;background-size:300% 100%;-webkit-background-clip:text;background-clip:text;border:none;flex-shrink:0;margin-top:3px;padding:0;font-size:11px;font-weight:700;line-height:1.3;animation:5s linear infinite birthday-shimmer;display:inline-block}.peer-status .peer-birthday{white-space:nowrap;margin-top:0}.contact-details-birthday{font-size:12px}.rooms-group{color:var(--uhoh-blue);z-index:3;background-color:var(--uhoh-face-dark);position:sticky;top:0}.room-list{flex-direction:column;display:flex}.room-icon{text-align:center;width:32px;color:var(--uhoh-blue);flex-shrink:0;font-weight:700}.room-empty{padding:4px 12px 8px;font-size:11px}.modal-room-create{width:min(340px,100%)}.find-room-window{background:linear-gradient(180deg, var(--uhoh-face) 0%, var(--uhoh-panel) 100%);flex-direction:column;height:100vh;min-height:100%;display:flex;overflow:hidden}.find-room-body{flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px 14px 14px;display:flex}.find-room-load-error{padding:16px}.find-room-search{flex-direction:column;flex-shrink:0;gap:10px;display:flex}.find-room-search-label{flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.find-room-search-label input{box-sizing:border-box;width:100%}.find-room-search-actions{justify-content:flex-start;align-items:center;gap:8px;display:flex}.find-room-sort{max-width:50%;margin-left:auto}.find-room-search-actions .primary-btn{min-width:120px}.find-room-error{flex-shrink:0}.find-room-results{flex-direction:column;flex:1;gap:10px;min-height:0;padding-right:2px;display:flex;overflow:auto}.find-room-empty{text-align:center;padding:24px 12px}.find-room-card{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-input));grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:10px 12px;display:grid;box-shadow:inset 0 1px #ffffff8c}.find-room-card-avatar{flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.find-room-card-avatar .avatar{border:1px solid var(--uhoh-border);box-shadow:0 1px 2px #2850141f}.find-room-card-body{flex-direction:column;gap:4px;min-width:0;display:flex}.find-room-card-head{flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}.find-room-card-name{word-break:break-word;margin:0;font-size:14px;font-weight:700;line-height:1.25}.find-room-badge{border:1px solid var(--uhoh-border);background:linear-gradient(180deg, var(--uhoh-panel), var(--uhoh-face-dark));color:var(--uhoh-text);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:10px;font-weight:700}.find-room-card-meta{color:var(--uhoh-muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;line-height:1.35;display:flex}.find-room-card-code{letter-spacing:.04em;color:var(--uhoh-text);font-weight:700}.find-room-card-sep{opacity:.65}.find-room-card-actions{justify-content:flex-end;align-self:center;display:flex}.find-room-action-btn,.find-room-card-actions .primary-btn,.find-room-card-actions .secondary-btn{white-space:nowrap;min-width:132px}.room-private-hint{margin:0 0 6px;padding:0 2px}.room-info-privacy{flex-direction:column;gap:4px;display:flex}.room-info-privacy-row{color:var(--uhoh-muted);cursor:pointer;align-items:center;margin:0;font-size:13px;font-weight:700;line-height:1.35}.room-info-privacy-row input[type=checkbox]{margin-top:0}.room-info-privacy .room-private-hint{margin:0;padding-left:22px}.room-request-badge{color:#fff;text-align:center;background:#c62828;border-radius:999px;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px}.room-request-badge-btn{color:#fff;text-align:center;cursor:pointer;background:#c62828;border:0;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:700;line-height:18px}.room-request-badge-btn:hover{background:#e53935}.room-join-requests-btn{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:10px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.room-join-requests-btn:hover{opacity:.92}.modal-room-join-requests{width:min(440px,94vw)}.room-join-requests-body{gap:4px;max-height:70vh;padding:12px;overflow-y:auto}.room-join-request-row{border-bottom:1px solid var(--uhoh-border);align-items:flex-start;gap:10px;padding:10px 0;display:flex}.room-join-request-row:last-child{border-bottom:none}.room-join-request-avatar-btn{cursor:pointer;background:0 0;border:0;border-radius:999px;flex-shrink:0;padding:0;line-height:0}.room-join-request-avatar-btn:hover{opacity:.9}.room-join-request-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.room-join-request-name{text-align:left;cursor:pointer;color:var(--uhoh-blue);background:0 0;border:0;align-self:flex-start;padding:0;font-size:13px;font-weight:700}.room-join-request-name:hover{text-decoration:underline}.room-join-request-uin{color:var(--uhoh-muted);font-size:11px}.room-join-request-message{opacity:.9;margin-top:2px;font-size:11px}.room-join-request-actions{flex-direction:column;flex-shrink:0;gap:6px;display:flex}.room-setting-row{flex-direction:row;align-items:flex-start;gap:8px;margin-top:2px;font-size:12px;font-weight:400;line-height:1.35;display:flex}.room-setting-row input[type=checkbox]{flex:0 0 14px;width:14px;min-width:14px;height:14px;margin-top:2px;padding:0}.room-members-invite-btn{align-self:flex-start;margin-bottom:4px}.room-members-close-btn{align-self:stretch;margin-top:auto;padding:5px 10px;font-size:11px;font-weight:700}.room-members-close-btn:not(:disabled):hover{filter:brightness(1.04)}.room-members-close-btn:not(:disabled):active{border:1px solid var(--uhoh-border-dark);background:linear-gradient(180deg, var(--uhoh-face-dark), var(--uhoh-btn-face-end));box-shadow:inset 0 1px 3px #28501433}.room-member-label{margin-bottom:4px;font-weight:700}.room-member-search{width:100%;margin-bottom:6px}.room-member-list{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);max-height:200px;padding:2px 0;overflow:auto}.room-member-empty{text-align:center;padding:8px 10px}.room-member-row{box-sizing:border-box;cursor:pointer;text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:6px;width:100%;padding:5px 8px;font-size:12px;font-weight:400;display:flex}.room-member-row:hover{background:#ffffff59}.room-member-row input[type=checkbox]{cursor:pointer;flex:0 0 14px;width:14px;min-width:14px;height:14px;margin:0;padding:0}.block-list{flex-direction:column;gap:6px;display:flex}.block-row{border-bottom:1px solid var(--uhoh-border-dark);justify-content:space-between;align-items:center;gap:8px;padding:4px 0;display:flex}.settings-hint{color:var(--uhoh-muted);margin:0 0 8px;font-size:11px}.settings-form-actions{justify-content:flex-start;gap:8px;margin-top:4px;display:flex}.profile-editor-form{flex-direction:column;gap:10px;display:flex}.profile-editor-toolbar{z-index:3;background:var(--uhoh-face);border-bottom:1px solid var(--uhoh-border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;display:flex;position:sticky;top:0}.profile-editor-toolbar .settings-panel-title{min-width:0;margin:0}.profile-editor-toolbar-actions{flex-shrink:0;justify-content:flex-end;margin-top:0}.settings-panel>.profile-editor-form>.profile-editor-toolbar{margin:-14px -16px 6px;padding:14px 16px 10px;top:-14px}.profile-modal .profile-editor-toolbar{margin:-10px -10px 6px;padding:10px 10px 8px}.settings-panel .profile-section-title{margin-top:4px}.settings-window{background:linear-gradient(180deg, var(--uhoh-face) 0%, var(--uhoh-panel) 100%);flex-direction:column;height:100vh;min-height:0;display:flex}.settings-load-error{padding:16px}.settings-split{border-top:1px solid var(--uhoh-border);flex:1;grid-template-columns:168px minmax(0,1fr);min-height:0;display:grid}.settings-nav{border-right:1px solid var(--uhoh-border);background:linear-gradient(180deg, #ffffff59 0%, #fff0 55%), var(--uhoh-face-dark);flex-direction:column;gap:4px;padding:10px 8px;display:flex;overflow:auto}.settings-nav-item{text-align:left;border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, #ffffff73 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;padding:8px 10px;font-size:12px;font-weight:600;box-shadow:inset 0 1px #ffffff8c}.settings-nav-item:hover{filter:brightness(1.03)}.settings-nav-item.active{background:var(--uhoh-select);color:var(--uhoh-select-text);border-color:var(--uhoh-border-dark)}.settings-panel{flex-direction:column;gap:10px;min-width:0;min-height:0;padding:14px 16px 18px;display:flex;overflow:auto}.settings-panel-title{margin:0 0 4px;font-size:15px;font-weight:700}.settings-panel-label{margin-bottom:6px;font-weight:700}.settings-panel-block{flex-direction:column;gap:8px;display:flex}.settings-subsection{border-top:1px solid var(--uhoh-border-dark);flex-direction:column;gap:8px;padding-top:8px;display:flex}.settings-subsection .settings-panel-title{font-size:13px}.settings-choice-list{flex-direction:column;gap:4px;display:flex}.settings-choice{text-align:left;border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:linear-gradient(180deg, #ffffff73 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:12px;display:flex;box-shadow:inset 0 1px #ffffff8c}.settings-choice:hover{filter:brightness(1.03)}.settings-choice.active{background:var(--uhoh-select);color:var(--uhoh-select-text);border-color:var(--uhoh-border-dark)}.chat-tool-btn.active{background:var(--uhoh-select);color:var(--uhoh-select-text)}.privacy-add-row{align-items:center;gap:6px;display:flex}.privacy-add-row input{flex:1;min-width:0}.privacy-list{flex-direction:column;gap:4px;display:flex}.settings-window .avatar-edit-column .secondary-btn{align-self:stretch}[data-theme=dark] select,[data-theme=dark] select option{color:var(--uhoh-text);-webkit-text-fill-color:var(--uhoh-text);background-color:var(--uhoh-input)}[data-theme=dark] .attach-btn{color:#d0e0c8}[data-theme=dark] .popup-x{color:#e8f0e0}[data-theme=dark] .settings-nav-item.active,[data-theme=dark] .settings-choice.active,[data-theme=dark] .chat-tool-btn.active{color:var(--uhoh-select-text)}[data-theme=dark] .peer-birthday,[data-theme=dark] .contact-details-birthday{color:#0000;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,#e8c25a 0%,#f0d070 20%,#e8c25a 38%,#fff4c2 48%,#fff 50%,#fff4c2 52%,#e8c25a 62%,#f0d070 80%,#e8c25a 100%)}[data-theme=dark] .settings-action:hover{background:#3a4834}[data-theme=dark] .settings-action.active{background:#455840}[data-theme=dark] .primary-btn,[data-theme=dark] .secondary-btn,[data-theme=dark] .modal-actions button,[data-theme=dark] .composer .send-btn,[data-theme=dark] .chat-tool-btn,[data-theme=dark] .modal-x,[data-theme=dark] .settings-modal-x{color:#e8f0e0;text-shadow:0 1px 1px #00000059}[data-theme=dark] .tool-actions button,[data-theme=dark] .tool-icon-btn,[data-theme=dark] .tool-action-btn{color:#d8ecd0;background:linear-gradient(180deg, #ffffff1f 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));box-shadow:inset 0 1px #ffffff1f,0 1px 2px #00000059}[data-theme=dark] .tool-actions button:hover,[data-theme=dark] .tool-icon-btn:hover,[data-theme=dark] .tool-action-btn:hover{color:#f0ffe8;background:linear-gradient(180deg, #ffffff2e 0%, #fff0 45%), linear-gradient(180deg, #4a5840, var(--uhoh-btn-face-end))}[data-theme=dark] .tool-action-icon{opacity:1;filter:drop-shadow(0 0 1px #0000008c)}[data-theme=dark] .status-logo,[data-theme=dark] .status-icon,[data-theme=dark] .uhoh-flower{filter:brightness(1.25)contrast(1.08)drop-shadow(0 0 1.5px #ffffff59)}[data-theme=dark] .contact-row.offline-row{opacity:1}[data-theme=dark] .contact-row.offline-row .contact-name{color:#c8d4c0}[data-theme=dark] .contact-row.offline-row .user-name.is-official .user-name-text{color:var(--uhoh-official)}[data-theme=dark] .contact-status-line.is-online{color:#8fd060}[data-theme=dark] .contact-status-line.is-offline{color:#b0bca8}[data-theme=dark] .group-title.online-group{color:#8fd060}[data-theme=dark] .group-title.offline-group{color:#b0bca8}[data-theme=dark] .msg-receipt{color:#a8b8a0}[data-theme=dark] .msg-receipt.is-delivered{color:#90c080}[data-theme=dark] .msg-receipt.is-read{color:#6aa6ff}[data-theme=dark] .msg-attachment-file:hover{background:linear-gradient(#4a5844,#343c30)}[data-theme=dark] .chat-audio-player{background:linear-gradient(180deg, #ffffff14 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));box-shadow:inset 0 1px #ffffff1a}[data-theme=dark] .chat-audio-title,[data-theme=dark] .chat-audio-times{color:#c8d8c0}[data-theme=dark] .chat-audio-track-rail{background:#c8dcb438;border-color:#b4d28c73;box-shadow:inset 0 1px 2px #00000059}[data-theme=dark] .now-playing-bar{background:linear-gradient(180deg, #ffffff0f 0%, #fff0 50%), linear-gradient(180deg, var(--uhoh-panel), var(--uhoh-face));box-shadow:inset 0 1px #ffffff0f}[data-theme=dark] .chat-tab{text-shadow:0 1px 1px #0006}[data-theme=dark] .chat-tab.active{color:var(--uhoh-text);text-shadow:none}[data-theme=dark] .contact-row:hover{background:#5a903038}[data-theme=dark] .smiley-cell{background:var(--uhoh-input)}[data-theme=dark] .popup-body{background:linear-gradient(180deg, var(--uhoh-yellow), var(--uhoh-yellow-deep));color:var(--uhoh-text)}[data-theme=dark] .popup-body:hover{filter:brightness(1.1)}[data-theme=dark] .popup-from{color:var(--msg-theirs-head)}[data-theme=dark] .popup-preview{color:var(--uhoh-text)}[data-theme=azure] .composer .send-btn,[data-theme=azure] .primary-btn{color:#103858}.modal-wide{width:min(420px,100vw - 24px);max-height:min(90vh,640px);overflow:auto}.profile-modal{flex-direction:column;display:flex;overflow:hidden}.profile-modal>.modal-title{flex-shrink:0}.profile-modal>.modal-form{-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow:hidden auto}.contact-status-badge,.me-status-badge,.chat-peer-status,.contact-details-status-badge{align-items:center;gap:2px;display:inline-flex}.privacy-tabs,.privacy-add-row{gap:6px;margin-bottom:8px;display:flex}.privacy-add-row input{flex:1}.profile-section-title{border-top:1px solid var(--uhoh-border-dark);margin:10px 0 4px;padding-top:6px;font-weight:700}.wp-filters{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-inset,var(--uhoh-input));gap:6px;margin:6px 0;padding:8px;display:grid}.wp-age-row{gap:8px;display:flex}.wp-age-row label{flex:1}.linkish-btn{color:var(--uhoh-blue);cursor:pointer;font:inherit;background:0 0;border:none;padding:2px 0;text-decoration:underline}.room-members-panel{box-sizing:border-box;flex-direction:column;gap:8px;height:100%;padding:8px;display:flex}.room-members-head{font-weight:700}.room-members-list{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);flex:1;padding:4px;overflow:auto}.room-member-item{align-items:center;gap:4px;padding:3px 2px;font-size:12px;display:flex}.room-member-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.room-role-badge{color:var(--uhoh-muted);border:1px solid var(--uhoh-border);border-radius:999px;flex-shrink:0;padding:0 5px;font-size:10px;line-height:16px}.room-role-badge.is-owner{color:var(--uhoh-blue);border-color:currentColor}.room-muted-mark{flex-shrink:0;font-size:11px}.room-member-menu-btn{flex-shrink:0;min-width:24px;font-weight:700}.msg-system-stamp{opacity:.8;font-size:11px}.room-rules-text{white-space:pre-wrap;font-size:12px;line-height:1.45}.room-rules-editor textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:72px}.room-member-pick .room-member-name{flex:0 auto;width:auto;max-width:calc(100% - 28px)}.msg-encrypted{color:var(--uhoh-muted);opacity:.85}.link-preview-card{text-align:left;max-width:min(360px,100%);font:inherit;color:var(--uhoh-text);background:var(--uhoh-panel);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);cursor:pointer;align-items:flex-start;gap:8px;padding:8px;display:flex}.link-preview-card:hover{border-color:var(--uhoh-accent)}.link-preview-thumb{object-fit:cover;border-radius:var(--uhoh-radius-xs);background:#00000014;flex-shrink:0;width:64px;height:64px}.link-preview-text{flex-direction:column;gap:2px;min-width:0;display:flex}.link-preview-title,.link-preview-detail{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.link-preview-title{font-size:13px;font-weight:600}.link-preview-detail{color:var(--uhoh-muted);font-size:12px}.link-preview-host{color:var(--uhoh-accent);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.status-picker-modal{width:min(420px,100vw - 32px)}.status-picker-select{align-items:center;gap:8px;display:flex}.status-picker-select select{flex:1}.smiley-text-field-row{align-items:center;gap:6px;min-width:0;display:flex;position:relative}.smiley-text-field-wrap{flex:1;min-width:0;position:relative}.smiley-text-field{-webkit-app-region:no-drag;box-sizing:border-box;background:var(--uhoh-input);width:100%;min-height:30px;color:var(--uhoh-text);border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);-webkit-user-select:text;user-select:text;white-space:nowrap;scrollbar-width:none;outline:none;padding:4px 8px;font-weight:400;line-height:20px;overflow:auto hidden;box-shadow:inset 0 1px 2px #28501414}.smiley-text-field::-webkit-scrollbar{display:none}.smiley-text-field:focus{border-color:var(--uhoh-accent);box-shadow:inset 0 1px 2px #28501414,0 0 0 2px #8dc63f47}.smiley-text-field .composer-smiley,.smiley-text-field .smiley{object-fit:contain;vertical-align:middle;width:20px;height:20px;margin:0 1px;display:inline-block}.smiley-text-field-placeholder{color:var(--uhoh-muted);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;padding:5px 9px;font-weight:400;line-height:20px;position:absolute;inset:0;overflow:hidden}.status-message-meta{justify-content:space-between;align-items:center;display:flex}.xstatus-grid{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.xstatus-cell{border-radius:var(--uhoh-radius-xs);color:var(--uhoh-muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;display:flex}.xstatus-cell:hover{border-color:var(--uhoh-border)}.xstatus-cell.is-selected{background:color-mix(in srgb, var(--uhoh-accent) 22%, transparent);border-color:var(--uhoh-accent)}.xstatus-cell img,.xstatus-none{place-items:center;width:22px;height:22px;font-size:16px;display:grid}.xstatus-cell-title{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:9px;overflow:hidden}.xstatus-icon{vertical-align:middle;flex-shrink:0;display:inline-block}:root:not([data-platform=darwin]) .titlebar,:root:not([data-platform=darwin]) .settings-modal-head{padding-left:10px}.contact-name-row{align-items:center}.contact-name-row .msg-receipt{color:var(--uhoh-muted);margin-left:auto}.contact-name-row .contact-muted-bell+.contact-unread,.contact-name-row .contact-muted-bell+.msg-receipt{margin-left:4px}.contact-muted-bell{color:var(--uhoh-muted);flex:none;margin-left:auto;display:inline-flex}.contact-room-lock{opacity:.7;flex:none;font-size:10px}.contact-status-message{font-style:italic}.contact-status-message .smiley,.status-message-preview .smiley{width:14px;height:14px}.contact-typing{color:var(--uhoh-accent)}.me-name-line{align-items:center;gap:5px;display:flex}.me-uin{color:var(--uhoh-muted);font-weight:500}.connection-bar{color:#5a4a10;background:#f0e490;justify-content:center;align-items:center;gap:8px;padding:5px 8px;font-size:12px;font-weight:500;display:flex}.connection-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:10px;height:10px;animation:.8s linear infinite connection-spin}@keyframes connection-spin{to{transform:rotate(360deg)}}.confirm-modal{width:min(360px,100vw - 32px)}.confirm-modal>.modal-title{white-space:normal;align-items:flex-start}.confirm-modal>.modal-title>span{overflow-wrap:anywhere}.confirm-message{color:var(--uhoh-muted);overflow-wrap:anywhere;margin:0}.jump-to-latest{border:1px solid var(--uhoh-border);background:var(--uhoh-face);width:36px;height:36px;color:var(--uhoh-text);cursor:pointer;z-index:5;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:12px;right:14px;box-shadow:0 1px 4px #00000029}.jump-to-mention{font-size:17px;font-weight:700;line-height:1}.jump-to-mention.is-raised{bottom:58px}.jump-to-latest-badge{background:var(--uhoh-accent);color:#fff;text-align:center;border:1.5px solid var(--uhoh-face);border-radius:9px;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:700;line-height:18px;position:absolute;top:-8px}.send-cooldown-bar{text-align:center;color:#a82020;background:var(--uhoh-face);padding:6px 12px;font-size:13px;font-weight:500}.scheduled-bar{border:none;border-top:1px solid var(--uhoh-border);background:var(--uhoh-panel);width:100%;color:var(--uhoh-text);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:8px;padding:6px 12px;font-size:13px;font-weight:500;display:flex}.scheduled-bar:hover,.scheduled-bar:focus-visible{background:var(--uhoh-face-dark)}.scheduled-bar-label{flex:1}.scheduled-bar.is-failed .scheduled-bar-label,.scheduled-item-failed{color:#a82020}.scheduled-modal{width:min(480px,100vw - 32px)}.scheduled-list{max-height:60vh;margin:0;padding:0;list-style:none;overflow-y:auto}.scheduled-item{border-bottom:1px solid var(--uhoh-border);flex-direction:column;gap:3px;padding:8px 0;display:flex}.scheduled-item:last-child{border-bottom:none}.scheduled-item-head,.scheduled-item-reply,.scheduled-item-meta{color:var(--uhoh-muted);font-size:12px}.scheduled-item-reply{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.scheduled-item-body{white-space:pre-wrap;overflow-wrap:anywhere}.scheduled-item-failed{font-size:12px}.scheduled-item-actions{flex-wrap:wrap;gap:4px 12px;font-size:12px;display:flex}.scheduled-item-actions .is-danger{color:#a82020}.schedule-form input[type=datetime-local]{width:100%}.schedule-silent{align-items:center;gap:6px;display:flex}.contact-details-actions{flex-wrap:wrap;justify-content:flex-start;gap:6px}.muted-chat-row{border-bottom:1px solid color-mix(in srgb, var(--uhoh-border) 45%, transparent);padding:6px 0}.muted-chat-title{margin-bottom:2px;font-weight:600}.contact-row.pending-row{cursor:pointer;grid-template-columns:40px 1fr auto}.pending-actions{gap:6px;display:flex}.pending-actions button{color:#fff;cursor:pointer;border:0;border-radius:50%;width:28px;height:28px;padding:0;font-size:14px;font-weight:700;line-height:28px}.pending-actions .pending-accept{background:var(--uhoh-accent)}.pending-actions .pending-decline{background:#a82020}.pending-actions button:disabled{opacity:.5;cursor:default}.birthday-banner{color:#1a2a10;background:#fff4d0;border-bottom:1px solid #f0e490;align-items:center;gap:6px;padding:6px 8px 6px 12px;display:flex}.birthday-banner-main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0;font-size:13px;font-weight:500;display:flex}.birthday-banner-close{color:#5a6a50;cursor:pointer;background:0 0;border:0;width:24px;height:24px;font-size:16px}.passcode-window{background:linear-gradient(180deg, var(--uhoh-face) 0%, var(--uhoh-panel) 100%);height:100vh;color:var(--uhoh-text);flex-direction:column;display:flex}.passcode-window .passcode-pad{flex:1;overflow-y:auto}.passcode-pad{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:20px 16px;display:flex}.passcode-lock-icon{color:var(--uhoh-title)}.passcode-title{margin:12px 0 0;font-size:18px;font-weight:700}.passcode-message{min-height:36px;color:var(--uhoh-muted);margin:6px 0 0;font-size:13px}.passcode-message.error{color:#a82020}[data-theme=dark] .passcode-message.error{color:#ff8a80}.passcode-dots{gap:12px;margin:8px 0 16px;display:flex}.passcode-dot{border:1.5px solid var(--uhoh-muted);border-radius:50%;width:12px;height:12px}.passcode-dot.filled{background:var(--uhoh-title);border-color:var(--uhoh-title)}.passcode-keys{grid-template-columns:repeat(3,64px);gap:12px 20px;display:grid}.passcode-key{border:1px solid var(--uhoh-border);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));width:64px;height:64px;color:var(--uhoh-text);cursor:pointer;border-radius:50%;font-size:24px;font-weight:600}.passcode-key.icon{background:0 0;border-color:#0000;place-items:center;font-size:22px;display:grid}.passcode-key:disabled{color:var(--uhoh-muted);cursor:default}.passcode-key:not(:disabled):hover{filter:brightness(1.05)}.passcode-key:focus-visible{outline:2px solid var(--uhoh-blue);outline-offset:2px}.passcode-keyboard-hint{color:var(--uhoh-muted);margin:12px 0 0;font-size:12px}.passcode-footer{margin-top:12px}.settings-panel .passcode-pad{padding-top:8px}.settings-nav-item.settings-nav-premium:not(.active){border-color:var(--uhoh-official-frame);color:#5a4208;background:linear-gradient(#ffffff80 0%,#fff0 50%),linear-gradient(#fff3c4,#f2d478)}.settings-nav-badge{background:var(--uhoh-official);color:#fff;vertical-align:middle;border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:700;display:inline-block}.premium-panel{gap:12px}.premium-hero{border:1px solid var(--uhoh-official-frame);border-radius:var(--uhoh-radius);color:#f4ecff;background:linear-gradient(135deg,#2a1d4a 0%,#4a2a78 100%);align-items:center;gap:14px;padding:10px 14px;display:flex}.premium-hero-art{object-fit:contain;flex:none;width:160px;height:160px}.premium-hero-text{min-width:0}.premium-hero .settings-hint{color:#e2d6f5}.premium-title{color:#ffd76e;margin:0 0 6px}.premium-active{color:#9be37a;margin:0;font-weight:700}.premium-features{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.premium-feature{align-items:flex-start;gap:10px;display:flex}.premium-feature-icon{text-align:center;flex:0 0 24px;font-size:18px;line-height:1.2}.premium-feature-body{flex-direction:column;gap:2px;min-width:0;display:flex}.premium-feature-title{font-weight:700}.premium-feature-text{color:var(--uhoh-muted);font-size:12px}.premium-cta{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.premium-price{font-weight:700}.premium-cta-btn{padding:8px 18px;font-size:13px}.premium-disclosure{font:inherit;color:var(--uhoh-blue);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:600}.premium-disclosure:focus-visible{outline:2px solid var(--uhoh-blue);outline-offset:2px}[data-theme=dark] .premium-disclosure{color:#9cc4ff}.user-name.has-nick-color .user-name-text,.msg-row .msg-head .user-name.has-nick-color .user-name-text,.contact-name .user-name.has-nick-color .user-name-text,.peer-name .user-name.has-nick-color .user-name-text,.room-member-name .user-name.has-nick-color .user-name-text{color:var(--nick-light)}[data-theme=dark] .user-name.has-nick-color .user-name-text,[data-theme=dark] .msg-row .msg-head .user-name.has-nick-color .user-name-text,[data-theme=dark] .contact-name .user-name.has-nick-color .user-name-text,[data-theme=dark] .peer-name .user-name.has-nick-color .user-name-text,[data-theme=dark] .room-member-name .user-name.has-nick-color .user-name-text{color:var(--nick-dark)}.contact-row.selected .user-name.has-nick-color .user-name-text{color:inherit}.premium-badge{vertical-align:-1px;fill:#8b5cf6;flex-shrink:0;margin-left:3px}[data-theme=dark] .premium-badge{fill:#b9a2ff}.contact-row.selected .premium-badge{fill:currentColor}.avatar-shell.has-frame{border-radius:calc(var(--uhoh-radius-xs) + 1px);padding:2.5px;overflow:hidden}.avatar-shell.has-frame:before{content:"";z-index:0;position:absolute;inset:-45%}.avatar-shell.has-frame .avatar{z-index:1;box-shadow:none;position:relative}.avatar-shell.frame-neon{box-shadow:0 0 6px #00e5ffbf,0 0 10px #ff00c873}.avatar-shell.frame-neon:before{background:conic-gradient(#00e5ff,#ff00c8,#7c4dff,#00e5ff);animation:3.2s linear infinite official-frame-spin}.avatar-shell.frame-rainbow:before{background:conic-gradient(#ff3b3b,#ffd60a,#34c759,#0a84ff,#bf5af2,#ff3b3b);animation:4s linear infinite official-frame-spin}.avatar-shell.frame-frost:before{background:conic-gradient(#e6f7ff,#8fd3ff,#fff,#5fb8f0,#e6f7ff);animation:6s linear infinite official-frame-spin}.avatar-shell.frame-sakura:before{background:conic-gradient(#ffd1e3,#ff8fb8,#fff0f6,#f46fa1,#ffd1e3);animation:6s linear infinite official-frame-spin}.avatar-shell.frame-galaxy:before{background:conic-gradient(#1b1464,#6a3cff,#00c2ff,#b14cff,#1b1464);animation:5s linear infinite official-frame-spin}.avatar-shell.frame-pixel:before{background:repeating-conic-gradient(#34c759 0 25%, #0a84ff 0 50%) 0 0 / 6px 6px;inset:0}.avatar-shell.frame-garland:before{background:repeating-conic-gradient(#dc5360 0deg 15deg,#245d46 15deg 30deg,#ffe395 30deg 45deg,#245d46 45deg 60deg,#8bd4f3 60deg 75deg,#245d46 75deg 90deg);animation:12s linear infinite official-frame-spin}@media (prefers-reduced-motion:reduce){.avatar-shell.has-frame:before{animation:none}}.message-list.has-wallpaper{background:var(--wallpaper-light);background-attachment:local}[data-theme=dark] .message-list.has-wallpaper{background:var(--wallpaper-dark)}.message-list.has-wallpaper .msg-row.theirs{background:#ffffffb8}.message-list.has-wallpaper .msg-row.mine{background:#ffffffe0}[data-theme=dark] .message-list.has-wallpaper .msg-row.theirs{background:#1e261c9e}[data-theme=dark] .message-list.has-wallpaper .msg-row.mine{background:#141a12c7}html[data-theme] .message-list .msg-row.has-bubble[class]{width:auto;box-shadow:none;background:0 0;border-radius:0;margin:14px 10px 6px;position:relative}.msg-row.has-bubble>:not(.premium-bubble-backdrop){z-index:1;position:relative}.premium-bubble-backdrop{z-index:0;pointer-events:none;position:absolute;top:0;left:0;overflow:visible}[data-skin=newyear] .msg-row.has-bubble:before{content:none}.premium-swatches{flex-wrap:wrap;gap:8px;display:flex}.premium-swatch{border:1px solid var(--uhoh-border);background:var(--uhoh-input);color:var(--uhoh-text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 10px 4px 4px;font-size:12px;display:inline-flex}.premium-swatch[aria-checked=true]{border-color:var(--uhoh-select);box-shadow:0 0 0 2px var(--uhoh-select)}.premium-swatch:focus-visible{outline:2px solid var(--uhoh-blue);outline-offset:2px}.premium-swatch-dot{background:var(--nick-light,var(--uhoh-panel));border:1px solid #00000026;border-radius:50%;width:18px;height:18px}[data-theme=dark] .premium-swatch-dot{background:var(--nick-dark,var(--uhoh-panel))}.premium-wallpaper-dot{background:var(--wallpaper-light,var(--message-list-bg));border:1px solid #00000026;border-radius:6px;width:30px;height:22px}[data-theme=dark] .premium-wallpaper-dot{background:var(--wallpaper-dark,var(--message-list-bg))}.premium-look-preview{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-input);align-items:center;gap:10px;padding:8px 10px;display:flex}.premium-locked-note{color:var(--uhoh-muted);align-items:center;gap:4px;font-size:11px;display:inline-flex}.smiley-tabs .smiley-tab-premium{align-items:center;gap:3px;display:inline-flex}.smiley-grid.is-locked .smiley-cell{opacity:.45;cursor:not-allowed}.smiley-premium-lock{text-align:center;color:var(--uhoh-muted);flex-direction:column;align-items:center;gap:8px;padding:12px;font-size:12px;display:flex}.msg-attachment-list{flex-direction:column;gap:6px;max-width:420px;margin-top:4px;display:flex}.voice-msg{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, #ffffff8c 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));align-items:center;gap:10px;width:260px;max-width:100%;padding:8px 10px;display:flex;box-shadow:inset 0 1px #ffffff8c}.voice-msg-main{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.voice-msg-wave{cursor:pointer;touch-action:none;border-radius:3px;outline:none;align-items:center;gap:1px;height:26px;display:flex}.voice-msg-wave:focus-visible{box-shadow:0 0 0 2px var(--uhoh-accent)}.voice-msg-wave span{background:#2850144d;border-radius:1px;flex:1 1 0;min-width:1px}.voice-msg-wave span.is-played{background:var(--uhoh-title)}.voice-msg-meta{color:var(--uhoh-muted);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:10px;line-height:1;display:flex}.voice-msg-unplayed{background:var(--uhoh-blue);border-radius:50%;width:6px;height:6px;display:inline-block}.voice-msg-rate{border:1px solid var(--uhoh-border);font-variant-numeric:tabular-nums;cursor:pointer;background:#fff9;border-radius:999px;flex:none;min-width:34px;padding:3px 6px;font-size:10px;font-weight:700}.voice-msg-rate:hover{border-color:var(--uhoh-border-dark)}.round-msg{cursor:pointer;background:#000;border:none;border-radius:50%;width:200px;height:200px;padding:0;display:block;position:relative;overflow:hidden;box-shadow:0 1px 4px #28501440}.round-msg:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:3px}.round-msg video,.rec-round video{object-fit:cover;width:100%;height:100%;display:block}.round-msg-ring{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.round-msg-ring circle{fill:none;stroke:#ffffffe6;stroke-width:2.5px;stroke-linecap:round;transition:stroke-dashoffset .25s linear}.round-msg-paused{color:#fff;background:#00000040;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.round-viewer{z-index:1000;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.round-viewer-circle{cursor:pointer;background:#000;border:none;border-radius:50%;width:min(72vmin,420px);height:min(72vmin,420px);padding:0;animation:.18s ease-out round-viewer-in;position:relative;overflow:hidden;box-shadow:0 8px 32px #00000073}.round-viewer-circle video{object-fit:cover;width:100%;height:100%;display:block}.round-viewer-circle:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:4px}@keyframes round-viewer-in{0%{opacity:.4;transform:scale(.6)}}.round-msg-badge{color:#fff;font-variant-numeric:tabular-nums;background:#00000080;border-radius:999px;align-items:center;gap:4px;padding:2px 7px;font-size:10px;display:inline-flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.round-msg-badge .voice-msg-unplayed{background:#fff}.composer{position:relative}.composer .record-btn{touch-action:none;z-index:7;justify-content:center;align-items:center;display:inline-flex;position:relative}.composer .record-btn.is-recording{color:#fff;background:linear-gradient(#ff8a70,#d9531e)}.rec-bar{z-index:6;border-radius:var(--uhoh-radius-sm);background:var(--uhoh-input);border:1px solid var(--uhoh-border);align-items:center;gap:10px;padding:0 14px;font-size:13px;display:flex;position:absolute;inset:0 90px 0 0}.rec-dot{background:#e0402a;border-radius:50%;flex:none;width:10px;height:10px;transition:transform 80ms linear}.rec-time{font-variant-numeric:tabular-nums;font-weight:700}.rec-slide{color:var(--uhoh-muted);white-space:nowrap;margin-left:auto}.rec-cancel{margin-left:auto}.rec-lock{z-index:7;border:1px solid var(--uhoh-border);background:var(--uhoh-input);color:var(--uhoh-muted);box-shadow:var(--uhoh-shadow);pointer-events:none;border-radius:999px;flex-direction:column;align-items:center;gap:2px;padding:6px 5px;display:flex;position:absolute;bottom:calc(100% + 8px);right:30px}.rec-round{z-index:50;pointer-events:none;background:#000;border-radius:50%;width:220px;height:220px;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 4px 16px #00000059}.rec-send-strip{color:var(--uhoh-muted);align-items:center;gap:10px;padding:4px 8px;font-size:12px;display:flex}.rec-send-strip.is-failed{color:var(--uhoh-error-text)}.rec-send-progress{background:#28501429;border-radius:2px;flex:0 0 120px;height:4px;overflow:hidden}.rec-send-progress span{background:var(--uhoh-title);height:100%;transition:width .15s linear;display:block}[data-theme=dark] .voice-msg{background:linear-gradient(180deg, #ffffff14 0%, #fff0 45%), linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));box-shadow:inset 0 1px #ffffff1a}[data-theme=dark] .voice-msg-wave span{background:#c8dcb44d}[data-theme=dark] .voice-msg-wave span.is-played{background:var(--uhoh-title-end)}[data-theme=dark] .voice-msg-meta{color:#c8d8c0}[data-theme=dark] .voice-msg-unplayed{background:#8ab8ff}[data-theme=dark] .voice-msg-rate{background:#00000040}[data-theme=dark] .rec-send-progress{background:#c8dcb438}@media (prefers-reduced-motion:reduce){.round-viewer-circle{animation:none}.rec-dot,.round-msg-ring circle,.rec-send-progress span{transition:none}}.capsule-card,.capsule-composer-hero,.capsule-reveal{--capsule-sky:radial-gradient(120% 140% at 20% 0%, #3b3392 0%, #1f1b5c 45%, #0d1a3a 100%);--capsule-ink:#eef1ff;--capsule-muted:#b9c2f0;--capsule-accent:#6ee7d8}.capsule-card-stars,.capsule-reveal-stars{pointer-events:none;opacity:.85;background-image:radial-gradient(1.2px 1.2px at 12% 22%,#fff 50%,#0000 51%),radial-gradient(1px 1px at 78% 14%,#dfe6ff 50%,#0000 51%),radial-gradient(1.4px 1.4px at 64% 72%,#fff 50%,#0000 51%),radial-gradient(1px 1px at 30% 82%,#cfe 50%,#0000 51%),radial-gradient(1.1px 1.1px at 90% 58%,#fff 50%,#0000 51%),radial-gradient(.9px .9px at 46% 38%,#e8eaff 50%,#0000 51%);animation:4s ease-in-out infinite alternate capsule-twinkle;position:absolute;inset:0}@keyframes capsule-twinkle{0%{opacity:.45}to{opacity:.95}}.capsule-card{background:var(--capsule-sky);max-width:340px;color:var(--capsule-ink);border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 18px #14105059,inset 0 0 0 1px #a0aaff40}.capsule-card.is-sealed{flex-direction:row;align-items:center;gap:12px}.capsule-card.is-past{filter:saturate(.6)}.capsule-card-head{align-items:center;gap:12px;display:flex;position:relative}.capsule-card-text{flex-direction:column;gap:3px;min-width:0;display:flex;position:relative}.capsule-card-title{font-size:14px;font-weight:700}.capsule-card-date,.capsule-card-note{color:var(--capsule-muted);font-size:12px}.capsule-card-countdown{color:#0d1a3a;background:var(--capsule-accent);border-radius:999px;align-self:flex-start;margin-top:2px;padding:2px 9px;font-size:12px;font-weight:700}.capsule-card .link-btn{color:var(--capsule-accent)}.capsule-card-cancel{align-self:flex-start;font-size:12px}.capsule-card.is-opened:not(.is-seen){animation:2.4s ease-in-out infinite capsule-glow;box-shadow:0 0 0 1px #6ee7d88c,0 0 22px #6ee7d859}@keyframes capsule-glow{50%{box-shadow:0 0 0 1px #6ee7d8cc,0 0 34px #968cff8c}}.capsule-card .capsule-open-btn{color:#0d1a3a;background:linear-gradient(180deg, #9ff3e8, var(--capsule-accent));border:none;border-radius:999px;align-self:flex-start;margin-top:6px;padding:6px 16px;font-weight:700;box-shadow:0 0 14px #6ee7d88c}.capsule-card .capsule-open-btn:hover{filter:brightness(1.06)}.capsule-contents{flex-direction:column;gap:10px;display:flex;position:relative}.capsule-letter{color:#1d1d2b;white-space:pre-wrap;background:#fdfcf7;border-radius:10px;padding:10px 12px;font-family:Georgia,Times New Roman,serif;font-size:15px;line-height:1.45;box-shadow:0 2px 8px #00000040}.capsule-media{align-self:flex-start}.capsule-media-round{align-self:center}.capsule-key-missing{color:var(--capsule-muted);margin:0;font-size:12px}.capsule-art{flex-shrink:0;overflow:visible}.capsule-art-light,.capsule-art-rays{opacity:0;transform-origin:50px 50px;transform-box:view-box}.capsule-art-top,.capsule-art-bottom,.capsule-art-body{transform-origin:50px 50px;transform-box:view-box}.capsule-art.is-float .capsule-art-body{animation:3.2s ease-in-out infinite capsule-float}.capsule-art.is-float .capsule-art-sparkles{animation:1.8s ease-in-out infinite alternate capsule-twinkle}@keyframes capsule-float{0%,to{transform:translateY(2px)rotate(-6deg)}50%{transform:translateY(-3px)rotate(6deg)}}.capsule-art.is-shake .capsule-art-body{animation:.45s ease-in-out infinite capsule-shake}.capsule-art.is-shake .capsule-art-light{opacity:.35;animation:.9s ease-in-out infinite capsule-pulse}@keyframes capsule-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-9deg)scale(1.03)}75%{transform:rotate(9deg)scale(1.03)}}@keyframes capsule-pulse{50%{opacity:.7;transform:scale(1.08)}}.capsule-art.is-open .capsule-art-top{transition:transform .6s cubic-bezier(.2,1.4,.4,1);transform:translate(-6px,-16px)rotate(-24deg)}.capsule-art.is-open .capsule-art-bottom{transition:transform .6s cubic-bezier(.2,1.4,.4,1);transform:translate(3px,8px)rotate(8deg)}.capsule-art.is-open .capsule-art-light{opacity:1;animation:.9s ease-out both capsule-burst}.capsule-art.is-open .capsule-art-rays{animation:.9s ease-out both capsule-rays}@keyframes capsule-burst{0%{opacity:0;transform:scale(.3)}40%{opacity:1;transform:scale(1.25)}to{opacity:.75;transform:scale(1)}}@keyframes capsule-rays{0%{opacity:0;transform:scale(.5)rotate(0)}50%{opacity:1}to{opacity:.6;transform:scale(1.05)rotate(20deg)}}.modal.capsule-composer{flex-direction:column;width:min(460px,100%);max-height:calc(100% - 8px);display:flex}.capsule-composer-form{flex-direction:column;gap:10px;display:flex;overflow-y:auto}.capsule-composer-hero{background:var(--capsule-sky);color:var(--capsule-ink);border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex;position:relative;overflow:hidden}.capsule-composer-hero p{margin:0;font-size:12.5px;line-height:1.4;position:relative}.capsule-field{border:none;flex-direction:column;gap:4px;margin:0;padding:0;font-size:12px;font-weight:700;display:flex}.capsule-field legend{margin-bottom:4px;padding:0}.capsule-presets{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.capsule-preset{border-radius:999px;padding:3px 10px;font-size:12px;font-weight:400}.capsule-preset.is-active{color:#fff;background:#3b3392;border-color:#3b3392}.capsule-when-hint{color:var(--uhoh-muted);font-weight:400}.capsule-letter-input{resize:vertical;border-radius:var(--uhoh-radius-sm);border:1px solid var(--uhoh-border);color:#1d1d2b;background:#fdfcf7;width:100%;min-height:80px;padding:8px 10px;font-family:Georgia,Times New Roman,serif;font-size:14px}.capsule-slots{grid-template-columns:1fr 1fr;gap:8px;display:grid}.capsule-slot{border-radius:var(--uhoh-radius-sm);border:1px dashed var(--uhoh-border);background:color-mix(in srgb, var(--uhoh-input) 70%, transparent);flex-direction:column;align-items:center;gap:6px;min-width:0;padding:8px;display:flex}.capsule-slot.is-recording{border-style:solid;border-color:#c03a5a}.capsule-slot-head{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:700;display:flex}.capsule-slot-time{color:#c03a5a;align-items:center;gap:4px;font-weight:400;display:inline-flex}.capsule-rec-audio{width:100%;height:32px}.capsule-rec-round{object-fit:cover;background:#0d1a3a;border-radius:50%;width:120px;height:120px}.capsule-rec-round.is-live{box-shadow:0 0 0 3px #c03a5a}.capsule-reveal-backdrop{z-index:60;background:#06081eb8}.capsule-reveal{background:var(--capsule-sky);width:min(420px,100%);max-height:calc(100% - 8px);color:var(--capsule-ink);text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:12px;padding:24px 20px 20px;animation:.35s ease-out both capsule-reveal-in;display:flex;position:relative;overflow:hidden auto;box-shadow:0 10px 40px #00000080,inset 0 0 0 1px #a0aaff4d}@keyframes capsule-reveal-in{0%{opacity:0;transform:scale(.92)}}.capsule-reveal-close{z-index:1;color:var(--capsule-ink);cursor:pointer;background:0 0;border:none;font-size:22px;line-height:1;position:absolute;top:8px;right:10px}.capsule-reveal-art{place-items:center;min-height:90px;transition:min-height .4s;display:grid;position:relative}.capsule-reveal.is-shake .capsule-reveal-art,.capsule-reveal.is-open .capsule-reveal-art{min-height:200px}.capsule-reveal-body{text-align:left;flex-direction:column;gap:10px;width:100%;display:flex;position:relative}.capsule-reveal-body>*{animation:.55s ease-out both capsule-rise}.capsule-reveal-body>:nth-child(2){animation-delay:80ms}.capsule-reveal-body>:nth-child(3){animation-delay:.18s}.capsule-contents>*{animation:.55s ease-out both capsule-rise}.capsule-contents>:nth-child(2){animation-delay:.3s}.capsule-contents>:nth-child(3){animation-delay:.45s}@keyframes capsule-rise{0%{opacity:0;transform:translateY(14px)}}.capsule-reveal-title{text-align:center;margin:0;font-size:18px}.capsule-reveal-date{color:var(--capsule-muted);text-align:center;margin:0;font-size:12px}.capsules-panel-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.capsules-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.capsules-row{border-radius:var(--uhoh-radius-sm);background:color-mix(in srgb, var(--uhoh-input) 60%, transparent);align-items:center;gap:10px;padding:6px 8px;display:flex}.capsules-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.capsules-row-who{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.capsules-row-when{color:var(--uhoh-muted);font-size:12px}.capsules-row.is-undeliverable .capsules-row-when{color:var(--uhoh-error-text)}.capsules-dialog{width:min(460px,100vw - 32px)}.capsules-premium-note{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:8px;display:flex}.capsules-dialog .capsules-list{max-height:min(420px,60vh);overflow-y:auto}.capsules-tool-btn{position:relative}.capsules-tool-dot{width:8px;height:8px;box-shadow:0 0 0 2px var(--uhoh-btn-face);background:#14b8a6;border-radius:50%;position:absolute;top:3px;right:3px}.capsules-tool-dot.is-inline{box-shadow:none;flex:none;position:static}.capsules-row.is-new{outline:1px solid #14b8a68c}[data-theme=dark] .capsule-slot{background:#ffffff0a}[data-theme=dark] .capsules-row{background:#ffffff0d}@media (prefers-reduced-motion:reduce){.capsule-card-stars,.capsule-reveal-stars,.capsule-card.is-opened,.capsule-art *,.capsule-reveal,.capsule-reveal-body>*,.capsule-contents>*{transition:none!important;animation:none!important}}.composer[hidden]{display:none}.auth-request-bar{background:var(--uhoh-face);border-top:1px solid var(--uhoh-border);flex-direction:column;gap:8px;padding:10px 12px;display:flex}.auth-request-bar-hint{color:var(--uhoh-text);margin:0;font-size:13px}.auth-request-bar-row{gap:8px;display:flex}.auth-request-bar-row input{flex:1;min-width:0}.session-list{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);margin:0;padding:0;list-style:none}.session-row{justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.session-row+.session-row{border-top:1px solid var(--uhoh-border)}.session-info{min-width:0}.session-title{font-weight:700}.session-online{color:var(--uhoh-accent)}.reaction-bar{border-bottom:1px solid var(--uhoh-border);grid-template-columns:repeat(6,1fr);gap:2px;margin-bottom:2px;padding:2px 2px 4px;display:grid}.reaction-bar-item{aspect-ratio:1;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:100%;padding:0;display:grid}.reaction-bar-item:hover,.reaction-bar-item:focus-visible{background:#7ab83033}.reaction-bar-item.chosen{background:#7ab83059}.reaction-chips{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.reaction-chip{border:1px solid var(--uhoh-border);background:var(--uhoh-input);color:var(--uhoh-text);font-variant-numeric:tabular-nums;cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:2px 8px 2px 5px;font-size:12px;font-weight:600;display:inline-flex}.reaction-chip:hover{border-color:var(--uhoh-accent)}.reaction-chip.mine{background:var(--uhoh-accent);border-color:var(--uhoh-accent);color:#fff}.reaction-glyph{object-fit:contain;display:block}.reaction-people{flex-direction:column;gap:8px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.reaction-people li{align-items:flex-start;gap:8px;display:flex}.poll-card{flex-direction:column;gap:2px;width:min(340px,100%);padding:2px 0;display:flex}.poll-question{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1em;line-height:1.3}.poll-kind{color:var(--uhoh-muted);font-size:11px}.poll-answers{flex-direction:column;gap:2px;margin:6px 0 4px;display:flex}.poll-card[aria-busy=true] .poll-answers{opacity:.6}.poll-answer{border-radius:var(--uhoh-radius-xs);width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:16px 1fr auto;align-items:center;column-gap:8px;padding:5px 6px;font-size:.93em;line-height:1.3;display:grid;position:relative}.poll-answer:not(:disabled):hover{background:color-mix(in srgb, var(--uhoh-accent) 12%, transparent)}.poll-answer:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:-2px}.poll-answer:disabled{cursor:default}.poll-option-text{overflow-wrap:anywhere}.poll-percent{font-variant-numeric:tabular-nums;color:var(--uhoh-muted);font-size:12px;font-weight:700}.poll-bar{background:color-mix(in srgb, var(--uhoh-muted) 18%, transparent);border-radius:2px;grid-column:2/-1;height:3px;margin-top:4px;overflow:hidden}.poll-bar>span{border-radius:inherit;background:var(--uhoh-accent);height:100%;transition:width .2s ease-out;display:block}.poll-mark{border:1.5px solid var(--uhoh-border-dark);color:#fff;border-radius:50%;place-items:center;width:14px;height:14px;font-size:9px;font-weight:700;line-height:1;display:grid}.poll-answers.is-multiple .poll-mark{border-radius:4px}.poll-answer.is-chosen .poll-mark{background:var(--uhoh-accent);border-color:var(--uhoh-accent)}.poll-answer.is-chosen .poll-mark:after{content:"✓"}.poll-answer.is-right .poll-mark{background:var(--uhoh-success-text);border-color:var(--uhoh-success-text)}.poll-answer.is-right .poll-mark:after{content:"✓"}.poll-answer.is-right .poll-bar>span{background:var(--uhoh-success-text)}.poll-answer.is-wrong .poll-mark{background:var(--uhoh-error-border);border-color:var(--uhoh-error-border)}.poll-answer.is-wrong .poll-mark:after{content:"✕"}.poll-answer.is-wrong .poll-bar>span{background:var(--uhoh-error-border)}.poll-explanation{border-left:2px solid var(--uhoh-accent);color:var(--uhoh-muted);white-space:pre-wrap;margin:2px 0 4px;padding:5px 8px;font-size:12px}.poll-foot{flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:11px;display:flex}.poll-foot:empty{display:none}.poll-link{font:inherit;color:var(--msg-theirs-head);cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.poll-link:not(:disabled):hover{text-decoration:underline}.poll-link:disabled{opacity:.5;cursor:default}.poll-submit{border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));font:inherit;color:var(--uhoh-text);cursor:pointer;padding:2px 10px;font-weight:700}.poll-submit:disabled{opacity:.5;cursor:default}.poll-modal{width:min(360px,100vw - 32px);max-height:88vh;overflow-y:auto}.poll-fields{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.poll-fields>label:not(.room-setting-row){flex-direction:column;gap:4px;display:flex}.poll-fields textarea{resize:vertical;min-height:52px}.poll-fields textarea,.poll-fields select{font-weight:400}.poll-label{margin-bottom:-4px;font-weight:700}.poll-option-field{align-items:center;gap:6px;display:flex}.poll-option-field>input:not([type=radio]){flex:1;min-width:0}.poll-option-field>input[type=radio]{flex:none;width:auto;margin:0}.poll-remove{width:22px;height:22px;color:var(--uhoh-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;padding:0;font-size:16px;line-height:1}.poll-remove:hover{background:color-mix(in srgb, var(--uhoh-error-border) 14%, transparent);color:var(--uhoh-error-text)}.poll-add{align-self:flex-start;font-size:12px}.poll-voters p{overflow-wrap:anywhere}.social-settings{gap:14px;min-width:0;display:grid}.social-settings>.settings-panel-label,.social-settings .settings-hint{margin:0}.social-preference{border-bottom:1px solid var(--uhoh-border);gap:6px;padding-bottom:12px;display:grid}.social-status-editor{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-input);min-width:0;margin:0;padding:12px}.social-status-editor legend{color:var(--uhoh-muted);padding:0 5px;font-size:12px;font-weight:700}.social-status-fields,.social-form-actions{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.social-select-field{color:var(--uhoh-muted);gap:5px;font-size:12px}.social-select-control{min-width:0;display:block;position:relative}.social-select-control:after{content:"";border-right:2px solid var(--uhoh-muted);border-bottom:2px solid var(--uhoh-muted);pointer-events:none;width:6px;height:6px;position:absolute;top:50%;right:14px;transform:translateY(-70%)rotate(45deg)}.social-select-control select{appearance:none;min-height:40px;font:inherit;padding:9px 34px 9px 10px;font-size:13px;font-weight:400}.social-form-actions{gap:8px}.social-form-actions button,.social-request-actions button{box-sizing:border-box;width:100%;min-width:0;min-height:40px;font:inherit;overflow-wrap:anywhere;font-weight:700}.social-settings .secondary-btn{color:var(--uhoh-text);cursor:pointer}.social-settings button:disabled,.social-settings select:disabled{opacity:.5;cursor:default}.social-settings button:focus-visible,.social-select-control select:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.social-request{border-top:1px solid var(--uhoh-border);gap:10px;min-width:0;padding-top:14px;display:grid}.social-request-copy{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.social-request-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px;display:grid}.profile-action-row{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}.profile-action-row .profile-action-btn{width:100%;height:auto;min-height:34px;padding:6px 8px;font-size:12px;font-weight:600}.profile-action-row .profile-action-btn:disabled{opacity:.55;cursor:default}.social-relationship{white-space:nowrap;flex-wrap:nowrap;align-items:baseline;gap:4px;min-width:0;max-width:100%;padding:6px 0;display:flex}.social-relationship-label{text-overflow:ellipsis;flex:none;max-width:100%;overflow:hidden}.social-relationship>.social-profile-link{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}.social-profile-link{color:var(--uhoh-accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.social-nudge-action{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.social-nudge-action [role=status]{font-size:12px}.friendship-card{color:#34234d;text-align:center;background:linear-gradient(130deg,#f0e8ff,#d9f6ef);border-radius:20px;flex-direction:column;gap:10px;padding:32px 18px;display:flex}.friendship-card h2{overflow-wrap:anywhere;margin:8px 0}.friendship-card>strong{font-size:clamp(44px,12vw,76px);line-height:1.1}.social-nudge-toast{background:var(--uhoh-face);z-index:1500;border:2px solid #a78bfa;border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px;max-width:min(390px,92vw);padding:16px;display:flex;position:fixed;bottom:22px;right:12px;box-shadow:0 8px 36px #0003}.social-request-notice{z-index:100;position:fixed;bottom:8px;left:8px}.chat-shell{position:relative}.social-chat-mascot{z-index:50;pointer-events:none;animation:3s both social-peek;position:absolute;bottom:90px;right:0}body.social-shake{animation:.45s social-shake}.chat-shell:has(.social-chat-mascot){animation:.45s social-shake}@keyframes social-shake{20%,60%{transform:translate(-5px)}40%,80%{transform:translate(5px)}}@keyframes social-peek{0%,to{transform:translate(110%)}15%,85%{transform:translate(0)rotate(-12deg)}}@media (prefers-reduced-motion:reduce){body.social-shake,.social-chat-mascot{animation:none}.chat-shell:has(.social-chat-mascot){animation:none}}.chat-corner-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;margin-left:auto;display:flex}.chat-corner-actions .tool-icon-btn{width:32px;height:32px;min-height:32px}.chat-corner-actions .tool-icon-btn svg{width:18px;height:18px}.chat-corner-actions .tool-icon-btn:focus-visible{outline:2px solid var(--uhoh-select);outline-offset:1px}.chat-corner-actions .tool-icon-btn:disabled{opacity:.45;cursor:default}.chat-corner-actions .tool-icon-btn.is-active{background:var(--uhoh-select);border-color:var(--uhoh-border-dark);color:var(--uhoh-select-text)}.chat-corner-actions .tool-icon-btn.is-off{color:var(--uhoh-muted)}.chat-corner-actions .tool-icon-btn.is-danger:hover{color:#b3261e}[data-theme=dark] .chat-corner-actions .tool-icon-btn.is-danger:hover{color:#ff9d90}.chat-corner-actions .tool-icon-btn.chat-toy-btn{border-color:#0000;transition:transform .14s,box-shadow .14s}.chat-corner-actions .tool-icon-btn.chat-toy-btn:hover:not(:disabled){transform:translateY(-1px)rotate(-6deg)scale(1.07)}.chat-corner-actions .tool-icon-btn.chat-toy-nudge,.chat-corner-actions .tool-icon-btn.chat-toy-nudge:hover{color:#5c2c00;background:linear-gradient(#ffe066 0%,#ffb31f 58%,#f58a0b 100%);box-shadow:inset 0 1px #ffffffa6,0 2px 5px #d8760073}.chat-corner-actions .tool-icon-btn.chat-toy-nudge svg path{fill:currentColor}.chat-corner-actions .tool-icon-btn.chat-toy-snowball,.chat-corner-actions .tool-icon-btn.chat-toy-snowball:hover{color:#fff;background:linear-gradient(#8fdcff 0%,#3fa9f5 58%,#1f7fdc 100%);box-shadow:inset 0 1px #fff9,0 2px 5px #1f7fdc73}.chat-corner-actions .tool-icon-btn.chat-toy-snowball svg path{stroke-width:1.7px}@media (prefers-reduced-motion:reduce){.chat-corner-actions .tool-icon-btn.chat-toy-btn:hover:not(:disabled){transform:none}}.chat-corner-actions .chat-corner-text-btn{gap:6px;width:auto;padding:0 8px;font-size:12px;font-weight:600}.chat-corner-sep{background:var(--uhoh-border);width:1px;height:20px;margin:0 3px}.social-nudge-compact{position:relative}.social-nudge-compact>[role=status]{z-index:10;background:var(--uhoh-face);width:220px;color:var(--uhoh-text);border:1px solid var(--uhoh-border-dark);border-radius:var(--uhoh-radius-xs);padding:8px 10px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 4px 14px #00000038}.social-invitation,.social-premium-gate{width:min(420px,100vw - 28px)}.social-invitation-actions{gap:8px;display:grid}.social-invitation-actions button{min-height:40px}.social-popup-actions{gap:8px;padding:2px 10px 8px;display:flex}.social-popup-actions button{flex:1;min-height:32px}.chat-peer-info .social-relationship{overflow-wrap:anywhere;margin:3px 0;font-size:12px}.contact-details-head-text>.social-relationship,.contact-details-head-text>.social-relationship-card{margin:4px 0}.me-identity{flex:1;min-width:0}.me-identity>.status-btn{width:100%}.me-card{cursor:default;align-items:stretch;gap:0;padding:0}.me-avatar-btn,.me-status-toggle{box-shadow:none;cursor:pointer;text-align:left;-webkit-app-region:no-drag;background:0 0;border:0;align-items:center;margin:0;display:flex}.me-avatar-btn{flex:none;padding:6px 3px 6px 8px}.me-avatar-btn:disabled{cursor:default}.me-status-toggle{flex:1;gap:6px;min-width:0;padding:6px 8px 6px 3px;overflow:hidden}.me-avatar-btn:focus-visible,.me-status-toggle:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:-2px}.social-relationship-card{--tone:var(--uhoh-accent);box-sizing:border-box;border:1px solid color-mix(in srgb,var(--tone) 40%,transparent);background:linear-gradient(90deg,color-mix(in srgb,var(--tone) 22%,transparent),color-mix(in srgb,var(--tone) 4%,transparent));width:100%;min-width:0;color:var(--uhoh-text);border-radius:999px;align-items:center;gap:8px;padding:4px 10px 4px 4px;line-height:1.2;display:flex}.social-relationship-card.is-love{--tone:#e0587f}.social-relationship-badge{background:var(--uhoh-input);border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:15px;display:grid;box-shadow:0 1px 3px #0000002e}.social-relationship-text{flex-direction:column;min-width:0;display:flex}.social-relationship-text small{color:var(--uhoh-muted);font-size:10.5px;font-weight:600}.social-relationship-text strong{font-size:13px}.social-relationship-text .social-profile-link{color:var(--uhoh-text);text-align:left;text-overflow:ellipsis;white-space:nowrap;padding:0;font-size:13px;font-weight:700;text-decoration:none;overflow:hidden}.social-relationship-text .social-profile-link:hover{text-decoration:underline}.me-identity>.social-relationship-card{margin-top:6px}.smiley-pending{border-radius:var(--uhoh-radius-xs);background:var(--uhoh-face-dark);opacity:.45}.smiley-user{cursor:pointer}.user-packs-bar{border-bottom:1px solid var(--uhoh-border);flex-shrink:0;justify-content:flex-end;gap:6px;padding:6px 8px;display:flex}.user-packs-notice{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-panel);color:var(--uhoh-text);overflow-wrap:anywhere;margin:6px 0;padding:6px 8px;font-size:12px}.smiley-popover .user-packs-notice{margin:6px 8px 0}.user-packs-notice ul{margin:4px 0 0;padding-left:16px}.user-packs-backdrop{z-index:1100;position:fixed}.modal.user-packs-modal{flex-direction:column;width:min(460px,100%);max-height:calc(100vh - 24px);display:flex}.user-packs-body{flex-direction:column;gap:8px;display:flex;overflow:auto}.user-packs-muted{color:var(--uhoh-muted);margin:0;font-size:12px}.user-packs-back{align-self:flex-start}.user-packs-section-list{flex-direction:column;gap:8px;display:flex}.user-packs-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.user-packs-row{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);width:100%;color:var(--uhoh-text);text-align:left;cursor:pointer;box-sizing:border-box;align-items:center;gap:8px;padding:6px;display:flex}.user-packs-row.is-static{cursor:default}button.user-packs-row:hover{border-color:var(--uhoh-accent)}.user-packs-row-text{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.user-packs-row-text .user-packs-muted{font-size:11px}.user-packs-cover{object-fit:contain;border-radius:var(--uhoh-radius-xs);background:var(--uhoh-panel);width:40px;height:40px;color:var(--uhoh-muted);flex-shrink:0;place-items:center;font-size:11px;font-weight:700;display:grid}.user-packs-create{flex-direction:column;gap:4px;display:flex}.user-packs-create-row,.user-packs-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.user-packs-create-row input{flex:1;min-width:120px}.user-packs-drop{border-radius:var(--uhoh-radius-sm);border:2px dashed #0000;flex-direction:column;gap:8px;padding:4px;display:flex}.user-packs-drop.is-over{border-color:var(--uhoh-accent);background:#7ab8301f}.user-packs-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px;display:grid}.user-packs-grid.is-single{grid-template-columns:minmax(0,240px);justify-content:center}.user-packs-item{aspect-ratio:1;border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);place-items:center;display:grid;position:relative;overflow:hidden}.user-packs-item img{object-fit:contain;max-width:100%;max-height:100%}.user-packs-item-delete{border:1px solid var(--uhoh-border-dark);background:var(--uhoh-face);width:22px;height:22px;color:var(--uhoh-text);cursor:pointer;opacity:0;border-radius:50%;padding:0;font-size:14px;line-height:18px;position:absolute;top:2px;right:2px}.user-packs-item:hover .user-packs-item-delete,.user-packs-item-delete:focus-visible{opacity:1}.user-packs-premium{color:var(--uhoh-muted);flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0;font-size:12px;display:flex}.smiley-popover .user-packs-premium{margin:6px 8px 0}.voice-msg-wrap{flex-direction:column;gap:4px;max-width:100%;display:flex}.voice-msg-wrap .voice-msg{width:290px}.voice-msg-transcribe{border:1px solid var(--uhoh-border);width:26px;height:26px;color:var(--uhoh-text);cursor:pointer;background:#fff9;border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.voice-msg-transcribe:hover,.voice-msg-transcribe.is-open{border-color:var(--uhoh-border-dark)}.voice-msg-transcribe:disabled{cursor:progress;opacity:.6}.voice-msg-transcript{border-left:3px solid var(--uhoh-accent);border-radius:var(--uhoh-radius-xs);white-space:pre-wrap;overflow-wrap:anywhere;background:#ffffff73;flex-wrap:wrap;align-items:center;gap:6px;max-width:290px;padding:6px 8px;font-size:13px;line-height:1.4;display:flex}.voice-msg-transcript.is-muted,.voice-msg-transcript .is-muted{color:var(--uhoh-muted)}.msg-attachment.is-removed{cursor:default;opacity:.7;font-style:italic}.room-section{flex-direction:column;gap:4px;margin-top:12px;display:flex}.room-section-title{letter-spacing:.05em;text-transform:uppercase;color:var(--uhoh-muted);margin:0 0 0 2px;font-size:11px;font-weight:700}.room-section-card{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-input);flex-direction:column;gap:10px;padding:10px;display:flex}.room-section-card .room-status-editor,.room-section-card .room-info-fields{border:0;padding:0}.room-section-card .room-status-label{text-transform:none;letter-spacing:0}.room-toggle{cursor:pointer;flex-direction:row;align-items:center;gap:10px;font-weight:400;display:flex}.room-toggle-text{flex-direction:column;flex:1;gap:2px;min-width:0;font-weight:400;display:flex}.room-toggle-title{font-size:13px;font-weight:700}.room-toggle-hint{color:var(--uhoh-muted);font-size:11px;line-height:1.35}.room-toggle input[type=checkbox]{flex:none;width:16px;height:16px;margin:0}.room-slow-mode{flex:none;align-items:center;gap:6px;display:flex}.room-slow-mode input{width:64px}.room-nav-list{flex-direction:column;display:flex}.room-nav-row{border:0;border-top:1px solid var(--uhoh-border);width:100%;min-height:32px;color:var(--uhoh-text);text-align:left;cursor:pointer;background:0 0;border-radius:0;align-items:center;gap:6px;padding:4px 2px;font-size:13px;font-weight:600;display:flex}.room-nav-row:first-child{border-top:0}.room-nav-row>span:first-child{flex:1}.room-nav-row:hover{color:var(--uhoh-blue)}.room-nav-chevron{color:var(--uhoh-muted);font-size:16px}.room-members-pill{border:1px solid var(--uhoh-border);background:var(--uhoh-input);color:var(--uhoh-text);cursor:pointer;border-radius:999px;align-self:flex-start;margin-top:4px;padding:3px 10px;font-size:12px;font-weight:700}.room-members-pill:hover{color:var(--uhoh-blue)}.room-member-sort{flex-direction:column;gap:4px;display:flex}.room-member-sort select{width:100%}.room-member-group+.room-member-group{margin-top:6px}.room-member-group-title{color:var(--uhoh-muted);padding:2px 2px 4px;font-size:11px;font-weight:700}.room-member-name.has-date{flex-direction:column;align-items:flex-start;display:flex}.room-member-date{color:var(--uhoh-muted);font-size:10px;font-weight:400;text-decoration:none}.room-status-edit-row>.smiley-text-field-row{flex:1;min-width:0}.message-list.bubble-sides{gap:6px;padding:8px 10px}.message-list.bubble-sides .msg-row:not(.system-notice){border:1px solid color-mix(in srgb, var(--uhoh-border) 45%, transparent);border-radius:10px;width:fit-content;max-width:82%}.message-list.bubble-sides .msg-row.mine:not(.system-notice){margin-left:auto}.message-list.bubble-sides .msg-row.theirs:not(.system-notice){margin-right:auto}.message-list.bubble-sides .msg-head{min-width:0}html[data-theme] .message-list.bubble-sides .msg-row.has-bubble[class]{border:none;width:fit-content;max-width:82%}html[data-theme] .message-list.bubble-sides .msg-row.has-bubble.mine[class]{margin-left:auto}html[data-theme] .message-list.bubble-sides .msg-row.has-bubble.theirs[class]{margin-right:auto}.premium-bubble-preview{border:1px solid var(--uhoh-border);background:var(--message-list-bg,#fff);font-family:var(--chat-font-family);font-size:var(--chat-font-size);border-radius:10px;flex-direction:column;gap:6px;padding:12px;display:flex}.premium-bubble-preview>.premium-bubble-sample:last-child{align-self:flex-end}.premium-bubble-preview>.premium-bubble-sample:first-child{align-self:flex-start}.premium-bubble-tiles{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:8px;display:flex}.premium-bubble-tile{color:var(--uhoh-text);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px}.premium-bubble-tile[aria-checked=true]{font-weight:700}.premium-bubble-tile:focus-visible{outline:2px solid var(--uhoh-blue);outline-offset:4px;border-radius:8px}.premium-bubble-sample{max-width:100%;color:var(--chat-text-color,var(--uhoh-text));margin-top:8px;display:inline-block;position:relative}.premium-bubble-sample-text{z-index:1;position:relative}.premium-bubble-sample.is-standard{border:1px solid color-mix(in srgb, var(--uhoh-border) 45%, transparent);border-radius:10px;padding:6px 10px}.premium-bubble-sample.is-standard.is-left{background:var(--msg-theirs-bg,#f5faf6)}.premium-bubble-sample.is-standard.is-right{background:var(--msg-mine-bg,#fff)}.premium-bubble-sample.is-standard.is-outlined{border:2px solid var(--uhoh-accent)}.msg-mention{color:var(--msg-link,purple);cursor:pointer;font-family:inherit;font-weight:600;font-size:inherit;background:0 0;border:0;padding:0}.msg-mention.is-me{background:color-mix(in srgb, var(--uhoh-select,#8dc63f) 30%, transparent);border-radius:4px;padding:0 3px}.msg-mention:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:1px}.contact-name-row .contact-mention{margin-left:auto}.contact-name-row .contact-mention+.contact-unread{margin-left:0}.contact-mention{background:var(--uhoh-accent);color:#fff;text-align:center;border-radius:9px;flex:none;min-width:18px;height:18px;margin-right:4px;font-size:11px;font-weight:700;line-height:18px}.shared-media-modal{flex-direction:column;width:min(560px,100vw - 32px);height:min(640px,100vh - 48px);display:flex}.shared-media-tabs{border-bottom:1px solid var(--uhoh-border);gap:6px;padding:8px 10px;display:flex;overflow-x:auto}.shared-media-tab{border:1px solid var(--uhoh-border);background:var(--uhoh-input,#fff);color:var(--uhoh-text);font:inherit;cursor:pointer;border-radius:999px;flex:none;padding:5px 14px;font-size:12px}.shared-media-tab.is-active{background:var(--uhoh-select);border-color:var(--uhoh-select);color:var(--uhoh-select-text,#fff);font-weight:600}.shared-media-tab:focus-visible{outline:2px solid var(--uhoh-select);outline-offset:1px}.shared-media-body{flex:1;min-height:0;padding:4px;overflow-y:auto}.shared-media-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:3px;display:grid}.shared-media-tile{aspect-ratio:1;background:#1a1a1a;overflow:hidden}.shared-media-tile .msg-attachment,.shared-media-tile .msg-attachment-image,.shared-media-tile .msg-attachment-video-thumb{background:0 0;border:0;border-radius:0;width:100%;max-width:none;height:100%;margin:0;padding:0;display:block;position:relative}.shared-media-tile .msg-attachment-image img,.shared-media-tile .msg-attachment-image.is-compact img,.shared-media-tile .msg-attachment-video-thumb video,.shared-media-tile .msg-attachment-video-thumb.is-compact video{object-fit:cover;border:0;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;display:block}.shared-media-list{margin:0;padding:0;list-style:none}.shared-media-row{border-bottom:1px solid var(--uhoh-border);align-items:center;gap:8px;padding:8px 6px;display:flex}.shared-media-row-main{flex:1;min-width:0}.shared-media-byline{color:var(--uhoh-muted);margin-top:3px;font-size:11px}.shared-media-link{color:inherit;word-break:break-all;align-items:flex-start;gap:8px;text-decoration:none;display:flex}.shared-media-link>span{flex-direction:column;gap:2px;display:flex}.shared-media-footer{flex-direction:column;align-items:center;gap:6px;min-height:32px;padding:12px;display:flex}.rarity-common{--gift-a:#b6e388;--gift-b:#6fb83a}.rarity-rare{--gift-a:#8cc8ff;--gift-b:#7b6cff}.rarity-limited{--gift-a:#ffe08a;--gift-b:#ff9f1c}.rarity-legendary{--gift-a:#ff8ad8;--gift-b:#6ce3ff}.gift-art{flex:none;place-items:center;display:inline-grid;position:relative}.gift-art img{object-fit:contain;-webkit-user-select:none;user-select:none;z-index:1;width:100%;height:100%;position:relative}.gift-glow:before{content:"";background:radial-gradient(circle, color-mix(in srgb, var(--gift-a) 70%, transparent) 0%, transparent 70%);filter:blur(6px);border-radius:50%;position:absolute;inset:6%}.gift-glow.rarity-legendary:before{opacity:.55;filter:blur(14px);background:conic-gradient(#ff8ad8,#ffd36c,#8affc1,#6ce3ff,#b18aff,#ff8ad8);animation:6s linear infinite gift-spin}@keyframes gift-spin{to{transform:rotate(1turn)}}.gift-backdrop{z-index:60}.modal.gift-modal{flex-direction:column;width:min(380px,100%);max-height:calc(100% - 8px);display:flex}.gift-modal-body{flex-direction:column;gap:10px;padding:12px;display:flex;overflow-y:auto}.gift-muted{color:var(--uhoh-muted);margin:0;font-size:12px}.gift-empty{text-align:center;padding:24px 0}.gift-error{color:#b42318;margin:0;font-size:12px}.gift-notice{color:var(--uhoh-title);text-align:center;margin:0;font-size:13px;font-weight:700}.gift-petals{white-space:nowrap;font-weight:700}.gift-leaf{vertical-align:-.25em;-webkit-user-select:none;user-select:none;width:1.2em;height:1.2em}.gift-serial{background:var(--uhoh-panel);color:var(--uhoh-text);border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700}.gift-rarity{color:#1a1a1a;background:linear-gradient(90deg, var(--gift-a), color-mix(in srgb, var(--gift-b) 55%, var(--gift-a)));border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700}.gift-link-btn{box-shadow:none;color:var(--uhoh-blue);cursor:pointer;font:inherit;background:0 0;border:0;padding:2px 0;font-size:12px;text-decoration:underline}.gift-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.gift-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;display:grid}.gift-grid-compact{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}.gift-grid-compact .gift-art{width:52px!important;height:52px!important}.gift-tile{border:1px solid color-mix(in srgb, var(--gift-b) 35%, var(--uhoh-border));background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--gift-a) 45%, var(--uhoh-input)) 0%, var(--uhoh-input) 72%);cursor:pointer;box-shadow:none;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;transition:transform .12s,box-shadow .12s;display:flex;position:relative}.gift-tile:hover{box-shadow:0 4px 12px color-mix(in srgb, var(--gift-b) 30%, transparent);transform:translateY(-1px)}.gift-tile:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.gift-tile.is-selected{border-color:var(--gift-b);box-shadow:0 0 0 2px color-mix(in srgb, var(--gift-b) 45%, transparent)}.gift-tile.is-dimmed{opacity:.5}.gift-tile.rarity-legendary{background:radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--gift-a) 40%, var(--uhoh-input)) 0%, var(--uhoh-input) 72%) padding-box, conic-gradient(#ff8ad8, #ffd36c, #8affc1, #6ce3ff, #b18aff, #ff8ad8) border-box;border:1.5px solid #0000}.gift-tile-caption{color:var(--uhoh-text);font-size:12px}.gift-tile-badge{color:var(--uhoh-muted);font-size:10px;font-weight:700;position:absolute;top:4px;right:5px}.gift-shop-bar{justify-content:space-between;align-items:center;gap:8px;display:flex}.gift-wallet-chip{background:var(--uhoh-yellow);border:1px solid var(--uhoh-yellow-deep);border-radius:999px;padding:3px 10px;font-size:13px}.gift-selected,.gift-details-hero,.gift-sent{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.gift-selected{align-items:stretch}.gift-selected>.gift-art{align-self:center}.gift-selected-head{flex-direction:column;align-items:center;gap:4px;display:flex}.gift-selected-head strong,.gift-details-hero strong,.gift-sent-title{font-size:16px}.gift-details-tags{align-items:center;gap:6px;display:flex}.gift-field{color:var(--uhoh-muted);text-align:left;flex-direction:column;gap:4px;font-size:12px;display:flex}.gift-field textarea,.gift-field input{font:inherit;color:var(--uhoh-text);resize:none;font-weight:400}.gift-field textarea::placeholder{color:var(--uhoh-muted);font-weight:400}.gift-check{cursor:pointer;text-align:left;flex-direction:row;align-items:flex-start;gap:8px;font-size:13px;font-weight:400;display:flex}.gift-check input[type=checkbox]{flex:none;width:16px;min-width:0;height:16px;margin:2px 0 0;padding:0}.gift-check small{color:var(--uhoh-muted);font-size:11px;font-weight:400;display:block}.gift-premium-offer{text-align:center;background:linear-gradient(135deg, color-mix(in srgb, #b18aff 22%, var(--uhoh-input)), color-mix(in srgb, #ffd36c 22%, var(--uhoh-input)));border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.gift-premium-offer p{margin:0;font-size:12px}.gift-facts{text-align:center;flex-direction:column;gap:4px;margin:0;display:flex}.gift-facts dt{font-weight:700}.gift-facts dd{color:var(--uhoh-muted);margin:0;font-size:12px}.gift-note dd{color:var(--uhoh-text);font-size:14px;font-style:italic}.gift-on-sale{font-weight:700;color:var(--uhoh-title)!important}.gift-owner-actions{grid-template-columns:1fr 1fr;gap:6px;display:grid}.gift-confirm{background:var(--uhoh-input);border-radius:12px;flex-direction:column;gap:8px;padding:10px;display:flex}.gift-confirm p{margin:0;font-size:13px}.gift-filter{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.gift-filter button{white-space:nowrap;border-radius:999px;font-size:12px}.gift-filter button[aria-pressed=true]{background:var(--uhoh-select);color:var(--uhoh-select-text)}.profile-gifts{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-input);flex-direction:column;gap:8px;padding:10px 12px;display:flex}.profile-gifts-empty{text-align:center;flex-direction:column;align-items:center;gap:4px;padding:8px 0 6px;display:flex}.profile-gifts-empty>span{opacity:.55;filter:grayscale(.35);font-size:28px;line-height:1}.profile-gifts-head{justify-content:space-between;align-items:center;display:flex}.profile-gifts-title{align-items:center;gap:6px;font-weight:700;display:flex}.profile-gifts-title b{background:var(--uhoh-panel);border-radius:999px;padding:0 6px;font-size:11px}.chat-gift{border:1px solid color-mix(in srgb, var(--gift-b) 35%, var(--uhoh-border));cursor:pointer;width:min(100%,230px);color:var(--uhoh-text);background:radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--gift-a) 40%, var(--uhoh-input)) 0%, var(--uhoh-input) 75%);box-shadow:none;font:inherit;text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:12px 10px;display:flex}.chat-gift:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.chat-gift-label{text-transform:uppercase;letter-spacing:.04em;color:var(--uhoh-muted);font-size:11px;font-weight:700}.chat-gift-title{font-size:14px}.chat-gift-tags{gap:6px;display:flex}.chat-gift-note{font-size:13px;font-style:italic}.chat-gift-hint{color:var(--uhoh-muted);font-size:12px}.chat-gift-box{width:120px;height:120px;animation:2.4s ease-in-out infinite gift-wiggle;display:block;position:relative}.chat-gift-box:before{content:"";background:linear-gradient(160deg, var(--gift-a), var(--gift-b));border-radius:10px;position:absolute;inset:44px 18px 10px;box-shadow:inset 0 -8px 14px #0000001f}.chat-gift-lid{background:linear-gradient(160deg, color-mix(in srgb, var(--gift-a) 80%, #fff), var(--gift-b));border-radius:8px;height:22px;position:absolute;top:30px;left:12px;right:12px;box-shadow:0 3px 6px #0000001f}.chat-gift-ribbon{background:#e2384d;border-radius:3px;width:14px;position:absolute;top:30px;bottom:10px;left:53px}.chat-gift-ribbon:before,.chat-gift-ribbon:after{content:"";border:5px solid #e2384d;border-radius:50% 50% 0;width:22px;height:18px;position:absolute;top:-16px}.chat-gift-ribbon:before{right:6px;transform:rotate(-12deg)}.chat-gift-ribbon:after{border-radius:50% 50% 50% 0;left:6px;transform:rotate(12deg)}@keyframes gift-wiggle{0%,82%,to{transform:rotate(0)}86%{transform:rotate(-5deg)}90%{transform:rotate(5deg)}94%{transform:rotate(-3deg)}}.gift-pop img{animation:.7s cubic-bezier(.2,1.6,.4,1) both gift-pop}.gift-pop:after{content:"";pointer-events:none;background:repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--gift-a) 70%, transparent) 0 6deg, transparent 6deg 24deg);border-radius:50%;animation:.9s ease-out both gift-burst;position:absolute;inset:-10%}@keyframes gift-pop{0%{opacity:0;transform:scale(.2)rotate(-12deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes gift-burst{0%{opacity:.9;transform:scale(.3)rotate(0)}to{opacity:0;transform:scale(1.3)rotate(40deg)}}.petals-wallet{border:1px solid var(--uhoh-border);background:var(--uhoh-input);border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.petals-wallet-head{justify-content:space-between;align-items:center;font-weight:700;display:flex}.petals-wallet-balance{font-size:18px}.petals-top-up{align-self:flex-start}.petals-history summary{cursor:pointer;font-size:12px}.petals-history ul{flex-direction:column;gap:4px;margin:6px 0 0;padding:0;font-size:12px;list-style:none;display:flex}.petals-history li{grid-template-columns:1fr auto auto;gap:8px;display:grid}.petals-history .is-plus{color:var(--uhoh-title)}.petals-history .is-minus{color:var(--uhoh-muted)}.season-snow{pointer-events:none;z-index:2;position:absolute;inset:0;overflow:hidden}.season-snow i{width:var(--s);height:var(--s);opacity:.95;animation:snow-fall var(--t) linear var(--d) infinite;background:radial-gradient(circle,#fff 40%,#b9d3ee 100%);border-radius:50%;position:absolute;top:-12px;box-shadow:0 0 0 1px #5078aa59,0 0 4px 1px #5078aa66}@keyframes snow-fall{to{transform:translate(var(--x), calc(100vh + 24px))}}@media (prefers-reduced-motion:reduce){.gift-glow.rarity-legendary:before,.chat-gift-box,.gift-pop img,.gift-pop:after{animation:none}.season-snow{display:none}}.season-garland{z-index:3;pointer-events:none;flex:none;height:26px;margin-bottom:-14px;position:relative;overflow:hidden}.season-garland svg{display:block}.garland-bulb{animation:2.4s ease-in-out infinite garland-twinkle}.garland-bulb .garland-glow{animation:inherit;animation-name:garland-glow}@keyframes garland-twinkle{50%{opacity:.78}}@keyframes garland-glow{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.garland-bulb,.garland-bulb .garland-glow{animation:none}}.gifts-window .gift-backdrop{background:var(--uhoh-face);place-items:stretch stretch;padding:0;overflow:hidden}.gifts-window .modal.gift-modal{width:100%;height:100%;max-height:100%;box-shadow:none;border:0;border-radius:0}.gifts-window .gift-modal>.modal-title{box-sizing:border-box;-webkit-app-region:drag;min-height:38px}.gifts-window .gift-modal>.modal-title .modal-x{-webkit-app-region:no-drag}.gifts-window-mac .gift-modal>.modal-title{padding-left:78px}.gifts-window .gift-modal-body{flex:1;min-height:0;padding:16px 20px}.gifts-window .gift-grid:not(.gift-grid-compact){grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}.gifts-window .gift-selected,.gifts-window .gift-sent{width:100%;max-width:420px;margin:auto}.gifts-window .gift-details .gift-modal-body>*{width:100%;max-width:420px;margin-inline:auto}.gift-shop-bar .gift-link-btn{white-space:nowrap;flex:none}.gift-shop-bar select{min-width:0}.gift-actions>.primary-btn:only-child{flex:1}.season-egg-canvas,.season-egg-layer{pointer-events:none;z-index:20;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.season-egg-fruit{cursor:pointer;pointer-events:auto;will-change:transform;background:0 0;border:0;padding:0;position:absolute;top:0;left:0}.season-egg-fruit img{-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.season-egg-slices{width:0;height:0;position:absolute}.season-egg-slices img{width:22px;height:22px;animation:.9s cubic-bezier(.2,.7,.4,1) forwards season-egg-slice;position:absolute;top:-11px;left:-11px}@keyframes season-egg-slice{0%{transform:rotate(var(--a)) translateY(0) scale(.6);opacity:1}to{transform:rotate(var(--a)) translateY(-56px) rotate(160deg) scale(1);opacity:0}}.season-egg-sleigh{width:min(230px,62%);height:auto;animation:8s linear forwards season-egg-ride;position:absolute;top:46%;left:0}@keyframes season-egg-ride{0%{transform:translate(-100%)}to{transform:translateX(var(--ride))}}.season-countdown{z-index:21;pointer-events:none;text-align:center;color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 0 18px #ffc85abf,0 2px 6px #0009;flex-direction:column;align-items:center;gap:2px;padding:0 16px;animation:.8s cubic-bezier(.2,1.4,.4,1) .3s both season-countdown-in,.8s 11s forwards season-countdown-out;display:flex;position:absolute;top:26%;left:0;right:0;container-type:inline-size}.season-countdown-title{letter-spacing:.12em;text-transform:uppercase;opacity:.85;font-size:15px}.season-countdown-days{font-size:min(34px,9cqw);font-weight:800}.season-countdown-time{font-size:min(68px,17cqw);font-weight:900;line-height:1.05;animation:.35s ease-out season-countdown-tick}@keyframes season-countdown-in{0%{opacity:0;transform:scale(.6)}}@keyframes season-countdown-out{to{opacity:0;transform:scale(1.1)}}@keyframes season-countdown-tick{0%{transform:scale(1.06)}}.season-garland.is-party{pointer-events:none}.season-garland.is-party .garland-bulb{pointer-events:auto;cursor:pointer;animation:none}.season-garland.mode-chase .garland-bulb{animation:.9s step-end infinite garland-chase;animation-delay:calc(var(--i) * 90ms)}.season-garland.mode-rainbow svg{animation:1.6s linear infinite garland-rainbow}.season-garland.mode-flash .garland-bulb{animation:.5s step-end infinite garland-flash}.garland-bulb.is-popped{pointer-events:none}@keyframes garland-chase{0%{opacity:1}30%{opacity:.2}}@keyframes garland-rainbow{to{filter:hue-rotate(360deg)}}@keyframes garland-flash{0%{opacity:1}50%{opacity:.15}}.garland-bulb-body{transform-box:fill-box;transform-origin:50% 0}.garland-bulb.is-popped .garland-bulb-body{animation:.35s ease-out forwards garland-pop}@keyframes garland-pop{40%{opacity:1;transform:scale(1.6)}to{opacity:0;transform:scale(.2)}}.ny-decor{pointer-events:none;z-index:4;border-radius:inherit;position:absolute;inset:0;overflow:hidden}.ny-drift{filter:drop-shadow(0 -1px 2px #0a143259);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d3e2f4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 24 L0 12 C10 5 22 2 34 6 C44 9 50 12 60 10 C72 7 84 1 98 5 C108 8 114 11 120 12 L120 24 Z' fill='url(%23g)'/%3E%3Cpath d='M0 12 C10 5 22 2 34 6 C44 9 50 12 60 10 C72 7 84 1 98 5 C108 8 114 11 120 12' fill='none' stroke='%23a9c2e0' stroke-width='0.8'/%3E%3C/svg%3E") 0 100%/120px 20px repeat-x;height:20px;position:absolute;bottom:-1px;left:0;right:0}.ny-frost{opacity:.9;width:110px;height:110px;position:absolute;bottom:0}.ny-frost-left{left:0}.ny-frost-right{right:0;transform:scaleX(-1)}[data-skin=newyear] .titlebar{border-bottom:2px solid #e8b84a}[data-skin=newyear] .message-list:not(.has-wallpaper){background:radial-gradient(circle at 86% 8%,#ffecb438 0,#ffecb400 90px) 0 0/100% 100% local,radial-gradient(1.2px 1.2px at 12% 18%,#fff 60%,#0000 100%) 0 0/230px 170px local,radial-gradient(1px 1px at 38% 62%,#fff 60%,#0000 100%) 0 0/230px 170px local,radial-gradient(1.4px 1.4px at 71% 34%,#ffe9b0 60%,#0000 100%) 0 0/230px 170px local,radial-gradient(1px 1px at 88% 80%,#fff 60%,#0000 100%) 0 0/230px 170px local,radial-gradient(1px 1px at 56% 12%,#cfe3ff 60%,#0000 100%) 0 0/230px 170px local,linear-gradient(#0a1631 0%,#10234a 70%,#172f5c 100%) 0 0/100% 100% local}[data-skin=newyear] .message-list:not(.has-wallpaper) .msg-row.theirs{background:#1c325eb8}[data-skin=newyear] .message-list:not(.has-wallpaper) .msg-row.mine{background:#3a2846b8}[data-skin=newyear] .message-list{padding-bottom:14px}[data-skin=newyear] .msg-row{border-radius:6px;margin-top:4px;position:relative}[data-skin=newyear] .msg-row:before{content:"";pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10'%3E%3Cpath d='M2 6 C6 1 16 0 26 2 C36 4 40 1 52 1 C64 1 70 4 80 3 C92 2 98 0 110 2 C122 4 130 2 138 5 L138 6 C130 8 124 6 114 7 C104 9 98 6 86 7 C74 8 66 10 56 8 C46 6 40 9 28 8 C18 7 10 10 2 6 Z' fill='%23ffffff'/%3E%3Cpath d='M2 6 C10 10 18 7 28 8 C40 9 46 6 56 8 C66 10 74 8 86 7 C98 6 104 9 114 7 C124 6 130 8 138 6' fill='none' stroke='%23b9cde6' stroke-width='0.7'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:140px;max-width:60%;height:10px;position:absolute;top:-4px;left:6px}@media (prefers-reduced-motion:reduce){.ny-frost{opacity:.3}}.ny-throw{pointer-events:none;z-index:1000;position:fixed;inset:0;overflow:hidden}.ny-throw i{background:radial-gradient(circle at 34% 28%,#fff 0 22%,#f3f7fc 45%,#d6e3f2 78%,#b9cbe2 100%);border-radius:50%;width:96px;height:96px;animation:.6s cubic-bezier(.5,0,.9,.6) forwards ny-throw;position:absolute;box-shadow:inset -10px -12px 18px #6e8cb973,inset 6px 6px 10px #ffffffe6,0 6px 14px #0006}@keyframes ny-throw{0%{opacity:1;transform:translate(0)scale(1.3)rotate(0)}99%{opacity:1}to{transform:translate(var(--dx), var(--dy)) scale(var(--end)) rotate(260deg);opacity:0}}.ny-throw-splat{opacity:0;filter:drop-shadow(0 2px 4px #14285066);animation:2.6s ease-in .6s forwards ny-throw-splat;position:absolute}.ny-throw-splat svg{width:100%;height:100%;display:block}@keyframes ny-throw-splat{0%{opacity:1;transform:scale(.4)}8%{transform:scale(1.12)}14%{transform:scale(1)}65%{opacity:.95;transform:translateY(10px)scale(1)}to{opacity:0;transform:translateY(26px)scale(.96)}}.ny-hit{pointer-events:none;z-index:1000;position:fixed;inset:0;overflow:hidden}.ny-hit-splat{aspect-ratio:1;width:min(46vw,260px);transform:translate(-50%, -50%) rotate(var(--tilt));filter:drop-shadow(0 3px 6px #14285059);animation:3.6s ease-in forwards ny-splat;position:absolute}.ny-hit-splat svg{width:100%;height:100%;display:block}@keyframes ny-splat{0%{transform:translate(-50%, -50%) rotate(var(--tilt)) scale(.08);opacity:1}9%{transform:translate(-50%, -50%) rotate(var(--tilt)) scale(1.12)}13%{transform:translate(-50%, -50%) rotate(var(--tilt)) scale(1)}70%{transform:translate(-50%, calc(-50% + 18px)) rotate(var(--tilt)) scale(1);opacity:.95}to{transform:translate(-50%, calc(-50% + 46px)) rotate(var(--tilt)) scale(.96);opacity:0}}.ny-hit-caption{color:#fff;text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#0a1632d9;border-radius:999px;max-width:90%;padding:6px 14px;font-size:14px;font-weight:700;animation:3.6s forwards ny-caption;position:absolute;bottom:14%;left:50%;overflow:hidden;transform:translate(-50%)}@keyframes ny-caption{0%,8%{opacity:0}15%,80%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.ny-throw i{display:none}.ny-throw-splat{animation:2.6s forwards ny-caption}.ny-hit-splat{animation:3.6s forwards ny-caption}}.modal.music-dialog{width:min(460px,100%)}.music-body{flex-direction:column;gap:8px;display:flex}.music-sort{gap:4px;display:flex}.music-sort button{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-btn-face);color:var(--uhoh-text);cursor:pointer;flex:1;padding:5px 8px;font-weight:600}.music-sort button.is-active{background:var(--uhoh-select);color:var(--uhoh-select-text);border-color:var(--uhoh-select)}.music-list{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-input);flex-direction:column;gap:2px;height:min(380px,55vh);padding:4px;display:flex;overflow-y:auto}.music-list .empty-hint{text-align:center;padding:24px 8px}.music-row{border-radius:var(--uhoh-radius-xs);grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px;display:grid}.music-row:hover,.music-row.is-current{background:var(--uhoh-face)}.music-cover{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:var(--uhoh-face-dark);width:44px;height:44px;color:var(--uhoh-text);cursor:pointer;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.music-cover img{object-fit:cover;width:100%;height:100%}.music-cover-state{color:#fff;opacity:0;background:#00000059;place-items:center;font-size:13px;transition:opacity .12s;display:grid;position:absolute;inset:0}.music-cover:hover .music-cover-state,.music-cover:focus-visible .music-cover-state,.music-row.is-current .music-cover-state{opacity:1}.music-cover:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:1px}.music-meta{flex-direction:column;gap:1px;min-width:0;display:flex}.music-title,.music-artist{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.music-title{font-size:13px;font-weight:700}.music-artist{font-size:12px}.music-sub{color:var(--uhoh-muted);font-size:11px}.music-progress{background:var(--uhoh-face-dark);border-radius:2px;height:3px;margin-top:2px;display:block;overflow:hidden}.music-progress>span{background:var(--uhoh-accent);height:100%;display:block}.music-actions{align-items:center;gap:4px;display:flex}.music-btn{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-xs);background:linear-gradient(180deg, var(--uhoh-btn-face), var(--uhoh-btn-face-end));color:var(--uhoh-text);cursor:pointer;white-space:nowrap;padding:5px 10px;font-weight:600}.music-btn-primary{background:var(--uhoh-select);border-color:var(--uhoh-select);color:var(--uhoh-select-text)}.music-btn:disabled{opacity:.6;cursor:default}.music-btn:focus-visible,.music-report-btn:focus-visible,.music-sort button:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:1px}.music-report-btn{border-radius:var(--uhoh-radius-xs);width:28px;height:28px;color:var(--uhoh-muted);cursor:pointer;background:0 0;border:0}.music-report-btn:hover{background:var(--uhoh-face-dark);color:var(--uhoh-text)}.music-more{align-self:center;margin:6px 0}.music-report{border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-yellow);color:#1a2a10;flex-direction:column;gap:6px;padding:8px;display:flex}.music-report-reasons{flex-direction:column;gap:2px;font-size:12px;display:flex}.music-report-reasons label{cursor:pointer;align-items:center;gap:6px;display:flex}.music-report textarea{resize:vertical;min-height:40px}.music-report-actions{justify-content:flex-end;gap:6px;display:flex}.music-notice,.music-error{border-radius:var(--uhoh-radius-xs);padding:4px 6px;font-size:12px}.music-notice{background:var(--uhoh-face)}.music-error{color:#802020;background:#ffe0e0}.music-hint{color:var(--uhoh-muted);text-align:center;font-size:11px}@media (prefers-reduced-motion:reduce){.music-cover-state{transition:none}}.activity-invite{text-align:center;max-width:390px;padding:26px}.activity-invite h2,.drawing-header h2{margin:0;font-size:18px;font-weight:650}.activity-invite p{color:var(--uhoh-muted);margin:12px 0 24px;line-height:1.6}.activity-invite-art{justify-content:center;gap:6px;margin:0 auto 18px;display:flex}.activity-invite-art svg{width:64px;height:64px;stroke:var(--uhoh-accent);stroke-width:3px;stroke-linecap:round}.chat-game{-webkit-user-select:none;user-select:none;width:min(100%,290px);padding:14px 10px 8px}.chat-game-heading{align-items:center;gap:7px;font-size:13px;display:flex}.chat-game-icon{width:22px;color:var(--uhoh-muted);display:flex}.chat-game-icon svg{stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px}.chat-game-your-mark{color:var(--uhoh-muted);align-items:center;gap:5px;margin-left:auto;font-size:11px;display:flex}.chat-game-your-mark b{color:var(--uhoh-accent);font-size:15px}.chat-game-status{color:var(--uhoh-muted);margin:9px 0 15px;font-size:12px;line-height:1.5}.is-your-turn .chat-game-status{color:var(--uhoh-accent);font-weight:600}.chat-game-board{background:var(--uhoh-border);border-radius:13px;grid-template-columns:repeat(3,1fr);gap:5px;width:100%;padding:6px;display:grid}.chat-game-board .chat-game-cell{appearance:none;aspect-ratio:1;background:var(--uhoh-panel);width:100%;min-width:0;box-shadow:none;cursor:pointer;border:0;border-radius:7px;place-items:center;padding:9px;display:grid}.chat-game-cell svg{stroke:currentColor;stroke-width:3.3px;stroke-linecap:round;width:100%;height:100%}.chat-game-board .chat-game-cell:disabled{opacity:1;cursor:default}.chat-game-board .mark-X{color:var(--uhoh-accent)}.chat-game-board .mark-O{color:#c18a57}.chat-game-board .is-winning{background:color-mix(in srgb, var(--uhoh-accent) 17%, var(--uhoh-panel))}.chat-game-board .chat-game-cell:not(:disabled):hover{background:color-mix(in srgb, var(--uhoh-accent) 10%, var(--uhoh-panel))}.chat-game-cell:focus-visible,.drawing-palette button:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.chat-game-actions{flex-wrap:wrap;justify-content:center;gap:8px;min-height:28px;margin-top:13px;display:flex}.chat-game-actions button{font-size:12px}.activity-error{color:#b64639;margin:8px 0;font-size:12px;line-height:1.5}.composer-activities-icon{font-size:21px;line-height:1}.drawing-backdrop{z-index:20000}.drawing-composer{border:1px solid var(--uhoh-border);background:var(--uhoh-face);border-radius:16px;outline:none;width:min(680px,100vw - 28px);max-height:calc(100dvh - 28px);padding:20px;overflow-y:auto;box-shadow:0 24px 90px #0004}.drawing-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.drawing-header p{color:var(--uhoh-muted);margin:5px 0 0;font-size:12px}.drawing-close{color:var(--uhoh-muted);cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:24px}.drawing-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 0 15px;display:flex}.drawing-palette{flex-wrap:wrap;gap:7px;display:flex}.drawing-palette button{width:24px;height:24px;box-shadow:none;cursor:pointer;border:1px solid #0002;border-radius:50%;padding:0}.drawing-palette button[aria-pressed=true]{outline:2px solid var(--uhoh-accent);outline-offset:3px}.drawing-tool-group{align-items:center;gap:12px;display:flex}.drawing-tool-group button[aria-pressed=true]{background:var(--uhoh-accent);color:#fff}.drawing-size{color:var(--uhoh-muted);flex-direction:column;gap:2px;font-size:10px;display:flex}.drawing-paper{background:#fff;border:1px solid #dedfd9;border-radius:9px;overflow:hidden}.drawing-paper canvas{aspect-ratio:3/2;touch-action:none;cursor:crosshair;width:100%;height:auto;display:block}.drawing-paper.is-erasing canvas{cursor:cell}.drawing-footer{flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:16px;display:flex}.drawing-footer>div{flex-wrap:wrap;gap:6px;display:flex}.drawing-footer button{font-size:12px}@media (width<=480px){.drawing-composer{padding:14px}.drawing-tools{gap:13px}.drawing-footer>.primary-btn{width:100%}}.drawing-backdrop{position:fixed}.drawing-discard{z-index:20001;position:fixed;inset:0}.chat-game{--game-x:#245941;--game-o:#a45b25;border:1px solid var(--uhoh-border);background:var(--uhoh-input);width:min(100%,320px);color:var(--uhoh-text);border-radius:18px;padding:16px}[data-theme=dark] .chat-game{--game-x:#a6d889;--game-o:#ffcb84}.chat-game-heading{font-size:18px;line-height:1.35}.chat-game-player{color:var(--uhoh-muted);margin:7px 0 12px;font-size:14px;line-height:1.5}.chat-game-status{background:var(--uhoh-panel);color:var(--uhoh-text);border-radius:12px;align-items:center;gap:10px;margin:0 0 14px;padding:12px;font-size:16px;font-weight:650;line-height:1.45;display:flex;position:relative}.is-your-turn .chat-game-status{color:var(--uhoh-text);background:color-mix(in srgb,var(--game-x) 12%,var(--uhoh-input))}.chat-game-trophy{font-size:28px;line-height:1.2}.is-victory .chat-game-status{background:color-mix(in srgb,var(--game-x) 13%,var(--uhoh-input))}.is-victory .chat-game-trophy{animation:.65s ease-out game-victory-pop}.chat-game-board{background:var(--uhoh-panel);border-radius:14px;position:relative}.chat-game .chat-game-board .chat-game-cell{background:var(--uhoh-input);filter:none;opacity:1;border-radius:10px}.chat-game .chat-game-board .mark-X{color:var(--game-x)}.chat-game .chat-game-board .mark-O{color:var(--game-o)}.chat-game .chat-game-board .is-winning{background:color-mix(in srgb,var(--game-x) 13%,var(--uhoh-input))}.chat-game-winning-line{pointer-events:none;width:calc(100% - 12px);height:calc(100% - 12px);position:absolute;inset:6px;overflow:visible}.chat-game-winning-line line{stroke-width:5px;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px var(--uhoh-input));animation:.45s ease-out game-winning-stroke}.chat-game-winning-line .winner-X{stroke:var(--game-x)}.chat-game-winning-line .winner-O{stroke:var(--game-o)}.chat-game-actions{gap:10px;margin-top:16px}.chat-game-actions button{min-height:42px;color:var(--uhoh-text);border-color:var(--uhoh-border);background:var(--uhoh-panel);border-radius:22px;padding:10px 16px;font-size:14px;font-weight:600}.chat-game.is-finished .chat-game-actions button,.chat-game-actions .primary-btn{color:var(--uhoh-face);background:var(--uhoh-text);border-color:var(--uhoh-text);box-shadow:none}.drawing-header{border-bottom:1px solid var(--uhoh-border);padding-bottom:16px}.drawing-header h2{color:var(--uhoh-text);font-size:20px}.drawing-composer{background:var(--uhoh-face);color:var(--uhoh-text);border-radius:20px;padding:22px}.drawing-close{background:var(--uhoh-panel);width:36px;height:36px;color:var(--uhoh-text);border-radius:50%;font-size:22px}.drawing-tools{gap:16px;padding:18px 0}.drawing-tool-group{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);border-radius:12px;gap:12px;padding:8px 10px}.drawing-size{color:var(--uhoh-text);font-size:12px}.drawing-size>span{justify-content:space-between;gap:12px;display:flex}.drawing-size input{width:120px;accent-color:var(--uhoh-text)}.drawing-size output{font-variant-numeric:tabular-nums;font-weight:650}.drawing-brush-preview{background:#fff;border:1px solid #c7cec9;border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.drawing-brush-preview i{border-radius:50%;display:block}.drawing-palette button{width:28px;height:28px}.drawing-palette button[aria-pressed=true]{outline-color:var(--uhoh-text)}.drawing-tools button,.drawing-footer button{min-height:38px;color:var(--uhoh-text);background:var(--uhoh-panel);border-color:var(--uhoh-border);border-radius:10px}.drawing-tool-group button[aria-pressed=true],.drawing-footer>.primary-btn{color:var(--uhoh-face);background:var(--uhoh-text);border-color:var(--uhoh-text)}@keyframes game-victory-pop{0%{transform:scale(.5)rotate(-18deg)}60%{transform:scale(1.3)rotate(8deg)}to{transform:scale(1)rotate(0)}}@keyframes game-winning-stroke{0%{opacity:0;stroke-dasharray:400;stroke-dashoffset:400px}to{opacity:1;stroke-dasharray:400;stroke-dashoffset:0}}@media (width<=480px){.drawing-tools{align-items:stretch}.drawing-tool-group{justify-content:space-between;width:100%}.drawing-size{flex:1}.drawing-size input{width:100%}.drawing-composer{padding:16px}.chat-game{padding:12px}}@media (prefers-reduced-motion:reduce){.is-victory .chat-game-trophy,.chat-game-winning-line line{animation:none}}.activity-invite{color:var(--uhoh-text);background:var(--uhoh-face)}.activity-invite .modal-actions .primary-btn{background:var(--uhoh-text);color:var(--uhoh-face);border-color:var(--uhoh-text);box-shadow:none}.activity-invite-art svg{stroke:#245941}.activity-invite-art svg:last-child{stroke:#a45b25}[data-theme=dark] .activity-invite-art svg{stroke:#a6d889}[data-theme=dark] .activity-invite-art svg:last-child{stroke:#ffcb84}.drawing-brush-preview i{box-shadow:0 0 0 1px #8b9490}.drawing-composer .drawing-footer>button.primary-btn,.chat-game .chat-game-actions>button.primary-btn,.activity-invite .modal-actions>button.primary-btn{color:var(--uhoh-face);background:var(--uhoh-text);border-color:var(--uhoh-text);text-shadow:none;box-shadow:none}.attach-panel{z-index:1000;box-sizing:border-box;border:1px solid var(--uhoh-border-dark);background:var(--uhoh-face);width:300px;max-width:calc(100vw - 16px);color:var(--uhoh-text);border-radius:16px;padding:14px;position:fixed;box-shadow:0 10px 30px #00000040}.attach-panel:focus{outline:none}.attach-panel-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.attach-panel-head strong{font-size:17px}.attach-panel .attach-panel-close{width:28px;height:28px;box-shadow:none;color:var(--uhoh-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:20px;line-height:1;display:grid}.attach-panel .attach-panel-close:hover{color:var(--uhoh-text)}.attach-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.attach-panel .attach-tile{box-shadow:none;color:var(--uhoh-text);text-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:7px;padding:4px 2px;font-size:12px;font-weight:600;line-height:1.2;display:flex}.attach-tile-icon{box-sizing:border-box;border:1px solid var(--uhoh-border);background:linear-gradient(180deg,var(--uhoh-btn-face),var(--uhoh-btn-face-end));border-radius:20px;place-items:center;width:64px;height:64px;transition:transform .14s;display:grid;box-shadow:inset 0 1px #ffffff8c}.attach-panel .attach-tile:hover .attach-tile-icon{transform:translateY(-2px)}.attach-panel .attach-tile:focus-visible,.attach-panel .attach-panel-close:focus-visible{outline:2px solid var(--uhoh-select);outline-offset:1px}.attach-tile-picture{width:32px;height:32px}@media (prefers-reduced-motion:reduce){.attach-panel .attach-tile:hover .attach-tile-icon{transform:none}}.games-backdrop{z-index:20000;padding:16px;overflow:auto}.games-picker{border:1px solid var(--uhoh-border);width:min(100%,560px);max-height:calc(100dvh - 32px);color:var(--uhoh-text);background:var(--uhoh-face);text-align:left;border-radius:24px;padding:24px;overflow:auto;box-shadow:0 24px 80px #0003}.games-picker-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.games-eyebrow{letter-spacing:.07em;color:var(--uhoh-muted);font-size:11px}.games-picker h2{letter-spacing:-.7px;margin:7px 0;font-size:26px}.games-picker-header p{color:var(--uhoh-muted);margin:0 0 20px;font-size:13px;line-height:1.6}.games-close{background:var(--uhoh-panel);width:40px;height:40px;color:var(--uhoh-text);border:0;border-radius:50%;flex-shrink:0;font-size:24px}.games-catalog{gap:8px;display:grid}.games-catalog-item{text-align:left;border:1px solid var(--uhoh-border);background:var(--uhoh-input);width:100%;color:var(--uhoh-text);cursor:pointer;box-shadow:none;border-radius:15px;align-items:center;gap:12px;padding:10px;transition:border-color .15s,background .15s,transform .15s;display:flex}.games-catalog-item.is-selected{border-color:var(--game-accent,var(--uhoh-text));background:color-mix(in srgb,var(--uhoh-accent) 9%,var(--uhoh-input));outline:1px solid var(--uhoh-text)}.games-catalog-item:not(:disabled):hover{transform:translateY(-1px)}.games-art{background:color-mix(in srgb,var(--uhoh-accent) 10%,var(--uhoh-panel));width:52px;height:52px;color:var(--uhoh-text);border-radius:12px;flex:0 0 52px;place-items:center;display:grid}.games-art svg{stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:38px;height:38px}.game-art-battleship{color:#2b5963;background:#dce9e9}.game-art-word_duel{color:#725330;background:#f0e4d1}.games-catalog-copy{flex:1;min-width:0}.games-catalog-copy strong{font-size:14px;line-height:1.4;display:block}.games-catalog-copy small{color:var(--uhoh-muted);margin-top:3px;font-size:11px;line-height:1.5;display:block}.games-badge{white-space:nowrap;background:color-mix(in srgb,var(--uhoh-accent) 10%,var(--uhoh-input));color:var(--uhoh-text);border-radius:20px;padding:5px 7px;font-size:9px}.games-badge.premium{color:var(--uhoh-text);background:#edcf902e}.games-picker .games-primary,.chat-game .games-primary{border:1px solid var(--uhoh-text);background:var(--uhoh-text);min-height:44px;color:var(--uhoh-face);box-shadow:none;text-shadow:none;border-radius:13px;padding:12px 16px;font-size:14px;font-weight:600;display:block}.games-picker>.games-primary{width:100%}.games-primary:disabled{opacity:.55;cursor:default}.game-secret-input{gap:8px;margin-top:18px;font-size:13px;display:grid}.game-secret-input input{border:1px solid var(--uhoh-border);background:var(--uhoh-input);width:100%;color:var(--uhoh-text);letter-spacing:.08em;border-radius:10px;padding:12px;font-size:17px}.game-secret-input small{color:var(--uhoh-muted);font-size:11px;line-height:1.5}.chat-game{box-sizing:border-box;width:min(100%,344px);overflow:hidden}.chat-game-heading{gap:8px;font-size:17px}.game-heading-icon{flex:0 0 25px;width:25px;display:flex}.game-heading-icon svg{stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.game-premium-star{color:#a8782f;margin-left:auto;font-size:18px}.game-players{color:var(--uhoh-muted);justify-content:space-between;align-items:center;margin:15px 0;font-size:12px;display:flex}.game-players>span{align-items:center;gap:7px;display:flex}.game-players>span:nth-child(2){color:var(--uhoh-text);font-variant-numeric:tabular-nums;font-size:15px;font-weight:650}.player-dot{border-radius:50%;width:9px;height:9px}.player-X{background:var(--game-x)}.player-O{background:var(--game-o)}.game-turn-dot{background:var(--game-x);border-radius:50%;flex-shrink:0;width:7px;height:7px}.chat-game-status{box-sizing:border-box;min-height:44px;font-size:14px}.game-help{color:var(--uhoh-muted);margin:10px 0;font-size:11px;line-height:1.6}.game-rules{color:var(--uhoh-muted);margin-top:12px;font-size:11px}.game-rules summary{cursor:pointer;box-sizing:border-box;min-height:36px;padding:10px 0}.game-rules p{margin:0 0 8px;line-height:1.6}.chat-game .game-resign{min-height:36px;color:var(--uhoh-muted);background:0 0;border:0;font-size:12px}.game-resign-confirm{border:1px solid var(--uhoh-border);border-radius:12px;padding:12px;font-size:12px}.game-resign-confirm p{color:var(--uhoh-muted);line-height:1.5}.game-resign-confirm button{min-height:40px;margin-right:6px;font-size:12px}.game-result{text-align:center;isolation:isolate;flex-direction:column;align-items:center;padding:10px 5px 18px;display:flex;position:relative}.game-result-trophy{object-fit:contain;width:94px;height:94px}.game-result>strong{letter-spacing:-.5px;margin-top:6px;font-size:23px;line-height:1.3}.game-result p{color:var(--uhoh-muted);margin:7px 0 0;font-size:12px;line-height:1.5}.game-result-symbol{font-size:42px;line-height:1.5}.game-result.lost>strong{font-size:19px}.game-confetti{pointer-events:none;z-index:-1;position:absolute;inset:0;overflow:hidden}.game-confetti i{top:0;left:calc(var(--i) * 7%);background:var(--game-x);width:5px;height:9px;animation:1.5s ease-out both game-confetti-fall;animation-delay:calc(var(--i) * 22ms);border-radius:1px;position:absolute}.game-confetti i:nth-child(3n){background:#d2a454}.game-confetti i:nth-child(3n+1){background:var(--game-o)}.game-connect{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);border-radius:14px;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:6px;display:grid}.chat-game .game-connect-column{min-width:0;box-shadow:none;color:var(--game-x);opacity:1;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:stretch;gap:5px;padding:0 0 6px;display:flex}.game-drop-arrow{opacity:0;height:24px;font-size:20px;line-height:24px}.game-connect-column:not(:disabled) .game-drop-arrow{opacity:.7}.game-connect-column:not(:disabled):hover{background:color-mix(in srgb,var(--game-x) 12%,transparent)}.game-counter{aspect-ratio:1;background:var(--uhoh-input);border-radius:50%;place-items:center;width:100%;display:grid;box-shadow:inset 0 1px 3px #0002}.game-counter i{border-radius:50%;width:88%;height:88%;display:block}.game-counter.mark-X i{background:var(--game-x);box-shadow:inset 0 2px 3px #ffffff38,0 2px 2px #0002}.game-counter.mark-O i{background:var(--game-o);box-shadow:inset 0 2px 3px #ffffff38,0 2px 2px #0002}.game-counter.is-winning{outline:2px solid var(--game-x);outline-offset:0}.game-hangman-art{background:var(--uhoh-panel);border-radius:12px;align-items:center;gap:8px;padding:8px;display:flex}.game-hangman-art svg{width:65%;height:96px;color:var(--uhoh-muted)}.game-hangman-art>span{color:var(--uhoh-muted);text-align:center;font-size:11px}.game-hangman-art b{color:var(--uhoh-text);margin-top:5px;font-size:18px;display:block}.game-hangman-art circle,.game-hangman-art path:not(:first-child){animation:.2s ease-out game-piece-appear}.game-secret-word{flex-wrap:wrap;justify-content:center;gap:4px;margin:20px 0;display:flex}.game-secret-word>span{border-bottom:2px solid var(--uhoh-muted);text-align:center;width:22px;height:30px;color:var(--game-x);font-size:19px;font-weight:600;line-height:30px}.game-secret-word .revealed{border-color:var(--game-x);animation:.25s ease-out game-letter-reveal}.game-alphabet{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;display:grid}.chat-game .game-alphabet button{border:1px solid var(--uhoh-border);min-height:40px;color:var(--uhoh-text);background:var(--uhoh-panel);box-shadow:none;border-radius:8px;padding:4px;font-size:14px}.chat-game .game-alphabet .letter-hit{background:var(--game-x);border-color:var(--game-x);color:var(--uhoh-face);opacity:1}.chat-game .game-alphabet .letter-miss{opacity:.35;text-decoration:line-through}.game-checkers-board{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);border-radius:10px;grid-template-columns:repeat(8,minmax(0,1fr));padding:5px;display:grid}.chat-game .checker-square{aspect-ratio:1;width:100%;min-width:0;box-shadow:none;opacity:1;border:0;border-radius:0;place-items:center;padding:3px;display:grid}.checker-square.light{background:var(--uhoh-input)}.checker-square.dark{background:color-mix(in srgb,var(--game-x) 21%,var(--uhoh-panel))}.checker-square.selected{outline:2px solid var(--game-x);outline-offset:-2px}.checker-piece{border:2px solid #ffffff38;border-radius:50%;place-items:center;width:93%;height:93%;font-size:17px;line-height:1;animation:.2s ease-out game-piece-appear;display:grid;box-shadow:inset 0 2px 3px #ffffff40,inset 0 -3px 2px #0003,0 2px 2px #0002}.checker-piece.piece-X{background:var(--game-x);color:var(--uhoh-face)}.checker-piece.piece-O{background:var(--game-o);color:var(--uhoh-face)}.checker-square.target>i{background:var(--game-x);opacity:.55;border-radius:50%;width:27%;height:27%;display:block}.game-board-caption{color:var(--uhoh-muted);margin:13px 0 7px;font-size:11px}.game-sea{border:1px solid var(--uhoh-border);background:color-mix(in srgb,var(--game-x) 10%,var(--uhoh-panel));border-radius:12px;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:5px;display:grid}.chat-game .sea-cell{aspect-ratio:1;background:var(--uhoh-input);width:100%;min-width:0;color:var(--uhoh-text);box-shadow:none;opacity:1;border:0;border-radius:4px;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.chat-game .sea-S{background:color-mix(in srgb,var(--game-x) 44%,var(--uhoh-input));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--game-x) 70%,transparent)}.chat-game .sea-H{background:color-mix(in srgb,var(--game-o) 18%,var(--uhoh-input));color:var(--game-o)}.chat-game .sea-M{color:var(--uhoh-muted)}.chat-game .sea-cell.selected{outline:2px solid var(--game-x);outline-offset:-2px}.sea-last{animation:.5s ease-out game-shot-ripple}.game-setup-actions{flex-wrap:wrap;gap:6px;display:flex}.game-setup-actions button{min-height:40px;padding:8px;font-size:11px}.chat-game .game-setup-actions .games-primary{margin-left:auto;padding:10px;font-size:12px}.game-own-fleet{color:var(--uhoh-muted);margin-top:12px;font-size:12px}.game-own-fleet summary{cursor:pointer;padding:9px 0}.game-sea.mini{gap:2px;max-width:180px;margin-top:5px}.game-sea.mini .sea-cell{font-size:18px}.game-round-track{justify-content:center;gap:8px;margin:12px 0;display:flex}.game-round-track>span{background:var(--uhoh-panel);width:28px;height:28px;color:var(--uhoh-muted);border-radius:50%;place-items:center;font-size:12px;display:grid}.game-round-track>.current{outline:1px solid var(--game-x);color:var(--game-x)}.game-round-track>.complete{background:var(--game-x);color:var(--uhoh-face)}.game-duel>.games-primary{width:100%;margin:12px 0}.game-timer{background:var(--uhoh-panel);border-radius:8px;height:34px;position:relative;overflow:hidden}.game-timer>span{background:color-mix(in srgb,var(--game-x) 22%,var(--uhoh-panel));height:100%;transition:width .25s linear;display:block}.game-timer b{font-variant-numeric:tabular-nums;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.game-letter-rack{flex-wrap:wrap;justify-content:center;gap:5px;margin:18px 0;display:flex}.game-letter-rack>span{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);border-bottom-width:3px;border-radius:7px;place-items:center;width:32px;height:38px;font-size:18px;font-weight:600;display:grid}.game-word-form{gap:5px;display:flex}.game-word-form input{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);width:100%;min-width:0;color:var(--uhoh-text);border-radius:9px;padding:10px;font-size:14px}.game-word-form button{min-height:44px;color:var(--uhoh-text);padding:8px;font-size:12px}.game-duel .game-finish-round{width:100%;min-height:36px;color:var(--uhoh-muted);box-shadow:none;background:0 0;border:0;margin:8px 0;font-size:11px;display:block}.game-word-list{flex-wrap:wrap;gap:5px;max-height:140px;margin-top:12px;display:flex;overflow:auto}.game-word-list>span{border:1px solid var(--uhoh-border);border-radius:7px;padding:5px 7px;font-size:11px}.game-word-list b{color:var(--game-x);margin-left:5px;font-size:10px}.game-duel-progress{text-align:center;color:var(--uhoh-muted);margin-top:12px;font-size:11px}.chat-game button:focus-visible,.games-picker button:focus-visible,.games-picker input:focus-visible,.chat-game input:focus-visible{outline:2px solid var(--uhoh-accent);outline-offset:2px}.chat-game .chat-game-cell>svg{animation:.2s ease-out game-piece-appear}@keyframes game-counter-drop{0%{opacity:.2;transform:translateY(-120px)}to{opacity:1;transform:translateY(0)}}@keyframes game-piece-appear{0%{opacity:.4;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes game-letter-reveal{0%{opacity:.3;transform:rotateX(70deg)}to{opacity:1;transform:rotateX(0)}}@keyframes game-shot-ripple{0%{box-shadow:inset 0 0 0 3px var(--game-o);transform:scale(.8)}to{transform:scale(1);box-shadow:inset 0 0 #0000}}@keyframes game-confetti-fall{0%{opacity:0;transform:translateY(-10px)rotate(0)}15%{opacity:1}to{opacity:0;transform:translateY(160px)rotate(260deg)}}@media (width<=480px){.games-picker{border-radius:20px;padding:17px}.games-picker h2{font-size:23px}.games-art{flex-basis:43px;width:43px;height:43px}.games-catalog-item{gap:9px;padding:9px}.games-catalog-copy small{font-size:10px}.games-badge{padding:4px;font-size:8px}.games-picker-header p{font-size:12px}.game-connect{gap:3px;padding:4px}.chat-game{padding:12px}}@media (prefers-reduced-motion:reduce){.chat-game *,.games-picker *{transition:none!important;animation:none!important}.game-confetti{display:none}}.games-art img{object-fit:contain;width:58px;max-width:none;height:58px}.games-art{background:0 0}.games-badge{align-items:center;gap:4px;display:flex}.game-lock-icon{flex-shrink:0;width:13px;height:13px}.games-catalog-item.is-locked{background:var(--uhoh-panel);border-color:color-mix(in srgb,var(--uhoh-border) 65%,transparent)}.games-catalog-item.is-locked .games-art{filter:saturate(.4);opacity:.65}.games-catalog-item.is-locked .games-catalog-copy{opacity:.6}.games-catalog-item.is-locked:not(:disabled):hover{border-color:var(--uhoh-muted);transform:none}.games-picker{position:relative}.game-premium-notice{z-index:2;background:color-mix(in srgb,var(--uhoh-face) 94%,transparent);border-radius:inherit;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);place-items:center;padding:28px;display:grid;position:absolute;inset:0}.game-premium-notice>div{text-align:center;flex-direction:column;align-items:center;max-width:320px;display:flex}.game-premium-notice-art{place-items:center;width:108px;height:108px;margin-bottom:16px;display:grid;position:relative}.game-premium-notice-art>img{object-fit:contain;width:108px;height:108px}.game-premium-notice-art>svg{width:80px;height:80px;stroke:var(--uhoh-text);stroke-width:2px}.game-premium-notice-art>i{background:var(--uhoh-text);width:34px;height:34px;color:var(--uhoh-face);border:3px solid var(--uhoh-face);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:0;right:0}.game-premium-notice-art .game-lock-icon{width:19px;height:19px}.game-premium-notice h3{margin:15px 0 8px;font-size:23px;line-height:1.3}.game-premium-notice p{color:var(--uhoh-muted);margin:0 0 22px;font-size:13px;line-height:1.6}.game-premium-notice .games-primary{width:100%}.modal-backdrop.games-backdrop{box-sizing:border-box;z-index:20000;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed}.modal.games-picker{overscroll-behavior:contain;box-sizing:border-box;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:24px;width:min(560px,100%);max-width:560px;min-height:0;max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 24px 80px #0003}.game-premium-notice{z-index:20001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0005;border-radius:0;padding:20px;position:fixed;inset:0}.game-premium-notice>div{box-sizing:border-box;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:24px;width:min(360px,100%);max-width:360px;padding:28px;box-shadow:0 24px 80px #0003}@media (width<=480px){.modal.games-picker{border-radius:20px;padding:17px}.games-catalog-copy strong{font-size:14px}.games-catalog-copy small{font-size:11px}.games-badge{font-size:9px}.game-premium-notice>div{padding:24px}}.chat-game{white-space:normal;font-family:var(--chat-font-family,inherit)}.chat-game .game-expand{border:1px solid var(--uhoh-border);background:var(--uhoh-panel);width:100%;min-height:40px;color:var(--uhoh-text);box-shadow:none;border-radius:10px;margin-top:10px;font-size:12px;display:block}.game-expanded-sheet{overscroll-behavior:contain;box-sizing:border-box;background:var(--uhoh-face);border:1px solid var(--uhoh-border);border-radius:20px;width:min(620px,100%);max-height:calc(100dvh - 32px);padding-top:44px;position:relative;overflow-y:auto;box-shadow:0 24px 80px #0003}.game-expanded-sheet .chat-game.is-expanded{background:var(--uhoh-face);border:0;border-radius:0;width:100%;max-width:none;padding:16px}.game-expanded-close{z-index:1;position:absolute;top:7px;right:10px}.game-expanded-sheet .chat-game .game-checkers-board,.game-expanded-sheet .chat-game .game-sea{box-sizing:border-box;width:100%;max-width:540px;margin-inline:auto}.game-expanded-sheet .chat-game-heading{padding-right:26px}@media (width<=480px){.game-expanded-sheet .chat-game.is-expanded{padding:8px}.modal-backdrop.games-backdrop:has(.game-expanded-sheet){padding:6px}.game-expanded-sheet{max-height:calc(100dvh - 12px)}}.game-heading-icon{flex-basis:32px;width:32px}.game-heading-icon img{object-fit:contain;width:32px;height:32px}.game-word-form button{white-space:nowrap;flex-shrink:0;min-width:64px}.game-letter-rack{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:236px;max-width:100%;margin:18px auto;display:grid}.game-letter-rack>span{justify-self:center;width:100%;max-width:42px;height:40px}.games-category{gap:8px;margin-top:14px;display:grid}.games-category:first-of-type{margin-top:0}.games-category h3{letter-spacing:.02em;color:var(--game-ink);margin:0;font-size:13px;font-weight:700;line-height:18px}.mafia-bar{border:0;border-bottom:1px solid var(--uhoh-border,#0000001f);color:#fff;width:100%;min-height:40px;font:inherit;text-align:left;cursor:pointer;background:#b3261e;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:6px 12px;font-weight:600;display:flex}.mafia-bar-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mafia-bar-action{flex:none;text-decoration:underline}.mafia-bar:focus-visible{outline-offset:-4px;outline:2px solid #fff}.chat-game.chat-game,.modal.games-picker{--game-x:#147d69;--game-o:#df733b;--game-ink:#173d36;--game-paper:#f1f8f4;--game-raised:#fff;--game-line:#c9dfd5;--game-soft:#57756c;--game-primary:#176b55;--game-shadow:#0d352019;color:var(--game-ink);background:radial-gradient(ellipse at 0 0,#d9f2e6,transparent 55%),var(--game-paper);border:1px solid var(--game-line);box-shadow:0 8px 28px var(--game-shadow);font-family:var(--chat-font-family,inherit);text-align:left}[data-theme=dark] .chat-game.chat-game,[data-theme=dark] .modal.games-picker{--game-x:#73e1b7;--game-o:#ffb580;--game-ink:#e7f6ee;--game-paper:#142b27;--game-raised:#203b34;--game-line:#37594e;--game-soft:#b0c9bd;--game-primary:#176b55;--game-shadow:#0004;background:radial-gradient(ellipse at 0 0,#234f40,transparent 55%),var(--game-paper)}.chat-game.chat-game{box-sizing:border-box;isolation:isolate;border-radius:24px;width:min(100%,360px);max-width:100%;padding:18px;overflow:hidden}.chat-game.chat-game button,.modal.games-picker button,.game-expanded-sheet>.games-close{appearance:none;text-shadow:none;filter:none;cursor:pointer;touch-action:manipulation;letter-spacing:normal;font-family:inherit;transition:transform .16s,box-shadow .16s}.chat-game.chat-game button:disabled,.modal.games-picker button:disabled{cursor:default}.chat-game.chat-game button:not(:disabled):active,.modal.games-picker button:not(:disabled):active{box-shadow:none;transform:translateY(2px)}.chat-game.chat-game .games-primary,.modal.games-picker .games-primary,.chat-game.chat-game.is-finished .chat-game-actions button{color:#fff;text-shadow:none;background:#176b55;border:1px solid #125440;border-bottom:4px solid #104735;border-radius:14px;min-height:50px;padding:12px 18px;font-size:15px;font-weight:750;line-height:1.35;box-shadow:0 4px 12px #14523b22}.chat-game.chat-game .games-primary:not(:disabled):hover,.modal.games-picker .games-primary:not(:disabled):hover{color:#fff;background:#115d48}.chat-game.chat-game .games-primary:disabled,.modal.games-picker .games-primary:disabled{color:#fff;opacity:.7;background:#536d63;border-color:#455b52}.chat-game.chat-game .chat-game-heading{color:var(--game-ink);gap:10px;margin-bottom:16px;font-size:19px;line-height:1.3;display:flex}.game-heading-icon,.game-heading-icon img{flex-basis:42px;width:42px;height:42px}.chat-game-heading strong{flex:1}.chat-game.chat-game .game-sound-toggle{border:1px solid var(--game-line);width:44px;min-width:44px;height:44px;color:var(--game-ink);background:var(--game-raised);box-shadow:0 3px 0 var(--game-line);border-radius:14px;place-items:center;margin-left:auto;padding:0;font-size:25px;display:grid}.game-sound-toggle[aria-pressed=false]{text-decoration:line-through}.chat-game .game-players{color:var(--game-ink);grid-template-columns:1fr auto 1fr;gap:12px;margin:0 0 14px;font-size:14px;font-weight:650;display:grid}.game-players>span:first-child,.game-players>span:last-child{border:1px solid var(--game-line);background:var(--game-raised);overflow-wrap:anywhere;border-radius:12px;min-width:0;padding:10px}.game-players>span:last-child{justify-content:flex-end}.game-players>span:nth-child(2){letter-spacing:.08em;color:var(--game-soft);font-size:11px}.player-dot{box-shadow:0 0 0 3px color-mix(in srgb,currentColor 10%,transparent);flex-shrink:0}.chat-game.chat-game .chat-game-status{color:var(--game-ink);background:var(--game-raised);border:1px solid var(--game-line);border-radius:14px;min-height:48px;margin:0 0 16px;font-size:15px;line-height:1.5}.chat-game.is-your-turn .chat-game-status{border-left:4px solid var(--game-x)}.game-turn-dot{animation:1.8s ease-in-out infinite arcade-pulse}.chat-game .game-help,.chat-game .game-rules,.chat-game .game-duel-progress,.chat-game .game-board-caption{color:var(--game-soft);font-size:13px;line-height:1.6}.chat-game .game-rules summary,.chat-game .game-own-fleet summary{box-sizing:border-box;border:1px solid var(--game-line);background:var(--game-raised);min-height:44px;color:var(--game-ink);cursor:pointer;border-radius:12px;margin:10px 0;padding:12px 14px;font-size:14px;font-weight:650}.chat-game.chat-game .chat-game-actions>button,.chat-game.chat-game .game-setup-actions>button,.chat-game.chat-game .game-finish-round,.chat-game.chat-game .game-resign-confirm>button,.chat-game.chat-game .game-word-form button{background:var(--game-raised);color:var(--game-ink);border:1px solid var(--game-line);box-shadow:0 3px 8px var(--game-shadow);border-bottom-width:3px;border-radius:12px;min-height:46px;padding:10px 14px;font-size:14px;font-weight:650;line-height:1.4;text-decoration:none}.chat-game.chat-game .game-setup-actions>.games-primary,.chat-game.chat-game .chat-game-actions>.games-primary,.chat-game.chat-game.is-finished .chat-game-actions>button{color:#fff;background:#176b55;border-color:#104735}.chat-game-actions{gap:8px}.chat-game-actions>button{flex:1}.chat-game .game-setup-actions{gap:8px}.chat-game .game-setup-actions>button{flex:1}.chat-game .game-setup-actions .games-primary{flex-basis:100%;margin:0}.chat-game.chat-game .game-expand{border:1px solid var(--game-line);background:var(--game-raised);min-height:48px;color:var(--game-ink);box-shadow:0 3px 8px var(--game-shadow);border-bottom-width:3px;border-radius:12px;font-size:14px;font-weight:650}.chat-game.chat-game .chat-game-board{box-sizing:border-box;background:var(--game-line);border-radius:20px;gap:8px;padding:8px;box-shadow:inset 0 2px 8px #1d483419}.chat-game.chat-game .chat-game-board .chat-game-cell{background:var(--game-raised);border:0;border-bottom:4px solid var(--game-line);box-shadow:0 2px 5px var(--game-shadow);opacity:1;border-radius:14px;padding:16%}.chat-game .chat-game-cell>svg{filter:drop-shadow(0 3px #14382e20);animation:.38s cubic-bezier(.2,1.8,.5,1) arcade-pop}.chat-game.chat-game .chat-game-board .is-winning{background:color-mix(in srgb,var(--game-x) 20%,var(--game-raised));animation:1.6s ease-in-out infinite arcade-glow}.chat-game-winning-line{width:calc(100% - 16px);height:calc(100% - 16px);inset:8px}.chat-game .game-connect{background:linear-gradient(145deg,#21658b,#123b63);border:2px solid #326f98;border-bottom:7px solid #0b2948;border-radius:20px;gap:5px;padding:8px 7px 12px;box-shadow:0 6px 18px #123b6330}.chat-game.chat-game .game-connect-column{box-shadow:none;background:0 0;border:0;flex-direction:column;gap:6px;min-width:0;padding:0;display:flex}.game-drop-arrow{color:#bbefdd;font-size:22px}.game-counter{background:#0a2944;border:1px solid #ffffff25;box-shadow:inset 0 3px 5px #0005}.game-counter i{box-shadow:inset 0 3px 3px #ffffff5e,inset 0 -5px 2px #0003,0 2px 3px #0005}.game-counter.mark-X i{background:linear-gradient(135deg,#76dbac,#188761)}.game-counter.mark-O i{background:linear-gradient(135deg,#ffd38d,#db793d)}.game-counter.is-winning{outline-offset:-2px;outline:2px solid #fff3bd}.game-counter .just-dropped{animation:.48s cubic-bezier(.3,.4,.5,1.4) game-counter-drop}.chat-game .game-hangman-art{background:radial-gradient(at 100% 0,#f5dba8,#f8ecd5);border:1px solid #dcc9a8;border-radius:18px;padding:14px;box-shadow:inset 0 -3px #d2bb9020}.game-hangman-art svg{color:#6f5534}.game-hangman-art>span,.game-hangman-art b{color:#634b2d}.game-hangman-art b{font-size:24px}.game-secret-word>span{background:var(--game-raised);border-radius:7px 7px 0 0;width:26px;height:36px;font-size:22px}.chat-game.chat-game .game-alphabet{gap:6px}.chat-game.chat-game .game-alphabet button{background:var(--game-raised);color:var(--game-ink);border:1px solid var(--game-line);border-bottom:3px solid var(--game-line);border-radius:10px;min-height:44px;font-size:17px;font-weight:700}.chat-game.chat-game .game-alphabet .letter-hit{color:#fff;background:#176b55;border-color:#104735}.game-secret-word .revealed{animation:.4s ease-out game-letter-reveal}.chat-game .game-checkers-board{box-sizing:border-box;background:#b99064 url(/assets/checkers-wood-board-pm0EG1VG.svg) 50%/100% 100%;border:7px solid #5d3b25;border-bottom:10px solid #382315;border-radius:11px;padding:0;overflow:hidden;box-shadow:inset 0 0 0 1px #f8d8a480,0 1px 0 1px #bc9265,0 6px 14px #21130640}.chat-game.chat-game .checker-square.light,.chat-game.chat-game .checker-square.dark{background:0 0;outline:none;padding:0;position:relative;overflow:visible}.chat-game.chat-game .checker-piece{object-fit:contain;width:100%;height:100%;box-shadow:none;z-index:1;pointer-events:none;background:0 0;border:0;border-radius:0;transition:transform .18s,filter .18s;display:block;position:relative}.chat-game .checker-square.selected{background:#ffd67a20;box-shadow:inset 0 0 0 2px #ffe2a1}.checker-square.selected .checker-piece{filter:drop-shadow(0 2px 2px #27130640);transform:translateY(-3%)scale(1.06)}.chat-game .checker-square.last-move:not(.selected){box-shadow:inset 0 0 0 1.5px #f9d690b3}.chat-game .checker-square.target>i{opacity:1;background:#ffe4a5;border:1px solid #684621;width:25%;height:25%;animation:1.6s infinite arcade-pulse;box-shadow:0 0 0 3px #ffe4a535,0 1px 3px #25130566}.chat-game .checker-player{object-fit:contain;flex:none;width:24px;height:24px;margin:-4px 0}.game-invite-prompt{box-sizing:border-box;place-items:center;display:grid;overflow:auto}.modal.games-picker .game-invite-prompt>div{background:var(--game-paper);max-width:340px;color:var(--game-ink);border:1px solid var(--game-line);text-align:center;padding:24px}.game-invite-prompt h3{margin:12px 0 8px;font-size:22px;line-height:1.25}.game-invite-prompt p{color:var(--game-soft);margin:8px 0 18px;font-size:14px;line-height:1.45}.game-invite-prompt .game-prompt-name{color:var(--game-ink);font-weight:650}.game-invite-prompt .game-premium-notice-art{width:72px;height:72px;margin-inline:auto;display:block;position:relative}.game-invite-prompt .game-premium-notice-art>img{object-fit:contain;width:100%;height:100%}.game-invite-prompt .game-premium-notice-art>i{background:var(--game-raised);border-radius:50%;place-items:center;padding:5px;display:grid;position:absolute;bottom:0;right:0}.game-prompt-actions{box-sizing:border-box;gap:10px;width:100%;margin-top:20px;display:flex}.modal.games-picker .game-prompt-actions>button{border:1px solid var(--game-line);background:var(--game-raised);min-height:46px;color:var(--game-ink);border-radius:12px;flex:1;padding:10px 14px;font-size:15px;font-weight:700}.modal.games-picker .game-prompt-actions>.games-primary{color:#fff;box-shadow:none;background:#176b55;border-color:#104735;border-bottom-width:3px}.game-prompt-actions.premium-actions{flex-direction:column-reverse}.game-invite-prompt .game-secret-input{text-align:left;margin:16px 0}.game-invite-prompt .game-secret-input input{box-sizing:border-box;width:100%}.game-board-caption{justify-content:space-between;align-items:center;gap:8px;font-weight:750;display:flex}.game-board-caption>span{font-size:10px;font-weight:500}.game-ocean{box-sizing:border-box;background:#123c53 url(/assets/ocean-CBhXSBLm.webp) 50%/cover;border:1px solid #367791;border-bottom:5px solid #0d324b;border-radius:16px;padding:23px 5px 5px 23px;position:relative;overflow:hidden;box-shadow:inset 0 0 24px #031b3680,0 4px 15px #103a5320}.game-ocean .sea-axis{color:#c3e7f0;text-align:center;pointer-events:none;font-size:11px;font-weight:600;display:grid;position:absolute}.sea-axis-top{grid-template-columns:repeat(8,1fr);top:5px;left:23px;right:5px}.sea-axis-left{grid-template-rows:repeat(8,1fr);align-items:center;top:23px;bottom:5px;left:6px}.chat-game .game-ocean .game-sea{box-sizing:border-box;background:0 0;border:0;border-radius:0;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;width:100%;max-width:none;margin:0;padding:0;display:grid;position:relative}.chat-game.chat-game .game-ocean .sea-cell{aspect-ratio:1;width:100%;min-width:0;box-shadow:none;opacity:1;color:#d0f5ff;background:#6cdbef08;border:1px solid #bceaff24;border-radius:0;place-items:center;padding:0;font-size:clamp(16px,5vw,29px);display:grid;position:relative}.chat-game .game-ocean .sea-cell:not(:disabled):hover{background:#c4f5ff30;box-shadow:inset 0 0 0 2px #bceaff80}.sea-ships{pointer-events:none;filter:drop-shadow(0 3px 2px #00111e99);width:100%;height:100%;position:absolute;inset:0;overflow:visible}.ship-wake{fill:#d0f9ff24;stroke:#e5fbff50;stroke-width:2px}.ship-hull{fill:#b2d6dc;stroke:#e3faff;stroke-width:2px}.ship-deck{fill:#4b8291;stroke:#234f62;stroke-width:2px}.ship-bridge{fill:#e4f1df;stroke:#325b6c;stroke-width:2px}.ship-gun{fill:none;stroke:#daf3ed;stroke-width:7px;stroke-linecap:round}.ship-selected .ship-hull{fill:#ffdc8b;stroke:#fff1b5;stroke-width:4px}.ship-selected{filter:drop-shadow(0 0 6px #ffe4a0)}.sea-explosion{z-index:1;color:#ffd47e;text-shadow:0 0 9px #f57335;position:relative}.sea-splash{color:#c8f4ff}.sea-last .sea-explosion{animation:.6s ease-out arcade-impact}.sea-last .sea-splash{animation:.7s ease-out game-shot-ripple}.game-ocean.mini{max-width:240px;margin:8px auto}.game-ocean.mini .sea-cell{font-size:15px}.chat-game .game-round-track{gap:12px;margin:16px 0}.game-round-track>span{border:1px solid var(--game-line);background:var(--game-raised);width:38px;height:38px;color:var(--game-soft);font-size:15px;font-weight:700}.game-round-track>.current{outline:2px solid var(--game-x);outline-offset:2px;color:var(--game-ink)}.game-round-track>.complete{color:#fff;background:#176b55}.chat-game .game-timer{background:var(--game-raised);border:1px solid var(--game-line);border-radius:12px;height:40px}.game-timer>span{background:linear-gradient(90deg,#23816b,#79d5a2)}.game-timer b{color:var(--game-ink);text-shadow:0 1px 2px var(--game-raised);font-size:16px}.chat-game .game-letter-rack{perspective:600px;gap:9px;width:min(100%,310px)}.game-letter-rack>span{color:#62482b;background:linear-gradient(145deg,#fff5da,#ecd5a5);border:1px solid #d5bd8a;border-bottom:5px solid #c4a66c;border-radius:10px;max-width:none;height:48px;font-size:24px;font-weight:750;animation:.4s ease-out arcade-pop;box-shadow:0 3px 6px #563d1b17}.game-letter-rack>span:nth-child(2n){animation-delay:60ms}.chat-game .game-word-form{gap:8px}.chat-game .game-word-form input{box-sizing:border-box;min-height:48px;color:var(--game-ink);background:var(--game-raised);border:1px solid var(--game-line);border-radius:12px;font-size:16px}.chat-game.chat-game .game-finish-round{width:100%;margin:12px 0}.game-word-list>span{background:var(--game-raised);color:var(--game-ink);border-color:var(--game-line);padding:7px 10px;font-size:13px;animation:.3s ease-out arcade-pop}.chat-game .game-result{background:radial-gradient(ellipse at top,#e4edbf,transparent),var(--game-raised);color:var(--game-ink);border-radius:18px;margin-bottom:16px;padding:18px 12px}.game-result-trophy{width:116px;height:116px;animation:.7s ease-out game-victory-pop}.game-result p{color:var(--game-soft);font-size:13px}.game-result strong{font-size:25px}.game-confetti{height:100%;overflow:hidden}.modal.games-picker{border-radius:28px;padding:24px}.games-picker h2{color:var(--game-ink);font-size:28px}.games-picker .games-eyebrow,.games-picker-header p{color:var(--game-soft)}.modal.games-picker .games-catalog-item{background:var(--game-raised);border:1px solid var(--game-line);color:var(--game-ink);box-shadow:0 2px 5px var(--game-shadow);border-radius:17px;gap:12px;padding:12px}.games-catalog-copy strong{font-size:15px}.games-catalog-copy small{color:var(--game-soft);font-size:12px}.modal.games-picker .games-catalog-item.is-selected{background:color-mix(in srgb,#44ab83 10%,var(--game-raised));border:2px solid #258666;outline:none;padding:11px}.games-art,.games-art img{flex-basis:60px;width:60px;height:60px}.games-badge{white-space:nowrap;color:var(--game-ink);background:var(--game-paper);font-size:10px}.games-badge.premium{background:#d8bb7840}.games-picker .games-close{color:var(--game-ink);background:var(--game-raised);border:1px solid var(--game-line)}.game-secret-input{color:var(--game-ink)}.modal-backdrop.game-fullscreen-backdrop{background:#0d211ff0;align-items:stretch;padding:0;overflow:hidden}.game-fullscreen-backdrop .game-expanded-sheet{background:var(--uhoh-face);width:100%;max-width:none;height:100dvh;max-height:100dvh;padding:calc(env(safe-area-inset-top,0px) + 60px) max(12px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));overscroll-behavior:contain;scrollbar-gutter:stable;border:0;border-radius:0;margin:0;position:relative;overflow:auto}.game-fullscreen-backdrop .game-expanded-sheet>.games-close{z-index:2;right:max(16px,env(safe-area-inset-right,0px));top:calc(env(safe-area-inset-top,0px) + 10px);width:44px;height:44px;min-height:44px;color:var(--uhoh-text);background:var(--uhoh-face);border:1px solid var(--uhoh-border);position:fixed;box-shadow:0 2px 10px #0002}.game-fullscreen-backdrop .chat-game.chat-game.is-expanded{background:var(--game-paper);border:1px solid var(--game-line);border-radius:24px;width:min(100%,600px);max-width:600px;margin:0 auto;padding:clamp(12px,3vw,28px)}.game-fullscreen-backdrop .game-expanded-sheet .game-sea{max-width:none}.game-fullscreen-backdrop .chat-game-board,.game-fullscreen-backdrop .game-checkers-board,.game-fullscreen-backdrop .game-ocean,.game-fullscreen-backdrop .game-connect{width:100%;max-width:520px;margin-inline:auto}.game-fullscreen-backdrop .chat-game-heading{padding-right:0}.game-fullscreen-backdrop .game-alphabet{grid-template-columns:repeat(6,minmax(0,1fr))}.game-fullscreen-backdrop .game-alphabet button{min-height:50px}.chat-game.chat-game button:focus-visible,.games-picker button:focus-visible,.chat-game summary:focus-visible,.games-picker input:focus-visible,.chat-game input:focus-visible{outline-offset:3px;outline:3px solid #e5a754}@keyframes arcade-pop{0%{opacity:.2;transform:scale(.55)rotate(-8deg)}65%{transform:scale(1.08)rotate(2deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes arcade-pulse{50%{opacity:.55;transform:scale(.85)}}@keyframes arcade-glow{50%{box-shadow:inset 0 0 16px #6cce8355}}@keyframes arcade-impact{0%{opacity:0;transform:scale(.3)rotate(-30deg)}50%{transform:scale(1.6)rotate(10deg)}to{opacity:1;transform:scale(1)}}@media (width<=380px){.chat-game.chat-game{border-radius:18px;padding:12px}.chat-game.chat-game .chat-game-heading{font-size:17px}.game-heading-icon,.game-heading-icon img{flex-basis:34px;width:34px;height:34px}.modal.games-picker{padding:16px}.games-catalog-item .games-art,.games-catalog-item .games-art img{flex-basis:44px;width:44px;height:44px}.games-catalog-copy small{font-size:11px}.games-badge{padding:5px;font-size:9px}.game-players{gap:7px}.chat-game .game-players>span:first-child,.chat-game .game-players>span:last-child{padding:8px}.game-board-caption>span{display:none}}@media (prefers-reduced-motion:reduce){.chat-game.chat-game *,.modal.games-picker *{scroll-behavior:auto;transition:none!important;animation:none!important}.game-confetti{display:none}}.chat-game .sea-cell>svg{pointer-events:none;filter:drop-shadow(0 0 3px);width:76%;height:76%;overflow:visible}.game-ocean:before{content:"";pointer-events:none;background:radial-gradient(at 30% 20%,#b5fff71c,#0000 60%);animation:7s ease-in-out infinite alternate arcade-water;position:absolute;inset:0}@keyframes arcade-water{to{opacity:.4;transform:translate(3%,2%)}}@media (prefers-reduced-motion:reduce){.game-ocean:before{animation:none}}.game-fullscreen-backdrop .game-ocean.mini{max-width:240px}.chat-game.chat-game .game-expand{width:auto;min-height:32px;box-shadow:none;border-width:1px;border-radius:8px;align-items:center;margin-top:8px;padding:5px 9px;font-size:12px;display:inline-flex}.chat-game .game-rules{vertical-align:top;margin:8px 0 0 6px;display:inline-block}.chat-game .game-rules summary{border-radius:8px;min-height:32px;margin:0;padding:5px 9px;font-size:12px}.chat-game .game-rules[open]{margin-left:0;display:block}.chat-game .game-rules p{margin-top:8px}.chat-game.chat-game .chat-game-actions{justify-content:flex-start;gap:6px;margin-top:6px}.chat-game.chat-game .chat-game-actions>button{min-height:32px;box-shadow:none;border-width:1px;border-radius:8px;flex:none;padding:5px 10px;font-size:12px}.chat-game.chat-game .game-setup-actions{flex-wrap:wrap;gap:6px}.chat-game.chat-game .game-setup-actions>button,.chat-game.chat-game .game-setup-actions>.games-primary{min-height:34px;box-shadow:none;border-width:1px;border-radius:8px;flex:none;margin:0;padding:6px 9px;font-size:12px}.chat-game.chat-game .game-ocean .sea-H{background:#ba3e24cc}.chat-game.chat-game .game-ocean .sea-M{background:#88d7ec25}.chat-game .sea-explosion{color:#fff;filter:drop-shadow(0 1px 2px #7a1f15)}.chat-game .sea-splash{color:#fff;filter:drop-shadow(0 1px 2px #032e43)}.ship-sunk .ship-hull{fill:#89979e;stroke:#fff}.ship-sunk .ship-deck{fill:#515e68}.ship-strike{fill:none;stroke:#ed5a3c;stroke-width:9px;stroke-linecap:round;filter:drop-shadow(0 0 2px #fff)}.game-round-summary,.game-round-expired{border:1px solid var(--game-line);background:var(--game-raised);color:var(--game-ink);border-radius:12px;flex-direction:column;gap:6px;margin:12px 0;padding:14px;font-size:14px;display:flex}.game-round-summary>span,.game-round-expired>p{color:var(--game-soft);margin:0;font-size:13px}.chat-game.chat-game .game-finish-round{min-height:32px;box-shadow:none;border-width:1px;border-radius:8px;padding:5px 9px;font-size:12px}.web-app{height:100%;min-height:0;display:flex}.web-contacts{flex:0 0 320px;min-width:0;height:100%}.web-contacts>.window,.web-main .window{border-radius:0;width:100%}.web-main{border-left:1px solid var(--uhoh-border);flex-direction:column;flex:1;min-width:0;height:100%;display:flex;position:relative}.web-hub{flex:1;min-height:0}.web-hub[hidden]{display:none}.web-empty{color:var(--uhoh-muted);text-align:center;margin:auto;padding:24px;font-size:14px}.web-panel{z-index:5;background:var(--uhoh-face);flex-direction:column;display:flex;position:absolute;inset:0}.web-panel .settings-window,.web-panel .find-room-window{flex:1;height:auto;min-height:0}.web-panel-close{z-index:6;border:1px solid var(--uhoh-border);border-radius:var(--uhoh-radius-sm);background:var(--uhoh-btn-face);cursor:pointer;width:32px;height:32px;font-size:20px;line-height:1;position:absolute;top:6px;right:8px}.web-panel-close:focus-visible,.web-back:focus-visible{outline:2px solid var(--uhoh-blue);outline-offset:2px}.web-back{border:0;border-bottom:1px solid var(--uhoh-border);background:var(--uhoh-btn-face);text-align:left;cursor:pointer;flex:none;min-height:44px;padding:0 16px;font-size:14px;display:none}.web-login{box-sizing:border-box;height:100%;padding:16px;display:flex;overflow:auto}.web-login>.login-window{width:min(380px,100%);height:auto;max-height:none;margin:auto}.login-public-computer small{color:var(--uhoh-muted);display:block}.login-web-notice{margin-top:10px}.web-pane-failed{text-align:center;gap:12px;margin:auto;padding:24px;display:grid}@media (width<=720px){.web-contacts{flex-basis:100%}.web-main{border-left:0}.web-app[data-detail=open] .web-contacts,.web-app[data-detail=closed] .web-main{display:none}.web-back{display:block}.web-panel{top:44px}}
