/* F4IOZ — the site's styles. SatMe-PC's palette (dark background, cyan
   accent, amber), Noto Sans served by the site (OFL), the rail on the left,
   cards with soft borders; a light theme on the same tokens. */

@font-face { font-family: 'Noto Sans'; src: url('../fonts/NotoSans-Regular.woff2') format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../fonts/NotoSans-Bold.woff2') format('woff2'); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../fonts/NotoSans-Italic.woff2') format('woff2'); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Noto Sans Mono'; src: url('../fonts/NotoSansMono-Regular.woff2') format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans Mono'; src: url('../fonts/NotoSansMono-Bold.woff2') format('woff2'); font-weight: 600 900; font-style: normal; font-display: swap; }
/* The flags drawn on the globes (Twemoji, CC BY 4.0, SatMe's). */
@font-face { font-family: Drapeaux; src: url('/api/police-drapeaux') format('woff2'); unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F; font-display: swap; }

:root {
  --bg: #0A0F14; --bg-2: #0F161D; --panel: #131C24; --panel-2: #1A2530;
  --border: #22303B; --border-strong: #2F4150;
  --text: #E8F0F7; --text-dim: #9AA7B4; --text-muted: #8091A3;
  --accent: #3FE0C8; --accent-soft: rgba(63, 224, 200, 0.12); --accent-hover: #7FEBDB;
  --green: #5BD68A; --warn: #FFB454; --red: #E5484D; --amber: var(--warn); --sat: #FFD166; --info: #6F8CFF;
  --well: #0D151C; --td-border: rgba(34,48,59,0.8); --input-glow: rgba(63,224,200,0.12);
  --radial-1: rgba(63,224,200,0.05);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 6px 18px rgba(0,0,0,.28);
  --shadow-pop: 0 14px 40px rgba(0,0,0,.55);
  --on-accent: #04201C;
  /* The home page's globe and sky dial (ciel-accueil.js reads them). */
  --g-ocean: #0A1F38; --g-ocean-2: #1A5684; --g-terre: #173F3A; --g-terre-2: #4F977A; --g-nuit: #02060D; --g-nuit-force: .88;
  --g-cote: rgba(150, 230, 215, .5); --g-grille: rgba(140, 180, 230, .13); --g-atmo: rgba(70, 160, 255, .38); --g-autres: rgba(205, 220, 240, .5);
  --g-empreinte: rgba(63, 224, 200, .14); --g-halo: rgba(4, 8, 16, .78);
  --m-ocean: #0B1622; --m-terre: #1C2C38; --m-cote: rgba(140, 180, 210, .35); --m-grille: rgba(140, 180, 220, .07); --cc-zenith: #12233A; --cc-horizon: #0A131D; --espace: #050A12;
  --rail-w: 228px; --top-h: 56px; --r-s: 6px; --r-m: 8px; --r-l: 12px;
  --anim: 140ms cubic-bezier(.2,.7,.3,1);
  --font-sans: 'Noto Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: 'Noto Sans Mono', ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F3F6F9; --bg-2: #E9EEF3; --panel: #FFFFFF; --panel-2: #EEF3F7;
  --border: #D5DEE6; --border-strong: #A9B8C6;
  --text: #0E1720; --text-dim: #33475A; --text-muted: #4D6072;
  --accent: #0A7C6D; --accent-soft: rgba(10, 124, 109, 0.10); --accent-hover: #075E53;
  --green: #137A3A; --warn: #8A5200; --red: #B42318; --sat: #8F6400; --info: #3451C8;
  --well: #F6F9FB; --td-border: rgba(213,222,230,0.9); --input-glow: rgba(10,124,109,0.10);
  --radial-1: rgba(10,124,109,0.05);
  --shadow: 0 1px 2px rgba(14,23,32,.06), 0 4px 14px rgba(14,23,32,.06);
  --shadow-pop: 0 14px 40px rgba(14,23,32,.18);
  --on-accent: #FFFFFF;
  --g-ocean: #7FB0D8; --g-ocean-2: #C4E0F4; --g-terre: #7FAE86; --g-terre-2: #CBE5B5; --g-nuit: #2E4260; --g-nuit-force: .5;
  --g-cote: rgba(20, 60, 70, .55); --g-grille: rgba(30, 60, 100, .16); --g-atmo: rgba(80, 150, 230, .32); --g-autres: rgba(30, 50, 80, .5);
  --g-empreinte: rgba(10, 124, 109, .16); --g-halo: rgba(255, 255, 255, .85);
  --m-ocean: #DCE8F2; --m-terre: #F7FAFC; --m-cote: rgba(40, 70, 100, .35); --m-grille: rgba(30, 60, 100, .08); --cc-zenith: #FFFFFF; --cc-horizon: #E3ECF4; --espace: #E8F0F7;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 15px/1.55 var(--font-sans); color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 600px at 100% -10%, var(--radial-1), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
/* The night sky behind the pages (dark theme only): a few faint stars, fixed, drawn by CSS alone. */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 20px 30px, rgba(220, 232, 255, .55) 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, rgba(220, 232, 255, .35) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 260px 170px, rgba(220, 232, 255, .45) 50%, transparent 51%), radial-gradient(1px 1px at 330px 40px, rgba(220, 232, 255, .3) 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 260px, rgba(220, 232, 255, .4) 50%, transparent 51%), radial-gradient(1px 1px at 380px 300px, rgba(220, 232, 255, .3) 50%, transparent 51%);
  background-size: 410px 340px; }
:root[data-theme="light"] body::before { display: none; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-hover); text-decoration: underline; }
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--font-mono); }
.dim { color: var(--text-muted); }
code { font-family: var(--font-mono); font-size: .92em; }

