/* css/guide.css — 占卜引導 card (src/guide.js) */
#guide.gd { position: absolute; z-index: 20; box-sizing: border-box; padding: 6px 6px 2px; cursor: pointer; color: var(--ink); outline: none;
  transition: filter .2s, left .25s, top .25s; transform-origin: 50% 50%; }
#guide.gd.hidden { display: none; }
#guide.gd.pop { animation: gdPop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gdPop { 0% { opacity: 0; transform: scale(.6) translateY(10px); } 100% { opacity: 1; transform: none; } }
#guide.gd:hover, #guide.gd.kfocus { filter: drop-shadow(0 0 8px rgba(255, 215, 150, .95)); }
#guide.gd:active { transform: scale(.97); }
.gd-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gd-title { font-size: 20px; line-height: 1.2; white-space: nowrap; }
.gd-tip { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; color: #fff;
  background: radial-gradient(circle at 35% 30%, #f7c2d6, #c98bb0); border: 2px solid #e9c98a; box-sizing: border-box; }
.gd-list { list-style: none; margin: 3px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.gd-step { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 16px; font-weight: 800; color: #7a5a86; line-height: 1.15; padding: 0 6px; border-radius: 12px; }
.gd-step b, .gd-dots b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ffe9b8, #d9a54e); border: 1.5px solid #b07d2c; text-shadow: 0 1px 0 #7a4e14; box-sizing: border-box; }
.gd-step.on { background: linear-gradient(90deg, rgba(247, 182, 207, .7), rgba(255, 240, 246, .15)); color: #5b2d63; }
.gd-dots b { width: 22px; height: 22px; }
.gd-step.on b, .gd-dots b.on { background: radial-gradient(circle at 35% 30%, #fff, #f08fb5); border-color: #c35d93; text-shadow: 0 1px 0 #8a2f5d; transform: scale(1.12); }
.gd-step.done { opacity: .62; }
.gd-dots b.done { opacity: .6; }
.gd-dots, .gd-cur { display: none; }
#guide.compact .gd-list { display: none; }
#guide.compact .gd-title { font-size: 17px; white-space: normal; flex: 1; min-width: 0; }
#guide.compact .gd-tip { order: 1; }
#guide.compact .gd-dots { display: flex; order: 2; flex-basis: 100%; justify-content: space-between; margin-top: 2px; }
#guide.compact .gd-cur { display: block; font-size: 16px; font-weight: 800; color: #5b2d63; margin-top: 4px; line-height: 1.2; }
.gd-under { visibility: hidden; }
body.night .gd-step { color: #7a5a86; }
/* codex: reopen the guide */
.cx-guide { flex: none; width: 60px; height: 60px; font-size: 26px; font-weight: 900; }
