/* Dynamic Styles layer — Dr Yauba · yauba.48hourrfprescue.com
   Style layer ONLY: accent colours via CSS variables. It never changes
   layout, spacing, font sizes, content, prices, photos, links, forms,
   carts, doors or any script behaviour.
   Signature palette = this face's own colours, from styles.css :root:
     --main #0d6e63 · --deep #084f47 · --accent #c9a227 · --stone #f4f8f6
     --edge #cfe3de.
   Seasonal palettes are curated around that deep-teal-and-gold identity. */

/* Signature (default identity — the face's original accents, exactly) */
:root{
  --dyn-accent:#0d6e63;
  --dyn-accent-2:#c9a227;
  --dyn-deep:#084f47;
  --dyn-soft:#f4f8f6;
  --dyn-motif:linear-gradient(135deg,#0d6e63 0%,#084f47 100%);
}
/* Spring — fresh new-leaf teal, bright gold */
html[data-dyn-season="spring"]{
  --dyn-accent:#0f7a5f;
  --dyn-accent-2:#d4af37;
  --dyn-deep:#0a5741;
  --dyn-soft:#f0f8f2;
  --dyn-motif:linear-gradient(135deg,#0f7a5f 0%,#0a5741 100%);
}
/* Summer — bright sunlit teal, warm gold */
html[data-dyn-season="summer"]{
  --dyn-accent:#0b6e6e;
  --dyn-accent-2:#e0b62e;
  --dyn-deep:#084f4f;
  --dyn-soft:#f2f8f4;
  --dyn-motif:linear-gradient(135deg,#0b6e6e 0%,#084f4f 100%);
}
/* Autumn — deeper teal, burnt gold */
html[data-dyn-season="autumn"]{
  --dyn-accent:#0d6355;
  --dyn-accent-2:#c07f2a;
  --dyn-deep:#073f36;
  --dyn-soft:#f8f5ee;
  --dyn-motif:linear-gradient(135deg,#0d6355 0%,#073f36 100%);
}
/* Winter — cool blue-teal, pale gold */
html[data-dyn-season="winter"]{
  --dyn-accent:#0a5a6e;
  --dyn-accent-2:#bfa05a;
  --dyn-deep:#06394a;
  --dyn-soft:#eef4f7;
  --dyn-motif:linear-gradient(135deg,#0a5a6e 0%,#06394a 100%);
}

/* ---- Accent mapping: this face's accent selectors onto the variables ---- */
body{background:var(--dyn-soft)}
header{background:var(--dyn-accent);border-bottom-color:var(--dyn-accent-2)}
header p:last-child{color:var(--dyn-accent-2)}
nav{background:var(--dyn-deep)}
main h1{color:var(--dyn-deep)}
h2{color:var(--dyn-accent)}
h3{color:var(--dyn-deep)}
a{color:var(--dyn-accent)}
a:hover,a:focus{color:var(--dyn-deep)}
.card{border-top-color:var(--dyn-accent)}
.note{border-left-color:var(--dyn-accent)}
.shelf{border-left-color:var(--dyn-accent-2)}
.claim-band{border-top-color:var(--dyn-accent-2)}
button,.btn{background:var(--dyn-accent)}
button:hover,.btn:hover,button:focus,.btn:focus{background:var(--dyn-deep)}
footer a{color:var(--dyn-accent)}

/* ---- Motion-polite transitions (colour only, reduced-motion safe) ---- */
@media (prefers-reduced-motion: no-preference){
  header,nav,button,.btn{transition:background-color .3s ease,border-color .3s ease}
  a,h2,h3,main h1,header p:last-child{transition:color .3s ease}
  body{transition:background-color .3s ease}
  .card,.note,.shelf,.claim-band{transition:border-color .3s ease}
}

/* ---- Visitor style switcher (injected by dyn-styles.js) ---- */
.dyn-switch{position:fixed;left:.8rem;bottom:.8rem;z-index:60;font-family:Georgia,"Palatino Linotype","Book Antiqua","Times New Roman",serif}
.dyn-switch-btn{background:var(--dyn-accent);color:#ffffff;border:2px solid var(--dyn-accent-2);padding:.45rem .95rem;font:inherit;font-size:.92rem;cursor:pointer}
.dyn-switch-panel{display:none;background:#ffffff;border:1px solid var(--dyn-accent-2);border-top:4px solid var(--dyn-accent);padding:.6rem;margin-bottom:.45rem;max-width:13rem}
.dyn-switch-panel.open{display:block}
.dyn-switch-panel p{margin:.1rem 0 .45rem;font-size:.88rem;color:var(--dyn-deep);font-weight:bold}
.dyn-switch-opt{display:block;width:100%;background:var(--dyn-soft);color:var(--dyn-deep);border:1px solid var(--dyn-accent-2);padding:.35rem .6rem;margin:.25rem 0;font:inherit;font-size:.92rem;cursor:pointer;text-align:left}
.dyn-switch-opt[aria-pressed="true"]{background:var(--dyn-accent);color:#ffffff}
