/* =====================================================================
   SPIRE THEME (v1.23) — a visual layer over the whole site.
   Loaded last on every page. Changes colour, type and finish only:
   no layout or behaviour lives here. Remove this file and the
   <link> to it and the site goes back to the old look.
   ===================================================================== */
:root{
  /* ground and surfaces: cool soot, not indigo */
  --cf-night:#0b0e13; --cf-night-2:#0f141b; --cf-surface:#131922; --cf-surface-2:#18202b;
  --cf-line:rgba(200,215,235,.10); --cf-line-strong:rgba(200,215,235,.22);
  --cf-text:#eef1f5; --cf-text-2:#c8d0db; --cf-muted:#9aa4b2; --cf-faint:#7f8997;
  /* Ember blue does the old teal's job: links, focus, live, the one primary action */
  --cf-teal:#7cc8ff; --cf-teal-soft:#a6dbff;
  --cf-violet:#a993f0; --cf-violet-soft:#c6b8f6;
  --cf-gold:#7cc8ff; --cf-gold-ink:#0b0e13;
  --cf-danger:#ec6f5e;
  --cf-display:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --spire-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --spire-ember:#7cc8ff; --spire-brass:#d8b36a; --spire-blood:#ec6f5e;

  --bg:#0b0e13; --bg-soft:#0f141b; --panel:#131922; --panel-2:#18202b; --panel-3:#1d2633; --panel-hover:#1b2430;
  --line:#2c3746; --line-strong:#3a4656; --text:#eef1f5; --muted:#9aa4b2;
  --gold:#d8b36a; --gold-light:#e6c88a; --gold-deep:#8a6c2e; --danger:#ec6f5e; --shadow:rgba(0,0,0,.4);
  --confluence-midnight:#0f141b; --confluence-indigo:#1b2a3d; --confluence-violet:#262f44; --confluence-teal:#7cc8ff;
  --confluence-pale:#bfe3ff; --confluence-gold:#d8b36a; --confluence-copper:#c0704a; --confluence-ink:#0b0e13; --confluence-paper:#eef1f5;
  --tc-midnight:#0b0e13; --tc-navy:#131922; --tc-teal:#7cc8ff; --tc-pale:#bfe3ff; --tc-violet:#8e7fd0; --tc-gold:#d8b36a; --tc-copper:#c0704a;
  --gold-soft:#e6c88a;
}
/* Dispositions keep their colour families, brighter and cleaner */
.disposition-priority-assets{--disposition-accent:#e0b866;--disposition-deep:#3a2c14}
.disposition-take-and-hold{--disposition-accent:#6a9ee0;--disposition-deep:#17263d}
.disposition-purge-the-foe{--disposition-accent:#e0646a;--disposition-deep:#3a161c}
.disposition-disruption{--disposition-accent:#b088e6;--disposition-deep:#2a1c42}
.disposition-reconnaissance{--disposition-accent:#5ccdb8;--disposition-deep:#123632}

html,body{background:#0b0e13}
body{color:var(--cf-text)}

/* ---------- type: the book's serif for headings, Inter for everything you read at the table ---------- */
h1,h2,
.cf-hero h1,.cf-page-title,.cf-group,
.cf-rule h3,.cf-card h3,
#topTitle,.model-name,.unit-card h3,.builder-section-title,
.play-aurora-head h1,.play-aurora-head h2{
  font-family:var(--spire-serif)!important;font-weight:700!important;letter-spacing:0!important;
}
h1{line-height:1.02}
.cf-hero h1{font-size:clamp(44px,11vw,72px)!important;font-weight:600!important}
.cf-hero h1 em,.cf-hero h1 i{font-style:italic;font-weight:500}

/* ---------- top bar ---------- */
.cf-topbar,.site-topbar,header.cf-header{background:rgba(11,14,19,.92)!important;border-bottom:1px solid #1f2731!important;backdrop-filter:blur(10px)}

/* ---------- surfaces ---------- */
.cf-card,.cf-panel,.panel,.card,.model-card,.unit-card,.cf-rule,.cf-example,
.builder-panel,.army-card,.play-round-checklist,.cf-command,.faction-rules-card{
  border-color:#2c3746!important;
}
.cf-card{background:#131922!important;border:1px solid #2c3746!important;border-radius:14px!important;transition:border-color .2s,box-shadow .2s}
.cf-card:hover{border-color:#3e5a78!important;box-shadow:0 0 0 1px rgba(124,200,255,.12),0 10px 28px rgba(0,0,0,.35)}
.cf-card-top{color:#7cb4e0!important}

/* ---------- primary action glows like Ember ---------- */
.cf-btn-primary,.cf-btn.primary,.btn-primary,button.primary,.cf-cta,
#newArmyFab,.fab,.view-army-btn{
  background:#7cc8ff!important;color:#0b0e13!important;border-color:#7cc8ff!important;
  box-shadow:0 0 22px rgba(124,200,255,.35)!important;
}
.cf-btn-primary:hover,.cf-btn.primary:hover,.btn-primary:hover,button.primary:hover,.cf-cta:hover{background:#a6dbff!important}
a{text-decoration-color:rgba(124,200,255,.4)}
:focus-visible{outline:2px solid #7cc8ff!important;outline-offset:2px}

/* ---------- Play Mode ---------- */
#playStep .cf-battle{--ink:#eef1f5;--parch:#131922;--parch-2:#111720}
html #playStep .cf-battle .pc{
  background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 55%,#131922) 0%,#151c26 45%,color-mix(in srgb,var(--acc) 35%,#0b0e13) 100%)!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 14px 30px rgba(0,0,0,.45)!important;
}
html #playStep .cf-battle .pc-face{
  background:linear-gradient(180deg,#141b25,#10161e)!important;
  box-shadow:inset 0 0 0 1px rgba(200,215,235,.08)!important;
}
html #playStep .cf-battle .pc-head{background:linear-gradient(180deg,#18202b,#131922)!important;color:#f5f7fa!important}
html #playStep .cf-battle .pc-head h3{font-family:var(--spire-serif)!important;font-weight:700;text-transform:none!important;font-size:25px!important;color:#f5f7fa!important}
html #playStep .cf-battle .pc-type{color:var(--acc)!important}
html #playStep .cf-battle .pc-cost{background:#0b0e13!important;border:1px solid var(--acc)!important;box-shadow:0 0 14px color-mix(in srgb,var(--acc) 30%,transparent)!important}
html #playStep .cf-battle .pc-cost strong{font-family:"IBM Plex Mono",ui-monospace,monospace!important;font-size:15px!important;font-weight:500}
html #playStep .cf-battle .pc-cost span{color:var(--acc)}
html #playStep .cf-battle .pc-art{border-bottom-color:rgba(200,215,235,.08)!important;background:radial-gradient(120% 90% at 30% 20%,color-mix(in srgb,var(--acc) 26%,#131922),#0d1219 70%)}
html #playStep .cf-battle .pc-subline{color:#8e98a6!important}
html #playStep .cf-battle .pc .live-stat{border:1px solid #2c3746!important;background:#18202b!important;box-shadow:none!important}
html #playStep .cf-battle .pc .live-stat span{color:#8e98a6!important}
html #playStep .cf-battle .pc .live-stat strong{font-family:"IBM Plex Mono",ui-monospace,monospace!important;font-weight:500;font-size:19px!important;color:#f5f7fa!important}
html #playStep .cf-battle .pc .play-thresholds .live-stat{background:#0b0e13!important;border-color:#2c3746!important}
html #playStep .cf-battle .pc .live-stat.modified{border-color:#7cc8ff!important;background:#122233!important}
html #playStep .cf-battle .pc .hp-tracker{border-color:#5a2c28!important;background:linear-gradient(90deg,#c9454b 0,#ec6f5e var(--pc-hp),#241418 var(--pc-hp),#241418 100%)!important}
html #playStep .cf-battle .pc .hp-tracker strong{font-family:"IBM Plex Mono",ui-monospace,monospace!important;font-weight:500;font-size:17px!important}
html #playStep .cf-battle .pc .activation-toggle{background:transparent!important;color:var(--acc)!important;border:1px solid var(--acc)!important}
html #playStep .cf-battle .pc.activated .activation-toggle{background:var(--acc)!important;color:#0b0e13!important}
html #playStep .cf-battle .pc .destroy-toggle{color:#ec6f5e!important;border:1px solid #5a2c28!important}
html #playStep .cf-battle .pc .destroy-toggle.restore{background:#8d2f35!important;color:#fff!important}
html #playStep .cf-battle .pc .effect-row select,html #playStep .cf-battle .pc .play-state-row select{background:transparent!important;color:#aeb7c4!important;border:1px dashed #3a4656!important}
html #playStep .cf-battle .pc details.model-casualty-tracker{background:#0f141b!important;border-color:#2c3746!important}
html #playStep .cf-battle .pc .play-reference{border-top:1px solid #232c38!important}
html #playStep .cf-battle .pc .play-reference>summary{color:#8e98a6!important}
html #playStep .cf-battle .pc.destroyed{background:linear-gradient(160deg,#2a2f37,#15191f 55%,#22272e)!important}
html #playStep .cf-battle .pc-deck .play-swipe-track::before,
html #playStep .cf-battle .pc-deck .play-swipe-track::after{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 35%,#131922),#0f141b)!important}
html #playStep .cf-battle .play-swipe-controls .swipe-arrow{background:#131922!important;color:#eef1f5!important}
html #playStep .cf-battle .play-swipe-controls .swipe-dot{background:#2c3746!important}
html #playStep .cf-battle .cf-command-minor button{border-color:#2c3746!important;color:#e9edf3!important;background:#0f141b!important}
html #playStep .cf-battle #playNewRound{
  background:linear-gradient(180deg,#e2c07a,#c49a4c)!important;border-color:#e6c88a!important;color:#0b0e13!important;
  box-shadow:0 6px 22px rgba(216,179,106,.3)!important;font-family:var(--spire-serif)!important;font-weight:700!important;text-transform:none!important;font-size:23px!important;letter-spacing:0!important}
html #playStep .cf-battle #playNewRound small{color:#0b0e13!important}
.play-aurora-head[class*="disposition-"]{
  background:linear-gradient(115deg,#0b0e13 0%,color-mix(in srgb,var(--disposition-deep,#17263d) 90%,#0b0e13) 60%,#0b0e13 100%)!important;
}
.play-sticky-nav[class*="disposition-"]{background:#131922!important}
.play-sticky-nav[class*="disposition-"] .play-sticky-status>strong{font-family:var(--spire-serif)!important;font-weight:700;font-size:21px!important}
.cf-battle-modal .faction-rules-card{background:linear-gradient(180deg,#151c26,#10161e 240px)!important}

/* ---------- builder ---------- */
.unit-card,.army-entry,.entry-card{background:#131922!important}

/* ---------- embers (spire.js adds the sparks) ---------- */
.spire-embers{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.spire-embers i{position:absolute;bottom:-8px;border-radius:50%;background:var(--spire-ember-c,#7cc8ff);
  box-shadow:0 0 6px 1px var(--spire-ember-c,#7cc8ff),0 0 16px 3px var(--spire-ember-c,#7cc8ff);opacity:0;
  animation:spireRise linear infinite,spireFlick ease-in-out infinite alternate}
.play-aurora-head .spire-embers i,.cf-battle-modal .spire-embers i{--spire-ember-c:var(--disposition-accent,#7cc8ff)}
@keyframes spireRise{0%{transform:translate(0,0);opacity:0}12%{opacity:.95}55%{transform:translate(var(--dx),calc(var(--rise)*.55))}85%{opacity:.6}100%{transform:translate(calc(var(--dx)*-.6),var(--rise));opacity:0}}
@keyframes spireFlick{from{filter:brightness(.7)}to{filter:brightness(1.6)}}
.cf-hero,.play-aurora-head{isolation:isolate}
.cf-hero:not([style*="position"]){position:relative}

/* ---------- loading screen (first open of a session) ---------- */
#spireSplash{position:fixed;inset:0;z-index:5000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 32px;
  background:radial-gradient(90% 60% at 50% 38%,#13263a 0%,#0b0e13 70%);color:#eef1f5;font-family:Inter,system-ui,sans-serif;transition:opacity .5s ease,visibility .5s}
#spireSplash.gone{opacity:0;visibility:hidden}
#spireSplash .sp-the{font-size:12px;font-weight:600;letter-spacing:6px;text-transform:uppercase;color:#7cb4e0;position:relative}
#spireSplash .sp-name{position:relative;font-family:var(--spire-serif);font-weight:700;font-size:clamp(34px,11vw,52px);letter-spacing:4px;white-space:nowrap;text-transform:uppercase;line-height:1;margin-top:6px;animation:spGlow 3.2s ease-in-out infinite}
#spireSplash .sp-thabli{position:relative;margin-top:14px;font-family:var(--spire-serif);font-weight:700;font-size:14px;letter-spacing:5px;color:#6c7684}
#spireSplash .sp-bar{position:relative;width:180px;height:2px;margin-top:40px;background:#1b222c;border-radius:2px;overflow:hidden}
#spireSplash .sp-bar i{position:absolute;top:0;bottom:0;width:40%;background:linear-gradient(90deg,transparent,#7cc8ff,transparent);animation:spSweep 1.8s cubic-bezier(.5,0,.5,1) infinite}
#spireSplash .sp-msg{position:relative;margin-top:14px;font-size:13px;letter-spacing:1px;color:#aeb7c4}
#spireSplash .sp-quote{position:absolute;left:32px;right:32px;bottom:64px;font-family:var(--spire-serif);font-style:italic;font-weight:500;font-size:19px;line-height:1.35;color:#d5dbe3}
#spireSplash .sp-quote small{display:block;margin-top:8px;font-family:Inter,sans-serif;font-style:normal;font-size:12px;color:#6c7684}
@keyframes spGlow{0%,100%{text-shadow:0 0 18px rgba(124,200,255,.25)}50%{text-shadow:0 0 34px rgba(124,200,255,.7)}}
@keyframes spSweep{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}

/* ---------- new Battle Round flare ---------- */
.spire-round{position:fixed;inset:0;z-index:4000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:auto;
  background:rgba(11,14,19,.94);color:#eef1f5;font-family:Inter,system-ui,sans-serif;animation:srIn .35s ease both}
.spire-round.out{animation:srOut .45s ease both}
.spire-round .sr-flare{position:absolute;left:50%;top:44%;width:520px;height:520px;margin:-260px 0 0 -260px;border-radius:50%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--disposition-accent,#7cc8ff) 55%,transparent),color-mix(in srgb,var(--disposition-accent,#7cc8ff) 12%,transparent) 55%,transparent);
  animation:srFlare 2.4s ease-out infinite alternate}
.spire-round .sr-kicker{position:relative;font-size:12px;font-weight:600;letter-spacing:5px;text-transform:uppercase;color:var(--disposition-accent,#7cc8ff);animation:srUp .8s ease both}
.spire-round .sr-title{position:relative;font-family:var(--spire-serif);font-weight:700;font-size:clamp(48px,15vw,72px);line-height:1;margin-top:10px;
  text-shadow:0 0 30px color-mix(in srgb,var(--disposition-accent,#7cc8ff) 60%,transparent);animation:srUp .9s .08s ease both}
.spire-round .sr-tap{position:absolute;bottom:44px;font-size:12px;letter-spacing:1px;color:#6c7684}
@keyframes srIn{from{opacity:0}to{opacity:1}}
@keyframes srOut{to{opacity:0;visibility:hidden}}
@keyframes srFlare{0%{transform:scale(.6);opacity:0}30%{opacity:1}100%{transform:scale(1.2);opacity:.85}}
@keyframes srUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .spire-embers i{animation:none;opacity:.45;bottom:auto;top:55%}
  #spireSplash .sp-name,#spireSplash .sp-bar i,.spire-round,.spire-round *{animation:none!important}
}

/* ---------- builder details ---------- */
#buildStep .points-strip .meter{background:#1b222c!important}
#buildStep .points-strip .meter i{background:linear-gradient(90deg,#4aa8e8,#7cc8ff 70%,#bfe3ff)!important;box-shadow:0 0 14px rgba(124,200,255,.5)!important}
[data-cat-tone]{--tone:#7cc8ff}
[data-cat-tone="character"]{--tone:#d8b36a}
[data-cat-tone="specialist"]{--tone:#a993f0}
[data-cat-tone="light-infantry"]{--tone:#a6dbff}
[data-cat-tone="infantry"]{--tone:#7cc8ff}
[data-cat-tone="heavy-infantry"]{--tone:#6a9ee0}
[data-cat-tone="cavalry"]{--tone:#5ccdb8}
[data-cat-tone="monster"]{--tone:#ec8a6e}
[data-cat-tone="vehicle"]{--tone:#aeb7c4}
[data-cat-tone="fortification"]{--tone:#8e98a6}
#buildStep.active::before{background:
    radial-gradient(38% 30% at 18% 22%,rgba(124,200,255,.08),transparent 70%),
    radial-gradient(40% 32% at 50% 88%,rgba(124,200,255,.05),transparent 70%)!important}
#buildStep :is(.bx-card,.bx-fold){background:linear-gradient(180deg,#151c26,#121821)!important;border:1px solid #2c3746!important}
/* site-wide aurora washes → cool soot */
.cf-aurora-a{background:radial-gradient(closest-side,rgba(74,150,220,.30),transparent)!important}
.cf-aurora-b{background:radial-gradient(closest-side,rgba(124,200,255,.16),transparent)!important}
.cf-final .cf-aurora{background:radial-gradient(closest-side,rgba(216,179,106,.14),transparent)!important}

/* ---------- Play Mode: war table ---------- */
html #playStep .cf-battle .play-sticky-nav{background:linear-gradient(180deg,color-mix(in srgb,var(--deep) 35%,#131922),#131922)!important}
html #playStep .cf-battle .play-sticky-status>strong{font-family:var(--spire-serif)!important;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--acc)!important}
html #playStep .cf-battle .pss-chip{background:#18202b;border-color:#2c3746;color:#9aa4b2}
html #playStep .cf-battle .pss-chip strong{font-family:"IBM Plex Mono",ui-monospace,monospace;font-weight:500;font-size:15px}
html #playStep .cf-battle .pss-vp{border-color:#d8b36a;background:rgba(216,179,106,.12)}
html #playStep .cf-battle .play-sticky-actions{border-color:#2c3746;background:#0b0e13}
html #playStep .cf-battle .play-sticky-actions>button{border-right-color:#232c38!important;background:transparent!important;color:#c8d0db!important}
html #playStep .cf-battle .play-sticky-actions>.play-end-battle-btn{color:#ec6f5e!important;background:rgba(236,111,94,.08)!important}
html #playStep .cf-battle .play-command-bar{border-color:#2c3746!important;background:#131922!important}
html #playStep .cf-battle .play-resource{background:#0f141b;border-color:#232c38}
html #playStep .cf-battle .play-resource>span{color:#9aa4b2!important}
html #playStep .cf-battle .play-resource>strong{font-family:"IBM Plex Mono",ui-monospace,monospace;font-weight:500;font-size:28px!important}
html #playStep .cf-battle .play-ap-resource>strong{color:#7cc8ff;text-shadow:0 0 14px rgba(124,200,255,.55)}
html #playStep .cf-battle .play-resource>button{background:#18202b!important;border:1px solid #2c3746!important;color:#eef1f5!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource{background:#161216!important;border-color:#3a2427!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource>span{color:#ec6f5e!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource>button.dread-pips{background:#0b0e13!important;border:1px solid #3a2427!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource>button.dread-add{background:transparent!important;border:1px solid #5a2c28!important;color:#ec6f5e!important}
.dread-pips i,.dread-meter i{border-radius:1px!important;transform:rotate(45deg);border-color:rgba(236,111,94,.6)!important;width:10px!important;height:10px!important}
.dread-pips i.on,.dread-meter i.on{background:#ec6f5e!important;border-color:#ec6f5e!important;box-shadow:0 0 10px rgba(236,111,94,.7)!important}
.dread-pips b{font-family:"IBM Plex Mono",ui-monospace,monospace!important;font-weight:500}
html #playStep .cf-battle .play-command-bar>.play-enemy-resource>span{color:#ec6f5e!important}
html #playStep .cf-battle .play-command-bar>.play-enemy-resource>strong{color:#ec6f5e}
html #playStep .cf-battle .play-round-checklist{background:#131922!important;border:1px solid #2c3746!important}
html #playStep .cf-battle .play-round-checklist input{accent-color:var(--acc)}
.card-art-zone,.play-unit-art,.unit-image-preview{background:radial-gradient(120% 90% at 30% 20%,rgba(124,200,255,.16),transparent 55%),linear-gradient(160deg,#18202b,#0d1219)!important}
html #playStep .cf-battle .pc-art .play-unit-art{background:radial-gradient(120% 90% at 30% 20%,color-mix(in srgb,var(--acc) 26%,#131922),#0d1219 70%)!important}
html #playStep .cf-battle .pc .hp-tracker strong{white-space:nowrap;font-size:15px!important}
html #playStep .cf-battle .play-swipe-controls .swipe-dot.active{background:var(--acc)!important}
html #playStep .cf-battle .cf-card-mode button.active{background:var(--acc)!important;color:#0b0e13!important;border-color:var(--acc)!important}
html #playStep .cf-battle .play-score-resource>strong{color:#d8b36a}
html #playStep .cf-battle .pc .tc-select-button{background:transparent!important;color:#aeb7c4!important;border:1px dashed #3a4656!important}
html .play-detachment-reminder{background:#131922!important;border-color:#2c3746!important}
html .play-detachment-state{background:#131922!important;border-color:#2c3746!important}

/* ---------- v1.23.1: card rims are gunmetal; a unit that can still act this round glows Ember blue ---------- */
html #playStep .cf-battle .pc{
  background:linear-gradient(160deg,#5a6574 0%,#2b333f 38%,#434d5b 70%,#252c36 100%)!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.7),0 14px 30px rgba(0,0,0,.45)!important;
  transition:box-shadow .35s ease,background .35s ease;
}
html #playStep .cf-battle .pc:not(.activated):not(.destroyed){
  background:linear-gradient(160deg,#9fd8ff 0%,#3f6f99 30%,#5f97c4 65%,#2f5577 100%)!important;
  box-shadow:0 0 0 1px rgba(124,200,255,.55),0 0 22px rgba(124,200,255,.38),0 14px 30px rgba(0,0,0,.45)!important;
}
html #playStep .cf-battle .pc.activated:not(.destroyed){filter:none}
html #playStep .cf-battle .pc.destroyed{background:linear-gradient(160deg,#2a2f37,#15191f 55%,#22272e)!important;box-shadow:0 0 0 1px rgba(0,0,0,.7)!important}
html #playStep .cf-battle .pc-deck .play-swipe-track::before,
html #playStep .cf-battle .pc-deck .play-swipe-track::after{background:linear-gradient(160deg,#4a5563,#252c36)!important}

/* ---------- v1.24.0 · Test matches & the Proving Ground ---------- */
.proving-bar{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 8px);z-index:110000;display:flex;align-items:center;gap:10px;width:min(560px,calc(100vw - 16px));padding:8px 8px 8px 14px;border-radius:14px;background:rgba(14,18,26,.94);border:1px solid rgba(240,170,80,.55);box-shadow:0 10px 30px rgba(0,0,0,.5),0 0 18px rgba(240,170,80,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#e8edf5}
.proving-bar-copy{flex:1;min-width:0;display:grid;line-height:1.15}
.proving-bar-copy small{font:700 10px/1.2 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em;color:#f0aa50}
.proving-bar-copy strong{font:600 13px/1.25 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.proving-switch{flex:none;border:0;border-radius:10px;padding:9px 12px;font:800 12px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;color:#1a1206;background:linear-gradient(180deg,#ffc978,#e89a3c);cursor:pointer}
.proving-exit{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#b9c3d2;text-decoration:none;background:rgba(255,255,255,.06);font-size:14px}
html.proving-mode body{padding-top:62px}
body.test-match #connectedModeLabel{color:#f0aa50!important}
body.test-match .connected-battle-board{box-shadow:inset 0 0 0 1px rgba(240,170,80,.45)!important}
.cf-test-toggle{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:12px 14px;border-radius:14px;border:1px dashed rgba(240,170,80,.55);background:rgba(240,170,80,.07);cursor:pointer}
.cf-test-toggle input{width:20px;height:20px;accent-color:#e89a3c;flex:none}
.cf-test-toggle span{display:grid;gap:2px}
.cf-test-toggle strong{font-size:14px;color:#ffd39a}
.cf-test-toggle em{font-style:normal;font-size:12px;opacity:.75}
.cf-test-pill{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:99px;font:800 10px/1.5 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.12em;color:#1a1206;background:#f0aa50;vertical-align:middle}

/* ---------- v1.24.1 · calmer war table, thinner rims, embers behind the battle ---------- */
/* thinner card rims */
html #playStep .cf-battle .pc{padding:3px!important}
html #playStep .cf-battle .pc-face{border-radius:15px!important}
html #playStep .cf-battle .pc:not(.activated):not(.destroyed){box-shadow:0 0 0 1px rgba(124,200,255,.4),0 0 14px rgba(124,200,255,.22),0 14px 30px rgba(0,0,0,.45)!important}
html #playStep .cf-battle .pc.cf-aurora-edge::before{padding:2px!important}

/* command panel: one ink colour for every number, one typeface, no glows */
html #playStep .cf-battle .play-resource>strong,
html #playStep .cf-battle .play-command-bar>.play-enemy-resource>strong,
html #playStep .cf-battle .play-ap-resource>strong,
html #playStep .cf-battle .play-score-resource>strong,
.dread-pips b,
html #playStep .cf-battle .pss-chip strong{
  font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums lining-nums;
  color:#eef1f5!important;text-shadow:none!important;letter-spacing:0!important}
html #playStep .cf-battle .play-resource>strong{font-size:30px!important}
html #playStep .cf-battle .play-resource>span,
html #playStep .cf-battle .play-command-bar>#playDreadResource>span,
html #playStep .cf-battle .play-command-bar>.play-enemy-resource>span{
  color:#8f99a8!important;font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-size:11px!important;letter-spacing:.16em!important}
html #playStep .cf-battle .play-resource>.play-ap-income{color:#7d8796!important}
html #playStep .cf-battle .play-resource,
html #playStep .cf-battle .play-command-bar>#playDreadResource,
html #playStep .cf-battle .play-command-bar>.play-enemy-resource{background:#0f141b!important;border:1px solid #1f2731!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource>button.dread-pips{background:#0b0e13!important;border:1px solid #232c38!important}
html #playStep .cf-battle .play-command-bar>#playDreadResource>button.dread-add{border-color:#2c3746!important;color:#c8d0db!important}
.dread-pips i,.dread-meter i{border-color:#4a5566!important}
.dread-pips i.on,.dread-meter i.on{background:#e0646a!important;border-color:#e0646a!important;box-shadow:none!important}
html #playStep .cf-battle .play-resource>button,
html #playStep .cf-battle .play-command-bar>.play-enemy-resource>button{background:#151b24!important;border:1px solid #273140!important;color:#c8d0db!important}

/* End Battle Round: clean sans type, plain numerals */
html #playStep .cf-battle #playNewRound{
  background:#7cc8ff!important;border-color:#a6dbff!important;color:#0b0e13!important;box-shadow:0 6px 18px rgba(124,200,255,.22)!important;
  font-family:Inter,system-ui,sans-serif!important;font-weight:800!important;font-size:18px!important;letter-spacing:.01em!important;font-variant-numeric:lining-nums}
html #playStep .cf-battle #playNewRound small{font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important;opacity:.75;color:#0b0e13!important}
html #playStep .cf-battle.final-round #playNewRound{background:#d8b36a!important;border-color:#ecd49c!important}

/* Card Turn: the chosen option is outlined, not filled */
html #playStep .cf-battle .cf-card-mode>span{color:#8f99a8!important}
html #playStep .cf-battle .cf-card-mode>button{color:#aeb7c4!important;border:1px solid #2c3746!important;background:transparent!important}
html #playStep .cf-battle .cf-card-mode>button.active,
html #playStep .cf-battle .cf-card-mode button.active{background:#1b2430!important;border-color:#7cc8ff!important;color:#eef1f5!important}

/* the battle backdrop: no drifting light, just soot and your Disposition's embers */
.cf-battle-backdrop{background:radial-gradient(120% 70% at 50% 100%,color-mix(in srgb,var(--disposition-accent,#7cc8ff) 10%,#0b0e13),#0b0e13 70%)!important}
.cf-battle-backdrop>i{display:none!important}
.cf-battle-backdrop::after{opacity:.03!important}
.cf-bd-foe i{animation:none!important}
.cf-battle-backdrop .spire-embers{z-index:1}
.cf-battle-backdrop .spire-embers i{--spire-ember-c:var(--disposition-accent,#7cc8ff);opacity:.8}
.cf-battle-backdrop .cf-bd-own{display:none!important}
html #playStep .cf-battle .pc .live-stat strong,html #playStep .cf-battle .pc .hp-tracker strong,html #playStep .cf-battle .pc-cost strong{font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums lining-nums;letter-spacing:0!important}
/* v1.25.0 — Centrepieces: a rim of burning steel (replaces the old coloured aurora edge) */
html .cf-aurora-edge::before,
html #pickerList .configuration-picker-card:has(>.unit-row.cf-aurora-edge)::before{
  background:conic-gradient(from var(--cf-aurora-a),
    #4a5463 0deg,#8e99a8 45deg,#e6ebf2 80deg,#d8b36a 115deg,#ff8a3d 145deg,#c4471f 175deg,
    #4a5463 205deg,#7b8696 255deg,#cfd6df 295deg,#ff8a3d 325deg,#4a5463 360deg)!important;
  filter:drop-shadow(0 0 3px rgba(255,138,61,.42)) drop-shadow(0 0 8px rgba(196,71,31,.28))!important;
  opacity:.95;
  animation:cf-aurora-drift 14s linear infinite,spire-burn 3.4s ease-in-out infinite!important;
}
html #pickerList .configuration-picker-card:has(>.unit-row.cf-aurora-edge){
  background:linear-gradient(135deg,rgba(255,138,61,.06),transparent 45%),linear-gradient(155deg,#141a24 0%,#10151d 78%)!important;
}
@keyframes spire-burn{
  0%,100%{filter:drop-shadow(0 0 3px rgba(255,138,61,.38)) drop-shadow(0 0 7px rgba(196,71,31,.22))}
  50%{filter:drop-shadow(0 0 4px rgba(255,160,80,.62)) drop-shadow(0 0 11px rgba(255,100,40,.38))}
}
@media (prefers-reduced-motion:reduce){
  html .cf-aurora-edge::before,html #pickerList .configuration-picker-card:has(>.unit-row.cf-aurora-edge)::before{animation:none!important}
}

/* Swarm tag */
.swarm-badge{display:inline-block;margin-left:.45em;padding:1px 6px;border:1px solid #ec6f5e;border-radius:3px;color:#ec6f5e;font:700 .6rem/1.4 Inter,sans-serif;letter-spacing:.08em;vertical-align:middle;background:rgba(236,111,94,.08)}
