/* ==========================================================================
   EVILOX — refonte 2026
   Direction : éditorial noir, rouge pilule, grunge maîtrisé.
   ========================================================================== */

:root {
  --bg: #08080a;
  --bg-soft: #0c0c0f;
  --surface: #121216;
  --surface-2: #17171c;
  --surface-3: #1e1e25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f4f1ea;
  --muted: #9e9ea8;
  --dim: #6c6c77;
  --red: #ff2338;
  --red-bright: #ff4354;
  --red-dark: #7a0b16;
  --gold: #f4d35e;
  --paper: #f1ede3;
  --ink: #101013;
  --green: #43c59e;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --wrap: 1240px;
  --pulse-height: 30px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 82% -12%, rgba(255, 35, 56, 0.14), transparent 60%),
    radial-gradient(700px 420px at 4% 14%, rgba(255, 35, 56, 0.06), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.red-dot,
.pill-dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin-left: 0.06em;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 35, 56, 0.7);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__line {
  width: 28px;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}

.meta-sep {
  color: var(--dim);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 35, 56, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 35, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 35, 56, 0);
  }
}

/* --------------------------------------------------------------------------
   Buttons, tags, badges
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--red {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-border: var(--red);
  box-shadow: 0 10px 30px rgba(255, 35, 56, 0.2);
}

.btn--red:hover {
  --btn-bg: var(--red-bright);
  --btn-border: var(--red-bright);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  --btn-border: var(--red);
  --btn-fg: #fff;
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-border: var(--paper);
}

.btn--light:hover {
  --btn-bg: #fff;
  --btn-border: #fff;
}

.btn--lg {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 12px;
}

.btn--wide {
  width: 100%;
}

.btn--compose span {
  display: inline;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag strong {
  color: var(--text);
  font-weight: 500;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tag, var(--dim));
}

.tag--red {
  border-color: rgba(255, 35, 56, 0.4);
  background: rgba(255, 35, 56, 0.1);
  color: var(--red-bright);
}

.tag--red::before {
  background: var(--red);
}

.tag--gold {
  border-color: rgba(244, 211, 94, 0.4);
  background: rgba(244, 211, 94, 0.08);
  color: var(--gold);
}

.tag--gold::before {
  background: var(--gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge--18 {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.text-link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--red-bright);
}

/* --------------------------------------------------------------------------
   Ticker + header
   -------------------------------------------------------------------------- */

.ticker {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}

.ticker__label {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: var(--muted);
}

.ticker__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
}

.ticker__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-soft);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.pulse-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--pulse-height);
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 35, 56, 0.04), transparent 28%),
    rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.pulse-bar__label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-bar__label.is-hard {
  color: var(--red-bright);
}

.pulse-bar__label.is-soft {
  color: var(--muted);
}

.pulse-bar__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  animation: pulse 2.4s infinite;
}

.pulse-bar__label.is-hard .pulse-bar__dot {
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 35, 56, 0.65);
}

.pulse-bar__label.is-soft .pulse-bar__dot {
  animation: none;
}

.pulse-bar__graph {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 24px;
  opacity: 0.94;
  overflow: visible;
}

