/* Les Puceaux Sauvages — archive */
@font-face { font-family: "Archivo Black"; src: url(fonts/ArchivoBlack-Regular.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(fonts/FiraSans-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(fonts/FiraSans-Italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url(fonts/FiraSans-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #221c46;
  --ink-2: #3a3366;
  --paper: #f4f4f8;
  --card: #ffffff;
  --sun: #ffd23f;
  --green: #157a52;
  --green-soft: #d9f0e5;
  --muted: #615d7e;
  --line: #e0dfea;
  --danger: #b3261e;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --text: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --r: 10px;
  --wrap: 1160px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font: 400 clamp(2rem, 4.5vw, 3.1rem)/1.05 var(--display); letter-spacing: -.01em; }
h2 { font: 400 1.45rem/1.2 var(--display); margin-top: 1.6em; }
h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.3em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.wrap.narrow { width: min(100% - 2.5rem, var(--narrow)); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.block { display: block; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 99; background: var(--sun); color: var(--ink); padding: .5rem 1rem; }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.plain li { margin-bottom: .35em; }

/* ---------- top bar */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--sun); color: var(--ink); font: 400 1rem var(--display); border-radius: 8px; transform: rotate(-4deg); }
.brand-mark.big { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 14px; }
.brand-name { font: 400 1.05rem var(--display); }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav > a, .more > summary { color: #e9e7f7; text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-weight: 600; font-size: .98rem; cursor: pointer; }
.nav > a:hover, .more > summary:hover { background: var(--ink-2); color: #fff; }
.nav > a[aria-current], .more.is-current > summary { background: var(--sun); color: var(--ink); }
.more { position: relative; }
.more > summary { list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; display: inline-block; margin-left: .4rem; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.more-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); color: var(--ink); border-radius: var(--r); box-shadow: 0 12px 40px rgba(34, 28, 70, .25); padding: .4rem; min-width: 220px; display: grid; }
.more-menu a { color: var(--ink); text-decoration: none; padding: .55rem .8rem; border-radius: 6px; }
.more-menu a:hover, .more-menu a[aria-current] { background: var(--paper); }
.search input[type=search] { width: 150px; border: 0; border-radius: 8px; padding: .5rem .75rem; background: var(--ink-2); color: #fff; font: inherit; font-size: .95rem; }
.search input[type=search]::placeholder { color: #b9b5d6; }
.search input[type=search]:focus { background: #fff; color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: var(--sun); color: var(--ink); border: 0; border-radius: 8px; padding: .5rem .9rem; font: 600 .95rem var(--text); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--ink); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; }
  .nav.is-open { display: flex; }
  .more-menu { position: static; box-shadow: none; background: transparent; padding: 0 0 0 1rem; }
  .more-menu a { color: #e9e7f7; }
  .more-menu a:hover, .more-menu a[aria-current] { background: var(--ink-2); }
  .search input[type=search] { width: 100%; margin-top: .5rem; }
}

/* ---------- hero (home) */
.hero { background: var(--ink); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) 0 0; overflow: hidden; }
.hero-kicker { color: #c9c5e6; font-weight: 600; margin-bottom: .6rem; }
.hero-title { font: 400 clamp(3.4rem, 12.5vw, 10.5rem)/.86 var(--display); letter-spacing: -.035em; margin: 0 0 1.4rem; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title span + span { padding-left: clamp(1.5rem, 9vw, 8rem); }
.hero-slogan { font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .4rem; color: var(--sun); }
.hero-facts { color: #c9c5e6; max-width: 60ch; }
.years { padding: 2.2rem 0 3rem; }
.years ol { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem .9rem; padding: .6rem 0 1rem; margin: 0; }
.years li { flex: 0 0 auto; scroll-snap-align: start; }
.years li:nth-child(odd) .year-sticker { transform: rotate(-2.5deg); }
.years li:nth-child(even) .year-sticker { transform: rotate(2deg) translateY(6px); }
.year-sticker { display: grid; width: 132px; min-height: 104px; padding: .8rem .9rem; background: var(--sun); color: var(--ink); text-decoration: none; border-radius: 6px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); transition: transform .15s ease; }
.year-sticker strong { font: 400 1.9rem/1 var(--display); }
.year-sticker span { font-size: .82rem; line-height: 1.3; align-self: end; }
.years li .year-sticker:hover, .years li .year-sticker:focus-visible { transform: rotate(0) translateY(-4px); }

/* ---------- generic sections */
.page-head { padding: 2.6rem 0 1rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.meta { color: var(--muted); font-size: .95rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.crumbs a { color: var(--muted); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.section-head h2 { margin: 0 0 .6rem; }
.notice { background: #fff6d1; border-left: 4px solid var(--sun); padding: .8rem 1rem; border-radius: 0 var(--r) var(--r) 0; max-width: 75ch; }
.empty-state { padding: 2rem 0; color: var(--muted); }
.panel { background: var(--card); border-radius: var(--r); padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; border: 1px solid var(--line); }
.panel h2 { margin-top: 0; font-size: 1.15rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; padding-bottom: 3rem; }
.two-col > section > h2:first-child { margin-top: .2rem; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.btn { display: inline-block; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: .65rem 1.2rem; font: 600 1rem var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink-2); }
.btn-small { padding: .4rem .8rem; font-size: .9rem; }
.btn-secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--paper); }
.btn-danger { background: var(--danger); }
.tag { display: inline-block; background: var(--green-soft); color: var(--green); font-size: .8rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; text-decoration: none; margin-right: .3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0; }
.chip { background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 99px; padding: .3rem .8rem; font-size: .92rem; }
.chip span { color: var(--muted); font-size: .82rem; }
.chip[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-current] span { color: #c9c5e6; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; padding: 2rem 0; }

/* ---------- home */
.strip-section .photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: .6rem; overflow-x: auto; }
.photo-strip a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--line); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .home-grid { grid-template-columns: 1fr; } }
.home-side { padding-top: 2.4rem; }
.news-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.news-item h2, .news-item h3 { font: 600 1.3rem/1.25 var(--text); margin: .2rem 0 .4rem; }
.news-item h2 a, .news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h2 a:hover, .news-item h3 a:hover { color: var(--green); text-decoration: underline; }
.news-item.is-lead h3 { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--display); }
.news-item p { margin-bottom: .3rem; }
.news-item .meta { margin-bottom: .2rem; font-size: .9rem; }
.ranked { padding-left: 1.3rem; margin: 0; }
.ranked li { margin-bottom: .5rem; }
.ranked .muted { display: block; font-size: .85rem; }
.crew-band { background: var(--card); border-top: 1px solid var(--line); padding: .5rem 0 3rem; }
.crew-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; padding: 0; margin: 0; }
.crew-row a { display: grid; justify-items: center; text-align: center; gap: .3rem; color: var(--ink); text-decoration: none; }
.crew-row img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; }
.crew-row strong { font: 400 1.1rem var(--display); }
.crew-row span:last-child { color: var(--muted); font-size: .9rem; }

/* ---------- avatars */
.avatar { --h: 250; display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: hsl(var(--h) 45% 86%); color: hsl(var(--h) 45% 25%); font-weight: 600; overflow: hidden; vertical-align: middle; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 24px; height: 24px; font-size: .75rem; }
.avatar-sm { width: 34px; height: 34px; font-size: .9rem; }
.avatar-md { width: 46px; height: 46px; font-size: 1.15rem; }
.avatar-lg { width: 112px; height: 112px; font: 400 2.6rem var(--display); }
.avatar-xl { width: 120px; height: 120px; font: 400 3rem var(--display); }

/* ---------- prose */
.prose-page { padding: 2.6rem 0 3rem; }
.prose { overflow-wrap: anywhere; }
.prose img { border-radius: 6px; margin: .5rem 0; }
.prose img.is-missing { display: none; }
.prose .intro { font-size: 1.12rem; margin-bottom: 1em; }
.prose blockquote { margin: 1em 0; padding: .8rem 1rem; background: var(--paper); border-left: 4px solid var(--line); border-radius: 0 var(--r) var(--r) 0; }
.prose cite { display: block; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--muted); }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.note h2 { font-size: 1rem; margin: 0 0 .3rem; font-family: var(--text); font-weight: 600; }
.signature { color: var(--muted); font-style: italic; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prevnext a { text-decoration: none; color: var(--ink); font-weight: 600; }
.prevnext a span { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.prevnext .next { text-align: right; }
.comments { margin-top: 2.5rem; }

/* ---------- forum and lists */
.forum-cat { margin-bottom: 2rem; }
.rows { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.row-item { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
.row-item:last-child { border-bottom: 0; }
.row-item p { margin: .15rem 0 0; font-size: .92rem; }
.row-title { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.row-title:hover { color: var(--green); text-decoration: underline; }
.row-stats { display: grid; justify-items: end; text-align: right; font-size: .9rem; flex: none; max-width: 45%; }
@media (max-width: 640px) { .row-item { flex-direction: column; } .row-stats { justify-items: start; text-align: left; max-width: none; } }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.post-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; flex-wrap: wrap; }
.post-head .who { font-weight: 600; }
.post-head time { font-size: .88rem; margin-left: auto; }
.link-list li { padding: .3rem 0; }
.bars { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .45rem; }
.bars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: .6rem; align-items: center; font-size: .93rem; }
.bar { display: block; height: 12px; background: var(--paper); border-radius: 99px; position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--green); border-radius: 99px; }
.bar-value { font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- gallery */
.album-group { margin-bottom: 1.5rem; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.album-card { display: grid; gap: .55rem; color: var(--ink); text-decoration: none; }
.album-cover, .video-cover { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--line); position: relative; }
.album-cover img, .video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.album-card:hover img, .video-card:hover img { transform: scale(1.03); }
.cover-empty { --h: 250; display: grid; place-items: center; width: 100%; height: 100%; background: repeating-linear-gradient(-45deg, hsl(var(--h) 35% 90%) 0 14px, hsl(var(--h) 35% 86%) 14px 28px); }
.cover-empty span { font: 400 3rem var(--display); color: hsl(var(--h) 35% 40%); }
.album-info { display: grid; line-height: 1.35; }
.album-info strong { font-weight: 600; }
.album-info span { font-size: .9rem; }
.album-card:hover strong { color: var(--green); text-decoration: underline; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; margin-bottom: 2rem; }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--line); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.missing-box { background: var(--card); border: 1px dashed #b9b5d6; border-radius: var(--r); padding: 1.1rem 1.3rem; margin-bottom: 3rem; max-width: 80ch; }
.filenames { font-size: .85rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(18, 15, 38, .94); display: grid; grid-template-rows: 1fr auto; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 4px; }
.lightbox-bar { display: flex; gap: .6rem; align-items: center; color: #fff; padding-top: .6rem; }
.lightbox-bar p { margin: 0 auto 0 0; }
.lightbox-bar a { color: var(--sun); }
.lightbox button { background: var(--ink-2); color: #fff; border: 0; border-radius: 8px; padding: .5rem .9rem; font: 600 .95rem var(--text); cursor: pointer; }

/* ---------- videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.video-card { display: grid; gap: .4rem; color: var(--ink); text-decoration: none; }
.video-card strong { font-weight: 600; }
.video-card .muted { font-size: .88rem; }
.video-card.is-missing .video-cover { opacity: .75; }
.badge { position: absolute; left: .6rem; top: .6rem; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; }
.player { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; margin-bottom: 1.2rem; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; }
.video-missing { height: 100%; display: grid; place-content: center; text-align: center; color: #e9e7f7; background: var(--ink); padding: 1.5rem; }
.video-missing p { margin: .2rem 0; }

/* ---------- pronos */
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.table th, .table td { padding: .55rem .7rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.is-first td { background: #fff6d1; font-weight: 600; }
.table.compact td { padding: .4rem .5rem; font-size: .88rem; }
.panel .table { border: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: .6rem; }
.bets td.num, .bets th.num { text-align: center; }
.score { font-weight: 600; white-space: nowrap; }
.pick { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 6px; background: var(--paper); color: var(--muted); font-weight: 600; }
.pick.is-good { background: var(--green); color: #fff; }
.podium { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .2rem; }
.podium li::before { display: inline-block; width: 2.2rem; color: var(--muted); font-size: .85rem; }
.podium .place-1::before { content: "1er"; color: var(--ink); font-weight: 600; }
.podium .place-2::before { content: "2e"; }
.podium .place-3::before { content: "3e"; }
.inline-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
select, input[type=text], input[type=password], input[type=search], input[type=url], input[type=number], textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #c9c6dc; border-radius: 8px; padding: .55rem .7rem; max-width: 100%;
}
textarea { width: 100%; min-height: 6rem; }

/* ---------- la bande */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; padding-bottom: 1rem; }
.crew-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.crew-card:nth-child(odd) { transform: rotate(-.6deg); }
.crew-card:nth-child(even) { transform: rotate(.5deg); }
.crew-photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.crew-card h2 { margin: .8rem 0 .1rem; }
.crew-card dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 1rem 0 0; font-size: .95rem; }
.crew-card dt { color: var(--muted); }
.crew-card dd { margin: 0; }
.member-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; margin-bottom: 3rem; }
.member-grid a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.member-grid a:hover { border-color: var(--green); }
.member-grid span { display: grid; }
.profile-head { display: flex; gap: 1.5rem; align-items: center; }
.quote { font-size: 1.15rem; font-style: italic; margin: 0 0 1.5rem; padding-left: 1rem; border-left: 4px solid var(--sun); }
.stat-line { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0 0 1rem; }
.stat-line strong { font: 400 1.4rem var(--display); }

/* ---------- shoutbox, dico, misc */
.shouts { list-style: none; padding: 0; margin: 0 0 1rem; }
.shouts li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.shouts .who { font-weight: 600; margin-right: .3rem; }
.shouts time { font-size: .82rem; white-space: nowrap; }
.shouts.compact li { font-size: .95rem; }
.shouts.compact time { display: block; }
.shout-month { font: 400 1.05rem var(--display); padding-top: 1.4rem !important; border-bottom: 2px solid var(--ink) !important; }
.entries { margin: 0; }
.entry { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.entry dt { font: 400 1.15rem var(--display); margin-bottom: .2rem; }
.entry dd { margin: 0; }
.dico { margin-bottom: 2rem; }
.quiz-q { font-weight: 600; margin-top: 1rem; }
.timeline { list-style: none; padding: 0; margin: 0 0 2rem; border-left: 3px solid var(--sun); }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0 0 1.2rem 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); }
.timeline time { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq .prose { padding-top: .6rem; }
.year-head { background: var(--ink); color: #fff; padding: 2.2rem 0 2.5rem; margin-bottom: 1rem; }
.year-head .crumbs a { color: #c9c5e6; }
.year-title { font: 400 clamp(4rem, 14vw, 9rem)/.9 var(--display); color: var(--sun); margin: 0 0 .5rem; }
.year-head .lede { color: #e9e7f7; }
.year-nav { display: flex; gap: .6rem; }
.year-nav a { color: var(--ink); background: var(--sun); text-decoration: none; font-weight: 600; padding: .35rem .8rem; border-radius: 6px; }
.year-nav a[rel=prev]::before { content: "‹ "; }
.year-nav a[rel=next]::after { content: " ›"; }
.search-big { display: flex; gap: .6rem; margin: 1rem 0; }
.search-big input { flex: 1; font-size: 1.1rem; }

/* ---------- footer */
.footer { background: var(--ink); color: #c9c5e6; padding: 2rem 0; font-size: .92rem; }
.footer a { color: #fff; }
.footer strong { color: #fff; }
.footer p { margin: .3rem 0; }

/* ---------- private gate */
.gate-body { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: #fff; padding: 1.5rem; }
.gate { width: min(100%, 420px); }
.gate h1 { margin: 1rem 0 .6rem; }
.gate p { color: #d6d3ec; }
.stack { display: grid; gap: .6rem; }
.gate label { font-weight: 600; }
.gate .btn { background: var(--sun); color: var(--ink); justify-self: start; }
.error { color: #ffb4ab; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .footer, .years, .pager { display: none; }
  body { background: #fff; }
}

/* ---------- back-office */
.admin-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.admin-tabs { display: flex; gap: .3rem; overflow-x: auto; padding: .5rem 0; }
.admin-tabs a { padding: .45rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.admin-tabs a[aria-current] { background: var(--ink); color: #fff; }
.admin-main { padding: 1.5rem 0 3rem; }
.admin-main h1 { font-size: 2rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-head h1 { margin: 0; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.admin-card { display: grid; gap: .3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; color: var(--ink); text-decoration: none; }
.admin-card strong { font: 400 1.8rem var(--display); }
.admin-card:hover { border-color: var(--green); }
.progress, .mini-progress { display: block; height: 8px; border-radius: 99px; background: var(--paper); position: relative; overflow: hidden; }
.progress::after, .mini-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--green); }
.mini-progress { display: inline-block; width: 60px; height: 6px; vertical-align: middle; }
.steps { padding-left: 1.3rem; max-width: 80ch; }
.steps li { margin-bottom: .7rem; }
.admin-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.admin-tools .panel { margin: 0; }
.admin-table td { font-size: .95rem; }
.flash { padding: .8rem 1rem; border-radius: var(--r); background: var(--green-soft); color: #0f4d34; margin: 0 0 1rem; }
.flash-error { background: #fde4e1; color: #7a1a14; }
.form { display: grid; gap: .45rem; }
.form label { font-weight: 600; margin-top: .5rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: .6rem 1rem 1rem; display: grid; gap: .45rem; margin: .6rem 0 0; }
.form legend { font-weight: 600; padding: 0 .3rem; }
.form .check, .check { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.dropzone { border: 2px dashed #b9b5d6; display: grid; gap: .5rem; justify-items: start; }
.dropzone.is-over { border-color: var(--green); background: var(--green-soft); }
.admin-photos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.admin-photos a { display: grid; gap: .25rem; color: var(--ink); text-decoration: none; }
.admin-photos img, .admin-photos .slot { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.slot { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(-45deg, #ecebf4 0 10px, #e3e1ee 10px 20px); color: var(--muted); font-size: .85rem; font-weight: 600; border-radius: 6px; padding: .5rem; }
.slot.big { aspect-ratio: 4 / 3; font-size: 1.1rem; }
.fn { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.photo-edit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 1rem; }
.photo-edit img { border-radius: var(--r); }
@media (max-width: 860px) { .photo-edit { grid-template-columns: 1fr; } }
.file-slots { list-style: none; padding: 0; display: grid; gap: .6rem; }
.file-slots li { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; }
.file-slots .thumb img, .file-slots .thumb .slot { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; font-size: .7rem; }
.file-slots form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
@media (max-width: 700px) { .file-slots li { grid-template-columns: 80px 1fr; } .file-slots form { grid-column: 1 / -1; } }
code { background: var(--paper); padding: .05rem .35rem; border-radius: 4px; font-size: .92em; }
