/* =========================================================
   Le Balconnet : noir laqué, rouge baiser, rose bonbon, peau nude.
   Coquin, croquant, jamais vulgaire.
   ========================================================= */
@font-face { font-family: "Pinyon"; src: url("/static/fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/static/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/static/fonts/playfair-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/static/fonts/playfair-display-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0507; --panel: rgba(255, 220, 228, .04); --line: rgba(255, 140, 170, .16);
  --text: #fbeef0; --muted: #b897a0;
  --kiss: #e0204a; --kiss-2: #ff4d7d; --candy: #ff8fb1; --nude: #f4c8b8; --champagne: #fde6d8;
  --gold: var(--candy); --gold-2: var(--champagne);
  --ok: #7fd1a0; --err: #ff7d8f; --warn: #ffc77a;
  --serif: "Playfair", "Didot", "Bodoni 72", Georgia, serif;
  --script: "Pinyon", "Snell Roundhand", "Apple Chancery", cursive;
  --sans: -apple-system, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --grad: linear-gradient(135deg, #ff6b93 0%, #e0204a 55%, #a3122f 100%);
}
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--text); font: 15px/1.6 var(--sans); }
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 650px at 88% -12%, rgba(224, 32, 74, .30), transparent 60%),
    radial-gradient(900px 600px at -12% 108%, rgba(255, 77, 125, .18), transparent 60%),
    radial-gradient(700px 400px at 50% 50%, rgba(120, 10, 40, .18), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--candy); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
