:root {
  --bg: #0a0b10;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f2f3f7;
  --muted: #9198ab;
  --faint: #5f6578;
  --red: #ff2e63;
  --cyan: #08d9d6;
  --violet: #7c5cff;
  --ok: #3ddc97;
  --err: #ff6b81;
  --warn: #ffb547;
  --grad: linear-gradient(135deg, var(--red), var(--violet) 55%, var(--cyan));
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
}
body > main { flex: 1; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--cyan); }
.muted { color: var(--muted); }

/* ---------- fond animé ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: float 18s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: var(--red); top: -180px; left: -140px; }
.blob.b2 { width: 460px; height: 460px; background: var(--cyan); top: 10%; right: -160px; animation-delay: -6s; opacity: .3; }
.blob.b3 { width: 420px; height: 420px; background: var(--violet); bottom: -200px; left: 30%; animation-delay: -12s; opacity: .3; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 60px) scale(.95); }
}
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 440px; }
.wrap.wide { max-width: 1180px; }

/* ---------- en-tête ---------- */
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px rgba(255, 46, 99, .55);
}
.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { text-decoration: none; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600;
}
.user-chip:hover { border-color: var(--border-strong); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #fff;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: .8rem; color: var(--muted);
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 48px 0 28px; }
.hero h1 {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05;
  letter-spacing: -.03em; margin: 18px 0 14px;
}
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.08rem; margin: 0 auto; max-width: 480px; line-height: 1.55; }
.platforms { display: flex; justify-content: center; gap: 10px; }
.platforms .pill svg { width: 16px; height: 16px; }

