@charset "UTF-8";

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

:root {
  --paper: #f8f6ec;
  --paper-deep: #f0efe1;
  --white: #ffffff;
  --ink: #142014;
  --muted: #687366;
  --forest: #164f2e;
  --forest-dark: #0d321f;
  --leaf: #72ad2c;
  --lime: #b8e545;
  --coral: #ff705f;
  --line: #cbd5b8;
  --soft-green: #ecf2df;
  --header-height: 76px;
  --content-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);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

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

[hidden] {
  display: none !important;
}

.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 {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(248, 246, 236, 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-width));
  height: 100%;
  margin: 0 auto;
}

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

.brand img {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

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

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

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

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: none;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent 50%, rgba(218, 229, 194, 0.32) 50%, rgba(218, 229, 194, 0.32) 100%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
  align-items: center;
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 690px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 690px;
  padding: 80px 64px 80px 0;
}

.eyebrow,
.section-index {
  display: inline-block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-top: 18px;
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: clamp(72px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-title {
  max-width: 650px;
  margin-top: 30px;
  font-size: clamp(28px, 2.2vw, 39px);
  font-weight: 800;
  line-height: 1.3;
}

.hero-description {
  max-width: 630px;
  margin-top: 22px;
  color: #4e5b4d;
  font-size: 16px;
}

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

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

.hero-download {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 34px;
}

.hero-download > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 58px;
  gap: 10px;
  padding: 0 34px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid var(--forest);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-download > a:hover,
.hero-download > a:focus-visible {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

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

.hero-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 54px 0 54px 30px;
}

.phone-shell {
  position: relative;
  width: 310px;
  padding: 13px;
  background: #111b14;
  border: 1px solid #071009;
  border-radius: 44px;
  box-shadow: 18px 24px 0 rgba(22, 79, 46, 0.13);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  width: 96px;
  height: 25px;
  background: #111b14;
  border-radius: 0 0 17px 17px;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  min-height: 600px;
  background: var(--white);
  border-radius: 33px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 800;
}

.status-icons {
  letter-spacing: 2px;
}

.login-app {
  padding: 18px 20px 24px;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
}

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

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

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  border-bottom: 1px solid #dfe6d7;
}

.login-tab {
  position: relative;
  padding: 12px 6px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

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

.login-tab.is-active {
  color: var(--forest);
  font-weight: 800;
}

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

.login-form,
.quick-panel {
  margin-top: 28px;
}

.login-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.login-subtitle {
  margin-top: 4px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.login-field {
  position: relative;
  display: block;
  margin-top: 18px;
}

.login-field > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  color: var(--muted);
  font-size: 12px;
  transform: translateY(-50%);
}

.login-field input {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 54px;
  outline: none;
  background: #f7f8f3;
  border: 1px solid #dfe6d7;
  border-radius: 8px;
  font-size: 13px;
}

.login-field input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(114, 173, 44, 0.13);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: transparent;
  transform: translateY(-50%);
}

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

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.remember-option input {
  position: absolute;
  opacity: 0;
}

.remember-option > span {
  position: relative;
  width: 30px;
  height: 17px;
  background: #c9d1c4;
  border-radius: 20px;
}

.remember-option > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.remember-option input:checked + span {
  background: var(--leaf);
}

.remember-option input:checked + span::after {
  transform: translateX(13px);
}

.remember-option strong,
.text-button {
  font-size: 12px;
  font-weight: 600;
}

.text-button,
.register-button {
  color: var(--forest);
  background: transparent;
}

.login-submit,
.quick-panel button {
  width: 100%;
  height: 48px;
  margin-top: 22px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.login-feedback {
  min-height: 20px;
  margin-top: 8px;
  color: #a04635;
  text-align: center;
  font-size: 12px;
}

.register-button {
  display: block;
  margin: 4px auto 0;
  padding: 7px;
  font-size: 12px;
}

.quick-panel button + button {
  margin-top: 10px;
  color: var(--forest);
  background: var(--soft-green);
  border: 1px solid var(--line);
}

.quick-panel > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.section-heading h2,
.download-heading h2 {
  margin-top: 7px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p {
  color: var(--muted);
  font-size: 15px;
}

.discovery-section {
  background: #fffdf5;
}

.discovery-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  border: 1px solid var(--line);
  background: var(--white);
}

.search-panel {
  padding: 28px;
}

.search-panel > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.search-line {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px;
}

.search-line .icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.search-line input {
  height: 52px;
  padding: 0 20px 0 48px;
  outline: none;
  background: #f8faf5;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 14px;
}

.search-line input:focus {
  border-color: var(--leaf);
}

.search-line button {
  color: var(--white);
  background: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.filter-rails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.filter-rails label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.filter-rails span {
  font-size: 12px;
  font-weight: 700;
}

.filter-rails select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  outline: none;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
}

.search-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  color: var(--white);
  background: var(--forest-dark);
}

.search-summary span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.search-summary strong {
  margin-top: 8px;
  font-size: 24px;
}

.search-summary p {
  margin-top: 16px;
  color: #dbe7d8;
  font-size: 12px;
}

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

.manga-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 104px;
  gap: 18px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.manga-row figure {
  display: grid;
  width: 72px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  background: var(--soft-green);
}

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

.manga-row h3 {
  font-size: 16px;
}

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

.manga-row span {
  display: block;
  margin-top: 5px;
  color: var(--forest);
  font-weight: 700;
}

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

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

.shelf-lane {
  min-height: 360px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.lane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.lane-heading h3 {
  font-size: 18px;
}

.lane-heading span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-size: 12px;
}

.shelf-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  background: var(--white);
  border: 1px solid #dce4d2;
}

