@charset "UTF-8";

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

:root {
  --brand: #ff22a7;
  --brand-dark: #dc0b87;
  --brand-soft: #ffe7f5;
  --lavender: #f7f1ff;
  --peach: #fff1ec;
  --ink: #111118;
  --text: #25242b;
  --muted: #777480;
  --line: #dedbe4;
  --paper: #ffffff;
  --surface: #faf9fc;
  --max-width: 1200px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

button,
summary {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 34, 167, 0.32);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.page-shell,
.header-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

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

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

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

.site-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

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

.brand-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 26px 0 23px;
  color: #403d46;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

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

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

.hero {
  overflow: hidden;
  border-bottom: 1px solid #f0dceb;
  background: linear-gradient(110deg, #fff6fb 0%, #f8efff 62%, #fff1f7 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  min-height: 720px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
}

.hero-kicker,
.section-kicker {
  display: inline-block;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 8px 0 2px;
  color: var(--brand);
  font-size: clamp(64px, 6.5vw, 92px);
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 1.02;
  white-space: nowrap;
}

.hero-copy h2 {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.hero-copy h2 span {
  display: inline;
}

.hero-copy > p {
  width: min(100%, 580px);
  margin: 20px 0 0;
  color: #625e69;
  font-size: 16px;
  line-height: 1.9;
}

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

.hero-tags > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #f3b8dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #37323b;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags i {
  display: block;
  width: 17px;
  height: 17px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.tag-cloud {
  background-image: url("../icons/cloud.svg");
}

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

.tag-heart {
  background-image: url("../icons/heart.svg");
}

.hero-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 230px;
  min-height: 58px;
  margin-top: 32px;
  padding: 0 23px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 7px 7px 0 var(--ink);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.hero-download:hover {
  background: var(--brand-dark);
  box-shadow: 4px 4px 0 var(--ink);
}

.age-label {
  display: block;
  width: 230px;
  margin-top: 18px;
  color: #77717c;
  font-size: 12px;
  text-align: center;
}

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

.phone-device {
  position: relative;
  width: 310px;
  height: 638px;
  padding: 10px;
  border: 4px solid var(--ink);
  border-radius: 43px;
  background: var(--ink);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 92px;
  height: 24px;
  border-radius: 0 0 15px 15px;
  background: var(--ink);
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #fff;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 19px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.phone-status > span {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.phone-status i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--ink);
}

.phone-status i:nth-child(1) {
  height: 6px;
}

.phone-status i:nth-child(2) {
  height: 9px;
}

.phone-status i:nth-child(3) {
  width: 14px;
  height: 8px;
  border: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 72%, transparent 72%);
}

.phone-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px 13px;
}

.phone-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}

.phone-brand strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

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

.auth-tabs button {
  position: relative;
  height: 43px;
  border: 0;
  background: transparent;
  color: #8d8992;
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  content: "";
  opacity: 0;
}

.auth-tabs button.is-active {
  color: var(--ink);
}

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

.auth-panel {
  padding: 18px 18px 14px;
}

.auth-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.35;
}

.auth-panel > p {
  margin: 3px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.auth-field {
  display: block;
  margin-bottom: 10px;
}

.auth-field > span:first-child {
  display: block;
  margin-bottom: 4px;
  color: #5f5b64;
  font-size: 12px;
  font-weight: 700;
}

.input-shell {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 11px;
  border: 1px solid #d8d5dd;
  border-radius: 7px;
  background: #fff;
}

.input-shell:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 34, 167, 0.1);
}

.input-shell > i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-right: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.field-mail {
  background-image: url("../icons/mail.svg");
}

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

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

.input-shell input::placeholder {
  color: #aaa5ae;
}

.password-toggle {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 0;
  background: url("../icons/eye.svg") center / 17px no-repeat;
}

.password-toggle.is-visible {
  background-image: url("../icons/eye-off.svg");
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 29px;
}

.remember-option,
.agreement-option {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65616a;
  font-size: 12px;
}

.remember-option input,
.agreement-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--brand);
}

.forgot-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  height: 45px;
  margin-top: 8px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.18s ease;
}

.auth-submit:hover {
  background: var(--brand-dark);
}

.auth-feedback {
  min-height: 20px;
  margin: 4px 0 0 !important;
  color: var(--brand-dark) !important;
  font-size: 12px !important;
  text-align: center;
}

