/* §19 — Atelier d'équipement : feuille séparée pour préserver la cascade historique. */
.equipment-v1{margin:18px 0 8px;padding:14px;border:1px solid #cb9d4a66;border-radius:16px;background:linear-gradient(145deg,#21182bdd,#101626e8);box-shadow:inset 0 1px #fff1,0 8px 22px #0004}.eq-head{display:flex;gap:10px;align-items:start;justify-content:space-between}.eq-head h2{font:700 17px Cinzel,serif;color:#ffd888;margin:0}.eq-head p{margin:5px 0 10px;color:#c8c1d7;font-size:12px;line-height:1.35}.eq-stock{flex:0 0 auto;padding:7px 9px;border-radius:10px;background:#0a0e19a8;color:#c9d7e8;font-size:11px;line-height:1.7;text-align:right}.eq-stock b{color:#fff}.eq-slots{display:grid;gap:8px}.eq-card{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #ffffff16;border-radius:12px;background:#090d17aa}.eq-card.owned{border-color:#87d9b866;background:linear-gradient(90deg,#12382b9c,#0b1718aa)}.eq-icon{font-size:25px;width:32px;text-align:center}.eq-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.eq-main b{font-size:13px;color:#f5e9c7}.eq-main small{font-size:11px;color:#abdccb}.eq-main span{font-size:11px;color:#b9b7ce}.eq-craft,.eq-done{border:0;border-radius:9px;padding:8px 10px;font:700 10px Cinzel,serif;letter-spacing:.3px}.eq-craft{color:#797586;background:#252335;opacity:.75}.eq-craft.ok{color:#1d170c;background:linear-gradient(135deg,#f5c768,#c88a36);opacity:1}.eq-done{color:#9af1cb;background:#1d6b4e66}.eq-foot{margin-top:10px;color:#aeb5c7;font-size:11px;line-height:1.35}@media(min-width:560px){.eq-slots{grid-template-columns:repeat(3,1fr)}.eq-card{align-items:flex-start;flex-wrap:wrap}.eq-craft,.eq-done{width:100%;text-align:center}}

/* Écran enfant : inventaire de récompenses, entièrement séparé de l'atelier adulte. */
.equipment-child{min-height:100%;padding:22px 16px 110px;background:#2f2350;color:#fff;font-family:system-ui,sans-serif}.eq-child-head{text-align:center}.eq-child-head h2{margin:0;color:#ffe49b;font-size:24px}.eq-child-head p{margin:5px 0 18px;color:#fff;font-weight:850}.eq-child-slots{display:grid;gap:12px;max-width:560px;margin:auto}.eq-child-card{padding:14px;border:0;border-radius:18px;background:#554284}.eq-child-card.owned{background:#3d6e65}.eq-child-title{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center}.eq-child-title>span{font-size:30px;text-align:center}.eq-child-title h3{margin:0;color:#ffe9a8;font-size:17px}.eq-child-title p{margin:3px 0 0;font-size:13px;line-height:1.35}.eq-child-cost{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.eq-child-cost>div{padding:9px;border-radius:13px;background:#35275b}.eq-child-cost b{display:block;margin-bottom:7px;color:#fff3c8;font-size:11px}.eq-child-dots{display:flex;flex-wrap:wrap;gap:4px}.eq-child-dots i{display:block;width:14px;height:14px;border-radius:50%;background:#21183c}.eq-child-dots i.full{background:#ffcf5c;box-shadow:inset 0 -2px #c77d2a}.eq-child-craft{width:100%;min-height:46px;border:0;border-radius:13px;background:#352d50;color:#c9c3d3;font-weight:900}.eq-child-craft.ready{background:#ffd36d;color:#3d2851}.eq-child-card.owned .eq-child-craft{background:#274c46;color:#d8fff1}@media(max-width:350px){.equipment-child{padding:12px 10px 100px}.eq-child-head h2{font-size:20px}.eq-child-slots{gap:8px}.eq-child-card{padding:10px}.eq-child-cost{margin:9px 0}.eq-child-dots i{width:12px;height:12px}}
.equipment-child{min-height:100%;padding:22px 16px 110px;background:#2f2350;color:#fff;font-family:system-ui,sans-serif}.eq-child-head{text-align:center}.eq-child-head h2{margin:0;color:#ffe49b;font-size:24px}.eq-child-head p{margin:5px 0 18px;color:#fff;font-weight:850}.eq-child-empty{max-width:560px;margin:0 auto 14px;padding:13px 15px;border:0;border-radius:16px;background:#45356f;color:#f4edff;font-size:14px;line-height:1.4;text-align:center}.eq-child-slots{display:grid;gap:10px;max-width:560px;margin:auto}.eq-child-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px;border:0;border-radius:16px;background:#554284}.eq-child-card.owned{background:#3d6e65}.eq-child-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:#35275b;font-size:28px;line-height:1}.eq-child-card.missing .eq-child-icon{filter:grayscale(1);opacity:.38}.eq-child-main{min-width:0}.eq-child-main h3{margin:0;color:#ffe9a8;font-size:17px}.eq-child-main p{margin:3px 0 0;color:#fff;font-size:13px;line-height:1.35}.eq-child-card.missing .eq-child-main p{color:#d4cce7}.eq-child-equipped{padding:6px 8px;border-radius:999px;background:#274c46;color:#d8fff1;font-size:11px;font-weight:900}.eq-child-card.missing{grid-template-columns:46px minmax(0,1fr)}@media(max-width:350px){.equipment-child{padding:12px 10px 100px}.eq-child-head h2{font-size:20px}.eq-child-empty{margin-bottom:10px;padding:10px}.eq-child-slots{gap:8px}.eq-child-card{padding:10px}.eq-child-equipped{padding:5px 6px}}

/* 18/09 — les acquis (sf-acquis-v1.js) : trophées de chef et reliques de professeur dans l'onglet Artefacts. */
.equipment-child .eq-child-intro{margin:0 0 .8rem;color:var(--sf-text-soft,#e8e0f5);line-height:1.45}
.equipment-child h3.eq-child-section{margin:1.1rem 0 .5rem;font-size:1.05rem;color:#ffd873}
.eq-child-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
/* Charte Aube dorée : une surface porte un fond OU une bordure, jamais les deux (audit assertSoftSurfaces). */
.eq-child-item{display:grid;grid-template-columns:2.6rem 1fr;gap:.7rem;align-items:center;padding:.7rem .85rem;border-radius:.9rem;
  background:var(--sf-ui-raised,#2a2340);border:0}
.eq-child-item .eq-child-icon{font-size:1.7rem;text-align:center;line-height:1}
.eq-child-item b{display:block;font-size:1rem}
.eq-child-item small{display:block;color:var(--sf-text-soft,#cfc6e0);line-height:1.35;margin-top:.15rem}
.eq-child-item.a-gagner{opacity:.62}
.eq-child-item.a-gagner .eq-child-icon{filter:grayscale(1)}
.eq-child-item.acquis{background:linear-gradient(135deg,rgba(255,216,115,.22),var(--sf-ui-raised,#2a2340) 60%)}
.eq-child-forme{margin:.7rem 0 0;padding:.6rem .85rem;border-radius:.8rem;background:rgba(255,216,115,.1);color:#ffe9a8;line-height:1.4}
.eq-child-actions{margin-top:1.1rem}
.eq-child-actions .eq-child-go{display:block;width:100%;min-height:64px;font-size:1.05rem}
.eq-child-icon .eq-child-art{width:2.4rem;height:2.4rem;object-fit:contain;display:block;margin:0 auto}
