/* The tour of the screen (hud-tour.js): the HUD's own wood and gold, the rest of the screen dimmed. */
.hud-tour{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font:16px/1.45 var(--prose,'Alegreya Sans',system-ui,sans-serif);color:var(--wood-ivory,#f6ecd2)}
.hud-tour[hidden]{display:none}
.hud-tour-block{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}
.hud-tour.no-target .hud-tour-block{background:rgb(14 9 5 / .66)}
.hud-tour-spot{position:fixed;box-sizing:border-box;border-radius:10px;pointer-events:none;
  box-shadow:0 0 0 2px var(--wood-gold,#e0b85a),0 0 18px 4px rgb(224 184 90 / .55),0 0 0 200vmax rgb(14 9 5 / .66);
  transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}
.hud-tour-spot[hidden]{display:none}
.hud-tour-card{position:fixed;box-sizing:border-box;pointer-events:auto;padding:14px 16px 12px;border:2px solid var(--wood-gold,#e0b85a);border-radius:8px;
  background:var(--wood-well,#30241c);box-shadow:0 10px 30px rgb(0 0 0 / .55),inset 0 0 0 1px rgb(255 236 190 / .08);transition:left .25s ease,top .25s ease}
.hud-tour-arrow{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;background:var(--wood-well,#30241c);border:2px solid var(--wood-gold,#e0b85a);transform:rotate(45deg)}
.hud-tour-card[data-side="below"] .hud-tour-arrow{top:-1px;border-right:0;border-bottom:0}
.hud-tour-card[data-side="above"] .hud-tour-arrow{top:calc(100% + 1px);border-left:0;border-top:0}
.hud-tour-card[data-side="right"] .hud-tour-arrow{left:-1px;margin-left:-7px;border-top:0;border-right:0}
.hud-tour-card[data-side="left"] .hud-tour-arrow{left:calc(100% + 1px);border-bottom:0;border-left:0}
.hud-tour-card[data-side="none"] .hud-tour-arrow{display:none}
.hud-tour-step{margin:0 0 2px;font:600 12px/1.2 var(--mono,'Spline Sans Mono',monospace);letter-spacing:.06em;text-transform:uppercase;color:var(--wood-gold,#e0b85a)}
.hud-tour-card h2{margin:0 0 6px;font:700 21px/1.2 var(--display,'Alegreya',serif);color:var(--wood-ivory,#f6ecd2)}
.hud-tour-card p#hudTourText{margin:0;font-size:15px;line-height:1.45}
.hud-tour-actions{display:flex;align-items:center;gap:8px;margin-top:12px}
.hud-tour-gap{flex:1}
.hud-tour-actions .btn{min-width:44px;min-height:44px;padding:6px 14px;font:700 14px/1.2 var(--prose,system-ui);white-space:nowrap}
.hud-tour-actions .btn[hidden]{display:none}
.hud-tour-actions .hud-tour-skip{background:transparent;border-color:transparent;box-shadow:none;color:var(--wood-ivory,#f6ecd2);opacity:.85;text-decoration:underline;padding-left:4px;padding-right:4px}
.hud-tour-actions .hud-tour-next{border-color:var(--wood-gold,#e0b85a)}
.hud-tour-actions .btn:focus-visible{outline:2px solid var(--wood-gold,#e0b85a);outline-offset:3px}
.hud-tour-actions .btn:hover{filter:brightness(1.15)}
.hud-tour-settings .btn{min-width:44px;min-height:44px}
@media(max-width:760px){
  .hud-tour-card{padding:12px 12px 10px}
  .hud-tour-card h2{font-size:18px}
  .hud-tour-card p#hudTourText{font-size:14px;line-height:1.4}
  .hud-tour-actions{margin-top:8px;gap:4px}
  .hud-tour-actions .btn{padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){.hud-tour-spot,.hud-tour-card{transition:none}}
.still .hud-tour-spot,.still .hud-tour-card{transition:none}
