:root {
  --font-display: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-code: "SFMono-Regular", "Cascadia Mono", "Courier New", Courier, monospace;
  --bg: #1a0f2e;
  --bg-deep: #0d0718;
  --ink: #fff0dc;
  --muted: rgba(255, 240, 220, 0.62);
  --faint: rgba(255, 240, 220, 0.16);
  --line: rgba(255, 240, 220, 0.24);
  --accent: #d9c3ff;
  --violet: #6d4fc2;
  --electric: #4fd0ff;
  --terminal-ink: rgba(255, 240, 220, 0.82);
  --terminal-panel: rgba(13, 7, 24, 0.92);
  --max: 1384px;
  --cell-pad: 16px;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --cursor-core: rgba(217, 195, 255, 0.2);
  --cursor-soft: rgba(109, 79, 194, 0.11);
  --focus-panel: rgba(255, 240, 220, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(217, 195, 255, 0.22), transparent 42%),
    radial-gradient(ellipse at 84% 24%, rgba(79, 208, 255, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 240, 220, 0.04) 0 1px, transparent 1px 20px),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  text-transform: uppercase;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(96deg, rgba(255, 240, 220, 0.032) 0 1px, transparent 1px 13px),
    radial-gradient(circle at 20% 20%, rgba(255, 240, 220, 0.05), transparent 18%),
    radial-gradient(circle at 80% 48%, rgba(217, 195, 255, 0.07), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.48;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  animation: texture-drift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: -18% -24%;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 42%, rgba(255, 240, 220, 0.07) 42.2% 42.45%, transparent 42.7% 100%),
    linear-gradient(63deg, transparent 0 62%, rgba(79, 208, 255, 0.045) 62.1% 62.25%, transparent 62.4% 100%);
  opacity: 0.42;
  transform: translateX(-4%) rotate(0.001deg);
  animation: light-sweep 12s ease-in-out infinite alternate;
}

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

button {
  color: inherit;
  font: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  width: calc(100% - 56px);
  max-width: min(var(--max), 1380px);
  margin: 28px auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(26, 15, 46, 0.82), rgba(26, 15, 46, 0.9)),
    radial-gradient(ellipse at 50% 16%, rgba(255, 240, 220, 0.09), transparent 34%);
  min-height: calc(100vh - 56px);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 240, 220, 0.035);
  animation: shell-enter 620ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.cursor-orb {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, var(--cursor-core) 0%, var(--cursor-soft) 34%, transparent 68%);
  filter: blur(12px);
  transform: translate3d(-50%, -50%, 0) scale(0.82);
  transition: opacity 160ms ease, transform 180ms ease;
  mix-blend-mode: screen;
}

.cursor-orb.is-active {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.topbar {
  display: grid;
  grid-template-columns: 278px minmax(430px, 560px) 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 104px;
  animation: rise-in 560ms ease both;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 14px 16px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-family: var(--font-display);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.brand:hover {
  transform: translateX(2px);
}

.brand span {
  white-space: nowrap;
}

.brand span:last-child {
  font-size: clamp(1.28rem, 2.1vw, 2.08rem);
  line-height: 1.04;
}

.nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
}

.nav a,
.tools {
  border-right: 1px solid var(--line);
  padding: 18px 16px;
  font-size: 0.93rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-family: var(--font-display);
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.nav-primary {
  color: var(--ink) !important;
  background: rgba(255, 240, 220, 0.055);
}

.nav a,
.footer a,
.tools > a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.tools > a:hover,
.footer a:hover {
  transform: translateY(-1px);
}

.tools {
  border-right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  background: rgba(13, 7, 24, 0.34);
  padding: 3px;
  backdrop-filter: blur(14px);
  transform: translateZ(0);
}

.theme-choice {
  border: 0;
  background: transparent;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-choice:hover {
  color: var(--ink);
}

.theme-choice.is-active {
  background: var(--ink);
  color: var(--bg-deep);
  transform: translateY(-1px);
}

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

.grid > *,
.topbar > * {
  min-width: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 240, 220, 0.16), transparent 31%),
    radial-gradient(ellipse at 50% 76%, rgba(109, 79, 194, 0.28), transparent 34%),
    linear-gradient(90deg, transparent, rgba(255, 240, 220, 0.04), transparent);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.86%, rgba(255, 240, 220, 0.07) 49.94% 50.06%, transparent 50.14% 100%),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(255, 240, 220, 0.035) 112px 113px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 240, 220, 0.022) 34px 35px);
  opacity: 0.74;
  transform: translate3d(calc(var(--pointer-x) * -0.6), calc(var(--pointer-y) * -0.4), 0);
  animation: grid-breathe 8s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -27%;
  width: min(940px, 84vw);
  height: 62%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(255, 240, 220, 0.2) 49.9% 50.1%, transparent 50.3% 100%),
    linear-gradient(72deg, transparent 0 49.7%, rgba(255, 240, 220, 0.1) 49.9% 50.1%, transparent 50.3% 100%),
    linear-gradient(108deg, transparent 0 49.7%, rgba(255, 240, 220, 0.1) 49.9% 50.1%, transparent 50.3% 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 240, 220, 0.14), transparent 40%);
  transform: translateX(-50%) perspective(560px) rotateX(61deg);
  transform-origin: center bottom;
  opacity: 0.58;
}

.hero-inner {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
  padding: 72px 0 104px;
  max-width: 100%;
  animation: rise-in 680ms 90ms ease both;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(760px, 86vw);
  aspect-ratio: 1.85;
  border: 1px solid rgba(255, 240, 220, 0.08);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 240, 220, 0.08), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 240, 220, 0.028) 30px 31px);
  transform: translate(-50%, -48%) skewX(-7deg);
  opacity: 0.9;
}

.hero-copy::after {
  content: "";
  display: block;
  width: min(430px, 72%);
  height: 1px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--electric), transparent);
}

.kicker,
.section-title h2,
.terminal-cell h2,
.feature h3,
.footer small,
.resolver-head,
.steps small {
  margin: 0;
  font-size: 0.94rem;
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  font-weight: 500;
}

.kicker {
  color: var(--muted);
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.9rem, 9.8vw, 9.7rem);
  line-height: 0.84;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: anywhere;
  animation: title-pop 760ms 120ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.lede {
  margin: 26px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
  text-transform: none;
  overflow-wrap: anywhere;
}

.install-stat {
  margin: 0;
  color: rgba(255, 240, 220, 0.7);
  font-size: 0.84rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.install-stat strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}

.hero-community {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 2;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(248px, 24vw);
  min-width: 214px;
  margin-top: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.06), transparent 48%),
    rgba(13, 7, 24, 0.44);
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 10px 10px 0 rgba(13, 7, 24, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-community:hover {
  border-color: var(--accent);
  background: rgba(255, 240, 220, 0.055);
  transform: translateY(-2px);
}

.hero-community img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid rgba(255, 240, 220, 0.2);
}

.hero-community b {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-community small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: none;
}

.guide-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border: 1px solid var(--line);
  padding: 10px 15px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.guide-jump:hover {
  border-color: var(--accent);
  background: rgba(255, 240, 220, 0.055);
  transform: translateY(-2px);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
  text-align: left;
  max-width: 100%;
}

.platform-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 16px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.platform-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.085), transparent 52%),
    rgba(13, 7, 24, 0.46);
  text-align: left;
  backdrop-filter: blur(18px);
  box-shadow: 10px 10px 0 rgba(13, 7, 24, 0.13);
}

.platform-card-primary {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
}

.platform-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.platform-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.3vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.platform-card p {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  text-transform: none;
}

.install-panel {
  position: relative;
  width: min(740px, 100%);
  margin: 0 auto;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.08), transparent 44%),
    rgba(13, 7, 24, 0.42);
  backdrop-filter: blur(18px);
  box-shadow:
    14px 14px 0 rgba(13, 7, 24, 0.15),
    0 28px 90px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 240, 220, 0.035);
}

.install-panel::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 240, 220, 0.07);
  pointer-events: none;
}

.install-panel-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.install-panel-head span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 1.8vw, 1.86rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: none;
}

.install-panel-head small {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.steps article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
}

.steps article {
  animation: rise-in 560ms ease both;
}

.steps article:nth-child(1) {
  animation-delay: 180ms;
}

.steps article:nth-child(2) {
  animation-delay: 260ms;
}

.steps small {
  color: var(--muted);
  line-height: 1.25;
}

code,
pre {
  font-family: var(--font-code);
  text-transform: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.command-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 240, 220, 0.045), transparent 44%),
    rgba(13, 7, 24, 0.58);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.steps code {
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.steps button {
  border: 0;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.09), rgba(255, 240, 220, 0.025));
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-code);
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0;
  min-width: 58px;
  padding: 10px 12px;
  text-transform: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.steps button:hover,
.steps button:focus-visible {
  color: var(--bg-deep);
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.24);
  outline: 0;
}

.steps button:active {
  transform: translateY(1px);
}

.steps article:hover .command-input {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.first-use-demo {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 240, 220, 0.05), transparent 44%),
    radial-gradient(circle at 82% 22%, rgba(255, 240, 220, 0.1), transparent 24%);
}

.first-use-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px var(--cell-pad) 30px;
}

.first-use-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}

.first-use-copy > p:not(.kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  text-transform: none;
}

.first-use-flow {
  display: grid;
  gap: 10px;
}

.first-use-flow article {
  display: grid;
  grid-template-columns: 44px 150px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  animation: flow-enter 520ms ease both;
}

.first-use-flow article:nth-child(1) { animation-delay: 120ms; }
.first-use-flow article:nth-child(2) { animation-delay: 220ms; }
.first-use-flow article:nth-child(3) { animation-delay: 320ms; }
.first-use-flow article:nth-child(4) { animation-delay: 420ms; }
.first-use-flow article:nth-child(5) { animation-delay: 520ms; }

.first-use-flow b {
  color: var(--accent);
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 700;
}

.first-use-flow span {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
}

.first-use-flow small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-transform: none;
}

.first-use-visual {
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    repeating-linear-gradient(115deg, rgba(255, 240, 220, 0.055) 0 1px, transparent 1px 11px),
    linear-gradient(135deg, rgba(13, 7, 24, 0.25), rgba(109, 79, 194, 0.28));
}

.first-use-visual .terminal {
  min-height: 398px;
}

.first-use-visual .terminal-body {
  min-height: 360px;
}

.demo-progress {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.demo-progress p {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  animation: terminal-line 420ms ease forwards;
}

.demo-progress p:nth-child(1) { animation-delay: 2.5s; }
.demo-progress p:nth-child(2) { animation-delay: 2.9s; }
.demo-progress p:nth-child(3) { animation-delay: 3.3s; }
.demo-progress p:nth-child(4) { animation-delay: 3.7s; }
.demo-progress p:nth-child(5) { animation-delay: 4.15s; }

.demo-progress span {
  color: var(--terminal-ink);
}

.demo-progress i {
  display: block;
  height: 4px;
  border: 1px solid rgba(255, 240, 220, 0.28);
  background: linear-gradient(90deg, var(--accent), rgba(255, 240, 220, 0.2));
  transform-origin: left center;
  transform: scaleX(0);
  animation: progress-fill 700ms ease forwards;
}

.demo-progress p:nth-child(1) i { animation-delay: 2.62s; }
.demo-progress p:nth-child(2) i { animation-delay: 3.02s; }
.demo-progress p:nth-child(3) i { animation-delay: 3.42s; }
.demo-progress p:nth-child(4) i { animation-delay: 3.82s; }

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.before-after div {
  position: relative;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 240, 220, 0.18);
  overflow: hidden;
}

.before-after div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 240, 220, 0.12), transparent);
  transform: translateX(-120%);
  animation: panel-shine 4.8s ease-in-out infinite;
}

.before-after small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.before-after b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.first-use-visual .link-list {
  position: static;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.first-use-visual .link-list a {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  gap: 6px;
}

.first-use-visual .link-list span {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
}

.first-use-visual .link-list small {
  font-size: 0.68rem;
}

.community-band,
.demo-community {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 36%, rgba(255, 240, 220, 0.13), transparent 24%),
    linear-gradient(90deg, rgba(255, 240, 220, 0.045), transparent 48%),
    repeating-linear-gradient(115deg, rgba(255, 240, 220, 0.035) 0 1px, transparent 1px 12px);
}

.community-band::before,
.demo-community::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 45%, rgba(255, 240, 220, 0.1) 45.1% 45.35%, transparent 45.5% 100%),
    radial-gradient(circle at 82% 22%, rgba(255, 240, 220, 0.08), transparent 12%);
  transform: translate3d(calc(var(--pointer-x) * 0.6), calc(var(--pointer-y) * 0.5), 0);
  animation: light-sweep 13s ease-in-out infinite alternate;
}

.demo-community-visual {
  position: relative;
  z-index: 1;
  min-height: 620px;
}

.demo-community .community-qr-cell {
  align-content: center;
  justify-items: center;
  gap: 22px;
  min-height: 620px;
}

.demo-community .community-copy {
  min-height: 0;
  width: min(430px, 100%);
}

