/* Experience v2 — immersive, one-action-at-a-time wizard. */
.experience-v2 {
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.experience-v2 .topbar {
  position: relative;
  height: 76px;
}

.experience-v2 .topbar-inner { height: 76px; }

.experience-v2 .shell {
  height: calc(100svh - 76px);
  min-height: 544px;
  padding: 24px 0;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: stretch;
}

.experience-v2 .rail {
  position: relative;
  top: auto;
  height: 100%;
  min-height: 0;
  padding: 8px 24px 4px 0;
  display: flex;
  flex-direction: column;
}

.experience-v2 .rail-title {
  margin-bottom: 20px;
  font-size: 23px;
}

.experience-v2 .step-list {
  flex: 1;
  min-height: 0;
}

.experience-v2 .step-list li {
  padding: 0 0 clamp(8px, 1.15vh, 14px) 34px;
  min-height: 43px;
}

.experience-v2 .step-list li:not(:last-child)::after { top: 20px; }
.experience-v2 .rail-dot { width: 22px; height: 22px; font-size: 9px; }
.experience-v2 .rail-name { font-size: 12px; line-height: 1.2; }
.experience-v2 .rail-status { margin-top: 1px; font-size: 8px; }
.experience-v2 .rail-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; }

.experience-v2 .content {
  max-width: none;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.experience-v2 .footer { display: none; }

.experience-stage {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 0;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.experience-stage::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.experience-toolbar {
  min-height: 52px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.experience-location,
.experience-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.experience-location {
  min-width: 0;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.experience-location strong {
  overflow: hidden;
  color: var(--gold);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-mark {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-30);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 9px;
}

.experience-tool {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.experience-tool:hover { color: var(--text); border-color: var(--gold-30); }

.experience-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(440px, 1.22fr);
  gap: clamp(22px, 3vw, 48px);
}

.guide-pane {
  min-height: 0;
  padding: clamp(26px, 4vh, 46px) clamp(26px, 3.2vw, 52px);
  display: flex;
  flex-direction: column;
  border-right: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.guide-copy { margin: auto 0; }

.guide-kicker {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--copper-bright);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.guide-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold-deep); }

.guide-pane h1,
.guide-pane h2 {
  max-width: 580px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.5vw, 54px);
  line-height: .98;
  letter-spacing: -.038em;
  font-weight: 500;
}

.guide-pane h1 em,
.guide-pane h2 em { color: var(--gold-bright); font-style: italic; }

.guide-lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--text-mid);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.55;
}

.guide-lead strong { color: var(--text); }

.tiny-reassurance {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 1px solid var(--gold-deep);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}

.action-zone {
  margin-top: 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
}

.action-block { width: 100%; }

.action-instruction {
  margin: 0 0 10px;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.4;
}

.action-instruction span {
  margin-right: 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--copper);
  color: #160d06;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-os-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.experience-action {
  min-height: 50px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--copper);
  color: #160d06;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .18s var(--ease), background .18s ease, border-color .18s ease;
}

