:root {
  --forest: #12301f;
  --leaf: #2f6b46;
  --mint: #8fd6a6;
  --cream: #f5f0e5;
  --paper: #fffaf1;
  --ink: #1d2b25;
  --muted: #65766b;
  --line: rgba(29, 43, 37, .14);
  --coral: #d8473a;
  --gold: #f2b84b;
  --blue: #4c7f9c;
  --shadow: 0 24px 70px rgba(7, 21, 13, .22);
  --nav-h: 52px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--forest);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

body {
  min-height: 100svh;
  margin: 0;
  background: var(--cream);
  transition: transform .24s ease, opacity .24s ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 48, 31, .18), transparent 22%, transparent 78%, rgba(18, 48, 31, .18)),
    radial-gradient(circle at 50% -10%, rgba(143, 214, 166, .12), transparent 34%);
  z-index: 20;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.page {
  width: 100%;
  max-width: 540px;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--nav-h) + env(safe-area-inset-top)) 22px calc(126px + env(safe-area-inset-bottom));
  position: relative;
}

.page-light {
  background: linear-gradient(180deg, #fffaf1 0%, #f1eadc 100%);
}

.page-green {
  background: linear-gradient(180deg, #12301f 0%, #1f4a32 42%, #f2eadb 42%, #f7f2e8 100%);
  color: #fff;
}

.page-dark {
  background: #101d23;
  color: #f6f2e8;
}

.article {
  background: linear-gradient(180deg, #f9f3e8 0%, #fffaf1 55%, #edf3ea 100%);
}

.eyebrow {
  color: var(--leaf);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-green .eyebrow,
.page-dark .eyebrow,
.closing .eyebrow,
.cover .eyebrow {
  color: var(--mint);
}

.page-header {
  display: grid;
  gap: .9rem;
  padding: .4rem 0 1.4rem;
}

.page-header.compact {
  padding-top: 1.4rem;
}

.page-header h1,
.image-header h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: .96;
  font-weight: 800;
}

.page-green .page-header h1,
.page-dark .page-header h1 {
  color: #fff;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.page-green .lede,
.page-dark .lede {
  color: #d8eadf;
}

.cover {
  max-width: none;
  padding: 0;
  background: #102b1d;
  color: #fff;
}

.cover-hero,
.closing-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.cover-image,
.closing-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-shade,
.closing-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 15, .1), rgba(8, 24, 15, .55) 42%, rgba(8, 24, 15, .94));
}

.cover-content,
.closing-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(84px + env(safe-area-inset-top)) 26px calc(94px + env(safe-area-inset-bottom));
}

.cover h1 {
  margin-top: .5rem;
  color: #fff;
  font-size: 5.1rem;
  line-height: .82;
  font-weight: 900;
}

.issue {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: .36rem .7rem;
  color: #f2fbf4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.subtitle {
  margin-top: .7rem;
  color: #f1f8f2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.cover .lede {
  margin-top: 1rem;
  color: #d2e7d8;
  font-size: 1.05rem;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.35rem;
}

.cover-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: .48rem .72rem;
  color: #f7fff9;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  gap: .55rem;
}

.toc-list a {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: .8rem .85rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(58, 50, 36, .08);
}

.toc-list span {
  color: var(--coral);
  font-weight: 900;
}

.quote-panel,
.panel,
.media-card,
.timeline,
.number-list,
.subject-list,
.calendar-list {
  margin-top: 1rem;
}

.quote-panel,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  padding: 1.15rem;
  box-shadow: 0 14px 36px rgba(58, 50, 36, .09);
}

.quote-panel h2,
.panel h2,
.timeline h2,
.number-list h2 {
  margin-top: .45rem;
  font-size: 1.45rem;
  line-height: 1.08;
}

.quote-panel p,
.panel p,
.story-flow p,
.timeline p,
.subject-list p,
.calendar-list p {
  color: #35443b;
  font-size: .98rem;
  line-height: 1.63;
}

.quote-panel p + p,
.panel p + p,
.story-flow p + p {
  margin-top: .72rem;
}

.signature {
  color: var(--leaf);
  font-weight: 800;
}

.split {
  grid-template-columns: 1fr;
}

.portrait {
  overflow: hidden;
  border-radius: 10px;
  background: #dbe6dc;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.portrait figcaption {
  padding: 0 .8rem .8rem;
}

.story-flow {
  display: grid;
  gap: .85rem;
}

.story-flow blockquote,
.large-quote {
  border-left: 4px solid var(--coral);
  margin: .3rem 0;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.38;
}

