@charset "UTF-8";

:root {
  --ink: #142312;
  --muted: #667160;
  --green: #20613b;
  --green-dark: #0b3e27;
  --lime: #b5df48;
  --lime-soft: #eff7dc;
  --paper: #faf9f2;
  --cream: #f1eee2;
  --white: #ffffff;
  --line: #cbd5bd;
  --orange: #ff6b3d;
  --header-height: 76px;
  --max-width: 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(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body,
button,
input {
  font-family: inherit;
}

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

button,
input {
  font-size: 14px;
}

button {
  color: inherit;
  cursor: pointer;
}

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

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

ul {
  padding-left: 0;
  list-style: none;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 242, 0.98);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  height: 100%;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  white-space: nowrap;
}

.brand-copy > span,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: var(--lime);
  content: "";
  opacity: 0;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  margin-left: 18px;
  gap: 10px;
}

.header-download,
.primary-download,
.download-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}

.header-download {
  min-width: 160px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

.header-download:hover,
.primary-download:hover {
  color: var(--green-dark);
  background: var(--lime);
}

.mobile-download-text,
.menu-toggle {
  display: none;
}

.i-download,
.i-search,
.i-bookmark,
.i-bell,
.i-avatar,
.i-globe,
.i-top {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.i-download {
  background-image: url("../icons/download.svg");
}

.i-search {
  background-image: url("../icons/search.svg");
}

.i-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.i-bell {
  background-image: url("../icons/bell.svg");
}

.i-avatar {
  background-image: url("../icons/avatar.svg");
}

.i-globe {
  background-image: url("../icons/globe.svg");
}

.i-top {
  background-image: url("../icons/top.svg");
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(32, 97, 59, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 97, 59, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background: var(--lime-soft);
  content: "";
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 700px;
  margin: 0 auto;
  gap: 60px;
}

.hero-copy {
  padding: 72px 0;
}

.eyebrow,
.section-index,
.console-kicker,
.download-copy > span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(72px, 8vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-slogan {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 28px;
  gap: 10px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.hero-download-wrap {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
}

.primary-download {
  min-width: 230px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  color: var(--white);
  background: var(--green-dark);
}

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

.route-console {
  align-self: center;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 16px 16px 0 rgba(32, 97, 59, 0.12);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 20px 24px;
  color: var(--white);
  background: var(--green-dark);
}

.console-kicker {
  margin-bottom: 2px;
  color: var(--lime);
}

.console-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.sync-state {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  gap: 7px;
}

.sync-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69e28f;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.console-tabs button {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
}

.console-tabs button:last-child {
  border-right: 0;
}

.console-tabs button.is-active {
  color: var(--green-dark);
  background: var(--lime);
}

.console-search {
  display: grid;
  align-items: center;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  margin: 20px 22px 12px;
  padding: 7px 7px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f5f8f0;
  gap: 8px;
}

.console-search input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
}

.console-search button {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 5px;
  color: var(--white);
  background: var(--green);
  font-weight: 700;
}

.genre-row {
  display: flex;
  padding: 0 22px 14px;
  gap: 8px;
}

.genre-row button {
  min-width: 60px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
}

.genre-row button.is-active {
  border-color: var(--green-dark);
  color: var(--white);
  background: var(--green-dark);
}

.console-panel {
  display: none;
  padding: 0 22px 20px;
}

.console-panel.is-active {
  display: block;
}

.console-feature {
  display: grid;
  align-items: center;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 170px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--lime-soft);
  gap: 18px;
}

.console-feature figure {
  width: 122px;
  height: 146px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
}

.console-feature img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.console-feature h3 {
  margin: 6px 0 3px;
  font-size: 24px;
}

.console-feature p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.feature-actions {
  display: flex;
  gap: 8px;
}

.feature-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--white);
  font-weight: 700;
}

.feature-actions .track-button {
  color: var(--white);
  background: var(--green);
}

.save-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-actions button.is-selected {
  color: var(--green-dark);
  background: var(--lime);
}

.console-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  gap: 8px;
}

