/* Tikeneo Play — site public (play.tikeneo.com). Palette : du vert profond au jaune. */
@import url('../fonts/fonts.css');

:root {
  --bg: #0B0F0D;
  --card: #111614;
  --card-hi: #1A201E;
  --night: #112C21;
  --line: #262D2B;
  --line-soft: #1A201E;
  --text: #F2FBF4;
  --text-2: #9BBDA5;
  --text-3: #6E8A79;
  --on-accent: #0A1F14;
  --accent: #8BE01B;
  --link: #A6F891;
  --yellow: #F4FF9E;
  --mint: #B8FD95;
  --green: #5EC37B;
  --emerald: #087448;
  --deep: #05482D;
  --danger: #FF8A7A;
  --glass: rgba(200, 242, 204, 0.18);
  --glass-line: rgba(255, 255, 255, 0.35);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Manrope', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;
  --header-h: 73px;
  --brand-gradient: linear-gradient(100deg, #05482D 0%, #087448 45%, #5EC37B 70%, #B8FD95 88%, #F4FF9E 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--yellow); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[x-cloak], [hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ─── En-tete ─── */
.site-header {
  min-height: var(--header-h);
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 15, 13, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
  padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.logo-word span { color: var(--accent); font-weight: 600; }
.nav { display: flex; gap: 0 24px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto;
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.header-search {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-3);
  flex: 0 1 300px; min-width: 180px;
}
.header-search:focus-within { border-color: var(--green); }
.header-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--text); font: inherit; font-size: 14px;
}
.header-search input::placeholder { color: var(--text-3); }
.header-actions .search-toggle, .show-xs { display: none; }
.account { position: relative; }
.avatar-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--line);
  background: linear-gradient(135deg, var(--yellow) 0%, var(--green) 100%); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 50;
  padding: 8px; border-radius: 16px; background: var(--card-hi); border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head strong { display: block; font-size: 14px; }
.menu-head span { display: block; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--text);
  font-size: 14px; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer;
}
.menu a:hover, .menu button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }

@media (max-width: 860px) {
  .header-inner { gap: 4px 12px; }
  .logo { order: 1; flex: 1 1 auto; }
  .header-actions { order: 2; flex: 0 0 auto; gap: 8px; }
  .nav { order: 3; flex: 1 1 100%; }
  .header-search { display: none; }
  .header-search.open {
    display: flex; order: 4; flex: 1 1 100%; max-width: none; margin-bottom: 6px;
  }
  .header-actions .search-toggle { display: inline-flex; }
  .header-actions .hide-sm { display: none; }
}
@media (max-width: 420px) {
  .logo-word { font-size: 18px; }
  .header-actions .hide-xs { display: none; }
  .header-actions .show-xs { display: inline-block; }
  .header-actions .login-btn { width: 44px; padding: 0; }
}

/* ─── Boutons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: filter .15s ease, background-color .15s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 800; }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-glass {
  background: var(--glass); border-color: var(--glass-line); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { color: #fff; background: rgba(200, 242, 204, 0.26); }
.btn-dark { background: var(--card); border-color: var(--line); color: var(--text); }
.btn-dark:hover { color: var(--text); background: var(--card-hi); }
.btn-danger { background: transparent; border-color: rgba(255, 138, 122, 0.5); color: var(--danger); }
.btn-danger:hover { color: var(--danger); background: rgba(255, 138, 122, 0.08); }
.btn-text { background: transparent; color: var(--text); padding: 0 6px; }
.btn-text:hover { color: var(--link); }
.btn-icon { width: 44px; padding: 0; }
.btn-lg.btn-icon { width: 52px; }
.btn[aria-pressed="true"] .when-off, .btn[aria-pressed="false"] .when-on { display: none; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-20 { width: 20px; height: 20px; }

/* ─── Sections, rangees ─── */
.section { padding-top: 56px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
}
.section-tools { display: flex; align-items: center; gap: 6px; }
.see-all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.row-arrow {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.row-arrow:hover { border-color: var(--green); }
.row-arrow:disabled { opacity: .35; cursor: default; }
@media (hover: none) { .row-arrow { display: none; } }
.row {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 6px;
  scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-2);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip:hover { color: var(--text); border-color: var(--green); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--night); border-color: var(--green); color: var(--text); font-weight: 700; }

