/* Polices hébergées localement (licence SIL OFL) : aucune requête vers Google. */
@font-face { font-family: 'Big Shoulders Display'; src: url('/static/fonts/big-shoulders-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Big Shoulders Display'; src: url('/static/fonts/big-shoulders-display-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/static/fonts/figtree-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/static/fonts/figtree-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/static/fonts/figtree-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/static/fonts/figtree-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* Eclipse Studio — nuit noire, couronne jaune */
:root {
  --nuit: #07080d;
  --ciel: #0e111b;
  --trait: #232838;
  --couronne: #f4c430;
  --halo: #ffe7a3;
  --lune: #ece8de;
  --brume: #9098aa;
  --danger: #ff7a6b;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'Figtree', system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: 2.6rem;
  --step-4: clamp(3rem, 7vw, 5.5rem);
  --step-5: clamp(4.2rem, 13vw, 11rem);

  --page: min(1240px, 100% - 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--lune);
  font: 400 var(--step-0)/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--couronne) 60%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--halo); }
:focus-visible { outline: 2px solid var(--couronne); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--couronne); color: var(--nuit); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: var(--page); margin-inline: auto; }
.muted { color: var(--brume); }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--nuit) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; position: relative; box-shadow: 0 0 0 2px var(--couronne), 0 0 14px 2px color-mix(in srgb, var(--couronne) 45%, transparent); }
.brand-mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--nuit); transform: translateX(3px); }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--brume); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lune); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--couronne); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--trait); border-radius: var(--radius); color: var(--lune); cursor: pointer; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--nuit); border-bottom: 1px solid var(--trait); padding: .5rem 1.25rem 1.25rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--trait); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--couronne); }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.3rem; border-radius: var(--radius); border: 1px solid var(--couronne); background: var(--couronne); color: var(--nuit); font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--halo); border-color: var(--halo); color: var(--nuit); }
.btn.ghost { background: transparent; color: var(--couronne); }
.btn.ghost:hover { background: var(--couronne); color: var(--nuit); }
.btn.quiet { background: transparent; border-color: var(--trait); color: var(--lune); }
.btn.quiet:hover { border-color: var(--brume); }
.btn.danger { background: transparent; border-color: color-mix(in srgb, var(--danger) 50%, transparent); color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: var(--nuit); }
.btn.sm { min-height: 36px; padding: 0 .85rem; font-size: .9rem; }
.nav .btn { color: var(--couronne); }
.nav .btn:hover { color: var(--nuit); }

