@charset "UTF-8";

:root {
  --brand: #ff3f6c;
  --brand-deep: #d91f54;
  --coral: #ff6b57;
  --yellow: #ffd94d;
  --ink: #24152e;
  --navy: #111f39;
  --paper: #fff9f3;
  --paper-deep: #f7eee6;
  --pink-soft: #fff0f3;
  --line: #dfd2d8;
  --muted: #695c6d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

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

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

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

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

.container,
.header-inner,
.hero-grid,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

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

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-download { background-image: url("../icons/download.svg"); }
.icon-menu { background-image: url("../icons/menu.svg"); }
.icon-search { background-image: url("../icons/search.svg"); }
.icon-route { background-image: url("../icons/route.svg"); }
.icon-bookmark { background-image: url("../icons/bookmark.svg"); }
.icon-chevron-left { background-image: url("../icons/chevron-left.svg"); }
.icon-chevron-right { background-image: url("../icons/chevron-right.svg"); }
.icon-globe { background-image: url("../icons/globe.svg"); }
.icon-arrow-up { background-image: url("../icons/arrow-up.svg"); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

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

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

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 5px;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand strong,
.footer-brand strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.brand small,
.footer-brand small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 75px;
  font-size: 14px;
  font-weight: 800;
}

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

.primary-nav a:hover::after,
.primary-nav a.is-current::after {
  opacity: 1;
}

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

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 44px;
  padding: 0 20px;
  gap: 9px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.header-download:hover {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
}

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

.hero-section::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: var(--pink-soft);
  border: 1px solid rgba(255, 63, 108, 0.22);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 680px);
  align-items: center;
  min-height: 700px;
  gap: 80px;
}

.eyebrow,
.section-index,
.download-copy > p {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(72px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-copy h2 {
  margin-top: 26px;
  font-size: 32px;
  line-height: 1.25;
}

.hero-description {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

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

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
  gap: 9px;
}

.hero-action > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 58px;
  padding: 0 24px;
  gap: 10px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 900;
}

.hero-action > a:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.age-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-viewfinder {
  min-width: 0;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.viewfinder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.viewfinder-head span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.viewfinder-head h2 {
  margin-top: 4px;
  font-size: 23px;
}

.viewfinder-buttons {
  display: flex;
  gap: 8px;
}

.viewfinder-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  cursor: pointer;
}

.viewfinder-track {
  display: flex;
  max-width: 100%;
  margin-top: 20px;
  padding: 0 0 10px;
  overflow-x: auto;
  gap: 10px;
  scrollbar-color: var(--yellow) rgba(255, 255, 255, 0.16);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.viewfinder-card {
  flex: 0 0 210px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  scroll-snap-align: start;
}

.viewfinder-card > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 373px;
  overflow: hidden;
  background: #f7f2f4;
}

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

.viewfinder-card figcaption {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 14px;
  column-gap: 8px;
}

.viewfinder-card figcaption span {
  grid-row: 1 / 3;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.viewfinder-card figcaption strong {
  font-size: 15px;
}

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

.viewfinder-hint {
  margin-top: 8px;
  color: #cfc6d5;
  font-size: 12px;
  text-align: right;
}

section[id] {
  scroll-margin-top: 76px;
}

.explore-section,
.screens-section,
.faq-section,
.download-section {
  padding: 96px 0;
}

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

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.explore-section {
  background: var(--white);
}

.explore-board {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 560px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}

.genre-rail {
  display: flex;
  flex-direction: column;
  background: var(--ink);
}

.genre-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 20px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.genre-button small {
  color: #c4b7ca;
  font-size: 12px;
}

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

.genre-button.is-active small {
  color: var(--ink);
}

.manga-results {
  padding: 26px;
  background: var(--paper);
}

.result-toolbar {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 110px;
  align-items: center;
  min-height: 52px;
  padding-left: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.result-toolbar input {
  width: 100%;
  height: 50px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  outline: 0;
}

.result-toolbar button {
  height: 42px;
  margin-right: 5px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 3px;
  cursor: pointer;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  gap: 14px;
}

.manga-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 188px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.manga-card[hidden] {
  display: none;
}

.manga-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  background: var(--pink-soft);
}

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

.manga-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
}

.manga-card > div > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.manga-card h3 {
  margin-top: 3px;
  font-size: 19px;
}

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

.manga-card button {
  min-height: 34px;
  margin-top: auto;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.manga-card button.is-saved {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.empty-result {
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
}

.route-section,
.reviews-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--ink);
}

.light-heading > p,
.light-heading .section-index {
  color: #cfc3d3;
}

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

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

.route-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
}

.route-map article {
  min-height: 280px;
  padding: 28px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.route-map article:last-child {
  border-right: 0;
}

.route-map article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-weight: 900;
}

.route-map article > div {
  margin-top: 62px;
}

.route-map small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.route-map h3 {
  margin: 5px 0 10px;
  font-size: 20px;
}

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

.route-desk {
  padding: 26px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
}

.route-desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.route-desk-head > span {
  font-size: 20px;
  font-weight: 900;
}

.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.switch-control input {
  position: absolute;
  opacity: 0;
}

.switch-control > span {
  position: relative;
  width: 38px;
  height: 22px;
  background: #665b70;
  border-radius: 20px;
}

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

.switch-control input:checked + span {
  background: var(--brand);
}

.switch-control input:checked + span::after {
  left: 19px;
}

.switch-control small {
  font-size: 12px;
}

