/* ===========================================================================
   Avanatro — Operator's Console Component Library
   2026-05-16 — Admin-Style-Harmonization
   ---------------------------------------------------------------------------
   op-* Klassen wurden auf den Visual-Stil des /backend/admin/-Panels migriert.
   Tokens aus /assets/tokens.css (Block "avanatro.com — Design Tokens v1.0")
   sind die Single Source of Truth: hex cyan #54d4e8 + emerald #40df9f,
   Inter-Familie, 8px Radius, dezenter Hover statt scale, subtile cyan-grid
   Hintergrund (42px). Kein oklch-System mehr (--console-* Tokens werden
   trotzdem fuer Backward-Compat auf die Haupt-Tokens gemappt — siehe
   tokens.css unten).
   prefers-reduced-motion respektiert.
   =========================================================================== */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font-family-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(84, 212, 232, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(84, 212, 232, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--panel-strong);
  color: var(--text);
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-weight: 800;
}
.skip-link:focus { left: 0; }

/* ---------- Nav (admin-header style) ---------- */
.op-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(5, 7, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.op-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--text);
}
.op-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--emerald);
  background: linear-gradient(145deg, rgba(64, 223, 159, 0.28), rgba(84, 212, 232, 0.13));
  font-weight: 900;
}
.op-brand-text { font-weight: 800; letter-spacing: 0; text-transform: none; }
.op-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.op-nav-links a {
  position: relative;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.op-nav-links a:hover,
.op-nav-links a.current {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.op-nav-links a.current::after { display: none; }

@media (max-width: 640px) {
  .op-nav { padding: 14px 18px; gap: 10px; flex-wrap: wrap; }
  .op-nav-links { gap: 4px; font-size: 13px; flex-wrap: wrap; }
  .op-nav-links a { padding: 0 8px; }
}

/* ---------- Eyebrow (admin .eyebrow style) ---------- */
.op-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
  color: var(--emerald);
  margin: 0 0 9px;
}
.op-eyebrow-mark { display: none; }

/* ---------- Hero ---------- */
.op-hero {
  position: relative;
  display: grid;
  place-content: center;
  align-items: start;
  min-height: 80vh;
  padding: clamp(60px, 10vw, 140px) clamp(18px, 4vw, 54px);
  overflow: hidden;
}
.op-hero > * { position: relative; z-index: 1; }

.op-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(180deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.op-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1220px;
  margin: 0 auto 28px;
  width: 100%;
}
.op-status {
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--emerald);
  background: rgba(64, 223, 159, 0.10);
  border: 1px solid rgba(64, 223, 159, 0.38);
  border-radius: 999px;
  padding: 6px 12px;
}

.op-display {
  font-family: inherit;
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--text);
  margin: 18px 0;
  max-width: 1220px;
}
.op-display > span { display: block; }
.op-display-accent {
  color: var(--emerald);
  font-style: normal;
  font-weight: 900;
}

.op-lead {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.55;
  margin: 24px 0 32px;
}

.op-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- CTAs (admin .button style) ---------- */
.op-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  will-change: transform;
}
.op-cta-primary {
  background: linear-gradient(135deg, var(--emerald), #1b9ca8);
  color: #02100d;
}
.op-cta-primary:hover { transform: translateY(-1px); }
.op-cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
}
.op-cta-secondary:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}
.op-cta-large { min-height: 52px; padding: 0 22px; font-size: 16px; }
.op-cta-arrow {
  display: inline-block;
  transition: transform 160ms ease;
}
.op-cta:hover .op-cta-arrow { transform: translateX(4px); }

/* ---------- Sections (admin .band) ---------- */
.op-section {
  padding-block: clamp(58px, 9vw, 110px);
  padding-inline: clamp(18px, 4vw, 54px);
  max-width: 1220px;
  margin-inline: auto;
}
.op-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.op-h2 {
  font-family: inherit;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 8px;
}
.op-section-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  line-height: 1.6;
}

.op-section-contact { text-align: center; }
.op-section-contact .op-section-head {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ---------- Bento Grid ---------- */
.op-grid { display: grid; gap: 12px; }
.op-grid-bento {
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: minmax(180px, auto);
}
.op-grid-bento .op-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.op-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.op-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .op-grid-bento,
  .op-grid-cols-3,
  .op-grid-cols-2 { grid-template-columns: 1fr; }
  .op-grid-bento .op-card-featured { grid-column: auto; grid-row: auto; }
}