/* ---------- Hero : l'éclipse ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 68px); display: grid; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding-block: 4rem; }
.hero h1 { font-size: var(--step-5); line-height: .95; margin-bottom: .35em; text-transform: none; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--lune); }
.hero-lede { font-size: var(--step-1); color: var(--brume); max-width: 30ch; margin-bottom: 2rem; }
.hero-lede strong { color: var(--lune); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.eclipse { --size: min(42vw, 72svh, 600px); position: relative; width: var(--size); aspect-ratio: 1; justify-self: center; }
.eclipse > div { position: absolute; inset: 0; border-radius: 50%; }
.eclipse .corona {
  box-shadow: 0 0 calc(var(--size) * .015) calc(var(--size) * .006) var(--halo),
              0 0 calc(var(--size) * .07) calc(var(--size) * .012) color-mix(in srgb, var(--couronne) 75%, transparent),
              0 0 calc(var(--size) * .22) calc(var(--size) * .03) color-mix(in srgb, var(--couronne) 22%, transparent),
              0 0 calc(var(--size) * .5) calc(var(--size) * .02) color-mix(in srgb, var(--couronne) 8%, transparent);
  animation: corona 3.2s ease-in both;
}
.eclipse .sun { background: var(--halo); box-shadow: 0 0 0 2px var(--couronne); }
.eclipse .moon { background: var(--nuit); animation: transit 3.2s cubic-bezier(.3,.1,.2,1) both; }
/* l'anneau de diamant : le dernier éclat avant la totalité */
.eclipse .diamond { inset: auto; top: 50%; left: 50%; width: 7%; aspect-ratio: 1; background: #fff; box-shadow: 0 0 calc(var(--size) * .05) calc(var(--size) * .025) var(--halo); transform: translate(-50%, -50%) rotate(-38deg) translateX(calc(var(--size) * .5)); opacity: 0; animation: diamond 3.2s ease-out both; }
@keyframes transit { from { transform: translate(62%, -18%); } to { transform: translate(1%, -.5%); } }
@keyframes corona { 0%, 65% { opacity: 0; } 100% { opacity: 1; } }
@keyframes diamond { 0%, 64% { opacity: 0; } 76% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem 4rem; }
  .eclipse { --size: min(68vw, 360px); order: -1; justify-self: center; margin-block: 1.5rem 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section + .section { border-top: 1px solid var(--trait); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--brume); }

/* Filtres */
.filters { display: flex; gap: .35rem; flex-wrap: wrap; }
.filters button { background: none; border: 1px solid var(--trait); color: var(--brume); border-radius: 999px; padding: .45rem 1rem; font: 500 .95rem var(--text); cursor: pointer; }
.filters button:hover { color: var(--lune); border-color: var(--brume); }
.filters button[aria-pressed="true"] { background: var(--lune); border-color: var(--lune); color: var(--nuit); }

/* Mur d'images (portfolio et galeries) */
.wall { columns: 3 300px; column-gap: 14px; }
.wall .tile { break-inside: avoid; margin: 0 0 14px; position: relative; background: var(--ciel); border-radius: var(--radius); overflow: hidden; }
.wall .tile[hidden] { display: none; }
.tile button.open { all: unset; display: block; width: 100%; cursor: zoom-in; }
.tile button.open:focus-visible { outline: 2px solid var(--couronne); outline-offset: -2px; }
.tile img, .tile video { width: 100%; height: auto; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .75rem; background: linear-gradient(transparent, rgba(4,5,9,.85)); font-size: .92rem; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; }
.tile .play { position: absolute; top: .7rem; left: .7rem; padding: .2rem .55rem; border-radius: 3px; background: var(--couronne); color: var(--nuit); font-size: .78rem; font-weight: 700; }

.empty { border: 1px dashed var(--trait); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; color: var(--brume); }
.empty p { margin-inline: auto; }

/* Bloc espace perso */
.vault { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.vault ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.4rem; }
.vault li { padding-left: 1.6rem; position: relative; }
.vault li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--couronne); }
.vault li strong { display: block; color: var(--lune); font-weight: 600; }
.vault li span { color: var(--brume); }
@media (max-width: 760px) { .vault { grid-template-columns: 1fr; } }

/* Appel final */
.cta-band { text-align: left; }
.cta-band h2 { font-size: var(--step-4); max-width: 14ch; }

/* ---------- Page Studio ---------- */
.intro { font-size: var(--step-1); max-width: 46ch; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); }
.services article { padding: 2rem 2rem 2rem 0; }
.services article + article { padding-left: 2rem; border-left: 1px solid var(--trait); }
.services h3 { color: var(--couronne); }
.services ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.services li { padding: .45rem 0; border-top: 1px solid var(--trait); color: var(--brume); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .services article, .services article + article { padding: 2rem 0; border-left: 0; }
  .services article + article { border-top: 1px solid var(--trait); }
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 800 var(--step-4)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--couronne); margin-bottom: .6rem; }
.steps h3 { font-size: var(--step-1); font-family: var(--text); font-weight: 600; line-height: 1.3; margin-bottom: .4rem; }
.steps p { color: var(--brume); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.2rem; max-width: 620px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 500; margin-bottom: .4rem; }
label .opt { color: var(--brume); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], select, textarea {
  width: 100%; padding: .8rem .9rem; background: var(--ciel); color: var(--lune); border: 1px solid var(--trait); border-radius: var(--radius); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--couronne); box-shadow: 0 0 0 3px color-mix(in srgb, var(--couronne) 25%, transparent); }
