/* swissgeocover2d_wmts_tour.html — page chrome (HUD + controls).
   Deployed alongside tour.html as tour.css.
   Visual identity borrowed from geolover.ch/map: "Swiss Survey" — earthy,
   precise, Outfit + DM Mono, Swiss red + geological blue. */

:root {
  --bg:      #f0ebe3;
  --panel:   #faf8f4;
  --border:  #d4c9b8;
  --text:    #2a2318;
  --muted:   #8a7d6a;
  --accent:  #c0392b;   /* Swiss red */
  --accent2: #2c5f8a;   /* geological blue */
  --mono:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans:    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--sans);
}
#map { position: absolute; top: 0; bottom: 0; width: 100%; }

#hud {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: rgba(250, 248, 244, 0.92);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7em 1em;
  font-size: 0.85em;
  max-width: 330px;
  box-shadow: 0 2px 12px rgba(42, 35, 24, 0.18);
}
#hud h1 {
  margin: 0 0 0.45em;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
#hud h1 .wordmark { color: var(--accent); }   /* "L♥ver" */
#hud .place { color: var(--accent2); font-weight: 600; }
#hud .status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82em;
  margin-top: 0.35em;
}
#hud .model {
  margin-top: 0.6em;
  font-family: var(--mono);
  font-size: 0.78em;
}
#hud .model a {
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
#hud .model a:hover { color: var(--accent); border-bottom-color: var(--accent); }
#hud .model sup { font-size: 0.7em; }

#controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.tour-btn {
  background: rgba(250, 248, 244, 0.92);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5em 0.9em;
  font-family: var(--mono);
  font-size: 0.82em;
  cursor: pointer;
}
.tour-btn:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}

/* On large / high-resolution screens the HUD looks cramped in a corner —
   scale it up a bit. Everything inside is sized in em, so bumping the
   panel's own font-size (plus max-width) grows the whole panel evenly. */
@media (min-width: 1600px) {
  #hud {
    top: 18px;
    left: 18px;
    padding: 0.85em 1.25em;
    font-size: 1em;
    max-width: 420px;
    border-radius: 12px;
  }
}
@media (min-width: 2400px) {
  #hud {
    top: 24px;
    left: 24px;
    font-size: 1.2em;
    max-width: 520px;
  }
}
