/* The server-rendered still uses the enhanced tour's structure and dimensions.
   Static labels and a native list reserve controls space with useful content,
   without suggesting inactive tabs or a play icon are interactive. */
.tour-fallback-tab {
  display: block;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #e3d2ed;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tour-fallback-tab.current {
  color: #44007a;
  background: #fff;
  box-shadow: 0 3px 10px #16002d22;
}

.tour-fallback-status {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  color: #fff;
  background: #ffffff12;
}

.tour-fallback-status .icon { width: 18px; height: 18px; }

.tour-fallback-window {
  position: absolute;
  inset: 0 0 auto;
  height: 7.0212766%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 15px;
  border-bottom: 1px solid #e9e5ed;
  background: linear-gradient(100deg, #f8f5fb, #fff);
  color: #8f859a;
  font-size: clamp(6px, 1vw, 10px);
  line-height: 1.35;
  letter-spacing: .025em;
}

.tour-fallback-window > span:nth-child(2) {
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tour-fallback-view {
  position: absolute;
  inset: 7.0212766% 0 0;
  overflow: hidden;
  background: #fff;
}

.tour-fallback-view > img {
  position: absolute;
  max-width: none;
  height: auto;
}

.tour-fallback-steps {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.tour-fallback-steps > li {
  min-width: 0;
  min-height: 58px;
  padding: 11px 6px 13px;
  border-bottom: 2px solid #ffffff20;
  color: #ddcbe9;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tour-fallback-steps > li.current {
  border-bottom-color: #ffffff3b;
  color: #fff;
}

.tour-fallback-step-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .tour-fallback-tab { padding-inline: 7px; }
  .tour-fallback-steps > li { padding: 10px 6px; min-height: 62px; }
}

@media (forced-colors: active) {
  .tour-fallback-tab,
  .tour-fallback-tab.current,
  .tour-fallback-status,
  .tour-fallback-steps > li,
  .tour-fallback-steps > li.current { color: CanvasText; background: Canvas; border-color: CanvasText; }
}