textarea { min-height: 170px; resize: vertical; }
.field-error { color: var(--danger); font-size: var(--step--1); margin: .35rem 0 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 400; }
.check input { width: 18px; height: 18px; accent-color: var(--couronne); }

.code-input { font: 800 2.4rem/1 var(--display) !important; letter-spacing: .4em; text-align: center; padding: 1rem !important; }

.notice { border-left: 3px solid var(--couronne); background: var(--ciel); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.5rem; }
.notice.error { border-color: var(--danger); }
.notice p { margin: 0; }

/* Pages étroites (connexion) */
.narrow { width: min(460px, 100% - 2.5rem); margin: clamp(3rem, 10vh, 6rem) auto; }
.narrow h1 { font-size: var(--step-3); }
.narrow .form { max-width: none; }
.narrow .links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: var(--step--1); color: var(--brume); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.contact-aside dl { margin: 0; display: grid; gap: 1.2rem; }
.contact-aside dt { color: var(--brume); font-size: var(--step--1); }
.contact-aside dd { margin: 0; font-size: var(--step-1); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Espace client / galerie ---------- */
.page-head { padding-block: 3.5rem 2rem; }
.page-head h1 { margin-bottom: .3em; }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.5rem 0 2rem; }
.share { display: flex; flex: 1 1 380px; max-width: 560px; }
.share input { border-radius: var(--radius) 0 0 var(--radius); font-size: .9rem; color: var(--brume); }
.share button { border-radius: 0 var(--radius) var(--radius) 0; }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.album { text-decoration: none; display: block; }
.album .cover { aspect-ratio: 4/3; background: var(--ciel); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album:hover .cover img { transform: scale(1.03); }
.album h2 { font-size: var(--step-2); margin: .8rem 0 .2rem; }
.album p { color: var(--brume); margin: 0; font-size: var(--step--1); }

.tile .dl { position: absolute; top: .55rem; right: .55rem; opacity: 0; transition: opacity .2s; }
.tile:hover .dl, .tile:focus-within .dl { opacity: 1; }
@media (hover: none) { .tile .dl, .tile figcaption { opacity: 1; } }

/* Visionneuse */
.viewer { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(4,5,9,.96); color: var(--lune); }
.viewer::backdrop { background: rgba(4,5,9,.9); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.viewer header { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; }
.viewer header .name { margin-right: auto; color: var(--brume); font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer .stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 4rem 2rem; }
.viewer .stage img, .viewer .stage video { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; }
.viewer .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--trait); background: var(--nuit); color: var(--lune); font-size: 1.4rem; cursor: pointer; }
.viewer .nav-btn:hover { border-color: var(--couronne); color: var(--couronne); }
.viewer .prev { left: .8rem; } .viewer .next { right: .8rem; }
@media (max-width: 600px) { .viewer .stage { padding: 0 .5rem 4.5rem; } .viewer .nav-btn { top: auto; bottom: .8rem; transform: none; } }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--trait); padding-block: 2.5rem; color: var(--brume); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lune); }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 68px); }
.admin-nav { border-right: 1px solid var(--trait); padding: 2rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.admin-nav a { text-decoration: none; padding: .6rem .8rem; border-radius: var(--radius); color: var(--brume); display: flex; justify-content: space-between; }
.admin-nav a:hover { color: var(--lune); background: var(--ciel); }
.admin-nav a[aria-current="page"] { color: var(--nuit); background: var(--couronne); }
.admin-nav .badge { background: var(--couronne); color: var(--nuit); border-radius: 999px; padding: 0 .5rem; font-size: .8rem; font-weight: 700; }
.admin-nav a[aria-current="page"] .badge { background: var(--nuit); color: var(--couronne); }
.admin-main { padding: 2.2rem clamp(1.2rem, 4vw, 3rem) 4rem; min-width: 0; }
.admin-main h1 { font-size: var(--step-3); }
.admin-main h2 { font-size: var(--step-2); margin-top: 2.5rem; }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--trait); padding: .6rem 1rem; }
  .admin-nav a { white-space: nowrap; gap: .5rem; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.stats div { background: var(--nuit); padding: 1.2rem 1.4rem; }
.stats b { display: block; font: 800 var(--step-3)/1 var(--display); color: var(--couronne); }
.stats span { color: var(--brume); font-size: var(--step--1); }

.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th { text-align: left; font-weight: 500; color: var(--brume); padding: .6rem .8rem; border-bottom: 1px solid var(--trait); }
.table td { padding: .8rem; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.table tr:hover td { background: var(--ciel); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.pill { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; border: 1px solid var(--trait); color: var(--brume); }
.pill.on { border-color: var(--couronne); color: var(--couronne); }
.pill.off { border-color: color-mix(in srgb, var(--danger) 50%, transparent); color: var(--danger); }

.panel { border: 1px solid var(--trait); border-radius: var(--radius); padding: 1.4rem; background: var(--ciel); }
.panel + .panel { margin-top: 1.2rem; }
.panel h3 { font-family: var(--text); font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; align-items: start; }
.inline { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.drop { border: 1.5px dashed var(--trait); border-radius: var(--radius); padding: 2.2rem 1.2rem; text-align: center; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--couronne); background: color-mix(in srgb, var(--couronne) 6%, transparent); }
.drop input[type=file] { margin: 1rem auto 0; max-width: 100%; color: var(--brume); }
.progress { height: 6px; background: var(--trait); border-radius: 3px; overflow: hidden; margin-top: 1rem; }
.progress > div { height: 100%; width: 0; background: var(--couronne); transition: width .2s; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumbs figure { margin: 0; background: var(--ciel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--trait); }
.thumbs .img { aspect-ratio: 1; display: grid; place-items: center; background: var(--nuit); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs figcaption { padding: .5rem .6rem; font-size: .8rem; color: var(--brume); display: flex; justify-content: space-between; gap: .4rem; align-items: center; }
.thumbs figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { background: none; border: 0; color: var(--brume); cursor: pointer; padding: .2rem; font-size: 1rem; line-height: 1; }
.icon-btn:hover { color: var(--danger); }

.message { border-bottom: 1px solid var(--trait); padding: 1.4rem 0; }
.message.unread h3::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--couronne); margin-right: .6rem; vertical-align: middle; }
.message h3 { font-size: var(--step-1); font-family: var(--text); font-weight: 600; margin-bottom: .2rem; }
.message .meta { color: var(--brume); font-size: var(--step--1); margin-bottom: .8rem; }
.message .body { white-space: pre-wrap; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
  .eclipse .diamond { display: none; }
}

.hl { color: var(--lune); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--couronne) 60%, transparent); text-underline-offset: .2em; cursor: pointer; }
.link-btn:hover { color: var(--lune); }
.link-btn.plain { text-decoration: none; }
.section-spacer { height: 5rem; }
.drop-fields { margin: 1rem auto 0; text-align: left; }
.portfolio-edit { padding: .6rem; gap: .5rem; }
.portfolio-edit input, .portfolio-edit select { padding: .45rem .6rem; font-size: .9rem; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn { white-space: nowrap; }
.thumbs .img { display: block; }
.thumbs .img img, .thumbs .img video { width: 100%; height: 100%; object-fit: cover; }
.thumbs .img > span { display: grid; place-items: center; height: 100%; }
.cols > .panel + .panel { margin-top: 0; }
.drop p { margin-inline: auto; }
.admin-nav .badge { line-height: 1.5; align-self: center; }