.pulse-bar__graph svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse-bar__line {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.pulse-bar__line--ghost {
  stroke: rgba(255, 35, 56, 0.24);
  stroke-width: 1.1;
}

.pulse-bar__line--draw {
  stroke: var(--red);
  stroke-width: 1.5;
  opacity: 1;
  filter: drop-shadow(0 0 3px rgba(255, 35, 56, 0.5));
}

.pulse-bar__cursor-dot {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4b5c;
  box-shadow: 0 0 6px rgba(255, 35, 56, 0.95), 0 0 14px rgba(255, 35, 56, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
}

.pulse-bar__stats {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-bar__stats strong {
  color: var(--text);
  font-weight: 600;
}

.pulse-bar__window {
  margin-right: 5px;
  color: var(--dim);
}

.pulse-bar__stats em {
  margin-left: 5px;
  color: var(--dim);
  font-style: normal;
}

.site-head {
  position: sticky;
  top: var(--pulse-height);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1400px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 46px;
  filter: drop-shadow(0 0 18px rgba(255, 35, 56, 0.12));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .nav-hard {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red-bright);
}

.main-nav .nav-hard span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid rgba(255, 35, 56, 0.5);
  border-radius: 4px;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.head-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 172px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s, width 0.3s var(--ease);
}

.head-search:focus-within {
  width: 220px;
  border-color: var(--red);
}

.head-search svg,
.mobile-search svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.head-search input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.head-search input::placeholder {
  color: var(--dim);
}

.btn--login {
  min-width: 0;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 4px 7px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu summary:hover,
.user-menu[open] summary {
  border-color: var(--line-strong);
}

.user-menu__name {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-menu summary svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  transition: transform 0.2s;
}

.user-menu[open] summary svg {
  transform: rotate(180deg);
}

.user-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100;
  width: 230px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.user-menu__head {
  display: flex;
  flex-direction: column;
  padding: 9px 10px 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}

.user-menu__head strong {
  font-size: 14px;
}

.user-menu__head span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-menu__panel a,
.user-menu__panel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.user-menu__panel a:hover,
.user-menu__panel button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.user-menu__panel form {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

.menu-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile-nav {
  display: none;
}

.avatar.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 55%),
    var(--avatar, var(--red));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.avatar.avatar--xs {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.avatar.avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.avatar.avatar--lg {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

/* --------------------------------------------------------------------------
   Flash + age gate
   -------------------------------------------------------------------------- */

.flash {
  position: fixed;
  top: 124px;
  right: 24px;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(380px, calc(100% - 48px));
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: flash-in 0.4s var(--ease);
}

.flash--err {
  border-left-color: var(--red);
}

.flash__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(67, 197, 158, 0.14);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
}

.flash--err .flash__icon {
  background: rgba(255, 35, 56, 0.14);
  color: var(--red-bright);
}

.flash p {
  flex: 1;
  font-size: 13px;
  line-height: 1.45;
}

.flash button {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 380px at 50% 40%, rgba(255, 35, 56, 0.16), transparent 70%),
    rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(18px);
}

.age-gate__card {
  position: relative;
  width: min(520px, 100%);
  padding: 40px 38px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 35, 56, 0.08), transparent 40%),
    var(--surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  text-align: center;
  overflow: hidden;
}

.age-gate__brand img {
  width: 190px;
  height: auto;
  margin: 0 auto 16px;
}

.age-gate__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 20px;
  transform: rotate(-7deg);
}

.age-gate .eyebrow {
  justify-content: center;
  margin-bottom: 9px;
}

.age-gate h2 {
  font-family: var(--font-display);
  font-size: clamp(31px, 5vw, 46px);
  line-height: 0.96;
  text-transform: uppercase;
}

.age-gate p {
  max-width: 410px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13.5px;
}

.age-gate__actions {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.age-gate__legal {
  font-family: var(--font-mono);
  font-size: 9px !important;
  line-height: 1.6;
  color: var(--dim) !important;
}

.age-gate__legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  min-height: 570px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}

.hero__visual {
  position: relative;
  min-height: 460px;
  background: #050506;
  overflow: hidden;
}

.hero__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 1.2s var(--ease);
}

.hero:hover .hero__visual > img {
  transform: scale(1.025);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.08) 55%, var(--surface) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.82), transparent 46%);
}

.hero__top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill-label__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.hero__countdown {
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero__countdown span {
  color: var(--text);
  font-weight: 600;
}

.hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.34);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: background 0.25s, transform 0.25s var(--ease);
}

.hero__play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: #fff;
}

.hero__play:hover {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 44px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 35, 56, 0.11), transparent 70%),
    var(--surface);
}

.hero__content::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 0;
  width: 3px;
  height: 74px;
  background: var(--red);
}

.hero__content h1 {
  max-width: 530px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.hero__desc {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.hero__reactions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.mini-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-reactions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.cat-strip {
  margin-top: 44px;
}

.cat-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.cat-strip__head > a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cat-strip__head > a:hover {
  color: var(--red-bright);
}

.cat-strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  /* Laisse de la place au translateY(-2px) du survol. */
  padding-top: 4px;
  padding-bottom: 5px;
}

.cat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.cat-chip:hover {
  border-color: var(--cat);
  background: color-mix(in srgb, var(--cat) 9%, transparent);
  transform: translateY(-2px);
}

.cat-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cat);
}

.cat-chip__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
}

.cat-chip__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Sections + cards
   -------------------------------------------------------------------------- */

.section {
  padding-top: 62px;
  padding-bottom: 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-head__side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-count {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-head--compact {
  align-items: center;
  margin-bottom: 16px;
}

.section-head--compact h2 {
  font-size: 32px;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 35, 56, 0.45);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
}

.media-card__link {
  display: block;
}

.media-card__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}

.media-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.media-card:hover .media-card__visual img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.03);
}

.media-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 7, 0.58), transparent 55%);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.media-card:hover .media-card__veil {
  opacity: 1;
}

.media-card__type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(5, 5, 7, 0.64);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card__18 {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 21px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}

.media-card__duration {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(5, 5, 7, 0.7);
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.86);
}

.media-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.media-card__play svg {
  width: 46px;
  height: 46px;
  padding: 12px 10px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.42);
  backdrop-filter: blur(8px);
  color: #fff;
  fill: currentColor;
}

.media-card:hover .media-card__play {
  opacity: 1;
}

.media-card__body {
  padding: 13px 14px 14px;
}

.media-card__cat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cat);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card__cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--cat);
}

.media-card h3 {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.media-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.media-card__date {
  margin-left: auto;
}

.media-card--featured .media-card__type {
  background: var(--red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Split / buzz / sidebar
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 18px;
  padding-top: 42px;
}

.buzz-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 35, 56, 0.04), transparent 36%),
    var(--surface);
}

.buzz-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.buzz-list li + li {
  border-top: 1px solid var(--line);
}

.buzz-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  transition: padding 0.25s var(--ease);
}

.buzz-list a:hover {
  padding-left: 6px;
}

.buzz-rank {
  flex: 0 0 34px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  color: var(--red);
  opacity: 0.72;
}

.buzz-thumb {
  flex: 0 0 78px;
  width: 78px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
}