.route-desk li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 64px;
  align-items: center;
  min-height: 78px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.route-desk li:last-child {
  border-bottom: 0;
}

.route-desk time {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.route-desk li div {
  display: flex;
  flex-direction: column;
}

.route-desk li small {
  color: #baaebf;
  font-size: 12px;
}

.route-desk li button {
  min-height: 34px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--brand);
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

.route-desk li button.is-reminded {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.screens-section {
  background: var(--paper-deep);
}

.screen-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 14px;
}

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

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

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

.screen-card figcaption {
  display: flex;
  min-height: 90px;
  padding: 18px;
  gap: 13px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.screen-card figcaption div {
  display: flex;
  flex-direction: column;
}

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

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

.faq-section {
  background: var(--white);
}

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

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

.faq-item h3 {
  font-size: 16px;
}

.faq-item h3 button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-item h3 button span {
  display: flex;
  align-items: center;
  gap: 28px;
}

.faq-item h3 b {
  color: var(--brand);
  font-size: 12px;
}

.faq-item h3 i,
.official-site summary > i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-item h3 i::before,
.faq-item h3 i::after,
.official-site summary > i::before,
.official-site summary > i::after {
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

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

.faq-answer {
  padding: 0 68px 22px;
  color: var(--muted);
}

.official-site {
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

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

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

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

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

.official-site > div a {
  color: var(--brand-deep);
  text-decoration: underline;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-top: 4px solid var(--brand);
  border-radius: 3px;
}

.review-card:nth-child(even) {
  border-top-color: var(--yellow);
}

.review-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  display: inline-block;
  width: 42px;
  height: 42px;
  background-image: url("../icons/avatar.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.review-head strong {
  font-size: 14px;
}

.review-head span {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.review-card p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.95;
}

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

.download-section {
  background: var(--pink-soft);
}

.download-pass {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 250px;
  min-height: 180px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 5px;
}

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

.download-number span {
  font-size: 66px;
  font-weight: 900;
  line-height: 1;
}

.download-number small {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

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

.download-copy h2 {
  margin: 7px 0;
  font-size: 30px;
  line-height: 1.25;
}

.download-copy > span {
  color: var(--muted);
}

.download-pass > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--brand);
  border-left: 1px solid var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.download-pass > a:hover {
  background: var(--ink);
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 210px;
  padding: 42px 0 22px;
  gap: 26px;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: #c8bdcc;
}

.site-footer nav ul {
  display: flex;
  gap: 28px;
}

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

.footer-inner > p {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #c8bdcc;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .primary-nav ul {
    gap: 18px;
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
    gap: 42px;
  }

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

@media (max-width: 860px) {
  body {
    padding-top: 68px;
  }

  .site-header {
    height: 68px;
  }

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

  .brand {
    min-width: 0;
    gap: 8px;
  }

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

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

  .brand small {
    font-size: 12px;
  }

  .primary-nav {
    position: fixed;
    z-index: 999;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
  }

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

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .primary-nav li:last-child {
    grid-column: 1 / -1;
  }

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

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

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

  .header-download {
    min-width: auto;
    height: 40px;
    padding: 0 14px;
  }

  .header-download .icon {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 74px 0;
    gap: 44px;
  }

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

  .hero-copy h1 {
    font-size: clamp(60px, 16vw, 88px);
  }

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

  .hero-points,
  .hero-action {
    justify-content: center;
    align-items: center;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-heading > p {
    width: auto;
    padding: 0;
  }

  .explore-board {
    grid-template-columns: 1fr;
  }

  .genre-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .genre-button {
    min-height: 64px;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
  }

  .genre-button small {
    display: none;
  }

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

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

  .download-pass > a {
    grid-column: 1 / -1;
    min-height: 66px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-grid,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .explore-section,
  .route-section,
  .screens-section,
  .faq-section,
  .reviews-section,
  .download-section {
    padding: 70px 0;
  }

  .hero-viewfinder {
    padding: 16px;
  }

  .viewfinder-head {
    align-items: flex-start;
  }

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

  .viewfinder-card {
    flex-basis: 200px;
  }

  .viewfinder-card > div {
    width: 200px;
    height: 356px;
  }

  .manga-results {
    padding: 12px;
  }

  .result-toolbar {
    grid-template-columns: 28px minmax(0, 1fr) 78px;
  }

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

  .manga-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .manga-card figure img {
    height: 160px;
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .route-map article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-map article:last-child {
    border-bottom: 0;
  }

  .route-map article > div {
    margin-top: 0;
  }

  .route-desk {
    padding: 18px 14px;
  }

  .screen-track {
    display: flex;
    width: calc(100% + 12px);
    max-width: none;
    margin-right: -12px;
    padding-right: 12px;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

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

  .screen-image {
    width: 250px;
    height: 450px;
    aspect-ratio: auto;
  }

  .faq-item h3 button {
    min-height: 72px;
    padding: 0 8px;
  }

  .faq-item h3 button span {
    gap: 12px;
  }

  .faq-answer {
    padding: 0 8px 20px 40px;
  }

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

  .official-site > div {
    padding: 0 44px 18px;
  }

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

  .review-card {
    min-height: 0;
  }

  .download-pass {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-number {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px dashed var(--ink);
  }

  .download-copy {
    padding: 26px 18px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .site-footer nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) {
  .brand-copy {
    max-width: 120px;
  }

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

  .header-download {
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-points {
    gap: 6px;
  }

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

  .genre-button {
    padding: 0 5px;
  }
}

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