.page-dark .story-flow p,
.page-dark .subject-list p {
  color: #d7e1dd;
}

.page-green > .story-flow p {
  color: #d8eadf;
}

.panel.accent {
  background: #1f4a32;
  color: #fff;
}

.panel.accent p,
.panel.accent h2 {
  color: #fff;
}

.panel.light {
  background: #fffaf1;
}

.panel.warm {
  background: #fff3d0;
}

.panel.slate,
.dark-card {
  background: #152932;
  color: #fff;
}

.panel.slate p,
.dark-card p {
  color: #dce9e8;
}

.large-quote {
  display: block;
  margin-top: 1.15rem;
}

.large-quote.dark {
  color: var(--ink);
}

.page-dark .large-quote {
  color: #fff;
}

.number-list {
  display: grid;
  gap: .75rem;
}

.number-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
}

.number-list span {
  color: var(--coral);
  font-weight: 900;
}

.number-list h3 {
  margin: 0 0 .25rem;
  font-size: 1.1rem;
}

.media-card {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card figcaption {
  padding: 0 .9rem .9rem;
}

.media-card.mini img {
  aspect-ratio: 16 / 10;
}

.closing-line {
  margin-top: 1.2rem;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
}

.action-link {
  display: block;
  margin-top: 1.3rem;
  border-radius: 999px;
  background: var(--coral);
  padding: 1rem 1.2rem;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.image-header {
  display: grid;
  gap: 1rem;
  margin: -1rem -22px 1.25rem;
  padding-bottom: 1rem;
  background: #142d20;
  color: #fff;
}

.image-header img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-header.large img {
  aspect-ratio: 4 / 3;
}

.image-header div {
  padding: 0 22px;
}

.image-header h1,
.image-header p {
  color: #fff;
}

.profile-band,
.feature-block {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  border-radius: 10px;
  background: #fff;
  padding: .9rem;
  box-shadow: 0 14px 34px rgba(58, 50, 36, .09);
}

.profile-band img,
.feature-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.profile-band h2,
.feature-block h2 {
  margin: .35rem 0 .6rem;
  font-size: 1.45rem;
  line-height: 1.1;
}

.profile-band p,
.feature-block p {
  color: #35443b;
  font-size: .97rem;
  line-height: 1.58;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: 1rem;
}

.stats-row div {
  border-radius: 8px;
  background: #fff;
  padding: .95rem;
}

.stats-row strong {
  display: block;
  color: var(--coral);
  font-size: 2rem;
  line-height: 1;
}

.stats-row span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
}

.gallery-two,
.mode-grid,
.people-columns,
.reporter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
}

.gallery-two figure,
.reporter-grid figure {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.gallery-two img,
.reporter-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-two figcaption,
.reporter-grid figcaption {
  padding: 0 .65rem .65rem;
  font-weight: 800;
}

.mode {
  min-height: 12rem;
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
}

.mode h2 {
  margin-top: .4rem;
  font-size: 1.65rem;
}

.mode p {
  margin-top: .7rem;
  color: #eef7f1;
  font-size: .95rem;
  line-height: 1.5;
}

.economy {
  background: #8e4f2c;
}

.tech {
  background: #315d7b;
}

.timeline {
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 6.1rem 1fr;
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding: .8rem 0;
}

.timeline time {
  color: var(--leaf);
  font-weight: 900;
}

.stream-hero {
  margin: calc(-1 * (var(--nav-h) + env(safe-area-inset-top))) -22px 1rem;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 1rem) 22px 1.4rem;
  background: #081316;
}

.stream-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
}

.stream-hero h1 {
  margin-top: .45rem;
  color: #fff;
  font-size: 2.65rem;
  line-height: .96;
}

.live-badge {
  display: inline-flex;
  margin-bottom: .7rem;
  border-radius: 999px;
  background: var(--coral);
  padding: .38rem .7rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.coordinator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.coordinator strong {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--gold);
  color: #101d23;
  font-size: 1.3rem;
}

.subject-list {
  display: grid;
  gap: .65rem;
}

.subject-list article {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  padding: .85rem 1rem;
}

.subject-list h3 {
  color: #fff;
  font-size: 1.12rem;
}

.reporter-grid {
  grid-template-columns: 1fr;
}

.reporter-grid img {
  aspect-ratio: 16 / 9;
}

.directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
  margin: .8rem 0 0;
}