.buzz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buzz-info {
  flex: 1;
  min-width: 0;
}

.buzz-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.buzz-info span {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
}

.buzz-arrow {
  flex: 0 0 auto;
  color: var(--dim);
  font-size: 15px;
  transition: color 0.2s, transform 0.2s;
}

.buzz-list a:hover .buzz-arrow {
  color: var(--red-bright);
  transform: translate(2px, -2px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hard-card {
  position: relative;
  padding: 25px 22px 20px;
  border-radius: var(--radius);
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(255, 35, 56, 0.24), transparent 70%),
    var(--paper);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hard-card__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hard-card__stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  transform: rotate(8deg);
}

.hard-card .eyebrow {
  color: rgba(16, 16, 19, 0.55);
}

.hard-card .eyebrow__line {
  background: var(--red);
}

.hard-card h3 {
  max-width: 230px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.92;
  text-transform: uppercase;
}

.hard-card p {
  max-width: 290px;
  margin-top: 12px;
  color: rgba(16, 16, 19, 0.68);
  font-size: 12.5px;
  line-height: 1.5;
}

.hard-card .btn {
  margin-top: 18px;
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
}

.hard-card .btn:hover {
  --btn-bg: #000;
  --btn-border: #000;
}

.hard-card__foot {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 16, 19, 0.45);
}

.panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel__head h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel__meta {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.member-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
}

.member-list li + li {
  border-top: 1px solid var(--line);
}

.member-rank {
  flex: 0 0 14px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
}

.member-info span {
  display: block;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
}

