/* Scoped seasonal chrome: highest-priority layer loaded after legacy overrides. */
html[data-season] {
  --season-link:var(--season-link, #71501d);
  --ink:var(--season-text);
  --muted:var(--season-muted);
  --line:var(--season-border);
  --paper:var(--season-surface);
}
html[data-season="spring"] {
  --season-muted:#c9b9c9; --season-hover:#372638; --season-link:#ff9acb;
  --ink:#f8f4fb; --muted:#c9b9c9; --line:#493646; --paper:#1e1823;
  color-scheme:dark;
}
html[data-season="summer"] {
  --season-muted:#665f4d; --season-hover:#f7edce; --season-link:#775513;
  --ink:#211b14; --muted:#665f4d; --line:#ded4b6; --paper:#fffefa;
  color-scheme:light;
}
html[data-season="autumn"] {
  --season-muted:#5c5b56; --season-hover:#f8ebd1; --season-link:#71501d;
  --ink:#111111; --muted:#5c5b56; --line:#deddd6; --paper:#fffefa;
  color-scheme:light;
}
html[data-season="winter"] {
  --season-muted:#bfcbda; --season-hover:#273b50; --season-link:#d2e9ff;
  --ink:#f8faff; --muted:#bfcbda; --line:#35485e; --paper:#172334;
  color-scheme:dark;
}
html[data-season] body,
html[data-season] body .app-shell,
html[data-season] body .editorial-shell {
  background:var(--season-background) !important;
  color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.topbar,.left-rail,.right-rail) {
  background:var(--season-background) !important;
  color:var(--season-text) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body .editorial-shell .topbar :is(.brand,.profile-chip,.icon-button,.notification-icon,.mobile-search-button,.editorial-nav a,.editorial-nav button,.editorial-nav span,.editorial-nav svg) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.editorial-nav a,.editorial-nav button,.nav-item,.icon-button,.feed-explore-link,.feed-filter):is(:hover,:focus-visible,.nav-active) {
  background:var(--season-hover) !important;
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body .editorial-shell :is(.post-card,.composer,.user-profile,.settings-panel,.admin-panel,.hashtag-profile,.empty-state,.loading-state,.error-state,.article-takeaways,.search-panel,.notification-panel,.account-popover,.hashtag-popover,.composer-format-menu,.post-edit-format-menu,.modal-card) {
  background-color:var(--season-surface) !important;
  color:var(--season-text) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body .editorial-shell :is(.post-card .post-text,.post-card .markdown-body,.article-takeaways,.article-takeaways h2,.article-takeaways li,.editorial-byline,.post-type-link,.post-date-link,.site-footer,.side-note,.side-note p) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.post-card .post-text > p,.post-card .markdown-body > p,.post-card .markdown-body > h1,.post-card .markdown-body > h2,.post-card .markdown-body > h3,.post-card .markdown-body > h4,.post-card .markdown-body > h5,.post-card .markdown-body > h6,.post-card .markdown-body > ul > li,.post-card .markdown-body > ol > li) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.site-footer,.post-date-link,.post-type-link,.composer-hint,.composer-footer,.side-note p) {
  color:var(--season-muted) !important;
  -webkit-text-fill-color:var(--season-muted) !important;
}
html[data-season] body .editorial-shell :is(.tag-link,.post-tags .tag-link,.post-text a,.markdown-body > p a,.legal-links a) {
  color:var(--season-link) !important;
  -webkit-text-fill-color:var(--season-link) !important;
}
html[data-season] body .editorial-shell :is(.topbar .brand-mark,.primary-button,.save-button,.follow-button,.get-started-chip,.ambobs-publish-button) {
  background:var(--season-accent) !important;
  border-color:var(--season-accent) !important;
  color:var(--season-ink) !important;
  -webkit-text-fill-color:var(--season-ink) !important;
}
html[data-season] body .editorial-shell .topbar .brand-mark svg {
  color:var(--season-ink) !important;
  stroke:var(--season-ink) !important;
}
html[data-season] body .editorial-shell :is(.account-popover button,.notification-panel button,.hashtag-popover button,.composer-format-menu button,.post-edit-format-menu button) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.account-popover button,.notification-panel button,.hashtag-popover button,.composer-format-menu button,.post-edit-format-menu button):is(:hover,:focus-visible) {
  background:var(--season-hover) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body .editorial-shell :is(.account-popover button,.notification-panel button,.hashtag-popover button,.composer-format-menu button,.post-edit-format-menu button) svg {
  color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.comment,.comment-item,.comment-card,.comments,.comment p,.comments p,.comments li,.comments span,.comments strong) {
  color:var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.comment-form input,.comments input,.comments textarea,.comment textarea,.search-panel input,.search-panel textarea) {
  background:var(--season-surface) !important;
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body .editorial-shell :is(.comments input,.comments textarea,.search-panel input)::placeholder {
  color:var(--season-muted) !important;
  -webkit-text-fill-color:var(--season-muted) !important;
  opacity:1;
}
html[data-season] body .editorial-shell .article-sticky-title,
html[data-season] body .article-fixed-reading-toolbar .article-sticky-title {
  background:var(--season-surface) !important;
  color:var(--season-text) !important;
  border:1px solid var(--season-border) !important;
}
html[data-season] body .editorial-shell .article-sticky-title :is(button,strong,span),
html[data-season] body .article-fixed-reading-toolbar .article-sticky-title :is(button,strong,span) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell .article-takeaways :is(h2,p,li),
html[data-season] body .article-takeaways :is(h2,p,li) {
  color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body .editorial-shell .brand-mark,
html[data-season] body .editorial-shell .get-started-chip {
  background:var(--season-accent) !important;
  border-color:var(--season-accent) !important;
}
html[data-season] body .editorial-shell .brand-mark svg {
  stroke:var(--season-ink) !important;
  color:var(--season-ink) !important;
}

/* A true theme-selector control in the header, usable without a login. */
.editorial-shell .top-actions { gap:12px; }
.season-mode-picker { position:relative; display:inline-flex; flex:none; z-index:110; font-family:var(--font-body,system-ui,sans-serif); }
html[data-season] body .editorial-shell .season-mode-trigger {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  min-height:36px; padding:5px 9px; border:1px solid var(--season-border) !important;
  border-radius:10px; background:var(--season-surface) !important;
  color:var(--season-text) !important; -webkit-text-fill-color:var(--season-text) !important;
  font:600 12px/1.2 var(--font-body,system-ui,sans-serif); white-space:nowrap;
}
html[data-season] body .editorial-shell .season-mode-trigger:hover,
html[data-season] body .editorial-shell .season-mode-trigger[aria-expanded="true"] {
  background:var(--season-hover) !important;
}
html[data-season] body .editorial-shell .season-mode-menu {
  position:absolute; top:calc(100% + 8px); right:0; z-index:200;
  display:grid; gap:3px; min-width:168px; padding:7px;
  border:1px solid var(--season-border); border-radius:12px;
  background:var(--season-surface); box-shadow:0 15px 38px #0004;
}
html[data-season] body .editorial-shell .season-mode-option {
  display:flex; align-items:center; gap:11px; min-height:39px; padding:8px 10px;
  width:100%; text-align:left; border:0; border-radius:8px;
  background:transparent !important; color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important; font:600 12px/1.3 var(--font-body,system-ui,sans-serif);
}
html[data-season] body .editorial-shell .season-mode-option:hover,
html[data-season] body .editorial-shell .season-mode-option:focus-visible,
html[data-season] body .editorial-shell .season-mode-option.is-selected {
  background:var(--season-hover) !important;
}
.season-mode-check { margin-left:auto; }
@media (max-width:680px) {
  .editorial-shell .top-actions { gap:6px; }
  .season-mode-trigger-label { display:none; }
  html[data-season] body .editorial-shell .season-mode-trigger { min-height:34px; padding:5px; gap:2px; }
  .season-mode-menu { max-width:calc(100vw - 20px); }
}

/* Legal/static pages retain the selection, accent and readable text. */
html[data-season] body.static-page-shell {
  --page-bg:var(--season-background); --page-surface:var(--season-surface);
  --ink:var(--season-text); --muted:var(--season-muted); --line:var(--season-border);
  background:var(--season-background) !important; color:var(--season-text) !important;
}
html[data-season] body.static-page-shell :is(.static-page-topbar,.static-page-content,.fact,.toc,.section) {
  background:var(--season-surface) !important; color:var(--season-text) !important;
  border-color:var(--season-border) !important;
}
html[data-season] body.static-page-shell :is(.static-page-content h1,.static-page-content h2,.static-page-content h3,.static-page-content strong,.static-page-content em,.static-page-brand) {
  color:var(--season-text) !important;
}
html[data-season] body.static-page-shell :is(.static-page-content p,.static-page-content li,.static-page-back) {
  color:var(--season-muted) !important;
}
html[data-season] body.static-page-shell :is(.static-page-content a,.static-page-footer a) {
  color:var(--season-link) !important;
}
html[data-season] body.static-page-shell .static-page-brand-mark {
  background:var(--season-accent) !important;
  color:var(--season-ink) !important;
}
.static-season-choice { margin-left:8px; display:inline-flex; align-items:center; gap:6px; font:600 12px/1.2 var(--font-body,system-ui,sans-serif); }
html[data-season] body.static-page-shell .static-season-choice select {
  padding:7px 10px; border:1px solid var(--season-border); border-radius:7px;
  background:var(--season-surface); color:var(--season-text); font:inherit;
}
@media (max-width:520px) {
  .static-season-choice { margin-left:0; font-size:0; }
  .static-season-choice select { font-size:12px; }
}


/* Contrast audit, 2026-11-17: UI chrome, theme tokens and interactive states.
   Keep default Autumn branding fixed while the reading surface changes season. */
html[data-season] body .editorial-shell > .topbar {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #e7e2d9 !important;
}
html[data-season] body .editorial-shell > .topbar :is(.brand, .brand > span:not(.brand-mark), .profile-chip, .profile-chip-name, .profile-chip > svg, .editorial-nav a, .editorial-nav button, .editorial-nav span, .editorial-nav svg, .mobile-search-button) {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell > .topbar :is(.brand, .brand > span:not(.brand-mark), .profile-chip-name) {
  background: transparent !important;
}
html[data-season] body .editorial-shell > .topbar :is(.brand-mark, .brand .brand-mark) {
  background: #eec170 !important;
  border-color: #eec170 !important;
  color: #111111 !important;
}
html[data-season] body .editorial-shell > .topbar .brand-mark svg {
  color: #111111 !important;
  stroke: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
html[data-season] body .editorial-shell > .topbar .editorial-nav :is(a,button):is(:hover,:focus-visible) {
  background: #f7edce !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  outline-color: #8e6a2c !important;
}
html[data-season] body .editorial-shell > .topbar .editorial-nav :is(a[aria-current="page"],button[aria-current="page"]) {
  box-shadow: inset 0 -2px #b17c28;
}
html[data-season] body .editorial-shell > .topbar .profile-chip :is(span,svg) {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
html[data-season] body .editorial-shell .season-mode-trigger {
  border-color: var(--season-border) !important;
  background: var(--season-surface) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}

/* Each hashtag chip uses a single matched foreground and background. The
   previous light-paper chip plus inherited dark-mode white text was unreadable. */
html[data-season] body .editorial-shell .hashtag-popover .hashtag-item,
html[data-season] body .editorial-shell .hashtag-popover .hashtag-item:hover,
html[data-season] body .editorial-shell .hashtag-popover .hashtag-item:focus-visible,
html[data-season] body .editorial-shell .profile-tag-list button {
  background: var(--season-hover) !important;
  border: 1px solid var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell .hashtag-popover .hashtag-item :is(span,small,strong),
html[data-season] body .editorial-shell .profile-tag-list button :is(span,small,strong) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell .hashtag-popover .popover-heading :is(strong,span,button,svg),
html[data-season] body .editorial-shell .hashtag-popover .hashtag-empty {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell .hashtag-popover .popover-heading > div > span {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .editorial-shell .hashtag-popover .popover-heading button {
  background: var(--season-hover) !important;
  border-color: var(--season-border) !important;
}

/* Readable in-article tags, normal tags and native highlighted text. */
html[data-season] body .editorial-shell .post-card :is(.post-tags .tag-link, .markdown-body a.markdown-hashtag, .markdown-body a.markdown-internal-link) {
  background: var(--season-hover) !important;
  border: 1px solid var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  text-decoration-color: var(--season-accent) !important;
}
html[data-season] body .editorial-shell .post-card :is(.post-tags .tag-link, .markdown-body a.markdown-hashtag, .markdown-body a.markdown-internal-link):is(:hover,:focus-visible) {
  background: var(--season-surface) !important;
  box-shadow: inset 0 0 0 1px var(--season-accent) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body :is(mark, .post-text mark, .markdown-body mark) {
  background: #fce571 !important;
  color: #1b1b1b !important;
  -webkit-text-fill-color: #1b1b1b !important;
}
html[data-season] body ::selection {
  background: #eec170 !important;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
}

/* Profile actions and counters must not inherit unrelated global white ink. */
html[data-season] body .editorial-shell .user-profile :is(.profile-edit,.profile-follow,.profile-save-top),
html[data-season] body .editorial-shell .profile-editor-actions :is(button,.profile-edit) {
  background: var(--season-accent) !important;
  border: 1px solid var(--season-accent) !important;
  color: var(--season-background) !important;
  -webkit-text-fill-color: var(--season-background) !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell .user-profile :is(.profile-edit,.profile-follow,.profile-save-top):is(:hover,:focus-visible) {
  filter: brightness(.95);
  box-shadow: 0 0 0 2px var(--season-border);
}
html[data-season] body .editorial-shell .user-profile :is(.profile-edit,.profile-follow,.profile-save-top) :is(span,svg) {
  color: var(--season-background) !important;
  -webkit-text-fill-color: var(--season-background) !important;
}
html[data-season] body .editorial-shell .user-profile :is(h1,h2,h3,.profile-stats strong,.profile-stats span,.profile-stats,.profile-bio,.profile-details,.user-posts-count),
html[data-season] body .editorial-shell .identity-sidebar :is(.identity-sidebar-owner,.identity-sidebar-name,.identity-sidebar-bio,.identity-sidebar-stats,.identity-sidebar-stats button,.identity-sidebar-stats strong,.identity-sidebar-stat,.identity-sidebar-stat strong) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell .identity-sidebar-stats :is(button,.identity-sidebar-stat) {
  border-color: var(--season-border) !important;
}
html[data-season] body .editorial-shell .identity-sidebar-stats button:is(:hover,:focus-visible) {
  background: var(--season-hover) !important;
}
html[data-season] body .editorial-shell .identity-sidebar-stats strong {
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}
html[data-season] body .editorial-shell .profile-stats,
html[data-season] body .editorial-shell .identity-sidebar-stats {
  border-color: var(--season-border) !important;
  background: transparent !important;
}

/* Selected Explore tabs must never be pale with a pale label. */
html[data-season] body .editorial-shell .explore-modes .explore-mode {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  background: transparent !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell .explore-modes .explore-mode:is(.active,[aria-selected="true"],:hover,:focus-visible) {
  background: var(--season-hover) !important;
  border: 1px solid var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.explore-tag-filter button,.explore-tag-filter select,.explore-intro,.explore-heading-actions,.feed-home-title,.feed-heading h1,.editorial-section-heading h2,.editorial-welcome p,.editorial-welcome h1,.editorial-welcome h2,.feed-column .eyebrow) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell :is(.feed-home-title,.feed-heading h1,.editorial-welcome h1) {
  background: transparent !important;
}
html[data-season] body .editorial-shell :is(.feed-heading,.editorial-welcome,.explore-intro) {
  background: transparent !important;
}
html[data-season] body .editorial-shell .header-search-row,
html[data-season] body .editorial-shell + .header-search-row {
  background: var(--season-background) !important;
  color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .header-search-row :is(label,input,button,svg) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .header-search-row input {
  background: var(--season-surface) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .header-search-row input::placeholder {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
  opacity: 1 !important;
}
html[data-season] body .editorial-shell :is(.favorite-hashtags a,.hashtag-profile .profile-stats,.hashtag-profile .favorite-hashtags strong,.hashtag-profile .favorite-hashtags a) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .editorial-shell .favorite-hashtags a {
  background: var(--season-hover) !important;
}

/* Fix legacy global autumn-only tinted inputs on other seasons. */
html[data-season] body .editorial-shell :is(.profile-editor input,.profile-editor textarea,.settings-panel input,.contact-form input,.contact-form textarea) {
  background: var(--season-surface) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .editorial-shell :is(.profile-editor input,.profile-editor textarea,.settings-panel input)::placeholder {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .editorial-shell :is(.profile-editor label,.settings-form label,.profile-editor .profile-form-field label) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}

/* Mobile: keep header controls reachable and mode menu on screen. */
@media (max-width: 680px) {
  html[data-season] body .editorial-shell > .topbar .topbar-inner {
    gap: 8px;
  }
  html[data-season] body .editorial-shell > .topbar .brand > span:not(.brand-mark) {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
  }
  html[data-season] body .editorial-shell > .topbar .season-mode-menu {
    max-width: min(240px, calc(100vw - 24px));
  }
}


/* Shared legal-page/site chrome, responsive and contrast-safe in every season. */
html[data-season] body.static-page-shell .static-page-topbar,
html[data-season] body.wiki-page .top {
  background:#ffffff !important; color:#111111 !important; border-color:#e7e2d9 !important;
}
html[data-season] body.static-page-shell .static-page-topbar-inner {
  display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  width:min(1180px,calc(100% - 36px));max-width:none;min-height:76px;margin:0 auto;
}
html[data-season] body.static-page-shell .static-page-brand,
html[data-season] body.wiki-page .top .brand {
  background:transparent !important;color:#111111 !important;-webkit-text-fill-color:#111111 !important;
}
html[data-season] body.static-page-shell .static-page-brand-mark,
html[data-season] body.wiki-page .top .mark {
  background:#eec170 !important;color:#111111 !important;box-shadow:none !important;
}
html[data-season] body.static-page-shell .static-page-brand-mark svg,
html[data-season] body.wiki-page .top .mark svg {stroke:#111111 !important;}
.static-page-nav,.static-page-actions,.wiki-main-nav {display:flex;align-items:center;gap:20px;}
.static-page-nav a,.static-page-actions > a,.wiki-main-nav a,.wiki-search-link {
  display:inline-flex;align-items:center;min-height:40px;text-decoration:none;
  font:600 14px/1.4 var(--font-body,system-ui,sans-serif);white-space:nowrap;
}
html[data-season] body.static-page-shell :is(.static-page-nav a,.static-page-actions a,.static-page-brand),
html[data-season] body.wiki-page .top :is(.wiki-main-nav a,.wiki-search-link) {
  color:#111111 !important;-webkit-text-fill-color:#111111 !important;
}
html[data-season] body.static-page-shell :is(.static-page-nav a,.static-page-actions a):is(:hover,:focus-visible),
html[data-season] body.wiki-page .top :is(.wiki-main-nav a,.wiki-search-link):is(:hover,:focus-visible) {
  background:#f7edce !important;border-radius:7px;
}
.static-page-actions {margin-left:auto;gap:12px;}
html[data-season] body.static-page-shell .static-season-choice {margin-left:0;font-size:12px;color:#111111 !important;white-space:nowrap;}
html[data-season] body.static-page-shell .static-season-choice select,
html[data-season] body.wiki-page .wiki-season-select select {
  min-height:36px;max-width:120px;border:1px solid var(--season-border) !important;
  background:var(--season-surface) !important;color:var(--season-text) !important;
  -webkit-text-fill-color:var(--season-text) !important;
}
html[data-season] body.static-page-shell .static-page-account {
  padding:5px 12px;max-width:144px;overflow:hidden;text-overflow:ellipsis;
  background:#f7edce !important;border-radius:20px;border:1px solid #e5cd9d;font-size:12px;
}
.static-page-search-form {
  display:flex;align-items:center;gap:16px;
  width:min(1180px,calc(100% - 36px));margin:0 auto;padding:12px 0;
  border-top:1px solid #eee7db;
}
html[data-season] body.static-page-shell .static-page-search-form label {
  color:#111111 !important;white-space:nowrap;font:600 13px var(--font-body,system-ui,sans-serif);
}
html[data-season] body.static-page-shell .static-page-search-form input {
  flex:1;min-width:0;min-height:42px;padding:8px 14px;
  border:1px solid #ded5c7;border-radius:24px;
  background:#fff !important;color:#111111 !important;-webkit-text-fill-color:#111111 !important;
}
html[data-season] body.static-page-shell .static-page-search-form input::placeholder {
  color:#625f58 !important;-webkit-text-fill-color:#625f58 !important;opacity:1;
}
html[data-season] body.static-page-shell .static-page-search-form button {
  min-height:42px;padding:8px 18px;border-radius:22px;border:1px solid #eec170;
  background:#eec170 !important;color:#111111 !important;font-weight:700;cursor:pointer;
}
html[data-season] body.static-page-shell .static-page-shared-footer,
html[data-season] body.wiki-page .wiki-site-footer {
  display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;
  width:min(1180px,calc(100% - 36px));max-width:1180px;margin:32px auto 0;
  padding:24px 0 36px;border-top:1px solid var(--season-border);
  color:var(--season-text);font:500 12px/1.5 var(--font-body,system-ui,sans-serif);
}
.static-page-shared-footer nav,.wiki-site-footer nav {display:flex;flex-wrap:wrap;gap:10px 18px;}
html[data-season] body.static-page-shell .static-page-shared-footer a,
html[data-season] body.wiki-page .wiki-site-footer a {
  color:var(--season-text) !important;-webkit-text-fill-color:var(--season-text) !important;text-decoration:none;
}
html[data-season] body.static-page-shell .static-page-shared-footer a:hover,
html[data-season] body.wiki-page .wiki-site-footer a:hover {text-decoration:underline !important;}
.static-page-shared-footer > p,.wiki-site-footer > p {margin:0 0 0 auto;color:var(--season-muted) !important;}
.static-footer-home,.wiki-footer-home {font-size:16px;font-weight:800;}
html[data-season] body.wiki-page {background:var(--season-background) !important;color:var(--season-text) !important;}
html[data-season] body.wiki-page .top {padding:0 !important;}
html[data-season] body.wiki-page .topbar {width:min(1180px,calc(100% - 36px));min-height:76px;display:flex;align-items:center;flex-wrap:wrap;gap:18px;}
html[data-season] body.wiki-page .wiki-main-nav {margin-left:20px;}
html[data-season] body.wiki-page .wiki-search-link {margin-left:auto;}
html[data-season] body.wiki-page .wiki-season-select {font-size:12px;color:#111111 !important;margin-left:0;}
@media(max-width:900px) {
  .static-page-nav {order:3;flex-basis:100%;}
  html[data-season] body.static-page-shell .static-page-topbar-inner {gap:12px;}
  html[data-season] body.wiki-page .wiki-main-nav {margin-left:0;}
}
@media(max-width:680px) {
  html[data-season] body.static-page-shell .static-page-topbar-inner {width:calc(100% - 26px);padding:8px 0;gap:6px 10px;min-height:0;}
  .static-page-actions {gap:6px;}
  .static-page-actions > .static-page-search-link {display:none;}
  html[data-season] body.static-page-shell .static-season-choice {font-size:0;}
  html[data-season] body.static-page-shell .static-season-choice select {font-size:12px;max-width:96px;}
  html[data-season] body.static-page-shell .static-page-account {max-width:82px;font-size:11px;padding:5px 7px;}
  .static-page-nav {order:3;flex-basis:100%;gap:14px;}
  .static-page-nav a {font-size:13px;min-height:34px;}
  .static-page-search-form {width:calc(100% - 26px);gap:8px;padding:9px 0;}
  .static-page-search-form label {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  html[data-season] body.static-page-shell .static-page-search-form input {min-height:40px;font-size:13px;}
  html[data-season] body.static-page-shell .static-page-search-form button {min-height:40px;padding:7px 10px;}
  html[data-season] body.wiki-page .topbar {width:calc(100% - 26px);gap:10px;padding:10px 0;}
  html[data-season] body.wiki-page .wiki-main-nav {order:3;width:100%;gap:14px;}
  html[data-season] body.wiki-page .wiki-main-nav a {font-size:13px;}
  html[data-season] body.wiki-page .wiki-search-link {margin-left:auto;font-size:13px;}
  html[data-season] body.wiki-page .wiki-season-select {font-size:0;}
  html[data-season] body.wiki-page .wiki-season-select select {font-size:12px;}
  html[data-season] body.static-page-shell .static-page-shared-footer,
  html[data-season] body.wiki-page .wiki-site-footer {width:calc(100% - 26px);gap:10px;}
  .static-page-shared-footer nav,.wiki-site-footer nav {width:100%;order:2;}
  .static-page-shared-footer > p,.wiki-site-footer > p {width:100%;order:3;margin:0;}
}


/* Never flash "Join us" to a signed-in reader before identity resolves. */
html[data-season] body.static-page-shell .static-page-account[hidden],
html[data-season] body.wiki-page .wiki-account-link[hidden] {
  display: none !important;
}
html[data-season] body.wiki-page .wiki-account-link {
  display: inline-flex;
  align-items: center;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  background: #f7edce !important;
  border: 1px solid #e5cd9d;
  border-radius: 20px;
  padding: 6px 10px;
  font: 600 12px/1.3 var(--font-body,system-ui,sans-serif);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
@media (max-width: 375px) {
  html[data-season] body.static-page-shell .static-page-actions {
    order: 2;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
  html[data-season] body.static-page-shell .static-page-nav {
    order: 3;
  }
  html[data-season] body.wiki-page .wiki-account-link {
    max-width: 75px;
    font-size: 11px;
  }
}


/* Sidebar profile: its legacy --surface resolves to white while spring/winter
   had light text, producing unreadable cards. Pair every layer explicitly. */
html[data-season] body .app-shell.editorial-shell .identity-sidebar {
  background: var(--season-surface) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar :is(
  .identity-sidebar-owner,
  .identity-sidebar-name,
  .identity-sidebar-name small,
  .identity-sidebar-bio,
  .identity-sidebar-stats,
  .identity-sidebar-stats button,
  .identity-sidebar-stats strong,
  .identity-sidebar-stat,
  .identity-sidebar-stat strong
) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  opacity: 1 !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-name small {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-stats strong {
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-stats {
  background: transparent !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-stats button {
  background: transparent !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-stats button:is(:hover,:focus-visible) {
  background: var(--season-hover) !important;
}
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-avatar {
  border-color: var(--season-surface) !important;
}
/* The profile name crosses the top banner, which must be dark enough for
   light foregrounds in Spring and Winter. Keep the original cover layout. */
html[data-season="spring"] body .app-shell.editorial-shell .identity-sidebar::before {
  background: linear-gradient(103deg, #362639 0 47%, #493247 47% 58%, #292336 58% 100%) !important;
}
html[data-season="winter"] body .app-shell.editorial-shell .identity-sidebar::before {
  background: linear-gradient(103deg, #20364f 0 47%, #30465d 47% 58%, #243c54 58% 100%) !important;
}

/* Notifications live inside the sticky header's stacking context (z=5),
   while the article reading toolbar is portaled to body at z=90.
   Lift only an open inbox above the article, not the entire header forever. */
html.ambobs-notifications-open body .app-shell.editorial-shell > .topbar {
  z-index: 120 !important;
}


/* System-wide semantic contrast. Target the real page and its interactive
   surfaces instead of blindly recoloring SVG, code, syntax or image elements. */
html[data-season] body .app-shell.editorial-shell :is(
  .user-profile,.hashtag-profile,.settings-panel,.directory-page,.admin-panel,
  .admin-card,.post-card,.comment,.comment-card,.search-panel,.loading-state,
  .empty-state,.error-state,.article-takeaways,.identity-followers-modal,
  .notification-panel,.account-popover,.hashtag-popover,.modal-card
) {
  background-color: var(--season-surface) !important;
  border-color: var(--season-border) !important;
  color: var(--season-text) !important;
}
/* Profile's legacy typography uses unscoped light-theme colors. */
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  h1,h2,h3,.user-profile-identity,.user-profile-identity h2,
  .profile-bio,.profile-bio-section,.profile-bio-section p,
  .profile-stats,.profile-stats span,.profile-stats strong,
  .profile-details h3,.profile-user-list,
  .profile-editor,.profile-editor label,
  .user-posts-count,.user-posts-nav
) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  opacity: 1 !important;
}
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  .user-profile-identity p,.profile-details p,.user-profile-row p:last-child,
  .profile-editor .form-help
) {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
  opacity: 1 !important;
}
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  .back-link,.profile-bio-toggle,.profile-stats button,.profile-links a
) {
  background: transparent !important;
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  .profile-details,.profile-stats,.profile-link-editor,.profile-name-fields
) {
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  .profile-user-list button,.profile-tag-list button
) {
  background: var(--season-hover) !important;
  border: 1px solid var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell .user-profile :is(
  .profile-user-list button,.profile-tag-list button
):is(:hover,:focus-visible) {
  box-shadow: inset 0 0 0 1px var(--season-accent);
}

/* Settings, directory and administration use the same surface pair. */
html[data-season] body .app-shell.editorial-shell :is(
  .settings-intro,.settings-icon,.settings-form,.settings-profile-link,
  .directory-intro,.directory-list,.admin-toolbar,.admin-grid
) {
  color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .settings-intro h2,.directory-intro h2,.admin-card h3,
  .settings-form label,.directory-page h2,.directory-page h3,
  .settings-icon svg,.directory-list button
) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .settings-intro p,.settings-profile-link span,.directory-intro p,
  .settings-form .form-help,.directory-list p,.admin-card p
) {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .settings-profile-link button,.directory-page a,.directory-page button,
  .admin-toolbar .back-link
) {
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}
html[data-season] body .app-shell.editorial-shell .settings-icon {
  background: var(--season-hover) !important;
}

/* Readable post and comment metadata without changing special markup
   such as highlighted text, KaTeX, charts, code blocks and link previews. */
html[data-season] body .app-shell.editorial-shell :is(
  .post-card .post-text,.post-card .markdown-body,
  .post-card .post-author,.post-card .post-title,
  .post-card .post-document-content,.post-card .post-document-content h1,
  .post-card .post-document-content h2,.post-card .post-document-content h3,
  .post-card .post-document-content p,.comment,.comment p,
  .comment strong,.comment-author,.feed-heading h1,.feed-home-title,
  .explore-intro h1,.explore-intro h2
) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .post-date,.post-date-link,.post-type-link,.post-summary,
  .post-card .byline-post-meta,.comment-time,.comment-date,
  .post-actions .post-meta,.site-footer,.user-posts-end,
  .notification-empty,.notification-empty span
) {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .post-neighbors,.post-actions,.comment-form,.comment,
  .settings-intro,.directory-intro
) {
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .post-neighbors a,.comment-author,.comment-remove,
  .comment-action,.post-follow,.post-card .post-text a:not(.markdown-hashtag)
):not(.markdown-internal-link) {
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}

/* Inputs: pair surface and foreground explicitly, including WebKit.
   Do not override editor fullscreen's intentional light input mode. */
html[data-season] body .app-shell.editorial-shell :is(
  .profile-editor input,.profile-editor textarea,
  .settings-form input,.admin-card input,.admin-card textarea,
  .search-panel input,.search-panel select,
  .comment-form input,.comment-form textarea,
  .edit-textarea,.user-profile .profile-bio-input,
  .directory-page input,.directory-page select
) {
  background: var(--season-surface) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  caret-color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .profile-editor input,.profile-editor textarea,
  .settings-form input,.admin-card input,.admin-card textarea,
  .comment-form input,.search-panel input,.directory-page input
)::placeholder {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
  opacity: 1 !important;
}

/* Menus and secondary rails should inherit the *same* surface that their
   labels use. Icons remain visible; disabled controls keep native semantics. */
html[data-season] body .app-shell.editorial-shell :is(
  .main-nav,.right-rail,.left-rail,.side-note,.article-takeaways,
  .hashtag-popover,.account-popover,.notification-panel
) {
  color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .left-rail,.right-rail,.main-nav
) :is(.nav-item,.rail-title,.side-title h2,.side-note strong,.side-note h3) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .hashtag-popover,.account-popover,.notification-panel,.article-takeaways
) :is(h2,h3,p,strong,li) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .hashtag-popover,.account-popover,.notification-panel
) :is(button,a):not(.hashtag-item):not(.account-sign-out) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .hashtag-popover,.account-popover,.notification-panel
) :is(button,a):is(:hover,:focus-visible) {
  background: var(--season-hover) !important;
}
html[data-season] body .app-shell.editorial-shell .account-sign-out {
  color: var(--season-link) !important;
  -webkit-text-fill-color: var(--season-link) !important;
}

/* Save/submit actions on pale accents must have the *ink* color, not the
   page background (white in summer and autumn). */
html[data-season] body .app-shell.editorial-shell :is(
  .profile-edit,.profile-follow,.profile-save-top,
  .settings-form .save-button,.comment-form button,
  .primary-button,.follow-button,.ambobs-publish-button
):not(:disabled) {
  background: var(--season-accent) !important;
  border-color: var(--season-accent) !important;
  color: var(--season-ink) !important;
  -webkit-text-fill-color: var(--season-ink) !important;
}
html[data-season] body .app-shell.editorial-shell :is(
  .profile-edit,.profile-follow,.profile-save-top,
  .settings-form .save-button,.comment-form button,
  .primary-button,.follow-button,.ambobs-publish-button
):not(:disabled) :is(span,svg) {
  color: var(--season-ink) !important;
  -webkit-text-fill-color: var(--season-ink) !important;
}

/* Mobile maintains the exact same foreground/background pair; no opacity
   fades for identity, labels or links when they move into a single column. */
@media (max-width: 740px) {
  html[data-season] body .app-shell.editorial-shell :is(
    .user-profile,.settings-panel,.directory-page,.post-card
  ) {
    color: var(--season-text) !important;
    border-color: var(--season-border) !important;
  }
  html[data-season] body .app-shell.editorial-shell :is(
    .user-profile-row,.profile-details,.identity-sidebar-stats
  ) {
    color: var(--season-text) !important;
  }
}

/* Explicit bio rule also wins over old high-specificity profile label rules. */
html[data-season] body .app-shell.editorial-shell .identity-sidebar .identity-sidebar-bio {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}

/* Discovery recommendations are ordinary text links, not accent badges.
   Preserve their neutral reading contrast in each seasonal palette. */
html[data-season] body .app-shell.editorial-shell .post-card .post-text .stay-here li a,
html[data-season] body .app-shell.editorial-shell .post-card .post-text .stay-here li a span {
  background: transparent !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}


/* Account menu and inline editor contrast. The header remains white in every
   season; only the dropdown and inline writing surface use seasonal colors. */
html[data-season] body .editorial-shell > .topbar .account-menu > .profile-chip,
html[data-season] body .editorial-shell > .topbar .account-menu > .profile-chip :is(.profile-chip-name,span,svg) {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
html[data-season] body .editorial-shell > .topbar .account-menu > .profile-chip:is(:hover,:focus-visible,[aria-expanded="true"]) {
  background: #f7edce !important;
  color: #111111 !important;
  border-color: #dfcda9 !important;
}
html[data-season] body .editorial-shell .account-popover,
html[data-season] body .editorial-shell .account-popover .account-popover-identity strong,
html[data-season] body .editorial-shell .account-popover .account-popover-identity span,
html[data-season] body .editorial-shell .account-popover button,
html[data-season] body .editorial-shell .account-popover button svg {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell .account-popover button:is(:hover,:focus-visible) {
  background: var(--season-hover) !important;
  color: var(--season-text) !important;
  filter: none !important;
}

/* The regular composer follows the selected theme. The fullscreen portal is
   explicitly excluded to preserve its independent fullscreen palette. */
html[data-season] body .editorial-shell .ambobs-editor-shell:not(.ambobs-editor-shell-fullscreen):not(:fullscreen) :is(.ambobs-editor-surface,.ambobs-editor-shell-footer) {
  background: var(--season-surface) !important;
  color: var(--season-text) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .editorial-shell .ambobs-editor-shell:not(.ambobs-editor-shell-fullscreen):not(:fullscreen) :is(.composer-editable,.ambobs-composer-title,.ambobs-editor textarea) {
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
  caret-color: var(--season-text) !important;
}
html[data-season] body .editorial-shell .ambobs-editor-shell:not(.ambobs-editor-shell-fullscreen):not(:fullscreen) .composer-editable:empty::before,
html[data-season] body .editorial-shell .ambobs-editor-shell:not(.ambobs-editor-shell-fullscreen):not(:fullscreen) :is(.ambobs-composer-title,.ambobs-editor textarea)::placeholder {
  color: var(--season-muted) !important;
  -webkit-text-fill-color: var(--season-muted) !important;
}
html[data-season] body .editorial-shell .writing-panel .composer {
  background: var(--season-surface) !important;
  background-image: none !important;
}
html[data-season] body .editorial-shell .writing-panel .composer::before {
  content: none !important;
  display: none !important;
}

/* Static gray placeholders, not a secondary shimmer preloader.
   Avatar placeholders remain circular in all seasonal themes. */
html[data-season] body .editorial-shell :is(.ambobs-post-skeleton-card,.ambobs-feed-skeleton,.ambobs-profile-skeleton,.ambobs-block-skeleton) {
  background-color: var(--season-surface) !important;
  border-color: var(--season-border) !important;
}
html[data-season] body .editorial-shell .ambobs-skeleton-avatar,
html[data-season] body .editorial-shell .ambobs-post-skeleton-author > .ambobs-skeleton-avatar,
html[data-season] body .editorial-shell .ambobs-user-skeleton-header .ambobs-skeleton-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  flex-shrink: 0;
}
html[data-season] body .editorial-shell :is(.ambobs-skeleton-line,.ambobs-skeleton-media,.ambobs-skeleton-avatar,.ambobs-block-skeleton i) {
  background: color-mix(in srgb, var(--season-text) 19%, var(--season-surface)) !important;
  background-size: auto !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html[data-season] body .editorial-shell :is(.ambobs-skeleton-line,.ambobs-skeleton-media,.ambobs-skeleton-avatar,.ambobs-block-skeleton i) {
    animation: none !important;
  }
}


/* Stay Here uses a fixed light-grey button even in dark seasonal modes.
   Explicit WebKit text fill is required: Spring/Winter previously inherited
   white glyphs onto #eee and became unreadable on iOS Safari. */
html[data-season="spring"] body .app-shell.editorial-shell .post-card .post-text .stay-here > summary.stay-here-control,
html[data-season="winter"] body .app-shell.editorial-shell .post-card .post-text .stay-here > summary.stay-here-control {
  background: #eeeeee !important;
  color: #444444 !important;
  -webkit-text-fill-color: #444444 !important;
}


/* Article Play / Copy / Close controls: the legacy :hover rule forced a
   white background while Spring/Winter inherited light foregrounds.
   Keep their surface, text and SVG icons paired in every seasonal mode. */
html[data-season] body .app-shell.editorial-shell .post-route-actions :is(button.post-route-listen, button.post-route-copy, button.post-route-close) {
  background: var(--season-surface) !important;
  border-color: var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell .post-route-actions :is(button.post-route-listen, button.post-route-copy, button.post-route-close):is(:hover, :focus-visible) {
  background: var(--season-hover) !important;
  border-color: var(--season-border) !important;
  color: var(--season-text) !important;
  -webkit-text-fill-color: var(--season-text) !important;
}
html[data-season] body .app-shell.editorial-shell .post-route-actions :is(button.post-route-listen, button.post-route-copy, button.post-route-close) :is(svg, span) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  stroke: currentColor;
}


/* The avatar fallback is the *black Ambobs brand glyph*, not a colored tile.
   Keep empty photo slots transparent; never remove the existing circular
   outline or alter the appearance of user-uploaded/Google profile photos. */
html body .app-shell.editorial-shell .author-avatar {
  background: transparent !important;
  border-color: var(--season-border) !important;
}
html body .app-shell.editorial-shell :is(
  .google-account-avatar,
  .identity-sidebar-avatar,
  .user-profile-avatar
):has(> img.ambobs-default-avatar) {
  background: transparent !important;
  background-image: none !important;
}
html body .app-shell.editorial-shell .user-profile-avatar:has(> img.ambobs-default-avatar) {
  border: 1px solid var(--season-border);
}


/* Only missing-photo Ambobs feather marks switch to white in Spring/Winter.
   Both SVG assets and real user photos share <img>, so target explicitly
   marked fallbacks (and AuthorAvatar's 404-driven fallback state) only. */
html:is([data-season="spring"], [data-season="winter"]) body .app-shell.editorial-shell
:is(img.ambobs-default-avatar, .author-avatar.avatar-fallback > img) {
  filter: invert(1) !important;
}
html:is([data-season="autumn"], [data-season="summer"]) body .app-shell.editorial-shell
:is(img.ambobs-default-avatar, .author-avatar.avatar-fallback > img) {
  filter: none !important;
}
