@charset "UTF-8";

:root {
  --pink: #ff5d79;
  --pink-dark: #e74766;
  --pink-soft: #fff0f3;
  --pink-pale: #fff9fa;
  --ink: #273e5c;
  --ink-deep: #17283d;
  --muted: #68788d;
  --line: #eac5cc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--pink-pale);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  height: 74px;
  border-bottom: 1px solid rgba(39, 62, 92, 0.08);
  background: rgba(255, 250, 251, 0.96);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}

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

.brand-copy strong {
  color: var(--pink-dark);
  font-size: 20px;
}

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

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

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 5px;
  background: var(--pink);
  content: "";
  opacity: 0;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
}

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

.desktop-download,
.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 5px;
  color: var(--white);
  background: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.desktop-download:hover,
.desktop-download:focus-visible,
.mobile-download:hover,
.mobile-download:focus-visible {
  background: var(--ink);
}

.mobile-download,
.nav-toggle {
  display: none;
}

.hero {
  min-height: 690px;
  padding: 150px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 93, 121, 0.15), transparent 26%),
    linear-gradient(135deg, #fffdfd 0%, #fff4f6 100%);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.eyebrow,
.section-heading p,
.hero-editorial > p:first-child,
.download-section > p {
  margin: 0;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero-copy h1 {
  margin: 12px 0 0;
  color: var(--pink);
  font-size: clamp(60px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-slogan {
  margin: 21px 0 0;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 590px;
  margin: 20px 0;
  color: var(--ink);
  font-size: 16px;
}

.hero-tags,
.mood-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-bottom: 23px;
}

.hero-tags span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 5px;
  color: var(--white);
  background: var(--pink);
  font-size: 16px;
  font-weight: 900;
}

.primary-button:hover,
.primary-button:focus-visible,
.download-button:hover,
.download-button:focus-visible {
  background: var(--ink);
}

.primary-button b,
.download-button b {
  font-size: 22px;
}

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

.hero-editorial {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: 13px 13px 0 var(--pink-soft);
}

.hero-editorial > p:first-child {
  color: #ffc4ce;
}

.hero-editorial h2 {
  margin: 11px 0 22px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

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

.hero-cards article {
  min-width: 0;
  padding: 10px;
  border-radius: 5px;
  background: var(--white);
}

.hero-cards img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--pink-soft);
}

.hero-cards strong,
.hero-cards span {
  display: block;
}

.hero-cards strong {
  margin-top: 9px;
  font-size: 14px;
}

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

.hero-editorial .hero-note {
  margin: 20px 0 0;
  color: #dce8f4;
  font-size: 13px;
}

.section {
  padding-top: 104px;
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 13px 18px;
  align-items: end;
  margin-bottom: 27px;
}

.section-index {
  align-self: start;
  color: var(--pink);
  font-size: 15px;
  font-weight: 900;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.section-summary {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.mood-switches {
  margin-bottom: 19px;
}

.mood-switches button {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.mood-switches button:hover,
.mood-switches button:focus-visible,
.mood-switches button.is-selected {
  color: var(--white);
  border-color: var(--pink);
  background: var(--pink);
}

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

.comic-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  padding: 13px;
  border: 1px solid #f1d7dc;
  border-radius: 5px;
  background: var(--white);
}

.comic-card img {
  width: 136px;
  height: 184px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--pink-soft);
}

.comic-card p {
  margin: 7px 0 0;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 800;
}

.comic-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.2;
}

.comic-card span {
  color: var(--muted);
  font-size: 13px;
}

.screens-section {
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  width: 100%;
  overflow: hidden;
  background: var(--pink-soft);
}

.screens-section .section-heading {
  width: min(1200px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.screen-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-width: 0;
  padding: 0 0 10px;
}

.screen-track figure {
  flex: 0 0 250px;
  margin: 0;
  scroll-snap-align: start;
}

.screen-frame {
  width: 250px;
  height: 450px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
}

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

.screen-track figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 8px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 900;
}

.screen-track figcaption b {
  color: var(--pink);
}

.screen-track figcaption span {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.shelf-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}

.week-board,
.queue-card {
  padding: 24px;
  border: 1px solid #f1d7dc;
  border-radius: 5px;
  background: var(--white);
}

.week-board header,
.queue-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.week-board header p,
.queue-card header p {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.week-board header span,
.queue-card header a {
  color: var(--muted);
  font-size: 12px;
}

.queue-card header a:hover,
.queue-card header a:focus-visible {
  color: var(--pink-dark);
}

.week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin: 23px 0 18px;
}

.week-days span {
  min-height: 92px;
  display: grid;
  place-content: center;
  gap: 9px;
  border-radius: 5px;
  color: var(--muted);
  background: #f4f7fa;
  font-size: 12px;
  text-align: center;
}

.week-days span.is-today {
  color: var(--pink-dark);
  background: var(--pink-soft);
  font-weight: 900;
}

.week-days i {
  width: 6px;
  height: 6px;
  margin: auto;
  border-radius: 50%;
  background: var(--pink);
}

.board-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.queue-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.queue-card li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.queue-card li img {
  width: 40px;
  height: 52px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--pink-soft);
}