.demo-community .community-copy h2 {
  font-size: clamp(1.72rem, 2.55vw, 2.95rem);
  white-space: nowrap;
}

.demo-community .community-copy p:not(.kicker) {
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.78;
}

.demo-community .qr-stage {
  width: min(360px, 86vw);
}

.demo-community .qr-frame {
  width: min(284px, 78%);
}

.community-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 420px;
}

.community-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.community-copy p:not(.kicker) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
  text-transform: none;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-tags span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  background: rgba(13, 7, 24, 0.22);
  animation: flow-enter 520ms ease both;
}

.community-tags span:nth-child(2) { animation-delay: 80ms; }
.community-tags span:nth-child(3) { animation-delay: 160ms; }
.community-tags span:nth-child(4) { animation-delay: 240ms; }

.community-qr-cell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(13, 7, 24, 0.36), rgba(109, 79, 194, 0.16)),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 240, 220, 0.035) 72px 73px);
}

.qr-stage {
  position: relative;
  width: min(430px, 86vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 240, 220, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(255, 240, 220, 0.08), rgba(13, 7, 24, 0.3));
  box-shadow:
    16px 16px 0 rgba(13, 7, 24, 0.28),
    inset 0 0 0 1px rgba(255, 240, 220, 0.08);
}

.qr-stage::before,
.qr-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.qr-stage::before {
  inset: 14px;
  border: 1px solid rgba(255, 240, 220, 0.18);
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 240, 220, 0.14) 49.2% 49.6%, transparent 49.8% 100%),
    linear-gradient(0deg, transparent 0 49%, rgba(255, 240, 220, 0.14) 49.2% 49.6%, transparent 49.8% 100%);
  opacity: 0.55;
}

.qr-stage::after {
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px rgba(255, 240, 220, 0.45);
  animation: scan-line 4.8s ease-in-out infinite;
}

.qr-frame {
  position: relative;
  z-index: 1;
  width: min(340px, 78%);
  aspect-ratio: 1;
  padding: 10px;
  background: var(--ink);
  border: 1px solid rgba(13, 7, 24, 0.16);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.28),
    0 0 0 8px rgba(255, 240, 220, 0.06);
  transform: rotate(-1.5deg);
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beginner-guide {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 240, 220, 0.035), transparent 36%),
    linear-gradient(180deg, rgba(255, 240, 220, 0.028), transparent 32%);
}

.beginner-title {
  position: relative;
  padding: 34px var(--cell-pad) 30px;
  background:
    linear-gradient(90deg, rgba(255, 240, 220, 0.055), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 240, 220, 0.035) 84px 85px);
}

.beginner-title::after {
  content: "新手入门";
  position: absolute;
  right: var(--cell-pad);
  top: 24px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0.08;
  pointer-events: none;
}

.beginner-title h2,
.help-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}

.beginner-title p,
.help-copy p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  text-transform: none;
}

.beginner-panel {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px var(--cell-pad) 24px;
  min-width: 0;
  background: rgba(13, 7, 24, 0.08);
}

.beginner-panel:nth-of-type(2) {
  border-right: 0;
}

.beginner-panel small,
.service-links b {
  display: block;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beginner-panel small {
  color: var(--accent);
}

.beginner-panel ul,
.beginner-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.beginner-panel li {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 16px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-transform: none;
}

.beginner-panel ol li {
  counter-increment: guide-step;
  grid-template-columns: 38px 1fr;
}

.beginner-panel ol li::before {
  content: counter(guide-step, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-code);
  font-size: 0.78rem;
}

.beginner-panel b {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.beginner-panel span,
.service-links span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  text-transform: none;
}

.beginner-problems {
  grid-column: 1 / -1;
  position: relative;
  padding: 0;
  border-right: 0;
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.08), transparent 42%),
    linear-gradient(90deg, rgba(13, 7, 24, 0.15), rgba(13, 7, 24, 0.04));
  overflow: hidden;
}

.beginner-problems::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(255, 240, 220, 0.08) 64.1% 64.35%, transparent 64.55% 100%),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 240, 220, 0.035) 18px 19px);
  opacity: 0.68;
}

.problem-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 18px 34px;
  align-items: end;
  padding: 28px var(--cell-pad) 22px;
  border-bottom: 1px solid var(--line);
}

.problem-intro .kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent);
}

.problem-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.problem-intro p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  text-transform: none;
}

.problem-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card {
  min-height: 172px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 7, 24, 0.08);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.problem-card:nth-child(3n) {
  border-right: 0;
}

.problem-card summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-height: 172px;
  padding: 20px var(--cell-pad);
  cursor: pointer;
  list-style: none;
}

.problem-card summary::-webkit-details-marker {
  display: none;
}

.problem-card:hover,
.problem-card[open] {
  background: rgba(255, 240, 220, 0.05);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08);
}

.problem-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-code);
  font-size: 0.78rem;
  line-height: 1;
}

.problem-copy b {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.35vw, 1.34rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: none;
}

.problem-copy small,
.problem-card p {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
  text-transform: none;
}

.problem-card p {
  margin: -4px var(--cell-pad) 20px calc(var(--cell-pad) + 58px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.problem-card p b {
  color: var(--ink);
  font-weight: 700;
}

.problem-action {
  align-self: start;
  border: 1px solid var(--line);
  padding: 6px 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.problem-card:hover .problem-action,
.problem-card[open] .problem-action {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-deep);
}

.problem-copy code,
.problem-card code {
  color: var(--ink);
  font-size: 0.86em;
}

.beginner-help {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 240, 220, 0.05), transparent 45%),
    rgba(13, 7, 24, 0.1);
}

.service-links {
  display: grid;
  gap: 12px;
}

.service-links a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.service-links a:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: translateX(5px);
}

.service-links b {
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.agent-brief {
  text-transform: none;
}

.agent-brief .cell {
  min-height: 0;
}

.agent-brief-title {
  display: flex;
  align-items: flex-start;
}

.agent-brief-title h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agent-brief ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.agent-brief li {
  margin: 0 0 7px;
  font-size: 0.88rem;
  line-height: 1.62;
}

.agent-brief code {
  color: var(--ink);
  font-size: 0.82rem;
  word-break: break-all;
}

.cell {
  min-height: 120px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--cell-pad);
  min-width: 0;
}

.cell:nth-child(2n) {
  border-right: 0;
}

.demo {
  min-height: 408px;
}

.terminal-cell h2,
.section-title h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.terminal {
  position: relative;
  min-height: 320px;
  border: 4px double currentColor;
  max-width: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(13, 7, 24, 0.92), rgba(13, 7, 24, 0.92)),
    radial-gradient(circle at 72% 20%, rgba(217, 195, 255, 0.1), transparent 32%);
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: rise-in 620ms 180ms ease both;
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 240, 220, 0.12) 40%, transparent 43% 100%);
  transform: translateX(-110%);
  animation: panel-shine 7.5s ease-in-out infinite;
}

.terminal:hover {
  transform: translateY(-3px);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  border-bottom: 1px solid rgba(255, 240, 220, 0.13);
  padding: 0 12px;
}

.terminal-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.terminal-top span:nth-child(2) {
  opacity: 0.62;
}

.terminal-top span:nth-child(3) {
  opacity: 0.34;
}

.terminal-top b {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--font-code);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
}

.terminal pre {
  margin: 0;
  padding: 16px;
  min-height: 288px;
  color: rgba(255, 240, 220, 0.78);
  font-size: 0.75rem;
  line-height: 1.72;
  white-space: pre-wrap;
}

.terminal-body {
  min-height: 288px;
  padding: 16px;
  color: rgba(255, 240, 220, 0.82);
  font-family: var(--font-code);
  font-size: 0.75rem;
  line-height: 1.72;
  text-transform: none;
}

.tui-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tui-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: start;
}

.tui-label {
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.tui-user {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.tui-agent p {
  margin: 0;
  color: var(--muted);
}

.typing-line {
  margin: 0;
  min-height: 1.7em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.typing-line span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.typed-command {
  display: inline-block;
  vertical-align: bottom;
}

.typing-cursor {
  display: inline-block;
  width: 0.65ch;
  height: 1.1em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -0.18em;
  animation: cursor-blink 760ms steps(2, start) infinite;
}

.terminal-output p {
  margin: 0 0 4px;
  opacity: 0;
  transform: translateY(6px);
  animation: terminal-line 420ms ease forwards;
}

.terminal-output p:nth-child(1) { animation-delay: 2.7s; }
.terminal-output p:nth-child(2) { animation-delay: 3.05s; }
.terminal-output p:nth-child(3) { animation-delay: 3.4s; }
.terminal-output p:nth-child(4) { animation-delay: 3.75s; }
.terminal-output p:nth-child(5) { animation-delay: 4.1s; margin-bottom: 22px; }
.terminal-output p:nth-child(6) { animation-delay: 4.65s; }
.terminal-output p:nth-child(7) { animation-delay: 4.95s; }

.success {
  color: var(--accent);
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@keyframes shell-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes texture-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 18px, 24px 0, -18px 10px;
  }
}

@keyframes light-sweep {
  from {
    transform: translateX(-5%) rotate(0.001deg);
  }
  to {
    transform: translateX(5%) rotate(0.001deg);
  }
}

@keyframes grid-breathe {
  from {
    opacity: 0.46;
  }
  to {
    opacity: 0.82;
  }
}

@keyframes frame-float {
  from {
    opacity: 0.42;
  }
  to {
    opacity: 0.64;
  }
}

@keyframes panel-shine {
  0%,
  62% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes terminal-line {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flow-enter {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes progress-fill {
  to {
    transform: scaleX(1);
  }
}

@keyframes scan-line {
  0%,
  100% {
    transform: translateY(28px);
    opacity: 0.12;
  }
  48%,
  52% {
    opacity: 0.95;
  }
  50% {
    transform: translateY(392px);
  }
}

.prompt {
  color: var(--accent);
}

.image-cell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 44%, rgba(217, 195, 255, 0.22), transparent 12%),
    radial-gradient(circle at 28% 72%, rgba(255, 240, 220, 0.1), transparent 20%),
    linear-gradient(130deg, rgba(13, 7, 24, 0.3), rgba(109, 79, 194, 0.45));
}

.image-cell::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(72deg, transparent 0 43%, rgba(255, 240, 220, 0.08) 43.2% 43.45%, transparent 43.7% 100%),
    linear-gradient(140deg, transparent 0 65%, rgba(255, 240, 220, 0.06) 65.2% 65.45%, transparent 65.7% 100%);
  transform: translate3d(calc(var(--pointer-x) * 0.4), calc(var(--pointer-y) * 0.3), 0);
  animation: light-sweep 11s ease-in-out infinite alternate;
}

.link-list {
  position: absolute;
  left: 40px;
  top: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(500px, calc(100% - 80px));
}

.link-list a {
  min-height: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  color: var(--muted);
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  animation: rise-in 560ms ease both;
}

.link-list a:nth-child(1) {
  animation-delay: 220ms;
}

.link-list a:nth-child(2) {
  animation-delay: 300ms;
}

.link-list a:nth-child(3) {
  animation-delay: 380ms;
}

.link-list a:hover {
  background: transparent;
  color: var(--ink);
  transform: translateX(4px);
}

.link-list span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.link-list small {
  width: 100%;
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  overflow-wrap: anywhere;
}

.engraving {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 240, 220, 0.07) 0 1px, transparent 1px 9px),
    radial-gradient(ellipse at 64% 45%, transparent 0 25%, rgba(13, 7, 24, 0.48) 25.3% 26%, transparent 26.4%),
    radial-gradient(ellipse at 44% 60%, rgba(255, 240, 220, 0.2), transparent 8%),
    radial-gradient(ellipse at 54% 58%, rgba(255, 240, 220, 0.14), transparent 15%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

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

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

.updates .section-title {
  background:
    linear-gradient(90deg, rgba(255, 240, 220, 0.05), transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 240, 220, 0.028) 92px 93px);
}

.updates .feature {
  min-height: 158px;
}

.section-title {
  grid-column: 1 / -1;
  min-height: auto;
}

.feature {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 16px 48px;
  min-height: 180px;
  min-width: 0;
}

.feature:nth-child(3n + 1) {
  border-right: 0;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--ink);
  opacity: 0;
  transition: opacity 160ms ease;
}

.feature:hover::after {
  opacity: 0.045;
}

.feature h3 {
  color: var(--ink);
}

.feature p {
  color: var(--muted);
  text-transform: none;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 12px 0 0;
}

.version {
  grid-template-columns: 1fr;
}

.intro-link {
  grid-template-columns: 1fr;
}

