/* The guided tour: the page dims, the part being explained is lit, and a note sits beside it. */
.tour{--accent:var(--c-home);--on-accent:#FFFFFF}
.tour-block{position:fixed;inset:0;z-index:1000;background:transparent}
.tour-spot{position:fixed;z-index:1001;pointer-events:none;border-radius:14px;box-shadow:0 0 0 200vmax rgba(8,8,10,.58),0 0 0 2px var(--accent);transition:left .6s cubic-bezier(.4,0,.2,1),top .6s cubic-bezier(.4,0,.2,1),width .6s cubic-bezier(.4,0,.2,1),height .6s cubic-bezier(.4,0,.2,1)}
.tour.center .tour-spot{box-shadow:0 0 0 200vmax rgba(8,8,10,.66)}
.tour-card{position:fixed;z-index:1002;left:50%;top:50%;width:min(380px,calc(100vw - 24px));display:flex;flex-direction:column;gap:8px;padding:18px 18px 16px;border-radius:16px;background:var(--card);color:var(--fg);border:1px solid var(--line);box-shadow:0 22px 60px rgba(0,0,0,.35);transition:left .6s cubic-bezier(.4,0,.2,1),top .6s cubic-bezier(.4,0,.2,1)}
.tour.center .tour-card{width:min(460px,calc(100vw - 24px))}
.tour-top{display:flex;align-items:center;justify-content:space-between}
.tour-card:focus{outline:none}
.tour-x{width:32px;height:32px;margin:-6px -6px -6px 0;border:0;border-radius:8px;background:transparent;color:var(--mut);font-size:22px;line-height:1}
.tour-x:hover{background:var(--elev);color:var(--fg)}
.tour-h{font-size:20px;letter-spacing:-.01em;line-height:1.2}
.tour.center .tour-h{font-size:26px}
.tour-p{margin:0;font-size:14.5px;line-height:1.5;color:var(--fg)}
.tour-bar{height:3px;border-radius:2px;background:var(--elev);overflow:hidden;margin-top:4px}
.tour-bar i{display:block;height:100%;width:0;background:var(--accent)}
.tour-acts{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.tour-acts .btn[disabled]{opacity:.4;cursor:default}
/* how to start it */
.rp-tour{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--fg);font-size:15px;font-weight:600;cursor:pointer}
.rp-tour:hover{border-color:var(--fg)}
.rp-tour i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-style:normal;font-size:10px}
@media (prefers-reduced-motion:reduce){.tour-spot,.tour-card{transition:none}}
@media (max-width:639px){.tour-card{transition:top .4s ease}}
