/* MVP Guide tour overlay. Self-contained, namespaced .mvg-*. GUIDE_VERSION 1.2.2
   Tokens: champagne #d8bd86 (ring, headings #efe6d2), saturated gold #ffb81c on the Next key only.
   Text sizes: 12, 14, 18. Spacing: 8, 12, 16, 24, 32, 48. Radius max 8. No glow. */
.mvg-root, .mvg-key, .mvg-mkey {
  --mvg-champ: #d8bd86; --mvg-key: #ffb81c; --mvg-head: #efe6d2; --mvg-body: #d9d2c2; --mvg-mute: #9a937f;
  --mvg-bg: #0b0b0c; --mvg-line: rgba(216, 189, 134, .28);
}
.mvg-root { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2147483000; pointer-events: none; font-family: inherit; font-style: normal; text-shadow: none; }
.mvg-root *, .mvg-key * { box-sizing: border-box; font-style: normal; text-shadow: none; }
.mvg-dim { position: fixed; background: rgba(0, 0, 0, .6); pointer-events: auto; }
.mvg-ring { position: fixed; z-index: 2; border: 2px solid var(--mvg-champ); border-radius: 8px; pointer-events: none; }
.mvg-ptr { position: fixed; z-index: 3; left: 0; top: 0; width: 48px; height: 48px; pointer-events: none; overflow: visible; will-change: transform; }
.mvg-ptr.mvg-move { transition: transform var(--mvg-ptr-ms, .2s) cubic-bezier(.3, .7, .2, 1); }
.mvg-ptr svg { display: block; overflow: visible; }
.mvg-rip { opacity: 0; transform-box: fill-box; transform-origin: center; }
.mvg-ptr.mvg-click .mvg-rip { animation: mvg-rip .6s ease-out 1; }
.mvg-ptr.mvg-click .mvg-rip2 { animation-delay: .12s; }
@keyframes mvg-rip { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
.mvg-card {
  position: fixed; z-index: 4; width: 440px; max-width: calc(100vw - 32px); background: var(--mvg-bg); border: 1px solid var(--mvg-line);
  border-radius: 8px; padding: 24px 24px 16px; pointer-events: auto; color: var(--mvg-body);
  font-size: 14px; line-height: 1.5; font-weight: 400; outline: none; max-height: calc(100vh - 32px); overflow: hidden;
  display: flex; flex-direction: column;
}
.mvg-card > * { flex: none; }
.mvg-card > .mvg-scroll { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mvg-bar { height: 2px; background: rgba(216, 189, 134, .2); margin: 0 0 16px; }
.mvg-bar i { display: block; height: 2px; background: var(--mvg-champ); }
.mvg-cap { font-size: 12px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--mvg-champ); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.mvg-cap svg { width: 16px; height: 16px; flex: none; }
.mvg-title { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--mvg-head); margin: 0 0 12px; letter-spacing: 0; }
.mvg-text { margin: 0 0 12px; color: var(--mvg-body); }
.mvg-why { margin: 0 0 12px; color: var(--mvg-mute); }
.mvg-why b { font-weight: 600; color: var(--mvg-champ); letter-spacing: .12em; font-size: 12px; margin-right: 8px; }
.mvg-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--mvg-line); padding-top: 8px; margin: 0 -8px 0 -12px; }
.mvg-row + .mvg-row { border-top: 0; padding-top: 0; justify-content: flex-end; }
.mvg-quiet { display: flex; flex-wrap: wrap; }
.mvg-k, .mvg-key, .mvg-mkey {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--mvg-mute); font: inherit; font-size: 14px; line-height: 1.5;
  min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 8px; cursor: pointer; letter-spacing: 0; text-transform: none;
}
.mvg-k:hover { color: var(--mvg-head); }
.mvg-k[disabled] { opacity: .35; cursor: default; }
.mvg-k svg { display: block; margin: 0 auto; }
.mvg-k:focus-visible, .mvg-key:focus-visible, .mvg-card a:focus-visible { outline: 2px solid var(--mvg-champ); outline-offset: 2px; }
.mvg-next { background: var(--mvg-key); color: #0b0b0c; font-weight: 600; min-width: 88px; padding: 0 24px; margin-right: 8px; }
.mvg-next:hover { color: #0b0b0c; background: #ffc640; }
.mvg-hint { font-size: 12px; line-height: 1.5; color: var(--mvg-mute); margin: 0; padding: 0 0 4px; text-align: right; }
.mvg-speed { min-width: 44px; padding: 0 8px; font-size: 12px; letter-spacing: .06em; }
@media (max-width: 600px) { .mvg-hint { display: none; } }
.mvg-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--mvg-champ); text-decoration: underline; font-size: 14px; margin: 0 0 8px; }
.mvg-menu { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.mvg-menu .mvg-k { border: 1px solid var(--mvg-line); color: var(--mvg-head); text-align: left; padding: 0 16px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.mvg-menu .mvg-k span { color: var(--mvg-mute); font-size: 12px; }
.mvg-hide { display: none !important; }
.mvg-sheet .mvg-card { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 8px 8px 0 0; border-width: 1px 0 0; padding: 16px 16px calc(8px + env(safe-area-inset-bottom, 0px)); max-height: 55vh; }
.mvg-sheet .mvg-row { margin: 0 -8px 0 -12px; }

/* Guide key: page-owned, quiet. */
.mvg-key, .mvg-mkey { display: inline-flex; align-items: center; gap: 8px; color: var(--mvg-champ); border: 1px solid var(--mvg-line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-family: inherit; }
.mvg-key:hover, .mvg-mkey:hover { border-color: var(--mvg-champ); color: var(--mvg-head); }
.mvg-ic { width: 16px; height: 16px; background: var(--mvg-champ); flex: none; -webkit-mask: var(--mvg-ic) center / contain no-repeat; mask: var(--mvg-ic) center / contain no-repeat; }
.mvg-key, .mvg-mkey { --mvg-ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M15.5 8.5l-2 5-5 2 2-5z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>"); }
.mvg-key { margin-top: 8px; }
@media (max-width: 767px) {
  .mvg-key, .mvg-mkey { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mvg-ptr.mvg-move { transition: none; }
  .mvg-ptr.mvg-click .mvg-rip { animation: none; opacity: 0; }
}
