@charset "UTF-8";

:root {
  --ink: #20251b;
  --muted: #66705b;
  --paper: #fbf8ee;
  --paper-soft: #f3f4e8;
  --white: #ffffff;
  --green: #62962a;
  --green-deep: #315f1f;
  --lime: #c7e77b;
  --lime-soft: #eaf4c8;
  --coral: #ee795f;
  --line: #cbd4b5;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(98, 150, 42, 0.28);
  outline-offset: 3px;
}

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

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

ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  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);
  background: #fdfbf4;
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

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

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

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

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.08em;
}

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

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

.site-nav a {
  position: relative;
  display: block;
  padding: 27px 0 23px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-deep);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 20px;
}

.mobile-download {
  display: inline-flex;
  height: 40px;
  align-items: center;
  padding: 0 15px;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.eyebrow {
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.eyebrow span {
  color: var(--coral);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 40%, rgba(98, 150, 42, 0.08) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 49.8%, rgba(98, 150, 42, 0.08) 50%, transparent 50.2%);
  background-size: 34px 34px, 100% 100%;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(98, 150, 42, 0.2);
  border-radius: 50%;
}

.hero::before {
  top: 95px;
  right: -150px;
  width: 470px;
  height: 470px;
}

.hero::after {
  bottom: 80px;
  left: -120px;
  width: 280px;
  height: 280px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  min-height: 760px;
  align-items: center;
  gap: 64px;
  padding: 64px 0;
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(72px, 8vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-copy h2 {
  margin-top: 28px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.25;
}

.hero-description {
  max-width: 580px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 15px;
}

.hero-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: 590px;
  margin-top: 30px;
  padding: 6px 7px 6px 18px;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(60, 76, 45, 0.08);
}

.hero-search input,
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
}

.hero-search button,
.filter-bar > button {
  min-height: 42px;
  padding: 0 24px;
  color: var(--white);
  background: var(--green);
  border-radius: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-search button:hover,
.filter-bar > button:hover {
  background: var(--green-deep);
}

.hero-tags,
.genre-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 13px;
}

.hero-tags button,
.genre-tabs button {
  padding: 7px 14px;
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 12px;
}

.hero-tags button:hover,
.genre-tabs button:hover,
.genre-tabs button.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--green);
}

.platform-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.platform-links a {
  display: grid;
  min-width: 188px;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
}

.platform-links a:first-child {
  color: var(--white);
  background: var(--green);
  border-color: var(--green-deep);
  box-shadow: 4px 4px 0 var(--green-deep);
}

.platform-links span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 900;
}

.platform-links small {
  font-size: 12px;
  font-weight: 500;
}

.version-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

i[class^="icon-"]::before,
.top-icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-search,
.icon-bell,
.icon-plus {
  display: block;
  width: 20px;
  height: 20px;
}

.icon-android,
.icon-ios {
  display: block;
  width: 34px;
  height: 34px;
}

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

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

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

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

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

.hero-visual {
  position: relative;
  min-height: 650px;
}

.pond-ring {
  position: absolute;
  border: 1px dashed rgba(98, 150, 42, 0.38);
  border-radius: 50%;
}

.pond-ring-one {
  top: 60px;
  right: -50px;
  width: 450px;
  height: 450px;
}

.pond-ring-two {
  top: 110px;
  right: 0;
  width: 350px;
  height: 350px;
}

.phone-shell {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 338px;
  height: 650px;
  padding: 12px;
  background: #171a16;
  border: 2px solid #0f110e;
  border-radius: 46px;
  box-shadow: 18px 24px 0 rgba(98, 150, 42, 0.2);
  transform: translateX(-50%);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 94px;
  height: 24px;
  background: #0d0f0c;
  border-radius: 20px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: 35px;
}

.phone-status,
.phone-brand-row,
.phone-heading,
.phone-tabs,
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  padding: 11px 18px 5px;
  font-size: 9px;
}

.phone-brand-row {
  padding: 11px 18px 7px;
}

.phone-brand-row strong {
  color: var(--green-deep);
  font-size: 21px;
}

.phone-brand-row button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.phone-brand-row .icon-search {
  width: 16px;
  height: 16px;
}

.phone-search {
  margin: 0 18px 10px;
  padding: 8px 13px;
  color: #8d9585;
  background: var(--paper-soft);
  border-radius: 18px;
  font-size: 9px;
}

.phone-tabs {
  padding: 0 19px 8px;
  border-bottom: 1px solid #e5e8dd;
  font-size: 9px;
}

.phone-tabs .active {
  color: var(--green-deep);
  font-weight: 900;
}

.phone-feature {
  margin: 12px 16px 0;
  padding: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(199, 231, 123, 0.7), transparent 32%),
    linear-gradient(135deg, #254b1b, #6b9d31);
  border-radius: 18px;
}

.phone-feature span,
.phone-feature p {
  font-size: 8px;
}

.phone-feature h3 {
  margin: 7px 0;
  font-size: 18px;
  line-height: 1.25;
}

.phone-heading {
  padding: 13px 16px 8px;
  font-size: 10px;
}

