:root {
  --bg: #0a0a17;
  --bg-soft: #111126;
  --surface: rgba(20, 19, 43, 0.76);
  --surface-solid: #15142b;
  --surface-strong: #1a1834;
  --text: #f7f5ff;
  --text-soft: #aaa7bf;
  --text-faint: #7d7895;
  --line: rgba(210, 201, 255, 0.14);
  --line-strong: rgba(210, 201, 255, 0.24);
  --accent: #a583ff;
  --accent-2: #e177ff;
  --accent-soft: rgba(165, 131, 255, 0.14);
  --accent-glow: rgba(137, 94, 255, 0.24);
  --button-text: #0b0915;
  --header-bg: rgba(10, 10, 23, 0.78);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  --font-body: "Montserrat", sans-serif;
  --font-display: "Unbounded", sans-serif;
  --max-width: 1180px;
  color-scheme: dark;
}

html[data-theme="dark"] {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --surface: rgba(15, 15, 15, 0.82);
  --surface-solid: #111;
  --surface-strong: #171717;
  --text: #f4f4f4;
  --text-soft: #a8a8a8;
  --text-faint: #777;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #ffffff;
  --accent-2: #bcbcbc;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-glow: rgba(255, 255, 255, 0.08);
  --button-text: #050505;
  --header-bg: rgba(5, 5, 5, 0.84);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f4f1fa;
  --bg-soft: #ebe6f5;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-strong: #f7f3fc;
  --text: #191525;
  --text-soft: #655f75;
  --text-faint: #8f889f;
  --line: rgba(42, 32, 72, 0.12);
  --line-strong: rgba(42, 32, 72, 0.22);
  --accent: #7653d7;
  --accent-2: #b24cc7;
  --accent-soft: rgba(118, 83, 215, 0.10);
  --accent-glow: rgba(118, 83, 215, 0.13);
  --button-text: #ffffff;
  --header-bg: rgba(244, 241, 250, 0.84);
  --shadow: 0 24px 70px rgba(54, 39, 86, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 5%, var(--accent-glow), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 56%, var(--bg));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
body.menu-open,
body.gallery-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--accent); color: var(--button-text); }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
  pointer-events: none;
}
.ambient-one { top: -18rem; right: -12rem; background: var(--accent); }
.ambient-two { left: -20rem; top: 48%; background: var(--accent-2); opacity: .08; }


/* Живой звёздный слой: декоративный, не влияет на разметку. */
.sky-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sky-star {
  --star-size: 5px;
  --star-opacity: .58;
  position: absolute;
  left: var(--star-x);
  top: var(--star-y);
  width: var(--star-size);
  height: var(--star-size);
  opacity: var(--star-opacity);
  filter: drop-shadow(0 0 9px var(--accent));
  animation: skyStarFloat var(--star-duration) ease-in-out var(--star-delay) infinite;
}
.sky-star::before,
.sky-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 70%, white);
  transform: translate(-50%, -50%);
}
.sky-star::before { width: 1px; height: 100%; }
.sky-star::after { width: 100%; height: 1px; }
.sky-star.is-dot {
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-2) 70%, white);
  box-shadow: 0 0 10px var(--accent-glow);
}
.sky-star.is-dot::before,
.sky-star.is-dot::after { display: none; }
html[data-theme="light"] .sky-decor { opacity: .56; }
main, .site-footer, .lore-footer, .error-page { position: relative; z-index: 1; }
@keyframes skyStarFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.82); opacity: .24; }
  45% { transform: translate3d(7px, -14px, 0) scale(1.12); opacity: var(--star-opacity); }
  70% { transform: translate3d(-4px, -7px, 0) scale(.96); }
}

.section-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 0 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--header-bg);
  box-shadow: 0 14px 42px rgba(0,0,0,.10);
  backdrop-filter: blur(22px);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled { border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark {
  display: none;
}
.brand-moon {
  position: absolute;
  width: 17px;
  height: 17px;
  left: 8px;
  top: 8px;
  border-radius: 50%;
  box-shadow: -5px 0 0 var(--accent);
  transform: translateX(3px);
}
.brand-light {
  position: absolute;
  width: 4px;
  height: 4px;
  right: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}
.brand-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.035em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.dropdown { position: relative; }
.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  min-width: 58px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.control-button:hover { border-color: var(--line-strong); background: var(--surface-strong); }
.control-icon { font-size: 11px; font-weight: 800; }
.css-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .6;
}
.theme-preview {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.control-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 120;
  display: grid;
  min-width: 170px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.control-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.control-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
}
.control-menu button:hover, .control-menu button.active { background: var(--accent-soft); color: var(--text); }
.theme-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); }
.yuki-dot { background: linear-gradient(135deg, #7657e8, #e177ff); }
.dark-dot { background: #050505; }
.light-dot { background: #fff; }
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
}
.mobile-menu-button span { display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; }
.mobile-nav {
  position: fixed;
  inset: 104px 20px auto;
  z-index: 95;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 14px; border-radius: 12px; color: var(--text-soft); font-weight: 700; }
.mobile-nav a:hover { background: var(--accent-soft); color: var(--text); }

.side-panel {
  position: fixed;
  z-index: 80;
  left: 22px;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 66px;
  padding: 14px 0;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 66%, transparent);
  box-shadow: none;
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
}
.side-panel p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.side-panel a {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-soft);
  background: transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.side-panel a::after {
  content: attr(aria-label);
  position: absolute;
  left: calc(100% + 34px);
  top: 50%;
  min-width: max-content;
  max-width: 220px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
.side-panel a:hover,
.side-panel a[aria-current="page"] {
  color: var(--text);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
  transform: scale(1.04);
}
.side-panel a:hover::after,
.side-panel a:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}
.side-panel a span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}
.side-panel a strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .84fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 110px);
  padding-block: 84px 64px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow-line { width: 28px; height: 1px; background: var(--accent); }
.hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--button-text); box-shadow: 0 14px 34px var(--accent-glow); }
.button-secondary { border-color: var(--line-strong); background: var(--surface); }
.button-secondary:hover { background: var(--surface-strong); }
.button img { width: 20px; height: 20px; }
.button-secondary img { padding: 3px; border-radius: 6px; background: #5865f2; }
.button-arrow, .link-arrow {
  position: relative;
  width: 16px;
  height: 10px;
}
.button-arrow::before, .link-arrow::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.button-arrow::after, .link-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-meta div { min-height: 80px; padding: 15px 16px 14px; border-right: 1px solid var(--line); }
.hero-meta div:last-child { border-right: 0; }
.hero-meta strong { display: block; color: var(--accent); font-size: 13px; }
.hero-meta span { display: block; margin-top: 5px; color: var(--text-faint); font-size: 10px; line-height: 1.45; }

.hero-visual {
  position: relative;
  align-self: center;
  height: clamp(590px, 72vh, 760px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 1%;
  width: 78%;
  height: 34%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 68%);
  filter: blur(22px);
  animation: glowBreath 5.5s ease-in-out infinite;
}
.hero-visual img {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(-42px);
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
  user-select: none;
}
html[data-theme="yuki"] .hero-visual::after,
html[data-theme="dark"] .hero-visual::after {
  opacity: .14;
  filter: blur(40px);
}
html[data-theme="light"] .hero-visual::after {
  opacity: 0;
}
html[data-theme="light"] .hero-visual img {
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.visual-ring {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.visual-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transform: translateX(-50%);
}
.ring-outer {
  width: min(90%, 540px);
  aspect-ratio: 1;
  animation: orbitOuter 34s linear infinite;
}
.ring-inner {
  width: min(66%, 390px);
  aspect-ratio: 1;
  border-color: var(--line-strong);
  animation: orbitInner 24s linear infinite;
}
.moon-disc {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  width: min(54%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, color-mix(in srgb, var(--accent) 35%, white), var(--accent) 55%, transparent 72%);
  opacity: .14;
  transform: translate(-50%, -50%);
  filter: blur(1px);
  animation: moonBreath 6.5s ease-in-out infinite;
}
.hero-spark {
  position: absolute;
  z-index: 4;
  width: 13px;
  height: 13px;
  filter: drop-shadow(0 0 12px var(--accent));
  animation: heroSparkFloat 5.4s ease-in-out infinite;
}
.hero-spark::before,
.hero-spark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 72%, white);
  transform: translate(-50%, -50%);
}
.hero-spark::before { width: 1px; height: 100%; }
.hero-spark::after { width: 100%; height: 1px; }
.hero-spark-one { left: 9%; top: 24%; }
.hero-spark-two { right: 7%; top: 36%; width: 8px; height: 8px; animation-delay: -1.8s; }
.hero-spark-three { left: 39%; top: 9%; width: 6px; height: 6px; animation-delay: -3.2s; }
@keyframes orbitOuter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes orbitInner {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}
@keyframes heroSparkFloat {
  0%, 100% { transform: translateY(0) scale(.9); opacity: .52; }
  50% { transform: translateY(-13px) scale(1.14); opacity: 1; }
}
@keyframes glowBreath {
  0%, 100% { opacity: .68; transform: translateX(-50%) scale(.96); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@keyframes moonBreath {
  0%, 100% { opacity: .11; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .18; transform: translate(-50%, -50%) scale(1.035); }
}

.visual-label {
  position: absolute;
  z-index: 4;
  left: 8px;
  bottom: 86px;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 10px 13px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  backdrop-filter: blur(12px);
}
.visual-label span { font-family: var(--font-display); font-size: 11px; font-weight: 700; }
.visual-label small { color: var(--text-faint); font-size: 8px; font-weight: 800; letter-spacing: .08em; }

.statement-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}
.statement-strip::before,
.statement-strip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 150px);
  pointer-events: none;
}
.statement-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.statement-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.statement-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: statementMarquee 34s linear infinite;
}
.statement-track span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 68px;
  padding: 0 74px 0 0;
  color: var(--text-soft);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.25vw, 14px);
  font-weight: 600;
  letter-spacing: .075em;
}
.statement-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 74px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.statement-strip:hover .statement-track { animation-play-state: paused; }
@keyframes statementMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-25%, 0, 0); }
}

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 44px;
}
.section-index { margin: 8px 0 0; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.section-heading h2, .yuki-copy h2, .community-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-heading > div > p {
  max-width: 790px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
}

.world-section { padding-block: 116px 80px; }
.world-feature {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.1fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.flow-diagram {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 60%, transparent), transparent 74%);
}
.flow-diagram::before,
.flow-diagram::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.flow-diagram::before {
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  box-shadow: none;
  animation: flowBreathWide 8s ease-in-out infinite;
}
.flow-diagram::after {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 0 18px var(--accent);
  margin: -5px 0 0 -5px;
  transform: rotate(0deg) translateX(95px);
  transform-origin: 5px 5px;
  animation: flowPointOrbit 12s linear infinite;
}
.flow-diagram span {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line-strong));
  border-radius: 999px;
  box-shadow: none;
  transform: translate(-50%, -50%);
}
.flow-diagram span:nth-child(1) { width: 270px; height: 1px; border: 0; background: var(--line-strong); animation: flowLineDrift 8s ease-in-out infinite; }
.flow-diagram span:nth-child(2) { width: 190px; height: 1px; border: 0; background: var(--line); transform: translate(-50%, calc(-50% + 46px)); animation: flowLineDrift 9s ease-in-out infinite reverse; }
.flow-diagram span:nth-child(3) { width: 190px; height: 1px; border: 0; background: var(--line); transform: translate(-50%, calc(-50% - 46px)); animation: flowLineDrift 9s ease-in-out infinite reverse; }
@keyframes flowOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes flowOrbitReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}
@keyframes flowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .72; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
@keyframes flowRingPulse {
  0%, 100% { opacity: .42; filter: blur(0); }
  50% { opacity: .95; filter: blur(.2px); }
}
@keyframes flowBreathWide {
  0%, 100% { opacity: .24; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .46; transform: translate(-50%, -50%) scale(1.02); }
}
@keyframes flowParticles {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.flow-diagram i {
  display: none;
}
@keyframes flowPointOrbit {
  from { transform: rotate(0deg) translateX(95px); }
  to { transform: rotate(360deg) translateX(95px); }
}
@keyframes flowLineDrift {
  0%, 100% { opacity: .46; }
  50% { opacity: .82; }
}
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 70px); }
.card-kicker { margin: 0 0 14px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.world-feature .card-kicker {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  box-shadow: 0 0 26px var(--accent-glow);
}
.feature-copy h3 { max-width: 620px; margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); line-height: 1.24; letter-spacing: -.035em; }
.feature-copy p:last-child { max-width: 680px; margin: 22px 0 0; color: var(--text-soft); line-height: 1.9; }
.world-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.info-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.info-number { position: absolute; top: 24px; right: 25px; color: var(--text-faint); font-size: 11px; font-weight: 800; }
.info-icon {
  display: block;
  width: 72px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 22px var(--accent-glow);
}
.info-icon svg { display: none; }
.info-card h3 { margin: 44px 0 0; font-family: var(--font-display); font-size: 18px; line-height: 1.45; letter-spacing: -.025em; }
.info-card p { margin: 16px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.85; }