/* ---------- Cards (admin .panel / .item style) ---------- */
.op-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease;
}
.op-card:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
}
.op-card-eyebrow {
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
  color: var(--emerald);
}
.op-card h3 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  color: var(--text);
}
.op-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.op-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: inherit;
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0;
}
.op-card-meta code {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
}
.op-card-meta-accent {
  background: rgba(84, 212, 232, 0.10) !important;
  border-color: rgba(84, 212, 232, 0.32) !important;
  color: #bceff5 !important;
}
.op-card-featured { padding: 28px 24px; }
.op-card-featured h3 { font-size: clamp(22px, 2.4vw, 28px); }
.op-card-featured p { font-size: 15px; max-width: 50ch; }

/* ---------- Footer (admin .site-footer mood) ---------- */
.op-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: clamp(40px, 6vw, 64px) clamp(18px, 4vw, 54px);
  max-width: 1220px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
}
.op-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.op-footer-col a {
  color: var(--muted);
  transition: color 160ms ease;
}
.op-footer-col a:hover { color: var(--emerald); }
.op-footer-brand {
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0;
}
.op-footer-meta {
  color: var(--faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

@media (max-width: 640px) {
  .op-footer { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0, 0, 1),
    transform 700ms cubic-bezier(0.2, 0, 0, 1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .op-cta:hover, .op-cta-primary:hover, .op-cta-secondary:hover { transform: none; }
  .op-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Plugin Detail Page ---------- */
.op-plugin-hero {
  padding: clamp(80px, 12vw, 140px) clamp(18px, 4vw, 54px) clamp(40px, 6vw, 80px);
  max-width: 1080px;
  margin-inline: auto;
}
.op-plugin-hero .op-display { font-size: clamp(34px, 7vw, 72px); }
.op-plugin-hero .op-lead { max-width: 60ch; }
.op-plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}
.op-plugin-meta span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.op-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.op-callout {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(84, 212, 232, 0.08);
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
}
.op-callout strong {
  color: var(--cyan);
  font-weight: 900;
  display: block;
  margin-bottom: 6px;
}

.op-code {
  margin: 22px 0;
  padding: 18px 20px;
  background: rgba(2, 6, 9, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  color: var(--text);
}

.op-prose {
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.op-prose h3 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 12px;
  letter-spacing: 0;
}
.op-prose p { margin: 12px 0; }
.op-prose ul { padding-left: 22px; margin: 12px 0; }
.op-prose li { margin-bottom: 8px; }
.op-prose code {
  font-family: var(--font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text);
}

.op-cta-banner {
  margin: clamp(48px, 8vw, 96px) auto;
  max-width: 1080px;
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.op-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(64, 223, 159, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.op-cta-banner > * { position: relative; z-index: 1; }
.op-cta-banner h2 {
  font-family: inherit;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  margin: 12px 0 20px;
  color: var(--text);
}

/* ---------- Focus Indicators (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ---------- Mobile Touch-Targets ---------- */
@media (max-width: 768px) {
  .op-cta,
  .op-nav-links a,
  .op-brand { min-height: 44px; display: inline-flex; align-items: center; }
  main { overflow-x: hidden; }
}

/* ---------- Backward-Compat: --console-* -> Haupt-Tokens ---------- */
:root {
  --console-bg: var(--bg);
  --console-surface: var(--panel);
  --console-surface-2: var(--panel-strong);
  --console-surface-3: rgba(255, 255, 255, 0.04);
  --console-border: var(--line);
  --console-border-hover: var(--line-strong);
  --console-text: var(--text);
  --console-text-muted: var(--muted);
  --console-text-faint: var(--faint);
  --console-accent: var(--emerald);
  --console-accent-soft: rgba(64, 223, 159, 0.18);
  --console-accent-hot: var(--cyan);
  --console-accent-text: #02100d;
  --console-coral: var(--red);
  --console-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --console-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ===========================================================================
   STAGES — 3-Etappen-Layout (v2, 2026-05-16, strong separation)
   ---------------------------------------------------------------------------
   Verstaerkte Variante: drei klar unterscheidbare bg-Toene, fetter cyan-
   emerald-Gradient-Trennstreifen ueber die ganze Breite zwischen den Stages,
   grosser Stage-Counter als Hintergrund-Ankerpunkt. min-height 100vh, scroll-
   smooth, Footer absolute am Body-Bottom.
   =========================================================================== */

body {
  position: relative;
  min-height: 100vh;
}

.op-stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 12vw, 140px) clamp(18px, 4vw, 54px) clamp(120px, 14vw, 180px);
  overflow: hidden;
}

/* ===== Trennstreifen oben (cyan->emerald gradient bar) =====
   Wird per ::before als 4px-Streifen am Top jeder Stage gerendert,
   first-of-type ausgenommen damit der allererste Pixel nicht beschmiert wird. */
.op-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(84, 212, 232, 0.45) 12%,
    rgba(84, 212, 232, 0.92) 30%,
    rgba(64, 223, 159, 0.92) 70%,
    rgba(64, 223, 159, 0.45) 88%,
    transparent 100%);
  box-shadow: 0 1px 12px rgba(84, 212, 232, 0.42);
  z-index: 3;
  pointer-events: none;
}
.op-stage:first-of-type::before { display: none; }

/* ===== Riesige Stage-Counter als Hintergrund-Anker ===== */
.op-stage::after {
  content: attr(data-stage-num);
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  right: clamp(-12px, 2vw, 24px);
  font-family: inherit;
  font-size: clamp(200px, 28vw, 420px);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
          text-stroke: 1px var(--line);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
  user-select: none;
}

.op-stage-inner {
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  z-index: 1;
}

/* ===== Stage-1 (Contact) — sehr dunkel ===== */
.op-stage-contact {
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(64, 223, 159, 0.07), transparent 70%),
    #04060a;
}
.op-stage-contact .op-stage-inner {
  align-content: center;
  justify-items: start;
  max-width: 980px;
}
.op-stage-contact .op-display {
  margin: 8px 0 4px;
  font-size: clamp(40px, 8vw, 84px);
}
.op-stage-contact .op-lead {
  margin: 0 0 12px;
  max-width: 62ch;
}
.op-stage-contact .op-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(180deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Stage-2 (Plugins) — DEUTLICH heller, blau-grauer Layer ===== */
.op-stage-plugins {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(84, 212, 232, 0.10), transparent 70%),
    #0f1820;
}

/* ===== Stage-3 (Minigames) — dunkles Slate, emerald-getoent ===== */
.op-stage-minigames {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(64, 223, 159, 0.10), transparent 70%),
    #08111a;
  padding-bottom: clamp(220px, 22vw, 320px);
}

/* ===== Scroll-Cue am unteren Rand der Stage ===== */
.op-stage-scroll {
  position: absolute;
  bottom: clamp(28px, 4vw, 56px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.85);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
  z-index: 2;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.op-stage-scroll:hover {
  color: var(--emerald);
  border-color: var(--emerald);
  background: rgba(64, 223, 159, 0.10);
}
.op-stage-scroll-arrow {
  display: inline-block;
  font-size: 14px;
  transition: transform 160ms ease;
}
.op-stage-scroll:hover .op-stage-scroll-arrow {
  transform: translateY(2px);
}
.op-stage-scroll-end:hover .op-stage-scroll-arrow {
  transform: translateX(4px);
}

/* ===== Footer — absolute am Body-Bottom ===== */
.op-footer-absolute {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(32px, 4vw, 48px) clamp(18px, 4vw, 54px);
  background: #04060a;
  border-top: 1px solid var(--line-strong);
  z-index: 5;
}
.op-footer-absolute::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(84, 212, 232, 0.45) 12%,
    rgba(84, 212, 232, 0.92) 30%,
    rgba(64, 223, 159, 0.92) 70%,
    rgba(64, 223, 159, 0.45) 88%,
    transparent 100%);
  box-shadow: 0 1px 12px rgba(84, 212, 232, 0.42);
  pointer-events: none;
}

@media (max-width: 640px) {
  .op-stage {
    padding: clamp(60px, 14vw, 100px) clamp(14px, 4vw, 24px) clamp(140px, 26vw, 200px);
  }
  .op-stage-minigames {
    padding-bottom: clamp(320px, 60vw, 420px);
  }
  .op-stage-scroll {
    font-size: 11px;
    padding: 8px 12px;
  }
  .op-stage::after {
    font-size: clamp(140px, 38vw, 220px);
    top: clamp(20px, 4vw, 40px);
    right: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-stage-scroll:hover,
  .op-stage-scroll-end:hover { transform: translateX(-50%); }
  .op-stage-scroll-arrow,
  .op-stage-scroll:hover .op-stage-scroll-arrow,
  .op-stage-scroll-end:hover .op-stage-scroll-arrow { transform: none; }
}
