@charset "UTF-8";

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

:root {
  --pink: #f05d83;
  --pink-soft: #fde9ee;
  --wine: #8d1736;
  --wine-dark: #531023;
  --cream: #fffaf1;
  --paper: #fffdf9;
  --yellow: #ffd33f;
  --ink: #1b1517;
  --muted: #745f65;
  --line: #e8cdd3;
  --white: #ffffff;
  --success: #138b5f;
  --content: 1200px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid var(--line);
  backface-visibility: hidden;
}

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

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

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

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

.brand-copy strong,
.footer-brand strong {
  font-size: 19px;
}

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

.main-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav ul {
  gap: 38px;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--wine);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--wine);
}

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

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

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: var(--wine);
  border: 1px solid var(--wine);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.menu-icon::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.icon::before {
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

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

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

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

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

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

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

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

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(240, 93, 131, 0.16) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, rgba(253, 233, 238, 0.94), rgba(255, 250, 241, 0.76));
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 54px;
  align-items: center;
  min-height: 690px;
  padding: 64px 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-index,
.panel-label,
.ticket-copy > span,
.ledger-head > div > span {
  display: inline-flex;
  align-items: center;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-index::before {
  width: 24px;
  height: 3px;
  margin-right: 10px;
  background: var(--pink);
  content: "";
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(62px, 6.2vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-copy > h2 {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.35;
}

.hero-summary {
  max-width: 510px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 184px;
  min-height: 54px;
  margin-top: 30px;
  padding: 12px 24px;
  color: var(--white);
  background: var(--wine);
  border: 1px solid var(--wine);
  box-shadow: 7px 7px 0 var(--yellow);
  font-size: 16px;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.primary-download:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(83, 16, 35, 0.24);
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.point-dot {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--pink);
  border: 2px solid var(--wine);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.hero-portrait {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 43%;
  overflow: hidden;
  background: var(--pink-soft);
  border: 1px solid var(--wine);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.discovery-console {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  width: 78%;
  padding: 24px;
  background: rgba(255, 253, 249, 0.98);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(141, 23, 54, 0.18);
  transform: translateY(-50%);
}

.console-heading,
.console-tools,
.ledger-head,
.review-head,
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-heading h2 {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.3;
}

.console-heading > div > span,
.console-state {
  font-size: 12px;
}

.console-heading > div > span {
  color: var(--muted);
  letter-spacing: 0.12em;
}

.console-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  white-space: nowrap;
}

.console-state i {
  width: 8px;
  height: 8px;
  background: #3ddd9d;
  border-radius: 50%;
}

.console-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  margin-top: 18px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.console-search .icon::before {
  width: 18px;
  height: 18px;
}

.console-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.console-tools {
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.rank-tabs,
.genre-chips,
.ledger-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-tabs button,
.genre-chips button,
.ledger-filters button {
  min-height: 32px;
  padding: 5px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.rank-tabs button.is-active,
.genre-chips button.is-active,
.ledger-filters button.is-active {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.ranking-list {
  display: grid;
  gap: 0;
}

.ranking-item {
  display: grid;
  grid-template-columns: 30px 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.ranking-item[hidden],
.manga-card[hidden],
.schedule-item[hidden] {
  display: none;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.rank-cover,
.schedule-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pink-soft);
}

.rank-cover {
  width: 48px;
  height: 52px;
}

.rank-cover img,
.schedule-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rank-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.rank-copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy span,
.manga-card p,
.manga-card > div > span,
.schedule-item p {
  color: var(--muted);
  font-size: 12px;
}

.follow-toggle,
.bookmark-toggle,
.reminder-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
}

.follow-toggle {
  gap: 4px;
  min-width: 78px;
  min-height: 34px;
  padding: 5px 8px;
  font-size: 12px;
}

.follow-toggle .icon::before {
  width: 16px;
  height: 16px;
}

.follow-toggle.is-on,
.bookmark-toggle.is-on,
.reminder-toggle.is-on {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.follow-toggle.is-on .icon::before,
.bookmark-toggle.is-on .icon::before {
  filter: brightness(0) invert(1);
}

.console-empty {
  margin-top: 18px;
  padding: 16px;
  color: var(--muted);
  background: var(--pink-soft);
  font-size: 12px;
  text-align: center;
}

.section {
  padding: 90px 0;
}

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

.section-heading h2 {
  margin-top: 10px;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 500px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

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

.radar-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 450px;
  border: 1px solid var(--line);
}

.mood-radar {
  padding: 34px;
  background: var(--pink-soft);
  border-right: 1px solid var(--line);
}

.panel-label {
  color: var(--ink);
  letter-spacing: 0.08em;
}

.radar-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 48px auto 0;
  border: 1px solid rgba(141, 23, 54, 0.22);
  border-radius: 50%;
}

.radar-orbit::before,
.radar-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(141, 23, 54, 0.16);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.radar-orbit::before {
  width: 178px;
  height: 178px;
}

.radar-orbit::after {
  width: 92px;
  height: 92px;
  background: rgba(255, 255, 255, 0.45);
}

.radar-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transform: translate(-50%, -50%);
}

.mood-button {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: var(--white);
  border: 1px solid var(--wine);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.mood-button.is-active,
.mood-button:hover {
  color: var(--white);
  background: var(--wine);
}

.mood-light {
  top: -18px;
  left: 96px;
}

.mood-hot {
  top: 94px;
  right: -20px;
}

.mood-heal {
  bottom: -18px;
  left: 96px;
}

.mood-mystery {
  top: 94px;
  left: -20px;
}

.recommend-ledger {
  padding: 34px;
  background: var(--white);
}

.ledger-head {
  gap: 20px;
  margin-bottom: 24px;
}

.ledger-head h3 {
  margin-top: 3px;
  font-size: 24px;
}

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

.manga-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.manga-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 104px;
  overflow: hidden;
  background: var(--pink-soft);
}

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

.manga-card h3 {
  margin: 5px 0 3px;
  font-size: 16px;
  line-height: 1.35;
}

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

.bookmark-toggle .icon::before {
  width: 17px;
  height: 17px;
}

.schedule-section {
  color: var(--white);
  background: var(--wine-dark);
}

.schedule-section .section-index,
.schedule-section .section-heading > p {
  color: #ffc2d2;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.day-tabs button {
  min-height: 72px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.day-tabs button.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.day-tabs span,
.day-tabs small {
  display: block;
}

.day-tabs span {
  font-size: 14px;
  font-weight: 800;
}

.day-tabs small {
  margin-top: 2px;
  font-size: 12px;
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 28px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-cover {
  width: 62px;
  height: 68px;
}

.schedule-item h3 {
  font-size: 16px;
}

.schedule-item p,
.schedule-status {
  color: #efcbd5;
}

.schedule-status {
  font-size: 12px;
  white-space: nowrap;
}

.reminder-toggle {
  min-width: 92px;
  min-height: 38px;
  padding: 7px 11px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  white-space: nowrap;
}

.reminder-toggle.is-on {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

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

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

.screenshot-grid figure {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.screenshot-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #f7f1f0;
}

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

.screenshot-grid figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.screenshot-grid figcaption span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

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

.faq-section {
  background: var(--pink-soft);
}

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

.faq-list details,
.official-site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.faq-list summary,
.official-site summary {
  display: flex;
  align-items: center;
  min-height: 72px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary {
  gap: 20px;
  padding: 14px 22px;
}

.faq-list summary > span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.faq-list summary strong {
  flex: 1;
  font-size: 16px;
}

.faq-list summary > i,
.official-site summary > i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-list summary > i::before,
.faq-list summary > i::after,
.official-site summary > i::before,
.official-site summary > i::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.faq-list summary > i::after,
.official-site summary > i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary > i::after,
.official-site[open] summary > i::after {
  transform: rotate(0deg);
}

.faq-list details > p,
.official-site > p {
  padding: 0 60px 24px;
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  margin-top: 24px;
  border: 1px solid var(--wine);
}

.official-site summary {
  justify-content: space-between;
  padding: 14px 22px;
}

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}

.official-site a {
  color: var(--wine);
  font-weight: 700;
}

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

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

.review-card {
  position: relative;
  display: flex;
  min-height: 252px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pink);
}

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

.review-head {
  gap: 12px;
}

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

.review-user > .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--wine);
  border-radius: 50%;
}

.review-user > .icon::before {
  width: 20px;
  height: 20px;
}

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

.review-rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  color: #f1a800;
}

.review-rating .fa {
  display: inline-block;
  width: 15px;
  height: 16px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
}

.review-rating .fa-star::before {
  content: "★";
}

.review-rating .fa-star-o::before {
  color: #c9bfc1;
  content: "☆";
}

.review-card > p {
  margin-top: 22px;
  color: #382e31;
  font-size: 14px;
  line-height: 1.9;
}

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

.download-section {
  padding: 72px 0;
  background: var(--wine-dark);
}

.download-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 260px;
  align-items: stretch;
  min-height: 164px;
  background: var(--cream);
  border: 1px solid var(--pink);
  box-shadow: 10px 10px 0 rgba(240, 93, 131, 0.4);
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 28px;
  height: 28px;
  background: var(--wine-dark);
  border: 1px solid var(--pink);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.download-ticket::before {
  left: -15px;
}

.download-ticket::after {
  right: -15px;
}

.ticket-number,
.ticket-copy,
.ticket-download {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ticket-number {
  align-items: center;
  color: var(--wine);
  border-right: 1px dashed var(--pink);
}

.ticket-number span {
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.ticket-number strong {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.ticket-copy {
  padding: 28px 42px;
}

.ticket-copy h2 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.3;
}

.ticket-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ticket-download {
  position: relative;
  z-index: 3;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: var(--wine);
  border-left: 1px dashed rgba(255, 255, 255, 0.5);
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ticket-download:hover {
  color: var(--ink);
  background: var(--yellow);
}

.ticket-download:hover .icon-download::before {
  background-image: url("../icons/download-dark.svg");
}

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

.footer-main {
  min-height: 116px;
  gap: 36px;
}

.footer-brand img {
  border-color: rgba(255, 255, 255, 0.34);
}

.footer-brand span span {
  color: #f8c6d2;
}

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

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

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

.copyright {
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  color: #f8d8df;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--white);
  background: var(--wine);
  border: 1px solid var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

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

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

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
    gap: 28px;
  }

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

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

  .hero-portrait {
    width: 38%;
  }

  .discovery-console {
    width: 84%;
  }

  .main-nav ul {
    gap: 24px;
  }

  .radar-workspace {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .mood-radar,
  .recommend-ledger {
    padding: 26px;
  }

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

  .schedule-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .schedule-status {
    display: none;
  }
}

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

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

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

  .site-header {
    height: var(--header-height);
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

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

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

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

  .mobile-actions {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    visibility: hidden;
  }

  .main-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-bottom-color: var(--line);
    visibility: visible;
  }

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

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

  .main-nav a {
    min-height: 50px;
    font-size: 14px;
  }

  .main-nav a::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: -14px;
    width: 3px;
    height: auto;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    width: 100%;
    height: 49%;
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding: 54px 0 64px;
  }

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

  .eyebrow {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 70px);
    white-space: normal;
  }

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

  .hero-summary {
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

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

  .hero-visual {
    min-height: 600px;
    margin-top: 44px;
  }

  .hero-portrait {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 210px;
    height: 250px;
    margin: 0 auto -58px;
  }

  .discovery-console {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    padding: 20px;
    transform: none;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading > p {
    max-width: none;
    margin-top: 14px;
    padding-bottom: 0;
    text-align: left;
  }

  .radar-workspace {
    grid-template-columns: 1fr;
  }

  .mood-radar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .manga-card figure {
    width: 72px;
    height: 96px;
  }

  .day-tabs {
    grid-template-columns: repeat(7, 92px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .schedule-list {
    grid-template-columns: 1fr;
  }

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

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

  .download-ticket {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ticket-download {
    grid-column: 1 / -1;
    min-height: 78px;
    border-top: 1px dashed rgba(255, 255, 255, 0.5);
    border-left: 0;
  }

  .footer-main {
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
    text-align: center;
  }

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

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

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

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

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

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

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

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

  .primary-download {
    width: min(100%, 230px);
  }

  .hero-points {
    gap: 10px 15px;
  }

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

  .hero-portrait {
    width: 188px;
    height: 224px;
  }

  .console-heading {
    align-items: flex-start;
  }

  .console-heading h2 {
    font-size: 19px;
  }

  .console-state {
    font-size: 12px;
  }

  .console-tools {
    display: block;
  }

  .genre-chips {
    margin-top: 9px;
  }

  .ranking-item {
    grid-template-columns: 28px 44px minmax(0, 1fr);
  }

  .rank-cover {
    width: 44px;
    height: 50px;
  }

  .follow-toggle {
    grid-column: 2 / -1;
    justify-self: start;
    min-height: 30px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .mood-radar,
  .recommend-ledger {
    padding: 22px 18px;
  }

  .radar-orbit {
    width: 228px;
    height: 228px;
  }

  .radar-orbit::before {
    width: 156px;
    height: 156px;
  }

  .radar-orbit::after {
    width: 84px;
    height: 84px;
  }

  .mood-light,
  .mood-heal {
    left: 80px;
  }

  .mood-hot,
  .mood-mystery {
    top: 80px;
  }

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

  .ledger-head {
    display: block;
  }

  .ledger-filters {
    margin-top: 14px;
  }

  .schedule-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .schedule-cover {
    width: 54px;
    height: 62px;
  }

  .reminder-toggle {
    min-width: 78px;
    padding: 6px 8px;
  }

  .screenshot-grid figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    min-height: 62px;
    padding: 10px;
  }

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

  .faq-list summary,
  .official-site summary {
    min-height: 64px;
    padding: 12px 14px;
  }

  .faq-list summary {
    gap: 12px;
  }

  .faq-list summary strong,
  .official-site summary > span {
    font-size: 14px;
  }

  .faq-list details > p,
  .official-site > p {
    padding: 0 44px 20px;
    font-size: 13px;
  }

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

  .review-card {
    min-height: 226px;
    padding: 22px;
  }

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

  .download-ticket {
    display: block;
    min-height: 0;
    box-shadow: 7px 7px 0 rgba(240, 93, 131, 0.4);
  }

  .ticket-number {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px dashed var(--pink);
  }

  .ticket-number span {
    font-size: 42px;
  }

  .ticket-copy {
    padding: 26px 22px;
    text-align: center;
  }

  .ticket-copy h2 {
    font-size: 23px;
  }

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

  .footer-nav ul {
    gap: 10px 20px;
  }

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

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

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

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

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

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

  .discovery-console {
    padding: 16px;
  }

  .schedule-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .schedule-cover {
    width: 48px;
    height: 58px;
  }

  .reminder-toggle {
    grid-column: 2;
    justify-self: start;
  }
}

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary {
    -webkit-tap-highlight-color: transparent;
    transition: none !important;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