.yuki-section { padding-block: 80px 100px; }
.yuki-panel {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.yuki-image-wrap {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, var(--accent-soft), transparent 62%);
  isolation: isolate;
}
.yuki-image-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -6%;
  width: 92%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  transform: translateX(-50%);
  filter: blur(22px);
}
.yuki-image-wrap img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  transform: none;
  transform-origin: center center;
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.28));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.68) 94%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.68) 94%, transparent 100%);
  pointer-events: none;
  user-select: none;
}
.portrait-halo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 43%;
  width: min(82%, 440px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 80px var(--accent-glow) inset;
  animation: portraitOrbit 36s linear infinite;
}
.portrait-halo::before,
.portrait-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 13px var(--accent);
}
.portrait-halo::before { width: 7px; height: 7px; left: 17%; top: 5%; }
.portrait-halo::after { width: 4px; height: 4px; right: 6%; bottom: 25%; }
@keyframes portraitOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.portrait-caption {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  display: grid;
  padding: 11px 14px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
}
.portrait-caption span { font-family: var(--font-display); font-size: 11px; font-weight: 700; }
.portrait-caption small { color: var(--text-faint); font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.yuki-copy { padding: clamp(42px, 6vw, 78px); }
.yuki-copy .section-index { margin: 0 0 18px; }
.yuki-lead { margin: 24px 0 0; color: var(--text-soft); font-size: 17px; line-height: 1.9; }
.yuki-copy > p:not(.section-index):not(.yuki-lead) { margin: 18px 0 0; color: var(--text-soft); line-height: 1.9; }
.yuki-details { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.yuki-details div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.yuki-details span { color: var(--text-faint); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.yuki-details strong { font-size: 13px; font-weight: 600; }
.yuki-copy blockquote { margin: 32px 0 0; padding: 22px 24px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--text); font-size: 15px; line-height: 1.85; }

.chronicles-section { padding-block: 100px 90px; }
.chronicle-volumes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.volume-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.volume-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.volume-number, .volume-count { color: var(--text-faint); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.volume-number { color: var(--accent); }
.volume-card h3 { margin: 30px 0 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.035em; }
.volume-lead { margin: 20px 0 0; color: var(--text-soft); line-height: 1.9; }
.chapter-preview { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chapter-preview li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); }
.chapter-preview li span:first-child { color: var(--text-faint); font-size: 10px; font-weight: 800; }
.chapter-preview li span:last-child { font-size: 13px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--accent); font-size: 12px; font-weight: 800; }
.text-link:hover .link-arrow { transform: translateX(4px); }
.link-arrow { transition: transform .2s ease; }
.lore-heading { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; margin: 84px 0 30px; }
.lore-heading .section-index { margin: 8px 0 0; }
.lore-heading h3 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); line-height: 1.28; letter-spacing: -.035em; }
.lore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lore-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); }
.lore-card > span { color: var(--accent); font-size: 10px; font-weight: 800; }
.lore-card h3 { margin: 34px 0 0; font-family: var(--font-display); font-size: 16px; line-height: 1.4; }
.lore-card p { margin: 14px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.8; }

.projects-section { padding-block: 100px 90px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 42%),
    radial-gradient(circle at 78% 18%, var(--accent-soft), transparent 34%);
  pointer-events: none;
}
.project-card-large { min-height: 390px; }
.project-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project-status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.project-status.live { background: color-mix(in srgb, #4bd89a 14%, transparent); color: #72eab1; }
.project-status.concept { background: var(--accent-soft); color: var(--accent); }
.project-status.future { background: color-mix(in srgb, var(--accent-2) 13%, transparent); color: var(--accent-2); }
.project-status.unstable { background: color-mix(in srgb, #ffd46b 13%, transparent); color: #ffd46b; }
.project-code { color: var(--text-faint); font-size: 9px; font-weight: 800; }
.project-art {
  position: relative;
  flex: 0 0 170px;
  min-height: 170px;
  margin: 24px 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-solid) 86%, transparent), color-mix(in srgb, var(--accent-soft) 26%, transparent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.project-art::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.project-copy { position: relative; z-index: 2; align-self: end; }
.project-copy h3 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.03em; }
.project-copy p { max-width: 660px; margin: 16px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.85; }
.bot-art { display: grid; place-items: center; }
.bot-art::before {
  content: "";
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  left: calc(50% - 30px);
  top: calc(50% - 34px);
  width: 116px;
  height: 64px;
  border-radius: 18px;
}
.bot-orbit {
  position: absolute;
  width: min(74%, 330px);
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-soft) 18%, transparent);
  box-shadow: none;
}
.bot-orbit::before,
.bot-orbit::after {
  content: "";
  position: absolute;
  left: calc(50% - 8px);
  height: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
}
.bot-orbit::before { top: 25px; width: 86px; }
.bot-orbit::after { top: 52px; width: 60px; opacity: .78; }
.bot-core {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  left: calc(50% - 104px);
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  box-shadow: none;
}
.card-art { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 14px; padding: 18px 38px 42px; }
.card-art span {
  min-height: 86px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-soft) 36%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.card-art span:nth-child(1) { min-height: 96px; transform: translateY(10px); }
.card-art span:nth-child(2) { min-height: 126px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.card-art span:nth-child(3) { min-height: 96px; transform: translateY(10px); }
.farm-art { overflow: hidden; }
.farm-horizon { display: none; }
.farm-stem { position: absolute; left: 50%; bottom: 42px; width: 2px; height: 64px; background: var(--line-strong); transform: translateX(-50%); box-shadow: none; }
.farm-leaf { position: absolute; display: block; width: 58px; height: 34px; border: 1px solid var(--line-strong); border-radius: 999px 999px 999px 8px; background: color-mix(in srgb, var(--accent-soft) 46%, transparent); }
.farm-leaf.leaf-a { left: calc(50% - 62px); bottom: 80px; transform: rotate(-24deg); }
.farm-leaf.leaf-b { left: calc(50% + 6px); bottom: 80px; transform: scaleX(-1) rotate(-24deg); }
.music-art { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 38px; }
.music-art span { display: block; width: 14px; border-radius: 999px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); box-shadow: 0 0 24px var(--accent-glow); }
.music-art span:nth-child(1) { height: 54px; }
.music-art span:nth-child(2) { height: 104px; }
.music-art span:nth-child(3) { height: 74px; }
.achievement-art, .economy-art, .utility-art, .social-art, .ai-art { display: grid; place-items: center; }
.achievement-art span, .economy-art span, .utility-art span, .social-art span, .ai-art span {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
}
.achievement-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 132px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 32px 32px;
  transform: translateY(-20px);
  opacity: .7;
}
.achievement-art span:nth-child(1) {
  position: absolute;
  width: 88px;
  height: 58px;
  border-radius: 14px 14px 30px 30px;
  transform: translateY(-24px);
  background: color-mix(in srgb, var(--accent-soft) 36%, transparent);
  box-shadow: none;
}
.achievement-art span:nth-child(1)::before,
.achievement-art span:nth-child(1)::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 34px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  background: transparent;
}
.achievement-art span:nth-child(1)::before {
  left: -33px;
  border-right: 0;
  border-radius: 24px 0 0 10px;
}
.achievement-art span:nth-child(1)::after {
  right: -33px;
  border-left: 0;
  border-radius: 0 24px 10px 0;
}
.achievement-art span:nth-child(2) { width: 34px; height: 40px; border-width: 0 1px 0 1px; border-radius: 0; transform: translateY(24px); background: transparent; }
.achievement-art span:nth-child(3) { width: 90px; height: 12px; border-radius: 999px; transform: translateY(52px); background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: none; }
.economy-art span:nth-child(1) { display: none; }
.economy-art span:nth-child(2) { width: 82px; height: 54px; border-radius: 999px 999px 999px 12px; transform: translate(-24px, 8px) rotate(-24deg); background: color-mix(in srgb, var(--accent-soft) 30%, transparent); }
.economy-art span:nth-child(3) { width: 82px; height: 54px; border-radius: 999px 999px 12px 999px; transform: translate(24px, 8px) rotate(24deg); background: color-mix(in srgb, var(--accent-2) 14%, transparent); }
.ai-art { overflow: hidden; }
.ai-art::before {
  content: "AI";
  position: absolute;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 66px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
  transform: translateY(-8px);
}
.ai-art span { display: none; }
.utility-art::before {
  content: none;
  display: none;
}
.utility-art span {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Arial Unicode MS", sans-serif;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 16px var(--accent-glow);
}
.utility-art span::before {
  content: "⚙︎";
  display: block;
}
.utility-art span:nth-child(1) { font-size: 64px; transform: translate(-18px, -18px) rotate(-12deg); opacity: .96; }
.utility-art span:nth-child(2) { font-size: 50px; transform: translate(25px, -8px) rotate(18deg); opacity: .82; }
.utility-art span:nth-child(3) { font-size: 40px; transform: translate(3px, 20px) rotate(-8deg); opacity: .72; }
.social-art span:nth-child(1) { width: 118px; height: 64px; border-radius: 22px 22px 22px 8px; transform: translate(-30px, -22px); background: color-mix(in srgb, var(--accent-soft) 24%, transparent); }
.social-art span:nth-child(2) { width: 96px; height: 54px; border-radius: 20px 20px 8px 20px; transform: translate(38px, 12px); background: color-mix(in srgb, var(--accent-2) 14%, transparent); }
.social-art span:nth-child(3) { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translate(-40px, -20px); box-shadow: 24px 0 0 var(--accent), 48px 0 0 var(--accent); }
.site-lines { align-self: center; display: grid; gap: 14px; width: 80%; justify-self: end; }
.site-lines span { height: 12px; border-radius: 999px; background: var(--line); }
.site-lines span:nth-child(1) { width: 92%; }
.site-lines span:nth-child(2) { width: 70%; }
.site-lines span:nth-child(3) { width: 84%; }
.site-lines span:nth-child(4) { width: 58%; background: var(--accent-soft); }