.detail-cta {
  display: flex;
  min-height: 112px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-right: 0;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.detail-cta strong {
  color: var(--accent);
  font-weight: 500;
}

.resolver {
  border-right: 0;
  padding: 0;
}

.resolver-head {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.resolver-head strong {
  color: var(--accent);
  font-weight: 500;
}

.resolver pre {
  margin: 0;
  padding: 18px 16px 26px;
  color: rgba(255, 240, 220, 0.78);
  font-size: 0.85rem;
  line-height: 1.75;
  white-space: pre-wrap;
  text-transform: none;
}

.footer {
  grid-template-columns: 2fr 1fr;
  border-bottom: 1px solid var(--line);
}

.footer .cell {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.footer small,
.footer a {
  font-family: var(--font-display);
  color: var(--muted);
  letter-spacing: 0.2em;
}

.footer small:first-child {
  color: var(--ink);
}

.detail-hero {
  min-height: 360px;
}

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

.file-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.file-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-transform: none;
}

.file-list li:last-child {
  border-bottom: 0;
}

.file-list b {
  color: var(--ink);
  font-family: var(--font-code);
  font-weight: 600;
}

html[data-theme="orange"] {
  --bg: #160801;
  --bg-deep: #050201;
  --ink: #fff4df;
  --muted: rgba(255, 244, 223, 0.68);
  --faint: rgba(255, 125, 22, 0.18);
  --line: rgba(255, 132, 31, 0.36);
  --accent: #ff7a1a;
  --violet: #ff7a1a;
  --electric: #35c9ff;
  --terminal-ink: rgba(255, 244, 223, 0.88);
  --terminal-panel: rgba(8, 3, 0, 0.94);
  --cursor-core: rgba(255, 122, 26, 0.22);
  --cursor-soft: rgba(255, 184, 86, 0.11);
  --focus-panel: rgba(255, 122, 26, 0.1);
}

html[data-theme="orange"] body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 122, 26, 0.24), transparent 38%),
    radial-gradient(ellipse at 88% 22%, rgba(53, 201, 255, 0.08), transparent 25%),
    linear-gradient(122deg, transparent 0 22%, rgba(255, 122, 26, 0.18) 22% 22.45%, transparent 22.45% 100%),
    linear-gradient(58deg, transparent 0 64%, rgba(255, 179, 88, 0.1) 64% 64.4%, transparent 64.4% 100%),
    repeating-linear-gradient(90deg, rgba(255, 244, 223, 0.026) 0 1px, transparent 1px 96px),
    linear-gradient(155deg, #050201 0%, #130601 44%, #2f1201 100%);
}

html[data-theme="orange"] body::before {
  background:
    repeating-linear-gradient(135deg, rgba(255, 184, 86, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, transparent 0 12%, rgba(255, 122, 26, 0.1) 12% 12.2%, transparent 12.2% 78%, rgba(255, 244, 223, 0.08) 78% 78.1%, transparent 78.1% 100%),
    radial-gradient(ellipse at 50% 18%, rgba(255, 122, 26, 0.14), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.62;
}

html[data-theme="orange"] .shell {
  border-color: rgba(255, 132, 31, 0.42);
  background:
    linear-gradient(rgba(9, 3, 0, 0.72), rgba(18, 6, 1, 0.86)),
    linear-gradient(118deg, rgba(255, 122, 26, 0.13) 0 18%, transparent 18.2% 100%),
    linear-gradient(180deg, rgba(255, 244, 223, 0.035), transparent 36%);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 244, 223, 0.04);
}

html[data-theme="orange"] .topbar {
  background: rgba(7, 3, 0, 0.45);
  backdrop-filter: blur(18px);
}

html[data-theme="orange"] .brand,
html[data-theme="orange"] h1 {
  color: #fff6d9;
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.78),
    4px 5px 0 rgba(83, 28, 0, 0.52),
    0 0 34px rgba(255, 122, 26, 0.08);
}

html[data-theme="orange"] .hero {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 244, 223, 0.13), transparent 31%),
    radial-gradient(ellipse at 50% 76%, rgba(255, 122, 26, 0.24), transparent 34%),
    radial-gradient(circle at 80% 22%, rgba(53, 201, 255, 0.075), transparent 18%),
    linear-gradient(116deg, transparent 0 58%, rgba(255, 122, 26, 0.12) 58% 58.25%, transparent 58.45% 100%),
    repeating-linear-gradient(0deg, rgba(255, 244, 223, 0.035) 0 1px, transparent 1px 28px),
    linear-gradient(90deg, rgba(255, 122, 26, 0.06), transparent 34%, rgba(255, 190, 96, 0.09));
}

html[data-theme="orange"] .install-panel {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(255, 244, 223, 0.052), rgba(8, 3, 0, 0.34));
  box-shadow:
    16px 16px 0 rgba(83, 28, 0, 0.22),
    0 22px 78px rgba(255, 95, 0, 0.08),
    inset 0 0 0 1px rgba(255, 244, 223, 0.05);
}

html[data-theme="orange"] .install-panel-head span {
  color: #fff6d9;
}

html[data-theme="orange"] .hero-community {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.13), transparent 52%),
    rgba(8, 3, 0, 0.36);
  box-shadow:
    10px 10px 0 rgba(83, 28, 0, 0.22),
    inset 0 0 0 1px rgba(255, 244, 223, 0.04);
}

html[data-theme="orange"] .hero-community:hover {
  border-color: #ff9b3d;
  background: rgba(255, 122, 26, 0.08);
}

html[data-theme="orange"] .hero::after {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -27%;
  width: min(940px, 84vw);
  height: 62%;
  border: 0;
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(255, 154, 61, 0.34) 49.9% 50.1%, transparent 50.3% 100%),
    linear-gradient(72deg, transparent 0 49.7%, rgba(255, 184, 86, 0.14) 49.9% 50.1%, transparent 50.3% 100%),
    linear-gradient(108deg, transparent 0 49.7%, rgba(255, 184, 86, 0.14) 49.9% 50.1%, transparent 50.3% 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 184, 86, 0.16), transparent 40%);
  transform: translateX(-50%) perspective(560px) rotateX(61deg);
  transform-origin: center bottom;
  opacity: 0.64;
  pointer-events: none;
  animation: grid-breathe 10s ease-in-out infinite alternate;
}

html[data-theme="orange"] .kicker,
html[data-theme="orange"] .section-title h2,
html[data-theme="orange"] .terminal-cell h2,
html[data-theme="orange"] .feature h3,
html[data-theme="orange"] .resolver-head,
html[data-theme="orange"] .steps small {
  color: rgba(255, 189, 99, 0.82);
}

html[data-theme="orange"] .theme-switch {
  background: rgba(5, 2, 1, 0.52);
  box-shadow: inset 0 0 18px rgba(255, 122, 26, 0.12);
}

html[data-theme="orange"] .theme-choice.is-active {
  background: linear-gradient(135deg, #ff6b00, #ffb35b);
  color: #130600;
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.28);
}

html[data-theme="orange"] .nav-primary,
html[data-theme="orange"] .guide-jump {
  background: rgba(255, 122, 26, 0.12);
  border-color: rgba(255, 122, 26, 0.48);
}

html[data-theme="orange"] .command-input,
html[data-theme="orange"] .terminal {
  background:
    linear-gradient(var(--terminal-panel), var(--terminal-panel)),
    linear-gradient(135deg, rgba(255, 122, 26, 0.18), transparent 52%);
}

html[data-theme="orange"] .terminal {
  color: #ffd8a3;
  box-shadow:
    8px 8px 0 rgba(255, 122, 26, 0.2),
    inset 0 0 0 1px rgba(255, 244, 223, 0.07);
}

html[data-theme="orange"] .terminal:hover {
  box-shadow:
    12px 12px 0 rgba(255, 122, 26, 0.24),
    0 20px 64px rgba(255, 95, 0, 0.12),
    inset 0 0 0 1px rgba(255, 244, 223, 0.09);
}

html[data-theme="orange"] .terminal-body,
html[data-theme="orange"] .terminal pre,
html[data-theme="orange"] .resolver pre {
  color: var(--terminal-ink);
}

html[data-theme="orange"] .image-cell {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.2) 0 24%, transparent 24.2%),
    linear-gradient(65deg, transparent 0 69%, rgba(255, 184, 86, 0.16) 69% 69.5%, transparent 69.5% 100%),
    repeating-linear-gradient(115deg, rgba(255, 244, 223, 0.065) 0 1px, transparent 1px 11px),
    linear-gradient(135deg, #100501, #462006);
}

html[data-theme="orange"] .engraving {
  background:
    repeating-linear-gradient(115deg, rgba(255, 244, 223, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(140deg, transparent 0 38%, rgba(255, 122, 26, 0.34) 38% 38.35%, transparent 38.35% 100%),
    linear-gradient(55deg, transparent 0 66%, rgba(255, 244, 223, 0.18) 66% 66.25%, transparent 66.25% 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

html[data-theme="orange"] .link-list a {
  border-left: 2px solid rgba(255, 122, 26, 0.52);
  padding-left: 16px;
  transform-origin: left center;
}

html[data-theme="orange"] .link-list a:hover {
  border-left-color: #ff9b3d;
  transform: translateX(7px) scale(1.015);
}

html[data-theme="orange"] .link-list span {
  color: #fff6d9;
}

html[data-theme="orange"] .link-list small {
  color: rgba(255, 216, 163, 0.78);
}

html[data-theme="orange"] .beginner-title h2,
html[data-theme="orange"] .help-copy h2 {
  color: #fff6d9;
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.42),
    3px 4px 0 rgba(83, 28, 0, 0.34);
}

html[data-theme="orange"] .beginner-guide {
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 122, 26, 0.055), transparent 34%);
}

html[data-theme="orange"] .community-band,
html[data-theme="orange"] .demo-community {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 151, 46, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255, 122, 26, 0.16), transparent 50%),
    repeating-linear-gradient(115deg, rgba(255, 244, 223, 0.045) 0 1px, transparent 1px 12px);
}

html[data-theme="orange"] .community-copy h2 {
  color: #fff6d9;
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.44),
    3px 4px 0 rgba(83, 28, 0, 0.34);
}

html[data-theme="orange"] .community-tags span {
  border-color: rgba(255, 122, 26, 0.42);
  background: rgba(255, 122, 26, 0.1);
}

html[data-theme="orange"] .qr-stage {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 151, 46, 0.2), transparent 58%),
    linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(13, 7, 24, 0.32));
  box-shadow:
    16px 16px 0 rgba(83, 28, 0, 0.3),
    inset 0 0 0 1px rgba(255, 244, 223, 0.08);
}

html[data-theme="orange"] .beginner-title {
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.16), transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 184, 86, 0.05) 84px 85px);
}

html[data-theme="orange"] .beginner-problems {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 122, 26, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 122, 26, 0.16), transparent 46%),
    linear-gradient(90deg, rgba(13, 7, 24, 0.22), rgba(13, 7, 24, 0.04));
}

html[data-theme="orange"] .problem-intro .kicker,
html[data-theme="orange"] .problem-index {
  color: #ff9b3d;
}

html[data-theme="orange"] .beginner-panel:hover,
html[data-theme="orange"] .problem-card:hover,
html[data-theme="orange"] .problem-card[open],
html[data-theme="orange"] .service-links a:hover {
  background: rgba(255, 122, 26, 0.055);
}

html[data-theme="orange"] .problem-card:hover .problem-action,
html[data-theme="orange"] .problem-card[open] .problem-action {
  border-color: #ff9b3d;
  background: #ff9b3d;
  color: #130600;
}

html[data-theme="orange"] .beginner-panel ol li::before,
html[data-theme="orange"] .service-links a:hover b {
  color: #ff9b3d;
}

html[data-theme="orange"] .feature::after {
  background: #ff7a1a;
}

html[data-theme="orange"] .updates .section-title {
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.12), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 184, 86, 0.045) 92px 93px);
}

html[data-theme="orange"] .success,
html[data-theme="orange"] .prompt,
html[data-theme="orange"] .tui-label,
html[data-theme="orange"] .resolver-head strong {
  color: #ff9b3d;
}

