:root {
  color-scheme: light dark;
  --ink: #17212a;
  --muted: #59636c;
  --paper: #f5f6f2;
  --panel: #ffffff;
  --line: #c9d7df;
  --accent: #0069b4;
  --accent-strong: #00528d;
  --brand: #0069b4;
  --brand-hover: #00528d;
  --gold: #c68a28;
  --soft-brand: #e7f2fa;
  --error: #a12a2a;
}

* { box-sizing: border-box; }

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

html {
  background: var(--paper);
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
}

body.protected-page:not(.is-unlocked) > :not(#page-gate):not(.theme-toggle) {
  visibility: hidden;
}

a { color: var(--accent-strong); }

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(24, 33, 31, 0.12);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 8px clamp(18px, 4vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 30;
}

.home-header {
  position: fixed;
}

.brand {
  align-items: center;
  color: #123f61;
  display: inline-flex;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 54px;
  object-fit: contain;
  width: 46px;
}

.brand-symbol-crop {
  display: block;
  height: 46px;
  overflow: hidden;
  width: 46px;
}

.home-brand-symbol {
  height: 46px;
  overflow: hidden;
  width: 46px;
}

.home-brand-symbol .brand-symbol-crop img {
  height: auto;
  max-width: none;
  object-fit: initial;
  width: 46px;
}

.site-menu { position: relative; }

.site-menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0, 82, 141, 0.34);
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  list-style: none;
  width: 42px;
}

.site-menu-toggle::-webkit-details-marker { display: none; }

.site-menu-toggle span {
  background: var(--accent-strong);
  display: block;
  height: 2px;
  width: 20px;
}

.site-menu-panel {
  background: var(--panel);
  border: 1px solid rgba(24, 33, 31, 0.14);
  box-shadow: 0 18px 45px rgba(24, 33, 31, 0.2);
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50px;
}

.site-menu-panel a {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 11px 12px;
  text-decoration: none;
}

.site-menu-panel a:hover,
.site-menu-panel a:focus-visible {
  background: var(--soft-brand);
  color: var(--brand);
  outline: none;
}

.product-hero {
  align-items: flex-end;
  display: flex;
  min-height: min(78svh, 780px);
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 110px) clamp(52px, 8vh, 86px);
  position: relative;
}

.product-hero-image,
.product-hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.product-hero-image {
  object-fit: cover;
  object-position: 50% 66%;
}

.product-hero-overlay { background: rgba(8, 18, 27, 0.68); }

