@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#f8f5ef;--white:#fffdf9;--ink:#373f3c;--muted:#62695f;--line:#e4e2d9;--sage:#e5ebdf;--dark:#52644f;--blue:#e5edf1;--serif:'Libre Caslon Display',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 var(--sans)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;min-height:44px}a{color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8ea8b0;outline-offset:4px}button{transition:background .18s,transform .18s}button:active{transform:translateY(1px)}.rail{width:238px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:38px 27px;display:flex;flex-direction:column;background:#f1f1e9;z-index:5}.wordmark{font:30px var(--serif);text-decoration:none;letter-spacing:-1px;display:flex;align-items:center;gap:12px}.wordmark span{font-size:27px;color:#9eac91}.rail-tag{font-size:11px;color:var(--muted);margin:11px 0 39px}.rail nav{display:grid;gap:7px}.rail nav button{text-align:left;border:0;background:transparent;padding:11px 15px;border-radius:9px;color:#747c70}.rail nav button.active{background:#e0e6d8;color:#43583d}.nav-icon{display:inline-block;width:28px;font-size:18px;vertical-align:middle}.primary{background:var(--dark);color:white;border:1px solid var(--dark);border-radius:30px;padding:11px 21px}.primary:hover{background:#40513d}.secondary{background:var(--white);border:1px solid var(--line);border-radius:30px;padding:10px 19px}.quiet{border:0;background:transparent;padding:8px 5px;color:#697763;font-size:12px}.compose-launch{margin-top:28px;width:100%;font-size:12px}.workspace-link{display:block;font-size:12px;text-decoration:none;margin-top:28px;padding-top:25px;border-top:1px solid var(--line)}.workspace-link small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.rail-bottom{margin-top:auto;padding-top:30px;display:flex;align-items:center;justify-content:space-between;gap:5px}.beta-tag{font-size:8px;letter-spacing:.15em;color:var(--muted)}.stage{margin-left:238px}.topbar{min-height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 45px;font-size:11px;color:var(--muted)}.mobile-brand{display:none}.site-foot{max-width:1000px;margin:45px auto 0;padding:25px 30px 40px;border-top:1px solid var(--line);display:flex;gap:18px;justify-content:space-between;font-size:10px;color:var(--muted)}#app{max-width:1100px;margin:auto;padding:38px 45px}.eyebrow{font-size:9px;letter-spacing:.17em;text-transform:uppercase;color:#89937e}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:58px;line-height:1.06;letter-spacing:-1.7px;margin:13px 0 18px}h2{font-size:35px;line-height:1.15}h3{font-size:27px;line-height:1.2}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-intro p{font-size:12px;color:var(--muted);max-width:410px;margin-bottom:0}.page-intro .primary{font-size:12px;white-space:nowrap}.feed-tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin:28px 0 25px}.feed-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 0;font-size:12px;color:var(--muted)}.feed-tabs button.active{border-color:var(--dark);color:var(--ink)}.feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:30px;align-items:start}.post-list{display:grid;gap:22px}.post-card{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden}.post-meta{display:flex;align-items:center;gap:10px;padding:19px 22px 12px}.avatar{width:35px;height:35px;border-radius:50%;background:#e6e9df;color:#6c7b60;display:grid;place-items:center;font:15px var(--serif);flex:none}.author-link{padding:0;min-height:auto;text-align:left;background:transparent;border:0;display:block;font-size:12px;font-weight:600}.byline{font-size:9px;color:var(--muted)}.post-open{display:block;width:100%;background:transparent;border:0;text-align:left;padding:0;cursor:pointer}.post-cover{display:block;width:100%;max-height:430px;object-fit:cover}.post-copy{padding:9px 22px 18px}.post-copy h2{font-size:32px;margin:6px 0 12px;overflow-wrap:anywhere}.post-copy p{font-size:13px;line-height:1.8;color:#797d73;margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere}.chapter-tag{display:inline-block;font-size:9px;letter-spacing:.04em;background:#edf0e7;color:#7c886c;padding:4px 9px;border-radius:5px;margin-bottom:8px}.post-actions{display:flex;align-items:center;gap:12px;margin:0 22px;border-top:1px solid var(--line);padding:8px 0}.post-actions button{border:0;background:transparent;font-size:11px;color:#87917c;padding:7px 0}.post-actions button[aria-pressed=true]{color:#435e3b;font-weight:bold}.post-actions .last{margin-left:auto}.sidebar-note{background:#e9eee3;padding:25px;border-radius:13px}.sidebar-note h3{font-size:29px;margin:18px 0 13px}.sidebar-note p{font-size:11px;color:#7a8572}.creator-mini{display:flex;align-items:center;gap:10px;border-top:1px solid #d8e0d1;padding:13px 0}.creator-mini>div{flex:1;min-width:0}.creator-mini .quiet{font-size:10px}.side-section{padding:25px 0;border-bottom:1px solid var(--line)}.side-section h3{font-size:24px}.side-section p{font-size:11px;color:var(--muted)}.empty{border:1px dashed #d7dccc;border-radius:14px;padding:45px 28px;background:#f4f5ee;text-align:center}.empty h2{font-size:33px;margin-bottom:14px}.empty p{font-size:13px;max-width:390px;margin:0 auto 20px;color:var(--muted)}.empty .primary{font-size:12px}.loading{padding:80px 10px;text-align:center;color:var(--muted)}.profile-hero{padding:20px 0 28px;border-bottom:1px solid var(--line)}.profile-hero .avatar{width:65px;height:65px;font-size:27px}.profile-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-hero h1{margin-top:20px}.profile-bio{max-width:540px;white-space:pre-wrap;overflow-wrap:anywhere;color:#778170;font-size:13px}.profile-counts{display:flex;gap:20px;font-size:11px;color:var(--muted)}.chapter-strip{display:flex;gap:10px;overflow:auto;padding:20px 0}.chapter-strip button{background:#ecf0e5;border:1px solid #dfe5d5;border-radius:10px;padding:10px 15px;white-space:nowrap;font-size:12px}.chapter-strip button.active{border-color:var(--dark)}.creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.creator-card{background:var(--white);border:1px solid var(--line);border-radius:15px;padding:24px}.creator-card h3{margin:18px 0 6px}.creator-card p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.creator-card .secondary{font-size:12px}.search-box{width:100%;border:1px solid var(--line);background:var(--white);border-radius:12px;padding:14px 18px;margin-bottom:24px;color:var(--ink)}.error-panel{border:1px solid #d8bcb3;background:#fbf1eb;padding:20px;border-radius:10px;font-size:13px}.auth-banner{border:1px solid var(--line);border-radius:22px;padding:55px 40px;background:#eef0e7;max-width:700px;margin:30px auto}.auth-banner h1{max-width:500px}.auth-banner p{max-width:440px;color:#7d8577}.auth-banner .eyebrow{margin-bottom:25px}dialog{border:1px solid var(--line);border-radius:20px;width:min(600px,calc(100% - 28px));padding:28px;max-height:90svh;overflow:auto;background:var(--white);color:var(--ink);box-shadow:0 20px 70px #29372425}dialog::backdrop{background:#26322666;backdrop-filter:blur(4px)}dialog[open]{animation:enter .18s ease-out}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}dialog h2{font-size:39px;margin:15px 0 18px}dialog p{font-size:12px;color:var(--muted)}label{display:block;font-size:12px;margin:18px 0}input,textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:9px;padding:12px 14px;background:#fafbf6;color:var(--ink);font-size:16px;margin-top:8px}textarea{resize:vertical;line-height:1.7}label small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.form-error{color:#9f5142;white-space:pre-wrap;min-height:18px}.audience-note{background:#edf0e7;padding:13px;border-radius:9px;line-height:1.7}.title-input{font:27px var(--serif);background:transparent;border:0;padding:12px 0}#postBody{background:transparent;border:0;padding:12px 0;min-height:190px}.upload-label input{padding:8px;font-size:12px}#imagePreview img{max-width:100%;max-height:240px;border-radius:12px}.reading-dialog{width:min(750px,calc(100% - 28px))}.reading-body{font:19px/1.85 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere}.reading-cover{max-width:100%;max-height:600px;object-fit:contain;border-radius:10px;margin:15px 0}.comment{padding:18px 0;border-top:1px solid var(--line)}.comment p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:13px;margin:9px 0}.comment small{color:var(--muted);font-size:10px}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);background:#455a40;color:#fff;padding:12px 23px;border-radius:30px;font-size:12px;z-index:30;max-width:calc(100% - 30px);box-shadow:0 5px 20px #26322620}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.muted{color:var(--muted)}[hidden]{display:none!important}@keyframes enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.rail{width:205px;padding:30px 20px}.stage{margin-left:205px}#app{padding:30px}.feed-layout{grid-template-columns:minmax(0,1fr) 205px;gap:20px}.creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:15px 30px}}
@media(max-width:800px){.rail{inset:auto 0 0;width:auto;height:auto;padding:9px 10px calc(9px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:#f8f5eff5;backdrop-filter:blur(15px)}.rail .wordmark,.rail-tag,.rail .compose-launch,.workspace-link,.rail-bottom{display:none}.rail nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.rail nav button{text-align:center;padding:5px 1px;font-size:10px}.nav-icon{display:block;width:auto;font-size:20px}.stage{margin-left:0;padding-bottom:85px}.topbar{padding:13px 23px;min-height:64px}.topbar>span{display:none}.mobile-brand{display:block;font:24px var(--serif);text-decoration:none;color:var(--ink)}#app{padding:28px 22px}.feed-layout{grid-template-columns:1fr}.feed-sidebar{display:none}h1{font-size:48px}.page-intro{align-items:flex-start}.page-intro .primary{font-size:11px;padding:9px 14px}.site-foot{padding:22px;flex-direction:column;margin-top:15px}.post-copy h2{font-size:33px}.auth-banner{padding:35px 26px;margin:10px 0}.creator-grid{gap:12px}.creator-card{padding:20px}dialog{padding:24px}.profile-hero h1{font-size:46px}.profile-counts{flex-wrap:wrap;gap:12px}.post-cover{max-height:500px}#toast{bottom:95px}}
@media(max-width:420px){h1{font-size:44px}.page-intro{display:block}.page-intro>.primary{margin-top:20px}.creator-grid{grid-template-columns:1fr}.post-meta{padding:17px 18px 12px}.post-copy{padding:8px 18px 16px}.post-actions{margin:0 18px;gap:14px}.profile-top .secondary{font-size:11px;padding:9px 13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* FORMERA's nature-inspired front door. */
body.welcome-open{overflow:hidden}.welcome-screen{position:fixed;inset:0;z-index:20;min-height:100svh;background:#e6ece3;isolation:isolate;overflow:auto;color:#394b42;display:flex;flex-direction:column;align-items:center}.welcome-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.welcome-top{width:100%;display:flex;justify-content:space-between;align-items:center;padding:33px 5vw}.welcome-top>span{font:29px var(--serif);letter-spacing:-.7px}.welcome-dot{font:25px var(--serif);margin-left:9px;color:#768e78}.welcome-top small,.welcome-bottom{font:9px var(--sans);letter-spacing:.18em;color:#617868}.welcome-copy{text-align:center;margin:auto;padding:40px 20px 160px;max-width:700px}.welcome-kicker{font:9px var(--sans);letter-spacing:.22em;color:#7b8f7d}.welcome-copy h1{font:clamp(65px,7.5vw,103px)/.95 var(--serif);letter-spacing:-2px;margin:27px 0 23px}.welcome-copy h1 em{font-weight:400;color:#657e60}.welcome-copy p{font:14px/1.85 var(--sans);color:#758472;margin-bottom:28px}.welcome-enter{background:#405d46;color:#fffdf4;border:1px solid #405d46;border-radius:50px;padding:15px 27px;min-width:200px;font:13px var(--sans);box-shadow:0 6px 23px #3e573616;display:inline-flex;align-items:center;justify-content:space-between;gap:35px}.welcome-enter:hover{background:#324d38;box-shadow:0 8px 27px #3e573630}.welcome-enter span{font-size:19px}.welcome-note{display:block;font:10px var(--sans);color:#7c8b75;margin-top:19px}.welcome-bottom{width:100%;padding:25px 5vw;display:flex;justify-content:space-between;gap:15px;color:#f4f3e6;margin-top:auto}.welcome-copy{animation:welcomeIn .65s ease both}@keyframes welcomeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:800px){.welcome-top{padding:28px 25px}.welcome-top small{display:none}.welcome-copy{padding:25px 20px 150px}.welcome-copy h1{font-size:79px}.welcome-copy p{font-size:13px}.welcome-bottom{padding:25px;font-size:8px;line-height:1.7}.welcome-bottom span{max-width:120px}.welcome-bottom span:last-child{text-align:right}.welcome-landscape{object-position:56% bottom}}@media(max-height:650px){.welcome-copy{padding-bottom:50px}.welcome-copy h1{font-size:59px;margin:16px 0}.welcome-copy p{margin-bottom:18px}.welcome-top{padding-top:20px;padding-bottom:10px}.welcome-bottom{padding-top:12px;padding-bottom:15px}}@media(prefers-reduced-motion:reduce){.welcome-copy{animation:none}}

/* Authentication lives directly on the nature welcome screen. */
.welcome-copy{padding:20px 20px 80px;max-width:600px;width:100%}.welcome-copy h1{font-size:65px;margin:19px 0 15px}.welcome-copy>p{font-size:12px;margin-bottom:22px}.welcome-auth{max-width:380px;margin:0 auto;text-align:left;border:1px solid #fffdf8b5;border-radius:20px;padding:23px 26px;background:#fffdf5ed;box-shadow:0 12px 50px #4a65420c;backdrop-filter:blur(12px)}.welcome-auth h2{font-size:29px;line-height:1.2;margin:0 0 8px}.welcome-auth p{font-size:11px;color:#7b8675;line-height:1.7;margin-bottom:10px}.welcome-auth label{margin:12px 0;font-size:11px}.welcome-auth input{font-size:16px;padding:11px 13px;margin-top:6px;background:#fcfcf6}.welcome-auth .form-actions{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.welcome-auth .form-actions button{font-size:12px;padding:10px 12px}.welcome-auth .form-error{color:#a35c49;min-height:0}.welcome-note{margin-top:20px}.welcome-top{padding-top:24px;padding-bottom:16px}.welcome-bottom{padding-top:18px;padding-bottom:18px}@media(min-width:1000px) and (min-height:750px){.welcome-copy{max-width:1000px;display:grid;grid-template-columns:1fr 1fr;column-gap:70px;text-align:left;align-content:center;padding-bottom:90px}.welcome-kicker{grid-column:1;align-self:end}.welcome-copy h1{grid-column:1;font-size:88px;margin:23px 0}.welcome-copy>p{grid-column:1;font-size:14px}.welcome-auth{grid-column:2;grid-row:1/5;width:100%;align-self:center}.welcome-note{grid-column:1;margin-top:0}}@media(max-width:540px){.welcome-copy{padding:8px 22px 55px}.welcome-copy h1{font-size:51px;line-height:.97;margin:16px 0}.welcome-copy>p{margin-bottom:18px}.welcome-auth{padding:21px 23px}.welcome-top{padding:22px 24px 16px}.welcome-kicker{font-size:8px}.welcome-bottom{font-size:7px}}@media(max-height:650px){.welcome-copy h1{font-size:40px}.welcome-copy>p{display:none}.welcome-top{padding-top:15px}.welcome-auth{padding:18px 23px}.welcome-note{font-size:9px}}

/* Intentional community controls, with clear audience labels. */
.avatar{padding:0;border:0;overflow:hidden;min-height:0;cursor:pointer}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-preview{margin:15px 0}.avatar-preview>.avatar,.avatar-preview>img{display:block;width:82px;height:82px;border-radius:50%;object-fit:cover}.avatar-preview>.avatar{display:grid;place-items:center;font-size:32px}.checkbox-label{display:flex;align-items:center;gap:10px}.checkbox-label input{display:inline;width:18px;height:18px;margin:0;accent-color:var(--dark)}#followRequests{border-top:1px solid var(--line);padding-top:22px;margin-top:30px}#followRequests h3{font-size:27px}.request-row,.people-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.request-row>div,.people-row>div{flex:1;min-width:0}.request-row .secondary{font-size:11px;padding:8px 12px}.people-row small{font-size:10px;color:var(--muted)}.people-row .author-link{font-size:14px}.profile-counts button{font:inherit;color:var(--muted);border:0;background:transparent;padding:0;text-decoration:underline;text-underline-offset:4px}.private-notice{padding:16px;background:#e9eee3;border-radius:12px;font-size:12px;line-height:1.8;max-width:530px}.audience-label{font-size:10px!important;background:#edf1e7;color:#697862!important;display:inline-block;padding:5px 10px;border-radius:20px;margin-top:20px}.reading-social{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:23px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.reading-social .secondary{font-size:12px}.stories-shelf{display:flex;gap:19px;overflow-x:auto;padding:0 0 25px;margin-bottom:24px;border-bottom:1px solid var(--line);scrollbar-width:thin}.story-bubble{width:79px;flex:none;background:transparent;border:0;padding:2px;color:var(--ink);text-align:center;cursor:pointer}.story-circle{display:grid;place-items:center;width:65px;height:65px;border:2px solid #91a482;border-radius:50%;padding:3px;margin:0 auto 9px;overflow:hidden;font:25px var(--serif);background:#e4ebdd}.story-circle img{width:100%;height:100%;object-fit:cover;border-radius:50%}.story-bubble strong{display:block;font-size:10px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-bubble small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.add-story .story-circle{border:1px dashed #9aab8c;background:transparent}.feed-tabs{overflow:auto;gap:18px}.feed-tabs button{white-space:nowrap}.post-actions{gap:13px}.post-actions button{font-size:11px}#peopleDialog{max-width:490px}#peopleDialog h2{font-size:32px;margin:0}#postDialog .comment:target{background:#edf1e7}@media(max-width:540px){.stories-shelf{gap:12px}.story-circle{width:59px;height:59px}.story-bubble{width:72px}.request-row{gap:8px}.request-row .secondary{padding:8px;font-size:10px}.request-row .quiet{font-size:10px}.post-actions{gap:13px}.topbar{gap:13px}.topbar .mobile-brand{margin-right:auto}.profile-counts{gap:17px}}


/* Ordered photo posts: native swiping, keyboard scrolling, and explicit controls. */
.photo-gallery{min-width:0;overflow:hidden}.photo-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin}.photo-track:focus-visible{outline:2px solid #52644f;outline-offset:-3px}.photo-slide{margin:0;position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;background:#e9ece3}.photo-slide img.post-cover,.photo-slide img.reading-cover{display:block;width:100%;height:auto;aspect-ratio:4/5;max-height:650px;object-fit:contain;margin:0;border-radius:0}.photo-slide figcaption{position:absolute;right:12px;top:12px;border-radius:18px;padding:5px 10px;background:#fffdf3e8;color:#30382f;font:11px system-ui}.gallery-controls{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:10px;color:#697862}.gallery-controls button{min-width:44px;min-height:44px}.photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.photo-preview{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.photo-preview img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.photo-preview>div{display:flex;align-items:center;justify-content:space-around;font-size:11px}.photo-preview button{padding:5px;min-height:40px;min-width:28px}.photo-preview button:disabled{opacity:.25}.photo-preview span{padding-left:3px}#photoCount{margin-top:18px}@media(max-width:540px){.photo-previews{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.photo-track{scroll-behavior:auto}}

/* Dedicated settings and communities: clear destinations and fewer stacked menus. */
.settings-page{max-width:760px}.settings-grid,.communities-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.settings-card{position:relative;display:flex;flex-direction:column;gap:10px;text-align:left;padding:25px 45px 25px 25px;background:var(--white);border:1px solid var(--line);border-radius:15px;min-height:150px}.settings-card strong{font-family:var(--serif);font-size:30px;font-weight:400}.settings-card span{font-size:12px;line-height:1.8;color:#70796c}.settings-card b{position:absolute;right:22px;top:25px;font-weight:400}.settings-form{max-width:620px;background:var(--white);border:1px solid var(--line);padding:25px;border-radius:15px;margin:22px 0}.settings-form label,.community-about label{display:block;margin:17px 0}.settings-form input,.settings-form select,.settings-form textarea{width:100%;padding:12px;border:1px solid var(--line);background:var(--paper);border-radius:9px;margin-top:7px;font-size:16px}.settings-form input[type=checkbox]{width:auto}.settings-form small{display:block;color:var(--muted);font-size:11px}.settings-form p{font-size:12px;line-height:1.9;color:#70796c}.settings-form .form-error{color:#a35c49}.settings-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0}.how-it-works{display:flex;gap:18px;flex-wrap:wrap;background:#e9eee4;border-radius:13px;padding:18px 22px;font-size:11px;color:#52644f}.community-card{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;align-items:start;gap:12px;min-width:0}.community-card h2{font-size:31px;margin:0;overflow-wrap:anywhere}.community-card p{font-size:12px;color:#737d70;white-space:pre-wrap;overflow-wrap:anywhere}.community-card small{font-size:10px;color:var(--muted);margin-top:auto}.community-card .secondary{font-size:12px}.community-hero{max-width:850px;margin-top:20px}.community-hero p{max-width:680px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.community-about{max-width:760px;padding:26px;background:var(--white);border:1px solid var(--line);border-radius:15px}.community-about>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:13px}.community-about h2{font-size:31px;margin-top:25px}.community-about h2:first-child{margin-top:0}.community-about small{display:block;font-size:10px;color:var(--muted)}.community-prompt{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:#e9eee4;border-radius:14px;margin-bottom:22px}.community-prompt p{font-size:12px;margin:7px 0 0}.community-prompt .primary{white-space:nowrap;font-size:12px}.join-notice{padding:30px;border:1px solid var(--line);border-radius:15px;background:var(--white);max-width:760px}.join-notice p{font-size:13px;line-height:1.9}.community-tag{min-height:30px;padding:0;font-size:10px}#communitySearch{width:100%;margin-top:8px}.reading-body a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.tracker-shortcut{white-space:nowrap;text-decoration:none}@media(max-width:650px){.settings-grid,.communities-grid{grid-template-columns:1fr}.settings-card{min-height:125px}.community-prompt{display:block}.community-prompt .primary{margin-top:17px}.community-hero h1{font-size:40px}.community-about,.settings-form{padding:20px}.topbar{flex-wrap:wrap}.topbar>span{display:none}.tracker-shortcut{font-size:10px}.how-it-works{display:grid;gap:8px}.community-card h2{font-size:29px}.settings-page h1{font-size:42px}.community-about .request-row{flex-wrap:wrap}}

/* A welcoming place to return: real conversations, clear activity, quiet visual rhythm. */
.community-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 0 30px}.community-welcome h1{font-size:57px;margin:12px 0 16px}.community-auto-welcome p{max-width:500px;font-size:14px;line-height:1.85;color:#727e6f;margin:0}.community-welcome>.secondary{flex:none;font-size:12px}.community-catchup{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 21px;background:#e8eee2;border:1px solid #dfe7d7;border-radius:13px;font-size:12px;color:#4d6046}.community-directory-tabs{margin-top:25px}.activity-dot{display:inline-block;width:7px;height:7px;background:#66865d;border-radius:50%;margin-left:7px;vertical-align:middle}.return-community-card{gap:14px;padding:26px;border-radius:19px;background:#fffdf9}.return-community-card.has-new{border-color:#b8c9aa}.community-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.community-card-top .chapter-tag{margin:0;background:#edf0e7}.new-activity{font-size:10px;color:#526b47;white-space:nowrap}.joined-label{font-size:10px;color:#87917e}.community-name{font:inherit;text-align:left;background:transparent;border:0;padding:0;min-height:0;line-height:1.16;overflow-wrap:anywhere}.community-name:hover{text-decoration:underline;text-underline-offset:5px}.return-community-card>small{margin-top:0}.community-recent{width:100%;border-top:1px solid var(--line);padding-top:16px;margin:1px 0 8px}.community-recent>.eyebrow{font-size:8px}.community-recent>p{margin-top:12px;font-size:12px;line-height:1.8}.discussion-preview{display:block;width:100%;padding:14px 0;text-align:left;border:0;background:transparent;border-bottom:1px solid #ecebe3}.discussion-preview:last-child{border-bottom:0;padding-bottom:3px}.discussion-preview>span{display:block;font-size:10px;color:#7e8876}.discussion-preview strong{display:block;font-size:13px;font-weight:500;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.discussion-preview .preview-cue{font-size:10px;color:#536c49}.return-community-card>.primary,.return-community-card>.secondary{margin-top:auto;width:100%;font-size:12px}.community-help{margin:20px 0;font-size:11px;color:#7e8877;max-width:760px}.community-help summary{padding:12px 0;cursor:pointer;color:#56674f}.community-help p{line-height:1.9}.new-discussion-label{margin:7px 0 -12px;font-size:10px;color:#526b47;padding-left:4px;letter-spacing:.04em}@media(max-width:650px){.community-welcome{display:block;padding:10px 0 24px}.community-welcome h1{font-size:44px}.community-auto-welcome p{font-size:13px}.community-welcome>.secondary{margin-top:18px}.community-catchup{display:block;padding:16px 18px}.community-catchup .quiet{display:block;margin-top:5px;padding-left:0}.return-community-card{padding:22px}.community-directory-tabs{gap:20px}.community-directory-tabs button{font-size:11px}}

.account-launch{max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-options{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:20px 0}.remembered-account{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0}.remembered-account>button:first-child{min-width:0;overflow-wrap:anywhere;text-align:left}.feedback-item{padding:18px 0;border-bottom:1px solid var(--line)}.feedback-item>small{display:block;color:var(--muted)}.privacy-page{max-width:850px;margin:0 auto;padding:35px 24px 80px}.privacy-page .settings-form{max-width:none}.privacy-page li{margin-bottom:13px;font-size:13px;line-height:1.9}.privacy-page h1{font-size:48px}#accountDialog{max-width:500px}#accountDialog h2{overflow-wrap:anywhere}@media(max-width:650px){.account-launch{max-width:90px;font-size:11px}.topbar{gap:10px}#accountDialog h2{font-size:32px}}

/* A quieter post editor: writing first, optional organization on demand. */
#composeDialog{width:min(620px,calc(100% - 24px));padding:24px}
#composeDialog .dialog-top{margin-bottom:8px}
#composeDialog h2{font-size:32px;margin:8px 0 12px}
#composeDialog #postBody{min-height:130px}
#composeDialog .upload-label{position:relative;display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--line);border-radius:24px;padding:9px 15px;margin:8px 0;cursor:pointer}
#composeDialog .upload-label:focus-within{outline:3px solid #8ea8b0;outline-offset:3px}
#composeDialog .upload-label small{margin:0}
#composeDialog #photoCount{margin:4px 0;font-size:11px}
.compose-sharing{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.compose-sharing label{margin:14px 0 8px}
.compose-sharing select{font-size:14px;padding:10px}
.compose-sharing small{line-height:1.4}
.compose-options{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.compose-options summary{cursor:pointer;min-height:44px;padding:9px 0;font-size:12px;color:var(--dark)}
#composeDialog .form-error:empty{display:none}
#composeDialog .form-actions{position:sticky;bottom:-24px;background:var(--white);padding:12px 0;margin-top:10px;border-top:1px solid var(--line)}
@media(max-width:480px){#composeDialog{padding:20px}#composeDialog h2{font-size:29px}.compose-sharing{grid-template-columns:1fr;gap:0}#composeDialog .form-actions{bottom:-20px}}

/* Write-first composer */
#composeDialog .eyebrow,#composeDialog #composeTitle{display:none}
#composeDialog .composer-identity{display:flex;align-items:center;gap:10px;margin:12px 0 4px;font-size:14px}
.composer-avatar{width:36px;height:36px;border-radius:50%;background:var(--sage);display:grid;place-items:center;overflow:hidden}
.composer-avatar img{width:100%;height:100%;object-fit:cover}
#composeDialog #postBody{font-size:18px;min-height:180px;margin-top:4px}
#composeDialog .compose-options{margin-top:14px}
#composeDialog .compose-options summary{display:flex;justify-content:space-between;gap:12px;list-style:none;font-size:12px}
#composeDialog .compose-options summary::-webkit-details-marker{display:none}
#composeDialog .compose-options .title-input{font-size:22px}
#composeDialog .upload-label small{display:none}
@media(max-width:600px){#composeDialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;margin:0;padding:20px}#composeDialog #postBody{min-height:32dvh}#composeDialog .form-actions{bottom:-20px}}

#cropDialog{width:min(560px,calc(100% - 24px))}
#cropDialog h2{font-size:28px;margin:0}
#cropCanvas{display:block;max-width:100%;max-height:36svh;margin:0 auto;background:#eee;border-radius:10px}
#cropDialog label{margin:10px 0}
#cropDialog input[type=range]{padding:0;accent-color:var(--dark);min-height:36px}
.crop-position{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.billing-notice{padding:16px 20px;background:var(--blue);border:1px solid var(--line);border-radius:12px;margin:15px 0}.billing-notice p{margin:5px 0 0;font-size:12px}.billing-membership{padding:18px 0;border-bottom:1px solid var(--line)}.billing-membership:last-child{border-bottom:0}.billing-membership p{margin:6px 0}.billing-test-tag{padding:3px 8px;border-radius:15px;background:var(--blue);font-size:10px}.settings-grid{gap:12px}.settings-card{min-height:120px;padding:20px 40px 20px 20px}.settings-card strong{font-size:26px}

.stories-shelf{display:flex;gap:18px;overflow-x:auto;padding:8px 0 18px;border-bottom:1px solid var(--line)}.story-person{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:66px;max-width:90px;border:0;background:none;font-size:11px}.story-ring{width:58px;height:58px;border:2px solid var(--dark);padding:3px;border-radius:50%;display:grid;place-items:center;background:var(--sage);font-size:22px;overflow:hidden}.story-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover}.story-reading{background:var(--sage);padding:30px;border-radius:18px;min-height:200px;display:grid;align-content:center;font-size:27px}.song-link{display:inline-block;margin:12px 0}.community-chat{max-width:760px;background:var(--white);border:1px solid var(--line);border-radius:15px;padding:22px}.community-chat h2{font-size:30px;margin:0}.community-chat .sectionhead p{font-size:12px;margin:7px 0}.chat-messages{max-height:55svh;overflow:auto}.chat-message{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.chat-message>div{min-width:0}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.chat-message small{display:block;font-size:10px;color:var(--muted)}#chatForm textarea{font-size:16px}#chatForm button{margin-top:8px}

#communityDialog{width:min(560px,calc(100% - 24px));padding:25px}#communityDialog h2{font-size:33px;margin:8px 0 10px}#communityDialog .dialog-top{margin-bottom:10px}#communityDialog .community-start-note{margin-bottom:20px;color:#687763}.field-caption{display:block;font-size:12px;margin:18px 0 9px}.topic-chips{display:flex;gap:8px;flex-wrap:wrap}.topic-chips button{border:1px solid var(--line);background:var(--paper);border-radius:24px;font-size:12px;padding:8px 13px;min-height:40px}.topic-chips button[aria-pressed=true]{background:var(--dark);border-color:var(--dark);color:white}.community-extras{border-top:1px solid var(--line);padding:10px 0;margin:12px 0}.community-extras summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--dark);font-size:12px}#communityDialog [type=submit]{width:100%;margin-top:6px}#communityDialog .byline{font-size:11px;line-height:1.6}#communityDialog .form-error:empty{display:none}

/* A bold opening wave eases to stillness within five seconds. */
.welcome-screen .wave-far,.welcome-screen .wave-middle,.welcome-screen .wave-front{transform-origin:720px 1000px;animation:welcomeSurge 4.8s cubic-bezier(.2,.65,.35,1) both}
.welcome-screen .wave-middle{animation-name:welcomeSurgeMiddle}.welcome-screen .wave-front{animation-name:welcomeSurgeFront}
@keyframes welcomeSurge{0%{transform:translate(-95px,45px) scale(1.18)}35%{transform:translate(75px,-36px) scale(1.16)}65%{transform:translate(-22px,10px) scale(1.11)}85%{transform:translate(8px,-4px) scale(1.09)}100%{transform:translate(0,0) scale(1.09)}}
@keyframes welcomeSurgeMiddle{0%{transform:translate(110px,55px) scale(1.2)}35%{transform:translate(-85px,-40px) scale(1.17)}65%{transform:translate(26px,12px) scale(1.11)}85%{transform:translate(-10px,-5px) scale(1.09)}100%{transform:translate(0,0) scale(1.09)}}
@keyframes welcomeSurgeFront{0%{transform:translate(-125px,65px) scale(1.23)}35%{transform:translate(100px,-45px) scale(1.18)}65%{transform:translate(-30px,15px) scale(1.12)}85%{transform:translate(12px,-6px) scale(1.09)}100%{transform:translate(0,0) scale(1.09)}}
.welcome-screen[data-motion=paused] .wave-far,.welcome-screen[data-motion=paused] .wave-middle,.welcome-screen[data-motion=paused] .wave-front{animation:none}
@media(prefers-reduced-motion:reduce){.welcome-screen .wave-far,.welcome-screen .wave-middle,.welcome-screen .wave-front{animation:none!important}}
@media(max-width:600px){#storyPlayer{width:100%;height:100dvh;max-width:none;border-radius:0;margin:0}.story-frame{padding-top:100px}.landscape-motion{right:20px;bottom:58px}}

#storyVisitProfile{background:none;border:0;color:white;padding:0;text-align:left;min-width:0;margin-right:auto}#storyVisitProfile strong{margin:0}.story-frame{padding-bottom:132px;touch-action:pan-y}.story-interactions{position:absolute;bottom:66px;left:0;right:0;display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:10px 16px;background:linear-gradient(transparent,#213629e8 30%)}.story-interactions button{border:1px solid #ffffff55;border-radius:24px;padding:8px 17px;min-height:40px;background:#1e3027b0;color:#fff;font-size:13px}.story-interactions button[aria-pressed=true]{background:#f6e8df;color:#6a433a;border-color:#f6e8df}.story-interactions span{flex-basis:100%;font-size:9px;color:#e1e8dc}.story-player-bottom>span{text-align:center}.story-player-bottom small{display:block;font-size:8px;line-height:1.5;color:#d7e1d3}.story-frame-enter{animation:storyPersonIn .2s ease-out}@keyframes storyPersonIn{from{opacity:.55;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.story-frame-enter{animation:none}}

#storyFrame img{user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}

.direct-page{max-width:1000px}.direct-page h1{font-size:44px}.direct-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}.direct-inbox{background:var(--white);border:1px solid var(--line);border-radius:15px;padding:17px}.direct-inbox .feed-tabs{margin:0 0 15px}.direct-row{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;text-align:left;border:0;border-radius:10px;background:none}.direct-row.active{background:var(--sage)}.direct-row>span:last-child{min-width:0}.direct-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:11px;color:var(--muted)}.direct-row strong{font-size:13px}.direct-conversation,.direct-empty{padding:22px;background:var(--white);border:1px solid var(--line);border-radius:15px;min-width:0}.direct-heading{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.direct-heading .author-link{margin-right:auto}.direct-heading>[data-action=direct-list]{display:none}.direct-history{max-height:50svh;min-height:170px;overflow-y:auto;padding:15px 0}.direct-message{background:var(--blue);padding:12px 16px;border-radius:15px;margin:10px 35px 10px 0;max-width:90%;width:fit-content}.direct-message.from-me{margin:10px 0 10px auto;background:var(--sage)}.direct-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:0}.direct-message small{font-size:9px;color:#737d70}.direct-message .quiet{font-size:10px;min-height:32px}.direct-request{padding:18px;background:var(--blue);border-radius:12px;margin:15px 0}.direct-request p,.direct-status{font-size:12px}.direct-status{padding:15px;background:var(--paper);border-radius:10px}#directForm textarea{font-size:16px}#directForm button{margin-top:8px}.story-interactions{bottom:70px}@media(max-width:700px){.direct-layout{grid-template-columns:1fr}.direct-page.thread-open .direct-inbox{display:none}.direct-page:not(.thread-open) .direct-empty{display:none}.direct-conversation{padding:16px}.direct-heading>[data-action=direct-list]{display:block}.direct-page .page-intro{margin-bottom:15px}.direct-row small{max-width:65vw}.direct-history{max-height:45svh}.direct-message{max-width:90%}}
/* Community rooms keep navigation, conversation and the composer in consistent places. */
.server-layout{display:grid;grid-template-columns:64px 210px minmax(0,1fr);height:calc(100svh - 160px);min-height:540px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--white)}.server-rail{display:flex;flex-direction:column;gap:12px;align-items:center;padding:17px 7px;background:#e7ebe3;border-right:1px solid var(--line);overflow-y:auto}.server-icon{flex-shrink:0;width:44px;height:44px;border-radius:17px;background:var(--paper);border:1px solid transparent;font-size:12px;font-weight:700;color:var(--dark)}.server-icon.active{background:var(--dark);color:var(--paper);border-radius:13px}.server-icon:hover{border-color:var(--dark)}.server-sidebar{padding:22px 14px;background:#f1f2eb;overflow-y:auto;border-right:1px solid var(--line)}.server-title{padding:0 8px 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.server-title h1{font-family:var(--sans);font-size:20px;line-height:1.25;margin:12px 0 8px;overflow-wrap:anywhere}.server-title p{font-size:11px;color:var(--muted);margin:0}.server-sidebar>.eyebrow{display:block;font-size:9px;margin:24px 8px 10px}.channel-link{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:none;padding:11px 10px;border-radius:9px;font-size:12px;text-decoration:none;color:var(--dark);overflow-wrap:anywhere}.channel-link span{font-size:19px;opacity:.6}.channel-link.active{background:#dee5d7;font-weight:700}.channel-link:hover{background:#e5e9de}.server-main{min-width:0;min-height:0;overflow:hidden;background:var(--white)}.server-content{height:100%;overflow:auto;padding:24px}.server-content .community-hero{margin-top:10px}.server-content .community-hero h1{font-size:34px}.server-content>.feed-tabs{display:none}.server-mobile-title{display:none}.new-channel{margin:12px 8px 22px;font-size:11px}.new-channel summary{cursor:pointer;padding:10px 0}.new-channel input{font-size:14px;padding:10px}.new-channel label{font-size:10px}.new-channel button{font-size:11px;padding:10px}.room-chat{height:100%;max-width:none;border:0;border-radius:0;padding:0;display:flex;flex-direction:column;min-height:0}.room-heading{padding:23px 25px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;flex-shrink:0}.room-heading>div{flex:1;min-width:0}.room-heading h2{font-family:var(--sans);font-size:18px;margin:0;overflow-wrap:anywhere}.room-heading h2 span{color:var(--muted);font-weight:400}.room-heading p{font-size:11px;color:var(--muted);line-height:1.5;margin:7px 0 0}.connection-status{font-size:9px;color:var(--muted);max-width:90px}.room-chat .chat-messages{flex:1;max-height:none;min-height:0;overflow-y:auto;padding:8px 25px;overscroll-behavior:contain}.room-chat .chat-message{border:0;padding:14px 0;gap:13px}.room-chat .chat-message>.avatar{width:34px;height:34px}.room-chat .chat-message>div{flex:1;position:relative}.room-chat .chat-message .author-link{font-size:12px;font-weight:600}.room-chat .chat-message small{display:inline;margin-left:9px;color:var(--muted);font-size:9px}.room-chat .chat-message p{font-size:14px;line-height:1.6;margin-top:6px;padding-right:20px}.message-options{font-size:11px}.message-options summary,.conversation-options summary{cursor:pointer;list-style:none;min-width:32px;min-height:30px;text-align:center;display:grid;place-items:center}.room-chat .message-options{position:absolute;right:0;top:0;background:var(--white);border-radius:8px}.message-options[open],.conversation-options[open]{border:1px solid var(--line);background:var(--white);border-radius:9px;padding:4px}.message-options[open] button{display:block}.room-empty{padding:45px 8px;color:var(--muted)}.room-empty>span{display:grid;place-items:center;background:var(--sage);border-radius:20px;width:60px;height:60px;font-size:38px;color:var(--dark)}.room-empty h3{font-size:23px;color:var(--dark);margin-bottom:8px}.room-empty p{font-size:13px;line-height:1.6}.room-composer{padding:12px 22px 18px;flex-shrink:0}.room-composer #chatForm{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:10px}.room-composer #chatForm textarea{resize:vertical;max-height:160px;min-height:42px;border:0;background:none;margin:0;padding:10px;line-height:1.4}.room-composer #chatForm button{margin:0;min-height:42px;font-size:12px;padding:10px 15px}.room-composer .form-error{grid-column:1/-1;margin:0}.room-composer .form-error:empty{display:none}.room-composer .byline{font-size:9px;line-height:1.4;margin:10px 5px 0}.conversation-options{position:relative;font-size:12px}.conversation-options[open]{position:absolute;right:20px;top:16px;z-index:2;box-shadow:0 8px 24px #34493615}.conversation-options[open] button{display:block}.direct-page{max-width:none}.direct-layout{height:calc(100svh - 265px);min-height:460px;gap:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--white)}.direct-inbox{border:0;border-right:1px solid var(--line);border-radius:0;overflow-y:auto;background:#f1f2eb}.direct-conversation{position:relative;border:0;border-radius:0;display:flex;flex-direction:column;height:100%;min-height:0}.direct-heading{flex-shrink:0;min-height:46px}.direct-history{flex:1;max-height:none;min-height:0;overscroll-behavior:contain}.direct-conversation #directForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:10px}.direct-conversation #directForm textarea{border:0;background:none;margin:0;padding:10px;min-height:45px;max-height:160px;resize:vertical}.direct-conversation #directForm button{margin:0;padding:12px;min-height:44px}.direct-conversation #directForm .form-error{grid-column:1/-1;margin:0}.direct-conversation #directForm .form-error:empty{display:none}.direct-conversation>.byline{font-size:9px;margin-bottom:0;line-height:1.4}.direct-message .message-options{font-size:10px}.direct-request{flex-shrink:0}.direct-empty{border:0;border-radius:0}.direct-message{box-shadow:none}
@media(max-width:1050px){.server-layout{grid-template-columns:55px 165px minmax(0,1fr)}.server-sidebar{padding:18px 8px}.room-heading{padding:18px}.room-chat .chat-messages{padding:8px 18px}.room-composer{padding:10px 14px 16px}}
@media(max-width:700px){.server-layout{grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:calc(100svh - 145px);min-height:460px;border-radius:13px}.server-rail{grid-row:1/3;gap:10px;padding:12px 3px}.server-icon{width:34px;height:34px;font-size:10px;border-radius:12px}.server-sidebar{grid-column:2;grid-row:1;padding:9px;max-height:170px;border-right:0;border-bottom:1px solid var(--line);overflow:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.server-title{width:100%;padding:0 5px 6px;margin:0;border:0;display:flex;align-items:center;gap:10px}.server-title .eyebrow,.server-title p,.server-sidebar>.eyebrow{display:none}.server-title h1{font-size:16px;margin:2px 0}.server-sidebar>nav{display:flex;gap:4px;overflow:auto;max-width:100%;flex-shrink:0}.server-sidebar>.channel-link{width:auto;padding:8px;font-size:10px}.server-sidebar nav .channel-link{white-space:nowrap;width:auto;padding:7px 9px;font-size:11px}.new-channel{margin:0 5px;font-size:10px}.new-channel[open]{width:100%}.new-channel form{display:flex;gap:5px;align-items:center}.new-channel form label{display:none}.server-main{grid-column:2;grid-row:2}.server-content{padding:14px}.room-heading{padding:13px;gap:5px}.room-heading h2{font-size:15px}.room-heading p{font-size:10px}.connection-status{font-size:8px;max-width:60px}.room-chat .chat-messages{padding:5px 12px}.room-chat .chat-message{gap:8px}.room-chat .chat-message p{font-size:13px}.room-chat .chat-message .avatar{width:27px;height:27px}.room-chat .chat-message small{display:block;margin:3px 0}.room-composer{padding:8px}.room-composer #chatForm{padding:5px;gap:3px}.room-composer #chatForm button{padding:8px;font-size:10px}.room-composer .byline{font-size:8px}.direct-layout{height:calc(100svh - 235px);min-height:440px}.direct-page.thread-open .direct-conversation{height:100%;min-height:0}.direct-conversation #directForm textarea{min-height:42px}.direct-message{max-width:94%}.direct-history{max-height:none}.direct-page.thread-open .page-intro p,.direct-page.thread-open .page-intro .eyebrow{display:none}.direct-page.thread-open .page-intro h1{font-size:28px}.direct-heading .author-link{font-size:13px}.room-empty{padding:25px 0}.room-empty h3{font-size:20px}}
.room-channel-settings{font-size:10px;margin:10px 5px}.room-channel-settings summary,.archived-channels summary{cursor:pointer;padding:7px 0}.room-channel-settings form{padding:12px;background:var(--paper);border-radius:10px}.room-channel-settings input{font-size:13px;padding:8px}.room-channel-settings .check{display:flex;align-items:center;gap:8px}.room-channel-settings input[type=checkbox]{width:auto}.room-channel-settings button{font-size:11px}.archived-channels{font-size:10px;padding:7px 9px}.archived-channels .channel-link{opacity:.75}
.repost-control{position:relative;font-size:11px}.repost-control summary{list-style:none;cursor:pointer;padding:11px 6px;min-height:42px;white-space:nowrap}.repost-control>div{position:absolute;bottom:100%;left:0;z-index:5;min-width:190px;padding:7px;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 20px #34493618}.repost-control button{display:block;width:100%;text-align:left;border:0;border-radius:6px;padding:12px;background:none;font-size:12px}.repost-control button:hover{background:var(--sage)}.repost-credit{padding:14px 22px 0;font-size:10px;color:var(--muted)}.repost-credit button{font-size:10px}.quote-card{display:block;text-align:left;width:calc(100% - 40px);margin:12px 20px 20px;border:1px solid var(--line);border-left:3px solid var(--dark);border-radius:12px;background:var(--paper);padding:18px;color:var(--dark)}.quote-card strong{font-size:13px}.quote-card small{margin-left:8px;color:var(--muted);font-size:10px}.quote-card p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.quote-card span,.quote-card.unavailable{font-size:11px;color:var(--muted)}#quotePreview .quote-card{width:100%;margin:10px 0 20px}.post-actions{flex-wrap:wrap}
.voice-room{padding:14px 22px;border-bottom:1px solid var(--line);background:#f0f3e9}.voice-heading{display:flex;align-items:center;gap:8px}.voice-heading>div{flex:1}.voice-heading strong{font-size:13px}.voice-heading small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.voice-heading button{font-size:11px;padding:9px 12px;min-height:40px}.voice-leave{border:1px solid #bdc5b5;border-radius:25px;background:var(--white);color:#704d42}.voice-people{display:flex;gap:10px;overflow-x:auto;padding:15px 0 5px}.voice-person{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:8px;background:var(--white);border:1px solid var(--line);border-radius:12px;font-size:11px;max-width:250px}.voice-person>span:nth-child(2){overflow-wrap:anywhere}.voice-person small{display:block;margin-top:3px;font-size:9px;color:var(--muted)}.voice-person-mark{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:var(--sage);flex-shrink:0}.voice-person.speaking{border-color:#53714b;box-shadow:0 0 0 2px #53714b25}.voice-person button{font-size:9px}.voice-note{font-size:9px;line-height:1.5;color:var(--muted);margin:10px 0 0}.voice-host-actions{font-size:10px;margin-top:12px}.voice-host-actions summary{cursor:pointer}.voice-restriction{font-size:11px;padding:8px 0}.voice-room .form-error{font-size:12px}#voiceAudio{display:none}@media(max-width:700px){.voice-room{padding:10px 12px}.voice-heading{flex-wrap:wrap}.voice-heading>div{min-width:95px}.voice-heading button{font-size:10px;padding:8px}.voice-people{padding-top:10px}.voice-person{font-size:10px;max-width:200px}}
/* Four destinations and four grouped menus, with phone-size targets. */
.menu-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.menu-groups>section{min-width:0;background:var(--white);padding:18px;border:1px solid var(--line);border-radius:17px}.menu-groups h2{font:26px var(--serif);margin:0 0 15px}.menu-groups .settings-card{display:block;width:100%;text-align:left;padding:14px 9px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;min-height:64px}.menu-groups .settings-card strong{font-size:13px}.menu-groups .settings-card span{display:block;font-size:11px;margin-top:5px}.menu-groups .settings-card b{display:none}.menu-link{display:block;width:100%;text-align:left;background:none;border:0;text-decoration:none;padding:14px 9px;min-height:48px;font-size:13px}.topbar #accountMenuButton,.topbar .tracker-shortcut,.topbar>[data-action=refresh]{display:none}.topbar #communitySettings{margin-left:auto;min-height:46px;padding:10px 17px;border:1px solid var(--line);border-radius:25px;background:var(--white);font-size:14px}.channel-settings-launch{flex-shrink:0;font-size:11px;padding:9px 12px}.room-channel-settings{flex-shrink:0;max-height:48svh;overflow-y:auto;margin:0;background:var(--paper);border-bottom:1px solid var(--line)}.room-channel-settings:not([open]){display:none}.room-channel-settings>summary{padding:14px 22px;font-size:14px;font-weight:600}.room-channel-settings form{padding:16px 22px;border-radius:0}.room-channel-settings label{font-size:12px}.room-channel-settings .check{min-height:48px;gap:12px}.room-channel-settings input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.room-channel-settings button{min-height:48px}.voice-off-hint{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 18px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.voice-off-hint small{font-size:10px}.room-heading .connection-status{display:none}
@media(max-width:1000px){.menu-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.rail #navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%}.rail #navigation button{min-width:0;min-height:58px;font-size:11px;padding:8px 3px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.rail #navigation .nav-icon{width:auto;font-size:22px}.topbar{flex-wrap:nowrap;gap:8px;min-height:64px}.topbar #communitySettings{font-size:13px;min-height:44px}.menu-groups{gap:10px}.menu-groups>section{padding:14px 10px}.menu-groups h2{font-size:24px}.menu-groups .settings-card{padding:13px 4px;min-height:64px}.menu-groups .settings-card strong,.menu-link{font-size:12px}.menu-groups .settings-card span{font-size:10px;line-height:1.5}.menu-groups .byline{font-size:10px}.settings-page h1{font-size:34px}.channel-settings-launch{font-size:10px;min-height:44px;padding:8px}.room-heading{flex-wrap:wrap}.room-heading>div{flex-basis:45%}.room-heading>[data-action=refresh]{display:none}.server-sidebar>.channel-link{display:none}.server-sidebar>nav{width:100%}.server-sidebar .new-channel{display:none}.server-sidebar .server-title:after{content:'Swipe channels below';font-size:9px;color:var(--muted);margin-left:auto}.server-sidebar{max-height:120px}.server-layout{grid-template-rows:auto minmax(0,1fr)}.voice-off-hint{display:block;padding:8px 12px}.voice-off-hint button{display:block;min-height:44px;padding-left:0}.voice-off-hint small{display:block;margin-top:4px}.room-channel-settings>summary{padding:12px;font-size:13px}.room-channel-settings form{padding:12px}.room-channel-settings{max-height:45svh}}
.community-mobile-nav{display:none}.room-channel-settings .new-channel{margin:8px 22px 18px}.room-channel-settings .new-channel summary{min-height:44px;font-size:12px}
@media(max-width:700px){.community-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}.community-mobile-nav button{font-size:11px;min-height:44px;padding:7px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.server-sidebar{max-height:178px}.room-channel-settings .new-channel{margin:8px 12px 15px}.server-sidebar .server-title:after{content:none}.menu-groups .menu-link{min-height:48px}}

.dm-encryption-settings{margin:0 0 1rem;padding:1rem;border:1px solid var(--line,#d8ddd3);border-radius:16px}.dm-encryption-settings summary{cursor:pointer;font-weight:600}.dm-encryption-settings form{max-width:32rem;margin-top:1rem}.dm-safety-code{font-family:monospace;font-size:1.1rem;line-height:1.8;overflow-wrap:anywhere}#dmRecoveryCode{font-family:monospace;width:100%;overflow-wrap:anywhere}.direct-status{overflow-wrap:anywhere}#dmBackupDownload{display:inline-block;margin:1rem 0}

/* Rich private messages keep optional tools within the conversation. */
.dm-compose-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.dm-compose-tools>span{font-size:11px;color:var(--muted)}.dm-file-picker{position:relative;cursor:pointer;display:inline-flex;align-items:center;min-height:44px;margin:0!important}.dm-file-picker:focus-within{outline:3px solid #91a7a0;outline-offset:2px}.dm-draft-file{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.dm-draft-file img{width:56px;height:56px;object-fit:cover;border-radius:10px}.dm-draft-file>span{min-width:0;overflow-wrap:anywhere;flex:1}.dm-draft-file small{display:block;color:var(--muted);font-size:11px}.dm-attachment{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;margin:8px 0;max-width:100%;overflow-wrap:anywhere}.dm-attachment small,.dm-file-status{font-size:11px;line-height:1.6}.dm-attachment img{max-width:100%;max-height:420px;object-fit:contain;border-radius:9px}.dm-attachment>a{text-decoration:none}.dm-shared-post{display:flex;flex-direction:column;gap:7px;text-align:start;width:100%;padding:14px;background:#f3f5ed;border:1px solid #cbd6c1;border-radius:12px;margin:8px 0;overflow-wrap:anywhere}.dm-shared-post small,.dm-shared-post>span{font-size:11px;line-height:1.7}.dm-shared-post strong{font-size:15px}.direct-message p,.direct-message small{overflow-wrap:anywhere;unicode-bidi:plaintext}.dm-share-person{display:grid;grid-template-columns:1fr auto;text-align:start;width:100%;padding:13px 0;background:none;border:0;border-bottom:1px solid var(--line);gap:6px}.dm-share-person small{grid-column:1}.dm-share-person>span{grid-column:2;grid-row:1/3;align-self:center}.dm-share-person strong,.dm-share-person small{min-width:0;overflow-wrap:anywhere}#dmShareSearch{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;margin-top:8px;font-size:16px}#dmShareDialog{max-width:520px}#dmSharePeople{max-height:50vh;overflow:auto}@media(max-width:650px){.dm-compose-tools .secondary{font-size:12px;padding:10px 14px}.dm-attachment img{max-height:320px}.direct-message{min-width:0;max-width:94%}.dm-draft-file .quiet{padding:8px;min-height:44px}}

/* Host artwork keeps original GIF frames; no canvas conversion. */
.community-art-icon{display:inline-grid;place-items:center;width:60px;height:60px;flex:none;border-radius:18px;overflow:hidden;background:var(--sage);font-weight:600}.community-art-icon img,.server-icon img{width:100%;height:100%;object-fit:cover;display:block}.community-art-banner{width:100%;height:150px;object-fit:cover;border-radius:12px;display:block;margin-bottom:16px}.art-position-top{object-position:top}.art-position-bottom{object-position:bottom}.art-position-center{object-position:center}.community-card-top .community-art-icon{width:42px;height:42px;border-radius:12px}.server-title .community-art-banner{height:90px}.server-title .community-art-icon{margin-bottom:12px}.server-main>.community-art-banner{border-radius:0;height:140px;margin:0}.server-mobile-title{align-items:center;gap:10px}.server-mobile-title .community-art-icon{width:36px;height:36px;border-radius:10px}.community-art-preview{position:relative;margin:20px 0 30px;padding-bottom:32px}#appearancePreviewbanner{height:145px;background:linear-gradient(125deg,#dce7d4,#b8cdb1);border-radius:14px;overflow:hidden;display:grid;place-items:center;color:#50624e}#appearancePreviewbanner img{width:100%;height:145px;object-fit:cover}#appearancePreviewicon{position:absolute;bottom:0;left:18px;width:76px;height:76px;border:4px solid var(--white);border-radius:23px;background:var(--sage);display:grid;place-items:center;overflow:hidden;font-weight:600}#appearancePreviewicon img{width:100%;height:100%;object-fit:cover}#communityAppearanceForm input[type=file]{font-size:13px;max-width:100%}#communityAppearanceForm input::file-selector-button{min-height:44px;border:0;border-radius:8px;background:var(--sage);color:var(--ink);padding:8px 12px;margin-right:8px}@media(max-width:800px){.server-mobile-title{display:flex}.community-art-banner{height:125px}.community-card-top{flex-wrap:wrap}}

.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:#fffdf9;color:#373f3c;padding:12px 18px;border:2px solid #52644f;border-radius:8px}.skip-link:focus{top:12px}input::placeholder,textarea::placeholder{color:#687064;opacity:1}

.profile-action-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.profile-action-bar>button,.profile-action-bar summary{min-height:44px}.profile-more{position:relative}.profile-more summary{list-style:none;border:1px solid var(--line);padding:9px 15px;border-radius:24px;cursor:pointer}.profile-more[open]{background:var(--white);z-index:6}.profile-more[open] button{display:block;width:100%;border:0;background:var(--white);text-align:left;padding:10px 16px;white-space:nowrap}.privacy-control-center details{padding:14px 0;border-bottom:1px solid var(--line)}.privacy-control-center summary{font-weight:600;min-height:44px;cursor:pointer;padding:10px 0}.privacy-control-center small{color:var(--muted);font-size:12px}.privacy-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px}.privacy-toggle input{width:24px;height:24px;flex:none;accent-color:var(--dark);margin:0}.privacy-toggle span small{display:block;margin-top:4px}.privacy-checkup{padding-left:20px}.privacy-checkup li{padding:5px 0}.profile-top>div{min-width:0}.profile-hero .profile-top{align-items:flex-start}
html[data-theme=dark]{--paper:#141a17;--white:#1e2721;--ink:#edf0e9;--muted:#b5bfb0;--line:#3f4e40;--sage:#304331;--dark:#70916b;--blue:#293b40;color-scheme:dark}html[data-theme=dark] body{background:var(--paper);color:var(--ink)}html[data-theme=dark] :is(.rail,.topbar,.server-sidebar,.server-mobile-title,.settings-form,.post-card,.creator-card,.community-card,.direct-inbox,.direct-conversation,.chat-message,.direct-message,.empty,.sidebar-note,.settings-card,.account-card,.post-composer,.room-heading,.voice-room,.chapter-strip button,.feed-tabs,.private-notice,.community-about,.auth-banner,.community-art-icon){background:var(--white);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(input,textarea,select){background:#18201a;color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.secondary,.quiet,.channel-link,.post-actions button,.profile-counts button,.author-link){color:var(--ink)}html[data-theme=dark] :is(.post-copy p,.profile-bio,.community-card p,.chat-message p,.direct-message p,.reading-body){color:var(--ink)}html[data-theme=dark] .secondary{background:#263127}html[data-theme=dark] .primary{background:#526f4f;border-color:#8bb183;color:#fff}html[data-theme=dark] .welcome-screen{color:#30382f}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#b5bfb0}
@media(max-width:700px){.rail #navigation{grid-template-columns:repeat(5,minmax(0,1fr))}.profile-top{flex-wrap:wrap}.profile-action-bar{position:sticky;top:0;padding:8px 0;background:var(--paper)}.profile-action-bar>.primary,.profile-action-bar>.secondary{padding:10px 14px;font-size:12px}.profile-more[open]{position:relative}}

.growth-card{border:1px solid var(--line);background:var(--white);border-radius:18px;padding:24px;margin:20px 0}.growth-card h2{font-size:30px;margin:12px 0}.growth-card>p,.growth-card small{color:var(--muted);font-size:12px}.growth-card details{padding:12px 0;border-top:1px solid var(--line)}.growth-card summary{min-height:44px;cursor:pointer;padding:10px 0;font-weight:600}.goal-progress-label{font-size:14px}.goal-progress-label strong{display:block;font-size:12px;margin-top:6px;color:var(--muted)}.goal-progress-label progress{width:100%;height:12px;margin-top:10px;accent-color:var(--dark)}.chapter-goal{padding:15px 0;border-top:1px solid var(--line)}.goal-checkin{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.goal-checkin label{margin:0;max-width:145px}.goal-checkin .form-error{width:100%;margin:0}.goal-actions{display:flex;gap:18px}.goal-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chapter-summary{padding:18px;border:1px solid var(--line);border-radius:13px;margin:15px 0;background:var(--white)}@media(max-width:600px){.growth-card{padding:18px}.goal-field-row{grid-template-columns:1fr}}

.nav-icon svg{width:22px;height:22px;display:block;margin:auto}.settings-page .settings-form>h2{font-size:25px;line-height:1.25;margin:0 0 14px}.privacy-control-center .primary{min-height:44px}

.wordmark .brand-icon{display:block;border-radius:9px;flex:none}@media(max-width:700px){.wordmark{font-size:23px;gap:8px}.wordmark .brand-icon{width:28px;height:28px}}

.profile-communities{margin:24px 0 32px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--white)}.profile-communities h2{font-size:27px;margin:0 0 16px}.profile-communities h3{font:600 13px var(--sans);margin:18px 0 10px}.profile-community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.profile-community-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--paper);text-align:left;min-width:0}.profile-community-card>span:nth-child(2){flex:1;min-width:0}.profile-community-card strong,.profile-community-card small{display:block;overflow-wrap:anywhere}.profile-community-card small{color:var(--muted);font-size:12px}.profile-communities details{margin:18px 0}.profile-communities summary{min-height:44px;padding:10px 0;cursor:pointer}.community-display-choice{display:flex;justify-content:space-between;gap:16px;width:100%;padding:12px;border:1px solid var(--line);background:var(--white);text-align:left}.community-display-choice[aria-pressed=true]{background:var(--sage)}#communityForm .topic-chips button{border-radius:7px;padding:10px 14px}#communityForm .eyebrow{letter-spacing:.12em}#communityForm h2{font-size:34px}#communityForm .community-start-note{max-width:44ch} .server-rail{display:none}.server-layout{grid-template-columns:240px minmax(0,1fr)}.server-sidebar{background:var(--white)}.server-sidebar .channel-link{border-radius:6px}.server-title h1{font-size:26px}@media(max-width:800px){.server-layout{grid-template-columns:1fr}.profile-community-grid{grid-template-columns:1fr}.profile-communities{padding:18px}}
@media(max-width:800px){.server-sidebar{grid-column:1;grid-row:1}.server-main{grid-column:1;grid-row:2}}

.community-setup-next{padding:16px 18px;margin:20px 0;background:var(--paper);border:1px solid var(--line);border-radius:10px;font-size:13px}.community-setup-next p{margin:6px 0 0;color:var(--muted)}

.mobile-brand img,.welcome-brand img{vertical-align:middle;border-radius:7px;margin-right:8px}.welcome-brand{display:flex;align-items:center}.community-start-note{font-size:14px}#communityForm>button.primary{width:100%;min-height:48px}

.profile-achievements{padding:24px;margin:24px 0;border:1px solid var(--line);border-radius:16px;background:var(--white)}.profile-achievements h2{font-size:27px;margin:0}.profile-achievements h3{font:600 16px var(--sans);margin:0}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.achievement-card{display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.achievement-card p{margin:8px 0}.achievement-card small{color:var(--muted)}.achievement-mark{display:grid;place-items:center;background:var(--sage);border-radius:50%;width:32px;height:32px;flex:none}.profile-achievements summary{min-height:44px;padding:12px 0;cursor:pointer}.profile-achievements form{max-width:480px}@media(max-width:600px){.profile-achievements{padding:18px}.achievement-grid{grid-template-columns:1fr}}

#voiceCallDock{position:fixed;z-index:70;bottom:18px;left:260px;right:22px;background:var(--white);border:1px solid var(--line);box-shadow:0 8px 35px #0002;border-radius:14px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}#voiceCallDock[hidden]{display:none}.call-dock-title{min-width:0}.call-dock-title strong,.call-dock-title small{display:block;overflow-wrap:anywhere}.call-dock-title small{font-size:12px;color:var(--muted)}.call-dock-actions{display:flex;gap:8px;flex-wrap:wrap}.call-dock-actions button{min-height:44px;font-size:12px;padding:9px 13px}.has-voice-call .stage{padding-bottom:110px}dialog:has(#voiceCallDock){padding-bottom:150px}dialog #voiceCallDock{left:16px;right:16px;bottom:16px}dialog#storyPlayer #voiceCallDock{background:#1c2820;color:#fff;border-color:#51604f}.has-voice-call #storyPlayer{padding-bottom:190px}@media(max-width:800px){#voiceCallDock{left:10px;right:10px;bottom:calc(86px + env(safe-area-inset-bottom));gap:8px;flex-wrap:wrap;padding:12px}.call-dock-actions{width:100%;justify-content:space-between}.call-dock-title strong{font-size:13px}.has-voice-call .stage{padding-bottom:190px}dialog #voiceCallDock{bottom:12px}.has-voice-call #storyPlayer{padding-bottom:205px}}
#storyPlayer #voiceCallDock .secondary{background:#fffdf9;color:#28382d;border-color:#d6ddcf}#storyPlayer #voiceCallDock small{color:#ced9cc}#storyPlayer #voiceCallDock .voice-leave{background:#fffdf9;color:#8f342b;border-color:#d6ddcf}

.host-badge{display:inline-flex;align-items:center;padding:5px 12px;margin:0 0 12px;border:1px solid var(--dark);border-radius:6px;color:var(--ink);background:var(--sage);font-size:12px;font-weight:600}

.founder-badge{display:inline-flex;align-items:center;margin:0 8px 12px 0;padding:6px 13px;border:1px solid #665624;border-radius:6px;background:#f4ebcc;color:#51421e;font:600 12px var(--sans);letter-spacing:.03em}html[data-theme=dark] .founder-badge{background:#3c3523;color:#f5e4aa;border-color:#a89459}

button.host-badge{min-height:44px;margin-right:8px;max-width:100%;text-align:left;overflow-wrap:anywhere}button.host-badge:hover{border-color:var(--ink)}

.quick-result{display:block;width:100%;padding:14px 10px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;min-height:52px}.quick-result strong,.quick-result small{display:block;overflow-wrap:anywhere}.quick-result small{font-size:12px;color:var(--muted)}#globalSearchDialog h3{font:600 13px var(--sans);margin:22px 0 6px}#quickPrivacyDialog .privacy-toggle small{display:block;font-size:12px;color:var(--muted)}.activity-hub h2{margin-top:24px!important}.activity-hub h2:first-child{margin-top:0!important}#globalSearchButton,#activityButton{white-space:nowrap}@media(max-width:700px){.topbar{gap:8px;flex-wrap:wrap}#globalSearchButton,#activityButton{padding:7px;font-size:12px}}

#globalSearchButton,#activityButton{width:44px;flex:none;display:grid;place-items:center}#globalSearchButton[hidden],#activityButton[hidden]{display:none}#quickPrivacyDialog h2,#globalSearchDialog h2{font-size:30px;line-height:1.2;margin:0}#quickPrivacyDialog .dialog-top .quiet,#globalSearchDialog .dialog-top .quiet{white-space:nowrap;min-width:60px}#quickPrivacyDialog .byline{font-size:12px;line-height:1.5}

/* Community connection: short, responsive motion; reduced-motion remains respected. */
.community-auto-welcome,.member-access-card{padding:1rem;border:1px solid var(--line,#506552);border-radius:18px;margin:1rem 0;background:var(--sage)}
.community-auto-welcome p{white-space:pre-wrap;margin:.5rem 0}.community-auto-welcome small{font-size:.68rem;letter-spacing:.08em}.room-purpose{font-size:.8rem;line-height:1.5;opacity:.8}.roomMemberAccessForm{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem;padding:.8rem 0}.roomMemberAccessForm label{flex:1;min-width:180px}.roomMemberAccessForm .form-error{flex-basis:100%}.host-tools form textarea{width:100%;box-sizing:border-box}
@media(prefers-reduced-motion:no-preference){.server-main,.community-welcome,.settings-page,.profile-page{animation:formera-arrive .24s ease-out both}.channel-link,.community-card,button{transition:transform .16s ease,background-color .16s ease,box-shadow .16s ease}button:active,.channel-link:active{transform:scale(.97)}dialog[open]{animation:formera-arrive .2s ease-out}.community-card:hover{transform:translateY(-3px)}@keyframes formera-arrive{from{opacity:.25;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}

@media(max-width:700px){.server-sidebar .room-purpose{display:none}}

.voice-volume{display:flex;align-items:center;gap:.65rem;font-size:.85rem;flex-wrap:wrap}.voice-volume input{min-width:100px;max-width:220px;flex:1;accent-color:var(--accent,#647e60);padding:0;min-height:44px}.voice-volume output{min-width:3ch}.voice-room .voice-volume{margin:.7rem 0}.call-dock-actions{flex-wrap:wrap}


.channel-browser{margin:12px 0;min-width:0}.channel-browser>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:10px 12px;font-weight:600;list-style:none}.channel-browser>input{width:calc(100% - 20px);margin:4px 10px 12px;min-height:44px;font-size:16px}.channel-browser nav{display:grid;gap:5px;padding:0 6px}.channel-browser .channel-link{display:block;text-align:left;min-height:52px;width:100%;white-space:normal;border-radius:10px;padding:12px}.channel-browser .channel-link small{display:block;font-size:11px;color:var(--muted);padding-left:20px;line-height:1.5;margin-top:4px}.channel-browser [hidden]{display:none!important}.channel-search-empty{padding:12px;font-size:13px}.server-title h1{overflow-wrap:anywhere}
@media(max-width:700px){.server-sidebar{max-height:none!important;overflow:visible}.server-sidebar .channel-browser nav{display:grid;grid-template-columns:1fr;overflow:visible}.server-sidebar .channel-browser .channel-link{min-width:0;width:100%;font-size:14px}.server-sidebar .channel-browser{width:100%;max-height:42svh;overflow-y:auto}.server-layout{height:auto;min-height:75svh;grid-template-rows:auto minmax(420px,1fr)}.server-main{min-height:55svh}.community-mobile-nav{position:sticky;top:0;z-index:2;background:var(--paper);padding:6px 0}.room-heading>div{flex:1;min-width:150px}.room-heading h2{font-size:20px}.room-heading p{font-size:13px}.room-heading>[data-quick="open-privacy"]{order:3;font-size:12px}}


.voice-privacy-notice{font-size:12px;line-height:1.5;color:var(--muted);padding:8px 0;margin:0}.voice-privacy-notice strong{font-weight:500}.voice-privacy-notice small{display:block;font-size:11px;margin-top:3px}

.community-host-label{font-size:12px;line-height:1.6;color:var(--muted)}.community-host-label strong{color:var(--ink);font-weight:600}.channel-folder{margin:8px 0 16px}.channel-folder>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px 12px;font-size:12px;font-weight:600;color:var(--muted)}.channel-folder>summary:after{content:'⌄';margin-left:auto}.channel-folder .channel-link{display:flex;align-items:flex-start;gap:10px}.channel-kind-icon{font-size:20px;line-height:1.2;flex:0 0 24px}.channel-folder .channel-link small{padding-left:0}.voice-channel-view .chat-messages,.voice-channel-view .room-composer{display:none}.voice-channel-view #voicePanel{flex:1}.voice-channel-view .voice-room{min-height:250px}.channel-browser .channel-folder[hidden]{display:none!important}
@media(max-width:700px){.server-sidebar .channel-browser{max-height:48svh}.server-title>p:not(.community-host-label){font-size:12px;line-height:1.5;max-height:4.5em;overflow:auto}.channel-folder .channel-link{min-height:50px}}

.server-sidebar .new-channel{display:block;margin:12px 10px}.server-sidebar .new-channel summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px}.server-sidebar .new-channel form{padding:10px}.server-sidebar .new-channel select,.server-sidebar .new-channel input{font-size:16px;min-height:44px;width:100%}.server-sidebar .new-channel button{min-height:44px}

.official-community-intro{padding:24px;border:1px solid #d5dfd0;border-radius:18px;background:#eef3e9;margin-bottom:24px}.official-community-intro h2{margin-top:0}.official-community-intro p{line-height:1.8;max-width:64ch}.private-community-controls{padding:20px;border:1px solid #dde3d7;border-radius:14px;margin:20px 0}.community-link-dialog{max-width:520px;padding:26px;border:1px solid #d6dfd0;border-radius:18px}.community-link-dialog input{width:100%;font-size:16px;margin:12px 0;padding:12px}

/* Compact mobile community navigation keeps the selected room in view. */
@media(max-width:800px){
 .server-layout{display:flex;flex-direction:column;height:auto;min-height:0;gap:0}
 .server-sidebar{position:static;width:100%;max-height:none!important;overflow:visible;border-radius:12px 12px 0 0}
 .server-title{padding:14px 16px}.server-title h1{font-size:22px;line-height:1.2;margin:6px 0}
 .server-title>.community-art-banner,.server-title>p:not(.community-host-label),.server-title>.eyebrow,.server-title>.community-icon{display:none}
 .server-title .community-host-label{font-size:11px;margin:4px 0}
 .community-mobile-nav{position:static;display:flex;flex-wrap:wrap;gap:4px;padding:4px 12px}
 .community-mobile-nav button{min-height:44px;flex:1;padding:10px 8px}
 .server-sidebar .channel-browser{max-height:none;overflow:visible;margin:4px 10px 12px}
 .channel-browser>summary{border:1px solid var(--line);border-radius:8px;min-height:48px}
 .channel-browser[open]>summary{margin-bottom:10px}
 .server-sidebar .channel-link{min-height:48px;touch-action:manipulation}
 .server-sidebar>.new-channel,.server-sidebar>.archived-channels{margin:8px 16px}
 .server-main{min-height:0;width:100%;scroll-margin-top:12px;animation:none!important}
 .server-main>.community-art-banner,.server-mobile-title{display:none}
 .server-content{padding:18px}.room-heading{padding:14px;gap:8px}
 .room-heading h2{font-size:22px}.room-heading p{line-height:1.5}
 .room-chat{min-height:55svh;height:auto}.chat-messages{max-height:55svh;min-height:180px;overscroll-behavior:contain}
 .room-composer textarea,.settings-form input,.settings-form select,dialog input,dialog select,dialog textarea{font-size:16px}
 button,a.secondary,summary{touch-action:manipulation}
 button:active,.channel-link:active{transform:none!important}
 .topbar{backdrop-filter:none}.server-main[aria-busy=true]{cursor:progress}
 .channel-loading{padding:24px;color:var(--muted)}
}
@media(max-width:420px){#app{padding:18px 12px}.topbar{padding:10px 12px}dialog{max-width:calc(100vw - 20px);padding:20px}.server-title h1{font-size:21px}}

.rail{overflow-y:auto}.rail-footer{margin-top:auto;padding-top:24px}.rail-footer .rail-bottom{margin-top:0;padding-top:14px}.rail-profile{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 0;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;color:var(--ink)}.rail-profile .avatar{width:38px;height:38px;min-width:38px;flex-shrink:0;pointer-events:none}.rail-profile-copy{flex:1;min-width:0}.rail-profile-copy strong,.rail-profile-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-profile-copy strong{font-size:13px;font-weight:600}.rail-profile-copy small{font-size:11px;color:var(--muted)}.rail-profile:hover{color:var(--dark)}@media(max-width:800px){.rail-footer{display:none}.rail{overflow:visible}}

.profile-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:clamp(28px,5vw,80px);max-width:1080px;margin:24px auto 60px;align-items:center}
.profile-welcome-intro h1{font-size:clamp(52px,6vw,84px);line-height:1.03;margin:20px 0}
.profile-welcome-intro>p{font-size:19px;max-width:35ch}.profile-welcome-intro .profile-welcome-note{font-size:14px;line-height:1.8;color:var(--muted)}
.profile-welcome-promises{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:28px}
.profile-welcome-card{padding:30px;background:var(--white);border:1px solid var(--line);border-radius:24px;box-shadow:0 16px 55px #263c2910;min-width:0}
.profile-welcome-card>h2{font:34px var(--serif);margin:12px 0}.profile-welcome-card>p{color:var(--muted);font-size:13px}
.profile-welcome-card .settings-form{max-width:none;padding:0;border:0;margin:20px 0;background:transparent}
.profile-welcome-card input,.profile-welcome-card textarea{font-size:16px;width:100%}.profile-welcome-card button[type=submit]{width:100%;min-height:48px;margin-top:12px}
.profile-welcome-card .profile-welcome-privacy{font-size:11px;line-height:1.7;margin-bottom:0}
.welcome-growth{width:140px;height:140px;position:relative;display:grid;place-items:center;margin-bottom:32px}
.welcome-growth span{position:absolute;width:110px;height:110px;border-radius:60% 40% 55% 45%;background:var(--sage);transform:rotate(25deg)}
.welcome-growth span:nth-child(2){width:90px;height:90px;background:var(--blue);transform:translate(25px,-16px) rotate(60deg);opacity:.8}
.welcome-growth span:nth-child(3){width:90px;height:90px;transform:translate(-20px,16px) rotate(-30deg);opacity:.7}
.welcome-growth b{z-index:1;color:var(--dark);font:92px var(--serif)}
@media(prefers-reduced-motion:no-preference){.profile-welcome-intro{animation:profile-hello .45s ease-out both}.profile-welcome-card{animation:profile-hello .5s .08s ease-out both}.welcome-growth span{animation:profile-float 4.8s ease-in-out 1 alternate}.welcome-growth span:nth-child(2){animation-delay:-2s}.welcome-growth span:nth-child(3){animation-delay:-4s}@keyframes profile-hello{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes profile-float{to{translate:0 -8px;rotate:8deg}}}
@media(max-width:1000px){.profile-welcome{gap:28px}.profile-welcome-card{padding:24px}}
@media(max-width:800px){.profile-welcome{grid-template-columns:1fr;max-width:520px;margin:8px auto 30px;gap:24px}.profile-welcome-intro{text-align:center}.profile-welcome-intro h1{font-size:48px;margin:12px 0}.profile-welcome-intro h1 br{display:none}.profile-welcome-intro>p{margin:12px auto;font-size:16px}.profile-welcome-intro .profile-welcome-note,.profile-welcome-promises{display:none}.welcome-growth{width:90px;height:90px;margin:0 auto 16px}.welcome-growth span{width:76px;height:76px}.welcome-growth span:nth-child(2),.welcome-growth span:nth-child(3){width:60px;height:60px}.welcome-growth b{font-size:62px}.profile-welcome-card{padding:22px;border-radius:18px}.profile-welcome-intro>.eyebrow{font-size:9px;letter-spacing:.1em}}

.official-welcome-dialog{max-width:560px;width:calc(100% - 28px);padding:30px;border-radius:24px}.official-welcome-dialog h2{font:38px/1.1 var(--serif);margin:14px 0}.official-welcome-dialog>p{white-space:pre-line;line-height:1.8}.official-welcome-dialog .welcome-growth{width:78px;height:78px;margin:0 0 22px}.official-welcome-dialog .welcome-growth span{width:60px;height:60px}.official-welcome-dialog .welcome-growth b{font-size:58px}.official-welcome-dialog .welcome-member-note{color:var(--muted);font-size:13px}.official-welcome-dialog .form-actions{display:flex;flex-wrap:wrap;gap:12px}.official-welcome-dialog button{min-height:44px}


.community-join-announcement{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line)}.community-join-announcement>span{color:var(--dark);font-size:18px}.community-join-announcement p{margin:0}.community-join-announcement small{display:block;font-size:10px;margin-top:3px}

.home-nature-header{position:relative;isolation:isolate;overflow:hidden;padding:clamp(24px,4vw,48px);border-radius:24px;min-height:300px;border:1px solid var(--line);background:var(--sage);align-items:center;margin-bottom:28px}
.home-nature-header:before{content:'';position:absolute;inset:-20px;z-index:-1;background:linear-gradient(100deg,#f8f5eff5 5%,#f8f5efc9 48%,#f8f5ef44 100%),url('/welcome-landscape.svg') center 65%/cover no-repeat;transform:scale(1.04)}
.home-nature-header h1{font-size:clamp(42px,5vw,66px);max-width:12ch;line-height:1.05}.home-nature-header p{max-width:43ch}.home-nature-header .eyebrow,.home-nature-header .byline{color:#435540}.home-nature-header .byline a{font-weight:600}
html[data-theme=dark] .home-nature-header:before{background-image:linear-gradient(100deg,#17271af5 5%,#17271acb 50%,#17271a77 100%),url('/welcome-landscape.svg')}
html[data-theme=dark] .home-nature-header{color:#edf2e7}html[data-theme=dark] .home-nature-header .eyebrow,html[data-theme=dark] .home-nature-header .byline,html[data-theme=dark] .home-nature-header .quiet{color:#d1ddc8}
@media(prefers-reduced-motion:no-preference){.home-nature-header:before{animation:home-nature-wave 4.8s ease-out both}@keyframes home-nature-wave{0%{transform:translate(-12px,8px) scale(1.09)}45%{transform:translate(8px,-5px) scale(1.07)}75%{transform:translate(-3px,2px) scale(1.05)}100%{transform:translate(0,0) scale(1.04)}}}
@media(max-width:800px){.home-nature-header{padding:26px 22px;min-height:290px;display:block;border-radius:18px}.home-nature-header h1{font-size:44px;max-width:13ch}.home-nature-header>.primary{margin-top:16px}.home-nature-header:before{background-position:62% bottom}.home-nature-header .byline{font-size:11px}}

.welcome-growth img{position:relative;z-index:1;width:72px;height:72px;border-radius:18px}.official-welcome-dialog .welcome-growth img{width:48px;height:48px;border-radius:12px}@media(max-width:800px){.welcome-growth img{width:50px;height:50px;border-radius:12px}}

@media(max-width:800px){.profile-welcome{gap:16px}.profile-welcome-intro .welcome-growth{width:56px;height:56px;margin:0 auto 10px}.profile-welcome-intro .welcome-growth span{width:48px;height:48px}.profile-welcome-intro .welcome-growth span:nth-child(2),.profile-welcome-intro .welcome-growth span:nth-child(3){width:40px;height:40px}.profile-welcome-intro .welcome-growth img{width:36px;height:36px;border-radius:9px}.profile-welcome-intro>.eyebrow{display:none}.profile-welcome-intro h1{font-size:40px;margin:10px 0}.profile-welcome-card #avatarPreview{margin:0 0 12px}.profile-welcome-card #avatarPreview .avatar{width:48px;height:48px;font-size:22px}.profile-welcome-card #avatarPreview img{max-width:64px;max-height:64px}}

.comment-reply{margin-left:clamp(12px,3vw,28px);border-left:2px solid var(--line);padding-left:14px}.comment-actions{display:flex;flex-wrap:wrap;gap:4px}.comment-actions button{min-height:44px}.comment-actions [aria-pressed=true]{color:var(--accent);font-weight:700}.device-connect-code{font-size:2rem;letter-spacing:.18em;font-variant-numeric:tabular-nums}.device-connect-panel{padding:20px;border:1px solid var(--line);border-radius:18px;margin:16px 0}.device-connect-panel ol{padding-left:22px}.device-connect-panel li{margin:10px 0}

.message-media-tools{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.media-upload{display:inline-flex;align-items:center;margin:0;cursor:pointer;min-height:44px}.sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.sticker-grid>button{border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:10px;min-width:0}.reaction-sticker{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:15px;border-radius:25% 35% 25% 35%;background:var(--sage);color:var(--ink);max-width:190px}.reaction-sticker>span{font-size:64px;line-height:1.2}.reaction-sticker small{font-size:12px;font-weight:600}.sticker-grid .reaction-sticker{padding:5px;background:transparent}.sticker-grid .reaction-sticker>span{font-size:38px}.sticker-grid .reaction-sticker small{font-size:10px}.message-sticker,.media-draft img{display:block;max-width:180px;max-height:180px;object-fit:contain;margin:8px 0}.message-video{display:block;width:min(100%,480px);max-height:400px;border-radius:14px;margin:10px 0;background:#15251c}.media-draft{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:16px;margin:10px 0}.room-composer #chatForm .message-media-tools,.room-composer #chatForm [data-media-draft]{grid-column:1/-1}.room-composer #chatForm{flex-wrap:wrap}.room-composer #chatForm .message-media-tools,.room-composer #chatForm [data-media-draft]{flex-basis:100%}#stickerPicker .dialog-top h2{font-size:30px}#stickerPicker .media-upload{margin-top:10px}@media(max-width:480px){.sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:no-preference){.reaction-sticker{animation:sticker-arrive .35s ease-out}}@keyframes sticker-arrive{from{opacity:.3;transform:scale(.85) rotate(-7deg)}to{opacity:1;transform:scale(1) rotate(0)}}

.gif-sticker{margin:8px 0}.gif-sticker .message-sticker[hidden]{display:none}.gif-sticker button{min-height:44px}

.welcome-policy{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#344a37;text-underline-offset:3px}.policy-nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin:24px 0}.policy-nav a{display:inline-flex;align-items:center;min-height:44px}.privacy-page{overflow-wrap:anywhere;font-size:16px}.privacy-page li{font-size:15px}.privacy-page h1{font-size:clamp(36px,7vw,48px)}.privacy-page section{scroll-margin-top:20px}.privacy-page a{text-underline-offset:3px}@media(min-width:1000px) and (min-height:750px){.welcome-policy{grid-column:1;justify-self:start}}
