:root {
  --paper: oklch(0.985 0.012 5);
  --surface: oklch(0.995 0.004 5);
  --blush: oklch(0.94 0.055 5);
  --blush-deep: oklch(0.88 0.1 8);
  --rose: oklch(0.72 0.16 8);
  --rose-dark: oklch(0.55 0.16 5);
  --rose-deep: oklch(0.39 0.15 5);
  --ink: oklch(0.24 0.04 350);
  --muted: oklch(0.49 0.045 350);
  --jade: oklch(0.64 0.12 155);
  --gold: oklch(0.78 0.14 80);
  --line: oklch(0.84 0.05 5);
  --line-dark: oklch(0.54 0.1 5);
  --shadow: 0 22px 60px oklch(0.38 0.08 5 / 0.12);
  --shadow-small: 0 12px 28px oklch(0.38 0.08 5 / 0.1);
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 9px;
  --page: min(1180px, calc(100% - 48px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.035'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.site-header {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.brand-mark strong,
.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.brand-mark small {
  display: block;
  margin-top: 5px;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  line-height: 1;
}

.brand-seal {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--rose-dark);
  border-radius: 50% 50% 48% 52%;
  background: var(--blush);
  color: var(--rose-deep);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a,
.header-cta,
.text-link,
.inline-link,
.site-footer a {
  transition: color 160ms ease-out, transform 160ms ease-out;
}

.site-nav a:hover,
.site-footer a:hover,
.text-link:hover,
.inline-link:hover {
  color: var(--rose-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--rose-deep);
  border-radius: 999px;
  background: var(--surface);
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--rose-deep);
  color: var(--surface);
  transform: translateY(-2px);
}

.hero {
  display: grid;
  min-height: min(730px, calc(100vh - 88px));
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  padding-block: 54px 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 28px;
}

.eyebrow,
.section-kicker,
.package-meta,
.list-label,
.contact-label,
.poster-caption,
.note-mark {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 23px;
  color: var(--rose-dark);
  font-weight: 700;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px var(--blush);
}

.hero h1,
.section-intro h2,
.character-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.1rem, 6vw, 6.5rem);
}

.hero h1 em,
.section-intro h2 span,
.character-intro h2 span,
.contact-copy h2 span {
  color: var(--rose-dark);
  font-style: normal;
}

.hero-description {
  max-width: 510px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease-out, background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--rose-deep);
  color: var(--surface);
  box-shadow: var(--shadow-small);
}

.button-primary:hover {
  background: var(--rose-dark);
}

.button-ghost {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--rose-deep);
}

.button-ghost:hover {
  border-color: var(--rose-deep);
  background: var(--blush);
}

.button-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--rose-deep);
  font-size: 14px;
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 11px;
}

.note-mark {
  color: var(--gold);
  font-size: 18px;
}

.hero-art {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.hero-art-backdrop {
  position: absolute;
  z-index: -2;
  inset: 30px 16px 10px 34px;
  border: 1px solid var(--line);
  border-radius: 47% 53% 43% 57% / 23% 22% 78% 77%;
  background: var(--blush);
  transform: rotate(-5deg);
}

.hero-art::after {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: 14px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  content: "";
  opacity: 0.35;
}

.hero-character {
  position: absolute;
  z-index: 1;
  top: 26px;
  right: 14px;
  width: min(100%, 610px);
  height: 500px;
  object-fit: cover;
  object-position: 47% 37%;
  border-radius: 43% 45% 18px 42%;
  mix-blend-mode: multiply;
  box-shadow: var(--shadow);
}

.hero-dragon {
  position: absolute;
  z-index: 2;
  right: -14px;
  bottom: -10px;
  width: 175px;
  height: 210px;
  object-fit: contain;
  object-position: center;
  border: 9px solid var(--surface);
  border-radius: 50% 50% 18px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  transform: rotate(7deg);
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid var(--rose);
  border-radius: 50%;
  opacity: 0.46;
}

.orbit-one {
  top: 1px;
  left: 13px;
  width: 170px;
  height: 170px;
}

.orbit-two {
  right: 83px;
  bottom: 23px;
  width: 90px;
  height: 90px;
  border-color: var(--jade);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 1px;
  min-width: 104px;
  padding: 12px 14px;
  border: 1px solid var(--rose-deep);
  background: var(--surface);
  color: var(--rose-deep);
  box-shadow: var(--shadow-small);
  transform: rotate(-7deg);
}

.hero-stamp span,
.hero-stamp small {
  font-size: 10px;
}

.hero-stamp strong {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
}

.stamp-top {
  top: 31px;
  left: 0;
}

.stamp-bottom {
  right: 124px;
  bottom: 25px;
  transform: rotate(5deg);
}

.stamp-bottom strong {
  color: var(--rose);
}

.hero-flower {
  position: absolute;
  z-index: 3;
  color: var(--rose);
  font-size: 44px;
}

.flower-one {
  top: -8px;
  right: 42px;
}

.flower-two {
  bottom: 98px;
  left: -4px;
  color: var(--gold);
  font-size: 24px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--rose-deep);
  color: var(--surface);
}

