html{min-height:100%;font-size:16px}body{zoom:var(--ui-scale,1)}
.appearance-control{position:relative;flex:none;color:inherit}.appearance-control details{position:relative}.appearance-control summary{list-style:none;cursor:pointer;border:1px solid #42485a;border-radius:9px;background:#1c202a;color:inherit;padding:8px 11px;font-size:13px;font-weight:600;white-space:nowrap}.appearance-control summary::-webkit-details-marker{display:none}.appearance-control summary::after{content:'⌄';margin-left:8px;color:#aaa}.appearance-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:1000;display:grid;gap:12px;min-width:190px;padding:14px;background:#171c27;color:#edf0f6;border:1px solid #414a5e;border-radius:12px;box-shadow:0 12px 35px #0005}.appearance-panel label{display:grid;gap:5px;font-size:13px;color:inherit}.appearance-panel select{width:100%;background:#10151e;color:inherit;border:1px solid #48536a;border-radius:7px;padding:8px;font:inherit}
html[data-theme=light]{color-scheme:light;--bg:#e5e8ee;--panel:#f0f1f4;--line:#dfe3eb;--muted:#626b7b;--ink:#202634;--accent:#6950bd}
html[data-theme=light] body:not(.portal-page){background:#e5e8ee;color:#202634}
html[data-theme=light] body:not(.portal-page)>header,html[data-theme=light] body:not(.portal-page) .site-navigation{background:#f0f1f4;color:#202634;border-color:#dfe3eb}
html[data-theme=light] body:not(.portal-page) .workspace{background:#e5e8ee}
html[data-theme=light] body:not(.portal-page) .library,html[data-theme=light] body:not(.portal-page) .right-panel{background:#f0f1f4;color:#202634;border-color:#dfe3eb}
html[data-theme=light] body:not(.portal-page) .search,html[data-theme=light] body:not(.portal-page) input,html[data-theme=light] body:not(.portal-page) textarea,html[data-theme=light] body:not(.portal-page) select{background:#f0f1f4;color:#202634;border-color:#cbd2df}
html[data-theme=light] body:not(.portal-page) button:not(.primary):not(.song-row):not(.slide-card){background:#f4f5f8;color:#252b38;border-color:#d4d9e3}
html[data-theme=light] body:not(.portal-page) .song-row.active,html[data-theme=light] body:not(.portal-page) .filters button.active{background:#eee9ff;color:#4e3c91}
html[data-theme=light] body.portal-page:not(.community-active){background:#e5e8ee;color:#202634}
html[data-theme=light] body.portal-page:not(.community-active)>header,html[data-theme=light] body.portal-page:not(.community-active) .site-navigation{background:#f0f1f4;color:#202634;border-color:#dfe3eb}
html[data-theme=light] body.portal-page:not(.community-active) .site-navigation a{color:#394254}
html[data-theme=light] body.portal-page:not(.community-active) .portal-card,html[data-theme=light] body.portal-page:not(.community-active) .reader-controls,html[data-theme=light] body.portal-page:not(.community-active) .hymn-list{background:#f0f1f4;color:#202634;border-color:#dfe3eb}
html[data-theme=light] body.portal-page:not(.community-active) input,html[data-theme=light] body.portal-page:not(.community-active) textarea,html[data-theme=light] body.portal-page:not(.community-active) select{background:#f0f1f4;color:#202634;border-color:#cbd2df}
html[data-theme=light] body.portal-page:not(.community-active) dialog{background:#f0f1f4;color:#202634;border-color:#d5dbe6}
html[data-theme=light] body.portal-page:not(.community-active) .hymn-mobile-toolbar{background:#e5e8ee}
html[data-theme=light] body.portal-page:not(.community-active) .reader-verse{color:#202634}
html[data-theme=light] body.portal-page.community-active{background:#f0f2f6;color:#20242d}
html[data-theme=light] body.portal-page.community-active>header{background:#f0f1f4;color:#20242d;border-color:#e1e4eb}
html[data-theme=light] body.portal-page .appearance-control summary{background:#f7f7fa;color:#2c3040;border-color:#d9dce5}
html[data-theme=light] body.portal-page .appearance-panel{background:#f0f1f4;color:#202634;border-color:#dfe3eb}
html[data-theme=light] body.portal-page .appearance-panel select{background:#f0f1f4;color:#202634}
html[data-theme=light] body.portal-page.community-active .mobile-bottom-nav{background:#f0f1f4;border-color:#dfe3eb}
html[data-theme=dark] body.portal-page.community-active{background:#0d1118;color:#edf0f6}
html[data-theme=dark] body.portal-page.community-active>header,html[data-theme=dark] body.portal-page.community-active .site-navigation{background:#131923;color:#edf0f6;border-color:#303949}
html[data-theme=dark] body.portal-page.community-active .brand .site-name,html[data-theme=dark] body.portal-page.community-active #accountArea,html[data-theme=dark] body.portal-page.community-active .community-feed-heading h1,html[data-theme=dark] body.portal-page.community-active .feed-section-heading h2{color:#edf0f6}
html[data-theme=dark] body.portal-page.community-active .site-navigation a{color:#d2d7e3}
html[data-theme=dark] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),html[data-theme=dark] body.portal-page.community-active .community-welcome p{color:#b9c2d2}
html[data-theme=dark] body.portal-page.community-active .community-active .portal-card,html[data-theme=dark] body.portal-page.community-active .portal-card,html[data-theme=dark] body.portal-page.community-active .post-card,html[data-theme=dark] body.portal-page.community-active .profile-dialog .profile-heading,html[data-theme=dark] body.portal-page.community-active .profile-details,html[data-theme=dark] body.portal-page.community-active .profile-posts{background:#161c26;color:#edf0f6;border-color:#303949}
html[data-theme=dark] body.portal-page.community-active .post-body,html[data-theme=dark] body.portal-page.community-active .profile-dialog .post-body,html[data-theme=dark] body.portal-page.community-active .profile-details h2,html[data-theme=dark] body.portal-page.community-active .profile-heading h1{color:#edf0f6}
html[data-theme=dark] body.portal-page.community-active .profile-dialog{background:#10151e;color:#edf0f6}
html[data-theme=dark] body.portal-page.community-active .profile-tabs{background:#151b25;border-color:#303949}
html[data-theme=dark] body.portal-page.community-active .profile-tabs button,html[data-theme=dark] body.portal-page.community-active .post-stats,html[data-theme=dark] body.portal-page.community-active .post-actions .social-action{color:#c4ccda!important}
html[data-theme=dark] body.portal-page.community-active .composer-prompt,html[data-theme=dark] body.portal-page.community-active .comment{background:#10151e!important;color:#edf0f6!important;border-color:#3a4558!important}
html[data-theme=dark] body.portal-page.community-active .composer-shortcuts{border-color:#303949}
html[data-theme=dark] body.portal-page.community-active .composer-shortcuts button{color:#d0d5e2!important}
html[data-theme=dark] body.portal-page.community-active .community-active .post-dialog,html[data-theme=dark] body.portal-page.community-active .post-dialog{background:#141a24!important;color:#edf0f6!important;border-color:#48536a!important}
html[data-theme=dark] body.portal-page.community-active .post-dialog label{color:#cdd4e1}
html[data-theme=dark] body.portal-page.community-active .post-dialog input,html[data-theme=dark] body.portal-page.community-active .post-dialog select,html[data-theme=dark] body.portal-page.community-active .post-dialog textarea{background:#0f141d;color:#f3f4f9;border-color:#424c60}
html[data-theme=dark] body.portal-page.community-active .post-dialog .community-respect{color:#d3c9f5;background:#242137}
html[data-theme=dark] body.portal-page.community-active .profile-count,html[data-theme=dark] body.portal-page.community-active .profile-bio{color:#bbc4d4}
html[data-theme=dark] body.portal-page.community-active .mobile-bottom-nav{background:#131923;border-color:#303949}
html[data-theme=dark] body.portal-page.community-active .mobile-bottom-nav a,html[data-theme=dark] body.portal-page.community-active .mobile-bottom-nav button{color:#d1d6e1!important}
html[data-theme=dark] body.portal-page.community-active .appearance-control summary{background:#1b2230;color:#edf0f6;border-color:#424c60}
html[data-theme=dark] body.portal-page.community-active .appearance-panel{background:#171c27;color:#edf0f6;border-color:#414a5e}
@media(max-width:700px){body>header .appearance-control summary{font-size:12px;padding:7px 8px}body.portal-page.community-active>header{gap:8px}body.portal-page.community-active .appearance-control{margin-left:auto}body.portal-page.community-active #accountArea{gap:5px}.appearance-panel{right:0}}
@media(max-width:700px){body>header .appearance-control summary{font-size:0;width:38px;height:38px;padding:4px;display:grid;place-items:center}body>header .appearance-control summary::before{content:'⚙';font-size:18px}body>header .appearance-control summary::after{display:none}}
html[data-theme=ocean]{color-scheme:dark;--bg:#091b26;--panel:#112733;--line:#244553;--muted:#adc3ce;--ink:#effaff;--accent:#69ddd4}
html[data-theme=forest]{color-scheme:dark;--bg:#101c16;--panel:#182a20;--line:#314b39;--muted:#bdcfbf;--ink:#f2fff3;--accent:#a5dfa0}
html[data-theme=plum]{color-scheme:dark;--bg:#1b1424;--panel:#261c31;--line:#49375a;--muted:#c8b9d7;--ink:#fff7ff;--accent:#d5a5ff}
html[data-theme=ocean] body:not(.portal-page){background:#091b26;color:#effaff}
html[data-theme=forest] body:not(.portal-page){background:#101c16;color:#f2fff3}
html[data-theme=plum] body:not(.portal-page){background:#1b1424;color:#fff7ff}
html[data-theme=ocean] body.portal-page:not(.community-active){background:#091b26;color:#effaff}
html[data-theme=forest] body.portal-page:not(.community-active){background:#101c16;color:#f2fff3}
html[data-theme=plum] body.portal-page:not(.community-active){background:#1b1424;color:#fff7ff}
html[data-theme=ocean] body.portal-page.community-active{background:#071821;color:#effaff}
html[data-theme=forest] body.portal-page.community-active{background:#0f1a13;color:#f2fff3}
html[data-theme=plum] body.portal-page.community-active{background:#1b1424;color:#fff7ff}
html[data-theme=ocean] body.portal-page.community-active>header,html[data-theme=ocean] body.portal-page.community-active .site-navigation{background:#0d2430;color:#effaff;border-color:#244553}
html[data-theme=forest] body.portal-page.community-active>header,html[data-theme=forest] body.portal-page.community-active .site-navigation{background:#15251b;color:#f2fff3;border-color:#314b39}
html[data-theme=plum] body.portal-page.community-active>header,html[data-theme=plum] body.portal-page.community-active .site-navigation{background:#261c31;color:#fff7ff;border-color:#49375a}
html[data-theme=ocean] body.portal-page.community-active .portal-card,html[data-theme=ocean] body.portal-page.community-active .post-card,html[data-theme=ocean] body.portal-page.community-active .profile-heading,html[data-theme=ocean] body.portal-page.community-active .profile-details,html[data-theme=ocean] body.portal-page.community-active .profile-posts{background:#102630;color:#effaff;border-color:#244553}
html[data-theme=forest] body.portal-page.community-active .portal-card,html[data-theme=forest] body.portal-page.community-active .post-card,html[data-theme=forest] body.portal-page.community-active .profile-heading,html[data-theme=forest] body.portal-page.community-active .profile-details,html[data-theme=forest] body.portal-page.community-active .profile-posts{background:#18271e;color:#f2fff3;border-color:#314b39}
html[data-theme=plum] body.portal-page.community-active .portal-card,html[data-theme=plum] body.portal-page.community-active .post-card,html[data-theme=plum] body.portal-page.community-active .profile-heading,html[data-theme=plum] body.portal-page.community-active .profile-details,html[data-theme=plum] body.portal-page.community-active .profile-posts{background:#261c31;color:#fff7ff;border-color:#49375a}
html[data-theme=ocean] body.portal-page.community-active .profile-dialog{background:#091b26;color:#effaff}
html[data-theme=forest] body.portal-page.community-active .profile-dialog{background:#101c16;color:#f2fff3}
html[data-theme=plum] body.portal-page.community-active .profile-dialog{background:#1b1424;color:#fff7ff}
html[data-theme=ocean] body.portal-page.community-active .post-heading strong,html[data-theme=dark] body.portal-page.community-active .post-heading strong,html[data-theme=forest] body.portal-page.community-active .post-heading strong,html[data-theme=plum] body.portal-page.community-active .post-heading strong{color:#f4f7ff!important}
html[data-theme=ocean] body.portal-page.community-active .post-heading small,html[data-theme=dark] body.portal-page.community-active .post-heading small,html[data-theme=forest] body.portal-page.community-active .post-heading small,html[data-theme=plum] body.portal-page.community-active .post-heading small{color:#bdc8d8!important}
html[data-theme=ocean] body.portal-page.community-active .post-card>small,html[data-theme=dark] body.portal-page.community-active .post-card>small,html[data-theme=forest] body.portal-page.community-active .post-card>small,html[data-theme=plum] body.portal-page.community-active .post-card>small{color:#bdc8d8!important}
html[data-theme=ocean] body.portal-page.community-active .community-welcome h2,html[data-theme=dark] body.portal-page.community-active .community-welcome h2,html[data-theme=forest] body.portal-page.community-active .community-welcome h2,html[data-theme=plum] body.portal-page.community-active .community-welcome h2{color:#f4f7ff!important}
html[data-theme=ocean] body.portal-page.community-active .community-welcome,html[data-theme=forest] body.portal-page.community-active .community-welcome,html[data-theme=plum] body.portal-page.community-active .community-welcome{background:#161c26;color:#edf0f6;border-color:#303949}
html[data-theme=light] body.portal-page.community-active .post-heading strong,html[data-theme=light] body.portal-page.community-active .community-welcome h2{color:#20242d!important}
html[data-theme=ocean] body.portal-page.community-active .appearance-control summary{background:#102630;color:#effaff;border-color:#315868}
html[data-theme=forest] body.portal-page.community-active .appearance-control summary{background:#18271e;color:#f2fff3;border-color:#3d5b45}
html[data-theme=plum] body.portal-page.community-active .appearance-control summary{background:#261c31;color:#fff7ff;border-color:#59446d}
.friend-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.friend-controls button,.friend-row button{border-radius:8px}.profile-friends{border-top:1px solid #e0e4ec;margin-top:24px;padding-top:20px}.profile-friends h2{margin-bottom:12px}.profile-friends h3{font-size:15px;margin:18px 0 8px}.friend-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:8px;margin:8px 0;padding:8px;border-radius:10px;background:#f2f4f8;color:#202634}.friend-row .avatar{width:36px;height:36px}.story-view-count{font-weight:600;color:#d6caff!important}
html[data-theme=dark] .profile-friends{border-color:#303949}html[data-theme=dark] .friend-row,html[data-theme=ocean] .friend-row,html[data-theme=forest] .friend-row,html[data-theme=plum] .friend-row{background:#10151e;color:#edf0f6;border:1px solid #303949}
html[data-theme=ocean] .friend-row{background:#0d202a;color:#effaff;border-color:#244553}html[data-theme=forest] .friend-row{background:#142219;color:#f2fff3;border-color:#314b39}html[data-theme=plum] .friend-row{background:#21182b;color:#fff7ff;border-color:#49375a}
html[data-theme=ocean] body.portal-page.community-active .community-feed-heading h1,html[data-theme=ocean] body.portal-page.community-active .feed-section-heading h2,html[data-theme=ocean] body.portal-page.community-active .profile-heading h1,html[data-theme=ocean] body.portal-page.community-active .profile-details h2,html[data-theme=forest] body.portal-page.community-active .community-feed-heading h1,html[data-theme=forest] body.portal-page.community-active .feed-section-heading h2,html[data-theme=forest] body.portal-page.community-active .profile-heading h1,html[data-theme=forest] body.portal-page.community-active .profile-details h2,html[data-theme=plum] body.portal-page.community-active .community-feed-heading h1,html[data-theme=plum] body.portal-page.community-active .feed-section-heading h2,html[data-theme=plum] body.portal-page.community-active .profile-heading h1,html[data-theme=plum] body.portal-page.community-active .profile-details h2{color:#f4f7ff!important}
html[data-theme=ocean] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),html[data-theme=ocean] body.portal-page.community-active .post-body,html[data-theme=ocean] body.portal-page.community-active .profile-dialog .post-body,html[data-theme=ocean] body.portal-page.community-active .profile-count,html[data-theme=ocean] body.portal-page.community-active .profile-bio,html[data-theme=forest] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),html[data-theme=forest] body.portal-page.community-active .post-body,html[data-theme=forest] body.portal-page.community-active .profile-dialog .post-body,html[data-theme=forest] body.portal-page.community-active .profile-count,html[data-theme=forest] body.portal-page.community-active .profile-bio,html[data-theme=plum] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),html[data-theme=plum] body.portal-page.community-active .post-body,html[data-theme=plum] body.portal-page.community-active .profile-dialog .post-body,html[data-theme=plum] body.portal-page.community-active .profile-count,html[data-theme=plum] body.portal-page.community-active .profile-bio{color:#c6d2df!important}
html[data-theme=ocean] body.portal-page.community-active .post-stats,html[data-theme=ocean] body.portal-page.community-active .post-actions .social-action,html[data-theme=forest] body.portal-page.community-active .post-stats,html[data-theme=forest] body.portal-page.community-active .post-actions .social-action,html[data-theme=plum] body.portal-page.community-active .post-stats,html[data-theme=plum] body.portal-page.community-active .post-actions .social-action{color:#c6d2df!important}

/* Community contrast fixes: explicit readable copy on every dark theme. */
html[data-theme=dark] body.portal-page.community-active .brand .site-name,
html[data-theme=ocean] body.portal-page.community-active .brand .site-name,
html[data-theme=forest] body.portal-page.community-active .brand .site-name,
html[data-theme=plum] body.portal-page.community-active .brand .site-name,
html[data-theme=dark] body.portal-page.community-active #accountArea,
html[data-theme=ocean] body.portal-page.community-active #accountArea,
html[data-theme=forest] body.portal-page.community-active #accountArea,
html[data-theme=plum] body.portal-page.community-active #accountArea,
html[data-theme=dark] body.portal-page.community-active .brand small,
html[data-theme=ocean] body.portal-page.community-active .brand small,
html[data-theme=forest] body.portal-page.community-active .brand small,
html[data-theme=plum] body.portal-page.community-active .brand small {color:#f1f5fc!important}
html[data-theme=dark] body.portal-page.community-active .site-navigation a,
html[data-theme=ocean] body.portal-page.community-active .site-navigation a,
html[data-theme=forest] body.portal-page.community-active .site-navigation a,
html[data-theme=plum] body.portal-page.community-active .site-navigation a {color:#e1e8f2!important}
html[data-theme=dark] body.portal-page.community-active .site-navigation a:hover,
html[data-theme=dark] body.portal-page.community-active .site-navigation a[aria-current],
html[data-theme=ocean] body.portal-page.community-active .site-navigation a:hover,
html[data-theme=ocean] body.portal-page.community-active .site-navigation a[aria-current],
html[data-theme=forest] body.portal-page.community-active .site-navigation a:hover,
html[data-theme=forest] body.portal-page.community-active .site-navigation a[aria-current],
html[data-theme=plum] body.portal-page.community-active .site-navigation a:hover,
html[data-theme=plum] body.portal-page.community-active .site-navigation a[aria-current] {background:#42366a!important;color:#fff!important}
html[data-theme=dark] body.portal-page.community-active .community-welcome p,
html[data-theme=ocean] body.portal-page.community-active .community-welcome p,
html[data-theme=forest] body.portal-page.community-active .community-welcome p,
html[data-theme=plum] body.portal-page.community-active .community-welcome p,
html[data-theme=dark] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),
html[data-theme=ocean] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),
html[data-theme=forest] body.portal-page.community-active .community-feed-heading p:not(.eyebrow),
html[data-theme=plum] body.portal-page.community-active .community-feed-heading p:not(.eyebrow) {color:#d5dfeb!important}
html[data-theme=dark] body.portal-page.community-active .post-stats,
html[data-theme=ocean] body.portal-page.community-active .post-stats,
html[data-theme=forest] body.portal-page.community-active .post-stats,
html[data-theme=plum] body.portal-page.community-active .post-stats,
html[data-theme=dark] body.portal-page.community-active .post-actions .social-action,
html[data-theme=ocean] body.portal-page.community-active .post-actions .social-action,
html[data-theme=forest] body.portal-page.community-active .post-actions .social-action,
html[data-theme=plum] body.portal-page.community-active .post-actions .social-action {color:#dce5f0!important}
html[data-theme=dark] body.portal-page.community-active .post-actions .social-action[aria-pressed=true],
html[data-theme=ocean] body.portal-page.community-active .post-actions .social-action[aria-pressed=true],
html[data-theme=forest] body.portal-page.community-active .post-actions .social-action[aria-pressed=true],
html[data-theme=plum] body.portal-page.community-active .post-actions .social-action[aria-pressed=true] {color:#d1bcff!important}
.reaction-control{position:relative;display:flex;align-items:center}
.reaction-control .reaction-picker{position:absolute;z-index:5;left:0;bottom:calc(100% + 8px);min-width:max-content;box-shadow:0 8px 24px #05091466}
.post-actions .reaction-more{flex:0 0 auto}

/* Light surfaces need their own button and link colors. */
html[data-theme=light] body.portal-page button{background:#eef0f7;color:#252b38;border-color:#bcc5d5}
html[data-theme=light] body.portal-page a{color:#563ba3}
html[data-theme=light] body.portal-page .brand small{color:#596478}
html[data-theme=light] body.portal-page button.primary{background:#6444b4;color:#f0f1f4}
html[data-theme=light] body.portal-page .member-stories>button{color:#f0f1f4;background:linear-gradient(135deg,#3c285e,#173749)}
html[data-theme=light] body.portal-page .member-stories>button *{color:#f0f1f4}
html[data-theme=light] body.portal-page .community-story{color:#f0f1f4}
html[data-theme=light] body.portal-page .story-view-count{color:#563ba3!important}
html[data-theme=light] body.portal-page .community-story{background:linear-gradient(145deg,#5f409c,#223c59);color:#f0f1f4}
html[data-theme=light] body.portal-page .community-story strong{color:#f0f1f4}
html[data-theme=light] body.portal-page .composer-shortcuts button:first-child{color:#27633f!important}
html[data-theme=light] body.portal-page .composer-shortcuts button:nth-child(2){color:#6041a0!important}
html[data-theme=light] body.portal-page .composer-shortcuts button:nth-child(3){color:#7b570b!important}

/* Pair foregrounds with light portal surfaces, including selected controls. */
html[data-theme=light] body.portal-page:not(.community-active) .site-navigation a[aria-current],
html[data-theme=light] body.portal-page:not(.community-active) .site-navigation a:hover{background:#eee8ff;color:#4b318d}
html[data-theme=light] body.portal-page .appearance-control summary{background:#eef0f7;color:#252b38;border-color:#bcc5d5}
html[data-theme=light] body.portal-page .appearance-panel{background:#f0f1f4;color:#202634;border-color:#bcc5d5}
html[data-theme=light] body.portal-page .appearance-panel label,
html[data-theme=light] body.portal-page .appearance-panel select{color:#202634}
html[data-theme=light] body.portal-page .reader-controls label,
html[data-theme=light] body.portal-page .hymn-filters label,
html[data-theme=light] body.portal-page dialog label,
html[data-theme=light] body.portal-page .verse-share-panel label{color:#465268}
html[data-theme=light] body.portal-page .portal-heading p{color:#536176}
html[data-theme=light] body.portal-page .portal-heading .eyebrow{color:#6242aa}
html[data-theme=light] body.portal-page input::placeholder,
html[data-theme=light] body.portal-page textarea::placeholder{color:#626b7b;opacity:1}
html[data-theme=light] body.portal-page .reader-source,
html[data-theme=light] body.portal-page .bible-disclaimer{color:#536176}
/* Verse selection is an outline, never a dark slab over readable text. */
body.portal-page #readerView .reader-verse:hover,
body.portal-page #readerView .reader-verse[aria-pressed=true]{background:transparent!important;border-color:#a88be4!important}
html[data-theme=light] body.portal-page #readerView .reader-verse{color:#202634!important}
html[data-theme=light] body.portal-page #readerView .reader-verse sup{color:#6541a4}

/* Four stable engagement controls; secondary actions live in the post dialog. */
body.portal-page.community-active .post-card .post-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;align-items:stretch}
body.portal-page.community-active .post-card .post-actions>.social-action{display:flex!important;align-items:center;justify-content:center;min-width:0!important;min-height:44px;padding:8px 2px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:clamp(12px,3.1vw,14px)!important;gap:3px}
.post-more-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));overflow:auto}
.post-more-dialog>button{display:block;width:100%;min-height:44px;text-align:left;margin:4px 0}
.post-more-dialog .reaction-picker{display:flex;position:static;flex-wrap:wrap;gap:8px}
.post-more-dialog .reaction-picker button{min-height:44px;min-width:44px}

body.portal-page.community-active .post-card .post-actions>.social-action:nth-child(2)::before{content:'▢'}
@media(max-width:360px){body.portal-page.community-active .post-card .post-actions>.social-action:nth-child(2)::before{content:none}}