.member-badge {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.pulse-item > span:last-child {
  min-width: 0;
}

.pulse-item strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.pulse-item span span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Archive banner
   -------------------------------------------------------------------------- */

.catalog-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 42px;
  margin-bottom: 80px;
  padding: 38px 40px;
  border: 1px solid rgba(255, 35, 56, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 300px at 0% 100%, rgba(255, 35, 56, 0.22), transparent 65%),
    linear-gradient(110deg, #18090c, #0f0f13 60%);
  overflow: hidden;
}

.catalog-banner::after {
  content: "EVILOX";
  position: absolute;
  right: 8%;
  bottom: -34px;
  font-family: var(--font-display);
  font-size: 130px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.catalog-banner h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 0.94;
  text-transform: uppercase;
}

.catalog-banner h2 span {
  color: var(--red);
}

.catalog-banner > div > p:last-child {
  max-width: 480px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-banner__stats {
  display: flex;
  gap: 28px;
}

.catalog-banner__stats div {
  display: flex;
  flex-direction: column;
}

.catalog-banner__stats strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.catalog-banner__stats span {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-banner > .btn {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-foot {
  position: relative;
  border-top: 1px solid var(--line);
  background: #070708;
  overflow: hidden;
}

.site-foot__glow {
  position: absolute;
  top: -220px;
  left: 10%;
  width: 600px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(255, 35, 56, 0.12), transparent);
  pointer-events: none;
}

.foot-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.7fr 1fr;
  gap: 34px;
  padding-top: 56px;
  padding-bottom: 42px;
}

.foot-logo img {
  width: 170px;
  height: auto;
}

.foot-tagline {
  margin-top: 9px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foot-desc {
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.foot-col,
.foot-news {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.foot-col h3,
.foot-news h3 {
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.foot-col a {
  color: var(--muted);
  font-size: 12px;
}

.foot-col a:hover {
  color: var(--red-bright);
}

.foot-news p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.news-form {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-top: 4px;
}

.news-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: 11.5px;
  outline: 0;
}

.news-form input:focus {
  border-color: var(--red);
}

.news-form .btn {
  min-height: 38px;
  padding: 8px 13px;
}

.foot-legal-note {
  margin-top: 5px;
  color: var(--dim) !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
  line-height: 1.5 !important;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.foot-bottom p {
  max-width: 560px;
}

.foot-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foot-bottom__pill {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Archive / explorer
   -------------------------------------------------------------------------- */

.catalog-page {
  padding-top: 44px;
  padding-bottom: 80px;
}

.catalog-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.catalog-head__count {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-head__title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
}

.catalog-head h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.catalog-head__title p {
  max-width: 380px;
  padding-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 7px 7px 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
}

.catalog-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.catalog-search input::placeholder {
  color: var(--dim);
}

.catalog-search .btn {
  min-height: 40px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.type-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.type-tabs a {
  padding: 7px 13px;
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.type-tabs a:hover {
  color: var(--text);
}

.type-tabs a.is-active {
  background: var(--red);
  color: #fff;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sort-form select {
  padding: 8px 26px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 9px;
  outline: 0;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 24px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-chip span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--cat, var(--dim));
}

.filter-chip em {
  color: var(--dim);
  font-style: normal;
  font-size: 8px;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter-chip.is-active {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.09);
  color: var(--text);
}

.hard-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(255, 35, 56, 0.35);
  border-radius: 5px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.media-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state__stamp {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
  transform: rotate(-8deg);
}

.empty-state h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 44px;
  text-transform: uppercase;
}

.empty-state p {
  max-width: 430px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state .btn {
  margin-top: 20px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.pagination a:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.pagination a.is-current {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.pagination__arrow {
  font-size: 14px !important;
}

.pagination .is-disabled {
  color: var(--dim);
  opacity: 0.4;
}

.pagination__gap {
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Media page
   -------------------------------------------------------------------------- */

.media-page {
  padding-top: 32px;
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--red-bright);
}

.breadcrumb a[style] {
  color: var(--cat);
}

.breadcrumb__current {
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 42px;
  align-items: start;
}

.media-main {
  min-width: 0;
}

.player {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #040405;
  overflow: hidden;
}

.player--video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player--image {
  max-height: 72vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.player--image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  background: #040405;
}

.player--image::-webkit-scrollbar {
  width: 8px;
}

.player--image::-webkit-scrollbar-track {
  background: transparent;
}

.player--image::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.player__corner {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(4, 4, 5, 0.7);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(244, 211, 94, 0.3);
  border-radius: 8px;
  background: rgba(244, 211, 94, 0.06);
  color: var(--muted);
  font-size: 11.5px;
}

.status-banner strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.status-banner a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.media-head {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}

.media-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cat);
}

.cat-label span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cat);
}

.media-head h1 {
  max-width: 850px;
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 0.93;
  text-transform: uppercase;
}

.media-head__desc {
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.media-head__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hash {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hash:hover {
  color: var(--red-bright);
}

.media-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.icon-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover,
.icon-btn.is-active {
  border-color: var(--red);
  color: var(--red-bright);
  background: rgba(255, 35, 56, 0.06);
}

.icon-btn.is-active svg {
  fill: currentColor;
}

.reactions {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.reactions__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reactions__head h2 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reactions__head span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.reaction-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.reaction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.reaction:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.reaction.is-active {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.08);
}

.reaction__emoji {
  font-size: 20px;
  line-height: 1;
}

.reaction__label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

.reaction__count {
  font-family: var(--font-mono);
  font-size: 9px;
}

.reactions__hint {
  margin-top: 10px;
  color: var(--dim);
  font-size: 10px;
}

.inline-edit {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.inline-edit summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.inline-edit summary::-webkit-details-marker {
  display: none;
}

.inline-edit__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inline-edit__title svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-edit__role {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inline-edit[open] summary {
  border-bottom: 1px solid var(--line);
}

.inline-edit__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.inline-edit__form .field label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inline-edit__form .field input,
.inline-edit__form .field select,
.inline-edit__form .field textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 12.5px;
  outline: 0;
}

.inline-edit__form .field input:focus,
.inline-edit__form .field select:focus,
.inline-edit__form .field textarea:focus {
  border-color: var(--red);
}

.check-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 5px;
}

.inline-edit__form .check {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.inline-edit__form .check span {
  flex: 1;
}

.inline-edit__note {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.55;
}

.inline-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 3px;
}

.comments {
  margin-top: 32px;
}

.comments__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.comments__head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
}

.comments__head h2 span {
  color: var(--red);
  font-size: 15px;
  vertical-align: top;
}

.comments__rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.comment-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.comment-form__field {
  flex: 1;
}

.comment-form textarea {
  width: 100%;
  min-height: 70px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-soft);
  font-size: 12.5px;
  outline: 0;
  resize: vertical;
}

.comment-form textarea:focus {
  border-color: var(--red);
}

.comment-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}

.comment-form__foot span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
}

.comment-form .btn {
  min-height: 34px;
  padding: 7px 13px;
}

.comment-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 12px;
}

.comment-list {
  margin-top: 18px;
}

.comment {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.comment--reply {
  margin-left: 42px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.comment__body {
  min-width: 0;
}

.comment__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment__head strong {
  font-size: 12.5px;
  font-weight: 500;
}

.comment__head time {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
}

.comment__body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.comments__empty {
  padding: 22px 0;
  color: var(--dim);
  font-size: 12px;
}

.report-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
}

.report-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-box summary span {
  color: var(--dim);
  font-size: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.report-box form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}

.report-box label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.report-box select,
.report-box textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 12px;
  outline: 0;
}

.report-box .btn {
  align-self: flex-start;
  min-height: 34px;
  padding: 7px 12px;
}

.media-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.author-card__profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-card__profile strong {
  display: block;
  font-size: 13px;
}

.author-card__profile > div span {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.author-card__bio {
  margin: 12px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.related-item__thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 40px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface-2);
}

.related-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item__info {
  flex: 1;
  min-width: 0;
}

.related-item__info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 500;
}

.related-item__info span {
  display: block;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
}

.related-item > span:last-child {
  color: var(--dim);
  font-size: 12px;
}

.related-item:hover strong {
  color: var(--red-bright);
}

.hard-card--small {
  padding: 20px 18px;
}

.hard-card--small h3 {
  font-size: 29px;
}

.hard-card--small p {
  font-size: 11.5px;
}

.locked-media {
  position: relative;
  padding: 58px 40px;
  border: 1px solid rgba(255, 35, 56, 0.35);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 35, 56, 0.2), transparent 70%),
    var(--surface);
  text-align: center;
  overflow: hidden;
}

.locked-media__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.locked-media__stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 25px;
  transform: rotate(-7deg);
}

