/* lplay — le videoboard de lgaforce. Thème « vidéoclub » : rayons, étiquettes de couleur, autocollants de prix. */

:root {
  --fond: #111013;
  --fond-2: #19171c;
  --fond-3: #221f26;
  --fond-4: #2c2831;
  --ligne: rgba(244, 237, 226, 0.08);
  --ligne-forte: rgba(244, 237, 226, 0.16);
  --texte: #f4ede2;
  --texte-doux: #aaa298;
  --texte-faible: #746d66;
  --jaune: #ffcf2e;
  --jaune-clair: #ffe17a;
  --rouge: #ff4a3d;
  --vert: #3fd68a;
  --twitch: #9146ff;
  --police: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  --rayon: 14px;
  --marge: clamp(16px, 4vw, 40px);
  --largeur: 1440px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 15px/1.5 var(--police);
  font-stretch: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--jaune); outline-offset: 2px; }
[hidden] { display: none !important; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Boutons ── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-jaune { background: var(--jaune); color: #15120a; }
.btn-jaune:hover { background: var(--jaune-clair); }
.btn-twitch { background: var(--twitch); color: #fff; }
.btn-twitch:hover { background: #a46bff; }
.btn-discret { background: var(--fond-3); border-color: var(--ligne-forte); }
.btn-discret:hover { background: var(--fond-4); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ── En-tête ── */

.tete {
  max-width: var(--largeur); margin: 0 auto; padding: 18px var(--marge);
  display: flex; align-items: center; gap: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-marque {
  width: 36px; height: 36px; border-radius: 9px; background: var(--jaune);
  display: grid; place-items: center; transform: rotate(-4deg);
  box-shadow: 0 3px 0 #b68f00;
}
.logo-marque svg { width: 22px; height: 22px; fill: var(--fond); }
.logo-texte { font-weight: 900; font-stretch: 75%; font-size: 30px; letter-spacing: -0.5px; line-height: 1; }
.tete-sous { color: var(--texte-faible); font-size: 13px; padding-left: 12px; border-left: 1px solid var(--ligne-forte); }
.tete-espace { flex: 1; }

.direct {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 700 12px/1 var(--mono); letter-spacing: .3px; color: var(--texte-doux);
  padding: 9px 12px; border-radius: 999px; border: 1px solid var(--ligne-forte);
}
.direct:hover { color: var(--texte); }
.direct-point { width: 8px; height: 8px; border-radius: 50%; background: var(--texte-faible); }
.direct.en-direct { color: #fff; background: rgba(255, 74, 61, 0.14); border-color: rgba(255, 74, 61, 0.45); }
.direct.en-direct .direct-point { background: var(--rouge); box-shadow: 0 0 0 0 rgba(255, 74, 61, 0.6); animation: pouls 1.6s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 7px rgba(255, 74, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 74, 61, 0); } }

.compte { display: flex; align-items: center; gap: 10px; }
.solde {
  display: inline-flex; align-items: baseline; gap: 5px; padding: 8px 12px; border-radius: 10px;
  background: var(--fond-3); border: 1px solid var(--ligne-forte); font-weight: 800;
}
.solde small { color: var(--texte-doux); font-weight: 600; font-size: 12px; }
.solde { text-decoration: none; }
.solde span { font-family: var(--mono); font-weight: 700; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--fond-4); display: block; }
.avatar-lettre { display: grid; place-items: center; background: var(--fond-4); font-weight: 800; }
.compte { position: relative; }
.compte-bouton { padding: 0; border: 0; background: none; border-radius: 50%; }
.compte-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; padding: 8px;
  background: var(--fond-3); border: 1px solid var(--ligne-forte); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column;
}
.compte-menu p { margin: 0 0 6px; padding: 6px 10px 10px; border-bottom: 1px solid var(--ligne); color: var(--texte-doux); font-size: 13px; }
.compte-menu p strong { display: block; color: var(--texte); font-size: 15px; }
.compte-menu a, .compte-menu button {
  text-align: left; padding: 9px 10px; border-radius: 8px; border: 0; background: none; text-decoration: none; font-size: 14px; font-weight: 600;
}
.compte-menu a:hover, .compte-menu button:hover { background: var(--fond-4); }

/* La bande de couleurs sous l'en-tête : une couleur par rayon, comme le dos d'une étagère de cassettes. */
.bande { height: 5px; display: flex; }
.bande span { flex: 1; background: var(--c); }

/* ── Accueil ── */

main { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }

.accueil {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px);
  align-items: center; padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
}
.accueil h1 {
  margin: 0 0 18px; font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(48px, 8.4vw, 116px); line-height: 1; letter-spacing: -0.5px;
}
.accueil h1 span { color: var(--jaune); }
.accueil p { margin: 0 0 24px; max-width: 54ch; color: var(--texte-doux); font-size: 17px; }
.accueil-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* L'écran : ce qui passe en ce moment sur le live. */
.ecran { margin: 0; }
.ecran-cadre {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  background: #070608; border: 10px solid var(--fond-3);
  box-shadow: 0 0 0 1px var(--ligne-forte), 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(0, 0, 0, 0.8);
  transform: rotate(1.2deg);
}
.ecran-image { position: absolute; inset: 0; background: center / cover no-repeat; }
/* Hors antenne : la mire, aux couleurs des rayons */
.ecran:not(.passe):not(.en-direct) .ecran-image {
  background:
    linear-gradient(90deg, #e9e3d8 0 14.29%, #ffcf2e 0 28.57%, #43d6e8 0 42.86%, #3fd68a 0 57.14%, #ff7fc1 0 71.43%, #ff6b5a 0 85.71%, #5b9bff 0) top / 100% 67% no-repeat,
    linear-gradient(90deg, #5b9bff 0 14.29%, #111013 0 28.57%, #ff7fc1 0 42.86%, #111013 0 57.14%, #43d6e8 0 71.43%, #111013 0 85.71%, #e9e3d8 0) 0 67% / 100% 9% no-repeat,
    linear-gradient(90deg, #1d2846 0 17.86%, #f4ede2 0 35.71%, #2b1f4a 0 53.57%, #111013 0 71.43%, #08070a 0 76%, #111013 0 80.5%, #1b191e 0) bottom / 100% 24% no-repeat;
  filter: saturate(.9) brightness(.82);
}
.ecran-ident {
  position: absolute; left: 50%; top: 40%; translate: -50% -50%; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px 8px 12px; border-radius: 10px;
  background: #111013; color: var(--texte); font-weight: 900; font-stretch: 75%; font-size: 26px; line-height: 1;
  box-shadow: 0 0 0 3px #111013, 0 0 0 5px rgba(244, 237, 226, 0.7);
}
.ecran-ident svg { width: 22px; height: 22px; fill: var(--jaune); }
.ecran.passe .ecran-ident, .ecran.en-direct .ecran-ident { display: none; }
.ecran-neige {
  position: absolute; inset: -50%; opacity: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: neige .5s steps(6) infinite;
}
.ecran.en-direct .ecran-neige { opacity: .25; }
.ecran.passe .ecran-neige { opacity: .05; }
@keyframes neige { 0% { transform: translate(0, 0); } 33% { transform: translate(-12%, 8%); } 66% { transform: translate(9%, -14%); } 100% { transform: translate(-4%, 5%); } }
.ecran-cadre::after { /* lignes du tube */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
}
.ecran-rec {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font: 700 11px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: var(--texte-doux);
}
.ecran.passe .ecran-rec { color: #fff; background: var(--rouge); }
.ecran-legende { margin: 18px 4px 0; color: var(--texte-doux); font-size: 14px; text-align: center; }
.ecran-legende strong { color: var(--texte); }

/* ── Barre de recherche et rayons (collée en haut au défilement) ── */

.outils {
  position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--marge)); padding: 12px var(--marge) 10px;
  background: rgba(17, 16, 19, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.outils.colle { border-bottom-color: var(--ligne); }
.outils-ligne { display: flex; align-items: center; gap: 10px; }
.recherche {
  flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 14px;
  background: var(--fond-2); border: 1px solid var(--ligne-forte); border-radius: 12px; transition: border-color .15s;
}
.recherche:focus-within { border-color: var(--jaune); }
.recherche svg { width: 18px; height: 18px; color: var(--texte-faible); flex: none; }
.recherche input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; }
.recherche input::placeholder { color: var(--texte-faible); }
.recherche input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
kbd {
  font: 700 11px/1 var(--mono); color: var(--texte-faible); border: 1px solid var(--ligne-forte);
  border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px;
}
.recherche:focus-within kbd { display: none; }
.tri select {
  height: 46px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--ligne-forte);
  background: var(--fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23aaa298' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 18px no-repeat;
  appearance: none; font-weight: 600; font-size: 14px;
}
.tri select option { background: var(--fond-2); }
.compteur { margin-left: auto; color: var(--texte-faible); font: 500 13px/1 var(--mono); white-space: nowrap; }

.rayons { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.rayons::-webkit-scrollbar { display: none; }
/* Sur ordinateur, tous les rayons d'un coup (sur plusieurs lignes) ; sur téléphone, une ligne qui défile au doigt. */
@media (min-width: 700px) {
  .rayons { flex-wrap: wrap; overflow: visible; }
}
.rayon {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--ligne-forte); background: transparent;
  font-size: 13px; font-weight: 600; color: var(--texte-doux); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.rayon::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--texte-faible)); }
.rayon small { font: 500 11px/1 var(--mono); color: var(--texte-faible); }
.rayon:hover { color: var(--texte); border-color: var(--texte-faible); }
.rayon[aria-pressed="true"] { background: var(--c, var(--texte)); border-color: transparent; color: #121014; }
.rayon[aria-pressed="true"]::before { background: rgba(0, 0, 0, 0.35); }
.rayon[aria-pressed="true"] small { color: rgba(0, 0, 0, 0.55); }

/* ── Grille ── */

.grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 18px;
  padding: 22px 0 40px;
}
.chargement { grid-column: 1 / -1; color: var(--texte-faible); text-align: center; padding: 60px 0; }

/* Une étagère par rayon (tri « Par rayon », sans recherche) */
.etagere {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 18px 0 -6px;
}
.etagere:first-child { margin-top: 0; }
.etagere::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--c), transparent 70%); opacity: .5; }
.etagere h2 { margin: 0; }
.etiquette {
  display: inline-block; padding: 6px 11px 5px; border-radius: 5px; background: var(--c, var(--texte));
  color: #121014; font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 22px; line-height: 1;
  letter-spacing: .3px; transform: rotate(-1.5deg);
}
.etagere small { font: 500 12px/1 var(--mono); color: var(--texte-faible); }

.carte {
  display: flex; flex-direction: column; gap: 9px; min-width: 0; text-decoration: none; color: inherit;
  content-visibility: auto; contain-intrinsic-size: auto 240px; border-radius: var(--rayon);
}
.carte-image {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden;
  background: var(--fond-3); box-shadow: 0 0 0 1px var(--ligne);
  transition: transform .2s, box-shadow .2s;
}
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.carte-image::after { /* bouton lecture au survol */
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .2s;
  background: rgba(0, 0, 0, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23ffcf2e'/%3E%3Cpath d='M19 15v18l14-9z' fill='%23111013'/%3E%3C/svg%3E") center / 52px no-repeat;
}
.carte:hover .carte-image, .carte:focus-visible .carte-image { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--c), 0 16px 30px -12px rgba(0, 0, 0, 0.8); }
.carte:hover .carte-image img { transform: scale(1.04); }
.carte:hover .carte-image::after, .carte:focus-visible .carte-image::after { opacity: 1; }
.carte:focus-visible { outline: none; }
.carte-sans-image { position: absolute; inset: 0; display: grid; place-items: center; color: var(--texte-faible); font: 700 13px/1 var(--mono); }

.duree {
  position: absolute; right: 8px; bottom: 8px; padding: 4px 6px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.75); font: 700 11px/1 var(--mono); color: #fff;
}
.nouveau {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 6px; border-radius: 5px;
  background: var(--vert); color: #06210f; font: 800 10px/1 var(--police); text-transform: uppercase; letter-spacing: .6px;
}