@media (max-width: 920px) {
  .shell {
    width: calc(100% - 28px);
    margin: 14px auto;
  }

  .topbar {
    grid-template-columns: 1fr;
    min-height: 104px;
  }

  .brand {
    border-right: 0;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 12px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 16px 46px;
    width: 100%;
  }

  .install-panel {
    width: min(100%, 620px);
    margin: 0 auto;
  }

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

  .hero-copy::after {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-community {
    position: static;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.3rem);
  }

  .first-use-flow article {
    grid-template-columns: 44px 1fr;
    gap: 8px 12px;
  }

  .first-use-flow small {
    grid-column: 2;
  }

  .first-use-visual .link-list {
    grid-template-columns: 1fr;
  }

  .community-copy,
  .community-qr-cell {
    min-height: 0;
  }

  .community-copy h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .qr-stage {
    width: min(360px, 100%);
  }

  .qr-frame {
    width: min(292px, 78%);
  }

  .grid,
  .features,
  .updates,
  .footer {
    grid-template-columns: 1fr;
  }

  .beginner-panel,
  .beginner-panel:nth-of-type(2),
  .beginner-problems {
    border-right: 0;
  }

  .beginner-help {
    grid-template-columns: 1fr;
  }

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

  .problem-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .problem-card:nth-child(2n) {
    border-right: 0;
  }

  .cell,
  .feature,
  .cell:nth-child(2n),
  .feature:nth-child(3n + 1) {
    border-right: 0;
  }

  .image-cell {
    min-height: 260px;
  }

  .link-list {
    left: 16px;
    top: 16px;
    width: calc(100% - 32px);
    gap: 16px;
  }

  .resolver-head {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .shell {
    width: calc(100% - 18px);
    margin: 9px auto;
  }

  .brand {
    font-size: 2.2rem;
  }

  .tools {
    display: none;
  }

  .kicker,
  .section-title h2,
  .terminal-cell h2,
  .feature h3,
  .footer small,
  .resolver-head,
  .steps small {
    letter-spacing: 0.16em;
  }

  .kicker {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.05rem, 8.8vw, 2.65rem);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .lede {
    font-size: 0.98rem;
    max-width: 320px;
  }

  .steps {
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .install-panel {
    width: min(100%, 360px);
    padding: 14px;
    box-shadow:
      10px 10px 0 rgba(13, 7, 24, 0.16),
      inset 0 0 0 1px rgba(255, 240, 220, 0.035);
  }

  .install-panel-head {
    flex-direction: column;
    gap: 6px;
  }

  .install-panel-head small {
    white-space: normal;
  }

  .hero-community {
    grid-template-columns: 62px minmax(0, 1fr);
    width: min(100%, 300px);
    margin-top: 16px;
  }

  .hero-community img {
    width: 62px;
    height: 62px;
  }

  .terminal pre,
  .terminal-body,
  .resolver pre,
  .steps code {
    font-size: 0.75rem;
  }

  .steps small {
    font-size: 0.84rem;
    letter-spacing: 0.09em;
  }

  .terminal pre,
  .steps code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .terminal-body {
    line-height: 1.55;
  }

  .typing-line,
  .typed-command {
    word-break: break-all;
  }

  .terminal {
    border-width: 3px;
  }

  .cell {
    padding: 16px;
  }

  .beginner-title {
    padding: 24px 16px;
  }

  .beginner-title::after {
    top: 12px;
    right: 16px;
    font-size: 3rem;
  }

  .beginner-panel li,
  .beginner-panel ol li,
  .problem-list,
  .problem-intro {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .problem-card:nth-child(2n),
  .problem-card:nth-child(3n) {
    border-right: 0;
  }

  .problem-card summary {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 0;
    padding: 18px 16px;
  }

  .problem-action {
    grid-column: 2;
    width: fit-content;
  }

  .problem-card p {
    margin: -2px 16px 18px 54px;
  }

  .detail-cta,
  .file-list li {
    grid-template-columns: 1fr;
  }
}

/* 2026 fashion refresh: quieter canvas, stronger hierarchy, less visual noise. */
html[data-theme="orange"] body {
  background:
    radial-gradient(ellipse at 50% -18%, rgba(255, 116, 14, 0.22), transparent 42%),
    radial-gradient(ellipse at 78% 18%, rgba(255, 230, 186, 0.055), transparent 24%),
    linear-gradient(110deg, transparent 0 28%, rgba(255, 115, 0, 0.1) 28.08% 28.18%, transparent 28.28% 100%),
    linear-gradient(160deg, #050201 0%, #0e0401 56%, #210b01 100%);
}

html[data-theme="orange"] body::before {
  background:
    radial-gradient(ellipse at 50% 16%, rgba(255, 138, 30, 0.08), transparent 44%),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(255, 244, 223, 0.018) 112px 113px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 244, 223, 0.012) 42px 43px);
  opacity: 0.7;
}

html[data-theme="orange"] body::after {
  background:
    linear-gradient(100deg, transparent 0 46%, rgba(255, 129, 24, 0.08) 46.12% 46.26%, transparent 46.4% 100%),
    linear-gradient(78deg, transparent 0 67%, rgba(255, 244, 223, 0.045) 67.08% 67.16%, transparent 67.3% 100%);
  opacity: 0.34;
}

html[data-theme="orange"] .shell {
  width: calc(100% - 64px);
  max-width: 1400px;
  background:
    linear-gradient(rgba(8, 3, 0, 0.88), rgba(12, 4, 1, 0.92)),
    radial-gradient(ellipse at 50% 8%, rgba(255, 122, 26, 0.08), transparent 34%);
  border-color: rgba(255, 135, 32, 0.38);
  box-shadow:
    0 38px 130px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 244, 223, 0.03);
}

html[data-theme="orange"] .topbar {
  grid-template-columns: 260px 300px 1fr;
  min-height: 86px;
  background: rgba(6, 2, 0, 0.72);
}

html[data-theme="orange"] .brand {
  padding: 13px 18px;
  font-size: clamp(1.82rem, 2.65vw, 2.72rem);
  line-height: 0.86;
}

html[data-theme="orange"] .brand span:last-child {
  font-size: clamp(1.18rem, 1.55vw, 1.52rem);
  line-height: 1.04;
}

html[data-theme="orange"] .brand,
html[data-theme="orange"] h1 {
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.58),
    3px 3px 0 rgba(72, 23, 0, 0.54);
}

html[data-theme="orange"] .nav a,
html[data-theme="orange"] .tools {
  padding: 15px 16px;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
}

html[data-theme="orange"] .theme-switch {
  background: rgba(255, 244, 223, 0.035);
}

html[data-theme="orange"] .hero {
  min-height: 690px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 244, 223, 0.1), transparent 29%),
    radial-gradient(ellipse at 50% 82%, rgba(255, 122, 26, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(255, 122, 26, 0.035), transparent 28%, rgba(255, 244, 223, 0.025) 50%, transparent 72%),
    #090300;
}

html[data-theme="orange"] .hero::before {
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(255, 244, 223, 0.08) 49.96% 50.04%, transparent 50.08% 100%),
    repeating-linear-gradient(90deg, transparent 0 132px, rgba(255, 244, 223, 0.018) 132px 133px);
  opacity: 0.58;
}

html[data-theme="orange"] .hero::after {
  bottom: -34%;
  width: min(980px, 72vw);
  height: 58%;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 0 49.75%, rgba(255, 154, 61, 0.32) 49.92% 50.08%, transparent 50.25% 100%),
    linear-gradient(70deg, transparent 0 49.78%, rgba(255, 184, 86, 0.1) 49.94% 50.06%, transparent 50.22% 100%),
    linear-gradient(110deg, transparent 0 49.78%, rgba(255, 184, 86, 0.1) 49.94% 50.06%, transparent 50.22% 100%);
}

html[data-theme="orange"] .hero-inner {
  width: min(860px, calc(100% - 48px));
  padding: 62px 0 76px;
  gap: 26px;
}

html[data-theme="orange"] .hero-copy::before {
  width: min(720px, 82vw);
  border-color: rgba(255, 132, 31, 0.12);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 122, 26, 0.055), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 244, 223, 0.014) 34px 35px);
  transform: translate(-50%, -47%) skewX(-6deg);
}

html[data-theme="orange"] .hero-copy::after {
  width: min(360px, 62%);
  margin-top: 24px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.95), rgba(255, 244, 223, 0.5), transparent);
}

html[data-theme="orange"] .kicker {
  margin-bottom: 14px;
  color: rgba(255, 184, 86, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

html[data-theme="orange"] h1 {
  font-size: clamp(4.05rem, 8.25vw, 7.9rem);
  line-height: 0.86;
}

html[data-theme="orange"] .lede {
  margin-top: 22px;
  color: rgba(255, 244, 223, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

html[data-theme="orange"] .hero-meta {
  margin-top: 20px;
  gap: 12px;
}

html[data-theme="orange"] .install-stat {
  color: rgba(255, 244, 223, 0.62);
  font-size: 0.78rem;
}

html[data-theme="orange"] .guide-jump {
  background: rgba(255, 244, 223, 0.035);
  border-color: rgba(255, 132, 31, 0.38);
  padding: 9px 14px;
}

html[data-theme="orange"] .hero-community {
  position: static;
  width: 220px;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  margin: 18px auto 0;
  padding: 7px;
  border-color: rgba(255, 132, 31, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.04), transparent 58%),
    rgba(8, 3, 0, 0.72);
  box-shadow: none;
}

html[data-theme="orange"] .hero-community img {
  width: 48px;
  height: 48px;
}

html[data-theme="orange"] .hero-community b {
  font-size: 0.82rem;
}

html[data-theme="orange"] .hero-community small {
  margin-top: 4px;
  font-size: 0.66rem;
}

html[data-theme="orange"] .install-panel {
  width: min(660px, 100%);
  padding: 14px 16px 16px;
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.052), transparent 48%),
    rgba(8, 3, 0, 0.64);
  border-color: rgba(255, 132, 31, 0.34);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

html[data-theme="orange"] .install-panel::before {
  inset: 8px;
  border-color: rgba(255, 244, 223, 0.045);
}

html[data-theme="orange"] .install-panel-head {
  padding-bottom: 12px;
}

html[data-theme="orange"] .install-panel-head span {
  font-size: clamp(1.16rem, 1.5vw, 1.5rem);
}

html[data-theme="orange"] .install-panel-head small {
  color: rgba(255, 184, 86, 0.82);
  font-size: 0.7rem;
}

html[data-theme="orange"] .steps {
  gap: 13px;
}

html[data-theme="orange"] .steps article > div {
  margin-bottom: 5px;
}

html[data-theme="orange"] .steps small {
  color: rgba(255, 184, 86, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

html[data-theme="orange"] .command-input {
  border-color: rgba(255, 132, 31, 0.34);
  background: rgba(5, 2, 1, 0.78);
}

html[data-theme="orange"] .steps code,
html[data-theme="orange"] .steps button {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.78rem;
}

html[data-theme="orange"] .steps button {
  background: rgba(255, 122, 26, 0.1);
}

html[data-theme="orange"] .steps article:hover .command-input {
  transform: translateX(0);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35);
}

html[data-theme="orange"] .beginner-guide {
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.055), transparent 45%),
    #0b0301;
}

html[data-theme="orange"] .beginner-title {
  padding: 30px var(--cell-pad) 26px;
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.1), transparent 48%),
    #110501;
}

html[data-theme="orange"] .beginner-title::after {
  opacity: 0.055;
}

html[data-theme="orange"] .beginner-title h2,
html[data-theme="orange"] .help-copy h2,
html[data-theme="orange"] .community-copy h2 {
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.34),
    2px 3px 0 rgba(72, 23, 0, 0.32);
}

html[data-theme="orange"] .beginner-problems {
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.07), transparent 56%),
    #0a0301;
}

html[data-theme="orange"] .beginner-problems::before {
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(255, 244, 223, 0.035) 50.02% 50.1%, transparent 50.18% 100%),
    repeating-linear-gradient(115deg, transparent 0 20px, rgba(255, 244, 223, 0.02) 20px 21px);
  opacity: 0.5;
}

html[data-theme="orange"] .problem-intro {
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 1fr);
  padding: 30px var(--cell-pad) 24px;
}

html[data-theme="orange"] .problem-intro h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.34),
    2px 3px 0 rgba(72, 23, 0, 0.32);
}

html[data-theme="orange"] .problem-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0 var(--cell-pad) 22px;
}

html[data-theme="orange"] .problem-card,
html[data-theme="orange"] .problem-card:nth-child(2n),
html[data-theme="orange"] .problem-card:nth-child(3n) {
  min-height: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 132, 31, 0.24);
  background: rgba(255, 244, 223, 0.018);
}

html[data-theme="orange"] .problem-card:nth-child(odd) {
  border-right: 1px solid rgba(255, 132, 31, 0.24);
}

html[data-theme="orange"] .problem-card summary {
  min-height: 0;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 18px 16px;
}

html[data-theme="orange"] .problem-copy b {
  margin-bottom: 7px;
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
}

html[data-theme="orange"] .problem-copy small,
html[data-theme="orange"] .problem-card p {
  font-size: 0.9rem;
  line-height: 1.68;
}

html[data-theme="orange"] .problem-card p {
  margin: -3px 16px 17px 74px;
}

html[data-theme="orange"] .problem-action {
  padding: 5px 8px;
  font-size: 0.72rem;
  border-color: rgba(255, 132, 31, 0.34);
}

html[data-theme="orange"] .beginner-panel {
  background: rgba(255, 244, 223, 0.016);
}

html[data-theme="orange"] .beginner-panel:hover,
html[data-theme="orange"] .problem-card:hover,
html[data-theme="orange"] .problem-card[open],
html[data-theme="orange"] .service-links a:hover {
  background: rgba(255, 122, 26, 0.04);
}