.console-list button {
  min-height: 60px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  text-align: left;
}

.console-list span,
.console-list small {
  display: block;
}

.console-list span {
  font-weight: 700;
}

.console-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.update-overview {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--lime-soft);
}

.update-overview strong {
  font-size: 20px;
}

.update-overview p {
  margin: 6px 0 0;
  color: var(--muted);
}

.update-schedule {
  display: grid;
  margin-top: 10px;
}

.update-schedule span {
  display: flex;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.update-schedule b {
  width: 70px;
  color: var(--green);
}

.library-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.library-stats span {
  padding: 22px 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.library-stats span:last-child {
  border-right: 0;
}

.library-stats b {
  display: block;
  color: var(--green);
  font-size: 30px;
}

.reminder-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.console-panel > .reminder-switch {
  margin-top: 14px;
}

.reminder-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reminder-switch > span {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 20px;
  background: #aab1a5;
}

.reminder-switch > span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.reminder-switch input:checked + span {
  background: var(--green);
}

.reminder-switch input:checked + span::after {
  left: 26px;
}

.console-message {
  margin: 0;
  padding: 11px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f7f5ec;
  font-size: 12px;
}

.section {
  padding: 100px 0;
}

.section-inner,
.download-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

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

.section-heading > div {
  min-width: 0;
}

.section-index {
  margin-bottom: 6px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 420px;
  margin-bottom: 8px;
  color: var(--muted);
}

.route-filter {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
  gap: 8px;
}

.route-filter button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: transparent;
  font-weight: 700;
}

.route-filter button.is-active {
  color: var(--white);
  background: var(--green);
}

.route-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}

.manga-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.manga-card-featured {
  grid-row: span 2;
}

.manga-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-template-columns: 0.9fr 1.1fr;
}

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

.manga-card figure {
  height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--lime-soft);
}

.manga-card-featured figure {
  height: 540px;
}

.manga-card:nth-child(4) figure {
  height: 280px;
}

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

.manga-copy {
  padding: 22px;
}