/* L'autocollant de prix */
.autocollant {
  display: inline-flex; align-items: baseline; gap: 3px; padding: 6px 8px 5px; border-radius: 6px;
  background: var(--jaune); color: #15120a; font-weight: 900; font-stretch: 75%; font-size: 17px; line-height: 1;
  transform: rotate(4deg); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}
.autocollant small { font-size: 11px; font-weight: 800; }
.autocollant.gratuit { background: var(--vert); color: #06210f; }
.carte .autocollant { position: absolute; top: 9px; right: 9px; }

.carte-texte { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; min-width: 0; }
.carte-titre {
  font-weight: 700; font-size: 15px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.carte-meta { display: flex; align-items: center; gap: 8px; color: var(--texte-faible); font: 500 12px/1.2 var(--mono); min-width: 0; }
.carte-meta .code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte-meta .lances { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; flex: none; }
.carte-meta .lances svg { width: 11px; height: 11px; fill: currentColor; }
.carte-meta .point { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }

.vide { text-align: center; padding: 60px 0 80px; color: var(--texte-doux); }
.vide p { font-size: 17px; margin: 0 0 14px; }
.vide span { color: var(--texte); font-weight: 700; }

/* ── Gagner des crédits ── */

.credits { padding: 56px 0 24px; border-top: 1px solid var(--ligne); margin-top: 20px; }
.credits h2 {
  margin: 0 0 22px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: .9;
}
.gains { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gain {
  position: relative; padding: 18px 18px 16px; border-radius: var(--rayon); background: var(--fond-2); border: 1px solid var(--ligne);
  display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.gain::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.gain strong { font-weight: 900; font-stretch: 70%; font-size: 34px; line-height: 1; color: var(--c); }
.gain span { font-weight: 700; }
.gain small { color: var(--texte-doux); font-size: 13px; }
.credits-bas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.note { padding: 18px; border-radius: var(--rayon); border: 1px dashed var(--ligne-forte); }
.note h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--texte-faible); }
.note p { margin: 0; color: var(--texte-doux); }
.note p strong { color: var(--texte); }
.commandes { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; align-items: baseline; }
.commandes dt { margin: 0; }
.commandes dd { margin: 0; color: var(--texte-doux); font-size: 14px; }
code { font: 500 13px/1.4 var(--mono); }
.commandes code { background: var(--fond-3); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }

.pied {
  max-width: var(--largeur); margin: 0 auto; padding: 28px var(--marge) 40px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--texte-faible); font-size: 13px;
}
.pied a { color: var(--texte-doux); }

/* ── Fiche d'une vidéo ── */

.fiche {
  width: min(1120px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px;
  background: var(--fond-2); color: var(--texte); box-shadow: 0 0 0 1px var(--ligne-forte), 0 40px 120px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.fiche::backdrop { background: rgba(6, 5, 8, 0.78); backdrop-filter: blur(6px); }
.fiche[open] { animation: ouvrir .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes ouvrir { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.fiche-corps { display: grid; grid-template-columns: minmax(0, 1fr) 380px; max-height: calc(100vh - 32px); }
.fiche-video { position: relative; background: #000; display: flex; align-items: center; min-height: 0; }
.fiche-video video { width: 100%; max-height: calc(100vh - 32px); aspect-ratio: 16 / 9; background: #000; }
.fiche-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.55); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .15s;
}
.fiche-nav svg { width: 22px; height: 22px; }
.fiche-video:hover .fiche-nav, .fiche-nav:focus-visible { opacity: 1; }
.fiche-nav:hover { background: rgba(0, 0, 0, 0.8); }
.fiche-prec { left: 12px; }
.fiche-suiv { right: 12px; }

.fiche-infos { position: relative; padding: 26px 24px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.fiche-fermer {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--fond-3); display: grid; place-items: center; color: var(--texte-doux);
}
.fiche-fermer:hover { background: var(--fond-4); color: var(--texte); }
.fiche-fermer svg { width: 18px; height: 18px; }
.fiche-infos .etiquette { align-self: flex-start; font-size: 16px; }
.fiche-titre { margin: 0; padding-right: 30px; font-weight: 900; font-stretch: 70%; font-size: 34px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.fiche-code { margin: -4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--texte-faible); font: 500 12px/1.4 var(--mono); }
.fiche-prix { display: flex; align-items: center; gap: 14px; padding: 4px 0 2px; }
.autocollant-grand { font-size: 28px; padding: 9px 12px 8px; transform: rotate(-3deg); }
.autocollant-grand small { font-size: 14px; }
.fiche-prix p { margin: 0; color: var(--texte-doux); font-size: 13px; line-height: 1.45; }
.fiche-prix p strong { color: var(--texte); }
.fiche-prix s { color: var(--texte-faible); }

.message { display: flex; flex-direction: column; gap: 6px; position: relative; }
.message > span:first-child { font-weight: 700; font-size: 13px; }
.message em { font-style: normal; font-weight: 400; color: var(--texte-faible); }
.message textarea {
  width: 100%; resize: none; padding: 10px 12px 22px; border-radius: 10px; border: 1px solid var(--ligne-forte);
  background: var(--fond); font-size: 14px; line-height: 1.4; outline: 0;
}
.message textarea:focus { border-color: var(--jaune); }
.message textarea::placeholder { color: var(--texte-faible); }
.message-compte { position: absolute; right: 10px; bottom: 8px; font: 500 11px/1 var(--mono); color: var(--texte-faible); }

.fiche-lancer { display: flex; flex-direction: column; gap: 8px; }
.fiche-lancer .btn { min-height: 50px; font-size: 16px; }
.fiche-lancer p { margin: 0; font-size: 13px; color: var(--texte-doux); text-align: center; }

.ou { display: flex; align-items: center; gap: 12px; color: var(--texte-faible); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--ligne-forte); }
.commande {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px;
  background: var(--fond); border: 1px solid var(--ligne-forte);
}
.commande code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--jaune); }
.commande code span { color: var(--texte); }
.commande .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.aide { margin: -6px 0 0; color: var(--texte-faible); font-size: 12px; }

/* ── Notification ── */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; translate: -50% 20px; opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--texte); color: var(--fond);
  font-weight: 700; font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); transition: opacity .2s, translate .2s;
}
.toast.visible { opacity: 1; translate: -50% 0; }
.toast.erreur { background: var(--rouge); color: #fff; }

/* ── Petits écrans ── */

@media (max-width: 1000px) {
  .fiche-corps { grid-template-columns: 1fr; overflow-y: auto; }
  .fiche-video video { max-height: 56vh; }
  .fiche-infos { overflow: visible; }
  .fiche-nav { opacity: 1; }
}
@media (max-width: 860px) {
  .accueil { grid-template-columns: 1fr; }
  .ecran { max-width: 520px; }
  .credits-bas { grid-template-columns: 1fr; }
  .tete-sous { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .tete { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo-texte { font-size: 26px; }
  .direct { padding: 8px 10px; }
  .direct #direct-texte { display: none; }
  .direct.en-direct #direct-texte { display: inline; }
  .compte .btn { padding: 0 12px; }
  .accueil p { font-size: 15px; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .carte-titre { font-size: 14px; }
  .carte .autocollant { font-size: 15px; top: 7px; right: 7px; }
  .carte-meta .lances { display: none; }
  .etiquette { font-size: 19px; }
  .compteur { display: none; }
  .tri select { width: 46px; padding: 0; color: transparent; background-position: center; }
  .tri select option { color: var(--texte); }
  .fiche { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .fiche-corps { max-height: 100dvh; height: 100%; }
  .fiche-titre { font-size: 28px; }
  .commandes { grid-template-columns: 1fr; gap: 2px; }
  .commandes dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