svg.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.ico { width: 18px; height: 18px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; padding: 8px 14px; border-radius: var(--r-m); background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip-link:focus { top: 8px; text-decoration: none; color: var(--on-accent); }
#contenu:focus { outline: none; }

/* ───────────────────────────── the shell: rail */
body.has-rail { padding-left: var(--rail-w); }
.rail {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 900; width: var(--rail-w);
  display: flex; flex-direction: column; gap: 2px; padding: 10px 8px;
  background: var(--bg-2); border-right: 1px solid var(--border);
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail a, .rail button, .shell-top a, .shell-top button { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rail .rail-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 6px; color: var(--text); border-radius: var(--r-m); }
.rail .rail-brand:hover { background: var(--panel-2); text-decoration: none; }
.rail-brand .mark { flex: none; border-radius: 9px; }
.rail-brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.rail-call { font-size: 19px; font-weight: 700; letter-spacing: .06em; }
.rail-sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .04em; }
.rail-clock { padding: 0 10px 8px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.rail-group { display: flex; flex-direction: column; gap: 1px; padding: 5px 0; border-top: 1px solid var(--border); }
.rail-title { padding: 4px 10px 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-group a, .rail-group .rail-soon, .rail-foot a, .rail-foot button {
  position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 30px; padding: 0 10px;
  border-radius: var(--r-s); color: var(--text-dim); font: 500 13.5px/1.2 var(--font-sans); white-space: nowrap;
  transition: background var(--anim), color var(--anim);
}
.rail-group .rail-soon { cursor: default; opacity: .55; }
.rail-soon .soon-tag { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 0 6px; }
.rail-group a:hover, .rail-foot a:hover, .rail-foot button:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.rail-group a.active { background: var(--accent-soft); color: var(--accent); }
.rail-group a.active::before { content: ''; position: absolute; left: -8px; top: 6px; bottom: 6px; width: 3px; border-radius: 0 2px 2px 0; background: var(--accent); }
.rail a:focus-visible, .rail button:focus-visible, .shell-top a:focus-visible, .shell-top button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rail .lbl { overflow: hidden; text-overflow: ellipsis; }
.rail-foot { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1px; }
.rail .theme-icon { width: 20px; flex: none; text-align: center; font-size: 15px; line-height: 1; }
.rail-scrim { display: none; }
.shell-top { display: none; }

@media (max-width: 1099px) and (min-width: 720px) {
  :root { --rail-w: 60px; }
  .rail { padding: 8px 6px; }
  .rail .rail-brand { justify-content: center; padding: 4px 0 8px; }
  .rail-brand .mark { width: 34px; height: 34px; }
  .rail-brand-txt, .rail-clock, .rail-title, .rail-soon .soon-tag { display: none; }
  .rail .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .rail-group a, .rail-group .rail-soon, .rail-foot a, .rail-foot button { justify-content: center; padding: 0; min-height: 36px; }
  .rail-group a.active::before { left: -6px; }
}
@media (max-width: 719px) {
  body.has-rail { padding-left: 0; }
  .shell-top {
    position: sticky; top: 0; z-index: 950; display: flex; align-items: center; gap: 10px;
    height: var(--top-h); padding: 0 8px 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--border);
  }
  .shell-top .shell-brand { display: flex; align-items: center; gap: 9px; color: var(--text); min-width: 0; }
  .shell-brand .mark { flex: none; border-radius: 8px; }
  .shell-call { font-size: 18px; font-weight: 700; letter-spacing: .06em; }
  .shell-loc { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
  .shell-clock { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--accent); white-space: nowrap; }
  .shell-top .shell-menu { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-m); border: 1px solid var(--border); color: var(--text); font: 600 13px var(--font-sans); }
  .rail { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .rail .rail-brand, .rail .rail-clock { display: none; }
  .js-nav .rail {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw);
    border-right: 1px solid var(--border); border-bottom: 0; box-shadow: var(--shadow-pop);
    transform: translateX(-105%); transition: transform 200ms cubic-bezier(.2,.7,.3,1); visibility: hidden; z-index: 1001;
  }
  .js-nav .rail .rail-brand { display: flex; }
  .js-nav.nav-open .rail { transform: none; visibility: visible; }
  .js-nav.nav-open .rail-scrim { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(5, 9, 13, .55); }
  .nav-open, .nav-open body { overflow: hidden; }
  .rail-group a, .rail-group .rail-soon, .rail-foot a, .rail-foot button { min-height: 40px; font-size: 15px; }
}
@media (max-width: 380px) { .shell-loc { display: none; } }
@media (prefers-reduced-motion: reduce) { .js-nav .rail { transition: none; } }

/* ───────────────────────────── pages */
.site-main { max-width: 1180px; margin: 0 auto; padding: 28px 28px 40px; min-height: 70vh; }
@media (max-width: 719px) { .site-main { padding: 18px 14px 32px; } }
.site-footer { border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12.5px; margin-top: 40px; }
.site-footer .container { max-width: 1180px; margin: 0 auto; padding: 16px 28px; text-align: center; }
.site-footer a { color: var(--text-dim); }
.site-footer p { margin: 0; }

.page-head { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.page-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--text-dim); }
.page-head .flux a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.page-head .flux svg.ico { width: 16px; height: 16px; }

.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-l); box-shadow: var(--shadow); overflow: hidden; min-width: 0; margin-bottom: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 10px; border-bottom: 1px solid var(--border); }
.card-title { margin: 0; display: flex; align-items: center; gap: 8px; font: 700 11px/1.2 var(--font-sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--text-dim); }
.card-title a { color: inherit; }
.card-title .ico { width: 16px; height: 16px; stroke: var(--accent); stroke-width: 1.8; }
.card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.card-body { padding: 14px 16px; flex: 1; min-width: 0; }
.card-foot { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.card-foot a { font-weight: 600; }
.card-empty { margin: 0; color: var(--text-muted); font-size: 14px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); font: 600 12px var(--font-sans); color: var(--text-dim); white-space: nowrap; }
.pill.mini { height: 18px; padding: 0 7px; font-size: 10.5px; vertical-align: 1px; }
.pill.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }
.pill.amber { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 35%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
a.pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: var(--r-m);
  border: 1px solid var(--border-strong); background: var(--panel-2); color: var(--text); font: 600 14px var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background var(--anim), border-color var(--anim), color var(--anim); }
.btn:hover, .btn:focus { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.solid:hover, .btn.solid:focus { background: var(--accent-hover); color: var(--on-accent); }
.btn.danger { color: var(--red); }
.btn.danger:hover { border-color: var(--red); color: var(--red); }

input, select, textarea { font: 14px var(--font-sans); color: var(--text); background: var(--well); border: 1px solid var(--border); border-radius: var(--r-s); padding: 7px 10px; min-height: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--input-glow); }
input[type=checkbox] { min-height: 0; accent-color: var(--accent); }
label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-dim); font-weight: 600; }
form .card-body { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
form .card-body p { flex-basis: 100%; margin: 0; font-size: 12.5px; }
form.inline { display: inline; }
@media (max-width: 719px) {
  form .card-body label { width: 100%; }
  form .card-body label input, form .card-body label select { flex: 1; min-width: 0; }
}
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--text-dim); background: var(--bg); }
.tag:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.tag-count { font-size: 10px; opacity: .8; color: var(--text-muted); }
.taglist { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 0; }
.meta { color: var(--text-muted); font-size: 12.5px; margin: 0 0 6px; }
.meta time { font-family: var(--font-mono); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0 6px; color: var(--text-dim); font-size: 13px; }

/* home */
.home-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px 26px; margin-bottom: 18px;
  border: 1px solid var(--border); border-radius: var(--r-l);
  background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, color-mix(in srgb, var(--info) 10%, transparent), transparent 70%), var(--panel);
  box-shadow: var(--shadow); overflow: hidden; }
