.hedego-guide-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .9rem;
  color: #fff;
  background: rgba(29, 78, 216, .88);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .22);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.hedego-guide-launcher span {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
}

.hedego-guide {
  position: fixed;
  right: 1.25rem;
  bottom: 4.8rem;
  z-index: 1001;
  width: min(390px, calc(100vw - 2rem));
  padding: 1.1rem;
  color: var(--body-fg);
  background: color-mix(in srgb, var(--body-bg) 89%, transparent);
  border: 1px solid color-mix(in srgb, var(--body-fg) 18%, transparent);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .24);
  backdrop-filter: blur(18px) saturate(125%);
}

.hedego-guide[hidden] { display: none; }

.hedego-guide__topline,
.hedego-guide__actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.hedego-guide__topline { justify-content: space-between; }

.hedego-guide__progress {
  color: var(--body-quiet-color);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hedego-guide__close {
  padding: 0 .35rem;
  color: var(--body-quiet-color);
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.hedego-guide h2 {
  margin: .65rem 0 .45rem;
  color: var(--body-fg);
  font-size: 1.15rem;
}

.hedego-guide p {
  margin: 0 0 .8rem;
  line-height: 1.5;
}

.hedego-guide__note {
  margin-bottom: 1rem;
  padding: .7rem .8rem;
  color: var(--body-quiet-color);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.45;
}

.hedego-guide__actions { flex-wrap: wrap; }

.hedego-guide__actions button,
.hedego-guide__actions a {
  min-height: 34px;
}

.hedego-guide__restart {
  margin-top: .8rem;
  padding: 0;
  color: var(--link-fg);
  background: transparent;
  border: 0;
  font-size: .8rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .hedego-guide,
  .hedego-guide-launcher { right: 1rem; }
  .hedego-guide { bottom: 4.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hedego-guide { animation: hedego-guide-in .18s ease-out; }
  @keyframes hedego-guide-in {
    from { opacity: 0; transform: translateY(8px); }
  }
}
