/* /retro_map.css — "Retro" look on BOTH maps (map.php + paid-map/map.php), 2026-10-30 TRIAL (David: "only changing the theme
 * not the function", will say keep or revert). Loaded by /retro_map_head.php, active while <html class="rt-map">.
 * LOOK ONLY: no sizes/positions change — lines + hard shadows are drawn with box-shadow (no borders), so nothing moves.
 * Pins, map tiles, status colors (Live/Lost/Relocated/Found/Forgotten = pin colors) and Map Themes stay as they are. */
html.rt-map { --ink: #111; --yel: #FFC83D; --cream: #FBF1E6; --peri: #FF9A4D; --pink: #F8B4C4; --mint: #A8E6CF;
  --ring: 0 0 0 1.5px var(--ink); --ring-sh: 0 0 0 1.5px var(--ink), 2px 2px 0 1.5px var(--ink); }   /* thinner 2026-10-30 (David: a little thick) */

/* ---- top bar ---- */
html.rt-map .header { background: linear-gradient(180deg, #D7FAD9 0%, #AEEFB3 30%, #85E48C 52%, #6CD574 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(0,0,0,.10), 0 2px 0 var(--ink) !important; }   /* glassy green #85E48C map header (David 2026-11-13; was flat yellow) */
html.rt-map .header, html.rt-map .header button, html.rt-map .header .toolbar-pill { font-family: 'DM Sans', system-ui, Arial, sans-serif !important; }
html.rt-map #hdrCollapseBtn { background: rgba(17,17,17,.06) !important; border-top: 1px solid rgba(17,17,17,.25) !important; color: var(--ink) !important; animation: none !important; text-shadow: none !important; }

/* status + toolbar pills: same colors (they match the pins), black text, black ring + hard shadow */
html.rt-map .toolbar-pill, html.rt-map .st-pill { box-shadow: var(--ring-sh) !important; color: var(--ink) !important; text-shadow: none !important; border-color: transparent !important; }
html.rt-map .toolbar-pill *, html.rt-map .st-pill * { color: var(--ink) !important; text-shadow: none !important; }
html.rt-map .st-pill .st-sub { opacity: .8; }
html.rt-map .toolbar-pill:active, html.rt-map .st-pill:active { transform: translate(2px,2px); box-shadow: var(--ring) !important; }

html.rt-map .tb-dashboard-btn { background: #fff !important; color: var(--ink) !important; box-shadow: var(--ring-sh) !important; border-color: transparent !important; }
html.rt-map .tb-countdown, html.rt-map .topbar-online-pill, html.rt-map .weather-chip {
  background: #fff !important; box-shadow: var(--ring-sh) !important; border-color: transparent !important; color: var(--ink) !important; }
html.rt-map .tb-countdown *, html.rt-map .topbar-online-pill *, html.rt-map .weather-chip * { color: var(--ink) !important; text-shadow: none !important; }
html.rt-map .topbar-online-dot { background: #1fa64a !important; box-shadow: 0 0 0 1.5px var(--ink) !important; }
html.rt-map .logo-sm { filter: none; }

/* difficulty balls: flat retro colors, black ring */
html.rt-map .diff-ball { box-shadow: var(--ring) !important; color: var(--ink) !important; font-family: 'DM Sans', sans-serif !important; }
html.rt-map .diff-ball-e { background: #4fc3f7 !important; }   /* blue — matches Easy pin rings (2026-11-01) */
html.rt-map .diff-ball-m { background: #ffb300 !important; }   /* orange — matches Medium pin rings */
html.rt-map .diff-ball-a { background: #e52e2e !important; }   /* red — matches Advanced pin rings */
html.rt-map .diff-pill.active .diff-ball, html.rt-map .diff-pill:hover .diff-ball { box-shadow: var(--ring-sh) !important; }

/* hunt-town drop-down + pill popups */
html.rt-map #hunt-town-dropdown-list, html.rt-map #pillPopup { box-shadow: 0 0 0 2px var(--ink), 5px 5px 0 2px var(--ink) !important; border-radius: 12px !important; }
html.rt-map #hunt-town-dropdown-list * { color: var(--ink); }

/* ---- tickers: black strip, yellow edge (text unchanged) ---- */
html.rt-map .ticker-bar { background: var(--ink) !important; border-top: 0 !important; border-bottom: 2px solid var(--yel) !important; }

/* ---- map buttons (zoom / compass / locate / camera) ---- */
html.rt-map .maplibregl-ctrl-group { background: #fff !important; border: 0 !important; box-shadow: var(--ring-sh) !important; border-radius: 10px !important; }
html.rt-map .maplibregl-ctrl button { filter: none !important; }
html.rt-map .maplibregl-ctrl-group button + button { border-top: 1px solid rgba(17,17,17,.25) !important; }
html.rt-map .maplibregl-ctrl-attrib { background: rgba(255,255,255,.85) !important; box-shadow: var(--ring) !important; color: var(--ink) !important; }
html.rt-map .tag-fab { box-shadow: var(--ring-sh) !important; }

/* ---- pin popups ---- */
html.rt-map .popup-card { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink) !important; }
html.rt-map .travel-btn { box-shadow: var(--ring-sh) !important; color: var(--ink) !important; }

/* ---- paid map: left tabs (Scan / Radar / Legend / Photos) + legend panel ---- */
html.rt-map #leftTabs > *, html.rt-map .fp-above-tabs > *, html.rt-map .fp-own-tabs > * { box-shadow: var(--ring-sh) !important; color: var(--ink) !important; text-shadow: none !important; }
html.rt-map .radar-panel, html.rt-map #legendPanel, html.rt-map .legend-panel { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink) !important; }

/* ---- Find Photos / Add Photo side panels ---- */
html.rt-map .fp-panel, html.rt-map .fp-add-panel { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink) !important; }

/* dark pills (Forgotten red, Hunt Town purple): white text stays readable */
html.rt-map #tbForgotten, html.rt-map #tbForgotten *, html.rt-map #hunt-town-wrap-outer > span, html.rt-map #hunt-town-wrap-outer > span * { color: #fff !important; }
