
:root{font-family:Arial,Helvetica,sans-serif;color:#303c32;background:#f8f8f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #6b8462;outline-offset:5px}button{transition:background .2s,transform .2s}button:hover:not(:disabled){filter:brightness(.94)}.shell{max-width:1440px;margin:auto;padding:0 64px}.dark{background:#1b231e;color:#e3e8dd;min-height:100vh}.dark .shell{--paper:#222d25;--line:#3c483e;--muted:#a3ae9f}.shell{--paper:#fffefa;--line:#e1e5d9;--muted:#888e80}header{height:104px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{font-size:28px;font-weight:650;letter-spacing:-1.2px;display:flex;align-items:center;gap:9px}.brandmark{display:grid;place-items:center;background:#e5eadc;width:36px;height:36px;border-radius:50%;color:#526447}.brand-dot{color:#80936f;margin-left:-9px}.header-right{display:flex;align-items:center;gap:25px}.quiet-pill{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.quiet-pill i{width:6px;height:6px;border-radius:50%;background:#8fa47b}.iconbutton{background:transparent;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.intro{text-align:center;padding-top:51px}.eyebrow{font-size:10px;letter-spacing:2.6px;color:#79836f;font-weight:600}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(37px,4.1vw,60px);letter-spacing:-2.3px;font-weight:400;line-height:1.14;margin:21px 0 17px}h1 em{color:#7a8967;font-weight:400}.intro p{font-size:14px;color:var(--muted);margin:0}.mobile-break{display:none}.link-form{max-width:830px;margin:33px auto 38px}.input-wrap{display:flex;gap:15px;align-items:center;background:var(--paper);padding:8px 8px 8px 21px;border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 16px #293c2110}.input-wrap>svg{flex-shrink:0;color:#929b88}input{background:transparent;border:0;outline:none;color:inherit;min-width:0;flex:1;font-size:13px;height:42px}input::placeholder{color:#a1a498}.input-wrap:focus-within{border-color:#8c9e7e}.watch-button{display:flex;align-items:center;gap:22px;padding:16px 22px;background:#536747;color:#fff;border:0;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.input-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:11px 4px 0}.input-meta button{display:flex;gap:5px;align-items:center;background:transparent;border:0;font-size:10px;color:var(--muted)}.error{color:#b44b3e}.help{font-size:12px;line-height:1.7;background:var(--paper);padding:15px;margin-top:12px;border:1px solid var(--line);border-radius:8px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;height:22px}.panel-heading>span{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--muted)}.small-dot,.live-dot{width:5px;height:5px;border-radius:50%;background:#b0b7a2}.live-dot{background:#73935c}.text-button{border:0;background:transparent;display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted)}.player{aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#262e26;position:relative;box-shadow:0 12px 25px #30432b0c}.player iframe{width:100%;height:100%;border:0;display:block}.empty-player{width:100%;height:100%;position:relative;overflow:hidden;color:#f7f6e9}.landscape{position:absolute;inset:0;background:linear-gradient(140deg,#263d36,#62745a 62%,#b1b291)}.orb{position:absolute;top:10%;right:17%;width:18%;aspect-ratio:1;border-radius:100%;background:#d1d0a4;opacity:.5;box-shadow:0 0 80px #dee0ba22}.hill{position:absolute;width:130%;height:80%;border-radius:50%;transform:rotate(-17deg);left:-20%;top:65%;background:#778361}.hill-back{top:65%;left:15%;background:#859274;transform:rotate(-24deg)}.hill-front{top:73%;background:linear-gradient(145deg,#344d39,#596d4e)}.grain{position:absolute;inset:0;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.empty-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:15px}.play-circle{width:62px;height:62px;border:1px solid #e7ead656;border-radius:50%;background:#e9efd917;color:#eff1dc;display:grid;place-items:center;backdrop-filter:blur(5px);padding-left:4px}.empty-content h2{font-family:Georgia,serif;font-size:clamp(21px,2.4vw,34px);font-weight:400;letter-spacing:-.6px;margin:23px 0 10px}.empty-content p{font-size:11px;margin:0;color:#d1d9c4}.empty-tag{font-size:8px;letter-spacing:2px;margin-top:27px;opacity:.65}.landscape-caption{position:absolute;bottom:20px;left:25px;font-size:7px;letter-spacing:1.6px;opacity:.5}.player-footer{display:flex;justify-content:space-between;align-items:center;padding-top:14px;font-size:10px;color:var(--muted)}.player-footer span{display:flex;gap:7px;align-items:center}.player-footer button{border:0;background:transparent;display:flex;align-items:center;gap:5px;font-size:10px}.embed-note{color:var(--muted);font-size:10px;line-height:1.5}.notes-panel{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:13px;margin-top:35px;padding:23px 20px 11px;margin-bottom:28px;min-height:260px}.notes-title{display:flex;align-items:center;justify-content:space-between;font-size:12px}.notes-title>span:first-child{display:flex;align-items:center;gap:9px}.notes-title svg{color:#859376}.note-indicator{color:#a9b09d}.notes-panel>p{font-size:10px;color:var(--muted);margin:12px 0 18px}.notes-panel textarea{min-height:125px;resize:none;flex:1;background:transparent;color:inherit;border:0;outline:0;font-size:12px;line-height:26px;width:100%;background-image:linear-gradient(transparent 25px,var(--line) 26px);background-size:100% 26px}.notes-panel textarea:focus{outline:1px solid var(--line);outline-offset:5px}.notes-panel textarea::placeholder{color:#a1a698;font-size:11px}.notes-bottom{border-top:1px solid var(--line);padding-top:13px;margin-top:15px;display:flex;align-items:center;justify-content:space-between;font-size:8px;line-height:1.4;color:var(--muted)}.notes-bottom button{border:0;background:transparent;padding:4px}.bottom-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:31px;padding:24px 0 30px}.promise{display:flex;gap:14px;align-items:center}.promise-icon{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#e9eddf;color:#7b8b66;font-size:23px}.promise strong{font-size:11px;font-weight:500}.promise p{font-size:10px;color:var(--muted);margin:6px 0 0}.little-note{display:flex;gap:15px;font-family:Georgia,serif;font-style:italic;font-size:16px;color:#8e9981}.little-note span{font-style:normal;font-size:25px}footer{border-top:1px solid var(--line);padding:23px 0 29px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}footer>span:last-child{display:flex;gap:13px;align-items:center}.footer-star{font-size:18px;color:#8d9b7c}.cinema .intro,.cinema .link-form,.cinema .notes-panel,.cinema .bottom-row,.cinema footer{display:none}.cinema .workspace{display:block;margin-top:25px}.cinema .player{max-height:calc(100vh - 195px);aspect-ratio:16/9;margin:auto}.cinema .player-column{width:100%}.dark .promise-icon,.dark .brandmark{background:#34412f;color:#c1cdae}@media(min-width:1500px){.shell{max-width:1440px}.intro{padding-top:65px}.link-form{margin-bottom:45px}.workspace{grid-template-columns:minmax(0,1fr) 300px}}@media(max-width:1000px){.shell{padding:0 30px}.workspace{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.empty-content h2{font-size:26px}.play-circle{width:48px;height:48px}.empty-tag{margin-top:20px}.notes-panel{padding:18px 15px}.empty-content h2{margin-top:16px}.landscape-caption{display:none}}@media(max-width:760px){.shell{padding:0 22px}header{height:80px}.brand{font-size:25px}.quiet-pill{display:none}.intro{padding-top:38px}h1{font-size:43px;letter-spacing:-1.7px;line-height:1.15}.mobile-break{display:block}.intro p{font-size:12px;line-height:1.7;max-width:270px;margin:auto}.eyebrow{font-size:8px;letter-spacing:1.9px}.link-form{margin:26px auto}.input-wrap{gap:10px;padding:7px 7px 7px 13px;flex-wrap:wrap}.input-wrap input{font-size:11px}.watch-button{padding:12px 13px;gap:8px;font-size:10px}.input-wrap>svg{width:16px}.input-meta{font-size:8px;gap:10px;line-height:1.5}.input-meta button{font-size:8px;white-space:nowrap}.workspace{display:flex;flex-direction:column;gap:8px}.empty-content h2{font-size:24px;margin:14px 0 8px}.empty-content p{font-size:10px}.empty-tag{font-size:6px;margin-top:16px}.play-circle{width:44px;height:44px}.play-circle svg{width:19px}.notes-panel{margin:20px 0 0;min-height:250px}.notes-panel textarea{min-height:140px}.bottom-row{margin-top:27px;padding:22px 0}.little-note{display:none}.promise strong{font-size:11px}.promise p{font-size:9px}.cinema .workspace{display:block}.cinema .notes-panel{display:none}.player-footer{font-size:8px}.panel-heading>span{font-size:8px}.text-button{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.auth-card{max-width:440px;margin:65px auto 90px}.auth-card h1{font-size:44px}.auth-card p,.auth-card small{color:var(--muted);font-size:13px;line-height:1.7}.auth-card form{display:grid;gap:18px;margin:28px 0}.auth-card label{display:grid;gap:8px;font-size:13px}.auth-card input{width:100%;border:1px solid var(--line);background:var(--paper);padding:12px;border-radius:8px;flex:auto}.auth-card .watch-button{justify-content:center}.auth-card .text-button{font-size:12px}.account-name{font-size:12px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.history-panel{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:30px}.history-panel h2{font-family:Georgia,serif;font-weight:400;font-size:23px}.history-panel p{font-size:12px;color:var(--muted);line-height:1.6}.history-list{display:grid;gap:8px;max-height:360px;overflow:auto}.history-list button{display:grid;gap:8px;text-align:left;background:transparent;border:1px solid var(--line);border-radius:8px;padding:14px;overflow-wrap:anywhere}.history-list strong{font-size:13px;font-weight:500}.history-list span{font-size:11px;color:var(--muted)}.youtube-player{height:100%;width:100%}.bookmark{display:flex;gap:12px;align-items:center;font-size:12px;margin:16px 0}.bookmark input{width:90px;border:1px solid var(--line);border-radius:6px;margin-left:8px;padding:8px;background:var(--paper)}.embed-note a{text-decoration:underline}.cinema .history-panel{display:none}@media(max-width:760px){.header-right{gap:12px}.account-name{max-width:80px}.auth-card{margin-top:40px}.history-panel{padding:16px}.history-panel .panel-heading{height:auto;gap:12px}.bookmark{flex-wrap:wrap}}
.import-notes{margin-top:14px;padding:0;align-self:flex-start;font-size:10px}
.chat-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;margin:0 0 36px;overflow:hidden}.chat-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 28px;border-bottom:1px solid var(--line);gap:18px}.chat-heading h2{display:flex;gap:10px;align-items:center;font-family:Georgia,serif;font-size:27px;font-weight:400;margin:12px 0}.chat-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.chat-layout{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:580px}.friends-sidebar{padding:23px 18px;border-right:1px solid var(--line)}.friend-form label{font-size:12px}.friend-form>div{display:flex;gap:8px;margin-top:9px}.friend-form input{border:1px solid var(--line);border-radius:8px;padding:10px;width:100%}.friends-sidebar h3{font-size:11px;letter-spacing:1px;text-transform:uppercase;margin:25px 0 12px;color:var(--muted)}.chat-muted,.chat-local-note{font-size:12px;color:var(--muted);line-height:1.7}.chat-local-note{font-size:10px;margin-top:30px}.request-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.request-row>div{display:flex;gap:6px}.request-row button{background:transparent;border:1px solid var(--line);padding:6px 9px;border-radius:6px;font-size:10px}.request-row button:first-child{background:#e5eadc;color:#35452f}.friend-item{display:flex;gap:10px;align-items:center;width:100%;border:0;border-radius:9px;background:transparent;padding:11px 9px;text-align:left;font-size:12px;overflow-wrap:anywhere}.friend-item.selected{background:#e5eadc;color:#35452f}.friend-item>svg{margin-left:auto;flex-shrink:0}.friend-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#859376;color:white;flex-shrink:0}.conversation{display:flex;flex-direction:column;min-width:0}.conversation-heading{display:grid;gap:6px;padding:20px 24px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.conversation-heading strong{font-size:14px}.conversation-heading span{font-size:10px;color:var(--muted)}.chat-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;flex:1;padding:45px 30px;color:var(--muted)}.chat-empty>svg{color:#8d9b7c}.chat-empty h3{font-family:Georgia,serif;font-size:26px;font-weight:400;color:inherit}.chat-empty p{font-size:12px;line-height:1.8;max-width:300px}.message-list{height:360px;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain}.message{background:#edf0e6;color:#303c32;border-radius:12px 12px 12px 3px;padding:12px 15px;align-self:flex-start;max-width:85%;flex-shrink:0;overflow-wrap:anywhere}.message.own{background:#526647;color:#fff;align-self:flex-end;border-radius:12px 12px 3px 12px}.message-sender{font-size:10px;opacity:.75}.message p{white-space:pre-wrap;font-size:13px;line-height:1.7;margin:7px 0}.message time{display:block;font-size:9px;opacity:.7;text-align:right;margin-top:9px}.message-attachment img{display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:7px;margin:8px 0}.message-attachment audio{max-width:100%;width:260px;margin:8px 0}.message-attachment>a:last-child{display:flex;gap:7px;align-items:center;font-size:11px;text-decoration:underline;line-height:1.5;margin-top:7px}.message-attachment svg{flex-shrink:0}.message-composer{border-top:1px solid var(--line);padding:17px 22px}.message-composer textarea{width:100%;min-height:72px;max-height:200px;resize:vertical;padding:12px;background:transparent;border:1px solid var(--line);border-radius:8px;color:inherit;font-size:13px;line-height:1.6}.message-composer textarea:focus{outline:1px solid #859376}.composer-actions,.composer-actions>div{display:flex;align-items:center;gap:9px}.composer-actions{justify-content:space-between;margin-top:10px}.composer-actions .watch-button{padding:12px 17px;gap:12px}.message-composer>small{display:block;font-size:9px;color:var(--muted);margin-top:12px;line-height:1.5}.selected-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.attachment-preview{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}.attachment-preview img{max-width:110px;max-height:75px;object-fit:contain;border-radius:7px}.attachment-preview span{font-size:10px;overflow-wrap:anywhere}.attachment-preview audio{max-width:100%;height:36px}.selected-file>.iconbutton{flex-shrink:0}.emoji-picker{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;padding-top:12px}.emoji-picker button{border:0;background:transparent;font-size:23px;padding:5px}.chat-error,.chat-notice{margin:15px 24px;font-size:12px;line-height:1.6}.chat-error{color:#b44b3e}.chat-notice{color:#718263}.recording-status{font-size:11px;color:#b44b3e;line-height:1.6}.record-active{color:#b44b3e;border-color:#b44b3e}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cinema .chat-panel{display:none}.dark .message:not(.own){background:#34412f;color:#e3e8dd}.dark .friend-item.selected{background:#34412f;color:#e3e8dd}.older-messages{align-self:center;padding:10px}@media(max-width:760px){.chat-heading{padding:20px 16px}.chat-heading h2{font-size:23px}.chat-layout{grid-template-columns:1fr}.friends-sidebar{border-right:0;border-bottom:1px solid var(--line);max-height:300px;overflow-y:auto}.conversation{min-height:360px}.message-list{height:350px;padding:16px}.message{max-width:94%}.message-composer{padding:14px}.emoji-picker{grid-template-columns:repeat(5,1fr)}.header-right{gap:9px}.header-right .text-button{font-size:9px}.account-name{max-width:58px}}
@media(max-width:520px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:18px 0;gap:14px}.header-right{width:100%;justify-content:space-between}.header-right .account-name{max-width:95px}.header-right .text-button{font-size:11px}}
/* Pages, unread notifications, and installed mobile layouts. */
[hidden]{display:none!important}.shell{position:relative}.primary-nav{display:flex;gap:5px;align-items:center;margin:0 18px}.primary-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;border-radius:9px;padding:12px;font-size:12px;min-height:42px}.primary-nav button.active{background:#e5eadc;color:#35452f}.dark .primary-nav button.active{background:#34412f;color:#e3e8dd}.header-right{gap:13px}.notification-trigger{position:relative}.notification-badge{display:inline-flex;align-items:center;justify-content:center;background:#c74a47;color:white;border:2px solid var(--paper,#fffefa);border-radius:99px;min-width:20px;height:20px;padding:0 4px;font-family:Arial,sans-serif;font-size:9px;font-weight:700;line-height:1;letter-spacing:0;flex-shrink:0}.notification-trigger .notification-badge{position:absolute;right:-7px;top:-7px;pointer-events:none}.primary-nav .notification-badge{border:0;min-width:17px;height:17px}.notification-panel{position:absolute;z-index:40;right:64px;top:91px;width:380px;max-width:calc(100% - 32px);background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 18px 55px #1b231e26}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.notification-heading h2{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0;display:flex;align-items:center;gap:9px}.notification-heading>.iconbutton{flex-shrink:0}.quiet-setting{display:flex;gap:18px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:18px 0}.quiet-setting strong{font-size:13px;font-weight:500}.quiet-setting p{font-size:11px;color:var(--muted);line-height:1.7;margin:6px 0 0}.notification-switch{width:46px;min-width:46px;height:27px;border:0;border-radius:99px;padding:3px;background:#a1a698}.notification-switch span{display:block;background:white;width:21px;height:21px;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .15s}.notification-switch[aria-checked=true]{background:#536747}.notification-switch[aria-checked=true] span{transform:translateX(19px)}.notification-items{display:grid;gap:6px;max-height:330px;overflow-y:auto}.notification-items>button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;border-radius:8px;padding:12px 7px;font-size:12px;line-height:1.6}.notification-items>button>svg{flex-shrink:0;color:#859376}.notification-items small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.notification-items .notification-badge{margin-left:auto}.notification-footnote{color:var(--muted);font-size:10px;line-height:1.7;border-top:1px solid var(--line);padding-top:14px;margin:18px 0 0}.quiet-open{font-size:12px;line-height:1.7}.friends-sidebar h3{display:flex;align-items:center;gap:7px}.friend-item .notification-badge{margin-left:auto}.back-to-friends{display:none}.page-error{font-size:12px;line-height:1.6;padding:12px 0}.history-panel{margin-top:28px}.messages-page .shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.messages-main{flex:1;min-height:0}.messages-page .chat-panel{margin:24px 0;display:flex;flex-direction:column;height:calc(var(--viewport-height,100dvh) - 152px);min-height:520px}.messages-page .chat-layout{flex:1;min-height:0}.messages-page .friends-sidebar{overflow-y:auto}.messages-page .conversation{min-height:0;overflow:hidden}.messages-page .message-list{flex:1;min-height:130px;height:auto}.messages-page .message-composer{flex-shrink:0}.messages-page .chat-heading{flex-shrink:0;padding:18px 24px}.messages-page .chat-heading h2{margin:8px 0}.messages-page .chat-heading .eyebrow{font-size:8px}.messages-page .conversation-heading{flex-shrink:0}.signout-button>svg{display:none}.install-dialog{position:fixed;inset:0;width:min(480px,calc(100% - 32px));max-height:85dvh;overflow-y:auto;background:var(--paper,#fffefa);color:inherit;border:1px solid var(--line,#e1e5d9);border-radius:18px;padding:26px;box-shadow:0 18px 65px #0003}.install-dialog::backdrop{background:#1b231e77;backdrop-filter:blur(3px)}.install-dialog p{font-size:12px;color:var(--muted,#888e80);line-height:1.8}.install-dialog ol{padding-left:20px;display:grid;gap:18px;margin:24px 0}.install-dialog li{font-size:12px;line-height:1.7;padding-left:4px}.install-dialog li strong{display:block;font-weight:500}.install-dialog li span{display:block;color:var(--muted,#888e80);margin-top:5px}.install-dialog .install-local-note{background:#e5eadc;color:#46553d;border-radius:9px;padding:13px}.dark .install-dialog .install-local-note{background:#34412f;color:#e3e8dd}.install-dialog .install-footnote{border-top:1px solid var(--line,#e1e5d9);padding-top:15px;font-size:10px}.offline-banner{font-size:12px;line-height:1.7;padding:12px 16px;border:1px solid var(--line);background:var(--paper);border-radius:9px;margin:18px 0}.messages-page .chat-notice{font-size:10px;margin:7px 24px}.messages-page .chat-error{margin:8px 24px}
@media(max-width:1100px){header{height:auto;min-height:100px;flex-wrap:wrap;gap:14px;padding:20px 0}.primary-nav{order:3;flex:1 0 100%;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.header-right{margin-left:auto}.notification-panel{right:30px;top:146px}.messages-page .chat-panel{height:calc(var(--viewport-height,100dvh) - 210px)}}
@media(max-width:760px){.shell{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom)}header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 8px;padding-top:max(14px,env(safe-area-inset-top));padding-bottom:12px;min-height:80px}.brand{font-size:24px;gap:6px}.brandmark{width:30px;height:30px}.brandmark svg{width:19px}.brand-dot{margin-left:-6px}.header-right{width:auto;justify-content:flex-end;gap:7px;margin:0}.header-right .account-name{display:none}.header-right .iconbutton,.header-right .signout-button{width:38px;height:38px;min-width:38px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent}.signout-button>svg{display:block}.signout-button>span{display:none}.primary-nav{grid-column:1/-1;grid-row:2;gap:5px;margin:0}.primary-nav button{padding:10px 5px;font-size:12px;gap:6px;min-height:44px}.primary-nav button>svg{width:16px}.notification-panel{position:fixed;top:calc(env(safe-area-inset-top) + 118px);right:16px;left:16px;max-width:none;width:auto;max-height:calc(100dvh - 150px);overflow-y:auto;padding:20px}.messages-page .chat-panel{margin:12px 0;height:calc(var(--viewport-height,100dvh) - 146px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:340px;border-radius:12px}.messages-page .chat-heading{padding:13px 16px}.messages-page .chat-heading h2{font-size:22px;margin:0}.messages-page .chat-heading .eyebrow,.messages-page .chat-heading p{display:none}.messages-page .chat-heading>.iconbutton{width:32px;height:32px}.messages-page .chat-layout{display:flex;flex-direction:column;min-height:0}.messages-page .friends-sidebar{max-height:none;flex:1;border:0;padding:16px}.mobile-friends .conversation{display:none}.mobile-conversation .friends-sidebar{display:none}.mobile-conversation .conversation{flex:1;display:flex;min-height:0}.back-to-friends{display:flex;grid-column:1/-1;min-height:32px;font-size:12px;color:inherit;justify-self:start;padding:0}.conversation-heading{padding:9px 16px;gap:4px}.conversation-heading span{font-size:9px}.messages-page .message-list{padding:14px;min-height:100px}.message{max-width:92%}.message-composer{padding:11px 12px}.message-composer textarea{min-height:54px;max-height:110px;font-size:16px}.message-composer>small{font-size:9px;margin-top:8px}.composer-actions .iconbutton{width:40px;height:40px}.composer-actions .watch-button{min-height:40px}.friend-form input,.auth-card input,.input-wrap input,.bookmark input{font-size:16px}.friend-item{min-height:48px;font-size:14px}.request-row button{min-height:38px;padding:8px 12px;font-size:12px}.emoji-picker button{min-height:40px}.selected-file{margin-bottom:8px}.attachment-preview img{max-height:60px;max-width:90px}.attachment-preview audio{width:220px}.message-attachment audio{width:230px}.chat-layout .chat-empty{min-height:240px}.install-dialog{padding:21px}.install-dialog .notification-heading h2{font-size:21px}.install-dialog .notification-heading svg{flex-shrink:0}.notes-bottom{font-size:10px}.input-wrap{gap:8px}.watch-button{min-height:42px}.history-panel{margin-top:16px}}
@media(max-width:380px){.brand{font-size:22px}.brandmark{width:27px;height:27px}.header-right{gap:4px}.header-right .iconbutton,.header-right .signout-button{width:34px;height:36px;min-width:34px}.primary-nav button{font-size:11px;gap:4px}.primary-nav .notification-badge{font-size:8px;min-width:15px;height:15px}.message-attachment audio{width:205px}.composer-actions{gap:6px}.composer-actions>div{gap:6px}}
/* Keep the mobile inbox and its composer inside the visible area above the keyboard. */
.composer-input-row{display:flex;align-items:flex-end;gap:9px;min-width:0}.message-composer .composer-input-row textarea{flex:1;min-width:0;min-height:44px;max-height:144px;resize:none;display:block;overflow-y:auto}.message-send{flex-shrink:0;min-height:44px;justify-content:center;gap:10px;padding:12px 17px}.composer-actions{justify-content:flex-start}
@media(max-width:760px){
 .message{padding:7px 10px;border-radius:10px 10px 10px 3px}.message.own{border-radius:10px 10px 3px 10px}.message-sender{display:none}.message p{font-size:14px;line-height:1.45;margin:2px 0}.message time{font-size:8px;line-height:1.2;margin-top:4px}.message-list{gap:9px}
 .message-composer .composer-input-row textarea{height:42px;min-height:42px;max-height:96px;padding:9px 11px;font-size:16px;line-height:22px;border-radius:18px}.message-send{width:42px;height:42px;min-height:42px;padding:0;border-radius:50%}.message-send .send-label{display:none}.message-composer>small{display:none}.composer-actions{margin-top:6px}.composer-actions .iconbutton{width:34px;height:34px}.emoji-picker{grid-template-columns:repeat(8,1fr);gap:2px;max-height:90px;overflow-y:auto;padding-top:6px}.emoji-picker button{font-size:21px;min-height:34px;padding:3px}
 .mobile-inbox{position:fixed;top:var(--viewport-top,0px);left:0;right:0;height:var(--viewport-height,100dvh);min-height:0;overflow:hidden;background:#f8f8f2;z-index:20}.mobile-inbox.dark{background:#1b231e}.mobile-inbox .shell{width:100%;height:100%;min-height:0;padding:0;display:flex;flex-direction:column}.mobile-inbox .shell>header,.mobile-inbox .chat-heading{display:none}.mobile-inbox .messages-main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.mobile-inbox .messages-main>div:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.mobile-inbox.messages-page .chat-panel{flex:1;height:100%;min-height:0;margin:0;border:0;border-radius:0}.mobile-inbox .chat-layout{flex:1;min-height:0}.mobile-inbox .conversation{flex:1;min-height:0}.mobile-inbox .conversation-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:14px;padding:calc(7px + env(safe-area-inset-top)) 14px 7px;min-height:48px}.mobile-inbox .back-to-friends{grid-column:auto;grid-row:1;min-height:34px;font-size:12px}.mobile-inbox .conversation-heading>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mobile-inbox .conversation-heading>span{display:none}.mobile-inbox .message-list{flex:1;min-height:0;padding:12px}.mobile-inbox .message-composer{flex:0 0 auto;padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:var(--paper);max-height:70%;overflow-y:auto}.keyboard-open .mobile-inbox .message-composer{padding-bottom:8px}.mobile-inbox .chat-notice{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;margin:0}.mobile-inbox .chat-error{margin:6px 12px;font-size:11px;max-height:48px;overflow-y:auto;flex-shrink:0}.mobile-inbox .offline-banner,.mobile-inbox .page-error{margin:0;padding:6px 12px;font-size:11px;border-radius:0;max-height:48px;overflow-y:auto;flex-shrink:0}.mobile-inbox .selected-file{max-height:72px;overflow-y:auto}.mobile-inbox .recording-status{font-size:10px;margin:0 0 5px}
}
@media(max-width:760px) and (max-height:500px){.mobile-inbox .message-composer .composer-input-row textarea{max-height:64px}.mobile-inbox .selected-file{max-height:48px}.mobile-inbox .emoji-picker{max-height:64px}}
.keyboard-open .mobile-inbox .message-composer .composer-input-row textarea{max-height:64px}.keyboard-open .mobile-inbox .selected-file{max-height:48px}
/* One-row composer, contact identity, and voice playback bubbles. */
.composer-input-row>.composer-attach,.composer-input-row>.composer-emoji{flex-shrink:0;align-self:flex-end;width:42px;height:44px;border:0;background:transparent}.message-composer[data-phone-composer=true] .message-send{width:42px;height:42px;min-height:42px;padding:0;border-radius:50%}.message-composer[data-phone-composer=true] .send-label{display:none}.message-composer[data-phone-composer=true]>small{display:none}.message-send.record-active{background:#a8443c;color:white;border:0}.message-send[data-action=record]{background:#536747}.conversation-identity{display:flex;align-items:center;gap:11px;min-width:0}.conversation-avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:linear-gradient(140deg,#dbe4ce,#b4c5a4);color:#405735;font-size:13px!important;font-weight:600;letter-spacing:.6px}.conversation-identity>div{display:grid;gap:5px;min-width:0}.conversation-identity strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-identity>div>span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;line-height:1.4}.dark .conversation-avatar{background:linear-gradient(140deg,#4c6342,#34452e);color:#e3e8dd}
.voice-message{display:grid;grid-template-columns:30px 34px minmax(70px,1fr) 32px;align-items:center;gap:7px;position:relative;width:290px;max-width:100%;padding:6px 0;color:inherit}.voice-message>audio{display:none}.voice-avatar{display:grid;place-items:center;width:30px;height:36px;opacity:.75}.voice-play{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:#ffffff44;color:inherit;padding:0}.voice-play svg{width:17px;height:17px}.voice-play>svg:last-child{margin-left:1px}.voice-timeline{min-width:0}.voice-timeline>input{display:block;width:100%;min-width:0;height:20px;min-height:0;margin:0;padding:0;accent-color:#536747;cursor:pointer;flex:none}.message.own .voice-timeline>input{accent-color:#d6e6c6}.voice-timeline>div{display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:10px;line-height:1.3;font-variant-numeric:tabular-nums}.voice-label{font-size:9px;opacity:.7;white-space:nowrap}.voice-speed{min-width:32px;min-height:30px;border:0;border-radius:9px;padding:3px;background:transparent;color:inherit;font-size:11px;font-weight:600}.voice-error{grid-column:1/-1;font-size:10px;line-height:1.5;max-width:270px}.selected-file>.voice-message{flex:1;min-width:0;width:auto;max-width:340px}.message:has(.voice-message){min-width:245px}.message-attachment .voice-message+time{margin-top:3px}
@media(max-width:760px){.composer-input-row{gap:6px}.composer-input-row>.composer-attach,.composer-input-row>.composer-emoji{height:42px;width:34px}.conversation-avatar{width:35px;height:35px;font-size:12px!important}.conversation-identity{gap:9px}.conversation-identity>div{gap:2px}.mobile-inbox .conversation-heading{padding-top:calc(5px + env(safe-area-inset-top));padding-bottom:5px;column-gap:10px;min-height:49px}.conversation-identity>div>span{font-size:9px}.voice-message{width:265px;grid-template-columns:23px 32px minmax(65px,1fr) 29px;gap:5px;padding:4px 0}.voice-avatar{width:23px}.voice-play{width:32px;height:32px}.voice-speed{min-width:29px}.voice-label{font-size:8px}.message:has(.voice-message){min-width:230px;max-width:94%}.selected-file>.voice-message{max-width:none}.selected-file{gap:7px}.message-composer[data-phone-composer=true]{padding-top:8px}.mobile-inbox .selected-file{max-height:80px}}
.conversation-identity>.conversation-avatar{color:#405735}.dark .conversation-identity>.conversation-avatar{color:#e3e8dd}
.back-to-friends{min-width:34px;justify-content:center}.message.deleted{opacity:.7}.deleted-message{font-style:italic;font-size:12px!important}.edited-label{font-size:inherit}.message.own:focus-visible{outline:2px solid #8fa47b;outline-offset:3px}.action-layer{position:fixed;z-index:100;left:0;right:0;top:var(--viewport-top,0px);height:var(--viewport-height,100dvh);background:#1b231e26}.context-actions{position:absolute;width:225px;background:var(--paper,#fffefa);color:inherit;border:1px solid var(--line,#e1e5d9);padding:9px;border-radius:13px;box-shadow:0 12px 40px #0003}.context-actions>strong{display:block;padding:10px;font-size:12px;overflow-wrap:anywhere}.context-actions>button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:7px;background:transparent;color:inherit;padding:12px;font-size:13px;text-align:left;min-height:44px}.context-actions>p{font-size:12px;line-height:1.6;padding:0 10px}.context-actions>button.delete-action{color:#b44b3e}.context-actions>button:hover{background:#85937619}.edit-heading{display:flex;gap:7px;align-items:center;font-size:12px;margin-bottom:8px;color:var(--muted)}.message-editor textarea{height:65px;min-height:44px;max-height:100px;font-size:16px}.edit-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;margin-top:8px}.edit-actions .watch-button{padding:10px 15px}.message-editor .error{font-size:11px;margin:5px 0}.device-notifications{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.device-notifications h3{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.device-notifications p{font-size:11px;line-height:1.7;color:var(--muted)}.device-push-button{border:1px solid var(--line);background:transparent;border-radius:8px;padding:11px;font-size:12px;width:100%}.device-note{font-size:10px!important}.device-notifications .error{color:#b44b3e}.notification-panel{max-height:calc(100dvh - 130px);overflow-y:auto}
@media(max-width:760px){.message.own{-webkit-touch-callout:none}.message.own>.message-text{-webkit-user-select:none;user-select:none;touch-action:pan-y}.context-actions{left:12px!important;right:12px;top:auto!important;bottom:max(12px,env(safe-area-inset-bottom));width:auto}.message-editor{padding:8px 12px!important}.conversation-identity>div{gap:0}.friend-item{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}
/* Compact message bubbles and accessible message actions. */
.app-update{position:fixed;z-index:200;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(440px,calc(100% - 24px));padding:14px;background:#303c32;color:#fff;border-radius:12px;box-shadow:0 4px 24px #0003;font-size:12px;line-height:1.5}.app-update button{flex-shrink:0;border:1px solid #ffffff66;border-radius:7px;padding:10px;background:transparent;color:inherit}
.message-list{gap:7px}.message{position:relative;padding:7px 12px;min-height:0;max-width:78%}.message p{margin:0;line-height:1.45}.message time{margin-top:3px;text-align:right;font-size:10px;line-height:1.2}.message-options{float:right;display:grid;place-items:center;width:22px;height:22px;min-height:0;padding:0;margin:-2px -7px 0 6px;border:0;border-radius:50%;background:transparent;color:inherit;opacity:.65}.message-options:hover,.message-options:focus-visible{opacity:1;background:#8883}.message-receipt{margin-left:6px;opacity:.7}.message-receipt.seen{color:#bde5ff;opacity:1}.friend-summary{display:grid;gap:4px;min-width:0;flex:1}.friend-summary small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:155px}.typing-indicator{font-size:11px;color:var(--muted);min-height:0}.typing-indicator:empty{display:none}.message-info{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 32px));padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 40px #0003}.message-info h3{margin:0 0 16px}.message-info p{font-size:13px;line-height:1.6}.chat-push-setup{padding:0 24px 14px}.chat-push-setup .device-notifications{margin-top:0;border-top:0;padding-top:0}.chat-push-setup .device-notifications h3{margin:12px 0 5px}.chat-push-setup .device-push-button{width:auto}.chat-push-setup .device-notifications p{margin:4px 0}
@media(max-width:760px),(hover:none) and (pointer:coarse){.context-actions{left:50%!important;top:50%!important;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(300px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto}.message-options{display:none}.message{padding:6px 10px;max-width:88%}.message:not(.deleted){-webkit-touch-callout:none}.mobile-inbox .chat-push-setup{display:none}}

@media(max-width:760px),(hover:none) and (pointer:coarse){.message time .edited-label{display:none}.message time .message-receipt{display:inline;opacity:.9}.message:not(.deleted)>.message-text{-webkit-user-select:none;user-select:none;touch-action:pan-y}}
.pending-message{animation:message-arrive .18s ease-out}.pending-status{display:inline-flex;align-items:center;gap:5px;margin-left:7px;opacity:.85}.sending-dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:sending-pulse .85s ease-in-out infinite alternate}.retry-message{border:1px solid #ffffff66;background:transparent;color:inherit;border-radius:7px;padding:7px 10px;margin-top:7px;font-size:11px}.send-failed{outline:1px solid #cf9b76}.message time{white-space:nowrap}@keyframes message-arrive{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes sending-pulse{from{opacity:.25}to{opacity:1}}@media(prefers-reduced-motion:reduce){.pending-message,.sending-dot{animation:none}}

.chat-push-setup:empty{display:none}

/* Conversation controls and readable long text. */
.conversation-heading{display:flex;align-items:center;gap:12px}.conversation-identity{flex:1}.conversation-options{margin-left:auto;flex-shrink:0}.message{min-width:0}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;text-align:justify;text-align-last:start}.message-composer textarea{overflow-wrap:anywhere;text-align:justify;text-align-last:start;scrollbar-width:none;resize:none}.message-composer textarea::-webkit-scrollbar{display:none}
.drive-player{position:relative;width:100%;height:100%;background:#111}.drive-player video,.drive-player iframe{width:100%;height:100%;object-fit:contain}.drive-resume{position:absolute;inset:25% 10% auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:20px;background:#f8f8f2;color:#243023;border-radius:12px}.drive-resume button,.drive-fallback{border:1px solid #9aa58e;border-radius:7px;padding:9px;cursor:pointer}.drive-fallback{position:absolute;top:8px;right:8px;background:#f8f8f2;color:#243023;font-size:11px}.drive-status{position:absolute;bottom:0;margin:0;padding:8px;background:#f8f8f2;color:#243023;font-size:12px;width:100%}
@media(max-width:760px),(hover:none) and (pointer:coarse){.conversation-options{display:none}}