.quick-login {
  margin-top: 5px;
  text-align: center;
}

.quick-login > span {
  position: relative;
  display: block;
  color: #8e8992;
  font-size: 12px;
}

.quick-login > div {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 9px;
}

.quick-login button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #15151b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.quick-login button:first-child {
  background: #1cba61;
}

.auth-switch-link {
  display: block;
  margin: 9px auto 0;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #77717b;
  font-size: 12px;
}

.auth-switch-link strong {
  color: var(--brand-dark);
}

.agreement-option {
  align-items: flex-start;
  margin-top: 2px;
  line-height: 1.45;
}

.content-section {
  padding: 96px 0;
}

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

.section-title {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.section-number {
  color: var(--brand);
  font-size: 56px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.section-kicker {
  margin-bottom: 4px;
  font-size: 12px;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.benefits-section {
  background: #fff;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.benefit-rail {
  display: grid;
  gap: 10px;
}

.benefit-rail button {
  display: grid;
  grid-template-columns: 52px 1fr 42px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border 0.18s ease, background 0.18s ease;
}

.benefit-rail button:hover,
.benefit-rail button.is-active {
  border-color: var(--brand);
  background: #fff6fb;
}

.benefit-rail i {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--brand-soft);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px;
}

.benefit-cloud {
  background-image: url("../icons/cloud.svg");
}

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

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

.benefit-heart {
  background-image: url("../icons/heart.svg");
}

.benefit-rail button > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.benefit-rail strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.benefit-rail small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.benefit-rail b {
  color: #d3cfd7;
  font-size: 24px;
  font-weight: 950;
  font-style: italic;
  text-align: right;
}

.benefit-rail button.is-active b {
  color: var(--brand);
}

.account-preview {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #eadff0;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #f6edff 100%);
}

.account-preview::after {
  position: absolute;
  right: -42px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  border: 38px solid rgba(255, 34, 167, 0.08);
  border-radius: 50%;
  content: "";
}

.account-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.account-topline > span {
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
}

.account-topline button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #77717d;
  font-size: 12px;
}

.account-person {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
}

.account-person img {
  width: 74px;
  height: 74px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand-soft);
  object-fit: contain;
}

.account-person div {
  display: flex;
  flex-direction: column;
}

.account-person strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.account-person span {
  width: max-content;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.account-preview > p {
  min-height: 54px;
  margin: 25px 0;
  color: #5f5b65;
  font-size: 14px;
}

.account-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 0;
  border-top: 1px solid #ddd4e3;
  border-bottom: 1px solid #ddd4e3;
}

.account-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #ddd4e3;
}

.account-stats div:last-child {
  border-right: 0;
}

.account-stats strong {
  color: var(--ink);
  font-size: 15px;
}

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

.account-progress {
  position: relative;
  z-index: 1;
  height: 7px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: #e4dce9;
}

.account-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.account-preview > small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.discovery-section {
  background: var(--surface);
}

.discovery-heading {
  margin-bottom: 24px;
}

.genre-filter {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.genre-filter button {
  min-width: 72px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #dfdce3;
  border-radius: 8px;
  background: #fff;
  color: #4a4650;
  font-size: 13px;
  font-weight: 800;
}

.genre-filter button:hover,
.genre-filter button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.discovery-grid {
  display: grid;
  grid-template-columns: minmax(370px, 1.72fr) repeat(4, minmax(0, 0.72fr));
  gap: 14px;
}

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

.featured-comic {
  display: grid;
  grid-template-columns: 49% 1fr;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #e1dde4;
  border-radius: 13px;
  background: #fff;
}

.featured-cover {
  min-width: 0;
  padding: 13px;
  background: #f0e8f4;
}

.featured-cover img,
.small-comic > div img,
.schedule-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 22px;
}