@media (max-width: 920px) {
  html[data-theme="orange"] .shell {
    width: calc(100% - 28px);
  }

  html[data-theme="orange"] .topbar {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  html[data-theme="orange"] .brand {
    min-height: 88px;
  }

  html[data-theme="orange"] .hero-inner {
    width: 100%;
    padding: 44px 16px 42px;
  }

  html[data-theme="orange"] h1 {
    font-size: clamp(3rem, 15vw, 4.45rem);
  }

  html[data-theme="orange"] .hero-community {
    position: static;
    width: min(300px, 100%);
    grid-template-columns: 56px minmax(0, 1fr);
    margin: 16px auto 0;
  }

  html[data-theme="orange"] .hero-community img {
    width: 56px;
    height: 56px;
  }

  html[data-theme="orange"] .problem-list {
    grid-template-columns: 1fr;
    padding: 0 16px 20px;
  }

  html[data-theme="orange"] .problem-card:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  html[data-theme="orange"] .shell {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  html[data-theme="orange"] .brand {
    min-height: 80px;
    font-size: 2rem;
  }

  html[data-theme="orange"] .brand:hover {
    transform: none;
  }

  html[data-theme="orange"] .brand span:last-child {
    font-size: 1.08rem;
  }

  html[data-theme="orange"] .nav a {
    padding: 14px 16px;
  }

  html[data-theme="orange"] .hero-inner {
    padding: 36px 14px 32px;
    gap: 22px;
  }

  html[data-theme="orange"] .kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  html[data-theme="orange"] h1 {
    font-size: clamp(2.28rem, 12vw, 3.18rem);
    line-height: 0.9;
  }

  html[data-theme="orange"] .lede {
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.66;
  }

  html[data-theme="orange"] .hero-meta {
    margin-top: 18px;
  }

  html[data-theme="orange"] .guide-jump {
    width: min(100%, 274px);
    font-size: 0.82rem;
  }

  html[data-theme="orange"] .hero-community {
    width: min(100%, 300px);
  }

  html[data-theme="orange"] .install-panel {
    width: min(100%, 338px);
    padding: 13px;
  }

  html[data-theme="orange"] .install-panel-head span {
    font-size: 1.25rem;
  }

  html[data-theme="orange"] .steps {
    width: min(100%, 338px);
  }

  html[data-theme="orange"] .steps code,
  html[data-theme="orange"] .steps button {
    font-size: 0.72rem;
  }

  html[data-theme="orange"] .beginner-title {
    padding: 24px 16px 22px;
  }

  html[data-theme="orange"] .problem-intro {
    padding: 24px 16px 18px;
  }

  html[data-theme="orange"] .problem-intro h2 {
    font-size: 2rem;
  }

  html[data-theme="orange"] .problem-card summary {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 17px 0;
  }

  html[data-theme="orange"] .problem-action {
    grid-column: 2;
  }

  html[data-theme="orange"] .problem-card p {
    margin: -4px 0 16px 54px;
  }
}

/* Approved first-screen design. */
html[data-theme="orange"] body {
  background:
    radial-gradient(ellipse at 76% 24%, rgba(255, 115, 0, 0.14), transparent 30%),
    linear-gradient(160deg, #030201 0%, #080301 50%, #150701 100%);
}

html[data-theme="orange"] .shell {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  background: #050201;
  box-shadow: none;
}

html[data-theme="orange"] .topbar {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(168px, 240px) minmax(0, 1fr) minmax(168px, 250px);
  align-items: center;
  padding: 0 clamp(18px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(255, 121, 25, 0.55);
  background:
    linear-gradient(90deg, rgba(255, 121, 25, 0.04), transparent 38%),
    rgba(5, 2, 1, 0.88);
}

html[data-theme="orange"] .brand {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border-right: 0;
  background: transparent;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1;
  text-shadow: none;
}

html[data-theme="orange"] .brand span:last-child {
  font-size: clamp(0.92rem, 1.25vw, 1.22rem);
  line-height: 1;
  font-weight: 700;
}

html[data-theme="orange"] .nav {
  justify-self: center;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  width: min(100%, 620px);
  min-width: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

html[data-theme="orange"] .nav a,
html[data-theme="orange"] .nav-separator {
  border: 0;
  padding: 0;
  color: rgba(255, 244, 223, 0.78);
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 0.82vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

html[data-theme="orange"] .nav a:hover,
html[data-theme="orange"] .nav a.nav-primary {
  color: #fff4df;
  background: transparent;
  transform: none;
}

html[data-theme="orange"] .nav-separator {
  color: rgba(255, 244, 223, 0.42);
  font-weight: 400;
}

html[data-theme="orange"] .tools {
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  min-width: 0;
}

@media (max-width: 1240px) {
  html[data-theme="orange"] .topbar {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(130px, 190px);
  }

  html[data-theme="orange"] .nav {
    gap: 12px;
  }

  html[data-theme="orange"] .nav-separator {
    display: none;
  }

  html[data-theme="orange"] .version-chip {
    font-size: 0.78rem;
  }
}

html[data-theme="orange"] .version-chip {
  color: rgba(255, 244, 223, 0.52);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="orange"] .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ff7a1a;
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.74);
}

html[data-theme="orange"] .hero {
  min-height: calc(100vh - 88px);
  border-bottom: 1px solid rgba(255, 121, 25, 0.18);
  background:
    radial-gradient(ellipse at 47% 25%, rgba(255, 244, 223, 0.08), transparent 25%),
    linear-gradient(90deg, rgba(255, 244, 223, 0.018), transparent 38%),
    #050201;
}

html[data-theme="orange"] .hero::before {
  background:
    radial-gradient(ellipse at 9% 42%, rgba(255, 122, 26, 0.055), transparent 27%),
    repeating-linear-gradient(96deg, transparent 0 28px, rgba(255, 244, 223, 0.012) 28px 29px),
    linear-gradient(90deg, rgba(255, 244, 223, 0.018), transparent 36%);
  opacity: 0.7;
}

html[data-theme="orange"] .hero::after {
  left: auto;
  right: 0;
  bottom: 0;
  width: min(360px, 27vw);
  height: 100%;
  opacity: 0.82;
  transform: none;
  background:
    radial-gradient(ellipse at 70% 68%, rgba(0, 0, 0, 0.7), transparent 18%),
    linear-gradient(98deg, transparent 0 30%, rgba(255, 126, 24, 0.58) 47%, rgba(255, 126, 24, 0.06) 54%, transparent 64%),
    repeating-linear-gradient(102deg, rgba(255, 184, 86, 0.14) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, transparent, rgba(255, 112, 10, 0.18), rgba(255, 112, 10, 0.36));
}

html[data-theme="orange"] .hero-inner {
  width: min(1080px, calc(100% - 48px));
  padding: clamp(44px, 5.2vw, 66px) 0 34px;
  gap: 28px;
}

html[data-theme="orange"] .hero-copy::before {
  width: min(680px, 70vw);
  aspect-ratio: 2.7;
  opacity: 0.34;
  border-color: rgba(255, 122, 26, 0.08);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 244, 223, 0.045), transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 244, 223, 0.01) 36px 37px);
}

html[data-theme="orange"] .hero-copy::after,
html[data-theme="orange"] .hero-meta,
html[data-theme="orange"] .hero-community {
  display: none;
}

html[data-theme="orange"] .hero .kicker {
  color: #ff7a1a;
  font-size: 0.92rem;
  letter-spacing: 0.36em;
}

html[data-theme="orange"] h1 {
  display: grid;
  justify-items: center;
  gap: 0;
  font-size: clamp(4.6rem, 8vw, 8.1rem);
  line-height: 0.89;
  color: #fff1dd;
  text-shadow:
    1px 1px 0 rgba(255, 122, 26, 0.52),
    3px 3px 0 rgba(72, 23, 0, 0.54);
}

html[data-theme="orange"] .hero-title-en {
  font-size: 1em;
  line-height: 0.88;
  text-transform: uppercase;
}

html[data-theme="orange"] .hero-title-cn {
  margin-top: -0.02em;
  font-size: 0.76em;
  line-height: 0.94;
  letter-spacing: 0.02em;
}

html[data-theme="orange"] .lede {
  margin-top: 22px;
  max-width: none;
  color: rgba(255, 244, 223, 0.62);
  font-size: 1rem;
  line-height: 1.6;
}

html[data-theme="orange"] .install-panel.install-ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  width: min(1018px, 100%);
  gap: 0;
  padding: 0;
  border-color: #ff7a1a;
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.045), transparent 42%),
    rgba(6, 2, 1, 0.78);
  box-shadow: none;
  overflow: visible;
}

html[data-theme="orange"] .install-panel.install-ticket::before {
  inset: auto;
  left: -6px;
  top: 50%;
  width: 13px;
  height: 42px;
  border: 1px solid #ff7a1a;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #050201;
  transform: translateY(-50%);
}

html[data-theme="orange"] .install-panel.install-ticket::after {
  content: "";
  position: absolute;
  right: 170px;
  top: -8px;
  width: 16px;
  height: 16px;
  border: 1px solid #ff7a1a;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #050201;
}

html[data-theme="orange"] .install-main {
  display: grid;
  gap: 14px;
  padding: 28px 32px 24px;
}

html[data-theme="orange"] .install-panel-head {
  padding-bottom: 16px;
  border-color: rgba(255, 122, 26, 0.38);
  align-items: center;
}

html[data-theme="orange"] .install-panel-head span {
  color: #fff1dd;
  font-size: clamp(1.58rem, 2vw, 2.02rem);
  white-space: nowrap;
}