.experience-action:hover { transform: translateY(-2px); background: var(--copper-bright); }
.experience-action.is-next-action {
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 0 0 1px rgba(242, 177, 115, .25), 0 10px 34px rgba(224, 141, 60, .18);
  animation: guideActionPulse 2.2s ease-in-out infinite;
}
.experience-action.secondary { background: transparent; color: var(--text-mid); border-color: var(--border-strong); }
.experience-action.secondary:hover { background: var(--gold-10); color: var(--text); }
.experience-action.success { background: var(--success); color: #07140d; }
.experience-action:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.action-arrow { font-size: 18px; font-weight: 400; }

.keyboard-tip {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.simulation-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 32px) clamp(8px, 1.2vw, 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.simulation-pane::before {
  display: none;
}

.simulation-label {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.simulation-label::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--gold-deep); }

.simulation-label span { white-space: nowrap; }

.simulation-label strong {
  min-width: 0;
  margin-left: auto;
  padding-left: 8px;
  border-left: 1px solid var(--border-strong);
  color: var(--text-faint);
  font-weight: 600;
  text-align: right;
}

.simulation-example {
  position: relative;
  z-index: 2;
  width: min(100%, 580px);
  margin: 0;
  display: grid;
  gap: 14px;
}

.simulation-art {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .76;
  filter: saturate(.68);
}

.simulation-example,
.simulation-example * {
  pointer-events: none !important;
  user-select: none;
}

.simulation-example button { cursor: default !important; }

.app-window {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-height: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: #111216;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.app-window.browser { background: #f5f3ef; color: #211e1a; }
.app-window.obsidian { background: #17151b; }

.window-bar {
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #191a1f;
}

.browser .window-bar { background: #e8e5df; border-color: rgba(0,0,0,.1); }
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: #5b5c62; }
.window-dot:first-child { background: #d96b61; }
.window-dot:nth-child(2) { background: #d7ae54; }
.window-dot:nth-child(3) { background: #65ad72; }

.window-title {
  min-width: 0;
  margin-left: 6px;
  color: #8f9097;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser .window-title { color: #6c6862; }
.window-body { position: relative; min-height: 0; display: flex; overflow: hidden; }

.mock-sidebar {
  width: 31%;
  min-width: 128px;
  padding: 13px 10px;
  border-right: 1px solid rgba(255,255,255,.07);
  background: #0d0e11;
}

.mock-sidebar.light { background: #efede8; border-color: rgba(0,0,0,.08); }
.mock-brand-line { height: 21px; margin: 2px 4px 17px; display: flex; align-items: center; gap: 7px; color: #dadadd; font-size: 11px; font-weight: 700; }
.mock-logo { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #62636a; border-radius: 5px; color: #d6d6d9; font-size: 9px; }
.mock-nav-line { height: 27px; margin: 3px 0; padding: 0 8px; display: flex; align-items: center; gap: 7px; border-radius: 6px; color: #777982; font-size: 9px; }
.mock-nav-line.active { background: #202126; color: #dedee2; }
.mock-nav-icon { width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 3px; opacity: .7; }

.mock-main {
  position: relative;
  min-width: 0;
  flex: 1;
  padding: clamp(14px, 2vw, 25px);
  display: flex;
  flex-direction: column;
  background: #15161a;
}

.browser .mock-main { background: #f7f5f1; }
.mock-heading { color: #ededee; font-family: var(--display); font-size: clamp(17px, 2vw, 27px); line-height: 1.1; }
.browser .mock-heading { color: #24211d; }
.mock-sub { margin-top: 7px; color: #85868e; font-size: 9px; line-height: 1.45; }
.browser .mock-sub { color: #77716a; }
.mock-spacer { flex: 1; }

.mock-composer {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: #202126;
  color: #acadb3;
  font-size: 9px;
  line-height: 1.4;
}

.mock-composer.filled { color: #d8d8da; }
.mock-composer-actions { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; }
.mock-chip { padding: 3px 6px; border: 1px solid #3b3c42; border-radius: 99px; color: #888991; font-size: 7px; }
.mock-send { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f1f1ef; color: #121315; cursor: pointer; font-size: 13px; }

.hotspot {
  position: relative;
  border-color: var(--copper) !important;
  border-style: dashed !important;
  box-shadow: 0 0 0 2px rgba(224,141,60,.1);
  animation: none;
}

button.hotspot { cursor: default; }
.hotspot::after {
  content: "onde clicar · " attr(data-callout);
  position: absolute;
  z-index: 8;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: 190px;
  padding: 7px 9px;
  border: 1px solid rgba(224,141,60,.36);
  border-radius: 7px;
  background: #1b1713;
  color: #cdb79f;
  transform: translateX(-50%);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.hotspot.callout-above::after { top: auto; bottom: calc(100% + 10px); }

.hotspot.callout-left::after {
  right: 0;
  left: auto;
  transform: none;
}

.hotspot.callout-right::after {
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
}

.fake-selector {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  min-width: 118px;
  height: 31px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #404148;
  border-radius: 8px;
  background: #202126;
  color: #dedee1;
  cursor: pointer;
  font-size: 9px;
}

.fake-menu {
  position: absolute;
  top: 49px;
  left: 12px;
  z-index: 7;
  width: 150px;
  padding: 5px;
  border: 1px solid #3d3e44;
  border-radius: 9px;
  background: #202126;
  box-shadow: 0 16px 40px rgba(0,0,0,.42);
}

.fake-menu-row { padding: 8px 9px; display: flex; align-items: center; justify-content: space-between; border-radius: 6px; color: #a5a6ad; font-size: 9px; }
.fake-menu-row.active { color: #f0f0f1; background: #2c2d32; }
button.fake-menu-row { width: 100%; border: 0; cursor: pointer; }

.download-card {
  margin: auto;
  width: min(100%, 360px);
  padding: 22px;
  border: 1px solid rgba(0,0,0,.11);
  border-radius: 12px;
  background: white;
  box-shadow: 0 20px 50px rgba(42,34,25,.14);
}

.download-logo { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; background: #161616; color: white; font-weight: 800; }
.download-card h3 { margin: 15px 0 6px; color: #1e1c19; font-size: 17px; }
.download-card p { margin: 0 0 15px; color: #706b64; font-size: 9px; line-height: 1.5; }
.download-button { width: 100%; min-height: 38px; border: 0; border-radius: 7px; background: #161616; color: white; cursor: pointer; font-size: 10px; font-weight: 700; }

.os-picker { position: relative; z-index: 3; width: min(100%, 530px); }
.os-picker-title { margin: 0 0 18px; text-align: center; color: var(--text-mid); font-size: 13px; }
.os-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.os-option { min-height: 144px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid var(--border-strong); border-radius: 11px; background: var(--surface); color: var(--text); cursor: pointer; text-align: left; }
.os-option:hover { border-color: var(--gold); background: var(--gold-10); }
.os-glyph { font-size: 29px; color: var(--gold-bright); }
.os-option strong { font-size: 15px; }
.os-option span:last-child { color: var(--text-dim); font-size: 9px; }

.installer-scene { position: relative; z-index: 2; width: min(100%, 520px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.installer-file, .installer-apps { min-height: 160px; padding: 18px; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px solid var(--border-strong); border-radius: 13px; background: var(--surface); text-align: center; }
.installer-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--gold-30); border-radius: 13px; color: var(--gold-bright); font-size: 24px; }
.installer-scene strong { font-size: 11px; }
.installer-scene small { color: var(--text-dim); font-size: 8px; }
.installer-arrow { color: var(--copper); font-size: 30px; }

.safety-stack { position: relative; z-index: 2; width: min(100%, 620px); display: grid; gap: 9px; }
.safety-row { min-height: 54px; padding: 11px 14px; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--border); background: rgba(17,17,21,.7); }
.safety-index { color: var(--gold); font-family: var(--mono); font-size: 9px; }
.safety-row strong { display: block; font-size: 11px; }
.safety-row small { display: block; margin-top: 2px; color: var(--text-dim); font-size: 8px; }
.safety-check { color: var(--success); font-size: 14px; }

.activity-feed { position: relative; z-index: 2; width: min(100%, 610px); padding: 22px; border: 1px solid var(--border-strong); border-radius: 13px; background: #111216; }
.activity-title { padding-bottom: 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); color: var(--text); font-size: 11px; font-weight: 700; }
.activity-live { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 8px; font-weight: 600; }
.activity-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livePulse 1.2s ease-in-out infinite; }
.activity-list { margin: 0; padding: 12px 0 0; list-style: none; }
.activity-list li { padding: 8px 0; display: grid; grid-template-columns: 18px 1fr; gap: 9px; color: #a6a7ad; font-size: 9px; border-bottom: 1px solid rgba(255,255,255,.04); }
.activity-list li.done { color: #d5d5d7; }
.activity-list li.current { color: var(--copper-bright); }
.activity-state { color: var(--success); }
.activity-list li.current .activity-state { color: var(--copper); animation: spin 1.2s linear infinite; }

.receipt { position: relative; z-index: 2; width: min(100%, 580px); max-height: 100%; padding: 22px; border: 1px solid rgba(127,197,154,.32); border-radius: 12px; background: #0e1511; overflow: auto; }
.receipt-tag { color: var(--success); font-family: var(--mono); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.receipt h3 { margin: 10px 0 14px; font-family: var(--display); font-size: 23px; font-weight: 500; }
.receipt-line { padding: 8px 0; display: grid; grid-template-columns: 115px 1fr; gap: 12px; border-top: 1px solid rgba(127,197,154,.13); font-size: 9px; }
.receipt-line span { color: var(--text-dim); }
.receipt-line strong { color: var(--text); overflow-wrap: anywhere; }

.obsidian .mock-sidebar { background: #121015; }
.obsidian .mock-main { background: #1c191f; }
.obsidian-file { height: 23px; padding: 0 6px; display: flex; align-items: center; gap: 6px; border-radius: 4px; color: #8f8995; font-size: 8px; }
.obsidian-file.active { background: #302934; color: #eeeaf1; }
.obsidian-dot { width: 5px; height: 5px; border-radius: 50%; background: #8d6fa0; }
.obsidian-note { width: min(100%, 420px); margin: auto; }
.obsidian-note h3 { margin: 0 0 10px; font-family: var(--display); font-size: 23px; font-weight: 500; }
.obsidian-note p { color: #a6a0aa; font-size: 9px; line-height: 1.55; }
.note-links { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.note-link { padding: 9px; border: 1px solid #3d3443; border-radius: 6px; color: #bba9c6; font-size: 8px; }

.journey-map { position: relative; z-index: 2; width: min(100%, 660px); }
.journey-core { width: 116px; height: 116px; margin: 0 auto 30px; display: grid; place-items: center; border: 1px solid var(--gold-30); border-radius: 50%; color: var(--gold-bright); font-family: var(--display); font-size: 52px; box-shadow: 0 0 70px rgba(201,178,152,.12); }
.journey-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.journey-node { padding: 12px 8px; border-top: 1px solid var(--gold-deep); color: var(--text-dim); font-size: 8px; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.journey-node strong { display: block; margin-bottom: 4px; color: var(--gold); font-family: var(--mono); font-size: 9px; }

.experience-bottom {
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  background: rgba(7,7,9,.6);
}

.micro-progress { display: flex; align-items: center; gap: 10px; }
.micro-counter { color: var(--text-dim); font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.micro-track { width: clamp(80px, 11vw, 150px); height: 2px; background: var(--border-strong); }
.micro-track span { display: block; height: 100%; background: var(--copper); transition: width .36s var(--ease); }
.bottom-note { color: var(--text-faint); font-size: 10px; }
.back-micro { min-height: 34px; padding: 5px 8px; border: 0; background: transparent; color: var(--text-dim); cursor: pointer; font-size: 11px; }
.back-micro:hover { color: var(--text); }

.help-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  visibility: hidden;
  pointer-events: none;
}

.help-overlay.open { visibility: visible; pointer-events: auto; }
.help-scrim { border: 0; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .2s ease; }
.help-overlay.open .help-scrim { opacity: 1; }
.help-panel { padding: 26px; display: flex; flex-direction: column; background: #111115; border-left: 1px solid var(--border-strong); transform: translateX(100%); transition: transform .3s var(--ease); }
.help-overlay.open .help-panel { transform: none; }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.help-head p { margin: 0; color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.help-close { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.help-panel h2 { margin: 42px 0 14px; font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.04; }
.help-panel p { color: var(--text-mid); font-size: 14px; line-height: 1.55; }
.help-list { margin: 4px 0 22px; padding: 0; list-style: none; counter-reset: help; }
.help-list li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--border); color: var(--text-mid); font-size: 13px; line-height: 1.45; counter-increment: help; }
.help-list li::before { content: counter(help); position: absolute; left: 0; color: var(--gold); font-family: var(--mono); font-size: 9px; }
.help-support { margin-top: auto; }

.experience-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  max-width: min(calc(100% - 28px), 520px);
  padding: 11px 15px;
  border: 1px solid var(--gold-30);
  border-radius: 9px;
  background: #1c1712;
  color: var(--gold-bright);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  font-size: 12px;
  transition: opacity .2s ease, transform .2s var(--ease);
}

.experience-toast.on { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes hotspotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(224,141,60,.12), 0 0 22px rgba(224,141,60,.13); }
  50% { box-shadow: 0 0 0 7px rgba(224,141,60,.08), 0 0 34px rgba(224,141,60,.24); }
}

@keyframes guideActionPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(242, 177, 115, .24), 0 10px 30px rgba(224, 141, 60, .14); }
  50% { box-shadow: 0 0 0 4px rgba(242, 177, 115, .12), 0 14px 42px rgba(224, 141, 60, .27); }
}

@keyframes livePulse { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .experience-v2 { height: auto; min-height: 100svh; overflow: auto; }
  .experience-v2 .topbar { position: sticky; height: auto; }
  .experience-v2 .mobile-progress { display: block; position: sticky; top: 76px; z-index: 25; }
  .experience-v2 .shell { width: min(calc(100% - 28px), 780px); height: auto; min-height: calc(100svh - 132px); padding: 16px 0 28px; display: block; }
  .experience-v2 .rail { display: none; }
  .experience-stage { min-height: calc(100svh - 160px); }
  .experience-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(340px, 48vh); }
  .guide-pane { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--border); overflow: visible; }
  .guide-copy { margin: 0; }
  .simulation-pane { min-height: 340px; }
}

@media (max-width: 640px) {
  .experience-v2 .topbar-inner { width: calc(100% - 28px); min-height: 66px; height: 66px; }
  .experience-v2 .topbar { height: 66px; }
  .experience-v2 .brand img { width: 122px; }
  .experience-v2 .brand-separator, .experience-v2 .brand-label, .support-top { display: none; }
  .experience-v2 .mobile-progress { top: 66px; }
  .experience-v2 .mobile-progress-inner { width: calc(100% - 28px); }
  .experience-v2 .shell { min-height: calc(100svh - 120px); }
  .experience-stage { border-left: 0; border-right: 0; margin-inline: -14px; width: calc(100% + 28px); }
  .experience-toolbar { padding: 0 14px; }
  .experience-location span:not(.chapter-mark), .keyboard-tip, .bottom-note { display: none; }
  .experience-tool { padding-inline: 8px; }
  .experience-layout { grid-template-rows: auto minmax(300px, 43vh); }
  .guide-pane { min-height: 365px; padding: 28px 21px; }
  .guide-pane h1, .guide-pane h2 { font-size: clamp(33px, 10.2vw, 44px); }
  .guide-lead { font-size: 16px; }
  .action-zone { align-items: stretch; flex-direction: column; }
  .guide-os-actions { grid-template-columns: 1fr; }
  .experience-action { width: 100%; }
  .simulation-pane { padding: 24px 12px; min-height: 280px; }
  .simulation-example { width: min(100%, 330px); }
  .simulation-label { align-items: flex-start; gap: 6px; }
  .simulation-label strong { line-height: 1.35; }
  .app-window { aspect-ratio: 4 / 3; }
  .mock-sidebar { width: 34%; min-width: 92px; padding-inline: 6px; }
  .mock-nav-line { padding-inline: 5px; }
  .installer-scene { grid-template-columns: 1fr; gap: 8px; }
  .installer-file, .installer-apps { min-height: 90px; }
  .installer-arrow { transform: rotate(90deg); font-size: 21px; }
  .os-options { grid-template-columns: 1fr; }
  .os-option { min-height: 102px; }
  .journey-nodes { grid-template-columns: repeat(2, 1fr); }
  .journey-core { width: 90px; height: 90px; margin-bottom: 18px; font-size: 40px; }
  .receipt-line { grid-template-columns: 90px 1fr; }
  .help-overlay { grid-template-columns: 1fr; }
  .help-scrim { display: none; }
  .help-panel { width: 100%; border-left: 0; }
  .experience-bottom { padding: 0 12px; }
}

@media (max-height: 700px) and (min-width: 981px) {
  .experience-v2 .shell { padding-block: 14px; }
  .guide-pane { padding-block: 24px; }
  .guide-pane h1, .guide-pane h2 { font-size: clamp(29px, 3.1vw, 45px); }
  .guide-lead { margin-top: 14px; font-size: 14px; }
  .tiny-reassurance { margin-top: 12px; }
  .action-zone { margin-top: 18px; }
  .experience-action { min-height: 44px; }
}

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

@media print {
  .experience-v2 { height: auto; overflow: visible; }
  .experience-v2 .topbar, .experience-v2 .mobile-progress, .experience-v2 .rail, .experience-tools, .experience-bottom, .simulation-pane, .help-overlay { display: none !important; }
  .experience-v2 .shell, .experience-layout { display: block; height: auto; min-height: 0; }
  .experience-stage { border: 0; }
  .guide-pane { border: 0; color: #111; }
}

/* Experience v3 — full-window stage with horizontal chapter navigation. */
.experience-v2 .mobile-progress,
.experience-v2 .rail {
  display: none !important;
}

.experience-v2 .shell {
  width: min(calc(100% - 64px), 1400px);
  max-width: 1400px;
  height: calc(100svh - 76px);
  min-height: 544px;
  margin: 0 auto;
  padding: 12px 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 54px minmax(0, 1fr);
  gap: 10px;
}

.chapter-strip {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
}

.chapter-strip ol {
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  list-style: none;
}

.chapter-strip li {
  position: relative;
  min-width: 0;
}

.chapter-strip li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 1px;
  height: 22px;
  background: var(--border);
  transform: translateY(-50%);
}

.chapter-strip button {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.chapter-strip button:disabled {
  cursor: default;
  opacity: .54;
}

.chapter-strip li.done button { color: var(--text-dim); }
.chapter-strip li.active button {
  color: var(--text);
  background: linear-gradient(180deg, rgba(224,141,60,.09), transparent);
}

.chapter-strip li.active::before {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  background: var(--copper);
}

.chapter-number {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: inherit;
  font-family: var(--mono);
  font-size: 8px;
}

.chapter-strip li.done .chapter-number {
  border-color: rgba(127,197,154,.55);
  color: var(--success);
}

.chapter-strip li.active .chapter-number {
  border-color: var(--copper);
  background: var(--copper);
  color: #160d06;
}

.chapter-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.experience-v2 .content {
  width: 100%;
  height: 100%;
}

.experience-v2 .experience-stage {
  height: 100%;
}

.experience-v2 .experience-layout {
  grid-template-columns: minmax(520px, 1.15fr) minmax(380px, .85fr);
}

@media (max-width: 1100px) {
  .chapter-strip {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-deep) transparent;
  }

  .chapter-strip ol {
    min-width: 920px;
  }
}

@media (max-width: 980px) {
  .experience-v2 .shell {
    width: calc(100% - 20px);
    height: auto;
    min-height: calc(100svh - 76px);
    margin: 0 10px;
    padding: 10px 0 24px;
    display: grid;
    grid-template-rows: 52px auto;
    gap: 10px;
  }

  .experience-v2 .experience-stage {
    height: auto;
    min-height: calc(100svh - 148px);
  }

  .experience-v2 .experience-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(280px, 40vh);
  }

  .chapter-strip ol { min-width: 820px; }
  .chapter-strip button { padding-inline: 8px; }
}

@media (max-width: 640px) {
  .experience-v2 .shell {
    width: 100%;
    min-height: calc(100svh - 66px);
    margin: 0;
    padding-top: 0;
    grid-template-rows: 50px auto;
    gap: 0;
  }

  .chapter-strip {
    border-right: 0;
    border-left: 0;
  }

  .chapter-strip ol { min-width: 720px; }
  .chapter-strip button { justify-content: flex-start; font-size: 9px; }
  .chapter-number { width: 20px; height: 20px; }

  .experience-v2 .experience-stage {
    width: 100%;
    margin: 0;
    border-top: 0;
  }
}
