/* the tour's colours (razie, designer-536): retune them here. --tour-accent the band and the play mark; --tour-bg the card's, the bar's and the caption's light blue tint (a dark blue in dark mode) */
.d2tourbar,.d2tour-card,.d2tour-cap{--tour-accent:#2f6fed;--tour-bg:#eef4ff}@supports (background:color-mix(in srgb,red 10%,white)){.d2tourbar,.d2tour-card,.d2tour-cap{--tour-bg:color-mix(in srgb,var(--tour-accent) 10%,var(--card,#fff))}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .d2tourbar,:root:not([data-theme=light]) .d2tour-card,:root:not([data-theme=light]) .d2tour-cap{--tour-bg:#1b2a44}}:root[data-theme=dark] .d2tourbar,:root[data-theme=dark] .d2tour-card,:root[data-theme=dark] .d2tour-cap{--tour-bg:#1b2a44}
.d2tourbar{position:fixed;top:8px;right:12px;z-index:2147483000;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;max-width:min(560px,calc(100vw - 24px));box-sizing:border-box;background:var(--tour-bg);color:var(--ink,#1d1d1b);border:1px solid color-mix(in srgb,var(--tour-accent) 35%,var(--line,#e4e1da));border-top:4px solid var(--tour-accent);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.28);padding:4px 10px 6px;font:600 var(--t-small,13px)/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:top .35s,bottom .35s,opacity .35s,transform .35s}
.d2tourbar[hidden]{display:none}.d2tourbar.low{top:auto;bottom:12px}.d2tourbar.gone{opacity:0;transform:translateY(-8px);pointer-events:none}
.d2tourbar .tb-t{max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.d2tourbar .tb-b{width:30px;height:30px;border-radius:50%;border:1px solid var(--line,#e4e1da);background:var(--paper,#fbfaf7);color:inherit;font:inherit;cursor:pointer;display:grid;place-items:center;padding:0}
.d2tourbar .tb-b:hover,.d2tourbar .tb-seg button:hover{border-color:var(--accent,#2563eb)}
.d2tourbar .tb-seg{display:inline-flex;border:1px solid var(--line,#e4e1da);border-radius:999px;overflow:hidden}
.d2tourbar .tb-seg button{border:0;background:transparent;color:inherit;padding:4px 8px;font:inherit;cursor:pointer}
.d2tourbar .tb-seg button[aria-pressed=true]{background:var(--ink,#1d1d1b);color:var(--paper,#fbfaf7)}
.d2tourbar .tb-n{color:var(--soft,#6b6a66)}.d2tourbar .tb-cap{display:none;flex-basis:100%;font-weight:600;padding-top:4px;border-top:1px solid var(--line,#e4e1da)}
.d2tourbar.withcap .tb-cap{display:block}.d2tourbar .tb-hint{flex-basis:100%;color:var(--soft,#6b6a66);font-weight:600;padding:2px 8px;border-radius:999px}.d2tourbar .tb-hint:empty{display:none}
.d2tourbar .tb-hint.pz{background:#e6eefb;color:var(--accent,#2563eb)}.d2tourbar .tb-hint.stop{background:#fbe9e6;color:#b4382b}
.d2tour-ov{position:fixed;inset:0;pointer-events:none;z-index:2147482999;--d:.8s;--mark:#e8590c}
.d2tour-ov>*{position:absolute}
.d2tour-arr{inset:0;width:100%;height:100%;overflow:visible}.d2tour-arr path{fill:none;stroke:var(--mark);stroke-linecap:round;stroke-linejoin:round}
.d2tour-cap{max-width:260px;color:var(--mark);font:700 var(--t-large)/1.25 "Segoe Print","Bradley Hand","Chalkboard SE","Comic Neue",cursive;padding:6px 10px;border-radius:10px;background:var(--tour-bg);border-left:3px solid var(--tour-accent);box-shadow:0 6px 20px rgba(0,0,0,.18);opacity:0;transition:opacity .3s,left var(--d),top var(--d)}
.d2tour-cap.on{opacity:1}.d2tour-cap small{display:block;font:600 var(--t-small) system-ui,sans-serif;color:var(--soft,#6b6a66)}
.d2tour-pulse{outline:2.5px solid #e8590c!important;outline-offset:3px;border-radius:10px;animation:d2tourpl 1.4s ease-out infinite}
@keyframes d2tourpl{0%{box-shadow:0 0 0 0 rgba(232,89,12,.55)}100%{box-shadow:0 0 0 14px rgba(232,89,12,0)}}
.d2tour-cur{width:26px;height:26px;opacity:0;transition:left var(--d) cubic-bezier(.45,0,.2,1),top var(--d) cubic-bezier(.45,0,.2,1),opacity .3s;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.d2tour-cur.on{opacity:1}
.d2tour-rip{width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;border:3px solid var(--accent,#2563eb);animation:d2tourrp .7s ease-out forwards}
@keyframes d2tourrp{from{transform:scale(.4);opacity:.9}to{transform:scale(4);opacity:0}}
.d2tour-press{transform:scale(.93);filter:brightness(.85);transition:transform .12s,filter .2s}
.d2tour-card{position:fixed;left:50%;top:18vh;transform:translateX(-50%);z-index:2147483001;width:min(420px,calc(100vw - 32px));box-sizing:border-box;background:var(--tour-bg);color:var(--ink,#1d1d1b);border:1px solid color-mix(in srgb,var(--tour-accent) 35%,var(--line,#e4e1da));border-top:4px solid var(--tour-accent);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.28),0 0 0 100vmax rgba(0,0,0,.18);padding:14px 18px 16px;font:var(--t-normal,15px)/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;animation:d2tourin .35s ease}
/* the Start card and the tour bar stand out from the page (razie, designer-536: "same colors and background as the page"): the blue accent (--tour-accent) as a top band and the blue tint (--tour-bg), a deeper shadow; the card also a light dim around it, only a shadow, so the page stays clickable (aria-modal false) */
@keyframes d2tourin{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translateX(-50%)}}
.d2tour-card h3{margin:0 0 2px;font:800 var(--t-large)/1.25 Manrope,system-ui,sans-serif}.d2tour-card h3 .tc-go{color:var(--tour-accent)}.d2tour-card .tc-by{color:var(--soft,#6b6a66);font-size:var(--t-small);margin:0 0 10px}
.d2tour-card dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0 0 10px;font-size:var(--t-small)}.d2tour-card dt{color:var(--soft,#6b6a66)}.d2tour-card dd{margin:0}
.d2tour-card label{display:block;font-size:var(--t-small);font-weight:700;color:var(--soft,#6b6a66);margin:8px 0 4px}
.d2tour-card input{width:100%;box-sizing:border-box;padding:8px 10px;border-radius:10px;border:1px solid var(--line,#e4e1da);background:var(--paper,#fbfaf7);color:inherit;font:600 var(--t-normal) system-ui,sans-serif}
.d2tour-card .tc-note{margin:10px 0 0}
.d2tour-card .tc-row{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .d2tour-ov{--mark:#ff9f5a}:root:not([data-theme=light]) .d2tourbar .tb-hint.pz{background:#1b2638}:root:not([data-theme=light]) .d2tourbar .tb-hint.stop{background:#3a1c18;color:#ff9f8a}}:root[data-theme=dark] .d2tour-ov{--mark:#ff9f5a}:root[data-theme=dark] .d2tourbar .tb-hint.pz{background:#1b2638}:root[data-theme=dark] .d2tourbar .tb-hint.stop{background:#3a1c18;color:#ff9f8a}
@media (prefers-reduced-motion:reduce){.d2tour-ov{--d:.01s}.d2tour-pulse{animation:none}}