@charset "UTF-8";

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

:root {
  --green-950: #0d2a1a;
  --green-900: #123d25;
  --green-800: #17542f;
  --green-700: #23723c;
  --green-600: #329449;
  --green-500: #55ad41;
  --lime-400: #a7d84a;
  --lime-300: #c7ea78;
  --paper: #f8f7ef;
  --paper-green: #eff5e5;
  --white: #ffffff;
  --ink: #142016;
  --muted: #687369;
  --line: #d6ddcc;
  --soft-line: #e7ebdf;
  --orange: #f2a445;
  --danger: #c84d3a;
  --content: 1200px;
  --header-height: 76px;
  --shadow: 0 18px 50px rgba(20, 50, 28, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

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

.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 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 21px;
  font-weight: 800;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 25px 0 23px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--green-600);
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--green-700);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  width: 100%;
}

.mobile-actions {
  display: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(35, 114, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 114, 60, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 72px;
  left: -180px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(85, 173, 65, 0.22);
  border-radius: 50%;
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -200px;
  width: 480px;
  height: 480px;
  content: "";
  background: rgba(167, 216, 74, 0.18);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: center;
  min-height: 690px;
  gap: 80px;
  padding: 58px 0;
}

.hero-copy {
  max-width: 690px;
}

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

.hero h1 {
  margin-top: 20px;
  color: var(--green-950);
  font-size: clamp(72px, 7vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 26px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.hero-intro {
  max-width: 650px;
  margin-top: 22px;
  color: #4f5d52;
  font-size: 17px;
}

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

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

.hero-points .icon {
  width: 22px;
  height: 22px;
}

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

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  gap: 12px;
  padding: 14px 28px;
  color: var(--white);
  background: var(--green-700);
  border: 2px solid var(--green-700);
  border-radius: 4px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.primary-link .icon-download,
.ticket-action .icon-download {
  filter: brightness(0) invert(1);
}

.primary-link:hover,
.primary-link:focus-visible {
  color: var(--green-800);
  background: var(--white);
}

.primary-link:hover .icon-download,
.primary-link:focus-visible .icon-download {
  filter: none;
}

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

.login-phone {
  position: relative;
  justify-self: end;
  width: 310px;
  padding: 14px 12px 18px;
  background: #0d1110;
  border: 2px solid #030403;
  border-radius: 44px;
  box-shadow: 20px 24px 0 rgba(35, 114, 60, 0.12), var(--shadow);
}

.phone-screen {
  min-height: 568px;
  padding: 56px 22px 28px;
  background: var(--white);
  border-radius: 32px;
}

.phone-island {
  position: absolute;
  z-index: 2;
  top: 21px;
  left: 50%;
  width: 92px;
  height: 25px;
  background: #050706;
  border-radius: 20px;
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 28px;
  right: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
}

.phone-signal {
  letter-spacing: 1px;
}

.phone-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.phone-brand strong {
  margin-top: 8px;
  font-size: 21px;
}

.phone-brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-bottom: 1px solid var(--soft-line);
}

.login-tab {
  position: relative;
  padding: 12px 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.login-tab::after {
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  content: "";
  background: transparent;
}

.login-tab.is-active {
  color: var(--green-700);
}

.login-tab.is-active::after {
  background: var(--green-600);
}

.login-form {
  margin-top: 22px;
}

.phone-field {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 13px;
  padding: 0 13px;
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-field:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(85, 173, 65, 0.12);
}

.phone-field > .icon {
  width: 18px;
  height: 18px;
  opacity: 0.65;
}

.phone-field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.password-toggle .icon {
  width: 17px;
  height: 17px;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.agreement input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--green-600);
}

.login-feedback {
  min-height: 21px;
  margin-top: 8px;
  color: var(--danger);
  font-size: 12px;
}

.login-submit {
  width: 100%;
  min-height: 48px;
  color: var(--white);
  background: var(--green-700);
  border: 1px solid var(--green-700);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: var(--green-900);
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.login-links button {
  padding: 0;
  color: #4f5d52;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.route-section,
.screens-section,
.help-section,
.reviews-section,
.download-section {
  padding: 100px 0;
}

.route-section {
  background: var(--paper-green);
}

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

.section-heading h2 {
  margin-top: 8px;
  color: var(--green-950);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 500px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.route-board {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 500px;
  background: var(--white);
  border: 1px solid #bfcbb5;
  box-shadow: 14px 14px 0 rgba(35, 114, 60, 0.07);
}

.route-rail {
  padding: 32px 20px;
  color: var(--white);
  background: var(--green-900);
}

.route-rail > p {
  margin-bottom: 24px;
  color: var(--lime-300);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.route-mode {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 15px 14px 15px 40px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.route-mode::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid var(--lime-300);
  border-radius: 50%;
  transform: translateY(-50%);
}

.route-mode.is-active {
  color: var(--green-950);
  background: var(--lime-300);
}

.route-mode.is-active::before {
  background: var(--green-900);
  border-color: var(--green-900);
}

.route-content {
  padding: 28px;
}

.route-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-line);
}

.route-search {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  background: #f4f7f0;
  border: 1px solid var(--line);
}

.route-search input {
  min-width: 0;
  flex: 1;
  margin-left: 10px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.route-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.route-filters button {
  min-width: 62px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.route-filters button:hover,
.route-filters button:focus-visible,
.route-filters button.is-active {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

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

.manga-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 142px;
  gap: 14px;
  padding: 12px;
  background: #fbfcf8;
  border: 1px solid var(--soft-line);
}

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

.manga-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 118px;
  overflow: hidden;
  background: #edf1e8;
}

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

.manga-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

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

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

.manga-card span {
  align-self: flex-start;
  margin-top: 12px;
  padding: 3px 8px;
  color: var(--green-800);
  background: #e6f3dc;
  font-size: 12px;
  font-weight: 700;
}

.route-empty {
  margin-top: 36px;
  padding: 30px;
  color: var(--muted);
  background: #f6f8f2;
  border: 1px dashed var(--line);
  font-size: 14px;
  text-align: center;
}

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

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

.screenshot-grid figure {
  min-width: 0;
  background: var(--white);
  border: 1px solid #bbc5b3;
}

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

.shot-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screenshot-grid figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  min-height: 92px;
  column-gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.screenshot-grid figcaption > span {
  grid-row: 1 / 3;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

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

.help-section {
  background: #f2f5ec;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  gap: 24px;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.faq-item > button b {
  display: inline-block;
  width: 48px;
  color: var(--green-600);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.faq-item > button > i,
.detail-state {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-item > button > i::before,
.faq-item > button > i::after,
.detail-state::before,
.detail-state::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item > button > i::after,
.detail-state::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item > button[aria-expanded="true"] > i::after,
.official-site[open] .detail-state::after {
  display: none;
}

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

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

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

.faq-item.is-open .faq-answer > p {
  padding-top: 2px;
  padding-bottom: 24px;
}

.official-site {
  width: 100%;
  max-width: var(--content);
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--green-950);
}

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

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

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

.official-content {
  padding: 0 24px 24px 56px;
  color: var(--muted);
  border-top: 1px solid var(--soft-line);
}

.official-content p {
  padding-top: 18px;
  font-size: 14px;
}

.official-content a {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews-section {
  background: var(--paper-green);
}

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

.review-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid #c7d2bd;
  border-top: 4px solid var(--green-600);
}

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

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-line);
}

.review-user {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.review-user .icon-avatar {
  width: 40px;
  height: 40px;
  padding: 8px;
  background-color: var(--paper-green);
  background-size: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

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

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--orange);
  white-space: nowrap;
}

.review-rating .aiarticle-comment-rating-icon {
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
}

.review-rating .fa-star::before {
  content: "★";
}

.review-rating .fa-star-o::before {
  content: "☆";
}

.review-card > p {
  flex: 1;
  margin-top: 20px;
  color: #374139;
  font-size: 14px;
  line-height: 1.9;
}

.review-card > time {
  align-self: flex-end;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

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

.download-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 230px;
  align-items: stretch;
  min-height: 180px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--lime-300);
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  left: 228px;
  width: 38px;
  height: 38px;
  content: "";
  background: var(--green-900);
  border-radius: 50%;
  transform: translateX(-50%);
}

.download-ticket::before {
  top: -19px;
}

.download-ticket::after {
  bottom: -19px;
}

.ticket-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 36px;
  background: var(--lime-300);
  border-right: 1px dashed var(--green-700);
}

.ticket-index > span {
  color: var(--green-900);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.ticket-index strong {
  margin-top: 10px;
  font-size: 17px;
}

.ticket-index small {
  margin-top: 5px;
  color: var(--green-800);
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.ticket-copy > p {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

.ticket-copy > span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--green-700);
  border-left: 1px solid var(--green-800);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.ticket-action:hover,
.ticket-action:focus-visible {
  color: var(--green-950);
  background: var(--lime-300);
}

.ticket-action:hover .icon-download,
.ticket-action:focus-visible .icon-download {
  filter: none;
}

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

.footer-inner {
  padding: 42px 0 26px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

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

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

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

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

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

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

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--lime-300);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  color: #b9c8bd;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  background: var(--green-700);
  border: 1px solid var(--lime-300);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top .icon-top {
  filter: brightness(0) invert(1);
}

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

@media (max-width: 1024px) {
  .site-nav ul {
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
  }

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

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

  .download-ticket {
    grid-template-columns: 210px minmax(0, 1fr) 200px;
  }

  .download-ticket::before,
  .download-ticket::after {
    left: 190px;
  }
}

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

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

  body.menu-open {
    overflow: hidden;
  }

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

  .header-inner {
    position: relative;
    width: 100%;
    padding: 0 12px;
  }

  .brand {
    min-width: 0;
    flex: 1;
    gap: 7px;
  }

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

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

  .brand-copy span {
    margin-top: 1px;
    font-size: 12px;
  }

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

  .mobile-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 40px;
    padding: 8px 10px;
    color: var(--white);
    background: var(--green-700);
    border: 1px solid var(--green-700);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--green-950);
    cursor: pointer;
  }

  .menu-toggle .icon {
    width: 22px;
    height: 22px;
  }

  .site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav ul {
    display: block;
    width: 100%;
    padding: 8px 16px 18px;
  }

  .site-nav li {
    border-bottom: 1px solid var(--soft-line);
  }

  .site-nav a {
    padding: 15px 4px;
    font-size: 14px;
  }

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

  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero-inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 48px;
    padding: 66px 0 74px;
  }

  .hero-copy {
    display: flex;
    max-width: 620px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(56px, 18vw, 82px);
    white-space: nowrap;
  }

  .hero-slogan {
    margin-top: 22px;
    font-size: clamp(25px, 8vw, 36px);
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-points {
    justify-content: center;
    gap: 12px 18px;
  }

  .hero-action {
    align-items: center;
  }

  .login-phone {
    justify-self: auto;
    width: min(310px, calc(100vw - 48px));
    margin: 0 auto;
  }

  .route-section,
  .screens-section,
  .help-section,
  .reviews-section,
  .download-section {
    padding: 72px 0;
  }

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

  .section-heading h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .section-heading > p {
    max-width: 640px;
    margin-top: 14px;
    padding-bottom: 0;
    text-align: left;
  }

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

  .route-rail {
    padding: 20px;
  }

  .route-rail > p {
    margin-bottom: 14px;
  }

  .route-mode {
    display: inline-block;
    width: auto;
    min-height: 42px;
    margin: 0 6px 6px 0;
    padding: 10px 14px 10px 34px;
  }

  .route-mode::before {
    left: 14px;
  }

  .route-content {
    padding: 20px;
  }

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

  .route-filters {
    justify-content: flex-start;
  }

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

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

  .download-ticket::before,
  .download-ticket::after {
    left: 160px;
  }

  .ticket-action {
    grid-column: 1 / -1;
    min-height: 72px;
    border-top: 1px solid var(--green-800);
    border-left: 0;
  }

  .footer-top {
    align-items: flex-start;
  }

  .footer-nav ul {
    max-width: 420px;
  }

  .back-top,
  .site-nav,
  .site-nav *,
  .mobile-download,
  .menu-toggle,
  .login-tab,
  .password-toggle,
  .login-submit,
  .route-mode,
  .route-filters button,
  .faq-item button,
  .official-site summary,
  .primary-link,
  .ticket-action {
    transition: none;
    animation: none;
  }
}

@media (max-width: 620px) {
  .manga-grid {
    grid-template-columns: 1fr;
  }

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

  .screenshot-grid figcaption {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
  }

  .screenshot-grid figcaption > span {
    font-size: 12px;
  }

  .screenshot-grid figcaption strong {
    font-size: 14px;
  }

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

  .faq-item > button b {
    width: 34px;
  }

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

  .official-site summary {
    min-height: 68px;
    padding: 16px;
    font-size: 14px;
  }

  .official-content {
    padding: 0 16px 20px;
  }

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

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

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

  .download-ticket::before,
  .download-ticket::after {
    display: none;
  }

  .ticket-index {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px dashed var(--green-700);
  }

  .ticket-index > span {
    font-size: 34px;
  }

  .ticket-copy {
    padding: 28px 24px;
  }

  .ticket-copy h2 {
    font-size: 23px;
    white-space: nowrap;
  }

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

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

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

@media (max-width: 374px) {
  .header-inner {
    padding: 0 9px;
  }

  .brand {
    gap: 5px;
  }

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

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

  .mobile-actions {
    gap: 6px;
  }

  .mobile-download {
    min-width: 72px;
    padding-right: 8px;
    padding-left: 8px;
  }

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

  .hero-points {
    gap: 10px 12px;
  }

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

  .route-content {
    padding: 15px;
  }

  .screenshot-grid {
    gap: 8px;
  }

  .screenshot-grid figcaption {
    padding: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
