/* Guided tours (home/tours.js) */
.nd-tour{width:min(1240px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:0;border:1px solid var(--edge);border-radius:22px;background:var(--card);color:var(--ink);box-shadow:0 30px 90px rgba(0,0,0,.6);overflow:auto}
.nd-tour::backdrop{background:rgba(10,8,6,.7)}
.nd-tour-in{display:flex;flex-direction:column}
.nd-tour header{display:flex;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid var(--hair)}
.nd-tour-app{font-weight:700;color:var(--head);white-space:nowrap}
.nd-tour-dots{display:flex;gap:5px;flex:1;justify-content:center;flex-wrap:wrap}
.nd-tour-dots i{width:22px;height:4px;border-radius:2px;background:var(--hair)}
.nd-tour-dots i.done{background:color-mix(in srgb,var(--acc) 55%,transparent)}
.nd-tour-dots i.on{background:var(--acc)}
.nd-tour .x{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--edge);background:none;color:var(--head);font-size:20px;cursor:pointer}
.nd-tour-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:0;align-items:stretch}
.nd-tour-stage{position:relative;margin:18px;align-self:start;border-radius:12px;overflow:hidden;border:1px solid var(--edge);line-height:0}
.nd-tour-stage img{width:100%;height:auto;display:block}
.nd-tour-spot{position:absolute;border:2px solid var(--acc);border-radius:10px;box-shadow:0 0 0 9999px rgba(10,8,6,.5),0 0 0 6px color-mix(in srgb,var(--acc) 25%,transparent);transition:left .35s ease,top .35s ease,width .35s ease,height .35s ease;pointer-events:none}
.nd-tour-spot[hidden]{display:none}
.nd-tour-card{display:flex;flex-direction:column;gap:10px;padding:22px 22px 18px;border-left:1px solid var(--hair)}
.nd-tour-meta{margin:0;display:flex;justify-content:space-between;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--acc-text)}
.nd-tour-meta .n{color:var(--muted);letter-spacing:0;text-transform:none;font-weight:600}
.nd-tour-card h2{margin:0;font:400 28px/1.15 'EB Garamond',serif;color:var(--head);outline:none}
.nd-tour-text{margin:0;color:var(--sub);font-size:15.5px;line-height:1.6}
.nd-tour-keys{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.nd-tour-keys kbd{font:700 12.5px 'Google Sans Code',ui-monospace,monospace;color:var(--head);background:var(--raised);border:1px solid var(--edge);border-bottom-width:3px;border-radius:8px;padding:4px 9px}
.nd-tour-end{display:flex;flex-wrap:wrap;gap:8px}
.nd-tour-end:empty{display:none}
.nd-tour-nav{margin-top:auto;display:flex;justify-content:space-between;gap:8px;padding-top:12px}
.nd-tour-nav .btn[disabled]{opacity:.4;cursor:default}
.nd-tour-hint{margin:0;font-size:12px;color:var(--muted)}
@media (max-width:900px){
  .nd-tour-body{grid-template-columns:1fr}
  .nd-tour-stage{margin:12px 12px 0}
  .nd-tour-card{border-left:0;padding:16px}
  .nd-tour-card h2{font-size:23px}
  .nd-tour-hint{display:none}
}
html.still .nd-tour-spot{transition:none}
html.still .nd-tour-spot{transition:none}

/* tour launch buttons */
.h-tours{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding:16px 18px;border-radius:18px;border:1px solid rgba(217,154,85,.4);background:linear-gradient(135deg,rgba(255,138,92,.10),transparent 60%),var(--card)}
.h-tours>span{flex:1;min-width:240px;color:var(--sub);font-size:14.5px}
.h-tours>span b{display:block;color:var(--head);font-size:16px}
.h-tours .btn{height:40px}
.h-tours a:not(.btn){color:var(--acc-text);font-weight:700;font-size:14.5px}
.h-tours a:not(.btn){display:inline-flex;align-items:center;min-height:44px}
