/* 07738-local (07737 base): beginner coach-mark tour (Korean screens). Colors are fixed so the saju/money theme accent does not leak in. */
.cdx-tour{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;overscroll-behavior:contain;color:#3a3227;font-family:inherit;font-size:15px}
.cdx-tour::backdrop{background:transparent}
.cdx-tour.is-centered{background:rgba(30,22,10,.62)}
.cdx-tour [hidden]{display:none!important}
.cdx-tour-hole{position:fixed;left:0;top:0;width:0;height:0;box-sizing:border-box;border-radius:14px;background:transparent;box-shadow:0 0 0 200vmax rgba(30,22,10,.62);outline:3px solid #f0d78c;outline-offset:0;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent}
.cdx-tour.is-centered .cdx-tour-hole{display:none}
.cdx-tour-bubble{position:fixed;left:16px;top:16px;box-sizing:border-box;width:min(360px,calc(100vw - 32px));background:#fffdf8;border:1px solid #e3d6bf;border-left:3px solid #c9a24a;border-radius:18px;box-shadow:0 14px 44px rgba(60,40,10,.32);line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
.cdx-tour-bubble.is-moving{visibility:hidden;opacity:0}
.cdx-tour-scroll{box-sizing:border-box;max-height:calc(100vh - 120px);overflow:auto;overscroll-behavior:contain;padding:14px 16px 14px 15px;border-radius:17px}
.cdx-tour-tail{position:absolute;left:24px;width:14px;height:14px;box-sizing:border-box;background:#fffdf8;border:1px solid #e3d6bf;transform:rotate(45deg);pointer-events:none}
.cdx-tour-bubble[data-place="below"] .cdx-tour-tail{top:-8px;border-right:0;border-bottom:0}
.cdx-tour-bubble[data-place="above"] .cdx-tour-tail{bottom:-8px;border-left:0;border-top:0}
.cdx-tour-bubble[data-place="sheet"] .cdx-tour-tail,.cdx-tour-bubble[data-place="center"] .cdx-tour-tail{display:none}
.cdx-tour-head{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.cdx-tour-badge{flex:none;width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid #eadfca;background:#f3ead8}
/* 07738: 연화 is a tall portrait; the round badge shows the top of the picture (her face), not the middle */
.cdx-tour-badge.is-face{object-position:50% 4%}
.cdx-tour-nm{font-size:12.5px;font-weight:700;letter-spacing:.3px;color:#7a5c1e}
.cdx-tour-count{margin-left:auto;padding:3px 9px;border-radius:999px;background:#f3ead8;color:#5c4a2a;font-size:12.5px;font-weight:700;white-space:nowrap}
.cdx-tour-count:empty{display:none}
.cdx-tour-title{margin:0 0 6px;font-size:17.5px;line-height:1.45;color:#3a2f1e;border-radius:6px}
.cdx-tour-title:focus{outline:none}
.cdx-tour-title:focus-visible{outline:none}
.cdx-tour-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.cdx-tour-body{margin:0 0 8px}
.cdx-tour-tip{margin:0 0 10px;padding:8px 10px;border-radius:12px;background:#f6efe0;color:#5c4a2a;font-size:13.5px;line-height:1.6}
.cdx-tour-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px}
.cdx-tour-btn{min-height:48px;padding:8px 12px;border-radius:14px;font:inherit;font-size:15.5px;font-weight:700;line-height:1.35;cursor:pointer;word-break:keep-all;-webkit-tap-highlight-color:rgba(176,137,74,.18)}
.cdx-tour-btn.is-primary{border:0;color:#fff;background:linear-gradient(135deg,#8f6d22,#74561a);box-shadow:0 6px 16px rgba(116,86,26,.24)}
.cdx-tour-btn.is-secondary{border:1px solid #d8c7a3;background:#fffdf8;color:#4f3b1c}
.cdx-tour-btn.is-tertiary{min-height:44px;border:1px solid transparent;background:transparent;color:#5c4a2a;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.cdx-tour-btn:focus-visible,.cdx-tour-hole:focus-visible{outline:3px solid #896833;outline-offset:3px}
@media (min-width:420px){
  .cdx-tour-actions[data-count="2"]:not(.is-stack){grid-template-columns:1fr 1fr}
  .cdx-tour-actions[data-count="3"]:not(.is-stack){grid-template-columns:1fr 1fr}
  .cdx-tour-actions[data-count="3"]:not(.is-stack) .is-primary{grid-column:1 / -1}
}
@media (max-width:359px){
  .cdx-tour-scroll{padding:12px 13px 12px 12px}
  .cdx-tour-title{font-size:16.5px}
  .cdx-tour-btn{font-size:15px}
}
@media (prefers-reduced-motion:no-preference){
  .cdx-tour-bubble{transition:opacity .18s ease}
}
/* non-modal "처음이세요?" line under the switch */
.cdx-tour-nudge{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-4px 0 14px;padding:10px 12px;border-radius:14px;background:#faf6ee;border:1px solid #eadfca;color:#4f3b1c;font-size:14px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.cdx-tour-nudge-text{flex:1 1 150px;margin:0;font-weight:600}
.cdx-tour-nudge-actions{display:flex;flex:none;gap:6px}
.cdx-tour-nudge button{min-width:44px;min-height:44px;padding:6px 12px;border-radius:12px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.cdx-tour-nudge-go{border:0;color:#fff;background:#7a5c1e}
.cdx-tour-nudge-no{border:1px solid #d8c7a3;background:#fffdf8;color:#4f3b1c}
.cdx-tour-nudge button:focus-visible{outline:3px solid #896833;outline-offset:3px}
.cdx-tour-probe{position:fixed;left:0;top:0;width:0;height:0;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);visibility:hidden;pointer-events:none}
