body.nyt-shell-page {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #f7f7f7;
  --line: #ebebeb;
  --line-strong: #d6d6d6;
  --ink: #121212;
  --ink-soft: #3c3c3c;
  --muted: #6b6b6b;
  --accent: #567b95;
  --accent-strong: #326891;
  --accent-2: #326891;
  --focus-ring: 0 0 0 3px rgba(50, 104, 145, 0.18);
  --shell-rule: #ebebeb;
  --shell-rule-strong: #111111;
  --shell-paper: #ffffff;
  --shell-paper-soft: #f7f7f7;
  --shell-text: #121212;
  --shell-muted: #6b6b6b;
  --shell-accent: #326891;
  --shell-font-serif: nyt-cheltenham, georgia, serif;
  --shell-font-body: nyt-imperial, georgia, serif;
  --shell-font-sans: nyt-franklin, Arial, sans-serif;
  --shell-font-display: nyt-cheltenham, georgia, serif;
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--shell-text);
  font-family: var(--shell-font-body);
}

body.nyt-shell-page .ambient {
  display: none;
}

body.nyt-shell-page a {
  color: inherit;
}

body.nyt-shell-page .site-shell {
  min-height: 100vh;
  background: #ffffff;
}

body.nyt-shell-page .container,
body.nyt-shell-page .nyt-page {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

body.nyt-shell-page .nyt-page {
  padding: 2rem 0 4rem;
}

body.nyt-shell-page .nyt-shell-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-top: 0;
  border-bottom: 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.05);
}

body.nyt-shell-page .nyt-shell-status {
  border-top: 1px solid var(--shell-rule-strong);
  border-bottom: 1px solid var(--shell-rule);
}

body.nyt-shell-page .nyt-shell-status-inner {
  width: min(1200px, calc(100% - 2rem));
  min-height: 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--shell-muted);
  font: 500 0.72rem/1 var(--shell-font-sans);
}

body.nyt-shell-page .nyt-shell-status-left,
body.nyt-shell-page .nyt-shell-status-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body.nyt-shell-page .nyt-shell-status-divider {
  width: 1px;
  height: 0.82rem;
  background: var(--shell-rule);
}

body.nyt-shell-page .nyt-shell-status-right a:hover,
body.nyt-shell-page .nyt-shell-status-right a:focus-visible {
  text-decoration: underline;
}

body.nyt-shell-page .nyt-shell-status-right {
  justify-content: flex-end;
}

body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 42px;
  color: #111111;
  font: 500 0.76rem/1 var(--shell-font-sans);
}

body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left {
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
}

body.nyt-shell-page .nyt-shell-top-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}