.community-section { padding-block: 90px 100px; }
.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  align-items: center;
  gap: 48px;
  min-height: 680px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--surface-solid), var(--surface));
  box-shadow: var(--shadow);
}
.community-copy .section-index { margin: 0 0 18px; }
.community-copy > p:not(.section-index):not(.community-note) { max-width: 720px; margin: 24px 0 0; color: var(--text-soft); font-size: 16px; line-height: 1.9; }
.community-language-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.community-language-list div { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--accent-soft); }
.community-language-list strong { display: block; font-size: 12px; }
.community-language-list span { display: block; margin-top: 5px; color: var(--text-soft); font-size: 11px; line-height: 1.5; }
.button-discord { margin-top: 28px; background: #5865f2; color: #fff; box-shadow: 0 16px 38px rgba(88,101,242,.24); }
.button-discord:hover { background: #6571f4; }
.community-note { margin: 12px 0 0; color: var(--text-faint); font-size: 10px; }
.community-widget {
  position: relative;
  display: grid;
  align-content: center;
  justify-self: center;
  width: min(100%, 390px);
  gap: 12px;
  min-height: 560px;
}
.discord-banner-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #242428;
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}
.discord-banner-avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.discord-banner-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.discord-banner-info span {
  color: #d7d9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.discord-banner-info strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.15;
  letter-spacing: -.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-banner-info small {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 700;
}
.discord-widget-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 452px;
  border: 1px solid color-mix(in srgb, #5865f2 44%, var(--line-strong));
  border-radius: 18px;
  background: #1e1f22;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.discord-widget-shell iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .35s ease;
}
.discord-widget-shell.widget-loaded iframe { opacity: 1; }
.discord-widget-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, #5865f2 0 58px, transparent 58px),
    #1e1f22;
}
.discord-widget-fallback::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 88px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 32px 0 rgba(255,255,255,.11), 0 64px 0 rgba(255,255,255,.09), 0 96px 0 rgba(255,255,255,.07);
}
.discord-widget-fallback p { margin: 14px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.8; }
.discord-widget-fallback a { align-self: flex-start; margin-top: 18px; color: var(--accent); font-size: 11px; font-weight: 800; }
.portrait-ring { position: absolute; width: 350px; height: 350px; border: 1px solid var(--line); border-radius: 50%; }

.roadmap-section { padding-block: 100px 80px; }
.roadmap-track { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); }
.roadmap-step { position: relative; min-height: 190px; padding: 26px; border-right: 1px solid var(--line); }
.roadmap-step:last-child { border-right: 0; }
.roadmap-step > span { color: var(--text-faint); font-size: 10px; font-weight: 800; }
.roadmap-step strong { display: block; margin-top: 42px; font-size: 13px; line-height: 1.6; }
.roadmap-step small { display: block; margin-top: 12px; color: var(--text-faint); font-size: 10px; }
.roadmap-step.active::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.roadmap-step.active > span, .roadmap-step.active small { color: var(--accent); }

.faq-section { padding-block: 90px 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 16px; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1px; background: currentColor; }
.faq-toggle::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-item p { max-width: 850px; margin: -4px 0 28px; color: var(--text-soft); line-height: 1.9; }

