/* CumUnity — feuille de style principale. Identité : noir, anthracite, violet électrique. Aucune dépendance. */
:root {
  --bg: #09080d;
  --bg-2: #111017;
  --surface: #17161f;
  --surface-2: #1f1d29;
  --line: #2a2735;
  --text: #ecebf2;
  --muted: #9a97a8;
  --violet: #7c3aed;
  --violet-2: #9b5cff;
  --electric: #b47cff;
  --glow: 0 0 0 1px rgba(155, 92, 255, .35), 0 8px 32px -8px rgba(155, 92, 255, .45);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f43f5e;
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Sora", "Inter", "Segoe UI Variable Display", system-ui, sans-serif;
  --header-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
body.theme-dark { background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, .12), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: var(--electric); text-decoration: none; }
a:hover { color: #d2b0ff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.danger { color: var(--danger); }
.break { word-break: break-all; }
.pre { white-space: pre-wrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }
.is-hidden { display: none !important; }
.inline { display: inline; }

/* ---------- Boutons, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 600 14px/1 var(--font); cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s; white-space: nowrap; color: var(--text); background: var(--surface-2); text-decoration: none; }
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { color: #fff; box-shadow: 0 0 0 1px rgba(180, 124, 255, .6), 0 10px 36px -8px rgba(155, 92, 255, .65); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--violet-2); background: rgba(124, 58, 237, .08); }
.btn--ghost.is-on { border-color: var(--violet-2); color: var(--electric); }
.btn--danger { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .4); color: #fda4af; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; color: var(--electric); cursor: pointer; padding: 0; font: inherit; }
.linklike.danger { color: var(--danger); }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 600 11.5px/1 var(--font); letter-spacing: .02em; background: rgba(155, 92, 255, .18); color: #d8c2ff; }
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.badge--ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.badge--danger { background: rgba(244, 63, 94, .16); color: #fda4af; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(9, 8, 13, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(42, 39, 53, .7); }
.header__inner { max-width: 1440px; margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.header--neutral .header__inner { justify-content: space-between; }
.header__menu { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 20px/1 var(--display); letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo__mark { width: 28px; height: 28px; border-radius: 9px; background: conic-gradient(from 210deg, #4c1d95, var(--violet-2), #e9d5ff, var(--violet), #4c1d95); box-shadow: var(--glow); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); box-shadow: 4px -3px 0 0 #e9d5ff inset; }
.logo__img { height: 30px; width: auto; }
.search { flex: 1; max-width: 640px; margin: 0 auto; position: relative; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 48px 0 18px; font: 14px var(--font); transition: border-color .15s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(155, 92, 255, .2); }
.search__btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; display: grid; place-items: center; cursor: pointer; }
.usermenu { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff; font-size: 12px; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .7); display: grid; animation: pop .14s ease; }
.dropdown__menu a, .dropdown__menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--text); background: none; border: 0; font: 14px var(--font); cursor: pointer; }
.dropdown__menu a:hover, .dropdown__menu button:hover { background: var(--surface-2); }
.catnav { max-width: 1440px; margin: 0 auto; display: flex; gap: 6px; padding: 0 20px 10px; overflow-x: auto; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 500; border: 1px solid transparent; transition: color .15s, background .15s; }
.catnav a:hover { color: var(--text); background: var(--surface); }
.catnav a.is-active { color: #fff; background: rgba(124, 58, 237, .22); border-color: rgba(155, 92, 255, .4); }
.preview-banner { background: repeating-linear-gradient(45deg, #3b1d6e, #3b1d6e 12px, #2a1450 12px, #2a1450 24px); color: #fff; text-align: center; font-size: 13px; padding: 6px; }

/* ---------- Mise en page ---------- */
.main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px 20px 48px; }
.main--narrow { max-width: 860px; }
.pagehead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pagehead h1 { margin: 0; }
.section { margin: 34px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__title { font-size: 1.15rem; margin: 0; }
.section__link { font-size: 13.5px; font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel--narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }

/* ---------- Grille de vidéos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 16px; }
.card { min-width: 0; animation: rise .35s ease both; }
.card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .3s; }
.card__thumb:hover img { transform: scale(1.045); filter: brightness(1.08); }
.card__thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.card__thumb:hover::after { box-shadow: inset 0 0 0 2px var(--violet-2); }
.card__duration { position: absolute; right: 8px; bottom: 8px; background: rgba(9, 8, 13, .82); color: #fff; font: 600 12px/1 var(--font); padding: 4px 7px; border-radius: 6px; }
.card__body { padding: 10px 2px 0; }
.card__title { font: 600 14.5px/1.35 var(--font); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--electric); }
.card__meta { display: flex; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin: 0; }
.card--ad { display: flex; }

/* ---------- Accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.hero__main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero__main:hover img { transform: scale(1.03); }
.hero__overlay { position: absolute; inset: auto 0 0 0; padding: 28px 24px 22px; background: linear-gradient(transparent, rgba(9, 8, 13, .92)); }
.hero__title { color: #fff; margin: 10px 0 6px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
.hero__meta { color: #cfcbe0; margin: 0; font-size: 13.5px; }
.hero .grid { grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--violet-2); background: rgba(124, 58, 237, .1); color: var(--text); }
.chip__count { color: var(--muted); font-size: 12px; }
.chip--sm { padding: 5px 11px; font-size: 13px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.catcard { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.catcard:hover { border-color: var(--violet-2); transform: translateY(-2px); color: var(--text); }
.catcard__name { font: 700 17px var(--display); }
.catcard__count, .catcard__desc { color: var(--muted); font-size: 13px; }

/* ---------- Filtres, pagination, formulaires ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { margin-bottom: 6px; }
.field--inline { display: inline-flex; align-items: center; gap: 8px; }
input, select, textarea { font: 14.5px var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
.field--inline select { width: auto; padding: 7px 10px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(155, 92, 255, .18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--violet-2); flex-shrink: 0; margin-top: 2px; }
.checkbox, .radio { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 30px 0 10px; }
.pagination__item { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.pagination__item:hover { border-color: var(--violet-2); color: var(--text); }
.pagination__item.is-current { background: var(--violet); border-color: var(--violet); color: #fff; }
.pagination__gap { align-self: center; color: var(--muted); }
.flash { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14px; border: 1px solid; }
.flash--ok { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .35); color: #a7f3d0; }
.flash--error { background: rgba(244, 63, 94, .08); border-color: rgba(244, 63, 94, .4); color: #fecdd3; }
.flash--info { background: rgba(155, 92, 255, .08); border-color: rgba(155, 92, 255, .35); color: #e4d4ff; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin: 0 0 16px; }
.notice--warn { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .06); color: #fde68a; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 58, 237, .4), rgba(155, 92, 255, .1)); box-shadow: var(--glow); }
.empty__title { font-size: 1.2rem; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.prose { line-height: 1.7; }
.prose h2 { margin-top: 1.6em; }
.prose .table { margin: 12px 0 20px; font-size: 13.5px; }
.error__code { font: 800 64px/1 var(--display); background: linear-gradient(135deg, var(--violet), var(--electric)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 10px; }
.error { text-align: center; }

/* ---------- Page vidéo et lecteur ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
.watch__title { font-size: clamp(1.2rem, 2vw, 1.55rem); margin: 18px 0 8px; }
.watch__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.watch__meta { margin: 0; font-size: 13.5px; }
.watch__actions { display: flex; gap: 8px; }
.watch__desc { color: #cfcbe0; margin: 12px 0 16px; }
.watch__side .section__title { margin: 4px 0 12px; }
.list { display: grid; gap: 12px; }
.listitem { display: grid; grid-template-columns: 160px 1fr; gap: 12px; color: var(--text); }
.listitem img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.listitem:hover { color: var(--electric); }
.listitem__body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.listitem__title { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(124, 58, 237, .4); }
.player__video { width: 100%; height: 100%; display: block; background: #000; }
.player__controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); transition: opacity .25s; }
.player.is-idle .player__controls { opacity: 0; }
.pbtn { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 8px; flex-shrink: 0; }
.pbtn:hover { background: rgba(255, 255, 255, .1); }
.pbtn svg { width: 22px; height: 22px; fill: currentColor; }
.player .i-pause, .player.is-playing .i-play, .player .i-muted, .player.is-muted .i-vol { display: none; }
.player.is-playing .i-pause, .player.is-muted .i-muted { display: block; }
.player__progress { position: relative; flex: 1; height: 20px; display: flex; align-items: center; }
.player__progress input { position: relative; z-index: 2; }
.player__buffer { position: absolute; left: 0; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); width: 0; pointer-events: none; z-index: 1; }
.player input[type="range"] { -webkit-appearance: none; appearance: none; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .18); cursor: pointer; accent-color: var(--violet-2); }
.player input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 4px rgba(155, 92, 255, .3); }
.player input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--electric); }
.player__time { color: #e5e3ee; font: 500 12.5px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__volume { width: 80px !important; flex-shrink: 0; }
.player__quality { width: auto; padding: 5px 8px; font-size: 12.5px; background: rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .2); }
.player__error, .player__resume { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; background: rgba(9, 8, 13, .88); padding: 20px; }
.player__resume { inset: auto 16px 70px auto; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- Publicité ---------- */
.ad { position: relative; display: grid; place-items: center; margin: 22px auto; max-width: 100%; border: 1px dashed rgba(155, 92, 255, .25); border-radius: 12px; padding: 18px 10px 10px; background: rgba(23, 22, 31, .6); }
.ad--header { max-width: 760px; margin: 14px auto 0; }
.ad--native { margin: 0; width: 100%; height: 100%; align-content: center; }
.ad__label { position: absolute; top: 4px; left: 10px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ad__link { display: grid; gap: 8px; justify-items: center; color: var(--text); }
.ad__img { max-height: 250px; width: auto; border-radius: 8px; }
.ad__text { font-size: 14px; }

/* ---------- Écran neutre (vérification d'âge) ---------- */
.gate { text-align: center; padding: 28px 0; }
.gate__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center; font: 800 26px/1 var(--display); color: #fff; background: linear-gradient(135deg, #4c1d95, var(--violet-2)); box-shadow: var(--glow); }
.gate__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.gate__lead { color: #cfcbe0; max-width: 640px; margin: 0 auto 26px; }
.gate__subtitle { margin-top: 26px; }
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; text-align: left; margin: 0 0 24px; }
.method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; transition: border-color .2s; }
.method:hover { border-color: rgba(155, 92, 255, .5); }
.method p { margin: 0; }
.method__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.method__name { font: 700 17px var(--display); }
.method .btn { margin-top: 8px; }
.gate__facts { text-align: left; max-width: 620px; margin: 22px auto; color: var(--muted); padding-left: 20px; display: grid; gap: 6px; }
.gate__leave { margin: 22px 0; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: auto; }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 40px 20px 18px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer__brand p { margin-top: 14px; max-width: 420px; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer__col a, .footer__col .linklike { color: var(--muted); text-align: left; font-size: 14px; }
.footer__col a:hover, .footer__col .linklike:hover { color: var(--text); }
.footer__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 0 0 4px; }
.footer__copy { max-width: 1440px; margin: 0 auto; padding: 0 20px 24px; }

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.consent__box { pointer-events: auto; max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8); animation: rise .3s ease both; }
.consent__title { font-size: 1rem; margin-bottom: 6px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .watch { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .header__inner { padding: 0 12px; gap: 10px; flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  .header--neutral .header__inner { flex-wrap: nowrap; }
  .header__menu { display: inline-grid; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .usermenu { margin-left: auto; }
  .hide-sm { display: none !important; }
  .catnav { padding: 0 12px 10px; }
  .catnav.is-collapsed { display: none; }
  .main { padding: 16px 12px 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .card__title { font-size: 13.5px; }
  .hero .grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .listitem { grid-template-columns: 128px 1fr; }
  .listitem img { width: 128px; }
  .player { border-radius: 0; margin: -16px -12px 0; }
  .player__volume, .player__time { display: none; }
  .player__resume { inset: auto 8px 60px 8px; flex-wrap: wrap; justify-content: center; }
  .panel { padding: 18px; }
  .consent__actions .btn { flex: 1; }
}
@media (max-width: 330px) { .grid { grid-template-columns: 1fr; } }