.phone-heading button {
  color: var(--green-deep);
  background: transparent;
  font-size: 9px;
}

.phone-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0 15px;
}

.phone-covers article {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.phone-covers img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.phone-covers strong {
  margin-top: 5px;
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-covers span {
  color: var(--muted);
  font-size: 7px;
}

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 20px;
  color: #888f80;
  background: var(--white);
  border-top: 1px solid #e5e8dd;
  font-size: 8px;
}

.phone-nav .active {
  color: var(--green);
  font-weight: 900;
}

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

.section-heading h2,
.faq-title h2,
.download-copy h2 {
  margin-top: 7px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

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

.discover-section,
.weekly-section,
.interface-section,
.reviews-section,
.faq-section {
  padding: 88px 0;
}

.discover-section {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.discover-console {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 12px;
}

.search-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.filter-bar select {
  min-height: 46px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.genre-tabs {
  margin-top: 18px;
}

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

.manga-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.manga-card img {
  width: 94px;
  height: 170px;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: var(--paper-soft);
  border: 1px solid var(--ink);
  border-radius: 8px;
}

.manga-card span,
.update-card > div > span {
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 800;
}

.manga-card h3 {
  margin-top: 5px;
  font-size: 18px;
}

.manga-card p {
  margin: 4px 0 13px;
  color: var(--muted);
  font-size: 11px;
}

.shelf-button {
  padding: 7px 11px;
  color: var(--green-deep);
  background: var(--lime-soft);
  border: 1px solid var(--green);
  border-radius: 15px;
  font-size: 10px;
  font-weight: 800;
}

.shelf-button.active {
  color: var(--white);
  background: var(--green-deep);
}

.result-feedback {
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.weekly-section {
  position: relative;
  overflow: hidden;
}

.weekly-section::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(98, 150, 42, 0.2);
  border-radius: 48% 52% 58% 42%;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

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

.switch-label i {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  background: #afb6a7;
  border-radius: 14px;
}

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

.switch-label input:checked + i {
  background: var(--green);
}

.switch-label input:checked + i::after {
  left: 26px;
}

.weekday-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.weekday-track button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px 18px;
  background: transparent;
}

.weekday-track button::after {
  width: 13px;
  height: 13px;
  margin-bottom: -25px;
  content: "";
  background: var(--paper);
  border: 2px solid #9fa993;
  border-radius: 50%;
}

.weekday-track strong {
  color: var(--muted);
  font-size: 10px;
}

.weekday-track span {
  font-size: 10px;
}

.weekday-track button.active {
  color: var(--green-deep);
}

.weekday-track button.active strong {
  color: var(--green);
}

.weekday-track button.active::after {
  background: var(--lime);
  border-color: var(--green);
  box-shadow: 0 0 0 7px rgba(199, 231, 123, 0.35);
}

.update-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.update-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.update-card img {
  grid-row: 1 / 3;
  width: 96px;
  height: 170px;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: var(--paper-soft);
  border: 1px solid var(--ink);
  border-radius: 8px;
}

.update-card h3 {
  margin-top: 5px;
  font-size: 18px;
}

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

.remind-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: var(--green-deep);
  background: var(--lime-soft);
  border: 1px solid var(--green);
  border-radius: 16px;
  font-size: 10px;
  font-weight: 800;
}

.remind-button .icon-bell {
  width: 14px;
  height: 14px;
}

.remind-button.active {
  color: var(--white);
  background: var(--green);
}

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

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

.interface-track figure {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--green);
  border-radius: 18px;
}

.interface-track img {
  width: 100%;
  height: 470px;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: var(--white);
  border-radius: 10px;
}

.interface-track figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
}

.interface-track figcaption b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 50%;
  font-size: 9px;
}

.reviews-section {
  background:
    radial-gradient(circle, rgba(98, 150, 42, 0.14) 1px, transparent 1.5px),
    var(--paper);
  background-size: 22px 22px;
}

.review-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--green);
  border-radius: 8px;
}

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

.review-card {
  display: flex;
  min-height: 264px;
  flex-direction: column;
  padding: 22px;
}

.review-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-index span {
  height: 33px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.review-index b {
  color: var(--green);
  font-size: 11px;
}

.review-card p {
  flex: 1;
  margin: 17px 0 10px;
  color: #444b3e;
  font-size: 13px;
}

.review-stars {
  margin-bottom: 14px;
  font-size: 13px;
  color: #f5a623;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.review-meta > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.review-meta > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.review-meta strong {
  font-size: 12px;
}

.review-meta time {
  color: var(--green);
  font-size: 9px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
}

.faq-title p:last-child {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

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

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

.faq-list button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 16px;
  background: var(--white);
  text-align: left;
}

.faq-list button span {
  font-size: 14px;
  font-weight: 800;
}

.faq-list button b {
  margin-right: 20px;
  color: var(--green);
  font-size: 10px;
}

.faq-list button[aria-expanded="true"] {
  color: var(--green-deep);
  background: var(--lime-soft);
}

.faq-list button[aria-expanded="true"] .icon-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--paper-soft);
}

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

