@charset "UTF-8";

/* 作者：搭客佬
   链接：https://www.nsmhgw.cn/ */

:root {
  --ink: #0c1729;
  --ink-soft: #263147;
  --cream: #fffaf0;
  --paper: #ffffff;
  --yellow: #ffd91f;
  --yellow-soft: #fff4a6;
  --coral: #ff526d;
  --coral-dark: #d92d4d;
  --mint: #37d996;
  --line: #d9d7cf;
  --muted: #677083;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

button,
select,
input {
  color: inherit;
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 3px solid #2b7fff;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.header-inner,
.hero-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: var(--ink);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
}

.brand-copy {
  display: flex;
  min-width: 0;
  margin-left: 12px;
  flex-direction: column;
  color: #fff;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 19px;
  white-space: nowrap;
}

.brand-copy span {
  margin-top: 4px;
  color: #adb7c8;
  font-size: 12px;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: stretch;
  height: var(--header-height);
}

.main-nav li {
  height: 100%;
}

.main-nav a {
  position: relative;
  display: flex;
  height: 100%;
  padding: 0 22px;
  align-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 4px;
  background: transparent;
  content: "";
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--yellow);
}

.main-nav a.is-active::after {
  background: var(--yellow);
}

.mobile-actions {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(12, 23, 41, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 1px solid var(--ink);
}

.hero::before {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 280px;
  height: 220px;
  background: var(--yellow);
  border-radius: 0 0 100% 0;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 680px;
  padding: 62px 0;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-index,
.desk-kicker {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(64px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-copy > h2 {
  margin-top: 26px;
  font-size: 31px;
  line-height: 1.3;
}

.hero-description {
  max-width: 520px;
  margin-top: 18px;
  color: #444c5a;
}

.hero-points {
  display: flex;
  margin-top: 26px;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-points li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.hero-points i {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-calendar {
  background-image: url("../icons/calendar.svg");
}

.icon-books {
  background-image: url("../icons/books.svg");
}

.icon-link {
  background-image: url("../icons/link.svg");
}

.hero-download {
  display: inline-flex;
  min-width: 196px;
  height: 56px;
  margin-top: 30px;
  padding: 0 30px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-weight: 800;
}

.hero-download:hover {
  color: var(--ink);
  background: var(--yellow);
}

.hero-download .icon-download {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: url("../icons/download-white.svg") center / contain no-repeat;
}

.hero-download:hover .icon-download {
  background-image: url("../icons/download-dark.svg");
}

.age-label {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.planning-desk {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--yellow);
}

.planning-desk::before {
  position: absolute;
  top: -18px;
  right: 28px;
  width: 82px;
  height: 30px;
  background: var(--coral);
  border: 2px solid var(--ink);
  content: "";
}

.desk-heading,
.desk-tools,
.queue-item,
.schedule-content,
.schedule-list article,
.review-card header,
.footer-main {
  display: flex;
  align-items: center;
}

.desk-heading {
  justify-content: space-between;
}

.desk-heading h2 {
  margin-top: 2px;
  font-size: 28px;
}

.desk-status {
  display: inline-flex;
  align-items: center;
  color: #2f6a53;
  font-size: 12px;
  font-weight: 700;
}

.desk-status i {
  width: 9px;
  height: 9px;
  margin-right: 7px;
  background: var(--mint);
  border-radius: 50%;
}

.week-strip,
.schedule-days {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.week-strip button,
.schedule-days button {
  min-width: 0;
  padding: 10px 3px;
  background: #fff;
  border-right: 1px solid var(--line);
  font-size: 12px;
}

.week-strip button:last-child,
.schedule-days button:last-child {
  border-right: 0;
}

.week-strip span,
.week-strip strong,
.schedule-days span,
.schedule-days strong {
  display: block;
}

.week-strip strong,
.schedule-days strong {
  color: var(--muted);
  font-size: 12px;
}

.week-strip .is-current,
.schedule-days .is-active {
  background: var(--yellow);
}

.desk-tools {
  padding: 16px 0;
  gap: 12px;
}

.desk-tools label {
  margin-right: auto;
  font-size: 13px;
  font-weight: 700;
}

.desk-tools select,
.schedule-list select {
  min-height: 38px;
  padding: 0 34px 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
}

.desk-today {
  min-height: 38px;
  padding: 0 14px;
  background: #f1f3f6;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.priority-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.priority-tabs button {
  padding: 11px 8px;
  background: #f3f3f1;
  font-size: 13px;
  font-weight: 800;
}

.priority-tabs .is-active {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.queue-list {
  margin-top: 10px;
}

.queue-item {
  display: grid;
  min-height: 72px;
  padding: 10px 0;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.queue-item > img {
  width: 48px;
  height: 52px;
  object-fit: contain;
  background: #f2f2ef;
}

.queue-item h3 {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item p {
  color: var(--muted);
  font-size: 12px;
}

.queue-check {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.queue-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--yellow);
}

.queue-check span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  padding: 0;
  background: #c8ced5;
  border: 1px solid #adb3ba;
  border-radius: 999px;
}

.switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
}

.switch.is-on {
  background: var(--yellow);
  border-color: var(--ink);
}

.switch.is-on span {
  left: 23px;
  background: var(--ink);
}

.save-plan {
  display: block;
  min-width: 140px;
  min-height: 42px;
  margin: 20px 0 0 auto;
  padding: 0 20px;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--ink);
  font-weight: 800;
}

.section {
  padding: 94px 0;
  border-bottom: 1px solid var(--ink);
}

.section-heading {
  display: flex;
  margin-bottom: 38px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin-top: 5px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 520px;
  color: var(--muted);
  text-align: right;
}

.schedule-section {
  background: #fff;
}

.schedule-board {
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow-soft);
}

.schedule-days {
  margin-top: 0;
  border-top: 0;
}

.schedule-days button {
  min-height: 64px;
}

.schedule-content {
  align-items: stretch;
}

.schedule-list {
  min-width: 0;
  padding: 8px 28px;
  flex: 1 1 auto;
}

.schedule-list article {
  display: grid;
  min-height: 98px;
  grid-template-columns: 58px minmax(180px, 1fr) 120px 48px 112px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.schedule-list article:last-child {
  border-bottom: 0;
}

.schedule-list img {
  width: 58px;
  height: 66px;
  object-fit: contain;
  background: #f4f4f1;
}

.schedule-list h3 {
  font-size: 16px;
}

.schedule-list p {
  color: var(--muted);
  font-size: 12px;
}

.continue-button {
  min-height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.continue-button:hover {
  background: var(--yellow);
}

.schedule-summary {
  display: flex;
  width: 250px;
  padding: 28px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: #fff;
}

.schedule-summary > span {
  font-size: 14px;
  font-weight: 700;
}

.schedule-summary > strong {
  margin-top: 12px;
  color: var(--yellow);
  font-size: 58px;
  line-height: 1;
}

.schedule-summary small {
  font-size: 22px;
}

.summary-bar {
  height: 7px;
  margin: 18px 0;
  overflow: hidden;
  background: #465065;
}

.summary-bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--yellow);
}

.schedule-summary li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
}

.schedule-summary li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  content: "";
}

.shelf-section {
  background: #fff8e7;
}

.shelf-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
}

.genre-list {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.genre-list button {
  min-height: 63px;
  padding: 0 24px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid #3f4858;
  text-align: left;
  font-weight: 700;
}

.genre-list button:last-child {
  border-bottom: 0;
}

.genre-list button:hover,
.genre-list button.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.manga-card {
  display: grid;
  min-width: 0;
  padding: 14px;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.manga-card.is-hidden {
  display: none;
}

.manga-card figure {
  width: 94px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f1f1ee;
}

.manga-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.manga-card h3 {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-card p,
.manga-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.manga-card button {
  min-height: 34px;
  margin-top: 12px;
  padding: 0 12px;
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral-dark);
  font-size: 12px;
  font-weight: 700;
}

.screens-section {
  background: #fff;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-grid figure {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
}

.screen-window {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.screen-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-grid figcaption {
  display: grid;
  min-height: 90px;
  padding: 18px;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-content: center;
  border-top: 1px solid var(--ink);
}

.screen-grid figcaption span {
  grid-row: 1 / 3;
  color: var(--coral-dark);
  font-weight: 900;
}

.screen-grid figcaption strong {
  font-size: 16px;
}

.screen-grid figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  background: #f7f4ec;
}

.faq-list {
  width: 100%;
  border-top: 2px solid var(--ink);
}

.faq-list details {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 78px;
  padding: 0 24px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
}

.faq-list summary > span {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
}

.faq-list summary strong {
  font-size: 16px;
}

.faq-list summary i,
.official-site summary > span {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-list summary i::before,
.faq-list summary i::after,
.official-site summary > span::before,
.official-site summary > span::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.faq-list summary i::after,
.official-site summary > span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after,
.official-site[open] summary > span::after {
  display: none;
}

.faq-list details > p {
  padding: 0 88px 24px;
  color: var(--muted);
}

.official-site {
  width: 100%;
  margin-top: 22px;
  background: #fff;
  border: 2px solid var(--ink);
}

.official-site summary {
  display: grid;
  min-height: 74px;
  padding: 0 24px;
  grid-template-columns: 26px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
}

.icon-globe {
  width: 22px;
  height: 22px;
  background: url("../icons/globe.svg") center / contain no-repeat;
}

.official-site > div {
  padding: 0 64px 24px;
}

.official-site a {
  color: var(--coral-dark);
  font-weight: 700;
  word-break: break-all;
}

.reviews-section {
  background: #fffdf7;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  display: flex;
  min-height: 260px;
  padding: 24px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
}

.review-card:nth-child(3n + 2) {
  border-top-color: var(--ink);
}

.review-card header {
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  display: flex;
  min-width: 0;
  align-items: center;
}

.icon-avatar {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  flex: 0 0 auto;
  background: var(--yellow) url("../icons/avatar.svg") center / 26px no-repeat;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.review-author strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  flex: 0 0 auto;
  color: #f5ae00;
  white-space: nowrap;
}

.aiarticle-comment-rating-icon {
  display: inline-block;
  width: 16px;
  font-style: normal;
  text-align: center;
}

.fa-star.aiarticle-comment-rating-icon::before {
  content: "★";
}

.fa-star-o.aiarticle-comment-rating-icon::before {
  content: "☆";
}

.review-card > p {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #343b48;
  line-height: 1.9;
}

.review-card time {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 70px 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.download-dock {
  display: grid;
  min-height: 210px;
  grid-template-columns: 210px minmax(0, 1fr) 230px;
  align-items: stretch;
  border: 1px solid #536075;
}

.download-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-right: 1px solid #536075;
}

.icon-download-large {
  width: 112px;
  height: 112px;
  background: url("../icons/download-dark.svg") center / 62px no-repeat;
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.download-copy {
  display: flex;
  padding: 34px 42px;
  flex-direction: column;
  justify-content: center;
}

.download-copy .section-index {
  color: var(--yellow);
}

.download-copy h2 {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.35;
  white-space: nowrap;
}

.download-copy ul {
  display: flex;
  margin-top: 18px;
  gap: 28px;
  flex-wrap: wrap;
}

.download-copy li {
  position: relative;
  padding-left: 14px;
  color: #c9d0db;
  font-size: 12px;
}

.download-copy li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  content: "";
}

.download-action {
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--coral);
  border-left: 1px solid #536075;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.download-action:hover {
  background: var(--yellow);
}

.icon-arrow {
  width: 26px;
  height: 26px;
  margin-left: 12px;
  background: url("../icons/arrow-dark.svg") center / contain no-repeat;
}

.site-footer {
  padding: 42px 0 24px;
  color: #fff;
  background: #070d18;
}

.footer-main {
  justify-content: space-between;
  gap: 40px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
}

.footer-brand > span {
  display: flex;
  margin-left: 12px;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand small {
  margin-top: 5px;
  color: #98a3b7;
  font-size: 12px;
  white-space: nowrap;
}

.footer-nav ul {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  color: #d7dce5;
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  color: #98a3b7;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.back-to-top.is-visible {
  display: flex;
}

.icon-top {
  width: 22px;
  height: 22px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

@media (max-width: 1100px) {
  .main-nav a {
    padding: 0 13px;
  }

  .main-nav a::after {
    right: 13px;
    left: 13px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-copy > h2 {
    font-size: 26px;
  }

  .manga-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-list article {
    grid-template-columns: 52px minmax(150px, 1fr) 108px 48px;
  }

  .schedule-list .continue-button {
    display: none;
  }

  .download-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-behavior: auto;
  }

  .container,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy {
    margin-left: 8px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    display: block;
    max-width: 145px;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .mobile-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 8px;
  }

  .mobile-download {
    display: flex;
    height: 38px;
    padding: 0 13px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--yellow);
    border: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ink);
  }

  .menu-toggle i,
  .menu-toggle i::before,
  .menu-toggle i::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .menu-toggle i {
    position: relative;
  }

  .menu-toggle i::before {
    position: absolute;
    top: -6px;
    left: 0;
  }

  .menu-toggle i::after {
    position: absolute;
    top: 6px;
    left: 0;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid #435066;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--container));
    height: auto;
    margin: 0 auto;
    padding: 8px 0 18px;
  }

  .main-nav li {
    height: auto;
  }

  .main-nav a {
    height: 50px;
    padding: 0 12px;
    border-bottom: 1px solid #303b50;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 52px 0 58px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 76px);
    white-space: normal;
  }

  .hero-copy > h2 {
    font-size: 25px;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-download {
    margin-right: auto;
    margin-left: auto;
  }

  .planning-desk {
    width: min(100%, 620px);
    margin: 0 auto;
    text-align: left;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading > p {
    margin-top: 12px;
    text-align: left;
  }

  .schedule-content {
    display: block;
  }

  .schedule-list {
    padding: 8px 18px;
  }

  .schedule-summary {
    width: 100%;
  }

  .shelf-layout {
    grid-template-columns: 1fr;
  }

  .genre-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .genre-list button {
    min-height: 48px;
    padding: 0 8px;
    border-right: 1px solid #3f4858;
    text-align: center;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-dock {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .download-action {
    min-height: 76px;
    grid-column: 1 / -1;
    border-top: 1px solid #536075;
    border-left: 0;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-nav ul {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .brand-copy span {
    max-width: 105px;
    font-size: 12px;
  }

  .mobile-download {
    padding: 0 10px;
  }

  .hero::before {
    width: 150px;
    height: 120px;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .eyebrow,
  .section-index,
  .desk-kicker {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy > h2 {
    font-size: 22px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-points {
    gap: 14px;
  }

  .planning-desk {
    padding: 18px 14px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .planning-desk::before {
    display: none;
  }

  .desk-heading h2 {
    font-size: 23px;
  }

  .desk-status {
    font-size: 12px;
  }

  .week-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .week-strip button:nth-child(n + 5) {
    display: none;
  }

  .desk-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .desk-tools label {
    grid-column: 1 / -1;
  }

  .desk-today {
    width: 100%;
  }

  .queue-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .queue-item > img {
    width: 44px;
  }

  .queue-check {
    display: none;
  }

  .schedule-days {
    grid-template-columns: repeat(4, 1fr);
  }

  .schedule-days button:nth-child(n + 5) {
    display: none;
  }

  .schedule-list article {
    min-height: 104px;
    grid-template-columns: 46px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .schedule-list img {
    width: 46px;
    height: 60px;
  }

  .schedule-list select {
    display: none;
  }

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

  .section-heading h2 {
    font-size: 40px;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screen-grid figcaption {
    min-height: 84px;
    padding: 12px 10px;
    grid-template-columns: 24px 1fr;
    column-gap: 5px;
  }

  .screen-grid figcaption strong {
    font-size: 13px;
  }

  .screen-grid figcaption small {
    font-size: 12px;
  }

  .faq-list summary {
    min-height: 68px;
    padding: 0 14px;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 8px;
  }

  .faq-list summary strong {
    font-size: 14px;
  }

  .faq-list details > p {
    padding: 0 46px 20px;
    font-size: 13px;
  }

  .official-site summary {
    padding: 0 14px;
  }

  .official-site > div {
    padding: 0 54px 20px;
  }

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

  .review-card {
    min-height: 240px;
  }

  .download-dock {
    grid-template-columns: 1fr;
  }

  .download-emblem {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid #536075;
  }

  .icon-download-large {
    width: 92px;
    height: 92px;
  }

  .download-copy {
    padding: 28px 22px;
    text-align: center;
  }

  .download-copy h2 {
    font-size: 22px;
    white-space: normal;
  }

  .download-copy ul {
    justify-content: center;
    gap: 10px 20px;
  }

  .download-action {
    min-height: 68px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-nav ul {
    gap: 12px 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .header-inner {
    width: calc(100% - 20px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    max-width: 82px;
  }

  .mobile-download {
    height: 36px;
    padding: 0 8px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 6px;
  }

  .hero-points li {
    font-size: 12px;
  }

  .hero-points i {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }

  .priority-tabs button {
    padding: 10px 4px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