.manga-copy > span,
.manga-copy small {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.manga-copy h3 {
  margin: 6px 0;
  font-size: 24px;
}

.manga-copy p {
  margin-bottom: 14px;
  color: var(--muted);
}

.shelf-section {
  color: var(--white);
  background: var(--green-dark);
}

.light-heading .section-index {
  color: var(--lime);
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

.shelf-board {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.shelf-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.shelf-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.shelf-tabs button.is-active {
  color: var(--green-dark);
  background: var(--lime);
}

.shelf-tabs b {
  font-size: 12px;
}

.shelf-content {
  background: var(--white);
  color: var(--ink);
}

.shelf-panel {
  display: none;
  min-height: 265px;
}

.shelf-panel.is-active {
  display: block;
}

.shelf-panel article {
  display: grid;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 88px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}

.shelf-panel article > span {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.shelf-panel h3,
.shelf-panel p {
  margin: 0;
}

.shelf-panel p {
  color: var(--muted);
  font-size: 13px;
}

.shelf-panel button {
  min-width: 68px;
  height: 36px;
  border: 1px solid var(--green);
  border-radius: 5px;
  color: var(--green);
  background: transparent;
  font-weight: 700;
}

.shelf-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 24px;
  background: var(--lime-soft);
  gap: 20px;
}

.shelf-tools p {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 12px;
}

.shelf-tools p span,
.shelf-tools p b {
  display: block;
}

.shelf-tools p span {
  color: var(--muted);
  font-size: 13px;
}

.shelf-tools p b {
  color: var(--ink);
  font-size: 15px;
}

.screens-section,
.faq-section {
  background: var(--cream);
}

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

.screen-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: var(--white);
}

.screen-media {
  width: 250px;
  height: 450px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #f7f7f4;
}

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

.screen-card figcaption {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.screen-card figcaption > span {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.screen-card b,
.screen-card small {
  display: block;
}

.screen-card b {
  font-size: 17px;
}

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

.faq-list {
  border-top: 1px solid var(--green-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 16px 22px;
  border: 0;
  background: transparent;
  text-align: left;
}

.faq-item > button span {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  gap: 24px;
}

.faq-item > button b {
  color: var(--green);
  font-size: 12px;
}

.faq-item > button > i,
.details-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-item > button > i::before,
.faq-item > button > i::after,
.details-icon::before,
.details-icon::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
}

.faq-item > button > i::after,
.details-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open > button > i::after,
.official-site[open] .details-icon::after {
  transform: rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  padding: 0 72px;
  overflow: hidden;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

.official-site {
  margin-top: 18px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: var(--white);
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.official-site p {
  margin: 0;
  padding: 0 54px 22px;
}

.official-site a {
  color: var(--green);
  text-decoration: underline;
}

.reviews-section {
  color: var(--white);
  background: var(--green-dark);
}

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

.review-card {
  display: flex;
  min-height: 260px;
  padding: 26px;
  border-top: 4px solid var(--lime);
  background: var(--white);
  color: var(--ink);
  flex-direction: column;
}

.review-head {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.review-head .i-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--lime-soft);
  background-size: 23px;
}

.review-head b,
.review-head span {
  display: block;
}

.rating {
  margin-top: 2px;
  color: #e0a300;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.review-card p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.9;
}

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

.download-section {
  padding: 72px 0;
  background: var(--lime-soft);
}

.download-inner {
  display: grid;
  min-height: 182px;
  overflow: hidden;
  grid-template-columns: 190px minmax(0, 1fr) 280px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: var(--white);
}

.download-number {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed var(--green-dark);
  background: var(--lime);
  flex-direction: column;
}

.download-number strong {
  font-size: 64px;
  line-height: 1;
}

.download-number span {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

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

.download-copy > span {
  margin-bottom: 4px;
}

.download-copy h2 {
  margin: 0 0 5px;
  font-size: 28px;
}

.download-copy p {
  margin: 0;
  color: var(--muted);
}

.download-ticket {
  padding: 20px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 17px;
}

.download-ticket:hover {
  color: var(--green-dark);
  background: var(--lime);
}

.site-footer {
  padding: 42px 0 28px;
  color: var(--white);
  background: #09291a;
}

.footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 26px 40px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-nav {
  justify-self: end;
}

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

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

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

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--green-dark);
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  pointer-events: none;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .site-nav a::after {
    right: 10px;
    left: 10px;
  }

  .header-download {
    min-width: 132px;
    padding: 0 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
    gap: 34px;
  }

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

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

  .manga-card-featured {
    grid-row: auto;
  }

  .manga-card-featured figure {
    height: 360px;
  }

  .manga-card:nth-child(4) {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .manga-card:nth-child(4) figure {
    height: 260px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-top: var(--header-height);
  }

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

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

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

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

  .brand-copy > span {
    display: block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 10px 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav a {
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    top: 9px;
    right: auto;
    bottom: 9px;
    left: 0;
    width: 3px;
    height: auto;
  }

  .header-actions {
    margin-left: 8px;
  }

  .header-download {
    width: auto;
    min-width: 92px;
    height: 42px;
    padding: 0 13px;
  }

  .header-download .i-download,
  .desktop-download-text {
    display: none;
  }

  .mobile-download-text {
    display: inline;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--green-dark);
    border-radius: 5px;
    background: transparent;
    flex-direction: column;
    gap: 4px;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--green-dark);
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 0;
  }

  .hero-copy {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 58px 0 42px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-slogan {
    font-size: 28px;
  }

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

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

  .hero-download-wrap {
    align-items: center;
  }

  .route-console {
    width: calc(100% - 24px);
    margin: 0 auto 48px;
    box-shadow: 8px 8px 0 rgba(32, 97, 59, 0.12);
    text-align: left;
  }

  .section {
    padding: 72px 0;
  }

  .section-inner,
  .download-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 28px;
    flex-direction: column;
    gap: 12px;
  }

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

  .section-heading > p {
    margin: 0;
  }

  .shelf-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .shelf-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  }

  .shelf-tabs button {
    min-height: 68px;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
    font-size: 14px;
    flex-direction: column;
  }

  .screens-track {
    display: flex;
    width: calc(100vw - 12px);
    margin-right: -12px;
    padding-right: 12px;
    padding-bottom: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    gap: 10px;
  }

  .screen-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

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

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

  .download-ticket {
    grid-column: 1 / -1;
    min-height: 68px;
  }
}

@media (max-width: 640px) {
  .brand {
    gap: 8px;
  }

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

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

  .brand-copy > span {
    font-size: 12px;
  }

  .header-download {
    min-width: 84px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-copy {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(46px, 16vw, 68px);
  }

  .hero-slogan {
    font-size: 25px;
  }

  .hero-intro {
    font-size: 14px;
    text-align: left;
  }

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

  .hero-points span {
    justify-content: center;
    min-height: 66px;
    padding: 8px 5px;
    font-size: 12px;
    flex-direction: column;
  }

  .primary-download {
    width: 100%;
  }

  .hero-download-wrap {
    display: flex;
    width: 100%;
  }

  .console-head {
    padding: 16px;
  }

  .console-head h2 {
    font-size: 20px;
  }

  .console-tabs button {
    font-size: 12px;
  }

  .console-search {
    grid-template-columns: 20px minmax(0, 1fr);
    margin: 14px 12px 10px;
  }

  .console-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .genre-row {
    padding: 0 12px 10px;
    overflow-x: auto;
  }

  .genre-row button {
    flex: 0 0 62px;
  }

  .console-panel {
    padding: 0 12px 14px;
  }

  .console-feature {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 150px;
    gap: 12px;
  }

  .console-feature figure {
    width: 88px;
    height: 126px;
  }

  .console-feature h3 {
    font-size: 20px;
  }

  .console-feature p {
    font-size: 12px;
  }

  .feature-actions {
    flex-wrap: wrap;
  }

  .feature-actions button {
    padding: 0 8px;
    font-size: 12px;
  }

  .console-list {
    grid-template-columns: 1fr;
  }

  .library-stats b {
    font-size: 24px;
  }

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

  .route-filter button {
    padding: 0 10px;
  }

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

  .manga-card,
  .manga-card:nth-child(4) {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .manga-card figure,
  .manga-card-featured figure,
  .manga-card:nth-child(4) figure {
    width: 122px;
    height: 190px;
  }

  .manga-copy {
    padding: 18px 14px;
  }

  .manga-copy h3 {
    font-size: 21px;
  }

  .manga-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 12px;
  }

  .shelf-panel article {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 12px;
    gap: 8px;
  }

  .shelf-panel article > span {
    font-size: 15px;
  }

  .shelf-tools {
    align-items: flex-start;
    padding: 16px 12px;
    flex-direction: column;
  }

  .faq-item > button {
    min-height: 68px;
    padding: 14px;
  }

  .faq-item > button span {
    font-size: 14px;
    gap: 10px;
  }

  .faq-answer p {
    padding-right: 42px;
    padding-left: 42px;
    font-size: 13px;
  }

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

  .official-site p {
    padding: 0 46px 18px;
    word-break: break-all;
  }

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

  .review-card {
    min-height: 0;
    padding: 22px;
  }

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

  .download-number strong {
    font-size: 46px;
  }

  .download-number span {
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .download-copy {
    padding: 22px 16px;
  }

  .download-copy h2 {
    font-size: 21px;
  }

  .download-copy p {
    font-size: 12px;
  }

  .footer-inner {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  .footer-brand {
    justify-content: center;
    min-width: 0;
  }

  .footer-nav {
    justify-self: auto;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 14px 18px;
  }

  .copyright {
    width: 100%;
  }

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

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

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

  .brand-copy > span {
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-download {
    min-width: 76px;
    padding: 0 8px;
  }

  .console-feature {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .console-feature figure {
    width: 76px;
  }
}