.locked-media .eyebrow {
  justify-content: center;
}

.locked-media h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(35px, 5vw, 56px);
  line-height: 0.94;
  text-transform: uppercase;
}

.locked-media > p:not(.eyebrow):not(.locked-media__fine) {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.locked-media__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.locked-media__fine {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */

.auth-page {
  padding: 34px 0 80px;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 650px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px clamp(28px, 6vw, 74px);
}

.auth-panel__head {
  margin-bottom: 28px;
}

.auth-panel__head .eyebrow {
  margin-bottom: 10px;
}

.auth-panel__head h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.92;
  text-transform: uppercase;
}

.auth-panel__head p {
  max-width: 380px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-soft);
  font-size: 13px;
  outline: 0;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  background: #0a0a0d;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pow-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-soft);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.4;
}

.pow-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dim);
  box-shadow: 0 0 0 0 rgba(244, 211, 94, 0.4);
  animation: pulse 1.8s infinite;
}

.pow-status.is-ready {
  border-color: rgba(67, 197, 158, 0.35);
  color: var(--green);
}

.pow-status.is-ready .pow-status__dot {
  background: var(--green);
  animation: none;
}

.pow-status.is-error {
  border-color: rgba(255, 35, 56, 0.4);
  color: var(--red-bright);
}

.pow-status.is-error .pow-status__dot {
  background: var(--red);
  animation: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.check input {
  margin-top: 2px;
  accent-color: var(--red);
}

.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form .btn {
  margin-top: 4px;
}

.auth-switch {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11.5px;
}

.auth-switch a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.1), rgba(8, 8, 10, 0.9)),
    url("/img/og-evilox.jpg") center / cover no-repeat,
    var(--red-dark);
  overflow: hidden;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 400px at 70% 30%, transparent, rgba(8, 8, 10, 0.5));
  pointer-events: none;
}

.auth-visual__logo {
  position: relative;
  z-index: 1;
  width: 160px;
}

.auth-visual__quote {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.auth-visual__quote p {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 0.98;
  text-transform: uppercase;
}

.auth-visual__quote span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.auth-error {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 35, 56, 0.35);
  border-radius: 7px;
  background: rgba(255, 35, 56, 0.08);
  color: var(--red-bright);
  font-size: 12px;
}

.auth-ok {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(67, 197, 158, 0.35);
  border-radius: 7px;
  background: rgba(67, 197, 158, 0.08);
  color: var(--green);
  font-size: 12px;
}

.auth-forgot {
  margin-top: 8px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9px;
}

.auth-forgot a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-copy {
  display: flex;
  gap: 6px;
}

.inline-copy input {
  flex: 1;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Account
   -------------------------------------------------------------------------- */

.account-page {
  padding: 40px 0 80px;
}

.account-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(255, 35, 56, 0.1), transparent 70%),
    var(--surface);
}

.account-head__avatar .avatar {
  width: 74px;
  height: 74px;
  font-size: 28px;
}

.account-head__id {
  flex: 1;
}

.account-head__id h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  text-transform: uppercase;
}

.account-head__id p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.account-head__stats {
  display: flex;
  gap: 26px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.account-head__stats div {
  display: flex;
  flex-direction: column;
}

.account-head__stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.account-head__stats span {
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.account-tabs {
  display: flex;
  gap: 4px;
  margin: 26px 0 20px;
  border-bottom: 1px solid var(--line);
}

.account-tabs a {
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-tabs a:hover,
.account-tabs a.is-active {
  border-color: var(--red);
  color: var(--text);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.account-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-section + .account-section {
  margin-top: 16px;
}

.account-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.account-section__head h2 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.account-section__head a,
.account-section__head span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.upload-list {
  display: flex;
  flex-direction: column;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.upload-row:first-child {
  border-top: 0;
}

.upload-row__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 44px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface-2);
}

.upload-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-row__info {
  flex: 1;
  min-width: 0;
}

.upload-row__info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
}

.upload-row__info span {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status--published {
  background: rgba(67, 197, 158, 0.1);
  color: var(--green);
}

.status--scheduled {
  background: rgba(76, 201, 240, 0.1);
  color: #4cc9f0;
}

.status--pending {
  background: rgba(244, 211, 94, 0.1);
  color: var(--gold);
}

.status--quarantine {
  background: rgba(244, 211, 94, 0.12);
  color: var(--gold);
}

.status--rejected {
  background: rgba(255, 35, 56, 0.1);
  color: var(--red-bright);
}

.status--open {
  background: rgba(255, 35, 56, 0.1);
  color: var(--red-bright);
}

.status--resolved {
  background: rgba(67, 197, 158, 0.1);
  color: var(--green);
}

.status--dismissed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dim);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.profile-form textarea {
  min-height: 92px;
  resize: vertical;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.toggle-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.toggle-row span {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 10px;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 23px;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  transition: background 0.2s, border-color 0.2s;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.switch input:checked + span {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.16);
}

.switch input:checked + span::after {
  transform: translateX(19px);
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Submit
   -------------------------------------------------------------------------- */

.submit-page {
  padding: 44px 0 80px;
}

.submit-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.submit-head h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
}

.submit-head p {
  max-width: 580px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.04);
}

.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--red-bright);
  font-size: 20px;
}