.recommend-label {
  width: max-content;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.featured-copy h3 {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.25;
}

.featured-copy > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.comic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.comic-meta span {
  padding: 3px 8px;
  border: 1px solid #e2dfe4;
  border-radius: 999px;
  color: #5f5a63;
  font-size: 12px;
}

.follow-comic {
  height: 38px;
  margin-top: 20px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.follow-comic:hover,
.follow-comic.is-followed {
  background: var(--brand);
  color: #fff;
}

.small-comic {
  min-width: 0;
  padding: 10px 10px 13px;
  border: 1px solid #e1dde4;
  border-radius: 12px;
  background: #fff;
}

.small-comic > div {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 7px;
  background: #f1edf3;
}

.small-comic h3 {
  overflow-wrap: anywhere;
  margin: 11px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.small-comic p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.small-comic > span {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.discovery-empty,
.schedule-empty {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px dashed #d7d1dc;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.schedule-section {
  background: #fff;
}

.schedule-board {
  padding: 24px;
  border: 1px solid #dedbe3;
  border-radius: 16px;
  background: #fff;
}

.weekday-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.weekday-route::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 5%;
  left: 5%;
  height: 1px;
  background: #dad6df;
  content: "";
}

.weekday-route button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border: 1px solid #e1dfe5;
  border-radius: 10px;
  background: #f7f6f9;
}

.weekday-route button:hover,
.weekday-route button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.weekday-route strong {
  font-size: 14px;
}

.weekday-route span {
  margin-top: 2px;
  font-size: 12px;
}

.schedule-list {
  display: grid;
  gap: 8px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 54px minmax(150px, 1.2fr) minmax(132px, 0.8fr) minmax(110px, 0.7fr) 67px 47px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 9px 15px 9px 9px;
  border: 1px solid #e4e1e7;
  border-radius: 10px;
  background: #fff;
}

.schedule-cover {
  width: 54px;
  height: 58px;
  padding: 3px;
  border-radius: 7px;
  background: #f1edf3;
}

.schedule-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.schedule-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.schedule-row time,
.schedule-row > small {
  color: #6e6973;
  font-size: 12px;
}

.read-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7e4e9;
}

.read-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.reminder-switch {
  position: relative;
  width: 43px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #d4d1d7;
}

.reminder-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s ease;
}

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

.reminder-switch.is-on span {
  left: 22px;
}

.screenshot-section {
  background: var(--peach);
}

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

.screenshot-grid figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #efc9dc;
  border-radius: 14px;
  background: #fff;
}

.screenshot-frame {
  aspect-ratio: 9 / 16;
  padding: 10px;
  background: #ffe0ed;
}

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

.screenshot-grid figcaption {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 86px;
  padding: 16px 14px;
}

.screenshot-grid figcaption strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.screenshot-grid figcaption span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  padding-bottom: 42px;
  background: #fff;
}

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

.faq-item {
  border-bottom: 1px solid #d9d6dd;
}

.faq-item summary,
.official-details summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary span,
.official-details summary span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.faq-item summary span::before,
.faq-item summary span::after,
.official-details summary span::before,
.official-details summary span::after {
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
}

.faq-item summary span::after,
.official-details summary span::after {
  transform: rotate(90deg);
}

.faq-item[open] summary span::after,
.official-details[open] summary span::after {
  transform: rotate(0);
}

.faq-item[open] summary {
  color: var(--brand-dark);
}

.faq-item > p {
  margin: 0;
  padding: 0 54px 23px 18px;
  color: #65606a;
  font-size: 14px;
  line-height: 1.85;
}

.official-section {
  padding-bottom: 54px;
  background: #fff;
}

.official-details {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 10px;
}

.official-details summary {
  min-height: 70px;
  padding: 0 20px;
  background: #faf9fc;
}

.official-details > div {
  padding: 0 20px 22px;
  border-top: 1px solid #e4e1e7;
}

.official-details p {
  margin: 17px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.comment-section {
  background: var(--lavender);
}

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

.reader-review {
  display: flex;
  min-width: 0;
  min-height: 200px;
  flex-direction: column;
  padding: 21px;
  border: 1px solid #ddd5e8;
  border-radius: 13px;
  background: #fff;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebe7ee;
}

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

.review-avatar {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-soft) url("../icons/avatar.svg") center / 24px no-repeat;
}

.review-person strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  display: flex;
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 13px;
}

.review-rating i {
  margin-left: 2px;
}

.reader-review > p {
  flex: 1;
  margin: 16px 0 13px;
  color: #5f5a64;
  font-size: 14px;
  line-height: 1.8;
}

