/* After Hours: graphite surfaces, precise typography, ember and blue linework. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme:dark;
  --ah-font: "Space Grotesk", sans-serif;
  --ah-bg: #090a0c;
  --ah-panel: #15171a;
  --ah-raised: #1e2125;
  --ah-ink: #f5f5f3;
  --ah-soft: #bdc0c4;
  --ah-muted: #a1a6ae;
  --ah-line: #34383f;
  --ah-accent: #ff935f;
  --ah-blue: #80b7dd;
  --ah-accent-soft: #35251e;
  --pe-sans: var(--ah-font);
  --site-sans: var(--ah-font);
  --site-serif: var(--ah-font);
  --pe-serif: var(--ah-font);
}
:root[data-theme="day"] {
  color-scheme:light;
  --ah-bg: #f2f3f3;
  --ah-panel: #fff;
  --ah-raised: #e9ecef;
  --ah-ink: #15181d;
  --ah-soft: #454d57;
  --ah-muted: #59616c;
  --ah-line: #c8cdd3;
  --ah-accent: #994015;
  --ah-blue: #215e89;
  --ah-accent-soft: #f5e6dc;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) {
  --pe-sans:var(--ah-font); --site-sans:var(--ah-font); --site-serif:var(--ah-font); --pe-serif:var(--ah-font);
  --site-bg: var(--ah-bg); --site-surface: var(--ah-panel); --site-surface-strong: var(--ah-raised);
  --site-ink: var(--ah-ink); --site-soft: var(--ah-soft); --site-muted: var(--ah-muted);
  --site-line: var(--ah-line); --site-line-strong: var(--ah-line);
  --site-accent: var(--ah-accent); --site-accent-dark: var(--ah-accent); --site-accent-soft: var(--ah-accent-soft);
  --feed-bg: var(--ah-bg); --feed-surface: var(--ah-panel); --feed-ink: var(--ah-ink); --feed-muted: var(--ah-muted);
  --feed-line: var(--ah-line); --feed-accent: var(--ah-accent); --feed-accent-soft: var(--ah-accent-soft);
  --ink: var(--ah-ink); --soft-ink: var(--ah-soft); --muted: var(--ah-muted); --paper: var(--ah-bg);
  --surface: var(--ah-panel); --surface-2: var(--ah-raised); --line: var(--ah-line); --accent: var(--ah-accent); --accent-soft: var(--ah-accent-soft);
  --pe-paper: var(--ah-bg); --pe-paper-light: var(--ah-panel); --pe-ink: var(--ah-ink); --pe-muted: var(--ah-muted); --pe-wine: var(--ah-accent); --pe-rule: var(--ah-line);
  background: var(--ah-bg)!important;
  color: var(--ah-ink)!important;
  font-family: var(--ah-font)!important;
  caret-color: var(--ah-accent);
  scrollbar-color: var(--ah-line) var(--ah-bg);
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(h1,h2,h3,h4,p,a,label,legend,summary,small,strong,span,button,input,select,textarea) { font-family:var(--ah-font)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin)::before {
  inset: 0!important;
  background: var(--ah-bg)!important;
  opacity: .26!important;
  filter: none!important;
  transform: none!important;
  animation: none!important;
}
html[data-theme="day"] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin)::before { opacity: .08!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(h1,h2,h3,h4,.feed-title,.preview-wordmark) {
  font-family: var(--ah-font)!important;
  font-weight: 500!important;
  letter-spacing: -.035em!important;
  color: var(--ah-ink)!important;
  text-wrap: balance;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .eyebrow { display:none!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(button,input,select,textarea,.button) { font-family:var(--ah-font)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(input,textarea,select) {
  background:var(--ah-bg)!important; color:var(--ah-ink)!important; border-color:var(--ah-line)!important; border-radius:8px!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) ::placeholder { color:var(--ah-muted)!important; opacity:1; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(a,button,input,textarea,select):focus-visible { outline:2px solid var(--ah-blue)!important; outline-offset:4px; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) ::selection { background:var(--ah-accent); color:var(--ah-bg); }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.panel,.post,.auth-panel,.stat,.admin-post,.account-card,.profile-card,.empty,.friendly-error,.legal,.notification-center,.poll-card,.feed-v2-overview,.feed-v2-header,.feed-front-section,.join-entry) {
  background:var(--ah-panel)!important; color:var(--ah-ink)!important; border-color:var(--ah-line)!important;
  border-radius:12px!important; box-shadow:none!important; backdrop-filter:none!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.topbar,.admin-more-panel,.site-more-panel,.site-mobile-dock,.admin-mobile-dock) {
  background:var(--ah-panel)!important; color:var(--ah-ink)!important; border-color:var(--ah-line)!important; box-shadow:none!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.admin-more-links a,.admin-more-actions a,.admin-more-actions button,.site-more-links a,.site-more-actions a,.site-more-actions button,.admin-tool,.site-dock-item,.admin-dock-item,.nav-link,.nav-change-link) { color:var(--ah-soft)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(button,.button):not(.secondary,.outline-button,.text-button,.theme-toggle,.install-app-button,.admin-tool,.site-dock-item,.admin-dock-item,[data-theme-toggle],[data-more-install],[data-notification-center-open],.feed-story,.public-feed-story,.poll-option,.story-close,.story-nav,.story-viewer-close,.story-viewer-nav,.public-story-viewer-close) {
  border-color:var(--ah-ink)!important; background:var(--ah-ink)!important; color:var(--ah-bg)!important; border-radius:8px!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.button.secondary,button.secondary,.outline-button,.admin-top-controls a.button.secondary,.bulk-actions button) {
  background:var(--ah-raised)!important; color:var(--ah-ink)!important; border:1px solid var(--ah-line)!important; border-radius:8px!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.button,button,a.nav-link):hover { border-color:var(--ah-accent)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(button:disabled,input:disabled) { opacity:.45; cursor:not-allowed; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.muted,.admin-studio-heading>div>p,.feed-v2-header p,.empty p,.stat span,.help-hero>p,.admin-post small,.landing-footer) { color:var(--ah-muted)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.stat strong,.admin-studio-heading h1,.feed-v2-header h1) { color:var(--ah-ink)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.stat,.post-metric,.admin-notification-count) { font-variant-numeric:tabular-nums; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.site-dock-item[data-current],.admin-dock-item[data-current],.nav-link.is-active) { background:var(--ah-raised)!important; color:var(--ah-ink)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-story { border-color:var(--ah-accent)!important; }
/* The existing full-screen home and join compositions share one original backdrop. */
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) { background:#090a0c!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-backgrounds {
  background:#090a0c!important;
}
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-scrim { background:linear-gradient(180deg,rgba(9,10,12,.65),rgba(9,10,12,.72) 50%,rgba(9,10,12,.85))!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-intro h1 { color:#f5f5f3!important; font-weight:400!important; line-height:1.02!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-intro p { color:#bdc0c4!important; font-weight:400!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-action { border-radius:8px!important; border-color:#555b65!important; background:#16181c!important; color:#f5f5f3!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-login { background:#f5f5f3!important; color:#090a0c!important; border-color:#f5f5f3!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-action:hover { border-color:#ff935f!important; }
html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-footer { color:#a1a6ae!important; }
html[data-theme] body.join-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .join-entry { background:rgba(21,23,26,.55)!important; color:#f5f5f3!important; border-color:rgba(255,255,255,.2)!important; }
html[data-theme] body.join-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .join-entry h1 { color:#f5f5f3!important; font-family:var(--ah-font)!important; font-weight:400!important; }
html[data-theme] body.join-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .join-entry p { color:#bdc0c4!important; font-family:var(--ah-font)!important; }
@media (max-width:640px) {
  html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-backgrounds { background-position:90% center!important; }
  html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-footer { gap:16px; }
  html[data-theme] body.landing-rotator-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .landing-footer>span { flex-shrink:0; white-space:nowrap; }
}
@media (prefers-reduced-motion:no-preference) {
  .landing-backgrounds { animation:ah-arrive 1.4s cubic-bezier(.16,1,.3,1) both; }
  @keyframes ah-arrive { from { opacity:.5; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
}

.admin-page .new-post-editor > .editor-submit-actions {
  grid-column:1 / -1;
  margin:0;
  padding-top:16px;
  border-top:1px solid var(--site-line);
}
.admin-page .editor-submit-actions > button { min-height:48px; }

/* Keep active story thumbnails circular across the inherited feed layouts. */
html[data-theme] body.site-v3:is(.member-journal-page,.discover-page) button.feed-story { width:72px!important; min-width:72px!important; padding:0!important; border:0!important; background:transparent!important; }
html[data-theme] body.site-v3:is(.member-journal-page,.discover-page) .feed-story-ring { display:grid!important; width:72px!important; height:72px!important; aspect-ratio:1!important; padding:3px!important; overflow:hidden!important; border-radius:50%!important; background:var(--ah-accent)!important; }
html[data-theme] body.site-v3:is(.member-journal-page,.discover-page) .feed-story-ring :is(img,span) { display:block!important; width:100%!important; height:100%!important; border:2px solid var(--ah-bg)!important; border-radius:50%!important; object-fit:cover!important; box-sizing:border-box!important; }
html[data-theme] body.site-v3 .story-viewer :is(.story-viewer-close,.story-viewer-nav) { background:rgba(0,0,0,.5)!important; color:#fff!important; border-radius:50%!important; }
html[data-theme] body.site-v3 .story-viewer-media img { max-width:100%!important; max-height:100%!important; object-fit:contain!important; }


/* Story controls are media controls, including the signed-out preview. */
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(button.feed-story,button.public-feed-story) {
  display:block!important; flex:0 0 72px!important; width:72px!important; min-width:72px!important; height:72px!important; min-height:72px!important;
  margin:0!important; padding:0!important; border:0!important; border-radius:50%!important; background:transparent!important; box-shadow:none!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-story-ring {
  width:72px!important; height:72px!important; aspect-ratio:1!important; padding:3px!important; border-radius:50%!important; overflow:hidden!important; box-sizing:border-box!important;
}
html[data-theme] body.site-v3 .feed-story-track { align-items:center!important; }
html[data-theme] body.site-v3 .public-story-viewer {
  width:min(440px,calc(100vw - 32px))!important; height:min(780px,88svh)!important; max-width:100vw!important; max-height:100svh!important;
  margin:auto!important; padding:0!important; border:0!important; border-radius:14px!important; overflow:hidden!important; background:#090a0c!important; color:#fff!important;
}
html[data-theme] body.site-v3 .public-story-viewer:not([open]) { display:none!important; }
html[data-theme] body.site-v3 .public-story-viewer[open] { display:block!important; }
html[data-theme] body.site-v3 .public-story-viewer-frame { position:relative!important; width:100%!important; height:100%!important; }
html[data-theme] body.site-v3 .public-story-viewer-image { display:block!important; width:100%!important; height:100%!important; object-fit:cover!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) :is(.public-story-viewer-close,.story-viewer-close,.story-viewer-nav) {
  position:absolute!important; z-index:4!important; display:grid!important; place-items:center!important;
  width:42px!important; height:42px!important; min-width:42px!important; min-height:42px!important; padding:0!important;
  border:1px solid rgba(255,255,255,.5)!important; border-radius:50%!important; background:rgba(0,0,0,.65)!important; color:#fff!important; box-shadow:none!important;
}
html[data-theme] body.site-v3 .public-story-viewer-close { top:14px!important; right:14px!important; }
html[data-theme] body.site-v3 :is(.public-story-viewer-close,.story-viewer-close,.story-viewer-nav) svg { display:block!important; width:20px!important; height:20px!important; fill:none!important; stroke:currentColor!important; stroke-width:2!important; }
html[data-theme] body.site-v3 .public-story-sign-in { position:absolute!important; z-index:3!important; bottom:30px!important; left:50%!important; transform:translateX(-50%)!important; padding:12px 20px!important; border-radius:8px!important; background:#fff!important; color:#090a0c!important; white-space:nowrap!important; }
@media(max-width:600px) {
  html[data-theme] body.site-v3 .public-story-viewer { width:100vw!important; height:100svh!important; border-radius:0!important; }
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) a.public-story-sign-in {
  display:inline-flex!important; align-items:center!important; justify-content:center!important; width:auto!important; height:auto!important; min-width:0!important; min-height:44px!important; max-height:60px!important;
  margin:0!important; padding:12px 20px!important; line-height:1.3!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) a.public-story-sign-in { top:auto!important; right:auto!important; bottom:30px!important; left:50%!important; transform:translateX(-50%)!important; box-sizing:border-box!important; height:44px!important; font-size:14px!important; }
html[data-theme] body.site-v3 .story-viewer { box-sizing:border-box!important; width:100%!important; height:100%!important; overflow:hidden!important; }
html[data-theme]:has(body.stories-open), html[data-theme]:has(dialog.public-story-viewer[open]),
html[data-theme] body.site-v3.stories-open { overflow:hidden!important; }
html[data-theme] body.site-v3 .story-viewer { width:100vw!important; height:100svh!important; }
/* The old 64px story row must not crop the 72px circular thumbnail. */
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-story-track {
  height:auto!important; min-height:80px!important; padding:4px 0!important; box-sizing:border-box!important; align-items:center!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-story-ring {
  display:block!important; flex:none!important; clip-path:circle(50%)!important; line-height:0!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-story-ring img {
  display:block!important; width:100%!important; height:100%!important; box-sizing:border-box!important; border-radius:50%!important; object-fit:cover!important; transform:none!important;
}

/* Navigation is useful only when there is more than one story. */
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .story-viewer .story-viewer-nav[hidden],
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .story-viewer:has(.story-viewer-stage > .story-viewer-slide:only-child) .story-viewer-nav { display:none!important; }

/* Use the real wordmark and center member initials in every profile circle. */
html[data-theme] body.site-v3.member-site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) > .topbar .brand::after { content:none!important; display:none!important; }
html[data-theme] body.site-v3.member-site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) > .topbar .brand .brand-logo {
  display:block!important; position:static!important; width:96px!important; height:58px!important; max-width:100%!important; margin:0!important; object-fit:contain!important; transform:none!important; filter:none!important;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .avatar-fallback {
  display:inline-flex!important; align-items:center!important; justify-content:center!important; text-align:center!important;
  padding:0!important; line-height:1!important; box-sizing:border-box!important; flex-shrink:0!important; vertical-align:middle!important;
}

html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-v2-profile { display:flex!important; align-items:center!important; justify-content:center!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .feed-v2-avatar.avatar-fallback { width:100%!important; height:100%!important; font-size:18px!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .post-like-button { display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:7px!important; padding:10px 13px!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .post-like-button .like-heart { width:17px!important; height:17px!important; flex:none!important; fill:none!important; stroke:currentColor!important; stroke-width:1.7!important; color:inherit!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .post-like-button.active .like-heart { fill:var(--ah-accent)!important; stroke:var(--ah-accent)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .post-like-button :is(.like-label,.like-count) { font-size:13px!important; font-weight:500!important; font-style:normal!important; line-height:1!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) .post-like-button .like-count { font-variant-numeric:tabular-nums!important; opacity:.75; }

html[data-theme] body.site-v3 .notification-center-actions { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html[data-theme] body.site-v3 .notification-center-actions form { flex:1 1 180px; margin:0; }
html[data-theme] body.site-v3 .notification-center-actions button { width:100%; min-height:44px; }

/* Member post actions match the updated Laurie layout. */
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .post-like-button { display:inline-flex!important; min-height:44px!important; min-width:44px!important; align-items:center!important; gap:8px!important; padding:0 10px!important; border:0!important; border-radius:8px!important; background:transparent!important; color:var(--ah-muted)!important; box-shadow:none!important; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .post-like-button .like-heart { display:inline-flex; color:currentColor!important; }
.post-like-button .like-heart svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .post-like-button.active { color:var(--ah-accent)!important; background:transparent!important; }
.post-like-button.active .like-heart svg { fill:currentColor; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row :is(.comment-toggle,.bookmark-button) { display:inline-flex!important; min-height:44px!important; align-items:center!important; gap:8px!important; padding:0 10px!important; border:0!important; border-radius:8px!important; background:transparent!important; color:var(--ah-muted)!important; box-shadow:none!important; font:500 12px/1 var(--pe-sans)!important; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row :is(.comment-toggle,.bookmark-button)::before,
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row :is(.comment-toggle,.bookmark-button)::after { display:none!important; content:none!important; }
.post-action-row :is(.comment-toggle,.bookmark-button) svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .bookmark-button.active { color:var(--ah-accent)!important; background:transparent!important; }
.post-action-row .bookmark-button.active svg { fill:currentColor; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row :is(.comment-toggle,.bookmark-button):hover { color:var(--ah-accent)!important; background:color-mix(in srgb,var(--ah-accent) 10%,transparent)!important; }
html[data-theme] body.site-v3.feed-layout-v2.member-journal-page:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .post-like-button:not(:disabled):hover { color:var(--ah-accent)!important; background:color-mix(in srgb,var(--ah-accent) 10%,transparent)!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row .like-heart { width:23px!important; height:23px!important; }
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-theme):not(#legacy-skin) #main-content .post .post-action-row svg { display:block; flex:none; width:23px!important; height:23px!important; }


/* Match BNB photo interaction protection on public and member pages. */
body.site-v3:not(.admin-page) img { -webkit-touch-callout:none; -webkit-user-drag:none; user-select:none; }

/* Preserve badge colors across theme overrides. */
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-public):not(#legacy-admin):not(#legacy-theme):not(#legacy-skin):not(#legacy-palette) .member-tier-badge {
 display:inline-flex!important;align-items:center;gap:5px;padding:4px 8px!important;min-height:24px;max-width:100%;box-sizing:border-box;
 border:1px solid color-mix(in srgb,var(--badge-color) 55%,var(--ah-line))!important;border-radius:7px!important;
 background:color-mix(in srgb,var(--badge-color) 16%,var(--ah-panel))!important;color:var(--ah-ink)!important;
 font-size:11px!important;line-height:1.3!important;font-weight:600;vertical-align:middle;text-transform:none;letter-spacing:0;
}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-public):not(#legacy-admin):not(#legacy-theme):not(#legacy-skin):not(#legacy-palette) .member-tier-badge .member-badge-icon {display:block!important;flex:0 0 14px;width:14px!important;height:14px!important;fill:none;stroke:var(--badge-color);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html[data-theme] body.site-v3:not(#legacy-after-hours):not(#legacy-public):not(#legacy-admin):not(#legacy-theme):not(#legacy-skin):not(#legacy-palette) .member-tier-badge .member-badge-label {min-width:0;white-space:normal;overflow-wrap:anywhere;color:inherit!important;}
html[data-theme="day"] body.site-v3:not(#legacy-after-hours):not(#legacy-public):not(#legacy-admin):not(#legacy-theme):not(#legacy-skin):not(#legacy-palette) .member-tier-badge .member-badge-icon {stroke:color-mix(in srgb,var(--badge-color) 55%,#15171a);}

/* Member feed captions and minimum-tier labels. */
html body.site-v3.member-site-v3.feed-layout-v2:not(#feed-legacy) #main-content .post .post-body > h2 {
  font:600 clamp(17px,1.8vw,20px)/1.3 var(--ah-font,system-ui)!important;
  letter-spacing:-.015em!important;
  max-width:none!important;
  text-wrap:wrap;
  overflow-wrap:anywhere;
}
html body.site-v3.member-site-v3.feed-layout-v2:not(#feed-legacy) #main-content .post .post-body > p {
  max-width:none!important;
  overflow-wrap:anywhere;
}
.post-access-badges { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
html body.site-v3.member-site-v3.feed-layout-v2:not(#feed-legacy) #main-content .post .post-access-badge.is-tier {
  border-color:var(--ah-line)!important;
  background:transparent!important;
  color:var(--ah-ink)!important;
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.2!important;
}

/* Member post cards on the feed and individual post pages. */
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card {
  padding:0 0 4px!important;
  border-color:rgba(128,128,128,.17)!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-body { padding:16px 18px 14px!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-body>h2 { margin:12px 0 0!important; font:650 24px/1.15 var(--ah-font,system-ui)!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-author-row {
  display:grid!important; position:relative!important; align-content:center;
  grid-template-columns:minmax(0,1fr)!important; gap:2px!important;
  min-height:34px; margin:0!important; padding:0 0 0 44px!important;
}
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-author-avatar {
  position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:34px!important; min-width:34px!important; height:34px!important;
}
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-author-avatar img { width:100%!important; height:100%!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .card-meta, html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-access-badges { display:flex; align-items:center; flex-wrap:wrap; gap:4px; margin:0!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .card-meta time { position:static!important; white-space:nowrap; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .card-meta time::after { content:"\00b7"; margin-left:4px; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .card-meta .post-access-badge {
  min-height:0!important; margin:0!important; padding:1px 6px!important;
  border:1px solid var(--badge-border)!important; border-radius:5px!important;
  background:var(--badge-bg)!important; color:var(--badge-text)!important;
  font:650 10px/15px var(--ah-font,system-ui)!important;
}
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .is-free { --badge-bg:#182821; --badge-border:#344e40; --badge-text:#a9dfc8; text-shadow:0 0 6px #79e0b447; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .is-paid { --badge-bg:#36251d; --badge-border:#68442f; --badge-text:#ffd0b4; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .is-tier { --badge-bg:#211f22; --badge-border:#393438; --badge-text:#d1c7cf; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-foot { padding:4px 18px 0!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card .post-action-row { margin:0!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card.tier-locked { padding-bottom:0!important; }
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card.tier-locked .locked-media {
  width:100%!important; margin:0!important; border-radius:0!important;
  aspect-ratio:2/1; min-height:190px!important; place-items:end!important;
}
html body.site-v3.member-site-v3.feed-layout-v2.member-journal-page:not(#feed-legacy) #main-content .post.feed-card.tier-locked .locked-upgrade-button {
  position:relative!important; z-index:2; margin:12px!important; width:auto!important;
  min-height:44px!important; border-radius:999px!important;
}

/* Locked video controls use the After Hours palette and preview play icon. */
html body.site-v3 #main-content .feed-card .card-meta .is-media-type {
  --badge-bg:var(--ah-raised);
  --badge-border:var(--ah-line);
  --badge-text:var(--ah-ink);
}
html body.site-v3 #main-content .feed-card .locked-video-play {
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  z-index:3;
  width:48px;
  height:48px;
  background:var(--ah-raised);
  border:1px solid var(--ah-line);
  color:var(--ah-ink);
  text-decoration:none;
}
html body.site-v3 #main-content .feed-card .locked-video-play:hover {
  background:var(--ah-accent);
  color:#17110d;
}

.feed-load-more { margin:20px 0 0; text-align:center; }
.feed-load-more [role="status"] { color:var(--feed-muted); margin:8px 0 0; }
.feed-load-more [role="status"]:empty { display:none; }
.feed-load-more [data-feed-next][hidden] { display:none!important; }

/* Covers shared by Featured, Shop and Saved. */
html body.member-site-v3 #main-content .member-card-cover {
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:var(--site-surface-strong);
}
html body.member-site-v3 #main-content .member-card-cover > img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:0!important;
}
.member-card-cover.is-soft-preview > img { filter:blur(16px) brightness(.72); scale:1.08; }
.member-card-format {
  position:absolute;
  bottom:8px;
  left:8px;
  padding:4px 7px;
  border-radius:5px;
  background:rgba(20,17,19,.86);
  color:#fff;
  font:650 11px/1.2 var(--pe-sans);
}
.member-card-cover:not(:has(img)) .member-card-format {
  left:50%;
  bottom:50%;
  translate:-50% 50%;
}
html body.member-site-v3 #main-content .feed-v2-pinned-card { grid-template-columns:76px minmax(0,1fr) auto; }
html body.member-site-v3 #main-content .feed-v2-pinned-card .member-card-cover { border-radius:6px; }
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured {
  grid-template-columns:minmax(0,1fr) auto;
  padding:0;
  overflow:hidden;
}
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured .member-card-cover {
  grid-column:1 / -1;
  aspect-ratio:2.5 / 1;
  border-radius:0;
}
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured .featured-post-info { padding:2px 0 12px 12px; }
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured strong { font-size:17px!important; overflow-wrap:anywhere; }
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured small {
  white-space:normal;
  overflow-wrap:anywhere;
}
html body.member-site-v3 #main-content .feed-v2-pinned-card.is-featured i { padding:0 12px 10px 0; }
html body.member-site-v3.community-page #main-content .saved-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%, 240px), 1fr))!important;
  gap:12px!important;
  background:transparent!important;
}
html body.member-site-v3.community-page #main-content .saved-card:nth-child(n) {
  display:block;
  grid-column:auto!important;
  min-width:0;
  margin:0!important;
  border:1px solid var(--site-line)!important;
  border-radius:8px!important;
  background:var(--site-surface)!important;
  color:var(--site-ink)!important;
  text-decoration:none;
}
.saved-card-info { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; padding:12px; }
html body.member-site-v3.community-page #main-content .saved-card-info strong {
  min-width:0; padding:0!important; overflow-wrap:anywhere; font:650 14px/1.3 var(--site-sans);
}
html body.member-site-v3.community-page #main-content .saved-card-info :is(.post-access-badge,.shop-price),
html body.member-site-v3.member-shop-page #main-content .shop-price {
  display:inline-flex; align-items:center; flex-shrink:0; min-height:24px; margin:0; padding:3px 8px;
  border:1px solid var(--site-line); border-radius:6px; background:var(--site-surface-strong);
  color:var(--site-ink); box-shadow:none; font:650 12px/1.2 var(--site-sans);
}
html body.member-site-v3.member-shop-page #main-content .feed > .post {
  overflow:hidden;
  border:1px solid var(--site-line)!important;
  border-radius:8px!important;
  background:var(--site-surface)!important;
}
html body.member-site-v3.member-shop-page #main-content .special-post > .member-card-cover { aspect-ratio:2 / 1; }
html body.member-site-v3.member-shop-page #main-content .post .post-body { padding:16px 18px 14px!important; }
html body.member-site-v3.member-shop-page #main-content .post .shop-card-head { align-items:flex-start; gap:12px; }
html body.member-site-v3.member-shop-page #main-content .post .shop-card-head h2 {
  margin:6px 0 0!important;
  font:650 clamp(18px, 2.5vw, 22px)/1.25 var(--site-sans)!important;
  overflow-wrap:anywhere;
}

.feed-tools { display:contents; }
.feed-tool-button, .feed-install-note { display:none!important; }
.feed-tools svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html body.site-v3.member-site-v3 #main-content .feed-back-top {
  position:fixed;
  right:max(16px, calc(env(safe-area-inset-right, 0px) + 8px));
  bottom:calc(18px + env(safe-area-inset-bottom, 0px));
  z-index:20;
  display:grid!important;
  place-items:center;
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:1px solid var(--feed-line)!important;
  border-radius:50%!important;
  background:var(--feed-surface)!important;
  color:var(--feed-ink)!important;
  box-shadow:none!important;
  font:600 20px/1 var(--ah-font,system-ui)!important;
}
html body.site-v3.member-site-v3 #main-content .feed-back-top[hidden] { display:none!important; }
html body.site-v3.member-site-v3 #main-content .feed-back-top:hover { background:var(--site-surface-strong)!important; }
html body.site-v3.member-site-v3 #main-content .feed-back-top:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media (max-width:760px) {
  html body.feed-layout-v2.site-v3.member-site-v3 > main#main-content {
    padding-bottom:calc(146px + env(safe-area-inset-bottom, 0px))!important;
  }
  html body.site-v3.member-site-v3 #main-content .feed-tools {
    position:fixed;
    left:50%;
    bottom:calc(86px + env(safe-area-inset-bottom, 0px));
    transform:translateX(calc(min(210px, 50vw - 12px) - 100% - max(0px, env(safe-area-inset-right, 0px) - 12px)));
    z-index:20;
    display:flex;
    align-items:center;
    padding:2px;
    border:1px solid var(--feed-line);
    border-radius:999px;
    background:var(--feed-surface);
    color:var(--feed-ink);
    transition:none!important;
  }
  html body.site-v3.member-site-v3 #main-content .feed-tools:has(.feed-back-top[hidden]),
  html body.site-v3.member-site-v3:has(.site-more[data-open]) #main-content .feed-tools {
    display:none;
  }
  html body.site-v3.member-site-v3 #main-content .feed-tools > :is(.feed-tool-button,.feed-back-top) {
    position:relative;
    inset:auto;
    z-index:auto;
    display:grid!important;
    place-items:center;
    flex:0 0 44px;
    width:44px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
  }
  html body.site-v3.member-site-v3 #main-content .feed-tools > :is(.feed-tool-button,.feed-back-top):is(:hover,:focus-visible) {
    background:var(--site-surface-strong)!important;
  }
  .feed-tools > :is(.feed-tool-button,.feed-back-top):focus-visible {
    outline:2px solid currentColor;
    outline-offset:-3px;
  }
  .feed-tools .feed-back-top::before {
    position:absolute;
    inset-inline-start:0;
    inset-block:11px;
    width:1px;
    background:var(--feed-line);
    content:"";
  }
  .feed-tool-sun, html[data-theme="night"] .feed-tool-moon { display:none; }
  html[data-theme="night"] .feed-tool-sun { display:block; }
  html body.site-v3.member-site-v3 #main-content .feed-install-note:not([hidden]) {
    position:absolute;
    right:0;
    bottom:calc(100% + 8px);
    display:flex!important;
    align-items:center;
    width:min(260px, calc(100vw - 36px));
    padding:6px 6px 6px 12px;
    gap:4px;
    border:1px solid var(--feed-line);
    border-radius:12px;
    background:var(--feed-surface);
    color:var(--feed-ink);
    font-size:.8rem;
    line-height:1.4;
  }
  html body.site-v3.member-site-v3 #main-content .feed-install-note button {
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px!important;
    min-height:44px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font-size:20px;
  }
}