.directory dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.directory dd {
  margin: 0 0 .45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.people-columns article {
  border-radius: 8px;
  background: #fff;
  padding: .95rem;
}

.people-columns h2 {
  font-size: 1.15rem;
}

.people-columns p {
  margin-top: .55rem;
  color: #35443b;
  font-size: .92rem;
  line-height: 1.55;
}

.calendar-list {
  display: grid;
  gap: .75rem;
}

.calendar-list article {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .8rem;
  border-radius: 10px;
  background: #fffaf1;
  padding: .95rem;
  color: var(--ink);
}

.calendar-list .holiday {
  background: #1f4a32;
  color: #fff;
}

.calendar-list time {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.calendar-list .holiday time,
.calendar-list .holiday p {
  color: #fff;
}

.calendar-list span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.calendar-list .holiday span {
  color: var(--mint);
}

.calendar-list h2 {
  margin-top: .2rem;
  font-size: 1.16rem;
}

.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .8rem;
  margin-top: .9rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.closing {
  max-width: none;
  padding: 0;
  background: #0f2c1c;
  color: #fff;
}

.closing-content {
  justify-content: center;
}

.closing h1 {
  margin: .8rem 0 1rem;
  color: #fff;
  font-size: 3.35rem;
  line-height: .94;
}

.closing p {
  color: #d8eadf;
  font-size: 1rem;
  line-height: 1.62;
}

.closing p + p {
  margin-top: .85rem;
}

.closing blockquote {
  border-left: 4px solid var(--mint);
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  color: #fff;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.35;
}

.final-mark {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 1rem;
  color: rgba(255, 255, 255, .66);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-card {
  display: grid;
  gap: .75rem;
  margin-top: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 246, .94);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.video-card.dark {
  border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, #11364a 0%, #14593f 100%);
  color: #fff;
}

.video-card h2 {
  font-size: 1.42rem;
  line-height: 1.1;
}

.video-card p {
  color: #35443b;
  font-size: .95rem;
  line-height: 1.52;
}

.video-card.dark p,
.video-card.dark h2 {
  color: #fff;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  background: #000;
}

.video-frame.embedded {
  margin-top: .9rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reader-top {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
  width: min(100%, 540px);
  padding: calc(.72rem + env(safe-area-inset-top)) 16px .55rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.reader-logo,
.reader-count {
  border-radius: 999px;
  background: rgba(14, 31, 22, .62);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  padding: .48rem .7rem;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.reader-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
}

.reader-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--mint));
}

.reader-arrow {
  position: fixed;
  top: 50%;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 42px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 25, 16, .72);
  color: #fff;
  font-size: 2.15rem;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
}

.reader-arrow.prev {
  left: max(8px, env(safe-area-inset-left));
}

.reader-arrow.next {
  right: max(8px, env(safe-area-inset-right));
}

.reader-arrow.is-hidden {
  display: none;
}

.reader-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: .75rem 16px calc(.85rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.reader-button,
.reader-spacer {
  pointer-events: auto;
}

.reader-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 1.05rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(6, 28, 18, .28);
  backdrop-filter: blur(14px);
}

.reader-button.primary {
  gap: .55rem;
  background: linear-gradient(135deg, var(--coral) 0%, var(--leaf) 100%);
}

.reader-button.primary span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 1.1rem;
}

.reader-button.secondary {
  background: rgba(10, 25, 16, .68);
}

.reader-spacer {
  min-width: 1px;
  min-height: 50px;
}