.ticker-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 66px);
  min-width: max-content;
  padding: 11px 20px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ticker-track i {
  color: var(--gold);
  font-style: normal;
}

.featured-section,
.explorer-section,
.rules-section,
.characters-section,
.contact-section {
  padding-block: 130px;
}

.section-intro {
  margin-bottom: 48px;
}

.intro-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.section-intro h2,
.character-intro h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.section-summary {
  max-width: 330px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.featured-package {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured-package-large {
  display: grid;
  grid-row: span 2;
  grid-template-rows: 1.15fr 0.85fr;
}

.featured-package-wide {
  display: grid;
  grid-column: 1 / -1;
  min-height: 285px;
  grid-template-columns: 0.9fr 1.1fr;
}

.featured-package-ritual {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.package-visual {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: var(--blush);
}

.package-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 480ms ease-out;
}

.featured-package:hover .package-visual img {
  transform: scale(1.03);
}

.visual-flowers img,
.visual-fruits img {
  object-position: center 30%;
}

.visual-insect img {
  object-position: center 31%;
}

.visual-ritual {
  background: var(--rose-deep);
}

.visual-ritual img {
  object-position: center 18%;
}

.visual-label {
  position: absolute;
  top: 14px;
  left: 15px;
  padding: 4px 9px;
  border: 1px solid var(--surface);
  background: oklch(0.25 0.1 5 / 0.6);
  color: var(--surface);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.package-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 31px);
}

.package-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.package-content h3 {
  margin: 13px 0 7px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.package-content p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.package-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 22px;
}

.big-price {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.9;
}

.big-price small {
  margin-left: 4px;
  font-family: var(--body);
  font-size: 14px;
}

.small-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--rose-deep);
  font-size: 18px;
  transition: transform 180ms ease-out, background 180ms ease-out, color 180ms ease-out;
}

.small-arrow:hover {
  background: var(--rose-deep);
  color: var(--surface);
  transform: rotate(8deg);
}

.price-row,
.ritual-price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 22px;
}

.price-row span,
.ritual-price span {
  display: grid;
  gap: 2px;
}

.price-row strong,
.ritual-price strong {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.price-row small,
.ritual-price span {
  color: var(--muted);
  font-size: 10px;
}

.inline-link {
  align-self: start;
  margin-top: 23px;
  font-size: 11px;
}

.featured-package-ritual {
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  color: var(--surface);
}

.featured-package-ritual .package-meta,
.featured-package-ritual .package-content p,
.featured-package-ritual .price-row small,
.featured-package-ritual .ritual-price span {
  color: oklch(0.91 0.035 5);
}

.featured-package-ritual .package-content h3,
.featured-package-ritual .ritual-price strong {
  color: var(--surface);
}

.featured-package-ritual .inline-link {
  color: var(--gold);
}

.explorer-section {
  background: var(--blush);
}

.explorer-intro {
  align-items: center;
}

.filter-wrap {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 500px;
}

.filter-chip {
  padding: 9px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  transition: background 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.filter-chip:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  transform: translateY(-2px);
}

.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  color: var(--surface);
}