.site-footer { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: 42px 0 30px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 28px; }
.footer-main p { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.7; text-align: center; }
.footer-actions { justify-self: end; display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-author,
.footer-top { display: inline-flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.footer-author {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
}
.footer-author:hover,
.footer-top:hover { color: var(--text); border-color: var(--line-strong); }
.footer-top .link-arrow.up { transform: rotate(-90deg); }
.footer-bottom { display: grid; grid-template-columns: .65fr minmax(280px, 1.5fr) .85fr; align-items: start; gap: 24px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 9px; }
.footer-ai-note { text-align: center; line-height: 1.75; }
.footer-bottom span:last-child { text-align: right; }

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 24px;
  max-width: min(460px, calc(100% - 32px));
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Chronicle pages */
.lore-page { background: var(--bg); }
.lore-header { position: sticky; top: 16px; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1240px, calc(100% - 40px)); min-height: 68px; margin: 16px auto 0; padding: 0 16px 0 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--header-bg); backdrop-filter: blur(22px); }
.lore-header-actions { display: flex; align-items: center; gap: 10px; }
.back-home { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 0 14px; border: 1px solid transparent; border-radius: 13px; color: var(--text-soft); font-size: 11px; font-weight: 700; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.back-home:hover { color: var(--text); border-color: var(--line); background: var(--surface); }
.back-home::before { content: ""; width: 12px; height: 12px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.lore-hero { width: min(920px, calc(100% - 40px)); margin: 90px auto 50px; text-align: left; }
.lore-hero .section-index { margin: 0 0 18px; }
.lore-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 6vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
.lore-hero p { max-width: 760px; margin: 24px 0 0; color: var(--text-soft); font-size: 16px; line-height: 1.9; }
.chronicle-document { width: min(920px, calc(100% - 40px)); margin: 0 auto 100px; }
.chronicle-intro, .chapter { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.chapter { margin-top: 18px; }
.chapter-label { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chronicle-intro h2, .chapter h2 { margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(23px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -.035em; }
.chronicle-intro p, .chapter p { margin: 20px 0 0; color: var(--text-soft); font-size: 15px; line-height: 1.95; }
.chronicle-intro p:first-of-type, .chapter p:first-of-type { margin-top: 24px; }
.chronicle-ending { margin-top: 34px; padding: 30px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--text); line-height: 1.9; }
.lore-footer { width: min(920px, calc(100% - 40px)); margin: 0 auto 30px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--text-faint); font-size: 10px; }
.placeholder-document { display: grid; gap: 18px; width: min(920px, calc(100% - 40px)); margin: 0 auto 100px; }
.placeholder-card { padding: clamp(30px, 6vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.placeholder-card .section-index { margin: 0 0 18px; }
.placeholder-card h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); line-height: 1.16; letter-spacing: -.045em; }
.placeholder-card p { max-width: 680px; margin: 20px 0 0; color: var(--text-soft); line-height: 1.9; }

.systems-document {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 110px;
}
.systems-intro {
  padding: clamp(30px, 5vw, 58px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.systems-intro .section-index { margin: 0 0 18px; }
.systems-intro h2 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.24;
  letter-spacing: -.045em;
}
.systems-intro p:not(.section-index) {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.system-card {
  position: relative;
  min-height: 292px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 84%, transparent), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.system-card::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-2), var(--accent-gold));
  opacity: .9;
}
.system-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.system-card h2 {
  margin: 36px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.system-card p {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}
.system-card .system-commands {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}
.command-catalog {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.command-section {
  padding: clamp(24px, 4vw, 40px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.command-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.command-section-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.command-section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.command-section-heading p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}
.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.command-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
}
.command-card h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.command-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}
.command-card dt {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.command-card dd {
  margin: -3px 0 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}
.mechanics-guide {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.guide-document {
  width: min(1180px, calc(100% - 40px));
}
.mechanics-intro,
.mechanic-block {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 86%, transparent), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow);
}
.mechanics-intro {
  padding: clamp(26px, 4vw, 42px);
}
.mechanics-intro .section-index { margin: 0 0 12px; }
.mechanics-intro p:not(.section-index) {
  max-width: 840px;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}
.mechanic-block {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
}
.mechanic-copy,
.mechanic-table-wrap,
.mechanic-tips {
  grid-column: 2;
}
.mechanic-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.24;
  letter-spacing: -.04em;
}
.mechanic-copy p {
  max-width: 850px;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.85;
}
.mechanic-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}
.mechanic-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.mechanic-table th,
.mechanic-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.55;
}
.mechanic-table th {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent-soft);
}
.mechanic-table tr:last-child td { border-bottom: 0; }
.mechanic-tips {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mechanic-tips li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.75;
}
.mechanic-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.guide-visual {
  position: sticky;
  top: 112px;
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 100%;
}
.guide-screen {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 22%, var(--accent-soft), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 82%, transparent), color-mix(in srgb, var(--surface) 76%, transparent));
}
.guide-screen::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 2px;
  background: linear-gradient(90deg, #87d9ff, var(--accent-2), #f1d36f);
  opacity: .9;
}
.guide-line {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--line);
}
.guide-line-a { top: 72px; }
.guide-line-b { top: 154px; opacity: .72; }
.guide-line-c { top: 236px; opacity: .5; }
.guide-symbol {
  position: absolute;
  inset: 82px 34px 76px;
}
.guide-symbol span {
  position: absolute;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--accent-soft) 48%, transparent);
}
.guide-arrows {
  position: absolute;
  inset: auto 22px 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.guide-arrows span {
  position: relative;
  min-height: 34px;
  padding-top: 14px;
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.guide-arrows span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.guide-arrows span::after {
  content: "";
  position: absolute;
  left: calc(50% - 3px);
  top: 7px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
}
.guide-visual-farm .guide-symbol span {
  width: 68px;
  height: 76px;
  border-radius: 18px;
}
.guide-visual-farm .guide-symbol span:nth-child(1) { left: 4%; top: 4%; }
.guide-visual-farm .guide-symbol span:nth-child(2) { left: 38%; top: 4%; }
.guide-visual-farm .guide-symbol span:nth-child(3) { right: 4%; top: 4%; }
.guide-visual-farm .guide-symbol span:nth-child(4) { left: 38%; bottom: 4%; }
.guide-visual-farm .guide-symbol span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 26px;
  height: 42px;
  border-radius: 50% 50% 10px 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: translateX(-50%);
}
.guide-visual-engineering .guide-symbol span,
.guide-visual-afk .guide-symbol span,
.guide-visual-activity .guide-symbol span {
  left: 12%;
  right: 12%;
  height: 22px;
  border-radius: 999px;
}
.guide-visual-engineering .guide-symbol span:nth-child(1),
.guide-visual-afk .guide-symbol span:nth-child(1),
.guide-visual-activity .guide-symbol span:nth-child(1) { top: 12%; }
.guide-visual-engineering .guide-symbol span:nth-child(2),
.guide-visual-afk .guide-symbol span:nth-child(2),
.guide-visual-activity .guide-symbol span:nth-child(2) { top: 36%; width: 62%; }
.guide-visual-engineering .guide-symbol span:nth-child(3),
.guide-visual-afk .guide-symbol span:nth-child(3),
.guide-visual-activity .guide-symbol span:nth-child(3) { top: 60%; width: 78%; }
.guide-visual-engineering .guide-symbol span:nth-child(4),
.guide-visual-afk .guide-symbol span:nth-child(4),
.guide-visual-activity .guide-symbol span:nth-child(4) { top: 84%; width: 46%; }
.guide-visual-wheel .guide-symbol span {
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.guide-visual-wheel .guide-symbol span:nth-child(2) { width: 112px; height: 112px; opacity: .58; }
.guide-visual-wheel .guide-symbol span:nth-child(3) { width: 72px; height: 72px; opacity: .72; }
.guide-visual-wheel .guide-symbol span:nth-child(4) { width: 28px; height: 28px; background: var(--accent); }
.guide-visual-casino .guide-symbol span,
.guide-visual-cards .guide-symbol span,
.guide-visual-craft .guide-symbol span,
.guide-visual-profile .guide-symbol span {
  width: 74px;
  height: 98px;
  border-radius: 14px;
}
.guide-visual-casino .guide-symbol span:nth-child(1),
.guide-visual-cards .guide-symbol span:nth-child(1),
.guide-visual-craft .guide-symbol span:nth-child(1),
.guide-visual-profile .guide-symbol span:nth-child(1) { left: 12%; top: 18%; transform: rotate(-7deg); }
.guide-visual-casino .guide-symbol span:nth-child(2),
.guide-visual-cards .guide-symbol span:nth-child(2),
.guide-visual-craft .guide-symbol span:nth-child(2),
.guide-visual-profile .guide-symbol span:nth-child(2) { left: 39%; top: 8%; transform: rotate(3deg); background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.guide-visual-casino .guide-symbol span:nth-child(3),
.guide-visual-cards .guide-symbol span:nth-child(3),
.guide-visual-craft .guide-symbol span:nth-child(3),
.guide-visual-profile .guide-symbol span:nth-child(3) { right: 12%; top: 18%; transform: rotate(7deg); }
.guide-visual-casino .guide-symbol span:nth-child(4),
.guide-visual-cards .guide-symbol span:nth-child(4),
.guide-visual-craft .guide-symbol span:nth-child(4),
.guide-visual-profile .guide-symbol span:nth-child(4) { left: 50%; bottom: 2%; width: 118px; height: 28px; border-radius: 999px; transform: translateX(-50%); }

.gallery-document {
  position: relative;
  width: min(1180px, calc(100% - 96px));
  min-height: 820px;
  margin: 0 auto 110px;
  padding: 72px clamp(28px, 4.5vw, 64px) 84px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gallery-line {
  position: absolute;
  left: 3%;
  right: 3%;
  height: 84px;
  border-top: 3px solid color-mix(in srgb, var(--accent) 36%, var(--line-strong));
  border-radius: 50%;
  opacity: .58;
  pointer-events: none;
}
.gallery-line.line-one { top: 105px; transform: rotate(-2deg); }
.gallery-line.line-two { top: 345px; transform: rotate(2.2deg); }
.gallery-line.line-three { top: 585px; transform: rotate(-1.4deg); }
.gallery-hanging-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(165px, 1fr));
  gap: 86px 34px;
  align-items: start;
}
.gallery-photo {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 285px;
  padding: 20px 16px 18px;
  border: 0;
  border-radius: 4px;
  background: color-mix(in srgb, white 92%, var(--accent) 8%);
  box-shadow: 0 24px 42px rgba(0,0,0,.22);
  color: #171421;
  cursor: pointer;
  transform-origin: 50% -18px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-photo:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 34px 54px rgba(0,0,0,.28);
}
.gallery-photo.tilt-left { transform: rotate(-3.5deg); margin-top: 18px; }
.gallery-photo.tilt-right { transform: rotate(3deg); margin-top: 70px; }
.gallery-photo.tilt-soft { transform: rotate(-1.2deg); margin-top: 36px; }
.gallery-photo.tilt-left:hover,
.gallery-photo.tilt-right:hover,
.gallery-photo.tilt-soft:hover { transform: translateY(-6px) rotate(0deg); }
.photo-pin {
  position: absolute;
  left: 50%;
  top: -28px;
  width: 25px;
  height: 48px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #d9c2a6, #9f7b5b);
  box-shadow: 0 7px 12px rgba(0,0,0,.22);
  transform: translateX(-50%) rotate(2deg);
}
.photo-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(255,255,255,.14) 50%, transparent 54%),
    color-mix(in srgb, var(--accent-soft) 60%, #ddd);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-120%);
  animation: galleryLoading 1.25s ease-in-out infinite;
}
.gallery-photo.loaded .photo-frame::before { display: none; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.gallery-photo.loaded .photo-frame img { opacity: 1; }
.photo-title {
  display: none;
}
.photo-tag {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(14,11,24,.74);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
}
@keyframes galleryLoading {
  to { transform: translateX(120%); }
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: none;
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4,3,10,.76);
  backdrop-filter: blur(12px);
}
.gallery-lightbox-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.gallery-lightbox-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  color: var(--text);
  cursor: pointer;
}
.gallery-lightbox-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  background: #080713;
}
.gallery-lightbox-image img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}
.gallery-lightbox-image span {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9,7,18,.76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.gallery-lightbox-meta {
  padding: 18px 24px 20px;
}
.gallery-lightbox-meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}
.gallery-lightbox-meta strong { color: var(--text); }

