:root {
  --bg: #ffffff;
  --paper: #e7f2fa;
  --ink: #1c1f24;
  --graphite: #1c1f24;
  --sky: #1f6fa8;
  --muted: #5c6770;
  --bar: #1c1f24;
  --bar-edge: rgba(255, 255, 255, 0.28);
  --search: #e7f2fa;
  --soft: #e7f2fa;
  --line: #e4e8ec;
  --cta: #1c1f24;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--cta);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 5;
  border-radius: 8px;
}
.skip:focus { top: 0.5rem; }

.site-header, .site-footer { background: var(--bar); }
.site-header { position: relative; z-index: 30; }
.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 4.2rem;
}
.bar-brand { min-width: 0; }
.bar-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.topic-row { padding: 0 0 0.85rem; }
.topic-row .filters { margin: 0; }
.archive-link {
  color: #f7f4ef;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.archive-link:hover { text-decoration: underline; }
.search-toggle, .burger {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #f7f4ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.search-toggle:focus-visible, .burger:focus-visible, .avatar:focus-visible {
  outline: 2px solid #8ec9ef;
  outline-offset: 2px;
}
.burger { display: none; flex-direction: column; gap: 0.22rem; }
.burger span {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.header-drawer {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.15rem 0 0.85rem;
}
.header-drawer .subscribe { margin-left: 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #f7f4ef;
  flex: 0 0 auto;
}
.brand span {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 650;
  font-size: 1.48rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f7f4ef;
}
.mark { width: 36px; height: 36px; border-radius: 0; display: block; }
.top-search { position: relative; flex: 0 0 auto; }
.top-search.is-open { z-index: 60; }
.search-pop { display: none; }
.top-search.is-open .search-pop {
  display: block;
  position: absolute;
  z-index: 60;
  top: 50%;
  left: calc(100% + 0.45rem);
  right: auto;
  width: min(420px, var(--search-room, 420px));
  transform: translateY(-50%);
  transform-origin: left center;
  animation: search-tray 180ms ease;
}
@keyframes search-tray {
  from { opacity: 0; transform: translate(-12px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
.top-search.is-drop { position: static; }
.top-search.is-open.is-drop .search-pop {
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  width: auto;
  transform: none;
  animation: search-drop 160ms ease;
}
@keyframes search-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.top-search.is-open .suggest {
  position: absolute;
  top: calc(100% + 0.28rem);
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
.top-search input {
  width: 100%;
  border: 0;
  background: var(--search);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 0.62rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c1f24;
}
.top-search input:focus {
  outline: 2px solid #8eabc4;
  outline-offset: 1px;
}
.suggest {
  position: relative;
  z-index: 30;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  max-width: 420px;
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0.28rem 0 0;
  padding: 0.2rem;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(24, 39, 56, 0.14);
}
.suggest a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.28rem 0.4rem;
  border-radius: 6px;
}
.suggest a.s-hit {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.suggest a:hover, .suggest a.is-active { background: var(--soft); }
.s-thumb {
  width: 36px;
  height: 26px;
  max-width: none;
  flex: 0 0 36px;
  object-fit: cover;
  border-radius: 3px;
}
.s-copy { min-width: 0; flex: 1; display: block; }
.s-label {
  padding: 0.28rem 0.45rem 0.05rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.suggest .s-cat,
.search-results .s-cat {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.suggest .s-title {
  display: block;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest .s-see-all {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--sky);
  padding: 0.4rem 0.35rem;
}
.search-results {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 40rem;
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.search-results .s-thumb { width: 64px; height: 44px; flex-basis: 64px; }
.search-results .s-title {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.subscribe, .login-link {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}
.subscribe {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
  color: #fff;
  background: var(--sky);
  border: 1px solid #185a88;
}
.sub-star { width: 0.85rem; height: 0.85rem; display: block; flex: 0 0 auto; }
.sub-star path { fill: #ffe7a3; }
.login-link {
  color: #f7f4ef;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.header-end {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex: 0 0 auto;
}
@media (min-width: 801px) {
  .header-end:has(> .login-link:not([hidden])) {
    flex: 1 1 auto;
    margin-left: 0;
  }
  .header-end:has(> .login-link:not([hidden])) > .subscribe,
  .header-end:has(> .login-link:not([hidden])) > .login-link {
    margin-left: auto;
  }
}
.avatar-wrap { display: flex; align-items: center; }
.avatar-slot { position: relative; display: inline-flex; }
.plus-star {
  position: absolute;
  right: 0.95rem;
  bottom: -0.12rem;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  background: #c4a046;
  border: 2px solid #1c1f24;
  border-radius: 50%;
  line-height: 0;
  z-index: 2;
}
.plus-star svg { width: 0.62rem; height: 0.62rem; display: block; }
.plus-star path { fill: #1c1f24; }
.plus-star[hidden],
.plan-badge[hidden] { display: none; }
.plan-status {
  display: inline-block;
  padding: 0.05rem 0.38rem;
  border-radius: 999px;
  font-weight: 750;
  background: #e9ecef;
  color: #1c1f24;
}
.plan-status.is-plus {
  background: #f4e7c3;
  color: #7a5b12;
}
.plan-badge {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a5b12;
  background: #f4e7c3;
  border: 1px solid #c4a046;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.login-link[hidden],
.avatar-wrap[hidden],
.account-menu[hidden] { display: none; }
.avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f7f4ef;
  font-family: var(--sans);
  font-weight: 750;
  cursor: pointer;
  padding: 0;
}
.avatar-face {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  border: 2px solid #e4e8ec;
  background: #d5dde4;
  color: #1c1f24;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.site-header .avatar-face {
  width: 2.55rem;
  height: 2.55rem;
  min-width: 2.55rem;
  min-height: 2.55rem;
  flex: 0 0 2.55rem;
}
.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
html[data-header-avatar] .site-header .avatar-face [data-avatar-letter] {
  display: none;
}
.avatar-face-lg {
  width: 4.6rem;
  height: 4.6rem;
  font-size: 1.55rem;
}
.caret {
  font-size: 0.72rem;
  line-height: 1;
  color: #f7f4ef;
  padding-right: 0.05rem;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 14.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem 0;
  box-shadow: 0 14px 34px rgba(24, 39, 56, 0.16);
  overflow: hidden;
  transform-origin: top right;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}
.account-menu.is-open {
  max-height: 20rem;
  opacity: 1;
  transform: translateY(0);
}
.menu-link, .logout-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.62rem 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.menu-link:hover, .logout-btn:hover { background: var(--soft); }
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.menu-plan {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #5c6770;
  white-space: nowrap;
}
.check-row { display: flex; align-items: flex-start; gap: 0.55rem; }
.check-row input { width: auto; margin-top: 0.3rem; }
.check-row label { margin: 0; color: var(--ink); }
.plan-price {
  font-family: var(--sans);
  font-size: 2.4rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  margin: 0.2rem 0;
}
.plan-per {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}
.included-link { margin: 0.7rem 0 0; font-family: var(--sans); font-size: 0.92rem; }
.plan-card, .checkout {
  background: var(--paper);
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.3rem;
  margin: 0 0 1.2rem;
  max-width: 40rem;
}
.subscribe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
}
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.1rem;
}
.checkout .form-row { margin-bottom: 0.42rem; }
.checkout input,
.checkout textarea { padding: 0.4rem 0.55rem; }
.checkout textarea { min-height: 4.1rem; }
.pay-foot { margin-top: 0.35rem; }
.pay-foot .check-row { margin: 0.35rem 0 0.7rem; }
.subscribe-layout .checkout,
.subscribe-layout .plan-card {
  max-width: none;
  margin: 0;
}
.subscribe-plan {
  position: sticky;
  top: 1rem;
}
.subscribe-plan .dek { margin-top: 0; }
.subscribe-plan h2 { font-size: 1.05rem; margin: 1rem 0 0.35rem; }
.subscribe-plan ul { margin: 0.2rem 0 0; padding-left: 1.15rem; }
.order-line { font-weight: 700; }
.renew-line { color: var(--muted); }
.paypal-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: none;
  height: 44px;
  background: transparent;
  background-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  line-height: 0;
}
.paypal-btn img {
  display: block;
  width: auto;
  height: 44px;
  background: transparent;
  border: 0;
}
.paypal-btn:disabled { cursor: wait; opacity: 1; }
#unsubscribe {
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-family: var(--sans);
  font-weight: 680;
  cursor: pointer;
}
.already-plus {
  background: var(--paper);
  border-radius: 14px;
  padding: 1.2rem 1.3rem 1.4rem;
  margin: 0 0 2rem;
  max-width: 36rem;
}
.already-title {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 750;
  margin: 0 0 0.35rem;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 22, 26, 0.55);
}
.modal-card {
  width: min(24rem, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}
.modal-card h2 {
  font-family: var(--sans);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}
.modal-card p { margin: 0; }
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.plus-offer-card {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  background: #fff;
  border: 1px solid #d5dde4;
  padding: 1.25rem 1.3rem 1.2rem;
}
.plus-offer-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  background: transparent;
  border: 0;
  color: #5c6770;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem;
}
.plus-offer-brand { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 0 2rem; padding: 0.5rem 0.85rem; border: 1px solid #d5dde4; border-radius: 8px; background: #f3f6f9; font-family: var(--sans); font-weight: 750; font-size: 0.92rem; color: var(--graphite); width: fit-content; max-width: calc(100% - 2.5rem); }
.plus-offer-brand img { display: block; }
.plus-offer-card h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0.35rem 2.2rem 0.65rem 0;
  color: var(--graphite);
}
.plus-offer-price {
  margin: 0;
  font-family: var(--sans);
  font-weight: 750;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--sky);
}
.plus-offer-price span {
  font-size: 0.95rem;
  font-weight: 680;
  color: #5c6770;
}
.plus-offer-note {
  margin: 0.25rem 0 0.85rem;
  color: #5c6770;
  font-family: var(--sans);
  font-size: 0.86rem;
}
.plus-offer-note a { color: var(--sky); }
.plus-offer-list {
  margin: 0;
  padding: 0.75rem 0.9rem 0.75rem 1.35rem;
  background: var(--paper);
  border-radius: 10px;
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.plus-offer-list li { margin: 0.28rem 0; }
#plus-offer-later {
  background: #fff;
  color: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
}
html[data-theme="dark"] #plus-offer-later {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky);
}
html[data-theme="dark"] .plus-offer-brand {
  background: #24303a;
  border-color: #343c45;
  color: #e8eef3;
}
html[data-theme="dark"] .plus-offer-card {
  background: #1b2127;
  border-color: #343c45;
}
#cancel-keep, #cancel-confirm {
  font-family: var(--sans);
  font-weight: 700;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
#cancel-keep {
  background: var(--sky);
  color: #fff;
  border: 1px solid #185a88;
}
#cancel-confirm {
  background: #fff;
  color: var(--graphite);
  border: 1px solid var(--graphite);
}
.auth-form { max-width: 28rem; padding-bottom: 2rem; }
.auth-form button, #sub-join {
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-family: var(--sans);
  font-weight: 680;
  cursor: pointer;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.72fr);
  gap: 1.1rem;
  margin: 1.15rem 0 1.35rem;
  align-items: stretch;
}
.carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #d5e0ea;
  min-height: 26rem;
}
.frame { display: none; position: relative; color: #fff; text-decoration: none; }
.frame.is-on { display: block; }
.frame img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  border-radius: 0;
}
.frame-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(14, 20, 28, 0.78));
}
.frame-copy .kicker { color: #8ec9ef; }
.frame-copy strong {
  font-family: var(--sans);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 720;
}
.frame-copy span:last-child { color: #e7eef4; font-size: 0.95rem; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.carousel-btn.prev { left: 0.6rem; }
.carousel-btn.next { right: 0.6rem; }
.dots {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: flex;
  gap: 0.35rem;
}
.dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  cursor: pointer;
}
.dot.is-on { background: #fff; }

.featured {
  background: var(--soft);
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
h1, h2, h3, .featured h1, .card h2, .card h3 { color: var(--graphite); }
.featured h1 {
  font-family: var(--sans);
  font-weight: 720;
  letter-spacing: -0.03em;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.6rem;
}
.featured .dek { margin: 0; color: #2c343c; }
.featured .meta { margin: 0.8rem 0 1rem; }
.cta {
  margin-top: auto;
  align-self: flex-start;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 680;
  font-size: 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: 8px;
}
.cta:hover { background: #1a2632; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 1rem;
}
.filter-btn, .cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #000;
  background: #e9ecef;
  color: #1c1f24;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 680;
  padding: 0.42rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}
.filter-btn:hover, .cat-pill:hover { background: #dde1e5; }
.filter-btn.is-on, .cat-pill.is-on {
  background: #e9ecef;
  color: #1c1f24;
  border-color: #000;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 #000;
}
.tick, .tick-lifestyle, .tick-travel, .tick-nature, .tick-history, .tick-technology, .tick-science, .tick-food, .tick-health, .tick-home, .tick-money {
  display: none;
}
.filter-empty { color: var(--muted); margin: 0.2rem 0 1rem; }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0;
}
.s-cat {
  display: inline-block;
  background: #e9ecef;
  color: #1c1f24;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 0.05rem 0.38rem;
  letter-spacing: 0.06em;
}
.card .kicker,
.story .kicker,
.meta-row .kicker,
#feat-kicker {
  display: inline;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--graphite);
}
.frame-copy .kicker {
  display: inline;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #8ec9ef;
}
.feat-labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.story-flag {
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  margin: 0;
  padding: 0.12rem 0.42rem;
  background: #d0212a;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plus-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a5b12;
  background: transparent;
  border: 0;
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.65rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0.15rem;
}
.kicker-line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
}
.kicker a { color: inherit; text-decoration: none; }
.meta {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.05rem;
  max-width: none;
}
.card a { text-decoration: none; display: block; }
.card-media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 0.7rem;
}
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}
.listing-grid .card-media {
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: var(--soft);
}
.listing-grid .card-media img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.listing-grid .card-media img.is-ready { opacity: 1; }
@media (scripting: none) {
  .listing-grid .card-media img { opacity: 1; }
}
.card h2, .card h3 {
  font-family: var(--sans);
  font-weight: 680;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0.25rem 0 0;
}
.card[hidden] { display: none; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 1.8rem 0 0.4rem;
}
.pager-ellipsis {
  min-width: 1.2rem;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--muted);
}
.pager a {
  min-width: 2.4rem;
  text-align: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}
