/* Skins as a whole look (board #105; skins.js). The world's shader now recolours the scene pictures themselves, so
   the old colour wash (pass.css .iris-skin-wash) only stays where there's no shader (no WebGL: the CSS still).
   Special skins (x-ray, wireframe, holo) lay one more layer over the whole desk: a colour blend, which keeps every
   pixel's brightness, so text keeps its contrast while cards and panels take on the look. Never animated. */
html[data-look] body.gl-ready .iris-skin-wash.is-on { opacity: 0; }

/* Dodd 10-27: a skin restyles only the world behind the desk and the UI's main colour, never the book, cards or packs.
   The whole-screen colour layer below is switched off; the world's shader (bg.js) carries each look's effect. */
.iris-skin-fx { display: none !important; }
.iris-skin-fx { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity 700ms ease;
  mix-blend-mode: color; background: var(--skin, transparent); }
.iris-skin-fx.is-on { opacity: .32; }
html[data-look="xray"] .iris-skin-fx { background: #4fc8e8; }
html[data-look="xray"] .iris-skin-fx.is-on { opacity: .34; }
/* the wireframe: green over everything (the scanlines are in the world's shader) */
html[data-look="wire"] .iris-skin-fx { background: #2fe07a; }
html[data-look="wire"] .iris-skin-fx.is-on { opacity: .42; }
/* binary (Joe's style) is already red, black and white in the world; the desk on top stays as it is */
html[data-look="binary"] .iris-skin-fx.is-on { opacity: 0; }
/* holo: a soft five-stop sheen, light enough that the cards keep their own colour */
html[data-look="holo"] .iris-skin-fx { background: linear-gradient(115deg, #E59CA9, #C7A45A 25%, #6E9B81 50%, #618FBF 75%, #9876C7); }
html[data-look="holo"] .iris-skin-fx.is-on { opacity: .14; }
@media (prefers-reduced-motion: reduce) { .iris-skin-fx { transition: none; } }
/* Black & White (themes.js "mono", html[data-bw]; board #165): the world goes grey in bg.js; the desk's red turns
   silver (only while no skin is worn: a skin brings its own colour). Rarity colours and text stay. */
html[data-bw]:not([data-skin]) { --red: #6f6f72; --red-hi: #c9c9cc; }
html[data-bw]:not([data-skin]) .btn-red { color: #111; background: linear-gradient(160deg, #e4e4e6, #a9a9ad 62%, #77777b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 28px rgba(0, 0, 0, .45); }
html[data-bw]:not([data-skin]) .nav > button[aria-current="true"], html[data-bw]:not([data-skin]) .side .nav > button[aria-current="true"] { background: linear-gradient(90deg, rgba(210, 210, 214, .22), transparent); }

/* the words over the picture stay easy on a bright theme (the ladder's pink, gold and cyan fields) */
html[data-skin] .hm-k, html[data-skin] .hm-prompt .phead h2 { color: var(--bone); text-shadow: 0 0 14px rgba(0, 0, 0, .95), 0 0 4px rgba(0, 0, 0, .8), 0 1px 3px #000; }
