/* =========================================================================
   guide.css — გიდი NPC: სერვერის გზამკვლევი (CEF.GUIDE = 22 / page-guide)
   ფერები: #ff4747 · #eaeaea · მუქი შავი. სელექტორები დასკოპულია #page-guide-ზე, კლასები: gd-
   ========================================================================= */
#page-guide {
  --red: #ff4747; --light: #eaeaea; --muted: #eaeaea8c; --black: #0a0a0a; --line: #eaeaea1f;
  font-family: "Noto Sans Georgian", "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--light); background: var(--black); overflow: hidden; user-select: none;
}
#page-guide * { box-sizing: border-box; margin: 0; padding: 0; }
#page-guide svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#page-guide .gd-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 20% 0%, #ff474724, transparent 70%),
  radial-gradient(45% 45% at 95% 95%, #ff47470f, transparent 70%),
  linear-gradient(180deg, #0e0b0b 0%, #050505 100%); }
#page-guide .gd-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, #000000b8 100%); }

#page-guide .gd-card { position: relative; z-index: 2; width: min(1060px, 96vw); max-height: 94vh; display: flex; flex-direction: column;
  padding: 22px 26px 20px; background: #101012f2; border: 1px solid #ffffff14; border-radius: 16px; box-shadow: 0 24px 70px #000000b0; }
#page-guide .gd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
#page-guide .gd-title { font: 700 27px "Rajdhani", "Noto Sans Georgian", sans-serif; letter-spacing: .06em; }
#page-guide .gd-title span { color: var(--red); }
#page-guide .gd-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
#page-guide .gd-close { background: none; border: 1px solid var(--line); color: var(--light); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: 13px; transition: .15s; }
#page-guide .gd-close:hover { border-color: var(--red); color: var(--red); }

#page-guide .gd-main { display: flex; gap: 16px; min-height: 0; flex: 1; overflow: hidden; }
#page-guide .gd-side { width: 330px; flex: none; display: flex; flex-direction: column; gap: 12px; max-height: 62vh; overflow-y: auto; padding-right: 4px; }
#page-guide .gd-body { flex: 1; min-width: 0; overflow-y: auto; max-height: 62vh; padding: 18px 20px; border-radius: 13px; border: 1px solid var(--line); background: #eaeaea06; }
#page-guide .gd-side::-webkit-scrollbar, #page-guide .gd-body::-webkit-scrollbar { width: 5px; }
#page-guide .gd-side::-webkit-scrollbar-thumb, #page-guide .gd-body::-webkit-scrollbar-thumb { background: #ffffff22; border-radius: 4px; }

/* NPC */
#page-guide .gd-npc { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--red); background: #ff47470f; }
#page-guide .gd-av { width: 46px; height: 46px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #0a0a0a; }
#page-guide .gd-av svg { width: 26px; height: 26px; stroke-width: 2; }
#page-guide .gd-say b { font: 700 15px "Rajdhani", "Noto Sans Georgian", sans-serif; letter-spacing: .05em; color: var(--red); }
#page-guide .gd-say p { font-size: 12.5px; line-height: 1.5; margin-top: 3px; min-height: 56px; }

/* პროგრესი */
#page-guide .gd-prog-t { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
#page-guide .gd-prog-t b { color: var(--light); font: 700 14px "Rajdhani", sans-serif; }
#page-guide .gd-bar { height: 6px; border-radius: 4px; background: #eaeaea1f; margin-top: 6px; overflow: hidden; }
#page-guide .gd-bar i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 10px var(--red); transition: width .4s ease; }

/* თავების სია */
#page-guide .gd-chaps { display: flex; flex-direction: column; gap: 7px; }
#page-guide .gd-ch { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); background: #eaeaea08; transition: .15s; }
#page-guide .gd-ch:hover { background: #eaeaea12; }
#page-guide .gd-ch.sel { border-color: var(--red); background: #ff47470f; box-shadow: inset 0 0 0 1px var(--red); }
#page-guide .gd-ci { width: 30px; height: 30px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #eaeaea14; }
#page-guide .gd-ci svg { width: 17px; height: 17px; }
#page-guide .gd-ch b { flex: 1; font-size: 13.5px; font-weight: 600; }
#page-guide .gd-ok { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: transparent; }
#page-guide .gd-ok svg { width: 12px; height: 12px; stroke-width: 3; }
#page-guide .gd-ch.done .gd-ok { background: var(--red); border-color: var(--red); color: #0a0a0a; }

/* შიგთავსი */
#page-guide .gd-bh { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
#page-guide .gd-bi { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #ff47471f; color: var(--red); border: 1px solid var(--red); }
#page-guide .gd-bi svg { width: 22px; height: 22px; }
#page-guide .gd-bh h2 { font: 700 26px "Rajdhani", "Noto Sans Georgian", sans-serif; letter-spacing: .03em; }
#page-guide .gd-intro { font-size: 14px; line-height: 1.6; color: var(--light); margin-bottom: 14px; }
#page-guide .gd-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
#page-guide .gd-steps li { display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #eaeaea08; font-size: 13.5px; line-height: 1.5; }
#page-guide .gd-steps i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 12px "Rajdhani", sans-serif; font-style: normal; background: var(--red); color: #0a0a0a; }
#page-guide .gd-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#page-guide .gd-keys > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #eaeaea08; font-size: 13px; }
#page-guide kbd { min-width: 38px; padding: 6px 9px; text-align: center; border-radius: 7px; border: 1px solid var(--light); border-bottom-width: 3px; font: 800 13px "Rajdhani", sans-serif; letter-spacing: .04em; }
#page-guide .gd-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
#page-guide .gd-places { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#page-guide .gd-pl { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #eaeaea08; }
#page-guide .gd-pl b { display: block; font-size: 13px; }
#page-guide .gd-pl small { font-size: 11px; color: var(--muted); }
#page-guide .gd-pl button { display: flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--red); background: #ff47471f; color: var(--light); font: 700 12px inherit; cursor: pointer; transition: .15s; }
#page-guide .gd-pl button svg { width: 14px; height: 14px; color: var(--red); }
#page-guide .gd-pl button:hover { background: var(--red); color: #0a0a0a; }
#page-guide .gd-pl button:hover svg { color: #0a0a0a; }

/* ქვედა ზოლი */
#page-guide .gd-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
#page-guide .gd-reward small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
#page-guide .gd-reward b { font: 800 24px "Rajdhani", sans-serif; color: var(--red); }
#page-guide .gd-claim { padding: 14px 28px; border-radius: 10px; border: 1px solid var(--red); background: var(--red); color: #0a0a0a; font: 800 14px "Noto Sans Georgian", inherit; cursor: pointer; transition: .15s; }
#page-guide .gd-claim:hover:not(:disabled) { background: #ff6262; box-shadow: 0 6px 22px #ff474755; }
#page-guide .gd-claim:disabled { opacity: .4; cursor: not-allowed; border-color: var(--line); background: #eaeaea0a; color: var(--light); }

#page-guide .gd-toast { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 6; opacity: 0; pointer-events: none;
  padding: 11px 20px; border-radius: 10px; background: #0a0a0af2; border: 1px solid var(--line); font-size: 13.5px; transition: .25s; }
#page-guide .gd-toast.on { opacity: 1; transform: translate(-50%, 0); }
#page-guide .gd-toast.ok { border-color: var(--light); }
#page-guide .gd-toast.err { border-color: var(--red); color: var(--red); }

@media (max-width: 860px) {
  #page-guide .gd-main { flex-direction: column; overflow-y: auto; }
  #page-guide .gd-side { width: auto; max-height: none; }
  #page-guide .gd-body { max-height: none; }
  #page-guide .gd-places, #page-guide .gd-keys { grid-template-columns: 1fr; }
}