.queue-card li b,
.queue-card li small {
  display: block;
}

.queue-card li b {
  font-size: 14px;
}

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

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--pink);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 850px;
  margin: 0;
  padding: 0 8px 19px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list p a {
  color: var(--pink-dark);
  text-decoration: underline;
}

.voices-section {
  width: 100%;
  margin-top: 104px;
  padding: 78px 0;
  color: var(--white);
  background: var(--ink-deep);
}

.section-heading-light p,
.section-heading-light .section-index {
  color: #ffb7c4;
}

.section-heading-light .section-summary {
  color: #d2dfeb;
}

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

.review-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  min-height: 166px;
  padding: 18px;
  border: 1px solid #54708e;
  border-radius: 5px;
}

.avatar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-image: url("../icons/avatar.svg");
  background-position: center;
  background-size: cover;
}

.review-content header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-content strong {
  font-size: 14px;
}

.rating {
  color: #ffb7c4;
  font-size: 12px;
}

.review-content p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.65;
}

.review-content time {
  display: block;
  color: #b7c9da;
  font-size: 12px;
  text-align: right;
}

.download-section {
  width: min(1100px, calc(100% - 48px));
  margin: 88px auto;
  padding: 52px 24px;
  border-radius: 5px;
  text-align: center;
  background: var(--pink);
}

.download-section > p {
  color: #ffe0e5;
}

.download-section h2 {
  margin: 8px 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.download-section > span {
  display: block;
  margin-bottom: 24px;
  color: #fff6f7;
  font-size: 15px;
}

.download-button {
  color: var(--pink-dark);
  background: var(--white);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  min-height: 210px;
  padding: 45px max(24px, calc((100% - 1200px) / 2));
  color: var(--white);
  background: var(--ink-deep);
}

.site-footer .brand-copy strong {
  color: var(--white);
}

.site-footer .brand-copy small,
.footer-brand > p {
  color: #c4d3e0;
}

.footer-brand > p {
  margin: 9px 0 0;
  font-size: 13px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-footer ul a:hover,
.site-footer ul a:focus-visible {
  color: #ffb7c4;
}

.site-footer > small {
  grid-column: 1 / -1;
  justify-self: center;
  color: #b9c9d9;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-top i {
  width: 20px;
  height: 20px;
  background-image: url("../icons/top.svg");
  background-position: center;
  background-size: contain;
}

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

.back-top:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .header-inner {
    width: min(100% - 28px, 1200px);
    gap: 18px;
  }

  .site-nav ul {
    gap: 18px;
  }

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

  .hero-editorial {
    max-width: 620px;
  }

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

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

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

@media (max-width: 720px) {
  body {
    padding-top: 68px;
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 24px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

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

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

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

  .desktop-download {
    display: none;
  }

  .mobile-download,
  .nav-toggle {
    display: inline-flex;
  }

  .mobile-download {
    min-height: 34px;
    padding: 0 9px;
    white-space: nowrap;
    font-size: 12px;
  }

  .header-actions {
    justify-self: end;
    gap: 8px;
  }

  .nav-toggle {
    width: 37px;
    height: 34px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--pink);
    border-radius: 5px;
    color: var(--pink-dark);
    background: var(--white);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 15px;
    height: 2px;
    border-radius: 5px;
    background: currentColor;
  }

  .nav-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

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

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    text-align: center;
  }

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

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

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

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

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

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

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

  .age-label {
    text-align: center;
  }

  .hero-editorial {
    padding: 18px;
  }

  .hero-cards img {
    height: 126px;
  }

  .section {
    padding-top: 68px;
  }

  .section-heading {
    grid-template-columns: auto 1fr;
    gap: 8px 13px;
  }

  .section-summary {
    grid-column: 1 / -1;
    margin: 4px 0 0;
  }

  .mood-switches {
    gap: 7px;
  }

  .mood-switches button {
    padding: 0 13px;
  }

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

  .comic-card img {
    width: 112px;
    height: 155px;
  }

  .screens-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .screens-section .section-heading {
    width: 100%;
  }

  .screen-track {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y;
  }

  .screen-track figure {
    flex-basis: 250px;
  }

  .week-board,
  .queue-card {
    padding: 17px;
  }

  .week-days {
    gap: 4px;
  }

  .week-days span {
    min-height: 68px;
    font-size: 12px;
  }

  .faq-list summary {
    padding-right: 2px;
    padding-left: 2px;
    font-size: 14px;
  }

  .voices-section {
    margin-top: 68px;
    padding: 58px 0;
  }

  .download-section {
    width: calc(100% - 28px);
    margin: 62px auto;
    padding: 42px 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding: 38px 14px;
    text-align: center;
  }

  .footer-brand > p {
    margin-top: 9px;
  }

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

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

@media (max-width: 390px) {
  .header-inner {
    width: calc(100% - 16px);
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

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

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

  .brand-copy small {
    font-size: 11px;
  }

  .header-actions {
    gap: 5px;
  }

  .mobile-download {
    min-height: 32px;
    padding: 0 7px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 34px;
    height: 32px;
  }
}

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary {
    touch-action: manipulation;
  }

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