html[data-theme="orange"] .install-panel-head small {
  color: rgba(255, 244, 223, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-align: right;
  line-height: 1.45;
}

html[data-theme="orange"] .install-panel-head strong {
  color: #ff7a1a;
  font-family: var(--font-display);
}

html[data-theme="orange"] .steps article {
  animation: none;
}

html[data-theme="orange"] .steps article > div {
  margin-bottom: 7px;
}

html[data-theme="orange"] .steps small {
  color: #ff7a1a;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

html[data-theme="orange"] .command-input {
  border-color: rgba(255, 122, 26, 0.54);
  background: rgba(2, 1, 0, 0.6);
}

html[data-theme="orange"] .steps code {
  padding: 13px 16px;
  color: rgba(255, 244, 223, 0.86);
  font-size: 0.96rem;
}

html[data-theme="orange"] .steps button {
  min-width: 82px;
  padding: 13px 16px;
  border-color: rgba(255, 122, 26, 0.54);
  background: rgba(255, 122, 26, 0.13);
  color: #fff1dd;
  font-size: 0.94rem;
}

html[data-theme="orange"] .install-stub {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  min-height: 100%;
  padding: 24px 18px;
  border-left: 1px dashed rgba(255, 122, 26, 0.8);
  color: #fff1dd;
  text-align: center;
}

html[data-theme="orange"] .install-stub::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 13px;
  height: 42px;
  border: 1px solid #ff7a1a;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #050201;
  transform: translateY(-50%);
}

html[data-theme="orange"] .install-stub b {
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

html[data-theme="orange"] .install-stub img {
  display: block;
  width: 88px;
  height: 88px;
  padding: 4px;
  object-fit: cover;
  background: #fff1dd;
  border: 1px solid rgba(255, 122, 26, 0.4);
}

html[data-theme="orange"] .install-stub small {
  color: rgba(255, 244, 223, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: none;
}

html[data-theme="orange"] .hero-guide-strip {
  display: grid;
  grid-template-columns: 120px auto 28px minmax(260px, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 244, 223, 0.16);
  text-align: left;
}

html[data-theme="orange"] .hero-guide-strip span {
  color: #ff7a1a;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

html[data-theme="orange"] .hero-guide-strip b {
  color: #fff1dd;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

html[data-theme="orange"] .hero-guide-strip i {
  color: #ff7a1a;
  font-style: normal;
  font-size: 1.3rem;
}

html[data-theme="orange"] .hero-guide-strip small {
  color: rgba(255, 244, 223, 0.54);
  font-size: 0.92rem;
  line-height: 1.6;
  text-transform: none;
}

@media (max-width: 920px) {
  html[data-theme="orange"] .topbar {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  html[data-theme="orange"] .brand {
    min-height: 80px;
    padding: 0 18px;
  }

  html[data-theme="orange"] .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 14px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 122, 26, 0.3);
  }

  html[data-theme="orange"] .nav-separator {
    display: none;
  }

  html[data-theme="orange"] .tools {
    display: none;
  }

  html[data-theme="orange"] .hero-inner {
    padding: 38px 18px 28px;
  }

  html[data-theme="orange"] .install-panel.install-ticket {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  html[data-theme="orange"] .install-main {
    padding: 22px 22px 18px;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 64px 1fr;
    justify-items: start;
    text-align: left;
    min-height: 0;
    padding: 14px 18px;
    border-left: 0;
    border-top: 1px dashed rgba(255, 122, 26, 0.68);
  }

  html[data-theme="orange"] .install-stub b {
    grid-column: 2;
    grid-row: 1;
  }

  html[data-theme="orange"] .install-stub img {
    grid-row: 1 / 3;
    width: 58px;
    height: 58px;
  }

  html[data-theme="orange"] .install-stub small {
    grid-column: 2;
  }

  html[data-theme="orange"] .install-panel.install-ticket::after,
  html[data-theme="orange"] .install-stub::after {
    display: none;
  }

  html[data-theme="orange"] .hero-guide-strip {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  html[data-theme="orange"] .hero-guide-strip small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  html[data-theme="orange"] .hero {
    min-height: auto;
  }

  html[data-theme="orange"] h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  html[data-theme="orange"] .install-panel-head {
    align-items: flex-start;
  }

  html[data-theme="orange"] .install-panel-head span {
    font-size: 1.52rem;
  }

  html[data-theme="orange"] .install-panel-head small {
    text-align: left;
    line-height: 1.55;
  }

  html[data-theme="orange"] .steps code {
    font-size: 0.74rem;
    padding: 11px 12px;
  }

  html[data-theme="orange"] .steps button {
    min-width: 58px;
    font-size: 0.78rem;
    padding: 11px 10px;
  }
}

/* Comment pass: restore the approved layout while tightening hierarchy. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html[data-theme="orange"] .brand {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  line-height: 0.92;
}

html[data-theme="orange"] .brand span:last-child {
  margin-left: 1px;
  font-size: clamp(0.86rem, 1.04vw, 1.06rem);
  letter-spacing: 0.02em;
}

html[data-theme="orange"] .install-panel.install-ticket {
  grid-template-columns: minmax(0, 1fr) 204px;
  border-width: 1px;
  border-color: rgba(255, 122, 26, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.035), transparent 42%),
    rgba(6, 2, 1, 0.82);
}

html[data-theme="orange"] .install-panel.install-ticket::before {
  left: 0;
  width: 30px;
  height: 44px;
  border: 1px solid rgba(255, 122, 26, 0.88);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #050201;
  transform: translate(-50%, -50%);
  box-shadow: inset -8px 0 12px rgba(255, 122, 26, 0.04);
}

html[data-theme="orange"] .install-panel.install-ticket::after {
  right: 204px;
  top: 0;
  width: 26px;
  height: 26px;
  border-color: rgba(255, 122, 26, 0.88);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #050201;
  transform: translate(50%, -50%);
}

html[data-theme="orange"] .install-main {
  position: relative;
}

html[data-theme="orange"] .install-main::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 122, 26, 0.88);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: #050201;
  transform: translateY(50%);
}

html[data-theme="orange"] .install-panel-head {
  grid-template-columns: minmax(0, auto) auto;
}

html[data-theme="orange"] .install-panel-head small {
  white-space: nowrap;
}

html[data-theme="orange"] .install-stub {
  gap: 12px;
  padding: 24px 22px;
  border-left: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 122, 26, 0.075), transparent 58%),
    linear-gradient(90deg, rgba(255, 122, 26, 0.025), rgba(255, 244, 223, 0.022));
}

html[data-theme="orange"] .install-stub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  bottom: 34px;
  width: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 122, 26, 0.78) 0 8px,
    transparent 8px 16px
  );
  box-shadow: -1px 0 0 rgba(255, 244, 223, 0.025);
}

html[data-theme="orange"] .install-stub::after {
  right: 0;
  width: 30px;
  height: 44px;
  border-color: rgba(255, 122, 26, 0.88);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #050201;
  transform: translate(50%, -50%);
  box-shadow: inset 8px 0 12px rgba(255, 122, 26, 0.04);
}

html[data-theme="orange"] .install-stub b {
  font-size: 0.9rem;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-transform: none;
}

html[data-theme="orange"] .install-stub img {
  width: 118px;
  height: 118px;
  padding: 9px;
  background:
    linear-gradient(135deg, #fff0d4 0%, #f6dec0 100%);
  border: 1px solid rgba(255, 122, 26, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 244, 223, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(42, 15, 2, 0.12);
  filter: sepia(0.08) saturate(0.96) contrast(1.03);
}

html[data-theme="orange"] .hero-guide-strip {
  grid-template-columns: 120px auto 28px;
  justify-content: start;
}

html[data-theme="orange"] .beginner-guide {
  padding-top: 0;
}

html[data-theme="orange"] .problem-intro {
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 34px;
}

html[data-theme="orange"] .problem-intro .kicker {
  grid-column: auto;
}

html[data-theme="orange"] .beginner-panel small {
  font-size: 0.86rem;
}

html[data-theme="orange"] .beginner-steps li span code {
  color: #fff4df;
  font-family: var(--font-code);
}

html[data-theme="orange"] .beginner-help {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.9fr) minmax(168px, 220px) minmax(300px, 1.1fr);
  align-items: stretch;
}

html[data-theme="orange"] .help-qr {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 122, 26, 0.42);
  color: #fff4df;
  text-align: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 122, 26, 0.12), transparent 48%),
    rgba(255, 244, 223, 0.026);
  overflow: hidden;
}

html[data-theme="orange"] .help-qr::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 244, 223, 0.11);
  pointer-events: none;
}

html[data-theme="orange"] .help-qr b {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

html[data-theme="orange"] .help-qr img {
  position: relative;
  z-index: 1;
  width: 124px;
  height: 124px;
  padding: 0;
  object-fit: cover;
  background: transparent;
  border: 0;
  filter: sepia(0.16) saturate(0.92) contrast(1.04);
  box-shadow: none;
}

html[data-theme="orange"] .help-qr span {
  position: relative;
  z-index: 1;
  color: rgba(255, 244, 223, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

html[data-theme="orange"] .demo-community {
  margin-top: -1px;
}

html[data-theme="orange"] .demo-community-visual {
  grid-column: 1 / -1;
  min-height: 540px;
}

html[data-theme="orange"] .demo-community .terminal {
  min-height: 372px;
}

html[data-theme="orange"] .demo-community .terminal-body {
  min-height: 334px;
}

html[data-theme="orange"] .footer {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

html[data-theme="orange"] .footer .cell:first-child {
  display: grid;
  gap: 8px;
}

html[data-theme="orange"] .icp-text {
  color: rgba(255, 244, 223, 0.46);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

@media (max-width: 920px) {
  html[data-theme="orange"] .brand {
    align-items: flex-start;
    padding: 0 18px;
  }

  html[data-theme="orange"] .install-panel.install-ticket {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 16px 18px;
    border-top: 1px dashed rgba(255, 122, 26, 0.68);
    background: rgba(255, 244, 223, 0.024);
  }

  html[data-theme="orange"] .install-stub::before,
  html[data-theme="orange"] .install-main::after {
    display: none;
  }

  html[data-theme="orange"] .install-stub img {
    width: 78px;
    height: 78px;
  }

  html[data-theme="orange"] .hero-guide-strip {
    grid-template-columns: 1fr auto;
  }

  html[data-theme="orange"] .beginner-help {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .help-qr {
    grid-template-columns: 96px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    min-height: 0;
  }

  html[data-theme="orange"] .help-qr img {
    grid-row: 1 / 3;
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 520px) {
  html[data-theme="orange"] .brand {
    font-size: 1.72rem;
  }

  html[data-theme="orange"] .brand span:last-child {
    font-size: 0.92rem;
  }

  html[data-theme="orange"] .command-input {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .steps button {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 122, 26, 0.54);
  }

  html[data-theme="orange"] .install-stub b {
    font-size: 0.84rem;
  }

  html[data-theme="orange"] .install-stub small {
    font-size: 0.66rem;
  }

  html[data-theme="orange"] .help-qr b {
    white-space: normal;
  }

  html[data-theme="orange"] .demo-community-visual {
    min-height: 0;
  }
}

/* Raster ticket asset implementation. */
html[data-theme="orange"] .install-panel.install-ticket {
  grid-template-columns: minmax(0, 1fr) clamp(250px, 27%, 320px);
  width: min(1080px, 100%);
  min-height: 362px;
  aspect-ratio: 2.95 / 1;
  border: 0;
  background:
    url("./assets/ticket-shell-orange.png?v=20260524") center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.42));
}

html[data-theme="orange"] .install-panel.install-ticket::before,
html[data-theme="orange"] .install-panel.install-ticket::after,
html[data-theme="orange"] .install-main::after,
html[data-theme="orange"] .install-stub::before,
html[data-theme="orange"] .install-stub::after {
  display: none;
}

html[data-theme="orange"] .install-main {
  gap: 13px;
  padding: clamp(34px, 4.1%, 48px) clamp(36px, 5.6%, 62px) clamp(34px, 4.1%, 48px) clamp(60px, 7.3%, 78px);
  background: transparent;
}

html[data-theme="orange"] .install-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 0 4px;
  border: 0;
}

html[data-theme="orange"] .install-panel-head span {
  font-size: clamp(1.62rem, 2.25vw, 2.28rem);
  color: #fff0dc;
  text-shadow:
    0 0 10px rgba(255, 122, 26, 0.18),
    1px 1px 0 rgba(72, 23, 0, 0.78);
}

html[data-theme="orange"] .install-panel-head small {
  color: rgba(255, 143, 40, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px rgba(255, 122, 26, 0.32);
}

html[data-theme="orange"] .steps article {
  display: grid;
  gap: 6px;
}

html[data-theme="orange"] .steps article > div {
  margin-bottom: 0;
}

html[data-theme="orange"] .steps small {
  color: rgba(255, 127, 28, 0.9);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-shadow: 0 0 10px rgba(255, 122, 26, 0.3);
}

html[data-theme="orange"] .command-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(82px, 13%, 108px);
  min-height: 47px;
  border: 0;
  background: transparent;
}

html[data-theme="orange"] .steps article > .command-input {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  margin: 0;
}

html[data-theme="orange"] .steps code {
  align-self: center;
  padding: 11px 16px;
  min-width: 0;
  color: rgba(255, 239, 220, 0.9);
  font-size: clamp(0.78rem, 0.92vw, 0.95rem);
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

html[data-theme="orange"] .steps button {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff1dd;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 0.98vw, 1.02rem);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 12px rgba(255, 122, 26, 0.42),
    1px 1px 0 rgba(72, 23, 0, 0.78);
}

html[data-theme="orange"] .steps button:hover {
  background: rgba(255, 122, 26, 0.12);
  box-shadow: inset 0 0 28px rgba(255, 122, 26, 0.2);
}

html[data-theme="orange"] .install-stub {
  align-content: center;
  gap: 11px;
  padding: clamp(34px, 4.2%, 48px) clamp(34px, 4.4%, 48px) clamp(36px, 4.6%, 52px) clamp(18px, 2.2%, 28px);
  border: 0;
  background: transparent;
}

html[data-theme="orange"] .install-stub b {
  font-size: clamp(1.02rem, 1.28vw, 1.26rem);
  line-height: 1.2;
  color: #1f0900;
  text-shadow:
    0 1px 0 rgba(255, 224, 170, 0.38),
    0 0 12px rgba(255, 122, 26, 0.28);
}

html[data-theme="orange"] .install-stub img {
  width: clamp(112px, 10.8vw, 140px);
  height: clamp(112px, 10.8vw, 140px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 2px 1px rgba(255, 237, 208, 0.16));
}

html[data-theme="orange"] .install-stub small {
  color: rgba(44, 14, 0, 0.86);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 0 rgba(255, 224, 170, 0.28);
}

@media (max-width: 920px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
    background-size: cover;
    background-position: center;
  }

  html[data-theme="orange"] .install-main {
    padding: 34px 34px 18px;
  }

  html[data-theme="orange"] .install-panel-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html[data-theme="orange"] .install-stub {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px 16px;
    justify-items: start;
    text-align: left;
    padding: 14px 34px 32px;
  }

  html[data-theme="orange"] .install-stub b {
    grid-column: 2;
    grid-row: 1;
    color: #fff1dd;
  }

  html[data-theme="orange"] .install-stub img {
    grid-row: 1 / 3;
    width: 96px;
    height: 96px;
  }

  html[data-theme="orange"] .install-stub small {
    grid-column: 2;
    color: rgba(255, 244, 223, 0.68);
  }
}

@media (max-width: 520px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    width: min(100%, 350px);
  }

  html[data-theme="orange"] .install-main {
    padding: 30px 24px 16px;
  }

  html[data-theme="orange"] .install-panel-head span {
    font-size: 1.48rem;
  }

  html[data-theme="orange"] .install-panel-head small {
    font-size: 0.74rem;
  }

  html[data-theme="orange"] .command-input {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  html[data-theme="orange"] .steps code {
    padding: 9px 8px;
    font-size: 0.7rem;
  }

  html[data-theme="orange"] .steps button {
    border-top: 0;
    font-size: 0.78rem;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 12px 24px 28px;
  }

  html[data-theme="orange"] .install-stub img {
    width: 78px;
    height: 78px;
  }
}

/* Final ticket alignment pass: place live text on the raster asset grid. */
html[data-theme="orange"] .install-panel.install-ticket {
  position: relative;
  display: block;
  overflow: visible;
  height: clamp(354px, 19.1vw, 370px);
  min-height: 0;
  aspect-ratio: auto;
}

html[data-theme="orange"] .install-main {
  position: static;
  display: block;
  padding: 0;
}

html[data-theme="orange"] .install-main article {
  position: absolute;
  left: 8.7%;
  right: 31.8%;
  display: block;
}

html[data-theme="orange"] .install-main article:nth-of-type(1) {
  top: 35.6%;
}

html[data-theme="orange"] .install-main article:nth-of-type(2) {
  top: 59%;
}

html[data-theme="orange"] .install-main article > div:first-child {
  display: block;
  height: 27px;
}

html[data-theme="orange"] .install-panel-head {
  position: absolute;
  left: 8.6%;
  right: 31.4%;
  top: 13.6%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  height: 17%;
  padding: 0;
}

html[data-theme="orange"] .command-input,
html[data-theme="orange"] .steps article > .command-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.8%;
  min-height: 0;
  height: clamp(45px, 4.7vw, 61px);
  align-items: stretch;
}

html[data-theme="orange"] .steps code {
  display: flex;
  align-items: center;
  padding: 0 16px;
}

html[data-theme="orange"] .install-stub {
  position: absolute;
  top: 13.6%;
  right: 4.3%;
  bottom: 9.6%;
  width: 20.8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 15px);
  padding: 0;
}

