/* Le Gambit — ton de la page : le vert des Particules et du sceau du Gambit, le noir des Corrompus, la rouille du
   vaisseau du Vagabond. Ambiance par section (data-mood sur <body> : vagabond, regles, banque, debut, evolution, cartes,
   butin ; js/components/moods.js). Le Vagabond et son micro, les règles, la banque jouable, les débuts, la chronologie,
   les arènes, le butin. */

.gambit {
  --mote: #3fd69c;
  --mote-hi: #d2fbe8;
  --rust: #d98a4a;
  --page-accent: var(--mote);
  --page-accent-hi: var(--mote-hi);
}
.gambit[data-mood="vagabond"] { --page-accent: #3fd69c; --page-accent-hi: #d2fbe8; }
.gambit[data-mood="regles"] { --page-accent: #9be37a; --page-accent-hi: #e6f9d9; }
.gambit[data-mood="banque"] { --page-accent: #35d6c4; --page-accent-hi: #d0f7f2; }
.gambit[data-mood="debut"] { --page-accent: #ffd36b; --page-accent-hi: #fff1c9; }
.gambit[data-mood="evolution"] { --page-accent: #a7b0c0; --page-accent-hi: #e9edf3; }
.gambit[data-mood="cartes"] { --page-accent: #6fc3ff; --page-accent-hi: #dcf0ff; }
.gambit[data-mood="butin"] { --page-accent: #c792ff; --page-accent-hi: #efe0ff; }
.gambit .kicker, .gambit .tag, .gambit .sub-title { transition: color .6s; }
.gambit .kicker, .gambit .tag { color: var(--page-accent); }
.gambit .footer-crest, .gambit .brand svg { color: var(--mote); }
/* des losanges très discrets, comme des Particules qui flottent */
.gambit main {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(63, 214, 156, .05) 0 1px, transparent 2px),
    radial-gradient(ellipse 60% 14% at 85% 3%, rgba(63, 214, 156, .06), transparent 70%);
  background-size: 140px 140px, auto;
}
@media (min-width: 1021px) and (max-width: 1360px) { .gambit .brand span { display: none; } }
@media (min-width: 1021px) and (max-width: 1240px) { .gambit .nav-menu a { padding-left: 8px; padding-right: 8px; } }
.gambit .d-btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Héros ---------- */
.gambit .hero-status { display: grid; grid-template-columns: auto auto auto; column-gap: 18px; row-gap: 0; }
.gambit .hero-status .status-label { grid-row: 1; }
.gambit .hero-status .status-value { grid-row: 2; font-variant-numeric: tabular-nums; }
.gambit .hero-content .actions { flex-wrap: wrap; }
.gambit .hero-title { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.gambit .hero-title span:last-child { margin-top: .06em; padding-top: .14em; line-height: 1.25; font-size: .34em; font-weight: 900; letter-spacing: .2em;
  background: linear-gradient(90deg, #3fd69c, #d2fbe8 50%, #d98a4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .gambit .hero-title span:last-child { color: var(--mote); } }

/* ---------- Petites choses communes ---------- */
.gb-quote { margin: 12px 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--page-accent); }
.gb-quote p { margin: 0; font-family: var(--font-lore); font-size: 1.08rem; font-style: italic; line-height: 1.45; color: var(--pearl); }
.gb-quote cite { display: block; margin-top: 4px; font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.pop { animation: pop-in .45s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sub-title { margin: clamp(40px, 5vw, 64px) 0 6px; font-size: 1.2rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--page-accent); }
.sub-intro { max-width: 780px; margin: 0 0 18px; font-size: .95rem; line-height: 1.65; color: var(--muted); }
.brief-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.brief-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px; border: 1px solid var(--line); border-left: 2px solid var(--page-accent); background: var(--panel-solid); }
.brief-card img { width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .2); background: #0b1512; object-fit: contain; }
.brief-card h3 { margin: 2px 0 6px; font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--pearl); }
.brief-card p:not(.tag) { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.drifter-pic figcaption, .gb-step-pic figcaption, .map-pic figcaption, .map-extra figcaption, .justice-pic figcaption, .debut-pic figcaption, .loot-pic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 7px; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 10, 9, .92), rgba(5, 10, 9, 0)); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.drifter-pic, .gb-step-pic, .map-pic, .map-extra, .justice-pic, .debut-pic, .loot-pic { position: relative; margin: 0; overflow: hidden; background: var(--deep); }
.drifter-pic a, .gb-step-pic a, .map-pic a, .map-extra a, .justice-pic a, .debut-pic a, .loot-pic a { display: block; }
.drifter-pic img, .gb-step-pic img, .map-pic img, .map-extra img, .justice-pic img, .debut-pic img, .loot-pic img { display: block; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.drifter-pic a:hover img, .gb-step-pic a:hover img, .map-pic a:hover img, .justice-pic a:hover img, .debut-pic a:hover img, .loot-pic a:hover img { transform: scale(1.04); }

/* ---------- Le Vagabond ---------- */
.drifter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.drifter-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: sticky; top: 100px; }
.drifter-pic { border: 1px solid var(--line); }
.drifter-pic img { aspect-ratio: 16 / 10; }
.drifter-pic--main { grid-column: span 3; }
.drifter-pic--main img { aspect-ratio: 16 / 9; }
.drifter-pic:not(.drifter-pic--main) figcaption { display: none; }
.drifter-body p { margin: 0 0 14px; font-size: 1rem; line-height: 1.72; color: #d6dcd9; }
.drifter-eggs { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px; list-style: none; border: 1px solid var(--line); background: rgba(10, 22, 18, .6); }
.drifter-eggs li, .map-eggs li, .never li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.65; color: var(--muted); }
.drifter-eggs li::before, .map-eggs li::before, .never li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--page-accent); transform: rotate(45deg); }
.drifter-eggs b { color: var(--pearl); }

.mic { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 20px; margin-top: clamp(30px, 4vw, 54px); }
.mic-screen { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding: clamp(20px, 3vw, 36px); overflow: hidden;
  border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 30% 40%, rgba(63, 214, 156, .14), transparent 70%), #07100d; }
.mic-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.mic-label svg { width: 16px; height: 16px; color: var(--mote); }
.mic-line { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 800; line-height: 1.35; color: var(--pearl); }
.mic-src { margin: 12px 0 0; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--page-accent); }
.mic-side { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; border: 1px solid var(--line); background: var(--panel-solid); }
.mic-count { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mic-count b { font-size: 1.2rem; color: var(--pearl); }
.mic-note { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--faint); }

.camp { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 14px 24px; align-items: center; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-left: 2px solid var(--rust); background: var(--panel-solid); }
.camp-head h3 { margin: 2px 0 6px; font-size: 1.1rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.camp-head p:not(.tag) { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.camp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.camp-btns .d-btn.is-on { background: var(--page-accent); border-color: var(--page-accent); color: var(--night); }
.camp-say { grid-column: 1 / -1; margin: 0; padding: 4px 0 0 14px; border-left: 2px solid var(--rust); }
.camp-say[hidden] { display: none; }
.camp-say p { margin: 0; font-family: var(--font-lore); font-size: 1.1rem; font-style: italic; line-height: 1.5; color: var(--pearl); }
.camp-say cite { display: block; margin-top: 6px; font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }

/* ---------- Les règles ---------- */
.gb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.gb-step { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 2px solid var(--page-accent); background: var(--panel-solid); }
.gb-step-pic img { aspect-ratio: 16 / 10; }
.gb-step-body { position: relative; padding: 16px 16px 18px; }
.gb-step-n { position: absolute; top: -22px; right: 14px; z-index: 0; display: grid; place-items: center; width: 40px; height: 40px; margin: 0;
  font-size: 1.1rem; font-weight: 900; color: var(--page-accent); isolation: isolate; }
.gb-step-n::before { content: ''; position: absolute; inset: 4px; z-index: -1; border: 1px solid var(--page-accent); background: var(--night); transform: rotate(45deg); }
.gb-step h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.gb-step-body p:not(.gb-step-n) { margin: 0; font-size: .88rem; line-height: 1.62; color: #ccd4d1; }
.rules-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel-solid); }
.rules-wrap:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 2px; }
.rules { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .84rem; line-height: 1.5; }
.rules th, .rules td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rules thead th { position: sticky; top: 0; background: #0c1714; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pearl); }
.rules thead small { display: block; margin-top: 2px; font-size: .9em; letter-spacing: .1em; color: var(--page-accent); }
.rules tbody th { width: 17%; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--page-accent-hi); }
.rules td { color: #d6dcd9; }
.rules td.same { color: var(--faint); background: rgba(255, 255, 255, .015); }
.rules tbody tr:last-child th, .rules tbody tr:last-child td { border-bottom: 0; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.role { border: 1px solid var(--line); background: var(--panel-solid); }
.role-pic { display: block; overflow: hidden; }
.role-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.role-pic:hover img { transform: scale(1.04); }
.role > div { padding: 12px 14px 14px; }
.role h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .95rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.role h4 img { padding: 2px; border: 1px solid var(--line-strong); background: #0b1512; }
.role p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.justice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; margin-top: 14px; border: 1px solid var(--line); background: var(--panel-solid); }
.justice > div { padding: 18px 20px; }
.justice h4 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.justice p { margin: 0; font-size: .9rem; line-height: 1.65; color: #ccd4d1; }
.justice-pic img { height: 100%; min-height: 200px; }

/* ---------- La banque ---------- */
.bank { display: grid; gap: 12px; }
.bank-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bank-meter { padding: 12px 14px; border: 1px solid var(--line); background: var(--panel-solid); }
.bank-meter p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.bank-meter span { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.bank-meter b { font-size: 1.3rem; font-weight: 900; color: var(--pearl); font-variant-numeric: tabular-nums; }
.bank-bar { position: relative; height: 10px; background: rgba(255, 255, 255, .07); }
.bank-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--mote); transition: width .3s; }
.bank-meter--theirs .bank-bar i { background: #ff7a59; }
.bank-bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--pearl); opacity: .5; }
.bank-bar--hp { margin-top: 8px; height: 8px; }
.bank-bar--hp[hidden] { display: none; }
.bank-bar--hp i { background: linear-gradient(90deg, #8a5bff, #c792ff) !important; }
.bank-field { position: relative; aspect-ratio: 16 / 7; min-height: 300px; overflow: hidden; border: 1px solid var(--line-strong); background: #050b09; touch-action: manipulation; user-select: none; }
.bank-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.75); transition: opacity .4s; }
.bank-field.is-on .bank-bg { opacity: .3; }
.bank-field.is-slayer { box-shadow: inset 0 0 90px rgba(255, 220, 120, .25); }
.bank-field.hit { animation: hit .45s ease-out; }
@keyframes hit { 0% { box-shadow: inset 0 0 0 0 rgba(255, 40, 40, 0); } 30% { box-shadow: inset 0 0 120px 20px rgba(255, 40, 40, .55); } 100% { box-shadow: inset 0 0 0 0 rgba(255, 40, 40, 0); } }
.bank-vault { position: absolute; left: 50%; bottom: 10px; z-index: 1; display: grid; justify-items: center; gap: 2px; width: 120px; margin-left: -60px; color: var(--mote); pointer-events: none; }
.bank-vault svg { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(63, 214, 156, .6)); }
.bank-vault span { font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff9a7a; }
.bank-vault.is-blocked { color: #ff7a59; }
.bank-vault.is-blocked svg { filter: drop-shadow(0 0 10px rgba(255, 90, 60, .7)); }
.bank-start { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(4, 8, 7, .5); text-align: center; }
.bank-start[hidden] { display: none; }
.bank-rules { max-width: 520px; margin: 0; font-size: .82rem; line-height: 1.55; color: var(--pearl); text-shadow: 0 1px 3px #000; }
.mob { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0;
  border: 2px solid currentColor; border-radius: 50%; background: rgba(5, 10, 9, .78); color: #d9e2f0; cursor: crosshair; animation: mob-in .25s var(--ease); }
.mob svg { width: 26px; height: 26px; }
.mob:hover, .mob:focus-visible { background: rgba(255, 255, 255, .14); }
.mob--hvt { color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 0 18px rgba(255, 255, 255, .5); }
.mob--blocker { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 6px; color: #ff7a59; }
.mob--blocker[data-size="grand"] { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.mob--blocker svg { width: 32px; height: 32px; }
.mob--invader { color: #ff3b5c; border-style: dashed; box-shadow: 0 0 16px rgba(255, 59, 92, .6); }
.mob--envoy { color: #ffd36b; }
.mob--prim { z-index: 1; width: 120px; height: 120px; margin: -60px 0 0 -60px; color: #c792ff; border-width: 3px; }
.mob--prim svg { width: 70px; height: 70px; }
.mob--prim.is-shielded { box-shadow: 0 0 0 8px rgba(160, 200, 255, .25), 0 0 30px rgba(160, 200, 255, .55); cursor: not-allowed; }
.mob-hp { position: absolute; left: 6px; bottom: -8px; width: calc(100% - 12px); height: 3px; background: currentColor; }
.mob.hurt { animation: mob-hurt .2s ease-out; }
.mob.down { animation: mob-down .26s ease-in forwards; pointer-events: none; }
.mob.shoot { animation: mob-shoot .4s ease-in forwards; pointer-events: none; }
@keyframes mob-in { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mob-hurt { 50% { transform: scale(.9); filter: brightness(2); } }
@keyframes mob-down { to { transform: scale(1.6); opacity: 0; filter: brightness(3); } }
@keyframes mob-shoot { 40% { transform: scale(1.25); background: rgba(255, 40, 40, .7); } to { transform: scale(.4); opacity: 0; } }
.bank-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 16px; border: 1px solid var(--line); background: var(--panel-solid); }
.bank-hud p { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.bank-hud span { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.bank-hud b { font-size: 1.4rem; font-weight: 900; color: var(--pearl); font-variant-numeric: tabular-nums; }
.bank-hud small { font-size: .8rem; color: var(--faint); }
.bank-deposit[disabled] { opacity: .45; cursor: not-allowed; }
.bank-invade { border-color: #ff3b5c; color: #ffb3c0; }
.bank-invade[hidden], .bank-stop[hidden] { display: none; }
.bank-stop { margin-left: auto; padding: 8px 14px; font-size: .64rem; }
.bank-say { min-height: 2.8em; margin: 0; font-family: var(--font-lore); font-size: 1.25rem; font-style: italic; line-height: 1.4; color: var(--pearl); }

/* ---------- Les débuts ---------- */
.debut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.debut-pics { display: grid; gap: 10px; }
.debut-pic { border: 1px solid var(--line); }
.debut-pic img { aspect-ratio: 16 / 9; }
.whys { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.why { padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--page-accent); background: var(--panel-solid); }
.why h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.why p { margin: 0; font-size: .92rem; line-height: 1.65; color: #d6dcd9; }
.press { margin-top: 22px; padding: 18px 20px; border: 1px dashed var(--line-strong); }
.press .gb-quote { margin: 14px 0 0; }
.press .gb-quote:last-of-type p { color: var(--page-accent-hi); }
.press-note { margin: 12px 0 0; font-size: .82rem; color: var(--faint); }

/* ---------- Huit ans ---------- */
.void { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.void-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); background: var(--panel-solid); }
.void-stat b { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1; color: var(--pearl); font-variant-numeric: tabular-nums; }
.void-stat span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--muted); }
.void-stat--live { border-color: rgba(255, 255, 255, .25); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 8px, transparent 8px 16px), var(--panel-solid); }
.pips-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; padding: 0; list-style: none; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pips-legend li { display: flex; align-items: center; gap: 7px; }
.pip { display: inline-block; flex: none; width: 10px; height: 10px; transform: rotate(45deg); }
.pip--ajout { background: #3fd69c; }
.pip--retrait { background: #ff6b5a; }
.pip--regle { background: #ffc857; }
.pip--recit { background: transparent; border: 1.5px solid #c9c2ff; }
.pip--annonce { background: #6fb6ff; }
.pip--autre { background: transparent; border: 1.5px dashed #6b7380; }
.years { display: grid; gap: 8px; }
.year { border: 1px solid var(--line); background: var(--panel-solid); scroll-margin-top: 100px; }
.year > summary { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto; align-items: center; gap: 10px 18px; padding: 14px 18px; cursor: pointer; list-style: none; }
.year > summary::-webkit-details-marker { display: none; }
.year > summary:focus-visible { outline: 2px solid var(--page-accent); outline-offset: -2px; }
.year-y { font-size: 1.5rem; font-weight: 900; color: var(--pearl); font-variant-numeric: tabular-nums; }
.year-v { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--page-accent-hi); }
.year-pips { display: flex; flex-wrap: wrap; gap: 7px; }
.year-maps { display: flex; align-items: center; gap: 8px; min-width: 150px; justify-content: flex-end; }
.year-maps-n { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.year-maps-i { display: flex; gap: 3px; }
.year-maps-i i { width: 8px; height: 14px; background: rgba(111, 195, 255, .7); }
.year.is-read > summary .year-y { color: var(--page-accent); }
.year--void { border-style: dashed; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 10px, transparent 10px 20px), #07090b; }
.year--void .year-v { color: var(--faint); }
.evs { display: grid; gap: 0; margin: 0; padding: 0 18px 14px 116px; list-style: none; }
.ev { display: grid; grid-template-columns: 110px 96px minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.ev-date { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pearl); }
.ev-kind { align-self: start; justify-self: start; padding: 2px 7px; border: 1px solid; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ev--ajout .ev-kind { color: #3fd69c; }
.ev--retrait .ev-kind { color: #ff8a7a; }
.ev--regle .ev-kind { color: #ffc857; }
.ev--recit .ev-kind { color: #c9c2ff; }
.ev--annonce .ev-kind { color: #8fc6ff; }
.ev--autre .ev-kind { color: #8a929e; border-style: dashed; }
.ev p { margin: 0; font-size: .9rem; line-height: 1.62; color: #d6dcd9; }
.never { margin-top: 18px; padding: 16px 18px; border: 1px dashed var(--line-strong); }
.never ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }

/* ---------- Les arènes ---------- */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.map { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel-solid); scroll-margin-top: 100px; }
.map-pic img { aspect-ratio: 16 / 9; }
.map-body { padding: 14px 16px 16px; }
.map-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 8px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.map-tag { padding: 2px 7px; border: 1px solid; }
.map-tag--coffre { color: #c3c9db; border-color: rgba(195, 201, 219, .4); }
.map-tag--back { color: #3fd69c; border-color: rgba(63, 214, 156, .5); }
.map h3 { margin: 0; font-size: 1.1rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.map-en { margin: 2px 0 8px; font-size: .74rem; color: var(--page-accent); }
.map-note { margin: 0; font-size: .88rem; line-height: 1.6; color: #d0d4e0; }
.map-eggs { display: grid; gap: 6px; margin: 10px 0 0; padding: 10px 0 0; list-style: none; border-top: 1px dashed var(--line); }
.map-eggs li { font-size: .84rem; }
.map-extra { margin-top: 12px; border: 1px solid var(--line); }
.map-extra img { aspect-ratio: 21 / 9; }
.map[data-status="coffre"] .map-pic img { filter: saturate(.55); }

/* ---------- Le butin ---------- */
.loots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.loot:first-child { grid-column: span 2; }
.loot:first-child .loot-pic img { aspect-ratio: 16 / 6; }
.loot { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 2px solid var(--page-accent); background: var(--panel-solid); scroll-margin-top: 100px; }
.loot-pic img { aspect-ratio: 16 / 8; }
.loot-body { padding: 14px 16px 16px; }
.loot-body h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.1rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.loot-body h3 img { border: 1px solid rgba(255, 255, 255, .2); }
.loot-kind { margin: 6px 0 8px; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--page-accent); }
.loot-body > p:not(.loot-kind) { margin: 0; font-size: .88rem; line-height: 1.6; color: #d0d4e0; }
.titles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.title-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); background: var(--panel-solid); }
.title-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 900; text-transform: uppercase; color: var(--pearl); }
.title-card p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--muted); }

/* ---------- Petits écrans ---------- */
@media (max-width: 1100px) {
  .gb-steps, .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .void { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .never ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .drifter, .mic, .debut { grid-template-columns: minmax(0, 1fr); }
  .drifter-pics { position: relative; top: 0; }
  .camp { grid-template-columns: minmax(0, 1fr); }
  .justice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .loots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .justice > div { grid-column: 1 / -1; grid-row: 1; }
  .evs { padding-left: 18px; }
}
@media (max-width: 700px) {
  .brief-cards, .gb-steps, .roles, .titles, .bank-board, .void, .never ul { grid-template-columns: minmax(0, 1fr); }
  .maps, .loots { grid-template-columns: minmax(0, 1fr); }
  .loot:first-child { grid-column: auto; }
  .loot:first-child .loot-pic img { aspect-ratio: 16 / 8; }
  .justice { grid-template-columns: minmax(0, 1fr); }
  .bank-field { aspect-ratio: 4 / 5; }
  .drifter-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drifter-pic--main { grid-column: span 2; }
  .year > summary { grid-template-columns: auto minmax(0, 1fr); }
  .year-pips, .year-maps { grid-column: 1 / -1; justify-content: flex-start; }
  .ev { grid-template-columns: minmax(0, 1fr) auto; }
  .ev p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .mob, .mob.down, .mob.shoot, .mob.hurt, .bank-field.hit, .pop { animation: none; }
}
