@charset "UTF-8";

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

:root {
  --orange: #ff5a1f;
  --orange-dark: #d93b0a;
  --ink: #181513;
  --ink-soft: #3f3935;
  --paper: #fffdf8;
  --cream: #f8f2e9;
  --cream-deep: #efe4d6;
  --white: #ffffff;
  --line: #cfc3b6;
  --muted: #766d66;
  --header-height: 76px;
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body,
button,
input {
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

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

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

button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

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

em {
  font-style: normal;
}

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

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid var(--ink);
}

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

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

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.brand-text strong,
.footer-brand strong {
  font-size: 20px;
  font-weight: 900;
}

.brand-text span,
.footer-brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

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

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

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: transparent;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--orange-dark);
}

.primary-nav a.is-active::after {
  background: var(--orange);
}

.mobile-actions {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(24, 21, 19, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 21, 19, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  border-bottom: 1px solid var(--ink);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  background: var(--orange);
}

.hero::before {
  top: 82px;
  left: 0;
  width: calc((100vw - var(--shell)) / 2 + 18px);
  min-width: 18px;
  height: 12px;
}

.hero::after {
  right: 0;
  bottom: 70px;
  width: calc((100vw - var(--shell)) / 2 + 30px);
  min-width: 30px;
  height: 12px;
}

.hero-inner {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  align-items: center;
  gap: 86px;
  padding: 70px 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-left: 32px;
  border-left: 10px solid var(--orange);
}

.eyebrow,
.section-heading > div > p,
.download-copy > p {
  color: var(--orange-dark);
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(72px, 7.8vw, 116px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.hero h1::first-letter {
  color: var(--orange);
}

.hero h2 {
  max-width: 700px;
  margin-top: 34px;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 900;
  line-height: 1.28;
}

.hero-intro {
  max-width: 680px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

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

.hero-download {
  display: inline-flex;
  min-width: 216px;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--ink);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-download:hover {
  color: var(--white);
  background: var(--orange-dark);
}

.hero-download .i-arrow,
.download-button .i-arrow {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

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

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

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

.hero-points i {
  width: 19px;
  height: 19px;
}

.hero-phone {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 306px;
  padding: 12px;
  background: #0e0e0e;
  border: 2px solid #000000;
  border-radius: 40px;
  box-shadow: none;
}

.phone-frame::before,
.phone-frame::after,
.hero-phone::before,
.hero-phone::after {
  display: none;
  content: none;
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 100px;
  height: 25px;
  background: #0e0e0e;
  border-radius: 0 0 15px 15px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 574px;
  background: var(--white);
  border-radius: 29px;
}

.phone-status,
.phone-head,
.phone-recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  height: 34px;
  padding: 5px 14px 0;
  font-size: 12px;
  font-weight: 800;
}

.phone-head {
  padding: 13px 14px 9px;
}

.phone-head strong {
  color: var(--orange-dark);
  font-size: 19px;
}

.phone-head button,
.phone-refresh {
  min-width: 32px;
  min-height: 32px;
}

.phone-head i {
  width: 20px;
  height: 20px;
}

.phone-search {
  position: relative;
  display: flex;
  height: 38px;
  align-items: center;
  margin: 0 14px;
  padding: 0 13px;
  background: #f2f1ef;
  border: 1px solid #e5e0da;
  border-radius: 20px;
}

.phone-search i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.phone-search input {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.phone-tabs {
  display: grid;
  margin: 13px 14px 0;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.phone-tabs button {
  position: relative;
  min-height: 34px;
  font-size: 12px;
  font-weight: 700;
}

.phone-tabs button::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 3px;
  content: "";
  background: transparent;
}

.phone-tabs button.is-active {
  color: var(--orange-dark);
}

.phone-tabs button.is-active::after {
  background: var(--orange);
}

.phone-feature {
  display: grid;
  min-height: 120px;
  margin: 12px 14px 0;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: 1fr 86px;
  border: 1px solid var(--ink);
}

.phone-feature > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 15px 12px;
}

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

.phone-feature span {
  color: #ffb296;
}

.phone-feature strong {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.35;
}

.phone-feature p {
  color: #ddd6d1;
  line-height: 1.5;
}

.phone-feature img {
  width: 86px;
  height: 118px;
  align-self: stretch;
  object-fit: contain;
  background: #f1ebe4;
}

.phone-recommend-head {
  padding: 13px 14px 8px;
}

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

.phone-refresh {
  color: var(--orange-dark);
  font-size: 12px;
}

.phone-comics {
  display: grid;
  padding: 0 14px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.phone-comics article {
  min-width: 0;
}

.phone-comics img {
  width: 100%;
  height: 102px;
  object-fit: contain;
  background: #f3ede7;
  border: 1px solid #e8dfd6;
}

.phone-comics strong,
.phone-comics span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-comics strong {
  margin-top: 6px;
  font-size: 12px;
}

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

.phone-nav {
  display: grid;
  height: 58px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.phone-nav button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.phone-nav button.is-active {
  color: var(--orange-dark);
}

.phone-nav i {
  width: 17px;
  height: 17px;
}

.section-inner {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 50px;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

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

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

.discover-tabs > button {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  text-align: left;
  background: var(--white);
  border-right: 1px solid var(--ink);
}

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

.discover-tabs > button.is-active {
  color: var(--white);
  background: var(--orange);
}

.discover-tabs i {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.discover-tabs button.is-active i {
  filter: brightness(0) invert(1);
}

.discover-tabs span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.discover-tabs strong {
  font-size: 18px;
}

.discover-tabs small {
  margin-top: 3px;
  font-size: 12px;
}

.discover-panel {
  padding-top: 18px;
}

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

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

.comic-card figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

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

.comic-card > div {
  padding: 14px;
}

.comic-card h3 {
  padding-right: 22px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comic-card p,
.comic-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.comic-card > button {
  position: absolute;
  right: 10px;
  bottom: 58px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--ink);
}

.comic-card > button.is-saved {
  background: var(--orange);
}

.comic-card > button i {
  width: 17px;
  height: 17px;
}

.comic-card > button.is-saved i {
  filter: brightness(0) invert(1);
}

.category-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--ink);
}

.category-board button {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  background: var(--cream);
  border-right: 1px solid var(--ink);
}

.category-board button:last-child {
  border-right: 0;
}

.category-board button:hover {
  color: var(--white);
  background: var(--ink);
}

.category-board strong {
  font-size: 25px;
}

.category-board span {
  color: var(--muted);
  font-size: 12px;
}

.category-board button:hover span {
  color: #d9d1ca;
}

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

.update-list li {
  display: grid;
  min-height: 76px;
  align-items: center;
  padding: 12px 20px;
  grid-template-columns: 64px 1fr auto;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.update-list b {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 20px;
}

.update-list span {
  display: flex;
  flex-direction: column;
}

.update-list strong {
  font-size: 17px;
}

.update-list small,
.update-list em {
  color: var(--muted);
  font-size: 12px;
}

.screens {
  background: var(--ink);
}

.screens .section-heading {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.screens .section-heading > span {
  color: #cfc8c2;
}

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

.screen-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid #5b514b;
}

.screen-window {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2eee8;
  border-bottom: 1px solid var(--ink);
}

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

.screen-card figcaption {
  display: grid;
  min-height: 82px;
  align-items: center;
  padding: 14px 16px;
  grid-template-columns: 38px 1fr;
}

.screen-card figcaption > b {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 15px;
}

.screen-card figcaption > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

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

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

.help {
  background: var(--cream);
}

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

.faq-item {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.faq-item > button,
.official-item > button {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  text-align: left;
}

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

.faq-item > button b {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

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

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

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

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

.faq-answer,
.official-answer {
  padding: 0 22px 20px 70px;
  color: var(--muted);
  font-size: 14px;
}

.official-item {
  margin-top: 20px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.official-item > button {
  color: var(--white);
}

.official-item > button > span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.official-item > button .i-globe {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
}

.official-item .official-symbol::before,
.official-item .official-symbol::after {
  background: var(--white);
}

.official-answer {
  padding-left: 58px;
  color: #ffb99e;
}

.official-answer a {
  text-decoration: underline;
}

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

.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: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
}

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

.review-user {
  display: grid;
  align-items: center;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.review-user .i-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

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

.review-rating {
  display: inline-flex;
  justify-content: flex-end;
  color: var(--orange);
  font-size: 13px;
  white-space: nowrap;
}

.review-rating .aiarticle-comment-rating-icon {
  margin-left: 2px;
  color: var(--orange);
}

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

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

.download {
  padding: 60px 0;
  color: var(--white);
  background-color: var(--orange);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0,
    rgba(255, 255, 255, 0.13) 10px,
    transparent 10px,
    transparent 22px
  );
}

.download-inner {
  position: relative;
  display: grid;
  min-height: 170px;
  align-items: stretch;
  grid-template-columns: 190px minmax(0, 1fr) 270px;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.download-inner::before,
.download-inner::after {
  position: absolute;
  left: 185px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}

.download-inner::before {
  top: -7px;
}

.download-inner::after {
  bottom: -7px;
}

.download-number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 30px;
  color: var(--ink);
  border-right: 2px dashed var(--ink);
}

.download-number strong {
  font-size: 66px;
  line-height: 0.9;
}

.download-number span {
  margin-top: 12px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.download-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 38px;
  color: var(--ink);
}

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

.download-copy > span {
  color: var(--muted);
  font-size: 14px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: var(--ink);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.download-button:hover {
  color: var(--ink);
  background: var(--white);
}

.download-button .i-download,
.download-button .i-arrow {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.download-button:hover .i-download,
.download-button:hover .i-arrow {
  filter: none;
}

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

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

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

.footer-brand img {
  border-color: #6f625a;
}

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

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

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

.footer-nav a:hover {
  color: #ff8d62;
}

.copyright {
  margin-top: 32px;
  padding-top: 20px;
  color: #aaa099;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-align: center;
}

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

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

.back-top i {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

[class^="i-"],
[class*=" i-"] {
  display: inline-block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .hero-inner {
    gap: 40px;
  }

  .hero-copy {
    padding-left: 22px;
  }

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

  .comic-card:nth-child(n + 4) {
    display: none;
  }
}

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

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

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    contain: layout paint;
    transform: none;
    backface-visibility: visible;
    box-shadow: none;
  }

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

  .brand {
    gap: 8px;
  }

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

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

  .brand-text span {
    max-width: 130px;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
    white-space: nowrap;
  }

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

  .mobile-download {
    display: inline-flex;
    height: 40px;
    align-items: center;
    padding: 0 15px;
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--paper);
    border: 1px solid var(--ink);
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
  }

  .site-header.menu-open .primary-nav {
    display: block;
  }

  .primary-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--shell));
    margin: 0 auto;
  }

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

  .primary-nav li:last-child {
    border-bottom: 0;
  }

  .primary-nav a {
    padding: 13px 4px;
  }

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

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 0 64px;
  }

  .hero-copy {
    padding-left: 0;
    text-align: center;
    border-left: 0;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 96px);
    white-space: normal;
  }

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

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

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

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

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

  .phone-frame {
    width: min(306px, 86vw);
    box-shadow: none;
  }

  .phone-frame::before,
  .phone-frame::after,
  .hero-phone::before,
  .hero-phone::after {
    display: none;
    content: none;
  }

  .section-inner {
    padding: 68px 0;
  }

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

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

  .discover-tabs {
    grid-template-columns: 1fr;
  }

  .discover-tabs > button {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .discover-tabs > button:last-child {
    border-bottom: 0;
  }

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

  .comic-card:nth-child(n + 4) {
    display: block;
  }

  .comic-card:last-child {
    display: none;
  }

  .category-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-board button {
    min-height: 130px;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
  }

  .category-board button:nth-child(even) {
    border-right: 0;
  }

  .category-board button:last-child {
    border-bottom: 0;
  }

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

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

  .download-inner {
    grid-template-columns: 135px 1fr;
  }

  .download-number {
    grid-row: span 2;
  }

  .download-inner::before,
  .download-inner::after {
    left: 130px;
  }

  .download-button {
    min-height: 70px;
  }
}

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

  .brand-text span {
    max-width: 105px;
  }

  .hero {
    background-size: 32px 32px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

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

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

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

  .hero-points {
    gap: 16px;
  }

  .comic-card > div {
    padding: 12px;
  }

  .comic-card h3 {
    font-size: 14px;
  }

  .screen-card figcaption {
    min-height: 86px;
    align-items: start;
    padding: 12px 10px;
    grid-template-columns: 28px 1fr;
  }

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

  .faq-item > button,
  .official-item > button {
    min-height: 66px;
    padding: 14px;
  }

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

  .faq-answer,
  .official-answer {
    padding-right: 14px;
    padding-left: 42px;
  }

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

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

  .download {
    padding: 36px 0;
  }

  .download-inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .download-number {
    grid-row: auto;
    align-items: center;
    padding: 20px;
    border-right: 0;
    border-bottom: 2px dashed var(--ink);
  }

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

  .download-copy {
    align-items: center;
    padding: 26px 20px;
    text-align: center;
  }

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

  .download-button {
    min-height: 68px;
  }

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

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

  .footer-nav ul {
    justify-content: center;
    gap: 16px 22px;
  }

  .footer-brand > span {
    align-items: flex-start;
    text-align: left;
  }

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

  a,
  button {
    transition: none !important;
  }

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

@media (max-width: 370px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

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

  .brand-text span {
    max-width: 82px;
  }

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

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