.reader-hint {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 42;
  border-radius: 999px;
  background: rgba(10, 25, 16, .74);
  color: #fff;
  padding: .66rem .82rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

body[data-page="0"] .reader-hint {
  bottom: calc(18px + env(safe-area-inset-bottom));
}

body:not([data-page="0"]) {
  --forest: #063d30;
  --leaf: #078a58;
  --mint: #4bea9b;
  --cream: #fff1cf;
  --paper: #fffdf6;
  --ink: #14221d;
  --muted: #53675b;
  --line: rgba(7, 138, 88, .2);
  --coral: #f05a3e;
  --gold: #ffc94c;
  --blue: #286fe8;
  --shadow: 0 22px 56px rgba(29, 64, 44, .18), 0 8px 20px rgba(240, 90, 62, .08);
  background: #fff1cf;
}

body:not([data-page="0"])::after {
  background:
    linear-gradient(90deg, rgba(240, 90, 62, .1), transparent 24%, transparent 76%, rgba(40, 111, 232, .1)),
    radial-gradient(circle at 12% 4%, rgba(255, 201, 76, .18), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(75, 234, 155, .16), transparent 34%);
}

body:not([data-page="0"]) .page-light {
  background: linear-gradient(180deg, #fff9e9 0%, #ffe8b7 48%, #e8fff1 100%);
}

body:not([data-page="0"]) .article {
  background: linear-gradient(180deg, #fff0cf 0%, #fffdf6 48%, #ddfaea 100%);
}

body:not([data-page="0"]) .page-green {
  background: linear-gradient(180deg, #064833 0%, #12a262 42%, #ffe7af 42%, #fff9e9 100%);
}

body:not([data-page="0"]) .page-dark {
  background: linear-gradient(180deg, #061923 0%, #173765 52%, #063d30 100%);
}

body:not([data-page="0"]) .toc-list a,
body:not([data-page="0"]) .quote-panel,
body:not([data-page="0"]) .panel,
body:not([data-page="0"]) .profile-band,
body:not([data-page="0"]) .feature-block,
body:not([data-page="0"]) .timeline,
body:not([data-page="0"]) .stats-row div,
body:not([data-page="0"]) .people-columns article,
body:not([data-page="0"]) .calendar-list article {
  border-color: rgba(7, 138, 88, .18);
  background: rgba(255, 253, 246, .94);
  box-shadow: var(--shadow);
}

body:not([data-page="0"]) .toc-list a {
  border-left: 5px solid var(--gold);
}

body:not([data-page="0"]) .toc-list a:nth-child(3n + 1) {
  border-left-color: var(--coral);
}

body:not([data-page="0"]) .toc-list a:nth-child(3n + 2) {
  border-left-color: var(--blue);
}

body:not([data-page="0"]) .panel.accent {
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, #078a58 0%, #0a7fc4 100%);
}

body:not([data-page="0"]) .panel.warm {
  background: linear-gradient(135deg, #fff0b3 0%, #ffd7c8 100%);
}

body:not([data-page="0"]) .panel.slate,
body:not([data-page="0"]) .dark-card {
  background: linear-gradient(135deg, #11364a 0%, #14593f 100%);
}

body:not([data-page="0"]) .image-header {
  background: linear-gradient(135deg, #064833 0%, #0f7b69 48%, #286fe8 100%);
}

body:not([data-page="0"]) .media-card {
  border: 1px solid rgba(255, 201, 76, .45);
  background: #fffdf6;
  box-shadow: var(--shadow);
}

body:not([data-page="0"]) .economy {
  background: linear-gradient(145deg, #f05a3e 0%, #b94e1f 100%);
}

body:not([data-page="0"]) .tech {
  background: linear-gradient(145deg, #286fe8 0%, #079d76 100%);
}

body:not([data-page="0"]) .stream-hero {
  background: linear-gradient(160deg, #061923 0%, #173765 58%, #063d30 100%);
}

body:not([data-page="0"]) .subject-list article {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, .13);
}

body:not([data-page="0"]) .calendar-list .holiday {
  background: linear-gradient(135deg, #078a58 0%, #0a7fc4 100%);
}

body:not([data-page="0"]) .reader-logo,
body:not([data-page="0"]) .reader-count,
body:not([data-page="0"]) .reader-arrow,
body:not([data-page="0"]) .reader-hint,
body:not([data-page="0"]) .reader-button.secondary {
  background: rgba(6, 61, 48, .82);
  box-shadow: 0 14px 32px rgba(6, 61, 48, .26);
}

body:not([data-page="0"]) .reader-track {
  background: rgba(255, 255, 255, .48);
}

body:not([data-page="0"]) .reader-bar {
  background: linear-gradient(90deg, #f05a3e, #ffc94c 48%, #4bea9b 74%, #286fe8);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(6, 17, 11, .94);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: 100%;
  max-height: 86svh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .58);
}

.lightbox button {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 1.4rem;
}

[data-zoom] {
  cursor: zoom-in;
}

.slide-out-left {
  opacity: .25;
  transform: translateX(-22%);
}

.slide-out-right {
  opacity: .25;
  transform: translateX(22%);
}

.slide-in-next {
  animation: slideInNext .28s ease both;
}

.slide-in-prev {
  animation: slideInPrev .28s ease both;
}

@keyframes slideInNext {
  from {
    opacity: .35;
    transform: translateX(20%);
  }
}

@keyframes slideInPrev {
  from {
    opacity: .35;
    transform: translateX(-20%);
  }
}

@media (min-width: 541px) {
  body {
    background: #0b2014;
  }

  .page {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
