@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/438aa629764e75f3-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/875ae681bfde4580-s.p.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/51251f8b9793cdb3-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/e857b654a2caa584-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Manrope Fallback;src:local("Arial");ascent-override:103.31%;descent-override:29.07%;line-gap-override:0.00%;size-adjust:103.19%}.__className_fe7774{font-family:Manrope,Manrope Fallback;font-style:normal}.__variable_fe7774{--font-sans:"Manrope","Manrope Fallback"}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(/_next/static/media/e1aab0933260df4d-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(/_next/static/media/b7387a63dd068245-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(/_next/static/media/36966cca54120369-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Space Grotesk Fallback;src:local("Arial");ascent-override:89.71%;descent-override:26.62%;line-gap-override:0.00%;size-adjust:109.69%}.__className_dd5b2f{font-family:Space Grotesk,Space Grotesk Fallback;font-style:normal}.__variable_dd5b2f{--font-display:"Space Grotesk","Space Grotesk Fallback"}:root{color-scheme:light;--background:#f5efe4;--background-strong:#ecdfca;--surface:rgba(255,252,246,0.84);--surface-strong:#fff8ee;--surface-muted:rgba(72,52,33,0.08);--foreground:#20150c;--foreground-muted:rgba(32,21,12,0.68);--accent:#d65a31;--accent-strong:#9e3415;--accent-soft:rgba(214,90,49,0.12);--border:rgba(46,29,15,0.12);--shadow:0 24px 80px rgba(92,48,18,0.14);--body-background:radial-gradient(circle at top left,rgba(214,90,49,0.18),transparent 30%),radial-gradient(circle at bottom right,rgba(52,127,96,0.16),transparent 28%),linear-gradient(180deg,#f8f1e6,#f1e4cf);--input-background:rgba(255,252,247,0.9);--composer-background:rgba(255,252,246,0.94);--message-list-background:linear-gradient(180deg,rgba(255,248,238,0.72),rgba(247,238,223,0.94));--message-background:rgba(255,255,255,0.88);--message-self-background:rgba(214,90,49,0.14);--radius-xl:32px;--radius-lg:24px;--radius-md:18px;--paw-app-height:100vh}[data-theme=dark]{color-scheme:dark;--background:#0b131b;--background-strong:#101d29;--surface:rgba(19,31,42,0.78);--surface-strong:#152433;--surface-muted:rgba(220,238,255,0.08);--foreground:#edf6ff;--foreground-muted:rgba(237,246,255,0.68);--accent:#2ea7e0;--accent-strong:#1684c0;--accent-soft:rgba(46,167,224,0.16);--border:rgba(236,247,255,0.12);--shadow:0 24px 80px rgba(0,0,0,0.34);--body-background:radial-gradient(circle at top left,rgba(46,167,224,0.22),transparent 32%),radial-gradient(circle at bottom right,rgba(73,95,255,0.16),transparent 30%),linear-gradient(180deg,#08111a,#101a24);--input-background:rgba(18,30,41,0.94);--composer-background:rgba(13,24,34,0.94);--message-list-background:linear-gradient(180deg,rgba(11,20,30,0.78),rgba(13,24,34,0.96));--message-background:rgba(22,35,48,0.92);--message-self-background:rgba(46,167,224,0.22)}*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;background:var(--body-background);color:var(--foreground);font-family:var(--font-sans),sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img,video{max-width:100%}.shell{width:min(1180px,calc(100% - 32px));margin:0 auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 18px;border:none;border-radius:999px;background:var(--foreground);color:#fffaf2;cursor:pointer;transition:transform .2s ease,opacity .2s ease,background .2s ease}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.6;cursor:not-allowed}.button.secondary{background:transparent;color:var(--foreground);border:1px solid var(--border)}.button.ghost{background:rgba(46,29,15,.06);color:var(--foreground)}.button.danger{background:linear-gradient(135deg,#c53a1a,#8f2410)}.button.accent{background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%)}.badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,248,238,.72);border:1px solid rgba(46,29,15,.08);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.card{background:var(--surface);border:1px solid rgba(255,255,255,.4);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px)}.field{width:100%;min-height:48px;padding:0 15px;border:1px solid var(--border);border-radius:16px;background:var(--input-background);color:var(--foreground)}.field:focus,.textarea:focus{outline:none;border-color:rgba(214,90,49,.5);box-shadow:0 0 0 4px rgba(214,90,49,.12)}.textarea{width:100%;min-height:112px;padding:14px 16px;resize:vertical;border:1px solid var(--border);border-radius:16px;background:var(--input-background);color:var(--foreground)}.auth-grid{display:grid;min-height:100vh;grid-template-columns:1.1fr .9fr}.auth-aside{padding:40px;display:flex;align-items:stretch}.auth-aside-panel{flex:1 1;border-radius:36px;padding:42px;background:linear-gradient(150deg,rgba(32,21,12,.86),rgba(61,43,22,.88)),linear-gradient(135deg,rgba(214,90,49,.26),transparent 60%);color:#fff6ea;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-aside-panel:after{content:"";position:absolute;inset:auto -60px -60px auto;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(255,196,118,.58),transparent 70%);filter:blur(6px)}.auth-content{display:flex;align-items:center;justify-content:center;padding:40px 20px}.auth-card{width:min(480px,100%);border-radius:var(--radius-xl);padding:34px}.auth-stack{display:grid;gap:16px}.hero{padding:28px 0 80px}.hero-nav{justify-content:space-between;gap:16px}.hero-actions,.hero-nav{display:flex;align-items:center}.hero-actions{justify-content:flex-end;gap:12px;flex-wrap:wrap}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;margin-top:52px;align-items:center}.hero-card{border-radius:36px;padding:40px}.hero-copy{display:grid;gap:18px}.hero-title{margin:0;max-width:10ch;font-family:var(--font-display),sans-serif;font-size:clamp(3.2rem,7vw,6rem);line-height:.92;letter-spacing:-.04em}.hero-lead{max-width:640px;margin:0;color:var(--foreground-muted);font-size:18px;line-height:1.7}.hero-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.hero-preview{border-radius:36px;padding:28px;background:linear-gradient(180deg,rgba(255,249,240,.95),rgba(235,223,202,.94))}.hero-preview-stack{display:grid;gap:16px}.hero-preview-card{display:grid;gap:14px;padding:20px;border-radius:24px;background:rgba(255,252,246,.72);border:1px solid rgba(46,29,15,.08)}.hero-preview-bubbles,.hero-preview-list{display:grid;gap:12px}.hero-preview-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:20px;background:rgba(255,252,246,.86)}.hero-preview-item.active{background:rgba(214,90,49,.12)}.hero-preview-chat{min-width:0;display:grid;gap:4px}.hero-preview-chat span,.hero-preview-time{color:var(--foreground-muted);line-height:1.45}.hero-preview-time{flex:0 0 auto;font-size:13px}.hero-preview-kicker{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.hero-preview-bubble{display:grid;gap:10px;max-width:min(100%,380px);padding:16px 18px;border-radius:24px;background:rgba(255,252,246,.88);border:1px solid rgba(46,29,15,.08)}.hero-preview-bubble p{margin:0;line-height:1.6}.hero-preview-bubble.self{margin-left:auto;background:rgba(214,90,49,.12)}.hero-preview-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.hero-preview-meta span{color:var(--foreground-muted);font-size:13px}.hero-note{padding:18px 20px;border-radius:22px;background:rgba(46,29,15,.05);color:var(--foreground-muted);line-height:1.6}.feature-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px}.feature-card{padding:24px;border-radius:28px}.profile-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;margin-top:52px;align-items:start}.profile-panel,.profile-shell{border-radius:36px;padding:34px}.profile-user{display:flex;align-items:center;gap:20px;margin-top:22px}.profile-avatar{display:inline-flex;align-items:center;justify-content:center;width:88px;height:88px;border-radius:28px;background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);color:#fff8ee;font-size:28px;font-weight:800;letter-spacing:.04em}.profile-handle{color:var(--foreground-muted);font-size:18px}.profile-copy{display:grid;gap:8px}.profile-title{margin:0;font-family:var(--font-display),sans-serif;font-size:clamp(2.7rem,5vw,4.6rem);line-height:.96}.profile-lead{max-width:680px;margin:24px 0 0;color:var(--foreground-muted);font-size:18px;line-height:1.65}.profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}.profile-meta-card,.profile-stat-card{display:grid;gap:8px;padding:18px;border-radius:22px;background:rgba(255,252,246,.66);border:1px solid rgba(46,29,15,.08)}.profile-meta-label{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.profile-panel-stack{display:grid;gap:14px;margin-top:22px}.profile-actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}.profile-side-text{margin:0;color:var(--foreground-muted);line-height:1.55}.profile-link-stack{display:grid;gap:10px}.profile-link-stack a{color:var(--accent-strong)}.chat-layout,.dialogs-layout,.room-layout{min-height:100vh;padding:18px}.dialogs-layout,.room-layout{overflow:hidden}.dialogs-shell{width:min(780px,100%);min-height:calc(100vh - 36px);height:calc(100vh - 36px);margin:0 auto;padding:22px;border-radius:26px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:16px;align-content:stretch}.dialogs-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.dialogs-topbar-main{min-width:0;display:grid;gap:8px}.dialogs-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.dialogs-identity{display:grid;gap:4px}.dialogs-kicker{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.dialogs-title{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:clamp(1.8rem,4vw,2.45rem);line-height:1.02}.dialogs-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.dialogs-handle{color:var(--foreground-muted)}.dialogs-action-button{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--border);border-radius:16px;background:var(--input-background);color:var(--foreground);cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}.dialogs-action-button:hover{transform:translateY(-1px);border-color:rgba(214,90,49,.28)}.dialogs-action-button.is-active{background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);border-color:transparent;color:#fff8f1}.dialogs-search{display:grid;gap:8px}.dialogs-search-label{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.dialogs-block{display:grid;gap:12px;min-height:0}.dialogs-block-dialogs{grid-template-rows:auto minmax(0,1fr)}.dialogs-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--foreground-muted);font-size:13px;letter-spacing:.08em;text-transform:uppercase}.dialogs-chat-list,.dialogs-search-results{max-height:none}.dialogs-chat-list-fill{min-height:0;height:100%;overflow-y:auto}.dialogs-chat-link{display:block}.dialogs-chat-entry{position:relative}.dialogs-chat-entry,.dialogs-chat-main{display:block;min-width:0;max-width:100%;overflow:hidden}.chat-card-meta{display:flex;align-items:flex-start;justify-content:space-between;min-width:0;max-width:100%;gap:12px}.chat-card-side{gap:10px;flex-shrink:0}.chat-card-side,.chat-card-title{display:inline-flex;align-items:center}.chat-card-title{gap:8px;flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;font-size:19px}.chat-card-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-card-kind{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px;font-weight:700;letter-spacing:0}.chat-card-preview{min-width:0;max-width:100%;margin-top:8px;color:var(--foreground-muted);line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item-unread{background:rgba(214,90,49,.1);border-color:rgba(214,90,49,.18)}.chat-item-unread .chat-card-preview,.chat-item-unread .chat-card-title{color:var(--foreground);font-weight:600}.chat-unread-badge{min-width:24px;height:24px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);color:#fff7ef;font-size:12px;font-weight:700;line-height:1}.chat-toast-stack{position:fixed;right:24px;bottom:24px;z-index:70;display:grid;gap:12px;width:min(360px,calc(100vw - 24px))}.chat-toast{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px;border-radius:24px;background:rgba(255,250,242,.96);border:1px solid rgba(46,29,15,.08);box-shadow:0 24px 60px rgba(46,29,15,.18)}.chat-toast-main{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}.chat-toast-avatar,.chat-toast-avatar-image{width:48px;height:48px;border-radius:16px;flex:0 0 auto}.chat-toast-avatar{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);color:#fff8f1;font-size:16px;font-weight:800}.chat-toast-avatar-image{object-fit:cover}.chat-toast-copy{min-width:0;display:grid;gap:4px}.chat-toast-copy span,.chat-toast-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-toast-close,.chat-toast-copy span{color:var(--foreground-muted)}.chat-toast-close{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:rgba(46,29,15,.08);cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.chat-toast-close:hover{background:rgba(214,90,49,.14);color:var(--foreground);transform:translateY(-1px)}.room-shell{position:relative;height:calc(var(--paw-app-height, 100vh) - 36px);max-height:calc(var(--paw-app-height, 100vh) - 36px);border-radius:26px;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto}.room-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(46,29,15,.08);background:var(--composer-background);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.room-back{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:var(--input-background);transition:transform .2s ease,border-color .2s ease}.room-back:hover{transform:translateY(-1px);border-color:rgba(214,90,49,.32)}.room-header-text{flex:1 1 auto;min-width:0;display:grid;gap:2px}.room-header-profile{border:none;background:transparent;color:inherit;text-align:left;cursor:pointer}.room-header-profile:hover .room-title{color:var(--accent-strong)}.room-header-profile:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 24%,transparent);outline-offset:3px;border-radius:12px}.room-header-actions{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px}.room-search-close,.room-search-toggle{flex:0 0 auto}.room-title{display:flex;align-items:center;gap:8px;font-size:21px;line-height:1.15}.room-title,.room-title>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-title>span{min-width:0}.room-subtitle{display:inline-flex;align-items:center;gap:8px;color:var(--foreground-muted);font-size:15px}.room-subtitle-typing{color:var(--accent-strong)}.room-presence-dot{width:8px;height:8px;border-radius:999px;background:rgba(32,21,12,.28);flex:0 0 auto}.room-presence-dot-online{background:#24a148;box-shadow:0 0 0 4px rgba(36,161,72,.14)}.room-presence-dot-typing{background:var(--accent);box-shadow:0 0 0 4px rgba(214,90,49,.16)}.room-search-panel{position:sticky;top:71px;z-index:2;display:grid;gap:10px;padding:10px 16px 12px;border-bottom:1px solid rgba(46,29,15,.08);background:color-mix(in srgb,var(--composer-background) 96%,white 4%);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.room-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.room-search-input{width:100%;min-width:0;padding:11px 14px;border:1px solid var(--border);border-radius:16px;background:var(--input-background);color:var(--foreground);font:inherit;font-size:15px;line-height:1.3}.room-search-input:focus{outline:none;border-color:rgba(214,90,49,.34);box-shadow:0 0 0 3px rgba(214,90,49,.12)}.room-search-results{display:grid;gap:8px;max-height:min(40vh,360px);overflow-y:auto;overscroll-behavior:contain}.room-search-state{padding:10px 2px;color:var(--foreground-muted);font-size:14px}.room-search-state-error{color:var(--accent-strong)}.room-search-result{display:grid;gap:6px;padding:11px 12px;border:1px solid rgba(46,29,15,.08);border-radius:16px;background:color-mix(in srgb,var(--surface) 82%,white 18%);color:inherit;text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}.room-search-result:hover{transform:translateY(-1px);border-color:rgba(214,90,49,.22);background:color-mix(in srgb,var(--surface) 70%,white 30%)}.room-search-result-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;color:var(--foreground-muted)}.room-search-result-meta strong{min-width:0;color:var(--foreground);font-size:14px}.room-search-result-text{display:block;color:var(--foreground);font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-stream{position:relative;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.room-stream .message-list{min-height:100%;overflow:visible}.room-history-loader{position:sticky;top:12px;z-index:1;justify-self:center;padding:8px 12px;border-radius:999px;background:rgba(255,252,246,.94);border:1px solid rgba(46,29,15,.08);box-shadow:0 12px 34px rgba(46,29,15,.08);color:var(--foreground-muted);font-size:12px}.room-scroll-bottom{position:absolute;right:20px;bottom:calc(90px + env(safe-area-inset-bottom));z-index:4;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:none;border-radius:999px;background:linear-gradient(135deg,rgba(214,90,49,.96),rgba(158,52,21,.98));color:#fff8f1;box-shadow:0 20px 44px rgba(122,46,19,.24);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.room-scroll-bottom:hover{transform:translateY(-1px);box-shadow:0 22px 48px rgba(122,46,19,.28)}.room-composer{position:sticky;bottom:0;z-index:3;min-width:0;max-width:100%;overflow:hidden;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(46,29,15,.08);background:var(--composer-background);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.room-composer-stack{display:grid;gap:8px;min-width:0;max-width:100%}.room-reply-draft{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-left:3px solid var(--accent);border-radius:14px;background:color-mix(in srgb,var(--accent) 10%,transparent)}.room-reply-copy{display:grid;min-width:0;gap:3px;border:none;background:transparent;color:inherit;text-align:left;cursor:pointer}.room-reply-copy span,.room-reply-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-reply-copy strong{color:var(--accent-strong);font-size:12px}.room-reply-copy span{color:var(--foreground-muted);font-size:13px}.room-reply-remove{flex:0 0 auto}.room-composer-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;min-width:0;max-width:100%;gap:8px;align-items:end}.room-readonly-composer{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:var(--input-background);color:var(--foreground)}.room-readonly-composer span{color:var(--foreground-muted);font-size:14px}.composer-textarea{width:100%;min-height:48px;max-height:160px;padding:13px 15px;border:1px solid var(--border);border-radius:18px;background:var(--input-background);color:var(--foreground);resize:none;overflow-y:auto;font-size:17px;line-height:1.45}.composer-editor{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.composer-editor:empty:before{content:attr(data-placeholder);color:var(--foreground-muted);pointer-events:none}.composer-editor .apple-emoji{vertical-align:-.2em}.composer-emoji,.composer-emoji img{pointer-events:none;-webkit-user-select:none;user-select:none}.voice-recorder-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(214,90,49,.18);border-radius:16px;background:color-mix(in srgb,var(--accent) 8%,var(--surface) 92%)}.voice-video-note-preview{width:132px;height:132px;flex:0 0 132px;border-radius:999px;object-fit:cover;background:#0f1720;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}.voice-video-note-preview-placeholder{background:radial-gradient(circle at 36% 32%,rgba(255,255,255,.18),transparent 32%),linear-gradient(145deg,rgba(214,90,49,.32),rgba(46,29,15,.92))}.voice-recorder-meta{min-width:0;display:grid;gap:4px}.voice-recorder-title{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700}.voice-recording-dot{width:9px;height:9px;border-radius:999px;background:#d33c2f;box-shadow:0 0 0 6px rgba(211,60,47,.14)}.voice-recorder-subtitle{color:var(--foreground-muted);font-size:14px}.voice-recording-overlay{position:fixed;left:50%;top:50%;z-index:28;width:min(360px,calc(100vw - 32px));pointer-events:none;transform:translate(-50%,-54%)}.voice-recording-overlay-card{position:relative;display:grid;justify-items:center;gap:14px;padding:22px 22px 18px;border-radius:28px;background:rgba(255,251,245,.94);border:1px solid rgba(46,29,15,.08);box-shadow:0 28px 80px rgba(15,23,32,.22);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:auto}.voice-recording-overlay-preview{width:min(240px,calc(100vw - 120px));aspect-ratio:1;border-radius:999px;object-fit:cover;background:#0f1720;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 20px 44px rgba(15,23,32,.24)}.voice-recording-overlay-preview.is-mirrored{transform:scaleX(-1)}.voice-recording-overlay-copy{display:grid;justify-items:center;gap:6px;text-align:center}.voice-recording-overlay-copy strong{font-size:20px;font-weight:800}.voice-recording-overlay-cancel{position:absolute;top:14px;right:14px;color:#120a06;background:rgba(255,251,245,.92);box-shadow:0 10px 24px rgba(15,23,32,.14)}.voice-recording-overlay-cancel:hover{color:#120a06;background:rgba(18,10,6,.08)}.voice-recording-overlay-switch{position:absolute;top:14px;left:14px;color:#120a06;background:rgba(255,251,245,.92);box-shadow:0 10px 24px rgba(15,23,32,.14)}.voice-recording-overlay-switch:hover{color:#120a06;background:rgba(18,10,6,.08)}.composer-textarea:focus{outline:none;border-color:rgba(214,90,49,.5);box-shadow:0 0 0 4px rgba(214,90,49,.12)}.room-preview{margin-top:2px}.chat-shell{display:grid;grid-template-columns:360px 1fr;min-height:calc(100vh - 36px);gap:16px}.chat-main,.chat-sidebar{border-radius:28px;overflow:hidden}.chat-sidebar{padding:18px}.chat-main{display:grid;grid-template-rows:auto 1fr auto}.chat-list,.message-list{display:grid;gap:10px;overflow:auto}.chat-list{align-content:start;grid-auto-rows:max-content;max-height:calc(100vh - 260px);padding-right:4px}.message-list{padding:18px;align-content:start;background:var(--message-list-background);overflow-x:hidden}.chat-item,.search-item{padding:14px;border-radius:18px;border:1px solid transparent;background:color-mix(in srgb,var(--surface-strong) 72%,transparent);cursor:pointer;transition:border-color .2s ease,transform .2s ease}.chat-item:hover,.search-item:hover{transform:translateY(-1px);border-color:rgba(214,90,49,.28)}.chat-item.active{background:rgba(214,90,49,.12);border-color:rgba(214,90,49,.28)}.message-row{display:flex;align-items:flex-start;max-width:100%;min-width:0}.message-row.self{justify-content:flex-end}.message-row.is-highlighted .message-bubble{animation:reply-highlight 1.4s ease}@keyframes reply-highlight{0%,to{box-shadow:0 0 0 rgba(214,90,49,0)}30%{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}}.message-bubble{display:inline-flex;flex-direction:column;width:fit-content;min-width:0;max-width:min(500px,68%);padding:10px 12px;border-radius:17px;background:var(--message-background);border:1px solid rgba(46,29,15,.08);font-size:17px}.message-row.self .message-bubble{background:var(--message-self-background)}.message-bubble.uploading{border-style:dashed;border-color:rgba(214,90,49,.28)}.message-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:100%;align-items:center;gap:8px}.message-meta>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-name-with-badge{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%}.user-name-with-badge>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-owner-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:18px;padding:2px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px;font-weight:700;line-height:1.1;letter-spacing:.02em;text-transform:lowercase}.message-meta-actions{justify-content:flex-end;min-width:0;gap:6px}.message-meta-actions,.message-status{display:inline-flex;align-items:center}.message-status{justify-content:center;min-width:18px;color:var(--foreground-muted);font-size:15px;font-weight:700;letter-spacing:-.08em}.message-status-read{color:var(--accent-strong)}.message-edited{color:var(--foreground-muted);font-size:14px}.message-action{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:rgba(46,29,15,.08);color:var(--foreground-muted);cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.message-action:hover{background:rgba(214,90,49,.14);color:var(--foreground);transform:translateY(-1px)}.message-reply-preview{display:grid;gap:3px;max-width:100%;margin-top:9px;padding:8px 10px;border:none;border-left:3px solid var(--accent);border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,transparent);color:inherit;text-align:left;cursor:pointer}.message-reply-preview:hover{background:color-mix(in srgb,var(--accent) 16%,transparent)}.message-reply-author,.message-reply-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-author{color:var(--accent-strong);font-size:14px;font-weight:800}.message-reply-text{color:var(--foreground-muted);font-size:15px;line-height:1.25}.message-text{margin:7px 0 0;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.message-link{color:var(--accent-strong);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.message-link:hover{color:var(--accent)}.attachments{display:grid;width:fit-content;max-width:100%;justify-items:start;gap:8px;margin-top:10px}.pending-attachments{gap:8px}.pending-attachment{display:grid;gap:4px;padding:12px 14px;border-radius:16px;border:1px dashed rgba(46,29,15,.12);background:rgba(255,252,246,.72)}.pending-attachment-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-attachment-meta{color:var(--foreground-muted);font-size:13px}.message-progress{display:grid;gap:8px;margin-top:12px}.message-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--foreground-muted);font-size:13px}.message-progress-track{overflow:hidden;height:8px;border-radius:999px;background:rgba(46,29,15,.08)}.message-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);transition:width .2s ease}.attachment-card{display:grid;max-width:min(100%,300px);padding:10px;border-radius:14px;background:rgba(46,29,15,.05);box-sizing:border-box}.attachment-file-card{width:min(100%,300px)}.attachment-audio-card{width:min(100%,320px);gap:10px}.attachment-audio-meta{display:grid;gap:4px;color:var(--foreground-muted);font-size:13px}.attachment-audio-player{width:100%;min-width:0;height:42px}.attachment-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-media-button{position:relative;width:min(100%,300px);padding:0;overflow:hidden;border:none;cursor:zoom-in}.attachment-media-button img,.attachment-media-button video{display:block;width:100%}.attachment-media-grid{display:grid;width:min(100%,336px);max-width:100%;overflow:hidden;gap:2px;border-radius:14px;grid-auto-flow:dense}.attachment-media-grid-1{width:min(100%,320px)}.attachment-media-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:168px}.attachment-media-grid-3,.attachment-media-grid-4,.attachment-media-grid-5,.attachment-media-grid-many{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:66px}.attachment-media-grid-3 .attachment-tile:first-child{grid-column:span 4;grid-row:span 2}.attachment-media-grid-3 .attachment-tile:not(:first-child){grid-column:span 2}.attachment-media-grid-4 .attachment-tile{grid-column:span 3;grid-row:span 2}.attachment-media-grid-5 .attachment-tile:first-child{grid-column:span 4;grid-row:span 2}.attachment-media-grid-5 .attachment-tile:nth-child(2),.attachment-media-grid-5 .attachment-tile:nth-child(3){grid-column:span 2}.attachment-media-grid-5 .attachment-tile:nth-child(4),.attachment-media-grid-5 .attachment-tile:nth-child(5){grid-column:span 3}.attachment-media-grid-many .attachment-tile:nth-child(6n+1){grid-column:span 4;grid-row:span 2}.attachment-media-grid-many .attachment-tile:nth-child(6n+2),.attachment-media-grid-many .attachment-tile:nth-child(6n+3),.attachment-media-grid-many .attachment-tile:nth-child(6n+4),.attachment-media-grid-many .attachment-tile:nth-child(6n+5),.attachment-media-grid-many .attachment-tile:nth-child(6n+6){grid-column:span 2}.attachment-tile{width:100%;max-width:none;height:100%;border-radius:0}.attachment-media-grid-1 .attachment-tile{height:auto;aspect-ratio:4/3}.attachment-tile img,.attachment-tile video{width:100%;height:100%;object-fit:cover}.attachment-video-note-button{width:min(100%,220px);aspect-ratio:1;border-radius:999px;background:#111;box-shadow:0 16px 32px rgba(15,23,32,.14);transition:transform .18s ease,width .18s ease,box-shadow .18s ease}.attachment-video-note-button video{width:100%;height:100%;object-fit:cover}.attachment-video-note-button.is-expanded{width:min(100%,300px);box-shadow:0 24px 42px rgba(15,23,32,.2);transform:scale(1.04)}.attachment-video-note-button:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(16,10,5,.34));pointer-events:none}.attachment-video-note-badge{position:absolute;left:50%;bottom:14px;z-index:1;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:rgba(13,8,4,.72);color:rgba(255,251,245,.96);font-size:12px;font-weight:700;letter-spacing:.01em}.attachment-video-note-play{position:absolute;top:50%;left:50%;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:999px;transform:translate(-50%,-50%);background:rgba(13,8,4,.58);color:rgba(255,251,245,.98);font-size:28px;line-height:1;padding-left:4px;transition:opacity .16s ease}.attachment-video-note-play.is-hidden{opacity:0}.pending-video-note{cursor:default}.attachment-video-button:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(16,10,5,.34));pointer-events:none}.attachment-video-badge{position:absolute;right:12px;bottom:12px;z-index:1;padding:6px 10px;border-radius:999px;background:rgba(16,10,5,.72);color:#fffaf2;font-size:12px;letter-spacing:.04em}.chat-attachments-overlay{position:fixed;inset:0;z-index:38;display:grid;place-items:center;padding:24px;background:rgba(13,8,4,.48);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.chat-attachments-panel{width:min(920px,100%);max-height:min(820px,calc(var(--paw-app-height, 100vh) - 48px));display:flex;flex-direction:column;gap:14px;overflow:hidden;padding:18px;border:1px solid var(--border);border-radius:28px;background:color-mix(in srgb,var(--surface-strong) 96%,transparent);box-shadow:0 24px 80px rgba(20,11,4,.28)}.chat-attachments-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:56px}.chat-attachments-header div{display:grid;min-width:0;gap:3px}.chat-attachments-header span{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.chat-attachments-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px}.channel-settings-panel{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--surface-strong) 78%,transparent)}.channel-settings-copy{display:grid;gap:4px}.channel-settings-copy span{color:var(--foreground-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.channel-settings-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.channel-settings-link .button,.channel-settings-link .field{min-height:38px;border-radius:12px;font-size:13px}.channel-settings-link .button{padding:0 12px}.chat-attachments-tabs{display:grid;gap:2px;padding:2px 0}.chat-attachments-tab{min-width:0;min-height:38px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;padding:8px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--foreground);cursor:pointer;font-size:14px;line-height:1.1;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}.chat-attachments-tab:hover{background:var(--surface-muted)}.chat-attachments-category-icon{display:grid;place-items:center;width:24px;height:24px;color:var(--foreground-muted)}.chat-attachments-category-copy{min-width:0}.chat-attachments-category-copy strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500}.chat-attachments-tab small{min-width:20px;padding:2px 5px;border-radius:999px;background:color-mix(in srgb,var(--surface-strong) 76%,transparent);color:var(--foreground-muted);font-size:11px;line-height:1.2;text-align:center}.chat-attachments-tab.is-active{border-color:transparent;background:var(--accent-soft);color:var(--accent-strong);box-shadow:none}.chat-attachments-tab.is-active .chat-attachments-category-icon{color:var(--accent-strong)}.chat-attachments-tab.is-active small{background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent-strong)}.chat-attachments-content{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px}.chat-attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.chat-attachment-tile{position:relative;aspect-ratio:1;overflow:hidden;border:none;border-radius:18px;background:var(--surface-muted);cursor:pointer}.chat-attachment-tile img,.chat-attachment-tile video{width:100%;height:100%;display:block;object-fit:cover}.chat-attachment-video-badge{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:999px;background:rgba(13,8,4,.72);color:#fffaf2;font-size:12px}.chat-attachments-list{display:grid;gap:10px}.chat-attachment-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:18px;background:var(--input-background);transition:border-color .2s ease,transform .2s ease}.chat-attachment-row:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 28%,transparent)}.chat-attachment-file-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--accent-soft);color:var(--accent-strong);font-size:18px;font-weight:800}.chat-attachment-file-copy{display:grid;min-width:0;gap:4px}.chat-attachment-file-copy small,.chat-attachment-file-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment-file-copy small{color:var(--foreground-muted);font-size:12px}.chat-attachments-more{justify-self:center}.media-viewer{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:28px;background:rgba(13,8,4,.88);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.message-delete-modal{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:24px;background:rgba(13,8,4,.54);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.message-delete-card{width:min(420px,100%);gap:18px}.message-delete-card,.message-edit-card{display:grid;padding:24px;border-radius:28px;background:rgba(255,250,242,.96);border:1px solid rgba(46,29,15,.08);box-shadow:var(--shadow)}.message-edit-card{width:min(520px,100%);gap:16px}.message-edit-textarea{width:100%;min-height:140px;padding:14px 16px;border:1px solid var(--border);border-radius:18px;background:var(--input-background);color:var(--foreground);resize:vertical;font-size:15px;line-height:1.5}.message-edit-textarea:focus{outline:none;border-color:rgba(214,90,49,.5);box-shadow:0 0 0 4px rgba(214,90,49,.12)}.message-delete-copy{display:grid;gap:8px}.message-delete-copy span{color:var(--foreground-muted);line-height:1.5}.message-delete-actions{display:grid;gap:10px}.channel-create-card{width:min(460px,100%);display:grid;gap:16px;padding:22px;border-radius:24px;background:rgba(255,252,246,.96);box-shadow:0 24px 80px rgba(46,29,15,.2)}.channel-invite-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.media-viewer-shell{position:relative;width:min(1120px,100%);max-height:100%;display:grid;gap:16px}.media-viewer-shell-video{width:min(1400px,100%)}.media-viewer-close{position:absolute;top:18px;right:18px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:none;border-radius:999px;background:rgba(16,10,5,.66);color:#fffaf2;cursor:pointer}.media-viewer-stage{overflow:hidden;display:grid;place-items:center;min-height:min(72vh,720px);padding:22px;border-radius:28px;background:rgba(33,22,12,.96);box-shadow:0 24px 80px rgba(0,0,0,.34)}.media-viewer-stage-video{min-height:min(82vh,860px);background:#080503}.media-viewer-media{max-width:100%;max-height:min(72vh,720px);border-radius:18px}.media-viewer-media-video{width:min(100%,1320px);max-height:min(82vh,860px);background:#000}.media-viewer-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-radius:24px;background:rgba(255,252,246,.94)}.media-viewer-meta-copy{display:grid;gap:4px;min-width:0}.media-viewer-meta-copy span,.media-viewer-meta-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-viewer-meta-copy span{color:var(--foreground-muted)}.media-viewer-link{flex:0 0 auto}.media-viewer-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.composer{padding:18px 22px 22px;border-top:1px solid rgba(46,29,15,.08);background:rgba(255,252,246,.76)}.composer-grid{display:grid;gap:12px}.composer-actions{display:flex;gap:12px;align-items:center}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:15px;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease,opacity .2s ease}.icon-button:hover{transform:translateY(-1px)}.icon-button:disabled{opacity:.6;cursor:not-allowed}.attach-button{background:var(--input-background);color:var(--foreground)}.attach-button:hover{border-color:rgba(214,90,49,.32)}.send-button,.voice-button{background:linear-gradient(135deg,var(--accent) 0,var(--accent-strong) 100%);color:#fff7ef;border-color:transparent}.voice-button.recording{background:linear-gradient(135deg,#c43c1f,#a22f16)}.emoji-button{background:var(--input-background);color:var(--foreground-muted)}.emoji-button.is-active,.theme-toggle[aria-pressed=true]{border-color:transparent;background:var(--accent-soft);color:var(--accent-strong)}.theme-toggle{color:var(--foreground)}.room-theme-toggle{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--border);border-radius:14px;background:var(--input-background);cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}.room-theme-toggle:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 34%,transparent)}.emoji-panel{display:grid;width:min(380px,100%);max-height:min(420px,calc(var(--paw-app-height, 100vh) - 180px));padding:0;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:color-mix(in srgb,var(--surface-strong) 92%,transparent);box-shadow:0 18px 52px rgba(25,17,10,.14);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.paw-emoji-picker{--epr-bg-color:transparent;--epr-category-label-bg-color:color-mix(in srgb,var(--surface-strong) 92%,transparent);--epr-highlight-color:var(--accent);--epr-hover-bg-color:color-mix(in srgb,var(--accent) 12%,transparent);--epr-focus-bg-color:color-mix(in srgb,var(--accent) 16%,transparent);--epr-search-input-bg-color:var(--input-background);--epr-search-input-border-color:var(--border);--epr-picker-border-color:transparent;--epr-text-color:var(--foreground);border:none!important;background:transparent!important;font-family:inherit!important}.apple-emoji{display:inline-flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin:0 .02em;vertical-align:-.18em}.apple-emoji img{width:1.15em;height:1.15em;display:block}.emoji-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.emoji-tab{flex:0 0 auto;padding:7px 10px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--foreground-muted);cursor:pointer;font-size:12px;transition:background .2s ease,color .2s ease,border-color .2s ease}.emoji-tab.is-active{border-color:color-mix(in srgb,var(--accent) 24%,transparent);background:var(--accent-soft);color:var(--accent-strong)}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;overflow-y:auto;padding-right:2px}.emoji-item{display:inline-flex;align-items:center;justify-content:center;min-width:0;height:34px;border:none;border-radius:10px;background:transparent;cursor:pointer;font-size:21px;line-height:1;transition:background .16s ease,transform .16s ease}.emoji-item:hover{background:var(--surface-muted);transform:translateY(-1px)}.preview-files{display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:10px;overflow:hidden}.preview-file{display:inline-flex;align-items:center;flex:0 1 min(100%,320px);min-width:0;gap:10px;max-width:min(100%,320px);padding:8px 8px 8px 12px;border-radius:16px;background:rgba(46,29,15,.06);font-size:14px}.preview-file-name{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-remove{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:30px;height:30px;padding:0;border:none;border-radius:999px;background:rgba(46,29,15,.08);color:var(--foreground-muted);cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.preview-remove:hover{background:rgba(214,90,49,.16);color:var(--accent-strong);transform:scale(1.04)}[data-theme=dark] .card,[data-theme=dark] .dialogs-shell,[data-theme=dark] .room-shell{border-color:rgba(236,247,255,.1)}[data-theme=dark] .composer-textarea,[data-theme=dark] .dialogs-action-button,[data-theme=dark] .field,[data-theme=dark] .icon-button,[data-theme=dark] .message-edit-textarea,[data-theme=dark] .room-back,[data-theme=dark] .room-theme-toggle{border-color:var(--border)}[data-theme=dark] .channel-create-card,[data-theme=dark] .chat-attachments-panel,[data-theme=dark] .chat-toast,[data-theme=dark] .emoji-panel,[data-theme=dark] .media-viewer-meta,[data-theme=dark] .message-delete-card,[data-theme=dark] .message-edit-card{background:rgba(18,30,41,.96);border-color:rgba(236,247,255,.1)}[data-theme=dark] .attachment-card,[data-theme=dark] .chat-attachment-row,[data-theme=dark] .pending-attachment,[data-theme=dark] .preview-file{background:rgba(236,247,255,.08)}[data-theme=dark] .chat-toast-close,[data-theme=dark] .message-action,[data-theme=dark] .preview-remove{background:rgba(236,247,255,.1)}[data-theme=dark] .chat-toast-close:hover,[data-theme=dark] .message-action:hover,[data-theme=dark] .preview-remove:hover{background:rgba(46,167,224,.18)}[data-theme=dark] .voice-recorder-preview,[data-theme=dark] .voice-recording-overlay-card{background:rgba(18,30,41,.96);border-color:rgba(236,247,255,.1);box-shadow:0 28px 80px rgba(2,8,14,.34)}[data-theme=dark] .voice-video-note-preview-placeholder{background:radial-gradient(circle at 36% 32%,rgba(255,255,255,.12),transparent 32%),linear-gradient(145deg,rgba(46,167,224,.22),rgba(4,12,19,.96))}[data-theme=dark] .voice-recording-overlay-cancel,[data-theme=dark] .voice-recording-overlay-switch{color:#edf6ff;background:rgba(236,247,255,.12);box-shadow:0 10px 24px rgba(2,8,14,.28)}[data-theme=dark] .voice-recording-overlay-cancel:hover,[data-theme=dark] .voice-recording-overlay-switch:hover{color:#edf6ff;background:rgba(46,167,224,.2)}[data-theme=dark] .attachment-video-note-button{background:#071018;box-shadow:0 16px 32px rgba(2,8,14,.24)}[data-theme=dark] .attachment-video-note-button.is-expanded{box-shadow:0 24px 42px rgba(2,8,14,.32)}[data-theme=dark] .attachment-video-note-badge{background:rgba(2,8,14,.78);color:rgba(237,246,255,.94)}[data-theme=dark] .attachment-video-note-play{background:rgba(2,8,14,.62);color:rgba(237,246,255,.98)}[data-theme=dark] .media-viewer{background:rgba(2,8,14,.9)}.empty-state{display:grid;place-items:center;text-align:center;padding:28px;color:var(--foreground-muted)}@media (max-width:980px){.voice-recording-overlay{width:min(320px,calc(100vw - 24px));transform:translate(-50%,-52%)}.voice-recording-overlay-card{padding:18px 18px 16px}.voice-recording-overlay-preview{width:min(220px,calc(100vw - 96px))}.shell{width:min(1180px,calc(100% - 20px))}.auth-grid,.chat-shell,.feature-grid,.hero-grid,.profile-grid{grid-template-columns:1fr}.auth-aside{padding:18px 18px 0}.auth-content{padding-top:18px}.hero{padding:16px 0 40px}.hero-nav{align-items:stretch;flex-direction:column}.hero-actions,.hero-cta,.profile-actions{display:grid;grid-template-columns:1fr;width:100%}.hero-actions .button,.hero-cta .button,.profile-actions .button{width:100%}.hero-grid,.profile-grid{gap:20px;margin-top:24px}.hero-card,.hero-preview,.profile-panel,.profile-shell{padding:24px;border-radius:28px}.profile-user{align-items:flex-start;flex-direction:column;gap:16px}.profile-avatar{width:72px;height:72px;border-radius:24px;font-size:24px}.profile-meta{grid-template-columns:1fr}.hero-title{max-width:none;font-size:clamp(2.5rem,12vw,4rem)}.hero-lead,.profile-lead{font-size:16px;line-height:1.6}.feature-grid{margin-top:22px}.feature-card,.hero-preview-card{padding:18px;border-radius:22px}.hero-preview-item{padding:12px 14px}.hero-preview-bubble{max-width:100%}.profile-title{font-size:clamp(2.3rem,11vw,3.6rem)}.chat-layout,.dialogs-layout{padding:10px}.dialogs-shell{min-height:calc(100dvh - 20px);height:calc(100dvh - 20px);padding:18px;border-radius:26px}.dialogs-topbar{align-items:center;gap:14px}.dialogs-topbar-actions{flex:0 0 auto;width:auto}.dialogs-topbar-main{min-width:0;flex:1 1 auto}.dialogs-title{font-size:clamp(1.5rem,6vw,2rem)}.dialogs-action-button{width:42px;height:42px;border-radius:14px}.channel-invite-box{grid-template-columns:1fr}.chat-toast-stack{top:calc(12px + env(safe-area-inset-top));right:12px;bottom:auto;justify-items:end;width:min(280px,calc(100vw - 20px))}.chat-toast{width:100%;gap:10px;padding:10px 12px;border-radius:18px}.chat-toast-main{gap:10px}.chat-toast-avatar,.chat-toast-avatar-image{width:40px;height:40px;border-radius:14px}.chat-toast-copy strong{font-size:14px}.chat-toast-copy span{font-size:12px}.chat-toast-close{width:30px;height:30px}.room-layout{position:fixed;inset:0;min-height:var(--paw-app-height,100dvh);width:100%;padding:0;overflow:hidden}.room-layout,.room-shell{height:var(--paw-app-height,100dvh)}.room-shell{max-height:var(--paw-app-height,100dvh);border-radius:0}.room-header{gap:9px;padding:calc(8px + env(safe-area-inset-top)) 10px 8px}.room-back{width:38px;height:38px;border-radius:13px}.room-title{font-size:19px}.room-subtitle{gap:6px;font-size:14px}.room-presence-dot{width:7px;height:7px}.room-composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.room-scroll-bottom{right:12px;bottom:calc(74px + env(safe-area-inset-bottom));width:40px;height:40px}.room-search-panel{top:calc(62px + env(safe-area-inset-top));padding:8px 10px 10px;gap:8px}.room-search-input{padding:10px 12px;font-size:15px}.room-search-results{max-height:min(34vh,280px)}.room-search-result{padding:10px 11px;border-radius:15px}.room-composer-form{grid-template-columns:38px minmax(0,1fr) 38px 42px;gap:6px;align-items:center}.room-preview{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.room-preview .preview-file{width:100%;max-width:100%}.composer-textarea{min-height:42px;max-height:120px;padding:10px 12px;border-radius:15px;font-size:16px;line-height:1.35}.chat-list{max-height:320px}.dialogs-chat-list-fill,.dialogs-search-results{max-height:none}.message-bubble{max-width:calc(100% - 28px);padding:9px 10px;border-radius:15px;font-size:16px}.message-list{gap:8px;padding:12px 10px}.attachment-media-grid{width:min(100%,300px)}.attachment-media-grid-2{grid-auto-rows:150px}.attachment-media-grid-3,.attachment-media-grid-4,.attachment-media-grid-5,.attachment-media-grid-many{grid-auto-rows:58px}.message-meta{grid-template-columns:minmax(0,1fr);gap:5px}.message-row.self .message-meta{justify-items:end}.message-meta>strong{max-width:100%;font-size:16px}.message-meta-actions{flex-wrap:wrap;gap:5px;justify-content:flex-start;max-width:100%}.message-row.self .message-meta-actions{justify-content:flex-end}.message-action{width:24px;height:24px}.message-status{min-width:15px;font-size:14px}.message-edited{font-size:13px}.message-text{margin-top:6px;line-height:1.38}.message-reply-preview{margin-top:7px;padding:7px 8px;border-radius:10px}.message-reply-author{font-size:13px}.message-reply-text{font-size:14px}.room-reply-draft{gap:8px;padding:8px;border-radius:12px}.room-reply-copy strong{font-size:13px}.room-reply-copy span{font-size:14px}.icon-button,.room-theme-toggle{width:38px;height:38px;border-radius:13px}.emoji-panel{width:100%;max-height:min(360px,calc(var(--paw-app-height, 100vh) - 150px));padding:0;border-radius:18px}.emoji-grid{grid-template-columns:repeat(6,1fr)}.emoji-item{height:32px;font-size:20px}.chat-attachments-overlay{padding:0;align-items:stretch}.chat-attachments-panel{width:100%;max-height:var(--paw-app-height,100dvh);min-height:var(--paw-app-height,100dvh);border-radius:0;padding:calc(14px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom))}.chat-attachments-header strong{font-size:20px}.channel-settings-link{grid-template-columns:1fr 1fr}.channel-settings-link .field{grid-column:1/-1}.chat-attachments-tabs{gap:1px}.chat-attachments-tab{min-height:36px;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:7px 8px;border-radius:10px;font-size:13px}.chat-attachments-category-copy strong{font-size:13px}.chat-attachments-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.chat-attachment-tile{border-radius:12px}.chat-attachment-row{grid-template-columns:40px minmax(0,1fr);padding:10px;border-radius:16px}.chat-attachment-file-icon{width:40px;height:40px;border-radius:13px}.media-viewer{padding:14px}.media-viewer-stage{min-height:56vh;padding:12px;border-radius:22px}.media-viewer-media{max-height:56vh}.media-viewer-meta{flex-direction:column;align-items:stretch;padding:16px}.media-viewer-actions{display:grid;gap:10px}.media-viewer-actions .button{width:100%}.media-viewer-meta-copy span,.media-viewer-meta-copy strong{white-space:normal}}@media (max-width:420px){.voice-recording-overlay{width:min(292px,calc(100vw - 20px));top:46%}.voice-recording-overlay-card{gap:10px;padding:16px 16px 14px;border-radius:24px}.voice-recording-overlay-preview{width:min(188px,calc(100vw - 108px))}.voice-recording-overlay-copy strong{font-size:18px}.room-header{gap:8px}.room-title{font-size:18px}.room-subtitle{font-size:13px}.message-bubble{max-width:calc(100% - 16px);padding:8px 9px;font-size:15px}.message-list{padding:10px 8px}.message-meta>strong{font-size:15px}.message-meta-actions{gap:4px}.message-action{width:22px;height:22px}.message-action svg{width:15px;height:15px}.room-composer,.room-search-panel{padding-left:8px;padding-right:8px}.room-search-result-meta{gap:8px;font-size:12px}.room-search-result-meta strong{font-size:13px}.room-search-result-text{font-size:14px}.room-composer-form{grid-template-columns:36px minmax(0,1fr) 36px 40px;gap:5px}.icon-button{width:36px;height:36px;border-radius:12px}.composer-textarea{min-height:40px;padding:9px 11px;font-size:15px}}