/* Color adaptation only. Original WebSite layout and typography stay in its five CSS files. */
:root {
  --accent-h:212;
  --gold:#b7ddf7;
  --void:#081622;
  --panel:#102435;
  --line:rgba(169,212,243,.24);
  --r-bg:#081622;
  --r-surface:#102435;
  --r-surface-high:#183246;
  --r-text:#f4faff;
  --r-muted:#b8cddd;
  --r-accent:hsl(var(--accent-h) 84% 81%);
  --r-accent-strong:hsl(var(--accent-h) 66% 44%);
  --r-accent-deep:hsl(var(--accent-h) 62% 24%);
  --r-wash:rgba(128,193,242,.16);
  --r-line:rgba(169,212,243,.24);
  --r-button-text:#071b2b;
  --xp-bg:#081622;
  --xp-card:#102435;
  --xp-input:#0c1e2d;
  --xp-text:#f4faff;
  --xp-muted:#b8cddd;
  --xp-border:#36556d;
  --xp-accent:#abd7f7;
}
:root[data-color=sky]{--accent-h:202;--r-accent:#c4e8ff;--r-accent-strong:#69b9e5}
:root[data-color=gray]{--r-accent:#eef7ff;--r-accent-strong:#9dbbd0}
html[data-theme=light]{--r-bg:#edf6fc;--r-surface:#fff;--r-surface-high:#e4f1fb;--r-text:#14334b;--r-muted:#466177;--r-accent:#1d6299;--r-accent-strong:#104774;--r-line:#aac8df;--r-button-text:#fff}
html[data-theme=contrast]{--r-bg:#000;--r-surface:#000;--r-surface-high:#000;--r-text:#fff;--r-muted:#fff;--r-accent:#fff;--r-accent-strong:#fff;--r-line:#fff;--r-button-text:#000}
/* Recolor existing icons without replacing or resizing their slots. */
.logo img{filter:drop-shadow(0 0 12px rgba(169,212,243,.26))}
.hero-features img,.problem-icons img,.combat-pillars-grid article>img{filter:hue-rotate(-60deg)}
/* White and baby-blue surfaces use the original sections and their original geometry. */
html:not([data-theme=dark]):not([data-theme=contrast]) .white-section{background:linear-gradient(135deg,#fff,#e6f3fd)!important;color:#163951!important}
html:not([data-theme=dark]):not([data-theme=contrast]) .white-section p{color:#405e75!important}
html:not([data-theme=dark]):not([data-theme=contrast]) .white-section :is(h2,h3,h4){color:#163951}
html:not([data-theme=dark]):not([data-theme=contrast]) .white-section h2 span{color:#236ba3}
/* Existing scenic backgrounds are exchanged in place, keeping their original sizing rules. */
.vip-section{background-image:url('../retail/chronicles/scene-3.webp')}
/* Transparent portraits retain the exact aspect ratio of the images they replace. */
.classes-visual img{aspect-ratio:857 / 481;object-fit:contain}
.vip-visual img{aspect-ratio:1;object-fit:contain}
/* The three character strips use padded retail portraits; keep the original frame line continuous. */
.character-strips{--strip-line-bottom:345px;background:linear-gradient(var(--r-line),var(--r-line)) 0 0/100% 1px no-repeat,linear-gradient(var(--r-line),var(--r-line)) 0 var(--strip-line-bottom)/100% 1px no-repeat}
.character-strips img{box-shadow:none}
@media(max-width:760px){html:not([data-layout="desktop"]) .character-strips{--strip-line-bottom:280px}}