.faq-list button[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-list button[aria-expanded="true"] + .faq-answer p {
  padding-top: 16px;
  padding-bottom: 16px;
}

.download-section {
  padding: 76px 0;
  color: var(--white);
  background: var(--green-deep);
  border-top: 8px solid var(--lime);
}

.download-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.download-copy .eyebrow {
  color: var(--lime);
}

.download-copy p:last-child {
  margin-top: 14px;
  color: #d9e5ce;
  font-size: 13px;
}

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

.download-options a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 15px;
  min-height: 134px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--lime);
  border-radius: 16px;
}

.download-options .icon-android,
.download-options .icon-ios {
  width: 54px;
  height: 54px;
}

.download-options span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.download-options small,
.download-options em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.download-options strong {
  margin: 2px 0;
  font-size: 18px;
  white-space: nowrap;
}

.download-options b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--lime);
  border-radius: 50%;
}

.download-options a:hover {
  background: var(--lime-soft);
}

.site-footer {
  padding: 34px 0;
  color: #d5dec9;
  background: #20251b;
}

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

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

.footer-brand strong {
  color: var(--white);
  font-size: 18px;
}

.footer-brand small,
.footer-grid > p {
  font-size: 12px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  gap: 18px;
  font-size: 12px;
}

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

.footer-grid > p {
  text-align: right;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 12px;
}

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

.top-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.top-icon::before {
  background-image: url("../images/top.png");
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 30px;
  }

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

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

  .update-card {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
  }

  .update-card img {
    grid-row: 1;
    width: 86px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 70px;
  }

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

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

  .site-nav ul {
    width: min(100% - 32px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 auto;
    padding: 12px 0 22px;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

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

  .mobile-actions {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 70px 0 40px;
    text-align: center;
  }

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

  .hero-tags,
  .platform-links {
    justify-content: center;
  }

  .hero-visual {
    min-height: 680px;
  }

  .phone-shell {
    height: 650px;
  }

  .filter-bar {
    grid-template-columns: 1fr 150px;
  }

  .filter-bar > button {
    grid-column: 1 / -1;
  }

  .interface-track {
    grid-template-columns: repeat(4, 250px);
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .interface-track figure {
    scroll-snap-align: start;
  }

  .interface-track img {
    height: 430px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-grid > p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }

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

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

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 55px;
  }

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

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

  .hero-search {
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 11px 15px;
    border-radius: 12px;
  }

  .hero-search button {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

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

  .platform-links a {
    min-width: 0;
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 12px;
  }

  .platform-links .icon-android,
  .platform-links .icon-ios {
    width: 26px;
    height: 26px;
  }

  .platform-links span {
    font-size: 11px;
    white-space: nowrap;
  }

  .phone-shell {
    width: min(100%, 330px);
  }

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

  .section-heading > p {
    text-align: left;
  }

  .discover-section,
  .weekly-section,
  .interface-section,
  .reviews-section,
  .faq-section {
    padding: 64px 0;
  }

  .discover-console {
    padding: 18px;
  }

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

  .filter-bar > button {
    grid-column: auto;
  }

  .genre-tabs,
  .weekday-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .genre-tabs button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

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

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

  .manga-card img {
    width: 86px;
    height: 156px;
  }

  .weekly-heading {
    flex-direction: row;
    align-items: flex-end;
  }

  .weekday-track {
    display: flex;
  }

  .weekday-track button {
    flex: 0 0 76px;
    scroll-snap-align: start;
  }

  .update-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .update-card {
    flex: 0 0 88%;
    grid-template-columns: 82px minmax(0, 1fr);
    scroll-snap-align: start;
  }

  .update-card img {
    grid-row: 1 / 3;
    width: 82px;
    height: 148px;
  }

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

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

  .faq-grid {
    gap: 28px;
  }

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

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

  .footer-brand,
  .site-footer ul {
    justify-content: center;
  }

  .footer-grid > p {
    text-align: center;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }
}

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

  .brand {
    gap: 6px;
  }

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

  .mobile-download {
    height: 38px;
    padding: 0 20px;
    font-size: 12px;
  }

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

  .hero-tags button {
    flex: 1 0 auto;
  }

  .platform-links {
    gap: 8px;
  }

  .platform-links a {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    padding: 10px 8px;
  }

  .platform-links .icon-android,
  .platform-links .icon-ios {
    width: 22px;
    height: 22px;
  }

  .platform-links span {
    font-size: 10px;
  }

  .platform-links small {
    font-size: 8px;
  }

  .hero-visual {
    min-height: 645px;
  }

  .phone-shell {
    height: 620px;
  }

  .weekly-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .update-card {
    flex-basis: 92%;
  }

  .download-options a {
    grid-template-columns: 46px minmax(0, 1fr) 26px;
    gap: 10px;
    padding: 18px 14px;
  }

  .download-options .icon-android,
  .download-options .icon-ios {
    width: 46px;
    height: 46px;
  }

  .download-options strong {
    font-size: 15px;
  }
}

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