/* ---------- cartes et boutons ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.search { margin-top: 32px; padding: 8px; position: relative; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--border-strong); box-shadow: 0 0 0 4px rgba(124, 92, 255, .15), 0 20px 60px -20px rgba(124, 92, 255, .4); }
.search form { display: flex; align-items: center; gap: 8px; }
.field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 12px; }
.field .ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--muted); display: grid; place-items: center; transition: color .2s; }
.field .ico.yt { color: #ff3b3b; }
.field .ico.tt { color: var(--cyan); }
.field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text);
  font: 500 1rem Inter, sans-serif; padding: 14px 0;
}
.field input::placeholder { color: var(--faint); }
.btn-ghost {
  border: 1px solid var(--border); background: var(--surface-2); border-radius: 12px; padding: 10px 14px;
  font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, border-color .2s; text-decoration: none;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-main {
  border: 0; border-radius: 14px; padding: 15px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; color: #fff;
  background: var(--grad); background-size: 200% 200%; animation: shift 6s ease infinite; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(255, 46, 99, .7); transition: transform .15s, box-shadow .2s, opacity .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-main.sm { padding: 10px 16px; font-size: .88rem; border-radius: 12px; }
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 46, 99, .85); }
.btn-main:active { transform: translateY(0); }
.btn-danger {
  border: 1px solid rgba(255, 107, 129, .35); background: rgba(255, 107, 129, .08); color: var(--err);
  border-radius: 10px; padding: 7px 12px; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.btn-danger:hover { background: rgba(255, 107, 129, .16); }
button:disabled { opacity: .55; cursor: progress; transform: none !important; }
@keyframes shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hint { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 12px; }

/* ---------- statut ---------- */
.status { margin-top: 18px; padding: 16px 18px; display: none; gap: 14px; align-items: center; animation: rise .35s ease; }
.status.show { display: flex; }
.status.err { border-color: rgba(255, 107, 129, .35); background: rgba(255, 107, 129, .07); color: var(--err); }
.status.ok { border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .07); color: var(--ok); }
.status .txt { flex: 1; }
.status .sub { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.status .sub a { color: var(--text); }
.status .bar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.status .bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: var(--grad); animation: load 1.3s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.spinner { width: 22px; height: 22px; flex-shrink: 0; border: 2.5px solid var(--surface-2); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- résultat ---------- */
.result { margin-top: 18px; overflow: hidden; animation: rise .4s ease; }
.media { display: flex; gap: 18px; padding: 18px; }
.thumb { position: relative; width: 220px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .dur {
  position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 7px;
  background: rgba(0, 0, 0, .75); font-size: .78rem; font-weight: 600;
}
.info { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
}
.tag.yt { color: #ff5c5c; border-color: rgba(255, 92, 92, .3); }
.tag.tt { color: var(--cyan); border-color: rgba(8, 217, 214, .3); }
.tag.admin { color: var(--warn); border-color: rgba(255, 181, 71, .3); }
.tag.banned { color: var(--err); border-color: rgba(255, 107, 129, .3); }
.info h2 { margin: 0; font-size: 1.15rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info .by { color: var(--muted); font-size: .9rem; }

.formats { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; padding: 0 18px 18px; }
.fmt { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.fmt-head { display: flex; align-items: center; gap: 12px; }
.fmt-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.fmt-ico.v { background: rgba(255, 46, 99, .14); color: var(--red); }
.fmt-ico.a { background: rgba(8, 217, 214, .14); color: var(--cyan); }
.fmt-head strong { display: block; font-size: 1rem; }
.fmt-head span { color: var(--muted); font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 9px;
  padding: 6px 11px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.on { color: #fff; border-color: transparent; background: var(--red); }
.fmt .go { margin-top: auto; width: 100%; padding: 13px; }
.fmt .go.audio { background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 10px 30px -12px rgba(8, 217, 214, .7); animation: none; }

/* ---------- historique ---------- */
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 12px; }
.section-title h3 { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.link { background: none; border: 0; color: var(--muted); font-size: .82rem; cursor: pointer; }
.link:hover { color: var(--text); }
.history { display: flex; flex-direction: column; gap: 8px; }
.h-item {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; cursor: pointer; text-align: left; width: 100%;
  border: 1px solid var(--border); background: var(--surface); transition: border-color .15s, background .15s;
}
.h-item:hover { border-color: var(--border-strong); background: var(--surface-2); }
.h-item img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #000; flex-shrink: 0; }
.h-item .t { flex: 1; min-width: 0; }
.h-item .t b { display: block; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-item .t span { font-size: .78rem; color: var(--muted); }
.h-item .f { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: var(--surface-2); color: var(--muted); }

.h-item .ph { width: 72px; aspect-ratio: 16/9; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }

/* ---------- barre de compte (accueil) ---------- */
.pill.new { color: var(--text); border-color: rgba(61, 220, 151, .3); }
.account-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px;
  margin: 18px auto 0; padding: 10px 16px; max-width: 100%; width: fit-content; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .88rem;
}
.account-bar b { color: var(--text); }
.account-bar a { color: var(--text); font-weight: 600; text-decoration: none; }
.account-bar a:hover { color: var(--cyan); }
.account-bar .avatar { width: 24px; height: 24px; font-size: .72rem; }
.account-bar.warn { border-color: rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .07); color: var(--warn); }
.account-bar.warn a { padding: 5px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border-strong); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { padding: 0; border-radius: 14px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---------- atouts / étapes ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat { padding: 20px; }
.feat .fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 14px; }
.feat h4 { margin: 0 0 6px; font-size: .98rem; }
.feat p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.step .n {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .9rem; background: var(--grad);
}
.step b { display: block; font-size: .92rem; margin-bottom: 3px; }
.step span { color: var(--muted); font-size: .82rem; line-height: 1.45; }

/* ---------- formulaires (connexion, inscription, compte) ---------- */
.panel { padding: 28px; margin: 24px 0; }
.panel h1 { font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; letter-spacing: -.02em; margin: 0 0 6px; }
.panel h2 { font-size: 1.05rem; margin: 0 0 16px; }
.panel > p.muted { margin: 0 0 22px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=number], .form select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, .25);
  color: var(--text); font-size: .98rem; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .2); }
.form .btn-main { width: 100%; margin-top: 6px; }
.form-foot { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.errors { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 107, 129, .35); background: rgba(255, 107, 129, .07); color: var(--err); font-size: .9rem; }
.errors ul { margin: 0; padding-left: 18px; }
.toggle { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 16px !important; padding: 14px 0; border-bottom: 1px solid var(--border); }
.toggle span b { display: block; color: var(--text); font-size: .95rem; }
.toggle span small { font-weight: 400; }
.toggle input[type=checkbox] { width: 44px; height: 24px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.toggle input[type=checkbox]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input[type=checkbox]:checked { background: var(--violet); }
.toggle input[type=checkbox]:checked::after { transform: translateX(20px); }
.toggle input[type=number] { width: 110px !important; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 20px; }
.dash-head h1 { font-family: "Space Grotesk", sans-serif; font-size: 2rem; letter-spacing: -.02em; margin: 0; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; }
.tabs a { padding: 9px 16px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 18px; }
.stat .k { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; margin-top: 6px; }
.stat .d { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 12px; }
.box { padding: 20px; min-width: 0; }
.box h2 { margin: 0 0 16px; font-size: .95rem; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.chart .bar { width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; background: var(--grad); min-height: 2px; position: relative; }
.chart .bar:hover::after { content: attr(data-v); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); background: #000; padding: 2px 7px; border-radius: 6px; font-size: .75rem; white-space: nowrap; }
.chart .lbl { font-size: .68rem; color: var(--faint); white-space: nowrap; }
.split { display: flex; flex-direction: column; gap: 14px; }
.split .row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 6px; }
.meter { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.title { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.title a { color: var(--text); text-decoration: none; }
td.title a:hover { text-decoration: underline; }
td .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
td .actions form { margin: 0; }
.btn-xs { border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); border-radius: 9px; padding: 6px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; }
.btn-xs:hover { color: var(--text); border-color: var(--border-strong); }
.searchbar { display: flex; gap: 8px; margin-bottom: 14px; }
.searchbar input { flex: 1; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, .25); color: var(--text); outline: none; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: .85rem; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- classement ---------- */
.tabs.center { width: fit-content; max-width: 100%; margin: 0 auto; }
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; align-items: end; margin-top: 28px; }
.podium-step { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px 0; overflow: hidden; text-align: center; }
.podium-step.me { border-color: var(--violet); }
.medal { font-size: 2rem; }
.avatar.big { width: 56px; height: 56px; font-size: 1.4rem; }
.pname { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; font-weight: 700; }
.small { font-size: .78rem; }
.podium-step .block { width: calc(100% + 24px); margin-top: 12px; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.podium-step.p1 .block { height: 110px; background: linear-gradient(180deg, rgba(255, 196, 0, .35), rgba(255, 196, 0, .05)); }
.podium-step.p2 .block { height: 76px; background: linear-gradient(180deg, rgba(200, 210, 230, .3), rgba(200, 210, 230, .04)); }
.podium-step.p3 .block { height: 54px; background: linear-gradient(180deg, rgba(205, 127, 50, .35), rgba(205, 127, 50, .05)); }
.ranking { margin-top: 12px; }
.ranking td.rank { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--muted); width: 40px; }
.ranking .who { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.ranking .who .avatar { width: 26px; height: 26px; font-size: .72rem; }
.ranking tr.me td { background: rgba(124, 92, 255, .12); }
@media (max-width: 640px) {
  .nav-label { display: none; }
  .podium { gap: 6px; }
  .score { font-size: 1.4rem; }
}

footer { margin-top: 56px; padding: 26px 0 36px; border-top: 1px solid var(--border); color: var(--faint); font-size: .8rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1180px; }

.hidden { display: none !important; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .search form { flex-direction: column; align-items: stretch; }
  .field { padding: 0 6px 0 10px; }
  .search .btn-main { width: 100%; }
  .media { flex-direction: column; }
  .thumb { width: 100%; }
  .formats, .features, .steps { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .uname { display: none; }
  .user-chip { padding-right: 5px; }
  .panel { padding: 22px; }
  .chart .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
