.member-guide-modal {
  z-index: 8200;
}

.member-guide-modal .personal-modal-dialog,
.member-guide-modal .personal-modal-dialog.raiders-scroll {
  width: min(100%, 30rem);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.95rem 0.9rem;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 12px;
  box-shadow: var(--shadow);
  scrollbar-width: none;
  scrollbar-gutter: auto;
}

.member-guide-modal .personal-modal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.member-guide-modal .corner-frame {
  display: none;
}

.member-guide-modal .personal-modal-header {
  align-items: center;
  margin-bottom: 0.75rem;
}

.member-guide-modal .personal-modal-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.member-guide-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.member-guide-skip {
  padding: 0.2rem 0.55rem;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(200, 210, 230, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.member-guide-skip:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.raiders-stepper {
  width: 100%;
}

.raiders-stepper-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.raiders-stepper button {
  font-family: inherit;
}

.raiders-stepper-indicators {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0.1rem 0.1rem 0.15rem;
}

.raiders-stepper-indicator {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid hsl(0 0% 20%);
  border-radius: 8px;
  background: hsl(0 0% 0%);
  color: hsl(0 0% 65%);
  cursor: pointer;
  outline: none;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.raiders-stepper-indicator:focus-visible {
  border-color: hsl(0 0% 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.raiders-stepper-indicator:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: hsl(0 0% 100%);
}

.raiders-stepper-indicator.is-active,
.raiders-stepper-indicator.is-complete {
  background: hsl(0 0% 100%);
  border-color: hsl(0 0% 100%);
  color: hsl(0 0% 0%);
}

.raiders-stepper-dot {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: hsl(0 0% 0%);
}

.raiders-stepper-num {
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.raiders-stepper-check {
  width: 0.85rem;
  height: 0.85rem;
  color: hsl(0 0% 0%);
}

.raiders-stepper-connector {
  position: relative;
  margin: 0 0.4rem;
  height: 1px;
  flex: 1;
  overflow: hidden;
  background: hsl(0 0% 20%);
}

.raiders-stepper-connector-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: hsl(0 0% 100%);
  transition: width 0.35s ease;
}

.raiders-stepper-connector.is-complete .raiders-stepper-connector-fill {
  width: 100%;
}

.raiders-stepper-viewport {
  position: relative;
  overflow: hidden;
  min-height: 8.5rem;
  padding: 0.95rem 0.95rem 0.9rem;
  background: hsl(0 0% 0%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 10px;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.raiders-stepper-step {
  width: 100%;
  padding: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.raiders-stepper-step.is-entering,
.raiders-stepper-step.is-leaving {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  top: 0.95rem;
}

.raiders-stepper-step.is-leaving {
  pointer-events: none;
}

.raiders-stepper-step.is-from-end {
  transform: translateX(40%);
  opacity: 0;
}

.raiders-stepper-step.is-from-start {
  transform: translateX(-40%);
  opacity: 0;
}

.raiders-stepper-step.is-to-end {
  transform: translateX(50%);
  opacity: 0;
}

.raiders-stepper-step.is-to-start {
  transform: translateX(-50%);
  opacity: 0;
}

.raiders-stepper-step.is-center {
  transform: translateX(0);
  opacity: 1;
}

.raiders-stepper-step-kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 42%);
}

.raiders-stepper-step-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.raiders-stepper-step.is-step-1 .raiders-stepper-step-title {
  color: #f0b90b;
}

.raiders-stepper-step.is-step-2 .raiders-stepper-step-title {
  color: var(--up, #0ecb81);
}

.raiders-stepper-step.is-step-3 .raiders-stepper-step-title {
  color: #c5e047;
}

.raiders-stepper-step.is-step-4 .raiders-stepper-step-title {
  color: #7eb8ff;
}

.raiders-stepper-step-body {
  margin: 0;
  max-height: min(28vh, 12rem);
  overflow: auto;
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(0 0% 100%);
}

.raiders-stepper-footer {
  padding: 0;
}

.raiders-stepper-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.raiders-stepper-nav--end {
  justify-content: flex-end;
}

.raiders-stepper-nav--spread {
  justify-content: space-between;
}

.raiders-stepper-back,
.raiders-stepper-next {
  min-height: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .raiders-stepper-viewport,
  .raiders-stepper-step,
  .raiders-stepper-connector-fill,
  .raiders-stepper-indicator {
    transition: none;
  }
}
