@charset "UTF-8";

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

:root {
  --coral: #ff4b49;
  --coral-dark: #e9383b;
  --coral-soft: #fff0ef;
  --ink: #11182a;
  --ink-soft: #1b2742;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #667085;
  --line: #dfe3eb;
  --yellow: #ffb000;
  --blue: #3457d5;
  --purple: #7048e8;
  --content: 1200px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

ul,
ol {
  list-style: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

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

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

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

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid #ffcbca;
  border-radius: 13px;
  background: var(--white);
  object-fit: contain;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

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

.main-nav a {
  position: relative;
  display: block;
  padding: 25px 0 22px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav a:focus-visible {
  color: var(--coral-dark);
}

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

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

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.menu-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.menu-button i {
  width: 22px;
  height: 22px;
  background: url("../icons/menu.svg") center / contain no-repeat;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-inner {
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 58%) minmax(280px, 42%);
  align-items: center;
  gap: 36px;
  padding: 52px 0 58px;
}

.hero-copy {
  position: relative;
  align-self: center;
  padding-right: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-left: 4px solid var(--coral);
  color: var(--ink-soft);
  background: var(--coral-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(58px, 5.6vw, 78px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.hero-intro {
  max-width: 590px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

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

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

.hero-tags i {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.tag-book::before,
.tag-book::after {
  position: absolute;
  top: 3px;
  width: 8px;
  height: 14px;
  border-radius: 2px 2px 0 0;
  background: var(--coral);
  content: "";
}

.tag-book::before {
  left: 1px;
  transform: skewY(12deg);
}

.tag-book::after {
  right: 1px;
  transform: skewY(-12deg);
}

.tag-sync {
  border: 3px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
}

.tag-bell::before {
  position: absolute;
  inset: 3px 4px 2px;
  border-radius: 8px 8px 4px 4px;
  background: var(--yellow);
  content: "";
}

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

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 25px;
  border: 2px solid var(--coral);
  border-radius: 10px;
  color: var(--white);
  background: var(--coral);
  font-size: 16px;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.primary-button i,
.pass-button i {
  font-size: 22px;
  font-style: normal;
}

.primary-button:hover,
.primary-button:focus-visible {
  color: var(--coral);
  background: var(--white);
}

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

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

.login-phone {
  position: relative;
  width: 312px;
  max-width: 100%;
  padding: 7px;
  border: 2px solid #05070d;
  border-radius: 40px;
  background: #05070d;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 82px;
  height: 22px;
  border-radius: 0 0 13px 13px;
  background: #05070d;
  transform: translateX(-50%);
}

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

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  padding: 0 17px;
  color: #151924;
  font-size: 12px;
  font-weight: 800;
}

.phone-status span {
  letter-spacing: 1px;
}

.auth-brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 4px 20px 8px;
  text-align: center;
}

.auth-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid #ffd1d0;
  border-radius: 12px;
  object-fit: contain;
}

.auth-brand strong {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.2;
}

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

.auth-tabs {
  display: grid;
  margin: 4px 19px 0;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  height: 39px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-tab::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--coral);
  content: "";
  opacity: 0;
}

.auth-tab.is-active {
  color: var(--coral);
}

.auth-tab.is-active::after {
  opacity: 1;
}

.auth-panel {
  padding: 13px 19px 0;
}

.auth-panel[hidden] {
  display: none;
}

.phone-form {
  display: flex;
  flex-direction: column;
}

.phone-form > label,
.agreement {
  color: #353b4a;
  font-size: 12px;
  font-weight: 800;
}

.phone-form > input,
.password-field {
  width: 100%;
  height: 37px;
  margin-top: 5px;
  margin-bottom: 9px;
  border: 1px solid #d9dde6;
  border-radius: 7px;
  background: #fafbfc;
}

.phone-form > input,
.password-field input {
  min-width: 0;
  padding: 0 10px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.phone-form > input {
  outline: 1px solid transparent;
}

.phone-form > input:focus,
.password-field:focus-within {
  border-color: var(--coral);
  outline: 2px solid #ffd7d6;
}

.password-field {
  display: flex;
  align-items: center;
}

.password-field input {
  height: 100%;
  flex: 1;
}

.password-toggle,
.text-button {
  padding: 4px 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}

.form-options label,
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.form-options input,
.agreement input {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.agreement {
  margin: 1px 0 11px;
  color: var(--muted);
  line-height: 1.35;
}

.auth-submit,
.auth-secondary {
  width: 100%;
  min-height: 37px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.auth-submit {
  border: 1px solid var(--coral);
  color: var(--white);
  background: var(--coral);
}

.auth-secondary {
  border: 1px solid #ff8e8c;
  color: var(--coral-dark);
  background: var(--white);
}

.auth-feedback {
  min-height: 20px;
  padding-top: 3px;
  color: var(--coral-dark);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.auth-feedback.is-success {
  color: #15803d;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #8a91a0;
  font-size: 12px;
  white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-note {
  margin-top: 8px;
  color: #9298a6;
  font-size: 12px;
  text-align: center;
}

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 53px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.phone-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  color: #717888;
  font-size: 12px;
}

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

.phone-nav i {
  height: 18px;
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: end;
  gap: 96px;
  margin-bottom: 34px;
}

.section-title span {
  display: block;
  margin-bottom: 6px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-title h2 {
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-lead {
  width: 100%;
  max-width: 410px;
  justify-self: end;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.genre-section,
.account-section,
.screens-section,
.faq-section,
.voices-section,
.download-section {
  padding: 92px 0;
}

.genre-section {
  color: var(--white);
  background: var(--ink);
}

.genre-section .section-title span {
  color: #ff8886;
}

.genre-section .section-lead {
  color: #b8c1d5;
}

.genre-browser {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  border: 1px solid #34405b;
  background: #151f36;
}

.genre-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #34405b;
}

.genre-tab {
  min-height: 59px;
  padding: 0 22px;
  border-bottom: 1px solid #34405b;
  color: #c8d0e1;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.genre-tab:last-child {
  border-bottom: 0;
}

.genre-tab:hover,
.genre-tab:focus-visible,
.genre-tab.is-active {
  color: var(--white);
  background: var(--coral);
}

.genre-content {
  min-width: 0;
  padding: 25px 25px 28px;
}

.genre-content-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.genre-content-head div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.genre-content-head span,
.genre-content-head p {
  color: #aab4c9;
  font-size: 12px;
}

.genre-content-head strong {
  font-size: 20px;
}

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

.comic-card {
  min-width: 0;
}

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

.comic-cover {
  display: grid;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  place-items: center;
  border: 1px solid #44506a;
  border-radius: 8px;
  background: #202b45;
}

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

.comic-card h3 {
  overflow-wrap: anywhere;
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.35;
}

.comic-card p {
  margin-top: 3px;
  color: #aab4c9;
  font-size: 12px;
}

.comic-card > span {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border: 1px solid #59657e;
  border-radius: 4px;
  color: #ffcd73;
  font-size: 12px;
}

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

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: stretch;
  gap: 30px;
}

.sync-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sync-path li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  padding: 30px 24px 27px;
  border-right: 1px solid var(--line);
}

.sync-path li:last-child {
  border-right: 0;
}

.sync-path b {
  color: #a5abba;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.sync-path i {
  position: relative;
  width: 52px;
  height: 52px;
  margin-top: 27px;
  border-radius: 50%;
  background: var(--coral-soft);
}

.sync-path i::before {
  position: absolute;
  inset: 14px;
  border: 3px solid var(--coral);
  border-radius: 5px;
  content: "";
}

.sync-path .sync-progress {
  background: #fff6dd;
}

.sync-path .sync-progress::before {
  border-color: var(--yellow);
  border-radius: 50%;
}

.sync-path .sync-alert {
  background: #edf1ff;
}

.sync-path .sync-alert::before {
  border-color: var(--blue);
  border-radius: 12px 12px 6px 6px;
}

.sync-path .sync-device {
  background: #f2edff;
}

.sync-path .sync-device::before {
  border-color: var(--purple);
}

.sync-path strong {
  margin-top: 19px;
  font-size: 16px;
}

.sync-path span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.account-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.account-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.account-avatar,
.voice-avatar {
  display: inline-block;
  flex: 0 0 auto;
  background: url("../icons/avatar.svg") center / contain no-repeat;
}

.account-avatar {
  width: 42px;
  height: 42px;
}

.account-user span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.account-user strong {
  font-size: 14px;
}

.account-user small {
  color: var(--muted);
  font-size: 12px;
}

.account-user em {
  padding: 2px 8px;
  border-radius: 10px;
  color: #157443;
  background: #e5f7ed;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.preference-list {
  margin-top: 10px;
}

.preference-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
}

.preference-list li > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.preference-list li > span i {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--coral);
  font-size: 15px;
  font-style: normal;
}

.preference-list strong {
  font-size: 13px;
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 13px;
  background: #c8cdd7;
  transition: background 0.16s ease;
}

.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: left 0.16s ease;
}

.switch.is-on {
  background: var(--coral);
}

.switch.is-on i {
  left: 21px;
}

.panel-feedback {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.screens-section {
  background: #eef1f7;
}

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

.screens-grid figure {
  overflow: hidden;
  border: 1px solid #d3d8e2;
  background: var(--white);
}

.screens-grid figure > div {
  display: grid;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  place-items: center;
  background: #f9fafc;
}

.screens-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screens-grid figcaption {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
}

.screens-grid figcaption b {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.screens-grid figcaption span {
  display: flex;
  flex-direction: column;
}

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

.screens-grid figcaption small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  padding-bottom: 48px;
  background: var(--white);
}

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

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

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 69px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.faq-item button b {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.faq-item button span {
  font-size: 15px;
  font-weight: 800;
}

.faq-item button i,
.official-details summary > span {
  position: relative;
  width: 24px;
  height: 24px;
  justify-self: end;
}

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

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

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

.faq-item > div {
  padding: 0 42px 22px 62px;
  color: var(--muted);
  font-size: 14px;
}

.faq-item > div[hidden] {
  display: none;
}

.faq-item > button:hover,
.faq-item > button:focus-visible {
  color: var(--coral-dark);
}

.official-section {
  padding: 0 0 72px;
  background: var(--white);
}

.official-details {
  border: 2px solid #ff918f;
  background: #fffafa;
}

.official-details summary {
  display: grid;
  min-height: 68px;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

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

.official-details summary strong {
  font-size: 15px;
}

.globe-icon {
  width: 24px;
  height: 24px;
  background: url("../icons/globe.svg") center / contain no-repeat;
}

.official-details[open] summary > span::after {
  display: none;
}

.official-details > div {
  padding: 0 62px 21px;
  color: var(--muted);
  font-size: 14px;
}

.official-details a {
  color: var(--coral-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

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

.voice-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  background: var(--white);
}

.voice-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.voice-user > span:first-child {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.voice-avatar {
  width: 34px;
  height: 34px;
}

.voice-user strong {
  overflow: hidden;
  max-width: 125px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-rating {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
}

.aiarticle-comment-rating-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.aiarticle-comment-rating-icon.fa-star {
  background-image: url("../icons/star.svg");
}

.aiarticle-comment-rating-icon.fa-star-o {
  background-image: url("../icons/star-outline.svg");
}

.voice-card > p {
  margin-top: 17px;
  color: #3f4758;
  font-size: 14px;
}

.voice-card time {
  margin-top: auto;
  padding-top: 18px;
  color: #9298a6;
  font-size: 12px;
  text-align: right;
}

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

.download-section .section-title span {
  color: #ff8886;
}

.download-section .section-title h2 {
  white-space: nowrap;
}

.download-section .section-lead {
  color: #b8c1d5;
}

.reading-pass {
  display: grid;
  grid-template-columns: 265px minmax(330px, 1fr) 230px;
  align-items: center;
  gap: 32px;
  min-height: 190px;
  padding: 30px 34px;
  border: 1px solid #3a4560;
  border-left: 8px solid var(--coral);
  background: var(--ink-soft);
}

.pass-copy {
  display: flex;
  flex-direction: column;
}

.pass-copy small {
  color: #ffb1af;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pass-copy strong {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.4;
}

.pass-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pass-route::before {
  position: absolute;
  top: 8px;
  right: 12%;
  left: 12%;
  border-top: 1px dashed #7b869f;
  content: "";
}

.pass-route li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  color: #c0c8d9;
  font-size: 12px;
  text-align: center;
}

.pass-route i {
  width: 17px;
  height: 17px;
  border: 4px solid var(--ink-soft);
  border-radius: 50%;
  background: #dbe0ea;
  outline: 1px solid #7b869f;
}

.pass-route .is-done i {
  background: var(--yellow);
  outline-color: var(--yellow);
}

.pass-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--coral);
  border-radius: 10px;
  color: var(--white);
  background: var(--coral);
  font-size: 15px;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.pass-button:hover,
.pass-button:focus-visible {
  color: var(--coral);
  background: transparent;
}

.site-footer {
  position: relative;
  color: var(--white);
  background: #090e1c;
}

.footer-inner {
  padding: 36px 0 22px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding-bottom: 28px;
}

.footer-brand .brand-logo {
  border-color: #5a3140;
}

.footer-brand .brand-copy small {
  color: #a9b1c3;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 13px 25px;
}

.footer-nav a {
  color: #c3cadd;
  font-size: 12px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

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

.back-top {
  position: fixed;
  z-index: 45;
  right: max(20px, calc((100vw - var(--content)) / 2 - 64px));
  bottom: var(--back-top-bottom, 24px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  opacity: 0;
  pointer-events: none;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top i {
  width: 24px;
  height: 24px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

:focus-visible {
  outline: 3px solid rgba(52, 87, 213, 0.38);
  outline-offset: 3px;
}

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

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

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

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

  .section-head {
    gap: 60px;
  }

  .genre-browser {
    grid-template-columns: 130px minmax(0, 1fr);
  }

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

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

  .reading-pass {
    grid-template-columns: 220px minmax(280px, 1fr) 205px;
    gap: 22px;
  }
}

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

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

  body.menu-open {
    overflow: hidden;
  }

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    height: var(--header-height);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

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

  .brand-copy small {
    margin-top: 3px;
    font-size: 12px;
  }

  .mobile-actions {
    display: flex;
    margin-left: auto;
  }

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

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

  .main-nav ul {
    display: block;
    width: min(calc(100% - 32px), var(--content));
    margin: 0 auto;
    padding: 8px 0 14px;
  }

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

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

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

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

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

  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
    letter-spacing: -0.06em;
    white-space: normal;
  }

  .hero-slogan {
    font-size: 26px;
  }

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

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

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

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

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-lead {
    max-width: none;
    margin-top: 12px;
    padding-bottom: 0;
    text-align: left;
  }

  .genre-section,
  .account-section,
  .screens-section,
  .faq-section,
  .voices-section,
  .download-section {
    padding: 68px 0;
  }

  .genre-browser {
    grid-template-columns: 1fr;
  }

  .genre-tabs {
    overflow-x: auto;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid #34405b;
    scroll-snap-type: x proximity;
  }

  .genre-tab {
    min-width: 86px;
    min-height: 49px;
    flex: 0 0 auto;
    padding: 0 16px;
    border-right: 1px solid #34405b;
    border-bottom: 0;
    text-align: center;
    scroll-snap-align: start;
  }

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

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

  .sync-path li:nth-child(2) {
    border-right: 0;
  }

  .sync-path li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .reading-pass {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .pass-button {
    width: min(100%, 300px);
    justify-self: center;
  }

  .footer-main {
    flex-direction: column;
  }

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

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

  .back-top {
    right: 16px;
  }

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

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

  .header-inner {
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

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

  .brand-copy small {
    font-size: 12px;
    letter-spacing: -0.04em;
  }

  .mobile-actions {
    gap: 5px;
  }

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

  .menu-button {
    width: 36px;
    height: 36px;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .eyebrow {
    padding: 0 9px;
    letter-spacing: 0.05em;
  }

  .hero h1 {
    margin-top: 20px;
  }

  .hero-slogan {
    margin-top: 17px;
    font-size: 23px;
  }

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

  .hero-tags {
    gap: 7px;
  }

  .hero-tags li {
    min-height: 35px;
    padding: 0 9px;
    font-size: 12px;
  }

  .login-phone {
    width: min(300px, 100%);
  }

  .genre-content {
    padding: 20px 14px 23px;
  }

  .genre-content-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

  .sync-path li {
    padding: 24px 17px 22px;
  }

  .sync-path i {
    margin-top: 20px;
  }

  .account-panel {
    padding: 19px;
  }

  .screens-grid {
    gap: 12px;
  }

  .screens-grid figcaption {
    min-height: 88px;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 9px;
  }

  .screens-grid figcaption strong {
    font-size: 13px;
  }

  .faq-section {
    padding-bottom: 38px;
  }

  .faq-item > button {
    min-height: 64px;
    grid-template-columns: 31px minmax(0, 1fr) 25px;
    gap: 8px;
  }

  .faq-item button span,
  .official-details summary strong {
    font-size: 14px;
  }

  .faq-item > div {
    padding: 0 25px 19px 39px;
  }

  .official-section {
    padding-bottom: 58px;
  }

  .official-details summary {
    grid-template-columns: 25px minmax(0, 1fr) 24px;
    gap: 9px;
    padding: 0 13px;
  }

  .official-details > div {
    padding: 0 47px 18px;
  }

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

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

  .download-section .section-title h2 {
    font-size: clamp(28px, 8.4vw, 39px);
  }

  .reading-pass {
    padding: 28px 18px;
    border-left-width: 5px;
  }

  .pass-route {
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: start;
  }

  .pass-route::before {
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 1px;
    height: auto;
    border-top: 0;
    border-left: 1px dashed #7b869f;
  }

  .pass-route li {
    display: grid;
    grid-template-columns: 17px 1fr;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .footer-inner {
    padding-top: 42px;
  }

  .footer-main {
    gap: 25px;
  }

  .footer-nav {
    gap: 11px 18px;
    text-align: center;
  }

  .back-top {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 20px), var(--content));
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

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

  .brand-copy small {
    font-size: 12px;
    letter-spacing: -0.08em;
  }

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

  .menu-button {
    width: 34px;
    height: 34px;
  }

  .hero-tags li {
    padding: 0 7px;
  }

  .login-phone {
    width: min(292px, 100%);
  }

  .account-panel {
    padding: 16px;
  }

  .screens-grid {
    gap: 9px;
  }
}