main { max-width: 1240px; margin: 0 auto; padding: 24px 18px 110px; }
::selection { background: var(--kiss); color: #fff; }

/* ---------- Typo ---------- */
h1, h2 { font-weight: 400; }
.display { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 6.5vw, 3.9rem); line-height: 1.05; margin: 0 0 14px; }
.display.sm { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
.script { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--candy); letter-spacing: 0; }
.display .script { font-size: 1.25em; line-height: .8; padding: 0 .06em; background: linear-gradient(120deg, #ffd1de, #ff4d7d 60%, #e0204a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .7rem; color: var(--candy); margin: 0 0 10px; }
.lead { font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: #f1d6dc; margin: 0 0 24px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.hot, .gold { color: var(--kiss-2); }
.fine { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 20px; }
.tagline { font-size: 1.45rem; margin: -6px 0 6px; color: var(--candy); }

/* ---------- Protection visuelle ---------- */
.protect img, .protect video { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.grid img { pointer-events: none; }
body.hidden-content .grid, body.hidden-content .viewer { filter: blur(40px); transition: filter .15s; }
@media print { body { display: none !important; } }

/* ---------- Barre du haut ---------- */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 10px 22px; background: rgba(11, 5, 7, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: url("/static/lace-edge.svg") repeat-x top / auto 10px; opacity: .7; pointer-events: none; filter: hue-rotate(-18deg) saturate(1.6); }
.logo { font-size: 2rem; line-height: 1.1; color: var(--text); text-shadow: 0 0 24px rgba(255, 77, 125, .45); }
.logo:hover { color: var(--candy); }
.links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
.links a, .link { color: #e3c5cc; }
.links a.hot { color: var(--kiss-2); text-shadow: 0 0 16px rgba(255, 77, 125, .5); }
.inline { display: inline; margin: 0; }

/* ---------- Dentelle ---------- */
.lace { height: 18px; max-width: 260px; margin: 6px auto 22px; background: url("/static/lace.svg") repeat-x center / auto 18px; filter: hue-rotate(-18deg) saturate(1.8) brightness(1.1); }

/* ---------- Héros ---------- */
.hero { position: relative; text-align: center; padding: 50px 0 34px; max-width: 780px; margin: 0 auto; }
.hero::before { content: ""; position: absolute; inset: 0 -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 40%, rgba(224, 32, 74, .22), transparent 70%); animation: breathe 7s ease-in-out infinite; }
.hero.compact { padding: 28px 0 18px; }
.progress { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; max-width: 420px; margin: 20px auto 12px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px rgba(255, 77, 125, .8); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.next-rank { margin: 4px 0 22px; color: #f1d6dc; }
.next-rank .script { font-size: 1.6rem; margin-left: 4px; }
.reveal-banner { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: 0 0 18px; padding: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: fadeUp .8s both; }
.reveal-banner .hot { font-style: normal; font-size: 1.8rem; text-shadow: 0 0 18px rgba(255,77,125,.6); }
.upsell { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; margin: 0 auto 26px; max-width: 760px;
  padding: 14px 20px; border-radius: var(--radius); border: 1px solid rgba(255, 77, 125, .45); background: linear-gradient(135deg, rgba(224,32,74,.18), rgba(255,143,177,.06)); animation: fadeUp 1s .3s both; }
.upsell p { margin: 0; }

/* ---------- Boutons ---------- */
.btn, button { display: inline-block; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(224, 32, 74, .75), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover, button:hover { color: #fff; transform: translateY(-2px) scale(1.02); filter: brightness(1.1); box-shadow: 0 16px 38px -10px rgba(255, 77, 125, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.big { padding: 17px 40px; font-size: .84rem; animation: pulse 3.2s ease-in-out infinite; }
.btn.full { width: 100%; }
.btn.ghost, button.ghost { background: transparent; color: var(--candy); border-color: rgba(255, 143, 177, .45); box-shadow: none; animation: none; }
.btn.ghost:hover, button.ghost:hover { border-color: var(--kiss-2); color: #fff; background: rgba(224,32,74,.15); }
button.small { padding: 7px 14px; font-size: .68rem; }
button.danger { background: transparent; color: var(--err); border-color: rgba(255,125,143,.5); box-shadow: none; }
button.link { background: none; border: 0; padding: 0; box-shadow: none; color: #e3c5cc; font: inherit; letter-spacing: inherit; text-transform: inherit; animation: none; }
button.link:hover { transform: none; }

/* ---------- Onglets ---------- */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 22px; }
.tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: #e3c5cc; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.tabs a small { color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.tabs a.on { background: rgba(224,32,74,.18); border-color: var(--kiss-2); color: #fff; box-shadow: 0 0 20px -6px rgba(255,77,125,.7); }

/* ---------- Galerie ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: #1a0b10;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .5s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(60, 5, 20, .55)); pointer-events: none; transition: opacity .4s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(224, 32, 74, .8); }
.tile:hover img { transform: scale(1.06); filter: saturate(1.08) contrast(1.03); }
.tile:hover::after { opacity: .4; }
.tile.new { animation: reveal 1.2s both; box-shadow: 0 0 0 1.5px rgba(255, 77, 125, .8), 0 0 26px -6px rgba(255, 77, 125, .7); }
.tile.new:nth-child(2) { animation-delay: .08s } .tile.new:nth-child(3) { animation-delay: .16s } .tile.new:nth-child(4) { animation-delay: .24s }
.tile.new:nth-child(5) { animation-delay: .32s } .tile.new:nth-child(6) { animation-delay: .4s } .tile.new:nth-child(n+7) { animation-delay: .48s }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(224,32,74,.6); }
.fav-dot { position: absolute; z-index: 2; right: 10px; bottom: 8px; color: var(--kiss-2); font-size: 1.1rem; text-shadow: 0 0 10px rgba(255,77,125,.9); }
.video-tile { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 40%, #5a0f26, #1a0b10 70%); color: var(--candy); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.play { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--candy); position: relative; box-shadow: 0 0 24px rgba(255,77,125,.5); }
.play::before { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--candy); }

/* Aperçus floutés : on devine, on ne voit pas */
.tile.locked img { transform: scale(1.18); filter: saturate(1.25) brightness(.9); }
.tile.locked::after { background: radial-gradient(circle at 50% 46%, transparent 18%, rgba(11,5,7,.55) 60%); }
.keyhole { position: absolute; z-index: 2; left: 50%; top: 44%; width: 26px; height: 42px; transform: translate(-50%, -50%);
  background: url("/static/keyhole.svg") center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(255, 77, 125, .9)); transition: transform .4s; }
.peek { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--script); font-size: 1.3rem; color: #ffd7e3;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.tile.locked:hover .keyhole { transform: translate(-50%, -50%) scale(1.15); }
.tile.locked:hover .peek { opacity: 1; transform: none; }
.outro { text-align: center; padding: 64px 0 10px; border-top: 1px solid var(--line); margin-top: 44px; }
.outro .grid { margin-top: 26px; grid-template-columns: repeat(6, 1fr); }
.outro p.center { margin-top: 30px; }

/* ---------- Visionneuse ---------- */
.page-viewer main { padding-top: 12px; }
.page-viewer { background: radial-gradient(900px 600px at 50% 30%, rgba(224, 32, 74, .16), transparent 70%), #070304; }
.viewer { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stage { position: relative; max-width: 100%; }
.stage .full { display: block; max-width: 100%; max-height: 84vh; border-radius: 8px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 60px -20px rgba(224,32,74,.45); animation: fadeIn .5s both; }
.stage.kiss::after { content: "♥"; position: absolute; left: 50%; top: 50%; font-size: 7rem; color: var(--kiss-2); pointer-events: none;
  text-shadow: 0 0 40px rgba(255,77,125,.9); animation: kiss .9s ease-out forwards; }
.fav-form { position: absolute; right: 12px; bottom: 12px; margin: 0; z-index: 3; }
.heart { width: 48px; height: 48px; padding: 0; border-radius: 50%; font-size: 1.35rem; line-height: 48px; letter-spacing: 0; text-transform: none;
  background: rgba(11,5,7,.55); color: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: none; backdrop-filter: blur(8px); animation: none; }
.heart:hover { transform: scale(1.08); background: rgba(224,32,74,.35); }
.heart.on { background: var(--grad); border-color: transparent; box-shadow: 0 0 24px rgba(255,77,125,.8); }
.heart.pop { animation: pop .45s cubic-bezier(.2,1.6,.4,1); }
.viewer-nav { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 520px; }
.viewer-nav a[data-key] { font-family: var(--serif); font-size: 2.4rem; line-height: 1; padding: 0 18px; color: var(--kiss-2); }
.video-wrap { position: relative; max-width: 100%; }
.video-wrap video { max-width: 100%; max-height: 80vh; border-radius: 8px; background: #000; display: block; }
.moving-wm { position: absolute; pointer-events: none; color: rgba(255,255,255,.33); font-size: .85rem; text-shadow: 0 0 3px rgba(0,0,0,.6); transition: left 1.5s, top 1.5s; white-space: nowrap; }
.end-cta { text-align: center; padding: 30px 0; }

/* ---------- Boutique ---------- */
.rayon { margin: 40px 0 10px; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; margin: 22px 0 10px; align-items: stretch; }
.pack { position: relative; text-align: center; padding: 36px 22px 28px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,220,228,.06), rgba(255,220,228,.015)); display: flex; flex-direction: column; align-items: center;
  transition: transform .3s, box-shadow .3s, border-color .3s; }
.pack:hover { transform: translateY(-4px); border-color: rgba(255,77,125,.5); box-shadow: 0 26px 50px -26px rgba(224,32,74,.8); }
.pack .btn { margin-top: auto; }
.pack.featured { border-color: rgba(255, 77, 125, .75); background: linear-gradient(180deg, rgba(224,32,74,.32), rgba(120,10,40,.12));
  box-shadow: 0 30px 70px -28px rgba(224,32,74,.9), inset 0 0 0 1px rgba(255,180,200,.12); transform: translateY(-8px) scale(1.02); }
.pack.featured:hover { transform: translateY(-10px) scale(1.03); }
.pack.off { opacity: .45; }
.pack.locked-pack { opacity: .85; border-style: dashed; }
.pack h2 { margin-bottom: 4px; }
.count { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; margin: 8px 0 4px; color: #fff; text-shadow: 0 0 30px rgba(255,77,125,.45); }
.count small { display: block; font-family: var(--sans); font-style: normal; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; text-shadow: none; }
.price { font-family: var(--serif); font-size: 1.8rem; margin: 14px 0 0; }
.price s { font-size: 1rem; color: var(--muted); margin-right: 10px; text-decoration-color: var(--kiss-2); text-decoration-thickness: 2px; }
.unit { font-size: .8rem; color: var(--muted); margin: 2px 0 20px; }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 999px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(224,32,74,.9); }
.ribbon.alt { background: var(--champagne); color: #6b0f26; box-shadow: none; }
.lock-note { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--candy); margin-top: auto; }
.reassure { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: center; }
.reassure li { color: var(--muted); font-size: .85rem; padding: 16px; border-top: 1px solid var(--line); }
.reassure strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--text); margin-bottom: 4px; }
.checkout .price { font-size: 2.6rem; margin: 10px 0 18px; }
.fake-card { border: 1px dashed var(--line); padding: 10px 14px; border-radius: 10px; margin: 0 0 18px; }

/* ---------- Bouton collant mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; justify-content: space-between; align-items: center; position: fixed; z-index: 20; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom)); padding: 16px 22px; border-radius: 999px; background: var(--grad); color: #fff;
    font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; box-shadow: 0 14px 40px -8px rgba(224,32,74,.85); animation: pulse 3.2s ease-in-out infinite; }
  .sticky-cta span { font-size: .66rem; letter-spacing: .1em; opacity: .85; }
  .topbar { padding: 8px 14px; }
  .logo { font-size: 1.7rem; }
  .links { gap: 12px; font-size: .66rem; letter-spacing: .1em; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .outro .grid { grid-template-columns: repeat(3, 1fr); }
  .pack.featured { transform: none; order: -1; }
  .pack.featured:hover { transform: none; }
  .hero { padding: 32px 0 22px; }
  .peek { opacity: 1; transform: none; font-size: 1.05rem; }
}

/* ---------- Connexion ---------- */
.page-login main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 18px; }
.page-login { background: radial-gradient(600px 500px at 50% 35%, rgba(224, 32, 74, .35), transparent 70%), radial-gradient(900px 700px at 50% 120%, rgba(255,77,125,.18), transparent 70%), var(--bg); }
.login { position: relative; text-align: center; max-width: 410px; width: 100%; animation: fadeUp 1.1s both; }
.logo-xl { font-size: clamp(3.6rem, 15vw, 5.4rem); line-height: 1; margin: 0 0 4px; color: #fff; text-shadow: 0 0 40px rgba(255,77,125,.6), 0 0 2px rgba(255,255,255,.5); }
.keyhole-glow { width: 34px; height: 54px; margin: 0 auto 18px; background: url("/static/keyhole.svg") center / contain no-repeat; filter: drop-shadow(0 0 14px rgba(255,77,125,1)); animation: breathe 4s ease-in-out infinite; }
.login-form { text-align: left; margin-top: 26px; }
.login-form .btn { width: 100%; margin-top: 12px; }

/* ---------- Formulaires, cartes, tableaux ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.card h2 { margin-top: 0; }
.narrow { max-width: 440px; margin: 40px auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.cards .card { margin: 0; }
label { display: block; margin: 12px 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, select { width: 100%; padding: 13px 15px; margin-top: 6px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.4); color: var(--text); font: 15px var(--sans); letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { outline: none; border-color: var(--kiss-2); box-shadow: 0 0 0 3px rgba(255,77,125,.18); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row label { margin: 0; flex: 1 1 160px; }
.row input, .row select { width: auto; flex: 1 1 140px; margin-top: 0; }
.row input.w-num { flex: 0 0 90px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 14px auto; border: 1px solid var(--line); max-width: 760px; text-align: center; animation: fadeUp .6s both; }
.flash.ok { border-color: rgba(127,209,160,.5); color: #d4f0de; }
.flash.err { border-color: rgba(255,125,143,.5); color: #ffd3da; }
.flash.info { border-color: rgba(255,199,122,.45); color: #ffe6c2; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 400; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
td.actions { display: flex; gap: 6px; }
tr.dim { opacity: .5; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: .72rem; border: 1px solid var(--line); }
.tag.paid, .tag.offered { border-color: rgba(127,209,160,.6); color: #d4f0de; }
.tag.pending { border-color: rgba(255,199,122,.6); color: #ffe6c2; }
.tag.rejected { border-color: rgba(255,125,143,.6); color: #ffd3da; }
.secret { font: 600 1.4rem ui-monospace, Menlo, monospace; background: rgba(0,0,0,.4); padding: 14px; border-radius: 10px; text-align: center; letter-spacing: .06em; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 26px 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Admin ---------- */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.subnav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.subnav a.on { background: var(--grad); color: #fff; border-color: transparent; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.stats strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; color: var(--text); letter-spacing: 0; text-transform: none; }
.tile.admin { aspect-ratio: auto; position: relative; }
.tile.admin:hover { transform: none; }
.tile.admin::after { display: none; }
.tile.admin > a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.tile-meta { display: flex; justify-content: space-between; align-items: center; padding: 6px; font-size: .75rem; color: var(--muted); }
.tile-cat { margin: 6px 6px 0; }
.tile-cat select { padding: 6px 8px; font-size: .78rem; margin: 0; }
.bulkbar { position: sticky; top: 64px; z-index: 6; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin: 0 0 12px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(11,5,7,.92); backdrop-filter: blur(10px); }
.bulkbar select { width: auto; margin: 0; padding: 7px 10px; font-size: .85rem; }
.pick { position: absolute; z-index: 3; top: 6px; left: 6px; margin: 0; padding: 4px; background: rgba(11,5,7,.7); border-radius: 6px; line-height: 0; }
.pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--kiss); }
.tile.admin:has(.pick input:checked) { outline: 2px solid var(--kiss-2); outline-offset: -2px; border-radius: 14px; }
.admin-inline { justify-content: center; margin-top: 4px; }
.admin-inline select { width: auto; flex: 0 0 auto; padding: 7px 10px; }
.dup-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dup-cell img, .dup-cell .video-tile { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.dup-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal { from { opacity: 0; filter: blur(22px) saturate(1.6); transform: scale(.96); } to { opacity: 1; filter: none; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 30px -10px rgba(224,32,74,.75); } 50% { box-shadow: 0 10px 44px -6px rgba(255,77,125,.95); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes kiss { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1.4); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