.pager a[aria-current="page"] { background: var(--sky); color: #fff; }
.pager-arrow.is-off {
  min-width: 2.4rem;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.page-head { padding: 1.4rem 0 0.4rem; max-width: 40rem; }
.page-head h1, .prose h1, .story h1 {
  font-family: var(--sans);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.2rem 0 0.6rem;
}
.dek { font-size: 1.12rem; line-height: 1.45; margin: 0; }

.story { max-width: 42rem; margin: 0 auto; padding-bottom: 2rem; }
.story-head { padding-top: 1.2rem; }
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  margin: 0.9rem 0 0;
}
.byline a { color: inherit; }
.story figure.hero { margin: 1.1rem 0 0.4rem; }
.story figure.hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.story figcaption {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}
.story-body { font-size: 1.12rem; line-height: 1.65; }
.story-body h2, .prose h2, .panel h2 {
  font-family: var(--sans);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.4rem;
}
.lede { font-size: 1.22rem; }
.pull {
  margin: 1.4rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid #b7c9da;
}
.pull p {
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
}
.corrections-note { color: var(--muted); font-size: 0.95rem; }
.related { margin-top: 2rem; }
.related h2 { font-family: var(--sans); font-size: 1.1rem; margin: 0 0 0.8rem; }
.related .card-grid { max-width: none; }

.prose { max-width: 42rem; padding-bottom: 2rem; }
.prose p, .prose li { font-size: 1.08rem; }
.staff { list-style: none; padding: 0; }
.staff li { margin: 0 0 1.1rem; }
.staff h3 { margin: 0; font-family: var(--sans); }
.role { margin: 0.1rem 0; color: var(--muted); font-family: var(--sans); font-size: 0.88rem; }
.company { margin: 1rem 0; }
.company div { display: grid; grid-template-columns: 9rem 1fr; gap: 0.6rem; padding: 0.35rem 0; }
.company dt { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }
.company dd { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.field-error {
  margin: 0.18rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  color: #8a1c24;
}
.field-error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #8a1c24;
  box-shadow: 0 0 0 1px #8a1c24;
}
.form-row { margin: 0 0 0.8rem; }
.form-row label, .hint, .form-note {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #d5dbe1;
  background: #fff;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
textarea { min-height: 8rem; resize: vertical; }
button[type="submit"], .panel {
  font-family: var(--sans);
}
button[type="submit"] {
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-weight: 680;
  cursor: pointer;
}
.panel {
  background: var(--soft);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.panel h2:first-child { margin-top: 0; }
.desk-list { padding-left: 1.1rem; }
address { font-style: normal; }

.site-footer { margin-top: 1.6rem; color: #e7edf2; background: #1c1f24; }
.site-footer .brand { margin: 0 0 0.35rem; }
.site-footer .brand span { font-size: 1.2rem; color: #f7f4ef; }
.site-footer .mark { width: 28px; height: 28px; }
.footer-compact { padding: 0.85rem 0 1rem; }
.footer-row, .footer-legal, .footer-emails, .footer-copy {
  margin: 0.12rem 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 0.15rem 0.75rem; }
.footer-row a, .footer-emails a { text-decoration: none; font-weight: 550; }
.footer-row a:hover, .footer-emails a:hover { text-decoration: underline; }
.footer-emails { display: flex; flex-wrap: wrap; gap: 0.15rem 0.85rem; }
.footer-legal, .footer-copy { color: #c5d0da; font-weight: 450; }
.footer-row a, .footer-emails a { color: #f4f7fa; }
.group-label {
  font-family: var(--sans);
  font-size: 1.15rem;
  margin: 1.4rem 0 0.7rem;
}
.section-block { margin-bottom: 0.5rem; }

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: #1c1f24;
  z-index: 40;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  margin: 0.4rem 0 1rem;
}
.set-card {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
}
.set-card h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.topic-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.7rem;
  margin: 0 0 0.8rem;
}
.plan-line { margin: 0 0 0.4rem; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.upgrade-btn, .lock-subscribe {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
}
#set-unsubscribe, .delete-btn, .saved-list button {
  background: #fff;
  color: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-family: var(--sans);
  font-weight: 680;
  cursor: pointer;
}
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e4e8ec;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.saved-list a { text-decoration: none; }
.benefits-band {
  margin: 0.2rem 0 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--paper);
  border-radius: 14px;
}
.benefits-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.65rem 0.9rem;
}
.benefits-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 750;
}
.benefits-points span { white-space: nowrap; }
.account-shell {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  position: sticky;
  top: 0.75rem;
}
.account-nav button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-align: left;
  background: #fff;
  color: #1c1f24;
  border: 1px solid #d5dbe1;
  border-radius: 8px;
  padding: 0.48rem 0.65rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 680;
  cursor: pointer;
}
.nav-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}
.nav-ico,
.nav-ico * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.8rem;
  margin: 0 0 0.85rem;
}
.profile-head h2 { margin: 0; }
.profile-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.profile-status .upgrade-btn { padding: 0.55rem 0.95rem; }
.account-nav button[aria-current="true"] {
  background: #1c1f24;
  color: #fff;
  border-color: #1c1f24;
}
.account-jump { display: none; margin: 0 0 0.75rem; }
.account-panels { min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.choice-row button {
  min-width: 2.7rem;
  background: #fff;
  color: #1c1f24;
  border: 1px solid #1c1f24;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-family: var(--sans);
  font-weight: 750;
  cursor: pointer;
}
.choice-row button.is-on,
.choice-row button[aria-pressed="true"] {
  background: var(--sky);
  color: #fff;
  border-color: #185a88;
  box-shadow: inset 0 0 0 2px #fff;
}
.form-note.is-error { color: var(--ink); font-weight: 700; }
.form-note.is-ok { color: var(--sky); font-weight: 700; }
.card { position: relative; }
.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 750;
  border: 1px solid #1c1f24;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  cursor: pointer;
}
.save-star { width: 0.95rem; height: 0.95rem; display: block; flex: 0 0 auto; }
.save-star path {
  fill: none;
  stroke: #c4a046;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.save-btn.is-saved .save-star path { fill: #c4a046; stroke: #c4a046; }
.card .meta-row .save-btn,
.story .meta-row .save-btn {
  position: static;
  z-index: 1;
  flex: 0 0 auto;
  margin: 0;
}
.save-toast {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 80;
  background: #1c1f24;
  color: #fff;
  font-family: var(--sans);
  font-weight: 750;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.save-toast[hidden] { display: none; }
.save-pop {
  position: absolute;
  z-index: 60;
  width: 13.5rem;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(24, 39, 56, 0.16);
  padding: 0.7rem 0.75rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink);
}
.save-pop p { margin: 0 0 0.55rem; }
.save-pop[hidden] { display: none; }
.story-body.is-locked .preview-fade { position: relative; }
.story-body.is-locked .preview-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.2rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.plus-gate { text-align: center; padding: 0.2rem 0 1.2rem; }
.lock-mark { font-size: 1.7rem; margin: 0 0 0.35rem; line-height: 1; }
.ad-slot {
  margin: 1rem 0 1.2rem;
  padding: 0.9rem 1rem;
  background: #eef1f4;
  border: 1px dashed #c5ced6;
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  text-align: center;
}
.ad-slot p { margin: 0; }
.ad-slot[hidden] { display: none; }
.site-footer { margin-top: auto; }

.story-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
  color: #1c1f24;
  border: 1px solid #1c1f24;
  border-radius: 8px;
  padding: 0.38rem 0.7rem;
  cursor: pointer;
}
.plus-lock {
  width: 0.72rem;
  height: 0.72rem;
  display: block;
  flex: 0 0 auto;
}
html[data-plus="1"] .plus-lock { display: none; }
.tool-note {
  flex: 1 0 100%;
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink);
}
#gift-note { word-break: break-word; }
.listen-hint .upgrade-btn { margin-left: 0.35rem; }
.gift-banner {
  margin: 0.75rem 0 0;
  background: #e7f2fa;
  color: #1c1f24;
  border: 1px solid #185a88;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.may-like { margin-top: 2rem; }
.may-like h2 { font-family: var(--sans); font-size: 1.1rem; margin: 0 0 0.8rem; }
.archive-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.7rem 1rem;
  margin: 0 0 1.1rem;
}
.archive-tools label {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.archive-tools select { width: auto; min-width: 8.5rem; max-width: 100%; }
.archive-tools .check-row {
  flex-direction: row;
  align-items: center;
  margin: 0 0 0.45rem;
}
.archive-star { width: 0.9rem; height: 0.9rem; display: inline-block; vertical-align: -0.12em; margin-right: 0.28rem; }
.archive-star path { fill: #c4a046; stroke: none; }
.compare {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
}
.compare th, .compare td {
  border: 1px solid #1c1f24;
  padding: 0.4rem 0.6rem;
  text-align: left;
  background: #fff;
  color: #1c1f24;
}
.compare thead th { background: #e7f2fa; }
#recent-clear { margin-top: 0.8rem; }

@media print {
  .site-header, .site-footer, .progress, .ad-slot, .suggest, .story-tools,
  .save-btn, .plus-gate, .save-toast, .save-pop, .listen-pop, .account-menu,
  .subscribe, .login-link, .archive-link, .skip, .modal, .corrections-note,
  .may-like, .related, .gift-banner, .pager, .carousel-btn, .dots {
    display: none !important;
  }
  html, body { background: #fff !important; color: #111 !important; }
  .story { max-width: none; }
  a { color: #111; text-decoration: none; }
  img { max-width: 100%; }
  .story-body.is-locked .preview-fade::after { display: none; }
}

@media (max-width: 800px) {
  .hero-row, .contact-grid, .card-grid, .company div {
    grid-template-columns: 1fr;
  }
  .bar {
    position: relative;
    gap: 0.4rem;
    min-height: 3.6rem;
    padding: 0.55rem 0 0.35rem;
  }
  .bar-start { gap: 0.35rem; }
  .header-end > .archive-link,
  .header-end > .subscribe { display: none; }
  .benefit-grid { grid-template-columns: 1fr; }
  .burger { display: inline-flex; }
  .header-drawer:not([hidden]) { display: flex; }
  .site-header .brand { gap: 0.3rem; }
  .site-header .brand span { white-space: nowrap; }
  .site-header .mark { flex: 0 0 auto; }
  .header-end { gap: 0.3rem; }
  .plus-star { right: 0.85rem; width: 0.95rem; height: 0.95rem; }
  .plus-star svg { width: 0.55rem; height: 0.55rem; }
  .account-menu { min-width: min(78vw, 16rem); }
  .topic-list { grid-template-columns: 1fr; }
  .account-shell { grid-template-columns: 1fr; }
  .account-nav { display: none; }
  .account-jump { display: block; }
  .benefits-compact { flex-wrap: wrap; }
  .subscribe-layout,
  .pay-grid { grid-template-columns: 1fr; }
  .subscribe-plan { order: -1; position: static; }
  .frame img { height: 18rem; }
  .carousel { min-height: 0; }
  .featured { min-height: 0; }
}

@media (max-width: 420px) {
  .site-header .mark { width: 30px; height: 30px; }
  .site-header .brand span { font-size: 1.12rem; }
  .site-header .subscribe,
  .site-header .login-link {
    font-size: 0.78rem;
    padding: 0.32rem 0.48rem;
  }
  .site-header .avatar-face {
    width: 2.05rem;
    height: 2.05rem;
    min-width: 2.05rem;
    min-height: 2.05rem;
    flex-basis: 2.05rem;
    font-size: 0.92rem;
  }
  .site-header .search-toggle,
  .site-header .burger {
    width: 2.15rem;
    height: 2.15rem;
  }
  .plus-star { right: 0.72rem; }
}

html[data-font="s"] { font-size: 15px; }
html[data-font="m"] { font-size: 16px; }
html[data-font="l"] { font-size: 18.5px; }

html[data-theme="dark"] {
  --bg: #121417;
  --paper: #1c232b;
  --ink: #e8eef3;
  --graphite: #e8eef3;
  --muted: #b7c2cc;
  --soft: #24303a;
  --line: #343c45;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .set-card,
html[data-theme="dark"] .checkout,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .featured,
html[data-theme="dark"] .account-menu,
html[data-theme="dark"] .suggest,
html[data-theme="dark"] .save-pop,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .already-plus,
html[data-theme="dark"] .account-nav button {
  background: #1b2127;
  color: var(--ink);
}
html[data-theme="dark"] .account-nav button[aria-current="true"] {
  background: #e8eef3;
  color: #121417;
  border-color: #e8eef3;
}
html[data-theme="dark"] .featured .dek,
html[data-theme="dark"] .dek { color: #d5dee6; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #121417;
  color: var(--ink);
  border-color: #3c4650;
}
html[data-theme="dark"] .choice-row button {
  background: #121417;
  color: var(--ink);
  border-color: #c5d0db;
}
html[data-theme="dark"] .choice-row button.is-on {
  background: var(--sky);
  color: #fff;
  border-color: #185a88;
}
html[data-theme="dark"] .story-body.is-locked .preview-fade::after {
  background: linear-gradient(to bottom, rgba(18, 20, 23, 0), #121417);
}
html[data-theme="dark"] .cat-pill,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .s-cat {
  background: #e9ecef;
  color: #1c1f24;
  border-color: #000;
}
html[data-theme="dark"] .card .kicker,
html[data-theme="dark"] .story .kicker,
html[data-theme="dark"] .meta-row .kicker,
html[data-theme="dark"] #feat-kicker {
  background: transparent;
  border: 0;
  color: var(--graphite);
}
html[data-theme="dark"] .plus-label { color: #f0d78c; }
html[data-theme="dark"] .menu-plan { color: #b7c2cc; }
html[data-theme="dark"] .frame-copy .kicker {
  background: transparent;
  border: 0;
  color: #8ec9ef;
}
html[data-theme="dark"] .suggest .s-cat,
html[data-theme="dark"] .search-results .s-cat {
  background: transparent;
  border: 0;
  color: #b7c2cc;
}
html[data-theme="dark"] .field-error { color: #f0b4b8; }
html[data-theme="dark"] #cancel-confirm {
  background: #121417;
  color: var(--ink);
  border-color: #c5d0db;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer {
  background: #1c1f24;
  color: #e7edf2;
  border: 0;
  box-shadow: none;
}
html[data-theme="dark"] .site-footer .brand span,
html[data-theme="dark"] .site-header .brand span { color: #f7f4ef; }
html[data-theme="dark"] .footer-legal,
html[data-theme="dark"] .footer-copy { color: #c5d0da; }
html[data-theme="dark"] .footer-row a,
html[data-theme="dark"] .footer-emails a { color: #f4f7fa; }
html[data-theme="dark"] .login-link {
  color: #f7f4ef;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}
html[data-theme="dark"] .top-search input {
  background: #e7f2fa;
  color: #1c1f24;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
html[data-theme="dark"] .progress { background: #8ec9ef; }
html[data-theme="dark"] .set-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .benefits-band { border-color: #3c4650; }
html[data-theme="dark"] .set-card { border-color: #3c4650; }
html[data-theme="dark"] button,
html[data-theme="dark"] .cta,
html[data-theme="dark"] .upgrade-btn,
html[data-theme="dark"] .lock-subscribe,
html[data-theme="dark"] .pager a,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .cat-pill {
  border-color: #d5dee6;
}
html[data-theme="dark"] button[type="submit"],
html[data-theme="dark"] .auth-form button,
html[data-theme="dark"] .cta,
html[data-theme="dark"] #cancel-keep {
  background: #e8eef3;
  color: #121417;
  border: 1px solid #e8eef3;
}
html[data-theme="dark"] .upgrade-btn,
html[data-theme="dark"] .lock-subscribe,
html[data-theme="dark"] .subscribe,
html[data-theme="dark"] .pager a[aria-current="page"] {
  background: #1f6fa8;
  color: #fff;
  border-color: #8ec9ef;
}
html[data-theme="dark"] #set-unsubscribe,
html[data-theme="dark"] .delete-btn,
html[data-theme="dark"] .saved-list button,
html[data-theme="dark"] #cancel-confirm,
html[data-theme="dark"] .logout-btn {
  background: #1b2127;
  color: #f4f7fa;
  border: 1px solid #d5dee6;
}
html[data-theme="dark"] .menu-link { color: #f4f7fa; }
html[data-theme="dark"] .account-nav button { border-color: #d5dee6; }
html[data-theme="dark"] .choice-row button.is-on,
html[data-theme="dark"] .choice-row button[aria-pressed="true"] {
  background: #1f6fa8;
  color: #fff;
  border-color: #8ec9ef;
  box-shadow: inset 0 0 0 2px #f4f7fa;
}
html[data-theme="dark"] .carousel-btn {
  background: rgba(255, 255, 255, 0.94);
  color: #121417;
}
html[data-theme="dark"] .pager a {
  background: #24303a;
  color: #f4f7fa;
}
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .cat-pill {
  border-color: #fff;
}
html[data-theme="dark"] .filter-btn.is-on,
html[data-theme="dark"] .cat-pill.is-on {
  border-color: #fff;
  box-shadow: inset 0 -2px 0 #fff;
}
html[data-theme="dark"] .suggest .s-see-all,
html[data-theme="dark"] .form-note.is-ok { color: #8ec9ef; }
html[data-theme="dark"] .save-btn {
  background: #1b2127;
  color: #f4f7fa;
  border: 1px solid #f4f7fa;
}
html[data-theme="dark"] .plus-lock { color: #f4f7fa; }
html[data-theme="dark"] .ad-slot {
  background: #1b2127;
  border-color: #5c6770;
  color: #d5dee6;
}
html[data-theme="dark"] .paypal-btn {
  background: transparent;
  background-color: transparent;
  color: transparent;
  border: 0;
  box-shadow: none;
}
html[data-theme="dark"] .tool-btn {
  background: #1b2127;
  color: #f4f7fa;
  border: 1px solid #d5dee6;
}
html[data-theme="dark"] .gift-banner {
  background: #1b2127;
  color: #e8eef3;
  border-color: #8ec9ef;
}
html[data-theme="dark"] .compare th,
html[data-theme="dark"] .compare td {
  background: #1b2127;
  color: #e8eef3;
  border-color: #d5dee6;
}
html[data-theme="dark"] .compare thead th { background: #24303a; }
html[data-theme="dark"] .archive-link { color: #f7f4ef; }
html[data-theme="dark"] .cta:hover,
html[data-theme="dark"] button[type="submit"]:hover,
html[data-theme="dark"] .auth-form button:hover,
html[data-theme="dark"] #cancel-keep:hover {
  background: #fff;
  color: #121417;
}
html[data-theme="dark"] .saved-list li { border-bottom-color: #3c4650; }
html[data-theme="dark"] .save-pop { border-color: #3c4650; color: #e8eef3; }
html[data-theme="dark"] .s-label { color: #b7c2cc; }

.promo-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0.75rem auto 0.15rem;
  padding: 0.55rem 0.85rem;
  background: #f4f9fc;
  border: 1px solid #c5d8e8;
  border-radius: 12px;
  color: #1c1f24;
}
.promo-banner[hidden] { display: none; }
html[data-plus="1"] .promo-banner { display: none; }
main:has([data-subscribe-page]) .promo-banner { display: none; }
.promo-kicker, .promo-line {
  margin: 0;
  font-family: var(--sans);
  color: #1c1f24;
}
.promo-kicker { font-size: 0.82rem; font-weight: 750; white-space: nowrap; }
.promo-line { flex: 1; font-size: 0.98rem; min-height: 1.35em; }
.promo-line.is-on { animation: promo-fade 2.8s ease; }
@keyframes promo-fade {
  0% { opacity: 0.2; }
  16% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0.2; }
}
.promo-upgrade { animation: promo-pulse 1.8s ease-in-out infinite; }
@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 111, 168, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(31, 111, 168, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-upgrade, .promo-line,
  .top-search.is-open .search-pop,
  .listing-grid .card-media img { animation: none; transition: none; }
}
@media (max-width: 640px) {
  .promo-banner { flex-wrap: wrap; }
  .promo-line { flex-basis: 100%; }
}

.benefit-block { margin: 0.85rem 0 1rem; }
.benefit-block h3 {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 0 0 0.55rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.benefit-tile {
  border: 2px solid #1f6fa8;
  border-radius: 12px;
  padding: 0.75rem 0.8rem 0.85rem;
  background: #f4f9fc;
  color: #1c1f24;
}
.benefit-tile h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  margin: 0.35rem 0 0.25rem;
}
.benefit-tile p, .benefit-count {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.4;
  color: #1c1f24;
}
.tile-ico { width: 22px; height: 22px; color: #1f6fa8; display: block; }
.tile-ico, .tile-ico * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile-label {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
}
.benefit-tile select { width: 100%; margin-top: 0.25rem; }
.tile-btn {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  background: #fff;
  color: #1c1f24;
  border: 1px solid #1f6fa8;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.84rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.benefit-links { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.benefit-links a { display: block; margin: 0.28rem 0; font-family: var(--sans); font-size: 0.86rem; }
.plus-benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}
#plus-actions.benefit-block { margin: 0.4rem 0 0.15rem; }
#panel-subscription > .plan-actions { margin-top: 0.15rem; }
.plus-articles { grid-column: 1 / -1; }
.plus-article-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.1rem;
  margin-top: 0.2rem;
}
.plus-benefit-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}
.plus-gift {
  height: auto;
  align-self: start;
  width: 100%;
}
.plus-compact {
  height: auto;
  align-self: stretch;
  width: 100%;
}
.plus-compact {
  padding: 0.55rem 0.65rem 0.6rem;
}
.plus-compact h3 { margin: 0 0 0.15rem; }
.plus-compact p { margin: 0; }
.plus-compact .tile-btn {
  margin-top: 0.4rem;
  padding: 0.32rem 0.5rem;
}
.plus-compact .benefit-links { margin: 0.15rem 0 0; }
.plus-compact .benefit-links a { margin: 0.12rem 0; line-height: 1.3; }
.avatar-field { margin: 0 0 1rem; }
.profile-avatar-preview { margin-bottom: 0.55rem; }
.avatar-picker { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.35rem 0 0.65rem; }
.avatar-choice {
  width: 4.6rem;
  height: 4.6rem;
  padding: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  overflow: hidden;
  background: #d5dde4;
  cursor: pointer;
}
.avatar-choice img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-choice.is-on {
  border-color: #1f6fa8;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #1f6fa8;
}
.text-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #1f6fa8;
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
html[data-theme="dark"] .promo-banner {
  background: #1b2127;
  border-color: #3c4650;
  color: #e8eef3;
}
html[data-theme="dark"] .promo-kicker,
html[data-theme="dark"] .promo-line { color: #e8eef3; }
html[data-theme="dark"] .benefit-tile {
  background: #12181e;
  color: #e8eef3;
  border-color: #8ec9ef;
}
html[data-theme="dark"] .benefit-tile p,
html[data-theme="dark"] .benefit-count,
html[data-theme="dark"] .benefit-tile h3 { color: #e8eef3; }
html[data-theme="dark"] .tile-ico { color: #8ec9ef; }
html[data-theme="dark"] .tile-btn,
html[data-theme="dark"] .avatar-choice {
  background: #1b2127;
  color: #e8eef3;
  border-color: transparent;
}
html[data-theme="dark"] .tile-btn { border-color: #8ec9ef; }
html[data-theme="dark"] .avatar-choice.is-on {
  border-color: #8ec9ef;
  box-shadow: 0 0 0 2px #1b2127, 0 0 0 5px #8ec9ef;
}
html[data-theme="dark"] .text-btn { color: #8ec9ef; background: transparent; }
@media (max-width: 1000px) and (min-width: 801px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .benefit-grid,
  .plus-benefit-layout { grid-template-columns: 1fr; }
  .plus-articles { grid-column: auto; }
}
@media (max-width: 520px) {
  .plus-article-links { grid-template-columns: 1fr; }
}