html[data-theme="orange"] .install-stub b {
  font-size: clamp(1.1rem, 1.42vw, 1.42rem);
  letter-spacing: 0.015em;
}

html[data-theme="orange"] .install-stub img {
  width: clamp(118px, 9.4vw, 136px);
  height: clamp(118px, 9.4vw, 136px);
  opacity: 0.96;
}

html[data-theme="orange"] .install-stub small {
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
}

@media (max-width: 920px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 34px;
    height: auto;
  }

  html[data-theme="orange"] .install-main {
    display: grid;
    gap: 14px;
  }

  html[data-theme="orange"] .install-panel-head,
  html[data-theme="orange"] .install-main article,
  html[data-theme="orange"] .install-stub {
    position: relative;
    inset: auto;
    width: auto;
  }

  html[data-theme="orange"] .install-panel-head {
    height: auto;
    align-items: start;
  }

  html[data-theme="orange"] .install-main article:nth-of-type(1),
  html[data-theme="orange"] .install-main article:nth-of-type(2) {
    top: auto;
  }

  html[data-theme="orange"] .install-main article > div:first-child {
    height: auto;
    margin-bottom: 8px;
  }

  html[data-theme="orange"] .command-input,
  html[data-theme="orange"] .steps article > .command-input {
    height: auto;
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  html[data-theme="orange"] .install-stub {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px 16px;
    justify-items: start;
    text-align: left;
    margin-top: 12px;
  }

  html[data-theme="orange"] .install-stub b,
  html[data-theme="orange"] .install-stub small {
    grid-column: 2;
  }

  html[data-theme="orange"] .install-stub img {
    grid-row: 1 / 3;
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 520px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    width: min(100%, 350px);
    padding: 22px;
    border: 1px solid rgba(255, 122, 26, 0.78);
    background:
      linear-gradient(135deg, rgba(255, 122, 26, 0.14), transparent 34%),
      linear-gradient(180deg, rgba(255, 244, 223, 0.045), rgba(255, 122, 26, 0.045)),
      rgba(8, 3, 1, 0.86);
    box-shadow:
      0 0 0 1px rgba(255, 211, 150, 0.08) inset,
      0 18px 46px rgba(0, 0, 0, 0.48);
    filter: none;
  }

  html[data-theme="orange"] .install-panel.install-ticket::before,
  html[data-theme="orange"] .install-panel.install-ticket::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 42px;
    border: 1px solid rgba(255, 122, 26, 0.78);
    background: rgb(6, 2, 1);
    transform: translateY(-50%);
  }

  html[data-theme="orange"] .install-panel.install-ticket::before {
    left: -1px;
    border-left: 0;
    border-radius: 0 999px 999px 0;
  }

  html[data-theme="orange"] .install-panel.install-ticket::after {
    right: -1px;
    border-right: 0;
    border-radius: 999px 0 0 999px;
  }

  html[data-theme="orange"] .install-panel-head {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .install-panel-head span {
    line-height: 1.1;
  }

  html[data-theme="orange"] .install-panel-head small {
    line-height: 1.4;
  }

  html[data-theme="orange"] .steps article {
    gap: 7px;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 86px minmax(0, 1fr);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 122, 26, 0.42);
  }

  html[data-theme="orange"] .install-stub img {
    width: 78px;
    height: 78px;
    padding: 5px;
    border: 1px solid rgba(255, 122, 26, 0.46);
    background:
      linear-gradient(135deg, rgba(255, 248, 223, 0.98), rgba(244, 187, 116, 0.88));
    box-shadow:
      0 0 0 1px rgba(65, 22, 0, 0.12) inset,
      0 0 18px rgba(255, 122, 26, 0.18);
  }
}

@media (min-width: 921px) {
  html[data-theme="orange"] .install-stub {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  html[data-theme="orange"] .install-stub b,
  html[data-theme="orange"] .install-stub img,
  html[data-theme="orange"] .install-stub small {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  html[data-theme="orange"] .install-stub b {
    top: 5.8%;
    width: 100%;
    text-align: center;
    font-size: clamp(1.02rem, 1.2vw, 1.22rem);
    line-height: 1.14;
  }

  html[data-theme="orange"] .install-stub img {
    top: 39.5%;
    width: clamp(112px, 8.5vw, 122px);
    height: clamp(112px, 8.5vw, 122px);
  }

  html[data-theme="orange"] .install-stub small {
    bottom: 8.2%;
    width: 100%;
    text-align: center;
  }
}

/* Stable ticket component. The visible frame is an SVG asset; live text uses fixed slots. */
html[data-theme="orange"] .hero-inner {
  gap: clamp(26px, 3.3vw, 38px);
}

html[data-theme="orange"] .install-panel.install-ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(236px, 24.2%, 286px);
  column-gap: clamp(38px, 4.8vw, 58px);
  width: min(1120px, calc(100% - 32px));
  min-height: 456px;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  padding: clamp(48px, 4.5vw, 58px) clamp(56px, 5vw, 68px) clamp(44px, 4.2vw, 54px) clamp(74px, 6.3vw, 86px);
  border: 0;
  background:
    url("./assets/ticket-frame-desktop.svg?v=20260525") center / 100% 100% no-repeat;
  box-shadow: none;
  filter:
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 18px rgba(255, 122, 26, 0.16));
}

html[data-theme="orange"] .install-panel.install-ticket::before,
html[data-theme="orange"] .install-panel.install-ticket::after,
html[data-theme="orange"] .install-main::after,
html[data-theme="orange"] .install-stub::before,
html[data-theme="orange"] .install-stub::after {
  display: none;
}

html[data-theme="orange"] .install-main {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  gap: clamp(14px, 1.35vw, 18px);
  min-width: 0;
  padding: 0;
  background: transparent;
}

html[data-theme="orange"] .install-panel-head {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  width: auto;
  height: auto;
  padding: 0 0 clamp(8px, .8vw, 12px);
  border: 0;
}

html[data-theme="orange"] .install-panel-head span {
  color: #fff2df;
  font-size: clamp(2rem, 2.45vw, 2.58rem);
  line-height: .98;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(78, 20, 0, 0.82),
    0 0 16px rgba(255, 138, 32, 0.22);
}

html[data-theme="orange"] .install-panel-head small {
  color: #ff8a20;
  font-size: clamp(.76rem, .8vw, .86rem);
  line-height: 1.4;
  letter-spacing: .12em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255, 122, 26, .3);
}

html[data-theme="orange"] .install-panel-head strong {
  color: #ff9a37;
}

html[data-theme="orange"] .steps article,
html[data-theme="orange"] .install-main article,
html[data-theme="orange"] .install-main article:nth-of-type(1),
html[data-theme="orange"] .install-main article:nth-of-type(2) {
  position: static;
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  inset: auto;
  width: auto;
  height: auto;
}

html[data-theme="orange"] .install-main article > div:first-child {
  display: block;
  height: auto;
  margin: 0;
}

html[data-theme="orange"] .ticket-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 16px);
  min-width: 0;
}

html[data-theme="orange"] .ticket-platform {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: clamp(14px, 1.28vw, 18px);
  border: 1px solid rgba(255, 122, 26, .56);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, .08), rgba(255, 122, 26, .02)),
    rgba(5, 2, 1, .34);
}

html[data-theme="orange"] .ticket-platform-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

html[data-theme="orange"] .ticket-platform h2 {
  margin: 0;
  color: #fff2df;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.45vw, 1.52rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  text-shadow:
    0 1px 0 rgba(78, 20, 0, .82),
    0 0 12px rgba(255, 138, 32, .18);
}

html[data-theme="orange"] .ticket-platform p {
  margin: 0;
  min-height: 2.9em;
  color: rgba(255, 236, 210, .78);
  font-size: clamp(.82rem, .84vw, .92rem);
  line-height: 1.45;
  letter-spacing: .03em;
  text-transform: none;
}

html[data-theme="orange"] .ticket-message {
  max-width: min(100%, 720px);
}

html[data-theme="orange"] .steps small {
  color: rgba(255, 136, 30, .94);
  font-size: clamp(.88rem, .9vw, .98rem);
  line-height: 1.2;
  letter-spacing: .13em;
}

html[data-theme="orange"] .command-input,
html[data-theme="orange"] .steps article > .command-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(82px, 12.8%, 104px);
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: clamp(50px, 4.2vw, 58px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 26, .72);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, .08), rgba(255, 122, 26, .015)),
    rgba(2, 0, 0, .5);
  box-shadow:
    0 0 0 1px rgba(255, 231, 186, .045) inset,
    0 0 22px rgba(255, 122, 26, .12);
}

html[data-theme="orange"] .steps code {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 clamp(18px, 1.9vw, 24px);
  color: rgba(255, 242, 220, .93);
  font-size: clamp(.88rem, .96vw, 1rem);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .76);
}

html[data-theme="orange"] .steps button {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 122, 26, .62);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 157, 68, .2), rgba(255, 122, 26, .07)),
    rgba(255, 122, 26, .08);
  color: #fff1dd;
  font-family: var(--font-display);
  font-size: clamp(.9rem, .95vw, 1.02rem);
  line-height: 1;
  letter-spacing: .06em;
  text-shadow:
    0 0 12px rgba(255, 122, 26, .42),
    1px 1px 0 rgba(72, 23, 0, .78);
}

html[data-theme="orange"] .steps button:hover {
  background:
    linear-gradient(180deg, rgba(255, 180, 90, .28), rgba(255, 122, 26, .12)),
    rgba(255, 122, 26, .14);
  box-shadow: inset 0 0 28px rgba(255, 122, 26, .18);
}

html[data-theme="orange"] .install-stub {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  gap: clamp(12px, 1.18vw, 16px);
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0 clamp(10px, 1vw, 16px);
  border: 0;
  background: transparent;
  color: #241000;
  text-align: center;
}

html[data-theme="orange"] .install-stub b,
html[data-theme="orange"] .install-stub img,
html[data-theme="orange"] .install-stub small {
  position: static;
  left: auto;
  transform: none;
}

html[data-theme="orange"] .install-stub b {
  width: auto;
  color: #1d0800;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.28vw, 1.28rem);
  line-height: 1.15;
  letter-spacing: .01em;
  text-shadow:
    0 1px 0 rgba(255, 229, 180, .36),
    0 0 12px rgba(255, 122, 26, .2);
}

html[data-theme="orange"] .install-stub img {
  display: block;
  width: clamp(126px, 10vw, 148px);
  height: clamp(126px, 10vw, 148px);
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
}

html[data-theme="orange"] .install-stub small {
  color: rgba(45, 14, 0, .82);
  font-size: clamp(.68rem, .78vw, .78rem);
  line-height: 1.45;
  letter-spacing: .1em;
  text-shadow: 0 1px 0 rgba(255, 231, 185, .28);
}

@media (max-width: 920px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    display: grid;
    grid-template-columns: 1fr;
    width: min(360px, calc(100vw - 36px));
    min-height: 0;
    padding: 38px 34px 36px;
    background:
      url("./assets/ticket-frame-mobile.svg?v=20260525") center / 100% 100% no-repeat;
    filter:
      drop-shadow(0 18px 38px rgba(0, 0, 0, .5))
      drop-shadow(0 0 16px rgba(255, 122, 26, .14));
  }

  html[data-theme="orange"] .install-main {
    gap: 18px;
  }

  html[data-theme="orange"] .ticket-platforms {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .ticket-platform {
    padding: 14px;
  }

  html[data-theme="orange"] .ticket-platform h2 {
    font-size: 1.18rem;
  }

  html[data-theme="orange"] .ticket-platform p {
    min-height: 0;
    font-size: .82rem;
  }

  html[data-theme="orange"] .install-panel-head {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-bottom: 4px;
  }

  html[data-theme="orange"] .install-panel-head span {
    font-size: clamp(1.7rem, 7vw, 2.05rem);
  }

  html[data-theme="orange"] .install-panel-head small {
    font-size: .78rem;
    white-space: normal;
  }

  html[data-theme="orange"] .steps article,
  html[data-theme="orange"] .install-main article {
    gap: 8px;
  }

  html[data-theme="orange"] .steps small {
    font-size: .86rem;
    letter-spacing: .1em;
  }

  html[data-theme="orange"] .command-input,
  html[data-theme="orange"] .steps article > .command-input {
    grid-template-columns: minmax(0, 1fr) 76px;
    height: auto;
    min-height: 54px;
    border-radius: 6px;
  }

  html[data-theme="orange"] .steps code {
    padding: 9px 12px;
    font-size: .74rem;
  }

  html[data-theme="orange"] .steps button {
    font-size: .82rem;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 9px;
    margin-top: 5px;
    padding: 18px 0 0;
    border-top: 1px dashed rgba(255, 122, 26, .46);
    text-align: center;
  }

  html[data-theme="orange"] .install-stub img {
    grid-row: auto;
    width: 82px;
    height: 82px;
    padding: 5px;
  }

  html[data-theme="orange"] .install-stub b,
  html[data-theme="orange"] .install-stub small {
    grid-column: auto;
    color: #fff1dd;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, .7),
      0 0 10px rgba(255, 122, 26, .2);
  }

  html[data-theme="orange"] .install-stub b {
    font-size: 1.08rem;
  }

  html[data-theme="orange"] .install-stub small {
    color: rgba(255, 244, 223, .7);
    font-size: .72rem;
  }
}