.dropzone strong {
  font-size: 13px;
}

.dropzone span {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
}

.dropzone__preview {
  display: none;
  width: 100%;
  max-height: 300px;
  margin-top: 12px;
  border-radius: 7px;
  object-fit: contain;
}

.dropzone.has-file .dropzone__preview {
  display: block;
}

.dropzone.has-file .dropzone__icon,
.dropzone.has-file strong,
.dropzone.has-file span {
  display: none;
}

.type-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.type-choice label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.type-choice label:has(input:checked) {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.05);
  color: var(--text);
}

.type-choice input {
  accent-color: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form-note {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
}

.submit-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.guide-card h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-card ol {
  margin: 13px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.guide-card ol li + li {
  margin-top: 8px;
}

.guide-card p {
  margin-top: 12px;
  color: var(--dim);
  font-size: 10.5px;
}

.publish-note {
  display: flex;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(67, 197, 158, 0.25);
  border-radius: 8px;
  background: rgba(67, 197, 158, 0.05);
  color: var(--muted);
  font-size: 10.5px;
}

.publish-note strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hard page
   -------------------------------------------------------------------------- */

.hard-page {
  padding: 44px 0 80px;
}

.hard-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(255, 35, 56, 0.35);
  border-radius: 22px;
  background:
    radial-gradient(540px 320px at 15% 0%, rgba(255, 35, 56, 0.26), transparent 68%),
    linear-gradient(130deg, #1c0a0d, #0d0d11 65%);
  overflow: hidden;
}

.hard-hero::after {
  content: "18+";
  position: absolute;
  right: 3%;
  bottom: -80px;
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 1;
  color: rgba(255, 35, 56, 0.07);
  pointer-events: none;
}

.hard-hero__title {
  position: relative;
  z-index: 1;
}

.hard-hero__stamp {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 22px;
  transform: rotate(-7deg);
}

.hard-hero h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.88;
  text-transform: uppercase;
}

.hard-hero h1 span {
  color: var(--red);
}

.hard-hero__title > p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.hard-rules {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.46);
  backdrop-filter: blur(12px);
}

.hard-rules h2 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hard-rules ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hard-rules li {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.hard-rules li::before {
  content: "→";
  color: var(--red);
}

.hard-rules .btn {
  margin-top: 15px;
}

.hard-rules__state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
}

.hard-rules__state strong {
  color: var(--red-bright);
}

.hard-section {
  margin-top: 42px;
}

/* --------------------------------------------------------------------------
   Static pages / messages
   -------------------------------------------------------------------------- */

.static-page {
  max-width: 850px;
  padding: 58px 0 90px;
}

.static-page h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
}

.static-page__intro {
  max-width: 680px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
}

.static-content {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.static-content p + p {
  margin-top: 14px;
}

.static-content a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.message-page {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 60px 0;
}

.message-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.message-card__kicker {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  height: 64px;
  padding: 0 12px;
  margin-bottom: 18px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 18px;
  transform: rotate(-7deg);
}

.message-card h1 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.9;
  text-transform: uppercase;
}

.message-card p {
  max-width: 520px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 13.5px;
}

.message-card .btn {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */

.admin-body {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255, 35, 56, 0.06), transparent 60%),
    #0b0b0d;
}

.admin-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #08080a;
  overflow-y: auto;
}

