@font-face{font-family:LocalRound;src:local("Avenir Next"),local("Avenir"),local("Nunito Sans");font-display:swap}
:root{font-family:LocalRound,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#234537;background:#f7f8f2;font-synthesis:none;--green:#234b3c;--paper:#f7f8f2;--muted:#7e8979;--line:#e1e7d9;--vh:100dvh;--mint:#dce9c3;--lilac:#e0daf0}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,textarea{font:inherit}button,input,textarea,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible{outline:3px solid #8cae7b;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #8cae7b;outline-offset:1px}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{height:42px;width:42px;display:grid;place-items:center;border-radius:50%;color:#7d8d71;background:transparent;flex-shrink:0}.icon-button:hover{background:#eaf0e0}.sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app{max-width:600px;margin:auto;min-height:var(--vh)}.app-header{display:flex;justify-content:space-between;align-items:center;padding:calc(20px + env(safe-area-inset-top)) 24px 13px;flex-shrink:0}.brand{display:inline-flex;align-items:center;gap:8px;font-size:25px;font-weight:800;letter-spacing:-1.4px}.brand img{border-radius:10px}.brand>span{margin-left:-7px;color:#8fa86e}.button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border-radius:14px;padding:14px 18px;font-size:14px;font-weight:600}.primary{background:var(--green);color:#fffef7}.primary:hover:not(:disabled){background:#163d2e}.secondary{border:1px solid #d5dfca;background:transparent;color:#5c7651}.danger{background:#f5e5dc;color:#a3614c;margin-top:10px}.text-button{display:block;padding:9px;margin:10px auto 0;color:#7a8b6c;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px;border-radius:6px}.eyebrow{display:block;font-size:9px;font-weight:650;letter-spacing:1.45px;color:#88937d}.small-pill{display:inline-flex;gap:7px;align-items:center;font-size:10px;padding:7px 11px;border-radius:20px;background:#e9eedf;border:1px solid #e0e8d4;color:#637a53}.dot{display:inline-block;height:6px;width:6px;background:#86a56a;border-radius:50%}h1{font-size:43px;line-height:1.1;font-weight:650;letter-spacing:-1.9px;margin:22px 0 12px}h1>span{color:#6c8564}.intro{font-size:14px;line-height:1.7;color:#828b7b;margin:0}.inline-error{padding:12px 14px;background:#f7e8e0;border:1px solid #efd7c9;border-radius:12px;color:#965640;font-size:12px;line-height:1.7;margin:14px 0}.auth-content{padding:21px 26px 0}.auth-art{height:180px;max-width:330px;position:relative;margin:10px auto 10px}.orbit{position:absolute;border:1px solid #e1e8d5;border-radius:50%;width:290px;height:148px;top:18px;left:calc(50% - 145px);transform:rotate(-12deg)}.persona{position:absolute;width:113px;height:107px;border-radius:34px 34px 34px 9px;display:flex;align-items:center;justify-content:center;gap:16px;box-shadow:0 16px 28px -23px #24473775}.persona.green{background:#dae8bd;left:28px;top:8px;transform:rotate(-9deg)}.persona.lilac{background:#ded7ef;right:23px;top:62px;transform:rotate(9deg);border-radius:34px 34px 9px 34px}.persona>i{width:7px;height:16px;border-radius:5px;background:#47613e;margin-top:-9px}.persona.lilac>i{background:#79698d}.persona>span{position:absolute;bottom:15px;font-size:9px;color:#6e815e}.persona.lilac>span{color:#8b7b9b}.spark{position:absolute;color:#8eaa72;font-size:27px;right:68px;top:4px}.art-lock{position:absolute;top:70px;left:calc(50% - 16px);width:33px;height:33px;border:4px solid var(--paper);background:#fffefa;border-radius:50%;display:grid;place-items:center}.art-lock .icon{width:15px;height:15px}.auth-tabs{padding:4px;display:grid;grid-template-columns:1fr 1fr;background:#e9eddf;border-radius:14px;margin:0 0 20px}.auth-tabs a{display:grid;place-items:center;min-height:39px;border-radius:10px;background:transparent;color:#89957c;font-size:13px;font-weight:600}.auth-tabs a[aria-selected=true]{background:#fffef9;color:#3d5d33;box-shadow:0 2px 7px #284a3310}label{display:block;font-size:11px;color:#708366;font-weight:600;margin:16px 0 8px}input,textarea{display:block;width:100%;min-width:0;font-size:16px;line-height:1.5;border:1px solid #dfe5d5;background:#fffef9;color:#37532f;border-radius:12px;padding:12px 14px}input::placeholder,textarea::placeholder{color:#a2ac94;font-size:13px}.input-wrap{display:flex;align-items:center;background:#fffef9;border:1px solid #dfe5d5;border-radius:12px;padding-left:15px;gap:8px}.input-wrap input{border:0;background:transparent;padding-left:0}.input-wrap:focus-within{outline:2px solid #8cae7b;outline-offset:1px}.input-wrap input:focus{outline:none}.field-hint{font-size:10px;color:#919b83;line-height:1.7;margin:11px 0 20px}#auth-submit{justify-content:space-between}.privacy-strip{display:flex;align-items:center;justify-content:center;gap:6px;color:#95a187;font-size:10px;margin:18px 0}.privacy-strip .icon{height:13px;width:13px}.auth-footer{padding:4px 20px calc(20px + env(safe-area-inset-bottom));text-align:center}.auth-footer button{font-size:10px;color:#87997a;background:transparent;text-decoration:underline;text-underline-offset:3px}.member-shell{min-height:var(--vh);padding-bottom:calc(85px + env(safe-area-inset-bottom))}.member-view{padding:17px 23px 22px;animation:enter .2s ease}.section-heading h1{font-size:35px;letter-spacing:-1.4px;margin:12px 0 9px;display:flex;align-items:center;justify-content:space-between}.section-heading p{font-size:12px;color:#87917e;line-height:1.7;margin:0}.heading-spark{font-size:33px;font-weight:400;color:#a2b788;line-height:1}.lilac-text{color:#b7a7ce!important}.search-box{display:flex;gap:10px;align-items:center;background:#fffef9;border:1px solid #dfe5d5;border-radius:14px;padding:0 13px;margin:23px 0 12px;color:#99a68b}.search-box input{border:0;background:transparent;padding:13px 0;font-size:16px;border-radius:8px}.search-box input:focus{outline:none}.search-box:focus-within{outline:2px solid #8cae7b}.search-box .icon{width:18px;height:18px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.filter-tabs{display:flex;gap:8px}.filter-tabs button{display:flex;align-items:center;gap:5px;background:transparent;border:1px solid #e1e6d9;color:#8b987d;padding:8px 13px;border-radius:20px;font-size:10px}.filter-tabs button.selected{color:#456439;background:#e5edd8;border-color:#dce6ce}.filter-tabs .dot{width:5px;height:5px}.list-toolbar .icon-button{width:34px;height:34px}.list-toolbar .icon{width:17px;height:17px}.online-label{font-size:8px;color:#799966;display:flex;gap:4px;align-items:center}.online-label .dot{width:4px;height:4px}.avatar{width:41px;height:41px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#dce9c3;flex-shrink:0;color:#5c7651}.avatar-eyes{font-size:27px;line-height:1;letter-spacing:3px;margin-left:3px;font-family:Arial,sans-serif}.avatar.mint{background:#dce9c3;color:#58744c}.avatar.violet{background:#e0daf0;color:#86739d}.avatar.peach{background:#f2ddc9;color:#b2906e}.avatar.blue{background:#d6e6ec;color:#7c9eab}.avatar.rose{background:#efd9e0;color:#ad8494}.avatar.amber{background:#efe4b8;color:#a2985c}.avatar-button{width:34px;height:34px;border-radius:12px}.avatar-button .avatar-eyes{font-size:21px}.discover-note{display:flex;align-items:flex-start;gap:11px;border:1px solid #e0e8d6;border-radius:15px;padding:15px 13px;margin-top:24px;background:#eef3e6}.note-icon{width:30px;height:30px;background:#e0eacf;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:#869e71}.note-icon .icon{width:18px;height:18px}.discover-note strong{font-size:11px;font-weight:600}.discover-note p{font-size:10px;line-height:1.7;color:#8b987d;margin:4px 0 0}.empty-state{text-align:center;padding:35px 14px 25px}.empty-symbol{height:76px;width:76px;border-radius:26px;background:#e6edd9;margin:0 auto 22px;color:#9eb686;font-size:49px;display:grid;place-items:center}.empty-symbol .icon{height:30px;width:30px}.lilac-bg{background:#e9e3f1;color:#ae9bc4}.empty-state h2{font-size:20px;letter-spacing:-.6px;margin:0 0 10px}.empty-state p{font-size:12px;line-height:1.8;color:#909b82;margin:0 auto 23px;max-width:290px}.empty-state .button{font-size:12px;min-height:46px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:600px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fafbf5f5;backdrop-filter:blur(15px);border-top:1px solid #e2e8da;padding:10px 18px calc(11px + env(safe-area-inset-bottom));z-index:3}.bottom-nav>a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#9aa68c;background:transparent;padding:7px 8px;border-radius:12px;font-size:9px}.bottom-nav>a.active{color:#496c37;background:#eaf0e1}.bottom-nav .icon{height:22px;width:22px}.nav-icon{position:relative;display:flex}.nav-icon>i{height:6px;width:6px;background:#c1a4d4;border:1px solid var(--paper);border-radius:50%;position:absolute;right:-3px;top:-2px}.conversation-list{margin-top:24px}.conversation-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:17px 0;border-bottom:1px solid #e4e9dc;background:transparent;color:inherit}.conversation-item .avatar{width:48px;height:48px;border-radius:17px}.conversation-text{flex:1;min-width:0}.conversation-title{display:flex;align-items:center;justify-content:space-between;gap:7px}.conversation-title strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-item>time{flex-shrink:0;color:#9ba68e;font-size:8px;white-space:nowrap}.conversation-text p{font-size:11px;color:#949f87;margin:6px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.anonymous-badge{display:inline-flex;font-size:8px;font-weight:400;color:#9785aa;background:#ece6f3;padding:3px 6px;border-radius:5px;margin-left:5px;vertical-align:middle}.inbox-note{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;color:#9aa58d;line-height:1.7;margin:25px 0 0}.inbox-note .icon{width:12px;height:12px}.profile-card{text-align:center;padding:24px 0 15px}.profile-avatar{height:83px;width:83px;border-radius:28px;margin:auto;transform:rotate(-5deg)}.profile-avatar .avatar-eyes{font-size:43px;letter-spacing:6px;margin-left:6px}.profile-card h2{font-size:22px;margin:17px 0 10px;letter-spacing:-.6px;overflow-wrap:anywhere}.profile-card .small-pill{font-size:9px;color:#91a07f;background:#edf2e6}.avatar-options{display:flex;gap:12px;margin:12px 0 24px}.avatar-choice{width:35px;height:35px;border:3px solid transparent;outline:1px solid transparent;border-radius:50%;padding:0}.avatar-choice[aria-pressed=true]{border-color:var(--paper);outline-color:#75925e}.avatar-choice.mint{background:#dce9c3}.avatar-choice.violet{background:#e0daf0}.avatar-choice.peach{background:#f2ddc9}.avatar-choice.blue{background:#d6e6ec}.avatar-choice.rose{background:#efd9e0}.avatar-choice.amber{background:#efe4b8}#profile-bio{font-size:16px;resize:vertical;min-height:94px}.bio-count{text-align:right;font-size:9px;color:#a0aa94;margin:6px 3px 0}.profile-actions{border-top:1px solid #e0e7d7;margin-top:28px;padding-top:7px}.row-button{display:flex;gap:12px;align-items:center;width:100%;background:transparent;padding:17px 2px;color:#718664;font-size:12px}.row-button .icon{height:18px;width:18px}.row-button .icon:last-child{margin-left:auto;width:16px;color:#a6b29b}.logout-row{color:#a57360}.chat-view{position:fixed;top:var(--chat-top,0px);left:0;right:0;width:100%;max-width:600px;margin:0 auto;height:var(--vh);display:flex;flex-direction:column;overflow:hidden;background:var(--paper)}.chat-header{display:flex;align-items:center;gap:9px;padding:calc(15px + env(safe-area-inset-top)) 13px 14px;border-bottom:1px solid #e5eadc;flex-shrink:0}.chat-header .icon-button{width:30px;height:37px}.peer-details{flex:1;min-width:0}.peer-details strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.encryption-banner{display:flex;gap:6px;align-items:center;justify-content:center;padding:9px;font-size:8px;color:#8a9b78;background:#edf3e4;flex-shrink:0}.encryption-banner .icon{height:12px;width:12px}.messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 18px 18px}.conversation-start{text-align:center;padding:27px 0 34px}.day-label{font-size:8px;letter-spacing:1.2px;color:#a1ac93}.conversation-flower{font-size:47px;color:#a7bc90;margin-top:36px;line-height:1}.conversation-start h2{font-size:20px;letter-spacing:-.6px;margin:16px 0 8px}.conversation-start p{font-size:12px;line-height:1.8;color:#96a087;margin:0}.message-row{display:flex;flex-direction:column;align-items:flex-start;margin-top:14px}.message-row.own{align-items:flex-end}.message-bubble{max-width:86%;border-radius:17px 17px 17px 4px;background:#eae4f1;color:#655775;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55;padding:12px 15px}.own .message-bubble{background:#e0eacb;color:#445e36;border-radius:17px 17px 4px 17px}.message-meta{font-size:8px;color:#9daa8b;margin:5px 4px 0;display:flex;gap:6px;align-items:center}.message-meta:empty,.message-clock:empty{display:none}.message-footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:4px;color:#6b6275;font-size:10px;line-height:1.35}.own .message-footer{color:#526746}.message-clock{font-variant-numeric:tabular-nums;white-space:nowrap}.photo-bubble .message-footer{padding:0 6px 3px}.message-state{font-weight:700;letter-spacing:-.1em;min-width:1em;text-align:center;white-space:nowrap}.message-state.is-failed{color:#a56c54}.chat-writing-as{align-self:center;flex-shrink:0;max-width:calc(100% - 32px);margin:8px auto 2px;padding:6px 13px;border-radius:16px;background:#e9eedf;color:#486146;font-size:12px;line-height:1.5;text-align:center;overflow-wrap:anywhere}.message-day{align-self:stretch;display:flex;align-items:center;justify-content:center;gap:10px;margin:3px 0 14px;font-size:12px;color:#68765e;text-align:center}.message-day::before,.message-day::after{content:"";height:1px;background:#dce4d4;flex:1;min-width:10px}.message-retry{font-size:9px;padding:2px 4px;color:#a56c54;background:transparent;text-decoration:underline}.composer{display:flex;align-items:flex-end;gap:10px;padding:10px 17px 0;flex-shrink:0}.composer textarea{resize:none;border-radius:22px;font-size:16px;line-height:1.4;padding:12px 16px;min-height:46px;max-height:min(120px,calc(var(--vh) * .25));overflow:auto}.send-button{height:46px;width:46px;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center;flex-shrink:0}.send-button .icon{transform:rotate(-90deg)}.composer-footer{text-align:center;color:#a0ac91;font-size:8px;line-height:1.6;padding:10px 15px calc(13px + env(safe-area-inset-bottom));flex-shrink:0}.typing-indicator{font-size:10px;color:#94a380;padding:4px 22px;flex-shrink:0}.chat-notice{font-size:11px;line-height:1.7;color:#8f755d;background:#f2ebdf;text-align:center;padding:10px 19px;flex-shrink:0}dialog{border:1px solid #e2e7da;border-radius:24px;padding:23px;color:#2e4d37;background:#fafbf5;width:calc(100% - 32px);max-width:410px;max-height:90dvh;box-shadow:0 20px 70px #1c3c332d}dialog::backdrop{background:#163c3166;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.dialog-header h2{font-size:21px;letter-spacing:-.6px;margin:0}.dialog-header .icon-button{width:32px;height:32px}dialog p{font-size:12px;color:#8a987d;line-height:1.8;margin:12px 0 20px}dialog h3{text-align:center;font-size:20px;margin:17px 0 0;letter-spacing:-.5px}.dialog-art{width:65px;height:65px;margin:21px auto 10px;border-radius:22px;display:grid;place-items:center;color:#a18ab4;background:#e9e2f0}.dialog-art .icon{width:28px;height:28px}.privacy-item{margin-top:22px}.privacy-item strong{font-size:13px}.privacy-item p{margin:6px 0;font-size:12px}.privacy-detail{border-top:1px solid #e3e9d9;padding-top:17px;margin-top:22px;color:#97a18a;font-size:10px;line-height:1.8}.security-code{display:block;font-size:18px;letter-spacing:1.6px;line-height:2;text-align:center;padding:20px 12px;background:#edf3e4;border-radius:14px;overflow-wrap:anywhere}.toast{position:fixed;z-index:99;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:13px 19px;border-radius:13px;background:#234b3c;color:#fffef7;font-size:12px;line-height:1.6;text-align:center;box-shadow:0 5px 20px #163c3320}.desktop-gate{display:grid;place-items:center;min-height:100dvh;padding:40px 20px;background:radial-gradient(ellipse at 20% 20%,#edf2e2,transparent 60%),radial-gradient(ellipse at 85% 85%,#eae5f1,transparent 50%),var(--paper)}.desktop-card{max-width:440px;width:100%;text-align:center;border:1px solid #dee6d3;border-radius:31px;padding:36px 45px;background:#fafbf6e0}.desktop-card h1{font-size:35px;margin-top:15px}.desktop-card>p{font-size:13px;color:#929f84;line-height:1.8;margin:18px 0 25px}.quiet-note{font-size:10px;color:#96a388;display:block;margin-top:18px}noscript{display:block;padding:40px}
@keyframes enter{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
.avatar-editor #profile-avatar-status.status-error{color:#a57360}
.avatar{position:relative;overflow:hidden}.avatar-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar-editor{margin:4px 0 24px}.avatar-actions{display:flex;flex-direction:column;align-items:center;gap:10px}.avatar-actions .button{margin-top:0}.avatar-remove{background:transparent;color:#a57360;font-size:12px;padding:8px 12px;text-decoration:underline;text-underline-offset:3px}.avatar-editor>.field-hint{text-align:center;margin-bottom:12px}.avatar-editor [role=status]{color:#48683c}input[type=date]{display:block;min-width:0;max-width:100%;min-height:49px;box-sizing:border-box;appearance:none;-webkit-appearance:none;text-align:left}input[type=date]::-webkit-date-and-time-value{text-align:left}
/* Shared profile links have their own avatar and question layout. */
.public-profile-view{min-height:var(--vh);background:radial-gradient(ellipse at 50% 5%,#e8eedc 0,transparent 45%),var(--paper)}
.public-profile-view .app-header{border-bottom:0}
.public-profile-content{padding:18px 22px calc(30px + env(safe-area-inset-bottom));text-align:center;max-width:470px;margin:auto}
.public-profile-content .profile-card{padding:8px 0 27px}
.public-profile-content .profile-avatar{width:108px;height:108px;border-radius:50%;transform:none;box-shadow:0 0 0 6px #fafbf6,0 8px 30px #34563315}
.public-profile-content h1{font-size:26px;letter-spacing:-.8px;overflow-wrap:anywhere;margin:22px 0 10px}
.public-profile-content #public-profile-bio{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#718067;margin:0 auto 17px;max-width:320px}
.public-profile-content .small-pill{font-size:10px;gap:6px;background:#edf2e5;color:#637b51}
.public-profile-content .small-pill .icon{width:13px;height:13px}
.public-question-form{text-align:left;border:1px solid #dfe6d6;border-radius:24px;padding:22px 20px;background:#fffef9;box-shadow:0 8px 28px #3a593408}
.public-question-form>label{display:block;font-size:18px;font-weight:750;letter-spacing:-.45px;color:#345333;margin:0}
.question-intro{font-size:12px;color:#819074;line-height:1.6;margin:7px 0 17px}
.public-question-form textarea{font-size:16px;line-height:1.6;min-height:134px;max-height:300px;resize:vertical;background:#f7f8f2;border-color:#e3e8da;border-radius:15px;padding:14px}
.public-question-form textarea::placeholder{font-size:13px;color:#8c9a80}
.question-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;line-height:1.5;color:#809171;margin:11px 1px 18px}
.question-meta>span:first-child{display:flex;align-items:center;gap:4px}
.question-meta .icon{width:12px;height:12px;flex-shrink:0}
#public-question-count{white-space:nowrap;font-variant-numeric:tabular-nums}
.public-question-form .button{margin-top:0}
.public-profile-content>.field-hint{font-size:11px;line-height:1.8;margin:16px auto 0;max-width:300px}
.public-profile-content .inline-error{margin-bottom:24px}
.public-profile-content .privacy-strip{margin-top:22px}
.profile-auth .auth-content>h1,.profile-auth .auth-content>.intro,.profile-auth .auth-content>.small-pill,.profile-auth .auth-art{display:none}
.profile-auth-context{text-align:left;margin:0 0 28px}
.profile-auth-context>button{display:flex;align-items:center;gap:7px;background:transparent;color:#738666;font-size:12px;padding:6px 0;margin-bottom:23px}
.profile-auth-context>button .icon{width:16px;height:16px}
.profile-auth-context h2{font-size:31px;line-height:1.22;letter-spacing:-1px;margin:0 0 13px}
.profile-auth-context p{font-size:13px;line-height:1.8;color:#7e8e72;overflow-wrap:anywhere;margin:0}
@media(max-width:350px){.public-profile-content{padding-left:17px;padding-right:17px}.public-question-form{padding:19px 16px}.public-question-form>label{font-size:17px}}
.profile-link{display:block;overflow-wrap:anywhere;font-size:12px;color:#6b835b;text-decoration:underline;text-underline-offset:3px;margin:0 0 14px}
@media(max-width:350px){.app-header{padding-left:18px;padding-right:18px}.auth-content{padding:18px 20px 0}h1{font-size:39px}.auth-art{height:164px}.persona{width:101px;height:96px}.persona.green{left:20px}.persona.lilac{right:17px;top:56px}.orbit{width:250px;left:calc(50% - 125px);height:135px}.art-lock{top:66px}.member-view{padding-left:17px;padding-right:17px}.online-label{font-size:7px}.avatar-options{gap:10px}.avatar-choice{width:32px;height:32px}.chat-header{gap:6px;padding-left:8px;padding-right:10px}.encryption-banner{font-size:7px}.section-heading h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
select{display:block;width:100%;min-width:0;min-height:49px;font:inherit;font-size:16px;line-height:1.5;border:1px solid #dfe5d5;background:#fffef9;color:#37532f;border-radius:12px;padding:12px 14px;cursor:pointer}select:focus{outline:2px solid #8cae7b;outline-offset:1px}select:disabled{opacity:.6;cursor:default}.profile-actions a.row-button{text-decoration:none}#admin-panel-link{color:#345a40}

/* The chat owns its scroll area; keyboard panning must not move the document. */
html.chat-open,html.chat-open body{height:100%;overflow:hidden;overscroll-behavior:none;overflow-anchor:none;scroll-behavior:auto}
html.chat-open body{position:fixed;inset:0;width:100%}
html.chat-open .app{height:100%;min-height:0}
/* Encrypted photo messages and explicit one-time viewing. */
.attach-photo{display:grid;place-items:center;width:38px;height:46px;flex-shrink:0;border-radius:14px;background:#e8efdd;color:#49643b}
.attach-photo .icon{width:22px;height:22px}
.composer{gap:8px}
.photo-bubble{padding:5px;max-width:min(86%,280px);min-width:190px}
.message-photo{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;width:100%;min-height:66px;border-radius:12px;background:transparent;padding:12px;color:inherit;font-size:13px;text-align:center}
.message-photo:disabled{opacity:.8}
.message-photo .icon{width:23px;height:23px;flex-shrink:0}
.message-photo-label{overflow-wrap:anywhere}
.message-photo-preview{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:10px}
.message-photo.has-preview{padding:0;gap:0}
.message-photo.has-preview>.icon{display:none}
.message-photo.has-preview .message-photo-label{font-size:10px;padding:7px 10px}
.photo-send-dialog,.photo-view-dialog{max-height:calc(var(--vh) - 24px);overflow-y:auto;overscroll-behavior:contain}
.photo-send-preview{display:block;width:100%;max-height:min(260px,32dvh);object-fit:contain;border-radius:15px;background:#e9eedf;margin:12px auto 20px}
.photo-mode-options{padding:0;border:0;margin:16px 0}
.photo-mode-options legend{font-size:12px;font-weight:700;margin-bottom:10px}
.photo-mode-options label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e0e7d7;border-radius:13px;margin:8px 0;background:#f3f6ed;cursor:pointer}
.photo-mode-options input{width:18px;min-width:18px;height:18px;padding:0;margin:1px 0 0;accent-color:#345b40}
.photo-mode-options strong{display:block;font-size:13px}
.photo-mode-options small{display:block;font-size:11px;line-height:1.6;margin-top:4px;color:#73846b}
.photo-limit-note{font-size:10px;line-height:1.65;margin:12px 0 18px}
.photo-view-dialog{max-width:640px;padding:18px}
#photo-view-image{display:block;max-width:100%;max-height:calc(var(--vh) - 180px);object-fit:contain;margin:auto;border-radius:9px}
#photo-view-dialog[data-photo-mode="once"] #photo-view-image{-webkit-touch-callout:none}
#photo-view-caption{font-size:12px;line-height:1.7;margin:14px 0}
#photo-view-close{flex-shrink:0}
@media(max-width:350px){.composer{padding-left:11px;padding-right:11px;gap:6px}.attach-photo{width:33px}.photo-bubble{min-width:170px}}

/* Conversation status and public member details */



.person-profile-row:focus-visible,.chat-peer-profile:focus-visible{outline:2px solid #6f8f59;outline-offset:4px}
.inbox-badge,.conversation-unread{display:inline-flex;align-items:center;justify-content:center;background:#587445;color:#fffef9;min-width:20px;height:20px;padding:0 5px;border-radius:12px;font-size:10px;font-weight:700;line-height:1;flex-shrink:0;font-variant-numeric:tabular-nums}
.inbox-badge{position:absolute;top:-8px;left:15px;border:2px solid var(--paper);min-width:21px;height:21px;font-size:9px;padding:0 4px}
.conversation-item.unread{background:#edf3e5;border-radius:14px;padding-left:10px;padding-right:10px;border-bottom-color:transparent}
.conversation-item.unread .conversation-title strong{color:#344a2c;font-weight:750}
.conversation-item.unread>time{color:#587445;font-weight:600}
.conversation-item.unread .conversation-text p{color:#516444;font-weight:600}
.conversation-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.conversation-preview p{min-width:0;flex:1}
.conversation-unread{margin-top:6px}
.chat-peer-profile{display:flex;align-items:center;gap:9px;flex:1;min-width:0;background:transparent;padding:0;text-align:left;color:inherit;border-radius:12px}
.chat-peer-profile:disabled{opacity:1;cursor:default}
.chat-peer-profile .avatar{flex-shrink:0}
.message-state.is-read{color:#1460ae}
.member-profile-dialog{max-height:calc(100dvh - 40px);overflow-y:auto}
.member-profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:7px 0 9px}
.member-profile-hero .avatar{height:92px;width:92px;border-radius:31px;margin-bottom:16px}
.member-profile-hero h2{font-size:22px;letter-spacing:-.5px;max-width:100%;overflow-wrap:anywhere;margin:0 0 9px}
.member-profile-hero p{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#68765e;margin:0 0 14px}
.member-profile-hero .profile-link{font-size:12px;max-width:100%}
.member-profile-note{display:flex;gap:9px;align-items:flex-start;background:#edf3e5;border-radius:13px;padding:13px;font-size:12px;line-height:1.6;color:#617451;margin:0 0 17px}
.member-profile-note .icon{width:18px;height:18px;flex-shrink:0;margin-top:1px}
.member-profile-dialog .button{width:100%;margin-top:10px}

.conversation-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e4e9dc}
.conversation-row:has(>.conversation-item.unread){padding-top:5px}
.conversation-row .conversation-item{flex:1;min-width:0;width:0;border-bottom:0}
.conversation-delete{color:#a57360}
.conversation-delete:hover{background:#f5e5dc}
.conversation-row>.conversation-delete{width:44px;height:44px}
.chat-header #delete-chat{width:36px;height:42px}
#delete-conversation-description strong{color:#4d6546;overflow-wrap:anywhere}
.delete-cancel{margin-top:10px}

.bottom-nav>a{text-decoration:none}.bottom-nav>a:focus-visible{outline:3px solid #8cae7b;outline-offset:3px}
.chat-header #chat-media{width:34px;height:42px}
.media-dialog{width:calc(100% - 24px);max-width:600px;max-height:calc(var(--vh) - 24px);padding:18px;overflow:hidden}
.media-dialog[open]{display:flex;flex-direction:column}
.media-dialog .dialog-header{flex-shrink:0;margin-bottom:14px}
.media-dialog .media-hint{font-size:11px;margin:7px 0 0;line-height:1.5}
.media-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.media-tile{position:relative;aspect-ratio:1;min-width:0;overflow:hidden;border-radius:10px;background:#e8eedf;color:#8a9c77;display:grid;place-items:center;padding:0}
.media-tile>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.media-tile>.icon{width:26px;height:26px}
.media-tile>span{position:absolute;bottom:7px;left:5px;right:5px;font-size:9px;line-height:1.3}
.media-tile.has-preview>.icon,.media-tile.has-preview>span{display:none}
.media-tile.is-loading{opacity:.65}
#media-more{margin-top:14px;min-height:44px;font-size:12px}
#media-loading{margin:0 0 12px}
#media-error{margin:0 0 12px}
.record-audio{display:grid;place-items:center;width:36px;height:46px;flex-shrink:0;border-radius:14px;background:#e8efdd;color:#49643b}
.audio-record-dialog{max-height:calc(var(--vh) - 24px);overflow-y:auto;text-align:center}
.audio-record-mark{display:grid;place-items:center;width:70px;height:70px;margin:20px auto 12px;border-radius:24px;background:#e8efdd;color:#49643b}
.audio-record-mark .icon{width:32px;height:32px}
.audio-record-dialog[data-recording=true] .audio-record-mark{color:#a85848;background:#f3e5dc}
#audio-record-status{font-size:13px;line-height:1.6}
.audio-record-time{font-variant-numeric:tabular-nums;font-size:34px;font-weight:650;margin:12px 0;color:var(--green)}
.audio-record-hint{font-size:11px;line-height:1.7;margin:0 0 20px}
#audio-record-preview{width:100%;margin:12px 0 20px;padding:16px;background:#edf2e5;border-radius:18px}
.message-bubble.audio-bubble{padding:12px 14px;max-width:min(310px,100%);width:280px}
.audio-player{display:flex;align-items:center;gap:12px;min-width:0;width:100%;color:#36573f}
.audio-control{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#254c39;color:#fffef7;padding:0;box-shadow:0 2px 5px #21453212}
.audio-control:hover:not(:disabled){background:#183d2a}
.audio-control .icon{width:18px;height:18px}
.audio-control[data-playing=false] .icon{fill:currentColor;stroke-width:1}
.audio-control[data-playing=true] .icon{stroke-width:3}
.audio-track{flex:1;min-width:0;text-align:left}
.audio-progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:26px;min-width:0;margin:0;padding:0;border:0;outline-offset:2px;background:transparent;cursor:pointer;touch-action:pan-y}
.audio-progress::-webkit-slider-runnable-track{height:4px;border-radius:9px;background:linear-gradient(to right,#416b49 var(--audio-progress,0%),#b9c9ab var(--audio-progress,0%))}
.audio-progress::-moz-range-track{height:4px;border-radius:9px;background:#b9c9ab}
.audio-progress::-moz-range-progress{height:4px;border-radius:9px;background:#416b49}
.audio-progress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border-radius:50%;border:2px solid #fafbf4;background:#416b49;box-shadow:0 0 0 1px #416b4920}
.audio-progress::-moz-range-thumb{width:9px;height:9px;border-radius:50%;border:2px solid #fafbf4;background:#416b49}
.audio-progress:disabled{opacity:.65;cursor:default}
.audio-times{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.4;font-variant-numeric:tabular-nums;color:#617951}
.audio-status{display:block;font-size:10px;line-height:1.4;margin-top:4px;color:#8c5a43}
.profile-card .profile-presence,.member-profile-hero .profile-presence{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;line-height:1.5;color:#84907b;margin:0 0 14px;white-space:normal}
@media(max-width:350px){.record-audio{width:31px}.message-bubble.audio-bubble{width:245px;padding:11px 12px}.audio-player{gap:10px}.audio-control{width:38px;height:38px}}

/* Account settings and safety actions use the same compact menu rhythm. */
.profile-menu{border:1px solid #e0e7d7;border-radius:17px;background:#fffef9;margin:12px 0;overflow:hidden}
.profile-menu summary{display:flex;align-items:center;gap:12px;min-height:60px;padding:16px;list-style:none;cursor:pointer;color:#36573f;font-size:13px;font-weight:600}
.profile-menu summary::-webkit-details-marker{display:none}
.profile-menu summary .icon:last-child{margin-left:auto;width:16px;transition:transform .15s}
.profile-menu[open] summary .icon:last-child{transform:rotate(90deg)}
.profile-menu[open] summary{border-bottom:1px solid #e7ecdf}
.profile-menu-content{padding:4px 17px 18px}
.profile-menu-content .avatar-editor{margin-top:15px}
.profile-menu-content .avatar-actions{flex-wrap:wrap}
.profile-menu-content .avatar-actions .button{min-height:44px}
.profile-menu-content .field-hint{margin-bottom:14px}
.profile-actions .row-button{min-height:55px}
.policy-links{display:flex;flex-direction:column;padding-top:5px;padding-bottom:5px}
.policy-links a{display:block;padding:14px 0;border-bottom:1px solid #e9ede3;color:#57704b;text-decoration:none;font-size:12px}
.policy-links a:last-child{border:0}
.check-row{display:flex;align-items:flex-start;gap:11px;text-align:left;font-size:11px;font-weight:400;line-height:1.8;color:#718365;margin:18px 0}
.check-row input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;flex-shrink:0;padding:0;margin:2px 0 0;accent-color:#2c563d}
.check-row a{color:#365d3d;text-underline-offset:3px}
.profile-safety-actions{display:flex;justify-content:center;gap:18px;margin:4px 0 12px}
.profile-safety-actions .text-button{margin:0}
.action-menu .row-button{width:100%;border-bottom:1px solid #e2e8d9;min-height:56px;padding:15px 4px}
.action-menu .row-button:last-child{border-bottom:0}
.report-evidence{font-size:12px;line-height:1.7;border-left:3px solid #8ca976;margin:12px 0;padding:12px;background:#edf2e5;color:#526c44;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}
.blocked-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e2e8d9}
.blocked-row>span{min-width:0;overflow-wrap:anywhere;flex:1;font-size:12px}
.blocked-row .button{width:auto;font-size:10px;min-height:36px;padding:8px 11px;flex-shrink:0}
.page-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#718664;text-decoration:none;font-size:12px}
.page-back .icon{width:18px;height:18px}
#blocks-view .section-heading h1{font-size:clamp(27px,8vw,35px);overflow-wrap:anywhere}
#blocks-view .blocked-row .button{min-height:44px}
#blocks-view #blocks-empty{padding:24px 0;border-top:1px solid var(--line)}
.account-deletion-notice{padding:15px;border:1px solid #cbdcb9;border-radius:14px;background:#ecf3e3;font-size:12px;line-height:1.8;color:#416338}
#report-dialog select{font-size:16px}
#account-delete-dialog strong{color:#466138}
#terms-dialog .text-button{margin-top:14px}

/* Live calling keeps controls in reach and the user's own preview muted. */
.chat-header #chat-call,.chat-header #chat-video{width:30px;height:42px;flex-shrink:0}
.call-dialog{padding:22px;max-width:430px;max-height:calc(100dvh - 24px);overflow:auto;text-align:center;background:#f7f8f2}
.call-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#668154;font-size:11px;margin-bottom:20px}
.call-secure{display:flex;align-items:center;gap:4px;font-size:9px;color:#899a7a}
.call-secure .icon{width:12px;height:12px}
.call-stage{height:160px;position:relative;display:grid;place-items:center;border-radius:22px;overflow:hidden;background:#ecf1e3}
.call-dialog[data-mode=video] .call-stage{height:min(42dvh,340px);background:#17392e}
.call-avatar{height:94px;width:94px;display:grid;place-items:center;border-radius:34px;background:#dce9c3;color:#78935e;font-size:46px;letter-spacing:8px;padding-left:8px;z-index:1}
.call-dialog[data-phase=incoming] .call-avatar,.call-dialog[data-phase=ringing] .call-avatar{box-shadow:0 0 0 12px #dce9c344,0 0 0 24px #dce9c322}
#call-remote{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:#17392e}
#call-local{position:absolute;right:10px;bottom:10px;width:80px;height:110px;object-fit:cover;border-radius:13px;border:2px solid #fafbf5b0;z-index:2;background:#234537;transform:scaleX(-1)}
#call-local.camera-off{opacity:0}
.call-dialog h2{font-size:23px;letter-spacing:-.5px;margin:22px 0 7px;overflow-wrap:anywhere}
.call-dialog #call-status{font-size:12px;color:#718665;margin:0;min-height:22px}
.call-time{font-size:20px;font-variant-numeric:tabular-nums;color:#365b40;min-height:26px;margin:4px 0}
.call-dialog .call-hint{font-size:10px;line-height:1.7;max-width:290px;margin:12px auto 18px;color:#84947a}
.call-actions{display:flex;justify-content:center;gap:14px;padding:8px 0 3px}
.call-control{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;min-width:70px;min-height:74px;padding:12px 8px;border-radius:20px;background:#e6ecdd;color:#567347;font-size:10px}
.call-control .icon{width:24px;height:24px}
.call-control[aria-pressed=true]{background:#d9dfd2;color:#8c6856}
.call-control[aria-pressed=true] .icon{opacity:.5}
.call-hangup{background:#f0e0d8;color:#a34e3f}
.call-hangup .icon{transform:rotate(135deg)}
.call-accept{background:#315b40;color:#fffef7}
#call-play{min-height:42px;margin:10px auto;font-size:12px}
@media(max-width:350px){.call-dialog{padding:17px}.call-actions{gap:9px}.call-control{min-width:66px}.call-heading{font-size:10px;gap:5px}.chat-header{gap:4px}.call-secure{font-size:8px}}
@media(max-height:600px){.call-stage{height:90px}.call-dialog[data-mode=video] .call-stage{height:30dvh}.call-dialog h2{margin-top:12px}.call-dialog .call-hint{margin:7px auto}.call-control{min-height:60px}}

.call-feedback{flex-shrink:0;margin:0;padding:11px 18px;background:#f0ecdf;color:#796646;font-size:12px;line-height:1.7;border-bottom:1px solid #e5dfcc;overflow-wrap:anywhere}

/* Observe the full message content, including row margins and decoded media. */
#messages-content{display:flow-root}

/* Stories are separate, authenticated pages; media loads only when opened. */
.stories-strip{margin:26px 0 28px;padding-bottom:22px;border-bottom:1px solid #e3e7dc}
.stories-strip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.stories-strip-heading>p{flex:1;min-width:0;font-size:.8125rem;color:#74816f;line-height:1.5;margin:0}
.stories-heading-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.stories-heading-actions .icon-button,.story-add{width:44px;height:44px;flex-shrink:0;border-radius:50%}
.story-add{display:grid;place-items:center;padding:0;background:#234b3c;color:#fffef9}
.story-add>span{font-size:32px;font-weight:300;line-height:1;transform:translateY(-1px)}
.stories-page{min-height:100svh;background:#f7f8f0;padding-bottom:env(safe-area-inset-bottom)}
.stories-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;min-height:74px;padding:12px 18px;border-bottom:1px solid #e3e7dc;background:#f7f8f0}
.stories-header h1{font-size:21px;letter-spacing:-.6px;flex:1;margin:0;color:#234c3c}
.stories-day{padding:6px 9px;border-radius:9px;background:#e8eddd;font-size:10px;color:#6a8055;font-weight:600;white-space:nowrap}
.stories-content{padding:24px 22px 36px}
.stories-intro{font-size:20px;color:#365741;letter-spacing:-.5px;line-height:1.5;margin:0 0 24px}
.stories-intro span{font-size:12px;color:#8d9882;letter-spacing:0}
#story-feed-page{padding:16px 12px 36px}
.stories-feed-active .stories-header h1{font-size:28px;min-width:0;overflow-wrap:anywhere}
.stories-feed-active .stories-day{flex-shrink:0}
.stories-feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:24px}
.story-card{position:relative;isolation:isolate;display:block;width:100%;min-width:0;min-height:0;aspect-ratio:9/16;overflow:hidden;border-radius:14px;padding:0;background:#e9eedf;text-align:left;color:#fff}
.story-card::after{position:absolute;content:"";inset:0;z-index:1;pointer-events:none;background:linear-gradient(transparent 45%,#000000d1)}
.story-card[data-story-kind=text]{background:#234b3c}
.story-thumb{position:absolute;inset:0;display:grid;place-items:center;background:#e9eedf;overflow:hidden}
.story-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
.story-card-placeholder{width:30px;height:30px;color:#6d855d}
.story-card .story-card-play{position:absolute;top:8px;right:8px;z-index:2;width:20px;height:20px;color:#fff;filter:drop-shadow(0 1px 3px #0008)}
.story-card-meta{position:absolute;z-index:2;left:8px;right:8px;bottom:8px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;pointer-events:none}
.story-card-meta .avatar{width:28px;height:28px;min-width:28px;flex-shrink:0;border-radius:50%;font-size:14px;background:#e9eedf;color:#234b3c;border:1px solid #ffffff80}
.story-card-meta .avatar-eyes{font-size:14px;letter-spacing:2px}
.story-author-name{display:block;width:100%;min-width:0;font-size:.6875rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#fff;text-shadow:0 1px 3px #0006}
.story-card-text{position:absolute;inset:12px 10px calc(52px + 1.4rem);display:grid;place-items:center;overflow:hidden;color:#fff;font-size:.8125rem;line-height:1.4;font-weight:600;text-align:center;overflow-wrap:anywhere;white-space:pre-wrap}
.story-card-text>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;max-height:100%}
.story-kind-tabs{display:flex;gap:6px;padding:5px;background:#e9eddf;border-radius:16px;margin:0 0 20px}
.story-kind-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;min-height:43px;padding:8px 4px;background:none;color:#788b66;border-radius:12px}
.story-kind-tabs button[aria-pressed=true]{background:#fffef7;color:#355b41;box-shadow:0 2px 5px #26452a09}
.story-kind-tabs .icon{width:17px;height:17px}
.story-draft-preview:empty{display:none}
.story-draft-preview{margin-bottom:16px;overflow:hidden;border-radius:20px;background:#e8ecdf;max-height:360px}
.story-draft-preview img,.story-draft-preview video{display:block;width:100%;max-height:360px;object-fit:contain}
#story-compose-text{resize:vertical;min-height:125px;font-size:16px;line-height:1.6}
.story-character-count{margin:5px 2px 18px;text-align:right;font-size:11px;color:#8f9c83}
.story-visibility-note{display:flex;gap:10px;align-items:flex-start;background:#eaf0e1;padding:14px;border-radius:14px;color:#75836a;margin:18px 0 22px}
.story-visibility-note .icon{width:18px;height:18px;flex-shrink:0;margin-top:2px}
.story-visibility-note p{font-size:11px;line-height:1.7;margin:0}
.story-visibility-note strong{display:block;color:#486142;font-weight:600}
.story-view-page{padding:18px 16px 24px}
.story-author-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 16px}
.story-author-heading strong{display:block;font-size:15px;color:#365741;overflow-wrap:anywhere}
#story-expiry{display:block;font-size:10px;color:#8d9982;margin-top:5px}
.story-owner-actions{display:flex;flex-shrink:0;gap:2px}
.story-owner-actions .icon-button{height:38px;width:36px}
.story-stage{display:grid;place-items:center;min-height:330px;max-height:70svh;aspect-ratio:3/4;border-radius:24px;overflow:hidden;background:#e7eddc;color:#365741}
.story-stage img,.story-stage video{height:100%;width:100%;min-height:0;max-height:70svh;object-fit:contain;background:#1d332b}
.story-text-content{padding:28px;font-size:clamp(20px,5vw,30px);line-height:1.55;letter-spacing:-.4px;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;max-height:100%;overflow-y:auto}
.story-loading{font-size:13px;color:#718268}
.story-caption{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 4px}
.story-caption:empty{display:none}


.story-navigation button:disabled{opacity:.35;cursor:default}
#story-position{font-size:11px;color:#8a9780;font-variant-numeric:tabular-nums}
#story-confirm-form .button{margin-top:12px}
@media(max-width:350px){.stories-content{padding:20px 16px}.stories-header{padding-inline:12px}.story-kind-tabs button{font-size:10px;gap:3px}.story-stage{min-height:300px}}

/* Hikâyeler has its own primary tab; focused story screens keep the full viewport. */
.stories-feed-active{padding-bottom:calc(85px + env(safe-area-inset-bottom))}
#story-feed-page .stories-strip{margin:0;padding:0;border:0}
#story-feed-page .stories-authors{display:contents}
.bottom-nav>a{min-width:0}

/* A shared 9:16 canvas makes authoring and published overlay positions agree. */
.story-canvas{position:relative;aspect-ratio:9/16;background:#18372c;overflow:hidden;isolation:isolate}
.story-overlay{position:absolute;z-index:1;transform:translate(-50%,-50%);width:max-content;max-width:88%;padding:.22em .34em;margin:0;border-radius:.22em;font-family:Arial,sans-serif;font-weight:600;line-height:1.2;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-height:none;overflow:visible;pointer-events:none;user-select:none;color:#fff;box-sizing:border-box}
.story-overlay[data-background=dark]{background:#111111bf}.story-overlay[data-background=light]{background:#ffffffdf}.story-overlay[data-background=none]{background:transparent;text-shadow:0 1px 4px #0009}
.story-overlay-editable{pointer-events:auto;touch-action:none;cursor:move}.story-overlay-editable:focus-visible{outline:2px dashed #d3e9ac;outline-offset:4px}
.story-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;min-height:40px}
.story-editor-toolbar button{padding:9px 14px;border-radius:12px;background:#e8eedf;color:#365b42;font-size:19px;font-weight:600;min-height:42px}.story-editor-toolbar span{font-size:11px;margin-left:6px}#story-editor-done{font-size:12px}
.story-text-colors{display:flex;gap:12px;justify-content:center;margin:14px 0}.story-text-colors button{width:26px;height:26px;border:2px solid #e1e6da;border-radius:50%;outline:2px solid transparent;outline-offset:3px}.story-text-colors button[aria-pressed=true]{outline-color:#55774a}
#story-overlay-controls label{margin-top:10px}#story-text-size{padding:0;border:0;accent-color:#54754b;min-height:30px}#story-text-background{font-size:14px;width:100%;padding:8px 12px;border:1px solid #dce4d3;border-radius:10px;color:#365b42;background:#fffef7}
.stories-editor-active{position:fixed;inset:0;z-index:5;overflow-y:auto;max-width:600px;margin:0 auto;background:#f7f8f0;overscroll-behavior:contain}
.stories-editor-active #story-compose-page{padding:12px 14px 24px}.stories-editor-active .stories-intro,.stories-editor-active .story-kind-tabs{display:none}
.stories-editor-active .story-editor-toolbar{position:sticky;top:74px;z-index:6;background:#f7f8f0}
.stories-editor-active #story-draft-preview{width:min(100%,max(150px,calc((100dvh - 360px)*9/16)));max-height:none;aspect-ratio:9/16;border-radius:16px;margin:0 auto 10px;background:#18372c}
.stories-editor-active #story-draft-preview img,.stories-editor-active #story-draft-preview video{height:100%;width:100%;max-height:none;object-fit:contain;position:absolute;inset:0}
.stories-editor-active #story-file-choose{min-height:30px;padding:6px;font-size:11px;border:0;text-decoration:underline}.stories-editor-active #story-file-hint{display:none}
.stories-editor-active .story-visibility-note{padding:10px;margin:8px 0 12px}.stories-editor-active .story-visibility-note p{font-size:10px;line-height:1.5}
.stories-editor-active #story-publish{position:sticky;bottom:10px;z-index:3;min-height:48px}
.stories-editor-active.story-writing #story-text-inputs{position:absolute;top:134px;left:14px;right:14px;z-index:7;padding:16px;border:1px solid #dce5d1;border-radius:18px;background:#f7f8f0;box-shadow:0 12px 50px #0a221b55;max-height:calc(100dvh - 155px);overflow-y:auto}
.stories-editor-active #story-compose-text{min-height:86px}.stories-editor-active #story-character-count{margin-bottom:8px}.stories-editor-active #story-overlay-controls .field-hint{margin-bottom:0}
.stories-view-active{position:fixed;inset:0;z-index:6;max-width:none;background:#101712;display:grid;place-items:center;overflow:hidden;padding:0;overscroll-behavior:contain}
.stories-view-active>.stories-header{display:none}
.stories-view-active #story-view-page{position:relative;width:min(100vw,calc(100dvh*9/16));height:min(100dvh,calc(100vw*16/9));padding:0;color:#fff;background:#18372c}
.stories-view-active #story-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:9/16;border-radius:0;display:block;touch-action:manipulation}
.stories-view-active #story-stage img,.stories-view-active #story-stage video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;background:transparent;user-select:none;-webkit-touch-callout:none}
.stories-view-active .story-loading{position:absolute;inset:45% 0 auto;text-align:center;color:#dce7d4}
.story-progress-heading{position:absolute;z-index:4;top:10px;left:12px;right:12px;display:flex;align-items:center;gap:9px}.story-progress{flex:1;min-width:0}#story-progress-segments{display:flex;gap:4px}#story-progress-segments>span{height:3px;flex:1;overflow:hidden;background:#ffffff55;border-radius:3px}#story-progress-segments i{display:block;width:100%;height:100%;background:#fff;transform:scaleX(0);transform-origin:left center}#story-countdown{font-size:10px;font-variant-numeric:tabular-nums;min-width:27px;text-align:right;color:white;text-shadow:0 1px 3px #0009}
.stories-view-active .story-author-heading{position:absolute;top:27px;left:12px;right:12px;z-index:3;margin:0;gap:4px;padding-bottom:12px;background:linear-gradient(#17241c55,transparent)}
.stories-view-active .story-author-heading>div:first-child{min-width:0}.stories-view-active .story-author-heading strong{color:#fff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stories-view-active #story-expiry{color:#ffffffbd;font-size:9px}
.stories-view-active .story-owner-actions{gap:0}.stories-view-active .story-owner-actions .icon-button{width:29px;height:34px;color:white;font-size:17px}.stories-view-active .story-owner-actions .icon{width:17px;height:17px}.stories-view-active .icon-button:hover{background:#ffffff20}
.stories-view-active #story-position{color:#ffffffbd}.stories-view-active #story-view-error{position:absolute;z-index:5;bottom:55px;left:12px;right:12px;font-size:11px}.stories-view-active #story-caption{display:none}

.stories-view-active #story-retry{position:absolute;z-index:5;left:12px;right:12px;bottom:115px;width:calc(100% - 24px);color:#fff;background:#244637;border-color:#769567;min-height:42px}

/* Public story social controls and manually selected location. */
.profile-social-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin:20px 0;text-align:center}
.profile-social-stats>div{min-width:0;display:flex;flex-direction:column;gap:4px}.profile-social-stats strong{font-size:20px;color:#234b3c;overflow-wrap:anywhere}.profile-social-stats span{font-size:12px;color:#75816d}.profile-location{font-size:13px;color:#63745a;overflow-wrap:anywhere}.profile-follow{margin:10px 0}.field-optional{font-size:11px;font-weight:400;color:#7a8771}
.profile-social-stats .profile-stat-icon{display:grid;place-items:center;align-self:center;width:35px;height:35px;border-radius:13px;margin-bottom:2px}
.profile-stat-icon .icon{width:19px;height:19px}
.profile-social-stats .profile-stat-user{color:#48654a;background:#e1ebd7}
.profile-social-stats .profile-stat-chat{color:#6c5983;background:#eae2f0}
.profile-social-stats .profile-stat-heart{color:#8a5365;background:#f1e1e5}
.stories-feed-active .stories-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.stories-feed-active .stories-header h1{text-align:center;font-size:clamp(22px,6vw,28px);line-height:1.25}.filters-active{color:#264f3b;background:#dce8ce}.story-camera-open{gap:8px;margin:8px 0}.stories-editor-active .story-camera-open{min-height:34px;padding:5px;font-size:12px}
.story-filter-dialog{width:min(calc(100% - 24px),460px);max-height:calc(100dvh - 24px);padding:22px;border-radius:24px;overflow:auto}.story-filter-dialog::backdrop,.story-camera-dialog::backdrop{background:#10281ac4}.story-filter-dialog label{display:block;margin:15px 0 6px;font-size:13px;font-weight:600}.story-filter-dialog input,.story-filter-dialog select{width:100%;min-width:0;min-height:44px;border:1px solid #dce4d3;border-radius:12px;background:#fffef9;padding:9px 12px;color:#234b3c;font:inherit;font-size:16px}.story-filter-dialog h2{font-size:21px}.story-age-fields{border:0;padding:0;margin:16px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.story-age-fields legend{font-size:13px;font-weight:600}.story-age-fields label{font-weight:400;margin-top:8px}.story-filter-dialog .story-sort-toggle{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0}.story-sort-toggle small{display:block;font-size:11px;font-weight:400;margin-top:4px}.story-sort-toggle input{width:24px;min-height:24px;height:24px;accent-color:#356143}.story-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.story-filter-actions .button{margin:0;min-width:0;padding:12px 8px}.story-filter-dialog .dialog-header{position:sticky;top:-22px;background:#f7f8f0;padding-top:6px;z-index:1}
@media(max-width:600px){.story-filter-dialog{margin:auto auto 0;width:100%;max-width:600px;max-height:92dvh;border-radius:24px 24px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}}
.story-camera-dialog{padding:18px;width:min(calc(100% - 24px),480px);max-height:calc(100dvh - 24px);overflow:auto}.story-camera-dialog video{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:#14251c;border-radius:16px;max-height:65dvh}.story-camera-dialog .button{margin-top:14px}.story-camera-dialog .field-hint{font-size:12px;text-align:center}
.stories-view-active #story-view-page{--story-portrait-width:min(100vw,600px,calc(100dvh * 9 / 16));height:100dvh;width:min(100vw,600px);background:#101712}
.stories-view-active #story-stage{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:var(--story-portrait-width);height:auto;aspect-ratio:9/16;background:#18372c}
.stories-view-active .story-progress-heading{top:calc(10px + env(safe-area-inset-top));left:12px;right:12px}
.stories-view-active .story-author-heading{top:calc(27px + env(safe-area-inset-top));left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding-bottom:32px;background:linear-gradient(#101712bb,transparent);pointer-events:none}
.stories-view-active .story-author-heading button{pointer-events:auto}.story-author-identity{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.story-author-identity>div{display:flex;flex-direction:column;min-width:0;gap:3px}.story-author-identity #story-author-avatar{flex-shrink:0}.story-author-identity .avatar{width:34px;height:34px;min-width:34px;border-radius:50%;font-size:16px}.story-author-identity .avatar-eyes{font-size:16px;letter-spacing:2px}
.stories-view-active .story-author-heading strong{font-size:12px;line-height:1.4;max-width:100%}.stories-view-active #story-expiry{font-size:10px}.stories-view-active .story-owner-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;flex-shrink:0}.stories-view-active .story-owner-actions .icon-button{width:36px;height:42px}.story-follow{color:#fff;border:1px solid #ffffff90;border-radius:9px;padding:7px 9px;background:#10231966;font-size:11px;white-space:nowrap;min-height:34px}
.story-menu{position:absolute;right:0;top:46px;z-index:7;min-width:180px;padding:7px;background:#f7f8f0;color:#234b3c;border-radius:14px;box-shadow:0 12px 30px #0006;pointer-events:auto}.story-menu button{display:block;width:100%;text-align:left;min-height:44px;padding:12px;border-radius:9px;background:transparent;color:#234b3c;font-size:13px}.story-menu button:hover{background:#e3ead9}
.story-view-footer{position:absolute;z-index:3;bottom:0;left:0;right:0;padding:30px 12px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#101712d9 35%);color:white}.story-source-row{display:flex;align-items:center;gap:5px;margin-bottom:8px;min-width:0}.story-source{font-size:11px;white-space:nowrap;border:1px solid #ffffff75;border-radius:8px;padding:5px 7px}.story-source-row>.icon-button{width:32px;height:34px;color:#fff;flex-shrink:0}.stories-view-active #story-position{font-size:10px;white-space:nowrap}
.story-response-row{display:flex;align-items:center;gap:10px}.story-response-row form{display:flex;align-items:center;flex:1;min-width:0;border:1px solid #ffffff99;border-radius:24px;background:#10171266;overflow:hidden}.story-response-row input{width:100%;min-width:0;flex:1;color:white;background:transparent;border:0;border-radius:0;padding:11px 12px;font-size:16px;min-height:44px;outline-offset:-3px}.story-response-row form>.icon-button{color:white;width:42px;height:44px;flex-shrink:0}.story-like{min-width:38px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent;color:#fff;padding:0}.story-like .icon{width:25px;height:25px}.story-like span{font-size:11px;max-width:72px;overflow:hidden;text-overflow:ellipsis}.story-like[aria-pressed=true]{color:#f08c9b}.story-like[aria-pressed=true] .icon{fill:currentColor}.story-like:disabled{opacity:.7}#story-reply-hint{font-size:10px;line-height:1.4;margin:7px 0 0;color:#ffffffb5;text-align:center}.stories-view-active #story-view-error{bottom:160px}.stories-view-active #story-retry{bottom:205px}
@media(max-width:350px){.story-follow{padding:6px;font-size:10px}.stories-view-active .story-owner-actions .icon-button{width:30px}.story-author-identity{gap:5px}.story-author-identity .avatar{width:30px;height:30px;min-width:30px}.story-source-row{gap:3px}}

.discover-tools{display:flex;align-items:center;gap:8px}.discover-tools .icon-button{width:42px;height:42px}.discover-tools .filters-active{background:#dce9c3;color:#234b3c;box-shadow:inset 0 0 0 1px #a9be92}

.province-detect{margin-top:10px;min-height:44px;font-size:13px}

#auth-forgot { display: inline-block; margin-top: 14px; text-decoration: underline; }
#auth-forgot[hidden] { display: none; }
.message-story-preview{margin-bottom:8px;padding:7px 9px;border-inline-start:2px solid currentColor;border-radius:4px;background:#17392c0d;font-size:.83em}
.message-story-preview button{display:flex;align-items:center;gap:7px;padding:4px 0;background:transparent;color:inherit;text-align:start}
.message-story-preview img{width:38px;height:48px;object-fit:cover;border-radius:5px}


.people-grid{display:flex;flex-direction:column}
.person-card{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e2e7d9;min-width:0}
.person-profile-row{display:flex;flex:1;align-items:center;gap:14px;min-width:0;min-height:100px;padding:12px 4px;color:inherit;text-align:left;background:transparent}
.person-profile-row:hover,.person-message:hover{background:#edf3e5}
.person-profile-row .avatar{width:58px;height:58px;border-radius:50%;flex:none}
.person-details{min-width:0;flex:1}
.person-details h2{margin:0 0 4px;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-details p{margin:0;font-size:13px;line-height:20px;color:#65735f;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.person-profile-row>.icon{width:17px;height:17px;color:#687661;flex:none}
.person-message{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:transparent;color:#527542}
.avatar:has(>.presence-dot){overflow:visible}
.presence-dot{position:absolute;z-index:2;top:2px;right:2px;width:13px;height:13px;border:2px solid #fffef9;border-radius:50%;background:#778078}
.presence-dot.is-online,.presence-dot.connected{background:#279b56}
.profile-avatar .presence-dot{width:19px;height:19px;top:5px;right:5px;border-width:3px}
.stories-view-active .story-navigation{
  position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);
  display:flex;justify-content:space-between;
  width:min(calc(100vw - 24px),calc(var(--story-portrait-width) + 112px));
  pointer-events:none;
}
.stories-view-active .story-navigation .icon-button{pointer-events:auto;width:44px;height:44px;flex:none;color:#fff;border:1px solid #ffffff55;border-radius:50%;background:#101712a6}
.stories-view-active .story-navigation .icon-button:hover:not(:disabled){background:#ffffff33}

.inbox-following{border-bottom:1px solid #e2e7d9;margin-bottom:10px}
.inbox-following-scroll{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:6px 2px 15px;scrollbar-width:thin}
#inbox-following-list{display:contents}
.inbox-following-person{display:grid;justify-items:center;gap:7px;width:72px;flex:0 0 72px;padding:3px 2px;background:transparent;color:#365845;font-size:11px}
.inbox-following-person>.avatar{width:56px;height:56px;border-radius:50%;overflow:visible;position:relative}
.inbox-following-person>span:last-child{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inbox-story-add{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:21px;height:21px;border:2px solid var(--paper);border-radius:50%;background:var(--green);color:white;font-size:15px;line-height:1}
.inbox-following-more{color:#48654a;background:#e1ebd7;align-self:center;flex:none;padding:9px 12px;border-radius:12px;font-size:11px}

.filter-age-fields legend output{margin-inline-start:8px;font-variant-numeric:tabular-nums}
.desktop-auth-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.desktop-auth-links .button{min-height:48px;justify-content:center;text-decoration:none}
.desktop-card .quiet-note{font-size:13px;text-decoration:underline;text-underline-offset:3px}
.auth-tabs a[aria-disabled=true]{opacity:.6;cursor:default}
#auth-username-status:empty { margin: 0; }
.auth-username-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.auth-username-suggestions .button { width: auto; min-height: 44px; padding: 4px 10px; overflow-wrap: anywhere; }
.auth-username-suggestions .button[aria-pressed="true"] { border-color: #356143; background: #e4eddf; color: #234537; }
.auth-username-suggestions .button[aria-pressed="true"]::before { content: ""; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media(max-height:600px){.auth-art{display:none}}
.age-range{--thumb-size:22px;position:relative;grid-column:1/-1;height:44px;touch-action:pan-y;cursor:pointer}
.age-range-track{position:absolute;inset-inline:calc(var(--thumb-size)/2);top:50%;height:4px;transform:translateY(-50%);border-radius:4px;background:linear-gradient(to right,#d9e3d3 var(--start,0%),#356143 var(--start,0%) var(--end,100%),#d9e3d3 var(--end,100%))}
.age-range input[type=range]{appearance:none;-webkit-appearance:none;position:absolute;inset:0;display:block;height:100%;min-height:0;margin:0;padding:0;border:0;background:transparent;pointer-events:none;outline:none}
.age-range input::-webkit-slider-runnable-track{background:transparent}
.age-range input::-moz-range-track,.age-range input::-moz-range-progress{background:transparent}
.age-range input::-webkit-slider-thumb{-webkit-appearance:none;width:var(--thumb-size);height:var(--thumb-size);box-sizing:border-box;border:2px solid #fffef9;border-radius:50%;background:#356143;box-shadow:0 1px 4px #183d3560}
.age-range input::-moz-range-thumb{width:var(--thumb-size);height:var(--thumb-size);box-sizing:border-box;border:2px solid #fffef9;border-radius:50%;background:#356143;box-shadow:0 1px 4px #183d3560}
.age-range input:focus-visible{z-index:1}
.age-range input:focus-visible::-webkit-slider-thumb{outline:2px solid #234b3c;outline-offset:2px}
.age-range input:focus-visible::-moz-range-thumb{outline:2px solid #234b3c;outline-offset:2px}

.applied-filter-summary{display:flex;align-items:center;gap:4px;width:fit-content;max-width:100%;margin:12px 0;padding:2px 4px 2px 12px;border-radius:24px;background:#e3ebda;color:#234b3c}
.applied-filter-summary>button:first-child{background:none;border:0;color:inherit;font:inherit;font-weight:600;text-align:start;min-width:0;padding:8px 2px;overflow-wrap:anywhere}
.applied-filter-summary>.icon-button{flex-shrink:0;background:none;border:0}
.person-story-avatar{flex:none;display:grid;place-items:center;width:58px;height:58px;margin-inline-start:4px;padding:3px;border:2px solid #8953a8;border-radius:50%;background:transparent;color:inherit}
.person-story-avatar>.avatar{width:100%;height:100%;border-radius:50%}

#profile-story-avatar{padding:0;border:0;background:none;border-radius:50%}
#profile-story-avatar:enabled{outline:2px solid #8953a8;outline-offset:3px;cursor:pointer}
#profile-story-avatar:enabled>.profile-avatar{border-radius:50%;transform:none}
#profile-story-avatar:focus-visible{outline-style:dashed}
