/* Thème « Tôle sombre » : surcharge ENGENDRÉE par tools/habillage/engendrer_theme_tole.py
   (différence entre les feuilles de c57455b, violet et or, et celles de 0ee774b, tôle brun-noir).
   Ne pas modifier à la main : relancer le script. Toutes les règles sont sous :root[data-theme="tole"]. */
/* ---- bordure.css ---- */
:root[data-theme="tole"] { --fond: #100e0d; --fond-carte: #1d1a17; --fond-champ: #161310; --bord: #433c36; --texte: #efede9; --texte-doux: #afaba4; }
:where(:root[data-theme="tole"]) body { background: var(--fond); background: linear-gradient(rgba(16, 14, 13, .72), rgba(16, 14, 13, .94) 60%), url(/static/art/ecrans/ciel.webp) center top / cover fixed, var(--fond); }
:where(:root[data-theme="tole"]) .entete { background: linear-gradient(rgba(16, 14, 13, .25), var(--fond)), url(/static/art/ecrans/titre.webp) center 35% / cover; }
:where(:root[data-theme="tole"]) input, :where(:root[data-theme="tole"]) select, :where(:root[data-theme="tole"]) textarea { border: 1px solid #8a847b; border-radius: 8px; }
:where(:root[data-theme="tole"]) .onglets button[aria-selected="true"] { background: #2c2621; }
:where(:root[data-theme="tole"]) .message { background: #322c26; }
:where(:root[data-theme="tole"]) .resolution { background: #080605; }
:where(:root[data-theme="tole"]) #son-global { background: rgba(16, 14, 13, .6); }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) #son-global { background: ButtonFace; }
}
@media (max-width: 600px), (max-height: 700px) {
  :where(:root[data-theme="tole"]) .res-pied { background: #080605; box-shadow: 0 -10px 24px rgba(8, 6, 5, .92); }
}
:where(:root[data-theme="tole"]) .res-avantages label.choix:has(input:checked) { background: #29241f; }
:where(:root[data-theme="tole"]) .plateau-carte { box-shadow: 0 0 0 3px #171411, 0 0 0 4px #5e4a26, 0 10px 30px rgba(0, 0, 0, .5); background: #100e0d; }
:where(:root[data-theme="tole"]) .voie-galaxie { stroke: #d6d2cc; stroke-width: .16; stroke-dasharray: 1.2 .8; stroke-linejoin: round; stroke-linecap: round; }
:where(:root[data-theme="tole"]) .jauge { background: #322c26; }
:where(:root[data-theme="tole"]) .bandeau-page figcaption { background: linear-gradient(transparent, rgba(11, 9, 7, .92)); }
:where(:root[data-theme="tole"]) .panneau > article { background: linear-gradient(rgba(29, 26, 23, .96), rgba(22, 19, 16, .96)); }
:where(:root[data-theme="tole"]) #vue-connexion { background: linear-gradient(rgba(16, 14, 13, .7), rgba(16, 14, 13, .92)), url(/static/art/ecrans/titre.webp) center / cover; }
:where(:root[data-theme="tole"]) .choix:has(input:checked) { background: #2c2621; }
:where(:root[data-theme="tole"]) .puce { background: rgba(22, 19, 16, .85); }
:where(:root[data-theme="tole"]) .objectif { background: linear-gradient(135deg, #322c26, #1d1a17); box-shadow: 0 0 0 4px #171411, 0 10px 30px rgba(0, 0, 0, .5); }
:where(:root[data-theme="tole"]) .objectif .jauge { border: 1px solid #8a847b; border-radius: 7px; }
:where(:root[data-theme="tole"]) .noeud.ferme { color: #d6d2cc; }
:where(:root[data-theme="tole"]) .noeud.ferme .planete { border: 1px dashed #918d87; }
:where(:root[data-theme="tole"]) .nom-noeud.chap { color: #e0dcd6; }
:where(:root[data-theme="tole"]) .hors-cartes { background: rgba(16, 14, 13, .85); }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .hors-cartes { background: Canvas; }
}
:where(:root[data-theme="tole"]) .autre i { background: #e0dcd6; }
:where(:root[data-theme="tole"]) .autre u { border-radius: 50%; background: rgba(11, 9, 7, .82); border: 1.5px solid #e0dcd6; }
:where(:root[data-theme="tole"]) .noir-cle { border-radius: 50%; background: #0b0907; border: 1.5px solid #e0dcd6; color: #e0dcd6; }
:where(:root[data-theme="tole"]) .chasseur i { border: 1.5px solid #1f1b17; }
:where(:root[data-theme="tole"]) .chasseur-cle { border: 1.5px solid #1f1b17; }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .chasseur i, :where(:root[data-theme="tole"]) .chasseur-cle { border-color: CanvasText; }
}
:where(:root[data-theme="tole"]) .pavillon-noir { border-radius: 999px; background: #0b0907; border: 1px solid #e0dcd6; color: #efede9; }
:where(:root[data-theme="tole"]) .carte.pavillon.noir { border-left: 3px solid #e0dcd6; background: linear-gradient(90deg, rgba(11, 9, 7, .55), transparent 60%); }
:where(:root[data-theme="tole"]) .carte.pavillon.noir .drapeau { color: #efede9; }
:where(:root[data-theme="tole"]) .nom-voie { color: #d6d2cc; }
:where(:root[data-theme="tole"]) .repere { color: #d6d2cc; }
:where(:root[data-theme="tole"]) .repere i { background: #d6d2cc; }
:where(:root[data-theme="tole"]) .regle-haut { background: rgba(16, 14, 13, .92); }
:where(:root[data-theme="tole"]) .regle-gauche { background: linear-gradient(to bottom, transparent 0 20px, rgba(16, 14, 13, .92) 20px); }
:where(:root[data-theme="tole"]) .mini-carte { background: #100e0d; }
:where(:root[data-theme="tole"]) .mini-vaisseau { border-radius: 50%; border: 1px solid #100e0d; }
:where(:root[data-theme="tole"]) .zoom-carte button { background: rgba(16, 14, 13, .85); }
:where(:root[data-theme="tole"]) .trafic i, :where(:root[data-theme="tole"]) .ancre i, :where(:root[data-theme="tole"]) .navire i { background: #e0dcd6; }
:where(:root[data-theme="tole"]) .navire i { background: var(--or-clair, #e6c98a); }
:where(:root[data-theme="tole"]) .navire.autres i { background: #e0dcd6; }
:where(:root[data-theme="tole"]) .navire.autres b { background: linear-gradient(rgba(224, 220, 214, .8), transparent); }
:where(:root[data-theme="tole"]) .navire.autres.n-eclaireur::before { box-shadow: 0 0 0 3px rgba(224, 220, 214, .25); }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .navire i { background: Highlight; }
  :where(:root[data-theme="tole"]) .navire.autres i { background: CanvasText; }
}
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .trafic i, :where(:root[data-theme="tole"]) .autre i, :where(:root[data-theme="tole"]) .ancre i { background: CanvasText; }
  :where(:root[data-theme="tole"]) .autre u { background: Canvas; border-color: CanvasText; }
  :where(:root[data-theme="tole"]) .regle-haut, :where(:root[data-theme="tole"]) .regle-gauche { background: Canvas; }
}
:where(:root[data-theme="tole"]) .seg i { background: #322c26; }
:where(:root[data-theme="tole"]) .ligne-texte small { color: #d6d2cc; }
:where(:root[data-theme="tole"]) .sous-onglets button[aria-selected="true"] { background: #2c2621; }
:where(:root[data-theme="tole"]) .choix-mondes button[aria-pressed="true"] { background: #2c2621; }
:where(:root[data-theme="tole"]) .rapport-pret:not(:empty) { background: #2c2621; }
:where(:root[data-theme="tole"]) .marche-duo article, :where(:root[data-theme="tole"]) .marche-duo .comparatif-marche { background: linear-gradient(rgba(29, 26, 23, .96), rgba(22, 19, 16, .96)); }
:where(:root[data-theme="tole"]) .bord-alerte { background: linear-gradient(135deg, #27211c, var(--fond-carte)); }
:where(:root[data-theme="tole"]) .cargo-zones { background: radial-gradient(circle, #322c26, #171411 72%); }
@media (max-width: 600px), (max-height: 700px) {
  :where(:root[data-theme="tole"]) .scene-fin .scene-pied { box-shadow: 0 -10px 24px rgba(8, 6, 5, .92); }
}
:where(:root[data-theme="tole"]) .pastille-missions { background: rgba(22, 19, 16, .94); }
:where(:root[data-theme="tole"]) .pastille-missions.avec-contrat { box-shadow: 0 0 0 2px #100e0d, 0 0 8px rgba(232, 207, 148, .75); }
:where(:root[data-theme="tole"]) .pastille-missions-cle { background: rgba(22, 19, 16, .94); }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .pastille-missions, :where(:root[data-theme="tole"]) .pastille-missions-cle, :where(:root[data-theme="tole"]) .signe-produit, :where(:root[data-theme="tole"]) .signe-produit-cle { background: Canvas; }
}
:where(:root[data-theme="tole"]) .filtre-mission[aria-pressed="true"] { background: #2c2621; }
:where(:root[data-theme="tole"]) .sous-nav-choix[aria-current="page"] { background: #2c2621; }
:where(:root[data-theme="tole"]) .signe-evenement { color: #1f1b17; box-shadow: 0 0 0 2px #100e0d, 0 0 10px 2px var(--or); }
:where(:root[data-theme="tole"]) .signe-evenement-cle { color: #1f1b17; }
@keyframes evenement-pulse-tole { 50% { box-shadow: 0 0 0 2px #100e0d, 0 0 2px 0 var(--or); } }
:where(:root[data-theme="tole"]) .noeud.tenu-mien .planete::before { box-shadow: 0 0 0 1.5px #100e0d, 0 0 12px var(--syndicat-couleur); }
:where(:root[data-theme="tole"]) .portrait-espece { background: #2c2621; }
:where(:root[data-theme="tole"]) .bord-pack { background: linear-gradient(150deg, #2e2721, var(--fond-carte)); }
:where(:root[data-theme="tole"]) .paquet-3d.tourne.rare .paquet-face { box-shadow: inset 0 0 0 3px rgba(16, 14, 13, .85), 0 0 22px rgba(232, 207, 148, .75); }
:where(:root[data-theme="tole"]) .paquet-haut { background: repeating-linear-gradient(90deg, #39312a 0 4px, #241e19 4px 8px), linear-gradient(180deg, var(--or), #2f2822); }
:where(:root[data-theme="tole"]) .paquet-face { background: radial-gradient(circle at 50% 35%, #42372e, var(--fond-carte) 65%, #120f0d 100%); box-shadow: inset 0 0 0 3px rgba(16, 14, 13, .85), 0 10px 24px rgba(0, 0, 0, .55); }
:where(:root[data-theme="tole"]) .paquet-arriere { background: linear-gradient(135deg, #221d19, #100e0d 50%, #2e2721); }
:where(:root[data-theme="tole"]) .ouverture-pack { background: rgba(11, 9, 8, .94); }
:where(:root[data-theme="tole"]) .ouverture-boite { overflow: hidden; overflow: clip; background: radial-gradient(ellipse 70% 52% at 50% 26%, #4c4036 0%, #2f2822 46%, var(--fond-carte) 78%); }
:where(:root[data-theme="tole"]) .ouverture-boite.phase-pret .paquet-3d .paquet-face { box-shadow: inset 0 0 0 3px rgba(16, 14, 13, .85), 0 0 26px rgba(232, 207, 148, .5); }
:where(:root[data-theme="tole"]) .ouverture-boite.pack-rare.phase-pret .paquet-3d .paquet-face { box-shadow: inset 0 0 0 3px rgba(16, 14, 13, .85), 0 0 34px rgba(255, 200, 100, .8); }
:where(:root[data-theme="tole"]) .ouverture-boite.phase-ouvre .paquet-3d .paquet-face { box-shadow: inset 0 0 0 3px rgba(16, 14, 13, .85), 0 0 46px rgba(255, 236, 190, .95); }
:where(:root[data-theme="tole"]) .carte-dos { background: radial-gradient(circle at 50% 40%, #393029, var(--fond-carte) 72%); box-shadow: inset 0 0 0 4px rgba(16, 14, 13, .8), inset 0 0 0 5px rgba(201, 164, 92, .4), 0 6px 16px rgba(0, 0, 0, .45); }
:where(:root[data-theme="tole"]) .carte-tirage.face-cachee.rarete-peu_commune .carte-dos { box-shadow: inset 0 0 0 4px rgba(16, 14, 13, .8), inset 0 0 0 5px rgba(201, 164, 92, .4), 0 0 12px rgba(192, 102, 46, .55); }
@keyframes dos-lueur-tole { 0%, 100% { box-shadow: inset 0 0 0 4px rgba(16, 14, 13, .8), inset 0 0 18px rgba(255, 255, 255, .06), 0 0 10px 0 var(--rarete-couleur, #e8c25a); } 50% { box-shadow: inset 0 0 0 4px rgba(16, 14, 13, .8), inset 0 0 26px rgba(255, 255, 255, .14), 0 0 28px 6px var(--rarete-couleur, #e8c25a); } }
:where(:root[data-theme="tole"]) .ouverture-roulette { overflow: hidden; overflow: clip; background: linear-gradient(180deg, rgba(12, 10, 9, .94), rgba(34, 29, 24, .94) 50%, rgba(12, 10, 9, .94)); }
:where(:root[data-theme="tole"]) .ouverture-roulette::before { background: linear-gradient(90deg, #0c0a09, rgba(12, 10, 9, 0)); }
:where(:root[data-theme="tole"]) .ouverture-roulette::after { background: linear-gradient(270deg, #0c0a09, rgba(12, 10, 9, 0)); }
:where(:root[data-theme="tole"]) .roulette-case { background: radial-gradient(circle at 50% 34%, #393029, var(--fond-carte) 76%); }
:where(:root[data-theme="tole"]) .roulette-case::before { background: linear-gradient(0deg, var(--rarete-couleur, #736e68), rgba(0, 0, 0, 0) 72%); }
:where(:root[data-theme="tole"]) .carte-tirage.en-roulette .carte-dos { box-shadow: inset 0 0 0 4px rgba(16, 14, 13, .8), 0 0 0 2px rgba(244, 213, 138, .55), 0 0 26px rgba(244, 213, 138, .45); }
:where(:root[data-theme="tole"]) .rarete-badge { background: rgba(16, 14, 13, .85); }
:where(:root[data-theme="tole"]) .carte-pack-visuel { background: radial-gradient(circle, #312a23, var(--fond-champ)); }
:where(:root[data-theme="tole"]) .infobulle { background: #26211d; }
:where(:root[data-theme="tole"]) .bord-absence .compte-a-lire { color: #1f1b17; }
:where(:root[data-theme="tole"]) .album-complete { color: #1f1b17; }
:where(:root[data-theme="tole"]) .album-visuel { background: #0b0907; }
:where(:root[data-theme="tole"]) .album-silhouette { background: repeating-linear-gradient(135deg, #13100e 0 10px, #171412 10px 20px); }
:where(:root[data-theme="tole"]) .titre-section-img { background: rgba(16, 14, 13, .7); }
:where(:root[data-theme="tole"]) .carte-retour-vaisseau { background: linear-gradient(135deg, rgba(212, 169, 87, .16), rgba(27, 23, 19, .85)); }
:where(:root[data-theme="tole"]) .bouton-reglages { background: rgba(16, 14, 13, .65); }
:where(:root[data-theme="tole"]) .dialogue-reglages { background: rgba(22, 18, 15, .97); }
:where(:root[data-theme="tole"]) .dialogue-reglages::backdrop { background: rgba(9, 7, 6, .72); }
:where(:root[data-theme="tole"]) .marche-prix-bande { background: rgba(16, 14, 13, .65); }
:where(:root[data-theme="tole"]) .bloc-ic-img { background: rgba(16, 14, 13, .65); }
:where(:root[data-theme="tole"]) .signe-evenement { animation: evenement-pulse-tole 2.4s ease-in-out infinite; }
:where(:root[data-theme="tole"]) .carte-tirage.face-cachee.rarete-rare .carte-dos, :where(:root[data-theme="tole"]) .carte-tirage.face-cachee.rarete-epique .carte-dos, :where(:root[data-theme="tole"]) .carte-tirage.face-cachee.rarete-legendaire .carte-dos { animation: dos-lueur-tole 1.5s ease-in-out infinite; }
/* ---- animations.css ---- */
:where(:root[data-theme="tole"]) .dec-passer { border: 1px solid var(--bord, #433c36); border-radius: 8px; color: var(--texte, #efede9); }
/* ---- jet.css ---- */
:where(:root[data-theme="tole"]) .jet { --j-or: var(--or, #c9a45c); --j-or-clair: var(--or-clair, #e8cf94); --j-texte: var(--texte, #efede9); --j-doux: var(--texte-doux, #afaba4); --j-bord: var(--bord, #433c36); --j-mauvais: var(--mauvais, #ef7b7b); }
:where(:root[data-theme="tole"]) .jet-panneau { background: linear-gradient(var(--j-or-clair) 0 0) left 7px top 7px / 22px 2px no-repeat, linear-gradient(var(--j-or-clair) 0 0) left 7px top 7px / 2px 22px no-repeat, linear-gradient(var(--j-or-clair) 0 0) right 7px top 7px / 22px 2px no-repeat, linear-gradient(var(--j-or-clair) 0 0) right 7px top 7px / 2px 22px no-repeat, linear-gradient(var(--j-or-clair) 0 0) left 7px bottom 7px / 22px 2px no-repeat, linear-gradient(var(--j-or-clair) 0 0) left 7px bottom 7px / 2px 22px no-repeat, linear-gradient(var(--j-or-clair) 0 0) right 7px bottom 7px / 22px 2px no-repeat, linear-gradient(var(--j-or-clair) 0 0) right 7px bottom 7px / 2px 22px no-repeat, radial-gradient(ellipse 70% 48% at 50% 50%, rgba(171, 151, 121, .24), transparent 72%), linear-gradient(#25201b, #14110e); box-shadow: inset 0 0 0 4px #191512, inset 0 0 0 5px rgba(201, 164, 92, .22), 0 18px 44px rgba(0, 0, 0, .55); }
:where(:root[data-theme="tole"]) .jet-scene { background: radial-gradient(circle at 50% 45%, rgba(63, 54, 46, .88), rgba(16, 13, 11, .96) 74%); }
:where(:root[data-theme="tole"]) .jet-etiquette-de { background: rgba(23, 20, 17, .9); }
:where(:root[data-theme="tole"]) .jet-jauge-piste { background: #130f0c; }
:where(:root[data-theme="tole"]) .jet-halo { background: radial-gradient(circle, rgba(232, 200, 130, .26), rgba(171, 151, 121, .14) 45%, transparent 70%); }
:where(:root[data-theme="tole"]) .jet-ecarte { background: rgba(34, 30, 26, .85); }
:where(:root[data-theme="tole"]) .jet.rate .jet-mot { color: #96928c; }
:where(:root[data-theme="tole"]) .jet.reussite .jet-panneau { box-shadow: inset 0 0 0 4px #191512, inset 0 0 0 5px rgba(232, 200, 120, .4), 0 0 34px rgba(232, 186, 90, .3), 0 18px 44px rgba(0, 0, 0, .55); }
:where(:root[data-theme="tole"]) .jet.rate .jet-panneau { border-color: rgba(146, 142, 136, .5); }
:where(:root[data-theme="tole"]) .jet.rate .jet-cible { color: #96928c; }
:where(:root[data-theme="tole"]) .jet.rate .jet-valeur { color: #c0bcb7; text-shadow: 0 1px 2px #000, 0 0 10px rgba(156, 153, 148, .4); }
:where(:root[data-theme="tole"]) .jet-tuile { background: linear-gradient(#221e1a, #15120f); }
:where(:root[data-theme="tole"]) .jet-icone { background: radial-gradient(circle, #312b26, #1a1613); }
@keyframes jet-eteint-tole { 0% { opacity: 0; transform: translateY(-6px); color: #ece8e3; } 100% { opacity: 1; transform: none; } }
:where(:root[data-theme="tole"]) .jet.rate .jet-mot { animation: jet-eteint-tole 1s ease-out both; }
/* ---- theme.css ---- */
:root[data-theme="tole"] { --fond: #100e0d; --fond-profond: #0f0d0b; --fond-carte: rgba(30, 25, 21, .90); --fond-carte-uni: #1e1915; --fond-champ: #16120f; --fond-survol: #29231e; --bord: #463e37; --bord-or-doux: rgba(212, 169, 87, .28); --bord-or-actif: rgba(212, 169, 87, .75); --texte: #f3f1ed; --texte-doux: #b0aca5; }
:where(:root[data-theme="tole"]) body { background: var(--fond-profond); }
:where(:root[data-theme="tole"]) .panneau > article:where(:not(.bord-alerte, .bord-pack, .pas-encore, .pavillon, .a-faire-ici)), :where(:root[data-theme="tole"]) .marche-duo article, :where(:root[data-theme="tole"]) .marche-duo .comparatif-marche { background: linear-gradient(180deg, rgba(37, 31, 26, .90), rgba(25, 21, 17, .92)); }
:where(:root[data-theme="tole"]) button, :where(:root[data-theme="tole"]) .bouton { background: linear-gradient(180deg, rgba(41, 35, 30, .88), rgba(27, 23, 19, .94)); }
:where(:root[data-theme="tole"]) :where(button:not(.lien, .noeud, .pin, .jet-de, .infobulle-fermer, .plus-onglets, .rg, .puce, .sous-nav-choix, .primaire, .bouton-or, .bouton-pilule, .bouton-or-contour, [aria-selected="true"], [aria-current="page"], [aria-pressed="true"]):not(:disabled)):hover, :where(:root[data-theme="tole"]) .bouton:where(:not(.primaire, .bouton-or)):hover { background: linear-gradient(180deg, rgba(61, 52, 44, .94), rgba(39, 33, 28, .96)); }
:where(:root[data-theme="tole"]) .objectif { background: linear-gradient(155deg, rgba(54, 46, 39, .95), rgba(27, 23, 19, .96)); box-shadow: 0 0 0 1px rgba(212, 169, 87, .22), 0 12px 32px rgba(0, 0, 0, .52); }
:where(:root[data-theme="tole"]) .entete { background: radial-gradient(ellipse 60% 110% at 15% 50%, rgba(212, 169, 87, .14), transparent 70%), linear-gradient(180deg, rgba(21, 18, 15, .76), rgba(16, 14, 13, .96)), url(/static/art/ecrans/titre.webp) center 35% / cover; }
:where(:root[data-theme="tole"]) .puce { border: 1px solid rgba(176, 172, 165, .28); border-radius: 999px; background: rgba(25, 21, 17, .88); }
:where(:root[data-theme="tole"]) #son-global { background: rgba(25, 21, 17, .82); }
:where(:root[data-theme="tole"]) #son-global:hover { background: rgba(43, 37, 31, .94); }
:where(:root[data-theme="tole"]) .haut-jeu { background: rgba(16, 14, 13, .92); }
:where(:root[data-theme="tole"]) .afaire { background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(212, 169, 87, .10), transparent 70%), linear-gradient(180deg, rgb(38, 32, 26), rgb(25, 21, 17)), var(--fond-carte, #26201a); }
:where(:root[data-theme="tole"]) .afaire.urgent { background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(188, 77, 77, .18), transparent 70%), linear-gradient(180deg, rgb(44, 22, 30), rgb(22, 19, 16)), var(--fond-carte, #2c161e); }
@media (min-width: 601px) {
  :where(:root[data-theme="tole"]) .onglets { background: linear-gradient(180deg, rgba(32, 27, 23, .95), rgba(21, 17, 14, .97)); }
  :where(:root[data-theme="tole"]) .onglets button[aria-selected="true"] { background: radial-gradient(ellipse 85% 95% at 50% 100%, rgba(212, 169, 87, .42), rgba(182, 137, 58, .16) 58%, transparent 100%), linear-gradient(180deg, rgba(56, 48, 41, .88), rgba(40, 34, 28, .96)); }
}
:where(:root[data-theme="tole"]) .sous-nav-choix { border-radius: 999px; border: 1px solid rgba(176, 172, 165, .26); background: rgba(30, 25, 21, .86); }
:where(:root[data-theme="tole"]) .sous-nav-choix:hover { background: rgba(47, 40, 34, .92); }
:where(:root[data-theme="tole"]) .sous-nav-choix[aria-current="page"] { background: linear-gradient(180deg, var(--or-bouton-haut), var(--or-bouton-bas)); }
:where(:root[data-theme="tole"]) .sous-onglets button { border-color: rgba(176, 172, 165, .26); background: rgba(27, 23, 19, .88); }
:where(:root[data-theme="tole"]) .sous-onglets button[aria-selected="true"] { background: radial-gradient(ellipse 85% 95% at 50% 100%, rgba(212, 169, 87, .35), rgba(182, 137, 58, .12) 60%, transparent 100%), rgba(43, 37, 31, .94); }
:where(:root[data-theme="tole"]) .bouton-sombre { background: linear-gradient(180deg, rgba(41, 35, 30, .92), rgba(27, 23, 19, .96)); }
:where(:root[data-theme="tole"]) .bouton-sombre:hover:not(:disabled) { background: linear-gradient(180deg, rgba(61, 52, 44, .96), rgba(41, 35, 29, .98)); }
:where(:root[data-theme="tole"]) .bouton-or-contour { background: rgba(22, 18, 15, .78); }
:where(:root[data-theme="tole"]) .bouton-pilule { border-radius: 999px; border: 1px solid rgba(176, 172, 165, .30); background: rgba(27, 23, 19, .86); }
:where(:root[data-theme="tole"]) .bandeau-hero::after { background: linear-gradient( 90deg, rgba(15, 13, 11, .94) 0%, rgba(15, 13, 11, .78) 38%, rgba(15, 13, 11, .24) 68%, rgba(15, 13, 11, .42) 100% ); }
:where(:root[data-theme="tole"]) .bandeau-hero.droite::after { background: linear-gradient( 270deg, rgba(15, 13, 11, .94) 0%, rgba(15, 13, 11, .78) 36%, rgba(15, 13, 11, .20) 68%, rgba(15, 13, 11, .35) 100% ); }
:where(:root[data-theme="tole"]) .medaillon-hero { background: radial-gradient(circle at 35% 30%, rgba(68, 58, 50, .92), rgba(22, 18, 15, .96)); box-shadow: 0 0 0 3px rgba(16, 14, 13, .75), 0 0 18px rgba(212, 169, 87, .28); }
:where(:root[data-theme="tole"]) .bandeau-hero-stats { background: rgba(20, 16, 13, .84); }
:where(:root[data-theme="tole"]) .carte-illustree { background: linear-gradient(180deg, rgba(35, 30, 25, .92), rgba(24, 20, 16, .96)); }
:where(:root[data-theme="tole"]) .carte-illustree-visuel::after { background: linear-gradient(transparent, rgba(22, 18, 15, .75)); }
:where(:root[data-theme="tole"]) .liste-vignettes > li, :where(:root[data-theme="tole"]) .ligne-vignette { border-top: 1px solid rgba(176, 172, 165, .16); }
:where(:root[data-theme="tole"]) .liste-vignettes.encadree > li, :where(:root[data-theme="tole"]) .ligne-vignette.encadree { border: 1px solid rgba(176, 172, 165, .20); border-radius: 10px; background: rgba(22, 18, 15, .74); }
:where(:root[data-theme="tole"]) .liste-vignettes.encadree > li:hover, :where(:root[data-theme="tole"]) .ligne-vignette.encadree:hover { background: rgba(38, 32, 26, .85); }
:where(:root[data-theme="tole"]) .ligne-vignette.actif { background: linear-gradient(135deg, rgba(56, 47, 40, .92), rgba(30, 25, 21, .95)); }
:where(:root[data-theme="tole"]) .anneau-piste { stroke: rgba(53, 46, 40, .92); stroke-width: 8; }
:where(:root[data-theme="tole"]) .jauge { border-radius: 999px; background: #332c25; border: 1px solid rgba(176, 172, 165, .18); }
:where(:root[data-theme="tole"]) .objectif .jauge { border-radius: 999px; border-color: rgba(212, 169, 87, .35); }
:where(:root[data-theme="tole"]) progress.avancement { background: #332c25; }
:where(:root[data-theme="tole"]) progress.avancement::-webkit-progress-bar { background: #332c25; }
:where(:root[data-theme="tole"]) .jauge-temps { background: #332c25; }
:where(:root[data-theme="tole"]) .pastille-etat { background: rgba(32, 28, 24, .90); }
:where(:root[data-theme="tole"]) .pastille-etat.neutre { background: rgba(44, 38, 32, .92); border-color: rgba(176, 172, 165, .32); }
@media (max-width: 600px) {
  :where(:root[data-theme="tole"]) .bandeau-hero::after, :where(:root[data-theme="tole"]) .bandeau-hero.droite::after { background: linear-gradient( 180deg, rgba(15, 13, 11, .24) 0%, rgba(15, 13, 11, .82) 52%, rgba(15, 13, 11, .96) 100% ); }
}
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .carte, :where(:root[data-theme="tole"]) .panneau > article, :where(:root[data-theme="tole"]) .carte-illustree, :where(:root[data-theme="tole"]) .bandeau-hero, :where(:root[data-theme="tole"]) .bandeau-hero-stats, :where(:root[data-theme="tole"]) .afaire, :where(:root[data-theme="tole"]) .onglets { background: Canvas; }
  :where(:root[data-theme="tole"]) .bandeau-hero::after { background: none; }
  :where(:root[data-theme="tole"]) .onglets button[aria-selected="true"], :where(:root[data-theme="tole"]) .sous-nav-choix[aria-current="page"], :where(:root[data-theme="tole"]) .bouton-pilule[aria-pressed="true"], :where(:root[data-theme="tole"]) .bouton-pilule[aria-current="page"], :where(:root[data-theme="tole"]) .bouton-pilule.actif { background: Highlight; }
  :where(:root[data-theme="tole"]) button.primaire, :where(:root[data-theme="tole"]) .bouton.primaire, :where(:root[data-theme="tole"]) .bouton-or, :where(:root[data-theme="tole"]) .bouton-sombre, :where(:root[data-theme="tole"]) .bouton-or-contour, :where(:root[data-theme="tole"]) .bouton-pilule { background: ButtonFace; border-color: ButtonText; }
  :where(:root[data-theme="tole"]) .pastille-etat, :where(:root[data-theme="tole"]) .bord-pieces .badge, :where(:root[data-theme="tole"]) .vaisseau-legende .badge, :where(:root[data-theme="tole"]) .piece-cargo > summary .badge { background: Canvas; }
  :where(:root[data-theme="tole"]) .anneau-piste { stroke: CanvasText; }
  :where(:root[data-theme="tole"]) .jauge { border: 1px solid CanvasText; background: Canvas; }
}
@media (max-width: 600px) {
  :where(:root[data-theme="tole"]) .haut-jeu { background: transparent; }
}
@media (max-width: 600px) {
  @supports (animation-timeline: scroll()) {
    :where(:root[data-theme="tole"]) .sous-nav::after, :where(:root[data-theme="tole"]) #panneau-carte .sous-onglets::after, :where(:root[data-theme="tole"]) #panneau-spatioport .sous-onglets::after { background: linear-gradient(90deg, transparent, rgba(15, 13, 11, .96) 70%); }
  }
}
:where(:root[data-theme="tole"]) .bouton-sombre { background: rgba(30, 26, 22, .65); border-color: rgba(255, 255, 255, .18); }
:where(:root[data-theme="tole"]) body::before { background: radial-gradient(ellipse 70% 38% at 82% 0%, rgba(120, 66, 26, .10), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%), url(/static/art/habillage/fond.webp) 0 0 / 256px 256px, #0d0b09; }
:where(:root[data-theme="tole"]) body { background: var(--fond-profond); }
:where(:root[data-theme="tole"]) .afaire { box-shadow: inset 0 0 0 3px rgba(15, 13, 11, .6), inset 0 0 0 4px rgba(212, 169, 87, .18), 0 6px 18px rgba(0, 0, 0, .45); }
:where(:root[data-theme="tole"]) .afaire.urgent { box-shadow: inset 0 0 0 3px rgba(15, 13, 11, .6), inset 0 0 0 4px rgba(188, 77, 77, .4), 0 6px 18px rgba(0, 0, 0, .45); }
@media (min-width: 601px) {
  :where(:root[data-theme="tole"]) .entete { background: radial-gradient(ellipse 50% 140% at 8% 50%, rgba(212, 169, 87, .22), transparent 70%), linear-gradient(180deg, rgba(25, 21, 18, .78), rgba(16, 14, 12, .94)), url(/static/art/ecrans/titre.webp) center 35% / cover; box-shadow: inset 0 -4px 0 rgba(15, 13, 11, .9), inset 0 -5px 0 rgba(212, 169, 87, .22), 0 6px 22px rgba(0, 0, 0, .5); }
  :where(:root[data-theme="tole"]) .en-jeu .resume .puce { background: linear-gradient(180deg, rgba(47, 40, 33, .9), rgba(22, 18, 15, .94)); }
  :where(:root[data-theme="tole"]) .onglets { background: linear-gradient(180deg, rgba(34, 29, 24, .96), rgba(18, 15, 12, .98)); box-shadow: inset 0 0 0 3px rgba(15, 13, 11, .7), inset 0 0 0 4px rgba(212, 169, 87, .16), 0 6px 20px rgba(0, 0, 0, .5); }
  :where(:root[data-theme="tole"]) .onglets button[aria-selected="true"] { background: linear-gradient(180deg, #f1d58b 0%, #d6a751 55%, #a97a2b 100%); }
  :where(:root[data-theme="tole"]) button.primaire, :where(:root[data-theme="tole"]) .bouton.primaire, :where(:root[data-theme="tole"]) .bouton-or { background: linear-gradient(180deg, #f1d58b 0%, #d6a751 55%, #b07f2f 100%); border-color: #f6e2a4; }
  :where(:root[data-theme="tole"]) .bouton-sombre, :where(:root[data-theme="tole"]) .bouton-or-contour { background: linear-gradient(180deg, rgba(43, 37, 32, .9), rgba(22, 18, 15, .95)); border-color: rgba(212, 169, 87, .6); }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 601px) {
  :where(:root[data-theme="tole"]) .entete { box-shadow: 0 3px 10px rgba(0, 0, 0, .5); }
  :where(:root[data-theme="tole"]) body.en-jeu .haut-jeu .afaire { box-shadow: inset 0 0 0 2px rgba(15, 13, 11, .6), inset 0 0 0 3px rgba(212, 169, 87, .18); }
  :where(:root[data-theme="tole"]) .onglets { box-shadow: none; }
}
:root[data-theme="tole"] { --tex-tole: url(/static/art/habillage/tole.webp) 0 0 / 256px 256px; --tole: radial-gradient(ellipse 50% 80% at 0% 0%, rgba(122, 54, 18, .17), transparent 74%), radial-gradient(ellipse 50% 80% at 100% 100%, rgba(122, 54, 18, .15), transparent 74%), radial-gradient(ellipse 30% 50% at 100% 0%, rgba(122, 54, 18, .07), transparent 74%), var(--tex-tole); --tole-sombre: linear-gradient(rgba(10, 8, 6, .34), rgba(10, 8, 6, .34)), var(--tex-tole); --tole-claire: radial-gradient(ellipse 85% 95% at 50% 100%, rgba(212, 169, 87, .35), rgba(182, 137, 58, .12) 60%, transparent 100%), var(--tex-tole); }
:where(:root[data-theme="tole"]) .entete { background: radial-gradient(ellipse 60% 140% at 8% 50%, rgba(212, 169, 87, .12), transparent 70%), var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .haut-jeu { background: var(--tole-sombre); }
:where(:root[data-theme="tole"]) .afaire { background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(212, 169, 87, .10), transparent 70%), var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .afaire.urgent { background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(188, 77, 77, .18), transparent 70%), var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .objectif { background: var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .carte, :where(:root[data-theme="tole"]) .panneau > article, :where(:root[data-theme="tole"]) .vaisseau-droite > article, :where(:root[data-theme="tole"]) .guide, :where(:root[data-theme="tole"]) .aide-de, :where(:root[data-theme="tole"]) .mondes-en-liste, :where(:root[data-theme="tole"]) .syndicat-chantier, :where(:root[data-theme="tole"]) .bord-pack-prochain { background: var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .bandeau-hero { background: var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .carte-illustree { background: var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .fait, :where(:root[data-theme="tole"]) .puce, :where(:root[data-theme="tole"]) .bandeau-hero-stats { background: var(--tole-sombre), #12100d; }
:where(:root[data-theme="tole"]) .pied { background: var(--tole-sombre), #12100d; border-radius: var(--rayon-carte); box-shadow: inset 0 0 0 1px rgba(212, 169, 87, .16); }
:where(:root[data-theme="tole"]) .dialogue-reglages, :where(:root[data-theme="tole"]) .feuille-plus { background: var(--tole), #15110e; }
:where(:root[data-theme="tole"]) .barre-bas { background: var(--tole), #15110e; }
@media (min-width: 601px) {
  :where(:root[data-theme="tole"]) .onglets { background: var(--tole), #15110e; }
}
:where(:root[data-theme="tole"]) .sous-onglets button:not([aria-selected="true"]), :where(:root[data-theme="tole"]) .sous-nav-choix:not([aria-current="page"]) { background: var(--tole-sombre), #12100d; }
:where(:root[data-theme="tole"]) .sous-onglets button[aria-selected="true"] { background: var(--tole-claire); }
/* ---- theme-vaisseau.css ---- */
:where(:root[data-theme="tole"]) .integrite-pieces li { border-top: 1px solid rgba(176, 172, 165, .16); }
:where(:root[data-theme="tole"]) .vaisseau-nav { background: rgba(22, 18, 15, .75); }
/* ---- theme-carte.css ---- */
:where(:root[data-theme="tole"]) .carte-hero::after { background: linear-gradient(90deg, rgba(15, 13, 11, .9) 0%, rgba(15, 13, 11, .7) 45%, rgba(15, 13, 11, .45) 100%); }
:where(:root[data-theme="tole"]) .carte-hero-details { background: rgba(20, 16, 13, .78); }
@media (max-width: 600px) {
  :where(:root[data-theme="tole"]) .carte-hero::after { background: linear-gradient(180deg, rgba(15, 13, 11, .88), rgba(15, 13, 11, .8)); }
  :where(:root[data-theme="tole"]) .carte-hero-details { background: rgba(20, 16, 13, .85); }
}
/* ---- theme-syndicat.css ---- */
:where(:root[data-theme="tole"]) .syndicat-embleme-medaillon { background: radial-gradient(circle at 35% 30%, rgba(68, 58, 50, .92), rgba(22, 18, 15, .96)); box-shadow: 0 0 0 3px rgba(16, 14, 13, .72), 0 0 16px rgba(212, 169, 87, .22); }
:where(:root[data-theme="tole"]) .syndicat-palier-bloc { background: rgba(20, 16, 13, .68); }
:where(:root[data-theme="tole"]) .syndicat-top5 > li { border-radius: 9px; border: 1px solid rgba(176, 172, 165, .16); background: rgba(20, 16, 13, .72); }
:where(:root[data-theme="tole"]) .syndicat-top5 > li.syndicat-top5-moi { background: linear-gradient(135deg, rgba(64, 48, 28, .44), rgba(32, 27, 22, .92)); }
:where(:root[data-theme="tole"]) .syndicat-rang-badge { border-radius: 50%; border: 1px solid rgba(176, 172, 165, .35); background: rgba(38, 32, 26, .9); }
:where(:root[data-theme="tole"]) #panneau-syndicat .syndicat-ordre { border-radius: 10px; border: 1px solid rgba(176, 172, 165, .22); background: rgba(20, 16, 13, .72); }
:where(:root[data-theme="tole"]) #panneau-syndicat .syndicat-ordre.ordre-prioritaire { background: linear-gradient(160deg, rgba(64, 48, 28, .32), rgba(22, 18, 15, .88)); }
:where(:root[data-theme="tole"]) .syndicat-paliers-liste > li { border-radius: 8px; border: 1px solid rgba(176, 172, 165, .18); background: rgba(20, 16, 13, .65); }
:where(:root[data-theme="tole"]) .emblemes-syndicat { background: rgba(20, 16, 13, .55); }
:where(:root[data-theme="tole"]) .choix-embleme { border-radius: 8px; border: 1px solid rgba(176, 172, 165, .24); background: rgba(27, 23, 19, .78); }
@media (forced-colors: active) {
  :where(:root[data-theme="tole"]) .syndicat-embleme-medaillon, :where(:root[data-theme="tole"]) .syndicat-top5 > li.syndicat-top5-moi, :where(:root[data-theme="tole"]) #panneau-syndicat .syndicat-ordre.ordre-prioritaire, :where(:root[data-theme="tole"]) .syndicat-palier-bloc, :where(:root[data-theme="tole"]) .emblemes-syndicat, :where(:root[data-theme="tole"]) .choix-embleme { border: 1px solid CanvasText; background: Canvas; box-shadow: none; }
  :where(:root[data-theme="tole"]) .syndicat-rang-badge { border: 1px solid CanvasText; background: Canvas; }
}
:where(:root[data-theme="tole"]) #panneau-syndicat .syndicat-liste > li { border-radius: 9px; border: 1px solid rgba(176, 172, 165, .16); background: rgba(20, 16, 13, .6); }
/* ---- theme-bord.css ---- */
:where(:root[data-theme="tole"]) .bord-absence .compte-a-lire { color: var(--or-vif, #f2cf83); }
:where(:root[data-theme="tole"]) .bord-pack-prochain { background: linear-gradient(155deg, rgba(21, 28, 41, 0.92), rgba(14, 19, 29, 0.92)); }
/* ---- theme-cantina.css ---- */
:where(:root[data-theme="tole"]) .vignette-mini, :where(:root[data-theme="tole"]) .bord-vaisseau-img { background: radial-gradient(circle at 50% 40%, #3a342f, #1c1815); }
/* ---- telephone.css ---- */
@media (max-width: 600px) {
  :where(:root[data-theme="tole"]) .barre-bas { background: var(--tole), #15110e; }
  :where(:root[data-theme="tole"]) .onglets button[aria-selected="true"], :where(:root[data-theme="tole"]) .plus-onglets.actif { background: #2c2621; }
  :where(:root[data-theme="tole"]) .feuille-plus { background: var(--tole), #15110e; }
  :where(:root[data-theme="tole"]) .rg[aria-current="true"] { background: #2c2621; }
}
@media (max-width: 600px) {
  :where(:root[data-theme="tole"]) .repli-tel > summary { background: var(--tole-sombre), #12100d; }
}
