:root {
  --bg: #f4f7f9;
  --card: rgba(255,255,255,.94);
  --text: #101419;
  --muted: #66717e;
  --line: #e1e7ec;
  --dark: #111820;
  --green: #107c10;
  --green-soft: #eaf7ea;
  --blue: #1379d8;
  --blue-soft: #ebf5ff;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --shadow: 0 24px 70px rgba(16, 24, 40, .09);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(16,124,16,.08), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(19,121,216,.08), transparent 28%),
    var(--bg);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.shell {
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: 34px 0 24px;
}
.card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(218,225,231,.95);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.topline {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, #0d8e24, #116a20);
  box-shadow: 0 8px 20px rgba(16,124,16,.2);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy span { color: var(--muted); font-size: 12px; }

.step { display: none; }
.step.active { display: block; }
.hero-copy { max-width: 610px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #f0f3f5;
  color: #59636f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 43px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
h2 { margin: 0; letter-spacing: -.025em; }
.lead {
  margin: 0 0 25px;
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.section-title { margin: 28px 0 14px; font-size: 18px; }

.important-note, .soft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 16px;
  line-height: 1.45;
}
.important-note {
  padding: 14px 15px;
  color: #4d4a28;
  background: #fff9df;
  border: 1px solid #efe3a6;
  font-size: 14px;
}
.important-icon {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #f2d562;
  color: #574b13;
  font-weight: 900;
}
.soft-note {
  padding: 15px;
  color: var(--muted);
  background: #f7f9fa;
  border: 1px solid var(--line);
}

.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.device-card {
  min-height: 136px;
  display: grid;
  grid-template-columns: 54px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.device-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,24,40,.08); }
.xbox-card:hover { border-color: rgba(16,124,16,.45); }
.pc-card:hover { border-color: rgba(19,121,216,.45); }
.device-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 17px;
}
.device-icon svg { width: 34px; height: 34px; fill: currentColor; }
.xbox-icon { color: var(--green); background: linear-gradient(145deg, #effbef, #dff3df); box-shadow: inset 0 0 0 1px rgba(16,124,16,.08); }
.pc-icon { color: var(--blue); background: linear-gradient(145deg, #f0f8ff, #deefff); box-shadow: inset 0 0 0 1px rgba(19,121,216,.08); }
.device-text { min-width: 0; display: grid; gap: 5px; }
.device-text strong { font-size: 20px; letter-spacing: -.02em; }
.device-text small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.device-arrow { color: #9aa4ae; font-size: 22px; }

.back-top, .link-btn {
  border: 0;
  background: transparent;
  color: #64707d;
  padding: 7px 0;
  font-weight: 650;
}
.back-top { margin: -8px 0 18px; }
.link-btn { margin-top: 18px; }
.back-top:hover, .link-btn:hover { color: var(--text); }

label { display: block; margin: 18px 0 8px; font-weight: 750; }
input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd7de;
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-size: 17px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus { border-color: #7f8b96; box-shadow: 0 0 0 4px rgba(17,24,32,.06); }
.device-code {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 24px;
  font-weight: 850;
}
.hint { margin: 7px 2px 0; color: var(--muted); font-size: 13px; }

.primary, .secondary, .anchor-btn {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 24px;
  font-weight: 800;
  text-decoration: none;
}
.primary { border: 1px solid var(--dark); color: #fff; background: var(--dark); box-shadow: 0 9px 24px rgba(17,24,32,.14); }
.primary:hover { filter: brightness(1.05); }
.xbox-primary { background: linear-gradient(135deg, #107c10, #0a6715); border-color: #107c10; box-shadow: 0 10px 25px rgba(16,124,16,.19); }
.secondary { border: 1px solid #cfd7de; color: var(--text); background: #fff; }
button:disabled, input:disabled { opacity: .56; cursor: wait; }

.choices { display: grid; gap: 12px; }
.choice {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 17px;
  border: 1px solid #d9e0e6;
  border-radius: 17px;
  text-align: left;
  background: #fff;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.choice:hover { transform: translateY(-1px); border-color: #a9b3bd; box-shadow: 0 8px 22px rgba(16,24,40,.06); }
.choice.recommended { border-color: #b8d7be; background: linear-gradient(180deg,#fff,#fbfffb); }
.choice-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #f1f4f6;
  font-size: 18px;
  font-weight: 900;
}
.choice > span:last-child { display: grid; gap: 5px; }
.choice strong { font-size: 16px; }
.choice small { color: var(--muted); line-height: 1.42; font-size: 13px; }

.status-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
}
.status-icon.success { color: var(--green); background: var(--green-soft); }
.status-icon.error { color: var(--danger); background: var(--danger-soft); }
.status-icon.neutral { color: #5a6571; background: #f0f3f5; }
.status-icon.large { width: 62px; height: 62px; margin-inline: auto; font-size: 30px; }
.centered-step { text-align: center; }
.centered-step .lead { margin-left: auto; margin-right: auto; }

.instruction-set { display: grid; gap: 14px; }
.instruction-card {
  overflow: hidden;
  display: grid;
  gap: 7px;
  padding: 12px 12px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.instruction-card strong { font-size: 15px; padding: 0 3px; }
.instruction-card span { color: var(--muted); font-size: 13px; line-height: 1.45; padding: 0 3px; }
.shot-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd4dc;
  border-radius: 13px;
  color: #84909b;
  background: linear-gradient(135deg,#f7f9fa,#eef2f5);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 18px;
}
.code-panel {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.code-panel h2 { margin-bottom: 6px; font-size: 24px; }
.pc-placeholder {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px dashed #b8c7d4;
  border-radius: 18px;
  background: var(--blue-soft);
}
.pc-placeholder span { color: #557083; font-size: 14px; line-height: 1.5; }

.loader-wrap {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(7px);
  font-weight: 750;
  text-align: center;
}
.loader-wrap[hidden] { display: none !important; }
.loader-wrap small { color: var(--muted); font-weight: 500; }
.spinner {
  width: 38px; height: 38px;
  border: 3px solid #e2e7eb;
  border-top-color: #151b22;
  border-radius: 50%;
  animation: spin .72s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.footer { margin: 16px 0 0; text-align: center; color: #8a949f; font-size: 12px; line-height: 1.4; }

@media (max-width: 620px) {
  .shell { width: 100%; padding: 0; }
  .card {
    min-height: 100svh;
    padding: 20px 17px 30px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .topline { margin-bottom: 22px; padding-bottom: 18px; }
  h1 { font-size: clamp(30px, 9vw, 39px); }
  .lead { font-size: 15px; }
  .device-grid { grid-template-columns: 1fr; gap: 11px; }
  .device-card { min-height: 104px; padding: 16px; }
  .instruction-card { border-radius: 16px; }
  .shot-placeholder { aspect-ratio: 16 / 9; }
  .primary, .secondary, .anchor-btn { min-height: 56px; }
  .footer { display: none; }
}

@media (max-width: 360px) {
  .card { padding-left: 14px; padding-right: 14px; }
  .device-card { grid-template-columns: 48px 1fr 18px; gap: 10px; }
  .device-icon { width: 48px; height: 48px; }
  .device-code { font-size: 21px; letter-spacing: .16em; }
}

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


/* v0.9.1 — чистый современный первый экран */
.topline { display: none !important; }

.card {
  padding: 34px;
  border-radius: 30px;
  border-color: rgba(214, 221, 228, .82);
  box-shadow: 0 26px 80px rgba(20, 31, 43, .10);
}

.welcome-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, #1c952c, #087814);
  box-shadow: 0 14px 34px rgba(16,124,16,.22);
}
.welcome-mark svg { width: 38px; height: 38px; fill: #fff; }
.welcome-mark .cut { fill: #fff; }

.hero-clean { max-width: 625px; }
.hero-clean h1 {
  max-width: 620px;
  margin-bottom: 15px;
  font-size: clamp(32px, 6.3vw, 48px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.048em;
}
.hero-clean .lead {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -.01em;
}

.important-note-strong {
  padding: 17px 18px;
  border-radius: 18px;
  color: #573900;
  background: linear-gradient(180deg, #fff9e8, #fff6d8);
  border-color: #eed993;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.important-note-strong strong {
  color: #2e2300;
  font-weight: 790;
}
.important-note-strong .important-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1c84a;
  color: #352700;
  font-size: 16px;
}

.section-title {
  margin-top: 31px;
  margin-bottom: 15px;
  font-size: 19px;
  font-weight: 740;
  letter-spacing: -.025em;
}

.device-card {
  min-height: 148px;
  grid-template-columns: 62px 1fr 22px;
  gap: 16px;
  padding: 21px;
  border-radius: 22px;
  border-color: #dde3e8;
  box-shadow: 0 3px 12px rgba(20,31,43,.025);
}
.device-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16,24,40,.09);
}
.xbox-card:hover {
  border-color: rgba(16,124,16,.48);
  background: linear-gradient(180deg,#fff,#fbfffb);
}
.pc-card:hover {
  border-color: rgba(19,121,216,.48);
  background: linear-gradient(180deg,#fff,#fbfdff);
}

.device-icon {
  width: 62px;
  height: 62px;
  border-radius: 19px;
}
.device-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
}
.device-icon .icon-shell {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
}
.device-icon .icon-screen {
  fill: currentColor;
  opacity: .08;
}
.device-icon .icon-detail { fill: currentColor; }
.device-icon .icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.device-icon .icon-stroke.soft { opacity: .55; }

.xbox-icon {
  color: #0f821d;
  background: linear-gradient(145deg, #f0fff2, #ddf5e1);
  box-shadow: inset 0 0 0 1px rgba(16,124,16,.09), 0 9px 22px rgba(16,124,16,.08);
}
.pc-icon {
  color: #1677c8;
  background: linear-gradient(145deg, #f1f9ff, #deefff);
  box-shadow: inset 0 0 0 1px rgba(19,121,216,.09), 0 9px 22px rgba(19,121,216,.08);
}

.device-text strong {
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -.03em;
}
.device-text small {
  font-size: 13.5px;
  line-height: 1.4;
}
.device-arrow {
  font-size: 21px;
  transform: translateX(0);
  transition: transform .14s ease;
}
.device-card:hover .device-arrow { transform: translateX(3px); }

h1, h2, h3, strong, button {
  font-family: "Segoe UI Variable", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 18px, 720px);
    padding: 10px 0 16px;
  }
  .card {
    min-height: calc(100vh - 26px);
    padding: 25px 19px;
    border-radius: 24px;
  }
  .welcome-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 21px;
    border-radius: 17px;
  }
  .welcome-mark svg { width: 34px; height: 34px; }
  .hero-clean h1 {
    font-size: clamp(31px, 9.6vw, 42px);
    line-height: 1.02;
  }
  .hero-clean .lead {
    font-size: 16px;
    line-height: 1.52;
  }
  .important-note-strong {
    padding: 15px;
  }
  .device-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .device-card {
    min-height: 108px;
    grid-template-columns: 56px 1fr 20px;
    padding: 16px;
    border-radius: 19px;
  }
  .device-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }
  .device-icon svg { width: 36px; height: 36px; }
}


/* v0.9.2 — инструкция получения Xbox-кода */
.instruction-set-four {
  gap: 18px;
}
.instruction-shot-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: #f3f6f8;
  border: 1px solid #e0e6eb;
}
.instruction-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #f6f8fa;
}
.instruction-set-four .instruction-card {
  padding: 12px 12px 16px;
  gap: 9px;
}
.instruction-set-four .instruction-card strong {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.instruction-set-four .instruction-card span {
  font-size: 14px;
  line-height: 1.5;
}
.instruction-set-four .shot-fallback {
  border: 0;
  border-radius: 0;
  min-height: 220px;
  aspect-ratio: 16 / 9;
}
#step-xbox-instructions .code-panel {
  margin-top: 26px;
}
@media (max-width: 640px) {
  .instruction-set-four { gap: 13px; }
  .instruction-set-four .instruction-card {
    padding: 9px 9px 14px;
    border-radius: 18px;
  }
  .instruction-set-four .instruction-card strong {
    font-size: 16px;
    padding: 0 5px;
  }
  .instruction-set-four .instruction-card span {
    font-size: 13.5px;
    padding: 0 5px;
  }
  .instruction-shot-wrap { border-radius: 13px; }
  .instruction-set-four .shot-fallback { min-height: 180px; }
}


/* v0.9.3 — горизонтальная карусель инструкции Xbox */
.instruction-carousel {
  position: relative;
  margin-top: 18px;
  padding: 0 46px;
}
.instruction-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,31,43,.055);
}
.instruction-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform .42s cubic-bezier(.22,.8,.24,1);
}
.instruction-track.no-animation { transition: none !important; }
.instruction-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 14px 14px 18px;
  display: grid;
  align-content: start;
  gap: 12px;
  opacity: .58;
  transition: opacity .28s ease;
}
.instruction-slide.is-active { opacity: 1; }
.instruction-shot-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: linear-gradient(135deg,#f7f9fa,#eef2f5);
}
.instruction-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #f5f7f8;
}
.instruction-copy { display: grid; gap: 7px; padding: 0 4px; }
.instruction-copy strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.instruction-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}
.instruction-copy b { color: var(--text); font-weight: 800; }
.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 42%;
  width: 38px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(205,214,222,.95);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 22px rgba(20,31,43,.09);
  color: #20262d;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}
.carousel-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 11px 28px rgba(20,31,43,.13);
}
.carousel-arrow:disabled { opacity: .25; cursor: default; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 11px;
}
.carousel-dots { display: flex; gap: 7px; }
.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d1d8;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.is-active { width: 21px; background: #1a7f27; }
.carousel-counter { color: var(--muted); font-size: 12px; font-weight: 700; }
.compact-code-panel { margin-top: 16px; padding-top: 18px; }
.compact-code-panel h2 { font-size: 22px; }

@media (max-width: 640px) {
  .instruction-carousel { padding: 0 34px; margin-top: 14px; }
  .instruction-viewport { border-radius: 18px; }
  .instruction-slide { padding: 10px 10px 14px; gap: 10px; }
  .instruction-shot-wrap { border-radius: 13px; }
  .instruction-copy strong { font-size: 16px; }
  .instruction-copy span { font-size: 13px; }
  .carousel-arrow {
    width: 30px;
    height: 46px;
    border-radius: 12px;
    font-size: 26px;
  }
  .compact-code-panel { margin-top: 13px; padding-top: 15px; }
}

@media (max-width: 390px) {
  .instruction-carousel { padding: 0 29px; }
  .carousel-arrow { width: 26px; height: 42px; }
}


/* v0.9.4 — карусель после активации, FAQ и финальный экран */
.after-important-note { margin-top: 16px; }
.after-carousel { margin-top: 18px; }
.after-carousel-bottom { justify-content: space-between; }
.after-progress {
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ebef;
}
.after-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#178326,#25a63a);
  transition: width .3s ease;
}
.instruction-copy-warning {
  margin: 0 -2px -2px;
  padding: 12px;
  border-radius: 14px;
  background: #fff6db;
  border: 1px solid #ecd27c;
}
.instruction-copy-warning strong { color: #6b4500; }
.instruction-copy-warning span { color: #624d1c; }
#finish-btn { margin-top: 18px; }

.review-card, .games-card {
  display: grid;
  gap: 8px;
  margin: 20px 0 14px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(180deg,#fff,#f8fafb);
}
.review-card strong, .games-card strong { font-size: 17px; line-height: 1.3; }
.review-card span, .games-card span, .games-card small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.games-card .anchor-btn { margin-top: 6px; }

.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.faq-item summary {
  position: relative;
  padding: 16px 44px 16px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 740;
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .after-important-note { margin-top: 13px; }
  .after-carousel { margin-top: 14px; }
  .review-card, .games-card { padding: 16px; border-radius: 17px; }
  .faq-item summary { padding: 15px 42px 15px 15px; }
  .faq-item p { padding: 0 15px 15px; }
}


/* v0.9.5 — FAQ, DNS, финальный экран и глобальная помощь */
.global-faq-btn {
  position: absolute;
  z-index: 12;
  top: 18px;
  right: 18px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #dbe2e8;
  border-radius: 999px;
  color: #4c5966;
  background: rgba(255,255,255,.92);
  box-shadow: 0 7px 22px rgba(22,34,45,.07);
  backdrop-filter: blur(9px);
  font-size: 12.5px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.global-faq-btn[hidden] { display: none !important; }
.global-faq-btn > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #536170;
  font-size: 12px;
  font-weight: 900;
}
.global-faq-btn:hover {
  transform: translateY(-1px);
  border-color: #c4cfd8;
  box-shadow: 0 10px 28px rgba(22,34,45,.10);
}

.activation-help-card,
.finish-help-card,
.seller-card {
  display: grid;
  gap: 10px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.activation-help-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 14px;
  background: linear-gradient(180deg, #f8fbff, #f3f8fc);
  border-color: #d7e6f2;
}
.activation-help-card > div,
.finish-help-card,
.seller-card {
  text-align: left;
}
.activation-help-card strong,
.finish-help-card strong,
.seller-card strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
.activation-help-card span,
.finish-help-card span,
.seller-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.compact-help-btn {
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 9px 13px;
  white-space: nowrap;
}

.seller-card {
  margin-top: 14px;
  background: linear-gradient(180deg, #f7fbff, #eef7ff);
  border-color: #d4e6f5;
}
.seller-card .anchor-btn {
  margin-top: 3px;
}
.finish-help-card {
  margin-top: 14px;
  background: #fafbfc;
}
.finish-help-card .secondary {
  margin-top: 2px;
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.faq-item summary {
  position: relative;
  padding: 16px 44px 16px 16px;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #56616d;
  background: #f0f3f5;
  font-size: 18px;
  font-weight: 600;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item > p,
.faq-item > .dns-guide,
.faq-item > .anchor-btn {
  margin-left: 16px;
  margin-right: 16px;
}
.faq-item > p {
  margin-top: 0;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.faq-telegram-btn {
  margin-top: 0;
  margin-bottom: 16px;
}

.dns-guide {
  display: grid;
  gap: 13px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.dns-guide p { margin: 0; }
.dns-guide ol {
  margin: 0;
  padding-left: 22px;
}
.dns-guide li + li { margin-top: 5px; }
.dns-preset {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid #dfe6eb;
  border-radius: 14px;
  background: #f8fafb;
}
.dns-preset.primary-dns {
  background: linear-gradient(180deg,#f2fbf3,#ecf8ee);
  border-color: #cee6d1;
}
.dns-preset > strong {
  color: var(--text);
  font-size: 13.5px;
}
.dns-preset > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dns-preset span {
  color: #68747e;
  font-size: 12.5px;
}
.dns-preset code {
  display: inline-flex;
  width: max-content;
  padding: 5px 8px;
  border-radius: 8px;
  color: #17202a;
  background: #fff;
  border: 1px solid #dbe3e8;
  font: 700 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  user-select: all;
}
.dns-alt-title { margin-top: 2px !important; }
.dns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .global-faq-btn {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    min-height: 36px;
    padding: 7px 10px;
    background: rgba(255,255,255,.95);
  }
  .activation-help-card {
    grid-template-columns: 1fr;
  }
  .compact-help-btn {
    width: 100%;
  }
  .dns-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.9.7 — главный экран, preflight, крупные скриншоты, PC credentials */
.welcome-mark { display: none !important; }

.personal-highlight {
  color: #0d7d1c;
  font-weight: 820;
  white-space: nowrap;
}
.automation-note {
  margin: -10px 0 24px;
  max-width: 640px;
  color: #53616e;
  font-size: 14px;
  line-height: 1.5;
}

.preflight-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.preflight-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.preflight-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #111820;
  font-weight: 850;
}
.preflight-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.35;
}
.preflight-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0 14px;
  padding: 15px;
  border-radius: 16px;
  background: #f5f8fa;
  color: #25303a;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}
.confirm-check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #107c10;
}
button:disabled {
  cursor: default;
  opacity: .48;
}

.existing-device-note { margin: 16px 0 18px; }

.pc-credentials {
  display: grid;
  gap: 11px;
  margin: 18px 0;
}
.credential-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe3e8;
  border-radius: 16px;
  background: #f8fafb;
}
.credential-row > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.credential-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.credential-row code {
  overflow-wrap: anywhere;
  color: #151b22;
  font: 760 15px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy-btn {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #d6dfe6;
  border-radius: 11px;
  color: #25313c;
  background: #fff;
  font-size: 12.5px;
  font-weight: 760;
}
.pc-instruction-placeholder {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed #b8c7d4;
  border-radius: 18px;
  background: #f7fbff;
}
.pc-instruction-placeholder strong { font-size: 18px; }
.pc-instruction-placeholder span {
  color: var(--muted);
  font-size: 14px;
}

/* Карусель максимально использует ширину карточки */
.shell { width: min(100% - 28px, 900px); }

.instruction-carousel {
  padding: 0 !important;
}
.instruction-viewport {
  border-radius: 20px;
}
.instruction-slide {
  padding: 10px 10px 16px;
}
.instruction-shot-wrap {
  aspect-ratio: 24 / 13;
  border-radius: 14px;
}
.instruction-shot {
  object-fit: contain;
}

/* Стрелки лежат прямо поверх изображения, без рамки-кнопки */
.carousel-arrow {
  top: 40%;
  width: 46px;
  height: 64px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  font-size: 52px;
  font-weight: 350;
  text-shadow: 0 2px 5px rgba(0,0,0,.75), 0 0 14px rgba(0,0,0,.45);
}
.carousel-prev { left: 7px !important; }
.carousel-next { right: 7px !important; }
.carousel-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
  box-shadow: none !important;
}
.carousel-arrow:disabled {
  opacity: .14;
}

/* Предупреждение на шаге 14 теперь плавает поверх фото и не резервирует пустоту */
.slide-warning-overlay {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  right: 10px;
  display: grid;
  gap: 4px;
  padding: 13px 40px 13px 14px;
  border: 1px solid rgba(238,203,82,.95);
  border-radius: 14px;
  color: #4d3500;
  background: rgba(255,247,211,.96);
  box-shadow: 0 10px 28px rgba(69,49,0,.18);
  backdrop-filter: blur(7px);
  animation: warningDrop .28s ease both;
}
.slide-warning-overlay[hidden] { display: none !important; }
.slide-warning-overlay strong {
  font-size: 14px;
  color: #3d2b00;
}
.slide-warning-overlay span {
  font-size: 12.8px;
  line-height: 1.42;
}
.slide-warning-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #624600;
  background: rgba(255,255,255,.62);
  font-size: 21px;
  line-height: 1;
}
@keyframes warningDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.instruction-copy-warning {
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
}

/* Чуть больше область фотографий на десктопе */
#step-xbox-instructions .lead,
#step-after-instructions .lead {
  max-width: 760px;
}

@media (max-width: 640px) {
  .shell {
    width: 100%;
    padding: 0;
  }
  .card {
    padding-left: 14px;
    padding-right: 14px;
  }
  .personal-highlight { white-space: normal; }
  .instruction-carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .instruction-slide {
    padding: 7px 7px 13px;
  }
  .instruction-viewport {
    border-radius: 16px;
  }
  .instruction-shot-wrap {
    width: 100%;
    border-radius: 12px;
  }
  .carousel-arrow {
    top: 37%;
    width: 36px;
    height: 52px;
    font-size: 45px;
  }
  .carousel-prev { left: 3px !important; }
  .carousel-next { right: 3px !important; }
  .instruction-copy {
    padding-left: 3px;
    padding-right: 3px;
  }
  .instruction-copy strong { font-size: 16px; }
  .instruction-copy span { font-size: 13.5px; }
  .slide-warning-overlay {
    top: 7px;
    left: 7px;
    right: 7px;
    padding: 11px 36px 11px 12px;
  }
  .credential-row {
    grid-template-columns: 1fr;
  }
  .copy-btn {
    width: 100%;
  }
}


/* v0.9.8 — финальный экран и инструкция ПК */
.review-card-strong {
  padding: 21px;
  border-color: #efd68b;
  background: linear-gradient(180deg, #fffaf0, #fff7e4);
}
.review-card-strong strong {
  color: #342600;
  font-size: 20px;
  font-weight: 840;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.review-card-strong span {
  color: #5b5038;
  font-size: 15.5px;
  line-height: 1.58;
}

.seller-card strong,
.finish-help-card strong {
  font-size: 17px;
}
.seller-card span,
.finish-help-card span {
  color: #4f5c67;
  font-size: 14.5px;
  line-height: 1.58;
}

.pc-account-note {
  margin-top: 16px;
}
.pc-instruction-title {
  margin: 24px 0 5px;
  font-size: 25px;
  font-weight: 790;
  letter-spacing: -.03em;
}
.pc-instruction-intro {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.pc-carousel {
  margin-top: 0;
}
#pc-finish-btn {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .review-card-strong {
    padding: 18px;
  }
  .review-card-strong strong {
    font-size: 18px;
  }
  .review-card-strong span {
    font-size: 14.5px;
  }
  .pc-instruction-title {
    font-size: 23px;
  }
}


/* v1.0 — переход к отзыву на Яндекс Маркете */
.market-review-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 17px;
  padding: 13px 18px;
  border-radius: 15px;
  color: #fff;
  background: #111820;
  box-shadow: 0 10px 26px rgba(17,24,32,.16);
  font-size: 15px;
  font-weight: 810;
  text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease;
}
.market-review-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(17,24,32,.20);
}
.market-review-help {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(117,92,18,.14);
  text-align: left;
}
.market-review-help strong {
  color: #423616;
  font-size: 13.5px;
  font-weight: 800;
}
.market-review-help span {
  color: #665b42;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .market-review-btn {
    width: 100%;
    font-size: 14.5px;
  }
}


/* v1.0.2 — отзыв на экране уже выданного заказа */
.existing-review-card {
  display: grid;
  gap: 6px;
  margin-top: 17px;
  padding: 17px;
  border: 1px solid #e4d9b9;
  border-radius: 17px;
  background: linear-gradient(180deg, #fffdf7, #fff9e9);
}
.existing-review-card strong {
  color: #322700;
  font-size: 15.5px;
  font-weight: 810;
}
.existing-review-card span {
  color: #665b42;
  font-size: 13.5px;
  line-height: 1.5;
}
.existing-review-btn {
  margin-top: 8px;
  min-height: 47px;
  font-size: 14px;
}


/* v1.0.3 — более мягкий и понятный экран выбора режима */
.online-choices .choice {
  align-items: start;
}
.home-preferred {
  border-color: #9fd0a8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fff9 100%);
  box-shadow: 0 10px 28px rgba(16,124,16,.06);
}
.home-preferred:hover {
  border-color: #7fbf8d;
  box-shadow: 0 12px 32px rgba(16,124,16,.10);
}
.choice-icon-home {
  background: #e9f7eb;
  color: #107c10;
}
.choice-icon-online {
  background: #f4f6f8;
  color: #38424d;
}
.choice-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: #e9f7eb;
  color: #107c10;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.online-choices .choice small {
  font-size: 13.5px;
  line-height: 1.52;
}

/* v1.0.6 — более короткий интерфейс, заметные стрелки и финальная CTA */
.main-strict-warning {
  display: grid;
  gap: 5px;
  margin: 14px 0 22px;
  padding: 15px 16px;
  border: 1px solid #efb7b2;
  border-radius: 17px;
  background: #fff4f2;
  color: #9f1d14;
}
.main-strict-warning strong {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.main-strict-warning span {
  font-size: 14.5px;
  line-height: 1.48;
  font-weight: 680;
}
.automation-note-bottom {
  margin: 17px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: #7a8590;
}
.existing-instruction-hint {
  display: grid;
  gap: 4px;
  margin: 12px 0 14px;
  padding: 14px 15px;
  border: 1px solid #c9dfca;
  border-radius: 15px;
  background: #f5fff6;
}
.existing-instruction-hint strong { color: #176b22; font-size: 15px; }
.existing-instruction-hint span { color: #55635a; font-size: 13.5px; line-height: 1.45; }
.existing-instruction-btn {
  border-color: #8dc696 !important;
  background: linear-gradient(180deg,#fff,#f4fff5) !important;
  box-shadow: 0 8px 24px rgba(16,124,16,.08);
}
.existing-instruction-btn strong { color: #12691c; }

.after-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.after-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.after-check {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #107c10;
  background: #eaf7ea;
  font-size: 19px;
  font-weight: 900;
}
.after-status-line .eyebrow {
  margin: 0 0 2px;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #4f5d68;
  font-size: 10.5px;
}
.after-status-line h1 {
  margin: 0;
  font-size: clamp(24px,5vw,34px);
  line-height: 1.04;
}
.after-faq-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 13px;
}
.after-strict-box {
  display: grid;
  gap: 4px;
  margin: 7px 0 10px;
  padding: 11px 13px;
  border: 1px solid #efb7b2;
  border-radius: 14px;
  background: #fff5f3;
}
.after-strict-box strong {
  color: #a32017;
  font-size: 14.5px;
  line-height: 1.32;
  font-weight: 880;
}
.after-strict-box span {
  color: #6f4a46;
  font-size: 12.5px;
  line-height: 1.42;
}
#step-after-instructions .after-carousel { margin-top: 7px; }
.after-help-below { margin-top: 14px; }

/* Стрелки теперь контрастные и заметные на любой фотографии */
.carousel-arrow {
  width: 58px !important;
  height: 58px !important;
  border: 3px solid rgba(255,255,255,.98) !important;
  border-radius: 50% !important;
  background: rgba(17,24,32,.88) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.28) !important;
  text-shadow: none !important;
  font-size: 48px !important;
  font-weight: 500 !important;
  line-height: .8;
  backdrop-filter: blur(4px);
}
.carousel-prev { left: 10px !important; }
.carousel-next { right: 10px !important; }
.carousel-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
  background: rgba(17,24,32,.96) !important;
}
.carousel-arrow:disabled { opacity: .18 !important; }

.network-final-reminder {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 12px 13px;
  border: 2px solid #d7981a;
  border-radius: 13px;
  background: #fff8dc;
}
.network-final-reminder strong {
  color: #7a4700 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}
.network-final-reminder span {
  color: #5f450e !important;
  font-size: 14px !important;
  font-weight: 720;
  line-height: 1.45;
}

.finish-cta {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 32px), 820px);
  transform: translateX(-50%);
  min-height: 60px;
  margin-top: 12px;
  border: 2px solid #0d6b0d;
  border-radius: 17px;
  background: #107c10;
  color: #fff;
  box-shadow: 0 14px 34px rgba(16,124,16,.28);
  font-size: 18px;
  font-weight: 900;
  animation: finishPulse 1.6s ease-in-out infinite;
}
@keyframes finishPulse {
  0%,100% { box-shadow: 0 14px 34px rgba(16,124,16,.26); filter: brightness(1); }
  50% { box-shadow: 0 18px 44px rgba(16,124,16,.48); filter: brightness(1.08); }
}
.review-primary-cta {
  width: 100%;
  min-height: 60px;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .main-strict-warning { margin-top: 10px; margin-bottom: 16px; padding: 13px 14px; }
  .main-strict-warning strong { font-size: 16px; }
  .main-strict-warning span { font-size: 13.5px; }
  .after-topbar { align-items: center; gap: 8px; }
  .after-check { width: 30px; height: 30px; font-size: 17px; }
  .after-status-line { gap: 8px; }
  .after-status-line h1 { font-size: 24px; }
  .after-faq-btn { min-height: 36px; padding: 7px 9px; font-size: 11.5px; }
  .after-strict-box { margin: 5px 0 6px; padding: 9px 10px; }
  .after-strict-box strong { font-size: 13.5px; }
  .after-strict-box span { font-size: 11.8px; }
  #step-after-instructions .instruction-slide { padding-top: 4px; }
  #step-after-instructions .instruction-copy { gap: 4px; }
  .carousel-arrow {
    width: 50px !important;
    height: 50px !important;
    font-size: 42px !important;
    top: 38% !important;
  }
  .carousel-prev { left: 5px !important; }
  .carousel-next { right: 5px !important; }
  .finish-cta { min-height: 58px; font-size: 17px; }
  .network-final-reminder strong { font-size: 14.5px !important; }
  .network-final-reminder span { font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .finish-cta { animation: none; }
}


/* v1.0.7 — компактный Xbox-экран, динамическая высота и CTA поверх последнего фото */
.after-faq-btn {
  width: auto !important;
  min-width: max-content;
  min-height: 36px;
  margin-top: 0 !important;
  padding: 7px 11px !important;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}
.after-topbar {
  position: relative;
  margin-bottom: 6px;
}
.after-strict-box {
  margin-top: 5px;
  margin-bottom: 7px;
}
.after-strict-box b {
  color: #8f1e17;
  font-weight: 850;
}

/* У каждого слайда своя высота: длинная памятка на финале больше не растягивает все предыдущие экраны. */
#after-track {
  align-items: flex-start;
}
#after-carousel .instruction-viewport {
  height: auto;
  transition: height .18s ease;
}

/* Финальная памятка появляется только на последнем сетевом шаге и увеличивает только его. */
.network-final-reminder {
  margin-top: 9px;
}
.network-final-reminder strong {
  color: #a44700 !important;
}

/* «Я всё сделал» находится прямо поверх последней фотографии. */
#step-after-instructions .instruction-shot-wrap .finish-cta {
  position: absolute !important;
  z-index: 12;
  top: 12px;
  left: 50%;
  bottom: auto !important;
  width: auto !important;
  min-width: 210px;
  max-width: calc(100% - 110px);
  min-height: 48px;
  margin: 0 !important;
  padding: 11px 22px;
  transform: translateX(-50%);
  border: 2px solid rgba(255,255,255,.96);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  font-size: 15.5px;
  white-space: nowrap;
}
#step-after-instructions .instruction-shot-wrap .finish-cta:hover {
  transform: translateX(-50%) scale(1.03);
}

/* Повторный заказ: только нужные действия, без лишней плашки. */
#step-existing .status-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  font-size: 17px;
}
#step-existing h1 {
  margin-bottom: 5px;
  font-size: clamp(27px, 5vw, 36px);
}
#step-existing > .lead {
  margin: 0 0 12px;
  font-size: 14px;
}
#step-existing .existing-device-note {
  margin-top: 10px;
  margin-bottom: 12px;
}
#step-existing .choices {
  gap: 9px;
}
#step-existing .choice {
  padding: 14px;
}

@media (max-width: 640px) {
  .after-topbar { gap: 6px; }
  .after-faq-btn {
    min-height: 32px !important;
    padding: 6px 9px !important;
    font-size: 10.5px !important;
  }
  .after-status-line h1 { font-size: 22px; }
  .after-check { width: 28px; height: 28px; font-size: 16px; }
  .after-strict-box { padding: 8px 9px; }
  .after-strict-box strong { font-size: 12.8px; }
  .after-strict-box span { font-size: 11.4px; }
  #step-after-instructions .instruction-shot-wrap .finish-cta {
    top: 9px;
    min-width: 184px;
    max-width: calc(100% - 92px);
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 14px;
  }
  #step-existing .status-icon { width: 30px; height: 30px; margin-bottom: 6px; }
  #step-existing h1 { font-size: 27px; }
  #step-existing > .lead { margin-bottom: 9px; }
  #step-existing .existing-device-note { margin: 8px 0 10px; padding: 12px; }
}
