:root {
  --hub-pink: #ff85be;
  --hub-pink-soft: #ffd5e9;
}
body[data-news-view="true"] {
  --bg: #10131b;
  --surface: #191e2a;
  --surface-raised: #252c3c;
  --border: #353e51;
  --text: #f3f5fc;
  --muted: #b3bdd0;
  --red: #ff85be;
  --red-dark: #e66ba8;
  --radius: 12px;
  background: var(--bg);
}
body[data-news-view="true"] .site-header { background: #10131b; }
.page:has(> .hub-news:not([hidden])) { padding-top: clamp(14px, 2vw, 26px); }
body[data-news-view="true"] :focus-visible { outline-color: var(--hub-pink); }
.main-nav a[data-view="news"][aria-current="page"]::after { background: var(--hub-pink); }
.hub-news { color: var(--text); }
.hub-news a:focus-visible { outline-color: var(--hub-pink); }

body[data-news-view="true"]:has(> .hub-news-article-page) {
  min-height: 100vh;
  background: radial-gradient(52rem 28rem at 50% 0, #211c2e, transparent 90%), var(--bg);
}
.hub-news-article-page {
  width: min(100% - 28px, 860px);
  margin-inline: auto;
  padding-block: clamp(16px, 4vw, 52px) clamp(36px, 8vw, 96px);
}
.hub-news-article-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: clamp(14px, 3vw, 26px);
}
.hub-news-article-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 700;
}
.hub-news-article-nav a[href="/"] {
  gap: 9px;
  color: var(--text);
  letter-spacing: .055em;
}
.hub-news-article-nav a[href="/"]::before {
  content: "";
  flex: 0 0 30px;
  height: 30px;
  background: url("/watch-order-hub-logo-nobg.svg") center / contain no-repeat;
}
.hub-news-article-nav a[href="/news"] {
  gap: 9px;
  padding-inline: 12px;
  border: 1px solid #98778e;
  border-radius: 8px;
  background: #282031;
  color: var(--hub-pink-soft);
}
.hub-news-article-nav a[href="/news"]::before {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
.hub-news-article-nav a:hover {
  color: #fff4fa;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hub-news-article-page .hub-news-post {
  padding: clamp(18px, 5.5vw, 64px);
  border: 1px solid #3c3748;
  border-top: 3px solid #c481a9;
  border-radius: 14px;
  background: radial-gradient(ellipse at 100% 0, #2b2337, transparent 37rem), #191d29;
  box-shadow: 0 24px 60px #08080e52;
}
.hub-news-article-page .hub-news-meta {
  gap: 8px 12px;
  margin-bottom: clamp(12px, 2vw, 20px);
}
.hub-news-article-page h1 {
  max-width: 24ch;
  margin: 0 0 clamp(16px, 3vw, 26px);
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.038em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hub-news-article-page .hub-news-post > p {
  max-width: 65ch;
  color: #d7dce8;
  font-size: clamp(1rem, .96rem + .35vw, 1.125rem);
  line-height: 1.8;
  white-space: pre-line;
}
.hub-news-article-page .hub-news-post > h1 + p {
  max-width: 62ch;
  color: #eee5ef;
  font-size: clamp(1.1rem, .98rem + .55vw, 1.35rem);
  line-height: 1.55;
}
.hub-news-article-page .hub-news-post > p + p { margin-top: clamp(18px, 3vw, 28px); }
.hub-news-article-page .hub-news-post > h1 + p:not(:last-child) {
  padding-bottom: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid #78607a85;
}
.hub-news-article-page .hub-news-post > p:has(> small) {
  padding: 10px 14px;
  border-left: 2px solid #c481a9;
  border-radius: 0 8px 8px 0;
  background: #131621;
}
@media (max-width: 360px) {
  .hub-news-article-nav { gap: 6px; }
  .hub-news-article-nav a { font-size: .75rem; }
  .hub-news-article-nav a[href="/"] { gap: 6px; letter-spacing: .02em; }
  .hub-news-article-nav a[href="/"]::before { flex-basis: 24px; height: 24px; }
  .hub-news-article-nav a[href="/news"] { gap: 7px; padding-inline: 8px; }
}
.site-header + .hub-news-article-page { padding-block-start: clamp(14px, 3vw, 36px); }
.site-header + .hub-news-article-page .hub-news-article-nav { justify-content: flex-start; }
.site-header + .hub-news-article-page .hub-news-article-nav a[href="/"] { display: none; }

.hub-news-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  padding: clamp(12px, 1.4vw, 18px);
  overflow: hidden;
  border: 1px solid #ff85be55;
  border-radius: 18px;
  background:
    linear-gradient(100deg, #171a27fa 0%, #1b1928ee 45%, #1a1625b0 74%, #110f1bc5 100%),
    url("/assets/banners/daily-planet-dc-comics.avif") center 43% / cover no-repeat,
    #191e2a;
  box-shadow: inset 0 1px 0 #ffffff0d;
}
.hub-news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 15% 10%, #b74e9245, transparent 62%);
  pointer-events: none;
}
.hub-news-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(45%, 420px);
  height: 3px;
  background: linear-gradient(90deg, var(--hub-pink), transparent);
}
.hub-news-hero-copy { position: relative; z-index: 1; }
.hub-news-hero .eyebrow {
  margin: 0;
  color: var(--hub-pink);
  font-size: .72rem;
  letter-spacing: .13em;
  font-weight: 800;
}
.hub-news-hero h1 {
  margin: 2px 0 5px;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
}
.hub-news-dot { color: var(--hub-pink); }
.hub-news-hero-copy > p:not(.eyebrow) {
  margin: 0;
  color: #e4dbe8;
  font-size: 1rem;
  line-height: 1.5;
}
.hub-news-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hub-news-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid #ed96c0;
  border-radius: 8px;
  color: #fff4fa;
  background: #633049;
  font-size: .82rem;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease;
}
.hub-news-jump a:hover { background: #7c3d60; border-color: #ffd1e5; }
.hub-news-jump a:active { background: #4d253c; }
.hub-news-jump a:focus-visible { outline: 3px solid #ffc7e3; outline-offset: 3px; }

.hub-news-art {
  position: relative;
  z-index: 1;
  padding: 8px clamp(14px, 3vw, 40px);
  color: var(--hub-pink-soft);
  border-top: 2px solid #ffc0df8c;
  border-bottom: 2px solid #ffc0df8c;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  text-shadow: 0 2px 14px #100b16a8;
}

.hub-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  align-items: start;
  gap: 14px;
}
.hub-news-side { display: grid; gap: 14px; min-width: 0; }
.hub-news-roadmap { grid-column: 1 / -1; }
.hub-news-panel {
  min-width: 0;
  padding: clamp(13px, 1.8vw, 22px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.hub-news-section-heading { padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid #ff85be32; }
.hub-news-section-heading h2 { margin: 0; }
.hub-news-hero h1, .hub-news-section-heading h2, .hub-news-art {
  font-family: "Canted Comic", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: .005em;
}
.hub-news-section-heading h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
.hub-news-posts { display: grid; gap: 8px; }
.hub-news-post {
  padding: 17px 18px;
  border: 1px solid #3b4559;
  border-radius: 11px;
  background: #1c2331;
}
.hub-news-latest > .hub-news-post:first-child {
  padding: clamp(14px, 2vw, 22px);
  border-color: #ff85be73;
  background: radial-gradient(ellipse at 100% 0%, #b44b8850, transparent 72%), linear-gradient(135deg, #292135, #1c2231 80%);
}
.hub-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 10px; }
.hub-news-meta time { color: var(--muted); font-size: .875rem; }
.hub-news-tag {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid #ff85be3b;
  border-radius: 6px;
  background: #ff85be17;
  color: #ffd0e6;
  font-size: .8125rem;
  line-height: 1.3;
  font-weight: 700;
}
.hub-news-post h3, .hub-news-story-title, .hub-news-roadmap-item h3 {
  margin: 0 0 8px;
  font-size: clamp(1.125rem, 1.5vw, 1.4rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.hub-news-latest > .hub-news-post:first-child h3 {
  max-width: 34ch;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.hub-news-post p, .hub-news-roadmap-item p { margin: 0; font-size: 1rem; line-height: 1.65; color: #d2dbea; }
.hub-news-post p { max-width: 70ch; overflow-wrap: anywhere; }
.hub-news-post p + p { margin-top: 10px; }
.hub-news-post small { font-size: .875rem; }
.hub-news-post small a { color: var(--hub-pink-soft); text-decoration: underline; text-underline-offset: 3px; }
.hub-news-post .hub-news-action { margin-top: 12px; }
.hub-news-action a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  max-width: 100%;
  color: var(--hub-pink-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.hub-news-action a:hover { color: #fff4fa; }
.hub-news-action a:focus-visible { outline: 2px solid var(--hub-pink); outline-offset: 4px; border-radius: 3px; }

.hub-news-story, .hub-news-fold, .hub-news-month {
  min-width: 0;
  border: 1px solid #3b4559;
  border-radius: 10px;
  background: #1c2331;
}
:is(.hub-news-story, .hub-news-fold, .hub-news-month) > summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 12px 38px 12px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}
:is(.hub-news-story, .hub-news-fold, .hub-news-month) > summary::-webkit-details-marker { display: none; }
:is(.hub-news-story, .hub-news-fold, .hub-news-month) > summary::after {
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  align-content: center;
  color: var(--hub-pink);
  content: "+";
}
:is(.hub-news-story, .hub-news-fold, .hub-news-month)[open] > summary::after { content: "−"; }
:is(.hub-news-story, .hub-news-fold, .hub-news-month) > summary:hover { background: #ff85be12; }
:is(.hub-news-story, .hub-news-fold, .hub-news-month) > summary:focus-visible { outline: 2px solid var(--hub-pink); outline-offset: 2px; }
.hub-news-story-peek .hub-news-meta { margin-bottom: 4px; font-weight: 400; }
.hub-news-story-title { display: block; margin-bottom: 5px; }
.hub-news-story-preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.hub-news-story-close { color: var(--hub-pink-soft); font-size: .85rem; }
.hub-news-story:not([open]) .hub-news-story-close,
.hub-news-story[open] .hub-news-story-peek { display: none; }
.hub-news-story > .hub-news-post { border: 0; border-top: 1px solid #3b4559; border-radius: 0 0 9px 9px; background: none; }
.hub-news-fold { margin-top: 12px; }
.hub-news-month { margin: 0 10px 8px; }
.hub-news-month > .hub-news-posts, .hub-news-fold > .hub-news-roadmap-list { padding: 0 8px 8px; }

/* The roadmap is a set of clear, readable feature announcements. */
.hub-news-roadmap-list { list-style: none; display: grid; gap: 11px; margin: 0; padding: 0; }
.hub-news-roadmap > .hub-news-roadmap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-news-roadmap-item {
  border: 1px solid #3b4559;
  border-left: 3px solid #737d95;
  border-radius: 10px;
  background: #1c2331;
  padding: 13px 14px;
}
.hub-news-roadmap-item:has(.hub-news-status-in-progress) {
  border-left-color: var(--hub-pink);
  background: linear-gradient(115deg, #38253a, #202435 85%);
}
.hub-news-roadmap-item:has(.hub-news-status-released) { border-left-color: #82cda9; }
.hub-news-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 11px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
}
.hub-news-status-in-progress {
  color: #ffe1ef;
  border-color: #ff9bc8a8;
  background: #a539714d;
  box-shadow: 0 0 13px #ff85be57, inset 0 0 8px #ff85be16;
  animation: hub-news-glow 4s ease-in-out infinite;
}
.hub-news-status-planned { color: #c9d1e1; border-color: #74809652; background: #ffffff0d; }
.hub-news-status-released { color: #d1f7e1; border-color: #82cda968; background: #3b815a38; }
@keyframes hub-news-glow {
  0%, 100% { box-shadow: 0 0 9px #ff85be3d, inset 0 0 8px #ff85be15; }
  50% { box-shadow: 0 0 18px #ff85be8a, inset 0 0 10px #ff85be2b; }
}
#news-updates, #news-roadmap { scroll-margin-top: 26px; }
@media (max-width: 700px) {
  .hub-news-layout { grid-template-columns: minmax(0, 1fr); }
  .hub-news-roadmap > .hub-news-roadmap-list { grid-template-columns: minmax(0, 1fr); }
  .hub-news-hero { grid-template-columns: minmax(0, 1fr); background-position: center, 62% center; }
  .hub-news-art { display: none; }
}
@media (max-width: 540px) {
  .hub-news-hero { border-radius: 13px; }
  .hub-news-jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-news-jump a { justify-content: center; padding-inline: 3px; text-align: center; }
  .hub-news-post { padding-inline: 13px; }
}

.hub-news-hub-lists, .hub-news-post { scroll-margin-top: 28px; }
.hub-news-collections { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hub-news-collection {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid #ff85be4a;
  border-radius: 10px;
  background: #211d2c;
  transition: background .15s ease, border-color .15s ease;
}
.hub-news-collection:hover { background: #30243b; border-color: #ffb8d9; }
.hub-news-collection img {
  flex: 0 0 auto;
  width: min(28%, 96px);
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}
.hub-news-collection > span { min-width: 0; display: grid; gap: 3px; }
.hub-news-collection strong { font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.hub-news-collection small { color: #c8bfd0; font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; }
.hub-news-collection .hub-news-collection-link { margin-left: auto; color: #ffbddc; }
.hub-news-see-all {
  display: inline-flex;
  min-height: 44px;
  margin-top: 10px;
  align-items: center;
  color: var(--hub-pink-soft);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hub-news-see-all:hover { color: #fff4fa; }
/* A temporary countdown feature. External media loads only after consent. */
.hub-news-stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  border-color: #ff85be73;
  background: radial-gradient(ellipse at 0 0, #91416535, transparent 65%), var(--surface);
}
.hub-news-stream[hidden], .hub-news-stream [hidden] { display: none; }
.hub-news-stream-copy, .hub-news-stream-video { min-width: 0; }
.hub-news-stream h2 { margin: 8px 0; font-family: "Canted Comic", "Trebuchet MS", sans-serif; font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.25; overflow-wrap: anywhere; }
.hub-news-stream p { font-size: 1rem; line-height: 1.65; color: #c1cadb; }
.hub-news-stream .hub-news-stream-notice { font-size: .875rem; }
.hub-news-stream .button { white-space: normal; text-align: center; }
.hub-news-stream-poster { display: grid; justify-items: start; gap: 10px; padding: 14px; border: 1px solid #526149; border-radius: 10px; background: linear-gradient(#101711eb, #18251aed), url('/assets/banners/marvel.webp') center / cover; }
.hub-news-stream-poster strong { font-size: 1.25rem; color: #e3f5ce; }
.hub-news-stream-poster p { margin: 0; font-size: .875rem; }
.hub-news-stream-video a { color: #ffd5e9; text-decoration: underline; text-underline-offset: 3px; }
.hub-news-stream-poster > a { font-size: .875rem; }
.hub-news-stream-screen { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #526149; border-radius: 10px; background: #000; }
.hub-news-stream-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.hub-news-stream-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; min-height: 44px; }
.hub-news-stream-controls > a { display: inline-flex; align-items: center; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .hub-news-status-in-progress { animation: none; }
  .hub-news-jump a, .hub-news-collection { transition: none; }
}

