/* THE GOLDEN LIBRARY — FULL-APP CV style (every screen).
   Uses the shared tokens and fonts from cv-theme.css. Loaded after the built-in styles;
   every rule is prefixed with html.cv-full so it wins over the original theme.
   Remove the class="cv-full" on <html> (index.html) to switch back to the gold theme. */
html.cv-full{background:#000}
html.cv-full body{background:transparent;color:var(--cv-text);font-family:var(--cv-font-body);font-size:17px}
/* Background: Tron grid floor (CV p.1) + a few stars, fixed behind everything */
html.cv-full body::before{content:"";position:fixed;left:-50%;right:-50%;bottom:40px;height:640px;z-index:0;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(125,180,255,.5) 0 2px,transparent 2px 64px),repeating-linear-gradient(0deg,rgba(125,180,255,.5) 0 2px,transparent 2px 32px);
  transform:perspective(600px) rotateX(60deg);transform-origin:50% 100%;opacity:.45}
html.cv-full body::after{content:"";position:fixed;inset:0 0 auto 0;height:45vh;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse 70% 60% at 15% 0%,rgba(115,59,63,.35),transparent 70%),radial-gradient(ellipse 70% 60% at 90% 0%,rgba(55,91,143,.4),transparent 70%)}
/* Headings: glowing "EXPERIENCE" style (CV p.3) */
html.cv-full h1,html.cv-full h2,html.cv-full .ob-screen h1{font-family:var(--cv-font-head);font-weight:400;color:var(--cv-ice);letter-spacing:.04em;text-shadow:0 0 2px #fff,0 0 8px var(--cv-glow),0 0 16px var(--cv-glow)}
html.cv-full h1{font-size:21px}
html.cv-full .app-head h1,html.cv-full #title{font-size:17px;line-height:1.15}
html.cv-full #app,html.cv-full #setup{position:relative;z-index:1}
html.cv-full h2{font-size:19px;margin:20px 0 10px}
html.cv-full h3,html.cv-full th,html.cv-full .grp{font-family:var(--cv-font-body);font-weight:700;color:#8fc0ff;text-decoration:underline;text-decoration-color:rgba(84,141,212,.6);text-underline-offset:3px}
html.cv-full h3{font-size:16px}
html.cv-full .app-head{position:relative;padding-bottom:18px;margin-bottom:8px}
html.cv-full .app-head::after{content:"";position:absolute;left:-16px;right:-16px;bottom:0;height:16px;background:var(--cv-trails);filter:drop-shadow(0 0 4px rgba(255,255,255,.35))}
#setup .app-head::after{display:none}
/* Panels: black with silver frame (CV p.1) */
html.cv-full .card,html.cv-full #mapBox .map-sheet,html.cv-full .wish-opt{background:var(--cv-panel);border:2px solid #8a929b;border-radius:4px;box-shadow:0 0 0 1px #000,0 4px 18px rgba(0,0,0,.6),inset 0 0 14px rgba(84,141,212,.12)}
html.cv-full .card.warn{border-color:var(--cv-trail-yellow);background:#0d0b02}
html.cv-full .wish-opt.picked{border-color:var(--cv-ice);box-shadow:0 0 12px 2px rgba(193,227,240,.6)}
/* Buttons: game-menu buttons (CV p.3) */
html.cv-full button,html.cv-full .btn{font-family:var(--cv-font-serif);font-weight:700;font-size:16px;letter-spacing:.01em;color:#fff;background:radial-gradient(ellipse at 50% 60%,#2d6ea3,#05223b 80%);border:2px solid #fff;border-radius:8px;text-shadow:0 1px 2px #000}
html.cv-full button:hover,html.cv-full .btn:hover{box-shadow:0 0 10px 2px rgba(193,227,240,.6)}
html.cv-full button.ghost,html.cv-full .btn.ghost{background:radial-gradient(ellipse at 50% 60%,#15476c,#020b14 80%);color:#e6eef5;border:2px solid #cfd6dc}
html.cv-full button:focus-visible,html.cv-full .btn:focus-visible,html.cv-full a:focus-visible,html.cv-full input:focus-visible,html.cv-full select:focus-visible{outline:3px solid var(--cv-trail-yellow);outline-offset:2px}
/* Inputs */
html.cv-full input,html.cv-full select,html.cv-full textarea{background:#000;color:#fff;border:1px solid #5c636b;border-radius:3px;font-family:var(--cv-font-body);font-size:17px}
html.cv-full input:focus,html.cv-full select:focus,html.cv-full textarea:focus{border-color:var(--cv-glow);box-shadow:0 0 8px rgba(84,141,212,.6)}
html.cv-full input[type=checkbox]{accent-color:#548dd4}
html.cv-full label{color:#c9d3dc;font-size:14px}
html.cv-full .muted{color:var(--cv-muted);font-size:14px}
html.cv-full a{color:#8fc0ff}
html.cv-full td,html.cv-full th{border-bottom:1px solid #1d232b}
html.cv-full .stat{background:#000;border:1px solid #5c636b;border-radius:3px;font-family:var(--cv-font-serif)}
html.cv-full .stat b{color:var(--cv-ice);text-shadow:0 0 6px var(--cv-glow)}
html.cv-full .item img.th,html.cv-full .rec img{border:2px solid #4a4f56;border-radius:2px;box-shadow:0 0 8px rgba(63,169,255,.6)}
html.cv-full .gp-num{background:#548dd4;color:#fff}
html.cv-full .gp-spinner{border-color:#1d232b;border-top-color:var(--cv-ice)}
/* Bottom navigation: menu bar (CV p.3) */
html.cv-full nav{background:linear-gradient(90deg,#000 0%,#0a2a45 30%,#15476c 50%,#0a2a45 70%,#000 100%);border-top:3px solid #e9eef2;box-shadow:0 -4px 14px rgba(84,141,212,.35)}
html.cv-full nav button{background:none;border:0;border-radius:0;color:#dfe8ef;font-family:var(--cv-font-body);font-weight:700;text-shadow:0 1px 2px #000}
html.cv-full nav button:hover{box-shadow:none}
html.cv-full nav button.on{color:#fff;background:radial-gradient(ellipse at 50% 55%,rgba(45,110,163,.95),rgba(5,34,59,.2) 75%);box-shadow:inset 0 0 0 2px #fff,0 0 12px 2px rgba(193,227,240,.8);border-radius:8px}
html.cv-full nav button.on b{filter:drop-shadow(0 0 4px #c1e3f0)}
/* Language toggle + help */
html.cv-full .lang-toggle button{background:transparent;border:0;color:#9aa5b1;font-family:var(--cv-font-body);text-shadow:none}
html.cv-full .lang-toggle button.on{color:var(--cv-ice);text-shadow:0 0 6px var(--cv-glow)}
html.cv-full .help-q{background:#000;border:2px solid var(--cv-ice);color:var(--cv-ice);font-family:var(--cv-font-head);font-weight:400;box-shadow:0 0 10px rgba(84,141,212,.7)}
html.cv-full #tabTip,html.cv-full .wish-toast{background:#020409;border:2px solid #cfd6dc;border-radius:4px;color:#fff}
/* Onboarding: deep-space nebula (CV p.2) */
html.cv-full #setup{background:var(--cv-nebula);border:3px solid #cfd6dc;border-radius:4px}
html.cv-full .ob-screen p{color:#f2f6fa;text-shadow:1px 1px 3px #000}
html.cv-full .ob-dots i{background:#3a4048}
html.cv-full .ob-dots i.on{background:var(--cv-ice);box-shadow:0 0 8px var(--cv-glow)}
html.cv-full .ob-lang button.on{background:radial-gradient(ellipse at 50% 60%,#2d6ea3,#05223b 80%);color:#fff;border-color:#fff;box-shadow:0 0 10px 2px rgba(193,227,240,.7)}
/* Bars and badges that used gold */
html.cv-full .wish-bar-row i{background:linear-gradient(180deg,#d8f3ff,#79c6ea)}
html.cv-full .wish-verdict,html.cv-full .wish-links a{color:var(--cv-ice)}
html.cv-full .wish-badge.cheap{background:var(--cv-trail-yellow);color:#000}
html.cv-full .wish-transport button.on{background:radial-gradient(ellipse at 50% 60%,#2d6ea3,#05223b 80%);border-color:#fff;color:#fff}
html.cv-full .leaflet-container{background:#000}
html.cv-full .leaflet-control-attribution a{color:#548dd4}
html.cv-full .wish-opt h4{color:var(--cv-ice);font-family:var(--cv-font-serif)}
/* THE STATUS WINDOW backup card buttons follow the menu style too */
html.cv-full #t-status .card .sw-big{font-family:var(--cv-font-serif)}

/* v34: compact top bar on phones so the title never wraps to 3 lines next to ⚙ ? EN|NL|FR */
@media (max-width:519px){
  html.cv-full .app-head{margin:12px 10px 0;gap:6px}
  html.cv-full .app-head::after{left:-10px;right:-10px} /* v36: the gold trail matched the old 16px margin and stuck out 6px (scrollWidth 396 at 390) */
  html.cv-full .app-head h1,html.cv-full #title{font-size:15px;line-height:1.12;overflow-wrap:anywhere;hyphens:auto}
  #appLogo{width:28px!important;height:28px!important}
  .head-actions{gap:3px!important}
  .head-actions .help-q{width:38px;height:38px;min-height:38px;font-size:18px}
  .head-actions .lang-toggle .sep{display:none}
  .head-actions .lang-toggle button{padding:8px 4px;font-size:12px;letter-spacing:0;min-height:38px}
}
@media (max-width:379px){
  #appLogo{display:none}
  html.cv-full .app-head h1,html.cv-full #title{font-size:14px}
}
