/* NEWS keeps the approved portrait and title on their own planes. The journal
   is a vertical reading list; only wide screens give it an inner scroll area. */
body[data-screen="home"] {
  --home-workspace-height: max(320px, calc(100svh - var(--play-dock-height, 145px) - 124px));
}
body[data-screen="home"] .news-panel {
  position: relative;
  z-index: 4;
  display: block;
  min-width: 0;
  padding: 0;
}
.news-feed { min-width: 0; }
.news-heading {
  display: block;
  margin: 0 0 14px;
  color: #fff5d6;
  text-shadow: 0 1px 0 #164d48, 0 2px 3px #073e3966;
}
.news-eyebrow { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #ffe09b; -webkit-text-stroke: .6px #164d48; paint-order: stroke fill; }
.news-heading h2 { margin: 0; font: 700 clamp(23px, 2.2vw, 30px)/1.15 var(--heading); -webkit-text-stroke: 1px #164d48; paint-order: stroke fill; }
.news-heading p { margin: 5px 0 0; font-size: 13px; }
.news-scroll {
  min-width: 0;
  border-radius: 24px;
  scrollbar-width: thin;
  scrollbar-color: #ffda87 #0d534a70;
  scroll-padding-block: 8px;
}
.news-scroll:focus-visible { outline: 3px solid #fff0ae; outline-offset: 4px; }
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 3px 3px 10px;
}
.news-entry { min-width: 0; margin: 0; }
.news-entry > .season-welcome,
.news-entry > .home-season-card,
.news-note {
  /* A narrow ink edge separates the existing gold frame from the world. */
  outline: 1px solid #275d5680;
  outline-offset: 1px;
}
.news-entry .home-season-card { margin: 0; width: 100%; }
.news-note {
  position: relative;
  display: block;
  padding: clamp(18px, 2.3vw, 25px);
  border: 1px solid #d3a653;
  border-radius: 22px;
  color: #214c48;
  background: linear-gradient(125deg, #fff8df, #ffefc6);
  box-shadow: inset 0 0 0 3px #fff8e4, 0 4px 0 #a97f3e, 0 7px 12px #143d3933;
}
.news-entry-header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-entry-meta {
  display: grid;
  justify-items: start;
  gap: 4px;
  color: #75603c;
  font-size: 12px;
  line-height: 1.3;
}
.news-entry-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #17635d;
}
.news-entry-symbol { display: grid; align-items: start; color: #aa792c; }
.news-entry-symbol .icon { width: 30px; height: 30px; }
.news-note h3 { margin: 0 0 9px; font: 700 clamp(22px, 2vw, 27px)/1.15 var(--heading); }
.news-note p { margin: 0; font-size: 15px; line-height: 1.55; }
.news-note p + p { margin-top: 10px; }
.news-entry-body { overflow-wrap: break-word; }
.news-empty { margin: 0; padding: 20px; border-radius: 20px; background: #fff3d5; }
@media (max-width: 760px) {
  body[data-screen="home"] .app { padding-inline: 12px; }
  body[data-screen="home"] #main { display: block; padding: 0 0 16px; }
  body[data-screen="home"] .home-art-window .expedition-art.has-parallax-art {
    height: clamp(360px, min(140vw, calc(100svh - var(--play-dock-height, 125px) - 240px)), 900px);
  }
  body[data-screen="home"] .news-panel { padding-top: 12px; }
  .news-scroll { overflow: visible; }
  .news-heading { margin-inline: 4px; }
  .news-heading h2 { font-size: clamp(22px, 5vw, 30px); }
  body[data-screen="home"] .news-panel .home-season-main {
    grid-template-columns: 52px minmax(0, 1fr) 16px;
    gap: 9px;
    min-height: 128px;
    padding: 15px 12px;
  }
  body[data-screen="home"] .news-panel .home-season-copy > strong { font-size: clamp(21px, 5.5vw, 28px); }
  body[data-screen="home"] .news-panel .home-season-copy > small { font-size: 9px; }
  body[data-screen="home"] .news-panel .home-season-inventory { font-size: 12px; }
  body[data-screen="home"] .news-panel .home-season-seal { width: 52px; height: 64px; }
}
@media (min-width: 761px) {
  body[data-screen="home"] #main { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; }
  body[data-screen="home"] .home-discovery-panel.news-panel {
    display: block;
    align-self: center;
    padding: 0;
  }
  .news-feed { display: flex; flex-direction: column; max-height: var(--home-workspace-height); }
  .news-scroll {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-gutter: stable;
    padding-right: 7px;
  }
  .news-list { padding-bottom: 12px; }
  body[data-screen="home"] .news-panel .home-season-main { min-height: 140px; }
  body[data-screen="home"] .news-panel .home-season-copy > small { font-size: 9px; }
  body[data-screen="home"] .news-panel .home-season-inventory { font-size: 12px; }
}
/* On a low, narrow landscape window, reading flows down the page rather than
   reducing the heroine to a tiny standing figure or squeezing the feed. */
@media (min-width: 500px) and (max-width: 760px) and (max-height: 550px) {
  body[data-screen="home"] #main { display: block; padding-bottom: 16px; }
  body[data-screen="home"] .home-art-window .expedition-art.has-parallax-art { height: clamp(340px, 65vw, 500px); }
  body[data-screen="home"] .news-panel { display: block; }
}

body[data-screen="home"] .site-foot { position: relative; z-index: 4; }