.package-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.package-list-item {
  display: grid;
  grid-template-columns: 44px minmax(200px, 1fr) minmax(265px, 1.15fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 142px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.package-list-item[hidden] {
  display: none;
}

.list-index {
  align-self: start;
  padding-top: 4px;
  color: var(--rose-dark);
  font-family: Georgia, serif;
  font-size: 15px;
}

.list-label {
  margin: 0 0 5px;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.list-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.list-copy p:not(.list-label) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.list-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.list-prices span,
.single-price,
.map-price-grid {
  display: grid;
  gap: 3px;
}

.list-prices strong,
.single-price strong {
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.list-prices small,
.single-price small {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.list-prices-wide {
  gap: 10px 17px;
}

.list-prices-wide strong {
  font-size: 19px;
}

.list-poster-button {
  border: 0;
  background: transparent;
  color: var(--rose-deep);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.list-poster-button:hover {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-price-grid {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  color: var(--muted);
  font-size: 10px;
}

.map-price-grid b {
  display: block;
  color: var(--rose-deep);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.package-list-ritual {
  background: oklch(0.39 0.15 5 / 0.045);
}

.package-list-insect {
  background: oklch(0.64 0.12 155 / 0.06);
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.price-note-symbol {
  color: var(--gold);
  font-size: 20px;
}

.price-note p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.price-note a {
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.rules-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.poster-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 0.75fr);
  gap: 16px;
}

.poster-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
  text-align: left;
}

.poster-card-tall {
  grid-row: span 2;
}

.poster-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease-out;
}

.poster-card-tall img {
  min-height: 450px;
}

.poster-card:hover img {
  transform: scale(1.025);
}

.poster-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  background: oklch(0.2 0.05 350 / 0.75);
  color: var(--surface);
}

.poster-caption b {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 400;
}

.characters-section {
  background: var(--surface);
}

.character-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.character-gallery {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr 0.52fr;
  grid-template-rows: 250px 210px;
  gap: 16px;
}

.character-feature,
.character-object {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

.character-feature-main {
  grid-row: span 2;
}

.character-feature-scene {
  grid-row: span 2;
}

.character-feature img,
.character-object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-feature-main img {
  object-position: 50% 38%;
}

.character-feature-scene img {
  object-position: center;
}

.character-object img {
  object-fit: contain;
  padding: 16px;
}

.character-object-prop {
  background: oklch(0.25 0.07 245);
}

.character-object-monster {
  background: oklch(0.24 0.07 260);
}

.character-feature::after,
.character-object::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, oklch(0.14 0.04 350 / 0.76), transparent 48%);
  content: "";
  pointer-events: none;
}

.character-feature figcaption,
.character-object figcaption {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: var(--surface);
  font-size: 11px;
}

.character-feature figcaption strong,
.character-object figcaption strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.contact-section {
  padding-top: 70px;
  padding-bottom: 145px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  padding: clamp(30px, 7vw, 78px);
  border: 1px solid var(--rose-deep);
  background: var(--blush);
}

.contact-copy p:not(.section-kicker) {
  max-width: 400px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-action {
  align-self: end;
  padding: 26px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.contact-label {
  margin: 0;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.qq-number {
  margin: 7px 0 20px;
  color: var(--rose-deep);
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-buttons .button {
  flex: 1;
  min-width: 135px;
}

.contact-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 98px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.footer-brand .brand-seal {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.footer-brand strong {
  font-size: 14px;
}

.mobile-contact-bar {
  display: none;
}

.lightbox {
  width: min(940px, calc(100% - 30px));
  max-height: calc(100% - 30px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: oklch(0.15 0.08 350 / 0.72);
}

.lightbox-shell {
  position: relative;
  overflow: auto;
  max-height: calc(100vh - 30px);
  padding: 26px;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.lightbox-kicker {
  margin: 0;
  color: var(--rose-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.lightbox h2 {
  margin: 6px 0 20px;
  font-family: var(--display);
  font-size: 25px;
}

.lightbox img {
  width: 100%;
  max-height: 70vh;
  margin-inline: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  max-width: min(330px, calc(100% - 44px));
  padding: 12px 15px;
  border: 1px solid var(--rose-deep);
  background: var(--surface);
  color: var(--rose-deep);
  box-shadow: var(--shadow-small);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  :root {
    --page: min(100% - 32px, 760px);
  }

  .site-header {
    min-height: 74px;
  }

  .site-nav {
    gap: 15px;
    font-size: 12px;
  }

  .header-cta {
    padding: 9px 11px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.95fr;
    gap: 30px;
    padding-block: 44px 70px;
  }

  .hero-art {
    min-height: 490px;
  }

  .hero-character {
    height: 430px;
  }

  .hero-dragon {
    width: 135px;
    height: 165px;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-package-large {
    grid-row: auto;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .featured-package-wide,
  .featured-package-ritual {
    grid-template-columns: 1fr;
  }

  .featured-package-wide .package-visual,
  .featured-package-ritual .package-visual {
    min-height: 230px;
  }

  .package-list-item {
    grid-template-columns: 34px minmax(170px, 1fr) minmax(230px, 1fr);
  }

  .list-poster-button {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .character-gallery {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 300px 190px;
  }

  .character-feature-main {
    grid-row: span 2;
  }

  .character-feature-scene {
    grid-row: auto;
  }

  .character-object {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    padding-bottom: 78px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand-mark strong {
    font-size: 16px;
  }

  .brand-mark small,
  .site-nav,
  .header-cta span:first-child {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 34px 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-description {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-note {
    align-items: start;
    margin-top: 28px;
    line-height: 1.5;
  }

  .hero-art {
    min-height: 340px;
    margin-top: 25px;
  }

  .hero-art-backdrop {
    inset: 19px 11px 4px 15px;
  }

  .hero-character {
    top: 12px;
    right: 6px;
    width: calc(100% - 19px);
    height: 305px;
    border-radius: 35% 44% 15px 40%;
  }

  .hero-dragon {
    right: -4px;
    bottom: -8px;
    width: 102px;
    height: 125px;
    border-width: 6px;
  }

  .hero-stamp {
    min-width: 83px;
    padding: 8px 10px;
  }

  .hero-stamp strong {
    font-size: 20px;
  }

  .stamp-top {
    top: 8px;
    left: 0;
  }

  .stamp-bottom {
    right: 67px;
    bottom: 2px;
  }

  .hero-flower {
    font-size: 31px;
  }

  .ticker-track {
    justify-content: start;
    padding-block: 9px;
    font-size: 11px;
  }

  .featured-section,
  .explorer-section,
  .rules-section,
  .characters-section,
  .contact-section {
    padding-block: 80px;
  }

  .intro-split,
  .rules-heading,
  .character-intro {
    display: block;
  }

  .section-intro h2,
  .character-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .section-summary {
    margin-top: 24px;
  }

  .featured-grid {
    display: flex;
    flex-direction: column;
  }

  .featured-package-large {
    display: block;
  }

  .featured-package-large .package-visual {
    min-height: 270px;
  }

  .featured-package {
    min-height: auto;
  }

  .featured-package-wide .package-visual,
  .featured-package-ritual .package-visual {
    min-height: 250px;
  }

  .package-content {
    min-height: 225px;
  }

  .filter-wrap {
    justify-content: start;
    margin-top: 27px;
  }

  .filter-chip {
    padding-inline: 11px;
    font-size: 10px;
  }

  .package-list-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px 15px;
    padding-block: 25px;
  }

  .list-prices,
  .single-price,
  .map-price-grid {
    grid-column: 2;
    margin-top: 9px;
  }

  .list-prices {
    gap: 10px 16px;
  }

  .list-prices-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .list-prices strong {
    font-size: 20px;
  }

  .list-prices small {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .list-poster-button {
    grid-column: 2;
    justify-self: start;
    padding: 0;
  }

  .price-note {
    align-items: start;
    flex-wrap: wrap;
  }

  .price-note p {
    flex-basis: calc(100% - 45px);
  }

  .price-note a {
    margin-left: 42px;
  }

  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-card-tall {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .poster-card-tall img {
    min-height: 390px;
  }

  .poster-card img {
    min-height: 190px;
  }

  .character-gallery {
    display: flex;
    flex-direction: column;
  }

  .character-feature,
  .character-object {
    min-height: 240px;
  }

  .character-feature-main {
    min-height: 315px;
  }

  .character-feature-scene {
    min-height: 250px;
  }

  .contact-section {
    padding-top: 20px;
    padding-bottom: 90px;
  }

  .contact-card {
    display: block;
    padding: 27px 20px 20px;
  }

  .contact-action {
    margin-top: 32px;
    padding: 19px;
  }

  .qq-number {
    font-size: 2.5rem;
  }

  .contact-buttons {
    display: grid;
  }

  .contact-buttons .button {
    width: 100%;
  }

  .site-footer {
    align-items: start;
    flex-wrap: wrap;
    min-height: 130px;
    padding-block: 25px;
  }

  .site-footer p {
    order: 3;
    flex-basis: 100%;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 15;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 12px 11px 16px;
    border: 1px solid var(--rose-deep);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-contact-bar span {
    display: grid;
    gap: 0;
    min-width: 0;
  }

  .mobile-contact-bar b {
    color: var(--rose-deep);
    font-family: var(--display);
    font-size: 13px;
    line-height: 1.1;
  }

  .mobile-contact-bar small {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
  }

  .mobile-copy {
    min-height: 34px;
    padding: 8px 13px;
    background: var(--rose-deep);
    color: var(--surface);
    font-size: 11px;
  }

  .toast {
    right: 14px;
    bottom: 84px;
  }

  .lightbox-shell {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