.shelf-item figure {
  display: grid;
  width: 48px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  background: var(--soft-green);
}

.shelf-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shelf-item div {
  display: grid;
}

.shelf-item strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelf-item div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.follow-toggle {
  position: relative;
  width: 34px;
  height: 20px;
  padding: 0;
  background: #c9d1c4;
  border-radius: 20px;
}

.follow-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.follow-toggle.is-on {
  background: var(--leaf);
}

.follow-toggle.is-on span {
  transform: translateX(14px);
}

.shelf-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 16px;
  padding: 12px 20px;
  background: #dfe9cf;
  border: 1px solid var(--line);
}

.shelf-summary span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.screenshots-section {
  background: #fffdf5;
}

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

.screenshot-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.screenshot-window {
  display: grid;
  width: 100%;
  aspect-ratio: 9 / 16;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
}

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

.screenshot-card figcaption {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 14px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
}

.screenshot-card figcaption span {
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

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

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

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

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

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

.faq-item > button:hover,
.faq-item > button:focus-visible {
  background: rgba(222, 233, 207, 0.55);
}

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

.faq-item > button strong {
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

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

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

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

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

.faq-answer {
  padding: 0 70px 24px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--forest);
}

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

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

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

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

.official-site p,
.official-site a {
  font-size: 14px;
}

.official-site a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.voices-section {
  background: #edf3e4;
}

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

.voice-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--leaf);
  box-shadow: 0 12px 28px rgba(40, 67, 36, 0.06);
}

.voice-card:nth-child(3n + 2) {
  border-top-color: var(--forest-dark);
}

.voice-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dce4d2;
}

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

.voice-identity .icon-user {
  width: 38px;
  height: 38px;
  padding: 8px;
  background-color: var(--forest-dark);
  background-size: 20px 20px;
  border-radius: 50%;
}

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

.voice-rating {
  flex: 0 0 auto;
  color: #e89b10;
  font-size: 13px;
  white-space: nowrap;
}

.voice-rating .aiarticle-comment-rating-icon {
  display: inline-block;
  width: auto;
  margin-left: 2px;
  font-style: normal;
}

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

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

.voice-card > p {
  margin-top: 18px;
  color: #334132;
  font-size: 14px;
}

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

.download-section {
  padding: 90px 0;
  background: var(--paper);
}

.download-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.download-heading .section-index {
  order: 2;
  margin-bottom: 10px;
}

.download-sleeve {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 260px;
  align-items: stretch;
  min-height: 174px;
  color: var(--white);
  background: var(--forest-dark);
  border-radius: 0 28px 0 0;
}

