@charset "UTF-8";

:root {
  --orange: #ff6a27;
  --orange-dark: #e94b18;
  --mango: #ffbf28;
  --sky: #6ed8f2;
  --sky-soft: #dff7ff;
  --coral: #ff5757;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #172f48;
  --muted: #657383;
  --line: #e8ddd0;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  padding-top: var(--nav-height);
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(23, 47, 72, 0.12);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 6px 22px rgba(38, 54, 74, 0.06);
}

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

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

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--orange);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.brand-copy,
.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
}

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

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.nav-download,
.mobile-download {
  padding: 10px 16px;
  border: 1px solid var(--orange-dark);
  border-radius: 5px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-download:hover,
.nav-download:focus-visible,
.mobile-download:hover,
.mobile-download:focus-visible {
  background: var(--orange-dark);
  box-shadow: 1px 1px 0 var(--ink);
}

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

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

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 106, 39, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 14%, rgba(110, 216, 242, 0.28) 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 0 46%, rgba(255, 191, 40, 0.08) 47% 52%, transparent 53%);
  background-size: 84px 84px, 110px 110px, 36px 36px;
}

.hero-layout {
  position: relative;
  display: grid;
  min-height: 650px;
  padding-top: 72px;
  padding-bottom: 72px;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 58px;
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-top: 8px;
  color: var(--orange);
  font-size: clamp(58px, 6vw, 90px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 4px 4px 0 var(--sky);
}

.hero-slogan {
  margin-top: 20px;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 900;
  line-height: 1.25;
}

.hero-description {
  max-width: 560px;
  margin-top: 18px;
  color: #46566a;
  font-size: 16px;
  line-height: 1.95;
}

.age-label {
  display: inline-flex;
  margin-top: 20px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 18px;
}

.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid var(--orange-dark);
  border-radius: 5px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.download-button:hover,
.download-button:focus-visible {
  background: var(--orange-dark);
  box-shadow: 2px 2px 0 var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.discovery-board {
  position: relative;
  padding: 22px;
  border: 2px solid var(--orange);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--sky);
}

.discovery-board::before {
  position: absolute;
  z-index: -1;
  top: -28px;
  right: 28px;
  width: 110px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--mango);
  content: "NEW MENU";
  font-size: 12px;
  font-weight: 900;
  line-height: 44px;
  text-align: center;
  transform: rotate(3deg);
}

.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.board-heading span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.board-heading h2 {
  font-size: 25px;
  line-height: 1.25;
}

.board-heading b {
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--sky);
  font-size: 12px;
}

.board-search {
  display: flex;
  height: 44px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  background: #f7f9fa;
}

.board-search i {
  width: 18px;
  height: 18px;
  background: url("../icons/search.svg") center / contain no-repeat;
}

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

.board-tags {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 7px;
}

.board-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
}

.board-tags .is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.board-feature {
  display: grid;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--orange);
  border-radius: 5px;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  background: #fff4df;
}

.board-feature img {
  width: 110px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.board-feature div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.board-feature small {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.board-feature h3 {
  margin-top: 4px;
  font-size: 18px;
}

.board-feature p,
.board-feature strong {
  margin-top: 4px;
  font-size: 12px;
}

.board-feature strong {
  color: var(--coral);
}

.board-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.board-grid article {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.board-grid img {
  width: 100%;
  height: 112px;
  border-radius: 5px;
  object-fit: contain;
  background: var(--cream);
}

.board-grid h3 {
  margin-top: 7px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-grid p,
.board-grid span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.board-grid span {
  color: var(--coral);
  font-weight: 700;
}

.board-empty {
  margin-top: 12px;
  padding: 10px;
  border-radius: 5px;
  background: var(--sky-soft);
  font-size: 12px;
  text-align: center;
}

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

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

.section-heading h2 {
  margin-top: 4px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.heading-inline {
  display: flex;
  align-items: center;
  gap: 18px;
}

.heading-mark {
  display: flex;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  background: var(--mango);
  font-size: 19px;
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}

.heading-centered {
  text-align: center;
}

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

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

.taste-layout {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  grid-template-columns: 330px 1fr;
  background: var(--cream);
  box-shadow: 8px 8px 0 rgba(255, 106, 39, 0.16);
}

.taste-mascot {
  display: flex;
  padding: 28px 24px;
  flex-direction: column;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
}

.taste-mascot img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border: 5px solid var(--white);
  border-radius: 50%;
  object-fit: contain;
}

.taste-mascot span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.taste-mascot strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}

.taste-mascot p {
  margin-top: 8px;
  font-size: 13px;
}

.taste-content {
  padding: 28px;
}

.taste-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taste-tabs button,
.filter-group button,
.filter-title button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.taste-tabs button {
  padding: 8px 17px;
}

.taste-tabs button:hover,
.taste-tabs button:focus-visible,
.taste-tabs button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.taste-cards {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.taste-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.taste-card.is-match {
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--mango);
}

.taste-card.is-muted {
  opacity: 0.42;
}

.taste-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f4f7f9;
}

.taste-card div {
  padding: 12px;
}

.taste-card span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.taste-card h3 {
  margin-top: 3px;
  font-size: 14px;
}

.taste-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff6e3;
  background-image: radial-gradient(rgba(255, 106, 39, 0.11) 1px, transparent 1px);
  background-size: 18px 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 24px;
}

.filter-board {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  padding: 20px;
  border: 2px solid var(--orange);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--mango);
}