.reader-review time {
  color: #918b96;
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 62px 0;
  background: #fff;
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(255px, 1.05fr) 110px minmax(330px, 1.35fr) 220px;
  align-items: center;
  gap: 24px;
  min-height: 188px;
  overflow: hidden;
  padding: 32px 34px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.download-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.download-index {
  color: var(--brand);
  font-size: 66px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 1;
}

.download-intro .section-kicker {
  color: #ff85cf;
}

.download-intro h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.download-path {
  position: relative;
  height: 72px;
}

.download-path::before {
  position: absolute;
  top: 35px;
  right: 17px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  content: "";
}

.download-path span {
  position: absolute;
  top: 10px;
  right: 0;
  color: var(--brand);
  font-size: 42px;
  font-weight: 300;
}

.download-panel ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-panel li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-left: 15px;
  border-left: 1px solid #4b4951;
}

.download-panel li strong {
  font-size: 14px;
  font-weight: 900;
}

.download-panel li span {
  margin-top: 5px;
  color: #aaa6af;
  font-size: 12px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 21px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.download-button:hover {
  background: var(--brand-dark);
}

.site-footer {
  background: #0e0e14;
  color: #fff;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 126px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

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

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

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

.footer-nav a:hover {
  color: var(--brand);
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #a7a3ac;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 950;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(157, 10, 98, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background 0.18s ease;
}

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

.back-to-top:hover {
  background: var(--brand-dark);
}

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

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

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

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

  .featured-comic {
    grid-column: span 4;
    grid-template-columns: 250px 1fr;
    min-height: 300px;
  }

  .download-panel {
    grid-template-columns: minmax(250px, 1fr) 80px minmax(300px, 1.2fr);
  }

  .download-button {
    grid-column: 3;
    width: 220px;
    justify-self: end;
  }
}

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

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

  .page-shell,
  .header-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

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

  .header-shell {
    position: relative;
  }

  .site-brand {
    flex: 1 1 auto;
  }

  .site-brand img {
    width: 39px;
    height: 39px;
    border-radius: 10px;
  }

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

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

  .mobile-actions {
    display: flex;
    flex: 0 0 auto;
  }

  .mobile-download {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 13px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid #d9d5df;
    border-radius: 9px;
    background: #fff;
  }

  .menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: -16px;
    left: -16px;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid #ebe8ef;
    border-bottom: 1px solid #dedbe4;
    background: #fff;
  }

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

  .site-nav ul {
    display: block;
    padding: 8px 16px 16px;
  }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid #eeebf1;
  }

  .site-nav a::after {
    right: auto;
    bottom: 7px;
    left: 8px;
    width: 26px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-copy {
    justify-self: center;
    text-align: center;
  }

  .hero h1 {
    white-space: nowrap;
  }

  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

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

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

  .age-label {
    margin-right: auto;
    margin-left: auto;
  }

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

  .content-section {
    padding: 76px 0;
  }

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

  .account-preview {
    min-height: 390px;
  }

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

  .schedule-row {
    grid-template-columns: 54px 1fr 150px 47px;
  }

  .schedule-row time {
    text-align: right;
  }

  .read-progress,
  .schedule-row > small {
    display: none;
  }

  .download-panel {
    grid-template-columns: 1fr 90px;
    gap: 22px;
  }

  .download-path {
    grid-column: 2;
    grid-row: 1;
  }

  .download-panel ul {
    grid-column: 1 / -1;
  }

  .download-button {
    grid-column: 1 / -1;
    width: 230px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .header-shell {
    width: calc(100% - 24px);
  }

  .header-shell {
    width: calc(100% - 20px);
  }

  .hero-layout {
    gap: 46px;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 58px;
    white-space: normal;
  }

  .hero-copy h2 {
    margin-top: 14px;
    font-size: 28px;
  }

  .hero-copy h2 span {
    display: block;
  }

  .hero-copy > p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-tags {
    gap: 7px;
    margin-top: 22px;
  }

  .hero-tags > span {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-download {
    width: 218px;
    min-height: 56px;
    margin-top: 28px;
  }

  .age-label {
    width: 218px;
  }

  .phone-device {
    width: min(296px, 100%);
    height: 626px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
    text-align: left;
  }

  .section-title {
    gap: 13px;
  }

  .section-number {
    font-size: 46px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-heading > p {
    margin-top: 12px;
    text-align: left;
  }

  .content-section {
    padding: 64px 0;
  }

  .benefit-rail button {
    grid-template-columns: 46px 1fr 32px;
    gap: 11px;
    min-height: 81px;
    padding: 11px 13px;
  }

  .benefit-rail i {
    width: 46px;
    height: 46px;
    background-size: 22px;
  }

  .benefit-rail strong {
    font-size: 15px;
  }

  .benefit-rail b {
    font-size: 19px;
  }

  .account-preview {
    min-height: 0;
    padding: 22px 18px;
  }

  .account-person img {
    width: 64px;
    height: 64px;
  }

  .genre-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .genre-filter button {
    min-width: 66px;
    flex: 0 0 auto;
  }

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

  .featured-comic {
    grid-column: span 2;
    grid-template-columns: 45% 1fr;
    min-height: 286px;
  }

  .featured-cover {
    padding: 8px;
  }

  .featured-copy {
    padding: 18px 14px;
  }

  .featured-copy h3 {
    font-size: 20px;
  }

  .featured-copy > p {
    font-size: 12px;
  }

  .small-comic {
    padding: 8px 8px 12px;
  }

  .schedule-board {
    padding: 14px 10px;
  }

  .weekday-route {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .weekday-route::before {
    display: none;
  }

  .weekday-route button {
    width: 68px;
    min-height: 58px;
    flex: 0 0 auto;
  }

  .schedule-row {
    grid-template-columns: 50px 1fr 43px;
    gap: 10px;
    padding: 9px;
  }

  .schedule-cover {
    width: 50px;
    height: 55px;
  }

  .schedule-row time {
    grid-column: 2;
    text-align: left;
  }

  .reminder-switch {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

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

  .screenshot-frame {
    padding: 6px;
  }

  .screenshot-grid figcaption {
    min-height: 92px;
    padding: 13px 10px;
  }

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

  .faq-item summary,
  .official-details summary {
    min-height: 62px;
    padding: 0 13px;
    font-size: 14px;
  }

  .faq-item > p {
    padding: 0 43px 20px 13px;
    font-size: 13px;
  }

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

  .official-details > div {
    padding: 0 13px 19px;
  }

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

  .reader-review {
    min-height: 180px;
  }

  .download-section {
    padding: 42px 0;
  }

  .download-panel {
    display: block;
    padding: 26px 20px;
  }

  .download-index {
    font-size: 56px;
  }

  .download-intro {
    align-items: flex-end;
  }

  .download-intro h2 {
    font-size: 23px;
  }

  .download-path {
    width: 110px;
    height: 55px;
    margin: 5px 0 5px 60px;
  }

  .download-path::before {
    top: 26px;
  }

  .download-path span {
    top: 1px;
  }

  .download-panel ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
  }

  .download-panel li {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 10px;
  }

  .download-panel li span {
    margin-top: 0;
  }

  .download-button {
    width: 100%;
    margin-top: 25px;
  }

  .footer-main {
    flex-direction: column;
    justify-content: center;
    gap: 27px;
    padding-top: 38px;
    padding-bottom: 33px;
    text-align: center;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

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

  .footer-nav {
    justify-content: center;
    gap: 13px 20px;
  }

  .footer-copyright {
    justify-content: center;
    text-align: center;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }

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

@media (max-width: 375px) {
  .site-brand {
    gap: 6px;
  }

  .site-brand img {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }

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

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

  .mobile-actions {
    gap: 5px;
  }

  .mobile-download {
    height: 35px;
    padding: 0 9px;
    font-size: 12px;
  }

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

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

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

  .hero-tags > span {
    padding: 0 9px;
  }

  .phone-device {
    width: 286px;
  }

  .auth-panel {
    padding-right: 15px;
    padding-left: 15px;
  }

  .featured-comic {
    grid-template-columns: 42% 1fr;
  }

  .featured-copy {
    padding-right: 10px;
    padding-left: 10px;
  }

  .account-stats strong {
    font-size: 13px;
  }

  .account-stats span {
    font-size: 12px;
  }

  .download-intro h2 {
    font-size: 21px;
  }
}

@media (max-width: 335px) {
  .header-shell {
    width: calc(100% - 16px);
  }

  .site-brand img {
    width: 33px;
    height: 33px;
  }

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

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

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

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

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

  .hero-tags > span {
    padding: 0 8px;
  }

  .phone-device {
    width: 282px;
  }
}