.download-sleeve::before {
  position: absolute;
  top: -16px;
  left: 80px;
  width: 180px;
  height: 16px;
  content: "";
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.download-serial {
  display: grid;
  place-items: center;
  color: var(--forest-dark);
  background: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  writing-mode: vertical-rl;
}

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

.download-copy > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.download-copy strong {
  margin-top: 6px;
  font-size: 26px;
}

.download-copy p {
  margin-top: 8px;
  color: #dbe7d8;
  font-size: 13px;
}

.download-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  background: var(--coral);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.download-action .icon-arrow {
  width: 24px;
  height: 24px;
}

.download-action:hover,
.download-action:focus-visible {
  background: #ff897b;
}

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

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

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

.footer-brand .brand-copy span {
  color: #bac8b7;
}

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

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

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

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

.back-to-top {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  visibility: hidden;
  background: var(--lime);
  border: 1px solid var(--forest-dark);
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.back-to-top .icon {
  width: 22px;
  height: 22px;
}

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

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

  .hero-inner {
    grid-template-columns: minmax(0, 56%) minmax(280px, 44%);
  }

  .hero-copy {
    padding-right: 36px;
  }

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

  .phone-shell {
    width: 292px;
  }

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

  .shelf-lane:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

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

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

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

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

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

  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }

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

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

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

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

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

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

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

  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--forest-dark);
  }

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

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

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

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
    width: min(calc(100% - 28px), var(--content-width));
    margin: 0 auto;
    padding: 8px 0 14px;
  }

  .primary-nav li + li {
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    display: flex;
    min-height: 48px;
    font-size: 14px;
  }

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

  .hero {
    background: var(--paper);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 620px;
    margin: 0 auto;
    padding: 62px 0 24px;
    text-align: center;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(56px, 20vw, 82px);
    white-space: normal;
  }

  .hero-title {
    margin-top: 24px;
    font-size: clamp(25px, 7vw, 34px);
  }

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

  .hero-features {
    justify-content: center;
    gap: 16px;
  }

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

  .hero-phone {
    justify-content: center;
    padding: 22px 0 60px;
  }

  .phone-shell {
    width: min(310px, calc(100vw - 54px));
    box-shadow: 10px 14px 0 rgba(22, 79, 46, 0.13);
  }

  .phone-screen {
    min-height: 580px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

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

  .section-heading > p {
    font-size: 14px;
  }

  .discovery-workbench {
    grid-template-columns: 1fr;
  }

  .search-summary {
    min-height: 130px;
  }

  .filter-rails {
    grid-template-columns: 1fr;
  }

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

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

  .shelf-lane,
  .shelf-lane:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .shelf-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .screenshot-card figcaption {
    min-height: 58px;
    gap: 8px;
    padding: 10px;
  }

  .screenshot-card figcaption span,
  .screenshot-card figcaption strong {
    font-size: 13px;
  }

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

  .faq-item > button > span {
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
  }

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

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

  .official-site summary > span {
    gap: 8px;
    font-size: 14px;
  }

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

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

  .voice-card {
    min-height: 210px;
  }

  .download-section {
    padding-top: 72px;
  }

  .download-heading {
    display: block;
  }

  .download-heading .section-index {
    margin-bottom: 0;
  }

  .download-sleeve {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 0;
    border-radius: 0 22px 0 0;
  }

  .download-sleeve::before {
    left: 54px;
    width: 130px;
  }

  .download-serial {
    grid-row: 1 / 3;
    font-size: 22px;
  }

  .download-copy {
    padding: 34px 24px 24px;
  }

  .download-copy strong {
    font-size: 22px;
  }

  .download-action {
    min-height: 62px;
    margin: 0 20px 24px;
    font-size: 17px;
  }

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

  .footer-nav ul {
    justify-content: center;
    gap: 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: 36px;
    height: 36px;
    flex-basis: 36px;
  }

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

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

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

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

  .search-panel {
    padding: 20px;
  }

  .search-line {
    grid-template-columns: 1fr 82px;
  }

  .manga-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .manga-row figure {
    width: 62px;
  }

  .shelf-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .shelf-item figure {
    width: 42px;
    height: 50px;
  }

  .screenshot-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .voice-card {
    padding: 20px;
  }

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