@media (min-width: 1051px) {
  .section-shell,
  .site-footer {
    width: min(var(--max-width), calc(100% - 136px));
    margin-left: max(112px, calc((100% - var(--max-width)) / 2));
    margin-right: auto;
  }
  .site-header {
    width: min(1240px, calc(100% - 136px));
    margin-left: max(112px, calc((100% - 1240px) / 2));
    margin-right: auto;
  }
  .lore-header,
  .lore-hero,
  .chronicle-document,
  .placeholder-document,
  .systems-document,
  .lore-footer {
    width: min(920px, calc(100% - 160px));
    margin-left: max(112px, calc((100% - 920px) / 2));
    margin-right: auto;
  }
  .systems-document {
    width: min(1120px, calc(100% - 160px));
    margin-left: max(112px, calc((100% - 1120px) / 2));
  }
  .lore-header {
    width: min(1240px, calc(100% - 136px));
    margin-left: max(112px, calc((100% - 1240px) / 2));
  }
}

@media (max-width: 1050px) {
  .side-panel { display: none; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: block; }
  .hero { grid-template-columns: 1fr .82fr; gap: 20px; }
  .hero-visual { height: clamp(540px, 66vh, 680px); }
  .world-cards, .lore-grid { grid-template-columns: 1fr 1fr; }
  .yuki-panel { grid-template-columns: .86fr 1.14fr; }
  .yuki-image-wrap { min-height: 650px; }
  .yuki-image-wrap img { height: 100%; }
}