.product-hero-content {
  color: #ffffff;
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.product-label,
.section-kicker {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.product-label { color: #f3d49e; }

.product-hero h1 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 1.08;
  margin: 0;
  max-width: 790px;
}

.home-hero {
  min-height: min(76svh, 740px);
}

.home-hero .product-hero-content {
  max-width: 760px;
}

.product-intro {
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 690px;
}

.product-hero h1,
.product-intro,
.hero-price {
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.82);
}

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

.primary-action,
.purchase-button {
  align-items: center;
  background: var(--action-background);
  border: 1px solid var(--action-border);
  border-radius: 4px;
  color: var(--action-foreground);
  cursor: pointer;
  display: inline-flex;
  font: 700 1rem/1.2 Inter, Arial, sans-serif;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible,
.purchase-button:hover,
.purchase-button:focus-visible {
  background: var(--action-background-hover);
  border-color: var(--action-border);
  outline: 3px solid var(--action-outline);
}

.hero-price {
  font-family: Cinzel, Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.facts-band {
  background: var(--brand);
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px clamp(18px, 6vw, 90px);
}

.facts-band div {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 4px 12px;
  text-align: center;
}

.facts-band div:last-child { border-right: 0; }
.facts-band strong { font-family: Cinzel, Georgia, serif; font-size: 1.25rem; }
.facts-band span { font-size: 0.85rem; }

.brand-facts strong {
  font-size: clamp(0.94rem, 2vw, 1.18rem);
}

.fact-note-link {
  color: inherit;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 4px;
  text-decoration: none;
}

.fact-note-link:hover,
.fact-note-link:focus-visible {
  color: #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.content-section,
.purchase-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

.section-heading { max-width: 760px; }
.section-kicker { color: var(--brand); }

.section-heading h2,
.purchase-summary h2 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0;
}

.story-layout {
  display: grid;
  gap: clamp(32px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  margin-top: 38px;
}

.story-copy p,
.purchase-description {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.game-preview-section {
  border-top: 1px solid var(--line);
  max-width: none;
  padding-left: max(20px, calc((100vw - 1052px) / 2));
  padding-right: max(20px, calc((100vw - 1052px) / 2));
}

.game-preview-layout {
  align-items: center;
  display: grid;
  gap: clamp(42px, 8vw, 96px);
  grid-template-columns: minmax(240px, 0.72fr) minmax(380px, 1.28fr);
  margin: 0 auto;
  max-width: 1052px;
}

.game-preview-open {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 28px;
  justify-items: center;
  padding: 0;
  width: 100%;
}

.game-preview-fan {
  aspect-ratio: 1.06 / 1;
  display: block;
  max-width: 560px;
  position: relative;
  width: 100%;
}

.game-preview-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(8, 18, 27, 0.23);
  height: auto;
  position: absolute;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-preview-card-left {
  left: 7%;
  top: 8%;
  transform: rotate(-7deg);
  width: 36%;
  z-index: 1;
}

.game-preview-card-center {
  left: 30%;
  top: 0;
  width: 40%;
  z-index: 3;
}

.game-preview-card-right {
  right: 7%;
  top: 8%;
  transform: rotate(7deg);
  width: 36%;
  z-index: 2;
}

.game-preview-open.is-preview-visible .game-preview-card-left {
  animation: game-preview-lift-left 720ms ease-out;
}

.game-preview-open.is-preview-visible .game-preview-card-center {
  animation: game-preview-lift-center 720ms ease-out;
}

.game-preview-open.is-preview-visible .game-preview-card-right {
  animation: game-preview-lift-right 720ms ease-out;
}

@keyframes game-preview-lift-left {
  0%, 100% { transform: rotate(-7deg); }
  45% { transform: rotate(-9deg) translate(-4px, -7px); }
}

@keyframes game-preview-lift-center {
  0%, 100% { transform: translateY(0); }
  45% {
    box-shadow: 0 20px 42px rgba(8, 18, 27, 0.3);
    transform: translateY(-10px);
  }
}

@keyframes game-preview-lift-right {
  0%, 100% { transform: rotate(7deg); }
  45% { transform: rotate(9deg) translate(4px, -7px); }
}

.game-preview-action {
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .game-preview-open:hover .game-preview-card-left {
    transform: rotate(-9deg) translate(-4px, -3px);
  }

  .game-preview-open:hover .game-preview-card-center {
    box-shadow: 0 20px 42px rgba(8, 18, 27, 0.3);
    transform: translateY(-8px);
  }

  .game-preview-open:hover .game-preview-card-right {
    transform: rotate(9deg) translate(4px, -3px);
  }
}

.game-preview-open:focus-visible {
  outline: none;
}

.game-preview-open:focus-visible .game-preview-action {
  background: var(--action-background-hover);
  outline: 3px solid var(--action-outline);
  outline-offset: 3px;
}

.game-preview-dialog {
  background: #08141d;
  border: 0;
  color: #ffffff;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  position: fixed;
  inset: 0;
  width: 100vw;
}

.game-preview-dialog:fullscreen,
.game-preview-dialog:-webkit-full-screen {
  background: #08141d;
  height: 100%;
  width: 100%;
}

.game-preview-dialog::backdrop {
  background: rgba(4, 10, 15, 0.96);
}

.game-preview-dialog:focus { outline: none; }

.game-preview-dialog-shell {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.game-preview-figure {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  touch-action: pan-y;
  user-select: none;
  width: 100%;
}

.game-preview-figure img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  width: 100%;
}

.game-preview-close,
.game-preview-nav {
  align-items: center;
  background: rgba(8, 20, 29, 0.84);
  border: 1px solid rgba(247, 245, 239, 0.58);
  border-radius: 50%;
  color: #f7f5ef;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  padding: 0;
  position: absolute;
  z-index: 2;
}

.game-preview-close {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 44px;
  right: max(4px, env(safe-area-inset-right));
  top: max(4px, env(safe-area-inset-top));
  width: 44px;
}

.game-preview-close::before,
.game-preview-close span {
  height: 22px;
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
}

.game-preview-close::before {
  background: rgba(8, 20, 29, 0.72);
  border: 1px solid rgba(247, 245, 239, 0.35);
  border-radius: 50%;
  content: "";
}

.game-preview-close span {
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.game-preview-close svg {
  display: block;
  fill: none;
  height: 11px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  transform: translate(-0.5px, 0.5px);
  width: 11px;
}

.game-preview-nav {
  height: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
}

.game-preview-nav span {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.game-preview-nav svg {
  display: block;
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  width: 24px;
}

.game-preview-previous { left: 22px; }
.game-preview-next { right: 22px; }

.game-preview-nav:hover,
.game-preview-nav:focus-visible {
  background: #12384f;
  border-color: #78c7ff;
  outline: 3px solid rgba(120, 199, 255, 0.38);
  outline-offset: 2px;
}

.game-preview-close:hover {
  background: transparent;
  color: #78c7ff;
}

.game-preview-close:hover::before,
.game-preview-close:focus-visible::before {
  background: rgba(8, 20, 29, 0.88);
}

.game-preview-close:focus-visible {
  background: transparent;
  color: #ffffff;
  outline: 2px solid rgba(247, 245, 239, 0.8);
  outline-offset: 1px;
}

.game-preview-nav:disabled {
  cursor: default;
  opacity: 0.25;
}

.game-preview-counter {
  background: rgba(8, 20, 29, 0.72);
  border: 1px solid rgba(247, 245, 239, 0.35);
  bottom: 72px;
  color: #f7f5ef;
  font-size: 0.88rem;
  font-weight: 700;
  left: 50%;
  margin: 0;
  padding: 7px 12px;
  position: absolute;
  transform: translateX(-50%);
}

body.has-game-preview-open {
  overflow: hidden;
}

.route-showcase {
  margin-top: 38px;
}

.route-copy {
  max-width: 760px;
}

.route-versions {
  display: grid;
  gap: 0;
}

.route-version {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.route-version:last-child {
  border-bottom: 1px solid var(--line);
}

.route-version h3 {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.route-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.route-version > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.route-version > p.route-version-warning {
  align-items: flex-start;
  display: flex;
  font-size: 0.78rem;
  gap: 7px;
  line-height: 1.45;
  margin-top: 10px;
}

.route-version-warning span {
  color: #c62828;
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 1.25;
}

.route-copy .route-tagline {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.55;
}

.route-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.route-version .route-facts {
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  margin-top: 16px;
}

.route-version .route-facts li {
  white-space: nowrap;
}

.route-version .route-facts li + li::before {
  color: var(--accent-strong);
  content: "|";
  font-weight: 800;
  margin: 0 clamp(10px, 3vw, 28px);
}

.route-facts li {
  color: var(--muted);
  font-size: 0.9rem;
}

.route-facts strong {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
}

.route-action {
  display: flex;
  margin: 24px auto 0;
  width: fit-content;
  white-space: nowrap;
}

.social-section {
  border-top: 1px solid var(--line);
  padding-top: 0;
}

.social-heading-row {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 110px;
}

.social-kicker-mobile {
  display: none;
}

.social-mark {
  grid-column: 2;
  height: 100px;
  justify-self: center;
  max-width: calc(100% - 10px);
  object-fit: contain;
  width: 88px;
}

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

.social-links a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent-strong);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  padding: 13px 18px;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--soft-brand);
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

blockquote {
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.55;
  margin: 0;
  padding: 4px 0 4px 24px;
}

blockquote p { margin: 0; }

.practical-section {
  border-top: 1px solid var(--line);
  max-width: none;
  padding-left: max(20px, calc((100vw - 1052px) / 2));
  padding-right: max(20px, calc((100vw - 1052px) / 2));
}

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

.route-detail-header {
  padding: 142px max(20px, calc((100vw - 1052px) / 2)) 62px;
}

.route-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(36px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
}

.route-breadcrumb {
  color: var(--accent-strong);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-decoration: none;
}

.route-breadcrumb::before {
  content: "← ";
}

.route-breadcrumb:hover,
.route-breadcrumb:focus-visible {
  text-decoration: underline;
}

.route-detail-header h1 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.12;
  margin: 0;
  max-width: 850px;
}

.route-detail-intro {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 720px;
}

.route-version-field {
  margin-top: 30px;
}

.route-detail-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 34px auto 0;
  width: fit-content;
}

.route-detail-price {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.route-detail-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 56px 0 0;
  max-width: 920px;
  padding: 26px 0 0;
}

.route-detail-stats li {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 26px;
}

.route-detail-stats li:first-child { padding-left: 0; }
.route-detail-stats li:last-child { border-right: 0; }

.route-detail-stats strong {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.32rem;
}

.route-detail-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.route-map-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

.route-map-panel h2 {
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  margin: 0 0 14px;
}

.route-map-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.route-map-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.route-map-button img {
  display: block;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  width: 100%;
}

.route-map-placeholder {
  align-items: center;
  color: var(--muted);
  display: flex;
  justify-content: center;
  line-height: 1.55;
  margin: 0;
  min-height: 300px;
  padding: 24px;
  text-align: center;
}

.route-map-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  max-height: 92vh;
  max-width: min(94vw, 1280px);
  margin: auto;
  padding: 0;
  width: auto;
}

.route-map-dialog::backdrop {
  background: rgba(6, 13, 18, 0.82);
}

.route-map-dialog-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

.route-map-dialog-header h2 {
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  margin: 0;
}

.route-map-dialog-header button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.8rem;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.route-map-dialog > img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: calc(92vh - 65px);
  max-width: min(94vw, 1280px);
  object-fit: contain;
  width: auto;
}

.route-detail-visual {
  height: clamp(300px, 48vw, 590px);
  margin: 0;
  overflow: hidden;
}

.route-detail-visual img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 66%;
  width: 100%;
}

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

.practical-grid article {
  border-top: 1px solid var(--line);
  min-height: 180px;
  padding: 28px 42px 28px 0;
}

.practical-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
.practical-grid article:nth-child(even) { padding-left: 42px; }

.practical-grid h3 {
  font-family: Cinzel, Georgia, serif;
  font-size: 1.08rem;
  margin: 0 0 12px;
}

.practical-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.practical-grid .team-warning {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.team-warning strong {
  min-width: 0;
}

.practical-grid a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.practical-grid a:hover,
.practical-grid a:focus-visible {
  text-decoration: underline;
}

.legal-info-button {
  align-items: center;
  background: transparent;
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  color: var(--accent-strong);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: 800 0.82rem/1 Inter, Arial, Helvetica, sans-serif;
  height: 22px;
  justify-content: center;
  margin-top: 1px;
  padding: 0;
  width: 22px;
}

.legal-info-button:hover,
.legal-info-button:focus-visible {
  background: var(--accent-strong);
  color: #ffffff;
}

.usage-info-dialog {
  background: transparent;
  border: 0;
  color: var(--ink);
  max-width: min(92vw, 520px);
  padding: 0;
}

.usage-info-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.usage-info-dialog__body {
  background: var(--panel);
  border: 1px solid rgba(0, 105, 180, 0.24);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 24px;
}

.usage-info-dialog__body h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.usage-info-dialog__body p {
  line-height: 1.65;
}

.usage-info-dialog__body ul {
  line-height: 1.55;
  margin: 0 0 16px;
  padding-left: 22px;
}

.usage-info-dialog__body li + li {
  margin-top: 8px;
}

.usage-info-dialog__body a {
  color: var(--accent-strong);
  display: inline-block;
  font-weight: 800;
  margin-bottom: 20px;
}

.usage-info-dialog__close {
  background: var(--action-background);
  border: 1px solid var(--action-border);
  border-radius: 4px;
  color: var(--action-foreground);
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
  width: 100%;
}

.usage-info-dialog__close:hover,
.usage-info-dialog__close:focus-visible {
  background: var(--action-background-hover);
  border-color: var(--action-border);
  outline: 3px solid var(--action-outline);
  outline-offset: 2px;
}

.purchase-band {
  background: #eaf3f9;
  display: grid;
  gap: clamp(40px, 8vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  max-width: none;
  padding-left: max(20px, calc((100vw - 1052px) / 2));
  padding-right: max(20px, calc((100vw - 1052px) / 2));
}

.purchase-description { margin-top: 18px; }

.purchase-version-label {
  color: var(--muted);
  font-weight: 700;
  margin: 28px 0 6px;
}

.purchase-version-name {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.version-field {
  margin-top: 28px;
}

.version-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 9px;
}

.version-field.has-error label {
  color: var(--error);
}

.version-field.has-error select {
  border-color: var(--error);
}

.version-field select {
  appearance: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 8px 12px;
  width: min(100%, 320px);
}

.version-field select:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.purchase-price {
  align-items: baseline;
  display: flex;
  gap: 12px;
  margin: 28px 0 18px;
}

.purchase-price strong {
  color: var(--brand);
  font-family: Cinzel, Georgia, serif;
  font-size: 2.2rem;
}

.purchase-price span { color: var(--muted); font-size: 0.88rem; }

.purchase-includes {
  color: var(--muted);
  display: grid;
  gap: 9px;
  line-height: 1.5;
  list-style: none;
  margin: 0;
  padding: 0;
}

.purchase-includes li::before {
  color: var(--brand);
  content: "✓";
  font-weight: 700;
  margin-right: 9px;
}

.purchase-team-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.purchase-team-link:hover,
.purchase-team-link:focus-visible {
  text-decoration: underline;
}

.purchase-heading span,
.purchase-heading em {
  display: block;
}

.purchase-heading em {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 8px;
}

.purchase-form {
  background: var(--panel);
  border: 1px solid rgba(24, 33, 31, 0.14);
  box-shadow: 0 16px 48px rgba(24, 33, 31, 0.1);
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
}

.purchase-notice {
  background: var(--soft-brand);
  border-left: 4px solid var(--brand);
  color: var(--ink);
  line-height: 1.5;
  padding: 13px 15px;
}

.is-hidden { display: none !important; }

.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 0.9rem; font-weight: 700; }

.form-field input {
  background: var(--panel);
  border: 1px solid #9da9a4;
  border-radius: 3px;
  color: var(--ink);
  font: 1rem Inter, Arial, sans-serif;
  min-height: 49px;
  padding: 12px 13px;
  width: 100%;
}

.form-field input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 105, 180, 0.16);
}

.form-field p,
.payment-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.consent-field {
  align-items: flex-start;
  color: var(--muted);
  display: grid;
  font-size: 0.84rem;
  gap: 10px;
  grid-template-columns: 20px 1fr;
  line-height: 1.55;
}

.consent-field input { height: 18px; margin: 2px 0 0; width: 18px; }
.consent-field a { font-weight: 700; }
.form-error { color: var(--error); font-size: 0.87rem; line-height: 1.45; margin: -4px 0; min-height: 1.3em; }
.purchase-button { width: 100%; }
.purchase-button:disabled { cursor: wait; opacity: 0.72; }
.purchase-button.is-unavailable,
.purchase-button.is-unavailable:hover,
.purchase-button.is-unavailable:focus-visible {
  background: #8b969d;
  border-color: #8b969d;
  cursor: not-allowed;
  opacity: 0.72;
}
.payment-note { text-align: center; }

.support-band {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  padding: 34px 20px;
}

.support-band p { font-weight: 700; margin: 0; }
.support-link-row { align-items: center; display: inline-flex; gap: 24px; }
.support-arrow { color: var(--brand); font-size: 1.25rem; font-weight: 700; }
.support-band a { font-weight: 700; text-decoration: none; }
.support-band a:hover,
.support-band a:focus-visible { text-decoration: underline; }

.site-footer {
  align-items: center;
  background: #132838;
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.footer-brand { font-family: Cinzel, Georgia, serif; font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; }
.site-footer a { color: #e7eeee; font-size: 0.75rem; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #ffffff; text-decoration: underline; }

:root[data-theme="dark"] {
  --ink: #f2f5f3;
  --muted: #c2cbc7;
  --paper: #101715;
  --panel: #17232d;
  --line: #3b4b58;
  --accent: #78c7ff;
  --accent-strong: #a8dbff;
  --brand: #4da3df;
  --brand-hover: #72b9e8;
  --soft-brand: #1d3343;
  --error: #ff9c9c;
}

:root[data-theme="dark"] .site-header { background: rgba(16, 23, 21, 0.96); border-color: rgba(242, 245, 243, 0.14); }
:root[data-theme="dark"] .brand { color: #d8e8f3; }
:root[data-theme="dark"] .purchase-band { background: #111d27; }
:root[data-theme="dark"] .purchase-form { border-color: rgba(242, 245, 243, 0.18); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28); }
:root[data-theme="dark"] .form-field input { border-color: #60736c; }
:root[data-theme="dark"] .site-menu-panel a:hover,
:root[data-theme="dark"] .site-menu-panel a:focus-visible { color: #ffffff; }

:root[data-theme="dark"] .home-hero .primary-action,
:root[data-theme="dark"] .route-action {
  border-color: var(--action-border);
  border-width: 0.5px;
}

:root[data-theme="dark"] .legal-info-button:hover,
:root[data-theme="dark"] .legal-info-button:focus-visible {
  background: #12384f;
  border-color: #78c7ff;
  color: #ffffff;
}

:root[data-theme="light"] .site-footer .footer-brand { color: #123f61; }
:root[data-theme="light"] .site-footer a { color: #00528d; text-decoration: none; }
:root[data-theme="light"] .site-footer a:hover,
:root[data-theme="light"] .site-footer a:focus-visible { color: #00528d; text-decoration: underline; }

@media (max-width: 780px) {
  .browser-chromium {
    overflow-x: clip;
  }

  .browser-chromium main {
    margin-left: -1px;
    width: calc(100% + 2px);
  }

  .browser-android .game-preview-close {
    right: 4px;
    top: 4px;
  }

  .site-header { height: 64px; padding: 6px 14px; }
  .brand img { height: 48px; width: 41px; }
  .brand span { font-size: 0.92rem; }
  .brand-facts .fact-note-link { font-size: 0.68rem; }
  .product-hero { min-height: 74svh; padding: 112px 20px 46px; }
  .product-hero-image { object-position: 58% 62%; }
  .hero-actions { align-items: center; flex-direction: column; gap: 14px; width: 100%; }
  .facts-band {
    background: #0062a8;
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }
  :root[data-theme="dark"] .facts-band { background: #479bd5; }
  .facts-band div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 0;
    flex-direction: row;
    gap: 18px;
    justify-content: space-between;
    padding: 14px 0;
    text-align: left;
  }
  .facts-band div:last-child { border-bottom: 0; }
  .facts-band strong { flex: 1 1 46%; }
  .facts-band span {
    flex: 1 1 54%;
    text-align: left;
  }
  .story-layout,
  .game-preview-layout,
  .purchase-band,
  .route-showcase { grid-template-columns: 1fr; }
  .game-preview-layout { gap: 34px; }
  .game-preview-fan { max-width: 400px; }
  .game-preview-open { gap: 22px; }
  .game-preview-action { min-height: 46px; padding: 11px 18px; }
  .game-preview-figure {
    height: 100%;
    padding: 0;
    width: 100vw;
  }
  .game-preview-nav { display: none; }
  .game-preview-close {
    height: 44px;
    right: max(4px, env(safe-area-inset-right));
    top: max(4px, env(safe-area-inset-top));
    width: 44px;
  }
  .game-preview-counter { bottom: 9px; }
  .route-action { justify-self: center; }
  .route-detail-header { padding: 112px 20px 46px; }
  .route-detail-layout { grid-template-columns: 1fr; }
  .route-detail-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .route-detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
  .route-detail-stats li { border-bottom: 1px solid var(--line); padding: 16px 12px; }
  .route-detail-stats li:nth-child(2) { border-right: 0; }
  .route-detail-stats li:nth-child(3),
  .route-detail-stats li:nth-child(4) { border-bottom: 0; }
  .route-detail-stats li:nth-child(3) { padding-left: 0; }
  .route-map-placeholder { min-height: 220px; }
  .route-detail-visual { height: clamp(280px, 80vw, 460px); }
  .practical-grid { display: block; }
  .practical-grid,
  .practical-grid article,
  .practical-grid article:nth-child(odd),
  .practical-grid article:nth-child(even) {
    border: 0 !important;
  }
  .practical-grid article,
  .practical-grid article:nth-child(odd),
  .practical-grid article:nth-child(even) {
    min-height: auto;
    padding: 24px 0;
  }
  .practical-grid article:not(:last-child)::after {
    color: var(--accent-strong);
    content: "•••";
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    line-height: 1;
    margin: 24px auto 0;
    padding-left: 0.38em;
    text-align: center;
  }
  .route-version .route-facts { text-align: center; }
  .social-kicker-wide { display: none; }
  .social-kicker-mobile { display: inline; }
  .social-heading-row { grid-template-columns: minmax(0, 1fr) auto; }
  .social-mark { grid-column: 2; justify-self: end; }
  .social-links { grid-template-columns: 1fr; justify-items: center; }
  .home-hero .primary-action {
    font-size: 0.95rem;
    max-width: calc(100vw - 40px);
    min-height: 46px;
    padding: 11px 18px;
    white-space: nowrap;
    width: max-content;
  }
  .route-action,
  .social-links a {
    font-size: 0.95rem;
    min-height: 46px;
    padding: 11px 18px;
    width: min(100%, 180px);
  }
  .support-band { flex-direction: column; gap: 6px; text-align: center; }
  .support-link-row { gap: 10px; justify-content: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .product-hero h1 { font-size: 2.2rem; }
  .product-intro { font-size: 0.98rem; }
  .purchase-form { padding: 22px 18px; }
  .social-links { grid-template-columns: 1fr; }
  .route-detail-stats strong { font-size: 1.12rem; }
  .route-detail-stats span { font-size: 0.78rem; }
  .social-heading-row { grid-template-columns: minmax(0, 1fr) auto; }
  .social-mark { grid-column: 2; height: 80px; width: 70px; }
}

@media (max-width: 600px) {
  .game-preview-dialog-shell { align-items: flex-start; }
  .game-preview-figure {
    align-items: flex-start;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 64px;
    scrollbar-width: none;
    touch-action: pan-y;
  }
  .game-preview-figure::-webkit-scrollbar { display: none; }
  .game-preview-figure img {
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: initial;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game-preview-card { animation: none !important; transition: none; }
}
