.dz-tour {
  --dzt-ink: var(--tl-ink, #18203a);
  --dzt-ink-2: var(--tl-ink-2, #465069);
  --dzt-muted: var(--tl-muted, #5b647a);
  --dzt-card: #fff;
  --dzt-soft: var(--pf-page, #f1f3f8);
  --dzt-line: var(--tl-line, #e3e7f0);
  --dzt-navy: #18203a;
  --dzt-on-navy: #fff;
  --dzt-hover: #2b3760;
  --dzt-dim: rgba(24, 32, 58, .42);
  --dzt-dim-soft: rgba(24, 32, 58, .22);
  --dzt-ring: #fff;
  --dzt-focus: 0 0 0 3px rgba(29, 50, 112, .30);
  --dzt-shadow: 0 16px 40px -12px rgba(24, 32, 58, .38), 0 1px 2px rgba(24, 32, 58, .10);
  --dzt-drop: drop-shadow(0 10px 22px rgba(24, 32, 58, .30)) drop-shadow(0 1px 1.5px rgba(24, 32, 58, .14));
  --dzt-font: var(--tl-font, 'Dazr', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
  position: fixed; inset: 0; z-index: 2147483100; pointer-events: none;
  font-family: var(--dzt-font); color: var(--dzt-ink); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
.dz-tour *, .dz-tour *::before, .dz-tour *::after { box-sizing: border-box; }
@media (prefers-color-scheme: dark) {
  .dz-tour[data-theme='auto'] { --dzt-ink: #eef1f8; --dzt-ink-2: #c3c9d8; --dzt-muted: #a3abbe; --dzt-card: #1d2438; --dzt-soft: #2a3250; --dzt-line: #333c58;
    --dzt-navy: #e8ecf7; --dzt-on-navy: #141a2c; --dzt-hover: #ffffff; --dzt-dim: rgba(5, 8, 18, .58); --dzt-dim-soft: rgba(5, 8, 18, .40); --dzt-focus: 0 0 0 3px rgba(142, 162, 255, .45);
    --dzt-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); }
}
.dz-tour[data-theme='dark'] { --dzt-ink: #eef1f8; --dzt-ink-2: #c3c9d8; --dzt-muted: #a3abbe; --dzt-card: #1d2438; --dzt-soft: #2a3250; --dzt-line: #333c58;
  --dzt-navy: #e8ecf7; --dzt-on-navy: #141a2c; --dzt-hover: #ffffff; --dzt-dim: rgba(5, 8, 18, .58); --dzt-dim-soft: rgba(5, 8, 18, .40); --dzt-focus: 0 0 0 3px rgba(142, 162, 255, .45); --dzt-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); }

.dz-tour__dim { position: fixed; inset: 0; background: var(--dzt-dim-soft); pointer-events: none; }
.dz-tour__spot {
  position: fixed; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--dzt-ring), 0 0 0 9999px var(--dzt-dim);
  transition: left .18s ease-out, top .18s ease-out, width .18s ease-out, height .18s ease-out;
}

.dz-tour__card {
  position: fixed; width: 336px; min-width: min(280px, calc(100vw - 24px)); max-width: min(440px, calc(100vw - 24px)); pointer-events: auto;
  overflow-wrap: break-word; hyphens: auto;
  background: var(--dzt-card); color: var(--dzt-ink); border-radius: 14px; filter: var(--dzt-drop);
  padding: 18px 20px 14px; animation: dz-tour-in .16s ease-out;
}
.dz-tour__card--wide { width: 440px; }
.dz-tour__card--center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dz-tour__card:focus { outline: none; }
.dz-tour__arrow { position: absolute; display: block; fill: var(--dzt-card); overflow: visible; pointer-events: none; }
.dz-tour__shot { display: flex; justify-content: center; align-items: center; margin: -4px -6px 14px; padding: 14px; border-radius: 10px; background: var(--dzt-soft); overflow: hidden; }
.dz-tour__shot img { display: block; max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 2px rgba(24, 32, 58, .10), 0 0 0 1px rgba(24, 32, 58, .06); background: #fff; }
.dz-tour__title, .dz-tour__body, .dz-tour__note, .dz-tour__fact dt, .dz-tour__fact dd { min-width: 0; overflow-wrap: anywhere; }
.dz-tour__title { margin: 0 0 4px; font-size: 16px; line-height: 1.3; font-weight: 800; letter-spacing: -.005em; }
.dz-tour__body { margin: 0; color: var(--dzt-ink-2); font-size: 14px; line-height: 1.5; max-height: max(6em, calc(100vh - 220px)); overflow-y: auto; }
.dz-tour__note { margin: 10px 0 0; color: var(--dzt-muted); font-size: 12.5px; line-height: 1.45; }
.dz-tour__facts { margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dz-tour__fact { display: grid; grid-template-columns: 124px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--dzt-line); font-size: 13.5px; line-height: 1.45; }
.dz-tour__fact dt { font-weight: 800; color: var(--dzt-ink); }
.dz-tour__fact dd { margin: 0; color: var(--dzt-ink-2); }
.dz-tour__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 6px; margin-top: 16px; }
.dz-tour__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-left: auto; min-width: 0; max-width: 100%; }
.dz-tour__count { font-size: 12.5px; font-weight: 700; color: var(--dzt-muted); margin-right: auto; white-space: nowrap; }
.dz-tour__btn {
  min-height: 34px; max-width: 100%; padding: 7px 14px; border: 0; border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.25; font-weight: 700; cursor: pointer;
  background: var(--dzt-soft); color: var(--dzt-ink); white-space: normal; overflow-wrap: anywhere; text-align: center; transition: background-color .11s ease-out, color .11s ease-out;
}
.dz-tour__btn--primary { background: var(--dzt-navy); color: var(--dzt-on-navy); font-weight: 800; }
.dz-tour__btn--quiet { background: transparent; color: var(--dzt-muted); padding: 0 8px; }
@media (hover: hover) {
  .dz-tour__btn:hover { background: var(--dzt-navy); color: var(--dzt-on-navy); }
  .dz-tour__btn--primary:hover { background: var(--dzt-hover); }
  .dz-tour__btn--quiet:hover { background: transparent; color: var(--dzt-ink); text-decoration: underline; text-underline-offset: 3px; }
}
.dz-tour__btn:focus-visible { outline: none; box-shadow: var(--dzt-focus); }
.dz-tour__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dz-tour--sheet .dz-tour__card {
  left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); top: auto; width: auto; max-width: none; transform: none;
  border-radius: 18px; padding: 20px 20px 16px; animation: dz-tour-up .18s ease-out;
  min-width: 0; max-height: calc(100vh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto;
}
.dz-tour--sheet .dz-tour__arrow { display: none; }
.dz-tour--sheet .dz-tour__title { font-size: 17px; }
.dz-tour--sheet .dz-tour__body { font-size: 15px; }
.dz-tour--sheet .dz-tour__foot { flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dz-tour--sheet .dz-tour__count { flex: 1 0 auto; order: 0; }
.dz-tour--sheet .dz-tour__count:empty { display: none; }
.dz-tour--sheet .dz-tour__btn--quiet { order: 1; min-height: 44px; }
.dz-tour--sheet .dz-tour__acts { order: 2; flex: 1 1 100%; gap: 8px; margin-left: 0; }
.dz-tour--sheet .dz-tour__btn:not(.dz-tour__btn--quiet) { order: 2; flex: 1 1 0; min-height: 48px; font-size: 15px; border-radius: 12px; }
.dz-tour--sheet .dz-tour__fact { grid-template-columns: 1fr; gap: 2px; }
.dz-tour--sheet .dz-tour__shot { margin: -4px 0 14px; }
.dz-tour--sheet .dz-tour__shot img { max-height: 30vh; width: auto; }

@keyframes dz-tour-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dz-tour__card--center { animation-name: dz-tour-in-c; }
@keyframes dz-tour-in-c { from { opacity: 0; transform: translate(-50%, calc(-50% + 4px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes dz-tour-up { from { opacity: .6; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .dz-tour__card, .dz-tour--sheet .dz-tour__card { animation: none; }
  .dz-tour__spot { transition: none; }
}
.dz-tour--sheet .dz-tour__btn:not(.dz-tour__btn--quiet) { flex: 1 1 calc(50% - 4px); }
.dz-tour--sheet-top .dz-tour__card { top: calc(8px + env(safe-area-inset-top)); bottom: auto; }
.dz-tour__card--idle { display: none; }
.dz-tour__x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: var(--dzt-muted); cursor: pointer; }
.dz-tour__x:focus-visible { outline: none; box-shadow: var(--dzt-focus); }
@media (hover: hover) { .dz-tour__x:hover { background: var(--dzt-soft); color: var(--dzt-ink); } }
.dz-tour__x + .dz-tour__title, .dz-tour__x ~ .dz-tour__shot { margin-right: 28px; }
.dz-tour--sheet .dz-tour__x { width: 40px; height: 40px; top: 8px; right: 8px; }