.admin-brand {
  padding: 0 8px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-brand img {
  width: 132px;
  height: auto;
}

.admin-brand span {
  display: block;
  margin-top: 8px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.admin-nav__label {
  margin: 15px 8px 5px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.admin-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

.admin-nav a.is-active {
  background: rgba(255, 35, 56, 0.1);
  color: var(--text);
}

.admin-nav a.is-active::before {
  content: "";
  width: 3px;
  height: 15px;
  margin-left: -9px;
  border-radius: 3px;
  background: var(--red);
}

.admin-nav__count {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 35, 56, 0.14);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.admin-side__user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 8px 0;
  border-top: 1px solid var(--line);
}

.admin-side__user div {
  min-width: 0;
}

.admin-side__user strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.admin-side__user > div span {
  display: block;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  text-transform: uppercase;
}

.admin-main {
  min-width: 0;
  padding: 26px 30px 60px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-top h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.admin-top p {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
}

.admin-top__actions {
  display: flex;
  gap: 7px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.stat-card span {
  display: block;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.stat-card em {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
}

.stat-card em.is-red {
  color: var(--red-bright);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.admin-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.admin-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.admin-card__head h2 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-card__head a {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.admin-card__head a:hover {
  color: var(--red-bright);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-top: 8px;
}

.chart__bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}

.chart__bar i {
  width: 100%;
  min-height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red-bright), rgba(255, 35, 56, 0.2));
  transition: height 0.4s var(--ease);
}

.chart__bar span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.admin-table th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table strong {
  color: var(--text);
  font-weight: 500;
}

.admin-table .thumb {
  width: 48px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--surface-2);
}

.table-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mini-btn:hover {
  border-color: var(--red);
  color: var(--red-bright);
}

.mini-btn--danger:hover {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.1);
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.admin-tabs a {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.admin-tabs a.is-active {
  border-color: var(--red);
  background: rgba(255, 35, 56, 0.1);
  color: var(--text);
}

.admin-search {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.admin-search input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 11.5px;
  outline: 0;
}

.admin-search input:focus {
  border-color: var(--red);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.admin-form .field input,
.admin-form .field select,
.admin-form .field textarea {
  background: var(--bg-soft);
}

.admin-form__actions {
  display: flex;
  gap: 8px;
}

.admin-media-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

.report-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.report-row:first-child {
  border-top: 0;
}

.report-row__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.report-row__head strong {
  font-size: 11.5px;
}

.report-row p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.report-row__actions {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.admin-empty {
  padding: 22px;
  color: var(--dim);
  font-size: 11.5px;
  text-align: center;
}

.admin-login-note {
  margin-top: 10px;
  padding: 9px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .media-grid,
  .media-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  }

  .foot-news {
    grid-column: span 2;
    max-width: 380px;
  }

  .catalog-banner {
    grid-template-columns: 1fr auto;
  }

  .catalog-banner__stats {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }

  .head-search {
    width: 140px;
  }

  .user-menu__name {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 390px;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(8, 8, 10, 0.85), transparent 55%),
      linear-gradient(90deg, transparent 70%, rgba(18, 18, 22, 0.7));
  }

  .hero__content {
    padding: 34px 30px 38px;
  }

  .hero__content::before {
    top: 30px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .media-layout {
    grid-template-columns: 1fr;
  }

  .media-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .media-side .hard-card {
    grid-column: 1 / -1;
  }

  .account-grid,
  .submit-grid {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .hard-hero {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .site-head {
    width: 100%;
    gap: 14px;
  }

  .main-nav,
  .head-search,
  .btn--login,
  .head-actions .btn--red:not(.btn--compose) {
    display: none;
  }

  .head-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav > a {
    padding: 11px 5px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-nav > a:hover {
    color: var(--text);
  }

  .mobile-nav__cta {
    color: var(--red-bright) !important;
  }

  .mobile-search {
    display: flex;
    gap: 7px;
    margin-bottom: 8px;
  }

  .mobile-search input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    font-size: 12px;
    outline: 0;
  }

  .mobile-search button {
    padding: 0 14px;
    border: 1px solid var(--red);
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 9px;
  }

  .catalog-head__title {
    display: block;
  }

  .catalog-head__title p {
    max-width: 520px;
    padding-top: 12px;
  }

  .media-grid,
  .media-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .foot-news {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    flex-wrap: wrap;
  }

  .catalog-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-banner__stats {
    grid-column: auto;
    grid-row: auto;
  }

  .account-head {
    flex-wrap: wrap;
  }

  .account-head__stats {
    width: 100%;
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-brand {
    padding-bottom: 12px;
  }

  .admin-brand img {
    width: 110px;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 10px;
  }

  .admin-nav__label,
  .admin-nav__count,
  .admin-side__user {
    display: none;
  }

  .admin-nav a {
    padding: 6px 8px;
    font-size: 10px;
  }

  .admin-nav a.is-active::before {
    display: none;
  }

  .admin-main {
    padding: 20px 16px 50px;
  }
}

@media (max-width: 640px) {
  :root {
    --pulse-height: 27px;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .pulse-bar {
    gap: 8px;
    padding: 0 10px;
  }

  .pulse-bar__label {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .pulse-bar__graph {
    height: 21px;
  }

  .pulse-bar__stats {
    font-size: 7.5px;
  }

  .pulse-bar__stats em {
    display: none;
  }

  .site-head {
    height: 66px;
    padding: 0 12px;
  }

  .brand img {
    height: 38px;
  }

  .btn--compose span {
    display: none;
  }

  .btn--compose {
    width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
  }

  .hero {
    margin-top: 18px;
    border-radius: 16px;
  }

  .hero__visual {
    min-height: 300px;
  }

  .hero__top {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .hero__countdown {
    display: none;
  }

  .hero__caption {
    left: 12px;
    bottom: 11px;
    font-size: 8px;
  }

  .hero__play {
    width: 62px;
    height: 62px;
  }

  .hero__play svg {
    width: 21px;
  }

  .hero__content {
    padding: 26px 20px 28px;
  }

  .hero__content h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero__desc {
    font-size: 13px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__reactions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cat-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cat-chip {
    gap: 6px;
    padding: 8px 10px;
  }

  .cat-chip__name {
    font-size: 11px;
  }

  .cat-chip__count {
    font-size: 8px;
  }

  .section {
    padding-top: 42px;
  }

  .section-head {
    display: block;
  }

  .section-head__side {
    margin-top: 12px;
    justify-content: space-between;
  }

  .section-head h2 {
    font-size: 36px;
  }

  .media-grid,
  .media-grid--catalog {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sidebar,
  .media-side {
    grid-template-columns: 1fr;
  }

  .buzz-panel {
    padding: 16px;
  }

  .buzz-thumb {
    flex-basis: 62px;
    width: 62px;
    height: 44px;
  }

  .buzz-rank {
    flex-basis: 27px;
    font-size: 23px;
  }

  .catalog-banner {
    padding: 26px 20px;
    margin-bottom: 50px;
  }

  .catalog-banner__stats {
    gap: 18px;
  }

  .catalog-banner__stats strong {
    font-size: 25px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 38px;
  }

  .foot-brand,
  .foot-news {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    display: block;
  }

  .foot-bottom p + p {
    margin-top: 7px;
  }

  .catalog-head h1 {
    font-size: clamp(54px, 17vw, 86px);
  }

  .catalog-head__title p {
    font-size: 12px;
  }

  .catalog-search {
    flex-wrap: wrap;
  }

  .catalog-search .btn {
    width: 100%;
  }

  .catalog-toolbar {
    display: block;
  }

  .type-tabs {
    width: 100%;
  }

  .type-tabs a {
    flex: 1;
    text-align: center;
  }

  .sort-form {
    margin-top: 10px;
    justify-content: flex-end;
  }

  .media-head h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .media-head__bottom {
    display: block;
  }

  .media-actions {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .reaction-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .comments__head h2 {
    font-size: 24px;
  }

  .comment-form {
    flex-direction: column;
  }

  .comment-form .avatar {
    display: none;
  }

  .comment-login {
    display: block;
  }

  .comment-login .btn {
    margin-top: 10px;
  }

  .auth-panel {
    padding: 32px 20px;
  }

  .auth-shell {
    min-height: 0;
  }

  .field-row,
  .form-grid,
  .type-choice {
    grid-template-columns: 1fr;
  }

  .account-head {
    padding: 18px;
  }

  .account-head__avatar .avatar {
    width: 56px;
    height: 56px;
    font-size: 21px;
  }

  .account-head__id h1 {
    font-size: 34px;
  }

  .account-tabs {
    overflow-x: auto;
  }

  .account-tabs a {
    white-space: nowrap;
  }

  .hard-hero {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .hard-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .locked-media {
    padding: 38px 20px;
  }

  .media-head__meta {
    gap: 6px;
    font-size: 8px;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-top {
    display: block;
  }

  .admin-top__actions {
    margin-top: 10px;
  }

  .admin-table {
    font-size: 10.5px;
  }

  .admin-table th,
  .admin-table td {
    padding: 7px 5px;
  }
}

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

  .ticker__track {
    animation: none;
  }

  .pulse-bar__line--draw {
    opacity: 1;
  }

  .pulse-bar__cursor-dot {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Censure 18+ (mode soft)
   -------------------------------------------------------------------------- */

.hero__visual--locked {
  background:
    radial-gradient(520px 340px at 50% 42%, rgba(255, 35, 56, 0.2), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
    #08080a;
}

.hero__lock {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

.hero__lock-stamp {
  display: grid;
  place-items: center;
  width: clamp(54px, 7vw, 76px);
  height: clamp(54px, 7vw, 76px);
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 27px);
  transform: rotate(-7deg);
}

.hero__lock-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__lock-text {
  max-width: 360px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.hero__locked-note {
  max-width: 480px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 35, 56, 0.35);
  border-radius: 8px;
  background: rgba(255, 35, 56, 0.07);
}

.hero__locked-note strong {
  display: block;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__locked-note p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.media-card__visual--locked {
  background:
    radial-gradient(240px 180px at 50% 42%, rgba(255, 35, 56, 0.18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 8px, transparent 8px 16px),
    #0b0b0e;
}

.media-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
}

.media-card__lock-stamp {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 16px;
  transform: rotate(-7deg);
}

.media-card__lock-title {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card__lock-text {
  max-width: 170px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.5;
}

.media-card__locked-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 35, 56, 0.45);
  border-radius: 4px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-card__locked-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
}

.buzz-thumb--locked,
.related-item__thumb--locked,
.upload-row__thumb--locked {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 35, 56, 0.2), transparent 70%),
    #0b0b0e;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 35, 56, 0.3);
}

.buzz-thumb--locked {
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Admin médiathèque : tri, édition inline, pagination
   -------------------------------------------------------------------------- */

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-toolbar .admin-search {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0;
}

.admin-page-size {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-page-size select {
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 9px;
  outline: 0;
}

.admin-table .sort-link {
  color: inherit;
  text-decoration: none;
}

.admin-table .sort-link:hover,
.admin-table .sort-link.is-active {
  color: var(--red-bright);
}

.admin-table .table-select {
  max-width: 150px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  outline: 0;
}

.admin-table .table-select:focus {
  border-color: var(--red);
}

.admin-table .inline-check {
  width: 15px;
  height: 15px;
  accent-color: var(--red);
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.inline-save {
  display: inline-block;
  min-width: 46px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.inline-save.is-saving {
  color: var(--gold);
}

.inline-save.is-saved {
  color: var(--green);
}

.inline-save.is-error {
  color: var(--red-bright);
}

/* --------------------------------------------------------------------------
   Admin médiathèque : aperçu au survol
   -------------------------------------------------------------------------- */

.media-hover-preview {
  position: fixed;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: min(70vw, 900px);
  max-height: 82vh;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 8, 10, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.media-hover-preview__label {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.media-hover-preview img,
.media-hover-preview video {
  display: block;
  max-width: min(68vw, 880px);
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #000;
  object-fit: contain;
}