.home-hero .mark { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.home-hero h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: .05em; }
.home-hero h1 small { display: block; margin-top: 6px; font-size: 15px; letter-spacing: .01em; font-weight: 500; color: var(--text-dim); }
.home-hero p { margin: 10px 0 0; max-width: 62ch; color: var(--text-dim); }
.home-hero .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.home-hero { grid-template-columns: auto minmax(0, 1fr) auto; }
.hero-horloges { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; padding-left: 12px; border-left: 1px solid var(--border); }
.hh { display: flex; align-items: baseline; gap: 10px; }
.hh-l { font: 700 10.5px var(--font-sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--text-muted); }
.hh-v { font: 600 17px var(--font-mono); color: var(--text-dim); letter-spacing: .03em; min-width: 5.2ch; text-align: right; }
.hh.utc .hh-v { font-size: 26px; font-weight: 700; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 35%, transparent); min-width: 8ch; }
.home-hero h1 { background: linear-gradient(100deg, var(--text) 30%, color-mix(in srgb, var(--accent) 70%, var(--text)) 70%); -webkit-background-clip: text; background-clip: text; }
.home-hero h1 small { -webkit-text-fill-color: var(--text-dim); }
.home-hero h1 { -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .home-hero h1, .home-hero h1 small { -webkit-text-fill-color: currentColor; background: none; } }
@media (max-width: 719px) { .home-hero { grid-template-columns: auto 1fr; gap: 14px; padding: 18px; } .home-hero .hero-txt { grid-column: 1 / -1; grid-row: 2; }
  .home-hero .mark { width: 64px; height: 64px; border-radius: 15px; } .hero-horloges { grid-row: 1; grid-column: 2; justify-self: end; } }
.home-grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); margin-bottom: 18px; }
.home-grid > .card { grid-column: span 12; margin: 0; }
@media (min-width: 900px) {
  .home-grid > .span-5 { grid-column: span 5; } .home-grid > .span-7 { grid-column: span 7; }
  .home-grid > .span-6 { grid-column: span 6; } .home-grid > .span-4 { grid-column: span 4; } .home-grid > .span-8 { grid-column: span 8; }
}
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--td-border); font-size: 13.5px; }
.rows li:last-child { border-bottom: 0; }
.rows .call { font-family: var(--font-mono); font-weight: 700; letter-spacing: .02em; }
.rows .dim { color: var(--text-muted); font-size: 12.5px; }
.num { font-family: var(--font-mono); color: var(--text-dim); white-space: nowrap; }
.sat { color: var(--sat); }
.now { color: var(--green); font-weight: 700; }
.el.high, .num.high { color: var(--green); } .el.low, .num.low { color: var(--amber); } .num.mid { color: var(--text); }
.qso-rows li { grid-template-columns: 5.6em minmax(0, 1fr) auto; grid-auto-flow: row; justify-content: stretch; }
.qso-rows .where { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-rows li { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-auto-flow: row; justify-content: stretch; }
.pass-rows .name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-rows .el { min-width: 3.2em; text-align: right; }
@media (max-width: 420px) { .pass-rows .dur { display: none; } .pass-rows li { grid-template-columns: minmax(0, 1fr) auto auto; } }
.home-grid > .card { container-type: inline-size; }
@container (max-width: 340px) { .pass-rows .dur, .qso-rows .where .dim, .card-head .card-meta { display: none; } .pass-rows li { grid-template-columns: minmax(0, 1fr) auto auto; } }
.latest-article h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.latest-article h3 a { color: var(--text); }
.latest-article p { margin: 6px 0 0; color: var(--text-dim); }
.derniere-image { text-align: center; }
.derniere-image img { max-width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--border); }
.derniere-image p { margin: 8px 0 0; color: var(--text-dim); font-size: 13.5px; }
.satme-teaser { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.satme-teaser img { width: 96px; height: auto; border-radius: var(--r-m); border: 1px solid var(--border); }
.satme-teaser p { margin: 0 0 8px; color: var(--text-dim); }
.satme-teaser strong { color: var(--text); }
.tool-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.tool-tiles a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--panel-2); color: var(--text); }
.tool-tiles a:hover, .tool-tiles a:focus { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.tool-tiles .ico { margin-top: 1px; stroke: var(--accent); }
.tool-tiles b { display: block; font-size: 13.5px; }
.tool-tiles span span { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.35; }

/* articles */
.article-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 18px 0; }
.article-item { margin: 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--panel); box-shadow: var(--shadow); }
.article-item h2 { font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.article-item h2 a { color: var(--text); }
.article-item h2 a:hover { color: var(--accent); text-decoration: none; }
.article-item p { color: var(--text-dim); margin: 4px 0; }
.article { max-width: 760px; margin: 0 auto; }
.article-head h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
.hero-image { display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: var(--r-l); border: 1px solid var(--border); }
.article-body { font-size: 16px; line-height: 1.7; }
.article-body h2 { font-size: 22px; margin-top: 1.8rem; } .article-body h3 { font-size: 18px; margin-top: 1.4rem; }
.article-body pre { background: var(--well); padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-m); overflow-x: auto; font-size: 13px; }
.article-body :not(pre) > code { background: var(--well); border: 1px solid var(--border); padding: 1px 6px; border-radius: 3px; color: var(--accent); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r-m); }
.article-body blockquote { margin: 14px 0; padding: 8px 14px; border-left: 3px solid var(--accent); color: var(--text-dim); background: var(--panel); border-radius: 0 var(--r-m) var(--r-m) 0; }
.article-body table { border-collapse: collapse; font-size: 13px; } .article-body th, .article-body td { border: 1px solid var(--border); padding: 6px 10px; }
.article-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }

/* galleries */
.sm-section-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--text-dim); }
.sm-section-title .ico { stroke: var(--accent); }
.vign-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.vign-grille.large { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vign-grille.large .vign img { object-fit: contain; }
.vign { margin: 0; }
.vign a { display: block; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--border); background: var(--well); aspect-ratio: 4 / 3; }
.vign a:hover { border-color: var(--accent); }
.vign img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vign figcaption { display: flex; justify-content: space-between; gap: 6px; padding: 4px 2px 0; font-size: 12px; color: var(--text-dim); }
.vign figcaption span { font-family: var(--font-mono); color: var(--text-muted); font-size: 11px; }
.gal-groupe .card-body { padding-top: 12px; }
.rows.sources li { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-auto-flow: row; justify-content: stretch; }
.docs li { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-auto-flow: row; justify-content: stretch; }
.docs .ico { stroke: var(--accent); }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.album { color: var(--text); margin: 0; }
.album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.album span span { display: block; font-size: 12.5px; color: var(--text-muted); }
.album:hover { border-color: var(--accent); text-decoration: none; }
.item-image { margin: 0 0 16px; text-align: center; }
.item-image img { max-width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--border); background: #000; }
.item-video { width: 100%; max-height: 70vh; border-radius: var(--r-m); background: #000; }
.item-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 10px 0; font-size: 14px; }
.item-meta dt { color: var(--text-muted); font-weight: 600; } .item-meta dd { margin: 0; }
.item-meta .big { font-size: 22px; font-weight: 700; color: var(--text); }

/* tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--td-border); vertical-align: middle; }
th { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-muted); background: var(--panel-2); white-space: nowrap; }
tbody tr:hover { background: var(--accent-soft); }
td.call { font-family: var(--font-mono); font-weight: 700; }
td.name { font-weight: 700; }
tr.encours td { background: color-mix(in srgb, var(--green) 9%, transparent); }
tr.cache td { opacity: .55; }
td.act { white-space: nowrap; }
td.act form + form { margin-left: 6px; }
table.admin .btn { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
@media (max-width: 719px) { td.pays, th.pays, th.lignes, td.lignes { display: none; } th, td { padding: 6px 7px; } }
table.tle code { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* passes */
.mini-ciel { display: block; }
.mini-ciel circle, .mini-ciel path { fill: none; stroke: var(--border-strong); stroke-width: .7; }
.mini-ciel polyline { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.mini-ciel circle.aos { fill: var(--accent); stroke: none; }
td.ciel-c { padding: 2px 6px; }
@media (max-width: 560px) { .ciel-c { display: none; } }
.sats-l { flex: 1 1 320px; } .sats-l input { flex: 1; min-width: 0; }
.frise { padding: 10px 12px 8px; margin: 0 0 16px; }
.frise { overflow-x: auto; }
.frise svg { width: 100%; min-width: 640px; height: auto; display: block; }
.frise .h { stroke: var(--border); stroke-width: 1; }
.frise .ht { fill: var(--text-muted); font: 11px var(--font-mono); text-anchor: middle; }
.frise .nom { fill: var(--text-dim); font: 600 12px var(--font-sans); }
.frise rect { fill: var(--accent); }
.frise rect.haut { fill: var(--green); }
.frise .maintenant { stroke: var(--amber); stroke-width: 2; }
.frise figcaption { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* sky */
.ciel-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 899px) { .ciel-grille { grid-template-columns: 1fr; } }
#ciel-svg { width: 100%; max-width: 560px; display: block; margin: 8px auto 0; }
#ciel-svg .g { fill: none; stroke: var(--border-strong); stroke-width: .6; }
#ciel-svg .c { fill: var(--text-muted); font: 8px var(--font-sans); text-anchor: middle; }
#ciel-svg .tr { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 2 2; opacity: .7; }
#ciel-svg .s { fill: var(--text-dim); stroke: var(--bg); stroke-width: .8; }
#ciel-svg .s.fav { fill: var(--amber); }
#ciel-svg .n { fill: var(--text); font: 600 6.5px var(--font-sans); paint-order: stroke; stroke: var(--bg); stroke-width: 2px; }
.ciel-form { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.sous { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* grid */
.grid-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 16px; }

/* errors, login */
.erreur { max-width: 640px; margin: 40px auto; text-align: center; }
.erreur-code { font: 700 64px/1 var(--font-mono); color: var(--accent); margin: 8px 0; }
.erreur .actions { justify-content: center; }
.login-box { max-width: 420px; margin: 40px auto; }
.login-box form { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.login-box label { flex-direction: column; align-items: stretch; }
.erreur-ligne { color: var(--red); font-weight: 600; }

/* SatMe page */
.sm-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 26px; margin-bottom: 20px;
  border: 1px solid var(--border); border-radius: var(--r-l); background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--panel); box-shadow: var(--shadow); }
.sm-hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.sm-hero h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; }
.sm-hero .tagline { margin: 8px 0 0; font-size: 16px; color: var(--text-dim); max-width: 60ch; }
.sm-hero .actions { margin-top: 16px; }
@media (max-width: 719px) { .sm-hero { grid-template-columns: 1fr; padding: 18px; gap: 14px; } .sm-hero img { width: 80px; height: 80px; border-radius: 19px; } }
.sm-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 8px; }
.sm-trio .card { margin: 0; }
.sm-trio h2 { margin: 0 0 4px; font-size: 17px; } .sm-trio p { margin: 0; color: var(--text-dim); font-size: 14px; }
.sm-essayer { color: var(--text-dim); }
.sm-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.sm-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--border); background: var(--well); }
.shot a:hover { border-color: var(--accent); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 8px 2px 0; font-size: 13px; color: var(--text-dim); line-height: 1.45; }
.shot figcaption b { color: var(--text); }
.sm-diagram { padding: 12px; }
.sm-diagram img { display: block; width: 100%; height: auto; border-radius: var(--r-m); background: #fff; }
.sm-note { margin-top: 22px; font-size: 12.5px; color: var(--text-muted); }

/* SatMe's tabs on the site: the whole width */
.site-main.site-appli { max-width: none; padding: 0; min-height: 0; }
.appli-tete { margin: 0; padding: 14px 20px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.appli-tete h1 { font-size: 22px; margin: 0; }
.appli-tete p { flex: 1 1 380px; margin: 0; font-size: 13.5px; }
.site-moi input { width: 7.5em; text-transform: uppercase; font-family: var(--font-mono); }
.appli-credits { margin: 6px 20px 14px; font-size: 12px; color: var(--text-muted); }

/* live: the auto-pilot's banner, the « En direct » block (direct.js) */
.bandeau-direct { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0 0 16px; padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: var(--r-l); background: linear-gradient(90deg, var(--accent-soft), transparent 80%), var(--panel); font-size: 13.5px; color: var(--text); }
.bandeau-direct .bd-item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; color: var(--text); }
.bandeau-direct a.bd-item:hover { text-decoration: none; color: var(--accent); }
.bandeau-direct b { font-weight: 700; }
.bandeau-direct .bd-compte { font-family: var(--font-mono); color: var(--accent); font-weight: 700; }
.bandeau-direct .bd-led { width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 4px; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: bd-pulse 1.6s infinite; }
@keyframes bd-pulse { 70% { box-shadow: 0 0 0 7px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
@media (prefers-reduced-motion: reduce) { .bandeau-direct .bd-led { animation: none; } }
.direct-corps { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .direct-corps:has(.direct-spectre:not([hidden])):has(.direct-datv:not([hidden])) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .direct-corps:not(:has(.direct-spectre:not([hidden]))):has(.direct-datv:not([hidden])):has(.direct-batc:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.direct-bloc .card-meta.vivant { color: var(--red); font-weight: 700; }
.direct-spectre, .direct-datv { margin: 0; min-width: 0; }
.direct-spectre canvas { display: block; width: 100%; image-rendering: pixelated; background: #040814; }
.direct-spectre .direct-echelle { height: 46px; background: transparent; image-rendering: auto; }
.direct-spectre .direct-trace { height: 100px; border-radius: var(--r-s) var(--r-s) 0 0; }
.direct-spectre .direct-chute { height: 120px; border-radius: 0 0 var(--r-s) var(--r-s); }
.direct-bloc.grand .direct-trace { height: 140px; } .direct-bloc.grand .direct-chute { height: 220px; }
.direct-spectre figcaption, .direct-datv figcaption { margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.datv-cadre { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-s); overflow: hidden; background: #040814; border: 1px solid var(--border); }
.datv-cadre img { display: block; width: 100%; height: 100%; object-fit: contain; }
.direct-datv.hors img { filter: grayscale(1) brightness(.55); }
.datv-hors { position: absolute; top: 8px; left: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(10,15,20,.8); color: var(--warn); font: 700 11px var(--font-sans); letter-spacing: .6px; text-transform: uppercase; }
.direct-batc { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.direct-batc p { grid-column: 1 / -1; margin: 0; }
.batc-carte { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--panel-2); color: var(--text); }
.batc-carte:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.batc-carte .ico { width: 20px; height: 20px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.batc-carte span { display: flex; flex-direction: column; } .batc-carte span span { color: var(--text-muted); font-size: 13px; }
.petit { font-size: 12.5px; }

/* admin › paramètres */
form.parametres .card-body { display: block; }
form.parametres .card-body > p.dim:first-child { margin: 0 0 10px; font-size: 13px; }
.parametres table.params input:not([type=checkbox]) { min-height: 32px; padding: 4px 8px; width: 100%; min-width: 9em; }
.parametres table.params input.court { width: 5.5em; min-width: 0; }
.parametres table.params input[type=checkbox] { width: 18px; height: 18px; }
.parametres .choix { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 10px; }
.parametres label.large { display: flex; flex-direction: column; align-items: stretch; margin-top: 6px; }
.params-actions { position: sticky; bottom: 0; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 35%); z-index: 2; }
.ok-ligne { color: var(--green); font-weight: 600; }
.taglist .tag[aria-current] { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) { .parametres table.params input:not([type=checkbox]) { min-width: 6.5em; } .parametres table.params input.court { width: 4.2em; } }
.parametres .choix input.court { width: 5.5em; min-height: 32px; padding: 4px 8px; }

/* the SSTV pass in the live block (the auto-pilot's), and the banner's badge */
.bandeau-direct .bd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--red) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); color: var(--text); font-weight: 700; font-size: 12.5px; }
.bandeau-direct .bd-badge:hover { text-decoration: none; border-color: var(--red); color: var(--text); }
.bandeau-direct .bd-badge .bd-led { margin-right: 0; }
.direct-sstv { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 719px) { .direct-sstv { grid-template-columns: 1fr; } }
.sstv-cadre { position: relative; aspect-ratio: 320 / 256; border-radius: var(--r-s); overflow: hidden; background: #040814; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.sstv-cadre img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sstv-attente { color: var(--text-muted); font-size: 13px; }
.sstv-info p { margin: 0 0 8px; }
.sstv-titre { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.sstv-titre .bd-led { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: bd-pulse 1.6s infinite; flex: none; }
.sstv-compte { font: 700 22px var(--font-mono); color: var(--accent); }
.sstv-mesures { color: var(--text-dim); font-size: 14px; }
.outils-bande .tuile-satme { display: none; }

/* One screen on a desktop (« ecran »: the home page, the live page): the grid fills the window, each card scrolls
   inside itself, the canvases follow the height; a phone or a short window scrolls as usual. */
@media (min-width: 1100px) and (min-height: 640px) {
  body.ecran { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
  body.ecran .site-main { flex: 1; min-height: 0; width: 100%; max-width: 1720px; padding: 14px 24px 12px; display: flex; flex-direction: column; }
  body.ecran .site-footer { margin-top: 0; } body.ecran .site-footer .container { padding: 6px 24px; }
  body.ecran .bandeau-direct { margin-bottom: 10px; padding: 6px 12px; }
  body.ecran .page-head { margin-bottom: 10px; padding-bottom: 8px; } body.ecran .page-head h1 { font-size: 22px; margin-bottom: 2px; }
  body.ecran .home-hero { grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 10px 18px; margin-bottom: 12px; }
  body.ecran .home-hero .mark { width: 52px; height: 52px; border-radius: 12px; }
  body.ecran .home-hero h1 { font-size: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  body.ecran .home-hero h1 small { display: inline; margin: 0; font-size: 14px; }
  body.ecran .home-hero p { margin-top: 2px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: none; }
  body.ecran .home-hero .pills { display: none; }
  body.ecran .home-hero { grid-template-columns: auto minmax(0, 1fr) auto; }
  body.ecran .hh.utc .hh-v { font-size: 22px; } body.ecran .hh-v { font-size: 14px; } body.ecran .hero-horloges { gap: 2px; }
  body.ecran .home-grid { flex: 1; min-height: 0; margin: 0; gap: 12px; grid-template-rows: repeat(3, minmax(0, 1fr)) auto; }
  body.ecran .home-grid > .card { grid-column: var(--gc, span 12); grid-row: var(--gr, auto); min-height: 0; }
  body.ecran .home-grid > .card > .card-body { min-height: 0; overflow: auto; padding: 10px 14px; }
  body.ecran .card-title { flex: 1 1 auto; min-width: 5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  body.ecran .card-head .card-meta { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  body.ecran .card-title .ico { vertical-align: -3px; margin-right: 6px; }
  body.ecran .card-head { padding: 8px 14px 7px; } body.ecran .card-foot { padding: 7px 14px; }
  body.ecran .home-grid > .carte-satme { display: none; }
  body.ecran .outils-bande .card-head { display: none; }
  body.ecran .outils-bande .card-body { padding: 8px; overflow: hidden; }
  body.ecran .outils-bande .tool-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  body.ecran .outils-bande .tool-tiles a { padding: 7px 10px; align-items: center; }
  body.ecran .outils-bande .tool-tiles span span { display: none; }
  body.ecran .outils-bande .tuile-satme { display: flex; }
  body.ecran .derniere-image { display: flex; flex-direction: column; overflow: hidden !important; }
  body.ecran .derniere-image a { flex: 1; min-height: 0; display: flex; justify-content: center; }
  body.ecran .derniere-image img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
  body.ecran .derniere-image p { margin-top: 6px; }
  body.ecran .latest-article h3 { font-size: 16px; }
  /* The live block: its drawings take the height left. */
  body.ecran .direct-bloc > .card-body { display: grid; overflow: hidden; }
  body.ecran .direct-corps { min-height: 0; grid-template-rows: minmax(0, 1fr); }
  body.ecran .direct-corps > [hidden] { display: none !important; }
  body.ecran .direct-spectre { display: flex; flex-direction: column; min-height: 0; }
  body.ecran .direct-spectre .direct-trace { flex: 2 1 0; height: auto; min-height: 40px; }
  body.ecran .direct-spectre .direct-chute { flex: 3 1 0; height: auto; min-height: 40px; }
  body.ecran .direct-datv { display: flex; flex-direction: column; min-height: 0; }
  body.ecran .datv-cadre { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
  body.ecran .direct-datv .datv-cadre { max-height: 100%; }
  body.ecran .direct-sstv { min-height: 0; height: 100%; align-items: stretch; }
  body.ecran .sstv-cadre { aspect-ratio: auto; min-height: 0; height: 100%; }
  body.ecran .direct-batc { align-content: start; }
}

/* ───────────────────────────── « Au-dessus de JN18FS » (ciel-accueil.js): the globe, the sky dial, the next AOS */
.carte-ciel { container-type: inline-size; container-name: ciel; }
.carte-ciel > .card-body.ciel-corps { padding: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(210px, 1fr); min-height: 0; }
.ciel-globe { position: relative; min-height: 300px; overflow: hidden; border-right: 1px solid var(--border);
  background: radial-gradient(120% 90% at 50% 50%, color-mix(in srgb, var(--info) 14%, transparent), transparent 60%), var(--espace); }
.ciel-globe::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 82% 12%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 68% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 24% 84%, #dfe8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 52%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 58%, #e8f0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 6%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 94%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 76% 34%, #fff 50%, transparent 51%);
  animation: ciel-scintille 7s ease-in-out infinite alternate; }
:root[data-theme="light"] .ciel-globe::before { opacity: 0; }
@keyframes ciel-scintille { from { opacity: .45; } to { opacity: .85; } }
.ciel-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; opacity: 0; transition: opacity 600ms ease; }
.ciel-globe canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.ciel-globe canvas.tire { cursor: grabbing; }
.js-nav .ciel-globe canvas { opacity: 1; }
.ciel-globe-att { position: absolute; left: 12px; bottom: 8px; margin: 0; font-size: 12px; color: var(--text-muted); }
.ciel-cote { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 10px; min-width: 0; min-height: 0; }
.ciel-aos { display: grid; gap: 1px; }
.ciel-aos-l { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1.2 var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.ciel-aos-l .bd-led { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: bd-pulse 1.6s infinite; }
.ciel-aos-nom { font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ciel-aos-compte small { font: 600 12px var(--font-sans); color: var(--text-dim); margin-right: 6px; text-shadow: none; letter-spacing: 0; }
.ciel-aos-compte { font: 700 26px/1.1 var(--font-mono); white-space: nowrap; color: var(--accent); letter-spacing: .02em; text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.ciel-aos-det { font: 12px/1.4 var(--font-mono); color: var(--text-dim); }
.ciel-cadran { display: block; width: 100%; flex: 1 1 auto; min-height: 120px; max-height: 440px; margin: auto; overflow: visible; }
.ciel-cadran .cc-z { stop-color: var(--cc-zenith); } .ciel-cadran .cc-hz { stop-color: var(--cc-horizon); }
.ciel-cadran .cc-h { fill: none; stroke: var(--border-strong); stroke-width: 1; }
.ciel-cadran .cc-g { fill: none; stroke: var(--border-strong); stroke-width: .6; stroke-dasharray: 2 3; opacity: .8; }
.ciel-cadran .cc-t { stroke: var(--text-muted); stroke-width: .8; opacity: .6; }
.ciel-cadran .cc-c { fill: var(--text-dim); font: 700 11px var(--font-sans); text-anchor: middle; dominant-baseline: middle; }
.ciel-cadran .cc-e { fill: var(--text-muted); font: 8px var(--font-mono); }
.ciel-cadran .cc-trace { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linecap: round; opacity: .85; }
.ciel-cadran .cc-trace.encours { stroke: var(--accent); stroke-dasharray: none; opacity: .9; }
.ciel-cadran .cc-aos { fill: var(--amber); }
.ciel-cadran .cc-sat circle { fill: var(--accent); stroke: var(--bg); stroke-width: 1; filter: drop-shadow(0 0 3px var(--accent)); }
.ciel-cadran .cc-sat.lui circle { fill: var(--amber); filter: drop-shadow(0 0 4px var(--amber)); }
.ciel-cadran .cc-sat text { fill: var(--text); font: 700 10.5px var(--font-sans); paint-order: stroke; stroke: var(--cc-horizon); stroke-width: 3px; stroke-linejoin: round; }
.ciel-cadran .cc-soleil circle { fill: #FFD166; stroke: #FFB454; stroke-width: 1.5; filter: drop-shadow(0 0 4px #FFB454); }
.ciel-cadran .cc-lune circle { fill: color-mix(in srgb, var(--text-muted) 35%, transparent); }
.ciel-cadran .cc-lune path { fill: #E8EEF6; }
.ciel-astres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-muted); }
.ciel-astres li { display: inline-flex; align-items: center; gap: 6px; }
.ciel-astres b { color: var(--text-dim); font-family: var(--font-mono); font-weight: 600; }
.ciel-astres .ast { width: 9px; height: 9px; border-radius: 50%; background: #FFD166; box-shadow: 0 0 6px #FFB454; }
.ciel-astres .lune .ast { background: #DDE5EF; box-shadow: none; }
.ciel-astres .sfi .ast { background: none; border: 2px solid #FFB454; width: 9px; height: 9px; box-shadow: 0 0 6px #FFB454; }
@media (prefers-reduced-motion: reduce) { .ciel-globe::before, .ciel-aos-l .bd-led { animation: none; } .ciel-globe canvas { transition: none; } }
/* Narrow: the globe on top, the dial and the countdown below it. */
@container ciel (max-width: 470px) {
  .carte-ciel > .card-body.ciel-corps { grid-template-columns: minmax(0, 1fr); }
  .ciel-globe { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; aspect-ratio: 1 / .92; }
  .ciel-cote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .ciel-cote .ciel-astres { grid-column: 1 / -1; }
}
html:not(.js-nav) .ciel-globe { display: none; }
html:not(.js-nav) .carte-ciel > .card-body.ciel-corps { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) and (min-height: 640px) {
  body.ecran .carte-ciel { container-type: size; }
  body.ecran .home-grid > .carte-ciel > .card-body { overflow: hidden; padding: 0; }
  body.ecran .ciel-globe { min-height: 0; }
}
/* Short (beside the live block): no globe, the dial beside the countdown. */
@container ciel (max-height: 300px) {
  .carte-ciel > .card-body.ciel-corps { grid-template-columns: minmax(0, 1fr); }
  .ciel-globe { display: none; }
  .ciel-cote { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 8px 14px; height: 100%; }
  .ciel-cote .ciel-cadran { grid-row: 1; grid-column: 1; height: 100%; width: auto; aspect-ratio: 1; min-height: 0; max-height: 100%; }
  .ciel-cote .ciel-aos { grid-column: 2; }
  .ciel-cote .ciel-astres { grid-column: 3; flex-direction: column; gap: 6px; }
  .ciel-aos-compte { font-size: 22px; }
}
@container ciel (max-height: 300px) and (max-width: 520px) { .ciel-cote .ciel-astres { display: none; } }

/* ───────────────────────────── the logbook in figures, on a map (carte-qso.js), the station's QSL-like card */
.carnet-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 16px; }
.chiffre { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-l); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.chiffre::after { content: ''; position: absolute; inset: auto -20% -60% auto; width: 80%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); pointer-events: none; }
.chiffre b { font: 700 28px/1.1 var(--font-mono); color: var(--text); letter-spacing: .01em; }
.chiffre span { font: 700 10.5px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.chiffre small { font: 12px var(--font-mono); color: var(--accent); }
.carte-qso-corps { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 0; padding: 0; }
.carte-qso-cadre { position: relative; height: clamp(280px, 46vw, 460px); border-right: 1px solid var(--border); }
.carte-qso-cadre canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.carte-qso-cadre canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.carte-bulle { position: absolute; z-index: 2; padding: 7px 10px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); font-size: 12.5px; line-height: 1.45; pointer-events: none; max-width: 260px; }
.par-sat { padding: 10px 14px; min-width: 0; }
.par-sat .sous { margin-top: 2px; }
.par-sat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.par-sat a { display: grid; grid-template-columns: 5.6em minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 4px; border-radius: var(--r-s); color: var(--text); font-size: 13px; }
.par-sat a:hover { background: var(--accent-soft); text-decoration: none; }
.ps-n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sat); }
.ps-b { height: 6px; border-radius: 3px; background: var(--well); overflow: hidden; }
.ps-b i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent)); }
.carte-legende { font-size: 12.5px; color: var(--text-dim); gap: 6px 18px; }
.carte-legende span { display: inline-flex; align-items: center; gap: 6px; }
.carte-legende .pt { width: 9px; height: 9px; border-radius: 50%; } .carte-legende .pt.sat { background: var(--accent); } .carte-legende .pt.ter { background: var(--info); }
html:not(.js-nav) .carte-qso-cadre { display: none; }
@media (max-width: 719px) { .carte-qso-corps { grid-template-columns: 1fr; } .carte-qso-cadre { border-right: 0; border-bottom: 1px solid var(--border); height: 300px; } .chiffre b { font-size: 23px; } }
.carte-qsl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: center; margin: 26px 0 6px; padding: 20px 24px; position: relative; overflow: hidden;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); color: var(--text);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--accent) 4%, transparent) 14px 15px),
    radial-gradient(600px 220px at 100% 0%, color-mix(in srgb, var(--info) 16%, transparent), transparent 70%), var(--panel); box-shadow: var(--shadow); }
.carte-qsl::before { content: 'QSL'; position: absolute; right: 18px; bottom: -22px; font: 800 120px/1 var(--font-sans); letter-spacing: .05em; color: color-mix(in srgb, var(--accent) 7%, transparent); pointer-events: none; }
.qsl-gauche { display: grid; justify-items: center; text-align: center; gap: 2px; padding-right: 22px; border-right: 1px dashed var(--border-strong); }
.qsl-gauche .mark { border-radius: 14px; }
.qsl-call { margin: 6px 0 0; font: 800 30px/1 var(--font-sans); letter-spacing: .08em; }
.qsl-nom { margin: 0; color: var(--text-dim); font-size: 13px; }
.qsl-champs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: 14px; }
.qsl-champs dt { font: 700 10.5px/2 var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.qsl-champs dd { margin: 0; }
.qsl-merci { grid-column: 2; margin: 4px 0 0; font-style: italic; color: var(--text-dim); }
@media (max-width: 560px) { .carte-qsl { grid-template-columns: 1fr; } .qsl-gauche { border-right: 0; border-bottom: 1px dashed var(--border-strong); padding: 0 0 12px; } .qsl-merci { grid-column: 1; } }

/* ───────────────────────────── the SSTV wall, the viewer (galerie.js) */
.sm-section-title .titre-lien { margin-left: auto; text-transform: none; letter-spacing: 0; }
.mur-filtres { margin: 0 0 18px; }
.mur { display: flex; flex-wrap: wrap; gap: 14px; }
.mur-passage { position: relative; flex: 1 1 calc(var(--n, 1) * 178px + 26px); max-width: 100%; padding: 12px 13px 13px; border: 1px solid var(--border); border-radius: var(--r-l);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 60px), var(--panel); box-shadow: var(--shadow); }
.mur-passage::before { content: ''; position: absolute; left: 13px; right: 13px; top: -1px; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .7; }
.mur-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0 0 10px; }
.mur-tete .mur-heure { flex-basis: 100%; }
.mur-tete .mur-sat { margin-left: auto; }
.mur-jour { font-weight: 700; color: var(--text); }
.mur-sat { font: 700 12px var(--font-sans); padding: 1px 9px; border-radius: 999px; color: var(--sat); border: 1px solid color-mix(in srgb, var(--sat) 40%, transparent); background: color-mix(in srgb, var(--sat) 10%, transparent); }
.mur-sat:hover { text-decoration: none; border-color: var(--sat); color: var(--sat); }
.mur-tete .num { font-size: 12.5px; color: var(--text-muted); }
.mur-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.mur-grille .vign a { aspect-ratio: 320 / 256; }
.vign a { position: relative; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.vign a:hover, .vign a:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.vign.recente a { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent); animation: recente 2.8s ease-in-out infinite alternate; }
.vign.recente a::after { content: 'Dernière'; position: absolute; top: 6px; left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 10.5px var(--font-sans); letter-spacing: .4px; text-transform: uppercase; }
@keyframes recente { from { box-shadow: 0 0 0 1px var(--accent), 0 0 10px color-mix(in srgb, var(--accent) 30%, transparent); } to { box-shadow: 0 0 0 1px var(--accent), 0 0 26px color-mix(in srgb, var(--accent) 55%, transparent); } }
@media (prefers-reduced-motion: reduce) { .vign a { transition: none; } .vign.recente a { animation: none; } .vign a:hover { transform: none; } }
@media (max-width: 560px) { .mur-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .mur-passage { flex-basis: 100%; } }
.vi-ouverte, .vi-ouverte body { overflow: hidden; }
dialog.visionneuse { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 6, 10, .94); color: #E8F0F7; }
dialog.visionneuse::backdrop { background: rgba(3, 6, 10, .6); }
.vi-scene { position: absolute; inset: 0 0 64px; display: flex; align-items: center; justify-content: center; padding: 18px 70px; }
.vi-img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.vi-att { position: absolute; bottom: 12px; font-size: 12px; color: #9AA7B4; }
.vi-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #E8F0F7; transition: background 140ms ease; }
.vi-btn:hover { background: rgba(63, 224, 200, .2); }
.vi-btn:focus-visible { outline: 2px solid #3FE0C8; outline-offset: 2px; }
.vi-btn .ico { width: 22px; height: 22px; }
.vi-prec, .vi-suiv { position: absolute; top: calc(50% - 55px); }
.vi-prec { left: 14px; } .vi-suiv { right: 14px; }
.vi-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(10, 15, 20, .85); }
.vi-legende { margin: 0; flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-compte { color: #9AA7B4; font-size: 13px; }
.vi-fiche { color: #3FE0C8; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 560px) { .vi-scene { padding: 10px 8px; inset: 0 0 96px; } .vi-prec, .vi-suiv { top: auto; bottom: 108px; } .vi-barre { height: 96px; flex-wrap: wrap; align-content: center; gap: 4px 12px; } .vi-legende { flex-basis: 100%; white-space: normal; } }
/* The home page's last picture: it glows a little. */
.derniere-image a img { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 25%, transparent); }

/* the site's banner on every page (Gabarit.bandeauSite): one line under the home page's, the owner's word in its slot */
.site-bandeau { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--r-l);
  background: linear-gradient(100deg, var(--accent-soft), transparent 55%), var(--panel); }
.site-bandeau .mark { width: 34px; height: 34px; border-radius: 9px; flex: none; display: block; }
.sb-marque { display: flex; flex: none; }
.sb-txt { margin: 0; display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 0 1 auto; white-space: nowrap; overflow: hidden; }
.sb-call { font-weight: 700; font-size: 19px; letter-spacing: .05em; color: var(--text); }
.sb-call:hover { text-decoration: none; color: var(--accent); }
.sb-sous { color: var(--text-dim); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
.sb-annonce { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); background: color-mix(in srgb, var(--warn) 12%, transparent);
  color: var(--text); font-size: 13.5px; font-weight: 600; }
.sb-annonce[hidden] { display: none; }
.site-bandeau .sb-annonce { flex: 1 1 0; }
.sb-annonce-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-bandeau .hh + .hh { padding-left: 12px; border-left: 1px solid var(--border); }
.site-bandeau .hero-horloges { margin-left: auto; flex-direction: row; align-items: baseline; gap: 14px; padding-left: 14px; flex: none; }
.site-bandeau .hh.utc .hh-v { font-size: 18px; } .site-bandeau .hh-v { font-size: 14px; }
.site-bandeau.appli { margin: 10px 16px; }
.home-hero .sb-annonce { display: inline-flex; margin-top: 10px; max-width: 100%; color: var(--text); }
.home-hero .sb-annonce[hidden] { display: none; }
@media (max-width: 719px) {
  .site-bandeau { flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; margin-bottom: 14px; }
  .site-bandeau .hero-horloges { display: none; }
  .site-bandeau .sb-annonce { flex-basis: 100%; border-radius: var(--r-m); }
  .sb-annonce-txt { white-space: normal; }
}
@media (min-width: 1100px) and (min-height: 640px) {
  body.ecran .site-bandeau { margin-bottom: 10px; padding: 5px 12px; }
  body.ecran .home-hero .sb-annonce { margin-top: 3px; padding: 1px 10px; }
  body.ecran .hero-txt:has(.sb-annonce:not([hidden])) .hero-desc { display: none; }
}
.page-head + .carte-qsl { margin: 0 0 18px; }

/* SSTV series: the auto-pilot's mark, a planche's page (VuesSstv) */
.robot { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text); white-space: nowrap; }
.robot-nom { color: var(--text-dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 22em; }
.vign { position: relative; }
.vign > .robot { position: absolute; top: 6px; right: 6px; padding: 1px 5px; border-radius: 999px; background: rgba(10,15,20,.78); font-size: 12px; pointer-events: none; }
.vign-fiche { margin: 2px 2px 0; font-size: 12px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.mur-tete .robot { flex-basis: 100%; font-size: 12.5px; min-width: 0; }
.pill.robot-pill { height: auto; min-height: 24px; color: var(--text); }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.pf-haut { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); align-items: start; margin-bottom: 22px; }
@media (max-width: 899px) { .pf-haut { grid-template-columns: minmax(0, 1fr); } }
.pf-image { margin: 0; }
.pf-image a { display: block; }
.pf-image img { display: block; width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--border); background: #000; }
.pf-resume .card-body { padding-top: 12px; }
.pf-compte { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.pf-compte b { font: 700 38px/1 var(--font-sans); color: var(--accent); }
.pf-compte span { color: var(--text-dim); font-size: 15px; }
.pf-puces { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0 0 8px; padding: 0; }
.pf-puces li { min-width: 28px; height: 26px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-s);
  font: 700 12.5px var(--font-mono); border: 1px solid var(--border); }
.pf-puces li.recue { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); color: var(--accent); }
.pf-puces li.manque { color: var(--text-muted); border-style: dashed; background: transparent; }
.pf-manque { margin: 0 0 6px; color: var(--warn); font-weight: 600; font-size: 14px; }
.pf-complete { margin: 0 0 6px; color: var(--green); font-weight: 600; font-size: 14px; }
.pf-resume .item-meta { font-size: 13.5px; }
.pf-resume .actions { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-diapos .vign figcaption { flex-direction: column; gap: 0; color: var(--text); font-weight: 600; }
.vign.absente .vign-vide { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--r-m);
  border: 1px dashed var(--border-strong); color: var(--text-muted); font-size: 12px; }
.vign.absente .vign-vide b { font: 700 26px var(--font-mono); color: var(--text-dim); }
table.pf-passages td, table.pf-passages th { white-space: nowrap; }
table.pf-passages a .ico, .pf-pilote .ico { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.pf-pilote { margin: 22px 0 12px; }
.pf-pilote p { margin: 0 0 8px; }
.pf-prochain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mur-pilote { margin: 0 0 16px; }
.mur-pilote .card-body { padding: 10px 16px; }
.mur-campagnes { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.mur-pilote .pf-prochain { margin: 6px 0 0; font-size: 14px; }