body.nyt-shell-page .nyt-shell-top-nav-link {
  color: #111111;
  font: 700 0.76rem/1 var(--shell-font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

body.nyt-shell-page .nyt-shell-top-nav-link:hover,
body.nyt-shell-page .nyt-shell-top-nav-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-nav {
  display: none;
}

body.nyt-shell-page .nyt-shell-masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-bottom: 1px solid var(--shell-rule);
}

body.nyt-shell-page .nyt-shell-masthead-link {
  font-family: nyt-karnak, var(--shell-font-serif);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

body.nyt-shell-page .nyt-shell-nav {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  padding: 0 0 0.85rem;
}

body.nyt-shell-page .nyt-shell-nav[hidden] {
  display: none !important;
}

body.nyt-shell-page .nyt-shell-nav-link {
  border-bottom: 1px solid transparent;
  color: var(--shell-text);
  font: 500 0.76rem/1 var(--shell-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

body.nyt-shell-page .nyt-shell-nav-link:hover,
body.nyt-shell-page .nyt-shell-nav-link:focus-visible {
  border-bottom-color: var(--shell-rule-strong);
}

body.nyt-shell-page .nyt-shell-nav-link.is-active {
  border-bottom-color: var(--shell-rule-strong);
  font-weight: 700;
}

body.nyt-shell-page .nyt-shell-utility-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid #cfcfcf;
  padding: 0 12px;
  background: #ffffff;
  color: #4d4d4d;
  font: 700 0.74rem/1 var(--shell-font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

body.nyt-shell-page .nyt-shell-utility-button:hover,
body.nyt-shell-page .nyt-shell-utility-button:focus-visible {
  background: #f5f5f5;
  text-decoration: none;
}

body.nyt-shell-page .nyt-shell-utility-button--primary {
  border-color: #4c7293;
  background: #5a7ea0;
  color: #ffffff;
}

body.nyt-shell-page .nyt-shell-utility-button--primary:hover,
body.nyt-shell-page .nyt-shell-utility-button--primary:focus-visible {
  background: #496a89;
}

.nyt-shell-status-account {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.public-shell-session-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.public-shell-session-nav::-webkit-scrollbar {
  display: none;
}

body.nyt-shell-page .home-utility-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid #cfcfcf;
  padding: 0 12px;
  background: #ffffff;
  color: #4d4d4d;
  font: 700 0.76rem/1 nyt-franklin, Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

body.nyt-shell-page .home-utility-button:hover,
body.nyt-shell-page .home-utility-button:focus-visible {
  background: #f5f5f5;
  text-decoration: none;
}

body.nyt-shell-page .home-utility-button--primary {
  border-color: #4c7293;
  background: #5a7ea0;
  color: #ffffff;
}

body.nyt-shell-page .home-utility-button--primary:hover,
body.nyt-shell-page .home-utility-button--primary:focus-visible {
  background: #496a89;
}

.nyt-shell-stack-menu {
  display: none;
  position: relative;
  z-index: 40;
}

.nyt-shell-stack-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 36px;
  min-width: 44px;
  border: 1px solid #cfcfcf;
  padding: 0;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.nyt-shell-stack-toggle::-webkit-details-marker {
  display: none;
}

.nyt-shell-stack-toggle-icon,
.nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-toggle-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #111111;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background 180ms ease;
}

.nyt-shell-stack-toggle-icon {
  position: relative;
}

.nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nyt-shell-stack-toggle-icon::before {
  top: -5px;
}

.nyt-shell-stack-toggle-icon::after {
  top: 5px;
}

.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle {
  position: relative;
  z-index: 52;
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle-icon,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle-icon,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle-icon {
  background: transparent;
}

.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle-icon::after,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle-icon::after,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle-icon::after {
  background: #ffffff;
  top: 0;
}

.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle-icon::before,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle-icon::before {
  transform: rotate(45deg);
}

.nyt-shell-stack-menu[open] .nyt-shell-stack-toggle-icon::after,
.nyt-shell-stack-menu.is-opening .nyt-shell-stack-toggle-icon::after,
.nyt-shell-stack-menu.is-open .nyt-shell-stack-toggle-icon::after {
  transform: rotate(-45deg);
}

.nyt-shell-stack-panel {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  border: 1px solid #dfdfdf;
  padding: 14px;
  background: #fffdfa;
}

.nyt-shell-stack-panel-head {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #d7d7d7;
}

.nyt-shell-stack-panel-kicker,
.nyt-shell-stack-panel-title,
.nyt-shell-stack-panel-note {
  margin: 0;
}

.nyt-shell-stack-panel-kicker {
  color: #5b5b5b;
  font: 700 0.72rem/1.2 var(--shell-font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nyt-shell-stack-panel-title {
  color: #111111;
  font-family: var(--shell-font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.nyt-shell-stack-links {
  display: grid;
  gap: 0;
  align-content: start;
}

.nyt-shell-stack-link {
  padding: 0.9rem 0;
  border-bottom: 1px solid #dcdcdc;
  color: #111111;
  font-family: var(--shell-font-display);
  font-size: clamp(1.55rem, 4.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-decoration: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.nyt-shell-stack-link.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16rem;
}

.nyt-shell-stack-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.nyt-shell-stack-actions > *,
.nyt-shell-stack-panel-note {
  opacity: 1;
  transform: none;
  transition: none;
}

.nyt-shell-stack-actions .home-utility-button,
.nyt-shell-stack-actions .public-shell-panel-logout {
  min-width: 0;
}

.nyt-shell-stack-actions .home-utility-button,
.nyt-shell-stack-actions .public-shell-panel-logout button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #cfcfcf;
  padding: 0 12px;
  background: #ffffff;
  color: #4d4d4d;
  font: 700 0.74rem/1 var(--shell-font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.nyt-shell-stack-actions .home-utility-button--primary {
  border-color: #4c7293;
  background: #5a7ea0;
  color: #ffffff;
}

.nyt-shell-stack-actions .public-shell-panel-logout {
  margin: 0;
}

.nyt-shell-stack-panel-note {
  padding-top: 0.35rem;
  color: #4f4f4f;
  font: 400 0.95rem/1.5 var(--shell-font-serif);
}


.public-shell-user-menu {
  position: relative;
}

.public-shell-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  border: 1px solid #cfcfcf;
  padding: 0 12px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  list-style: none;
  font: 700 0.74rem/1 nyt-franklin, Arial, sans-serif;
  letter-spacing: 0.03em;
}

.public-shell-user-trigger::-webkit-details-marker {
  display: none;
}

.public-shell-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: 0.68rem;
  line-height: 1;
}

.public-shell-user-name {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-shell-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 220px;
  display: grid;
  gap: 0;
  border: 1px solid #d8d8d8;
  background: #fffdfa;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.public-shell-user-item {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 14px;
  background: transparent;
  color: #111111;
  font: 700 0.72rem/1.2 nyt-franklin, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.public-shell-user-item:hover,
.public-shell-user-item:focus-visible {
  background: #f5f5f5;
}

.public-shell-user-item--danger {
  color: #8b1e24;
}

.public-shell-user-logout {
  margin: 0;
}

.public-shell-user-logout .public-shell-user-item {
  border-bottom: 0;
}

.public-shell-panel-logout {
  display: grid;
}

body.nyt-shell-page .nyt-page-head {
  max-width: 780px;
  display: grid;
  gap: 0.7rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--shell-rule);
}

body.nyt-shell-page .nyt-kicker,
body.nyt-shell-page .kicker {
  margin: 0;
  color: var(--shell-muted);
  font: 700 0.73rem/1.2 var(--shell-font-sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.nyt-shell-page .nyt-title {
  margin: 0;
  font-family: var(--shell-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.nyt-shell-page .nyt-dek {
  margin: 0;
  color: #333333;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.38;
}

body.nyt-shell-page .nyt-section-title {
  margin: 0;
  font-family: var(--shell-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

body.nyt-shell-page .nyt-rail-card {
  padding-top: 0.85rem;
  border-top: 1px solid var(--shell-rule-strong);
}

body.nyt-shell-page .nyt-pullquote {
  margin: 0 0 1.5rem;
  padding: 1.1rem 0 1.15rem;
  border-top: 1px solid var(--shell-rule-strong);
  border-bottom: 1px solid var(--shell-rule-strong);
  font-family: var(--shell-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

body.nyt-shell-page .card {
  border: 1px solid var(--shell-rule);
  border-radius: 2px;
  background: var(--shell-paper);
  box-shadow: none;
  color: var(--shell-text);
}

body.nyt-shell-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  border: 1px solid var(--shell-accent);
  border-radius: 3px;
  padding: 0.66rem 1rem;
  background: var(--shell-accent);
  color: #ffffff;
  font: 700 0.72rem/1 var(--shell-font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

body.nyt-shell-page .button:hover,
body.nyt-shell-page .button:focus-visible {
  background: #275474;
  border-color: #275474;
  transform: none;
}

body.nyt-shell-page .button--ghost,
body.nyt-shell-page .button--secondary {
  border-color: var(--shell-rule-strong);
  background: #ffffff;
  color: var(--shell-text);
}

body.nyt-shell-page .button--ghost:hover,
body.nyt-shell-page .button--ghost:focus-visible,
body.nyt-shell-page .button--secondary:hover,
body.nyt-shell-page .button--secondary:focus-visible {
  background: #f7f7f7;
  border-color: var(--shell-rule-strong);
  color: var(--shell-text);
}

body.nyt-shell-page .field-label {
  color: var(--shell-muted);
  font: 700 0.72rem/1.2 var(--shell-font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.nyt-shell-page .field-input {
  border: 1px solid var(--shell-rule-strong);
  border-radius: 0;
  background: #ffffff;
  color: var(--shell-text);
  box-shadow: none;
}

body.nyt-shell-page .field-input::placeholder {
  color: #8f8f8f;
}

body.nyt-shell-page .muted {
  color: var(--shell-muted);
}

body.nyt-shell-page .error {
  color: #a31621;
}

body.nyt-shell-page .notice {
  color: #1f6a3a;
}

@media (max-width: 900px) {
  body.nyt-shell-page .nyt-shell-status-inner,
  body.nyt-shell-page .nyt-shell-nav,
  body.nyt-shell-page .nyt-page {
    width: min(1200px, calc(100% - 1rem));
  }

  body.nyt-shell-page .nyt-shell-status-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.5rem 0;
  }

  body.nyt-shell-page .nyt-shell-status-left,
  body.nyt-shell-page .nyt-shell-status-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  body.nyt-shell-page .nyt-shell-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  body.nyt-shell-page .nyt-shell-nav::-webkit-scrollbar {
    display: none;
  }
}

body.shared-shell-page {
  --shell-rule: #ebebeb;
  --shell-rule-strong: #111111;
  --shell-text: #121212;
  --shell-muted: #6b6b6b;
  --shell-accent: #326891;
  --shell-font-serif: nyt-cheltenham, georgia, serif;
  --shell-font-body: nyt-imperial, georgia, serif;
  --shell-font-sans: nyt-franklin, Arial, sans-serif;
  --shell-font-display: nyt-cheltenham, georgia, serif;
  color: var(--shell-text);
}

body.shared-shell-page .nyt-shell-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-top: 0;
  border-bottom: 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.05);
}

body.shared-shell-page .nyt-shell-status {
  border-top: 1px solid var(--shell-rule-strong);
  border-bottom: 1px solid var(--shell-rule);
}

body.shared-shell-page .nyt-shell-status-inner {
  width: min(1200px, calc(100% - 2rem));
  min-height: 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--shell-muted);
  font: 500 0.72rem/1 var(--shell-font-sans);
}

body.shared-shell-page .nyt-shell-status-left,
body.shared-shell-page .nyt-shell-status-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body.shared-shell-page .nyt-shell-status-right {
  justify-content: flex-end;
}

body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 42px;
  color: #111111;
  font: 500 0.76rem/1 var(--shell-font-sans);
}

body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left {
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
}

body.shared-shell-page .nyt-shell-top-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}

body.shared-shell-page .nyt-shell-top-nav-link {
  color: #111111;
  font: 700 0.76rem/1 var(--shell-font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

body.shared-shell-page .nyt-shell-top-nav-link:hover,
body.shared-shell-page .nyt-shell-top-nav-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-nav {
  display: none;
}

body.shared-shell-page .nyt-shell-status-divider {
  width: 1px;
  height: 0.82rem;
  background: var(--shell-rule);
}

body.shared-shell-page .nyt-shell-masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-bottom: 1px solid var(--shell-rule);
}

body.shared-shell-page .nyt-shell-masthead-link {
  font-family: nyt-karnak, var(--shell-font-serif);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--shell-text);
}

body.shared-shell-page .nyt-shell-nav {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  padding: 0 0 0.85rem;
}

body.shared-shell-page .nyt-shell-nav[hidden] {
  display: none !important;
}

body.shared-shell-page .nyt-shell-nav-link {
  border-bottom: 1px solid transparent;
  color: var(--shell-text);
  font: 500 0.76rem/1 var(--shell-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

body.shared-shell-page .nyt-shell-nav-link:hover,
body.shared-shell-page .nyt-shell-nav-link:focus-visible {
  border-bottom-color: var(--shell-rule-strong);
}

body.shared-shell-page .nyt-shell-nav-link.is-active {
  border-bottom-color: var(--shell-rule-strong);
  font-weight: 700;
}

body.shared-shell-page .nyt-shell-utility-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid #cfcfcf;
  padding: 0 12px;
  background: #ffffff;
  color: #4d4d4d;
  font: 700 0.74rem/1 var(--shell-font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

body.shared-shell-page .nyt-shell-utility-button:hover,
body.shared-shell-page .nyt-shell-utility-button:focus-visible {
  background: #f5f5f5;
  text-decoration: none;
}

body.shared-shell-page .nyt-shell-utility-button--primary {
  border-color: #4c7293;
  background: #5a7ea0;
  color: #ffffff;
}

body.shared-shell-page .nyt-shell-utility-button--primary:hover,
body.shared-shell-page .nyt-shell-utility-button--primary:focus-visible {
  background: #496a89;
}

@media (max-width: 900px) {
  body.shared-shell-page .nyt-shell-status-inner,
  body.shared-shell-page .nyt-shell-nav {
    width: min(1200px, calc(100% - 1rem));
  }

  body.shared-shell-page .nyt-shell-status-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.5rem 0;
  }

  body.shared-shell-page .nyt-shell-status-left,
  body.shared-shell-page .nyt-shell-status-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  body.shared-shell-page .nyt-shell-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  body.shared-shell-page .nyt-shell-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 900px) {
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left {
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left::-webkit-scrollbar,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left::-webkit-scrollbar {
    display: none;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-top-nav,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-top-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 1rem;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

@media (min-width: 1121px) {
  body.public-shell-authenticated.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left,
  body.public-shell-authenticated.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left {
    display: none;
  }

  body.public-shell-authenticated.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right,
  body.public-shell-authenticated.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
    justify-content: flex-end;
  }

  body.public-shell-authenticated.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-account,
  body.public-shell-authenticated.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-account {
    flex: 0 1 auto;
    max-width: 100%;
    justify-content: flex-end;
    min-width: 0;
  }
}

@media (max-width: 1120px) {
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-top-nav,
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-account,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-top-nav {
    display: none;
  }

  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-account {
    display: none;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-left {
    display: none;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-inner {
    position: relative;
    display: block;
    align-items: center;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto;
    margin: 0;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu {
    display: block;
    margin: 0;
    align-self: center;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu::before,
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu::after,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu::before,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu::after {
    display: none;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-panel {
    position: absolute;
    top: calc(100% + 8px);
    margin-top: 0;
    right: 0;
    inset: auto 0 auto auto;
    width: min(320px, calc(100vw - 1rem));
    max-height: calc(100vh - 72px);
    border: 1px solid #d8d8d8;
    padding: 1rem;
    background: #fffdfa;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 1.2rem;
    overflow-y: auto;
    z-index: 43;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: none;
    will-change: auto;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-closing > .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-closing > .nyt-shell-stack-panel {
    display: none !important;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-opening .nyt-shell-stack-panel,
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu[open] .nyt-shell-stack-panel,
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-open .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-opening .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu[open] .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-menu.is-open .nyt-shell-stack-panel {
    display: grid;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
}

@media (max-width: 640px) {
  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-status-right {
    align-items: center;
    gap: 0;
  }

  .nyt-shell-stack-toggle {
    min-width: 40px;
  }

  .nyt-shell-stack-actions {
    grid-template-columns: 1fr;
  }

  body.nyt-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-panel,
  body.shared-shell-page .nyt-shell-header.is-homebar-shell .nyt-shell-stack-panel {
    width: min(300px, calc(100vw - 0.75rem));
    padding: 0.9rem;
  }

  .nyt-shell-stack-link {
    font-size: 1.7rem;
  }
}