@media (max-width: 420px) {
  html[data-theme="orange"] .install-panel.install-ticket {
    width: min(352px, calc(100vw - 32px));
    padding: 36px 24px 34px;
  }

  html[data-theme="orange"] .install-stub {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .install-stub img {
    width: 74px;
    height: 74px;
  }
}

.platform-card .command-input code {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-all;
  white-space: normal;
}

.platform-card .command-input button {
  border: 0;
  border-left: 1px solid var(--line);
  background: rgba(255, 240, 220, 0.08);
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-code);
  font-size: 0.82rem;
  min-width: 58px;
  padding: 10px 12px;
  text-transform: none;
}

.platform-card .command-input button:hover,
.platform-card .command-input button:focus-visible {
  color: var(--bg-deep);
  background: var(--accent);
  outline: 0;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
  }

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

  .platform-lanes {
    grid-template-columns: 1fr;
    width: min(740px, 100%);
  }
}

@media (max-width: 520px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .platform-card {
    padding: 15px;
  }

  .platform-card .command-input {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
}

/* Install hub redesign */
html[data-theme="orange"] .hero {
  min-height: auto;
}

html[data-theme="orange"] .hero-inner {
  width: min(1180px, calc(100% - 48px));
  padding: clamp(20px, 2.5vw, 32px) 0 clamp(8px, 1.2vw, 14px);
  gap: clamp(14px, 1.55vw, 18px);
}

html[data-theme="orange"] .hero .kicker {
  margin-bottom: 10px;
  font-size: clamp(0.74rem, 0.78vw, 0.84rem);
}

html[data-theme="orange"] h1 {
  font-size: clamp(3.55rem, 5.05vw, 5.12rem);
}

html[data-theme="orange"] .lede {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
}

html[data-theme="orange"] .install-hub {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 1.55vw, 20px);
  border: 1px solid rgba(255, 122, 26, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.075), rgba(255, 122, 26, 0.02)),
    rgba(9, 4, 1, 0.78);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 241, 220, 0.08);
  text-align: left;
  backdrop-filter: blur(16px);
}

html[data-theme="orange"] .install-hub::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 122, 26, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

html[data-theme="orange"] .install-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(14px, 1.55vw, 18px);
  min-width: 0;
  padding: 0;
  background: transparent;
}

html[data-theme="orange"] .install-panel-head {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  gap: 0;
  align-items: center;
  padding: 0;
  border: 0;
}

html[data-theme="orange"] .install-panel-head small {
  color: rgba(255, 144, 42, 0.95);
  font-size: clamp(0.68rem, 0.74vw, 0.8rem);
  line-height: 1.35;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

html[data-theme="orange"] .install-panel-head strong {
  color: #ffad57;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

html[data-theme="orange"] .install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(230px, 0.62fr);
  gap: 12px;
  min-width: 0;
}

html[data-theme="orange"] .install-card,
html[data-theme="orange"] .install-side {
  min-width: 0;
  border: 1px solid rgba(255, 122, 26, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.055), rgba(255, 244, 223, 0.015)),
    rgba(5, 2, 1, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 241, 220, 0.055);
}

html[data-theme="orange"] .install-card {
  display: grid;
  grid-template-rows: 64px 112px 42px minmax(92px, auto);
  align-content: start;
  gap: 18px;
  min-height: 318px;
  padding: 18px;
}

html[data-theme="orange"] .install-card-primary {
  border-color: rgba(255, 154, 55, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.12), rgba(255, 122, 26, 0.025)),
    rgba(7, 3, 1, 0.6);
}

html[data-theme="orange"] .install-card-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 64px;
  min-width: 0;
  margin: 0;
}

html[data-theme="orange"] .install-card small,
html[data-theme="orange"] .install-message small {
  margin: 0;
  color: #ff8f2d;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 0.74vw, 0.8rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-theme="orange"] .install-card h2 {
  margin: 0;
  color: #fff2df;
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.46vw, 1.56rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="orange"] .install-card p {
  margin: 0;
  color: rgba(255, 236, 210, 0.74);
  font-size: clamp(0.78rem, 0.8vw, 0.86rem);
  line-height: 1.42;
  letter-spacing: 0.02em;
  text-transform: none;
}

html[data-theme="orange"] .install-card-points {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  min-height: 112px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-theme="orange"] .install-card-points li {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  color: rgba(255, 236, 210, 0.68);
  font-size: clamp(0.72rem, 0.74vw, 0.8rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-transform: none;
}

html[data-theme="orange"] .install-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ff8f2d;
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.46);
}

html[data-theme="orange"] .install-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  min-height: 42px;
  min-width: 0;
}

html[data-theme="orange"] .install-downloads-split {
  grid-template-columns: minmax(0, 1fr) minmax(86px, 0.36fr);
}

html[data-theme="orange"] .download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 166, 73, 0.72);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 166, 73, 0.92), rgba(255, 122, 26, 0.86)),
    #ff8f2d;
  color: #160701;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 0.94vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 220, 0.4),
    0 12px 24px rgba(255, 122, 26, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

html[data-theme="orange"] .download-button-secondary {
  background:
    linear-gradient(180deg, rgba(255, 224, 179, 0.18), rgba(255, 166, 73, 0.1)),
    rgba(22, 7, 1, 0.34);
  color: #ffe7bd;
}

html[data-theme="orange"] .download-button:hover,
html[data-theme="orange"] .download-button:focus-visible {
  color: #160701;
  filter: brightness(1.06);
  outline: 0;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 220, 0.48),
    0 16px 28px rgba(255, 122, 26, 0.18);
}

html[data-theme="orange"] .install-downloads span {
  color: rgba(255, 236, 210, 0.62);
  font-size: clamp(0.68rem, 0.7vw, 0.76rem);
  line-height: 1.55;
  text-transform: none;
}

html[data-theme="orange"] .steps.install-hub article.install-card > .command-input,
html[data-theme="orange"] .install-hub .install-message .command-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(60px, 5.8vw, 68px);
  align-items: stretch;
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 92px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 26, 0.58);
  border-radius: 7px;
  background: rgba(1, 0, 0, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 241, 220, 0.05);
}

html[data-theme="orange"] .steps.install-hub article.install-card > .command-input code,
html[data-theme="orange"] .install-hub .install-message .command-input code {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 11px 12px;
  color: rgba(255, 242, 220, 0.94);
  font-size: clamp(0.68rem, 0.7vw, 0.76rem);
  line-height: 1.58;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-transform: none;
}

html[data-theme="orange"] .steps.install-hub article.install-card > .command-input button,
html[data-theme="orange"] .install-hub .install-message .command-input button {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  border: 0;
  border-left: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 154, 55, 0.18), rgba(255, 122, 26, 0.06)),
    rgba(255, 122, 26, 0.08);
  color: #fff1dd;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 0.8vw, 0.88rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background 160ms ease, color 160ms ease;
}

html[data-theme="orange"] .steps.install-hub article.install-card > .command-input button:hover,
html[data-theme="orange"] .steps.install-hub article.install-card > .command-input button:focus-visible,
html[data-theme="orange"] .install-hub .install-message .command-input button:hover,
html[data-theme="orange"] .install-hub .install-message .command-input button:focus-visible {
  color: #130601;
  background: #ff9a37;
  outline: 0;
}

html[data-theme="orange"] .install-side {
  display: grid;
  place-items: center;
  padding: 12px;
  align-content: center;
}

html[data-theme="orange"] .install-stub {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff2df;
  text-align: center;
}

html[data-theme="orange"] .install-stub b,
html[data-theme="orange"] .install-stub img,
html[data-theme="orange"] .install-stub small {
  position: static;
  left: auto;
  width: auto;
  transform: none;
  text-align: center;
}

html[data-theme="orange"] .install-stub b {
  color: #fff2df;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="orange"] .install-stub img {
  display: block;
  width: clamp(170px, 12.86vw, 196px);
  height: clamp(170px, 12.86vw, 196px);
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter:
    brightness(1.82)
    saturate(0.38)
    contrast(0.72)
    drop-shadow(0 1px 0 rgba(255, 236, 205, 0.18))
    drop-shadow(0 -1px 0 rgba(60, 13, 0, 0.42));
  box-shadow: none;
}

html[data-theme="orange"] .install-stub small {
  color: rgba(255, 236, 210, 0.68);
  font-size: clamp(0.68rem, 0.72vw, 0.76rem);
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: none;
}

html[data-theme="orange"] .install-message {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 122, 26, 0.22);
}

html[data-theme="orange"] .install-message > div {
  display: block;
  min-width: 0;
  margin: 0;
}

html[data-theme="orange"] .install-message-copy {
  display: grid;
  align-content: center;
  gap: 5px;
}

html[data-theme="orange"] .install-message-copy small,
html[data-theme="orange"] .install-message-copy b,
html[data-theme="orange"] .install-message-copy span {
  display: block;
}

html[data-theme="orange"] .install-message-copy b {
  color: #fff2df;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="orange"] .install-message-copy span {
  color: rgba(255, 236, 210, 0.66);
  font-size: clamp(0.72rem, 0.76vw, 0.82rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (max-width: 1060px) {
  html[data-theme="orange"] .install-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-theme="orange"] .install-side {
    grid-column: 1 / -1;
    align-items: center;
    min-height: 190px;
  }

}

@media (max-width: 760px) {
  html[data-theme="orange"] .hero-inner {
    width: min(100% - 28px, 640px);
    padding: 28px 0 56px;
    gap: 18px;
  }

  html[data-theme="orange"] h1 {
    font-size: clamp(3.25rem, 15vw, 4.8rem);
  }

  html[data-theme="orange"] .install-hub {
    padding: 18px;
  }

  html[data-theme="orange"] .install-panel-head,
  html[data-theme="orange"] .install-layout,
  html[data-theme="orange"] .install-side,
  html[data-theme="orange"] .install-message {
    grid-template-columns: 1fr;
  }

  html[data-theme="orange"] .install-panel-head small {
    white-space: normal;
  }

  html[data-theme="orange"] .install-card {
    grid-template-rows: auto;
    min-height: 0;
  }

  html[data-theme="orange"] .install-card,
  html[data-theme="orange"] .install-side {
    padding: 14px;
  }

  html[data-theme="orange"] .install-message {
    align-items: start;
  }
}

@media (max-width: 420px) {
  html[data-theme="orange"] .install-hub {
    padding: 14px;
  }

  html[data-theme="orange"] .install-hub .command-input {
    grid-template-columns: minmax(0, 1fr) 66px;
  }

  html[data-theme="orange"] .install-hub code {
    padding: 10px;
    font-size: 0.72rem;
  }
}

html[data-theme="orange"] .install-stub img {
  opacity: 0.74;
  mix-blend-mode: screen;
  filter:
    invert(1)
    sepia(0.72)
    saturate(0.42)
    hue-rotate(332deg)
    brightness(1.18)
    contrast(0.68)
    drop-shadow(-1px -1px 0 rgba(255, 244, 218, 0.48))
    drop-shadow(1px 1px 0 rgba(56, 17, 0, 0.62))
    drop-shadow(0 8px 18px rgba(255, 122, 26, 0.12));
}

html[data-theme="orange"] .install-stub img:hover {
  opacity: 0.8;
  filter:
    invert(1)
    sepia(0.72)
    saturate(0.42)
    hue-rotate(332deg)
    brightness(1.24)
    contrast(0.7)
    drop-shadow(-1px -1px 0 rgba(255, 244, 218, 0.52))
    drop-shadow(1px 1px 0 rgba(56, 17, 0, 0.6))
    drop-shadow(0 9px 20px rgba(255, 122, 26, 0.14));
}

html[data-theme="orange"] .install-panel-head {
  justify-items: end;
}

html[data-theme="orange"] .install-panel-head small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px 5px;
  border: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 199, 122, 0.06)),
    rgba(19, 8, 2, 0.52);
  color: #ffad57;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 0.92vw, 1.02rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow:
    0 0 14px rgba(255, 122, 26, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 190, 0.08),
    0 0 22px rgba(255, 122, 26, 0.12);
}

html[data-theme="orange"] .install-panel-head strong {
  color: #ffd09a;
  font-size: 1.08em;
}

html[data-theme="orange"] .install-panel-head > span {
  display: none !important;
}

@media (max-width: 760px) {
  html[data-theme="orange"] .install-panel-head {
    justify-items: center;
  }

  html[data-theme="orange"] .install-panel-head small {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
