/* XP-FlightDeck players' site — charte « Carnet de vol » (same tokens as the Web Deck app):
   ivory paper, navy ink, deep green for actions, ochre stars, Georgia titles. */
:root {
  --bg: #f3f0e7;
  --plate: #fffaf0;
  --plate-edge: #d4cbb8;
  --ink: #173448;
  --dim: #526773;
  --accent: #17766d;
  --accent-dark: #12635c;
  --stars: #ba7b16;
  --gold: #c99a2e;
  --silver: #8a97a3;
  --bronze: #a8693a;
  --badge: #f3c45e;
  --bad: #b3261e;
  --warn-bg: #f7ead0;
  --tint: #ebe5d6;
  --shadow: 0 3px 8px rgba(23, 52, 72, .06);
  --shadow-lift: 0 10px 24px rgba(23, 52, 72, .12);
  --serif: Georgia, "Times New Roman", serif;
  --font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 12px;
  --radius-card: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101c25; --plate: #172733; --plate-edge: #2b4152; --ink: #eef2f4; --dim: #a9b8c2;
    --accent: #3fb3a6; --accent-dark: #2f9a8e; --tint: #1d3140; --warn-bg: #3a3020; --bad: #ff8a80;
    --shadow: 0 3px 8px rgba(0, 0, 0, .3); --shadow-lift: 0 10px 24px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: pan-x pan-y; } /* no pinch or double-tap page zoom */
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 100% 0, rgba(199, 220, 210, .28), transparent 60%), var(--bg);
  color: var(--ink); font: 16px/1.55 var(--font);
}
a { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.3px; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3.4vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.eyebrow { margin: 0 0 8px; font: 700 11px/1.3 var(--font); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--plate-edge); }
.top .in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { font: 700 18px var(--serif); color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
nav.main a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
nav.main a.on, nav.main a:hover { background: var(--tint); }
.who { display: flex; align-items: center; gap: 8px; }
.who a { text-decoration: none; }
.lang { border: 1px solid var(--plate-edge); background: var(--plate); border-radius: 8px; padding: 6px 8px; }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 28px 16px 64px; }
footer { border-top: 1px solid var(--plate-edge); padding: 20px 16px; text-align: center; color: var(--dim); font-size: 14px; }
/* Footer reassurance, as on shops: four commitments, the ways to pay, then the links. */
.foot-trust { max-width: 1180px; margin: 0 auto; padding: 8px 0 22px; text-align: left; }
.foot-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.foot-trust li { display: flex; gap: 12px; align-items: flex-start; }
.foot-ico { flex: none; color: var(--accent); margin-top: 1px; }
.foot-trust b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14.5px; }
.foot-trust span { display: block; font-size: 13px; line-height: 1.45; }
.foot-trust a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.foot-pay { max-width: 1180px; margin: 0 auto; padding: 18px 0; border-block: 1px solid var(--plate-edge); display: flex; align-items: center; justify-content: center; gap: 14px 18px; flex-wrap: wrap; }
.foot-pay-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pay-marks { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pay-marks svg { display: block; }
.foot-stripe { display: inline-flex; opacity: .85; }
.foot-stripe:hover { opacity: 1; }
.foot-links { margin: 16px 0 0; }
/* The social networks, above the links (same as the Touch Portal page's footer). */
.foot-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.foot-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--plate-edge); color: var(--ink); transition: border-color .15s, color .15s, transform .15s; }
.foot-social a:hover { border-color: #FFC23F; color: var(--ink); transform: translateY(-1px); }
.foot-social svg { display: block; fill: currentColor; }
.foot-copy { margin: 8px 0 0; font-size: 12.5px; }
@media (max-width: 999px) { .foot-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-trust ul { grid-template-columns: 1fr; gap: 16px; } .foot-pay { flex-direction: column; } }

/* cards & layout */
.card { background: var(--plate); border: 1px solid var(--plate-edge); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 20px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.section { margin-top: 40px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--dim); max-width: 46ch; }
.challenge { background: linear-gradient(160deg, #173448, #10506a); color: #fff; border: 0; position: relative; overflow: hidden; }
.challenge h2, .challenge h3 { color: #fff; }
.challenge .eyebrow { color: var(--badge); }
.challenge .dim { color: #c9d6de; }
.challenge::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .06); }
.countdown { font: 700 22px var(--serif); font-variant-numeric: tabular-nums; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; text-decoration: none; background: var(--accent); color: #fff; min-height: 44px; }
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--plate-edge); }
.btn.ghost:hover { background: var(--tint); }
.btn.gold { background: var(--badge); color: #173448; }
.btn.small { padding: 7px 12px; min-height: 34px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
form.stack { max-width: 440px; }
label { display: block; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input:not([type]) {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--plate-edge); border-radius: 10px; background: var(--bg); font-size: 16px;
}
.code-input { font: 700 28px var(--font) !important; letter-spacing: 6px; text-transform: uppercase; text-align: center; }
.msg { padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); font-size: 15px; }
.msg.ok { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.msg.err { background: color-mix(in srgb, var(--bad) 10%, transparent); border-left: 4px solid var(--bad); color: var(--bad); font-weight: 650; }
.empty { padding: 28px; text-align: center; color: var(--dim); }

/* tabs & chips */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a, .tabs button { border: 1px solid var(--plate-edge); background: var(--plate); padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.tabs .on { background: var(--ink); color: var(--plate); border-color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--tint); }
.chip.owned { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.chip.free { background: var(--badge); color: #173448; }
.chip.weekly { background: #173448; color: var(--badge); }

/* leaderboard */
table.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th { text-align: left; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); padding: 8px 10px; border-bottom: 1px solid var(--plate-edge); }
.board td { padding: 10px; border-bottom: 1px solid var(--tint); }
.board td.n { text-align: right; }
.board th.n { text-align: right; }
.board tr.me td { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 700; }
.board a { color: var(--ink); text-decoration: none; font-weight: 600; }
.board a:hover { text-decoration: underline; }
.rank { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 14px; background: var(--tint); }
.rank.r1 { background: var(--gold); color: #fff; }
.rank.r2 { background: var(--silver); color: #fff; }
.rank.r3 { background: var(--bronze); color: #fff; }
.stars { color: var(--stars); letter-spacing: 1px; white-space: nowrap; }
.board-wrap { overflow-x: auto; }

/* missions */
.mission { display: flex; flex-direction: column; gap: 8px; }
.mission h3 { margin: 0; }
.mission .meta { font-size: 13px; color: var(--dim); }
.mission .foot { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.locked { opacity: .92; }
.price { font: 700 20px var(--serif); }

/* account */
.stat { font: 700 32px var(--serif); line-height: 1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stats .card { padding: 14px; }
.bar { height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--badge)); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--badge); color: #173448; font-weight: 700; font-size: 13px; }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--plate-edge); display: inline-block; }
.lamp.on { background: #2fae63; box-shadow: 0 0 0 4px rgba(47, 174, 99, .2); }

/* ghost */
.ghost-svg { width: 100%; height: auto; background: var(--tint); border-radius: var(--radius); }
.ghost-svg polyline { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--plate); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lift); z-index: 50; max-width: calc(100% - 32px); }

/* ---------------------------------------------------------------- v2: missions, medals, account */
.searchbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0 8px; }
.searchbar input[type=search] { flex: 1 1 280px; margin: 0; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--plate-edge); background: var(--plate); font-size: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.filters select { border: 1px solid var(--plate-edge); background: var(--plate); border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
/* The filters' own dropdowns (picker() in app.js): a pill, the choice, a chevron with room around it. */
.pick { position: relative; }
.pick-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.pick-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px 8px 16px; border: 1px solid var(--plate-edge); border-radius: 999px; background: var(--plate); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pick-btn:hover, .pick.open .pick-btn { border-color: var(--ink); }
.pick-btn:focus-visible { outline: 2px solid #FFC23F; outline-offset: 2px; }
.pick-chev { width: 12px; height: 12px; flex: none; opacity: .7; transition: transform .18s; }
.pick.open .pick-chev { transform: rotate(180deg); }
.pick.set .pick-btn { background: var(--ink); border-color: var(--ink); color: var(--plate); }
.pick-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; min-width: max(100%, 200px); max-width: calc(100vw - 32px); max-height: min(340px, 60vh); overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 14px; box-shadow: var(--shadow-lift); transform-origin: top left; animation: lp-open .16s ease-out; }
.pick-list.to-left { left: auto; right: 0; transform-origin: top right; }
.pick-list li { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pick-list li > span { flex: 1; }
.pick-list li:hover, .pick-list li:focus { background: var(--tint); outline: none; }
.pick-list li:focus-visible { box-shadow: inset 0 0 0 2px #FFC23F; }
.pick-check { width: 16px; height: 16px; flex: none; color: #FFC23F; opacity: 0; }
.pick-list li[aria-selected="true"] .pick-check { opacity: 1; }
@media (max-width: 699px) { .pick-btn, .pick-list li { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pick-list { animation: none; } .pick-chev { transition: none; } }
.chip-btn { border: 1px solid var(--plate-edge); background: var(--plate); padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.chip-btn.on { background: var(--ink); color: var(--plate); border-color: var(--ink); }
.count { color: var(--dim); font-size: 14px; }
.mgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mcard { position: relative; display: flex; flex-direction: column; background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.mcard .art { aspect-ratio: 16 / 9; width: 100%; display: block; object-fit: cover; background: var(--tint); }
.mcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mcard h3 { font-size: 18px; margin: 0; }
.mcard .meta { font-size: 13px; color: var(--dim); }
.mcard .tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.mcard .tags .chip { background: rgba(255, 250, 240, .92); color: #173448; }
.mcard .tags .chip.weekly { background: #173448; color: var(--badge); }
.mcard .tags .chip.free { background: var(--badge); color: #173448; }
.mcard .lock { position: absolute; top: 10px; right: 10px; background: rgba(23, 52, 72, .85); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.mcard .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; }
.diff { display: inline-flex; gap: 3px; }
.diff i { width: 7px; height: 14px; border-radius: 2px; background: var(--plate-edge); display: inline-block; }
.diff i.on { background: var(--accent); }
.hero-art { width: 100%; border-radius: 20px; display: block; box-shadow: var(--shadow-lift); }

/* medals and podium */
.medal { width: 44px; height: 44px; display: inline-block; vertical-align: middle; }
.medal.big { width: 84px; height: 84px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin: 8px 0 18px; }
.podium .step { text-align: center; background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 18px 18px 6px 6px; padding: 14px 10px; box-shadow: var(--shadow); }
.podium .step.p1 { padding-top: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--badge) 35%, var(--plate)), var(--plate)); }
.podium .step.p2 { min-height: 0; }
.podium .who { font: 700 18px var(--serif); margin-top: 6px; }
.podium .pts { font-variant-numeric: tabular-nums; color: var(--dim); }
@media (max-width: 560px) { .podium { grid-template-columns: 1fr; } .podium .step.p1 { order: -1; } }
.kudos { display: inline-flex; gap: 4px; }
.kudo { border: 1px solid var(--plate-edge); background: transparent; border-radius: 999px; padding: 3px 8px; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; color: var(--ink); }
.kudo.mine { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); }
.kudo[disabled] { cursor: default; opacity: .7; }
.kudo svg { width: 16px; height: 16px; }

/* account */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 22px; border-bottom: 1px solid var(--plate-edge); padding-bottom: 10px; }
.subnav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 10px; }
.subnav a.on { background: var(--ink); color: var(--plate); }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tint); flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.status { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--tint); }
.status.ok { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.status.ko { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.code6 { display: flex; gap: 8px; justify-content: center; margin: 14px 0; }
.code6 input { width: 48px; height: 58px; text-align: center; font: 700 26px var(--font); border-radius: 12px; border: 1px solid var(--plate-edge); background: var(--bg); padding: 0; margin: 0; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.apps a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); background: var(--tint); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.apps a span { font-weight: 400; color: var(--dim); font-size: 12px; }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: 220px; height: 220px; display: block; margin: 8px auto; }
.secret { font-family: ui-monospace, Menlo, monospace; word-break: break-all; background: var(--tint); padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.modal { position: fixed; inset: 0; background: rgba(10, 20, 30, .55); display: grid; place-items: center; z-index: 40; padding: 16px; }
.modal .card { max-width: 520px; width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.club { background: linear-gradient(135deg, #173448, #17766d); color: #fff; border: 0; }
.club h2, .club h3 { color: #fff; }
.club .dim { color: #d4e4e2; }
.club .eyebrow { color: var(--badge); }
.toggle { display: inline-flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 3px; }
.toggle button { border: 0; background: transparent; color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.toggle button.on { background: #fff; color: #173448; }
.podium .step .who, .podium .step .pts { text-align: center; display: block; }

/* live */
.live-dot { width: 9px; height: 9px; vertical-align: middle; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 174, 99, .5); } 50% { box-shadow: 0 0 0 6px rgba(47, 174, 99, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-strip { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; text-decoration: none; color: var(--ink); background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 999px; padding: 10px 18px; margin-bottom: 22px; box-shadow: var(--shadow); }
.live-strip span:last-child { margin-left: auto; color: var(--accent); font-weight: 700; }
.live-card .art.live-idle { background: linear-gradient(160deg, var(--tint), var(--plate)); }

/* ---------------------------------------------------------------- v3: header search, editorial home, rubrics, back-office */
.hsearch { position: relative; flex: 0 1 260px; }
.hsearch input { width: 100%; margin: 0; padding: 9px 14px 9px 36px; border-radius: 999px; border: 1px solid var(--plate-edge); background: var(--plate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526773' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4.5' stroke-width='1.4'/%3E%3Cpath d='M12 12 18.4 5.6'/%3E%3Ccircle cx='15.6' cy='14.8' r='1.2' fill='%23526773' stroke='none'/%3E%3C/svg%3E") no-repeat 12px center / 17px; font-size: 15px; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 320px; background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 14px; box-shadow: var(--shadow-lift); padding: 6px; z-index: 30; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--tint); }
.suggest img { width: 56px; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; flex: none; }
.suggest span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.suggest b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest small { color: var(--dim); }
.suggest .chip { flex: none; font-size: 12px; }
.suggest a.all { justify-content: center; font-weight: 700; color: var(--accent); border-top: 1px solid var(--tint); border-radius: 0 0 10px 10px; }
@media (max-width: 980px) { .hsearch { order: 5; flex: 1 1 100%; } .suggest { min-width: 0; } }

.chip.paid { background: rgba(23, 52, 72, .9); color: #fff; }
.mcard .tags .chip.paid { background: rgba(23, 52, 72, .9); color: #fff; }
.mcard .tags .chip.owned { background: rgba(255, 250, 240, .95); color: var(--accent); }
.mcard.is-paid .art { filter: saturate(.82); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .mgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mgrid.four { grid-template-columns: 1fr; } }
.mcard.more { background: linear-gradient(160deg, var(--ink), #10506a); color: #fff; border: 0; min-height: 260px; }
.mcard.more .more-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; opacity: .45; }
.mcard.more .more-art img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mcard.more .more-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 18px; text-align: center; }
.mcard.more .more-plus { font: 700 40px var(--serif); line-height: 1; color: var(--badge); }
.mcard.more b { font-size: 18px; }
.mcard.more .small { color: #c9d6de; }

.sec-head { align-items: flex-end; margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head h2 a { color: inherit; text-decoration: none; }
.sec-head h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.home-sec + .home-sec { padding-top: 8px; border-top: 1px solid var(--plate-edge); }
.rubric-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.rubric-nav a { position: relative; display: block; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.rubric-nav img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.rubric-nav a:hover img { transform: scale(1.06); }
.rubric-nav span { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; font: 700 15px var(--serif); background: linear-gradient(transparent, rgba(10, 25, 35, .85)); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 54px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 980px) { .carousel { grid-auto-columns: minmax(250px, 46%); } }
@media (max-width: 560px) { .carousel { grid-auto-columns: 82%; } }
.car-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--plate-edge); background: var(--plate); font-size: 22px; line-height: 1; color: var(--ink); }
.car-btn:hover { background: var(--tint); }
.club-band { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; text-decoration: none; }
.club-band h2 { margin-bottom: 6px; }

.crumbs { color: var(--dim); margin-bottom: 12px; }
.rubric-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.rubric-hero img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lift); display: block; }
.rubric-hero-text { order: -1; }
@media (max-width: 820px) { .rubric-hero { grid-template-columns: 1fr; } .rubric-hero-text { order: 0; } }
.rubric-tabs { margin-top: 12px; }

/* back-office */
.kpi { text-decoration: none; color: inherit; }
a.kpi:hover { box-shadow: var(--shadow-lift); }
.admin-table td { vertical-align: middle; }
.admin-table .thumb { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.admin-table tr.edited td { background: color-mix(in srgb, var(--badge) 10%, transparent); }
.admin-table input[type=checkbox] { width: 18px; height: 18px; }
.price-in { width: 80px; margin: 0; padding: 6px 8px; border: 1px solid var(--plate-edge); border-radius: 8px; background: var(--bg); text-align: right; }
.home-edit.off { opacity: .6; }
.home-edit input { margin-top: 4px; }
.chip .x { border: 0; background: transparent; padding: 0 0 0 4px; font-size: 12px; color: var(--dim); }
code { font-family: ui-monospace, Menlo, monospace; background: var(--tint); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
/* header: brand, search and account on top; the menu below, on one line (scrolls sideways on phones) */
:root { color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
.top .in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search who" "nav nav nav"; gap: 8px 20px; padding-bottom: 4px; }
.top .brand { grid-area: brand; }
.top .hsearch { grid-area: search; justify-self: center; width: 100%; max-width: 460px; flex: none; order: 0; }
.top .who { grid-area: who; }
.top nav.main { grid-area: nav; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
.top nav.main::-webkit-scrollbar { display: none; }
nav.main a { white-space: nowrap; padding: 7px 12px; }
nav.main a.ext { color: var(--dim); font-weight: 600; }
nav.main .sep { flex: 1; }
@media (max-width: 700px) {
  .top .in { grid-template-columns: auto auto; grid-template-areas: "brand who" "search search" "nav nav"; }
  .top .hsearch { max-width: none; }
}
.admin-table .price-in { display: inline-block; width: 86px; }
.admin-table select.lang { max-width: 190px; }
#oq input, #uq input { display: inline-block; width: auto; flex: 1 1 280px; margin: 0; }

/* ---------------------------------------------------------------- v4: aviation magazine — anthracite masthead,
   off-white paper, serif titles with fine rules; colour comes from the pictures and the presence lamps. */
:root { --anth: #1f2225; --anth-2: #2c3034; --paper: #f6f4ee; --rule: #1f2225; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #15191c; --rule: #d9dde0; } }
body { background: var(--paper); }
.top { background: var(--anth); border-bottom: 3px double #cfcac0; backdrop-filter: none; color: #fff; }
.top .brand { color: #fff; }
.top nav.main a { color: #f1efe9; }
.top nav.main a.on { background: #fff; color: var(--anth); }
.top nav.main a:hover:not(.on) { background: var(--anth-2); }
.top nav.main a.ext { color: #aeb3b8; font-weight: 500; }
.top .hsearch input { background-color: var(--anth-2); border-color: #4a5056; color: #fff; }
.top .hsearch input::placeholder { color: #b9bec3; }
.top .lang { background: var(--anth-2); border-color: #4a5056; color: #fff; }
.top .btn.ghost { color: #fff; border-color: #5b6167; }
/* Language picker: globe, code, chevron; a small menu with each language in its own name. */
.langpick { position: relative; }
.lp-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 10px 6px 9px; border: 1px solid #5b6167; border-radius: 999px;
  background: var(--anth-2); color: #fff; font: 700 13px/1 var(--font); letter-spacing: .08em; cursor: pointer; transition: border-color .2s, background .2s; }
.lp-btn:hover, .langpick.open .lp-btn { border-color: #FFC23F; background: #33383d; }
.lp-globe { width: 18px; height: 18px; color: #FFC23F; flex: none; }
.lp-meridian { transform-origin: 12px 12px; }
.lp-btn:hover .lp-meridian, .langpick.open .lp-meridian { animation: lp-spin 1.6s linear infinite; }
@keyframes lp-spin { 0% { transform: scaleX(1); } 50% { transform: scaleX(.1); } 100% { transform: scaleX(1); } }
.lp-code { min-width: 2ch; }
.lp-sep { width: 1px; height: 16px; background: #5b6167; margin-left: 2px; }
.lp-chev { width: 12px; height: 12px; color: #b9bec3; transition: transform .25s; }
.lp-btn:hover .lp-chev, .langpick.open .lp-chev { color: #FFC23F; }
.langpick.open .lp-chev { transform: rotate(180deg); }
.lp-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 190px; padding: 6px; border-radius: 12px;
  background: var(--anth); border: 1px solid #4a5056; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transform-origin: top right; animation: lp-open .18s ease-out; }
.lp-menu::before { content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; background: var(--anth); border-left: 1px solid #4a5056; border-top: 1px solid #4a5056; transform: rotate(45deg); }
@keyframes lp-open { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.lp-item { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #f1efe9; text-decoration: none; font-weight: 600; font-size: 15px; }
.lp-item:hover, .lp-item:focus-visible { background: var(--anth-2); outline: none; }
.lp-item:focus-visible { box-shadow: inset 0 0 0 2px #FFC23F; }
.lp-tag { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; border: 1px solid #5b6167; font: 700 11px/1 var(--font); letter-spacing: .06em; color: #b9bec3; }
.lp-item.on .lp-tag { background: #FFC23F; border-color: #FFC23F; color: var(--anth); }
.lp-name { flex: 1; }
.lp-check { width: 16px; height: 16px; color: #FFC23F; opacity: 0; }
.lp-item.on .lp-check { opacity: 1; }
@media (max-width: 1023px) {
  .lp-btn { min-height: 44px; }
  .lp-item { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-menu, .lp-btn:hover .lp-meridian, .langpick.open .lp-meridian { animation: none; }
  .lp-chev { transition: none; }
}
.top .btn.ghost:hover { background: var(--anth-2); }
.top .btn.ghost.reg { background: #fff; color: var(--anth); border-color: #fff; }
.btn.dark { background: var(--anth); color: #fff; }
.btn.dark:hover { background: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.dark { background: #f1efe9; color: var(--anth); } }
.btn.light { background: #fff; color: var(--anth); }
.btn.block { display: flex; width: 100%; }
.chip.light { background: rgba(255, 255, 255, .94); color: var(--anth); }
.bw img { filter: grayscale(1) contrast(1.05); }

/* titles with a fine double rule, as in the magazine */
.rule { display: flex; align-items: center; gap: 14px; }
.rule::after { content: ""; flex: 1; min-width: 24px; height: 4px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.masthead { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 18px; }
.masthead h1 { flex: 1; margin: 0; font-size: clamp(30px, 6vw, 58px); letter-spacing: -1px; }
.tagline { margin: 0 0 8px; max-width: 18em; font: 700 12px/1.35 var(--serif); text-transform: uppercase; letter-spacing: 1px; text-align: right; }
@media (max-width: 700px) { .tagline { display: none; } }
h2.rule { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }

/* home: one column in priority order on phones; an editorial grid on wider screens */
.home { display: grid; gap: 26px 28px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "weekly" "board" "upcoming" "universes" "discover" "live" "dossier"; }
.h-weekly { grid-area: weekly; } .h-board { grid-area: board; } .h-upcoming { grid-area: upcoming; } .h-universes { grid-area: universes; }
.h-discover { grid-area: discover; } .h-live { grid-area: live; } .h-dossier { grid-area: dossier; }
@media (min-width: 900px) {
  .home { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    grid-template-areas: "weekly board" "upcoming live" "universes universes" "discover discover" "dossier dossier"; }
  .h-board, .h-live { border-left: 1px solid var(--plate-edge); padding-left: 24px; }
}
.feature { position: relative; display: block; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; background: var(--anth); aspect-ratio: 16 / 9; }
.feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-text { position: absolute; inset: auto 0 0 0; padding: 70px 22px 18px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(transparent, rgba(8, 14, 20, .82)); }
.feature-title { font: 700 clamp(26px, 4.6vw, 48px)/1.05 var(--serif); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.feature-lead { font-size: 15px; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.closes { font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .feature { aspect-ratio: 4 / 3; } .feature-lead { display: none; } .feature-text { padding: 50px 14px 14px; } .feature-foot .btn { width: 100%; } }
.mini-board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 6px 0 14px; }
.mini-board th { background: var(--tint); text-align: left; font-size: 13px; padding: 6px 10px; }
.mini-board td { padding: 9px 10px; border-bottom: 1px solid var(--plate-edge); font-weight: 600; }
.mini-board .n { text-align: right; }
.mini-board a { color: inherit; text-decoration: none; }
.mini-board a:hover { text-decoration: underline; }
.mini-board tr.me td { background: color-mix(in srgb, var(--accent) 10%, transparent); }
@media (max-width: 559px) { .mini-board tbody tr:nth-child(n+4) { display: none; } }
.upcoming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.ucard { display: flex; flex-direction: column; border: 1px solid var(--plate-edge); border-radius: 6px; overflow: hidden; background: var(--plate); text-decoration: none; color: inherit; }
.ucard-art { position: relative; display: block; }
.ucard-art img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.ucard-art .chip { position: absolute; top: 8px; right: 8px; }
.ucard-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.ucard-body b { font: 700 17px/1.25 var(--serif); }
@media (max-width: 560px) {
  .upcoming { grid-template-columns: 1fr; gap: 8px; }
  .ucard { flex-direction: row; align-items: center; }
  .ucard-art { flex: 0 0 38%; } .ucard-art img { aspect-ratio: 16 / 10; } .ucard-art .chip { top: 4px; right: 4px; font-size: 11px; padding: 2px 7px; }
}
.flying { list-style: none; margin: 0 0 10px; padding: 0; }
.flying li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--plate-edge); }
.flying li b { font-size: 16px; }
.flying li .fly { margin-left: auto; color: var(--dim); white-space: nowrap; }
.flying .lamp { width: 9px; height: 9px; flex: none; }
.universes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.universes a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--plate-edge); padding-bottom: 6px; }
.universes img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 4px; transition: transform .2s; }
.universes a:hover img { transform: scale(1.03); }
.universes span { font: 700 16px/1.2 var(--serif); margin-top: 8px; text-align: center; }
.universes a.on { border-bottom-color: var(--ink); }
@media (max-width: 900px) { .universes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 560px) { .universes span { font-size: 13px; } }
.discover { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: center; }
.dtile { display: flex; flex-direction: column; border: 1px solid var(--plate-edge); border-radius: 6px; overflow: hidden; background: var(--plate); text-decoration: none; color: inherit; }
.dtile:hover { box-shadow: var(--shadow-lift); }
.dtile-art { position: relative; display: block; }
.dtile-art img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.dtile-art .tags { position: absolute; top: 8px; right: 8px; }
.dtile-body { display: flex; flex-direction: column; padding: 8px 12px 10px; }
.dtile-body b { font: 700 16px/1.25 var(--serif); }
@media (max-width: 900px) { .discover { grid-template-columns: repeat(3, minmax(0, 1fr)); } .discover > .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .discover { grid-template-columns: 1fr; gap: 8px; }
  .dtile { flex-direction: row; align-items: center; }
  .dtile-art { flex: 0 0 34%; } .dtile-art img { aspect-ratio: 16 / 10; } .dtile-art .tags { top: auto; bottom: 4px; right: 4px; } .dtile-art .chip { font-size: 11px; padding: 2px 7px; }
}
.h-dossier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: center; border-top: 1px solid var(--plate-edge); padding-top: 22px; }
.dossier-art { position: relative; display: block; }
.dossier-art img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; object-position: 30% 35%; display: block; border-radius: 4px; filter: grayscale(1); }
.caption { position: absolute; left: 8px; bottom: 8px; font-size: 11px; background: rgba(0, 0, 0, .6); color: #fff; padding: 2px 8px; border-radius: 3px; }
.dossier-text h2 { margin-bottom: 6px; }
.dossier-text p { margin-bottom: 6px; }
.dossier-text a, .club-link { color: var(--ink); font-weight: 700; }
.club-link { white-space: nowrap; text-underline-offset: 4px; }
@media (max-width: 760px) { .h-dossier { grid-template-columns: 1fr; gap: 12px; } }

/* catalogue, rubric, search, sheet */
.era-tabs { margin-top: 12px; }
@media (max-width: 560px) {
  .mgrid { grid-template-columns: 1fr; gap: 10px; }
  .mgrid .mcard { display: grid; grid-template-columns: 38% 1fr; }
  .mgrid .mcard .art { height: 100%; aspect-ratio: auto; min-height: 110px; }
  .mgrid .mcard .body { padding: 10px 12px; }
  .mgrid .mcard .meta, .mgrid .mcard .clamp { display: none; }
  .mgrid .mcard h3 { font-size: 16px; }
}
.results { display: flex; flex-direction: column; }
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--plate-edge); }
.result img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 4px; }
.result h2 { margin: 0 0 8px; }
.result h2 a { color: inherit; text-decoration: none; }
.result-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-weight: 600; margin-bottom: 8px; }
.result-meta > span + span { border-left: 1px solid var(--plate-edge); padding-left: 14px; }
@media (max-width: 640px) { .result { grid-template-columns: 1fr; gap: 10px; } }
.hero-fig { margin: 0; }
.hero-fig figcaption { margin-top: 6px; }
.chip.paid { background: var(--anth); color: #fff; }

/* Club */
.club-offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; border-top: 1px solid var(--plate-edge); padding-top: 20px; }
.club-offer .lead { max-width: 52ch; }
.perks { margin: 0; padding-left: 20px; }
.perks li { margin: 6px 0; }
.club-price { background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 6px; padding: 20px; }
.club-price .price { font-size: 34px; }
@media (max-width: 760px) { .club-offer { grid-template-columns: 1fr; } }
/* phones: the header fits 390 px (sign-up stays on the sign-in page and in the sheets) */
@media (max-width: 560px) {
  .top .in { grid-template-columns: minmax(0, 1fr) auto; }
  .top .brand { font-size: 16px; white-space: nowrap; }
  .top .btn.ghost.reg { display: none; }
}
.home > section, .h-dossier > * { min-width: 0; }
.discover { align-items: stretch; }
.discover > .btn { align-self: center; }
.mcard.bw .art, .mcard.bw.is-paid .art { filter: grayscale(1) contrast(1.05); }

/* ================================================================ v4 graphics: kit tokens, universes, mission sheet */
:root:not([data-theme="dark"]) {
  --anth: #1d1d1d; --paper: #f7f6f3; --bg: #f7f6f3; --ink: #171717; --dim: #5b5a57; --plate: #fbfaf8;
  --plate-edge: #bdbab3; --rule: #171717; --tint: #ebe9e4; --accent: #1d1d1d; --accent-dark: #000;
  --shadow: none; --shadow-lift: 0 8px 20px rgba(23, 23, 23, .10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --anth: #1d1d1d; --paper: #141414; --bg: #141414; --ink: #f1efea; --dim: #b4b1aa; --plate: #1c1c1c; --plate-edge: #4a4844; --rule: #f1efea; --tint: #262624; --accent: #f1efea; --accent-dark: #fff; }
}
:root { --display: Georgia, "Times New Roman", serif; }
:focus-visible { outline: 3px solid #a46120; outline-offset: 4px; }
body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
.eyebrow { color: var(--ink); font: 700 11px/1.35 var(--font); letter-spacing: .14em; }
.btn { border-radius: 4px; }
.btn:not(.ghost):not(.gold):not(.light) { background: var(--anth); color: #fff; }
.btn:not(.ghost):not(.gold):not(.light):hover { background: #000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.ghost):not(.gold):not(.light) { background: #f1efea; color: #171717; }
  :root:not([data-theme="light"]) .btn:not(.ghost):not(.gold):not(.light):hover { background: #fff; }
}
:root[data-theme="dark"] .btn:not(.ghost):not(.gold):not(.light) { background: #f1efea; color: #171717; }
:root[data-theme="dark"] .btn:not(.ghost):not(.gold):not(.light):hover { background: #fff; }
.card, .mcard, .dtile, .ucard, .club-price { border-radius: 4px; box-shadow: none; }
.mcard:hover { transform: none; box-shadow: var(--shadow-lift); }
.chip.owned { background: transparent; border: 1px solid currentColor; color: var(--ink); }
.mcard .tags .chip.owned { background: rgba(255, 255, 255, .95); color: #171717; }

/* page width as the kit: 1344 px of content, 40 px gutters, 15 px on phones */
.top .in, main { max-width: 1424px; padding-left: 40px; padding-right: 40px; }
main { padding-top: 22px; }
@media (max-width: 900px) { .top .in, main { padding-left: 22px; padding-right: 22px; } }
@media (max-width: 600px) { .top .in, main { padding-left: 15px; padding-right: 15px; } }
.top { background: var(--anth); border-bottom: 4px double var(--paper); }
.top nav.main a { border-radius: 4px; font-weight: 650; }
.top nav.main a.on { background: var(--paper); color: #171717; }
/* phones: the five destinations fit on one line; Touch Portal and the livery stay in the footer */
@media (max-width: 600px) {
  .top nav.main { gap: 2px; }
  .top nav.main a { font-size: 13px; padding: 10px 7px; min-height: 44px; display: inline-flex; align-items: center; }
  .top nav.main a.ext, .top nav.main .sep { display: none; }
}

/* index of the universes */
.page-intro { display: grid; grid-template-columns: 2.2fr 1fr; align-items: end; gap: 28px; padding: 10px 0 22px; border-bottom: 4px double var(--rule); }
.page-intro h1 { font-size: clamp(44px, 6.3vw, 94px); letter-spacing: -.06em; line-height: 1.02; margin: 8px 0 0; }
.page-intro p:last-child { max-width: 38ch; color: var(--dim); font-size: 16px; margin: 0; }
.page-intro .eyebrow { margin: 0; }
.editorial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; padding-block: 24px 36px; }
.universe-card { display: block; min-width: 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--plate-edge); padding-bottom: 12px; }
.universe-card img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; background: var(--tint); }
.card-meta { display: flex; justify-content: space-between; gap: 8px; margin: 9px 0 5px; color: var(--dim); font: 700 10px/1.35 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.universe-card h2 { margin: 0; font-size: clamp(22px, 2.45vw, 36px); letter-spacing: -.04em; line-height: 1.04; }
.universe-card p { margin: 6px 0 0; color: var(--dim); font-size: 13px; }
.arrow { font: 18px/1 var(--font); }
.editorial-grid.compact { padding-block: 4px 8px; gap: 18px 16px; }
.editorial-grid.compact h2 { font-size: clamp(20px, 2vw, 28px); }
.all-missions { margin-top: 18px; }
@media (max-width: 900px) { .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .editorial-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .page-intro { grid-template-columns: 1fr; align-items: start; gap: 8px; padding: 6px 0 13px; }
  .page-intro h1 { font-size: clamp(37px, 12vw, 59px); }
  .page-intro p:last-child { font-size: 14px; }
  .editorial-grid, .editorial-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 11px; padding-block: 14px 18px; }
  .universe-card img { aspect-ratio: 4 / 3; }
  .universe-card h2, .editorial-grid.compact h2 { font-size: clamp(18px, 5.6vw, 24px); }
  .universe-card p { font-size: 12px; line-height: 1.35; }
  .card-meta { letter-spacing: .05em; font-size: 9.5px; }
}

/* universe sheet */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 13px; color: var(--dim); }
.breadcrumb a { color: var(--dim); }
.cover { display: grid; grid-template-columns: 1fr 1.9fr; gap: 24px; align-items: stretch; margin-top: 18px; padding-bottom: 22px; border-bottom: 4px double var(--rule); }
.cover-copy { align-self: center; }
.cover-copy .eyebrow { margin: 0; }
.cover h1 { font-size: clamp(45px, 6vw, 91px); letter-spacing: -.065em; line-height: 1.02; margin: 10px 0 14px; }
.cover-copy p { max-width: 40ch; color: var(--dim); }
.cover picture, .cover img { display: block; width: 100%; }
.cover img { aspect-ratio: 2.4; object-fit: cover; background: var(--tint); }
.level-group { display: grid; grid-template-columns: minmax(0, 1fr) 2.5fr; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--plate-edge); scroll-margin-top: 140px; }
.level-group h2 { margin: 0; font-size: clamp(26px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.04; }
.group-count { display: block; margin-top: 5px; color: var(--dim); font-size: 12px; }
.mission-list { list-style: none; margin: 0; padding: 0; }
.mission-list li + li { border-top: 1px solid var(--tint); }
.mission-list a { min-height: 48px; display: grid; grid-template-columns: 26px 96px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; padding: 7px 0; text-decoration: none; color: var(--ink); }
.mission-list strong { font: 700 clamp(16px, 2vw, 21px)/1.18 var(--display); }
.mission-list .thumb { width: 96px; height: 64px; object-fit: cover; object-position: var(--mission-image-position, 50% 50%); border-radius: 3px; background: var(--tint); display: block; }
.index-num { color: var(--dim); font: 700 11px/1.35 var(--font); letter-spacing: .14em; }
.mission-list .arrow { color: var(--dim); }
.acc-badge { border: 1px solid var(--plate-edge); padding: 3px 7px; border-radius: 3px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.acc-badge.free { background: var(--anth); color: #fff; border-color: var(--anth); }
.acc-badge.ok { border-color: var(--ink); }
.bw img, .cover.bw img { filter: grayscale(1); }
@media (max-width: 600px) {
  .cover { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; padding-bottom: 14px; }
  .cover h1 { font-size: 52px; margin: 5px 0 8px; }
  .cover img { aspect-ratio: 4 / 3; }
  .cover-copy p:not(.eyebrow) { font-size: 14px; }
  .level-group { grid-template-columns: 1fr; gap: 7px; padding-block: 12px; }
  .level-group h2 { font-size: 28px; }
  .mission-list a { grid-template-columns: 20px 72px minmax(0, 1fr) auto 14px; gap: 8px; }
  .mission-list .thumb { width: 72px; height: 48px; }
  .mission-list strong { font-size: 16px; }
  .acc-badge { font-size: 10px; padding: 2px 5px; }
}

/* mission sheet */
.sheet { display: grid; grid-template-columns: 1.75fr 1fr; gap: 28px; margin-top: 20px; }
.sheet figure { margin: 0; }
.sheet figure img { display: block; width: 100%; aspect-ratio: 1.9; object-fit: cover; background: var(--tint); }
.sheet figcaption { font-size: 11px; color: var(--dim); margin-top: 7px; }
.sheet-main { padding-bottom: 18px; } /* the briefing below draws the rule: one line, not two */
.sheet-main .eyebrow { margin: 0 0 10px; }
.sheet-lead { color: var(--dim); font-size: 16px; }
/* The briefing in the chief pilot's voice: play, pause, resume. */
.brief-play { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin: 2px 0 14px; padding: 0 16px 0 12px; border: 1px solid var(--plate-edge); border-radius: 999px; background: transparent; color: var(--ink); font: 700 14px/1 var(--font); cursor: pointer; }
.brief-play:hover { background: var(--tint); }
.brief-play svg { flex: none; color: var(--accent); }
.brief-play .bp-pause, .brief-play[data-state="playing"] .bp-play { display: none; }
.brief-play[data-state="playing"] .bp-pause { display: block; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 0; }
.facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.facts > div { padding-block: 10px; border-top: 1px solid var(--plate-edge); min-width: 0; }
.facts dt { color: var(--dim); font-size: 12px; }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.brief { margin-top: 22px; border-top: 1px solid var(--rule); padding: 12px 0 8px; scroll-margin-top: 140px; }
.brief h2 { font-size: clamp(26px, 4vw, 42px); margin: 6px 0 10px; }
.brief > p { color: var(--dim); max-width: 75ch; }
@media (max-width: 760px) { .facts.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .sheet { grid-template-columns: 1fr; gap: 12px; margin-top: 13px; }
  .sheet figure img { aspect-ratio: 4 / 3; }
  .sheet-actions .btn { width: 100%; min-height: 44px; }
}
.page-intro h1 { font-size: clamp(44px, 5.5vw, 88px); letter-spacing: -.065em; }
@media (max-width: 600px) { .page-intro h1 { font-size: clamp(37px, 12vw, 59px); } }
.chip.free, .mcard .tags .chip.free { background: var(--anth); color: #fff; }
.dtile-art .chip.free, .mcard .tags .chip.free { box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
@media (max-width: 380px) { .top nav.main a { font-size: 12.5px; padding: 10px 5px; } .top nav.main .live-dot { width: 7px; height: 7px; } }

/* ---------------------------------------------------------------- mission pictures (83 WebP, 3:2) */
/* width/height reserve the place; the box's aspect-ratio decides the crop, the mission its framing. */
:where(img[width][height]) { height: auto; }
img[srcset*="/img/missions/"] { object-fit: cover; object-position: var(--mission-image-position, 50% 50%); }
.mcard .art, .result img { aspect-ratio: 3 / 2; }
.dtile-art img { aspect-ratio: 16 / 9; }
.suggest a.bw img { filter: grayscale(1); }
@media (max-width: 560px) { .dtile-art img, .ucard-art img { aspect-ratio: 4 / 3; } }

/* ================================================================ v6: menu, sign-in effects, Club launch and trial, FAQ, globe */
/* The selected tab: light paper on the anthracite bar in both themes (in dark mode --paper is near black). */
.top nav.main a.on, .top nav.main a.on:hover { background: #f7f6f3; color: #171717; }
/* Hover: a gold bar slides under the label, the tab lifts a little. */
.top nav.main a { position: relative; transition: background-color .18s, color .18s, transform .18s; }
.top nav.main a:not(.on)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: #f3c45e; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.top nav.main a:not(.on):hover { background: #34393e; color: #fff; transform: translateY(-1px); }
.top nav.main a:not(.on):hover::after, .top nav.main a:not(.on):focus-visible::after { transform: scaleX(1); }
.top nav.main a.ext:hover { color: #fff; }

/* « Connexion »: a small aircraft crosses the button. « Créer un compte »: the pilot nods, his scarf flies. */
.top .who .btn svg { width: 18px; height: 18px; flex: none; }
.fly-in { position: relative; overflow: hidden; }
.fly-in .plane { position: absolute; left: -22px; top: 50%; transform: translateY(-50%) rotate(-6deg); opacity: 0; }
.fly-in:hover .plane, .fly-in:focus-visible .plane { animation: fly-across 1.15s cubic-bezier(.45, .05, .55, .95) infinite; }
.fly-in:hover span { animation: wobble 1.15s ease-in-out infinite; }
@keyframes fly-across {
  0% { left: -22px; opacity: 0; transform: translateY(-20%) rotate(-10deg); }
  15% { opacity: 1; }
  50% { transform: translateY(-80%) rotate(-4deg); }
  85% { opacity: 1; }
  100% { left: calc(100% + 4px); opacity: 0; transform: translateY(-55%) rotate(-8deg); }
}
@keyframes wobble { 0%, 100% { transform: none; } 50% { transform: translateY(1px); } }

/* Club: launch price, free trial, Stripe */
.launch-flag { align-self: flex-start; margin: 0; background: #d3402f; color: #fff; font: 800 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; }
.trial-big { margin: 0; font: 700 clamp(28px, 3.4vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.club-price .trial-big + .small { margin: -4px 0 -6px; color: var(--dim); }
.price s.was, .modal s.was { color: var(--dim); font-weight: 500; font-size: .62em; text-decoration-thickness: 2px; text-decoration-color: #d3402f; margin-right: 4px; }
.cta-club { min-height: 52px; font-size: 17px; position: relative; overflow: hidden; }
.cta-club::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(-100%); }
.cta-club:hover::after { transition: transform .7s; transform: translateX(100%); }
.trial-steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; display: grid; gap: 10px; border-top: 1px solid var(--plate-edge); padding-top: 14px; }
.trial-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: baseline; }
.trial-steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--anth); color: #fff; font: 700 14px/1 var(--font); }
.trial-steps span { color: var(--dim); font-size: 14px; }
.trial-note { margin: 0; padding: 10px 12px; background: var(--tint); border-left: 3px solid #f3c45e; font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 12px; border-top: 1px solid var(--plate-edge); font-size: 12.5px; color: var(--dim); }
.trust img { display: block; height: 27px; width: auto; }
.modal .trust { margin-top: 4px; }

/* FAQ */
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--plate-edge); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font: 700 clamp(17px, 1.9vw, 21px)/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font); transition: transform .2s; color: var(--dim); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq details p { margin: 0 0 16px; max-width: 75ch; color: var(--dim); }
.faq details a { color: var(--ink); font-weight: 650; }

/* Home: the Club's call in the flight files, the globe, the FAQ */
.home { grid-template-areas: "weekly" "board" "upcoming" "universes" "discover" "live" "dossier" "globe" "faq"; }
@media (min-width: 900px) { .home { grid-template-areas: "weekly board" "upcoming live" "universes universes" "discover discover" "dossier dossier" "globe globe" "faq faq"; } }
.h-globe { grid-area: globe; } .home > .faq { grid-area: faq; margin-top: 0; }
.club-pitch { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; max-width: 300px; background: var(--anth); color: #fff; text-decoration: none; border-radius: 4px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.club-pitch::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(243, 196, 94, .35), transparent 55%); pointer-events: none; }
.club-pitch:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }
.club-pitch-kicker { font: 700 10px/1.35 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #f3c45e; }
.club-pitch b { font: 700 22px/1.12 var(--display); }
.club-pitch-btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #f3c45e; color: #171717; font-weight: 800; padding: 10px 14px; border-radius: 4px; }
.club-pitch-btn .plane { width: 18px; height: 18px; transition: transform .35s; }
.club-pitch:hover .club-pitch-btn .plane { transform: translate(5px, -4px) rotate(-14deg); }
@media (max-width: 760px) { .club-pitch { max-width: none; } }
.globe-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: center; background: radial-gradient(ellipse at 70% 50%, #1b3442 0%, #0d171e 70%); color: #eef2f4; border-radius: 6px; padding: 26px 30px; overflow: hidden; }
.globe-copy .eyebrow { color: #f3c45e; margin: 0 0 8px; }
.globe-lead { font: 400 clamp(17px, 1.7vw, 20px)/1.45 var(--display); margin: 0 0 16px; }
.globe-legend { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.globe-legend li { display: flex; align-items: center; gap: 10px; }
.globe-legend .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.globe-legend .dot.any { background: #3fb3a6; box-shadow: 0 0 0 4px rgba(63, 179, 166, .3); }
.globe-legend .dot.fixed { background: #f3c45e; }
.globe-copy .btn.ghost { color: #fff; border-color: #5b6167; }
.globe-copy .btn.ghost:hover { background: #2c3034; }
.globe-copy .btn.dark { background: #f1efe9 !important; color: #171717 !important; }
.globe-copy .dim { color: #b9c4cb; min-height: 1.4em; }
.globe { height: clamp(320px, 42vw, 520px); min-width: 0; cursor: grab; position: relative; }
.globe.off { display: none; }
.globe-tip { background: rgba(13, 23, 30, .92); color: #fff; padding: 8px 10px; border-radius: 4px; font: 13px/1.35 var(--font); display: flex; flex-direction: column; gap: 2px; max-width: 240px; }
.globe-tip b { color: #f3c45e; }
@media (max-width: 760px) { .globe-wrap { grid-template-columns: 1fr; padding: 20px 16px; } .globe { height: 320px; } }

@media (prefers-reduced-motion: reduce) {
  .fly-in:hover .plane, .fly-in:hover span, .reg:hover .prop .blades { animation: none; }
  .top .who .btn.reg span, .top .who .btn.reg .prop { transition: none; }
  .top nav.main a, .club-pitch, .cta-club::after { transition: none; }
}
.club-price .launch-flag { width: max-content; justify-self: start; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* ================================================================ v7: header (active section, phones) and the Club page */
/* The current section: white text, a saffron bar under it (the pill was nearly invisible on Club). */
.top nav.main a.on, .top nav.main a.on:hover { background: transparent; color: #fff; }
.top nav.main a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: #FFC23F; }
.top-menu { display: contents; }
.menu-toggle { display: none; }

/* Phones and tablets: brand and a menu button; the training airport, search, sections, then account (left) and language (right) open below it. */
@media (max-width: 1023px) {
  .top .in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand toggle"; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 0 12px; }
  .menu-toggle { grid-area: toggle; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #5b6167; border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
  .top.open .menu-toggle .bars { background: transparent; }
  .top.open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
  .top.open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .top-menu { display: none; }
  /* Open: the menu covers the whole screen (no page showing below it), the page behind does not scroll. */
  .top.open { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; border-bottom: 0; }
  .top.open .in { min-height: 100%; align-content: start; }
  html:has(.top.open) { overflow: hidden; }
  .top.open .top-menu { display: flex; flex-direction: column; gap: 12px; grid-column: 1 / -1; padding: 12px 0 8px; }
  .top.open .top-menu .hsearch { order: 0; max-width: none; width: 100%; }
  .top.open .top-menu nav.main { order: 1; display: flex; flex-direction: column; gap: 2px; margin: 0; overflow: visible; }
  .top.open .top-menu nav.main a { font-size: 17px; padding: 12px 10px; min-height: 44px; }
  .top.open .top-menu nav.main a.on::after { display: none; }
  /* Touch Portal and the livery stay in the footer; the airport has its own line above the search. */
  .top.open .top-menu nav.main a.ext, .top.open .top-menu nav.main .sep, .top.open .top-menu nav.main a.airport { display: none; }
  .top.open .top-menu .menu-airport:not([hidden]) { order: -1; display: flex; }
  .top.open .top-menu .who { order: 2; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .top.open .top-menu .who .langpick { order: 2; margin-left: auto; }
  .top.open .top-menu .who .usermenu { order: 1; flex: 1 1 auto; width: auto; }
  .top.open .top-menu .who .btn.ghost.reg { display: none; }
  .top.open .top-menu .who .btn.small { min-height: 44px; display: inline-flex; align-items: center; }
}
.menu-airport { display: none; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #4a5056; border-radius: 6px; background: var(--anth-2); color: #f3c45e; text-decoration: none; font-size: 15px; }
.menu-airport b { letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.menu-airport span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-airport .ico { flex: none; }
.menu-airport:hover { color: #fff; border-color: #f3c45e; }

/* ---- Club page: « carnet de vol » (kit tokens: ink, ivory, saffron) */
body[data-page="club"] main { max-width: none; padding: 0; }
.club-page { --club-ink: #151515; --club-ivory: #F4F0E6; --club-saffron: #FFC23F; --club-muted: #CAC6BE; --club-rule: #BDB5A7;
  --club-serif: Georgia, "Times New Roman", serif; --club-sans: var(--font, system-ui, sans-serif); --club-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --club-gutter: clamp(16px, 3.3vw, 48px); background: var(--club-ink); color: var(--club-ivory); }
.club-page :focus-visible { outline: 3px solid var(--club-saffron); outline-offset: 4px; }
.club-wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--club-gutter); }

/* hero: the lagoon full frame, a dark veil on the text side only */
.club-hero { position: relative; overflow: hidden; isolation: isolate; }
.club-hero-bg { position: absolute; inset: 0; z-index: -1; }
.club-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; display: block; }
.club-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21, 21, 21, .88) 0%, rgba(21, 21, 21, .7) 30%, rgba(21, 21, 21, .12) 56%, rgba(21, 21, 21, .05) 70%, rgba(21, 21, 21, .35) 100%),
    linear-gradient(0deg, rgba(21, 21, 21, .75) 0%, rgba(21, 21, 21, 0) 28%); }
.club-hero-in { max-width: 1440px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--club-gutter) clamp(28px, 3.4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(340px, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; min-height: clamp(560px, 46vw, 680px); }
.club-story { display: flex; flex-direction: column; min-height: 100%; }
.club-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--club-saffron); font: 700 14px/1.2 var(--club-sans); letter-spacing: .16em; text-transform: uppercase; }
.club-kicker::after { content: ""; width: min(120px, 18vw); height: 1px; background: currentColor; }
.club-hero h1 { margin: 0; max-width: 11ch; color: #fff; font: 700 clamp(44px, 5.5vw, 80px)/1.02 var(--club-serif); letter-spacing: -.025em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.club-hero h1 em { color: var(--club-saffron); font-style: italic; }
.club-lead { margin: 18px 0 0; max-width: 34ch; color: #F1EFE9; font: 400 clamp(17px, 1.45vw, 20px)/1.5 var(--club-sans); }
.club-prints { display: flex; gap: 22px; margin-top: auto; padding-top: clamp(24px, 3vw, 40px); }
.club-print { position: relative; display: block; width: clamp(160px, 16vw, 236px); padding: 8px 8px 34px; background: #FBF8F1; color: var(--club-ink); text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .25s; }
.club-print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.club-print.bw img { filter: grayscale(1) contrast(1.05); }
.club-print.tilt-l { transform: rotate(-4deg); } .club-print.tilt-r { transform: rotate(3deg) translateY(10px); }
.club-print:hover { transform: rotate(0) translateY(-4px); }
.club-print-cap { position: absolute; left: 10px; right: 10px; bottom: 8px; font: 12px/1.2 var(--club-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-stats { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; color: var(--club-muted); font: 600 13px/1.3 var(--club-mono); letter-spacing: .16em; text-transform: uppercase; }
.club-stats::after { content: ""; flex: 1; max-width: 220px; height: 1px; background: currentColor; opacity: .6; }

/* the offer: an ivory panel, a saffron tab, one saffron call */
.club-offer { position: relative; margin-top: 18px; padding: 30px 28px 22px; background: var(--club-ivory); color: var(--club-ink); border-radius: 6px;
  --ink: #151515; --dim: #4F4B44; --plate-edge: #BDB5A7; }
.club-offer :focus-visible { outline-color: var(--club-ink); }
.club-tab { position: absolute; top: -14px; left: 22px; margin: 0; padding: 7px 12px; background: var(--club-saffron); color: var(--club-ink); border-radius: 3px; font: 800 12.5px/1 var(--club-sans); letter-spacing: .06em; text-transform: uppercase; }
.club-offer h2 { margin: 6px 0 14px; font: 700 clamp(28px, 2.3vw, 34px)/1.06 var(--club-serif); letter-spacing: -.015em; }
.club-price-block p { margin: 0; }
.club-amount { font: 700 clamp(56px, 4.9vw, 72px)/1 var(--club-serif); letter-spacing: -.03em; }
.club-period { margin-top: 2px !important; font: 700 22px/1.2 var(--club-serif); }
.club-next { margin-top: 6px !important; font: 400 20px/1.3 var(--club-sans); }
.club-next b { font-weight: 800; }
.club-terms { margin: 10px 0 16px; font: 14.5px/1.45 var(--club-sans); color: #2E2B26; }
.club-primary-cta { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 18px; border: 0; border-radius: 6px;
  background: var(--club-saffron); color: var(--club-ink); font: 800 17px/1.2 var(--club-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.club-primary-cta:hover { background: #F2AE17; transform: translateY(-1px); }
.club-primary-cta .arr { width: 20px; height: 20px; flex: none; }
.cta-short { display: none; }
.club-under { margin: 8px 0 0; text-align: center; font: 14px/1.4 var(--club-sans); color: #2E2B26; }
.club-signin { margin: 6px 0 0; text-align: center; font: 14px/1.4 var(--club-sans); }
.club-signin a, .club-state a { color: var(--club-ink); font-weight: 700; text-underline-offset: 3px; }
.club-state { margin: 0 0 14px; font: 15px/1.5 var(--club-sans); }
.club-closed { font: 16px/1.5 var(--club-sans); }
.club-perks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--club-rule); display: grid; gap: 9px; font: 15px/1.35 var(--club-sans); }
.club-perks li { display: flex; align-items: center; gap: 10px; }
.club-perks .tick { width: 18px; height: 18px; flex: none; }
.club-offer .trust { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--club-rule); color: #4F4B44; }

/* universes: the site's theme (paper and ink, light or dark, as the home), a strip of four pictures
   cut on the bias, History in black and white */
.club-universes { background: var(--paper); color: var(--ink); padding: clamp(36px, 4.5vw, 64px) 0 clamp(32px, 4vw, 56px); }
.club-rule { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin: 0; font: 700 clamp(30px, 3.9vw, 54px)/1.05 var(--club-serif); letter-spacing: -.025em; text-align: center; }
.club-rule::before, .club-rule::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: var(--rule); }
.club-uni-lead { margin: 10px auto 26px; text-align: center; font: 17px/1.5 var(--club-sans); color: var(--dim); }
.club-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.club-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--tint); color: var(--ink); text-decoration: none;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); margin-inline: -1.2%; }
.club-tile:first-child { clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%); margin-inline-start: 0; }
.club-tile:last-child { clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%); margin-inline-end: 0; }
.club-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.club-tile:hover img { transform: scale(1.04); }
.club-universe-history img { filter: grayscale(1); }
.club-universe-extreme img { object-position: 50% 60%; } .club-universe-fun img { object-position: 55% 50%; } .club-universe-ufo img { object-position: 50% 35%; }
.club-tile-label { position: absolute; left: 9%; bottom: 14px; padding: 4px 12px 5px; background: var(--paper); color: var(--ink); font: italic 700 clamp(18px, 1.7vw, 24px)/1.1 var(--club-serif); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.club-tile:first-child .club-tile-label { left: 14px; }
.club-tile:focus-visible { outline: none; } .club-tile:focus-visible .club-tile-label { outline: 3px solid var(--ink); outline-offset: 2px; }
.club-all { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; margin: 22px 0 0; font: 700 13px/1.4 var(--club-sans); letter-spacing: .16em; text-transform: uppercase; }
.club-all a { color: var(--ink); text-decoration: none; padding: 6px 2px; }
.club-all a:hover { text-decoration: underline; text-underline-offset: 4px; }
.club-all span { color: var(--dim); }
.club-universes .faq { margin-top: clamp(32px, 4vw, 52px); }
.club-universes .faq summary { color: var(--ink); }

/* the end: ink band, the free way in */
.club-end { background: var(--club-ink); color: #fff; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid #2a2a2a; }
.club-end .club-wrap { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.club-end h2 { margin: 0; padding-right: 28px; border-right: 1px solid #5b5b5b; font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--club-serif); }
.club-end p { margin: 0; flex: 1 1 280px; color: var(--club-muted); font: 16px/1.5 var(--club-sans); }
.club-ghost-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 1px solid #fff; border-radius: 6px; color: #fff; text-decoration: none; font: 700 16px/1.2 var(--club-sans); }
.club-ghost-cta:hover { background: #fff; color: var(--club-ink); }
.club-ghost-cta .arr { width: 18px; height: 18px; }

/* subscription summary: the three phases with their dates */
.modal .seq { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--plate-edge); }
.modal .seq li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--plate-edge); }
.modal .seq li span { display: flex; flex-direction: column; font-weight: 650; }
.modal .seq small { font-weight: 400; color: var(--dim); }
.modal .seq b { white-space: nowrap; font: 700 20px/1.2 var(--display, Georgia, serif); }

/* tablet: two columns while the price stays readable, then the offer below the story */
@media (max-width: 1099px) {
  .club-hero-in { grid-template-columns: minmax(0, 1.4fr) minmax(330px, 1fr); }
  .club-prints { gap: 14px; } .club-print { width: clamp(140px, 17vw, 190px); }
}
@media (max-width: 899px) {
  .club-hero-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .club-hero-bg { bottom: auto; height: clamp(560px, 92vw, 760px); }
  .club-hero-bg::after { background: linear-gradient(180deg, rgba(21, 21, 21, .82) 0%, rgba(21, 21, 21, .45) 34%, rgba(21, 21, 21, .1) 58%, rgba(21, 21, 21, .6) 82%, #151515 100%); }
  .club-hero-bg img { object-position: 50% 50%; }
  .club-story { min-height: clamp(470px, 78vw, 640px); }
  .club-offer { margin-top: 26px; max-width: 640px; width: 100%; justify-self: center; }
  .club-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .club-tile, .club-tile:first-child, .club-tile:last-child { clip-path: none; margin: 0; border-radius: 4px; }
  .club-tile-label { left: 12px !important; }
  .club-end h2 { border-right: 0; padding-right: 0; flex-basis: 100%; }
}
@media (max-width: 699px) {
  .club-hero-in { padding-top: 22px; }
  .club-hero h1 { font-size: clamp(40px, 11.6vw, 46px); max-width: 9.5ch; }
  .club-lead { font-size: 16.5px; }
  .club-prints { display: none; } /* the price and the trial come first on a phone */
  .club-story { min-height: clamp(380px, 104vw, 470px); }
  .club-hero-bg { height: clamp(500px, 136vw, 600px); }
  .club-hero-bg img { object-position: 46% 55%; }
  .club-stats { margin-top: auto; padding-top: 18px; font-size: 11.5px; letter-spacing: .12em; }
  .club-offer { padding: 28px 18px 18px; }
  .club-amount { font-size: clamp(56px, 16vw, 64px); }
  .cta-long { display: none; } .cta-short { display: inline; }
  .club-rule { font-size: clamp(28px, 8vw, 34px); }
  .club-rule::before, .club-rule::after { display: none; }
  .club-strip { gap: 8px; }
  .club-end .club-wrap { flex-direction: column; align-items: stretch; }
  .club-ghost-cta { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .club-print, .club-tile img, .club-primary-cta, .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { transition: none; }
  .club-tile:hover img, .club-print:hover { transform: none; }
  .club-print.tilt-l:hover { transform: rotate(-4deg); } .club-print.tilt-r:hover { transform: rotate(3deg) translateY(10px); }
}
/* the former Club page used .club-offer as a two-column grid: not here */
.club-page .club-offer { display: block; grid-template-columns: none; border-top: 0; align-self: start; }
.club-print-cap { font-size: 11px; }
@media (max-width: 699px) {
  .club-end p { flex: none; }
  .club-hero-bg::after { background: linear-gradient(180deg, rgba(21, 21, 21, .9) 0%, rgba(21, 21, 21, .72) 30%, rgba(21, 21, 21, .15) 52%, rgba(21, 21, 21, .55) 80%, #151515 100%); }
  .club-all { gap: 4px 16px; letter-spacing: .12em; }
  .club-all span { display: none; }
}
/* tablets: the search gets its own row (the kit) */
@media (min-width: 700px) and (max-width: 899px) {
  .top .in { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand who" "search search" "nav nav"; }
  .top .who { justify-self: end; }
  .top .hsearch { max-width: none; justify-self: stretch; }
}
/* 900–1099 px: the panel takes more of the width; the photo moves left so the aircraft stays clear of it */
@media (min-width: 900px) and (max-width: 1099px) {
  .club-hero-bg img { width: 128%; max-width: none; margin-left: -22%; }
}
.club-primary-cta { white-space: nowrap; font-size: clamp(15.5px, 1.25vw, 17px); }

/* « Créer un compte »: nothing at rest; on hover a propeller slides in from the left and spins. */
/* Fixed width (nothing beside it moves): the text is centred at rest and slides right to make room. */
.top .who .btn.reg { position: relative; gap: 0; padding-inline: 25px; }
.top .who .btn.reg span { transition: transform .25s ease; }
.top .who .btn.reg .prop { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; opacity: 0; transform: scale(.5) rotate(-90deg); transition: opacity .2s ease, transform .25s ease; }
.top .who .btn.reg:hover .prop, .top .who .btn.reg:focus-visible .prop { opacity: 1; transform: none; }
.top .who .btn.reg:hover span, .top .who .btn.reg:focus-visible span { transform: translateX(13px); }
.reg .prop .blades { transform-origin: 12px 12px; }
.reg:hover .prop .blades, .reg:focus-visible .prop .blades { animation: prop-spin .45s linear infinite; }
@keyframes prop-spin { to { transform: rotate(360deg); } }
/* Sign-in and sign-up, full page: the ivory form panel on the left (every action there), the photograph
   and the logbook on the right (figures only). Same tokens as the Club page: ink, ivory, saffron. */
body[data-page="connexion"] main, body[data-page="inscription"] main, body[data-page="mot-de-passe"] main, body[data-page="reinitialiser"] main { max-width: none; padding: 0; }
.auth { --a-ink: #151515; --a-ivory: #F4F0E6; --a-saffron: #FFC23F; --a-rule: #BDB5A7;
  display: grid; grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr); min-height: calc(100svh - 106px); background: var(--a-ink); }
.auth-form { display: flex; align-items: center; justify-content: center; background: var(--a-ivory); color: var(--a-ink); padding: clamp(32px, 5vw, 80px) clamp(20px, 4.5vw, 72px);
  --ink: #151515; --dim: #4F4B44; --plate: #fff; --plate-edge: #BDB5A7; --bad: #A3271C; --tint: #E8E2D4; }
.auth-form-in { width: 100%; max-width: 380px; }
.auth-form-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 700 11px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #6B5A2E; }
.auth-form-kicker::after { content: ""; width: 48px; height: 2px; background: var(--a-saffron); }
.auth-form h1 { margin: 0 0 6px; font: 700 clamp(30px, 2.8vw, 40px)/1.05 var(--display, Georgia, serif); letter-spacing: -.03em; color: var(--a-ink); }
.auth-form-in > .dim { margin: 0 0 20px; font-size: 15px; color: #3B3833; }
.auth-form form { gap: 12px; }
.auth-form label { color: var(--a-ink); font-weight: 650; font-size: 13.5px; }
.auth-form label input { margin-top: 5px; }
.auth-form label small { font-weight: 400; font-size: 12.5px; }
.auth-form input { background: #fff; color: var(--a-ink); border: 1px solid var(--a-rule); border-radius: 6px; min-height: 0; height: 42px; padding: 0 12px; font-size: 15px; }
.auth-form input:focus { border-color: var(--a-ink); outline: 2px solid var(--a-ink); outline-offset: 1px; }
body .auth .auth-form form button.btn:not(.ghost):not(.gold):not(.light) { width: 100%; min-height: 44px; margin-top: 24px; padding-block: 0; border-radius: 6px; background: var(--a-saffron); color: var(--a-ink); font-size: 15px; font-weight: 800; }
body .auth .auth-form form button.btn:not(.ghost):not(.gold):not(.light):hover { background: #F2AE17; }
.auth-form :focus-visible { outline-color: var(--a-ink); }
.auth-form a { color: var(--a-ink); font-weight: 700; text-underline-offset: 3px; }
.auth-form .small { margin: 12px 0 0; font-size: 14px; }
.auth-form .small.dim { color: #4F4B44; }
/* The pseudo while it is typed: free in green, taken or not allowed in a deep red */
.auth-form [data-help][data-state="ok"] { color: #2F5A2B; font-weight: 650; }
.auth-form [data-help][data-state="bad"] { color: #A3271C; font-weight: 650; }
.auth-form label:has([data-state="bad"]) input { border-color: #A3271C; background: #FFF7F5; }
.auth-form label:has([data-state="bad"]) input:focus { outline-color: #A3271C; }
/* The e-mail has left (sign-up, forgotten password): where it went and what to do, left-aligned, framed */
.mail-sent { margin: 14px 0 0; padding: 18px 20px; background: #fff; border: 1px solid var(--a-rule); border-left: 4px solid var(--a-saffron); border-radius: 8px; color: var(--a-ink); text-align: left; }
.mail-sent p { margin: 0; font-size: 15px; line-height: 1.5; }
.mail-sent-to { display: flex; align-items: flex-start; gap: 12px; }
.mail-sent-to b { display: block; margin-top: 2px; overflow-wrap: anywhere; } /* the address on its own line, cut only if wider than the box */
.mail-sent b { overflow-wrap: anywhere; }
.mail-sent-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--a-ink); color: var(--a-saffron); }
.mail-sent ol { margin: 14px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.mail-sent li + li { margin-top: 6px; }
.mail-sent li::marker { font-weight: 800; }
.mail-sent .mail-sent-help { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--a-rule); font-size: 13.5px; color: #4F4B44; }
.mail-sent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.auth-form .mail-sent-actions .btn { width: auto; margin: 0; padding-inline: 16px; min-height: 40px; font-size: 14.5px; }
.auth-form .mail-sent-actions .btn.gold { background: var(--a-saffron); border-color: var(--a-saffron); color: var(--a-ink); }
.mail-sent-other { font-size: 14px; }
.mail-sent .mail-sent-note { margin-top: 10px; font-size: 13.5px; color: #2F5A2B; }
.auth-forgot .auth-aside > img, .auth-reset .auth-aside > img { object-position: 64% 30%; }
.auth-switch { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--a-rule); font-size: 14px; color: #3B3833; }
.auth-aside { position: relative; isolation: isolate; overflow: hidden; display: flex; color: #fff; background: var(--a-ink); }
.auth-aside > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.auth-register .auth-aside > img { object-position: 50% 55%; }
.auth-login .auth-aside > img { object-position: 64% 30%; }
.auth-aside::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21, 21, 21, .2) 0%, rgba(21, 21, 21, .55) 22%, rgba(21, 21, 21, .78) 45%, rgba(21, 21, 21, .86) 70%, rgba(21, 21, 21, .92) 100%); }
.auth-aside-in { display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 100%; max-width: 660px; padding: clamp(28px, 4vw, 64px); }
.auth-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--a-saffron); font: 700 11px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.auth-kicker::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.auth-aside h2 { margin: 0; max-width: 14ch; font: 700 clamp(30px, 2.9vw, 44px)/1.05 var(--display, Georgia, serif); letter-spacing: -.025em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.auth-lead { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: #ECE9E2; }
/* the logbook: one flight strip, figures in serif saffron, the line in machine type */
.logbook { margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.logbook > div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .28); }
.logbook dt { font: 700 clamp(21px, 1.7vw, 26px)/1 var(--display, Georgia, serif); color: var(--a-saffron); letter-spacing: -.01em; white-space: nowrap; }
.logbook dd { margin: 0; font: 600 11.5px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #F1EFE9; }
.auth-credit { margin: 6px 0 0; font-size: 12px; color: #B9B5AC; }
@media (max-width: 1099px) { .auth { grid-template-columns: minmax(380px, 1fr) minmax(0, 1fr); } .logbook > div { grid-template-columns: 4.4rem minmax(0, 1fr); } }
@media (max-width: 859px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-form { padding: 32px 20px 36px; }
  .auth-form-in { max-width: 560px; }
  .auth-aside { min-height: 560px; }
  .auth-aside-in { padding: 28px 20px; }
}
@media (max-width: 480px) { .auth-form h1 { font-size: 32px; } .auth-form input { font-size: 16px; } .logbook > div { grid-template-columns: 5.2rem minmax(0, 1fr); gap: 10px; } .logbook dd { font-size: 12px; } }

/* Home globe, « Me situer »: the pilot's airport over the globe, the ones around as tags */
#globe-me .ico { flex: none; }
.globe-stage { position: relative; min-width: 0; }
.globe-ap { position: relative; font: 700 12px/1 var(--font); letter-spacing: .04em; color: #0d171e; background: #f3c45e; border-radius: 3px; padding: 5px 7px; transform: translate(-50%, -140%); white-space: nowrap; pointer-events: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.globe-ap::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: rgba(241, 239, 234, .92); }
.globe-ap.sel { background: #f3c45e; }
.globe-ap.sel::after { border-top-color: #f3c45e; }
.globe-pick { position: absolute; left: 0; bottom: 0; width: min(340px, 100%); display: grid; gap: 10px; padding: 16px; border-radius: 6px; background: rgba(13, 23, 30, .9); border: 1px solid rgba(238, 242, 244, .16); backdrop-filter: blur(8px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); color: #eef2f4; }
.globe-pick[hidden] { display: none; }
.globe-pick .eyebrow { color: #f3c45e; margin: 0; }
.gp-main { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.gp-img { position: relative; margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: #1b3442; }
.gp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-img figcaption { position: absolute; right: 4px; bottom: 3px; font-size: 9px; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 2px #000; }
.gp-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-id b { font: 700 22px/1.1 var(--display); color: #fff; letter-spacing: .02em; }
.gp-id span { font-weight: 700; font-size: 14px; line-height: 1.3; }
.gp-id small { color: #b9c4cb; font-size: 12px; }
.gp-hint { margin: 0; font-size: 13px; line-height: 1.4; color: #cfd8dd; }
.gp-error { margin: 0; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; color: #ffe2a8; background: rgba(255, 194, 63, .12); border: 1px solid rgba(255, 194, 63, .4); }
.gp-label { margin: 0; font: 700 10px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #b9c4cb; }
.gp-near { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-chip { display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 8px; border-radius: 3px; border: 1px solid #3e4c55; background: transparent; color: #eef2f4; font-size: 12px; cursor: pointer; }
.gp-chip b { font-size: 12px; }
.gp-chip span { color: #b9c4cb; }
.gp-chip:hover { border-color: #b9c4cb; }
.gp-chip.sel { background: #f3c45e; border-color: #f3c45e; color: #0d171e; }
.gp-chip.sel span { color: #3a3218; }
.globe-pick .btn.dark { justify-self: start; background: #f1efe9 !important; color: #171717 !important; }
@media (max-width: 760px) { .globe-pick { position: static; width: auto; margin-top: 12px; } }

/* Training: the airport picked on the globe */
.pick-airport p + p { margin-top: 6px; }
.pick-airport a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.pick-airport .pick-facts { display: block; margin-top: 2px; color: var(--dim); font-size: 14px; }
.pick-airport.chosen { border-left-color: #FFC23F; }

/* a mission started on the simulator from its sheet */
.launch-status { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid #FFC23F; background: var(--tint); font-weight: 600; }
.launch-status.ok { border-left-color: #2f9a62; }
.launch-status.err { border-left-color: var(--bad); font-weight: 500; }
.launch-status a { color: var(--ink); font-weight: 700; }

/* ================================================================ v8: the 03B signature in the header */
.top .brand { display: inline-flex; align-items: center; padding: 6px 0; line-height: 0; }
.top .brand .brand-logo { display: block; width: 250px; max-width: 100%; height: auto; }
.top .brand:focus-visible { outline: 2px solid #FFC23F; outline-offset: 5px; }
@media (max-width: 1099px) { .top .brand .brand-logo { width: 220px; } }
@media (max-width: 699px) { .top .brand .brand-logo { width: 190px; } }

/* ---- Leaderboards (kit 2026-11-11): the site's theme (black on the dark theme, like the home), saffron accents */
.rk { --rk-saffron: #FFC23F; --rk-me: color-mix(in srgb, #FFC23F 18%, var(--paper)); padding-bottom: 8px; }
.rk-head { margin: 6px 0 18px; }
.rk-kicker, .rk-eyebrow { margin: 0 0 8px; font: 700 12.5px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.rk-eyebrow { color: var(--rk-saffron); }
.rk-head h1 { margin: 0; font: 700 clamp(42px, 5.4vw, 76px)/1.02 var(--display, Georgia, serif); letter-spacing: -.035em; }
.rk-dot { color: var(--rk-saffron); }
.rk-lead { margin: 6px 0 0; font: italic 400 clamp(17px, 1.6vw, 21px)/1.4 var(--display, Georgia, serif); color: var(--dim); }
.rk-tabs { display: flex; gap: clamp(18px, 3vw, 46px); border-bottom: 1px solid var(--plate-edge); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.rk-tabs a { position: relative; padding: 12px 2px 14px; color: var(--ink); text-decoration: none; white-space: nowrap; font: 400 clamp(17px, 1.5vw, 20px)/1.2 var(--display, Georgia, serif); opacity: .85; }
.rk-tabs a:hover { opacity: 1; }
.rk-tabs a.on { opacity: 1; font-style: italic; font-weight: 700; }
.rk-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rk-saffron); }
.rk-view { display: none; }
.rk-sub { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 18px; }
.rk-sub a { padding: 6px 12px; border: 1px solid var(--plate-edge); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.rk-sub a.on { border-color: var(--rk-saffron); background: color-mix(in srgb, #FFC23F 14%, transparent); font-weight: 700; }
.rk-pick { display: block; margin: -8px 0 18px; } .rk-pick select { max-width: 100%; width: 520px; }

/* the spotlight */
.rk-spot { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); border: 1px solid var(--plate-edge); border-radius: 6px; overflow: hidden; background: var(--plate); }
.rk-spot-img { display: block; min-height: 100%; }
.rk-spot-img img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; }
.rk-spot-img.bw img { filter: grayscale(1); }
.rk-spot-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: clamp(20px, 2.4vw, 32px); }
.rk-spot h2 { margin: 0; font: 700 clamp(28px, 2.7vw, 40px)/1.06 var(--display, Georgia, serif); letter-spacing: -.02em; }
.rk-spot h2 a { color: inherit; text-decoration: none; } .rk-spot h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rk-meta { margin: 4px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--plate-edge); color: var(--dim); font: 400 17px/1.4 var(--display, Georgia, serif); }
.rk-left { display: flex; align-items: center; gap: 14px; margin: 14px 0 16px; }
.rk-left svg { width: 30px; height: 30px; flex: none; color: var(--ink); }
.rk-left b { display: block; font: 700 clamp(26px, 2.3vw, 32px)/1.05 var(--display, Georgia, serif); font-variant-numeric: tabular-nums; }
.rk-left > div > span:not(.ticker) { color: var(--dim); font-size: 14px; }
.rk-cta { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--rk-saffron); color: #151515; font: 800 17px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.rk-cta:hover { background: #F2AE17; }
.rk-spot-empty { display: block; padding: 28px; color: var(--dim); }

/* your position */
.rk-you { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 18px 0 0; padding: 12px 22px; border: 2px solid var(--rk-saffron); border-radius: 6px; }
.rk-you-label { font: 700 12.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; padding-right: 22px; border-right: 1px solid var(--plate-edge); }
.rk-you-rank { font: italic 700 32px/1 var(--display, Georgia, serif); font-variant-numeric: tabular-nums; }
.rk-you-who { font: 700 19px/1.2 var(--display, Georgia, serif); padding-right: 22px; border-right: 1px solid var(--plate-edge); }
.rk-you-gap { font: italic 17px/1.2 var(--display, Georgia, serif); color: var(--dim); }
.rk-you-none { display: block; color: var(--dim); font-style: italic; }

/* the board and its side panel */
.rk-main { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(280px, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.rk-board-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.rk-board-head h2 { margin: 0; font: 700 clamp(30px, 2.6vw, 38px)/1.1 var(--display, Georgia, serif); }
.rk-board-head > span { font: italic 18px/1 var(--display, Georgia, serif); color: var(--dim); }
.rk-friends { margin-left: auto; font-size: 14px; }
.rk-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rk-table th { text-align: left; font: 700 11.5px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--plate-edge); }
.rk-table td { padding: 9px 12px; border-bottom: 1px solid var(--plate-edge); vertical-align: middle; }
.rk-table .n { text-align: right; }
.rk-table tr.top td:first-child { box-shadow: inset 4px 0 0 var(--rk-saffron); }
.rk-table tr.me td { background: var(--rk-me); }
.rk-rank { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 50%; font: 700 17px/1 var(--display, Georgia, serif); }
.rk-rank.m1 { background: #E8B930; color: #151515; } .rk-rank.m2 { background: #B8BCC2; color: #151515; } .rk-rank.m3 { background: #C98A4E; color: #151515; }
.rk-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 14%, transparent); font: 700 13px/1 var(--font); vertical-align: middle; }
.rk-table td[data-c="pilot"] a { color: var(--ink); text-decoration: none; font: 700 18px/1.2 var(--display, Georgia, serif); vertical-align: middle; }
.rk-table td[data-c="pilot"] a:hover { text-decoration: underline; }
.rk-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 3px; background: var(--rk-saffron); color: #151515; font: 800 11px/1.3 var(--font); vertical-align: middle; }
.rk-table td[data-c="score"] b, .rk-table td[data-c="points"] b { font: 700 19px/1 var(--display, Georgia, serif); }
.rk-table td[data-c="score"] small { margin-left: 3px; color: var(--dim); }
.rk-stars { color: var(--rk-saffron); letter-spacing: 2px; white-space: nowrap; } .rk-stars i { font-style: normal; color: var(--plate-edge); }
.rk-gap-row td { text-align: center; color: var(--dim); }
.rk-line { display: none; }
.bravo { position: relative; display: inline-block; }
.bravo-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; min-width: 70px; padding: 4px 10px; border: 1px solid var(--plate-edge); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
.bravo-btn svg { width: 22px; height: 22px; } .bravo-btn b { font-variant-numeric: tabular-nums; }
.bravo-btn:hover, .bravo-btn[aria-expanded="true"] { border-color: var(--rk-saffron); }
.bravo-btn.mine { border-color: var(--rk-saffron); color: var(--rk-saffron); }
.bravo-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; padding: 6px; border: 1px solid var(--plate-edge); border-radius: 6px; background: var(--plate); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); white-space: nowrap; }
.rk-side { padding: 26px 24px 20px; border: 1px solid var(--plate-edge); border-radius: 6px; background: var(--plate); }
.rk-beat { margin: 0; font: 700 clamp(72px, 7vw, 104px)/.95 var(--display, Georgia, serif); font-variant-numeric: tabular-nums; }
.rk-leads { margin: 4px 0 18px; font: italic 400 clamp(22px, 2vw, 30px)/1.15 var(--display, Georgia, serif); }
.rk-cheer { border-top: 1px solid var(--plate-edge); padding-top: 14px; }
.rk-cheer-title { margin: 0 0 12px; font: 700 20px/1.2 var(--display, Georgia, serif); }
.rk-cheer ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; text-align: center; font-size: 14px; color: var(--dim); }
.rk-cheer li + li { border-left: 1px solid var(--plate-edge); }
.rk-cheer li span { display: block; font-size: 26px; line-height: 1.2; color: var(--ink); } .rk-cheer li svg { width: 32px; height: 28px; }
.rk-note { margin: 12px 0 0; text-align: center; font: italic 15px/1.3 var(--display, Georgia, serif); color: var(--dim); }
.rk-empty { padding: 20px 0; color: var(--dim); }
.rk-updated { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--plate-edge); font: italic 15px/1.4 var(--display, Georgia, serif); color: var(--dim); }

/* tablet: the side panel below the board; the spotlight stacks at 768 */
@media (max-width: 1099px) {
  .rk-main { grid-template-columns: 1fr; }
  .rk-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; align-items: center; }
  .rk-side > .rk-eyebrow, .rk-side > .rk-beat, .rk-side > .rk-leads { grid-column: 1; }
  .rk-side .rk-cheer { grid-column: 2; grid-row: 1 / span 3; border-top: 0; border-left: 1px solid var(--plate-edge); padding: 0 0 0 24px; }
}
@media (max-width: 899px) { .rk-spot { grid-template-columns: 1fr; } .rk-spot-img img { aspect-ratio: 16 / 8; } }
/* phones: a view selector, the board as readable lines (rank, name, score · stars · time, bravo) */
@media (max-width: 699px) {
  .rk-tabs { display: none; }
  .rk-view { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; font: 700 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; }
  .rk-view select { min-height: 44px; font: 600 16px var(--display, Georgia, serif); letter-spacing: 0; text-transform: none; }
  .rk-you { padding: 10px 14px; gap: 6px 14px; }
  .rk-you-label { padding-right: 14px; }
  .rk-you-who { border-right: 0; padding-right: 0; flex-basis: 100%; order: 3; font-size: 16px; }
  .rk-you-gap { order: 4; font-size: 15px; }
  .rk-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rk-table, .rk-table tbody { display: block; }
  .rk-table tr { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "rank pilot bravo" "rank meta bravo"; column-gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--plate-edge); }
  .rk-table td { border: 0; padding: 0; background: transparent !important; }
  .rk-table tr.me { background: var(--rk-me); }
  .rk-table tr.top { box-shadow: inset 4px 0 0 var(--rk-saffron); } .rk-table tr.top td:first-child { box-shadow: none; }
  .rk-table td[data-c="rank"] { grid-area: rank; }
  .rk-table td[data-c="pilot"] { grid-area: pilot; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rk-table td[data-c="bravo"] { grid-area: bravo; }
  .rk-table td[data-c="score"], .rk-table td[data-c="stars"], .rk-table td[data-c="time"], .rk-table td[data-c="points"], .rk-table td[data-c="missions"] { display: none; }
  .rk-table td[data-c="pilot"] { grid-row: 1 / span 2; }
  .rk-line { display: block !important; margin: 3px 0 0 36px; font-size: 14px; color: var(--dim); }
  .rk-avatar { width: 28px; height: 28px; margin-right: 8px; font-size: 12px; }
  .rk-table td[data-c="pilot"] a { font-size: 17px; }
  .rk-gap-row { display: block !important; text-align: center; }
  .rk-side { display: block; } .rk-side .rk-cheer { border-left: 0; padding: 14px 0 0; border-top: 1px solid var(--plate-edge); }
}
/* the three encouragements open beside their « Bravo », on the same row (never over the next one) */
.bravo-pop { top: 50%; right: calc(100% + 8px); transform: translateY(-50%); z-index: 20; }
.bravo:has(.bravo-pop:not([hidden])) { z-index: 21; }

/* Header search: a radar scope (aviation) rather than a magnifier, lighter on the dark bar */
.top .hsearch input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9ced2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4.5' stroke-width='1.4'/%3E%3Cpath d='M12 12 18.4 5.6'/%3E%3Ccircle cx='15.6' cy='14.8' r='1.2' fill='%23f3c45e' stroke='none'/%3E%3C/svg%3E"); }
.hsearch input { background-size: 20px; background-position: 13px center; padding-left: 42px; }

/* Mission sheet: « Voir le briefing » is a way into the page, not a second call to action */
.see-brief { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: 700 16px/1.2 var(--font); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.see-brief svg { transition: transform .2s ease; }
.see-brief:hover svg { transform: translateY(3px); }
/* The briefing link lines up with the launch button, not with the button and its note */
.sheet-actions { align-items: flex-start; }
.sheet-actions .see-brief { min-height: 49px; }
@media (max-width: 560px) { .sheet-actions .see-brief { width: 100%; justify-content: center; } }

/* Fields the browser filled in keep their own background (no grey or blue autofill tint) */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  transition: background-color 0s 600000s, color 0s 600000s;
}

/* Header: the training airport, just before Touch Portal (control tower + ICAO code; click: the globe) */
.top nav.main a.airport { display: inline-flex; align-items: center; gap: 6px; color: #f3c45e; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.top nav.main a.airport.none { color: #aeb3b8; letter-spacing: 0; font-weight: 500; }
.top nav.main a.airport .ico { flex: none; }
.top nav.main a.airport:hover { color: #fff; }
@media (max-width: 600px) {
  /* phones: the tower and the code only */
  .top nav.main a.airport { gap: 4px; }
  .top nav.main a.airport.none span { display: none; }
}

/* ================================================================ v8: home — featured mission + Training and its globe,
   the seven other universes, a small selection, the community notebook, a thin Club band, the FAQ */
.hp-intro { margin: 6px 0 22px; }
.hp-intro h1 { margin: 0; font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -.03em; line-height: 1.04; }
.hp-intro p { margin: 8px 0 0; color: var(--dim); font-size: clamp(15px, 1.5vw, 18px); }
.hp { display: grid; gap: clamp(30px, 3.6vw, 48px); }
.hp > * { min-width: 0; }
.hp .faq { margin-top: 0; }
.hp-kicker { margin: 0; font: 800 12px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #FFC23F; }
.hp-kicker.rule::after { border-color: currentColor; opacity: .7; height: 3px; }
.hp-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.hp-head h2.rule { flex: 1; margin: 0; }
.hp-aside { color: var(--dim); font-size: 14px; white-space: nowrap; }
.hp-head h2 .narrow { display: none; }
.hp-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.btn-saffron { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 4px;
  background: #FFC23F; color: #171717; font: 800 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.btn-saffron:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.btn-saffron:focus-visible, .hp a:focus-visible, .hp button:focus-visible { outline: 3px solid #FFC23F; outline-offset: 3px; }
.btn-saffron .ico { width: 18px; height: 18px; }

/* 1. the two strong entries: ~62 / 38 */
.hp-showcase { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.hp-showcase > * { min-width: 0; grid-area: auto; }
.hp-feature { position: relative; isolation: isolate; overflow: hidden; border-radius: 6px; border: 1px solid #3a3a38; background: #1c1c1c; color: #fff;
  min-height: clamp(420px, 36vw, 520px); display: flex; flex-direction: column; justify-content: space-between; padding: 22px clamp(18px, 2.2vw, 30px); }
.hp-feature-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--mission-image-position, 50% 45%); }
.hp-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 22%, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, .82) 100%); }
.hp-feature.bw .hp-feature-img { filter: grayscale(1); }
.hp-feature-top { display: flex; align-items: center; gap: 16px; }
.hp-feature-top .hp-kicker { flex: 1; color: #f4f0e6; }
.hp-badge { background: #FFC23F; color: #171717; font: 800 14px/1 var(--font); padding: 7px 12px; border-radius: 3px; white-space: nowrap; }
.hp-feature-text { display: grid; gap: 8px; }
.hp-feature h2 { margin: 0; color: #fff; font: 700 clamp(30px, 3.8vw, 52px)/1.05 var(--display); letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hp-feature-lead { margin: 0; max-width: 62ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.45; color: #f4f0e6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-feature-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 6px; }
.hp-feature-meta { margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; font-weight: 600; color: #f4f0e6; text-align: right; }
.hp-closes { font-weight: 500; font-size: 12.5px; color: #d8d4ca; }
.empty-feature { justify-content: center; gap: 18px; min-height: 300px; }
.empty-feature h2 { font-size: clamp(24px, 2.6vw, 34px); max-width: 24ch; }
.empty-feature .btn-saffron { align-self: flex-start; }

.hp-train { display: flex; flex-direction: column; gap: 10px; border-radius: 6px; border: 1px solid #24343e; padding: 22px clamp(18px, 2vw, 26px) 18px;
  background: radial-gradient(ellipse at 60% 62%, #1b3442 0%, #0d171e 72%); color: #eef2f4; scroll-margin-top: 90px; }
.hp-train h2 { margin: 0; color: #f4f0e6; font: 700 clamp(26px, 2.5vw, 36px)/1.08 var(--display); letter-spacing: -.02em; }
.hp-train h2 span { display: block; }
.hp-train-lead { margin: 0; color: #cfd8dd; font-size: 15px; line-height: 1.45; }
.hp-train-mine { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #FFC23F; }
.hp-train-mine .ico { width: 16px; height: 16px; flex: none; }
.hp-train .globe-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.hp-train .globe { height: clamp(250px, 22vw, 320px); flex: none; overflow: hidden; }
.hp-train .globe-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; font-size: 12px; color: #b9c4cb; }
.hp-train .globe-legend .dot { width: 9px; height: 9px; }
.hp-train-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.hp-train .hp-link { color: #f4f0e6; }
.hp-status { margin: 0; color: #b9c4cb; min-height: 1.4em; }

/* 1b. « Combien de temps avez-vous pour voler ? » — three dark cards over the pictures (home and catalogue),
   each opening the missions of its time slot; the whole card is the link (stretched from its button) */
.hp-time h2.rule { margin-bottom: 6px; }
.hp-time-intro { margin: 0 0 16px; color: var(--dim); font-size: clamp(15px, 1.4vw, 17px); }
.editorial-grid ~ .hp-time { margin: clamp(30px, 3.6vw, 48px) 0; }
.hp-time-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-time-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 6px; border: 1px solid #3a3a38; background: #1c1c1c; color: #fff;
  min-height: clamp(420px, 36vw, 480px); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px clamp(16px, 1.8vw, 22px); }
.hp-time-card picture { position: absolute; inset: 0; z-index: -2; }
.hp-time-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.hp-time-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, .35) 46%, rgba(10, 10, 10, .9) 78%, rgba(10, 10, 10, .95) 100%); }
.hp-time-card:hover img, .hp-time-card:focus-within img { transform: scale(1.05); }
.hp-time-card .hp-badge { position: absolute; top: 18px; left: clamp(16px, 1.8vw, 22px); letter-spacing: .04em; }
.hp-time-body { display: flex; flex-direction: column; }
.hp-time-kicker { margin: 0; font: 800 11px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #FFC23F; }
.hp-time-card h3 { margin: 6px 0 8px; color: #fff; font: 700 clamp(24px, 2.3vw, 31px)/1.08 var(--display); letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hp-time-lead { margin: 0 0 10px; color: #f4f0e6; font-size: 15px; line-height: 1.45; }
.hp-time-acts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; font-weight: 600; color: #ddd8cd; }
.hp-time-acts li + li::before { content: "·"; margin: 0 8px; color: #FFC23F; }
.hp-time-cta { align-self: flex-start; }
.hp-time-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hp-time-cta:hover { transform: none; }
.hp-time-card:hover .hp-time-cta { box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.hp-time-card:has(.hp-time-cta:focus-visible) { outline: 3px solid #FFC23F; outline-offset: 3px; }
.hp-time-cta:focus-visible { outline: 0; }
.hp-time-card.on { border-color: #FFC23F; box-shadow: 0 0 0 2px #FFC23F; }
@media (prefers-reduced-motion: reduce) {
  .hp-time-card img { transition: none; }
  .hp-time-card:hover img, .hp-time-card:focus-within img { transform: none; }
}
@media (max-width: 899px) {
  .hp-time-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-time-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .hp-time-card:last-child .hp-time-body { max-width: 52ch; }
}
@media (max-width: 599px) {
  .hp-time-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hp-time-card, .hp-time-card:last-child { min-height: 380px; padding: 16px; }
  .hp-time-card .hp-badge { top: 14px; left: 16px; }
  .hp-time-cta { align-self: stretch; }
}

/* 2. the seven other universes: three, then four */
.hp-uni-grid { display: grid; gap: 22px; }
.hp-uni-row { display: grid; gap: 16px; }
.hp-uni-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-uni-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-uni { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--plate-edge); padding-bottom: 10px; }
.hp-uni picture, .hp-uni img { display: block; width: 100%; }
.hp-uni img { aspect-ratio: 1.55; object-fit: cover; background: var(--tint); border-radius: 3px; transition: filter .2s; }
.hp-uni-row.three .hp-uni img { aspect-ratio: 1.5; }
.hp-uni.bw img { filter: grayscale(1); }
.hp-uni-text { display: grid; gap: 2px; margin-top: 9px; }
.hp-uni-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hp-uni h3 { margin: 0; font: 700 clamp(21px, 2vw, 30px)/1.05 var(--display); letter-spacing: -.03em; }
.hp-uni-row.four h3 { font-size: clamp(19px, 1.7vw, 25px); }
.hp-uni-hook { color: var(--dim); font-size: 14px; }
.hp-uni-count { color: var(--dim); font: 700 10px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.hp-uni .arrow { transition: transform .2s; }
.hp-uni:hover .arrow { transform: translateX(4px); }

/* 3. the small selection */
.hp-pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-pick { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--plate-edge); border-radius: 4px; overflow: hidden; background: var(--plate); color: inherit; text-decoration: none; }
.hp-pick-art { position: relative; display: block; }
.hp-pick-art img { display: block; width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: var(--mission-image-position, 50% 50%); }
.hp-pick.bw img { filter: grayscale(1); }
.hp-pick-art .chip { position: absolute; top: 8px; right: 8px; }
.hp-pick-body { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px 10px; }
.hp-pick-body b { font: 700 16px/1.25 var(--display); }
.hp-pick:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* 4. the community notebook: three compact columns separated by rules */
.hp-community h2.rule { margin-bottom: 14px; }
.hp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-col { min-width: 0; padding: 0 24px; }
.hp-col:first-child { padding-left: 0; }
.hp-col:last-child { padding-right: 0; }
.hp-col + .hp-col { border-left: 1px solid var(--plate-edge); }
.hp-col h3 { margin: 0 0 10px; font: 700 clamp(19px, 1.7vw, 24px)/1.15 var(--display); }
.hp-col .mini-board { margin: 0 0 10px; }
.hp-col .mini-board td { padding: 7px 10px; }
.hp-col .flying li { padding: 7px 0; }
.hp-next { list-style: none; margin: 0 0 8px; padding: 0; }
.hp-next li { padding: 10px 0; border-bottom: 1px solid var(--plate-edge); }
.hp-next a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.hp-next a:hover b { text-decoration: underline; }

/* 5. the Club, a thin band */
.hp-club { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid #FFC23F; border-bottom: 1px solid #FFC23F; color: var(--ink); text-decoration: none; min-height: 44px; }
.hp-club .plane { width: 26px; height: 26px; color: #FFC23F; flex: none; transition: transform .35s; }
.hp-club-line { flex: 1; font: italic 400 clamp(17px, 1.8vw, 22px)/1.3 var(--display); }
.hp-club-cta { font-weight: 800; color: #b07d0a; white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hp-club-cta { color: #FFC23F; } }
:root[data-theme="dark"] .hp-club-cta { color: #FFC23F; }
.hp-club:hover .plane { transform: translate(5px, -3px) rotate(-12deg); }
.hp-club:hover .hp-club-cta { text-decoration: underline; text-underline-offset: 3px; }

/* tablet */
@media (max-width: 1099px) {
  .hp-uni-grid, .hp-uni-row.three, .hp-uni-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-uni-grid { display: grid; gap: 22px 16px; }
  .hp-uni-row { display: contents; }
  .hp-uni--ufo { grid-column: 1 / -1; }
  .hp-uni--ufo img { aspect-ratio: 3.2; }
  .hp-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .hp-col:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--plate-edge); padding: 16px 0 0; }
}
@media (max-width: 899px) {
  .hp-showcase { grid-template-columns: minmax(0, 1fr); }
  .hp-feature { min-height: 440px; }
  .hp-train .globe { height: 320px; }
}
/* phones */
@media (max-width: 699px) {
  .hp-intro { margin: 2px 0 16px; }
  .hp-intro h1 { font-size: clamp(30px, 9vw, 42px); }
  .hp-intro p { font-size: 15px; }
  .hp-head { flex-wrap: wrap; gap: 4px 12px; }
  .hp-head h2 .wide { display: none; } .hp-head h2 .narrow { display: inline; }
  .hp-aside { display: none; }
  .hp-feature { min-height: 0; aspect-ratio: auto; gap: 120px; padding: 16px; }
  .hp-feature-top { gap: 10px; }
  .hp-badge { font-size: 12px; padding: 6px 9px; }
  .hp-feature h2 { font-size: clamp(27px, 8vw, 36px); }
  .hp-feature-foot { flex-direction: column; align-items: stretch; }
  .hp-feature-meta { align-items: flex-start; text-align: left; }
  .hp-feature .btn-saffron { width: 100%; }
  .hp-train { padding: 18px 16px 14px; }
  .hp-train .globe { height: 280px; }
  .hp-train-cta .btn-saffron { width: 100%; }
  .hp-uni-grid { gap: 16px 11px; }
  .hp-uni img { aspect-ratio: 1.45; }
  .hp-uni--ufo img { aspect-ratio: 2.4; }
  .hp-uni h3, .hp-uni-row.four h3 { font-size: clamp(18px, 5.4vw, 22px); }
  .hp-uni-hook { font-size: 12.5px; line-height: 1.3; }
  .hp-pick-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hp-pick { flex-direction: row; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--plate-edge); border-radius: 0; background: transparent; padding: 8px 0; }
  .hp-pick-art { flex: 0 0 116px; }
  .hp-pick-art img { aspect-ratio: 16 / 10; border-radius: 3px; }
  .hp-pick-art .chip { top: auto; bottom: 4px; right: 4px; font-size: 10px; padding: 2px 6px; }
  .hp-cols { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .hp-col, .hp-col:nth-child(3) { grid-column: auto; padding: 24px 0; border-left: 0; }
  .hp-col h3 { margin-bottom: 14px; }
  .hp-col .mini-board { margin-bottom: 14px; }
  .hp-next li { padding: 12px 0; }
  .hp-next a { gap: 3px; }
  .hp-col + .hp-col { border-left: 0; border-top: 1px solid var(--plate-edge); }
  .hp-col:first-child { padding-top: 10px; }
  .hp-club { flex-wrap: wrap; }
  .hp-club-line { flex-basis: calc(100% - 40px); }
  .hp-club-cta { margin-left: 40px; }
  .hp .faq summary { min-height: 44px; }
}
@media (max-width: 359px) { .hp-uni-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .btn-saffron, .hp-uni .arrow, .hp-club .plane, .hp-uni img { transition: none; } }
/* tablets: the livery link stays in the footer, so the header's secondary links fit on one line */
@media (min-width: 700px) and (max-width: 1099px) { .top nav.main a.ext[target="_blank"] { display: none; } }

/* Globe card (home): three neighbours + « Autre aéroport »; once open, it replaces the button under the globe */
.gp-search { display: grid; gap: 8px; }
.gp-other { border-style: dashed; color: #f3c45e; font-weight: 700; }
.gp-other:hover { border-color: #f3c45e; }
.gp-q { width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 4px; border: 1px solid #3e4c55; background: rgba(255, 255, 255, .06); color: #fff; font: 15px/1.3 var(--font); }
.gp-q::placeholder { color: #8f9ba3; }
.gp-q:focus { outline: 2px solid #f3c45e; outline-offset: 1px; }
.gp-results { display: grid; gap: 4px; }
.gp-hit { display: flex; gap: 10px; align-items: baseline; text-align: left; padding: 8px 10px; min-height: 40px; border-radius: 4px; border: 1px solid #2c3a43; background: transparent; color: #eef2f4; cursor: pointer; font-size: 13px; }
.gp-hit b { color: #f3c45e; min-width: 44px; }
.gp-hit span { color: #cfd8dd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-hit:hover, .gp-hit:focus-visible { border-color: #b9c4cb; }
.gp-none { margin: 0; font-size: 13px; color: #b9c4cb; }
.gp-back { justify-self: start; background: none; border: 0; color: #cfd8dd; font: 600 13px/1 var(--font); cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.globe-pick .btn-saffron { justify-self: start; min-height: 40px; padding: 8px 14px; font-size: 15px; }

/* ------------------------------------------------------------------ mission sheet: title, briefing, board, leader's track */
/* The title stays compact: one line when it fits, two at most on desktop; natural wrapping on phones. */
.sheet-intro h1 { font-size: clamp(36px, 4.4vw, 66px); letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; }
.sheet-intro h1.long { font-size: clamp(32px, 3.4vw, 50px); }
@media (max-width: 600px) { .sheet-intro h1, .sheet-intro h1.long { font-size: clamp(28px, 8.5vw, 42px); } }

.brief-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.brief-card { position: relative; min-width: 0; padding: 14px 14px 14px 62px; background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 4px; }
.brief-card .picto { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--gold); }
.brief-card dt { color: var(--dim); font-size: 13px; }
.brief-card dd { margin: 2px 0 0; font: 700 22px/1.2 var(--font); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.brief-card dd.na { color: var(--dim); font-size: 15px; font-weight: 600; }
@media (max-width: 900px) { .brief-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .brief-cards { grid-template-columns: 1fr; } }

/* Board and track side by side, each at its own height. */
.sheet-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sheet-results h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 2px; }
.sheet-results .card > p.dim { margin: 0 0 14px; }
@media (max-width: 860px) { .sheet-results { grid-template-columns: 1fr; } }

.mboard th, .mboard td { padding: 9px 10px; }
.mboard td:first-child, .mboard th:first-child { width: 64px; }
.mboard td.n { font-weight: 700; white-space: nowrap; }
.mboard td a { overflow-wrap: anywhere; }
.mboard a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.mboard .rank { width: 28px; height: 28px; font-size: 13px; background: var(--tint); color: var(--ink); }
.mboard .rank.r1 { background: color-mix(in srgb, var(--gold) 80%, transparent); color: #171717; }
.mboard .rank.r2 { background: color-mix(in srgb, var(--silver) 55%, transparent); color: var(--ink); }
.mboard .rank.r3 { background: color-mix(in srgb, var(--bronze) 55%, transparent); color: var(--ink); }
.mboard tr.top1 td { background: color-mix(in srgb, var(--gold) 12%, transparent); border-block: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.mboard tr.top1 td:first-child { border-left: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.mboard tr.top1 td:last-child { border-right: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.mboard tr.me td { background: color-mix(in srgb, var(--ink) 8%, transparent); font-weight: 700; }
.mboard tr.me td:first-child { box-shadow: inset 3px 0 0 var(--ink); }
.mboard tr.cut td { color: var(--dim); text-align: center; padding: 4px; }

.track-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 10px; }
.track { margin: 0; min-width: 0; }
.track figcaption { display: flex; flex-wrap: wrap; align-items: center; min-height: 16px; justify-content: space-between; gap: 4px 10px; margin: 0 0 4px; }
.track figcaption .eyebrow { margin: 0; color: var(--dim); font-size: 10px; line-height: 16px; }
.track-svg { display: block; width: 100%; height: auto; max-height: 150px; background: var(--tint); border: 1px solid var(--plate-edge); border-radius: 4px; }
.track-svg .trace { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.track-svg .m-start { fill: #ba7b16; }
.track-svg .m-end { fill: #17766d; stroke: var(--plate); stroke-width: 1.2; }
.track-svg .axis path { fill: none; stroke: var(--dim); stroke-width: 1; }
.track-svg .axis text { fill: var(--dim); font: 600 9px var(--font); }
.legend { display: inline-flex; align-items: center; gap: 5px; color: var(--dim); font-size: 11px; }
.legend .key { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.legend .key.k-end { margin-left: 8px; background: #17766d; }
.legend .key.k-start { background: #ba7b16; }
.track-na { padding: 12px; margin-bottom: 10px; text-align: center; background: var(--tint); border: 1px dashed var(--plate-edge); border-radius: 4px; }
.track-na p { margin: 0; }
.track-na p + p { margin-top: 2px; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; margin: 0; }
.metric { min-width: 0; padding: 6px 10px; background: var(--plate); border: 1px solid var(--plate-edge); border-radius: 4px; }
.metric dt { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 11px; line-height: 1.3; }
.metric .picto { color: var(--gold); width: 14px; height: 14px; flex: none; }
.metric dd { margin: 1px 0 0; font: 700 15px/1.25 var(--font); font-variant-numeric: tabular-nums; }
.metric.top1 { border-color: color-mix(in srgb, var(--gold) 70%, transparent); background: color-mix(in srgb, var(--gold) 10%, var(--plate)); }

/* The airport panel: slides in from the right over the page (the home blocks keep their size) */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(ellipse at 30% 0%, #1b3442 0%, #0d171e 65%); color: #eef2f4; border-left: 1px solid #2c3a43;
  box-shadow: -18px 0 40px rgba(0, 0, 0, .45); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #0f1b23; border-bottom: 1px solid #2c3a43; }
.drawer-head h2 { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1.2 var(--display); color: #f4f0e6; }
.drawer-head h2 .ico { color: #FFC23F; flex: none; }
.drawer-x { width: 44px; height: 44px; flex: none; border: 1px solid #3e4c55; border-radius: 4px; background: transparent; color: #eef2f4; font-size: 18px; cursor: pointer; }
.drawer-x:hover { border-color: #b9c4cb; }
.drawer-x:focus-visible, .drawer-panel button:focus-visible, .drawer-panel a:focus-visible { outline: 3px solid #FFC23F; outline-offset: 2px; }
.drawer .globe-pick { position: static; width: auto; margin: 0; padding: 20px; gap: 12px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.drawer .gp-main { grid-template-columns: 132px minmax(0, 1fr); }
.drawer .globe-pick .btn-saffron { justify-self: stretch; min-height: 48px; font-size: 16px; margin-top: 4px; }
.gp-wait { margin: 0; color: #cfd8dd; }
@media (max-width: 480px) { .drawer-panel { width: 100%; border-left: 0; } .drawer .gp-main { grid-template-columns: 104px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-backdrop { transition: none; } }
.drawer .gp-locate { justify-self: stretch; }
.drawer .gp-locate .ico { width: 18px; height: 18px; }

/* What the server writes in #view before the site starts (search engines, no JavaScript): replaced on the first render. */
.prerender { max-width: 1100px; margin: 40px auto; padding: 0 16px; }
.prerender ul { line-height: 1.7; }
/* Before the site starts (about half a second): the server's text and the still empty header menu stay invisible
   on the page's background, then the first page appears with its menu, in a short fade (app.js adds .booted).
   Without JavaScript (index.html's <noscript>) or if the site cannot start, the text shows after 3 s. */
body:not(.booted) .prerender, body:not(.booted) .top-menu { visibility: hidden; animation: boot-fallback 0s 3s forwards; }
@keyframes boot-fallback { to { visibility: visible; } }
body.booted #view, body.booted .top-menu > * { animation: boot-in .18s ease-out; }
@keyframes boot-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.booted #view, body.booted .top-menu > * { animation: none; } }

/* 404: a plane lost in the clouds, a radar for the zero, its sweep finding nothing. */
.nf { position: relative; max-width: 760px; margin: 0 auto; padding: 24px 16px 72px; text-align: center; overflow: hidden; }
.nf-sky { position: relative; height: 110px; }
.nf-cloud { position: absolute; width: 96px; height: 26px; border-radius: 20px; background: var(--tint); opacity: .9; animation: nf-drift 22s linear infinite; }
.nf-cloud::before, .nf-cloud::after { content: ""; position: absolute; bottom: 10px; border-radius: 50%; background: inherit; }
.nf-cloud::before { left: 16px; width: 36px; height: 36px; }
.nf-cloud::after { left: 42px; width: 46px; height: 46px; }
.nf-cloud.c1 { top: 48px; animation-delay: -4s; }
.nf-cloud.c2 { top: 14px; transform: scale(.7); animation-duration: 30s; animation-delay: -17s; }
.nf-cloud.c3 { top: 70px; transform: scale(.55); animation-duration: 26s; animation-delay: -11s; }
.nf-plane { position: absolute; top: 34px; left: -60px; width: 46px; color: var(--ink); animation: nf-fly 9s ease-in-out infinite; }
.nf-wobble { display: block; animation: nf-wobble 9s ease-in-out infinite; }
.nf-plane svg { display: block; width: 46px; height: 46px; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: .06em; margin: 4px 0 30px; font: 700 clamp(84px, 22vw, 170px)/1 var(--serif); color: var(--ink); }
.nf-radar { position: relative; display: inline-block; width: .74em; height: .74em; border: .065em solid currentColor; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, transparent 0 22%, color-mix(in srgb, currentColor 22%, transparent) 22% 23.5%, transparent 23.5% 46%, color-mix(in srgb, currentColor 22%, transparent) 46% 47.5%, transparent 47.5%); }
.nf-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, currentColor 45%, transparent), transparent 75deg); animation: nf-spin 2.8s linear infinite; }
.nf-blip { position: absolute; top: 24%; left: 64%; width: .06em; height: .06em; border-radius: 50%; background: var(--bad); animation: nf-blip 2.8s linear infinite; }
.nf h1 { margin: 6px 0 12px; font: 700 clamp(26px, 4.6vw, 40px)/1.15 var(--serif); }
.nf-lead { max-width: 560px; margin: 0 auto; color: var(--dim); font-size: 17px; line-height: 1.55; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 18px; }
.nf-squawk { margin: 0; font: 12px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--dim); }
@keyframes nf-drift { from { left: 105%; } to { left: -25%; } }
@keyframes nf-fly { 0% { left: -60px; } 100% { left: calc(100% + 60px); } }
@keyframes nf-wobble {
  0%, 20% { transform: translateY(0) rotate(0); } 10% { transform: translateY(-8px) rotate(-6deg); }
  /* a loop, halfway: lost, the pilot tries a looping to find their way */
  35% { transform: translateY(0) rotate(0); } 42% { transform: translateY(-34px) rotate(-180deg); } 50% { transform: translateY(0) rotate(-360deg); }
  62% { transform: translateY(10px) rotate(8deg); } 74% { transform: translateY(-6px) rotate(-4deg); } 100% { transform: translateY(0) rotate(-360deg); }
}
@keyframes nf-spin { to { transform: rotate(360deg); } }
@keyframes nf-blip { 0%, 8% { opacity: 1; transform: scale(1.6); } 30% { opacity: .15; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .nf-cloud, .nf-plane, .nf-wobble, .nf-sweep, .nf-blip { animation: none; }
  .nf-plane { left: 46%; }
}

/* Featured mission: the whole card leads to the mission (the CTA's link stretched over it, one link only) */
.hp-feature:not(.empty-feature) .btn-saffron::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 6px; }
.hp-feature:not(.empty-feature) .btn-saffron:hover { transform: none; } /* a transform would shrink the stretched area to the button */
.hp-feature:not(.empty-feature) { cursor: pointer; }
.hp-feature-img { transition: transform .5s ease; }
.hp-feature:hover .hp-feature-img { transform: scale(1.03); }
.hp-feature:hover .btn-saffron { box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.hp-feature:has(.btn-saffron:focus-visible) { outline: 3px solid #FFC23F; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hp-feature-img { transition: none; } .hp-feature:hover .hp-feature-img { transform: none; } }

/* ================================================================ the weekly challenge's quiz */
.quiz-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 14px 16px;
  border: 1px solid #FFC23F; border-left-width: 4px; border-radius: 4px; background: color-mix(in srgb, #FFC23F 8%, transparent); }
.quiz-teaser .eyebrow { margin: 0; color: #b07d0a; }
.quiz-teaser b { display: block; font: 700 18px/1.25 var(--display); }
.quiz-teaser p:not(.eyebrow) { margin: 2px 0 0; color: var(--dim); font-size: 14px; }
.quiz-badge { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #FFC23F; color: #171717; font: 800 19px/1 var(--font); }
.quiz-badge small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quiz-teaser.done { border-color: var(--plate-edge); border-left-color: #2fae63; background: transparent; }
.quiz-teaser.done .quiz-badge { background: #2fae63; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quiz-teaser .eyebrow { color: #FFC23F; } }
:root[data-theme="dark"] .quiz-teaser .eyebrow { color: #FFC23F; }

.quiz-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.quiz-progress i { height: 4px; border-radius: 2px; background: #2c3a43; }
.quiz-progress i.past { background: #b9c4cb; }
.quiz-progress i.now { background: #FFC23F; }
.drawer .eyebrow { color: #f3c45e; margin: 0; }
.quiz-q { margin: 0; font: 700 21px/1.3 var(--display); color: #f4f0e6; outline: none; }
.quiz-options { display: grid; gap: 8px; }
.quiz-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 12px; text-align: left; border-radius: 6px;
  border: 1px solid #3e4c55; background: rgba(255, 255, 255, .04); color: #eef2f4; font: 600 15px/1.35 var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-opt:hover:not(:disabled) { border-color: #FFC23F; background: rgba(255, 194, 63, .08); }
.quiz-opt:disabled { cursor: default; opacity: .75; }
.quiz-letter { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #5b6167; font-size: 13px; font-weight: 800; }
.quiz-opt.right { opacity: 1; border-color: #2fae63; background: rgba(47, 174, 99, .16); }
.quiz-opt.right .quiz-letter { background: #2fae63; border-color: #2fae63; color: #fff; }
.quiz-opt.wrong { opacity: 1; border-color: #e0604f; background: rgba(224, 96, 79, .14); }
.quiz-opt.wrong .quiz-letter { background: #e0604f; border-color: #e0604f; color: #fff; }
.quiz-feedback { display: grid; gap: 12px; margin: 0; min-height: 1.4em; }
.quiz-feedback .ok { color: #5fd38d; } .quiz-feedback .ko { color: #f08a7c; }
.drawer .quiz-feedback .btn-saffron, .drawer .quiz-end .btn-saffron { justify-self: stretch; }
.quiz-score { margin: 0; font: 700 22px/1.3 var(--display); color: #f4f0e6; }
.quiz-points { margin: 0; font: 800 54px/1 var(--font); color: #FFC23F; }
.quiz-points small { font-size: 18px; }
.quiz-end { display: grid; gap: 12px; }
.quiz-end p { margin: 0; color: #cfd8dd; }
.drawer .hp-link { color: #f4f0e6; }
.quiz-note { color: #b9c4cb; margin: 0; }
.quiz-recap { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.quiz-recap li { display: grid; gap: 3px; font-size: 14px; color: #cfd8dd; }
.quiz-recap li b { color: #f4f0e6; font-weight: 650; }
.quiz-recap li.ok span:first-of-type { color: #5fd38d; }
.quiz-recap li.ko span:first-of-type { color: #f08a7c; }
.quiz-recap .right { color: #b9c4cb; }
.quiz-plus { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: color-mix(in srgb, #FFC23F 22%, transparent); font-size: 11px; font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .quiz-opt { transition: none; } }

/* Mission sheet: the quiz as a full-width band under the picture and the briefing; the picture
   follows the height of the briefing column, the board and the track share one height (no gaps). */
.sheet > .quiz-teaser { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; padding: 18px 24px; }
.sheet > .quiz-teaser .quiz-badge { width: 68px; height: 68px; font-size: 22px; }
.sheet > .quiz-teaser b { font-size: clamp(19px, 1.8vw, 24px); }
.sheet > .quiz-teaser p:not(.eyebrow) { font-size: 15px; max-width: 70ch; }
.sheet > .quiz-teaser .btn-saffron { min-height: 48px; padding-inline: 22px; white-space: nowrap; }
@media (min-width: 601px) {
  .sheet { align-items: stretch; }
  .sheet figure { display: flex; flex-direction: column; }
  .sheet figure picture, .sheet figure > img { flex: 1; min-height: 0; }
  .sheet figure > img { height: 100%; aspect-ratio: auto; min-height: clamp(260px, 30vw, 420px); }
  .sheet figure picture img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .sheet > .quiz-teaser { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; }
  .sheet > .quiz-teaser .btn-saffron { grid-column: 1 / -1; width: 100%; }
}
.sheet-results { align-items: stretch; }
.sheet-results > .card { display: flex; flex-direction: column; }
/* The leader's track fills its card when the board beside it is taller: the charts grow, the metrics stay at the bottom. */
.sheet-results .track-charts { flex: 1; align-items: stretch; }
.sheet-results .track { display: flex; flex-direction: column; margin: 0; min-height: 0; }
.sheet-results .track .track-svg { flex: 1; height: 100%; max-height: none; min-height: 150px; }

/* Quiz banner: the quiz and its number of questions first, the invitation under it; the badge's
   « +N » and « pts » centred together. */
.quiz-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; }
.quiz-badge small { line-height: 1; }
.quiz-teaser b.quiz-title, .sheet > .quiz-teaser b.quiz-title { display: block; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--display); }
.quiz-teaser p.quiz-sub { margin: 3px 0 0; color: var(--ink); font: 600 15px/1.35 var(--font); }
.quiz-teaser p.quiz-sub + p { margin-top: 2px; font-size: 14px; }

/* Line icons instead of emoji (security, congratulations, badges). */
.ico { flex: none; vertical-align: -0.2em; }
.h-ico, .eyebrow-ico { display: flex; align-items: center; gap: 8px; }
.h-ico .ico, .eyebrow-ico .ico { color: var(--gold); }
.kudo-stat { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 22px; }
.kudo-stat > span { display: inline-flex; align-items: center; gap: 6px; }
.kudo-stat .ico, .kudo-stat .ico-wings { color: var(--gold); }
.kudo-stat .ico-wings svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.badge .ico { margin-right: 2px; }
.kudo .ico { vertical-align: -0.15em; }

/* Password strength under the field: three segments, weak (red), fair (amber), strong (green). */
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 6px; min-height: 18px; font-size: 13px; }
.pw-bar { display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 120px; }
.pw-bar i { height: 5px; border-radius: 3px; background: var(--plate-edge); transition: background .2s; }
.pw-meter[data-level=""] .pw-bar { visibility: hidden; }
.pw-meter[data-level="weak"] .pw-bar i:nth-child(1) { background: #d6453d; }
.pw-meter[data-level="medium"] .pw-bar i:nth-child(-n+2) { background: #e0a526; }
.pw-meter[data-level="strong"] .pw-bar i { background: #2fae63; }
.pw-meter[data-level="weak"] .pw-label { color: #e0645c; }
.pw-meter .pw-label { color: var(--dim); font-weight: 600; }

/* Header: the signed-in pilot as a round avatar with initials (the pseudo shows in the phone menu) */
.top .who .avatar-link { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #f1efe9; text-decoration: none; border-radius: 999px; }
.top .who .avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFC23F; color: #171717;
  font: 800 15px/1 var(--font); letter-spacing: .02em; box-shadow: 0 0 0 2px #1d1d1d, 0 0 0 3px rgba(255, 194, 63, .45); transition: transform .18s, box-shadow .18s; }
.top .who .avatar-link:hover .avatar { transform: translateY(-1px); box-shadow: 0 0 0 2px #1d1d1d, 0 0 0 3px #FFC23F; }
.top .who .avatar-link:focus-visible { outline: 3px solid #FFC23F; outline-offset: 3px; }
.top .who .avatar-name { display: none; font-weight: 650; }
.top .who .avatar-count { position: absolute; top: -4px; left: 28px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #2fae63; color: #fff;
  font: 800 11px/18px var(--font); text-align: center; box-shadow: 0 0 0 2px #1d1d1d; }
@media (max-width: 1023px) { .top.open .top-menu .who .avatar-name { display: inline; } }
@media (prefers-reduced-motion: reduce) { .top .who .avatar { transition: none; } }
.top .avatar-mobile { display: none; }
@media (max-width: 1023px) {
  .top .in:has(.avatar-mobile) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand avatar toggle"; }
  .top .avatar-mobile { display: flex; grid-area: avatar; }
  .top .avatar-mobile .avatar-name { display: none !important; }
}
/* Header: the pilot's menu under the avatar (account tabs, Administration for admins, sign out) */
.usermenu { position: relative; }
.top .who button.avatar-link { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.top .who .avatar-admin { position: absolute; bottom: -3px; left: 27px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: #1d1d1d; color: #FFC23F; box-shadow: 0 0 0 1.5px #FFC23F; }
.top .who .avatar-admin .um-gear { width: 12px; height: 12px; }
.usermenu.open .avatar { box-shadow: 0 0 0 2px #1d1d1d, 0 0 0 3px #FFC23F; }
.um-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 260px; max-height: calc(100vh - 90px); overflow-y: auto; padding: 6px; border-radius: 12px;
  background: var(--anth); border: 1px solid #4a5056; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.um-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 10px 10px 12px; border-bottom: 1px solid #3a3f44; margin-bottom: 4px; color: #f1efe9; }
.um-who span:not(.chip) { flex-basis: 100%; order: 3; color: #b9bec3; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.um-head { display: flex; align-items: center; gap: 7px; margin: 8px 10px 4px; font: 700 11px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #FFC23F; }
.um-head + .um-item { margin-top: 0; }
.um-head .um-gear { width: 14px; height: 14px; }
.um-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: #f1efe9;
  text-decoration: none; text-align: left; font: 600 15px/1.25 var(--font); cursor: pointer; }
.um-item:hover, .um-item:focus-visible { background: var(--anth-2); outline: none; }
.um-item:focus-visible { box-shadow: inset 0 0 0 2px #FFC23F; }
.um-item.on { box-shadow: inset 3px 0 0 #FFC23F; background: var(--anth-2); }
.um-out { margin-top: 6px; border-top: 1px solid #3a3f44; border-radius: 0 0 8px 8px; color: #b9bec3; }
.um-head:has(.um-gear) { margin-top: 12px; padding-top: 12px; border-top: 1px solid #3a3f44; }
@media (max-width: 1023px) {
  /* The account is at top right (avatar beside the menu button): not again in the open menu. */
  .top.open .top-menu .who .usermenu { display: none; }
  .top .avatar-mobile .um-menu { position: fixed; top: 64px; right: 12px; width: min(300px, calc(100vw - 24px)); max-height: calc(100dvh - 80px); }
  .um-item { min-height: 44px; }
}
/* Open phone menu: the airport link keeps its words (only the closed header bar shortens it) */
@media (max-width: 1023px) { .top.open .top-menu nav.main a.airport.none span { display: inline; } .top.open .top-menu nav.main a.airport { gap: 10px; } }

/* ---- My account: the pilot's career, the logbook, the simulators */
.subnav a { display: inline-flex; align-items: center; gap: 6px; }
.sim-dot { width: 9px; height: 9px; border-radius: 50%; background: #2fae63; box-shadow: 0 0 0 3px rgba(47, 174, 99, .22); animation: sim-pulse 2.4s ease-in-out infinite; }
@keyframes sim-pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 174, 99, 0); } }
/* « Simulateurs » tab while X-Plane is connected: a solid green light, readable on light, dark and the active tab. */
.subnav a.sim-on { box-shadow: inset 0 0 0 1.5px #34c46f; }
.subnav a.sim-on.on { box-shadow: none; }
.nav-sim-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #34c46f; box-shadow: 0 0 0 2px rgba(52, 196, 111, .35), 0 0 8px rgba(52, 196, 111, .8); animation: nav-sim-pulse 2.4s ease-in-out infinite; }
@keyframes nav-sim-pulse { 50% { box-shadow: 0 0 0 4px rgba(52, 196, 111, 0), 0 0 12px rgba(52, 196, 111, .9); } }

.insignia { width: 30px; height: 45px; flex: none; }
.insignia.big { width: 64px; height: 96px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
.ins-board { fill: #1d2328; stroke: #4a5056; stroke-width: 1; }
.ins-gold { fill: #FFC23F; }

.career { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 0; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--plate-edge); background: var(--plate); box-shadow: var(--shadow); }
.career-now { display: flex; gap: 22px; align-items: center; padding: 26px 26px; background: var(--anth, #151515); color: #fff;
  background-image: radial-gradient(120% 140% at 0% 0%, rgba(255, 194, 63, .16), transparent 55%); }
.career-now .eyebrow { color: #FFC23F; }
.career-grade { flex: 1; min-width: 0; }
.career-grade h2 { margin: 0 0 14px; color: #fff; font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--serif); }
.career-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.career-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f0a92a, #FFC23F); animation: career-grow 1s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
@keyframes career-grow { from { transform: scaleX(0); } }
.career-next { margin: 10px 0 0; font-size: 14px; color: #d6d2c9; }
.career-next b { color: #fff; }
.career-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.career-figs > div { padding: 22px 20px; border-left: 1px solid var(--plate-edge); display: flex; flex-direction: column; gap: 6px; }
.career-figs dt { font: 700 11px/1.3 var(--font); letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.career-figs dd { margin: 0; font: 700 34px/1 var(--serif); color: var(--ink); }
.career-figs dd small { font: 400 15px var(--font); color: var(--dim); }
.career-figs dd .kudo-stat { font-size: 34px; }
.career-figs dd .kudo-stat .ico { width: 28px; height: 28px; }
.career-figs p { margin: auto 0 0; font-size: 13px; color: var(--dim); line-height: 1.4; }

.career-ladder > p { margin: 4px 0 0; max-width: 70ch; }
.ladder-wrap { position: relative; margin-top: 26px; }
.ladder-track { position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 22px; height: 4px; border-radius: 4px; background: var(--tint); }
.ladder-track span { position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: inherit; background: #FFC23F; }
.ladder { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rung { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 2px 4px; }
.rung .insignia { margin-bottom: 6px; }
.rung b { font-size: 14px; line-height: 1.25; }
.rung-pts { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.rung.ahead .insignia { opacity: .4; filter: grayscale(1); }
.rung.ahead b { color: var(--dim); font-weight: 600; }
.rung.now .insignia { transform: scale(1.18); transform-origin: center top; filter: drop-shadow(0 0 10px rgba(255, 194, 63, .55)); }
.rung em { margin-top: 4px; font: 800 10.5px/1 var(--font); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #151515; background: #FFC23F; padding: 5px 8px; border-radius: 99px; }

.earn { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.earn li { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--tint); }
.earn-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #FFC23F; color: #151515; font: 800 14px/1 var(--font); }
.earn b { display: block; margin-bottom: 4px; }
.earn p { margin: 0; font-size: 14px; color: var(--dim); line-height: 1.45; }
.earn-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

/* « Apparaître dans En direct »: a switch */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; font-weight: 400; }
.switch-text { display: flex; flex-direction: column; gap: 4px; }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch-knob { position: absolute; inset: 0; border-radius: 99px; background: var(--plate-edge); transition: background .2s; pointer-events: none; }
.switch-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s cubic-bezier(.3, .7, .3, 1.3); }
.switch input:checked + .switch-knob { background: #FFC23F; } /* on: saffron, the site's accent */
.switch input:checked + .switch-knob::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-knob { outline: 3px solid var(--accent); outline-offset: 3px; }

/* The logbook */
.logbook-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--plate-edge); border-radius: var(--radius-card); background: var(--plate); overflow: hidden; }
.logbook-sum > div { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--plate-edge); }
.logbook-sum > div:first-child { border-left: 0; }
.logbook-sum span { font: 700 11px/1.3 var(--font); letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.logbook-sum b { font: 700 28px/1 var(--serif); }
.logbook-sum b.sm { font-size: 19px; line-height: 1.2; }
.flights { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flight { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--plate-edge); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.flight:hover { border-color: #FFC23F; background: var(--tint); }
.fl-pic { width: 112px; height: 74px; object-fit: cover; object-position: var(--mission-image-position, 50% 50%); border-radius: 8px; display: block; background: var(--tint); }
.fl-pic.bw { filter: grayscale(1) contrast(1.05); }
.flight.off .fl-pic { opacity: .55; }
.fl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fl-cat { font: 700 10.5px/1.3 var(--font); letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.fl-title { font: 700 17px/1.25 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--dim); align-items: center; }
.fl-level, .fl-when { display: inline-flex; align-items: center; gap: 6px; }
.fl-score { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.fl-pts b { font: 700 28px/1 var(--serif); }
.fl-pts small { color: var(--dim); font-size: 13px; margin-left: 2px; }
.fl-tag { font: 800 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--tint); color: var(--dim); white-space: nowrap; }
.fl-tag.best { background: #FFC23F; color: #151515; }
.fl-tag.ko { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.fl-why { font-size: 12px; color: var(--dim); max-width: 22ch; }

/* Simulators */
.relay-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.relay-state { display: inline-flex; align-items: center; gap: 6px; font: 800 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px 5px 8px; border-radius: 99px; background: var(--tint); color: var(--dim); }
.relay-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plate-edge); }
.relay-state.on { color: #2fae63; background: rgba(47, 174, 99, .14); }
.relay-state.on::before { background: #2fae63; box-shadow: 0 0 0 3px rgba(47, 174, 99, .22); }

/* Authenticator apps: one line */
.apps-title { margin-top: 20px; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.apps a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px 10px; border: 1px solid var(--plate-edge); background: transparent; transition: border-color .15s, background .15s; }
.apps a:hover { border-color: #FFC23F; background: var(--tint); }
.app-ico { width: 30px; height: 30px; padding: 7px; box-sizing: content-box; border-radius: 12px; background: #151515; color: #FFC23F; margin-bottom: 4px; }
.apps .app-name { font-weight: 700; font-size: 12.5px; color: var(--ink); line-height: 1.2; }
.apps .app-os { font-size: 11px; line-height: 1.25; }

@media (max-width: 899px) {
  .career { grid-template-columns: 1fr; }
  .career-figs > div:first-child { border-left: 0; }
  .ladder-track { display: none; }
  .ladder { grid-template-columns: 1fr; gap: 0; }
  .rung { flex-direction: row; text-align: left; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--tint); }
  .rung:last-child { border-bottom: 0; }
  .rung .insignia { margin: 0; }
  .rung b { flex: 1; }
  .rung.now .insignia { transform: none; }
  .rung em { margin: 0; }
  .logbook-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logbook-sum > div:nth-child(3) { border-left: 0; }
  .logbook-sum > div:nth-child(n + 3) { border-top: 1px solid var(--plate-edge); }
}
@media (max-width: 599px) {
  .career-now { padding: 20px; gap: 16px; }
  .insignia.big { width: 48px; height: 72px; }
  .career-figs { grid-template-columns: 1fr; }
  .career-figs > div { border-left: 0; border-top: 1px solid var(--plate-edge); padding: 16px 20px; }
  .flight { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .fl-pic { width: 76px; height: 56px; }
  .fl-score { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .fl-pts b { font-size: 22px; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .sim-dot, .nav-sim-dot, .career-bar span { animation: none; }
  .switch-knob::after { transition: none; }
}

/* Home: the time left on the weekly challenge, laid over the picture (top right, under the badge) */
.hp-feature-top { align-items: flex-start; }
.hp-top-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hp-left { display: flex; align-items: center; gap: 12px; padding: 10px 14px 11px; border-radius: 6px; color: #fff;
  background: rgba(12, 12, 12, .62); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hp-left svg { width: 28px; height: 28px; flex: none; color: #FFC23F; }
.hp-left > div { display: grid; gap: 1px; }
.hp-left-label { font: 700 11px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #d8d4ca; }
.hp-left > div > b { font: 700 clamp(22px, 2.1vw, 30px)/1.05 var(--display, Georgia, serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-left-end { font-size: 12.5px; color: #d8d4ca; }
@media (max-width: 699px) {
  .hp-left { padding: 8px 11px; gap: 9px; }
  .hp-left svg { width: 22px; height: 22px; }
  .hp-left > div > b { font-size: 21px; }
}

/* Leaderboard: one thumb per line, nothing else */
.rk-cheer-one { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; color: var(--dim); font-size: 14px; }
.rk-cheer-one span { color: var(--ink); flex: none; }
.bravo .kudo { min-height: 36px; min-width: 64px; padding: 4px 12px; border-radius: 4px; gap: 8px; justify-content: center; cursor: pointer; }
.bravo .kudo .ico { width: 20px; height: 20px; }
.bravo .kudo b { font-variant-numeric: tabular-nums; }
.bravo .kudo:not(:disabled):hover { border-color: var(--rk-saffron); }
.bravo .kudo.mine { border-color: var(--rk-saffron); color: var(--rk-saffron); }
.bravo .kudo:disabled { cursor: default; opacity: .4; }

/* Leaderboard › Saison: the calendar year covered, the days left */
.rk-season { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: clamp(18px, 2.2vw, 28px); border: 1px solid var(--plate-edge); border-radius: 6px; background: var(--plate); }
.rk-season h2 { margin: 2px 0 4px; font: 700 clamp(28px, 2.7vw, 40px)/1.06 var(--display, Georgia, serif); letter-spacing: -.02em; }
.rk-season .rk-meta { margin: 0; }
.rk-season-left { margin: 0; display: flex; align-items: baseline; gap: 10px; max-width: 220px; text-align: right; }
.rk-season-left b { font: 700 clamp(36px, 3.4vw, 52px)/1 var(--display, Georgia, serif); font-variant-numeric: tabular-nums; color: var(--rk-saffron, #FFC23F); }
.rk-season-left span { color: var(--dim); font-size: 14px; line-height: 1.3; text-align: left; }
.rk-season-note { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--plate-edge); color: var(--dim); font-size: 14px; }
@media (max-width: 699px) { .rk-season { grid-template-columns: 1fr; } .rk-season-left { text-align: left; } }

/* Leaderboard › Par mission: search with suggestions */
.rk-search { position: relative; max-width: 560px; margin: -8px 0 18px; }
.rk-search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.rk-search-ico svg { width: 100%; height: 100%; display: block; }
.rk-search input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px 10px 42px; border: 1px solid var(--plate-edge); border-radius: 6px; background: var(--plate); color: var(--ink); font: inherit; font-size: 16px; }
.rk-search input:focus { outline: none; border-color: var(--rk-saffron, #FFC23F); box-shadow: 0 0 0 3px color-mix(in srgb, #FFC23F 25%, transparent); }
.rk-search ul { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: min(360px, 60vh); overflow-y: auto;
  border: 1px solid var(--plate-edge); border-radius: 6px; background: var(--plate); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.rk-search li[role=option] { display: grid; gap: 2px; padding: 9px 12px; border-radius: 4px; cursor: pointer; }
.rk-search li[role=option] span { font-size: 13px; color: var(--dim); }
.rk-search li[aria-selected="true"], .rk-search li[role=option]:hover { background: color-mix(in srgb, #FFC23F 14%, transparent); }
.rk-search mark { background: none; color: var(--rk-saffron, #FFC23F); font-weight: 800; }
.rk-search-none { padding: 10px 12px; color: var(--dim); font-size: 14px; }

/* Mon compte › Mes missions: sort and ten flights a page */
.lb-head { align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-head h3 { margin: 0; }
.lb-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); }
.lb-sort select { min-height: 36px; }
/* Room between the heading (with its sort) and the line under it */
.lb-head + p { margin-top: 16px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.pager .pg { min-width: 38px; min-height: 38px; padding: 0 10px; border: 1px solid var(--plate-edge); border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.pager .pg:hover:not(:disabled) { border-color: #FFC23F; }
.pager .pg.on { background: #FFC23F; border-color: #FFC23F; color: #171717; }
.pager .pg:disabled { opacity: .35; cursor: default; }
.pager .pg-gap { color: var(--dim); padding: 0 2px; }
.pager .pg-info { margin-left: auto; color: var(--dim); font-size: 14px; }

/* Live countdown (home, weekly challenge): days, hours, minutes, seconds, ticking */
.ticker { display: inline-flex; align-items: flex-end; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticker .tk { display: inline-flex; align-items: baseline; gap: 2px; }
.ticker .tk b { display: inline-block; text-align: right; font: 700 clamp(22px, 2.1vw, 30px)/1.05 var(--display, Georgia, serif); }
.ticker .tk i { font: 600 12px/1 var(--font); font-style: normal; color: var(--dim); }
.ticker .tk + .tk::before { content: ""; }
.hp-left .ticker .tk i { color: #d8d4ca; }
.rk-left .ticker .tk b { font-size: clamp(26px, 2.3vw, 32px); }
.rk-left > div { display: grid; gap: 2px; }
.wk-left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0; }
.wk-left .ticker .tk b { font-size: 22px; }
.hp-left.over .ticker, .rk-left.over .ticker, .wk-left.over .ticker { opacity: .5; }
@media (max-width: 699px) { .ticker .tk b { font-size: 21px; } }

/* Leaderboard: « Tous les pilotes / Mes amis » as tags under the heading, on the left */
.rk-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rk-tag-f { padding: 6px 14px; border: 1px solid var(--plate-edge); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.rk-tag-f:hover { border-color: var(--rk-saffron, #FFC23F); }
.rk-tag-f.on { border-color: var(--rk-saffron, #FFC23F); background: color-mix(in srgb, #FFC23F 14%, transparent); font-weight: 700; }
/* Nobody ranked yet: the message and the way to fly it, no side panel */
.rk-main.solo { grid-template-columns: minmax(0, 1fr); }
.rk-none { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rk-none .rk-empty { margin: 0; }
.rk-none .rk-cta { width: auto; }
.ticker .tk:not(:first-child) b { min-width: 1.2em; }

/* Linking X-Plane from the site (« Lier X-Plane »): the sheet, the waiting page, the inline button. */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }
.link-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.link-or { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--plate-edge); font-size: 1rem; }
.link-wait { max-width: 560px; margin: 48px auto; text-align: center; }
/* Downloading XP-FlightDeck: the visitor's system first, the others below. */
.dl-list { display: grid; gap: 8px; }
.dl-list .btn { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; }
.dl-list .btn small { font-weight: 400; opacity: .75; font-size: .8em; }

/* Club hero: the photo fills the first screen (window height below the header) and the whole hero at
   every width, so no black band shows under it; the aircraft flies top right, the mountain in the middle. */
.club-hero { display: flex; flex-direction: column; min-height: calc(100svh - var(--top-h, 0px)); }
.club-hero-in { flex: 1; width: 100%; }
.club-hero-bg img { object-position: 60% 30%; }
@media (min-width: 900px) and (max-width: 1099px) {
  .club-hero-bg img { width: 100%; margin-left: 0; object-position: 66% 30%; }
}
@media (max-width: 899px) {
  .club-hero-bg { bottom: 0; height: auto; }
  .club-hero-bg img { object-position: 64% 20%; }
  .club-hero-bg::after { background: linear-gradient(180deg, rgba(21, 21, 21, .82) 0%, rgba(21, 21, 21, .4) 30%, rgba(21, 21, 21, .08) 46%, rgba(21, 21, 21, .35) 70%, rgba(21, 21, 21, .75) 100%); }
}

/* Club: two plans, yearly (checked by default) or monthly. */
.club-plans { display: grid; gap: 10px; margin: 6px 0 4px; padding: 0; border: 0; }
.club-plan { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--plate-edge); border-radius: 6px; cursor: pointer; font: 16px/1.3 var(--club-sans); }
.club-plan:has(input:checked) { border-color: var(--club-ink); background: rgba(0, 0, 0, .04); }
.club-plan input { width: 18px; height: 18px; margin: 0; accent-color: var(--club-ink); }
.club-plan-name { font-weight: 800; }
.club-plan-price { text-align: right; white-space: nowrap; }
.club-plan-price b { font: 700 26px/1 var(--club-serif); letter-spacing: -.02em; }
.club-save { display: inline-block; margin-left: 6px; padding: 3px 7px; background: var(--club-saffron); color: var(--club-ink); border-radius: 3px; font: 800 12px/1 var(--club-sans); }
/* Simulators tab: one card, the linked simulator (Délier beside it) or « Lier X-Plane ». */
.sims .relay-name b { font-size: 1.05rem; }
.sims-other { border-top: 1px solid var(--plate-edge); padding-top: 12px; }
.sims-other summary { cursor: pointer; font-weight: 650; }
.sims-other[open] summary { margin-bottom: 8px; }
.sims-other .link-steps + .row, .sims-other .link-steps ~ p { margin-top: 12px; }
/* A link code sent by the simulator: its own card above, to confirm. */
.sims-code { margin-bottom: 16px; border-color: var(--accent); }
.sims-type { margin: 14px 0 0; }
.sims-code form { align-items: center; gap: 14px; flex-wrap: wrap; }
.sims-code form .msg { flex: 1 0 100%; margin-top: 8px; }
/* Code field and « Lier » the same height; wide enough for the whole ABC-123 (6 characters + dash). */
.sims-code .code-input { box-sizing: border-box; flex: 0 0 auto; width: 13.5rem; max-width: 100%; height: 52px; margin: 0; padding: 0 12px; border-radius: 4px; font-size: 24px !important; line-height: 1 !important; letter-spacing: 4px; }
.sims-code form .btn { box-sizing: border-box; height: 52px; min-height: 52px; padding-block: 0; }
/* Linking X-Plane: full screen, nothing else clickable, a radar and typed messages. */
.link-layer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(8, 12, 18, .92); backdrop-filter: blur(4px); }
.link-box { width: 100%; max-width: 520px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.link-box h2 { margin: 0; }
.ll-line { min-height: 3em; margin: 0; font: 600 1.05rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--dim); }
.ll-caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: currentColor; animation: ll-blink 1s steps(1) infinite; }
.ll-actions { display: flex; gap: 10px; justify-content: center; }
.radar { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 1px solid rgba(47, 174, 99, .5); background:
  radial-gradient(circle, transparent 31%, rgba(47, 174, 99, .25) 32%, transparent 33%, transparent 64%, rgba(47, 174, 99, .25) 65%, transparent 66%),
  radial-gradient(circle, rgba(47, 174, 99, .12), transparent 70%); overflow: hidden; margin-bottom: 6px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(47, 174, 99, .55), transparent 25%); animation: ll-spin 2.4s linear infinite; }
.radar .blip { position: absolute; top: 28%; left: 66%; width: 7px; height: 7px; border-radius: 50%; background: #2fae63; animation: ll-blip 2.4s ease-out infinite; }
.radar .plane { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 10px; }
.radar .check { position: absolute; inset: 0; display: none; place-items: center; font: 800 52px/1 var(--font); color: #2fae63; }
.link-layer.failed .sweep, .link-layer.failed .blip { animation: none; opacity: 0; }
@keyframes ll-spin { to { transform: rotate(360deg); } }
@keyframes ll-blip { 0%, 10% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ll-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .radar .sweep, .radar .blip, .ll-caret { animation: none; } }
/* Page loading: the same radar, small, centred in the free space with a short line under it. */
.page-loader { display: grid; place-content: center; justify-items: center; gap: 14px; min-height: min(52vh, 420px); padding: 28px 16px; animation: boot-in .35s ease-out; }
.page-loader p { margin: 0; font: 600 .9rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: var(--dim); }
.radar.mini { width: 76px; height: 76px; margin: 0; box-shadow: 0 0 24px rgba(47, 174, 99, .12); }
.radar.mini .plane { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 6px; }
.radar.mini .blip { width: 5px; height: 5px; }

/* Mon abonnement: the Club's state, next charge and card, cancelled in a confirmation pop-in */
.sub-card h3 { margin: 0; }
.sub-state { margin: 0; color: #e8f1ef; }
.sub-state.stopping { color: #FFC23F; font-weight: 600; }
.sub-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; margin: 4px 0; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .18); }
.sub-facts-grid dt { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #cfe0dd; }
.sub-facts-grid dd { margin: 0; color: #fff; }
.sub-auto.off { color: #FFC23F; font-weight: 600; }
.sub-auto + .link-btn { margin-left: 14px; }
@media (max-width: 1099px) { .sub-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-card .link-btn { color: #FFC23F; }
.sub-card .sub-stop { color: #fff; border-color: rgba(255, 255, 255, .5); }
.sub-safe { margin: 28px 0 0; color: #cfe0dd; }
.sub-confirm { max-width: 480px; }
.sub-confirm .sub-facts { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 699px) { .sub-facts-grid { grid-template-columns: 1fr; } }
/* The XP-FlightDeck logo on the linking screen, and its « linked » state. */
.ll-logo { width: 260px; max-width: 80%; height: auto; margin-bottom: 8px; }
.ll-done { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.link-layer.linked .sweep, .link-layer.linked .blip, .link-layer.linked .plane { display: none; }
.link-layer.linked .radar { border-color: #2fae63; background: rgba(47, 174, 99, .12); }
.link-layer.linked .check { display: grid; }
/* A linked computer: its name, then « linked » and « X-Plane running/closed » as two separate lines. */
.relay-card { border: 1px solid var(--plate-edge); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px; }
.relay-head { display: flex; align-items: center; gap: 12px; }
.relay-head > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.relay-head b { font-size: 1.1rem; }
.relay-pc { font-size: 26px; line-height: 1; }
.relay-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.relay-checks li { display: flex; align-items: flex-start; gap: 10px; }
.relay-checks li > span { flex: 1; min-width: 0; }
/* The light sits on the first line of the text (0.5em down, minus half its size), the text wraps beside it. */
.relay-checks li::before { content: ""; width: 9px; height: 9px; margin-top: calc(.75em - 4.5px); border-radius: 50%; background: var(--plate-edge); flex: none; }
.relay-checks li.ok::before { background: #2fae63; box-shadow: 0 0 0 3px rgba(47, 174, 99, .22); }
.relay-checks li.off::before { background: #d9a03f; }
/* Unlinking a computer: the confirmation window, its « Délier » in red. */
.modal.ask .card { max-width: 460px; }
.modal.ask h2 { margin: 0; font-size: 1.35rem; }
.modal .btn.danger.danger:not(.ghost):not(.gold):not(.light) { background: #c8442f; border-color: #c8442f; color: #fff; }
.modal .btn.danger.danger:not(.ghost):not(.gold):not(.light):hover { background: #b23a27; border-color: #b23a27; }

/* Mon abonnement: the free trial, day by day */
.trial-panel { display: grid; gap: 10px; padding: 14px 16px; border-radius: 6px; background: rgba(0, 0, 0, .22); }
.trial-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #fff; }
.trial-head span { color: #FFC23F; font-weight: 700; }
.trial-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.trial-bar span { display: block; height: 100%; background: #FFC23F; }
.trial-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #e8f1ef; }
.trial-steps li.off { color: #cfe0dd; }

/* « X-Plane n'est pas lancé »: X-Plane is watched while the window is open. */
.sr-wait { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--dim); font-weight: 600; }
.sr-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fae63; animation: sr-pulse 1.4s ease-in-out infinite; }
@keyframes sr-pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .sr-dot { animation: none; } }

/* The launch button says what X-Plane is doing. Its main element keeps one width in every state (the
   whole width on a phone); a note or a « ↻ » action sits under it. */
.fly-slot { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.fly-cta { box-sizing: border-box; width: 300px; max-width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.fly-cta.loading { cursor: progress; opacity: 1; }
.fly-cta.loading .prop { width: 18px; height: 18px; flex: none; }
.fly-cta.loading .prop .blades { transform-origin: 12px 12px; animation: prop-spin .45s linear infinite; }
.sim-note { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--dim); }
.sim-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.sim-note.ok { color: #2fae63; }
.sim-note.busy { color: #d9a441; }
.sim-pill { padding: 9px 14px; border-radius: 999px; font-weight: 700; border: 1px solid var(--plate-edge); background: var(--plate); }
.sim-pill.flying { color: #2fae63; border-color: rgba(47, 174, 99, .55); background: rgba(47, 174, 99, .12); }
.sim-pill.flying::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2fae63; animation: sr-pulse 1.4s ease-in-out infinite; }
.sim-pill.crashed { color: #e0645c; border-color: rgba(224, 100, 92, .55); background: rgba(224, 100, 92, .12); }
.sim-pill.done { color: #2fae63; border-color: rgba(47, 174, 99, .55); }
/* Start the mission over (in flight): a real button, then, armed, a yellow one asking to confirm. */
.sim-again { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 2px solid currentColor; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 1.05rem; font-weight: 750; cursor: pointer; }
.sim-again:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.sim-again:focus-visible { outline: 2px solid #f3c45e; outline-offset: 3px; }
@media (max-width: 560px) { .fly-slot { display: flex; width: 100%; } .fly-cta, .sim-again { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sim-pill.flying::before, .fly-cta.loading .prop .blades { animation: none; } }

/* Home globe, zoomed in: X-Plane's airports, grouped (a number) then one by one (a dot and its code). */
.globe-cluster, .globe-apt { pointer-events: auto; cursor: pointer; transform: translate(-50%, -50%); font: 700 11px/1 var(--font); }
.globe-cluster { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; border: 2px solid rgba(13, 23, 30, .65); background: rgba(63, 179, 166, .92); color: #0d171e; box-shadow: 0 0 0 4px rgba(63, 179, 166, .25); }
.globe-cluster.mid { min-width: 32px; height: 32px; border-radius: 16px; font-size: 12px; }
.globe-cluster.big { min-width: 40px; height: 40px; border-radius: 20px; font-size: 13px; background: rgba(243, 196, 94, .95); box-shadow: 0 0 0 5px rgba(243, 196, 94, .25); }
.globe-apt { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px; border: 0; background: none; color: #ecE9e0; letter-spacing: .04em; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); transform: translate(-6px, -50%); }
.globe-apt i { width: 8px; height: 8px; border-radius: 50%; background: #3fb3a6; box-shadow: 0 0 0 2px rgba(13, 23, 30, .7); flex: none; }
.globe-apt.s2 i { width: 10px; height: 10px; }
.globe-apt.s3 i { width: 12px; height: 12px; background: #f3c45e; }
.globe-cluster:hover, .globe-apt:hover span, .globe-cluster:focus-visible, .globe-apt:focus-visible span { outline: 2px solid #f3c45e; outline-offset: 2px; }
.globe-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.globe-zoom button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(236, 233, 224, .35); background: rgba(13, 23, 30, .75); color: #ece9e0; font: 700 20px/1 var(--font); cursor: pointer; }
.globe-zoom button:hover, .globe-zoom button:focus-visible { border-color: #f3c45e; color: #f3c45e; }
/* X-Plane's state under the yellow button: a status line, its dot coloured by the state. */
.sim-note.crash { color: #e0645c; }
.sim-note.flying { color: #2fae63; }
.sim-note.flying .sim-dot { animation: sr-pulse 1.4s ease-in-out infinite; }
.fly-cta[disabled]:not(.loading) { opacity: .7; cursor: default; }
@media (prefers-reduced-motion: reduce) { .sim-note.flying .sim-dot { animation: none; } }
/* The airport markers stay inside the globe: never over the panel or the page. */
.globe { isolation: isolate; z-index: 0; overflow: hidden; }

/* Phone: a pinch on the globe zooms the globe, not the page; a vertical swipe still scrolls the page. */
.globe, .globe canvas, .globe * { touch-action: pan-y; }

/* Home community: nobody in the air, the « En vol maintenant » column goes and the others share the row. */
.hp-col[hidden] { display: none; }
/* Wide screens only: on tablets and phones the columns stay stacked (it used to squeeze them side by side). */
@media (min-width: 1100px) { .hp-cols:has(> .hp-col[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* « Carte de vol »: next to « Écouter le briefing », a pop-in with the live map and the steps. */
.brief-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 14px; }
.brief-tools .brief-play { margin: 0; }
/* The access line in the sheet's facts is a fact, not a button: plain text, no pill. */
.facts .chip, .facts .chip.owned, .facts .chip.free, .facts .chip.paid { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font: inherit; }
.modal.fm .fm-card { max-width: none; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.fm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fm-head h2 { margin: 2px 0 0; font-size: 1.3rem; }
.fm-msg { margin: 8px 0; color: var(--dim); }
/* Crashed / finished: a coloured status on its own line, then how to get the map back. */
.fm-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.fm-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fm-status.crash { color: #b8281b; background: rgba(229, 72, 58, .1); border: 1px solid rgba(229, 72, 58, .45); }
.fm-status.done { color: #1d7a43; background: rgba(52, 196, 111, .1); border: 1px solid rgba(52, 196, 111, .45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fm-status.crash { color: #ff8a7a; } :root:not([data-theme="light"]) .fm-status.done { color: #34c46f; } }
:root[data-theme="dark"] .fm-status.crash { color: #ff8a7a; } :root[data-theme="dark"] .fm-status.done { color: #34c46f; }
.fm-hint { display: block; margin-top: 10px; }
.fm-live { display: flex; flex-direction: column; gap: 12px; }
.fm-live[hidden], .fm-msg[hidden] { display: none; }
.fm-steer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fm-steer:empty { display: none; }
.fm-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px; border-radius: 8px; background: #0d171e; color: #ece9e0; border: 1px solid rgba(255, 255, 255, .08); }
.fm-tile span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-tile b { font: 700 1.35rem/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fm-tile small { font-size: .74rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-tile.turn { border-color: rgba(243, 196, 94, .6); } .fm-tile.turn small { color: #f3c45e; opacity: 1; font-weight: 700; }
.fm-tile.ok { border-color: rgba(47, 174, 99, .6); } .fm-tile.ok small { color: #2fae63; opacity: 1; font-weight: 700; }
.fm-tile.up b { color: #6fd39b; } .fm-tile.down b { color: #f0a35e; }
.fm-plane { overflow: visible; }
.fm-hdg { position: absolute; left: 30px; top: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(13, 23, 30, .85); color: #f3c45e; font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; white-space: nowrap; pointer-events: none; }
.fm-mapwrap { position: relative; }
.fm-map { height: min(52vh, 420px); border-radius: 10px; overflow: hidden; background: #13232e; }
.fm-follow { position: absolute; z-index: 500; right: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(13, 23, 30, .8); color: #ece9e0; font-weight: 700; font-size: .85rem; cursor: pointer; }
.fm-follow.on { background: #f3c45e; color: #0d171e; border-color: #f3c45e; }
.fm-wrap, .fm-plane { background: none; border: 0; }
.fm-plane span { display: block; width: 34px; height: 34px; transition: transform .6s linear; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.fm-mk { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #173448; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.fm-mk svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fm-mk b { position: absolute; top: -8px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #fff; color: #0d171e; font: 800 11px/18px var(--font); text-align: center; }
.fm-mk.next { background: #ff8c1a; box-shadow: 0 0 0 5px rgba(255, 140, 26, .4), 0 1px 4px rgba(0, 0, 0, .45); }
.fm-alt { position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); padding: 2px 6px; border-radius: 4px; background: rgba(13, 23, 30, .88); color: #f3c45e; font: 700 11px/1.3 var(--font); font-style: normal; white-space: nowrap; pointer-events: none; }
.fm-mk.passed { background: #2fae63; } .fm-mk.missed { background: #d9433a; }
.fm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fm-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--plate-edge); font-weight: 600; }
.fm-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--plate); border: 1px solid var(--plate-edge); font-weight: 800; font-size: .85rem; }
.fm-steps li.now { border-color: #f3c45e; background: rgba(243, 196, 94, .12); }
.fm-steps li.now .fm-n { background: #f3c45e; color: #0d171e; border-color: #f3c45e; }
.fm-steps li.done { color: var(--dim); }

.fm-steps li.done .fm-n { background: #2fae63; color: #fff; border-color: #2fae63; }
.fm-steps li.bonus { font-weight: 500; }
@media (max-width: 560px) {
  .modal.fm { padding: 0; }
  .modal.fm .fm-card { width: 100%; height: 100dvh; max-height: none; border-radius: 0; padding: 14px 16px; }
  .fm-map { height: 46vh; }
  .fm-steer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fm-tile b { font-size: 1.15rem; }
  .brief-tools .brief-play { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fm-plane span { transition: none; } }

/* Training sheet: « Choisissez votre aéroport » (or the airport chosen) opens the airport panel. */
.fact-pick { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 650; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.fact-pick span { color: var(--accent); font-size: 1.15em; line-height: 1; }
.fact-pick.empty { color: var(--accent); }
.fact-pick:hover, .fact-pick:focus-visible { text-decoration-thickness: 2px; }

/* ---- Back-office: dashboards (shop, pilots) */
.admin-h { margin: 26px 0 12px; font-size: 20px; }
.admin-h:first-child { margin-top: 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 899px) { .admin-grid { grid-template-columns: minmax(0, 1fr); } }
.admin-alert { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; text-decoration: none; color: inherit;
  border-left: 4px solid #FFC23F; }
.admin-chart { margin-bottom: 24px; }
.oc { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 160px auto; column-gap: 8px; margin-top: 16px; }
.oc-y { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; margin: -7px 0; }
.oc-plot { position: relative; display: flex; align-items: flex-end; gap: 3px; border-left: 1px solid var(--plate-edge); border-bottom: 1px solid var(--plate-edge); }
.oc-plot i { position: absolute; left: 0; right: 0; border-top: 1px dashed color-mix(in srgb, var(--plate-edge) 60%, transparent); pointer-events: none; }
.oc-bar { position: relative; flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #FFC23F; }
.oc-bar.zero { height: 0; }
.oc-bar b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 11px; line-height: 1.6; }
.oc-bar:hover { filter: brightness(.85); }
.oc-x { grid-column: 2; display: flex; gap: 3px; margin-top: 6px; }
.oc-x span { flex: 1; overflow: visible; white-space: nowrap; }
.oc-legend { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; }
.oc-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #FFC23F; }
/* « Carte de vol » before the flight: the mission's plan (airport, start, route, points), no live figures. */
.fm-live.plan .fm-steer, .fm-live.plan .fm-follow { display: none; }
/* The steps with their pictograms (before and during the flight): grey disc to come, gold now, green ✓ done. */
.fm-steps-title { margin: 14px 0 8px; font: 700 12px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.fm-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--plate-edge); background: rgba(255, 255, 255, .04); color: #f3c45e; }
.fm-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fm-steps li.now .fm-ico { background: #f3c45e; border-color: #f3c45e; color: #0d171e; box-shadow: 0 0 0 4px rgba(243, 196, 94, .3); }
.fm-steps li.done .fm-ico { background: #2fae63; border-color: #2fae63; color: #fff; }
.fm-steps li.done span:nth-child(2) { text-decoration: line-through; }
.fm-bonus { margin-left: auto; color: #f3c45e; }
.fm-steps li.fm-points { display: block; padding: 2px 0 2px 16px; border: 0; }
.fm-points ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--plate-edge); display: grid; gap: 4px; }
.fm-points li { display: flex; align-items: center; gap: 10px; padding: 3px 0; border: 0; font-weight: 500; font-size: 14px; }
.fm-points b { flex: none; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px; background: #173448; color: #fff; font: 800 12px/1 var(--font); }
.fm-points li.next b { background: #f3c45e; color: #0d171e; }
.fm-points li.next { font-weight: 700; }
.fm-points li.passed { color: var(--dim); } .fm-points li.passed b { background: #2fae63; }
/* The state written beside a point, and said over the map for a few seconds when it changes */
.fm-points .fm-st { margin-left: auto; padding: 2px 8px; border-radius: 10px; font: 700 12px/1.3 var(--font); font-style: normal; }
.fm-points li.passed .fm-st { background: rgba(47, 174, 99, .18); color: #2fae63; }
.fm-points li.missed .fm-st { background: rgba(217, 67, 58, .16); color: #e7655d; }
.fm-flash { position: absolute; z-index: 1000; top: 12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 22px;
  font: 800 15px/1.2 var(--font); white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); animation: fm-flash 3.5s ease-out forwards; pointer-events: none; }
.fm-flash.passed { background: #2fae63; color: #fff; }
.fm-flash.missed { background: #d9433a; color: #fff; }
@keyframes fm-flash { 0% { opacity: 0; transform: translate(-50%, -6px); } 8%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fm-flash { animation: none; } }
.fm-points li.missed { color: var(--dim); } .fm-points li.missed b { background: #d9433a; }
#ch-form, .ch-grid { width: 100%; max-width: none; box-sizing: border-box; }
.ch-grid label b { white-space: nowrap; }
.ch-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.ch-grid select, .ch-grid input { width: 100%; }
@media (max-width: 799px) { .ch-grid { grid-template-columns: minmax(0, 1fr); } }
.ch-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: start; }
.ch-img { width: 160px; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--mission-image-position, 50% 50%); border-radius: 8px; }
@media (max-width: 599px) { .ch-row { grid-template-columns: minmax(0, 1fr); } .ch-img { width: 100%; } }
.status.warn { background: #FFC23F; color: #171717; }
/* Mission sheet: previous / next mission of the same level, round arrows on either side of the title */
.sheet-title { display: grid; grid-template-columns: 48px minmax(0, auto) 48px; justify-content: start; align-items: center; gap: 16px; margin-top: 8px; }
.sheet-title h1 { margin: 0; }
.pn-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--plate-edge); color: var(--ink); text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s; }
.pn-btn:hover, .pn-btn:focus-visible { border-color: #FFC23F; background: color-mix(in srgb, #FFC23F 14%, transparent); outline: none; }
.pn-btn:active { transform: scale(.94); }
.pn-btn.off { visibility: hidden; }
@media (max-width: 600px) {
  .sheet-title { grid-template-columns: 44px minmax(0, 1fr) 44px; justify-content: stretch; gap: 8px; }
  .pn-btn { width: 44px; height: 44px; }
  .sheet-title h1, .sheet-title h1.long { font-size: clamp(22px, 6vw, 30px); text-align: center; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) { .pn-btn { transition: none; } }
/* A sheet's close cross, top right */
.link-sheet { position: relative; }
.sheet-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.sheet-x:hover, .sheet-x:focus-visible { background: var(--tint); outline: none; }
.link-sheet > .eyebrow { padding-right: 48px; }
/* Popups: the page behind does not scroll (neither down nor sideways) while one is open */
html:has(body > .modal), html:has(body > .modal) body { overflow: hidden; }
.modal { overflow-y: auto; overscroll-behavior: contain; }
.modal > .card { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal > .card > .eyebrow:first-of-type { padding-right: 48px; }
.nw { white-space: nowrap; }
/* Download popup: room between the download buttons and the steps */
.dl-sheet .dl-list { gap: 10px; }
.dl-sheet .dl-list + .link-steps { margin-top: 24px; }

/* « Carte de vol », training: the cockpit actions folded under each step, ticked live */
.fm-steps li.fm-do { display: block; padding: 0 0 2px 16px; border: 0; font-weight: 500; }
.fm-do details { border-left: 2px solid var(--plate-edge); padding: 2px 0 2px 14px; }
.fm-do summary { cursor: pointer; width: fit-content; padding: 4px 0; color: #f3c45e; font: 700 13px/1.2 var(--font); letter-spacing: .02em; }
.fm-do p { margin: 2px 0 8px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.fm-do h4 { margin: 10px 0 4px; color: var(--dim); font: 700 11px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.fm-do ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.fm-do ul li { display: flex; align-items: baseline; gap: 9px; padding: 2px 0; border: 0; font-size: 14px; font-weight: 500; }
.fm-do ul li i { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--plate-edge); font: 800 10px/1 var(--font); font-style: normal; transform: translateY(3px); }
.fm-do ul li.ok { color: var(--dim); }
.fm-do ul li.ok i { background: #2fae63; border-color: #2fae63; color: #fff; }
.fm-do ul li.eye i { border-style: dashed; color: var(--dim); }
.fm-do ul li.plan i { width: 6px; height: 6px; margin: 0 5px; border: 0; background: #f3c45e; transform: translateY(-2px); }
.fm-do ul li b { font-weight: 800; letter-spacing: .02em; }

/* « Carte de vol », airdrop missions: the drop button under the drop step, the X-Plane key beside it */
.fm-steps li.fm-drop { display: block; padding: 2px 0 6px 16px; border: 0; font-weight: 500; }
.fm-drop-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-left: 2px solid var(--plate-edge); padding: 4px 0 2px 14px; }
.fm-drop-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 6px; background: #f3c45e; color: #0d171e; font: 800 14px/1.1 var(--font); cursor: pointer; }
.fm-drop-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.fm-drop-btn:hover:not(:disabled) { background: #ffd36f; }
.fm-drop-btn:focus-visible, .fm-key-toggle:focus-visible { outline: 2px solid #f3c45e; outline-offset: 3px; }
.fm-drop-btn:disabled { background: var(--plate-edge); color: var(--dim); cursor: not-allowed; }
.fm-key-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fm-key-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: #f3c45e; font: 700 13px/1.2 var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fm-drop-note { margin: 0; padding: 2px 0 0 16px; border-left: 2px solid var(--plate-edge); min-height: 0; color: var(--dim); font-size: 13px; }
.fm-drop-note:empty { display: none; }
.fm-drop-note.ok { color: #2fae63; font-weight: 700; }
.fm-drop-note.err { color: #e7655d; font-weight: 700; }
.fm-key { margin: 6px 0 0; padding: 8px 12px 8px 30px; border-left: 2px solid var(--plate-edge); font-size: 14px; line-height: 1.45; }
.fm-key p { margin: 0 0 4px; }
.fm-key ol { margin: 0 0 6px; padding-left: 18px; }
.fm-key li { display: list-item; padding: 1px 0; border: 0; font-weight: 500; }

/* « Carte de vol »: the start, a precise green dot; names written beside the points, always */
.fm-start { display: block; width: 16px; height: 16px; border-radius: 50%; background: #2fae63; border: 3px solid #fff; box-sizing: border-box; box-shadow: 0 0 0 4px rgba(47, 174, 99, .35), 0 1px 4px rgba(0, 0, 0, .5); }
.leaflet-tooltip.fm-lbl { padding: 2px 7px; border: 0; border-radius: 6px; background: rgba(13, 23, 30, .86); color: #fff; font: 700 12px/1.3 var(--font); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); white-space: nowrap; }
.leaflet-tooltip.fm-lbl::before { display: none; }
.leaflet-tooltip.fm-lbl.start { color: #7ee2a6; }

/* « Carte de vol »: the title and its ✕ stay at the top while the steps scroll, so it closes from anywhere */
.modal.fm .fm-card { padding-top: 0; }
.fm-head { position: sticky; top: 0; z-index: 1100; margin: 0 -18px; padding: 18px 18px 12px; background: var(--plate, #1b252c); border-bottom: 1px solid var(--plate-edge); }
@media (max-width: 560px) { .fm-head { margin: 0 -16px; padding: 14px 16px 10px; } }
/* Training sheet: the instructor's briefing, in the instructor's words — a quote on the dark page, signed with a captain's cap */
.brief-voice { position: relative; margin: 14px 0 18px; padding: 8px 0 4px 58px; border: 0; background: none; color: var(--ink); }
.brief-voice::before { content: "“"; position: absolute; left: 0; top: -6px; font: 700 64px/1 var(--display); color: #f3c45e; }
.brief-voice p { margin: 0; max-width: 72ch; font-size: 1.04rem; line-height: 1.65; }
.brief-voice p + p { margin-top: 12px; }
.brief-voice footer { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 0; border: 0; background: none; text-align: left; max-width: none; color: #a9b8c2; font: 700 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.cap-ico { width: 76px; height: 52px; flex: none; }
@media (max-width: 600px) { .brief-voice { padding: 40px 0 4px; } .brief-voice::before { top: -4px; font-size: 52px; } }

/* Mission sheet: a title that fits on one line, its short subtitle, then the aircraft above the facts */
.sheet-intro h1 { font-size: clamp(28px, 2.9vw, 44px); line-height: 1.08; }
.sheet-intro h1.long { font-size: clamp(24px, 2.3vw, 36px); }
.sheet-intro p.sheet-sub { max-width: none; margin: 10px 0 0; color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; }
.sheet-intro .sheet-title + p.sheet-sub { margin-left: 64px; }
@media (max-width: 600px) { .sheet-intro .sheet-title + p.sheet-sub { margin-left: 0; text-align: center; font-size: 15px; } }
.sheet-plane { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 10px 0; border-top: 1px solid var(--plate-edge); font-weight: 650; }
.sheet-plane span { display: grid; gap: 2px; }
.sheet-plane small { color: var(--dim); font-size: 12px; font-weight: 400; }
.plane-ico { width: 56px; height: 28px; flex: none; color: #f3c45e; }
.sheet-plane + .facts { margin-top: 0; }
/* Universe list: the subtitle under each mission's title */
.ml-title { display: grid; gap: 3px; min-width: 0; }
.ml-title small { color: var(--dim); font: 400 13px/1.35 var(--font); }
.live-slot:empty { display: none; }
/* The mission launched on the pilot's simulator, in the lists: a green « En vol » and a marked row. */
.live-tag { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 2px 9px 2px 7px; border-radius: 999px; background: rgba(47, 174, 99, .14); color: #1f8a4c; font: 700 11px/1.5 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.live-tag .live-dot { width: 7px; height: 7px; }
.live-tag.loading { background: var(--tint); color: var(--dim); }
.live-tag.loading .live-dot { background: var(--dim); box-shadow: none; }
.mission-list li.is-live { background: linear-gradient(90deg, rgba(47, 174, 99, .1), transparent 70%); box-shadow: inset 3px 0 0 #2fae63; }
.mission-list li.is-live a { padding-left: 8px; }
.mcard.is-live { box-shadow: 0 0 0 2px #2fae63, var(--shadow); }
.mcard .tags .live-tag { background: rgba(255, 250, 240, .95); color: #1f8a4c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ml-title .live-tag { color: #4fd18a; } }
:root[data-theme="dark"] .ml-title .live-tag { color: #4fd18a; }

/* Launch button in flight: « ↻ Recommencer », then a second click to confirm */
.sim-again.armed { border-color: #f3c45e; background: #f3c45e; color: #0d171e; }
/* In flight: « Recommencer » and « Arrêter » side by side, as wide together as the launch button was. */
.sim-row { display: flex; gap: 8px; width: 340px; max-width: 100%; }
.sim-row .sim-again { flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: 1rem; white-space: nowrap; }
.sim-again.abort.armed { border-color: #e0645c; background: #e0645c; color: #fff; }
@media (max-width: 560px) { .sim-row { width: 100%; } }
@media (max-width: 400px) { .sim-row .sim-again { white-space: normal; line-height: 1.15; } }

/* Header: the pilot's points after the training airport (computer), left of the avatar (phones, tablets) */
.top a.pts { display: inline-flex; align-items: baseline; gap: 4px; color: #aeb3b8; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.top a.pts b { color: #fff; font-weight: 700; }
.top a.pts.up b { color: #f3c45e; animation: pts-up 1.2s ease-out 2; }
@keyframes pts-up { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .top a.pts.up b { animation: none; } }
@media (max-width: 1023px) {
  .top.open .top-menu nav.main a.pts { display: none; } /* not in the open menu: beside the avatar */
  .top .avatar-mobile { align-items: center; gap: 10px; }
  .top .avatar-mobile a.pts { font-size: 14px; padding: 6px 0; }
}
@media (max-width: 380px) { .top .avatar-mobile a.pts { font-size: 13px; } .top .avatar-mobile { gap: 8px; } }

/* Download sheet: the other systems, small, at the bottom */
.dl-others { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--plate-edge); }
.dl-others p { margin: 0 0 8px; }
.dl-others-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-others-list .btn small { margin-left: 4px; opacity: .7; font-weight: 400; }
.dl-soon { padding: 6px 10px; border: 1px dashed var(--plate-edge); border-radius: 4px; color: var(--dim); font-size: 13px; }

/* ---------------------------------------------------------------- blog: articles as magazine cards; an article in
   a reading column (about 70 characters a line), its cover wide, its missions as cards, its sources below. */
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-block: 24px 36px; }
.blog-card { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--plate-edge); padding-bottom: 16px; }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; background: var(--tint); }
.blog-card-text { padding-top: 14px; }
.blog-card .eyebrow, .post-head .eyebrow { color: var(--dim); }
.blog-card h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.12; }
.blog-card p { margin: 0 0 10px; color: var(--dim); font-size: 15px; }
.blog-more { font-weight: 700; font-size: 14px; }
.blog-more span { display: inline-block; transition: transform .2s; }
.blog-card:hover .blog-more span { transform: translateX(4px); }
.post { padding-top: 10px; }
.post-head { max-width: 760px; margin: 0 auto; padding: 10px 0 24px; }
.post-head h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.06; margin: 8px 0 16px; }
.post-lead { margin: 0; font: clamp(18px, 2vw, 21px)/1.5 var(--serif); }
.post-cover { margin: 0 0 32px; }
.post-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: 50% 35%; background: var(--tint); }
.post-cover figcaption { max-width: 760px; margin: 8px auto 0; font-size: 13px; color: var(--dim); }
.post-body { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.post-body h2 { margin: 1.7em 0 .5em; font-size: clamp(24px, 3vw, 32px); }
.post-body h3 { margin: 1.3em 0 .35em; font-size: 21px; }
.post-body p, .post-body ul { margin: 0 0 1.1em; }
.post-body ul { padding-left: 1.2em; }
.post-body li { margin-bottom: .5em; }
.post-body a { text-underline-offset: 3px; }
.post-body sup { font-size: .65em; line-height: 0; }
/* A gallery of 3D models inside an article: pictures rendered on a transparent background, set on a light studio
   backdrop in both themes (olive and field grey would vanish on the dark one). */
.post-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; margin: 6px 0 1.6em; }
.post-models:has(> figure:only-child) { grid-template-columns: minmax(0, 420px); }
.post-models figure { margin: 0; }
.post-models img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 40%, #faf8f2 0%, #e4ddcb 100%); border: 1px solid var(--plate-edge); }
.post-models figcaption { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.post-models figcaption strong { display: block; color: var(--ink); font-size: 14px; }
.post-missions { margin-top: 44px; }
.post-sources { max-width: 760px; margin: 36px auto 0; padding-top: 14px; border-top: 4px double var(--rule); font-size: 14px; color: var(--dim); }
.post-sources h2 { font-size: 18px; margin: 0 0 8px; }
.post-sources ul { margin: 0; padding-left: 1.1em; }
.post-sources a { color: var(--dim); }
.post-next { margin-top: 52px; }
@media (max-width: 760px) {
  .blog-list { grid-template-columns: 1fr; gap: 22px; padding-block: 16px 24px; }
  .post-body { font-size: 17px; line-height: 1.65; }
  .post-cover { margin-inline: -16px; }
  .post-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .post-cover figcaption { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .blog-more span { transition: none; } }
/* Checkout popup: room between its parts, a wide saffron button that stays inviting, the footer's reassurance */
.modal .co { padding: 28px 28px 24px; }
.modal .co > h2 { margin-bottom: 0; }
.modal .co .co-lines { display: grid; gap: 14px; margin-top: 22px; }
.modal .co .co-lines .spread { align-items: baseline; gap: 4px 12px; }
.modal .co .co-lines .spread > :last-child { margin-left: auto; }
.modal .co .trial-note { margin-top: 22px; padding: 14px 16px; line-height: 1.55; }
.modal .co .seq + .trial-note { margin-top: 18px; }
.modal .co .check { margin-top: 22px; padding: 4px; border-radius: 8px; transition: box-shadow .2s; }
.modal .co .check.need { box-shadow: 0 0 0 2px #FFC23F; }
.modal .co .msg { margin-top: 14px; }
.modal #co-pay { display: flex; flex-direction: column; gap: 3px; width: 100%; min-height: 58px; margin-top: 22px; padding: 10px 18px; border: 0; border-radius: 8px; background: #FFC23F; color: #151515; font-size: 17px; font-weight: 800; line-height: 1.2; }
.modal #co-pay:hover { background: #F2AE17; }
.modal #co-pay:focus-visible { outline: 3px solid #FFC23F; outline-offset: 3px; }
.modal #co-pay small { font-size: 13px; font-weight: 600; color: #3B3426; }
.modal .co .co-under { display: grid; gap: 4px; margin-top: 12px; text-align: center; font-size: 13px; line-height: 1.45; color: var(--dim); }
.modal .co .co-under b { color: var(--ink); font-weight: 600; }
.modal .co .co-under a { color: inherit; text-underline-offset: 2px; }
.modal .co .co-trust { display: grid; justify-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--plate-edge); }
.modal .co .co-pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.modal .co .pay-marks { gap: 6px; }
.modal .co .pay-marks svg { width: 40px; height: 25px; }
.modal .co .co-secure { display: flex; gap: 8px; align-items: flex-start; max-width: 50ch; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.modal .co .co-secure svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
@media (max-width: 480px) { .modal .co { padding: 22px 18px 20px; } .modal #co-pay { font-size: 16px; } }

/* The « Merci » page after a checkout: confirmation, the facts that matter, then where to go. */
:root { --thanks-ok: #1f7a4d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --thanks-ok: #6fcf97; } }
:root[data-theme="dark"] { --thanks-ok: #6fcf97; }
.thanks { max-width: 600px; margin: 0 auto; padding: clamp(22px, 4vw, 36px); }
.thanks h1 { margin: 6px 0 0; font-size: clamp(32px, 5vw, 46px); line-height: 1.05; overflow-wrap: anywhere; }
.thanks-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--thanks-ok); }
.thanks-ok .tick { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--thanks-ok); color: var(--plate); flex: none; }
.thanks-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.5; }
.thanks-facts { margin-top: 20px; gap: 0 24px; }
.thanks-facts dd { font-weight: 600; }
.thanks-notes { margin: 18px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 14px; line-height: 1.5; }
.thanks-notes li + li { margin-top: 6px; }
.thanks-notes b { color: var(--ink); font-weight: 600; }
.thanks-cta { margin-top: 24px; }
.thanks-cta .arr { width: 18px; height: 18px; flex: none; }
.thanks-wait { margin-top: 18px; background: var(--tint); }
@media (max-width: 560px) { .thanks-facts { grid-template-columns: 1fr; } .thanks-cta .btn { flex: 1 1 100%; } }
/* A Club member, above the missions: everything is unlocked. */
.member-note { margin: 0 0 14px; color: var(--ink); line-height: 1.45; }
.cover-copy .member-note { margin: 14px 0 0; }
.page-intro p:has(+ .member-note) { max-width: 38ch; color: var(--dim); font-size: 16px; margin: 0; }
.page-intro p.member-note { color: var(--ink); font-size: 15px; margin: 12px 0 0; }
@media (max-width: 600px) { .page-intro p:has(+ .member-note) { font-size: 14px; } .page-intro p.member-note { font-size: 14px; } }

/* The launch, nothing for sale: « À venir », and on the mission sheet « J'aimerais y jouer » / « Pas pour moi ». */
.acc-badge.soon { border-style: dashed; color: var(--dim); }
.chip.paid.soon { background: transparent; border: 1px dashed currentColor; color: var(--ink); padding: 2px 8px; margin-left: 4px; }
.wish { flex-basis: 100%; border: 1px solid var(--plate-edge); border-radius: 6px; padding: 14px 16px; display: grid; gap: 10px; }
.wish-q { margin: 0; font-weight: 650; }
.wish-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wish-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--plate-edge);
  background: transparent; color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.wish-btn:hover { border-color: var(--ink); }
.wish-btn.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wish-btn:disabled { opacity: .6; cursor: progress; }
.wish-note { margin: 0; }
@media (max-width: 600px) { .wish-btn { flex: 1 1 100%; justify-content: center; } }
/* Back-office, Envies des pilotes */
.wish-row { cursor: pointer; }
.wish-bar { display: inline-block; width: 80px; height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; vertical-align: middle; }
.wish-bar i { display: block; height: 100%; background: var(--accent); }
.wish-who td { background: var(--tint); }
.wish-pilot { display: inline-block; margin: 2px 14px 2px 0; white-space: nowrap; }
.wish-pilot.no a { color: var(--dim); }
.nowrap { white-space: nowrap; }

/* Mission sheet, « Lieu »: the place's name and its continent with a dot on it (continentMap). */
.facts .fact-place { grid-column: 1 / -1; }
/* The name, then the map under it, as wide as the column allows. */
.fact-place dd { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.place-name { min-width: 0; }
.continent { flex: none; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
button.continent { cursor: pointer; border-radius: 6px; }
button.continent:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 280 px high (twice the old map), narrower when the column is: the map keeps its proportions (--ar,
   set by continentMap), and the dot's layer covers exactly the land's. */
.ct-frame { --h: 280px; position: relative; display: block; width: min(100%, calc(var(--h) * var(--ar, 1))); }
.ct-pin { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ct-land { display: block; width: 100%; height: auto;
  /* The frame's cut edges fade out: the continent floats on the page. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.ct-own { fill: color-mix(in srgb, var(--ink) 62%, transparent); }
.ct-other { fill: color-mix(in srgb, var(--ink) 16%, transparent); }
.ct-core { fill: var(--gold); stroke: var(--paper, #fff); stroke-width: 1.4; }
.ct-halo { fill: color-mix(in srgb, var(--gold) 30%, transparent); }
.ct-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ct-pulse 2.4s ease-out infinite; }
@keyframes ct-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ct-pulse { animation: none; opacity: 0; } }
button.continent:hover .ct-own { fill: color-mix(in srgb, var(--ink) 78%, transparent); }
.ct-name { font-size: 10px; line-height: 1.2; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 600px) { .ct-frame { --h: 240px; } }

/* Mission sheet, « Points »: the maximum, its parts on one line each (number at the end), the pilot's best. */
.facts .fact-points { grid-column: 1 / -1; }
.fact-points dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pts-max { font-size: 1.05rem; }
.pts-quiz { color: var(--dim); font-weight: 600; }
.pts-parts { flex-basis: 100%; list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 18px; font-weight: 500; font-size: 13px; }
.pts-parts li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--plate-edge); padding-bottom: 2px; cursor: help; }
.pts-parts b { font-variant-numeric: tabular-nums; }
.pts-note { flex-basis: 100%; margin-top: 6px; color: var(--dim); font-size: 12px; font-weight: 500; }
.pts-note b { color: var(--ink); font-weight: 650; }

/* The copilot's switches under the launch button: small pills, filled when on. */
.crew-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; width: 340px; max-width: 100%; margin-top: 2px; }
.crew-who { color: var(--dim); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }
.crew-sw { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--plate-edge); border-radius: 999px; background: none; color: var(--dim); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.crew-sw .crew-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.crew-sw.on { color: var(--ink); border-color: var(--ink); }
.crew-sw.on .crew-dot { background: #2fae63; border-color: #2fae63; }
.crew-sw:focus-visible { outline: 2px solid #f3c45e; outline-offset: 2px; }
@media (max-width: 560px) { .crew-row { width: 100%; } }

/* Shoot-down missions in flight: the fire button, red, a flash at each burst. */
.fire-box { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 340px; max-width: 100%; }
/* Red in both themes: the theme's .btn:not(.ghost)… rules are more specific, hence !important. */
.fire-box .btn.fly-cta.fire-btn { gap: 8px; width: 100%; background: #c8463d !important; border-color: #c8463d !important; color: #fff !important; font-size: 1.1rem; touch-action: manipulation; user-select: none; }
.fire-box .btn.fly-cta.fire-btn:hover:not([disabled]) { background: #b13a32 !important; border-color: #b13a32 !important; }
.fire-box .btn.fly-cta.fire-btn.shot { animation: fire-flash .28s ease-out; }
@keyframes fire-flash { 0% { box-shadow: 0 0 0 0 rgba(243, 196, 94, .9), inset 0 0 0 40px rgba(243, 196, 94, .85); } 100% { box-shadow: 0 0 0 12px rgba(243, 196, 94, 0), inset 0 0 0 40px rgba(243, 196, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .fire-box .btn.fly-cta.fire-btn.shot { animation: none; } }
.fire-box .btn.fly-cta.fire-btn[disabled] { opacity: .55; }
.fire-help { color: var(--dim); font-size: 12px; text-align: center; line-height: 1.35; }
.fm-fire { width: 100%; align-items: stretch; }
/* After the flight: « Avez-vous aimé cette mission ? », three faces. */
.rate-box { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 340px; max-width: 100%; margin-top: 4px; }
.rate-q { font-weight: 650; font-size: .95rem; }
.rate-row { display: flex; gap: 8px; width: 100%; }
.rate-btn { flex: 1 1 0; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border: 1px solid var(--plate-edge); border-radius: 10px; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.rate-btn span { font-size: 1.5rem; line-height: 1; }
.rate-btn.on { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, transparent); }
.rate-btn:focus-visible { outline: 2px solid #f3c45e; outline-offset: 2px; }
.rate-thanks { color: var(--dim); font-size: 12px; }
@media (max-width: 560px) { .fire-box, .rate-box { width: 100%; } }


/* A notice that stays until closed (account activated by the e-mail link, link expired) */
.notice { position: fixed; z-index: 60; top: 128px; right: 24px; width: min(400px, calc(100% - 32px)); display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 16px 18px 18px; background: #FFFDF8; color: #151515; border: 1px solid #D9D1C1; border-left: 5px solid #FFC23F; border-radius: 10px;
  box-shadow: 0 14px 36px rgba(21, 21, 21, .22); animation: notice-in .25s ease-out; }
.notice-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #151515; color: #FFC23F; font-weight: 800; }
.notice-bad { border-left-color: #A3271C; }
.notice-bad .notice-ico { background: #A3271C; color: #fff; }
.notice-body { flex: 1; min-width: 0; }
.notice-body p { margin: 0; font-size: 15px; line-height: 1.5; color: #2B2925; }
.notice-body .notice-title { margin-bottom: 2px; font: 700 19px/1.2 var(--display, Georgia, serif); color: #151515; }
.notice .notice-act { margin-top: 12px; background: #FFC23F; border-color: #FFC23F; color: #151515; }
.notice-close { flex: none; margin: -6px -4px 0 0; padding: 2px 8px; border: 0; background: none; font-size: 24px; line-height: 1; color: #5E584E; cursor: pointer; }
.notice-close:hover { color: #151515; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .notice { top: auto; bottom: 12px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .notice { animation: none; } }

/* « Le Club ouvre bientôt » (shop closed): what the Club will bring, the talking copilot as a bonus */
.club-soon { padding: 26px 0 8px; }
.club-soon h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.club-soon .card > * { margin-bottom: 0; }
.club-soon .card > * + * { margin-top: 10px; }
.club-soon h3 { margin-top: 0; font-size: 21px; }
.club-soon .card p { color: var(--dim); line-height: 1.55; }
.club-soon .card .eyebrow { margin: 0; }
.club-soon-crew { border-color: var(--accent); }
.club-soon-tag { color: var(--accent); }
.club-soon .club-soon-note { font-size: 14px; }

