/* Road Quests: the "lively" theme (golden hour on the lake). Loaded after site.css on every page and switched on by
   html[data-theme="lively"] (assets/theme.js). It only re-colours and adds motion: the layout stays site.css's.
   Palette: deep lake teal for the dark bands, warm cream for the light ones, campfire orange + gold + pine green + sky
   as accents. Compare with the classic theme at ?theme=classic. */
html[data-theme="lively"]{
  --ink:#1f2e38;--ink-soft:#2c3d48;--muted:#56707d;
  --parch:#fff3d9;--parch-2:#fff8ea;--parch-3:#fffdf7;--rule:#f1dcb0;--line:#e39a4a;
  --gold:#f5b73b;--red:#f0683a;--red-deep:#cf4a1c;
  --night:#133644;--night-2:#0f2d39;--night-3:#0b2430;--cream:#fff6e6;--cream-muted:#b9cdd4;--edge:#2d5564;
  --fire:#f0683a;--sun:#f5b73b;--pine:#2fa36b;--lake:#1fb2b2;--sky:#5fc3ee;
  --grad-sun:linear-gradient(135deg,#f5b73b 0%,#f0683a 100%);
  --grad-lake:linear-gradient(135deg,#1fb2b2 0%,#2d7fd1 100%);
  --grad-rail:linear-gradient(90deg,#f0683a,#f5b73b 35%,#2fa36b 70%,#1fb2b2);
  --water:#bfe3ea;--land:#fff1cf;--land-2:#f2dfb0;
}
html[data-theme="lively"] body{background:var(--night-3)}

/* ---- bands: glows and a wave along the top of every light band ---- */
html[data-theme="lively"] .dark,html[data-theme="lively"] .picks-band{
  background:radial-gradient(900px 420px at 88% -10%,rgba(240,104,58,.38),transparent 60%),
             radial-gradient(700px 380px at 6% 108%,rgba(31,178,178,.28),transparent 60%),var(--night)}
html[data-theme="lively"] .picks-band{border-bottom:0}
html[data-theme="lively"] .light{position:relative;background:radial-gradient(800px 300px at 10% 0%,rgba(95,195,238,.18),transparent 60%),var(--parch-2)}
html[data-theme="lively"] .light::before{content:"";position:absolute;left:0;right:0;top:-1px;height:30px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v8c-150 0-150 14-300 14S750 8 600 8 450 22 300 22 150 8 0 8z' fill='%230b2430'/%3E%3C/svg%3E") center/100% 100% no-repeat}
html[data-theme="lively"] .section.dark{position:relative}
html[data-theme="lively"] .section.dark::before{content:"";position:absolute;left:0;right:0;top:-1px;height:30px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v8c-150 0-150 14-300 14S750 8 600 8 450 22 300 22 150 8 0 8z' fill='%23fff8ea'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* ---- header and footer: a rainbow rail instead of a gold line ---- */
html[data-theme="lively"] .top{background:rgba(11,36,48,.92);backdrop-filter:blur(10px);border-bottom:0;box-shadow:0 1px 0 rgba(255,255,255,.06)}
html[data-theme="lively"] .top::after,html[data-theme="lively"] .foot::before{content:"";display:block;height:3px;background:var(--grad-rail)}
html[data-theme="lively"] .top::after{position:absolute;left:0;right:0;bottom:-3px}
html[data-theme="lively"] .top{position:sticky}
html[data-theme="lively"] .brand b{background:linear-gradient(90deg,#fff6e6,#f5b73b);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="lively"] .nav a.link:hover{color:#fff;background:rgba(255,255,255,.08)}
html[data-theme="lively"] .foot{border-top:0;padding-top:0}
html[data-theme="lively"] .foot::before{margin-bottom:48px}

/* ---- type: coloured eyebrow pills, a short gradient bar under every heading ---- */
html[data-theme="lively"] .eyebrow,html[data-theme="lively"] .light .eyebrow{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:6px 12px;border-radius:99px;font-size:11.5px;letter-spacing:.2em;color:#fff;background:var(--eb,var(--grad-sun))}
html[data-theme="lively"] .eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;opacity:.9}
html[data-theme="lively"] #quests{--eb:var(--grad-sun)}
html[data-theme="lively"] #logistics{--eb:var(--grad-lake)}
html[data-theme="lively"] #how{--eb:linear-gradient(135deg,#2fa36b,#1fb2b2)}
html[data-theme="lively"] #map{--eb:linear-gradient(135deg,#f5b73b,#e39a4a)}
html[data-theme="lively"] #later{--eb:linear-gradient(135deg,#5fc3ee,#2d7fd1)}
html[data-theme="lively"] .section-head h2{position:relative;padding-bottom:14px}
html[data-theme="lively"] .section-head h2::after{content:"";position:absolute;left:0;bottom:0;width:72px;height:5px;border-radius:99px;background:var(--eb,var(--grad-sun))}
html[data-theme="lively"] .picks-head h1{position:relative;display:inline-block}
html[data-theme="lively"] .picks-head h1::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:10px;border-radius:99px;background:var(--grad-sun);opacity:.85;transform:skewX(-12deg)}
html[data-theme="lively"] .picks-sub{color:#d7e5ea}

/* ---- buttons ---- */
html[data-theme="lively"] .btn{border-radius:999px;transition:transform .15s,box-shadow .15s,background-color .15s,border-color .15s,color .15s}
html[data-theme="lively"] .btn:hover{transform:translateY(-2px)}
html[data-theme="lively"] .btn-gold{background:var(--grad-sun);color:#fff;box-shadow:0 8px 20px rgba(240,104,58,.35)}
html[data-theme="lively"] .btn-gold:hover{background:var(--grad-sun);box-shadow:0 12px 26px rgba(240,104,58,.45)}
html[data-theme="lively"] .btn-ink{background:var(--grad-lake);color:#fff;box-shadow:0 8px 20px rgba(31,178,178,.3)}
html[data-theme="lively"] .btn-ink:hover{background:var(--grad-lake)}
html[data-theme="lively"] .btn-ghost{border-color:rgba(255,255,255,.35)}
html[data-theme="lively"] .btn-ghost:hover{border-color:var(--sun);color:var(--sun)}
html[data-theme="lively"] .btn-line{border-color:var(--lake);color:#15808a}
html[data-theme="lively"] .btn-line:hover{background:rgba(31,178,178,.1)}
html[data-theme="lively"] .skip{background:var(--grad-sun);color:#fff}

/* ---- photo grid: playful lift and a fiery ring on a picked park ---- */
html[data-theme="lively"] .pick{border-radius:22px;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 14px 30px rgba(0,0,0,.4)}
html[data-theme="lively"] .pick-card:hover{transform:translateY(-6px) rotate(-.6deg)}
html[data-theme="lively"] .pick-card:nth-child(even):hover{transform:translateY(-6px) rotate(.6deg)}
html[data-theme="lively"] .pick-card.on .pick{box-shadow:0 0 0 3px var(--fire),0 0 0 6px rgba(240,104,58,.3),0 16px 34px rgba(0,0,0,.5)}
html[data-theme="lively"] .pick-add[aria-pressed="true"]{background:var(--grad-sun);border-color:transparent;color:#fff}
html[data-theme="lively"] .pick-add:hover{background:rgba(240,104,58,.85);border-color:transparent}
html[data-theme="lively"] .pick-txt small{color:#cfe3ea}
html[data-theme="lively"] .pick-dots i.on,html[data-theme="lively"] .lb-dots i.on{background:var(--sun)}
html[data-theme="lively"] .pick-thumb[aria-pressed="true"]{box-shadow:0 0 0 2px var(--sun)}
html[data-theme="lively"] .picks-count,html[data-theme="lively"] .picks-credit{color:#9fb9c2}
html[data-theme="lively"] .pickbar{background:rgba(11,36,48,.96);border-top:0;box-shadow:0 -12px 30px rgba(0,0,0,.35)}
html[data-theme="lively"] .pickbar::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--grad-rail)}

/* ---- cards: white, a coloured top edge, lift on hover ---- */
html[data-theme="lively"] .qcard,html[data-theme="lively"] .need,html[data-theme="lively"] .step,html[data-theme="lively"] .day,html[data-theme="lively"] .itin-stop{
  background:#fff;border:1px solid #f1e3c5;border-top:4px solid var(--card,var(--fire));border-radius:20px;box-shadow:0 6px 18px rgba(31,46,56,.07);transition:transform .2s,box-shadow .2s}
html[data-theme="lively"] .qcard:hover,html[data-theme="lively"] .need:hover,html[data-theme="lively"] .step:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(31,46,56,.14)}
html[data-theme="lively"] .qc-link:hover{box-shadow:none}
html[data-theme="lively"] .qcard{--card:var(--fire)}
html[data-theme="lively"] .need:nth-child(1){--card:var(--fire)} html[data-theme="lively"] .need:nth-child(2){--card:var(--sun)}
html[data-theme="lively"] .need:nth-child(3){--card:var(--pine)} html[data-theme="lively"] .need:nth-child(4){--card:var(--lake)}
html[data-theme="lively"] .step:nth-child(1){--card:var(--fire)} html[data-theme="lively"] .step:nth-child(2){--card:var(--sun)}
html[data-theme="lively"] .step:nth-child(3){--card:var(--pine)} html[data-theme="lively"] .step:nth-child(4){--card:var(--lake)}
html[data-theme="lively"] .step .num{background:var(--card);box-shadow:0 0 0 3px #fff,0 0 0 4px var(--card);color:#fff}
html[data-theme="lively"] .step .out a{color:#15808a}
html[data-theme="lively"] .need{color:var(--ink)}
html[data-theme="lively"] .qc-state{background:#eef3f5;color:var(--ink-soft)}
html[data-theme="lively"] .qc-state.ready{background:var(--grad-sun);color:#fff}
html[data-theme="lively"] .qc-place{color:#15808a}
html[data-theme="lively"] .qc-cta,html[data-theme="lively"] .qc-route,html[data-theme="lively"] .quests-all,html[data-theme="lively"] .itin-links a,html[data-theme="lively"] .itin-nights{color:var(--red-deep)}
html[data-theme="lively"] .quest-meta span+span::before{background:var(--lake)}
html[data-theme="lively"] .badge{border-color:var(--lake);background:#fff;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 3px #bfe3ea}
html[data-theme="lively"] .badge svg path{stroke:#15808a}
html[data-theme="lively"] .seal{border-color:var(--fire);color:var(--red-deep);background:#fff}
html[data-theme="lively"] .chip{background:#e3f4f6;color:#15808a}
html[data-theme="lively"] .plan{border:1.5px dashed #9fd3dc;background:rgba(255,255,255,.6)}
html[data-theme="lively"] .plan .chip{background:linear-gradient(135deg,#5fc3ee,#2d7fd1);color:#fff}
html[data-theme="lively"] .quest-note{border-color:var(--sun);background:#fff7e0}
html[data-theme="lively"] .itin-links a.itin-map{background:var(--grad-sun);color:#fff;border-radius:99px}
html[data-theme="lively"] .itin-leg-line{border-color:var(--fire)}
html[data-theme="lively"] .itin-leg-line::after{border-top-color:var(--fire)}
html[data-theme="lively"] .nights-step{background:#fff;border-color:#cfe0e6}

/* ---- the map section and mounted screenshots ---- */
html[data-theme="lively"] .mounted,html[data-theme="lively"] .shot .mounted{box-shadow:0 0 0 6px rgba(255,255,255,.06),0 0 0 7px rgba(245,183,59,.5),0 28px 60px rgba(0,0,0,.5)}
html[data-theme="lively"] .map-points div::before{background:var(--grad-sun);border-radius:2px}
html[data-theme="lively"] .shot figcaption b{color:var(--sun)}
html[data-theme="lively"] .route-map .omap{border-color:#9fd3dc;box-shadow:0 18px 40px rgba(31,46,56,.14)}
html[data-theme="lively"] .omap .dot.is-quest{fill:var(--sun);stroke:var(--ink)}
html[data-theme="lively"] .omap .route{stroke:var(--fire)}
html[data-theme="lively"] .omap .dot.is-stop,html[data-theme="lively"] .omap .dot.is-picked{stroke:var(--fire)}
html[data-theme="lively"] .cat-dot.is-quest{background:var(--sun)}
html[data-theme="lively"] .light .nav a.link[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--fire)}
html[data-theme="lively"] .nav a.link[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--sun)}
html[data-theme="lively"] .finder{background:var(--parch-2)}
html[data-theme="lively"] .cg-list>li,html[data-theme="lively"] .cg-item{border-radius:16px}
html[data-theme="lively"] .park-photo{border-color:rgba(255,255,255,.12)}

/* ---- motion: cards float up as they scroll into view (theme.js adds .rv-in) ---- */
html[data-theme="lively"] .rv{opacity:0;transform:translateY(22px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)}
html[data-theme="lively"] .rv.rv-in{opacity:1;transform:none}
html[data-theme="lively"] .rv:nth-child(2){transition-delay:.08s} html[data-theme="lively"] .rv:nth-child(3){transition-delay:.16s}
html[data-theme="lively"] .rv:nth-child(4){transition-delay:.24s} html[data-theme="lively"] .rv:nth-child(5){transition-delay:.32s}
@media (prefers-reduced-motion:reduce){html[data-theme="lively"] .rv{opacity:1;transform:none}}

/* ---- the theme switch (bottom-left pill; a compare tool while the theme is being chosen) ----
   One knob slides from side to side (data-on, set by theme.js) and warms to the sunrise gradient on Lively. */
.theme-switch{position:fixed;left:16px;bottom:16px;z-index:40;display:flex;padding:3px;border-radius:999px;background:rgba(20,20,20,.85);box-shadow:0 8px 24px rgba(0,0,0,.35);backdrop-filter:blur(8px);font:700 13px/1 var(--sans)}
.theme-switch::before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.35);
  transition:transform .4s cubic-bezier(.4,0,.2,1),background .4s ease}
.theme-switch[data-on="lively"]::before{transform:translateX(100%);background:linear-gradient(135deg,#f5b73b,#f0683a)}
.theme-switch button{position:relative;z-index:1;flex:1 1 0;min-width:64px;padding:8px 12px;border:0;border-radius:999px;background:transparent;color:#ddd;cursor:pointer;transition:color .3s ease}
.theme-switch button[aria-pressed="true"]{color:#222}
.theme-switch[data-on="lively"] button[aria-pressed="true"]{color:#fff}

/* ---- sunrise wipe: when the theme changes, the new one spreads out as a circle from the knob ----
   theme.js sets --vt-x/--vt-y (the knob's centre) and --vt-r (distance to the farthest corner) and starts a view
   transition. The old page stays put underneath; the new one is clipped to a growing circle on top. */
html[data-vt="theme"]::view-transition-old(root){animation:none;mix-blend-mode:normal}
html[data-vt="theme"]::view-transition-new(root){animation:rq-sunrise .65s cubic-bezier(.2,.7,.2,1) both;mix-blend-mode:normal}
@keyframes rq-sunrise{from{clip-path:circle(0px at var(--vt-x,50%) var(--vt-y,100%))}to{clip-path:circle(var(--vt-r,150vmax) at var(--vt-x,50%) var(--vt-y,100%))}}
@media (prefers-reduced-motion:reduce){.theme-switch::before,.theme-switch button{transition:none}html[data-vt="theme"]::view-transition-new(root){animation:none}}
body.has-pickbar .theme-switch{bottom:88px}
@media (max-width:600px){body.has-pickbar .theme-switch{bottom:142px}}
