/* Jocus lot 7 : Anagrammes, Mots enchaînés, Tier list, Classement à l'aveugle.
   Décors PROVISOIRES (dégradés). ChatGPT : remplacer background-image par url('/assets/games/<jeu>.jpg') (+ tablet/ et mobile/). */
html #app #v-play:is([data-game=anag],[data-game=wchain],[data-game=tier],[data-game=blind]){--world-ink:#fff7f0;--world-muted:#e6e0f3;--world-card:#1c1738d9;--world-line:#ffd98a;--world-accent:#ffb347}
html #app #v-play[data-game=anag]{background-image:linear-gradient(180deg,#1d2b4f 0%,#3e63a8 50%,#0d1630 100%)}
html #app #v-play[data-game=wchain]{background-image:linear-gradient(180deg,#14403a 0%,#2f8f7e 50%,#0a211e 100%)}
html #app #v-play[data-game=tier]{background-image:linear-gradient(180deg,#3a1a4a 0%,#9b3f8f 50%,#1b0b24 100%)}
html #app #v-play[data-game=blind]{background-image:linear-gradient(180deg,#232323 0%,#57508a 50%,#101018 100%)}
.g7-go{min-height:50px;padding:0 26px;border-radius:26px;border:0;background:#ffd98a;color:#2a1340;font-weight:800;font-size:16px;cursor:pointer}
.g7-go[disabled]{opacity:.45;cursor:default}
.ag,.wc,.tr,.bl{width:100%;max-width:420px;margin-inline:auto}
/* Anagrammes */
.ag-tiles{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:6px 0}
.ag-t{width:42px;height:50px;display:grid;place-items:center;border-radius:10px;background:#fff7f0;color:#2a1340;font-weight:800;font-size:26px;box-shadow:0 3px 0 #c9a979}
.ag-in{text-transform:uppercase;text-align:center;letter-spacing:.12em;font-weight:800}
.ag-last{font-weight:700}
/* Mots enchaînés */
.wc-chain{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.wc-w{padding:6px 12px;border-radius:999px;background:#ffffff1f;color:#fff7f0;font-weight:700;letter-spacing:.06em}
.wc-w b{color:#ffd98a;font-size:1.15em}
.wc-w.now{background:#ffd98a33;border:1px solid #ffd98a}
.wc-ask{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:26px;text-align:center;color:#fff7f0}
/* Tier list */
.tr-theme{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:28px;text-align:center;color:#fff7f0;line-height:1.1}
.tr-list{display:flex;flex-direction:column;gap:8px;width:100%}
.tr-row{background:var(--world-card);border:1px solid #ffffff2e;border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.tr-row>b{overflow-wrap:anywhere}
.tr-pick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.tr-b{min-height:44px;border-radius:10px;border:2px solid transparent;font-weight:800;font-size:18px;color:#1a1020;opacity:.55;cursor:pointer}
.tr-b.on{opacity:1;border-color:#fff;transform:scale(1.05)}
.tr-S{background:#ff7f7f}.tr-A{background:#ffbf7f}.tr-B{background:#ffdf7f}.tr-C{background:#bfff7f}.tr-D{background:#7fbfff}
.tr-cells{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;color:var(--world-muted)}
.tr-chip{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:8px;font-weight:800;color:#1a1020}
.tr-chip.fin{outline:2px solid #fff}
.tr-pt{font-weight:700;color:#ffd98a}
.tr-sum{padding:10px 14px;border-radius:12px;background:#ffffff1a;font-weight:700;text-align:center;color:#fff7f0}
.tr-sum.big{font-size:18px}
/* Classement à l'aveugle */
.bl-item{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:34px;text-align:center;color:#1a1020;background:#ffd98a;border-radius:16px;padding:14px 12px;overflow-wrap:anywhere}
.bl-slots{display:flex;flex-direction:column;gap:6px;width:100%}
.bl-slot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:6px 12px;border-radius:12px;border:1.5px solid #ffffff40;background:var(--world-card);color:#fff7f0;text-align:left;cursor:pointer}
.bl-slot.sel{border-color:#ffd98a;background:#ffd98a2e}
.bl-slot.full{opacity:.75;cursor:default;background:#ffffff14}
.bl-k{font-size:13px;color:var(--world-muted)}
.bl-v{font-weight:800;overflow-wrap:anywhere;text-align:right}
.bl-rev{background:var(--world-card);border:1px solid #ffffff2e;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}
.bl-rev h4{margin:0;color:#fff7f0}
.bl-n{padding:2px 8px;border-radius:8px;background:#ffffff1f;font-weight:700}
.bl-n.ok{background:#4ade9a33;color:#b6f5d4}
@media (prefers-reduced-motion:reduce){.tr-b.on{transform:none}}
/* Lot 13 : image facultative d'un objet (Tier list, Classement à l'aveugle) */
.it-img{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 6px;border-radius:12px}
.tr-row b .it-img{display:inline-block;width:36px;height:36px;margin:0 8px 0 0;vertical-align:middle}
