:root {
  --rnc-guide-bg: #11101a;
  --rnc-guide-panel: #191525;
  --rnc-guide-orange: #ff9b43;
  --rnc-guide-gold: #edc56c;
  --rnc-guide-violet: #9d71d8;
  --rnc-guide-text: #f9f5ff;
  --rnc-guide-muted: #c6bfd3;
}
.rnc-guide-root { position: relative; z-index: 99990; }
.rnc-guide-launch {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 99990; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,195,98,.72);
  border-radius: 999px; padding: 9px 16px 9px 9px; color: #1c1320; background: linear-gradient(135deg,#ffe59c,#ed9b3e);
  box-shadow: 0 8px 26px rgba(0,0,0,.36), 0 0 24px rgba(255,139,55,.18); font: 800 13px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
}
.rnc-guide-launch:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.42), 0 0 30px rgba(255,139,55,.26); }
.rnc-guide-launch:focus-visible, .rnc-guide-dialog button:focus-visible, .rnc-guide-dialog a:focus-visible { outline: 3px solid #ffbf68; outline-offset: 3px; }
.rnc-guide-launch-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #23192d; color: #ffe7b4; font: 900 18px/1 Georgia,serif; }
.rnc-guide-backdrop[hidden] { display: none !important; }
.rnc-guide-backdrop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(5,5,12,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rnc-guide-dialog {
  position: relative; box-sizing: border-box; width: min(100%, 560px); max-height: min(88vh, 760px); overflow-y: auto;
  padding: clamp(24px,5vw,38px); border: 1px solid rgba(237,197,108,.48); border-radius: 22px;
  background: radial-gradient(ellipse at 85% 0%,rgba(126,66,151,.22),transparent 45%), linear-gradient(145deg,#211729,#12111a 68%);
  color: var(--rnc-guide-text); box-shadow: 0 30px 100px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.05);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.rnc-guide-close { position: absolute; top: 12px; right: 15px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.05); color: #ded6e9; font-size: 25px; line-height: 1; cursor: pointer; }
.rnc-guide-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 15px; background: linear-gradient(145deg,#ffedb0,#df9a3a); color: #271626; box-shadow: 0 0 32px rgba(255,152,66,.2); font-size: 14px; font-weight: 1000; letter-spacing: -.7px; }
.rnc-guide-eyebrow { margin: 0 0 9px; color: #ffc46a; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.rnc-guide-dialog h2 { margin: 0 34px 12px 0; color: #fff9ff; font-size: clamp(22px,4vw,30px); font-weight: 850; letter-spacing: -.035em; line-height: 1.16; }
.rnc-guide-copy { margin: 0 0 18px; color: var(--rnc-guide-muted); font-size: 14px; line-height: 1.75; }
.rnc-guide-prompt-actions, .rnc-guide-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 25px; }
.rnc-guide-next-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.rnc-guide-btn { min-height: 42px; border: 1px solid transparent; border-radius: 11px; padding: 11px 15px; font-size: 12px; line-height: 1.2; font-weight: 850; cursor: pointer; }
.rnc-guide-btn-primary { color: #21121e; background: linear-gradient(135deg,#ffe89e,#f4a047); box-shadow: 0 7px 19px rgba(255,153,57,.13); }
.rnc-guide-btn-primary:hover { filter: brightness(1.06); }
.rnc-guide-btn-muted { border-color: rgba(255,255,255,.15); color: #f3eafa; background: rgba(255,255,255,.045); }
.rnc-guide-btn-muted:hover { background: rgba(255,255,255,.09); }
.rnc-guide-text-btn { border: 0; padding: 10px 4px; color: #c9bbdc; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.rnc-guide-text-btn:hover { color: #fff; }
.rnc-guide-footnote { margin: 16px 0 0; color: #9588a5; font-size: 11px; line-height: 1.5; }
.rnc-guide-step-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-right: 24px; }
.rnc-guide-counter { margin: 0; color: #b7a5cd; font-size: 11px; font-weight: 800; white-space: nowrap; }
.rnc-guide-progress { height: 4px; overflow: hidden; margin: 4px 0 21px; border-radius: 999px; background: rgba(255,255,255,.1); }
.rnc-guide-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ff9c45,#f1d47b,#a77be1); transition: width .22s ease; }
.rnc-guide-step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 17px; border: 1px solid rgba(253,177,83,.35); border-radius: 16px; color: #ffe1a0; background: linear-gradient(145deg,rgba(244,160,71,.19),rgba(134,86,180,.16)); box-shadow: 0 0 24px rgba(255,152,66,.08); font-size: 26px; font-weight: 800; }
.rnc-guide-section-link { display: inline-flex; align-items: center; gap: 8px; color: #ffcf7c; font-size: 12px; font-weight: 850; text-decoration: none; }
.rnc-guide-section-link:hover { color: #fff1c9; text-decoration: underline; }
.rnc-guide-unavailable { display: block; color: #93879e; font-size: 11px; line-height: 1.5; }
body.rnc-guide-open { overflow: hidden; }
@media (max-width: 520px) {
  .rnc-guide-launch { right: 13px; bottom: 13px; padding: 8px 13px 8px 8px; }
  .rnc-guide-backdrop { align-items: end; padding: 10px; }
  .rnc-guide-dialog { width: 100%; max-height: 90dvh; border-radius: 22px 22px 14px 14px; padding: 24px 21px calc(22px + env(safe-area-inset-bottom)); }
  .rnc-guide-prompt-actions, .rnc-guide-step-actions { align-items: stretch; }
  .rnc-guide-prompt-actions { flex-direction: column-reverse; }
  .rnc-guide-prompt-actions .rnc-guide-btn { width: 100%; }
  .rnc-guide-step-actions { gap: 5px; }
  .rnc-guide-next-actions { gap: 8px; }
  .rnc-guide-btn { padding: 10px 12px; }
  .rnc-guide-text-btn { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rnc-guide-launch, .rnc-guide-progress span { transition: none; }
}
