.reading-page .header-inner {
  min-height: 76px;
  max-width: 1240px;
  padding: 12px 24px;
  gap: 20px;
}
.reading-page .brand {
  font-size: 23px;
}
.reading-page .brand-mark {
  width: 32px;
  height: 40px;
  font-size: 24px;
}
.reading-page .header-play {
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 16px;
}
.reading-page .header-help {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.reading-page .article-wrap {
  max-width: 1100px;
}
.reading-page .breadcrumbs {
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
}
.reading-page .article-header {
  max-width: 820px;
}
.reading-page .resource-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
}
.reading-page .resource-nav a {
  padding: 9px 13px;
  min-height: 44px;
  border: 1px solid #bac4b2;
  border-radius: 6px;
  text-decoration: none;
}
.reading-page .resource-nav a[aria-current] {
  background: #183f32;
  color: #fff9e9;
}
.reading-page .resource-nav .reading-play {
  margin-left: auto;
  border: 0;
  text-decoration: underline;
}
.reading-page .article-toc {
  padding: 20px 24px;
  margin: 22px 0 36px;
  background: #eef1e8;
  border: 1px solid #c4cbbd;
  border-radius: 10px;
}
.reading-page .article-toc ol {
  columns: 2;
  padding-left: 22px;
  margin-bottom: 0;
}
.reading-page .article-toc li {
  break-inside: avoid;
  padding: 3px 10px 3px 0;
}
.reading-page .prose {
  max-width: 820px;
}
.reading-page .prose section {
  scroll-margin-top: 155px;
}
.reading-page .prose h2 {
  font-size: clamp(25px, 3vw, 34px);
}
.pdf-download {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) 1fr;
  gap: 36px;
  padding: 30px;
  background: #f5f2e8;
  border: 1px solid #c6c4b6;
  border-radius: 14px;
  margin: 30px 0 50px;
  align-items: center;
}
.pdf-download img {
  width: 100%;
  height: auto;
  border: 1px solid #b7b9aa;
  box-shadow: 4px 8px 16px #16352620;
}
.pdf-download .eyebrow {
  font-size: 12px;
}
.pdf-download h2 {
  font-size: 30px;
}
.pdf-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}
.pdf-note {
  font-size: 14px;
  color: #4d594a;
}
@media (max-width: 1050px) {
  .reading-page .desktop-games {
    display: none;
  }
  .reading-page .mobile-games {
    display: block;
    position: relative;
  }
  .reading-page .mobile-games summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: var(--green);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .reading-page .mobile-games summary::-webkit-details-marker {
    display: none;
  }
  .reading-page .mobile-games nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    padding: 12px;
    border: 1px solid #abb8a1;
    border-radius: 8px;
    background: var(--card);
    box-shadow: 0 8px 20px #12342533;
    z-index: 1;
  }
  .reading-page .mobile-games a {
    display: block;
    padding: 15px 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .reading-page .mobile-games a[aria-current] {
    background: #e6ebdd;
  }
  .reading-page .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .reading-page .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 18px;
    gap: 6px 12px;
  }
  .reading-page .brand {
    font-size: 20px;
  }
  .reading-page .header-help {
    margin-left: auto;
  }
  .reading-page .mobile-games {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }
  .reading-page .mobile-games nav {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 36px));
  }
  .reading-page .header-play {
    grid-column: 2;
    grid-row: 2;
  }
  .reading-page .resource-nav .reading-play {
    margin-left: 0;
  }
  .reading-page .article-toc ol {
    columns: 1;
  }
  .reading-page .prose section {
    scroll-margin-top: 145px;
  }
  .pdf-download {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 24px;
  }
  .pdf-download img {
    max-width: 280px;
    justify-self: center;
  }
  .pdf-actions .button {
    width: 100%;
    text-align: center;
  }
}
@media print {
  .article-toc,
  .pdf-actions {
    display: none;
  }
}
