@font-face {
  font-family: "SB2046 Fraunces";
  src: url("../fonts/fraunces-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "SB2046 Nunito Sans";
  src: url("../fonts/nunito-sans-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

body.sb2046-article-theme {
  --sb2046-ink: #1d1630;
  --sb2046-night: #0f1026;
  --sb2046-night-2: #181331;
  --sb2046-plum: #2b183e;
  --sb2046-plum-2: #432450;
  --sb2046-paper: #fffaf0;
  --sb2046-cream: #f8f0df;
  --sb2046-cream-deep: #ebdcc4;
  --sb2046-gold: #e5b95f;
  --sb2046-gold-soft: #f6d894;
  --sb2046-gold-deep: #a76e26;
  --sb2046-mint: #78c8bb;
  --sb2046-lavender: #b8a9d6;
  --sb2046-coral: #e58572;
  --sb2046-rose: #eeb5bf;
  --sb2046-display: "SB2046 Fraunces", Fraunces, Georgia, serif;
  --sb2046-body: "SB2046 Nunito Sans", "Nunito Sans", Arial, sans-serif;
  --sb2046-shell: min(1180px, calc(100% - clamp(32px, 7vw, 96px)));
  --sb2046-reading: min(760px, calc(100% - 36px));
  margin: 0;
  overflow-x: clip;
  color: var(--sb2046-ink);
  background: var(--sb2046-cream);
  font-family: var(--sb2046-body);
  font-size: 18px;
  line-height: 1.7;
}

body.sb2046-article-theme :where(.sb2046-header, .sb-article-main, .sb-editorial-footer, .sb2046-signin),
body.sb2046-article-theme :where(.sb2046-header, .sb-article-main, .sb-editorial-footer, .sb2046-signin) :where(p, a, span, strong, em, small, li, label, input, button, textarea, summary, figcaption, dt, dd, th, td) {
  font-family: var(--sb2046-body);
}

body.sb2046-article-theme :where(.sb2046-header, .sb-article-main, .sb-editorial-footer, .sb2046-signin) :where(h1, h2, h3, h4, h5, h6),
body.sb2046-article-theme .sb2046-wordmark__text {
  font-family: var(--sb2046-display);
}

body.sb2046-article-theme :focus-visible {
  outline: 3px solid #19635e;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--sb2046-paper);
}

body.sb2046-article-theme .sb-skip-link {
  z-index: 100000;
  border: 1px solid var(--sb2046-gold-soft);
  border-radius: 8px;
  color: var(--sb2046-night) !important;
  background: var(--sb2046-gold-soft);
  font-family: var(--sb2046-body);
  font-weight: 900;
}

/* Header ------------------------------------------------------------- */
body.sb2046-article-theme .sb2046-header {
  position: relative;
  z-index: 1000;
  top: auto;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(246, 216, 148, 0.34);
  color: var(--sb2046-paper);
  background:
    radial-gradient(circle at 9% 32%, rgba(246, 216, 148, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 28%, rgba(184, 169, 214, 0.16) 0 1px, transparent 2px),
    linear-gradient(110deg, var(--sb2046-night) 0%, var(--sb2046-night-2) 58%, #241634 100%);
  box-shadow: 0 12px 34px rgba(15, 16, 38, 0.24);
  backdrop-filter: none;
}

body.sb2046-article-theme .sb2046-header__shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--sb2046-shell);
  min-height: 88px;
  margin-inline: auto;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

body.sb2046-article-theme .sb2046-header__stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(circle at 4% 70%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 16% 18%, var(--sb2046-gold-soft) 0 1px, transparent 1.7px),
    radial-gradient(circle at 37% 62%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 61% 19%, var(--sb2046-lavender) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 70%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 95% 26%, var(--sb2046-rose) 0 1px, transparent 1.7px);
}

body.sb2046-article-theme .sb2046-header__lights {
  position: absolute;
  z-index: 1;
  top: 0;
  right: clamp(18px, 4vw, 72px);
  left: clamp(18px, 4vw, 72px);
  display: flex;
  justify-content: space-around;
  height: 17px;
  border-top: 1px solid rgba(246, 216, 148, 0.47);
  pointer-events: none;
}

body.sb2046-article-theme .sb2046-header__lights span {
  display: block;
  width: 5px;
  height: 8px;
  border-radius: 0 0 8px 8px;
  background: var(--sb2046-gold-soft);
  box-shadow: 0 3px 12px 3px rgba(246, 216, 148, 0.38);
}

body.sb2046-article-theme .sb2046-header__lights span:nth-child(3n + 2) {
  background: var(--sb2046-mint);
  box-shadow: 0 3px 12px 3px rgba(120, 200, 187, 0.32);
}

body.sb2046-article-theme .sb2046-header__lights span:nth-child(3n) {
  background: var(--sb2046-rose);
  box-shadow: 0 3px 12px 3px rgba(238, 181, 191, 0.3);
}

body.sb2046-article-theme .sb2046-wordmark {
  display: inline-flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  color: var(--sb2046-paper) !important;
  line-height: 1;
  text-decoration: none;
}

body.sb2046-article-theme .sb2046-wordmark__moon {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  margin-right: 10px;
  overflow: hidden;
  border: 1px solid rgba(246, 216, 148, 0.65);
  border-radius: 50%;
  background: var(--sb2046-gold-soft);
  box-shadow: 0 0 19px rgba(229, 185, 95, 0.36);
}

body.sb2046-article-theme .sb2046-wordmark__moon::after {
  position: absolute;
  top: -5px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sb2046-night);
  content: "";
}

body.sb2046-article-theme .sb2046-wordmark__text {
  color: var(--sb2046-paper);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 650;
  letter-spacing: -0.045em;
}

body.sb2046-article-theme .sb2046-wordmark__suffix {
  align-self: flex-end;
  margin: 0 0 10px 2px;
  color: var(--sb2046-gold-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px clamp(13px, 1.7vw, 23px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 6px 0;
  color: #f4edf6;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--sb2046-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list a:hover::after,
body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

body.sb2046-article-theme .sb2046-nav__signin a {
  color: var(--sb2046-gold-soft) !important;
}

body.sb2046-article-theme .sb2046-nav__purchase {
  display: none;
}

body.sb2046-article-theme .sb2046-header__actions {
  justify-self: end;
}

body.sb2046-article-theme .sb2046-header__purchase,
body.sb2046-article-theme .sb2046-invitation__button,
body.sb2046-article-theme .sb2046-footer__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid #ffe7a5;
  border-radius: 8px;
  color: #27182c !important;
  background: linear-gradient(180deg, #ffe8a5 0%, #f3c86e 56%, #e5ac48 100%);
  box-shadow: 0 10px 25px rgba(229, 185, 95, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-family: var(--sb2046-display) !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

body.sb2046-article-theme :where(.sb2046-header__purchase, .sb2046-invitation__button, .sb2046-footer__button):hover {
  color: #27182c !important;
  box-shadow: 0 14px 30px rgba(229, 185, 95, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

body.sb2046-article-theme .sb2046-menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(246, 216, 148, 0.52);
  border-radius: 8px;
  color: var(--sb2046-paper);
  background: rgba(255, 255, 255, 0.06);
}

body.sb2046-article-theme .sb2046-menu-toggle .sb-editorial-menu-toggle__icon i {
  background: currentColor;
}

/* Article masthead --------------------------------------------------- */
body.sb2046-reading-room .sb-article-main {
  min-width: 0;
  overflow: clip;
  color: var(--sb2046-ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(43, 24, 62, 0.018) 35px 36px),
    var(--sb2046-paper);
}

body.sb2046-reading-room .sb-reading-article {
  min-width: 0;
}

body.sb2046-reading-room .sb-article-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(34px, 5vw, 64px);
  color: var(--sb2046-paper);
  background:
    radial-gradient(ellipse at 50% 105%, rgba(184, 169, 214, 0.2) 0%, transparent 48%),
    linear-gradient(160deg, var(--sb2046-night) 0%, #1b1434 55%, var(--sb2046-plum) 100%);
}

body.sb2046-reading-room .sb-article-header::after {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -70px;
  left: -4%;
  height: 125px;
  border-radius: 50% 50% 0 0;
  background: var(--sb2046-paper);
  content: "";
}

body.sb2046-reading-room .sb2046-article-sky {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

body.sb2046-reading-room .sb2046-article-sky__stars {
  position: absolute;
  inset: 0;
  opacity: 0.86;
  background-image:
    radial-gradient(circle at 7% 14%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 18% 43%, var(--sb2046-gold-soft) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 29% 12%, var(--sb2046-lavender) 0 1px, transparent 1.7px),
    radial-gradient(circle at 43% 35%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 58% 9%, var(--sb2046-rose) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 39%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 86% 16%, var(--sb2046-gold-soft) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 94% 49%, var(--sb2046-mint) 0 1px, transparent 1.7px);
  background-size: 270px 190px, 340px 260px, 390px 230px, 310px 220px, 410px 270px, 280px 190px, 370px 240px, 430px 250px;
}

body.sb2046-reading-room .sb2046-article-sky__moon {
  position: absolute;
  top: clamp(38px, 7vw, 88px);
  right: clamp(22px, 8vw, 132px);
  width: clamp(75px, 11vw, 155px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(246, 216, 148, 0.55);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff2bc, var(--sb2046-gold));
  box-shadow: 0 0 56px rgba(229, 185, 95, 0.24);
  opacity: 0.26;
}

body.sb2046-reading-room .sb2046-article-sky__moon::after {
  position: absolute;
  top: -12%;
  left: 36%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1431;
  content: "";
}

body.sb2046-reading-room .sb2046-article-sky__cloud {
  position: absolute;
  width: 250px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.055);
  filter: blur(1px);
}

body.sb2046-reading-room .sb2046-article-sky__cloud::before,
body.sb2046-reading-room .sb2046-article-sky__cloud::after {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  content: "";
}

body.sb2046-reading-room .sb2046-article-sky__cloud::before { left: 42px; width: 82px; height: 82px; }
body.sb2046-reading-room .sb2046-article-sky__cloud::after { right: 35px; width: 112px; height: 112px; }
body.sb2046-reading-room .sb2046-article-sky__cloud--one { top: 34%; left: -90px; }
body.sb2046-reading-room .sb2046-article-sky__cloud--two { right: -100px; bottom: 21%; transform: scale(0.8); }

body.sb2046-reading-room .sb-article-shell {
  position: relative;
  z-index: 2;
  width: var(--sb2046-reading);
  min-width: 0;
}

body.sb2046-reading-room .sb-article-header .sb-article-shell {
  text-align: center;
}

body.sb2046-reading-room .sb2046-article-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--sb2046-gold-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.sb2046-reading-room .sb2046-article-label span {
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(246, 216, 148, 0.5);
}

body.sb2046-reading-room .sb-article-kicker {
  display: flex;
  width: fit-content;
  min-height: 36px;
  margin-inline: auto;
  justify-content: center;
  color: var(--sb2046-lavender);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration-color: rgba(184, 169, 214, 0.6);
  text-transform: uppercase;
}

body.sb2046-reading-room .sb-article-header h1 {
  max-width: 980px;
  margin: 13px auto 0;
  color: #fffaf0;
  font-family: var(--sb2046-display);
  font-size: clamp(2.65rem, 5.8vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 0.99;
  text-wrap: balance;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
}

body.sb2046-reading-room .sb-article-deck {
  max-width: 730px;
  margin: 24px auto 0;
  color: #e9e1ef;
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  line-height: 1.6;
}

body.sb2046-reading-room .sb-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 11px;
  margin-top: 22px;
  color: #d8cfe2;
  font-size: 0.86rem;
  font-weight: 700;
}

body.sb2046-reading-room .sb-article-meta i {
  color: var(--sb2046-gold);
}

body.sb2046-reading-room .sb2046-article-promise {
  display: inline-flex;
  max-width: 690px;
  align-items: center;
  gap: 9px;
  margin: 23px auto 0;
  padding: 9px 14px;
  border: 1px solid rgba(120, 200, 187, 0.3);
  border-radius: 999px;
  color: #dff7f1;
  background: rgba(120, 200, 187, 0.08);
  font-size: 0.83rem;
  font-weight: 750;
  line-height: 1.35;
}

body.sb2046-reading-room .sb2046-article-promise > span {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--sb2046-night);
  background: var(--sb2046-mint);
  font-size: 0.72rem;
  font-weight: 1000;
}

body.sb2046-reading-room .sb-article-featured {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 36px));
  margin: clamp(42px, 6vw, 68px) auto 0;
  padding: 6px;
  border: 1px solid rgba(246, 216, 148, 0.72);
  border-radius: clamp(44px, 8vw, 115px) clamp(44px, 8vw, 115px) 24px 24px;
  background: linear-gradient(145deg, rgba(246, 216, 148, 0.22), rgba(184, 169, 214, 0.16));
  box-shadow: 0 28px 75px rgba(15, 16, 38, 0.32);
}

body.sb2046-reading-room .sb-article-featured img {
  width: 100%;
  max-height: 620px;
  border-radius: clamp(38px, 7.5vw, 108px) clamp(38px, 7.5vw, 108px) 18px 18px;
  object-fit: cover;
  box-shadow: none;
}

/* Reading surface ---------------------------------------------------- */
body.sb2046-reading-room .sb-article-shell--body {
  padding: clamp(48px, 7vw, 86px) 0 clamp(62px, 8vw, 100px);
}

body.sb2046-reading-room .sb-affiliate-disclosure {
  display: grid;
  margin: 0 0 42px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 17px 19px;
  border: 1px solid #d7c5a5;
  border-radius: 15px;
  color: #433b43;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 10px 30px rgba(43, 24, 62, 0.055);
}

body.sb2046-reading-room .sb-affiliate-disclosure > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--sb2046-gold-deep);
  border-radius: 50%;
  color: var(--sb2046-plum);
  background: var(--sb2046-gold-soft);
  font-family: var(--sb2046-display);
  font-weight: 800;
}

body.sb2046-reading-room .sb-affiliate-disclosure p {
  margin: 0;
  color: #433b43;
  font-size: 0.87rem;
  line-height: 1.58;
}

body.sb2046-reading-room .sb-article-content {
  min-width: 0;
  color: var(--sb2046-ink);
  font-family: var(--sb2046-body);
  font-size: clamp(1.04rem, 1.2vw, 1.1rem);
  line-height: 1.78;
}

body.sb2046-reading-room .sb-article-content :where(p, li, dt, dd, figcaption, th, td, a, strong, em, span) {
  font-family: var(--sb2046-body);
}

body.sb2046-reading-room .sb-article-content .sbds-article :where(p, li, dt, dd, figcaption, th, td, a, strong, em, span, label, button, summary),
body.sb2046-reading-room .sb-article-content .sb-sources-disclosure :where(p, li, a, strong, span, summary) {
  font-family: var(--sb2046-body) !important;
}

body.sb2046-reading-room .sb-article-content :where(h2, h3, h4, h5, h6) {
  color: var(--sb2046-plum);
  font-family: var(--sb2046-display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
  scroll-margin-top: 24px;
  text-wrap: balance;
}

body.sb2046-reading-room .sb-article-content .sbds-article :where(h2, h3, h4, h5, h6) {
  font-family: var(--sb2046-display) !important;
}

body.sb2046-reading-room .sb-article-content h2 {
  position: relative;
  margin: 2.15em 0 0.68em;
  padding-top: 18px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
}

body.sb2046-reading-room .sb-article-content h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sb2046-gold), var(--sb2046-coral));
  content: "";
}

body.sb2046-reading-room .sb-article-content h3 {
  margin: 1.8em 0 0.58em;
  font-size: clamp(1.5rem, 2.8vw, 2.12rem);
}

body.sb2046-reading-room .sb-article-content h4 {
  margin: 1.55em 0 0.52em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

body.sb2046-reading-room .sb-article-content p {
  margin: 0 0 1.25em;
}

body.sb2046-reading-room .sb-article-content :where(ul, ol) {
  margin-block: 0 1.35em;
  padding-left: 1.32em;
}

body.sb2046-reading-room .sb-article-content li {
  margin: 0.46em 0;
  padding-left: 0.12em;
}

body.sb2046-reading-room .sb-article-content li::marker {
  color: var(--sb2046-gold-deep);
  font-weight: 900;
}

body.sb2046-reading-room .sb-article-content a:not([class]) {
  color: #57356d;
  text-decoration-color: rgba(87, 53, 109, 0.56);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.sb2046-reading-room .sb-article-content a:not([class]):hover {
  color: #321a48;
  text-decoration-thickness: 2px;
}

body.sb2046-reading-room .sb-article-content blockquote {
  position: relative;
  margin: 2em 0;
  padding: 25px clamp(22px, 4vw, 34px) 25px clamp(30px, 5vw, 44px);
  border: 0;
  border-left: 4px solid var(--sb2046-gold);
  border-radius: 0 18px 18px 0;
  color: #33233e;
  background: linear-gradient(135deg, #f4ead8, #f2e9f3);
}

body.sb2046-reading-room .sb-article-content blockquote::before {
  position: absolute;
  top: 6px;
  left: 11px;
  color: rgba(43, 24, 62, 0.18);
  font-family: var(--sb2046-display);
  font-size: 3.2rem;
  line-height: 1;
  content: "“";
}

body.sb2046-reading-room .sb-article-content :where(img, video, iframe, embed, object, svg) {
  max-width: 100%;
}

body.sb2046-reading-room .sb-article-content :where(iframe[src*="youtube"], iframe[src*="youtu.be"], iframe[src*="vimeo"], .wp-block-embed__wrapper iframe, video) {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

body.sb2046-reading-room .sb-article-content :where(figure, .wp-block-image, .wp-block-embed) {
  min-width: 0;
  max-width: 100%;
}

body.sb2046-reading-room .sb-article-content figcaption {
  color: #5d5360;
  font-size: 0.84rem;
  line-height: 1.5;
}

body.sb2046-reading-room .sb-article-content :where(pre, .wp-block-code) {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid #d7c7b3;
  border-radius: 12px;
  background: #f3eadc;
  -webkit-overflow-scrolling: touch;
}

body.sb2046-reading-room .sb-article-content code,
body.sb2046-reading-room .sb-article-content pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: normal;
}

body.sb2046-reading-room .sb-article-content :where(.wp-block-table, .sbds-table-wrap) {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 13px;
  -webkit-overflow-scrolling: touch;
}

body.sb2046-reading-room .sb-article-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: var(--sb2046-paper);
}

body.sb2046-reading-room .sb-article-content :where(th, td) {
  padding: 12px 14px;
  border: 1px solid #d8c9b8;
  text-align: left;
  vertical-align: top;
}

body.sb2046-reading-room .sb-article-content th {
  color: var(--sb2046-plum);
  background: #f0e3cf;
  font-weight: 900;
}

body.sb2046-reading-room .sb-article-content :where(.sbds-article, [data-sb-component], [class*="sleepbaby-"]) {
  min-width: 0;
}

/* Repair legacy 100vw ribbons without changing stored article markup. */
body.sb2046-reading-room .sb-article-content :where(figure, section, div)[style*="50% - 50vw"],
body.sb2046-reading-room .sb-article-content :where(figure, section, div)[style*="50vw"] {
  left: auto !important;
  width: min(920px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  margin-right: 0 !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
}

body.sb2046-reading-room .sb-article-content [data-sb-contrast-role="dark-surface"] {
  color: #fffaf0 !important;
  background-color: var(--sb2046-plum) !important;
}

body.sb2046-reading-room .sb-article-content [data-sb-contrast-role="dark-surface"] :where(h2, h3, h4, p, li, strong, span) {
  color: #fffaf0 !important;
  -webkit-text-fill-color: currentColor !important;
}

body.sb2046-reading-room .sb-article-content [data-sb-contrast-role="dark-surface"] a {
  color: var(--sb2046-gold-soft) !important;
}

/* Keep native commerce recommendations readable; hrefs stay untouched. */
body.sb2046-reading-room .entry-content .sabb-box,
body.sb2046-reading-room .entry-content .sbua-amazon-section {
  border-color: #cfb98e !important;
  color: var(--sb2046-ink) !important;
  background: linear-gradient(145deg, #fffaf0, #f3eadc) !important;
  box-shadow: 0 18px 44px rgba(43, 24, 62, 0.09) !important;
}

body.sb2046-reading-room .entry-content :where(.sabb-box, .sbua-amazon-section) :where(h2, h3, h4) {
  color: var(--sb2046-plum) !important;
  font-family: var(--sb2046-display) !important;
}

body.sb2046-reading-room .entry-content :where(.sabb-box, .sbua-amazon-section) :where(p, li, strong, span) {
  color: var(--sb2046-ink) !important;
  font-family: var(--sb2046-body) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Mid-article conversion --------------------------------------------- */
body.sb2046-reading-room .sb2046-invitation {
  position: relative;
  isolation: isolate;
  width: min(920px, calc(100vw - 36px));
  max-width: calc(100vw - 36px);
  margin: clamp(54px, 8vw, 82px) 0 clamp(56px, 8vw, 86px) 50%;
  overflow: hidden;
  border: 1px solid rgba(229, 185, 95, 0.74);
  border-radius: 26px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 90% 18%, rgba(246, 216, 148, 0.13) 0 12%, transparent 34%),
    linear-gradient(145deg, var(--sb2046-night) 0%, #241638 64%, var(--sb2046-plum-2) 100%);
  box-shadow: 0 28px 70px rgba(29, 22, 48, 0.2);
  transform: translateX(-50%);
}

body.sb2046-reading-room .sb2046-invitation::before,
body.sb2046-reading-room .sb2046-invitation::after {
  position: absolute;
  z-index: 2;
  inset: 8px;
  border: 1px solid rgba(246, 216, 148, 0.28);
  border-radius: 19px;
  content: "";
  pointer-events: none;
}

body.sb2046-reading-room .sb2046-invitation::after {
  inset: 13px;
  border-color: rgba(184, 169, 214, 0.13);
  border-radius: 15px;
}

body.sb2046-reading-room .sb2046-invitation__copy {
  position: relative;
  z-index: 3;
  max-width: 690px;
  padding: clamp(34px, 6vw, 62px);
}

body.sb2046-reading-room .sb2046-invitation__sky {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  pointer-events: none;
}

body.sb2046-reading-room .sb2046-invitation__sky > span {
  position: absolute;
  top: 32px;
  right: 42px;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--sb2046-gold-soft);
  box-shadow: 0 0 42px rgba(229, 185, 95, 0.22);
  opacity: 0.22;
}

body.sb2046-reading-room .sb2046-invitation__sky > span::after {
  position: absolute;
  top: -8px;
  left: 34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #241638;
  content: "";
}

body.sb2046-reading-room .sb2046-invitation__sky i,
body.sb2046-reading-room .sb2046-invitation__sky b {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 38px 32px 0 var(--sb2046-gold-soft), -25px 62px 0 var(--sb2046-lavender), 18px 104px 0 #fff;
}

body.sb2046-reading-room .sb2046-invitation__sky i { top: 24%; right: 23%; }
body.sb2046-reading-room .sb2046-invitation__sky b { right: 41%; bottom: 22%; transform: scale(0.7); }

body.sb2046-reading-room .sb2046-invitation__eyebrow {
  margin: 0 0 11px;
  color: var(--sb2046-gold-soft);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.sb2046-reading-room .sb2046-invitation h2 {
  margin: 0;
  padding: 0;
  color: #fffaf0;
  font-family: var(--sb2046-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

body.sb2046-reading-room .sb2046-invitation h2::before {
  display: none;
}

body.sb2046-reading-room .sb2046-invitation__copy > p:not(.sb2046-invitation__eyebrow, .sb2046-invitation__note) {
  max-width: 620px;
  margin: 18px 0 0;
  color: #e8e1ef;
  font-size: 1.02rem;
  line-height: 1.65;
}

body.sb2046-reading-room .sb2046-invitation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 26px;
  padding: 0;
  list-style: none;
}

body.sb2046-reading-room .sb2046-invitation li {
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(120, 200, 187, 0.28);
  border-radius: 999px;
  color: #dff7f1;
  background: rgba(120, 200, 187, 0.075);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.25;
}

body.sb2046-reading-room .sb2046-invitation__note {
  margin: 11px 0 0;
  color: #cdc3d6;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Article-to-home continuation seam --------------------------------- */
body.sb2046-reading-room .sb2046-continuation-handoff {
  display: none;
}

body.sb2046-reading-room.has-sbgf-article-workshop .sb2046-continuation-handoff {
  position: relative;
  display: block;
  min-height: clamp(190px, 22vw, 285px);
  overflow: hidden;
  color: var(--sb2046-paper);
  background: linear-gradient(180deg, var(--sb2046-paper) 0%, #e9ddcc 16%, #5b4861 54%, var(--sb2046-night) 100%);
}

body.sb2046-reading-room .sb2046-continuation-handoff__clouds {
  position: absolute;
  inset: 10% 0 auto;
  height: 95px;
  opacity: 0.68;
}

body.sb2046-reading-room .sb2046-continuation-handoff__clouds span {
  position: absolute;
  width: 36%;
  height: 55px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  filter: blur(0.2px);
}

body.sb2046-reading-room .sb2046-continuation-handoff__clouds span::before,
body.sb2046-reading-room .sb2046-continuation-handoff__clouds span::after {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  content: "";
}

body.sb2046-reading-room .sb2046-continuation-handoff__clouds span::before { left: 16%; width: 105px; height: 105px; }
body.sb2046-reading-room .sb2046-continuation-handoff__clouds span::after { right: 18%; width: 78px; height: 78px; }
body.sb2046-reading-room .sb2046-continuation-handoff__clouds span:nth-child(1) { left: -10%; }
body.sb2046-reading-room .sb2046-continuation-handoff__clouds span:nth-child(2) { left: 34%; width: 31%; opacity: 0.8; }
body.sb2046-reading-room .sb2046-continuation-handoff__clouds span:nth-child(3) { right: -8%; width: 37%; }

body.sb2046-reading-room .sb2046-continuation-handoff__inner {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: clamp(24px, 4vw, 48px);
  left: 18px;
  display: flex;
  max-width: 720px;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  gap: 17px;
  text-align: left;
}

body.sb2046-reading-room .sb2046-continuation-handoff__moon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border: 1px solid rgba(246, 216, 148, 0.62);
  border-radius: 50%;
  background: var(--sb2046-gold-soft);
  box-shadow: 0 0 24px rgba(229, 185, 95, 0.25);
}

body.sb2046-reading-room .sb2046-continuation-handoff__moon::after {
  position: absolute;
  top: -7px;
  left: 18px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--sb2046-night);
  content: "";
}

body.sb2046-reading-room .sb2046-continuation-handoff p {
  margin: 0;
  color: #eee8f2;
  line-height: 1.35;
}

body.sb2046-reading-room .sb2046-continuation-handoff strong,
body.sb2046-reading-room .sb2046-continuation-handoff p > span {
  display: block;
}

body.sb2046-reading-room .sb2046-continuation-handoff strong {
  color: var(--sb2046-gold-soft);
  font-family: var(--sb2046-display);
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
}

body.sb2046-reading-room .sb2046-continuation-handoff p > span {
  margin-top: 3px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Fallback related/comments surfaces (continuation hides them). */
body.sb2046-reading-room .sb-related-guides {
  color: var(--sb2046-ink);
  background: var(--sb2046-cream);
}

body.sb2046-reading-room .sb-related-guides :where(h2, h3) {
  color: var(--sb2046-plum);
  font-family: var(--sb2046-display);
}

body.sb2046-reading-room .sb-article-shell--comments {
  padding-bottom: 90px;
}

/* Footer ------------------------------------------------------------- */
body.sb2046-article-theme .sb-editorial-footer {
  color: #f7f0f6;
  background:
    radial-gradient(circle at 14% 20%, rgba(246, 216, 148, 0.08) 0 1px, transparent 2px),
    linear-gradient(150deg, var(--sb2046-night), var(--sb2046-plum));
}

body.sb2046-article-theme .sb-editorial-footer__shell {
  width: var(--sb2046-shell);
  padding: 72px 0;
}

body.sb2046-article-theme .sb2046-wordmark--footer {
  width: fit-content;
  margin-bottom: 14px;
}

body.sb2046-article-theme .sb-editorial-footer h2 {
  color: #fffaf0;
  font-family: var(--sb2046-display);
  font-size: 1.35rem;
}

body.sb2046-article-theme .sb-editorial-footer p {
  color: #e5ddea;
}

body.sb2046-article-theme .sb-editorial-footer .sb-editorial-nav__list a,
body.sb2046-article-theme .sb-editorial-footer__legal a {
  color: #f7edf6;
}

body.sb2046-article-theme .sb2046-footer__next-step > p {
  margin-bottom: 18px;
}

body.sb2046-article-theme .sb2046-footer__affiliate {
  margin: 17px 0 0 !important;
  color: #cfc3d6 !important;
  font-size: 0.75rem;
}

body.sb2046-article-theme .sb-editorial-footer__legal {
  background: #0c0c1f;
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  body.sb2046-article-theme .sb2046-header__shell {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) auto;
  }

  body.sb2046-article-theme .js .sb2046-nav,
  .js body.sb2046-article-theme .sb2046-nav {
    position: absolute;
    z-index: 120;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 14px clamp(18px, 5vw, 42px) 22px;
    border: 1px solid rgba(246, 216, 148, 0.25);
    border-radius: 0 0 18px 18px;
    background: linear-gradient(160deg, var(--sb2046-night-2), var(--sb2046-plum));
    box-shadow: 0 22px 40px rgba(15, 16, 38, 0.26);
  }

  body.sb2046-article-theme .js .sb2046-nav.is-open,
  .js body.sb2046-article-theme .sb2046-nav.is-open {
    display: block;
  }

  body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list {
    display: grid;
    justify-content: stretch;
    gap: 0;
  }

  body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.sb2046-article-theme .sb2046-nav .sb-editorial-nav__list a {
    width: 100%;
    min-height: 48px;
    padding: 7px 5px;
  }

  body.sb2046-article-theme .sb2046-nav__purchase {
    display: none;
  }

  body.sb2046-article-theme .sb2046-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  body.sb2046-article-theme .sb2046-header__shell {
    width: calc(100% - 32px);
    min-height: 80px;
    grid-template-columns: minmax(170px, 1fr) auto;
    gap: 12px;
  }

  body.sb2046-article-theme .sb2046-header__actions {
    display: flex;
  }

  body.sb2046-reading-room .sb2046-article-sky__moon {
    right: -18px;
  }

  body.sb2046-reading-room .sb2046-invitation__sky {
    width: 43%;
    opacity: 0.72;
  }
}

@media (max-width: 680px) {
  body.sb2046-article-theme {
    --sb2046-reading: min(760px, calc(100% - 30px));
    font-size: 17px;
  }

  body.sb2046-article-theme .sb2046-header__purchase {
    display: none;
  }

  body.sb2046-article-theme .sb2046-nav__purchase {
    display: block;
    border-bottom: 0 !important;
  }

  body.sb2046-article-theme .sb2046-nav__purchase a {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 16px !important;
    border: 1px solid #ffe7a5;
    border-radius: 8px;
    color: #27182c !important;
    background: linear-gradient(180deg, #ffe8a5, #e5ac48);
    font-family: var(--sb2046-display) !important;
    font-size: 1rem !important;
  }

  body.sb2046-article-theme .sb2046-nav__purchase a::after {
    display: none;
  }

  body.sb2046-reading-room .sb-article-header {
    padding-top: 52px;
  }

  body.sb2046-reading-room .sb-article-header h1 {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
    line-height: 1.01;
  }

  body.sb2046-reading-room .sb2046-article-label {
    font-size: 0.68rem;
  }

  body.sb2046-reading-room .sb2046-article-promise {
    align-items: flex-start;
    border-radius: 14px;
    text-align: left;
  }

  body.sb2046-reading-room .sb-article-featured {
    width: calc(100% - 28px);
    padding: 4px;
    border-radius: 44px 44px 16px 16px;
  }

  body.sb2046-reading-room .sb-article-featured img {
    border-radius: 39px 39px 12px 12px;
  }

  body.sb2046-reading-room .sb-affiliate-disclosure {
    grid-template-columns: 1fr;
  }

  body.sb2046-reading-room .sb-article-content h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  body.sb2046-reading-room .sb2046-invitation {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    border-radius: 20px;
  }

  body.sb2046-reading-room .sb2046-invitation__copy {
    padding: 34px 27px 36px;
  }

  body.sb2046-reading-room .sb2046-invitation__sky {
    width: 64%;
    opacity: 0.3;
  }

  body.sb2046-reading-room .sb2046-invitation ul {
    display: grid;
  }

  body.sb2046-reading-room .sb2046-invitation li {
    width: fit-content;
  }

  body.sb2046-reading-room .sb2046-invitation__button {
    width: 100%;
    white-space: normal;
  }

  body.sb2046-reading-room .sb2046-continuation-handoff__inner {
    align-items: flex-start;
  }

  body.sb2046-article-theme .sb-editorial-footer__shell {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.sb2046-article-theme .sb2046-wordmark__moon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    margin-right: 8px;
  }

  body.sb2046-article-theme .sb2046-wordmark__text {
    font-size: 1.58rem;
  }

  body.sb2046-reading-room .sb-article-deck {
    font-size: 1rem;
  }

  body.sb2046-reading-room .sb-article-meta i {
    display: none;
  }

  body.sb2046-reading-room .sb-article-meta span {
    width: 100%;
  }

  body.sb2046-reading-room .sb-article-content blockquote {
    padding: 23px 18px 23px 30px;
  }

  body.sb2046-reading-room .sb2046-invitation__copy {
    padding: 29px 22px 31px;
  }

  body.sb2046-reading-room .sb2046-invitation h2 {
    font-size: 1.85rem;
  }

  body.sb2046-reading-room .sb2046-invitation__copy > p:not(.sb2046-invitation__eyebrow, .sb2046-invitation__note) {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.56;
  }

  body.sb2046-reading-room .sb2046-invitation ul {
    gap: 6px;
    margin: 17px 0 20px;
  }

  body.sb2046-reading-room .sb2046-invitation li {
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  body.sb2046-reading-room .sb2046-continuation-handoff__moon {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }
}

@media (max-width: 340px) {
  body.sb2046-article-theme .sb2046-header__shell {
    width: calc(100% - 24px);
    grid-template-columns: minmax(145px, 1fr) auto;
  }

  body.sb2046-article-theme .sb2046-wordmark__text {
    font-size: 1.43rem;
  }

  body.sb2046-article-theme .sb2046-wordmark__suffix {
    display: none;
  }

  body.sb2046-article-theme .sb2046-menu-toggle {
    min-width: 46px;
    padding-inline: 9px;
  }

  body.sb2046-reading-room .sb-article-shell {
    width: calc(100% - 26px);
  }

  body.sb2046-reading-room .sb2046-invitation__copy {
    padding-inline: 20px;
  }
}

/* WordPress admin-bar compensation for the continuation's root class. */
html.sleepbaby-workshop-homepage-root body.admin-bar.sb2046-article-theme {
  padding-top: 32px;
}

@media (max-width: 782px) {
  html.sleepbaby-workshop-homepage-root body.admin-bar.sb2046-article-theme {
    padding-top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.sleepbaby-workshop-homepage-root {
    scroll-behavior: auto;
  }

  body.sb2046-article-theme *,
  body.sb2046-article-theme *::before,
  body.sb2046-article-theme *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  body.sb2046-article-theme :where(.sb2046-header__purchase, .sb2046-invitation__button, .sb2046-footer__button, .sb2046-menu-toggle) {
    border: 2px solid ButtonText;
    color: ButtonText !important;
    background: ButtonFace;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  body.sb2046-article-theme :where(.sb2046-wordmark__moon, .sb2046-continuation-handoff__moon) {
    border: 2px solid CanvasText;
    background: Canvas;
  }
}

@media print {
  body.sb2046-article-theme .sb2046-header,
  body.sb2046-article-theme .sb2046-invitation,
  body.sb2046-article-theme .sb2046-continuation-handoff,
  body.sb2046-article-theme .sb-editorial-footer {
    display: none !important;
  }

  body.sb2046-article-theme,
  body.sb2046-reading-room .sb-article-main,
  body.sb2046-reading-room .sb-article-header {
    color: #000;
    background: #fff;
  }

  body.sb2046-reading-room .sb-article-header :where(h1, p, a, span),
  body.sb2046-reading-room .sb-article-content :where(h2, h3, h4, p, li, a) {
    color: #000 !important;
  }

  body.sb2046-reading-room .sb-article-shell {
    width: 100%;
  }
}
