/* Future values must remain visibly different from committed combat values. */
.preview-value273{opacity:.55;font-variant-numeric:tabular-nums}

/* Menus keep their existing opaque surfaces; only the battle backdrop changes. */
html body.tavern263[data-battle-background273]:not(.solid-background80){
 background-color:#101713!important;
 background-image:linear-gradient(#00000024,#00000024),var(--battle-background273)!important;
 background-position:center!important;background-size:cover!important;
 background-repeat:no-repeat!important;background-attachment:fixed!important;
}
.background-preview273{margin:0;min-width:0;max-width:440px}
.background-preview273[hidden]{display:none}
.background-preview273 img{display:block;width:100%;height:auto;max-height:240px;object-fit:cover;border:1px solid var(--line263);border-radius:4px}
.background-preview273 figcaption{font-size:12px;line-height:1.5;color:var(--muted263);padding-top:6px}

/* A filled complexity badge remains readable at a glance in either theme.
   Keep the five written labels: color is an additional cue, not the only cue. */
.deck-difficulty.difficulty-beginner{--complexity273:#28683e;--complexity-edge273:#75b78b;--complexity-ink273:#fff}
.deck-difficulty.difficulty-easy{--complexity273:#245f8c;--complexity-edge273:#77b4e1;--complexity-ink273:#fff}
.deck-difficulty.difficulty-normal{--complexity273:#d3b250;--complexity-edge273:#f3d47d;--complexity-ink273:#211a0c}
.deck-difficulty.difficulty-hard{--complexity273:#a24128;--complexity-edge273:#ed9779;--complexity-ink273:#fff}
.deck-difficulty.difficulty-expert{--complexity273:#71459a;--complexity-edge273:#c0a0df;--complexity-ink273:#fff}
html body.tavern263 #setup-dialog .deck-difficulty{
 background:var(--complexity273)!important;
 border-color:var(--complexity-edge273)!important;
 color:var(--complexity-ink273)!important;
 text-shadow:none!important;
}
