@charset "UTF-8";

:root {
  --ink: #202226;
  --muted: #6e7077;
  --paper: #f7f3ea;
  --panel: #fffdf8;
  --pink: #ed7790;
  --pink-dark: #cc526e;
  --yellow: #f2cf50;
  --green: #4fc78d;
  --line: #d8d0c5;
  --header-height: 76px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.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,
.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

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

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

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.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;
  font-weight: 800;
  white-space: nowrap;
}

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

.site-nav {
  margin-left: auto;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

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

.site-nav a.is-current::after {
  background: var(--pink);
}

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

.header-download,
.mobile-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-download:hover {
  border-color: var(--pink-dark);
  background: var(--pink-dark);
}

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

.menu-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--panel);
  cursor: pointer;
}

.icon,
.review-avatar {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

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

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

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

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

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

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

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

.section-space {
  padding: 108px 0;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.3;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading > p,
.split-heading > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(32, 34, 38, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 34, 38, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  content: "";
  background: rgba(237, 119, 144, 0.1);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 72px;
  padding-block: 58px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(68px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.hero-copy h2 {
  margin-top: 25px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
}

.hero-description {
  max-width: 610px;
  margin-top: 24px;
  color: #555860;
  font-size: 16px;
}

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

.hero-tags span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 700;
}

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

.primary-action {
  display: inline-flex;
  min-width: 228px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.primary-action .icon {
  filter: brightness(0) invert(1);
}

.primary-action:hover {
  border-color: var(--pink-dark);
  background: var(--pink-dark);
}

.primary-action:hover .icon {
  filter: brightness(0) invert(1);
}

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

.midnight-console {
  position: relative;
  width: 100%;
  max-width: 550px;
  justify-self: end;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--panel);
}

.midnight-console::before {
  position: absolute;
  z-index: -1;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  border-radius: 5px;
  content: "";
  background: var(--pink);
}

.console-head {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.console-label {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.console-head h2 {
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.25;
}

.online-state {
  position: relative;
  padding-left: 15px;
  font-size: 12px;
  white-space: nowrap;
}

.online-state::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  transform: translateY(-50%);
}

.midnight-clock {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 24px 14px;
  gap: 20px;
}

.midnight-clock strong {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.console-search,
.discovery-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.console-search {
  margin: 0 24px;
  padding: 0 14px;
}

.console-search input,
.discovery-search input {
  width: 100%;
  height: 46px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.console-tabs {
  display: grid;
  margin: 16px 24px 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.console-tabs button {
  min-height: 40px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

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

.console-tabs button.is-active {
  background: var(--yellow);
}

.console-list {
  padding: 10px 24px 24px;
}

.console-item {
  display: grid;
  min-height: 86px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.console-item[hidden] {
  display: none;
}

.console-item figure {
  width: 50px;
  height: 62px;
  overflow: hidden;
  border-radius: 3px;
  background: #f2eee8;
}

.console-item img,
.manga-card img,
.calendar-route img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.console-item h3 {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-item p,
.console-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.console-item b {
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.discovery {
  background: #fffaf2;
}

.discovery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.discovery-search {
  width: min(100%, 360px);
  padding: 0 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-row button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

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

.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.manga-card {
  display: grid;
  min-width: 0;
  min-height: 290px;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--panel);
}

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

.manga-card figure {
  min-height: 288px;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #f0ebe4;
}

.manga-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}

.manga-card-body > span {
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 800;
}

.manga-card h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

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

.manga-card b {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(237, 119, 144, 0.14);
  color: var(--pink-dark);
  font-size: 12px;
}

.empty-result {
  padding: 40px;
  border: 1px dashed var(--line);
  text-align: center;
}

.calendar {
  background: var(--ink);
  color: #fff;
}

.calendar .section-kicker {
  color: var(--yellow);
}

.calendar .section-heading > p {
  color: #b8bac1;
}

.calendar-board {
  border: 1px solid #4b4d53;
  border-radius: 5px;
  overflow: hidden;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #4b4d53;
}

.day-tabs button {
  min-width: 0;
  min-height: 78px;
  border: 0;
  border-right: 1px solid #4b4d53;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

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

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

.day-tabs button strong {
  font-size: 14px;
}

.day-tabs button span {
  margin-top: 2px;
  color: #9ea0a7;
  font-size: 12px;
}

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

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

.calendar-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
}

.calendar-route {
  padding: 0 24px;
}

.calendar-route article {
  display: grid;
  min-height: 105px;
  grid-template-columns: 58px 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #45474d;
}

.calendar-route article:last-child {
  border-bottom: 0;
}

.calendar-route article > span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.calendar-route figure {
  width: 56px;
  height: 70px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #505259;
  border-radius: 3px;
  background: #fff;
}

.calendar-route h3 {
  font-size: 16px;
}

.calendar-route p {
  color: #aaaeb6;
  font-size: 12px;
}

.reminder-toggle {
  min-width: 76px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #686a72;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

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

.calendar-note {
  display: flex;
  min-height: 325px;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border-left: 1px solid #4b4d53;
  background: var(--pink-dark);
}

.calendar-note span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.calendar-note strong {
  margin: 12px 0 18px;
  font-size: 28px;
  line-height: 1.35;
}

.calendar-note p {
  color: #ffeef2;
  font-size: 13px;
}

.screenshots {
  background: #f2eee6;
}

.screenshot-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
}

.screenshot-track > figure {
  width: 250px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--panel);
}

.screenshot-frame {
  width: 250px;
  height: 450px;
  max-width: 100%;
  overflow: hidden;
  background: #fff;
}

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

.screenshot-track figcaption {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-top: 1px solid var(--line);
}

.screenshot-track figcaption > span {
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 900;
}

.screenshot-track figcaption div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.screenshot-track figcaption strong {
  font-size: 15px;
}

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

.faq {
  background: #fffaf3;
}

.faq-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 65px;
}

.faq-layout > .section-heading {
  margin: 0;
}

.faq-layout .section-heading h2 {
  font-size: clamp(42px, 4.6vw, 60px);
}

.faq-layout .section-heading p {
  margin-top: 22px;
}

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

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

.faq-item > button {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
}

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

.faq-item > button b {
  color: var(--pink-dark);
  font-size: 12px;
}

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

.faq-item > button i::before,
.faq-item > button i::after,
.details-symbol::before,
.details-symbol::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item > button i::before,
.details-symbol::before {
  width: 14px;
  height: 1px;
}

.faq-item > button i::after,
.details-symbol::after {
  width: 1px;
  height: 14px;
}

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

.faq-answer {
  padding: 0 56px 22px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--panel);
}

.official-site summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.official-site summary span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.official-site > div {
  padding: 0 50px 20px;
}

.official-site a {
  color: var(--pink-dark);
  word-break: break-all;
}

.reviews {
  background: #f0e7ea;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid #d9c5cb;
  border-top: 4px solid var(--pink);
  border-radius: 3px;
  background: var(--panel);
}

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

.review-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ded3d6;
}

.review-avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 50%;
  background-color: var(--ink);
  background-size: 20px;
}

.review-card header div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

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

.review-rating {
  color: var(--pink-dark);
  font-size: 12px;
  white-space: nowrap;
}

.review-rating i {
  margin-left: 2px;
  color: var(--pink-dark);
  font-style: normal;
}

.review-card > p {
  margin: 20px 0;
  font-size: 14px;
}

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

.download {
  padding-block: 84px;
  background: var(--ink);
}

.download-ticket {
  position: relative;
  display: grid;
  min-height: 190px;
  grid-template-columns: 190px minmax(0, 1fr) 240px 132px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 5px;
  background: var(--panel);
}

.ticket-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-right: 1px dashed #aca49b;
  background: var(--yellow);
}

.ticket-index span {
  font-size: 70px;
  font-weight: 900;
  line-height: 0.95;
}

.ticket-index small {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ticket-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px;
}

.ticket-copy h2 {
  font-size: 32px;
  line-height: 1.15;
}

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

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px;
  background: var(--pink);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.ticket-action:hover {
  background: var(--pink-dark);
  color: #fff;
}

.ticket-action:hover .icon {
  filter: brightness(0) invert(1);
}

.ticket-stamp {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-left: 1px dashed #aca49b;
  background: #e9e3da;
  writing-mode: vertical-rl;
}

.ticket-stamp b {
  font-size: 25px;
  letter-spacing: 0.04em;
}

.ticket-stamp span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.footer-inner {
  display: grid;
  min-height: 175px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

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

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

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

.footer-nav a {
  color: #d7d8dc;
  font-size: 13px;
  white-space: nowrap;
}

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

.footer-inner > p {
  color: #9b9da5;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.back-top {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 48px;
  height: 48px;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 3px;
  opacity: 0;
  background: var(--yellow);
  cursor: pointer;
}

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

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

  .header-download {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 74px;
  }

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

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

  .manga-card figure {
    min-height: 260px;
  }

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

  .ticket-stamp {
    display: none;
  }
}

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

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
  }

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

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

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

  .brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

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

  .brand-copy > span {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
  }

  .header-actions {
    gap: 8px;
  }

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

  .mobile-download {
    min-height: 40px;
    padding: 0 14px;
    border-color: var(--pink-dark);
    background: var(--pink-dark);
    font-size: 12px;
  }

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

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

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

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

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

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

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

  .section-space {
    padding: 72px 0;
  }

  .section-heading,
  .split-heading {
    display: block;
    margin-bottom: 30px;
    text-align: center;
  }

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

  .split-heading > p,
  .section-heading > p {
    margin: 14px auto 0;
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

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

  .hero-inner {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 48px;
    padding: 62px 0 78px;
  }

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

  .hero-copy h1 {
    font-size: clamp(56px, 17vw, 82px);
    white-space: normal;
  }

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

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

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

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

  .midnight-console {
    max-width: 560px;
    justify-self: auto;
    margin-inline: auto;
  }

  .midnight-console::before {
    top: 10px;
    right: -8px;
    bottom: -10px;
    left: 8px;
  }

  .discovery-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .discovery-search {
    width: 100%;
  }

  .filter-row {
    justify-content: flex-start;
  }

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

  .calendar-content {
    grid-template-columns: 1fr;
  }

  .calendar-note {
    min-height: 230px;
    border-top: 1px solid #4b4d53;
    border-left: 0;
    text-align: center;
  }

  .day-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(92px, 1fr));
    scrollbar-width: thin;
  }

  .screenshot-track {
    justify-content: flex-start;
    padding-bottom: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

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

  .faq-layout {
    display: block;
  }

  .faq-layout > .section-heading {
    margin-bottom: 28px;
  }

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

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

  .ticket-copy {
    padding: 26px;
  }

  .ticket-action {
    min-height: 66px;
    grid-column: 1 / -1;
  }

  .footer-inner {
    display: flex;
    min-height: auto;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    padding-block: 48px;
    text-align: center;
  }

  .footer-nav {
    justify-self: auto;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
  }

  .footer-inner > p {
    text-align: center;
  }
}

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

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

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

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

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

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

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

  .hero-copy h1 {
    font-size: 54px;
  }

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

  .hero-tags {
    gap: 7px;
  }

  .hero-tags span {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .primary-action {
    width: min(100%, 300px);
  }

  .console-head,
  .midnight-clock {
    padding-right: 16px;
    padding-left: 16px;
  }

  .console-search,
  .console-tabs {
    margin-right: 16px;
    margin-left: 16px;
  }

  .console-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .console-head h2 {
    font-size: 21px;
  }

  .midnight-clock strong {
    font-size: 38px;
  }

  .online-state,
  .midnight-clock span {
    font-size: 12px;
  }

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

  .console-item b {
    grid-column: 2;
    justify-self: start;
    margin-top: -16px;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-row button {
    padding: 0 8px;
  }

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

  .manga-card figure {
    min-height: 210px;
    padding: 7px;
  }

  .manga-card-body {
    padding: 18px;
  }

  .manga-card h3 {
    font-size: 20px;
  }

  .calendar-route {
    padding: 0 12px;
  }

  .calendar-route article {
    min-height: 118px;
    grid-template-columns: 48px 54px minmax(0, 1fr);
    gap: 10px;
  }

  .calendar-route figure {
    width: 52px;
    height: 66px;
  }

  .reminder-toggle {
    min-width: 70px;
    grid-column: 3;
    justify-self: start;
    margin-top: -18px;
  }

  .calendar-note {
    padding: 30px 20px;
  }

  .calendar-note strong {
    font-size: 23px;
  }

  .screenshot-track {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-track > figure {
    width: 250px;
    min-width: 250px;
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

  .screenshot-frame {
    width: 250px;
    height: 450px;
    aspect-ratio: auto;
  }

  .screenshot-track figcaption {
    min-height: 74px;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 10px;
  }

  .screenshot-track figcaption strong {
    font-size: 13px;
  }

  .screenshot-track figcaption small {
    font-size: 12px;
    line-height: 1.45;
  }

  .faq-item > button {
    padding-right: 10px;
    padding-left: 10px;
  }

  .faq-item > button span {
    align-items: flex-start;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 28px 20px;
  }

  .official-site summary {
    padding: 15px 12px;
    font-size: 13px;
  }

  .official-site > div {
    padding: 0 42px 18px;
  }

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

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

  .download {
    padding-block: 56px;
  }

  .download-ticket {
    display: block;
  }

  .ticket-index {
    min-height: 96px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px dashed #aca49b;
    flex-direction: row;
    gap: 14px;
    text-align: center;
  }

  .ticket-index span {
    font-size: 52px;
  }

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

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

  .ticket-action {
    min-height: 62px;
  }

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

@media (max-width: 380px) {
  .brand-copy strong {
    font-size: 12px;
  }

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

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

  .hero-tags span {
    width: calc(50% - 4px);
    justify-content: center;
  }

  .midnight-clock {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

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