/* Bisoù · charte noir velours, or Neuille, ivoire
   Mise en page : scène sombre, typographie géante condensée, or utilisé rarement pour rester précieux. */
:root {
  --ink: #0E0B0C;
  --ink-2: #161213;
  --ink-3: #1F1A1B;
  --ink-4: #2E2829;
  --gold: #D4A437;
  --gold-hi: #E6BC57;
  --gold-lo: #A87F22;
  --gold-wash: rgba(212, 164, 55, .12);
  --ivory: #F3EBDD;
  --mute: #A89F90;
  --dim: #6F675C;
  --line: rgba(243, 235, 221, .11);
  --line-2: rgba(243, 235, 221, .22);
  --warn: #E8A15A;
  --ok: #8FC79A;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-script: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --r: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.1; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.text-gold { color: var(--gold); }
.text-warn { color: var(--warn); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.script { font-family: var(--f-script); font-style: italic; font-weight: 500; color: var(--gold); text-transform: none; letter-spacing: 0; }
.h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(46px, 10vw, 148px); line-height: .86; letter-spacing: -.005em; margin: 12px 0 18px; }
.h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; font-size: clamp(40px, 7vw, 96px); line-height: .9; }
.h1 .script, .h2 .script { font-size: .78em; }
.h3 { font-size: 22px; margin: 6px 0 14px; }
.lead { color: var(--mute); font-size: 18px; max-width: 60ch; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ivory); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .15s; white-space: nowrap;
}
.btn:hover { border-color: var(--ivory); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-ghost { background: transparent; }
.btn-ink { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn-ink-ghost { color: var(--ink); border-color: rgba(14, 11, 12, .35); }
.btn-ink-ghost:hover { border-color: var(--ink); background: rgba(14, 11, 12, .08); }
.btn-danger { background: var(--warn); color: var(--ink); border-color: var(--warn); }
.btn-danger-ghost { color: var(--warn); border-color: rgba(232, 161, 90, .35); }
.btn-danger-ghost:hover { border-color: var(--warn); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-xs { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .icon-btn[disabled] { opacity: .4; pointer-events: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); text-decoration: none; font-size: 14px; margin-bottom: 16px; }
.back:hover { color: var(--ivory); }
.small-link { color: var(--gold); font-size: 14px; text-decoration: none; }
.small-link:hover { text-decoration: underline; }

/* ---------- curseur ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); mix-blend-mode: difference;
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; opacity: 0;
  }
  .js .cursor.on { opacity: 1; }
  .js .cursor.hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--ivory); }
  .js .cursor.label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--gold); mix-blend-mode: normal; }
  .cursor-label { font-size: 13px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .2s; }
  .cursor.label .cursor-label { opacity: 1; }
}

/* ---------- navigation ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--ink); }
.nav.scrolled { background: rgba(14, 11, 12, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: .02em; color: var(--gold); text-decoration: none; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { position: relative; padding: 10px 14px; text-decoration: none; color: var(--mute); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--ivory); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-auth { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-admin { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 10px; }
.burger { display: none; background: none; border: 1px solid var(--line-2); width: 46px; height: 46px; border-radius: 50%; place-items: center; cursor: pointer; }

/* ---------- messages flash ---------- */
.flashes { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 86px); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 150; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.flash { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); font-size: 15px; animation: flash-in .5s var(--ease) both; }
.flash-success { border-color: rgba(212, 164, 55, .55); }
.flash-success::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }
.flash-error { border-color: rgba(232, 161, 90, .6); }
.flash-error::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-top: 8px; flex: none; }
.flash span { flex: 1; }
.flash-x { background: none; border: 0; color: var(--mute); cursor: pointer; padding: 2px; }
.flash.out { opacity: 0; transform: translateX(20px); transition: .3s; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(24px, 5vw, 60px) 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(212, 164, 55, .14), transparent 62%); pointer-events: none; }
.hero-copy { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: end; position: relative; }
.hero-tag { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-tag .script { font-size: 26px; }
.wordmark { font-family: var(--f-display); font-weight: 900; font-size: clamp(96px, 16vw, 270px); line-height: .78; letter-spacing: -.02em; margin: 18px 0 26px -.04em; color: var(--ivory); white-space: nowrap; }
.wordmark .ch { display: inline-block; }
.js .wordmark .ch { transform: translateY(105%); opacity: 0; animation: rise-ch 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.wordmark .ch:nth-child(4) { color: var(--gold); }
@keyframes rise-ch { to { transform: none; opacity: 1; } }
.hero-quote { font-family: var(--f-script); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; max-width: 22ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; background: var(--ink-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 11, 12, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-script); font-style: italic; font-size: 18px; color: var(--gold); }
.hero-monogram { aspect-ratio: 4 / 5; border-radius: 20px; border: 1px solid var(--line-2); display: grid; place-items: center; align-content: center; gap: 18px; background: var(--ink-2); }
.hero-monogram span { font-family: var(--f-display); font-weight: 900; font-size: clamp(160px, 22vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- bandeau défilant ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding-block: 20px; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 700; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block { padding-block: clamp(72px, 11vw, 150px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

.manifesto-text { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 5.4vw, 76px); line-height: 1.02; text-transform: uppercase; margin: 22px 0 0; max-width: 18ch; }
.manifesto-text .w { color: var(--ink-4); transition: color .35s var(--ease); }
.manifesto-text .w.lit { color: var(--ivory); }
.manifesto-text .w.lit:nth-child(5n+3) { color: var(--gold); }
.no-js .manifesto-text { color: var(--ivory); }

/* liste des réseaux */
.net-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.net-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 48px; gap: 20px; align-items: center; padding: 26px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .45s var(--ease), background .45s; }
.net-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--mute); transition: .35s var(--ease); }
.net-name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; font-size: clamp(40px, 6vw, 84px); line-height: .9; transition: color .35s; }
.net-meta { display: grid; gap: 2px; }
.net-handle { color: var(--gold); font-weight: 700; }
.net-desc { color: var(--mute); font-size: 15px; }
.net-arrow { color: var(--mute); justify-self: end; transition: transform .45s var(--ease), color .35s; }
.net-row:hover { padding-left: 22px; padding-right: 22px; }
.net-row:hover .net-name { color: var(--gold); }
.net-row:hover .net-icon { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.net-row:hover .net-arrow { transform: rotate(45deg); color: var(--ivory); }
.preview-float { position: fixed; left: 0; top: 0; width: 240px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.preview-float.on { opacity: 1; transform: scale(1); }
.preview-float img { width: 100%; height: 100%; object-fit: cover; }

/* bande photo */
.h-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)) 18px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; cursor: grab; }
.h-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.h-scroll.dragging a { pointer-events: none; }
.strip-item { margin: 0; flex: 0 0 clamp(240px, 28vw, 380px); scroll-snap-align: start; }
.strip-item a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); user-select: none; }
.strip-item:hover img { transform: scale(1.05); }
.strip-item figcaption { margin-top: 10px; color: var(--mute); font-size: 14px; }