@media (max-width: 820px) {
  .section-shell { width: min(100% - 30px, var(--max-width)); }
  .site-header { width: calc(100% - 24px); top: 10px; margin-top: 10px; min-height: 64px; border-radius: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 66px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; height: clamp(500px, 72vw, 590px); min-height: 0; max-height: none; }
  .visual-label { left: 0; bottom: 30px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading > div > p { margin-top: 16px; }
  .world-feature { grid-template-columns: 1fr; }
  .flow-diagram { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .world-cards { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .yuki-panel { grid-template-columns: 1fr; }
  .yuki-image-wrap { min-height: 560px; border-right: 0; border-bottom: 1px solid var(--line); }
  .yuki-image-wrap img { height: 100%; }
  .chronicle-volumes { grid-template-columns: 1fr; }
  .lore-heading { grid-template-columns: 1fr; gap: 12px; }
  .lore-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .systems-grid,
  .command-grid { grid-template-columns: 1fr; }
  .system-card,
  .command-card { min-height: auto; }
  .mechanic-block { grid-template-columns: 1fr; }
  .mechanic-copy,
  .mechanic-table-wrap,
  .mechanic-tips,
  .guide-visual {
    grid-column: 1;
    grid-row: auto;
  }
  .guide-visual {
    position: relative;
    top: auto;
  }
  .guide-screen { min-height: 280px; }
  .site-lines { display: none; }
  .gallery-document { width: min(100% - 30px, var(--max-width)); }
  .gallery-hanging-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .community-panel { grid-template-columns: 1fr; }
  .community-widget { width: min(100%, 420px); min-height: 560px; }
  .discord-widget-shell { min-height: 452px; }
  .roadmap-track { grid-template-columns: 1fr 1fr; }
  .roadmap-step:nth-child(2) { border-right: 0; }
  .roadmap-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-actions { justify-self: center; justify-content: center; }
  .footer-top { justify-self: center; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom span:last-child { text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  html { scroll-padding-top: 92px; }
  .site-header { padding-left: 13px; padding-right: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 13px; }
  .control-button { min-width: 48px; height: 40px; padding: 0 10px; }
  .theme-switch .css-chevron, .language-switch .css-chevron { display: none; }
  .mobile-nav { inset: 86px 12px auto; }
  .hero { padding-top: 50px; padding-bottom: 42px; }
  .hero h1 { font-size: clamp(37px, 11vw, 52px); }
  .hero-text { margin-top: 22px; font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-meta div:last-child { border-bottom: 0; }
  .hero-visual { height: clamp(420px, 118vw, 500px); min-height: 0; max-height: none; }
  .hero-visual img { transform: translateY(-24px); }
  .ring-outer { width: 96%; }
  .statement-track span { min-height: 58px; padding-right: 48px; }
  .statement-track span::after { margin-left: 48px; }
  .world-section, .chronicles-section, .projects-section, .roadmap-section { padding-block: 82px 55px; }
  .yuki-section, .community-section { padding-block: 55px 80px; }
  .section-heading { margin-bottom: 30px; }
  .feature-copy, .yuki-copy { padding: 28px 24px; }
  .world-feature, .yuki-panel, .community-panel { border-radius: 22px; }
  .info-card, .volume-card, .project-card { padding: 24px; }
  .yuki-image-wrap { min-height: 500px; }
  .yuki-image-wrap img { height: 100%; }
  .yuki-details div { grid-template-columns: 1fr; gap: 4px; }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-card { min-height: auto; }
  .chapter-preview li { grid-template-columns: 52px 1fr; }
  .project-card, .project-card-large { min-height: 420px; }
  .community-panel { padding: 28px 24px; }
  .gallery-document { min-height: auto; padding: 42px 18px 54px; }
  .gallery-hanging-grid { grid-template-columns: 1fr; gap: 54px; }
  .gallery-photo,
  .gallery-photo.tilt-left,
  .gallery-photo.tilt-right,
  .gallery-photo.tilt-soft { margin-top: 0; transform: rotate(-1.5deg); }
  .command-section-heading { grid-template-columns: 1fr; gap: 14px; }
  .command-section,
  .command-card,
  .mechanics-intro,
  .mechanic-block { padding: 22px; }
  .mechanic-table { min-width: 620px; }
  .gallery-lightbox { padding: 14px; }
  .community-language-list { grid-template-columns: 1fr; }
  .community-widget { width: 100%; min-height: 530px; }
  .discord-widget-shell { min-height: 420px; }
  .portrait-ring { width: 260px; height: 260px; }
  .roadmap-track { grid-template-columns: 1fr; }
  .roadmap-step { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .roadmap-step:last-child { border-bottom: 0; }
  .roadmap-step strong { margin-top: 26px; }
  .faq-item summary { min-height: 76px; font-size: 14px; }
  .site-footer { width: calc(100% - 30px); }
  .lore-header { width: calc(100% - 24px); top: 10px; margin-top: 10px; align-items: flex-start; padding-block: 12px; }
  .lore-header-actions { justify-content: flex-end; flex-wrap: wrap; }
  .lore-hero { margin-top: 64px; }
  .chronicle-intro, .chapter { padding: 24px; border-radius: 18px; }
  .lore-footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement-track { animation: none !important; transform: none !important; }
  .statement-track span[aria-hidden="true"] { display: none; }
}

.guide-document {
  width: min(1220px, calc(100% - 96px));
  border: 0;
  background: transparent;
  box-shadow: none;
}
.mechanics-guide {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 62px);
  margin-top: 26px;
}
.guide-map-intro {
  width: min(880px, 100%);
  margin: 0 auto 10px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 20%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 34%),
    color-mix(in srgb, var(--surface-solid) 58%, transparent);
  box-shadow: 0 24px 58px rgba(0,0,0,.18);
}
.guide-map {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 86px);
  padding: 36px 0 76px;
}
.guide-map::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 18px;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg,
      color-mix(in srgb, var(--accent) 64%, #ef4d4d) 0 16px,
      transparent 16px 32px);
  opacity: .42;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 42%, transparent));
}
.guide-map-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(320px, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  width: min(1060px, 100%);
  min-height: 350px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.guide-map-stop-right {
  grid-template-columns: minmax(320px, 1fr) minmax(300px, .86fr);
}
.guide-map-stop-right .guide-shot-wrap { grid-column: 2; }
.guide-map-stop-right .mechanic-copy { grid-column: 1; grid-row: 1; }
.guide-stop-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid color-mix(in srgb, #f04444 86%, var(--accent));
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-solid) 86%, #210305 14%);
  color: #ff6d6d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  transform: translate(-50%, -50%) rotate(-7deg);
  box-shadow: 0 0 0 7px color-mix(in srgb, #f04444 12%, transparent), 0 18px 34px rgba(0,0,0,.24);
}
.guide-shot-wrap {
  position: relative;
  transform: rotate(-1.6deg);
}
.guide-map-stop-right .guide-shot-wrap { transform: rotate(1.45deg); }
.guide-shot-caption {
  position: absolute;
  left: 24px;
  bottom: -12px;
  z-index: 4;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guide-visual {
  position: static;
  min-height: 0;
}
.guide-screen {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  border-radius: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 76%, transparent), color-mix(in srgb, var(--surface) 68%, transparent)),
    radial-gradient(circle at 76% 20%, var(--accent-soft), transparent 36%);
  box-shadow: 0 24px 44px rgba(0,0,0,.24);
}
.guide-screen::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #87d9ff, var(--accent-2), #f1d36f);
  opacity: .92;
}
.guide-preview-glow {
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 0 18%, color-mix(in srgb, white 6%, transparent) 18% 19%, transparent 19% 100%),
    linear-gradient(180deg, transparent 0 28%, color-mix(in srgb, white 7%, transparent) 28% 29%, transparent 29% 100%);
  opacity: .65;
}
.guide-symbol {
  position: absolute;
  inset: 58px 46px 84px;
}
.guide-symbol span {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--line-strong) 82%, transparent);
  background: color-mix(in srgb, var(--accent-soft) 46%, transparent);
}
.guide-arrows {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.guide-arrows span {
  min-height: 28px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}
.guide-arrows span::before,
.guide-arrows span::after { display: none; }
.guide-route-label {
  margin: 0 0 12px;
  color: #ff7777;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mechanic-copy {
  position: relative;
  grid-column: auto;
  padding: clamp(26px, 3.2vw, 38px);
  border: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent);
  border-radius: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-solid) 72%, transparent), color-mix(in srgb, var(--surface) 58%, transparent)),
    radial-gradient(circle at 14% 20%, color-mix(in srgb, #ef4d4d 10%, transparent), transparent 32%);
  box-shadow: 0 24px 54px rgba(0,0,0,.18);
}
.mechanic-copy::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed color-mix(in srgb, #ef4d4d 38%, transparent);
  border-radius: 20px;
  opacity: .48;
  pointer-events: none;
}
.mechanic-copy h2 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.mechanic-copy > p:not(.guide-route-label):not(.guide-note) {
  position: relative;
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}
.guide-steps {
  position: relative;
  margin-top: 22px;
}
.guide-steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.guide-steps ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 21px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}
.guide-note {
  position: relative;
  margin: 18px 0 0;
  padding: 13px 15px;
  border-left: 3px solid #ef4d4d;
  border-radius: 12px;
  background: color-mix(in srgb, #ef4d4d 9%, transparent);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}
.guide-note span {
  color: #ff7777;
  font-weight: 900;
}
.guide-red-arrow {
  position: absolute;
  z-index: 5;
  display: block;
  width: 94px;
  height: 54px;
  border-top: 5px solid #f04444;
  border-radius: 54% 46% 0 0;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.18));
}
.guide-red-arrow::before,
.guide-red-arrow::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -8px;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: #f04444;
  transform-origin: right center;
}
.guide-red-arrow::before { transform: rotate(34deg); }
.guide-red-arrow::after { transform: rotate(-34deg); }
.guide-red-arrow-0 { right: -36px; top: 40px; transform: rotate(18deg); }
.guide-red-arrow-1 { left: -38px; top: 58px; transform: scaleX(-1) rotate(12deg); }
.guide-red-arrow-2 { right: -28px; bottom: 56px; transform: rotate(-14deg); }
.guide-red-arrow-3 { left: -34px; bottom: 62px; transform: scaleX(-1) rotate(-18deg); }
.guide-visual-profile .guide-symbol span:nth-child(1) { left: 11%; top: 18%; width: 72%; height: 34px; border-radius: 999px; }
.guide-visual-profile .guide-symbol span:nth-child(2) { left: 11%; top: 48%; width: 46%; height: 24px; border-radius: 999px; }
.guide-visual-profile .guide-symbol span:nth-child(3) { right: 10%; top: 32%; width: 66px; height: 66px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 24%, transparent); }
.guide-visual-profile .guide-symbol span:nth-child(4) { right: 27%; bottom: 8%; width: 96px; height: 20px; border-radius: 999px; opacity: .72; }
.guide-visual-farm .guide-symbol span { width: 92px; height: 70px; border-radius: 18px; }
.guide-visual-farm .guide-symbol span:nth-child(1) { left: 4%; top: 8%; }
.guide-visual-farm .guide-symbol span:nth-child(2) { left: 38%; top: 8%; }
.guide-visual-farm .guide-symbol span:nth-child(3) { right: 4%; top: 8%; }
.guide-visual-farm .guide-symbol span:nth-child(4) { left: 38%; bottom: 2%; }
.guide-visual-farm .guide-symbol span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 24px;
  height: 38px;
  border-radius: 50% 50% 10px 10px;
  background: linear-gradient(180deg, #87d9ff, var(--accent-2));
  transform: translateX(-50%);
}
.guide-visual-engineering .guide-symbol span,
.guide-visual-afk .guide-symbol span {
  left: 12%;
  height: 24px;
  border-radius: 999px;
}
.guide-visual-engineering .guide-symbol span:nth-child(1),
.guide-visual-afk .guide-symbol span:nth-child(1) { top: 12%; right: 12%; }
.guide-visual-engineering .guide-symbol span:nth-child(2),
.guide-visual-afk .guide-symbol span:nth-child(2) { top: 38%; width: 58%; }
.guide-visual-engineering .guide-symbol span:nth-child(3),
.guide-visual-afk .guide-symbol span:nth-child(3) { top: 62%; width: 78%; }
.guide-visual-engineering .guide-symbol span:nth-child(4),
.guide-visual-afk .guide-symbol span:nth-child(4) { top: 86%; width: 42%; }
.guide-visual-wheel .guide-symbol span {
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.guide-visual-wheel .guide-symbol span:nth-child(2) { width: 112px; height: 112px; opacity: .6; }
.guide-visual-wheel .guide-symbol span:nth-child(3) { width: 68px; height: 68px; opacity: .74; }
.guide-visual-wheel .guide-symbol span:nth-child(4) { width: 26px; height: 26px; background: var(--accent); }
.guide-visual-casino .guide-symbol span,
.guide-visual-cards .guide-symbol span {
  width: 76px;
  height: 102px;
  border-radius: 14px;
}
.guide-visual-casino .guide-symbol span:nth-child(1),
.guide-visual-cards .guide-symbol span:nth-child(1) { left: 12%; top: 20%; transform: rotate(-8deg); }
.guide-visual-casino .guide-symbol span:nth-child(2),
.guide-visual-cards .guide-symbol span:nth-child(2) { left: 39%; top: 8%; transform: rotate(2deg); background: color-mix(in srgb, var(--accent-2) 24%, transparent); }
.guide-visual-casino .guide-symbol span:nth-child(3),
.guide-visual-cards .guide-symbol span:nth-child(3) { right: 12%; top: 20%; transform: rotate(8deg); }
.guide-visual-casino .guide-symbol span:nth-child(4),
.guide-visual-cards .guide-symbol span:nth-child(4) { left: 50%; bottom: 0; width: 122px; height: 28px; border-radius: 999px; transform: translateX(-50%); }
.guide-visual-activity .guide-symbol span:nth-child(1) { left: 16%; top: 22%; width: 118px; height: 58px; border-radius: 20px; }
.guide-visual-activity .guide-symbol span:nth-child(2) { right: 14%; top: 34%; width: 124px; height: 66px; border-radius: 22px; background: color-mix(in srgb, var(--accent-2) 20%, transparent); }
.guide-visual-activity .guide-symbol span:nth-child(3) { left: 28%; bottom: 12%; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.guide-visual-activity .guide-symbol span:nth-child(4) { left: 44%; bottom: 12%; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }

@media (max-width: 920px) {
  .guide-document { width: min(100% - 28px, 720px); }
  .guide-map::before { left: 23px; }
  .guide-map-stop,
  .guide-map-stop-right {
    grid-template-columns: 1fr;
    width: 100%;
    padding-left: 44px;
  }
  .guide-map-stop-right .guide-shot-wrap,
  .guide-map-stop-right .mechanic-copy { grid-column: auto; grid-row: auto; }
  .guide-stop-pin { left: 23px; top: 34px; transform: translate(-50%, 0) rotate(-7deg); }
  .guide-shot-wrap,
  .guide-map-stop-right .guide-shot-wrap { transform: rotate(-.8deg); }
  .guide-red-arrow { display: none; }
}
@media (max-width: 620px) {
  .guide-document { width: calc(100% - 22px); }
  .guide-map-intro { padding: 22px; }
  .guide-screen { min-height: 250px; }
  .mechanic-copy { padding: 22px; }
}

.error-page {
  width: min(720px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 90px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-moon {
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  border-radius: 50%;
  box-shadow: -25px 0 0 var(--accent);
  transform: translateX(13px);
  filter: drop-shadow(0 0 28px var(--accent-glow));
}
.error-page h1 { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(72px, 18vw, 150px); line-height: 1; letter-spacing: -.08em; }
.error-page h2 { margin: 20px 0 0; font-family: var(--font-display); font-size: clamp(22px, 4vw, 34px); line-height: 1.3; }
.error-page > p:not(.section-index) { max-width: 590px; margin: 18px 0 28px; color: var(--text-soft); line-height: 1.9; }
