.muro-walkthrough[hidden],
.muro-walkthrough-offer[hidden],
.muro-walkthrough [hidden],
.muro-walkthrough-offer [hidden] {
  display: none !important;
}

.muro-walkthrough,
.muro-walkthrough-offer,
.muro-walkthrough *,
.muro-walkthrough-offer * {
  box-sizing: border-box;
}

.muro-walkthrough-offer {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: grid;
  place-items: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background: rgba(11, 11, 11, 0.38);
  backdrop-filter: blur(8px);
}

.muro-walkthrough-offer__card {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: clamp(24px, 5vw, 34px);
  border: 1px solid rgba(11, 11, 11, 0.1);
  border-radius: 22px;
  background: var(--muro-paper, #f9f6f2);
  color: var(--muro-ink, #1d1c1b);
  box-shadow: 0 28px 90px rgba(11, 11, 11, 0.24);
}

.muro-walkthrough__eyebrow {
  margin: 0;
  color: var(--muro-copper-strong, #93461f);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.muro-walkthrough-offer__card h2,
.muro-walkthrough__card h2 {
  margin: 0;
  color: var(--muro-ink, #1d1c1b);
  font-family: var(--font-brand, Sora, ui-sans-serif, system-ui, sans-serif);
  font-size: clamp(25px, 5vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.muro-walkthrough-offer__card > p:not(.muro-walkthrough__eyebrow),
.muro-walkthrough__copy p {
  margin: 0;
  color: var(--muro-muted, #6b625c);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.muro-walkthrough-offer__actions,
.muro-walkthrough__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.muro-walkthrough-offer button,
.muro-walkthrough button {
  min-width: 44px;
  min-height: 44px;
}

.muro-walkthrough-offer button:focus-visible,
.muro-walkthrough button:focus-visible {
  outline: 3px solid rgba(11, 11, 11, 0.72);
  outline-offset: 3px;
}

.muro-walkthrough {
  position: fixed;
  z-index: 11000;
  inset: 0;
  color: var(--muro-ink, #1d1c1b);
  pointer-events: none;
}

.muro-walkthrough__spotlight {
  position: fixed;
  border: 3px solid var(--muro-amber, #f6ae48);
  border-radius: 16px;
  box-shadow:
    0 0 0 9999px rgba(11, 11, 11, 0.48),
    0 0 0 6px rgba(246, 174, 72, 0.18),
    0 12px 36px rgba(11, 11, 11, 0.18) !important;
  pointer-events: none;
  transition:
    top 180ms ease,
    left 180ms ease,
    width 180ms ease,
    height 180ms ease;
}

[data-walkthrough-active] {
  scroll-margin-block: clamp(110px, 18vh, 180px);
  scroll-margin-inline: 24px;
}

.muro-walkthrough__card {
  position: fixed;
  width: min(370px, calc(100vw - 28px));
  display: grid;
  gap: 15px;
  padding: 20px;
  border: 1px solid rgba(11, 11, 11, 0.11);
  border-radius: 18px;
  background: var(--muro-paper, #f9f6f2);
  box-shadow: 0 24px 68px rgba(11, 11, 11, 0.25);
  pointer-events: auto;
}

.muro-walkthrough__meta {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.muro-walkthrough__progress {
  margin: 0;
  color: var(--muro-copper-strong, #93461f);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.muro-walkthrough__skip {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--muro-muted, #6b625c);
  cursor: pointer;
  font: 800 13px/1 var(--font-body, Inter, ui-sans-serif, system-ui, sans-serif);
  text-decoration: underline;
  text-decoration-color: rgba(107, 98, 92, 0.38);
  text-underline-offset: 3px;
}

.muro-walkthrough__skip:hover {
  color: var(--muro-ink, #1d1c1b);
}

.muro-walkthrough__copy {
  display: grid;
  gap: 8px;
}

.muro-walkthrough__card h2 {
  font-size: 23px;
}

.muro-walkthrough__actions {
  justify-content: space-between;
  margin-top: 2px;
}

.muro-walkthrough__actions [data-walkthrough-next] {
  margin-left: auto;
}

.settings-section--getting-started {
  align-items: center;
}

.settings-getting-started {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.settings-getting-started__copy {
  max-width: 54ch;
  margin: 0;
  color: var(--muro-muted, #6b625c);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

[data-restart-walkthrough] {
  min-height: 44px;
  flex: 0 0 auto;
}

.muro-walkthrough--mobile .muro-walkthrough__spotlight {
  border-radius: 13px;
}

.muro-walkthrough--mobile .muro-walkthrough__card {
  top: auto !important;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left)) !important;
  width: auto;
  max-height: min(46vh, 430px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  border-radius: 20px;
}

.muro-walkthrough--mobile .muro-walkthrough__card h2 {
  font-size: 21px;
}

.muro-walkthrough--mobile .muro-walkthrough__actions .btn {
  min-width: 96px;
}

@media (max-width: 640px) {
  .muro-walkthrough-offer {
    place-items: end center;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .muro-walkthrough-offer__card {
    width: 100%;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .muro-walkthrough-offer__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .muro-walkthrough-offer__actions .btn--primary {
    grid-row: 1;
  }

  .muro-walkthrough__spotlight {
    border-radius: 13px;
  }

  .muro-walkthrough__card {
    top: auto !important;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto;
    max-height: min(46vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    border-radius: 20px;
  }

  .muro-walkthrough__card h2 {
    font-size: 21px;
  }

  .muro-walkthrough__actions .btn {
    min-width: 96px;
  }

  .settings-getting-started {
    display: grid;
    justify-items: stretch;
  }

  [data-restart-walkthrough] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .muro-walkthrough__spotlight {
    transition: none;
  }
}