/* offres */
.job-list { border-top: 1px solid var(--line); }
.job-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .45s var(--ease); }
.job-row:hover { padding-left: 20px; }
.job-row:hover .job-title { color: var(--gold); }
.job-plat { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.job-main { display: grid; gap: 4px; min-width: 0; }
.job-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; font-size: clamp(32px, 4.4vw, 58px); line-height: .92; transition: color .3s; }
.job-sum { color: var(--mute); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.badge-open, .badge-nouveau { color: var(--gold); border-color: rgba(212, 164, 55, .5); background: var(--gold-wash); }
.badge-entretien, .badge-gold { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.badge-accepte { color: var(--ink); background: var(--ivory); border-color: var(--ivory); }
.badge-refuse { color: var(--dim); border-color: var(--line); }
.badge-ivory { color: var(--ivory); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 18px; }
.step-n { font-family: var(--f-display); font-weight: 900; font-size: 38px; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 18px; margin: 12px 0 6px; }
.steps p { color: var(--mute); font-size: 15px; margin: 0; }

/* collab */
.collab { background: var(--gold); color: var(--ink); padding-block: clamp(64px, 9vw, 120px); }
.collab .eyebrow { color: var(--ink); }
.collab .script { color: var(--ink); }
.collab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.collab-side { display: grid; gap: 22px; min-width: 0; }
.collab-mail { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4.8vw, 64px); line-height: 1; text-decoration: none; overflow-wrap: anywhere; }
.collab-mail:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.collab-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* pied de page */
.footer { border-top: 1px solid var(--line); padding-block: 64px 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer-word { font-family: var(--f-display); font-weight: 900; font-size: clamp(80px, 12vw, 170px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.footer-brand .script { font-size: 22px; margin-top: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.footer li a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.to-top { display: inline-flex; gap: 6px; align-items: center; color: var(--mute); text-decoration: none; }

/* ---------- pages intérieures ---------- */
.page-head { padding-block: clamp(36px, 7vw, 90px) 36px; }
.empty { border: 1px dashed var(--line-2); border-radius: 14px; padding: 40px 24px; text-align: center; color: var(--mute); }
.empty strong { display: block; color: var(--ivory); font-size: 18px; margin-bottom: 4px; }
.empty.small { padding: 24px 18px; font-size: 14px; }
.empty.small strong { font-size: 16px; }
.gallery-page { padding-bottom: 100px; }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry-item { margin: 0 0 18px; break-inside: avoid; }
.masonry-item a { display: block; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.masonry-item img { width: 100%; transition: transform .9s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item figcaption { margin-top: 8px; color: var(--mute); font-size: 14px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--gold); transition: transform .3s var(--ease); font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mute); padding-bottom: 22px; max-width: 60ch; }

.offer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; padding-bottom: 100px; }
.offer-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.job-plat-head { color: var(--mute); }
.sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 700; margin: 26px 0 8px; }
.sub:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); min-width: 0; }
.notice { border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 16px; color: var(--mute); font-size: 15px; display: block; text-decoration: none; }
.notice strong { color: var(--ivory); }
.notice.warn { border-color: rgba(232, 161, 90, .5); }
.notice.small { font-size: 14px; }
.alert { border: 1px solid rgba(232, 161, 90, .55); background: rgba(232, 161, 90, .08); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
.alert p { margin: 6px 0 0; }
.todo { color: var(--gold); font-style: italic; }

/* ---------- formulaires ---------- */
.form { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .label-row label { font-weight: 700; font-size: 15px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hint { font-weight: 400; color: var(--mute); font-size: 13px; margin-left: 4px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink); color: var(--ivory); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A89F90' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:hover, select:hover, textarea:hover { border-color: var(--mute); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
[aria-invalid="true"] { border-color: var(--warn) !important; }
.field-err { color: var(--warn); font-size: 14px; }
.q-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800; margin-right: 10px; vertical-align: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--mute); font-weight: 400 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.check a { color: var(--ivory); }
.form-end { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.pass { position: relative; }
.pass input { padding-right: 52px; }
.pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--mute); cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.pass-toggle:hover, .pass-toggle.on { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: 14px; font-weight: 600; transition: .2s; }
.chip input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* connexion */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 40px max(16px, env(safe-area-inset-left, 0px)) 90px; }
.auth-card { width: min(460px, 100%); background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.auth-card.wide { width: min(560px, 100%); }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); }
.auth-title { font-family: var(--f-display); font-weight: 900; font-size: 56px; text-transform: uppercase; line-height: .9; margin: 10px 0 10px; }
.auth-alt { margin: 22px 0 0; text-align: center; color: var(--mute); font-size: 15px; }
.auth-alt a { color: var(--gold); font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 6px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks .ok { color: var(--ok); }
.checks .ko { color: var(--warn); }
body.auth-page .footer { margin-top: 0; }

/* espace membre */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.account { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 100px; }
.account-forms { display: grid; gap: 24px; }
.my-apps { display: grid; gap: 12px; }
.my-app { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--ink); }
.my-app-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.my-app p { margin: 0; }
.interview-box { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--gold-wash); border: 1px solid rgba(212, 164, 55, .35); color: var(--ivory); }
.interview-box .icon { color: var(--gold); margin-top: 2px; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--warn); }
.danger-zone .form { margin-top: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; padding-bottom: 100px; }
.big-link { font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: var(--gold); text-decoration: none; overflow-wrap: anywhere; }
.contact-nets { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-nets a { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-nets .muted { text-align: right; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-nets a:hover { color: var(--gold); }
.done { display: grid; gap: 12px; justify-items: start; }

/* textes légaux */
.prose { max-width: 760px; padding-bottom: 100px; }
.prose h2 { font-size: 20px; margin: 34px 0 10px; color: var(--gold); }
.prose p, .prose li { color: var(--mute); }
.prose strong { color: var(--ivory); }
.prose ul { padding-left: 20px; }

/* visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8, 6, 6, .94); display: grid; grid-template-rows: 1fr auto; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: auto; border-radius: 10px; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; }
.lb-cap { color: var(--mute); font-family: var(--f-script); font-style: italic; font-size: 20px; }
.lb-btns { display: flex; gap: 8px; }
.lb-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ivory); cursor: pointer; display: grid; place-items: center; font-size: 20px; }
.lb-btns button:hover { border-color: var(--gold); color: var(--gold); }

/* apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive public ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .offer, .contact, .account, .collab-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 460px; }
  .offer-side { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-row { grid-template-columns: 52px minmax(0, 1fr) 36px; }
  .net-meta { grid-column: 2; grid-row: 2; }
  .net-arrow { grid-row: 1 / span 2; grid-column: 3; }
  .net-icon { grid-row: 1 / span 2; }
}
@media (max-width: 820px) {
  .burger { display: grid; }
  .nav-links { position: fixed; inset: 0; z-index: 99; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .nav-links > a { font-family: var(--f-display); font-weight: 900; font-size: 54px; text-transform: uppercase; padding: 6px 0; color: var(--ivory); line-height: 1; }
  .nav-links > a::after { display: none; }
  .nav-links > a[aria-current="page"] { color: var(--gold); }
  .nav-auth { margin: 28px 0 0; flex-wrap: wrap; }
  body.menu-open .nav-links { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .burger { position: relative; z-index: 101; }
  .logo { position: relative; z-index: 101; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .job-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: 27vw; }
  .net-row { gap: 14px; padding: 20px 4px; }
  .net-icon { width: 42px; height: 42px; }
  .preview-float { display: none; }
  .auth-title { font-size: 46px; }
}

/* =====================================================================
   ESPACE ADMIN
   ===================================================================== */
body.admin { background: var(--ink); }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 10px; padding: 22px 14px; border-right: 1px solid var(--line); background: var(--ink-2); overflow-y: auto; padding-left: max(14px, env(safe-area-inset-left, 0px)); }
.sidebar-top { padding: 4px 10px 18px; }
.sidebar .logo { font-size: 30px; display: inline-flex; align-items: baseline; gap: 8px; }
.logo-tag { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.side-nav { display: grid; gap: 2px; }
.side-nav a, .sidebar-bottom a, .sidebar-bottom button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--mute); text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.side-nav a:hover, .sidebar-bottom a:hover, .sidebar-bottom button:hover { background: var(--ink-3); color: var(--ivory); }
.side-nav a[aria-current="page"] { background: var(--ivory); color: var(--ink); }
.side-nav .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 28px; background: rgba(14, 11, 12, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-title { font-family: var(--f-display); font-weight: 900; font-size: 30px; text-transform: uppercase; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: none; place-items: center; cursor: pointer; }
.me { display: flex; align-items: center; gap: 10px; }
.me-name { font-weight: 700; font-size: 14px; }
.role-pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); color: var(--mute); white-space: nowrap; }
.role-super_admin { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.role-manager { border-color: var(--gold); color: var(--gold); }
.role-community_manager { border-color: rgba(212, 164, 55, .55); color: var(--gold-hi); }
.role-resp_youtube, .role-resp_tiktok, .role-resp_twitch { border-color: var(--ivory); color: var(--ivory); }
.role-moderateur { background: var(--ink-3); color: var(--ivory); }
.admin-content { padding: 28px max(24px, env(safe-area-inset-right, 0px)) 80px 28px; display: grid; gap: 22px; align-content: start; }
.admin-content > * { min-width: 0; }
.admin .flashes { top: calc(env(safe-area-inset-top, 0px) + 78px); }

.welcome { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.welcome .notice { max-width: 520px; }
.h2-admin { font-size: 28px; font-weight: 800; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-title { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.card-head h2 { margin: 0; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi { display: grid; gap: 6px; padding: 18px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
a.kpi:hover { border-color: var(--line-2); }
.kpi .k { color: var(--mute); font-size: 14px; }
.kpi .v { font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi.hl { border-color: rgba(212, 164, 55, .5); background: linear-gradient(var(--gold-wash), var(--gold-wash)), var(--ink-2); }
.kpi.hl .v { color: var(--gold); }
.kpis-sm .kpi .v { font-size: 36px; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; }
.list li + li { border-top: 1px solid var(--line); }
.list a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; text-decoration: none; }
.list a:hover strong { color: var(--gold); }
.list-main { display: grid; flex: 1; min-width: 0; }
.list-main .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-chip { display: grid; place-items: center; width: 52px; height: 56px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line-2); font-size: 11px; text-transform: uppercase; color: var(--mute); line-height: 1.1; flex: none; }
.date-chip span { font-family: var(--f-display); font-weight: 900; font-size: 24px; color: var(--gold); }

.tabs-line { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs-line a { padding: 10px 14px; text-decoration: none; color: var(--mute); font-weight: 700; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; }
.tabs-line a span { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--ink-3); color: var(--mute); font-variant-numeric: tabular-nums; }
.tabs-line a:hover { color: var(--ivory); }
.tabs-line a[aria-current="page"] { color: var(--ivory); border-color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type=search] { flex: 1 1 240px; width: auto; min-height: 42px; }
.filters select { width: auto; min-width: 200px; min-height: 42px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--ink-3); }
.table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.table tr.is-banned { opacity: .65; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.row-link { text-decoration: none; }
.row-link:hover { color: var(--gold); }
.plat-inline { display: inline-flex; align-items: center; gap: 8px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-variant-numeric: tabular-nums; }
.pager span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); font-weight: 700; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
.detail-main, .detail-side { display: grid; gap: 22px; min-width: 0; }
.cand-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.cand-top .h2-admin { margin: 6px 0 2px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts .span-all { grid-column: 1 / -1; }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.qa { display: grid; gap: 22px; }
.qa .q { font-weight: 700; color: var(--gold); display: flex; align-items: flex-start; }
.qa .q .q-num { flex: none; }
.qa .a { margin: 8px 0 0 36px; white-space: normal; overflow-wrap: anywhere; line-height: 1.65; }
.decision { display: grid; gap: 12px; }
.decision .card-title { margin-bottom: 2px; }
.decision-summary { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; background: var(--ink); display: grid; gap: 4px; }
.decision-summary strong { display: inline-flex; gap: 8px; align-items: center; }
.decision-summary p { margin: 0; }
.decision-summary form { margin-top: 8px; }
.action-panel { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.action-panel summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.action-panel summary::-webkit-details-marker { display: none; }
.action-panel summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--mute); transition: transform .25s; }
.action-panel[open] summary::after { transform: rotate(45deg); }
.action-panel.gold { border-color: rgba(212, 164, 55, .5); }
.action-panel.gold summary { color: var(--gold); }
.action-panel .form { padding: 0 16px 16px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }
.mini-list li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-actions p { margin: 0; max-width: 70ch; }
.offer-list { display: grid; gap: 12px; }
.offer-item { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.offer-info { min-width: 0; flex: 1 1 340px; }
.offer-info p { margin: 4px 0 0; }
.offer-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: none; color: var(--ivory); cursor: pointer; font-size: 15px; }
.icon-btn:hover { border-color: var(--ivory); }

.row-menu { position: relative; }
.row-menu summary { list-style: none; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 270px; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); display: grid; gap: 2px; }
.row-menu-body button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ivory); }
.row-menu-body button:hover { background: var(--ink-4); }
.row-menu-body button.danger { color: var(--warn); }
.ban-form { display: grid; gap: 4px; padding: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 4px 0; }
.ban-form input { min-height: 38px; font-size: 14px; padding: 8px 10px; }

.team-list { list-style: none; padding: 0; margin: 0; }
.team-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.team-item:first-child { border-top: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-wash); border: 1px solid rgba(212, 164, 55, .5); color: var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px; flex: none; }
.team-info { flex: 1 1 200px; min-width: 0; }
.team-info .small { overflow-wrap: anywhere; }
.team-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.team-actions select { width: auto; min-height: 36px; padding: 6px 36px 6px 10px; font-size: 14px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input[type=email] { width: auto; flex: 1 1 220px; min-height: 40px; }

.upload-card { gap: 20px; }
.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: 34px 20px; border: 1.5px dashed var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; color: var(--mute); }
.dropzone strong { color: var(--ivory); }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: var(--gold-wash); color: var(--gold); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { border-color: var(--gold); }
.presets { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.presets legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.preset { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.preset input { position: absolute; opacity: 0; }
.preset:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); }
.preset:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.preset-swatch { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.preset-naturel { background: linear-gradient(135deg, #b7a58e, #6b5a4c 60%, #2a2320); }
.preset-or { background: linear-gradient(135deg, #f0c870, #a8742c 60%, #2b1a0a); }
.preset-noir-or { background: linear-gradient(135deg, #e9d9b0, #7d6a48 55%, #120d08); }
.preset-eclat { background: linear-gradient(135deg, #fff2da, #d9a77a 60%, #6b4a33); }
.preset-velours { background: linear-gradient(135deg, #8a6038, #3a2216 55%, #050303); }
.preset-txt { display: grid; gap: 2px; line-height: 1.3; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.photo-card { display: grid; gap: 14px; padding: 12px; }
.photo-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.photo-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero { position: absolute; top: 10px; left: 10px; }
.photo-form { gap: 10px; }
.photo-form .field > label { font-size: 13px; }
.photo-form input, .photo-form select { min-height: 40px; font-size: 14px; padding: 8px 10px; }
.photo-form select { padding-right: 34px; }

.inbox { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
.inbox-list { padding: 6px; }
.inbox-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.inbox-list a { display: grid; gap: 2px; padding: 12px; border-radius: 10px; text-decoration: none; }
.inbox-list a:hover { background: var(--ink-3); }
.inbox-list a.active { background: var(--ink-4); }
.inbox-list a.unread { box-shadow: inset 3px 0 0 var(--gold); }
.inbox-top { display: flex; justify-content: space-between; gap: 10px; }
.inbox-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-subject { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-body { padding: 18px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); line-height: 1.7; overflow-wrap: anywhere; margin-bottom: 14px; }
.reply-form { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.mail-status { font-weight: 700; }
.mail-envoye { color: var(--ok); }
.mail-simule { color: var(--mute); }
.mail-echec { color: var(--warn); }
.mail-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); }
.settings { display: grid; gap: 22px; }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--ink) 30%); display: flex; justify-content: flex-end; }
.sidebar-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 89; }
.job-form { gap: 16px; }

@media (max-width: 1180px) {
  .detail-grid, .dash-grid, .inbox { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 90; transform: translateX(-100%); transition: transform .35s var(--ease); padding-top: max(22px, env(safe-area-inset-top, 0px)); }
  body.side-open .sidebar { transform: none; }
  .side-toggle { display: grid; }
  .topbar { padding-left: max(16px, env(safe-area-inset-left, 0px)); }
  .admin-content { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .me-name { display: none; }
  .topbar-title { font-size: 24px; }
  .row-menu-body { right: auto; left: 0; }
}
@media (max-width: 520px) {
  .action-panel .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .me .role-pill { display: none; }
  .mail-frame { height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .wordmark .ch { opacity: 1; transform: none; }
  .js .cursor { display: none !important; }
  .marquee-track { animation: none; }
}

/* Les piles en grille ne doivent jamais s'élargir au-delà de l'écran */
.admin-content, .detail-main, .detail-side, .form, .settings, .decision, .account-forms, .my-apps, .qa, .offer-list, .photo-card, .kpis + *, .welcome + * { grid-template-columns: minmax(0, 1fr); }
.kpis { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.mini-list li > span:last-child { flex: none; text-align: right; }
.table-wrap { position: relative; }
.mini-list, .contact-nets, .ticks, .faq, .side-nav, .sidebar-bottom, .inbox-list ul { grid-template-columns: minmax(0, 1fr); }

/* ---------- formulaire de candidature en étapes ---------- */
.wizard { gap: 22px; }
.wiz-head { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wiz-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wiz-pct { font-family: var(--f-display); font-weight: 900; font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.wiz-bar { height: 6px; border-radius: 999px; background: var(--ink-4); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gold); transition: width .6s var(--ease); }
.wiz-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--dim); }
.wiz-steps li { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.wiz-steps li span { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; font-weight: 800; transition: .3s; }
.wiz-steps li.done { color: var(--mute); }
.wiz-steps li.done span { background: var(--gold-wash); border-color: rgba(212, 164, 55, .5); color: var(--gold); }
.wiz-steps li.current { color: var(--ivory); font-weight: 700; }
.wiz-steps li.current span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.wiz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.wiz-step legend { padding: 0; margin-bottom: 4px; outline: none; }
.wiz-step > p { margin: -6px 0 0; }
.js .wizard.ready .wiz-step { display: none; }
.js .wizard.ready .wiz-step.active { display: grid; animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.js .wizard.ready .wiz-step.active.back { animation-name: step-back; }
@keyframes step-back { from { opacity: 0; transform: translateX(-18px); } }
.field-foot { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.counter { margin-left: auto; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter.ok { color: var(--gold); }
.wiz-nav { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.wiz-save { flex: 1; text-align: center; }
.no-js .wiz-nav [data-prev], .no-js .wiz-nav [data-next], .no-js .wiz-steps, .no-js .wiz-meta, .no-js .wiz-bar, .no-js .wiz-save { display: none; }
.no-js .wiz-nav { justify-content: flex-end; }
.recap { display: grid; gap: 10px; }
.recap-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); }
.recap-item strong { font-size: 15px; }
.recap-item .recap-val { grid-column: 1; color: var(--mute); font-size: 14px; overflow-wrap: anywhere; }
.recap-item button { grid-row: 1 / span 2; grid-column: 2; align-self: center; background: none; border: 1px solid var(--line-2); color: var(--ivory); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.recap-item button:hover { border-color: var(--gold); color: var(--gold); }
.recap-item.ok strong::before { content: "✓ "; color: var(--gold); }
.qa-section { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 8px 0 -6px; padding-top: 14px; border-top: 1px solid var(--line); }
.qa-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 600px) {
  .wiz-steps li:not(.current) { font-size: 0; gap: 0; }
  .wiz-steps li:not(.current) span { font-size: 11px; }
  .wiz-nav .btn { padding: 0 16px; }
  .wiz-save { display: none; }
}
.wizard { overflow-x: clip; overflow-clip-margin: 8px; }

/* ---------- logos des réseaux (Font Awesome) ---------- */
.brand { line-height: 1; display: inline-block; flex: none; }
.hero-nets { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-nets a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--mute); text-decoration: none; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); }
.hero-nets a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }

/* ---------- statut qui tourne ---------- */
.rotator { margin: -6px 0 18px; font-size: 15px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.rotator-word { display: inline-block; color: var(--gold); font-weight: 700; transition: opacity .35s, transform .35s var(--ease); }
.rotator-word.out { opacity: 0; transform: translateY(8px); }

/* ---------- l'effet Midas ---------- */
.midas { position: relative; overflow: hidden; }
.midas::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 164, 55, .10), transparent 65%); pointer-events: none; }
.midas-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; }
.midas-copy { display: grid; gap: 16px; min-width: 0; }
.midas-copy .lead { margin: 0; }
.midas-try { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 14px 0 0; font-weight: 700; }
.midas-text { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5vw, 70px); line-height: 1; margin: 0; overflow-wrap: anywhere; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.midas-text .mw { color: var(--ink-4); transition: color .5s var(--ease), text-shadow .6s; cursor: default; }
.midas-text .mw.gold { color: var(--gold); text-shadow: 0 0 22px rgba(212, 164, 55, .35); }
.no-js .midas-text { color: var(--ivory); }
.midas-score { margin: 0; min-height: 1.6em; color: var(--mute); font-size: 15px; font-variant-numeric: tabular-nums; }
.midas-score strong { color: var(--gold); }
.fact-card { margin: 0; border: 1px solid rgba(212, 164, 55, .45); border-radius: 18px; background: linear-gradient(160deg, rgba(212, 164, 55, .10), transparent 45%), var(--ink-2); padding: 22px 24px; display: grid; gap: 0; position: relative; }
.fact-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed rgba(212, 164, 55, .35); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.fact-stamp { font-family: var(--f-display); font-size: 22px; letter-spacing: .04em; border: 2px solid var(--gold); border-radius: 8px; padding: 2px 10px; transform: rotate(-6deg); }
.fact-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-row dt { color: var(--mute); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding-top: 2px; }
.fact-row dd { margin: 0; font-weight: 600; }

/* ---------- Shorts et TikTok ---------- */
.shorts-row { gap: 16px; }
.short { flex: 0 0 clamp(190px, 19vw, 250px); scroll-snap-align: start; margin: 0; min-width: 0; }
.short-card { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); padding: 0; cursor: pointer; color: inherit; }
.short-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform .9s var(--ease), filter .4s; }
.tt-card img { transform: none; }
.short-card:hover img { transform: scale(1.42); filter: brightness(1.08); }
.tt-card:hover img { transform: scale(1.06); }
.short-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8, 6, 6, .75)); pointer-events: none; }
.play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(14, 11, 12, .55); border: 1px solid rgba(243, 235, 221, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.play::before { content: ""; position: absolute; left: 25px; top: 20px; border-left: 17px solid var(--ivory); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.short-card:hover .play { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.short-card:hover .play::before { border-left-color: var(--ink); }
.short-card.playing { cursor: default; }
.short-card.playing::after, .short-card.playing .play, .short-card.playing img, .short-card.playing .short-info, .short-card.playing .tt-fallback { display: none; }
.short-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.short-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 12px 2px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.short-title a { text-decoration: none; }
.short-title a:hover { color: var(--gold); }
.short-meta { color: var(--mute); font-size: 13px; margin: 0 2px; }
.hero-short { max-width: 380px; margin-left: auto; }
.short-card.big { border-radius: 22px; }
.short-info { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 6px; text-align: left; }
.short-new { justify-self: start; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.short-info .short-title { margin: 0; color: var(--ivory); font-size: 16px; }
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.tt { min-width: 0; }
.tt .short-meta { margin-top: 10px; }
.tt-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(212, 164, 55, .25), transparent 55%), var(--ink-3); }
.tt-card img { z-index: 1; }
.tt-card .play { z-index: 2; }
.tt-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 28px; border: 1px solid var(--line-2); border-radius: 18px; text-decoration: none; background: var(--ink-2); transition: border-color .3s, background .3s; }
.tt-empty:hover { border-color: var(--gold); }
.tt-empty strong { display: block; font-family: var(--f-display); font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; line-height: 1; }
.tt-empty-logo { width: 88px; height: 88px; border-radius: 22px; background: var(--ink); display: grid; place-items: center; color: var(--ivory); border: 1px solid var(--line-2); }
.collab-joke { margin: 18px 0 0; font-family: var(--f-script); font-style: italic; font-size: 24px; color: var(--ink); }

@media (max-width: 960px) {
  .midas-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-short { margin: 0; max-width: 320px; }
}
@media (max-width: 600px) {
  .short { flex-basis: 64vw; }
  .tt-empty { grid-template-columns: minmax(0, 1fr); }
  .tt-empty .net-arrow { display: none; }
  .fact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.brand { display: inline-grid; place-items: center; width: 1.15em; height: 1em; line-height: 1; }
.brand > * { grid-area: 1 / 1; }
.brand .fa-brands { display: none; }
.fa-ok .brand .fa-brands { display: inline-block; }
.fa-ok .brand .brand-fallback { display: none; }
/* La bande défilante démarre alignée sur le contenu de la page */
.h-scroll { padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); padding-right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); scroll-padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }

/* ---------- curseur : la main dorée de Midas ---------- */
:root { --midas-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE7A3'/%3E%3Cstop offset='.45' stop-color='%23E6BC57'/%3E%3Cstop offset='1' stop-color='%23A87F22'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10.5 2.2c1.5 0 2.6 1.2 2.6 2.6v8c.5-.3 1.1-.5 1.8-.5 1.2 0 2.2.7 2.6 1.7.5-.4 1.2-.7 1.9-.7 1.3 0 2.4.9 2.7 2.1.4-.2.9-.3 1.4-.3 1.6 0 2.9 1.3 2.9 2.9v4.6c0 4.5-3.6 8.1-8.1 8.1h-2.1c-2.7 0-5.2-1.3-6.8-3.4L3.9 20.4c-.8-1.1-.6-2.6.5-3.4 1-.7 2.3-.6 3.2.2l.3.3V4.8c0-1.4 1.2-2.6 2.6-2.6z' fill='url(%23g)' stroke='%232B1D05' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M13.1 12.8v4.6M17.5 14.3v3.4M22.1 16.4v2.4' stroke='%237A5A14' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M9.4 4.4v9' stroke='%23FFF4D1' stroke-width='1.1' stroke-linecap='round' opacity='.8'/%3E%3Cpath d='M27 2.5l.7 1.6 1.6.7-1.6.7-.7 1.6-.7-1.6-1.6-.7 1.6-.7z' fill='%23FFE7A3'/%3E%3C/svg%3E") 10 3, pointer; }
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, label, summary, select, .h-scroll, [data-lightbox], [role="button"], .btn, .chip span, .preset, .short-card, .pass-toggle, .icon-btn, .side-nav a, .row-menu summary { cursor: var(--midas-cursor) !important; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea { cursor: text; }
  .h-scroll.dragging { cursor: grabbing; }
}
.midas-spark { position: fixed; z-index: 500; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: radial-gradient(circle, #FFF2C2, #D4A437 60%, transparent 70%); pointer-events: none; animation: spark .65s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* ---------- support ---------- */
.support-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.ticket-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.ticket-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; text-decoration: none; padding: 16px 18px; transition: border-color .2s, background .2s; }
.ticket-row:hover { border-color: var(--line-2); background: var(--ink-3); }
.ticket-row.unread { border-color: rgba(212, 164, 55, .55); box-shadow: inset 3px 0 0 var(--gold); }
.ticket-row.unread .ticket-subject { color: var(--gold); }
.ticket-main { min-width: 0; display: grid; gap: 4px; }
.ticket-top { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.ticket-ref { font-family: var(--f-mono, ui-monospace, monospace); font-size: 12px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; flex: none; }
.ticket-subject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-excerpt { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ticket-side { display: grid; justify-items: end; gap: 6px; }
.thread { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); padding-top: 18px; }
.bubble { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--ink); max-width: 88%; min-width: 0; }
.bubble-sortant { justify-self: end; background: linear-gradient(var(--gold-wash), var(--gold-wash)), var(--ink); border-color: rgba(212, 164, 55, .4); }
.bubble-note { justify-self: center; max-width: 100%; width: 100%; border-style: dashed; border-color: var(--line-2); background: transparent; }
.bubble-note .bubble-body { color: var(--mute); }
.bubble-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 8px; }
.bubble-body { line-height: 1.65; overflow-wrap: anywhere; }
.att-list { list-style: none; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.att-list a { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; text-decoration: none; color: var(--gold); overflow-wrap: anywhere; }
.reply-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.select-sm { width: auto; min-height: 40px; padding: 6px 36px 6px 12px; font-size: 14px; }
@media (max-width: 600px) {
  .ticket-row { grid-template-columns: minmax(0, 1fr); }
  .ticket-side { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
  .bubble { max-width: 100%; }
}
