/* New player guide (src/guide.js tip, src/guide-ui.js window 'newbie'). The tip keeps the old coach's #coach box from
   hud-v3.css (place, lane, fight hold); this adds its title line, the "พาไป" button, the chip and the checklist window. */
#coach.gd { padding: 5px 5px 5px 12px; }
#coach.gd .gd-tx { display: flex; flex-direction: column; min-width: 0; }
#coach.gd .gd-tx b { color: var(--au3, #ffe39a); font-weight: 600; font-size: .95em; line-height: 1.3; }
#coach.gd .gd-tx small { display: none; }
#coach.gd .gd-tx b + small { display: inline; position: absolute; right: 8px; top: -9px; padding: 0 6px; border-radius: 8px; font-size: 10px; line-height: 16px;
  color: #1a1206; background: #e8c26a; }
#coach.gd button.go { width: auto; padding: 0 10px; white-space: nowrap; color: #1a1206; font-weight: 600; font-size: 13px; border-color: #ffd36a;
  background: linear-gradient(180deg, #ffe39a, #d8a84a); }
#coach.gd.hint { border-color: rgba(154, 216, 255, .6); }
/* the chip a tip shrinks to after a while: one tap target, the field stays clear */
#coach.gd.mini { padding: 0; border-radius: 20px; max-width: none; background: rgba(14, 20, 38, .86); }
#coach.gd.mini button { width: auto; min-width: 40px; height: 40px; padding: 0 12px 0 8px; display: flex; align-items: center; gap: 6px; border: 0; background: none;
  color: #f2f5ff; font: 500 12px var(--u-font, Prompt), sans-serif; }
#coach.gd.mini button i { font-style: normal; font-size: 15px; }
body.m-port #coach.gd.mini { left: auto; right: 8px; transform: none; }

/* ---------- checklist window ---------- */

.nbnote { margin: 0; font-size: 12px; color: #c8d0e0; line-height: 1.5; }

 /* tap targets >= 40 px */

.nbgift { font-style: normal; font-size: 11px; color: #ffd36a; }
.nbgift.got { color: #7ee2a0; }

@media (max-width: 520px) {
   /* done / waiting rows stay one line: the list is long on an upright phone */
  
  
  /* one-line rows: the status («🔒 ออกจากเมืองไปทุ่ง») took the full width and squeezed the step name to a word per line, the row ran
     off the window; it now gets at most 42% and ends in … */
  
  
}
/* the touch combat HUD fades #coach (hud-v3.css body.combat); while AUTO / auto quest plays the player isn't steering, so the
   tip may stay (the lane still keeps it off the hero) */
body.combat #coach.gd.calm { opacity: 1; }
body.combat #coach.gd.calm button { pointer-events: auto; }

/* ---------- quest feedback (src/quest-ui.js, fix/quest-flow 2026-10-14) ---------- */
/* a quest kill: the card / the compact strip pulse once */
#jqCard.qpulse, #jqMini.qpulse { animation: qpulse .6s ease-out; }
@keyframes qpulse { 0% { box-shadow: 0 0 0 0 rgba(154, 216, 255, .75); } 100% { box-shadow: 0 0 0 10px rgba(154, 216, 255, 0); } }
/* the reward card of a hand-in: upper middle, over the field, gone by itself after 6 s (tap = gone now); never a window */
#qdone { position: absolute; left: 50%; top: calc(16% + var(--st, 0px)); transform: translateX(-50%); z-index: 40; width: min(92vw, 380px);
  padding: 10px 14px 11px; border-radius: 12px; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, rgba(40, 30, 10, .94), rgba(14, 18, 34, .94)); border: 1px solid #e8c26a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 26px rgba(232, 194, 106, .35); color: #f2f5ff; font: 500 13px var(--u-font, Prompt), sans-serif; }
#qdone.pop { animation: qdpop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes qdpop { 0% { transform: translateX(-50%) scale(.7); opacity: 0; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }
#qdone .qd-h { color: #ffe39a; font-weight: 600; font-size: 15px; line-height: 1.35; }
#qdone .qd-r { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; font-size: 14px; }
#qdone .qx { color: #9ad8ff; font-weight: 600; } #qdone .qg { color: #ffd86a; font-weight: 600; }
#qdone .qlv { color: #1a1206; background: #ffd36a; border-radius: 8px; padding: 0 8px; font-weight: 600; }
#qdone .qd-i { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12px; }
#qdone .qi { display: inline-flex; align-items: center; gap: 4px; } #qdone .qi img { width: 22px; height: 22px; }
#qdone .qd-n { margin-top: 6px; font-size: 12px; color: #c8d0e0; }
body.m-land #qdone { top: calc(12% + var(--st, 0px)); padding: 7px 12px 8px; }
/* the quest card's "what auto quest is doing now" line (ui.js aqNow): green like the running button, wraps instead of being cut */
#hud #jqCard .aqnow { display: block; margin-top: 4px; color: #b8f5c0; font-size: 11px; line-height: 1.35; }
/* PC: "▶ ออโต้เควสต์" did not fit half of the 168 px card next to «เดินไป ➜» and stuck out of its left edge (GUIDE-REPORT left this) */
body.pc #hud #jqCard { width: 204px; }
#hud #jqCard .aqrow .aqb:first-child { flex: 1.45; }
/* the shrine window while auto quest waits for the Job 10 pick (ui.js aqJobRow) */
.aqjob .aqwait { margin: 0 0 6px; padding: 6px 10px; border-radius: 8px; background: rgba(90, 210, 120, .14); border: 1px solid rgba(122, 255, 138, .45); color: #c8ffd0; font-size: 12.5px; line-height: 1.45; }