.filter-title {
  display: grid;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  align-items: end;
}

.filter-title span {
  grid-column: 1 / -1;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.filter-title strong {
  font-size: 20px;
}

.filter-title button {
  padding: 5px 9px;
  color: var(--orange-dark);
}

.filter-group {
  margin-top: 16px;
}

.filter-group h3 {
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 13px;
}

.filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-group button {
  padding: 5px 9px;
  color: var(--muted);
}

.filter-group button:hover,
.filter-group button:focus-visible,
.filter-group button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

#filter-count {
  margin-top: 18px;
  padding: 8px;
  border-radius: 5px;
  background: var(--sky-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

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

.manga-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(45, 52, 61, 0.06);
}

.manga-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f2f5f7;
}

.manga-card div {
  padding: 12px;
}

.manga-card span,
.manga-card p {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.manga-card h3 {
  margin: 4px 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-card p {
  color: var(--coral);
  font-weight: 700;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--orange);
  border-radius: 5px;
  background: var(--white);
  text-align: center;
}

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

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

.ranking-column {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.ranking-column header {
  display: grid;
  padding: 18px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.ranking-column header span {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ranking-column header h3 {
  font-size: 24px;
}

.ranking-column header small {
  font-size: 12px;
}

.ranking-hot header {
  background: #fff0dc;
  color: var(--orange-dark);
}

.ranking-new header {
  background: #e2faef;
  color: #13865b;
}

.ranking-finish header {
  background: var(--sky-soft);
  color: #137aa2;
}

.ranking-column ol {
  padding: 4px 16px 12px;
  list-style: none;
}

.ranking-column li {
  display: grid;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.ranking-column li:last-child {
  border-bottom: 0;
}

.ranking-column li > b {
  display: flex;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
}

.ranking-column li img {
  width: 52px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--cream);
}

.ranking-column li > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ranking-column li strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-column li small,
.ranking-column li em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.ranking-column li em {
  color: var(--coral);
  font-weight: 700;
}

.screens-section {
  overflow: hidden;
  border-top: 1px solid #bde9f5;
  border-bottom: 1px solid #bde9f5;
  background: var(--sky-soft);
  background-image: linear-gradient(120deg, transparent 0 48%, rgba(110, 216, 242, 0.12) 49% 51%, transparent 52%);
  background-size: 38px 38px;
}

.drag-hint {
  display: none;
  padding: 8px 12px;
  border: 1px solid rgba(23, 47, 72, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.screens-track {
  display: grid;
  padding: 8px 2px 18px;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  cursor: default;
}

.screens-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.screens-track figure {
  min-width: 0;
  scroll-snap-align: start;
}

.screens-track figure > div {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 9;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--orange);
}

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

.screens-track figcaption {
  display: flex;
  margin-top: 14px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

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

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

.review-card {
  display: flex;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  flex-direction: column;
  background: var(--white);
  box-shadow: 5px 5px 0 #ffead8;
}

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

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

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

.avatar-icon {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mango) url("../icons/avatar.svg") center / 25px 25px no-repeat;
}

.rating {
  flex: 0 0 auto;
  color: #ff9900;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card > p {
  margin: 18px 0;
  color: #3f4c5c;
  font-size: 13px;
  line-height: 1.9;
}

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

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

.faq-shell {
  max-width: 980px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(23, 47, 72, 0.08);
}

.faq-list summary {
  display: flex;
  min-height: 58px;
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] {
  border-color: var(--orange);
}

.faq-list details[open] summary span {
  border-color: var(--orange);
  background: var(--orange);
}

.faq-list details[open] summary span::before {
  background: var(--white);
}

.faq-list details[open] summary span::after {
  display: none;
}

.faq-list details > div {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

.faq-list details > div p {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-list details a {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: underline;
}

.official-site {
  background: var(--sky-soft) !important;
}

.download-section {
  padding: 54px 0;
  background: var(--paper);
}

.download-ticket {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 30px;
  border: 2px solid var(--orange-dark);
  border-radius: 5px;
  grid-template-columns: 250px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 34px;
  background: var(--orange);
  box-shadow: 8px 8px 0 var(--ink);
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  left: 271px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--orange-dark);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.download-ticket::before {
  top: -9px;
}

.download-ticket::after {
  bottom: -9px;
}

.download-mascot {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.download-mascot img {
  width: 108px;
  height: 108px;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: contain;
}

.download-mascot span {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.download-copy {
  padding: 24px 30px;
  border: 1px solid rgba(23, 47, 72, 0.2);
  border-radius: 5px;
  background: var(--cream);
  text-align: center;
}

.download-copy h2 {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.25;
}

.download-copy p {
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 13px;
}

.download-button {
  padding: 12px 22px;
  box-shadow: none;
}

.download-list {
  display: grid;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  gap: 10px;
  background: var(--mango);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(2deg);
}

.download-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.download-list i {
  display: flex;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  padding: 34px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  border-radius: 5px;
  object-fit: contain;
}

.footer-brand strong {
  font-size: 17px;
}

.footer-brand small {
  margin-top: 3px;
  color: #bed0df;
  font-size: 12px;
}

.footer-nav {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

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

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--mango);
}

.footer-inner > p {
  margin-top: 20px;
  color: #a8bac9;
  font-size: 12px;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--mango);
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}

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

.back-top:hover,
.back-top:focus-visible {
  background: var(--orange);
}

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

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .main-nav a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
    gap: 34px;
  }

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

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

  .download-mascot {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 920px) {
  :root {
    --nav-height: 70px;
  }

  .header-inner {
    width: min(100% - 32px, 1200px);
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 22px 16px;
    background: rgba(23, 47, 72, 0.97);
  }

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

  .main-nav ul {
    width: min(520px, 100%);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a {
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 14px;
    text-align: center;
  }

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

  .nav-download {
    display: none;
  }

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

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--ink);
    border-radius: 5px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: var(--white);
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-layout {
    padding-top: 64px;
    padding-bottom: 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .discovery-board {
    max-width: 680px;
  }

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

  .filter-board {
    position: static;
  }

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

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

  .ranking-column:last-child {
    grid-column: 1 / -1;
  }

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

  .download-ticket::before,
  .download-ticket::after {
    display: none;
  }

  .download-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none;
  }
}

@media (max-width: 820px) {
  .drag-hint {
    display: inline-flex;
  }

  .screens-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--orange) rgba(255, 255, 255, 0.65);
    scrollbar-width: thin;
    gap: 20px;
    cursor: grab;
  }

  .screens-track figure {
    flex: 0 0 250px;
  }

  .screens-track figure > div {
    width: 250px;
    height: 450px;
    aspect-ratio: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 32px);
  }

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

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

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

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

  .discovery-board {
    margin: 0 auto;
  }

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

  .taste-mascot {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }

  .taste-mascot img {
    width: 120px;
    height: 120px;
    margin: 0;
  }

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

  .manga-card img {
    height: 260px;
  }

  .heading-split {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .review-card {
    min-height: auto;
  }

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

  .download-mascot {
    flex-direction: row;
    justify-content: center;
  }

  .download-list {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

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

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

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

  .header-actions {
    margin-left: auto;
    gap: 7px;
  }

  .mobile-download {
    padding: 8px 10px;
    font-size: 12px;
    box-shadow: none;
  }

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

  .hero-layout {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 64px);
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .discovery-board {
    padding: 14px;
    box-shadow: 6px 6px 0 var(--sky);
  }

  .discovery-board::before {
    right: 12px;
  }

  .board-heading h2 {
    font-size: 20px;
  }

  .board-feature {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .board-feature img {
    width: 86px;
    height: 112px;
  }

  .board-grid {
    grid-template-columns: repeat(3, 112px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .board-grid article {
    scroll-snap-align: start;
  }

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

  .heading-mark {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
  }

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

  .taste-mascot {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .taste-mascot img {
    width: 92px;
    height: 92px;
  }

  .taste-mascot strong {
    font-size: 22px;
  }

  .taste-content {
    padding: 18px;
  }

  .taste-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .taste-card {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

  .taste-card img {
    height: 240px;
  }

  .filter-board {
    padding: 16px;
  }

  .catalog-grid {
    gap: 10px;
  }

  .manga-card img {
    height: 210px;
  }

  .manga-card div {
    padding: 9px;
  }

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

  .ranking-column:last-child {
    grid-column: auto;
  }

  .screens-track {
    margin-right: -16px;
    padding-right: 16px;
  }

  .review-card {
    padding: 18px;
  }

  .rating {
    font-size: 12px;
  }

  .faq-list summary {
    font-size: 13px;
  }

  .download-copy {
    padding: 22px 16px;
  }

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

  .download-button {
    width: 100%;
    font-size: 14px;
  }

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

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

  .footer-nav {
    max-width: 320px;
  }
}

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