/* Gatorville HUD (ui). Glassy navy panels with pixel-notched edges, UF orange accents, and the project's
   own pixel face "Gatorpix" (src/ui/font) for display text. Body copy stays in a crisp system sans. */
@font-face {
  font-family: "Gatorpix"; src: url("../src/ui/font/gatorpix.ttf") format("truetype");
  font-display: swap; font-weight: 400; font-style: normal;
}
:root {
  --gvu-pix: "Gatorpix", var(--gv-font);
  --gvu-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gvu-edge: #33437c;
  --gvu-edge-hi: #5368b0;
  --gvu-glass: linear-gradient(180deg, rgba(27, 40, 84, .84), rgba(12, 19, 46, .9));
  --gvu-drop: rgba(3, 6, 18, .42);
  --gvu-dim: rgba(244, 241, 232, .62);
  --gvu-gold: #ffd24a;
  --gvu-orange-hi: #ff7a4d;
}
.gvu [hidden] { display: none !important; }
.gvu #ui { font-family: var(--gvu-sans); font-size: 13.5px; line-height: 1.45; color: var(--gv-paper); }
:where(.gvu #ui) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:where(.gvu #ui) a { color: var(--gvu-gold); text-underline-offset: 2px; }
.gvu #ui :focus { outline: none; }
.gvu #ui :focus-visible { outline: 2px solid var(--gvu-gold); outline-offset: 2px; }
.gvu #ui kbd {
  font: 8px/1 var(--gvu-pix); display: inline-block; padding: 4px 5px 3px; min-width: 17px; text-align: center; color: var(--gv-paper);
  background: #0a1024; box-shadow: 0 -1px 0 0 #46578f, 0 1px 0 0 #46578f, -1px 0 0 0 #46578f, 1px 0 0 0 #46578f, 0 3px 0 0 #1c2750;
}

/* ---- panel chrome: a "plus-shaped" shadow border gives pixel-notched corners ------------------------ */
.gvu-panel {
  background: var(--gvu-glass);
  -webkit-backdrop-filter: blur(9px) saturate(1.35); backdrop-filter: blur(9px) saturate(1.35);
  box-shadow: 0 -2px 0 0 var(--gvu-edge), 0 2px 0 0 var(--gvu-edge), -2px 0 0 0 var(--gvu-edge), 2px 0 0 0 var(--gvu-edge),
    0 7px 0 -1px var(--gvu-drop), inset 0 2px 0 0 rgba(255, 255, 255, .07);
  margin: 2px;
}
.gvu-lowq .gvu-panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, #1a2752, #0c132e); }
.gvu-sep { display: block; flex: none; width: 2px; align-self: stretch; margin: 4px 3px; background: rgba(255, 255, 255, .12); }