/* ─── Cartes ─── */
.card { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.card:hover { color: var(--text); }
.row .card { flex: 0 0 clamp(150px, 15vw, 196px); }
.row .card.wide { flex: 0 0 clamp(260px, 26vw, 320px); }
.poster, .thumb {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  background: var(--card-hi); transition: transform .2s ease, border-color .2s ease;
}
.poster { aspect-ratio: 2 / 3; }
.thumb { aspect-ratio: 16 / 9; }
.card:hover .poster, .card:hover .thumb, .card:focus-visible .poster, .card:focus-visible .thumb { transform: translateY(-4px); border-color: var(--green); }
.poster img, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-fallback {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.dots::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 15, 13, 0.30) 1px, transparent 1.5px); background-size: 7px 7px;
}
.dots-light::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(166, 248, 145, 0.10) 1px, transparent 1.5px); background-size: 8px 8px;
}
.badge {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-new { background: var(--yellow); color: var(--on-accent); }
.badge-live { background: rgba(11, 15, 13, 0.82); color: var(--text); letter-spacing: 0.08em; }
.badge-live .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.badge-soon .dot { background: var(--yellow); }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 224, 27, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(139, 224, 27, 0); } }
.card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-title { font-weight: 700; font-size: 15px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-meta { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(11, 15, 13, 0.7); }
.progress > span { display: block; height: 100%; background: var(--accent); }
.play-glyph {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.card-wrap { position: relative; display: flex; flex-direction: column; }
.row .card-wrap { flex: 0 0 clamp(260px, 26vw, 320px); }
.card-remove {
  position: absolute; z-index: 3; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(11, 15, 13, 0.8); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0;
  transition: opacity .15s ease;
}
.card-wrap:hover .card-remove, .card-remove:focus-visible { opacity: 1; }
@media (hover: none) { .card-remove { opacity: 1; } }
.live-name {
  position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px;
  font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.grid-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 16px; }
.grid-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ─── Accueil : a la une ─── */
.hero-wrap { padding-top: 24px; }
.hero {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--brand-gradient);
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(28px, 5vw, 64px);
  min-height: 520px;
}
.halftone {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(5, 72, 45, 0.36) 1.6px, transparent 2px); background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 85%); mask-image: linear-gradient(100deg, transparent 40%, #000 85%);
}
.hero-text { position: relative; flex: 1 1 360px; max-width: 540px; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.hero-kicker .badge { position: static; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.hero-desc { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hero-desc.no-clamp { display: block; -webkit-line-clamp: unset; overflow: visible; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-actions .btn-primary { box-shadow: 0 12px 32px rgba(5, 72, 45, 0.45); }
.hero-note { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.hero-dots { display: flex; gap: 2px; margin-left: -10px; }
.hero-dots button { width: 44px; height: 32px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.hero-dots span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transition: width .2s ease; }
.hero-dots button[aria-current="true"] span { width: 28px; background: var(--accent); }
.hero-art {
  position: relative; flex: 0 1 300px; margin-inline: auto; padding: 14px; border-radius: 26px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px rgba(5, 72, 45, 0.35);
}
.hero-art .poster { border: 0; border-radius: 16px; }
.cube-stage {
  position: relative; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(166, 248, 145, 0.30) 0%, rgba(17, 44, 33, 0) 55%), linear-gradient(180deg, #112C21 0%, #0B0F0D 100%);
  display: flex; align-items: center; justify-content: center;
}
.cube-glow { filter: drop-shadow(0 0 16px rgba(244, 255, 158, 0.75)) drop-shadow(0 0 54px rgba(139, 224, 27, 0.55)); }
@media (max-width: 720px) {
  .hero { background: linear-gradient(180deg, #05482D 0%, #087448 50%, #5EC37B 74%, #B8FD95 90%, #F4FF9E 100%); min-height: 0; }
  .hero-art { flex-basis: 240px; }
}

/* ─── Bandeau inscription ─── */
.band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(circle at 85% 50%, rgba(139, 224, 27, 0.22) 0%, rgba(17, 44, 33, 0) 45%), var(--night);
  border: 1px solid rgba(94, 195, 123, 0.28);
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
}
.band-text { position: relative; z-index: 1; flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.band h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.band p { max-width: 540px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
.band-actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.band-cube { position: relative; z-index: 1; margin: 0 auto; padding: 0 24px; }

/* ─── Etats vides, chargement, messages ─── */
.empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 56px 24px; border-radius: 24px; border: 1px dashed var(--line); color: var(--text-2);
}
.empty h2, .empty h3 { font-family: var(--display); color: var(--text); font-size: 20px; font-weight: 600; }
.skeleton { background: linear-gradient(90deg, var(--card) 0%, var(--card-hi) 50%, var(--card) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.alert { padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.alert-error { background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); color: #FFC2B8; }
.alert-ok { background: rgba(139, 224, 27, 0.1); border: 1px solid rgba(139, 224, 27, 0.4); color: var(--mint); }
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
  background: var(--card-hi); border: 1px solid var(--line); color: var(--text);
  font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ─── Fiche titre ─── */
.title-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; }
.title-backdrop { position: absolute; inset: 0; background: var(--brand-gradient); }
.title-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.title-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0B0F0D 0%, rgba(11, 15, 13, 0.9) 34%, rgba(11, 15, 13, 0.25) 68%, rgba(11, 15, 13, 0.05) 100%), linear-gradient(0deg, #0B0F0D 0%, rgba(11, 15, 13, 0) 50%);
}
.title-hero-inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.crumbs a { font-weight: 600; text-decoration: none; }
.title-h1 { max-width: 760px; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.meta .badge { position: static; }
.meta-sep { color: var(--text-3); }
.title-lead { max-width: 600px; font-size: 17px; line-height: 1.6; color: #C9DDCF; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.title-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.title-note { font-size: 13px; font-weight: 600; color: var(--text-3); }
@media (max-width: 720px) {
  .title-hero { min-height: 0; }
  .title-scrim { background: linear-gradient(0deg, #0B0F0D 0%, rgba(11, 15, 13, 0.92) 55%, rgba(11, 15, 13, 0.35) 100%); }
  .title-hero-inner { padding-top: 180px; }
}
.details { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; padding-top: 48px; }
.details-poster { flex: 0 0 240px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4); }
.details-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.details-main h2 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.synopsis { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--text-2); white-space: pre-line; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 32px; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 600; }
.ticket-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 20px 24px; border-radius: 20px; background: var(--night); border: 1px solid rgba(94, 195, 123, 0.28);
}
.ticket-card .ticket-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: rgba(139, 224, 27, 0.14); color: var(--link); display: flex; align-items: center; justify-content: center; }
.ticket-card strong { display: block; font-size: 16px; }
.ticket-card span.sub { display: block; font-size: 14px; color: var(--text-2); }
.episodes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.episode { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); }
.episode.current { border-color: var(--green); }
.episode-thumb { position: relative; flex: 0 0 220px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--card-hi); }
.episode-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.episode-thumb button { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.episode-body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.episode-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.episode-head h3 { font-size: 17px; font-weight: 700; }
.episode-head span { font-size: 13px; font-weight: 600; color: var(--text-3); }
.episode-body p { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ─── Lecteur ─── */
.player-section { background: #050706; border-bottom: 1px solid var(--line-soft); }
.player-section-inner { padding-top: 20px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.player-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.player-top p { font-size: 14px; color: var(--text-2); }
.player-top strong { color: var(--text); }
.tkp {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 20px; overflow: hidden;
  background: #000; border: 1px solid var(--line-soft); color: #fff; user-select: none; -webkit-user-select: none;
}
.tkp:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }
.tkp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tkp-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tkp-layer > * { pointer-events: auto; }
.tkp-big {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tkp-big svg { width: 30px; height: 30px; margin-left: 4px; }
.tkp-spinner {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 999px; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--accent);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tkp-msg {
  position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; background: rgba(5, 7, 6, 0.86);
}
.tkp-msg p { max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.tkp-msg strong { font-family: var(--display); font-size: 18px; color: var(--text); }
.tkp-bar {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
  padding: 48px clamp(10px, 2vw, 22px) 12px;
  background: linear-gradient(0deg, rgba(5, 7, 6, 0.94) 0%, rgba(5, 7, 6, 0) 100%);
  display: flex; flex-direction: column; gap: 8px; transition: opacity .25s ease;
}
.tkp.idle .tkp-bar, .tkp.idle .tkp-top { opacity: 0; pointer-events: none; }
.tkp.idle { cursor: none; }
.tkp-top {
  position: absolute; z-index: 6; left: 0; right: 0; top: 0; padding: 14px clamp(12px, 2vw, 22px) 40px;
  background: linear-gradient(180deg, rgba(5, 7, 6, 0.75) 0%, rgba(5, 7, 6, 0) 100%);
  font-weight: 700; font-size: 15px; transition: opacity .25s ease; pointer-events: none;
}
.tkp-seek { position: relative; height: 18px; display: flex; align-items: center; }
.tkp-track { position: absolute; left: 0; right: 0; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.tkp-buffered { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(184, 253, 149, 0.32); }
.tkp-played { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.tkp-knob { position: absolute; width: 14px; height: 14px; margin-left: -7px; border-radius: 999px; background: var(--yellow); box-shadow: 0 0 0 4px rgba(244, 255, 158, 0.22); pointer-events: none; }
.tkp-seek input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tkp-seek:hover .tkp-track { height: 7px; }
.tkp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tkp-group { display: flex; align-items: center; gap: 2px; min-width: 0; }
.tkp-btn {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 999px; border: 0; background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tkp-btn:hover { background: rgba(255, 255, 255, 0.12); }
.tkp-btn svg { width: 22px; height: 22px; }
.tkp-btn.main { width: 46px; height: 46px; background: var(--accent); color: var(--on-accent); }
.tkp-btn.main:hover { filter: brightness(1.08); background: var(--accent); }
.tkp-btn.main svg { width: 20px; height: 20px; }
.tkp-vol { width: 84px; accent-color: var(--accent); }
.tkp-time { padding: 0 8px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tkp-time span { color: var(--text-3); }
.tkp-live { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.tkp-live .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.tkp-quality { position: relative; }
.tkp-quality > button {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 15, 13, 0.6);
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.tkp-quality > button .tkp-qval { color: var(--link); }
.tkp-menu {
  position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 150px; padding: 6px;
  border-radius: 14px; background: var(--card-hi); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.tkp-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 40px;
  padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tkp-menu button:hover { background: rgba(255, 255, 255, 0.08); }
.tkp-menu button[aria-checked="true"] { color: var(--link); }
@media (max-width: 600px) {
  .tkp { border-radius: 14px; }
  .tkp-vol, .tkp-skip, .tkp-qlabel { display: none; }
  .tkp-time { font-size: 12px; padding: 0 4px; }
  .tkp-bar { padding: 20px 8px 6px; gap: 2px; }
  .tkp-top { padding: 10px 12px 24px; font-size: 13px; }
  .tkp-btn { width: 40px; height: 40px; }
  .tkp-btn.main { width: 40px; height: 40px; }
  .tkp-quality > button { height: 34px; padding: 0 10px; font-size: 12px; }
  .tkp-big { width: 56px; height: 56px; margin: -28px 0 0 -28px; top: 42%; }
  .tkp-big svg { width: 22px; height: 22px; }
  .nextup { bottom: 64px; padding: 12px; }
}
.tkp-wait {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(166, 248, 145, 0.22) 0%, rgba(17, 44, 33, 0) 55%), linear-gradient(180deg, #112C21 0%, #0B0F0D 100%);
}
.tkp-wait-cover { position: absolute; inset: 0; }
.tkp-wait-cover img { width: 100%; height: 100%; object-fit: cover; }
.tkp-wait-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 15, 13, 0.92) 0%, rgba(11, 15, 13, 0.6) 55%, rgba(11, 15, 13, 0.35) 100%);
}
.tkp-wait.has-cover { align-items: flex-end; }
.tkp-wait.has-cover .tkp-wait-cover::after {
  background: linear-gradient(0deg, rgba(11, 15, 13, 0.96) 0%, rgba(11, 15, 13, 0.8) 32%, rgba(11, 15, 13, 0) 68%);
}
.tkp-wait.has-cover .tkp-wait-inner { padding-bottom: clamp(20px, 4vw, 40px); max-width: 640px; }
.tkp-wait-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; max-width: 520px; }
@media (max-width: 600px) { .tkp-wait { aspect-ratio: auto; min-height: 260px; } }
.nextup {
  position: absolute; z-index: 7; right: clamp(12px, 2vw, 24px); bottom: 96px; width: min(340px, calc(100% - 24px));
  padding: 16px; border-radius: 18px; background: rgba(17, 22, 20, 0.94); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}
.nextup small { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.nextup strong { font-size: 15px; }
.nextup-actions { display: flex; gap: 8px; }
.overlay-item { position: absolute; pointer-events: none; white-space: nowrap; z-index: 3; }
.overlay-item img { display: block; width: auto; }

/* ─── Formulaires, compte ─── */
.auth-page { display: flex; justify-content: center; padding: clamp(32px, 7vw, 80px) var(--gutter); }
.auth-card {
  width: 100%; max-width: 440px; padding: clamp(24px, 5vw, 40px); border-radius: 28px;
  background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px;
}
.auth-card h1 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.auth-card .lead { color: var(--text-2); font-size: 15px; }
.auth-foot { font-size: 14px; color: var(--text-2); text-align: center; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--text-3); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(94, 195, 123, 0.2); }
.input[readonly] { color: var(--text-2); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap button {
  position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.page-head { padding-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.page-title { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.page-sub { color: var(--text-2); }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; padding-top: 32px; align-items: start; }
.panel { padding: clamp(20px, 4vw, 32px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.panel h2 { font-family: var(--display); font-size: 20px; font-weight: 600; }
.panel p { color: var(--text-2); font-size: 15px; }
.panel.danger { border-color: rgba(255, 138, 122, 0.3); }

/* ─── Pied de page ─── */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line-soft); }
.footer-inner { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p, .footer-copy { font-size: 14px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
