:root{--green:#18764f;--ink:#172133;--muted:#6c7789;--line:#e4e8ef;--bg:#f5f7fb}
body{color:var(--ink);background:var(--bg)}
.topbar{height:76px;background:#fff}.top-inner{max-width:1440px;padding:0 32px;gap:65px}.brand{font-size:22px;letter-spacing:2px;color:#172133}.top-nav{gap:28px}.top-nav a{color:#6c7789}.top-nav .active{color:var(--ink)}.top-nav .active:after{background:var(--green)}
.layout{max-width:1440px;padding:0 32px;grid-template-columns:215px minmax(0,1fr);gap:36px}.sidebar{padding-top:35px;padding-right:22px;min-height:calc(100vh - 76px)}.workspace-label{font-size:12px;letter-spacing:0;color:#8490a2;margin-bottom:14px}.side-link{color:#667287;padding:10px 12px;margin:4px 0;border-radius:8px;gap:10px}.side-link.selected{color:#18764f;background:#e8efff}.side-link .count{background:#dce7ff;color:#18764f}.side-heading{font-size:12px;color:#8490a2;margin:32px 12px 12px}.side-link.guidelines{margin-top:36px;padding-top:20px}.side-footer{color:#95a0b1;font-size:12px;padding-top:30px}
main{padding-top:28px}.board-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:16px}.eyebrow{font-size:11px;color:#8a95a7;letter-spacing:1.5px}.board-heading h1{font-size:32px;margin:5px 0 0;line-height:1.4;letter-spacing:-.8px}.button{border-radius:7px;background:var(--green);border-color:var(--green);padding:11px 20px}.button:hover{background:#115b3c;border-color:#115b3c}.button.ghost{color:var(--green)}
.content-columns{grid-template-columns:minmax(0,1fr) 235px;gap:24px}.feed{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;align-self:start;box-shadow:0 3px 12px #16294b03}.section-title{padding:23px 24px 0;margin-bottom:18px}.section-title h2{font-size:19px}.search{margin:0 24px;background:#f7f9fc;border-color:#e6ebf3;border-radius:7px;padding:4px 8px 4px 13px}.search input{font-size:14px}.search button{background:#e9eef7;color:#537461;font-size:14px}.feed-tabs{padding:0 24px;margin-top:23px;font-size:14px}.feed-tabs>div{gap:25px}.feed-tabs .current{color:var(--green);border-color:var(--green)}.feed-tabs>span{font-size:12px;color:#8d98a9}.topic-list{border:0;border-radius:0}.topic-card{padding:22px 24px;gap:16px}.topic-card.pinned{background:#f8faff}.topic-card:hover{background:#f7f9fc}.topic-card h3{font-size:17px;margin:7px 0 11px;line-height:1.65}.topic-meta{color:#8d98a9;font-size:12px}.author{color:#5e6c80}.topic-numbers{color:#7a879a;gap:16px}.avatar{width:38px;height:38px;border:0;box-shadow:none;border-radius:12px}.badge{font-size:12px;padding:2px 8px}.pin{color:#8a96a9}.green{background:#eaf4ef;color:#438064}.blue{background:#edf2ff;color:#18764f}.purple{background:#f2edfc;color:#9070bc}.orange{background:#fff3e7;color:#b8803d}.pink{background:#fcedf4;color:#b86f91}
.panel{border-radius:12px;padding:22px;box-shadow:0 3px 12px #16294b03}.panel h3{font-size:15px}.stats-grid{margin-top:22px}.stats-grid strong{font-size:29px;color:#24324b;font-weight:600}.stats-grid span{font-size:12px;color:#8792a5}.stats-grid>div+div{padding-left:22px}.stats-bottom{font-size:12px;color:#8792a5;margin-top:22px;padding-top:16px}.stats-bottom strong{color:#3b4d69}.trending-item{margin-top:20px}.trending h4{font-size:14px;color:#425169}.trending small{color:#8b96a6}.rank{color:#b4bfd0;font-size:18px}.orange-text{color:#6c9d80}.rail-footer{font-size:12px;color:#8c98aa;padding-top:0}.empty{padding:64px 24px 70px;min-height:285px}.empty>span{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:17px;background:#eef3fc;color:#6c9d80;font-size:28px}.empty h3{font-size:18px;margin:20px 0}.empty .button{font-size:14px}.pagination{padding:20px 24px;border-top:1px solid var(--line)}
.demo-notice{font-size:12px;margin-bottom:20px;color:#7e8899}.demo-notice span{display:none}.auth-wrap{margin:36px auto;max-width:440px}.auth-intro h1{font-size:28px;margin-bottom:24px}.auth-form{padding:28px}.stack-form input,.stack-form textarea,.stack-form select{border-color:#dce3ee}.signin-prompt{background:#eef3fe;color:#537461}.detail,.editor,.prose,.replies{padding:30px}.detail-author{padding-bottom:22px}.body-text{font-size:16px}.back-link{color:#35744f}.prose .plant{display:none}.prose h1{margin-top:0}.prose p{color:#667287}.muted{color:#7d899b}.alert{font-size:14px}
@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr);gap:24px;padding:0 24px}.top-inner{padding:0 24px;gap:35px}.content-columns{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.sidebar{padding-right:15px}.topic-card{padding:20px}.section-title{padding-left:20px;padding-right:20px}.search{margin-left:20px;margin-right:20px}.feed-tabs{padding-left:20px;padding-right:20px}}
@media(max-width:1000px){.right-rail{display:none}.content-columns{display:block}}
@media(max-width:760px){.topbar{height:65px}.top-inner{padding:0 18px}.brand{font-size:19px;letter-spacing:1px}.layout{--layout-gutter:16px;display:block;padding:0 var(--layout-gutter)}.sidebar{padding:14px 0 0;min-height:0;border:0;gap:7px}.side-link{padding:7px 11px;margin:0;font-size:13px;background:#fff;border:1px solid var(--line)}main{padding-top:22px}.board-heading{margin-bottom:22px}.board-heading h1{font-size:27px}.eyebrow{font-size:9px;letter-spacing:1.4px}.board-heading .button{padding:9px 12px;font-size:13px}.section-title{padding:19px 17px 0;margin-bottom:15px}.section-title h2{font-size:17px}.search{margin:0 16px}.feed-tabs{padding:0 16px;font-size:13px}.feed-tabs>div{gap:19px}.topic-card{padding:20px 16px;gap:11px}.topic-card h3{font-size:16px}.avatar{width:32px;height:32px;border-radius:10px}.topic-numbers{margin-left:0}.topic-meta{gap:7px}.badge{font-size:11px}.empty{padding:45px 20px;min-height:260px}.detail,.editor,.prose,.replies{padding:22px}.account{font-size:13px}.account .button.small{font-size:12px}.auth-wrap{margin-top:12px}.demo-notice{font-size:11px}}
.topic-tags:empty{display:none}
@media(max-width:760px){.sidebar .side-link:nth-of-type(2),.sidebar .side-link:nth-of-type(3){display:flex}.sidebar .side-link{flex-shrink:0}}
/* Green actions. */
.button{background:#18764f;border-color:#18764f;color:#fff}
.button:hover{background:#115b3c;border-color:#115b3c;color:#fff}
.button.ghost{background:transparent;border-color:#c7dfd2;color:#18764f}
.button.ghost:hover{background:#eaf5ef;color:#115b3c}
.search button{background:#e6f2eb;color:#18764f}
.search button:hover{background:#d5e9de;color:#115b3c}
/* Green interaction states. */
:root{--green:#18764f}
a:hover{color:#18764f}
.top-nav .active{color:#18764f}
.top-nav .active:after{background:#18764f}
.top-nav a:hover{color:#18764f}
.side-link:hover{background:#edf7f1;color:#18764f}
.side-link.selected{background:#e6f3eb;color:#18764f}
.side-link.selected .count{background:#cee8d9;color:#14623f}
.feed-tabs .current{color:#18764f;border-color:#18764f}
.feed-tabs a:hover{color:#18764f}
.topic-card:hover{background:#f2f9f5}
.topic-card.pinned{background:#f6fbf8}
.home-feed .topic-card>.avatar{align-self:center}
.comment-item>.avatar{align-self:flex-start}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #83c6a2;outline-offset:3px}
.search:focus-within{border-color:#77b994;box-shadow:0 0 0 3px #18764f12}
.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus{border-color:#67ab84;box-shadow:0 0 0 3px #18764f12}
.button:hover{box-shadow:0 4px 12px #18764f24}
.button:active:not(:disabled){background:#0d4d32;box-shadow:none}
.button:disabled:hover{background:#18764f;border-color:#18764f;box-shadow:none}
.search button:active{background:#c7e3d3}
.empty>span{background:#eaf5ee;color:#6c9d80}
.signin-prompt{background:#edf7f1;color:#537461}
.back-link:hover,.pagination a:hover{color:#115b3c}
@media(prefers-reduced-motion:no-preference){a,button,input,textarea,select,.search,.topic-card{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}}
.profile-link{display:flex;align-items:center;gap:9px}.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-page>h1{font-size:28px;margin:0 0 24px}.profile-grid{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;align-items:start}.profile-avatar{width:112px;height:112px;border-radius:28px;font-size:40px;margin:0 auto 18px}.profile-photo h2{text-align:center;font-size:18px;overflow-wrap:anywhere}.profile-grid h2{font-size:19px;margin-top:0}.profile-photo input[type=file]{font-size:13px;padding:10px;min-width:0}.profile-form .password-heading{margin-top:20px;padding-top:22px;border-top:1px solid var(--line)}.profile-form .form-help{margin:0}.success-notice{padding:14px 18px;border:1px solid #c2dfcd;background:#edf8f1;color:#17683f;border-radius:8px;margin-bottom:20px}.profile-photo .stack-form>.button{align-self:stretch}@media(max-width:900px){.profile-grid{grid-template-columns:1fr}.profile-photo{max-width:100%}}@media(max-width:760px){.profile-link .user-name{display:none}.account{gap:9px}.profile-link .avatar{width:29px;height:29px}}
.member-header{display:flex;align-items:center;gap:25px;padding:30px}.member-header .profile-avatar{margin:0;flex-shrink:0}.member-info{min-width:0;flex:1}.member-info h1{font-size:28px;margin:5px 0;overflow-wrap:anywhere}
.member-name-refresh,.member-name-refresh:hover{color:inherit}
.member-feed-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.member-feed-heading h2{margin:0}
.member-feed .section-title .muted,.member-feed-own-heading>.button{white-space:nowrap}
.url-test{display:grid;gap:20px;max-width:1000px;margin:0 auto 32px;min-width:0}
.script-app-links{display:flex;flex-wrap:wrap;gap:10px}
.domain-check-name{overflow-wrap:anywhere}
.url-test-result-link,.url-test-result-link:hover{color:#17684b;text-decoration:none}
.domain-check-note{margin:0;color:#596c66}
.domain-check-details{margin:16px 0 0}
.domain-check-details dt{color:#596c66;font-size:13px;font-weight:600}
.domain-check-details dd{margin:3px 0 0;overflow-wrap:anywhere}
.url-test-intro{padding:clamp(22px,4vw,42px);border:1px solid #164d39;border-radius:18px;background:linear-gradient(125deg,#0e3b2d,#165a40 70%,#1a684b);color:#fff}
.url-test-intro h1{margin:0 0 3px;color:#fff;font-size:clamp(25px,4vw,40px);line-height:1.25;letter-spacing:-.025em}
.url-test-intro p{margin:0;color:#d7eee1;font-size:14px}
.url-test-form{display:grid;gap:7px;margin-top:24px}
.url-test-form label{font-size:13px;font-weight:600}
.url-test-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.url-test-controls input{min-width:0;min-height:48px;padding:10px 14px;border:1px solid #d6e6db;border-radius:8px;background:#fff;color:#202e2a;font:inherit;font-size:16px}
.url-test-controls .button,.url-test-intro .url-test-login{background:#c5e89c;border-color:#c5e89c;color:#183827;min-height:44px}
.url-test-controls .button:hover,.url-test-intro .url-test-login:hover{background:#dcf2c4;border-color:#dcf2c4}
.url-test-intro .url-test-login{margin-top:20px}
.url-test-intro :focus-visible{outline:2px solid #dcf2c4;outline-offset:3px}
.url-test-results{display:grid;gap:16px;min-width:0}
.url-test-results .panel{margin:0;min-width:0}
.url-test-response,.url-test-data{padding:clamp(16px,3vw,26px)}
.url-test-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.url-test-result-heading h2,.url-test-data h3{margin:0;font-size:18px}
.url-test-status{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;border-radius:8px;padding:4px 10px;font-weight:700;font-variant-numeric:tabular-nums}
.url-test-status span{font-size:11px;letter-spacing:.05em}
.url-test-status.is-success{color:#12583d;background:#e1f3e7}
.url-test-status.is-error{color:#862925;background:#fbe9e6}
.url-test-status.is-neutral{color:#755113;background:#fff0ce}
.url-test-results dl,.url-test-results dd{margin:0}
.url-test-results dt{color:#596c66;font-size:13px;font-weight:600}
.url-test-results dd{margin-top:3px;overflow-wrap:anywhere}
.url-test-response-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:1px;border:1px solid #e4ebe7;border-radius:10px;background:#e4ebe7;overflow:hidden}
.url-test-response-grid>div{min-width:0;padding:12px 14px;background:#f7faf8}
.url-test-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.url-test-data dl>div{padding:11px 0;border-bottom:1px solid var(--line)}
.url-test-data dl>div:last-child{padding-bottom:0;border-bottom:0}
.url-test-data p{color:#596c66;margin:10px 0 0;font-size:14px}
.url-test-headers dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:16px}
.url-test-headers dt{grid-column:1;overflow-wrap:anywhere}
.url-test-headers dd{grid-column:2;margin:0;min-width:0}
.url-test-headers code{font-size:.85rem}
.url-test-share-image{display:block;width:100%;height:auto;max-height:280px;object-fit:contain;margin-top:12px;border:1px solid var(--line);border-radius:10px;background:#f7faf8}
@media(max-width:600px){
 .url-test-controls,.url-test-response-grid,.url-test-metadata,.url-test-headers dl>div{grid-template-columns:minmax(0,1fr)}
 .url-test-controls .button{width:100%}
 .url-test-headers dd{grid-column:1}
}
.profile-verified-badge{position:relative;display:inline-block;width:.8em;height:.8em;margin-inline-start:.25em;vertical-align:-.1em;color:#087a45}
.profile-verified-badge svg{display:block;width:100%;height:100%}
.profile-verified-tooltip{position:absolute;z-index:2;inset-block-end:100%;inset-inline-start:50%;transform:translateX(-50%);visibility:hidden;padding:5px 8px;border-radius:6px;background:#202e2a;color:#fff;font-size:12px;font-weight:500;line-height:1.5;letter-spacing:normal;white-space:nowrap}
.profile-verified-badge:hover .profile-verified-tooltip,.profile-verified-badge:focus .profile-verified-tooltip,a:focus-visible .profile-verified-tooltip{visibility:visible}
.member-info .muted{margin:4px 0 15px}.member-stats{display:flex;flex-wrap:wrap;gap:22px;font-size:14px;color:#7b8796}.member-stats strong{color:#18764f;font-size:19px;margin-right:4px}.member-feed .section-title{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:0}.member-feed .topic-card h3{margin-top:0}.profile-title{padding:0;margin:0 0 24px;flex-wrap:wrap}.profile-title h1{font-size:28px;margin:0}@media(max-width:760px){.member-header{padding:22px;gap:18px;flex-wrap:wrap}.member-header .profile-avatar{width:72px;height:72px;border-radius:18px;font-size:30px}.member-info h1{font-size:23px}.member-info .muted{font-size:12px}.member-header>.button{width:100%}.member-stats{gap:14px;font-size:12px}.member-stats strong{font-size:17px}.member-feed .section-title{gap:10px}.profile-title h1{font-size:25px}}
.side-link .count{flex:0 0 auto;width:max-content;min-width:1.75em;padding:3px 7px;box-sizing:border-box;font-size:12px;line-height:1.25;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;margin-left:auto}
.social-form{grid-column:1 / -1;scroll-margin-top:24px}.social-form h2{margin-bottom:0}.social-form .form-help{margin:0 0 8px}.social-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.social-fields label{display:block;margin:0 0 7px}.social-fields input{font-size:14px}.member-header{flex-wrap:wrap}.social-links{flex:0 0 100%;display:flex;flex-wrap:wrap;gap:10px;padding-top:18px;border-top:1px solid var(--line)}.social-link{display:inline-flex;padding:7px 15px;border:1px solid #cce3d5;background:#f4faf6;border-radius:7px;color:#18764f;font-size:14px}.social-link:hover{background:#e3f2e9;border-color:#82b596;color:#115b3c}@media(max-width:600px){.social-fields{grid-template-columns:1fr}.social-links{gap:8px}.social-link{padding:7px 12px}}
/* Independent profile settings cards. */
.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}.profile-grid>.panel{margin:0;padding:26px}.profile-grid .social-form{grid-column:auto}.profile-grid h2{font-size:19px;margin:0 0 12px}.profile-photo .card-title{text-align:left;margin-bottom:25px}.profile-display-name{text-align:center;font-weight:600;margin:0 0 18px}.profile-grid .stack-form>.button{align-self:flex-start;margin-top:18px}.profile-grid .form-help{font-size:13px;color:#7d899b}.profile-grid .social-fields{grid-template-columns:1fr;gap:14px}.profile-grid .social-form input{padding:9px 12px}.profile-grid .profile-photo .stack-form>.button{align-self:flex-start}.password-form{align-self:start}.profile-grid .profile-form{justify-content:flex-start}@media(max-width:900px){.profile-grid{grid-template-columns:1fr}.profile-grid>.panel{padding:22px}.profile-grid .social-fields{grid-template-columns:1fr}}
.profile-url{font-size:13px;color:#7d899b;overflow-wrap:anywhere;margin:8px 0}.profile-url a{color:#18764f}.profile-link-form{align-self:start}
.profile-name-status{margin:0;font-size:13px;min-height:1.5em;color:#7d899b}.profile-name-status[data-state=available]{color:#18764f}.profile-name-status[data-state=error]{color:#b13c34}#profile_name[aria-invalid=true]{border-color:#d9a29d}
.members-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.member-card{display:flex;flex-direction:column;align-items:center;text-align:center;margin:0;padding:26px 18px}.member-card .avatar{width:72px;height:72px;font-size:28px;border-radius:20px;margin-bottom:15px}.member-card h2{font-size:18px;margin:0 0 7px;overflow-wrap:anywhere;max-width:100%}.member-card small{font-size:12px;color:#829083}.member-card-action{margin-top:18px;font-size:14px;color:#18764f}.member-card:hover{border-color:#9ecbb0;background:#f6fbf8;box-shadow:0 4px 16px #18764f0c}@media(max-width:1100px){.members-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.members-grid{gap:12px}.member-card{padding:20px 10px}.member-card h2{font-size:16px}.member-card .avatar{width:58px;height:58px}.member-card small{font-size:12px}}
.member-caption{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#536b5f;margin:9px 0 14px}.caption-form{align-self:start}.caption-form textarea{min-height:130px}
.script-reactions{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);scroll-margin-top:24px}.script-reactions form{margin:0}.heart-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:82px;min-height:44px;padding:6px 16px;border:1px solid #d4e4da;border-radius:24px;background:#fff;color:#567562;font-size:15px;cursor:pointer}.heart-icon{font-size:27px;line-height:1}.heart-button:hover{background:#eaf5ee;border-color:#8fbca1;color:#18764f}.heart-button.is-liked{background:#e4f3e9;border-color:#81b697;color:#18764f}.heart-button:active{background:#d4eadd}@media(prefers-reduced-motion:no-preference){.heart-button{transition:background-color .18s,color .18s,border-color .18s}.heart-button:active .heart-icon{transform:scale(.9)}}

.heart-button .heart-icon{display:block;width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.heart-button.is-liked .heart-icon{fill:currentColor}
/* Compact comment composer and discussion. */
.comments-panel{padding:28px 30px}.comments-heading{display:flex;align-items:center;gap:10px;margin-bottom:25px}.comments-heading h2{font-size:20px;margin:0}.comments-count{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:26px;padding:0 8px;border-radius:8px;background:#eaf4ed;color:#35744f;font-size:13px;font-weight:600}.comment-composer{display:flex;align-items:flex-start;gap:13px;margin:0}.comment-composer .avatar,.comment-item .avatar{width:40px;height:40px;border-radius:12px;flex-shrink:0}.composer-content{flex:1;min-width:0}.composer-name{font-size:14px;font-weight:600;margin:0 0 10px}.composer-box{border:1px solid #dce6df;border-radius:12px;background:#fbfdfb;overflow:hidden}.composer-box:focus-within{border-color:#7caf8f;box-shadow:0 0 0 3px #18764f0c}.composer-box textarea{display:block;width:100%;min-height:115px;max-height:450px;padding:15px 16px;border:0;outline:none;background:transparent;color:var(--ink);resize:vertical;font-size:16px;line-height:1.7;box-sizing:border-box}.composer-box textarea:focus-visible{outline:none}.composer-toolbar{display:flex;justify-content:flex-end;padding:10px 12px;border-top:1px solid #edf2ee;background:#fff}.composer-toolbar .button{font-size:14px;padding:8px 17px}.comments-list{margin-top:28px;border-top:1px solid var(--line)}.comment-item{display:flex;gap:13px;padding:24px 0;border-bottom:1px solid #edf0ed}.comment-item:last-child{border-bottom:0;padding-bottom:0}.comment-content{min-width:0;flex:1}.comment-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.comment-meta strong{font-size:14px}.comment-meta time{font-size:12px;color:#8a958e}.comment-text{margin-top:8px;font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.comment-signin{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border:1px solid #e2ece5;border-radius:10px;padding:18px;background:#f7fbf8}.comment-register{font-size:14px;color:#18764f}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.comments-panel{padding:21px 17px}.comments-heading{margin-bottom:21px}.comments-heading h2{font-size:18px}.comment-composer,.comment-item{gap:10px}.comment-composer .avatar,.comment-item .avatar{width:32px;height:32px;border-radius:10px;font-size:12px}.composer-box textarea{padding:12px;min-height:120px}.composer-toolbar{padding:9px}.composer-toolbar .button{font-size:13px;padding:8px 13px}.comment-meta{gap:3px;flex-direction:column}.comment-signin{padding:15px;gap:13px}.comment-text{font-size:15px}.comment-item{padding:20px 0}}
.comment-reactions{margin-top:12px}.comment-reactions form{margin:0}.comment-heart{min-width:62px;min-height:40px;padding:5px 12px;gap:7px;font-size:13px;background:transparent}.comment-heart .heart-icon{width:18px;height:18px;stroke-width:1.8}.comment-item{scroll-margin-top:24px}
.composer-box textarea{min-height:0;height:auto;max-height:300px;overflow-y:hidden;resize:none}
.comment-heart{min-width:44px;min-height:32px;padding:4px 8px;gap:5px;font-size:12px;border-color:transparent;border-radius:8px}.comment-heart .heart-icon{width:14px;height:14px;stroke-width:1.7}.comment-reactions{margin-top:8px}
/* Keep the comment input and send action on the same row. */
.composer-box{display:flex;align-items:flex-end}.composer-box textarea{flex:1;min-width:0}.composer-toolbar{flex-shrink:0;border-top:0;background:transparent;padding:8px}.composer-toolbar .button{white-space:nowrap}
@media(max-width:760px){.composer-toolbar{padding:7px}.composer-toolbar .button{padding:8px 10px;font-size:12px}.composer-box textarea{padding:12px 10px}}
.side-link .count,.side-link.selected .count{background:#d9eee1;color:#18764f}
.social-links .social-logo{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;padding:0;background:#fff;border-color:#dce8df}.social-logo img{position:absolute;width:24px;height:24px;object-fit:contain;background:#fff}.social-logo-fallback{font-size:16px;font-weight:600;color:#18764f}.social-links .social-logo:hover{background:#edf7f1;border-color:#8db69b}.list-hearts{display:inline-flex;align-items:center;gap:5px;color:#18764f}.list-hearts svg{width:14px;height:14px;fill:currentColor;flex-shrink:0}.topic-numbers{flex-wrap:wrap}
.topic-numbers .stat-item,.topic-numbers .list-hearts{display:inline-flex;align-items:center;gap:6px}.stat-icon,.list-hearts svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.topic-numbers{align-items:center}
.feed-tabs{gap:12px;flex-wrap:wrap}.feed-tabs>div{min-width:0;gap:20px}.feed-tabs a{white-space:nowrap}@media(max-width:480px){.feed-tabs{padding:0 12px;gap:8px}.feed-tabs>div{gap:14px}.feed-tabs a{font-size:12px}.feed-tabs>span{padding-bottom:10px}}
.follow-form{margin:0;flex-shrink:0}.follow-form .button{min-width:110px}.follow-form .is-following{background:#edf7f1;border-color:#a5cdb5;color:#18764f}@media(max-width:760px){.member-header .follow-form{width:100%}.member-header .follow-form .button{width:100%}}
.trending-stats{display:flex;margin:9px 0 0;gap:14px;font-size:12px;color:#7a879a;align-items:center}.trending-stats .stat-icon,.trending-stats .list-hearts svg{width:15px;height:15px}.trending-item>div{min-width:0}
.quick-heart{padding:5px 7px;margin:-5px -7px;border-radius:7px;min-height:30px}.quick-heart:hover{background:#e4f3e9}.quick-heart.is-liked svg{fill:currentColor}.quick-heart[aria-busy=true]{opacity:.55;cursor:wait}.heart-feedback{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 18px;background:#263b30;color:#fff;border-radius:9px;z-index:20;font-size:14px}

.member-stats>a{color:inherit;text-decoration:none}.member-stats>a:hover{color:#18764f;text-decoration:none}.member-stats>a:focus-visible{outline:2px solid #18764f;outline-offset:4px;border-radius:3px}

.stats-bottom{display:flex;align-items:center;gap:8px}

.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.detail-heading h1{flex:1;min-width:0;overflow-wrap:anywhere}.detail-heading>.button{flex-shrink:0;margin-left:auto}

.detail-heading>.edit-script-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0}.edit-script-icon svg{flex-shrink:0}

.script-menu{position:relative;flex-shrink:0;margin-left:auto}.script-menu>summary{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;list-style:none;cursor:pointer}.script-menu>summary::-webkit-details-marker{display:none}.script-menu-items{position:absolute;right:0;top:calc(100% + 6px);z-index:10;min-width:130px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:5px;box-shadow:0 6px 20px #16294b15}.script-menu-items a,.script-menu-items button{display:block;width:100%;padding:10px 14px;border:0;background:none;text-align:left;font:inherit;color:#18764f;border-radius:6px;text-decoration:none;cursor:pointer}.script-menu-items a:hover,.script-menu-items button:hover{background:#edf7f1}.script-menu-items form{margin:0}

.script-editor-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#f2f9f5;border:1px solid #d7e9de;border-radius:10px;margin-bottom:0}.script-editor-tools button,.script-editor-tools select{width:auto;min-height:38px;margin:0;padding:7px 12px;border:1px solid #c7e0d1;border-radius:7px;background:#fff;color:#18764f;font:inherit;font-size:14px;cursor:pointer}.script-editor-tools button:hover{background:#e3f2e9}.script-editor-tools button:disabled{opacity:.5;cursor:wait}.editor-status{font-size:13px;color:#18764f;margin:0}.editor-status:empty{display:none}.script-image{display:block;max-width:100%;height:auto;border-radius:10px;margin:16px 0}.text-size-small{font-size:14px}.text-size-normal{font-size:17px}.text-size-large{font-size:24px}.text-size-huge{font-size:32px}.editor-preview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #d7e9de;border-radius:10px;padding:20px;background:#fafdfb;min-height:120px}.editor-preview[hidden]{display:none}.body-text a{color:#18764f;overflow-wrap:anywhere}

.forgot-password-link{align-self:flex-end;text-align:right;font-size:14px;color:#18764f;text-decoration:none;margin:0 0 8px}.forgot-password-link:hover{color:#125a3c}

.composer-toolbar{gap:7px;align-items:center}.emoji-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;padding:0;border:1px solid #cfe3d6;border-radius:8px;background:#f1f8f3;color:#18764f;font-size:25px;line-height:1;cursor:pointer}.comment-emojis{display:flex;flex-wrap:wrap;gap:4px;padding:10px;margin-top:8px;border:1px solid #dce6df;border-radius:10px;background:#f6fbf8}.comment-emojis[hidden]{display:none}.comment-emojis button{border:0;background:transparent;font-size:24px;width:38px;height:38px;border-radius:7px;cursor:pointer;padding:4px}.comment-emojis button:hover{background:#deefe4}.comment-emojis button:focus-visible,.emoji-toggle:focus-visible{outline:2px solid #18764f;outline-offset:2px}

.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:2px 0 14px}.auth-form .remember-login{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:400;cursor:pointer}.auth-form .remember-login input{width:17px;height:17px;padding:0;margin:0;accent-color:#18764f}.login-options .forgot-password-link{margin:0;align-self:auto}

.composer-toolbar .emoji-toggle,.composer-toolbar .button{height:36px;min-height:36px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0}.composer-toolbar .emoji-toggle{width:36px;padding:0}.emoji-toggle svg{display:block;flex-shrink:0}

.comment-emojis{display:block}.emoji-categories{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:10px;border-bottom:1px solid #deebe2;margin-bottom:8px}.comment-emojis .emoji-categories button{width:auto;height:auto;padding:7px 10px;font:inherit;font-size:13px;color:#18764f}.emoji-categories button[aria-pressed=true]{background:#dcefe3;font-weight:600}.emoji-grid{display:flex;flex-wrap:wrap;gap:4px;max-height:220px;overflow-y:auto;align-content:flex-start}.comment-message-row{display:flex;align-items:flex-start;gap:12px;margin-top:8px}.comment-message-row .comment-text{margin-top:0;min-width:0}.comment-message-row .comment-reactions{flex-shrink:0;margin:0}.comment-message-row .comment-reactions form{margin:0}



.comments-panel>.comments-list{margin-top:0;border-top:0}.comments-list+.comment-composer,.comments-list+.comment-signin{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}

.body-text h2{font-size:26px;line-height:1.5;margin:18px 0 12px}.body-text h3{font-size:21px;line-height:1.5;margin:16px 0 10px}.body-text blockquote{border-left:4px solid #79b594;background:#f2f9f5;margin:16px 0;padding:12px 18px}.body-text ul,.body-text ol{white-space:normal;padding-left:28px;margin:12px 0}.body-text li{white-space:pre-wrap}.script-align-left{text-align:left}.script-align-center{text-align:center}.script-align-right{text-align:right}.script-code{position:relative;white-space:normal;margin:16px 0;border:1px solid #dce7df;border-radius:10px;background:#f5f8f6}.script-code pre{white-space:pre;overflow-x:auto;padding:48px 18px 18px;margin:0;font:14px/1.65 monospace}.copy-code{position:absolute;right:8px;top:8px;border:1px solid #cfe0d4;border-radius:5px;background:white;color:#18764f;padding:5px 10px;cursor:pointer;font:13px inherit}.script-table{overflow-x:auto;white-space:normal;margin:16px 0}.script-table table{border-collapse:collapse;width:100%}.script-table td,.script-table th{border:1px solid #dce7df;padding:10px;text-align:left;white-space:pre-wrap}.script-table th{background:#edf6f0}

.account-dropdown{position:relative}.account-dropdown summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.account-dropdown summary::-webkit-details-marker{display:none}.account-dropdown summary .avatar{width:32px;height:32px;flex-shrink:0}.account-dropdown-items{position:absolute;right:0;top:calc(100% + 12px);z-index:40;width:210px;background:white;border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 8px 25px #193c2415}.account-dropdown-items a,.account-dropdown-items button{display:block;width:100%;box-sizing:border-box;padding:10px 12px;text-align:left;font:inherit;font-size:14px;color:#18764f;border:0;background:none;text-decoration:none;border-radius:6px;cursor:pointer}.account-dropdown-items a:hover,.account-dropdown-items button:hover{background:#edf6f0}.account-dropdown-items form{margin:0}.notification-link{font-size:14px;white-space:nowrap}.sidebar-more{margin-top:12px}.sidebar-more summary{padding:12px;cursor:pointer;color:#77877d;font-size:13px}.sidebar-more .side-link{font-size:13px}.utility-row{padding:20px 0;border-bottom:1px solid var(--line)}.utility-row:last-child{border:0}.utility-row h2{font-size:18px;margin:0 0 8px}.utility-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:12px 0}.utility-actions form{margin:0}.text-button{border:0;background:none;color:#18764f;font:inherit;cursor:pointer;padding:0}.empty-message{padding:25px 0;color:#7c8981}.notification-row{display:flex;justify-content:space-between;gap:15px;padding:18px;border-bottom:1px solid var(--line);text-decoration:none}.notification-row.unread{background:#edf7f0}.notification-row small{font-size:12px;white-space:nowrap;color:#819086}.utility-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.utility-tabs a{padding:8px 14px;border-radius:7px;background:#fff}.utility-tabs .active{background:#18764f;color:white}.report-link{font-size:12px;color:#829087;text-decoration:none;align-self:center}.script-reactions{flex-wrap:wrap;gap:12px}@media(max-width:760px){.notification-link{font-size:12px}.notification-row{flex-direction:column;gap:6px}.account-dropdown summary>.account-display-name{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

@media(max-width:760px){.sidebar-more{flex-shrink:0;margin-top:0;min-width:160px}.sidebar-more summary{padding:8px 11px;border:1px solid var(--line);border-radius:6px;background:white}.sidebar-more[open] .side-link{margin-top:5px}}

.script-reactions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:18px;margin-top:24px}.script-reactions>form{display:flex;margin:0}.script-reactions .heart-button,.script-reactions .bookmark-button{display:inline-flex;align-items:center;justify-content:center;height:40px;min-height:40px;padding:0 14px;border-radius:9px;font-size:14px;box-sizing:border-box;white-space:nowrap}.script-reactions .heart-button{min-width:68px;gap:7px}.script-reactions .heart-icon{width:19px;height:19px}.script-reactions .bookmark-button[aria-pressed=true]{background:#e8f5ed;border-color:#9cc9ae;color:#18764f}.script-reactions>.report-link{margin-left:auto;align-self:center;padding:8px 0 8px 10px;font-size:13px;color:#7a8980}.script-reactions>.report-link:hover{color:#18764f}@media(max-width:480px){.script-reactions{gap:8px}.script-reactions .heart-button,.script-reactions .bookmark-button{padding:0 10px;font-size:13px}.script-reactions>.report-link{font-size:12px}}

.account .notification-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;color:#18764f}.account .notification-link:hover{background:#edf6f0}.notification-link svg{display:block}.notification-badge{position:absolute;inset-block-start:0;inset-inline-end:-4px;display:grid;place-items:center;box-sizing:border-box;min-width:21px;height:21px;padding:0 5px;border:2px solid #fff;border-radius:7px;background:#d7eee0;color:#12583d;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}

.report-link,.script-reactions>.report-link{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;padding:0;border-radius:8px}.report-link svg{display:block}.report-link:hover{background:#edf6f0;color:#18764f}

.sidebar-more{border-top:1px solid var(--line);margin-top:22px;padding-top:12px}.sidebar-sections{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#ffffff80;overflow:hidden}.sidebar-section{padding:14px 8px}.sidebar-section+.sidebar-section{border-top:1px solid var(--line)}.sidebar-section h2{margin:0 10px 8px;font-size:11px;font-weight:600;color:#87958b}.sidebar .sidebar-section .side-link{display:flex;margin:0;padding:9px 10px;font-size:13px;white-space:normal;border:0;background:transparent}.sidebar .sidebar-section .side-link.selected{background:#e4f3e9;color:#18764f}.sidebar-section .side-link:hover{color:#18764f}@media(max-width:760px){.sidebar-more{border-top:0;padding-top:0;margin-top:0;width:230px}.sidebar-sections{background:#fff}.sidebar-section{padding:10px 6px}}

.sidebar-help .sidebar-sections{margin-top:0}.sidebar-help .sidebar-section{padding:12px 8px}@media(max-width:760px){.sidebar-help{flex-shrink:0;width:230px}}

.sidebar-help .sidebar-sections{border:0;border-radius:0;background:transparent;overflow:visible}.sidebar-help .sidebar-section{padding:14px 0}.sidebar-help .sidebar-section+.sidebar-section{border-top:1px solid var(--line)}

.script-video{display:block;width:100%;max-height:640px;background:#111;border-radius:10px;margin:16px 0}

.post-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.post-attachments img,.post-attachments video{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:10px;background:#f3f6f4}.post-attachments video{grid-column:1/-1}

.post-attachments-title{grid-column:1/-1;font-size:16px;font-weight:600;margin:0 0 4px}.post-attachments-title span{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:6px;background:#e5f3eb;color:#18764f;font-size:12px}

body.viewer-open{overflow:hidden}.image-viewer{border:0;padding:56px 64px;margin:auto;width:min(1100px,96vw);max-width:96vw;height:90vh;max-height:90vh;background:#142019;border-radius:14px;color:white;overflow:hidden}.image-viewer[open]{display:flex;align-items:center;justify-content:center}.image-viewer::backdrop{background:#000c}.image-viewer img{display:block;max-width:100%;max-height:100%;object-fit:contain}.image-viewer button{position:absolute;display:flex;align-items:center;justify-content:center;border:0;background:#ffffff20;color:#fff;border-radius:50%;width:42px;height:42px;font-size:30px;cursor:pointer}.image-viewer button:hover{background:#ffffff40}.image-viewer button[hidden]{display:none}.viewer-close{right:12px;top:12px}.viewer-prev{left:12px;top:calc(50% - 21px)}.viewer-next{right:12px;top:calc(50% - 21px)}.viewer-counter{position:absolute;bottom:15px;left:0;right:0;text-align:center;font-size:14px}@media(max-width:600px){.image-viewer{padding:58px 12px;height:85vh}.image-viewer .viewer-prev,.image-viewer .viewer-next{top:auto;bottom:8px;width:36px;height:36px}.viewer-counter{pointer-events:none}}

.image-viewer{background:transparent;box-shadow:none;border-radius:0}

.image-viewer .viewer-close{width:40px;height:40px;padding:0;line-height:1;background:#ffffff26}.viewer-close svg{display:block;flex-shrink:0}.image-viewer .viewer-close:hover{background:#ffffff45}

.detail>.detail-author{margin-top:24px;margin-bottom:0;padding-top:20px;padding-bottom:0;border-top:1px solid var(--line);border-bottom:0}.detail>.detail-author+.script-reactions{margin-top:16px;padding-top:0;border-top:0}

.detail>.detail-author+.script-reactions{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}

.detail>.detail-heading{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}

.script-delete-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));padding:26px;border:1px solid #dce5df;border-radius:18px;background:#fff;color:#182234;box-shadow:0 24px 80px #10251b33;font-family:inherit}
.script-delete-dialog::backdrop{background:rgba(17,35,26,.45)}
.delete-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.delete-dialog-heading h2{margin:0;font-size:22px}
.script-delete-dialog p{font-size:15px;line-height:1.8;color:#68776e;margin:18px 0 24px}
.script-delete-dialog button{font:inherit;cursor:pointer;border:1px solid #d3e3d9;border-radius:9px;padding:10px 18px;background:#f3f9f5;color:#18764f}
.delete-dialog-heading button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0}
.delete-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.delete-dialog-actions [data-delete]{background:#18764f;color:white;border-color:#18764f}
.script-delete-dialog button:focus-visible{outline:2px solid #18764f;outline-offset:3px}.script-delete-dialog button:hover{filter:brightness(.95)}.script-delete-dialog button:disabled{opacity:.6;cursor:wait}

.body-text .script-spacing-1-5,.script-composer #body.editor-spacing-1-5{line-height:1.5}

.body-text .script-spacing-1-85,.script-composer #body.editor-spacing-1-85{line-height:1.85}

.body-text .script-spacing-2,.script-composer #body.editor-spacing-2{line-height:2}

.body-text .script-spacing-2-5,.script-composer #body.editor-spacing-2-5{line-height:2.5}

.body-text .script-spacing-3,.script-composer #body.editor-spacing-3{line-height:3}

.text-size-12{font-size:12px}.text-size-14{font-size:14px}.text-size-16{font-size:16px}.text-size-17{font-size:17px}.text-size-18{font-size:18px}.text-size-20{font-size:20px}.text-size-24{font-size:24px}.text-size-28{font-size:28px}.text-size-32{font-size:32px}.text-size-36{font-size:36px}.text-size-48{font-size:48px}

/* Mobile navigation must not stretch to the height of the help groups. */
@media(max-width:760px){
 .layout>*,main,.topic-content{min-width:0}
 .home-feed,body:not(.reading-mode) main>.detail.panel,main>.comments-panel{margin-inline:calc(-1 * var(--layout-gutter));border-inline:0;border-radius:0}
 body:not(.reading-mode) main>.detail.panel,main>.comments-panel{padding-inline:var(--layout-gutter)}
 .sidebar{display:flex;align-items:center;gap:8px;height:auto;min-height:0;max-width:100%;padding:12px 0;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}
 .sidebar>.side-link,.sidebar .sidebar-section .side-link{display:inline-flex;flex:0 0 auto;align-items:center;min-height:42px;height:auto;margin:0;padding:9px 12px;white-space:nowrap;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px}
 .sidebar .side-link.selected{background:#e6f3eb;color:#18764f}
 .sidebar .sidebar-help,.sidebar-help .sidebar-sections,.sidebar-help .sidebar-section{display:contents}
 .sidebar-help .sidebar-section h2{display:none}
 .account{min-width:0}.account summary{max-width:180px}
 .topic-card{max-width:100%}.topic-content h3{overflow-wrap:anywhere}
}

.guidelines-page{padding:32px;max-width:100%;margin:0}
.guidelines-intro{padding-bottom:24px;border-bottom:1px solid var(--line)}
.guidelines-intro h1{margin:0 0 10px;font-size:30px;line-height:1.5}
.guidelines-intro p{margin:0;color:#778478;font-size:16px}
.guidelines-list>section{display:flex;align-items:flex-start;gap:20px;padding:24px 0}
.guidelines-list>section+section{border-top:1px solid var(--line)}
.guidelines-number{flex:0 0 42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e6f3eb;color:#18764f;font-size:15px;font-weight:600}
.guidelines-list h2{margin:0 0 8px;font-size:19px;line-height:1.5}
.guidelines-list p{margin:0;color:#697689;line-height:1.8;font-size:15px}
.guidelines-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:24px}
.guidelines-actions>a:not(.button){color:#18764f;font-size:14px}
.guidelines-actions [data-searchting-badge="96"]{display:inline-flex;margin-inline-start:auto}
@media(max-width:600px){.guidelines-page{padding:20px}.guidelines-intro h1{font-size:24px}.guidelines-list>section{gap:14px;padding:20px 0}.guidelines-list h2{font-size:17px}.guidelines-number{flex-basis:34px;height:34px}.guidelines-actions{gap:16px}}

.delete-comment-form{display:inline-flex;margin:0}.comment-delete-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:#77877d;border-radius:8px;cursor:pointer}.comment-delete-button:hover,.comment-heart:hover,.comment-heart.is-liked{background:#e6f3eb;color:#18764f}.comment-heart:hover,.comment-heart.is-liked{border-color:transparent}.comment-delete-button:focus-visible{outline:2px solid #18764f}
.reader-exit{position:fixed;top:16px;right:16px;z-index:40;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #d3e3d9;border-radius:50%;background:#fff;color:#18764f;cursor:pointer;box-shadow:0 3px 12px #173e2512}.reader-exit[hidden]{display:none}
.reading-mode .topbar,.reading-mode .sidebar,.reading-mode .comments-panel,.reading-mode .script-reactions,.reading-mode .script-menu{display:none!important}
.reading-mode .layout{display:block;max-width:1200px;width:100%;margin:0 auto;padding:24px}
.reading-mode main{width:100%;padding:0;margin:0;min-width:0}
.reading-mode .detail{padding:32px;border:0;box-shadow:none;background:transparent}
.reader-toggle:focus-visible,.reader-exit:focus-visible{outline:2px solid #18764f;outline-offset:3px}
@media(max-width:600px){.reading-mode .layout{padding:60px 16px 24px}.reading-mode .detail{padding:0}.reading-mode .detail h1{font-size:25px}}

/* Keep wrapped script titles and their divider evenly spaced. */
.detail>.detail-heading{gap:16px;padding-bottom:24px;margin-bottom:24px}
.detail>.detail-heading h1{margin:0;line-height:1.45;word-break:normal;overflow-wrap:anywhere}
@media(max-width:600px){.detail>.detail-heading{gap:12px;padding-bottom:18px;margin-bottom:20px}.detail>.detail-heading h1{font-size:25px;line-height:1.5}}

@media(max-width:760px){
 .member-header{flex-direction:column;align-items:center}
 .member-header>.profile-avatar{margin:0 auto;width:96px;height:96px;border-radius:24px}
 .member-header>.member-info{width:100%;text-align:center}
 .member-header .member-info h1{justify-content:center}
 .member-header .member-stats{justify-content:center}
 .member-header>.follow-form{width:100%}
 .member-header>.social-links{justify-content:center}
}

@media(max-width:760px){
 .member-page .layout{padding-left:0;padding-right:0}
 .member-page .sidebar{padding-left:16px;padding-right:16px}
 .member-page .member-header,.member-page .member-feed{border-radius:0;border-left:0;border-right:0;width:100%}
}

@media(max-width:760px){
 .new-script-page .layout{padding-left:0;padding-right:0}
 .new-script-page .sidebar{padding-left:16px;padding-right:16px}
 .new-script-page .script-composer{border-radius:0;border-left:0;border-right:0;width:100%;margin:0}
}

/* Profile image controls remain keyboard-accessible and visible on touch devices. */
.profile-avatar-edit{position:relative;width:112px;height:112px;margin:0 auto 18px}
.profile-avatar-edit .profile-avatar{margin:0}
.profile-avatar-delete{position:absolute;right:0;bottom:0;margin:0;opacity:0;pointer-events:none;transition:opacity .15s ease}
.profile-avatar-delete-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #d6e6db;border-radius:50%;background:#fff;color:#18764f;box-shadow:0 2px 8px #0002;cursor:pointer}
.profile-avatar-edit:hover .profile-avatar-delete,.profile-avatar-edit:focus-within .profile-avatar-delete{opacity:1;pointer-events:auto}
.profile-avatar-delete-button:hover{background:#edf8f1}
.profile-avatar-delete-button:focus-visible{outline:2px solid #18764f;outline-offset:3px}
@media(hover:none),(pointer:coarse){.profile-avatar-delete{opacity:1;pointer-events:auto}}

.profile-image-open{display:block;width:100%;height:100%;cursor:zoom-in;border-radius:inherit}.profile-image-open:focus-visible{outline:3px solid #18764f;outline-offset:-3px}

.image-viewer.profile-image-viewer{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:0;border-radius:0;background:#000}
.image-viewer.profile-image-viewer img{width:auto;height:auto;max-width:92vw;max-height:88vh;max-height:88dvh;object-fit:contain}
.profile-image-viewer .viewer-counter{display:none}
.image-viewer.profile-image-viewer .viewer-close{z-index:1;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));background:#0009}

.image-viewer.profile-image-viewer{background:transparent}
.image-viewer.profile-image-viewer::backdrop{background:transparent}

.image-viewer.profile-image-viewer img{box-shadow:0 6px 24px rgba(0,0,0,.18)}

/* Center and enlarge the initial without changing the profile layout. */
.member-header>.profile-avatar{display:flex;align-items:center;justify-content:center;font-size:48px;line-height:1}
@media(max-width:760px){.member-header>.profile-avatar{font-size:42px}}