/* ---- buttons ------------------------------------------------------------------------------------------ */
.gvu-ico { display: inline-flex; flex: none; }
.gvu-ico svg { display: block; }
.gvu-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  width: 36px; height: 36px; color: rgba(244, 241, 232, .86) !important; text-decoration: none;
  transition: background-color .12s, color .12s, transform .06s;
}
.gvu-btn:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.gvu-btn:active { transform: translateY(1px); }
.gvu-btn:disabled { opacity: .32; cursor: default; pointer-events: none; }
.gvu-btn[aria-pressed="true"] { color: var(--gvu-orange-hi) !important; background: rgba(250, 70, 22, .16); box-shadow: inset 0 -2px 0 0 var(--gv-orange); }
.gvu-btn-sm { width: 28px; height: 28px; }
.gvu-btn-text { font: 16px/1 var(--gvu-pix); white-space: nowrap; }
.gvu-btn-wide {
  width: auto; height: 34px; padding: 0 12px; background: rgba(255, 255, 255, .06);
  box-shadow: 0 -2px 0 0 var(--gvu-edge-hi), 0 2px 0 0 var(--gvu-edge-hi), -2px 0 0 0 var(--gvu-edge-hi), 2px 0 0 0 var(--gvu-edge-hi), 0 5px 0 -1px rgba(3, 6, 18, .5);
  margin: 2px;
}
.gvu-btn-wide:hover { background: rgba(255, 255, 255, .14); }
.gvu-btn-accent, .gvu-btn-accent:hover { background: var(--gv-orange); color: #fff !important; }
.gvu-btn-accent.gvu-btn-wide { box-shadow: 0 -2px 0 0 #ff9a73, 0 2px 0 0 #a82a08, -2px 0 0 0 #e03a0c, 2px 0 0 0 #e03a0c, 0 5px 0 -1px rgba(3, 6, 18, .5); }
.gvu-btn-accent:hover { filter: brightness(1.12); }

/* tooltips for HUD controls (mouse / keyboard only) */
.gvu [data-tip] { position: relative; }
.gvu:not(.gvu-touch) [data-tip]:hover::after, .gvu:not(.gvu-touch) [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; z-index: 200; pointer-events: none; white-space: pre;
  font: 8px/1 var(--gvu-pix); letter-spacing: 0; color: var(--gv-paper); background: #070b1c; padding: 6px 7px 5px;
  box-shadow: 0 -1px 0 0 #46578f, 0 1px 0 0 #46578f, -1px 0 0 0 #46578f, 1px 0 0 0 #46578f;
  animation: gvu-tip .12s .35s both;
}
.gvu [data-tip-pos="down"]::after { top: calc(100% + 8px); left: 50%; translate: -50% 0; }
.gvu [data-tip-pos="up"]::after { bottom: calc(100% + 8px); left: 50%; translate: -50% 0; }
.gvu [data-tip-pos="left"]::after { right: calc(100% + 8px); top: 50%; translate: 0 -50%; }
.gvu [data-tip-pos="right"]::after { left: calc(100% + 8px); top: 50%; translate: 0 -50%; }
@keyframes gvu-tip { from { opacity: 0; } to { opacity: 1; } }

/* ---- slots: leave a strip for the attribution line -------------------------------------------------------- */
.gvu .gv-slot { gap: 8px; transition: opacity .5s ease; }
.gvu .gv-slot-bottom-left { bottom: calc(26px + var(--gv-safe-b)); }
.gvu .gv-slot-bottom-right { bottom: calc(14px + var(--gv-safe-b)); }
.gvu .gv-toasts { display: none; }

.gvu-attrib {
  position: absolute; left: calc(10px + var(--gv-safe-l)); bottom: calc(5px + var(--gv-safe-b)); z-index: 80;
  font: 10.5px/1.3 var(--gvu-sans); letter-spacing: .01em; color: rgba(244, 241, 232, .78); white-space: nowrap;
  background: rgba(7, 11, 28, .62); padding: 2px 7px 2px; margin-left: -4px;
}
#ui > .gvu-attrib { pointer-events: auto; }
.gvu #ui .gvu-attrib a, .gvu #ui .gvu-attrib button { color: inherit; text-decoration: underline; text-decoration-color: rgba(244, 241, 232, .4); }
.gvu-attrib-less { display: none; }

/* ---- top-left: brand + search ------------------------------------------------------------------------------- */
.gvu-topbar { display: flex; align-items: center; height: 44px; padding: 0 4px 0 10px; }
.gvu-brand { display: flex; align-items: center; height: 36px; padding: 0 4px; }
.gvu-brand:hover .gvu-logo { filter: brightness(1.15); }
.gvu-logo { display: block; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; }
.gvu-searchbtn { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px 0 10px !important; min-width: 214px; color: var(--gvu-dim) !important; transition: background-color .12s, color .12s; }
.gvu-searchbtn:hover { background: rgba(255, 255, 255, .09); color: #fff !important; }
.gvu-searchbtn-text { flex: 1; text-align: left; font-size: 13.5px; }

/* ---- top-right: clock + option tray ----------------------------------------------------------------------------- */
.gvu-clock { padding: 7px 8px 8px; width: 304px; }
.gvu-clock-row { display: flex; align-items: center; gap: 10px; }
.gvu-dial-btn { display: block; flex: none; line-height: 0; box-shadow: 0 -2px 0 0 #0a1024, 0 2px 0 0 #0a1024, -2px 0 0 0 #0a1024, 2px 0 0 0 #0a1024; margin: 2px; }
.gvu-dial-btn:hover { filter: brightness(1.12); }
.gvu-dial-btn:active { transform: translateY(1px); }
.gvu-dial { display: block; width: 72px; height: 44px; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; }
.gvu-clock-text { flex: 1; min-width: 0; }
.gvu-clock-time { font: 16px/1 var(--gvu-pix); letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gvu-clock-sub { font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-orange-hi); margin-top: 7px; white-space: nowrap; }
.gvu-clock.is-paused .gvu-clock-time { animation: gvu-blink 1.2s steps(1) infinite; }
.gvu-clock-btns { display: flex; gap: 2px; }
.gvu-speed { font: 16px/1 var(--gvu-pix); width: 44px; height: 28px; }
@keyframes gvu-blink { 50% { opacity: .62; } }
.gvu-scrub {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 5px 0 -4px; background: transparent; cursor: ew-resize;
  --gvu-day: linear-gradient(90deg, #101746 0%, #101746 19%, #6c5aa8 23.5%, #f29a84 26.5%, #9fd3f7 31%, #5eb1f2 44%, #5eb1f2 68%, #f9c476 75%, #f5814f 79%, #6d4d9c 83%, #101746 88%, #101746 100%);
}
.gvu-scrub::-webkit-slider-runnable-track { height: 6px; background: var(--gvu-day); box-shadow: 0 -2px 0 0 #0a1024, 0 2px 0 0 #0a1024, -2px 0 0 0 #0a1024, 2px 0 0 0 #0a1024; }
.gvu-scrub::-moz-range-track { height: 6px; background: var(--gvu-day); box-shadow: 0 -2px 0 0 #0a1024, 0 2px 0 0 #0a1024, -2px 0 0 0 #0a1024, 2px 0 0 0 #0a1024; }
.gvu-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 6px; height: 16px; margin-top: -5px; background: var(--gv-paper); border: 0; border-radius: 0; box-shadow: 0 0 0 2px #0a1024; }
.gvu-scrub::-moz-range-thumb { width: 6px; height: 16px; background: var(--gv-paper); border: 0; border-radius: 0; box-shadow: 0 0 0 2px #0a1024; }
.gvu-scrub:hover::-webkit-slider-thumb { background: var(--gvu-gold); }
.gvu-scrub:focus-visible { outline-offset: 0; }

.gvu-traywrap { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gvu-toggles { display: flex; align-items: center; padding: 3px; gap: 1px; }
.gvu-toggle .gvu-btn-text { display: none; }
.gvu-menubtn { display: none; }

/* ---- bottom-right: zoom column + minimap ---------------------------------------------------------------------------- */
.gvu-dock { display: flex; align-items: flex-end; gap: 8px; }
.gvu-zoom { display: flex; flex-direction: column; padding: 3px; gap: 1px; }
.gvu-zoom .gvu-sep { width: auto; height: 2px; margin: 3px 4px; }
.gvu-mini { padding: 5px; line-height: 0; }
.gvu-mini-stage { position: relative; overflow: hidden; cursor: crosshair; touch-action: none; background: radial-gradient(ellipse at 50% 45%, #1d2f5e, #0b122c); }
.gvu-mini-canvas { display: block; width: 100%; height: 100%; }
.gvu-mini-frame {
  position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(7, 11, 28, .85), 0 0 0 200px rgba(7, 11, 28, .14); background: rgba(250, 70, 22, .14);
}

/* ---- bottom-left: jump + compass/scale ---------------------------------------------------------------------------------- */
.gvu-bl { display: flex; align-items: flex-end; gap: 10px; }
.gvu-jumpbtn { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 13px 0 11px !important; font: 16px/1 var(--gvu-pix) !important; color: var(--gv-paper) !important; transition: filter .12s, transform .06s; }
.gvu-jumpbtn .gvu-ico { color: var(--gvu-orange-hi); }
.gvu-jumpbtn:hover { filter: brightness(1.25); }
.gvu-jumpbtn:active { transform: translateY(1px); }
.gvu-scalebox { padding: 1px 8px; line-height: 0; background: linear-gradient(180deg, rgba(27, 40, 84, .62), rgba(12, 19, 46, .7)); }
.gvu-scale { display: block; image-rendering: pixelated; }

/* ---- hover tooltip -------------------------------------------------------------------------------------------------------- */
.gvu-hovertip {
  position: absolute; left: 0; top: 0; z-index: 70; display: flex; align-items: center; gap: 7px; max-width: 320px;
  padding: 6px 9px 5px; background: #070b1c; color: var(--gv-paper); white-space: nowrap;
  box-shadow: 0 -2px 0 0 #46578f, 0 2px 0 0 #46578f, -2px 0 0 0 #46578f, 2px 0 0 0 #46578f, 0 6px 0 -1px var(--gvu-drop);
}
.gvu-hovertip b { font: 600 12.5px/1.2 var(--gvu-sans); overflow: hidden; text-overflow: ellipsis; }
.gvu-hovertip span { font: 8px/1 var(--gvu-pix); color: var(--gvu-dim); }
.gvu-hovertip .gvu-ico { color: var(--gvu-gold); }

/* ---- info card --------------------------------------------------------------------------------------------------------------- */
#ui > .gvu-card { pointer-events: auto; }
.gvu-card { position: absolute; z-index: 20; left: calc(12px + var(--gv-safe-l)); top: 70px; width: 372px; max-height: calc(100% - 180px); display: flex; }
.gvu-card.is-in { animation: gvu-card-in .22s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gvu-card-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.gvu-card-body { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.gvu-card-head { position: relative; padding: 13px 14px 11px; background: linear-gradient(180deg, rgba(250, 70, 22, .16), rgba(250, 70, 22, 0)); box-shadow: inset 0 3px 0 0 var(--gv-orange); }
.gvu-card-grip { display: none; }
.gvu-card-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-right: 34px; min-height: 20px; align-items: center; }
.gvu-card-close { position: absolute !important; top: 9px; right: 8px; }
.gvu-chip {
  --chip: #aab6dc; display: inline-flex; align-items: center; gap: 5px; height: 18px; padding: 1px 7px 0; font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px;
  color: var(--chip); background: color-mix(in srgb, var(--chip) 14%, transparent);
  box-shadow: 0 -1px 0 0 var(--chip), 0 1px 0 0 var(--chip), -1px 0 0 0 var(--chip), 1px 0 0 0 var(--chip); margin: 1px;
}
.gvu-chip.is-year { --chip: var(--gv-paper); }
.gvu-chip.is-star { --chip: var(--gvu-gold); }
.gvu-card-title { margin: 12px 0 0; font: 16px/22px var(--gvu-pix); font-weight: 400; color: #fff; text-wrap: balance; text-shadow: 2px 2px 0 rgba(0, 33, 165, .85); }
.gvu-card-sub { margin: 7px 0 0; font-size: 12px; color: var(--gvu-dim); }
.gvu-card-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 14px 12px; scrollbar-width: thin; scrollbar-color: #46578f transparent; }
.gvu-card-blurb { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #fbf9f3; }
.gvu-card-blurb.is-generic { color: rgba(244, 241, 232, .82); }
.gvu-card h3, .gvu-modal h3 { margin: 0 0 8px; font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-orange-hi); font-weight: 400; }
.gvu-facts { margin-top: 16px; }
.gvu-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gvu-facts li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.45; color: rgba(244, 241, 232, .9); }
.gvu-facts li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 6px; height: 6px; background: var(--gv-orange); box-shadow: 2px 2px 0 0 rgba(0, 33, 165, .9); }
.gvu-tip { margin-top: 16px; padding: 10px 12px 10px; background: rgba(255, 210, 74, .08); box-shadow: inset 3px 0 0 0 var(--gvu-gold); }
.gvu-tip h3 { color: var(--gvu-gold); }
.gvu-tip p { margin: 0; font-size: 13px; }
.gvu-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 0; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.gvu-meta dt { font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-dim); padding-top: 5px; white-space: nowrap; }
.gvu-meta dd { margin: 0; color: var(--gv-paper); }
.gvu-card-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 12px; border-top: 2px solid rgba(255, 255, 255, .08); background: rgba(7, 11, 28, .35); }
.gvu-card-actions .gvu-btn-wide { flex: 1 1 auto; height: 34px; padding: 0 9px; }
.gvu-card-actions .gvu-btn-sq { flex: 0 0 38px; width: 38px; padding: 0; }
.gvu-tourbar { display: flex; align-items: center; gap: 8px; margin: 0 12px 4px; padding: 6px; background: rgba(0, 33, 165, .38); box-shadow: 0 -2px 0 0 #2f49c9, 0 2px 0 0 #2f49c9, -2px 0 0 0 #2f49c9, 2px 0 0 0 #2f49c9; }
.gvu-tourbar-mid { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: center; text-align: center; }
.gvu-tourbar-name { font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-gold); }
.gvu-tourbar-step { font-size: 12px; font-weight: 600; }
.gvu-tourbar-dots, .gvu-hint-dots { display: flex; gap: 4px; }
.gvu-tourbar-dots i, .gvu-hint-dots i { width: 6px; height: 6px; background: rgba(255, 255, 255, .22); }
.gvu-tourbar-dots i.done, .gvu-hint-dots i.done { background: rgba(250, 70, 22, .6); }
.gvu-tourbar-dots i.on, .gvu-hint-dots i.on { background: var(--gvu-gold); }

/* ---- overlay layers: search + modals ------------------------------------------------------------------------------------------- */
#ui > .gvu-layer { pointer-events: auto; }
.gvu-layer { position: absolute; inset: 0; z-index: 40; display: flex; justify-content: center; align-items: flex-start; background: rgba(5, 8, 22, .5); animation: gvu-fade .14s both; padding: calc(12px + var(--gv-safe-t)) 12px 12px; }
.gvu-layer-modal { align-items: center; }
@keyframes gvu-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gvu-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.gvu-search { width: min(620px, 100%); margin-top: min(11vh, 96px); display: flex; flex-direction: column; max-height: min(74vh, 640px); animation: gvu-pop .18s cubic-bezier(.2, .8, .2, 1) both; --gvu-edge: #5368b0; }
.gvu-search-bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; box-shadow: inset 0 -2px 0 0 rgba(255, 255, 255, .08); color: var(--gvu-orange-hi); }
.gvu-search-input { flex: 1; min-width: 0; height: 36px; background: none; border: 0; color: #fff; font: 17px/1 var(--gvu-sans); caret-color: var(--gv-orange); }
.gvu-search-input::placeholder { color: rgba(244, 241, 232, .42); }
.gvu-search-input::-webkit-search-cancel-button { display: none; }
.gvu #ui .gvu-search-input:focus-visible { outline: none; }
.gvu-search-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #46578f transparent; }
.gvu-search-head { padding: 8px 10px 6px; font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-orange-hi); }
.gvu-search-empty { padding: 22px 14px; color: var(--gvu-dim); text-align: center; }
.gvu-search-empty strong { display: block; font: 16px/1 var(--gvu-pix); font-weight: 400; color: var(--gv-paper); margin-bottom: 10px; }
.gvu-search-item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; cursor: pointer; min-height: 46px; }
.gvu-search-item.is-active { background: rgba(250, 70, 22, .2); box-shadow: inset 3px 0 0 0 var(--gv-orange); }
.gvu-search-ico { --chip: #9fb0e0; flex: none; width: 30px; height: 30px; display: grid; place-items: center; color: var(--chip); background: color-mix(in srgb, var(--chip) 15%, transparent); }
.gvu-search-ico.is-landmark { --chip: var(--gvu-gold); }
.gvu-search-ico.is-stadium { --chip: #ff9466; }
.gvu-search-ico.is-place { --chip: #96d873; }
.gvu-search-ico.is-road { --chip: #c5cbe0; }
.gvu-search-text { flex: 1; min-width: 0; display: grid; }
.gvu-search-name { font-size: 14.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gvu-search-name mark { background: none; color: var(--gvu-gold); }
.gvu-search-sub { font-size: 12px; color: var(--gvu-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gvu-search-go { font: 16px/1 var(--gvu-pix); color: var(--gvu-orange-hi); opacity: 0; }
.gvu-search-item.is-active .gvu-search-go { opacity: 1; }
.gvu-search-foot { display: flex; gap: 18px; padding: 9px 14px 10px; box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, .08); font-size: 11.5px; color: var(--gvu-dim); }
.gvu-search-foot span { display: inline-flex; align-items: center; gap: 5px; }

.gvu-modal { width: min(560px, 100%); max-height: min(86vh, 720px); display: flex; flex-direction: column; animation: gvu-pop .18s cubic-bezier(.2, .8, .2, 1) both; --gvu-edge: #5368b0; }
.gvu-modal-help { width: min(880px, 100%); }
.gvu-modal-head [data-tip]::after { display: none; }
.gvu-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 11px 16px; box-shadow: inset 0 3px 0 0 var(--gv-orange), inset 0 -2px 0 0 rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(250, 70, 22, .16), rgba(250, 70, 22, 0)); }
.gvu-modal-head h2 { margin: 0; font: 16px/1 var(--gvu-pix); font-weight: 400; text-shadow: 2px 2px 0 rgba(0, 33, 165, .85); }
.gvu-modal-body { padding: 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #46578f transparent; }
.gvu-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px 26px; }
.gvu-help ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gvu-help li { display: grid; grid-template-columns: 98px 1fr; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: rgba(244, 241, 232, .88); }
.gvu-keys { display: inline-flex; flex-wrap: wrap; gap: 6px 5px; align-items: center; min-height: 18px; color: var(--gvu-gold); }
.gvu-about p { margin: 0 0 12px; }
.gvu-about-lead { font-size: 15px; color: #fff; }
.gvu-about-note { font-size: 12.5px; color: rgba(244, 241, 232, .8); padding-left: 12px; box-shadow: inset 3px 0 0 0 var(--gvu-edge-hi); }
.gvu-about-sign { font: 8px/1.6 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-orange-hi); margin: 16px 0 0 !important; }
.gvu-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 16px; }
.gvu-stat { padding: 10px 6px 9px; text-align: center; background: rgba(0, 33, 165, .3); box-shadow: 0 -2px 0 0 #2f49c9, 0 2px 0 0 #2f49c9, -2px 0 0 0 #2f49c9, 2px 0 0 0 #2f49c9; }
.gvu-stat b { display: block; font: 16px/1 var(--gvu-pix); font-weight: 400; color: var(--gvu-gold); }
.gvu-stat span { display: block; margin-top: 6px; font-size: 11px; color: var(--gvu-dim); }
.gvu-modal-jump { width: min(460px, 100%); max-height: min(92vh, 800px); }
.gvu-modal-jump .gvu-modal-body { padding: 8px; }
.gvu-jump-list { list-style: none; margin: 0; padding: 0; }
.gvu-jump-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 5px 8px; text-align: left; }
.gvu-jump-item:hover, .gvu-jump-item:focus-visible { background: rgba(250, 70, 22, .2); box-shadow: inset 3px 0 0 0 var(--gv-orange); }
.gvu-jump-num { --chip: var(--gvu-gold); flex: none; width: 30px; height: 30px; display: grid; place-items: center; font: 8px/1 var(--gvu-pix); color: var(--chip); background: color-mix(in srgb, var(--chip) 15%, transparent); }
.gvu-jump-text { display: grid; min-width: 0; }
.gvu-jump-text b { font-size: 14.5px; font-weight: 600; color: #fff; }
.gvu-jump-text small { font-size: 12px; color: var(--gvu-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gvu-jump-tours { margin: 8px 8px 6px; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .08); }
.gvu-jump-tourlist { display: flex; flex-wrap: wrap; gap: 6px; }
.gvu-jump-tourlist .gvu-btn-wide { flex: 1 1 auto; justify-content: flex-start; padding: 0 10px; }
.gvu-jump-tourlist small { font-size: 11px; color: var(--gvu-dim); }
.gvu-jump-tourlist .gvu-ico { color: var(--gvu-orange-hi); }

/* ---- splash ------------------------------------------------------------------------------------------------------------------------ */
#ui > .gvu-splash { pointer-events: auto; }
.gvu-splash {
  position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; text-align: center; padding: 24px 18px calc(40px + var(--gv-safe-b));
  background: radial-gradient(ellipse 75% 60% at 50% 46%, rgba(7, 11, 28, .78) 0%, rgba(7, 11, 28, .56) 55%, rgba(7, 11, 28, .2) 100%),
    linear-gradient(180deg, rgba(7, 11, 28, .7) 0%, rgba(7, 11, 28, 0) 26%, rgba(7, 11, 28, 0) 70%, rgba(7, 11, 28, .8) 100%);
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.gvu-splash.is-out { opacity: 0; visibility: hidden; pointer-events: none !important; }
.gvu-splash-inner { display: flex; flex-direction: column; align-items: center; max-width: 640px; animation: gvu-rise .7s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gvu-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gvu-splash-kicker { margin: 0 0 16px; font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 3px; color: var(--gvu-gold); }
.gvu-splash .gvu-logo { max-width: 100%; height: auto; filter: drop-shadow(0 10px 0 rgba(3, 6, 18, .35)); animation: gvu-bob2 3.2s steps(4) infinite alternate; }
@keyframes gvu-bob2 { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.gvu-splash-tag { margin: 22px 0 0; font: 16px/1.4 var(--gvu-pix); color: #fff; text-shadow: 2px 2px 0 var(--gv-blue); }
.gvu-dyk { margin: 26px 0 0; width: min(520px, 100%); min-height: 92px; padding: 12px 16px 13px; background: rgba(12, 19, 46, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 -2px 0 0 var(--gvu-edge), 0 2px 0 0 var(--gvu-edge), -2px 0 0 0 var(--gvu-edge), 2px 0 0 0 var(--gvu-edge); }
.gvu-dyk-label { display: block; font: 8px/1 var(--gvu-pix); text-transform: uppercase; letter-spacing: 1px; color: var(--gvu-orange-hi); margin-bottom: 8px; }
.gvu-dyk-text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .92); transition: opacity .35s ease; text-wrap: pretty; }
.gvu-dyk-text.is-out { opacity: 0; }
.gvu #ui .gvu-cta {
  margin: 28px 0 0; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px 0 30px; font: 24px/1 var(--gvu-pix); color: #fff; background: var(--gv-orange);
  box-shadow: 0 -3px 0 0 #ffa27d, -3px 0 0 0 #ff7a4d, 3px 0 0 0 #c9330b, 0 3px 0 0 #a82a08, 0 9px 0 0 #7a1c04, 0 16px 0 -3px rgba(3, 6, 18, .45);
  transition: transform .07s, box-shadow .07s, filter .12s; text-shadow: 3px 3px 0 #a82a08;
}
.gvu #ui .gvu-cta:hover { filter: brightness(1.1); }
.gvu #ui .gvu-cta:active { transform: translateY(6px); box-shadow: 0 -3px 0 0 #ffa27d, -3px 0 0 0 #ff7a4d, 3px 0 0 0 #c9330b, 0 3px 0 0 #a82a08, 0 3px 0 0 #7a1c04, 0 8px 0 -3px rgba(3, 6, 18, .45); }
.gvu-cta .gvu-ico { animation: gvu-nudge 1s steps(2) infinite; }
@keyframes gvu-nudge { 50% { transform: translateX(4px); } }
.gvu-splash-fine { margin: 30px 0 0; font-size: 11.5px; color: rgba(244, 241, 232, .66); text-shadow: 0 1px 2px #070b1c; }

/* the HUD waits off-stage during the splash, then fades in */
.gvu-intro .gv-slot, .gvu-intro .gvu-card { opacity: 0; visibility: hidden; }
.gvu-intro-out .gv-slot { animation: gvu-fade .7s .25s both; }

/* ---- controls hint -------------------------------------------------------------------------------------------------------------------- */
#ui > .gvu-hint { pointer-events: auto; }
.gvu-hint { position: absolute; z-index: 25; left: 50%; bottom: calc(40px + var(--gv-safe-b)); translate: -50% 0; display: flex; align-items: center; gap: 14px; padding: 12px 14px; width: min(470px, calc(100% - 24px)); animation: gvu-pop .3s both; --gvu-edge: #5368b0; }
.gvu-hint.is-out { opacity: 0; transition: opacity .25s; }
.gvu-hint-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gvu-gold); background: rgba(255, 210, 74, .12); }
.gvu-hint.is-step .gvu-hint-ico { animation: gvu-step .35s steps(3) both; }
@keyframes gvu-step { from { transform: translateY(-6px); } to { transform: none; } }
.gvu-hint-text { flex: 1; min-width: 0; display: grid; gap: 5px; }
.gvu-hint-text b { font: 16px/1 var(--gvu-pix); font-weight: 400; }
.gvu-hint-text span { font-size: 12.5px; color: var(--gvu-dim); }
.gvu-hint-btns { display: grid; justify-items: center; gap: 4px; }
.gvu #ui .gvu-hint-skip { font-size: 11.5px; color: var(--gvu-dim); text-decoration: underline; padding: 2px 6px; }

/* ---- toasts ---------------------------------------------------------------------------------------------------------------------------- */
.gvu-toasts { position: absolute; z-index: 90; left: 50%; top: calc(70px + var(--gv-safe-t)); translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); }
.gvu-toast {
  padding: 9px 14px 8px; font: 600 13px/1.3 var(--gvu-sans); color: #fff; text-align: center; background: #101a3e;
  box-shadow: 0 -2px 0 0 var(--gv-orange), 0 2px 0 0 var(--gv-orange), -2px 0 0 0 var(--gv-orange), 2px 0 0 0 var(--gv-orange), 0 7px 0 -1px var(--gvu-drop);
  animation: gvu-toast .22s steps(4) both; transition: opacity .3s;
}
.gvu-toast.is-out { opacity: 0; }
@keyframes gvu-toast { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---- phones ------------------------------------------------------------------------------------------------------------------------------ */
@media (max-width: 720px) {
  .gvu .gv-slot-top-left, .gvu .gv-slot-top-right { top: calc(8px + var(--gv-safe-t)); }
  .gvu .gv-slot-top-left { left: calc(8px + var(--gv-safe-l)); }
  .gvu .gv-slot-top-right, .gvu .gv-slot-bottom-right { right: calc(8px + var(--gv-safe-r)); }
  .gvu .gv-slot-bottom-left { left: calc(8px + var(--gv-safe-l)); bottom: calc(26px + var(--gv-safe-b)); }
  .gvu .gv-slot-bottom-right { bottom: calc(26px + var(--gv-safe-b)); }
  .gvu-attrib-more { display: none; }
  .gvu-attrib-less { display: inline; }
  .gvu-brand, .gvu-topbar .gvu-sep { display: none; }
  .gvu-topbar { padding: 0 2px; height: 44px; }
  .gvu-searchbtn { min-width: 0; width: 136px; height: 44px; }
  .gvu-searchbtn kbd { display: none !important; }
  .gvu-clock { width: auto; padding: 5px 6px 6px; }
  .gvu-clock-row { gap: 7px; }
  .gvu-dial { width: 54px; height: 33px; }
  .gvu-clock-text { min-width: 78px; }
  .gvu-clock-sub { margin-top: 5px; letter-spacing: 0; }
  .gvu-speed { display: none; }
  .gvu-scrub { height: 22px; margin: 3px 0 -6px; }
  .gvu-menubtn { display: inline-flex; width: 44px; height: 44px; background: var(--gvu-glass); margin: 2px;
    box-shadow: 0 -2px 0 0 var(--gvu-edge), 0 2px 0 0 var(--gvu-edge), -2px 0 0 0 var(--gvu-edge), 2px 0 0 0 var(--gvu-edge), 0 7px 0 -1px var(--gvu-drop); }
  .gvu-toggles { display: none; position: absolute; right: 52px; top: 0; flex-direction: column; align-items: stretch; width: 214px; padding: 4px; z-index: 5; }
  .gvu-toggles.is-open { display: flex; animation: gvu-pop .16s both; }
  .gvu-toggles .gvu-sep { width: auto; height: 2px; margin: 3px 4px; }
  .gvu-toggle { width: 100%; height: 44px; justify-content: flex-start; padding: 0 12px !important; gap: 14px; }
  .gvu-toggle .gvu-ico { width: 24px; justify-content: center; }
  .gvu-toggle .gvu-btn-text { display: inline; }
  .gvu-toggle[aria-pressed]::after { content: "OFF"; margin-left: auto; font: 8px/1 var(--gvu-pix); color: var(--gvu-dim); }
  .gvu-toggle[aria-pressed="true"]::after { content: "ON"; color: var(--gvu-orange-hi); }
  .gvu-zoom .gvu-btn { width: 44px; height: 44px; }
  .gvu-dock { flex-direction: column-reverse; align-items: flex-end; }
  .gvu-jumpbtn { height: 44px; }
  .gvu-scalebox { display: none; }
  .gvu-toasts { top: calc(64px + var(--gv-safe-t)); }

  .gvu-card { left: 0; right: 0; top: auto !important; bottom: 0; width: auto; max-height: min(56vh, 520px) !important; margin: 0; padding-bottom: calc(22px + var(--gv-safe-b));
    box-shadow: 0 -2px 0 0 var(--gvu-edge-hi), 0 -8px 0 -2px var(--gvu-drop); touch-action: pan-y; }
  .gvu-card.is-in { animation: gvu-sheet-in .26s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes gvu-sheet-in { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
  .gvu-card-head { padding-top: 18px; cursor: grab; touch-action: none; }
  .gvu-card-grip { display: block; position: absolute; left: 50%; top: 8px; width: 44px; height: 4px; margin-left: -22px; background: rgba(255, 255, 255, .35); }
  .gvu-card-close { width: 40px !important; height: 40px !important; top: 8px; right: 6px; }
  .gvu-card-open .gv-slot-bottom-left, .gvu-card-open .gv-slot-bottom-right { opacity: 0; visibility: hidden; }
  .gvu-card-open .gvu-attrib { z-index: 81; }
  .gvu-layer { padding: calc(8px + var(--gv-safe-t)) 8px 8px; }
  .gvu-search { margin-top: 0; max-height: 78vh; }
  .gvu-search-foot { display: none; }
  .gvu-search-input { font-size: 16px; }
  .gvu-stats { grid-template-columns: repeat(2, 1fr); }
  .gvu-hint { bottom: calc(34px + var(--gv-safe-b)); }
  .gvu-hinting .gv-slot-bottom-left, .gvu-hinting .gv-slot-bottom-right { opacity: 0; visibility: hidden; }
  .gvu-splash-tag { font-size: 16px; }
  .gvu-dyk { min-height: 118px; }
}
@media (max-height: 560px) {
  .gvu-dyk { display: none; }
  .gvu-splash-fine { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gvu *, .gvu *::before, .gvu *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}
@media (forced-colors: active) { .gvu-panel, .gvu-btn-wide { border: 1px solid CanvasText; } }

/* ---- integration pass ---------------------------------------------------------------------------- */
@media (max-width: 720px) {
  /* the bottom sheet opens at under half the screen so the place it describes stays visible; scroll for more */
  .gvu-card { max-height: min(46vh, 460px) !important; }
}
