/* Tema: fondo negro con verde claro (siempre oscuro) */
:root {
  --bg: #050505;
  --surface: #101211;
  --text: #ecf3ee;
  --muted: #8f9c93;
  --line: #222a25;
  --accent: #8ef0b0;
  --on-accent: #04170b;
  --accent-soft: #11261a;
  --good: #5eead4;
  --good-soft: #0d2623;
  --s1: #8ef0b0; --s2: #7fb2ea; --s3: #e8b45c; --s4: #5eead4; --s5: #b9a2f0; --s6: #ef8a86;
  --radius: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.top .wrap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--text); letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.tag { margin: 0; color: var(--muted); font-size: 0.95rem; }

.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input, .search select, .search button {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); }
.search input { flex: 1 1 280px; min-width: 0; }
.search button { background: var(--accent); color: var(--on-accent); border-color: var(--accent); cursor: pointer; font-weight: 600; }
.search input:focus, .search select:focus, .search button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.meta { color: var(--muted); margin: 16px 0; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.card:hover { border-color: var(--accent); }
.card a { display: block; padding: 14px; text-decoration: none; color: inherit; height: 100%; }
.card h2 { font-size: 0.98rem; margin: 10px 0 6px; line-height: 1.3; }
.thumb { aspect-ratio: 1; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumb span { font-size: 2.5rem; color: var(--accent); font-weight: 700; }
.price { margin: 0; }
.price strong { font-size: 1.2rem; }
.sub { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.save { display: inline-block; background: var(--good-soft); color: var(--good); border-radius: 6px; padding: 1px 8px; font-size: 0.85rem; font-weight: 600; }
.sub .save { margin-left: 4px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 24px 0; }
.stores { margin: 40px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.stores h3 { font-size: 0.95rem; color: var(--text); }
.stores ul { padding-left: 18px; }

.back { margin: 0 0 12px; }
.hero { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.hero h1 { font-size: 1.5rem; margin: 0 0 8px; line-height: 1.25; }
.thumb.big { width: 140px; flex: none; }

.offers { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offers th, .offers td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.offers th { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.offers .num { text-align: right; white-space: nowrap; }
.offers s { display: block; color: var(--muted); font-size: 0.85rem; }
.offers tr.best { background: var(--good-soft); }
.offers tr.gone { opacity: 0.55; }
.btn { display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; font-size: 0.9rem; white-space: nowrap; }

.history { margin: 32px 0; }
.history svg { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.grid-line { stroke: var(--line); stroke-width: 1; }
.axis { fill: var(--muted); font-size: 11px; }
.line { fill: none; stroke-width: 2.2; }
.dot { stroke: var(--surface); stroke-width: 1.5; }
.legend { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.line.s1 { stroke: var(--s1); } .dot.s1, .sw.s1 { fill: var(--s1); background: var(--s1); }
.line.s2 { stroke: var(--s2); } .dot.s2, .sw.s2 { fill: var(--s2); background: var(--s2); }
.line.s3 { stroke: var(--s3); } .dot.s3, .sw.s3 { fill: var(--s3); background: var(--s3); }
.line.s4 { stroke: var(--s4); } .dot.s4, .sw.s4 { fill: var(--s4); background: var(--s4); }
.line.s5 { stroke: var(--s5); } .dot.s5, .sw.s5 { fill: var(--s5); background: var(--s5); }
.line.s6 { stroke: var(--s6); } .dot.s6, .sw.s6 { fill: var(--s6); background: var(--s6); }

.error { text-align: center; padding: 60px 0; }
.error h1 { font-size: 3rem; margin: 0; color: var(--accent); }
.foot { color: var(--muted); font-size: 0.85rem; padding-top: 24px; padding-bottom: 32px; }

/* ---------------------------------------------------------- navegación */
.topnav { margin-left: auto; display: flex; gap: 16px; }
.topnav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* ---------------------------------------------------------- portada */
.eyebrow { margin: 0 0 2px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--accent); }
.eyebrow.small { margin-top: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.dash { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }

.deals-body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; align-items: start; }
.deal-list { list-style: none; margin: 0; padding: 0; }
.deal-list li + li { border-top: 1px solid var(--line); }
.deal-list a { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) auto 52px; gap: 10px; align-items: center;
  padding: 7px 4px; text-decoration: none; color: inherit; border-radius: 8px; }
.deal-list a:hover { background: var(--accent-soft); }
.rank { font-weight: 700; color: var(--muted); text-align: center; font-size: 0.9rem; }
.dthumb { width: 40px; height: 40px; border-radius: 6px; background: var(--accent-soft); overflow: hidden; display: block; }
.dthumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dinfo { min-width: 0; display: flex; flex-direction: column; }
.dname { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dstore { color: var(--muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dprice { text-align: right; line-height: 1.2; white-space: nowrap; }
.dprice strong { display: block; font-size: 0.95rem; }
.dprice s { color: var(--muted); font-size: 0.78rem; }
.pct { background: var(--good-soft); color: var(--good); font-weight: 800; border-radius: 6px; text-align: center; padding: 3px 0; font-size: 0.85rem; }

.tux-wrap { text-align: center; position: sticky; top: 12px; }
.tux { width: 100%; max-width: 210px; height: auto; overflow: visible; }
.tux-name { margin: 2px 0 0; font-family: Georgia, serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.tux-name a { color: #c9a44c; text-decoration: none; }
.tux-name a:hover { color: #e3c26b; }
.tux-quote { font-family: Georgia, serif; }
.tux-quote { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); font-style: italic; line-height: 1.4; }

/* animación: billetes cayendo, brazo que lanza, cuerpo que se balancea, destellos */
.bill-fall { animation: fall 3.6s linear infinite; opacity: 0; }
.bill-fall.d2 { animation-delay: .6s; animation-duration: 4.2s; }
.bill-fall.d3 { animation-delay: 1.2s; animation-duration: 3.3s; }
.bill-fall.d4 { animation-delay: 1.9s; animation-duration: 4.6s; }
.bill-fall.d5 { animation-delay: 2.4s; animation-duration: 3.9s; }
.bill-fall.d6 { animation-delay: 3.0s; animation-duration: 4.4s; }
.bill-fall.d7 { animation-delay: .3s; animation-duration: 3.1s; }
@keyframes fall {
  0%   { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(10px, 130px) rotate(160deg); }
  90%  { opacity: 1; }
  100% { transform: translate(-8px, 290px) rotate(340deg); opacity: 0; }
}
.man { animation: sway 3s ease-in-out infinite; transform-origin: 110px 270px; transform-box: view-box; }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.arm { animation: toss 1.2s ease-in-out infinite; transform-origin: 148px 118px; transform-box: view-box; }
@keyframes toss { 0%, 100% { transform: rotate(0deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(6deg); } }
.spark { animation: twinkle 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.spark.s-b { animation-delay: .6s; } .spark.s-c { animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.3); opacity: .2; } 50% { transform: scale(1.1); opacity: 1; } }
/* Viktor: retroceso de la pistola + fogonazo sincronizado */
.viktor-svg .arm { animation: recoil 1.6s ease-out infinite; }
@keyframes recoil { 0%, 100% { transform: rotate(0deg); } 6% { transform: rotate(-9deg); } 22% { transform: rotate(2deg); } 35% { transform: rotate(0deg); } }
.viktor-svg .flash { opacity: 0; animation: flash 1.6s steps(1) infinite; }
@keyframes flash { 0% { opacity: 1; } 10% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .viktor-svg .flash { animation: none; }
  .bill-fall, .man, .arm, .spark { animation: none; }
  .bill-fall { opacity: 1; transform: translateY(60px); }
}

.famoso h2 { font-size: 1.4rem; margin-top: 2px; }
.fperf { margin: 12px 0 6px; font-size: 1.05rem; }
.chip { display: inline-block; font-size: 0.75rem; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; vertical-align: 2px; }
.fres { margin: 0 0 10px; font-size: 0.92rem; }
.notas { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: 0.85rem; }
.notas dt { font-weight: 700; color: var(--muted); }
.notas dd { margin: 0; }
.fcat { list-style: none; padding: 0; margin: 4px 0 0; }
.fcat li + li { margin-top: 4px; }
.fcat a { display: flex; justify-content: space-between; gap: 8px; font-size: 0.88rem; text-decoration: none; padding: 6px 8px; border-radius: 8px; background: var(--accent-soft); }
.src { margin: 12px 0 0; font-size: 0.78rem; color: var(--muted); }

.section-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 1.2rem; }
.section-head .sub { margin: 0; }

.news { margin-bottom: 24px; }
.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.news-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; }
.news-list h3 { margin: 6px 0 4px; font-size: 0.98rem; line-height: 1.3; }
.news-list p { margin: 0 0 8px; font-size: 0.88rem; color: var(--muted); flex: 1; }
.news-list a { font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.ndate { align-self: flex-start; font-size: 0.75rem; font-weight: 700; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 2px 8px; }

.chile-banner { margin-bottom: 24px; }
.chile-banner a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.chile-banner a:hover { border-color: var(--accent); }
.chile-banner .arrow { margin-left: auto; color: var(--accent); font-weight: 700; }
.flag { position: relative; display: inline-block; width: 36px; height: 24px; border-radius: 3px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.flag i:first-child { position: absolute; inset: 0 0 50% 0; background: #fff; }
.flag i:nth-child(2) { position: absolute; inset: 50% 0 0 0; background: #d52b1e; }
.flag b { position: absolute; left: 0; top: 0; width: 36%; height: 50%; background: #0039a6; }
.flag b::after { content: "★"; position: absolute; inset: 0; color: #fff; font-size: 9px; display: grid; place-items: center; line-height: 1; }
.flag.big { width: 66px; height: 44px; }
.flag.big b::after { font-size: 15px; }

.brands { margin-bottom: 28px; }
.brand-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 84px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); text-align: center; transition: border-color .15s, transform .15s; }
.brand-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.brand-tile img { max-width: 100%; max-height: 42px; object-fit: contain; }
.wordmark { font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; line-height: 1.15; }
.bcount { font-size: 0.72rem; color: var(--muted); }
.brand-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.brand-head h1 { margin: 0; font-family: Didot, "Bodoni MT", Georgia, serif; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------------------------------------------------- Hecho en Chile */
.chile-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.chile-hero h1 { margin: 0; }
.house { margin-bottom: 32px; }
.house-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.house-head h2 { margin: 0; }
.card h3 { font-size: 0.95rem; margin: 10px 0 6px; line-height: 1.3; }
.card .price s { color: var(--muted); font-size: 0.85rem; margin-left: 6px; }
.card.out { opacity: 0.6; }

/* ---------------------------------------------------------- Anime */
.chile-banner { display: grid; gap: 10px; }
.mini-avs { display: flex; }
.mini-avs i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 15px; border: 2px solid var(--surface); margin-left: -8px; color: #fff; }
.mini-avs i:first-child { margin-left: 0; }
.anime-hero { margin-bottom: 20px; }
.anime-hero h1 { margin: 0 0 6px; }
.anime-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.acard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; overflow: hidden; }
.acard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.acard-top { display: flex; gap: 14px; align-items: center; }
.acard h2 { margin: 0; font-size: 1.2rem; }
.aserie { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--c2), var(--c1)); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c1);
  animation: aura 3.2s ease-in-out infinite; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.glyph { font-size: 34px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
@keyframes aura { 0%, 100% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c1); }
  50% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c1), 0 0 22px 6px var(--c2); } }
@media (prefers-reduced-motion: reduce) { .avatar { animation: none; } }
.aquote { margin: 14px 0 10px; padding: 10px 14px; border-left: 4px solid var(--c1); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.aquote p { margin: 0; font-style: italic; }
.aquote .alead { font-style: normal; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.anotas { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.adetail { font-size: 0.88rem; margin-top: 6px; }
.adetail summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.adetail p { margin: 6px 0; }
.arecs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 5px; }
.arecs a, .arecs .nocat { display: flex; justify-content: space-between; gap: 8px; font-size: 0.86rem; padding: 6px 9px; border-radius: 8px; text-decoration: none; }
.arecs a { background: var(--accent-soft); }
.arecs .nocat { border: 1px dashed var(--line); color: var(--muted); }
.arecs em { font-size: 0.78rem; white-space: nowrap; }
.disclaimer { margin-top: 20px; font-size: 0.8rem; }

/* pregúntale al Yakuza-san (IA) */
.ask-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.ask-form label { display: block; margin-bottom: 8px; }
.ask-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ask-row input { flex: 1 1 240px; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.ask-row button { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; }
.ask-form .sub { margin-top: 6px; }
.ask-error { background: var(--accent-soft); color: var(--accent); padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.ask-result { margin-bottom: 24px; }
.ask-head { display: flex; gap: 14px; align-items: center; }
.ask-head h1 { margin: 0; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 18px 0; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pcard.orig { border-top: 4px solid var(--accent); }
.pcard.dupe { border-top: 4px solid var(--good); }
.pcard.dupe .eyebrow { color: var(--good); }
.pc-body { display: flex; gap: 12px; align-items: center; }
.pc-body .thumb { width: 84px; flex: none; }
.pc-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.pc-buy { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); text-decoration: none; font-size: 0.9rem; margin-top: auto; }
.pcard.dupe .pc-buy { background: var(--good-soft); color: var(--good); }
.pc-none { margin: auto 0 0; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line); color: var(--muted); font-size: 0.88rem; }
.pc-save { margin: 0; font-weight: 700; color: var(--good); }
.insp-title { font-size: 1rem; margin: 10px 0 6px; }
.recent-asks ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.recent-asks a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); text-decoration: none; font-size: 0.85rem; }
.av-generic { --c1: #1f8f52; --c2: #8ef0b0; }

/* ¿No sabes qué usar? */
.help-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 18px; border-radius: var(--radius);
  text-decoration: none; color: #eafff1; background: linear-gradient(110deg, #0b2a17 0%, #136b3b 55%, #2fb36a 100%);
  border: 1px solid #2c7a4c; box-shadow: 0 6px 24px rgba(142, 240, 176, .18); transition: transform .15s; }
.help-banner:hover { transform: translateY(-2px); }
.hb-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 800;
  background: rgba(255, 255, 255, .2); border: 2px solid rgba(255, 255, 255, .6); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hb-icon { animation: none; } }
.hb-text { display: flex; flex-direction: column; gap: 2px; }
.hb-text strong { font-size: 1.2rem; }
.hb-text span { opacity: .92; font-size: 0.92rem; }
.hb-cta { margin-left: auto; flex: none; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 9px 16px; border-radius: 999px; }
.rec-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); resize: vertical; }
.rec-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; }
.rec-row label { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--muted); margin: 0; }
.rec-row input, .rec-row select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.rec-row input { width: 90px; }
.rec-row button { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; }
.rec-title { margin: 0 0 6px; }
.rec-tip { background: var(--good-soft); color: var(--good); padding: 10px 14px; border-radius: 10px; }
@media (max-width: 640px) { .help-banner { flex-wrap: wrap; } .hb-cta { margin-left: 0; } }

/* voz */
.voice { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 10px 0 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); }
.voice { display: inline-flex; padding: 6px 12px; border-radius: 999px; }
.voice .eyebrow { margin: 0; }
.voice audio { width: min(360px, 100%); height: 36px; }
/* reproductor compacto (player.js): botón + volumen; el ecualizador se mueve solo mientras suena */
[data-vp][data-ready] audio { display: none; }
[data-vp] .voice-icon i { animation-play-state: paused; }
[data-vp].playing .voice-icon i, [data-vp]:not([data-ready]) .voice-icon i { animation-play-state: running; }
.vp { display: inline-flex; align-items: center; gap: 8px; }
.vp-btn { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.vp-btn:hover { filter: brightness(1.1); }
.vp-spk { font-size: .95rem; }
.vp-vol { width: 90px; accent-color: var(--accent); cursor: pointer; }
.noir-body .vp-btn, .viktor-guide .vp-btn, .viktor-pop .vp-btn { background: #c9a44c; color: #1a1405; }
.noir-body .vp-vol, .viktor-guide .vp-vol, .viktor-pop .vp-vol { accent-color: #c9a44c; }
.noir-body .voice-icon i, .viktor-guide .voice-icon i, .viktor-pop .voice-icon i { background: #c9a44c; }
.vg-audio { display: flex; align-items: center; gap: 10px; }
.vg-audio .voice-icon { height: 20px; }
.voice-icon { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex: none; }
.voice-icon i { width: 4px; border-radius: 2px; background: var(--accent); animation: eq 1s ease-in-out infinite; }
.voice-icon i:nth-child(1) { height: 40%; } .voice-icon i:nth-child(2) { height: 90%; animation-delay: .2s; }
.voice-icon i:nth-child(3) { height: 60%; animation-delay: .4s; } .voice-icon i:nth-child(4) { height: 80%; animation-delay: .1s; }
@keyframes eq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.voice-icon i { transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) { .voice-icon i { animation: none; } }

/* portada: botón ver más */
.grid-head { margin-top: 8px; }
.more-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; }
.more-btn:hover { filter: brightness(1.08); }

/* ---------------------------------------------------------- Anime: fondo collage de viñetas (SVG original) */
body.anime-page { background: #05030a; }
body.anime-page::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: url("anime-collage.svg") 0 0 / 900px auto repeat; opacity: .55; filter: saturate(1.15);
  animation: collagePan 120s linear infinite; }
body.anime-page::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(5, 3, 10, .4), rgba(5, 3, 10, .8) 75%); }
@keyframes collagePan { from { background-position: 0 0; } to { background-position: -900px -675px; } }
body.anime-page .top { background: rgba(16, 18, 17, .85); backdrop-filter: blur(6px); }
body.anime-page .acard, body.anime-page .ticker, body.anime-page .ask-form, body.anime-page .ask-result, body.anime-page .pcard { background: rgba(14, 12, 22, .9); backdrop-filter: blur(3px); }
/* collage con imágenes reales (si existen en app/static/anime/collage/) */
body.has-collage::before { display: none; }
.collage-bg { position: fixed; inset: -60px; z-index: -2; overflow: hidden; pointer-events: none; }
.collage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 160px; gap: 8px;
  transform: rotate(-4deg) scale(1.08); animation: collageDrift 90s linear infinite alternate; }
.cg { width: 100%; height: 100%; object-fit: cover; border: 4px solid #000; filter: saturate(1.1) brightness(.85); opacity: .75; }
.cg0 { grid-row: span 2; } .cg3 { grid-column: span 2; } .cg5 { transform: rotate(2deg); }
@keyframes collageDrift { from { transform: rotate(-4deg) scale(1.08) translateY(0); } to { transform: rotate(-4deg) scale(1.08) translateY(-240px); } }
@media (prefers-reduced-motion: reduce) { body.anime-page::before, .collage-grid { animation: none; } }

/* ---------------------------------------------------------- Anime movido */
.otaku-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 28px; margin-bottom: 14px; color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center;
  background: linear-gradient(120deg, #1b1035, #4b2a7b, #b5302b, #f2771a, #3d8bff, #1b1035);
  background-size: 400% 400%; animation: heroShift 18s ease infinite; }
@keyframes heroShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.otaku-hero-text { position: relative; z-index: 1; }
.otaku-hero h1 { margin: 0 0 10px; font-size: 1.9rem; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.otaku-hero p { margin: 0; opacity: .95; }
.otaku-hero .hero-sub { margin: -4px 0 12px; font-weight: 700; font-size: 1.05rem; }
.otaku-hero .eyebrow { color: #ffd27a; }
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sp { position: absolute; bottom: -12px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, .6); animation: floatUp 9s linear infinite; opacity: 0; }
.sp0 { left: 4%; animation-delay: 0s; } .sp1 { left: 11%; animation-delay: 1.3s; width: 5px; height: 5px; }
.sp2 { left: 19%; animation-delay: 2.7s; } .sp3 { left: 27%; animation-delay: .6s; width: 4px; height: 4px; }
.sp4 { left: 35%; animation-delay: 3.9s; } .sp5 { left: 43%; animation-delay: 5.1s; width: 6px; height: 6px; }
.sp6 { left: 51%; animation-delay: 2.1s; } .sp7 { left: 59%; animation-delay: 6.3s; width: 5px; height: 5px; }
.sp8 { left: 66%; animation-delay: 4.4s; } .sp9 { left: 73%; animation-delay: 7.2s; width: 4px; height: 4px; }
.sp10 { left: 80%; animation-delay: 1.8s; } .sp11 { left: 86%; animation-delay: 5.8s; width: 6px; height: 6px; }
.sp12 { left: 92%; animation-delay: 3.3s; } .sp13 { left: 97%; animation-delay: 8.1s; width: 4px; height: 4px; }
@keyframes floatUp { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; }
  100% { transform: translateY(-340px) scale(1.2); opacity: 0; } }

/* frases rotando: 10 frases x 5 s */
.quote-rotator { position: relative; z-index: 1; min-height: 190px; }
.qslide { position: absolute; inset: 0; margin: 0; display: flex; gap: 18px; align-items: center; padding: 18px;
  border-radius: 16px; background: rgba(10, 6, 20, .55); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px); opacity: 0; animation: qrot 50s infinite; }
.qs1 { animation-delay: 0s; } .qs2 { animation-delay: 5s; } .qs3 { animation-delay: 10s; } .qs4 { animation-delay: 15s; }
.qs5 { animation-delay: 20s; } .qs6 { animation-delay: 25s; } .qs7 { animation-delay: 30s; } .qs8 { animation-delay: 35s; }
.qs9 { animation-delay: 40s; } .qs10 { animation-delay: 45s; }
@keyframes qrot { 0% { opacity: 0; transform: translateX(30px) scale(.97); } 2% { opacity: 1; transform: none; }
  9% { opacity: 1; transform: none; } 11% { opacity: 0; transform: translateX(-30px) scale(.97); } 100% { opacity: 0; } }
.qavatar { width: 96px; height: 96px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--c2), var(--c1)); box-shadow: 0 0 0 3px #fff, 0 0 26px 6px var(--c2);
  animation: bob 3s ease-in-out infinite; }
.qavatar img { width: 100%; height: 100%; object-fit: cover; }
.qavatar .glyph { font-size: 44px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.qbody blockquote { margin: 0 0 8px; font-size: 1.08rem; font-style: italic; line-height: 1.4; }
.qbody figcaption { font-size: 0.9rem; opacity: .9; }
.qbody .quse { margin-top: 8px; display: inline-block; background: rgba(255, 255, 255, .15); padding: 4px 10px; border-radius: 999px; font-size: 0.85rem; }

/* cinta de personaje -> perfume */
.ticker { overflow: hidden; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
.ticker-track { display: inline-flex; gap: 26px; white-space: nowrap; padding: 9px 0; animation: ticker 60s linear infinite; }
.tk { font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tk i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2)); font-size: 12px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* tarjetas que aparecen y se levantan */
.rise { animation: riseIn .7s ease both; }
.r1 { animation-delay: .05s; } .r2 { animation-delay: .12s; } .r3 { animation-delay: .19s; } .r4 { animation-delay: .26s; }
.r5 { animation-delay: .33s; } .r6 { animation-delay: .40s; } .r7 { animation-delay: .47s; } .r8 { animation-delay: .54s; }
.r9 { animation-delay: .61s; } .r10 { animation-delay: .68s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.acard { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.acard:hover { transform: translateY(-6px) rotate(-.4deg); border-color: var(--c1); box-shadow: 0 14px 30px -12px var(--c1); }
.acard:hover .glyph { animation: spin 1.2s ease; }
@keyframes spin { from { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.2); } to { transform: rotate(360deg) scale(1); } }
/* el perfume del personaje, pequeñito junto a su avatar */
.avatar-wrap { position: relative; flex: none; }
.aperf { position: absolute; right: -10px; bottom: -6px; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--c1, #c9a44c); box-shadow: 0 4px 12px rgba(0, 0, 0, .6); transform: rotate(8deg);
  transition: transform .2s; text-decoration: none; }
.aperf img { width: 100%; height: 100%; object-fit: contain; }
.aperf:hover { transform: rotate(0) scale(1.6); z-index: 2; }
.quse { display: inline-flex !important; align-items: center; gap: 6px; }
.quse-img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: #fff; }
.mini-voice { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.mini-voice audio { width: 100%; height: 32px; }

@media (max-width: 800px) {
  .otaku-hero { grid-template-columns: 1fr; padding: 20px; }
  .quote-rotator { min-height: 230px; }
  .qavatar { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .otaku-hero, .sp, .qavatar, .ticker-track, .rise, .acard:hover .glyph { animation: none; }
  .qslide { animation: none; opacity: 0; } .qs1 { opacity: 1; }
  .sp { display: none; }
}

/* ---------------------------------------------------------- videos */
.videos { margin: 28px 0; }
.videos h3 { margin: 0; }
.yt-grid { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.yt-grid a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.yt-grid a:hover .yt-thumb img { transform: scale(1.05); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 36px; border-radius: 10px; background: rgba(220, 0, 0, .9);
  color: #fff; display: grid; place-items: center; font-size: 16px; }
.yt-title { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.video-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.vbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.9rem; color: #fff; }
.vbtn.yt { background: #d40000; }
.vbtn.tt { background: #111; border: 1px solid #333; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }

/* ---------------------------------------------------------- publicidad (discreta y rotulada) */
.ad { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 22px;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.ad img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; flex: none; }
.ad-body { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.ad-body span { color: var(--muted); }
.ad-tag { position: absolute; top: 6px; right: 10px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ad-cta { margin-left: auto; flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.ad-card { border-style: dashed; position: relative; }
.ad-card .ad-tag { top: 8px; right: 12px; }
.ad-cta-in { margin: 6px 0 0; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 640px) { .ad { flex-wrap: wrap; } .ad-cta { margin-left: 0; } }

/* ---------------------------------------------------------- sesión con el personaje (pantalla de espera) */
.stage { position: relative; overflow: hidden; min-height: 70vh; border-radius: 18px; padding: 28px 20px 24px;
  background: radial-gradient(circle at 50% 40%, #0f2a1b 0%, #050505 70%); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; }
.speedlines { position: absolute; inset: -50%; pointer-events: none; opacity: .18;
  background: repeating-conic-gradient(from 0deg, #8ef0b0 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 60%); mask: radial-gradient(circle, transparent 18%, #000 60%);
  animation: lines 2.2s linear infinite; }
@keyframes lines { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(4deg) scale(1.04); } to { transform: rotate(0deg) scale(1); } }
.menace { position: absolute; inset: 0; pointer-events: none; }
.menace span { position: absolute; font-size: 54px; font-weight: 900; color: #b46cff; opacity: 0;
  text-shadow: 3px 3px 0 #2b0a44, 0 0 18px rgba(180, 108, 255, .6); animation: gogo 2.4s ease-in-out infinite; }
.m1 { left: 4%; top: 12%; } .m2 { left: 10%; top: 30%; animation-delay: .4s; font-size: 40px; } .m3 { left: 6%; top: 52%; animation-delay: .8s; }
.m4 { right: 5%; top: 14%; animation-delay: .2s; } .m5 { right: 10%; top: 34%; animation-delay: .6s; font-size: 40px; } .m6 { right: 6%; top: 56%; animation-delay: 1s; }
@keyframes gogo { 0% { opacity: 0; transform: translateY(8px) scale(.9) skewX(-8deg); } 30% { opacity: 1; }
  60% { opacity: 1; transform: translateY(-6px) scale(1.06) skewX(-8deg); } 100% { opacity: 0; transform: translateY(-14px) scale(1) skewX(-8deg); } }

.duel { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.who { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.who .face { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; font-weight: 900;
  background: radial-gradient(circle at 30% 30%, #8ef0b0, #136b3b); color: #04170b; box-shadow: 0 0 0 3px #050505, 0 0 0 5px #8ef0b0;
  animation: shake 2.6s ease-in-out infinite; }
.who.right .face { background: radial-gradient(circle at 30% 30%, #e0b3ff, #4b2a7b); color: #fff; box-shadow: 0 0 0 3px #050505, 0 0 0 5px #b46cff; animation-delay: 1.3s; }
.stage.plan .who.right .face { background: radial-gradient(circle at 30% 30%, #ffe3a3, #b07a14); }
.who .tag { font-size: 0.8rem; font-weight: 700; color: var(--muted); max-width: 140px; text-align: center; }
@keyframes shake { 0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-2px, 1px); } 20% { transform: translate(2px, -1px); }
  30% { transform: translate(0, 0); } }
.vs { font-size: 2rem; font-weight: 900; font-style: italic; color: #ffd27a; text-shadow: 3px 3px 0 #b5302b; animation: vsPulse 1s ease-in-out infinite; }
@keyframes vsPulse { 0%, 100% { transform: scale(1) rotate(-6deg); } 50% { transform: scale(1.18) rotate(-6deg); } }

.bubbles { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; width: min(560px, 100%); display: flex; flex-direction: column; gap: 10px; }
.bub { position: relative; max-width: 78%; padding: 10px 16px; border-radius: 18px; font-weight: 700; line-height: 1.35;
  background: #fff; color: #0b0b0b; border: 3px solid #0b0b0b; box-shadow: 4px 4px 0 #8ef0b0;
  opacity: 0; transform: scale(.4) rotate(-4deg); animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.bub.l { align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.r { align-self: flex-end; border-bottom-right-radius: 4px; background: #f4e8ff; box-shadow: -4px 4px 0 #b46cff; font-style: italic; }
.bub.l::after, .bub.r::after { content: ""; position: absolute; bottom: -12px; width: 16px; height: 16px; background: inherit;
  border: 3px solid #0b0b0b; border-top: 0; }
.bub.l::after { left: 10px; border-left: 0; transform: skewX(30deg); }
.bub.r::after { right: 10px; border-right: 0; transform: skewX(-30deg); }
.b1 { animation-delay: .2s; } .b2 { animation-delay: 2.6s; } .b3 { animation-delay: 5s; } .b4 { animation-delay: 7.6s; }
.b5 { animation-delay: 10s; } .b6 { animation-delay: 13s; } .b7 { animation-delay: 16.5s; } .b8 { animation-delay: 20s; }
.b8 { background: #8ef0b0 !important; box-shadow: 4px 4px 0 #ffd27a !important; font-size: 1.1rem; }
@keyframes pop { to { opacity: 1; transform: scale(1) rotate(0); } }
.typing { position: relative; z-index: 1; margin: 18px 0 0; font-weight: 700; color: var(--accent); }
.typing span { animation: blink 1.2s infinite; } .typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.stage-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 20px; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .speedlines, .menace span, .who .face, .vs, .typing span { animation: none; }
  .bub { animation: none; opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- Yakuza-san: frase en japonés */
.jpq { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #0f1f16, #101211);
  border: 1px solid #1f4a30; border-left: 4px solid var(--c1, var(--accent)); }
.jpq .alead { margin: 0 0 6px; font-size: 0.8rem; color: var(--muted); }
.jpq .jp { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif; }
.jpq .romaji { margin: 2px 0 8px; font-style: italic; color: var(--muted); font-size: 0.9rem; }
.jpq .tr { margin: 0; font-size: 1rem; }
.tr-tag { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-size: 0.72rem; font-weight: 800; font-style: normal; vertical-align: 2px; }
.qjp { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif; color: #ffd27a; }
.smell-line { margin: 12px 0 0; font-size: 0.9rem; color: var(--muted); }
.smell-line b { color: var(--text); }
.chip.smell { background: #1c2a12; color: #d6f5a3; }
.san { display: flex; gap: 12px; align-items: center; padding: 12px 16px; margin: 0 0 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); }
.san p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.san strong { color: var(--accent); }
.san-face { font-size: 30px; width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8ef0b0, #136b3b); }
/* Yakuza-san versión "la familia": frío, rojo sangre y negro, una sola ampolleta */
.san { background: linear-gradient(135deg, #1a0606, #0a0a0c 70%); border-color: #4a1414; }
.san strong { color: #e04848; letter-spacing: .03em; }
.san-face { background: radial-gradient(circle at 35% 30%, #3a0d0d, #050505 70%); box-shadow: 0 0 0 2px #7a1c1c, 0 0 16px rgba(224, 72, 72, .35); }
.jpq { background: linear-gradient(135deg, #160707, #0c0c0e); border-color: #3a1212; }
.tr-tag { background: #b32626; color: #fff; }
.stage.anime { background: radial-gradient(ellipse at 50% 0%, rgba(255, 228, 170, .16) 0%, transparent 45%),
  radial-gradient(circle at 50% 45%, #2a0808 0%, #050505 70%); border-color: #3a1212; }
.stage.anime::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 40px; background: #333; transform: translateX(-50%); }
.stage.anime::after { content: ""; position: absolute; top: 38px; left: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translateX(-50%);
  background: #ffe7aa; box-shadow: 0 0 30px 12px rgba(255, 220, 150, .45); animation: bulb 4s ease-in-out infinite; }
@keyframes bulb { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .3; } 50% { opacity: 1; } 52% { opacity: .5; } 53% { opacity: 1; } }
.stage.anime .speedlines { background: repeating-conic-gradient(from 0deg, #b32626 0deg 1deg, transparent 1deg 11deg); opacity: .12; }
.stage.anime .menace span { color: #e04848; text-shadow: 3px 3px 0 #1a0505, 0 0 18px rgba(224, 72, 72, .5); }
.stage.anime .who.left .face { background: radial-gradient(circle at 35% 30%, #3a0d0d, #050505 70%); box-shadow: 0 0 0 3px #050505, 0 0 0 5px #b32626; }
.stage.anime .vs { color: #e04848; text-shadow: 2px 2px 0 #000; }
.stage.anime .bub.l { background: #0c0c0e; color: #f1e9e9; border-color: #3a1212; box-shadow: 4px 4px 0 #b32626; font-family: Georgia, serif; }
.stage.anime .bub.l::after { border-color: #3a1212; }
.stage.anime .b8 { background: #b32626 !important; color: #fff; box-shadow: 4px 4px 0 #000 !important; }
.stage.anime .typing { color: #e04848; }
@media (prefers-reduced-motion: reduce) { .stage.anime::after { animation: none; } }
.session-steps { display: grid; gap: 10px; margin: 14px 0; }
.step { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.step p { margin: 4px 0 0; }
.step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--accent); color: var(--on-accent); }

/* ---------------------------------------------------------- Hecho en Chile (rediseño) */
.cl-hero { position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 16px; border: 1px solid var(--line);
  background: radial-gradient(circle at 80% 0%, #1b3a28 0%, #070b09 60%); }
.cl-andes { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.cl-hero-in { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 30px 28px 70px; }
.cl-hero h1 { margin: 0 0 6px; font-size: 2.2rem; letter-spacing: -0.01em; }
.cl-lead { margin: 0 0 14px; max-width: 560px; color: #c9d8ce; }
.cl-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cl-stats li { padding: 6px 12px; border-radius: 999px; background: rgba(142, 240, 176, .1); border: 1px solid rgba(142, 240, 176, .25); font-size: 0.9rem; }
.cl-stats strong { color: var(--accent); }
.cl-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.cl-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 0.9rem; transition: border-color .15s; }
.cl-nav a:hover { border-color: var(--accent); }
.mono, .cl-mono { display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: var(--on-accent);
  background: linear-gradient(135deg, #8ef0b0, #2fb36a); font-family: Georgia, serif; }
.mono { width: 26px; height: 26px; font-size: 0.85rem; }
.cl-house { margin-bottom: 36px; scroll-margin-top: 16px; }
.cl-house-head { display: flex; gap: 16px; align-items: center; padding: 18px; margin-bottom: 14px; border-radius: 16px;
  background: linear-gradient(90deg, var(--surface), #0c1a12); border: 1px solid var(--line); }
.cl-mono { width: 62px; height: 62px; flex: none; font-size: 1.8rem; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px #2fb36a; }
.cl-house-info { flex: 1; min-width: 0; }
.cl-house-info h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; letter-spacing: .02em; }
.cl-house-info p { margin: 4px 0 8px; color: var(--muted); font-size: 0.92rem; }
.cl-chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cl-chips li { font-size: 0.78rem; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.cl-visit { flex: none; }
.cl-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.cl-card a { display: flex; flex-direction: column; height: 100%; padding: 10px; border-radius: 14px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.cl-card a:hover { transform: translateY(-3px); border-color: var(--accent); }
.cl-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-img > span { font-size: 2rem; font-weight: 800; color: #136b3b; }
.cl-badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 800;
  background: rgba(0, 0, 0, .75); color: #fff; }
.cl-badge.sale { background: var(--accent); color: var(--on-accent); }
.cl-card h3 { margin: 10px 0 2px; font-size: 0.95rem; line-height: 1.25; }
.cl-detail { margin: 0; font-size: 0.78rem; color: var(--muted); }
.cl-price { margin: auto 0 0; padding-top: 6px; }
.cl-price strong { font-size: 1.05rem; }
.cl-price s { color: var(--muted); font-size: 0.8rem; }
.cl-card.out a { opacity: .55; }
.cl-more { margin-top: 12px; }
.cl-more summary { cursor: pointer; display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent); font-weight: 700; font-size: 0.9rem; list-style: none; margin-bottom: 12px; }
.cl-more summary::-webkit-details-marker { display: none; }
.cl-more[open] summary { background: var(--accent); color: var(--on-accent); }
@media (max-width: 640px) {
  .cl-hero-in { flex-direction: column; padding: 22px 18px 60px; }
  .cl-hero h1 { font-size: 1.8rem; }
  .cl-house-head { flex-wrap: wrap; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------- filtro Árabes / Diseñador / Nicho */
.origin-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 14px 0 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; scroll-margin-top: 12px; }
.osw { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 700; font-size: 0.92rem; transition: background .2s, color .2s; }
.osw:hover { color: var(--text); background: #18201b; }
.osw .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .5; }
.osw.on { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 16px rgba(142, 240, 176, .35); }
.osw.on .dot { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
.o-arabe .dot { color: #e8b45c; } .o-disenador .dot { color: #7fb2ea; } .o-nicho .dot { color: #b9a2f0; }
.osw.on.o-arabe { background: #e8b45c; color: #1f1405; box-shadow: 0 0 16px rgba(232, 180, 92, .4); }
.osw.on.o-disenador { background: #7fb2ea; color: #081626; box-shadow: 0 0 16px rgba(127, 178, 234, .4); }
.osw.on.o-nicho { background: #b9a2f0; color: #160d2b; box-shadow: 0 0 16px rgba(185, 162, 240, .4); }

/* ---------------------------------------------------------- tema rosado con nubes (Madame Rosalba) */
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) {
  --bg: #ffe6f2; --surface: #fffafd; --text: #4a1838; --muted: #a0577f; --line: #f7c8df;
  --accent: #e9469a; --on-accent: #ffffff; --accent-soft: #ffd9ec; --good: #c2185b; --good-soft: #ffe0ef;
  color-scheme: light;
  background: linear-gradient(180deg, #ffd0e8 0%, #ffe6f2 40%, #fff4fa 100%) fixed;
}
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .top { background: rgba(255, 250, 253, .85); }
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) main, :is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) header, :is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) footer { position: relative; z-index: 1; }
.cloud { position: absolute; width: 180px; height: 60px; border-radius: 60px; background: #fff; opacity: .9;
  box-shadow: 0 8px 20px rgba(233, 70, 154, .08); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; top: -40px; left: 28px; }
.cloud::after { width: 100px; height: 100px; top: -55px; right: 22px; }
.c1 { top: 14%; left: -220px; animation-duration: 48s; }
.c2 { top: 34%; left: -220px; animation-duration: 64s; animation-delay: -20s; transform: scale(.7); }
.c3 { top: 58%; left: -220px; animation-duration: 56s; animation-delay: -38s; }
.c4 { top: 78%; left: -220px; animation-duration: 72s; animation-delay: -10s; transform: scale(.55); }
.c5 { top: 6%; left: -220px; animation-duration: 80s; animation-delay: -55s; transform: scale(.85); }
@keyframes drift { from { translate: 0 0; } to { translate: calc(100vw + 440px) 0; } }
.petal { position: absolute; top: -30px; font-size: 22px; animation: petalFall 14s linear infinite; }
.p1 { left: 12%; } .p2 { left: 38%; animation-delay: -4s; font-size: 16px; } .p3 { left: 66%; animation-delay: -8s; } .p4 { left: 88%; animation-delay: -11s; font-size: 16px; }
@keyframes petalFall { from { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(110vh) rotate(360deg); opacity: 0; } }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .stage { background: radial-gradient(circle at 50% 40%, #fff 0%, #ffd9ec 70%); }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .speedlines { background: repeating-conic-gradient(from 0deg, #e9469a 0deg 1.2deg, transparent 1.2deg 9deg); opacity: .12; }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .bub { box-shadow: 4px 4px 0 #e9469a; }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .who.left .face { background: radial-gradient(circle at 30% 30%, #fff, #ff9fcf); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e9469a; }
@media (prefers-reduced-motion: reduce) { .cloud, .petal { animation: none; } .petal { display: none; } }

/* ---------------------------------------------------------- perfumista */
.pf-hero { display: flex; gap: 22px; align-items: center; padding: 22px; margin-bottom: 16px; border-radius: 18px;
  background: linear-gradient(120deg, #0c1a12, #101211 60%); border: 1px solid var(--line); }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .pf-hero { background: linear-gradient(120deg, #fff, #ffe0ef); }
.pf-avatar { position: relative; width: 120px; height: 120px; flex: none; }
.pf-face { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 64px;
  background: radial-gradient(circle at 30% 30%, #b7ffd2, #1f8f52); box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent);
  animation: bob 3s ease-in-out infinite; }
.pf-rosalba .pf-face { background: radial-gradient(circle at 30% 30%, #fff, #ff9fcf); }
.pf-prop { position: absolute; font-size: 26px; animation: orbit 6s linear infinite; }
.pp1 { top: -6px; right: -10px; } .pp2 { bottom: -4px; right: -14px; animation-delay: -2s; } .pp3 { bottom: 6px; left: -16px; animation-delay: -4s; }
@keyframes orbit { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(8deg); } }
.pf-intro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.pf-title { margin: 2px 0 10px; color: var(--muted); font-weight: 600; }
.pf-say { position: relative; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 2px solid var(--accent);
  font-style: italic; max-width: 560px; }

/* ---------------------------------------------------------- revelación épica */
.reveal { position: relative; overflow: hidden; text-align: center; padding: 34px 20px 28px; margin: 20px 0 14px; border-radius: 22px;
  background: radial-gradient(circle at 50% 35%, #173a26 0%, #070b09 75%); border: 2px solid var(--accent);
  box-shadow: 0 0 40px rgba(142, 240, 176, .25); animation: revealIn .8s cubic-bezier(.2, 1.4, .4, 1) both; }
:is(body.theme-rosa, body.rec-body:has(#para-mujer:checked)) .reveal { background: radial-gradient(circle at 50% 35%, #fff 0%, #ffc6e2 80%); box-shadow: 0 0 40px rgba(233, 70, 154, .3); }
@keyframes revealIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.rays { position: absolute; inset: -60%; pointer-events: none; opacity: .22;
  background: repeating-conic-gradient(from 0deg, var(--accent) 0deg 6deg, transparent 6deg 18deg);
  animation: spinRays 22s linear infinite; }
@keyframes spinRays { to { transform: rotate(360deg); } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.cf { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; background: var(--accent); animation: confetti 3.2s ease-in infinite; }
.cf:nth-child(3n) { background: #ffd27a; } .cf:nth-child(3n+1) { background: #7fb2ea; }
.cf0 { left: 5%; } .cf1 { left: 13%; animation-delay: .4s; } .cf2 { left: 22%; animation-delay: 1.1s; } .cf3 { left: 30%; animation-delay: .2s; }
.cf4 { left: 39%; animation-delay: 1.6s; } .cf5 { left: 47%; animation-delay: .8s; } .cf6 { left: 56%; animation-delay: 1.3s; } .cf7 { left: 64%; animation-delay: .1s; }
.cf8 { left: 72%; animation-delay: 1.9s; } .cf9 { left: 80%; animation-delay: .6s; } .cf10 { left: 88%; animation-delay: 1.4s; } .cf11 { left: 95%; animation-delay: .9s; }
@keyframes confetti { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(560px) rotate(540deg); opacity: 0; } }
.reveal > *:not(.rays):not(.confetti) { position: relative; }
.reveal-kicker { margin: 0; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-size: 0.8rem; }
.reveal-title { margin: 6px 0 16px; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.01em;
  color: var(--accent); text-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }
.reveal-title span { display: inline-block; animation: slam .6s cubic-bezier(.2, 1.8, .4, 1) both; }
.reveal-title span + span { animation-delay: .25s; }
@keyframes slam { from { opacity: 0; transform: scale(2.4) rotate(-6deg); } to { opacity: 1; transform: none; } }
.reveal-bottle { width: 170px; height: 170px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: #fff; box-shadow: 0 0 0 5px var(--accent), 0 0 40px 10px rgba(255, 255, 255, .25);
  animation: bottleIn .9s .5s cubic-bezier(.2, 1.6, .4, 1) both, float 3s 1.4s ease-in-out infinite; }
.reveal-bottle img { width: 100%; height: 100%; object-fit: contain; }
.bottle-emoji { font-size: 80px; }
@keyframes bottleIn { from { opacity: 0; transform: translateY(40px) scale(.3) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal-brand { margin: 0; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--muted); font-size: 0.85rem; }
.reveal-name { margin: 2px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; }
.reveal-block { margin: 10px auto; max-width: 620px; }
.reveal-block p { margin: 2px 0 0; font-size: 1.05rem; }
.rb-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.anotas.center { justify-content: center; }
.chip.note { font-size: 0.85rem; padding: 4px 12px; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1) both; opacity: 0; transform: scale(.4); }
.chip.note.n1 { animation-delay: 1.2s; } .chip.note.n2 { animation-delay: 1.4s; } .chip.note.n3 { animation-delay: 1.6s; }
.chip.note.n4 { animation-delay: 1.8s; } .chip.note.n5 { animation-delay: 2s; }
.reveal-why { max-width: 620px; margin: 10px auto 16px; color: var(--muted); }
.reveal-cta { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  background: var(--accent); color: var(--on-accent); font-size: 1.15rem; font-weight: 900; box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  animation: ctaPulse 1.6s 2.2s ease-in-out infinite; }
.reveal-cta strong { font-size: 0.85rem; font-weight: 700; opacity: .9; }
@keyframes ctaPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.reveal-none { font-weight: 700; color: var(--muted); }
.pcards.one { grid-template-columns: minmax(0, 520px); justify-content: center; }
@media (max-width: 640px) {
  .pf-hero { flex-direction: column; text-align: center; }
  .pf-intro h1 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rays, .cf, .pf-face, .pf-prop, .reveal-bottle, .reveal-cta { animation: none; }
  .reveal-title span, .chip.note { animation: none; opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- ¿Qué uso? — Viktor Kane (noir) */
.noir-hero { position: relative; overflow: hidden; display: flex; gap: 26px; align-items: center; padding: 30px 26px; margin-bottom: 16px;
  border-radius: 18px; border: 1px solid #3a3220; background: radial-gradient(circle at 20% 40%, #2a2414 0%, #0a0a0a 55%, #050505 100%); }
.noir-rain { position: absolute; inset: 0; pointer-events: none; }
.dr { position: absolute; top: -40px; width: 1px; height: 40px; background: linear-gradient(transparent, rgba(220, 200, 140, .45));
  animation: rain 1.1s linear infinite; }
.d0 { left: 3%; } .d1 { left: 9%; animation-delay: .4s; } .d2 { left: 15%; animation-delay: .8s; } .d3 { left: 21%; animation-delay: .2s; }
.d4 { left: 28%; animation-delay: .6s; } .d5 { left: 34%; animation-delay: 1s; } .d6 { left: 41%; animation-delay: .3s; } .d7 { left: 47%; animation-delay: .7s; }
.d8 { left: 53%; animation-delay: .1s; } .d9 { left: 59%; animation-delay: .5s; } .d10 { left: 65%; animation-delay: .9s; } .d11 { left: 71%; animation-delay: .25s; }
.d12 { left: 77%; animation-delay: .65s; } .d13 { left: 83%; animation-delay: .05s; } .d14 { left: 88%; animation-delay: .45s; } .d15 { left: 93%; animation-delay: .85s; }
.d16 { left: 97%; animation-delay: .15s; } .d17 { left: 6%; animation-delay: .55s; }
@keyframes rain { from { transform: translateY(0); } to { transform: translateY(420px); } }
.noir-figure { position: relative; width: 140px; height: 140px; flex: none; }
.noir-face { position: relative; z-index: 1; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; font-size: 76px;
  background: radial-gradient(circle at 35% 30%, #3d3624, #0c0c0c 70%); box-shadow: 0 0 0 3px #050505, 0 0 0 5px #c9a44c; }
.noir-glow { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 76, .35), transparent 65%);
  animation: flicker 3.4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: .9; } 45% { opacity: .55; } 48% { opacity: .95; } 52% { opacity: .4; } 55% { opacity: .9; } }
.noir-intro { position: relative; }
.noir-intro .eyebrow { color: #c9a44c; }
.noir-intro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; letter-spacing: .06em; text-transform: uppercase; color: #f3ead2; }
.noir-title { margin: 2px 0 12px; color: #a89a74; font-style: italic; }
.noir-say { margin: 0; max-width: 560px; padding: 12px 16px; border-left: 3px solid #c9a44c; background: rgba(201, 164, 76, .08); color: #e9e0c6;
  font-family: Georgia, serif; font-size: 1.05rem; }
.noir-form { display: grid; grid-template-columns: minmax(0, 2fr) 100px 170px auto auto; gap: 10px; align-items: end; padding: 14px; margin-bottom: 18px;
  border-radius: 16px; background: #0c0c0c; border: 1px solid #2a2618; }
.noir-form label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 0.82rem; color: #a89a74; font-weight: 700; }
.noir-form label small { font-weight: 500; }
.noir-form textarea, .noir-form input[type=number] { font: inherit; padding: 10px 12px; border: 1px solid #2a2618; border-radius: 10px; background: #050505; color: #f3ead2; resize: vertical; width: 100%; }
.noir-form button { font: inherit; font-weight: 800; padding: 12px 18px; border-radius: 10px; border: 0; cursor: pointer; height: 46px;
  background: linear-gradient(135deg, #e3c26b, #a8832e); color: #1a1405; letter-spacing: .02em; }
.noir-form button:hover { filter: brightness(1.1); }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: end; gap: 0; }
.seg legend { font-size: 0.82rem; color: #a89a74; font-weight: 700; margin-bottom: 4px; padding: 0; float: left; width: 100%; }
.seg .seg-legend { flex: 0 0 100%; font-size: 0.82rem; color: #a89a74; font-weight: 700; margin-bottom: 4px; }
.seg label { white-space: nowrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { cursor: pointer; padding: 11px 12px; border: 1px solid #2a2618; color: #a89a74; font-size: 0.88rem; background: #050505; }
.seg label:first-of-type { border-radius: 10px 0 0 10px; } .seg label:last-of-type { border-radius: 0 10px 10px 0; }
.seg input:checked + label { background: #c9a44c; color: #1a1405; border-color: #c9a44c; }
.seg input:focus-visible + label { outline: 2px solid #c9a44c; outline-offset: 2px; }
.reveal.noir { background: radial-gradient(circle at 50% 30%, #2a2414 0%, #050505 75%); border-color: #c9a44c; box-shadow: 0 0 40px rgba(201, 164, 76, .2); }
.reveal.noir .rays { background: repeating-conic-gradient(from 0deg, #c9a44c 0deg 4deg, transparent 4deg 18deg); opacity: .12; }
.reveal.noir .reveal-title { color: #e3c26b; font-family: Georgia, serif; letter-spacing: .08em; }
.reveal.noir .reveal-bottle { box-shadow: 0 0 0 4px #c9a44c, 0 0 40px 8px rgba(201, 164, 76, .25); }
.reveal.noir .rb-label { color: #c9a44c; }
.reveal.noir .chip.note { background: #1e1a0f; color: #e3c26b; }
.reveal.noir .reveal-why { font-family: Georgia, serif; font-style: italic; }
.reveal.noir .reveal-cta { background: linear-gradient(135deg, #e3c26b, #a8832e); color: #1a1405; }
.stage.pf-viktor { background: radial-gradient(circle at 50% 40%, #2a2414 0%, #050505 70%); }
.stage.pf-viktor .speedlines { background: repeating-conic-gradient(from 0deg, #c9a44c 0deg 1deg, transparent 1deg 10deg); opacity: .1; }
.stage.pf-viktor .bub { box-shadow: 4px 4px 0 #c9a44c; font-family: Georgia, serif; }
.stage.pf-viktor .who.left .face { background: radial-gradient(circle at 35% 30%, #3d3624, #0c0c0c 70%); box-shadow: 0 0 0 3px #050505, 0 0 0 5px #c9a44c; }
.stage.pf-viktor .vs { color: #c9a44c; text-shadow: none; }
@media (max-width: 860px) {
  .noir-hero { flex-direction: column; text-align: center; }
  .noir-say { text-align: left; }
  .noir-form { grid-template-columns: 1fr 1fr; }
  .noir-form .f-plan, .noir-form button, .noir-form .seg { grid-column: 1 / -1; }
}
/* Viktor acompaña al comprador hasta la ficha */
.viktor-guide { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin: 0 0 18px; padding: 16px 20px;
  border-radius: 16px; border: 1px solid #c9a44c; background: radial-gradient(circle at 15% 50%, #2a2414 0%, #050505 70%);
  box-shadow: 0 0 30px rgba(201, 164, 76, .15); animation: vgIn .7s ease-out both; }
.viktor-guide .noir-rain { position: absolute; inset: 0; pointer-events: none; }
.vg-face { position: relative; font-size: 3.4rem; line-height: 1; filter: drop-shadow(0 0 12px rgba(201, 164, 76, .5)); animation: vgStep 1s ease-out both; }
.vg-text { position: relative; display: flex; flex-direction: column; gap: 6px; }
.vg-text .eyebrow { color: #c9a44c; margin: 0; }
.vg-say { margin: 0; font-family: Georgia, serif; font-size: 1.25rem; color: #f3ead2; }
.vg-text audio { height: 34px; max-width: 300px; }
/* Viktor aparece por sorpresa (1 de cada 1000 visitas a un perfume) */
.vx-close-chk { position: absolute; opacity: 0; pointer-events: none; }
.viktor-pop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: min(360px, calc(100vw - 36px)); display: flex; gap: 12px;
  padding: 16px 16px 14px; border-radius: 16px; border: 1px solid #c9a44c; color: #f3ead2;
  background: radial-gradient(circle at 20% 30%, #2a2414 0%, #050505 75%); box-shadow: 0 10px 40px rgba(0, 0, 0, .7), 0 0 30px rgba(201, 164, 76, .25);
  animation: vxIn .9s cubic-bezier(.2, 1.3, .4, 1) .6s both; }
.vx-close-chk:checked + .viktor-pop { display: none; }
.vx-face { font-size: 2.8rem; line-height: 1; animation: vxPeek 2.4s ease-in-out 1.5s 2; }
.vx-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vx-hey { margin: 0; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; color: #e3c26b; letter-spacing: .04em; }
.vx-say { margin: 0; font-family: Georgia, serif; font-size: .98rem; }
.vx-luck { margin: 0; font-size: .75rem; color: #a89a74; font-style: italic; }
.vx-x { position: absolute; top: 6px; right: 10px; cursor: pointer; color: #a89a74; font-size: 1.1rem; padding: 2px 6px; }
.vx-x:hover { color: #f3ead2; }
@keyframes vxIn { from { opacity: 0; transform: translate(120%, 0) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes vxPeek { 50% { transform: rotate(-8deg) scale(1.08); } }
.viktor-guide ~ .offers tr.best td { background: rgba(201, 164, 76, .14); }
.viktor-guide ~ .offers tr.best td:first-child { box-shadow: inset 4px 0 0 #c9a44c; }
.viktor-guide ~ .offers tr.best .btn { background: linear-gradient(135deg, #e3c26b, #a8832e); color: #1a1405; animation: vgPulse 1.6s ease-in-out 1s 3; }
@keyframes vgIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes vgStep { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes vgPulse { 50% { box-shadow: 0 0 0 6px rgba(201, 164, 76, .35); } }
@media (max-width: 600px) { .viktor-guide { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .dr, .noir-glow { animation: none; } .dr { display: none; }
  .viktor-guide, .vg-face, .viktor-guide ~ .offers tr.best .btn, .viktor-pop, .vx-face { animation: none; } }

/* ---------------------------------------------------------- portada con más movimiento */
body.home::before { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(142, 240, 176, .07), transparent 35%),
              radial-gradient(circle at 80% 20%, rgba(127, 178, 234, .06), transparent 30%),
              radial-gradient(circle at 60% 80%, rgba(185, 162, 240, .06), transparent 35%);
  animation: orbs 24s ease-in-out infinite alternate; }
@keyframes orbs { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(4%, -3%) rotate(6deg); } }
.logo span { background: linear-gradient(90deg, var(--accent), #e8fff1, var(--accent)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.home .help-banner { animation: fadeUp .6s ease both; background-size: 200% 100%; }
.home .help-banner:hover { background-position: 100% 0; }
.home .dash .panel { animation: fadeUp .7s ease both; }
.home .dash .famoso { animation-delay: .15s; }
.home .deal-list li { animation: slideIn .5s ease both; }
.home .deal-list li:nth-child(1) { animation-delay: .25s; } .home .deal-list li:nth-child(2) { animation-delay: .32s; }
.home .deal-list li:nth-child(3) { animation-delay: .39s; } .home .deal-list li:nth-child(4) { animation-delay: .46s; }
.home .deal-list li:nth-child(5) { animation-delay: .53s; } .home .deal-list li:nth-child(6) { animation-delay: .6s; }
.home .deal-list li:nth-child(7) { animation-delay: .67s; } .home .deal-list li:nth-child(8) { animation-delay: .74s; }
.home .deal-list li:nth-child(9) { animation-delay: .81s; } .home .deal-list li:nth-child(10) { animation-delay: .88s; }
.home .pct { animation: pctPulse 2.4s ease-in-out infinite; }
@keyframes pctPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } 50% { box-shadow: 0 0 0 4px rgba(94, 234, 212, .18); } }
.home .news-list li { animation: fadeUp .6s ease both; transition: transform .2s, border-color .2s; }
.home .news-list li:nth-child(2) { animation-delay: .08s; } .home .news-list li:nth-child(3) { animation-delay: .16s; }
.home .news-list li:nth-child(4) { animation-delay: .24s; } .home .news-list li:nth-child(5) { animation-delay: .32s; }
.home .news-list li:nth-child(6) { animation-delay: .4s; }
.home .news-list li:hover { transform: translateY(-4px); border-color: var(--accent); }
.home .brand-tile { position: relative; overflow: hidden; }
.home .brand-tile::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(142, 240, 176, .18) 50%, transparent 70%); transition: transform .6s; }
.home .brand-tile:hover::after { transform: translateX(120%); }
.home .grid .card { animation: fadeUp .55s ease both; transition: transform .2s, border-color .2s, box-shadow .2s; }
.home .grid .card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px -14px rgba(142, 240, 176, .45); }
.home .grid .card:hover .thumb img { transform: scale(1.06); }
.home .grid .card .thumb img { transition: transform .35s; }
.home .grid .card:nth-child(4n+2) { animation-delay: .06s; } .home .grid .card:nth-child(4n+3) { animation-delay: .12s; }
.home .grid .card:nth-child(4n+4) { animation-delay: .18s; }
.home .osw.on { animation: fadeUp .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  body.home::before, .logo span, .home .help-banner, .home .dash .panel, .home .deal-list li, .home .pct,
  .home .news-list li, .home .grid .card, .home .osw.on { animation: none; }
}

/* ---------------------------------------------------------- ¿Qué uso? — elige perfumista (VS) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rec-head { text-align: center; margin-bottom: 10px; }
.rec-head h1 { margin: 0; font-size: 2rem; }
body.rec-body:not(:has(#para-mujer:checked)) .sky { display: none; }
.pick { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-card { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 20px 16px 16px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface);
  opacity: .45; filter: grayscale(.7); transform: scale(.95); transition: all .35s cubic-bezier(.2, 1.4, .4, 1); }
.pick-card:hover { opacity: .8; filter: none; }
#para-hombre:checked ~ .pk-andy, #para-mujer:checked ~ .pk-mia, #para-unisex:checked ~ .pick-card {
  opacity: 1; filter: none; transform: scale(1); }
#para-hombre:checked ~ .pk-andy { border-color: #8ef0b0; box-shadow: 0 0 30px rgba(142, 240, 176, .35); }
#para-mujer:checked ~ .pk-mia { border-color: #e9469a; box-shadow: 0 0 30px rgba(233, 70, 154, .35); }
#para-unisex:checked ~ .pick-card { border-color: var(--accent); }
.pick input:focus-visible + .pick-card, .pick input:focus-visible ~ .pick-unisex { outline: 3px solid var(--accent); outline-offset: 3px; }
.pk-face { position: relative; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 60px; margin-bottom: 6px; }
.pk-andy .pk-face { background: radial-gradient(circle at 30% 30%, #b7ffd2, #1f8f52); }
.pk-mia .pk-face { background: radial-gradient(circle at 30% 30%, #fff, #ff8fc6); }
#para-hombre:checked ~ .pk-andy .pk-face, #para-mujer:checked ~ .pk-mia .pk-face { animation: bob 2.6s ease-in-out infinite; }
.pk-prop { position: absolute; font-style: normal; font-size: 24px; opacity: 0; transition: opacity .3s; }
.pk-prop.q1 { top: -6px; right: -12px; } .pk-prop.q2 { bottom: -2px; right: -16px; } .pk-prop.q3 { bottom: 4px; left: -18px; }
#para-hombre:checked ~ .pk-andy .pk-prop, #para-mujer:checked ~ .pk-mia .pk-prop { opacity: 1; animation: orbit 5s ease-in-out infinite; }
.pk-prop.q2 { animation-delay: -1.6s !important; } .pk-prop.q3 { animation-delay: -3.2s !important; }
.pk-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; }
.pk-title { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.pk-say { margin-top: 8px; padding: 8px 12px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line); font-style: italic; font-size: 0.9rem; }
.pk-tag { position: absolute; top: 10px; left: 12px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pick-vs { align-self: center; font-size: 2.2rem; font-weight: 900; font-style: italic; color: #ffd27a; text-shadow: 3px 3px 0 #b5302b;
  animation: vsPulse 1.1s ease-in-out infinite; }
.pick-unisex { grid-column: 1 / -1; justify-self: center; cursor: pointer; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 0.88rem; }
.pick-unisex small { font-weight: 500; }
#para-unisex:checked ~ .pick-unisex { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.rec-fields { display: grid; grid-template-columns: minmax(0, 2fr) 110px 190px auto; gap: 10px; align-items: end;
  padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.rec-fields label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.rec-fields textarea, .rec-fields input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); resize: vertical; width: 100%; }
.rec-fields button { font: inherit; font-weight: 800; padding: 12px 18px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); height: 46px; }
.pcard.premium { border-top: 4px solid #ffd27a; }
.pcard.premium .eyebrow { color: #e8b45c; }
@media (max-width: 760px) {
  .pick { grid-template-columns: 1fr 1fr; }
  .pick-vs { display: none; }
  .pk-face { width: 80px; height: 80px; font-size: 44px; }
  .pk-say { display: none; }
  .rec-fields { grid-template-columns: 1fr 1fr; }
  .rec-fields .f-plan, .rec-fields button { grid-column: 1 / -1; }
}

/* paletas propias inspiradas en cada personaje */
.av-gojo    { --c1: #3d8bff; --c2: #bfe3ff; }
.av-levi    { --c1: #3f5240; --c2: #a9b8a3; }
.av-light   { --c1: #8c2b2b; --c2: #d9a066; }
.av-luffy   { --c1: #d62828; --c2: #f2c14e; }
.av-vegeta  { --c1: #1d3c8f; --c2: #e6c35c; }
.av-makima  { --c1: #a3262a; --c2: #f0c75b; }
.av-naruto  { --c1: #f2771a; --c2: #ffd27a; }
.av-killua  { --c1: #6a5acd; --c2: #c9f0ff; }
.av-yor     { --c1: #2a1a22; --c2: #c2185b; }
.av-lelouch { --c1: #4b2a7b; --c2: #b28be0; }
.mini-avs i { background: linear-gradient(135deg, var(--c1), var(--c2)); }

@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .deals-body { grid-template-columns: 1fr; }
  .tux-wrap { position: static; order: -1; }
  .tux { max-width: 150px; }
  .deal-list a { grid-template-columns: 18px 36px minmax(0, 1fr) auto; }
  .deal-list .pct { display: none; }
  .topnav { margin-left: 0; }
  .house-head { flex-direction: column; }
  .hero { flex-direction: column; align-items: flex-start; }
  .offers thead { display: none; }
  .offers, .offers tbody, .offers tr, .offers td { display: block; width: 100%; }
  .offers tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .offers td { border: 0; padding: 4px 12px; text-align: left; }
  .offers td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.85rem; }
  .offers .num { text-align: left; }
  .offers s { display: inline; margin-left: 6px; }
}

/* ================================================================ MacerateCenter: marca, cuentas, opiniones, panel */
.logo.has-img { display: inline-flex; align-items: center; gap: 10px; }
.logo.has-img img { height: 40px; width: 40px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px #c9a44c55; }
.site-banner { margin: 0 0 18px; border-radius: 16px; overflow: hidden; border: 1px solid #2a2618; }
.site-banner img { width: 100%; height: auto; display: block; aspect-ratio: 1408 / 560; object-fit: cover; object-position: center 40%; }
.viktor-img { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; border-radius: 14px;
  filter: drop-shadow(0 8px 24px rgba(201, 164, 76, .25)); }
.topnav .nav-user { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent); }
.flashes { margin-top: -8px; margin-bottom: 14px; }
.flash { margin: 0 0 8px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid #1f4a30; color: var(--text); font-weight: 600; }
.flash.error { background: #2a0e0e; border-color: #6b1d1d; color: #ffd6d6; }
.flash.test { background: #2b2205; border-color: #6b5410; color: #ffe8a3; }
.btn.ghost, button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.small { padding: 4px 10px; font-size: .8rem; }

/* estrellas */
.stars { color: #3a423d; letter-spacing: 1px; white-space: nowrap; }
.stars i { font-style: normal; }
.stars i.on { color: #ffcc4d; }
.rv-avg { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.rv-avg.small { font-size: .85rem; }
.reviews { margin: 26px 0; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.reviews .section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.reviews h3 { margin: 0; }
.rv-form { display: grid; gap: 10px; margin: 12px 0 18px; }
.rv-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); resize: vertical; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rv-actions button, .acct-form button, .admin-actions button { font: inherit; font-weight: 800; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; background: var(--accent); color: var(--on-accent); }
.rv-actions button.ghost { background: transparent; color: #ffb3b3; border: 1px solid #6b1d1d; }
.star-pick { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-pick legend { float: left; width: 100%; font-size: .85rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label { font-size: 2rem; line-height: 1; cursor: pointer; color: #3a423d; transition: color .1s, transform .1s; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: #ffcc4d; }
.star-pick label:hover { transform: scale(1.15); }
.star-pick input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.rv-login { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rv-list li { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.rv-head { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-text { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.store-link { color: var(--text); text-decoration: underline dotted; }

/* tiendas */
.store-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.store-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.store-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sc-mono { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem;
  background: radial-gradient(circle at 30% 30%, #8ef0b0, #136b3b); color: #04170b; }
.sc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-hero .btn { margin-right: 8px; }

/* cuenta */
.acct { max-width: 560px; }
.acct-form { display: grid; gap: 12px; margin: 14px 0; }
.acct-form label, .admin-card label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.acct-form input, .admin-card input:not([type=checkbox]):not([type=radio]), .admin-card select, .admin-tests input {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
form.inline { display: inline; }

/* panel de administración */
.admin { max-width: 980px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.admin-nav a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .88rem; }
.admin-card { margin: 16px 0 8px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.admin-card h2 { margin: 0; font-size: 1.15rem; }
.admin-card h3 { margin: 0 0 8px; font-size: 1rem; }
.admin-cols { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.admin-sub { padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 10px; }
.admin-tests { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.admin-tests input { max-width: 280px; }
.admin-tests button { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.admin-actions { display: flex; gap: 10px; }
.admin small.ok { color: var(--accent); font-weight: 700; }
.admin small.warn { color: #ffcc4d; font-weight: 700; }
.admin .chk { flex-direction: row !important; align-items: center; gap: 6px !important; font-weight: 600 !important; }
.seg-plain { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.seg-plain legend { font-weight: 700; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.switch { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; color: var(--text) !important; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .sl { width: 46px; height: 26px; border-radius: 999px; background: #3a423d; position: relative; transition: background .15s; flex: none; }
.switch .sl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .sl { background: var(--accent); }
.switch input:checked + .sl::after { transform: translateX(20px); }
.switch input:focus-visible + .sl { outline: 2px solid var(--accent); outline-offset: 2px; }
.admin-table td { vertical-align: top; font-size: .88rem; }
.admin-table .mod { display: flex; flex-direction: column; gap: 4px; }
.admin-table .mod button { width: 100%; }

/* El Interrogatorio: foto real del personaje */
.avatar img, .qavatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.who .face.has-photo { overflow: hidden; padding: 0; }
.who .face.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.mugshot { margin: 22px 0; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #160707, #0c0c0e); border: 1px solid #3a1212; animation: riseIn .8s ease both; }
.mug-frame { position: relative; border-radius: 12px; overflow: hidden; border: 3px solid #b32626; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  background: repeating-linear-gradient(0deg, #1a1a1d 0 22px, #222226 22px 24px); }
.mug-frame img { width: 100%; height: auto; display: block; }
.mug-stamp { position: absolute; right: -6px; bottom: 18px; transform: rotate(-12deg); padding: 4px 12px; border: 3px solid #e04848; color: #e04848;
  font-weight: 900; letter-spacing: .08em; background: rgba(0, 0, 0, .55); font-size: .9rem; }
.mugshot figcaption strong { display: block; font-size: 1.5rem; margin: 4px 0; }
.mugshot .eyebrow { color: #e04848; }
@media (max-width: 640px) { .mugshot { grid-template-columns: 1fr; } }

/* precios por tienda: barras simples (reemplaza el gráfico) */
.pricebars { margin: 22px 0; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pricebars .section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.pricebars h3 { margin: 0; }
.good { color: var(--accent); }
.pb-list { list-style: none; padding: 0; margin: 14px 0 10px; display: grid; gap: 10px; }
.pb-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 12px; align-items: center; }
.pb-store { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-track { background: var(--bg); border-radius: 8px; height: 34px; overflow: hidden; border: 1px solid var(--line); }
.pb-bar { display: flex; align-items: center; height: 100%; padding: 0 10px; border-radius: 7px; background: #2b3530; color: var(--text);
  animation: pbGrow .8s ease-out both; transform-origin: left; }
.pb-best .pb-bar { background: linear-gradient(90deg, #1f8f52, #8ef0b0); color: #04170b; }
.pb-best { font-size: 1.05rem; }
.pb-note { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.3; }
.pb-note em { font-style: normal; font-weight: 700; color: var(--muted); }
.pb-note .good { color: var(--accent); }
.pb-note .down { color: var(--accent); } .pb-note .up { color: #ff9b8a; }
.pb-bar.w35 { width: 35%; } .pb-bar.w40 { width: 40%; } .pb-bar.w45 { width: 45%; } .pb-bar.w50 { width: 50%; } .pb-bar.w55 { width: 55%; } .pb-bar.w60 { width: 60%; } .pb-bar.w65 { width: 65%; } .pb-bar.w70 { width: 70%; } .pb-bar.w75 { width: 75%; } .pb-bar.w80 { width: 80%; } .pb-bar.w85 { width: 85%; } .pb-bar.w90 { width: 90%; } .pb-bar.w95 { width: 95%; } .pb-bar.w100 { width: 100%; }
@keyframes pbGrow { from { transform: scaleX(.2); opacity: .3; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .pb-list li { grid-template-columns: 1fr; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .pb-bar { animation: none; } }

/* "este personaje usa este perfume" */
.usedby { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.usedby a, .usedby li > span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: linear-gradient(135deg, #1a0606, #101211); border: 1px solid #4a1414; color: var(--text); text-decoration: none; font-size: .85rem;
  animation: riseIn .6s ease both; }
.usedby a:hover { border-color: #e04848; }
.ub-av { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 900;
  background: radial-gradient(circle at 35% 30%, #3a0d0d, #050505 70%); box-shadow: 0 0 0 2px #b32626; }
.ub-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.card-users { position: absolute; top: 8px; left: 8px; display: flex; z-index: 2; }
.card-users .ub-av { width: 30px; height: 30px; font-size: .8rem; margin-right: -8px; box-shadow: 0 0 0 2px #050505, 0 0 0 3px #b32626; }

.card a { position: relative; }

/* imágenes propias de Viktor / Yakuza-san (generadas con Gemini) */
.san-face.has-photo, .noir-face.has-photo { overflow: hidden; padding: 0; }
.san-face.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.noir-face.has-photo { display: block; width: 100%; height: 100%; border-radius: 50%; }
.noir-face.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.gen-row { gap: 14px; }
.gen-card { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.gen-card img, .gen-empty { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--muted); }

/* tabla de precios unificada (precio + barra + comparación) */
.price-compare { margin: 18px 0; }
.price-compare .section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.price-compare h3 { margin: 0; }
.mini-track { display: block; width: 110px; height: 6px; margin: 6px 0 0 auto; border-radius: 4px; background: var(--bg); overflow: hidden; }
.mini-track .pb-bar { height: 100%; padding: 0; border-radius: 4px; background: #3a4a42; display: block; }
.offers tr.best .mini-track .pb-bar { background: linear-gradient(90deg, #1f8f52, #8ef0b0); }
.offers .cmp { font-size: .85rem; line-height: 1.35; }
.offers .cmp em { display: block; font-style: normal; font-weight: 700; color: var(--muted); }
.offers .cmp em.good, .offers .cmp .down { color: var(--accent); }
.offers .cmp .up { color: #ff9b8a; }
.offers .cmp span { display: block; }

/* recomendaciones de personajes en la ficha */
.char-recs { margin: 24px 0; }
.char-recs .section-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.char-recs h3 { margin: 0; }
.cr-grid { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cr-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, #1a0606, #0c0c0e 60%); border: 1px solid #3a1212; transition: transform .15s, border-color .15s; }
.cr-grid a:hover { transform: translateY(-3px); border-color: #e04848; }
.cr-who { display: flex; gap: 8px; align-items: center; }
.cr-who small { display: block; color: var(--muted); font-size: .75rem; }
.cr-perf { display: flex; gap: 10px; align-items: center; font-size: .85rem; }
.cr-perf img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.cr-perf strong { display: block; color: var(--accent); }

/* aviso flotante que va rotando mientras se mira el perfume */
.cr-toast { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: min(320px, calc(100vw - 36px)); height: 78px; pointer-events: none; }
.vx-close-chk:checked + .cr-toast { display: none; }
.cr-toast .vx-x { pointer-events: auto; z-index: 2; top: -6px; right: -4px; background: #0c0c0e; border-radius: 50%; border: 1px solid #3a1212; line-height: 1; padding: 4px 7px; }
.crt { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, #1a0606, #0c0c0e); border: 1px solid #b32626; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(20px); animation: crtRot 40s infinite; pointer-events: none; font-size: .85rem; line-height: 1.35; }
.crt-txt strong { color: var(--accent); }
.crt1 { animation-delay: 4s; } .crt2 { animation-delay: 12s; } .crt3 { animation-delay: 20s; } .crt4 { animation-delay: 28s; } .crt5 { animation-delay: 36s; }
@keyframes crtRot { 0% { opacity: 0; transform: translateY(20px); pointer-events: none; } 2% { opacity: 1; transform: none; pointer-events: auto; }
  16% { opacity: 1; transform: none; pointer-events: auto; } 19% { opacity: 0; transform: translateY(-10px); pointer-events: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cr-toast { display: none; } }
@media (max-width: 640px) { .cr-toast { display: none; } }

/* acercar la cara de Viktor en los círculos */
.noir-face.has-photo img, .stage.pf-viktor .who.left .face.has-photo img { object-position: 50% 12%; transform: scale(1.9); transform-origin: 50% 20%; }

/* avisos de personajes: aparecen en distintas partes de la pantalla, uno tras otro */
.cr-toast { position: static; width: auto; height: auto; pointer-events: none; }
.crt { position: fixed; inset: auto; z-index: 40; width: min(310px, calc(100vw - 36px)); height: auto; padding: 0; display: block; }
.crt a { display: flex; gap: 10px; align-items: center; padding: 10px 30px 10px 12px; color: var(--text); text-decoration: none; }
.crt-txt small { display: block; color: #e04848; font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.crt-x { position: absolute; top: 4px; right: 8px; cursor: pointer; color: var(--muted); font-size: .9rem; }
.crt-x:hover { color: var(--text); }
.crt1 { left: 18px; bottom: 18px; }
.crt2 { right: 18px; top: 96px; }
.crt3 { left: 18px; top: 38%; }
.crt4 { right: 18px; bottom: 120px; }
.crt5 { left: calc(50% - 155px); top: 96px; }

/* pop-up de súper oferta */
.sd-pop { position: fixed; z-index: 45; left: calc(50% - 180px); bottom: 22px; width: min(360px, calc(100vw - 24px)); padding: 14px 16px;
  border-radius: 18px; background: radial-gradient(circle at 20% 0%, #3a2a05, #0c0c0e 70%); border: 2px solid #ffcc4d;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .75), 0 0 40px rgba(255, 204, 77, .25); animation: sdIn .7s cubic-bezier(.2, 1.4, .4, 1) 3s both; }
.vx-close-chk:checked + .sd-pop { display: none; }
.sd-kicker { margin: 0 0 8px; font-weight: 900; letter-spacing: .06em; color: #ffcc4d; animation: sdPulse 1.4s ease-in-out 4s 4; }
.sd-body { display: flex; gap: 12px; align-items: center; color: var(--text); text-decoration: none; }
.sd-img { width: 70px; height: 70px; flex: none; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 2rem; }
.sd-img img { width: 100%; height: 100%; object-fit: contain; }
.sd-txt { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.sd-txt strong { font-size: 1.3rem; color: var(--accent); }
.sd-txt s { color: var(--muted); }
.sd-txt small { color: var(--muted); }
.sd-cta { display: block; margin-top: 10px; text-align: center; padding: 9px; border-radius: 10px; background: #ffcc4d; color: #1a1405; font-weight: 800; text-decoration: none; }
@keyframes sdIn { from { opacity: 0; transform: translateY(60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes sdPulse { 50% { transform: scale(1.06); } }
@media (max-width: 640px) { .sd-pop { left: 12px; } }
@media (prefers-reduced-motion: reduce) { .sd-pop, .sd-kicker { animation: none; } }

/* ficha de confianza de tiendas */
.trust-pill { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; width: fit-content; }
.trust-pill.hi, .trust-card.hi .trust-score { background: #0f2a1b; color: var(--accent); border: 1px solid #1f6b3e; }
.trust-pill.mid, .trust-card.mid .trust-score { background: #2b2205; color: #ffcc4d; border: 1px solid #6b5410; }
.trust-pill.lo, .trust-card.lo .trust-score { background: #2a0e0e; color: #ff9b8a; border: 1px solid #6b1d1d; }
.trust-card { margin: 20px 0; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.trust-head { display: flex; gap: 16px; align-items: center; }
.trust-head h3 { margin: 0 0 4px; }
.trust-score { width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; }
.trust-score b { font-size: 1.6rem; line-height: 1; } .trust-score small { font-size: .75rem; }
.trust-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.trust-list li { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.trust-list li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex: none; }
.trust-list li.ok span { background: #0f2a1b; color: var(--accent); }
.trust-list li.no span { background: #2a0e0e; color: #ff9b8a; }
.trust-list li.no { color: var(--muted); }

/* Hecho en Chile: Don Tomás, el Huaso Ronin */
.cl-hero-in { position: relative; }
.cl-huaso { margin: 0 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 230px; flex: none; text-align: center; }
.huaso { width: 210px; height: auto; overflow: visible; }
.cl-huaso figcaption strong { display: block; color: #e3c26b; font-family: Georgia, serif; letter-spacing: .04em; }
.cl-huaso figcaption span { display: block; font-size: .82rem; font-style: italic; color: var(--muted); line-height: 1.4; }
.hu-body { animation: sway 3.4s ease-in-out infinite; transform-origin: 120px 285px; transform-box: view-box; }
.hu-manta { animation: manta 2.6s ease-in-out infinite; transform-origin: 120px 118px; transform-box: view-box; }
@keyframes manta { 0%, 100% { transform: skewX(0deg); } 50% { transform: skewX(-2.5deg); } }
.hu-hat { animation: hatTip 5s ease-in-out infinite; transform-origin: 120px 64px; transform-box: view-box; }
@keyframes hatTip { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-7deg) translateY(-3px); } 92% { transform: rotate(0); } }
.hu-arm { animation: spritz 2.2s ease-in-out infinite; transform-origin: 160px 155px; transform-box: view-box; }
@keyframes spritz { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-8deg); } }
.huaso .mist { animation: twinkle 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.huaso .spur { animation: spin 4s linear infinite; transform-box: fill-box; transform-origin: center; }
@media (max-width: 860px) { .cl-huaso { margin: 10px auto 0; } .cl-hero-in { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .hu-body, .hu-manta, .hu-hat, .hu-arm, .huaso .mist, .huaso .spur { animation: none; } }

/* Hecho en Chile: banner con Don Tomás */
.cl-banner { position: relative; margin: 0 0 18px; border-radius: 18px; overflow: hidden; border: 1px solid #1f3a2a; }
.cl-banner img { width: 100%; height: auto; display: block; aspect-ratio: 1584 / 672; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
@keyframes clZoom { from { transform: scale(1); } to { transform: scale(1.06); transform-origin: 70% 40%; } }
.cl-banner-txt { position: absolute; right: 0; bottom: 0; width: min(560px, 55%); display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 24px; background: linear-gradient(160deg, rgba(5, 10, 8, .55), rgba(5, 10, 8, .92)); border-top-left-radius: 18px;
  backdrop-filter: blur(3px); }
.cl-banner-txt h1 { margin: 0 0 6px; font-size: 2rem; }
.cl-quote { margin: 0 0 10px; font-style: italic; color: #e9e0c6; font-family: Georgia, serif; line-height: 1.45; }
.cl-quote b { display: block; font-style: normal; color: #e3c26b; font-size: .85rem; margin-top: 4px; }
@media (max-width: 860px) {
  .cl-banner-txt { position: static; width: auto; border-radius: 0; background: #08100c; }
}
@media (prefers-reduced-motion: reduce) { .cl-banner img { animation: none; } }

/* El Interrogatorio: banner de Kurogane Ryūjin */
.yk-banner { position: relative; margin: 0 0 14px; border-radius: 18px; overflow: hidden; border: 1px solid #3a1212; }
.yk-banner img { width: 100%; height: auto; display: block; aspect-ratio: 1584 / 672; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
.yk-banner-txt { position: absolute; left: 0; bottom: 0; width: min(440px, 40%); padding: 20px 22px; border-top-right-radius: 18px;
  background: linear-gradient(200deg, rgba(10, 4, 4, .55), rgba(10, 4, 4, .93)); backdrop-filter: blur(3px); }
.yk-banner-txt .eyebrow { color: #e04848; }
.yk-banner-txt h1 { margin: 0 0 6px; font-size: 2rem; }
.yk-name { margin: 0 0 8px; }
.yk-name b { font-family: Georgia, serif; font-size: 1.15rem; color: #f1e9e9; }
.yk-name span { margin-left: 6px; color: #e04848; font-family: "Yu Gothic", "Meiryo", sans-serif; font-weight: 700; }
.yk-name small { display: block; color: var(--muted); font-size: .8rem; }
.yk-say { margin: 0; font-style: italic; font-family: Georgia, serif; color: #e9dede; }
.otaku-hero.with-banner .otaku-hero-text h1, .otaku-hero.with-banner .otaku-hero-text .eyebrow { display: none; }
@media (max-width: 860px) { .yk-banner-txt { position: static; width: auto; border-radius: 0; background: #0c0606; } }
@media (prefers-reduced-motion: reduce) { .yk-banner img { animation: none; } }
.san-face.has-photo img { object-position: center 18%; }

/* logos de tiendas (vienen con su propio fondo) */
.sc-logo { width: 110px; height: 46px; flex: none; border-radius: 10px; overflow: hidden; background: #f5f2ea; display: grid; place-items: center; }
.sc-logo img, .cl-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.store-thumb { background: #f5f2ea; }
.store-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cl-logo { width: 150px; height: 62px; flex: none; border-radius: 12px; overflow: hidden; background: #f5f2ea; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px #2fb36a; }

/* Hecho en Chile: las de siempre */
.clasicos { margin: 6px 0 26px; }
.clasicos .section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.clasicos h2 { margin: 0; }
.clas-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.clas-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: linear-gradient(160deg, #13201a, #0c0f0d);
  border: 1px solid #1f3a2a; }
.clas-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.clas-top { display: flex; gap: 10px; align-items: center; }
.clas-top h3 { margin: 0; font-family: Georgia, serif; }
.clas-emo { font-size: 1.6rem; }
.clas-buy { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: var(--accent-soft);
  border: 1px solid #1f6b3e; color: var(--text); text-decoration: none; }
.clas-buy img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.clas-buy small { display: block; color: var(--accent); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.clas-buy b { color: var(--accent); }
.clas-buy em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.clas-none { margin-top: auto !important; font-size: .82rem !important; }

/* súper oferta: arriba al centro, ~10 s y se va sola (con barrita de tiempo) */
.sd-pop { top: 92px; bottom: auto; left: calc(50% - 180px); opacity: 0; visibility: hidden; pointer-events: none;
  animation: sdShow 12.5s ease 2s both; }
@keyframes sdShow {
  0% { opacity: 0; visibility: visible; transform: translateY(-40px) scale(.95); pointer-events: auto; }
  5% { opacity: 1; transform: none; }
  90% { opacity: 1; transform: none; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; transform: translateY(-20px); pointer-events: none; } }
.sd-store { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.sd-store img { width: 96px; height: 40px; object-fit: contain; border-radius: 8px; background: #f5f2ea; }
.sd-store b { color: var(--text); }
.sd-timer { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: #ffcc4d;
  transform-origin: left; animation: sdTimer 11s linear 2.6s both; }
@keyframes sdTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 640px) { .sd-pop { top: 70px; } }
@media (prefers-reduced-motion: reduce) { .sd-pop { animation: none; opacity: 1; visibility: visible; pointer-events: auto; } .sd-timer { display: none; } }
.clas-photo { height: 150px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.clas-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.clas-more { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; }
.clas-more a { display: inline-block; padding: 3px 8px; border-radius: 999px; border: 1px solid #1f3a2a; color: var(--muted); text-decoration: none; }
.clas-more a:hover { color: var(--text); border-color: var(--accent); }
.clas-more b { color: var(--accent); }

/* El Interrogatorio: últimos interrogados (personajes pedidos por la gente) */
.asked { margin: 0 0 24px; }
.asked .section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.asked h2, .fixed-title { margin: 0 0 10px; }
.asked-grid { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.asked-grid a { display: flex; gap: 12px; align-items: center; height: 100%; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(26, 6, 6, .92), rgba(12, 12, 14, .92)); border: 1px solid #3a1212; transition: transform .15s, border-color .15s;
  animation: riseIn .6s ease both; }
.asked-grid a:hover { transform: translateY(-3px); border-color: #e04848; }
.asked-av { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem;
  background: radial-gradient(circle at 35% 30%, #3a0d0d, #050505 70%); box-shadow: 0 0 0 2px #b32626; }
.asked-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.asked-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asked-txt small { color: var(--muted); font-size: .75rem; }
.asked-perf { font-size: .85rem; }
.asked-perf em { font-style: normal; color: var(--accent); font-weight: 700; }
.asked-smell { font-size: .75rem; color: var(--muted); }
.fixed-title { font-size: 1.2rem; }

/* ================================================================ Comunidad: perfiles, mural, foro, Ventas */
.cm-av { width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; vertical-align: middle;
  font-weight: 900; background: radial-gradient(circle at 30% 30%, #8ef0b0, #136b3b); color: #04170b; }
.cm-av img { width: 100%; height: 100%; object-fit: cover; }
.cm-av.xl { width: 110px; height: 110px; font-size: 2.6rem; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.role-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; vertical-align: middle; }
.r-admin { background: #b32626; color: #fff; } .r-moderador { background: #1f3a8a; color: #fff; } .r-vip { background: #c9a44c; color: #1a1405; }
.hidden-item { opacity: .45; }
.pf-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 8px 0 18px; }
.pf-id h1 { margin: 0 0 4px; }
.pf-id p { margin: 2px 0; }
.pf-bio { max-width: 520px; }
.ig { font-weight: 700; }
.pf-total { margin-left: auto; text-align: center; padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.pf-total b { display: block; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.pf-total span { font-size: .8rem; color: var(--muted); }
.pf-trio { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 18px; }
.pf-trio div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.pf-trio small { display: block; color: var(--muted); font-size: .78rem; }
.pf-trio b { font-size: 1.02rem; }
.pf-coll, .pf-wall, .pf-sells, .comments { margin: 18px 0; }
.chips { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid #1f4a30; font-size: .88rem; }
.chips.editable form { display: inline; }
.chips.editable button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0; }
.wall-form { display: grid; gap: 8px; margin: 8px 0 14px; }
.wall-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); resize: vertical; }
.wall-form button { justify-self: start; font: inherit; font-weight: 800; padding: 9px 16px; border-radius: 10px; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.wall-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wall-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.wall-list li > div { flex: 1; min-width: 0; }
.wall-head { margin: 0; }
.wall-head a { color: var(--text); text-decoration: none; }
.acct-form.wide { max-width: 720px; }
.acct-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; resize: vertical; }
.pe-photo { display: flex; gap: 16px; align-items: center; }
.forum-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.forum-top h1 { margin: 0; }
.thread-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.thread-list a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; transition: border-color .15s; }
.thread-list a:hover { border-color: var(--accent); }
.tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tl-body small { color: var(--muted); }
.tl-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.post { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.post h1 { margin: 0 0 8px; }
.post-by a { color: var(--text); text-decoration: none; }
.post-body { margin: 12px 0; font-size: 1.02rem; }
.post-imgs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 10px 0; }
.post-imgs img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; }
.post-links { padding-left: 0; list-style: none; }
.mod-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mod-row button { font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; border: 0; background: var(--accent); color: var(--on-accent); }
.mod-row button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.admin-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-inline select { font: inherit; padding: 5px 8px; border-radius: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); }
/* Ventas */
.sale-warn { padding: 10px 14px; border-radius: 12px; background: #2b2205; border: 1px solid #6b5410; color: #ffe8a3; font-size: .9rem; }
.sale-grid { list-style: none; padding: 0; margin: 10px 0 20px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sale-grid a { display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.sale-grid a:hover { transform: translateY(-3px); border-color: #c9a44c; }
.sale-img { position: relative; height: 200px; background: #fff; }
.sale-img img { width: 100%; height: 100%; object-fit: cover; }
.sale-grid.small .sale-img, .sale-grid.small img { height: 140px; }
.sale-grid.small a span { padding: 8px 10px; display: flex; flex-direction: column; font-size: .85rem; }
.sale-cond, .sale-status { position: absolute; top: 8px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.sale-cond { left: 8px; } .c-nuevo { background: var(--accent); color: var(--on-accent); } .c-usado { background: #ffcc4d; color: #1a1405; }
.sale-status { right: 8px; background: #0c0c0e; color: #fff; text-transform: capitalize; }
.sale-info { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; }
.sale-info small { color: var(--muted); font-size: .78rem; }
.sale-info strong { color: var(--accent); font-size: 1.15rem; }
.sale-brand { height: 22px; width: auto; max-width: 120px; object-fit: contain; object-position: left; }
.sale-brand.big { height: 36px; max-width: 220px; }
.sale-brand-t { text-transform: uppercase; letter-spacing: .06em; }
.sale-detail { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.sale-gallery { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.sale-gallery a:first-child { grid-column: 1 / -1; }
.sale-gallery img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; background: #fff; }
.sale-data h1 { margin: 6px 0; }
.sale-price { font-size: 2rem; font-weight: 900; color: var(--accent); margin: 0 0 10px; }
.sale-facts { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.sale-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.sale-facts span { color: var(--muted); }
.seller-box { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid #c9a44c55; display: grid; gap: 6px; }
.seller-box a { color: var(--text); text-decoration: none; }
.verify-photo { margin: 14px 0 0; }
.verify-photo img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: #111; border: 2px dashed #c9a44c; }
.verify-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.sale-form .verify span { color: #ffe8a3; }
@media (max-width: 760px) { .sale-detail { grid-template-columns: 1fr; } .pf-total { margin-left: 0; } }
/* aviso de IA: solo con cuenta, 1 por semana */
.gate { margin: 14px 0; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #1a0606, #0c0c0e); border: 1px solid #b32626; }
.gate-t { margin: 0 0 6px; font-weight: 800; font-size: 1.05rem; }
.gate p { margin: 0 0 10px; }

/* famoso del día con foto */
.fam-head { display: flex; gap: 14px; align-items: center; }
.fam-head h2 { margin: 0; }
.fam-photo { margin: 0; flex: none; text-align: center; }
.fam-photo img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.fam-photo figcaption { font-size: .65rem; color: var(--muted); margin-top: 4px; }

/* página de salida hacia la tienda (5 s) */
.out-stage { display: flex; gap: 26px; align-items: center; margin: 20px 0; padding: 26px; border-radius: 18px;
  background: radial-gradient(ellipse at 20% 30%, #2a0808 0%, #0a0a0c 70%); border: 1px solid #3a1212; }
.out-face { width: 150px; height: 150px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 4rem;
  box-shadow: 0 0 0 4px #050505, 0 0 0 6px #b32626, 0 0 40px rgba(224, 72, 72, .35); animation: bob 3s ease-in-out infinite; }
.out-face img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.out-txt h1 { margin: 4px 0 10px; font-size: 1.6rem; }
.out-txt .eyebrow { color: #e04848; }
.out-say { font-family: Georgia, serif; font-style: italic; color: #e9dede; line-height: 1.5; margin: 0 0 10px; }
.out-say b { display: block; font-style: normal; color: #e04848; margin-top: 4px; }
.out-dest { margin: 0 0 8px; }
.out-logo { height: 46px; width: auto; border-radius: 8px; margin-bottom: 10px; }
.out-count { height: 6px; border-radius: 6px; background: #1a1a1d; overflow: hidden; margin: 6px 0 10px; max-width: 420px; }
.out-bar { display: block; height: 100%; background: linear-gradient(90deg, #b32626, #ffcc4d); transform-origin: left; animation: outBar 5s linear both; }
@keyframes outBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) { .out-stage { flex-direction: column; text-align: center; } .out-count { margin: 6px auto 10px; } }

/* bloqueado para visitantes sin cuenta + retrato hablado + dato real/deducción */
.ask-locked { border: 1px dashed #b32626 !important; background: linear-gradient(135deg, rgba(26, 6, 6, .9), rgba(12, 12, 14, .9)); }
.ask-locked p { margin: 0 0 8px; }
.noir-locked { border-color: #c9a44c !important; background: #0c0c0c; margin-bottom: 18px; }
.example-tag { margin: 6px 0 -4px; padding: 8px 12px; border-radius: 10px; background: #2b2205; border: 1px solid #6b5410; color: #ffe8a3; font-size: .9rem; }
svg.sketch { width: 100%; height: 100%; display: block; }
.avatar svg.sketch, .asked-av svg.sketch, .who .face svg.sketch { border-radius: 50%; }
.mug-frame svg.sketch.big { width: 100%; height: auto; aspect-ratio: 1; }
.truth { display: inline-block; margin: 4px 0 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: #2b2205; color: #ffe8a3; border: 1px solid #6b5410; }
.truth.ok { background: #0f2a1b; color: var(--accent); border-color: #1f6b3e; }

/* salir en el menú */
.nav-logout { display: inline; margin: 0; }
.nav-logout button { font: inherit; font-size: .85rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line); }
.nav-logout button:hover { color: #ffb3b3; border-color: #6b1d1d; }

/* visor de imágenes en la misma página (sin pestañas nuevas) */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; place-items: center; padding: 50px 60px; }
.lightbox:target { display: grid; animation: lbIn .2s ease; }
.lb-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .92); cursor: zoom-out; }
.lightbox img { position: relative; max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8); }
.lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ffe8a3; margin: 0; }
.lb-x, .lb-prev, .lb-next { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(20, 20, 24, .85); color: #fff; text-decoration: none; font-size: 1.6rem; border: 1px solid #333; }
.lb-x { top: 14px; right: 14px; font-size: 1.1rem; }
.lb-prev { left: 10px; top: calc(50% - 23px); } .lb-next { right: 10px; top: calc(50% - 23px); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: #b32626; border-color: #b32626; }
.lb-count { position: absolute; top: 22px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .85rem; pointer-events: none; }
.post-imgs a, .sale-gallery a { cursor: zoom-in; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .lightbox { padding: 60px 8px; } }

/* ================================================================ portada: fondo oscuro con kanjis, pistolas, katanas */
body.home { background: #050505 url("home-bg.svg") 0 0 / 900px repeat fixed; }

/* ================================================================ Ventas con más vida */
body.sales-body { background: #070506 url("home-bg.svg") 0 0 / 900px repeat fixed; }
.sales-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; margin: 6px 0 20px; padding: 30px 28px;
  border-radius: 20px; border: 1px solid #6b5410; background: radial-gradient(ellipse at 80% 20%, #3a2a05 0%, #120c06 45%, #070506 80%);
  box-shadow: 0 0 50px rgba(201, 164, 76, .12) inset; }
.sh-kanji { position: absolute; right: 120px; top: -10px; display: flex; gap: 8px; pointer-events: none;
  font-family: "Yu Gothic", "Meiryo", serif; font-weight: 900; font-size: 7rem; line-height: 1; }
.sh-kanji span { color: transparent; -webkit-text-stroke: 1.5px rgba(201, 164, 76, .25); animation: shFloat 6s ease-in-out infinite; }
.sh-kanji span:nth-child(2) { animation-delay: 1.5s; -webkit-text-stroke-color: rgba(224, 72, 72, .3); }
.sh-kanji span:nth-child(3) { animation-delay: 3s; }
@keyframes shFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
.sh-txt { position: relative; }
.sh-txt .eyebrow { color: #e3c26b; letter-spacing: .2em; }
.sh-txt h1 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 2.8rem; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #f3ead2, #e3c26b, #f3ead2); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 6s linear infinite; }
.sh-txt p { margin: 0 0 12px; color: #d8ceb3; }
.sh-btn { background: linear-gradient(135deg, #e3c26b, #a8832e) !important; color: #1a1405 !important; }
.sh-stats { position: relative; margin-left: auto; text-align: center; padding: 14px 22px; border-radius: 16px; background: rgba(0, 0, 0, .45); border: 1px solid #6b5410; }
.sh-stats b { display: block; font-size: 2.4rem; color: #e3c26b; line-height: 1; }
.sh-stats span { font-size: .8rem; color: #a89a74; }
.sale-grid.big { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.sc-card a { position: relative; border: 1px solid #2a2618 !important; background: linear-gradient(170deg, #15110a, #0b0b0d 55%) !important;
  animation: riseIn .6s ease both; }
.sc-card a:hover { transform: translateY(-6px) rotate(-.4deg) !important; border-color: #c9a44c !important;
  box-shadow: 0 16px 40px -12px rgba(201, 164, 76, .55); }
.sc-card:nth-child(2) a { animation-delay: .06s; } .sc-card:nth-child(3) a { animation-delay: .12s; } .sc-card:nth-child(4) a { animation-delay: .18s; }
.sc-card .sale-img { height: 230px; overflow: hidden; }
.sc-card .sale-img img { transition: transform .5s ease; }
.sc-card a:hover .sale-img img { transform: scale(1.07); }
.sale-price-tag { position: absolute; right: 10px; bottom: 10px; padding: 5px 12px; border-radius: 10px; font-weight: 900; font-size: 1.05rem;
  background: linear-gradient(135deg, #e3c26b, #a8832e); color: #1a1405; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.sale-hot { position: absolute; left: 8px; bottom: 10px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800;
  background: #b32626; color: #fff; animation: sdPulse 1.6s ease-in-out infinite; }
.sale-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; padding-top: 8px;
  border-top: 1px solid #2a2618; font-size: .78rem; color: #a89a74; }
.sale-seller { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.sale-seller .cm-av { width: 24px; height: 24px; font-size: .7rem; }
.sale-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed #2a2618; border-radius: 16px; }
.brand-word { display: inline-block; width: fit-content; padding: 2px 10px; border: 1px solid #c9a44c; border-radius: 6px; color: #e3c26b;
  font-family: Georgia, serif; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.brand-word.big { font-size: 1rem; padding: 4px 14px; }
.sales-admin { margin: 18px 0; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sales-admin summary { cursor: pointer; font-weight: 800; }
/* pop-up épico de bienvenida */
.sw-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; animation: lbIn .3s ease; }
.vx-close-chk:checked + .sw-modal { display: none; }
.sw-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); cursor: pointer; }
.sw-card { position: relative; width: min(520px, 100%); padding: 30px 28px 24px; border-radius: 22px; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #3a2a05 0%, #0c0a08 60%); border: 2px solid #c9a44c;
  box-shadow: 0 0 60px rgba(201, 164, 76, .35), 0 30px 80px rgba(0, 0, 0, .8); animation: swIn .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes swIn { from { opacity: 0; transform: scale(.7) rotate(-3deg); } to { opacity: 1; transform: none; } }
.sw-kanji { position: absolute; inset: -20px 0 auto; font-family: "Yu Gothic", "Meiryo", serif; font-weight: 900; font-size: 9rem; line-height: 1;
  color: rgba(201, 164, 76, .08); pointer-events: none; }
.sw-card .eyebrow { color: #e3c26b; letter-spacing: .2em; position: relative; }
.sw-card h2 { position: relative; margin: 4px 0 10px; font-family: Georgia, serif; font-size: 2rem; color: #f3ead2; letter-spacing: .06em; }
.sw-lead { position: relative; font-family: Georgia, serif; font-style: italic; color: #e9e0c6; margin: 0 0 14px; }
.sw-rules { position: relative; list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; text-align: left; font-size: .92rem; }
.sw-rules li { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .4); border: 1px solid #2a2618; }
.sw-go { position: relative; cursor: pointer; background: linear-gradient(135deg, #e3c26b, #a8832e) !important; color: #1a1405 !important;
  font-weight: 900; padding: 12px 26px !important; font-size: 1.05rem; }
/* preguntas y ofertas */
.sale-offer-top { margin: -4px 0 12px; color: #ffcc4d; }
.sale-qa .is-offer { border-color: #6b5410; background: linear-gradient(135deg, #1e1606, #101211); }
.sale-qa .is-seller { border-color: #c9a44c55; }
.offer-chip { margin: 4px 0; display: inline-block; padding: 3px 12px; border-radius: 999px; background: #2b2205; color: #ffcc4d; border: 1px solid #6b5410; }
.offer-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.offer-row label { display: flex; align-items: center; gap: 8px; color: #ffcc4d; font-weight: 700; }
.offer-row input { font: inherit; width: 140px; padding: 8px 10px; border-radius: 10px; border: 1px solid #6b5410; background: var(--bg); color: var(--text); }
@media (max-width: 640px) { .sh-kanji { font-size: 4rem; right: 10px; } .sh-stats { display: none; } }
@media (prefers-reduced-motion: reduce) { .sh-kanji span, .sh-txt h1, .sale-hot, .sw-card { animation: none; } }

.verify-g a { display: block; cursor: zoom-in; }
.verify-g img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: #111; border: 2px dashed #c9a44c; }

/* súper oferta en la esquina superior derecha, más compacta (sin tapar el menú ni el centro) */
.sd-pop { left: auto; right: 16px; top: 140px; width: min(310px, calc(100vw - 32px)); padding: 12px 14px; }
.sd-pop .sd-kicker { font-size: .85rem; margin-bottom: 6px; }
.sd-pop .sd-img { width: 56px; height: 56px; }
.sd-pop .sd-txt { font-size: .82rem; }
.sd-pop .sd-txt strong { font-size: 1.1rem; }
.sd-pop .sd-store { margin-top: 6px; font-size: .78rem; }
.sd-pop .sd-store img { width: 78px; height: 32px; }
.sd-pop .sd-cta { margin-top: 8px; padding: 7px; font-size: .9rem; }
@keyframes sdShow {
  0% { opacity: 0; visibility: visible; transform: translateX(60px); pointer-events: auto; }
  5% { opacity: 1; transform: none; }
  90% { opacity: 1; transform: none; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; transform: translateX(40px); pointer-events: none; } }
.crt2 { right: 18px; top: 52%; }   /* el aviso de personaje que estaba arriba a la derecha baja para no chocar */
@media (max-width: 640px) { .sd-pop { right: 12px; top: 80px; } }

/* las casillas ocultas que cierran avisos/pop-ups quedan fijas arriba: al hacer clic en la ✕ la página NO salta */
.vx-close-chk { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* cuenta: pestañas y campo trampa anti-robots */
.acct-tabs { display: flex; gap: 6px; margin: 4px 0 14px; }
.acct-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--muted); }
.acct-tabs a.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 2FA */
.totp-box { display: grid; gap: 12px; grid-template-columns: auto 1fr; align-items: center; }
.totp-qr { width: 200px; height: 200px; background: #fff; padding: 10px; border-radius: 12px; }
.totp-qr svg { width: 100%; height: 100%; }
.totp-secret { font-family: Consolas, monospace; letter-spacing: .12em; word-break: break-all; background: var(--bg); padding: 6px 10px; border-radius: 8px; }
@media (max-width: 640px) { .totp-box { grid-template-columns: 1fr; } }

/* ================================================================ estadísticas (admin) + informe por tienda */
.admin-nav a.on { background: var(--accent); color: var(--on-accent); }
.st-kpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 12px 0 16px; }
.st-kpis div { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.st-kpis b { display: block; font-size: 1.8rem; color: var(--accent); line-height: 1.1; }
.st-kpis span { font-size: .8rem; color: var(--muted); }
.st-days { display: flex; gap: 4px; align-items: flex-end; height: 170px; padding: 6px 0; overflow-x: auto; }
.st-day { flex: 1 0 22px; display: flex; flex-direction: column; align-items: center; height: 100%; }
.st-day small { font-size: .62rem; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.st-bars { flex: 1; width: 100%; display: flex; gap: 2px; align-items: flex-end; justify-content: center; }
.st-bars i { width: 45%; min-height: 2px; border-radius: 3px 3px 0 0; }
.st-bars i.v { background: #3a4a42; } .st-bars i.c { background: var(--accent); }
.st-bars i.h0 { height: 0%; } .st-bars i.h5 { height: 5%; } .st-bars i.h10 { height: 10%; } .st-bars i.h15 { height: 15%; } .st-bars i.h20 { height: 20%; } .st-bars i.h25 { height: 25%; } .st-bars i.h30 { height: 30%; } .st-bars i.h35 { height: 35%; } .st-bars i.h40 { height: 40%; } .st-bars i.h45 { height: 45%; } .st-bars i.h50 { height: 50%; } .st-bars i.h55 { height: 55%; } .st-bars i.h60 { height: 60%; } .st-bars i.h65 { height: 65%; } .st-bars i.h70 { height: 70%; } .st-bars i.h75 { height: 75%; } .st-bars i.h80 { height: 80%; } .st-bars i.h85 { height: 85%; } .st-bars i.h90 { height: 90%; } .st-bars i.h95 { height: 95%; } .st-bars i.h100 { height: 100%; }
.sw-v, .sw-c { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 3px 0 8px; }
.sw-v { background: #3a4a42; } .sw-c { background: var(--accent); }
.st-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.st-name { font-weight: 700; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-track { height: 26px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.st-track .pb-bar { height: 100%; padding: 0 8px; font-size: .8rem; }
.report { max-width: 900px; }
.rep-head { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.rep-head img { height: 70px; border-radius: 10px; }
.rep-head h1 { margin: 0; }
@media print {
  .top, .foot, .no-print, .flashes { display: none !important; }
  body, body.report-body { background: #fff !important; color: #111 !important; }
  .st-kpis div, .admin-table td, .admin-table th { background: #fff !important; color: #111 !important; border-color: #ccc !important; }
  .st-kpis b { color: #1f6b3e !important; } .st-bars i.c { background: #1f8f52 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* tienda destacada, alertas */
.feat-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800;
  background: #2b2205; color: #ffcc4d; border: 1px solid #6b5410; vertical-align: middle; }
.alert-box { margin: 10px 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.alert-box p { margin: 0; }
.alert-box form { display: inline; }
.alert-form { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center; }
.alert-form label { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.alert-form input[name=precio] { font: inherit; width: 130px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.alert-form button { font: inherit; font-weight: 800; padding: 8px 14px; border-radius: 10px; border: 0; cursor: pointer; background: var(--accent); color: var(--on-accent); }
.alert-hit { border-color: #1f6b3e !important; background: #0f2a1b !important; }
.af-input { font: inherit; width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }

/* menú de administración en la barra (solo rol Administrador) */
.nav-admin { position: relative; display: inline-block; }
.nav-admin summary { list-style: none; cursor: pointer; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .92rem;
  background: #b32626; color: #fff; }
.nav-admin summary::-webkit-details-marker { display: none; }
.nav-admin[open] summary { background: #e04848; }
.nav-admin-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 210px; display: grid; gap: 2px; padding: 8px;
  border-radius: 12px; background: #0c0c0e; border: 1px solid #3a1212; box-shadow: 0 16px 40px rgba(0, 0, 0, .7); }
.nav-admin-menu a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.nav-admin-menu a:hover { background: #1a0606; color: #fff; }
.nav-mod { padding: 4px 12px; border-radius: 999px; background: #1f3a8a; color: #fff !important; font-weight: 800; }

/* ================================================================ Ventas: banner · Chile: fondo · Admin: usuarios */
.sales-banner { margin: 6px 0 0; border-radius: 20px 20px 0 0; overflow: hidden; border: 1px solid #6b5410; border-bottom: 0; }
.sales-banner img { width: 100%; height: auto; display: block; aspect-ratio: 1584 / 672; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
.sales-hero.with-banner { margin-top: 0; border-radius: 0 0 20px 20px; }
@media (prefers-reduced-motion: reduce) { .sales-banner img { animation: none; } }

body.chile-page { background:
  linear-gradient(180deg, rgba(5, 5, 5, .55), rgba(5, 5, 5, .8)),
  url("chile-bg.svg") 0 0 / 720px repeat fixed, #07080c; }
body.chile-page::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 50;
  background: linear-gradient(90deg, #0039a6 0 33%, #f2f2f2 33% 66%, #d52b1e 66% 100%); }

.small-kpis { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.small-kpis b { font-size: 1.4rem; }
.users-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.users-filter input { flex: 1 1 220px; }
.users-list { display: grid; gap: 6px; }
.user-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); }
.user-row.banned { opacity: .6; border-color: #5a1f1f; }
.user-row .ur-id { flex: 1 1 280px; min-width: 0; }
.user-row .ur-id small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-row .chk { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }

/* ================================================================ Los Sensei */
body.sensei-page { background: #070507 url("home-bg.svg") 0 0 / 900px repeat fixed; }
.ss-banner { position: relative; margin: 6px 0 22px; border-radius: 18px; overflow: hidden; border: 1px solid #4a1420; background: #0c0608; }
.ss-banner img { width: 100%; height: auto; display: block; aspect-ratio: 1584 / 672; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
.ss-banner-txt { position: absolute; left: 0; bottom: 0; width: min(460px, 42%); padding: 20px 22px; border-top-right-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 4, 6, .92), rgba(10, 4, 6, .78)); border-top: 1px solid #5a1a28; border-right: 1px solid #5a1a28; }
.ss-banner-txt .eyebrow { color: #ff5c8a; letter-spacing: .25em; }
.ss-banner-txt h1 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 2.3rem; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(90deg, #f3ead2, #ff7aa0, #f3ead2); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 6s linear infinite; }
.ss-banner-txt p { margin: 0; color: #d8c9cc; font-size: .95rem; }
.ss-list { display: grid; gap: 22px; }
.ss-card { display: grid; grid-template-columns: minmax(220px, 300px) 1fr minmax(260px, 340px); gap: 22px; align-items: start;
  padding: 18px; border-radius: 20px; border: 1px solid #3a1a22; background: linear-gradient(160deg, #140a0d, #0a0708 60%);
  box-shadow: 0 0 40px rgba(255, 70, 120, .06) inset; }
.ss-portrait { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #4a2430; }
.ss-portrait img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.ss-card:hover .ss-portrait img { transform: scale(1.04); }
.ss-kanji { position: absolute; right: 8px; top: 4px; font: 900 3rem/1 "Yu Gothic", "Meiryo", serif; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 120, 150, .7); text-shadow: 0 0 18px rgba(255, 60, 110, .45); }
.ss-body .eyebrow { color: #e3c26b; letter-spacing: .2em; margin: 0; }
.ss-body h2 { margin: 4px 0 10px; font-size: 1.7rem; }
.ss-body h2 small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.ss-stats { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.ss-stats li { padding: 8px 12px; border-radius: 12px; background: #1a0e12; border: 1px solid #3a1a22; }
.ss-stats b { display: block; color: #ff7aa0; font-size: 1.25rem; line-height: 1.1; }
.ss-stats span { font-size: .75rem; color: var(--muted); }
.ss-bio { color: #d9d3d4; margin: 0 0 14px; }
.ss-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  text-decoration: none; border: 1px solid; transition: transform .15s, box-shadow .15s; }
.ss-btn:hover { transform: translateY(-2px); }
.ss-btn.yt { color: #fff; background: #c4122f; border-color: #e0304a; box-shadow: 0 0 14px rgba(224, 48, 74, .35); }
.ss-btn.tt { color: #fff; background: #111; border-color: #25f4ee; box-shadow: -2px 0 0 #fe2c55, 0 0 14px rgba(37, 244, 238, .2); }
.ss-btn.ig { color: #fff; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border-color: #dd2a7b; }
.ss-videos { min-width: 0; }
.ss-vlabel { margin: 0 0 8px; font-weight: 700; color: #e3c26b; }
.ss-main { display: block; text-decoration: none; color: var(--text); }
.ss-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid #4a2430; }
.ss-thumb img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.ss-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(196, 18, 47, .9); color: #fff; font-size: 1.2rem; transition: transform .2s; }
.ss-main:hover .ss-play { transform: scale(1.12); }
.ss-short { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: #fe2c55; color: #fff; font-size: .72rem; font-weight: 700; }
.ss-vtitle { display: block; margin-top: 6px; font-weight: 600; line-height: 1.3; }
.ss-more { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.ss-more a { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: .85rem; }
.ss-more a:hover { color: var(--text); }
.ss-more img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.ss-tiktok { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
.ss-note { margin: 22px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 1000px) { .ss-card { grid-template-columns: minmax(200px, 260px) 1fr; } .ss-videos { grid-column: 1 / -1; } }
@media (max-width: 860px) { .ss-banner-txt { position: static; width: auto; border-radius: 0; border-right: 0; background: #0c0608; } }
@media (max-width: 640px) { .ss-card { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ss-banner img, .ss-banner-txt h1 { animation: none; } }

/* ================================================================ Contacto WhatsApp */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 48; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, .5); animation: waPulse 3s ease-out infinite; transition: transform .15s; }
.wa-fab:hover { transform: translateY(-2px) scale(1.03); color: #fff; }
.wa-fab svg { display: block; }
@keyframes waPulse { 0% { box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 16px rgba(37, 211, 102, 0); } }
.viktor-pop { bottom: 86px; }
.foot-contact { display: block; margin-top: 8px; }
@media (max-width: 640px) { .wa-fab span { display: none; } .wa-fab { padding: 12px; } .foot { padding-bottom: 80px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
@media print { .wa-fab { display: none !important; } }

/* ================================================================ Menú en celular */
@media (max-width: 760px) {
  .top .wrap { gap: 6px 12px; padding-top: 12px; padding-bottom: 10px; }
  .top .tag { display: none; }
  .logo { font-size: 1.3rem; }
  .logo.has-img img { width: 34px; height: 34px; }
  .topnav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 6px; }
  .topnav > a, .nav-admin summary { white-space: nowrap; font-size: .85rem; padding: 5px 10px; border-radius: 999px;
    background: #0f1612; border: 1px solid var(--line); }
  .topnav > a.nav-user { border-color: var(--accent); }
  .nav-admin-menu { right: auto; left: 0; }
}
html, body { max-width: 100%; overflow-x: clip; }

/* ================================================================ Publicar venta: fondo animado (mercado nocturno) */
body.sale-new-page { background: #060406; }
.sn-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, #2a0a14 0%, #0b0508 55%, #060406 100%); }
.sn-orb { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .35; mix-blend-mode: screen; }
.sn-orb.o1 { background: radial-gradient(circle, #c9a44c 0%, transparent 65%); left: -20vmax; top: -20vmax; animation: snFloat1 26s ease-in-out infinite alternate; }
.sn-orb.o2 { background: radial-gradient(circle, #e0304a 0%, transparent 65%); right: -25vmax; top: 10vh; animation: snFloat2 32s ease-in-out infinite alternate; }
.sn-orb.o3 { background: radial-gradient(circle, #25b8d0 0%, transparent 65%); left: 15vw; bottom: -35vmax; opacity: .22; animation: snFloat3 38s ease-in-out infinite alternate; }
@keyframes snFloat1 { to { transform: translate(30vw, 25vh) scale(1.15); } }
@keyframes snFloat2 { to { transform: translate(-35vw, 30vh) scale(.9); } }
@keyframes snFloat3 { to { transform: translate(25vw, -30vh) scale(1.2); } }
.sn-pattern { position: absolute; inset: -480px; background: url("sale-bg.svg") 0 0 / 480px repeat; animation: snDrift 90s linear infinite; }
@keyframes snDrift { to { transform: translate(480px, -480px); } }
.sn-rain { position: absolute; inset: 0; opacity: .18;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(227, 194, 107, .5) 22px 23px, transparent 23px 70px);
  background-size: 200% 200%; animation: snRain 2.4s linear infinite; }
@keyframes snRain { to { background-position: -140px 400px; } }
.sale-new-page main { position: relative; }
.sale-new-page .sale-form, .sale-new-page .trust-card { background: rgba(14, 10, 12, .88); border: 1px solid #4a2a1a; border-radius: 18px;
  padding: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(201, 164, 76, .08) inset; backdrop-filter: blur(4px); }
.sale-new-page h1 { background: linear-gradient(90deg, #f3ead2, #e3c26b, #ff7aa0, #f3ead2); -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 300% 100%; animation: shine 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sn-orb, .sn-pattern, .sn-rain, .sale-new-page h1 { animation: none; } }
.sale-form .seg-plain { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sale-form .seg-plain legend { width: 100%; margin-bottom: 4px; font-weight: 600; }
.sale-form .seg-plain .chk { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #4a2a1a; background: #120c0e; }
.sale-form .seg-plain .chk input { width: auto; margin: 0; accent-color: #e3c26b; }
.sale-form .seg-plain .chk:has(input:checked) { border-color: #e3c26b; box-shadow: 0 0 12px rgba(227, 194, 107, .25); }

/* ================================================================ Confirmación Sí / No */
.cf-modal { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 16px; }
.cf-modal.open { display: grid; animation: lbIn .18s ease; }
.cf-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.cf-card { position: relative; width: min(400px, 100%); padding: 22px 22px 18px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #1a0c10, #0c0809); border: 1px solid #5a2430; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.cf-icon { width: 52px; height: 52px; margin: -48px auto 8px; display: grid; place-items: center; border-radius: 50%; font-size: 1.5rem;
  background: #2a0c12; border: 2px solid #e04848; color: #ffb3b3; box-shadow: 0 0 22px rgba(224, 72, 72, .4); }
.cf-title { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.cf-msg { margin: 0 0 18px; color: #d9cfd1; }
.cf-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cf-row button { min-width: 130px; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid; }
.cf-row .cf-no { background: transparent; color: var(--accent); border-color: var(--accent); }
.cf-row .cf-yes:not(.danger) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
button.danger, .cf-yes.danger { background: #c4122f; border-color: #e0304a; color: #fff; }
.ghost.danger { background: transparent; color: #ff8a9a; border-color: #7a2030; }
.ghost.danger:hover { background: #2a0a10; }
html.cf-lock { overflow: hidden; }

/* ================================================================ Venta cerrada: comprador y confirmaciones */
.deal-box { margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid #2f5a3e;
  background: linear-gradient(160deg, #0c1a12, #08100b); }
.deal-box.to-confirm { border-color: #e3c26b; background: linear-gradient(160deg, #1c160a, #0e0b06); margin-bottom: 18px; }
.deal-title { margin: 0 0 8px; font-weight: 800; font-size: 1.05rem; }
.deal-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.deal-checks li { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.deal-checks .ok { color: #8ef0b0; }
.deal-checks .wait { color: #e3c26b; }
.deal-checks .bad { color: #ff8a9a; }
.deal-checks a { color: inherit; }
.deal-confirm { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.deal-confirm p { width: 100%; margin: 0 0 4px; }
.deal-count { display: block; margin-top: 4px; font-size: .85rem; color: #8ef0b0; }
.sold-box { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #0d1210; }
.sold-box summary { cursor: pointer; font-weight: 700; }
.sold-box form { display: grid; gap: 8px; margin-top: 10px; }
.sold-box label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.sold-box button { justify-self: start; }

/* ================================================================ Entrar / Crear cuenta */
body.login-page { background: #040605; }
.lg-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, #0d2418 0%, #050806 55%, #040605 100%); }
.lg-orb { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(80px); opacity: .3; mix-blend-mode: screen; }
.lg-orb.o1 { background: radial-gradient(circle, #8ef0b0 0%, transparent 62%); left: -18vmax; top: -22vmax; animation: snFloat1 28s ease-in-out infinite alternate; }
.lg-orb.o2 { background: radial-gradient(circle, #c9a44c 0%, transparent 62%); right: -22vmax; bottom: -20vmax; animation: snFloat2 34s ease-in-out infinite alternate; }
.lg-orb.o3 { background: radial-gradient(circle, #e0304a 0%, transparent 62%); left: 30vw; top: 30vh; opacity: .14; animation: snFloat3 40s ease-in-out infinite alternate; }
.lg-pattern { position: absolute; inset: -900px; background: url("home-bg.svg") 0 0 / 900px repeat; opacity: .55; animation: lgDrift 140s linear infinite; }
@keyframes lgDrift { to { transform: translate(900px, 900px); } }

.lg-wrap { display: grid; grid-template-columns: 1.05fr 1fr; max-width: 1040px; margin: 18px auto 30px; border-radius: 26px; overflow: hidden;
  border: 1px solid #23402e; box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 60px rgba(142, 240, 176, .07); animation: lgIn .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes lgIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.lg-art { position: relative; min-height: 520px; display: flex; align-items: flex-end; background: #0a0d0b; overflow: hidden; }
.lg-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  animation: clZoom 30s ease-in-out infinite alternate; }
.lg-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 5, .15) 0%, rgba(4, 6, 5, .55) 40%, rgba(4, 6, 5, .96) 85%); }
.lg-art-txt { position: relative; z-index: 1; padding: 28px 30px; }
.lg-logo { display: block; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px;
  box-shadow: 0 0 0 2px #c9a44c88, 0 0 30px rgba(201, 164, 76, .35); }
.lg-art .eyebrow { color: #e3c26b; letter-spacing: .25em; margin: 0; }
.lg-art h2 { margin: 4px 0 8px; font-size: 1.9rem; font-family: Georgia, serif; }
.lg-lead { margin: 0 0 16px; color: #cfd8d2; font-style: italic; }
.lg-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lg-perks li { display: flex; gap: 10px; align-items: center; color: #e6efe9; font-size: .93rem; }
.lg-perks span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: rgba(142, 240, 176, .1); border: 1px solid rgba(142, 240, 176, .25); }

.lg-card.acct { position: relative; margin: 0; padding: 30px 34px 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(16, 22, 18, .94), rgba(8, 11, 9, .96)); backdrop-filter: blur(8px); }
.lg-kanji { position: absolute; right: -6px; top: -22px; font: 900 9rem/1 "Yu Gothic", "Meiryo", serif; color: transparent;
  -webkit-text-stroke: 1.5px rgba(142, 240, 176, .13); pointer-events: none; }
.lg-card .acct-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px;
  border-radius: 999px; background: #0a0f0c; border: 1px solid var(--line); }
.lg-card .acct-tabs a { text-align: center; padding: 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--muted);
  transition: background .2s, color .2s; }
.lg-card .acct-tabs a.on { background: linear-gradient(90deg, #8ef0b0, #5fd99a); color: var(--on-accent); box-shadow: 0 4px 16px rgba(142, 240, 176, .3); }
.lg-card h1 { position: relative; margin: 0 0 6px; font-size: 1.7rem; }
.lg-card .acct-form { position: relative; max-width: none; gap: 12px; margin-top: 14px; }
.lg-card .acct-form input { padding: 12px 14px 12px 42px; border-radius: 12px; background-color: #060908; border: 1px solid #22302a;
  background-repeat: no-repeat; background-position: 14px center; background-size: 18px; transition: border-color .2s, box-shadow .2s; }
.lg-card .acct-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(142, 240, 176, .18); }
.lg-card .acct-form input[type=email] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9c93' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.lg-card .acct-form input[type=password] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9c93' stroke-width='2'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.lg-card .acct-form input[name=nombre] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9c93' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.lg-card .acct-form input[name=codigo] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9c93' stroke-width='2'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l3 3'/%3E%3C/svg%3E"); letter-spacing: .3em; }
.lg-card .acct-form button[type=submit] { margin-top: 6px; padding: 13px; border-radius: 12px; font-size: 1rem; font-weight: 800; border: 0; cursor: pointer;
  background: linear-gradient(90deg, #8ef0b0, #c9e86b, #8ef0b0); background-size: 200% 100%; color: var(--on-accent);
  box-shadow: 0 8px 24px rgba(142, 240, 176, .25); transition: background-position .5s, transform .15s; }
.lg-card .acct-form button[type=submit]:hover { background-position: 100% 0; transform: translateY(-1px); }
.lg-links { margin: 12px 0 0; text-align: right; font-size: .88rem; }
.lg-switch { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.lg-switch a { font-weight: 700; }
@media (max-width: 820px) {
  .lg-wrap { grid-template-columns: 1fr; margin-top: 6px; }
  .lg-art { min-height: 0; }
  .lg-art-txt { padding: 70px 18px 16px; }
  .lg-logo { width: 52px; height: 52px; margin-bottom: 8px; }
  .lg-art h2 { font-size: 1.45rem; }
  .lg-lead { display: none; }
  .lg-perks { grid-template-columns: 1fr 1fr; gap: 6px; }
  .lg-perks li { font-size: .8rem; align-items: flex-start; }
  .lg-card.acct { padding: 22px 18px; }
  .lg-kanji { font-size: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .lg-orb, .lg-pattern, .lg-art-img, .lg-wrap { animation: none; } }

/* ================================================================ Páginas legales */
.legal { max-width: 780px; margin: 10px auto 30px; padding: 26px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); line-height: 1.65; }
.legal h1 { margin: 6px 0 4px; }
.legal h2 { margin: 26px 0 8px; font-size: 1.15rem; color: var(--accent); }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #0a0f0c; border: 1px solid var(--line); }
.legal-tabs a { padding: 7px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--muted); text-align: center; }
.legal-tabs a.on { background: var(--accent); color: var(--on-accent); }
.legal-box { padding: 12px 16px; border-radius: 12px; border: 1px solid #6b5410; background: #151007; }
.legal-box p { margin: 0; }
.foot-legal { display: block; margin-top: 8px; font-size: .85rem; }
.lg-card .acct-form .lg-accept { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .86rem; color: var(--muted); }
.lg-card .acct-form .lg-accept input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--accent); background-image: none; }
@media (max-width: 640px) { .legal { padding: 20px 16px; } }

/* ================================================================ X de cerrar: área táctil grande (44 px) */
.vx-x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; top: 4px; right: 4px; border-radius: 50%;
  font-size: 1.15rem; line-height: 1; color: #f3ead2; background: rgba(0, 0, 0, .45); border: 1px solid rgba(201, 164, 76, .45);
  z-index: 3; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.vx-x::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }   /* 52 px tocables sin agrandar el dibujo */
.vx-x:hover, .vx-x:active { background: rgba(201, 164, 76, .25); color: #fff; }
.sd-pop .sd-kicker { padding-right: 44px; }
.cr-toast .vx-x { width: 34px; height: 34px; top: -10px; right: -8px; padding: 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.lg-resend { margin: 0; }
.role-badge.r-pend { background: #2a2208; color: #e3c26b; border: 1px solid #6b5410; }
.seat-input { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; }
.seat-input input { width: 110px; }
.seat-meter { margin: 10px 0 4px; }
.seat-left { display: inline-block; margin: 6px 0 0; padding: 6px 12px; border-radius: 999px; background: #2a1a08; border: 1px solid #6b5410; color: #e3c26b; font-size: .9rem; }

/* ================================================================ Portada: Top 5 calor / frío */
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 6px; }
.season { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.s-verano { border-color: #6b5410; box-shadow: 0 0 40px rgba(255, 196, 77, .06); }
.s-frio { border-color: #24425e; box-shadow: 0 0 40px rgba(120, 190, 255, .07); }
.season-head { position: relative; min-height: 190px; display: flex; align-items: flex-end; }
.season-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
.season-head::after { content: ""; position: absolute; inset: 0; }
.s-verano .season-head::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(20, 12, 0, .88) 100%); }
.s-frio .season-head::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(4, 10, 22, .9) 100%); }
.season-title { position: relative; z-index: 1; padding: 16px 18px; }
.season-title h2 { margin: 2px 0 2px; font-size: 1.6rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.season-title p { margin: 0; color: #e9eef2; font-size: .9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.s-verano .eyebrow { color: #ffcf5a; } .s-frio .eyebrow { color: #9fd3ff; }
.season-list { list-style: none; padding: 6px 14px 14px; margin: 0; display: grid; gap: 4px; }
.season-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.season-list li:last-child { border-bottom: 0; }
.sl-rank { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #111; }
.s-verano .sl-rank { background: linear-gradient(135deg, #ffd66b, #ff9f43); }
.s-frio .sl-rank { background: linear-gradient(135deg, #cfeaff, #7fb2ea); }
.sl-name { margin: 2px 0 4px; }
.sl-tipo { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; vertical-align: 2px; }
.sl-tipo.t-arabe { background: #2a1d08; color: #e3c26b; border: 1px solid #6b5410; }
.sl-tipo.t-nicho { background: #1d1030; color: #c9a8ff; border: 1px solid #4a2f78; }
.sl-tipo.t-disenador { background: #0d2231; color: #8fd0ff; border: 1px solid #23506e; }
.sl-desc { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.sl-offers { display: grid; gap: 6px; }
.sl-offer { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; text-decoration: none; color: var(--text);
  background: #0c120f; border: 1px solid var(--line); font-size: .88rem; transition: border-color .15s, transform .15s; }
.sl-offer:hover { border-color: var(--accent); transform: translateX(2px); }
.sl-offer img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.sl-offer small { display: block; color: var(--muted); font-size: .75rem; }
.sl-offer b { color: var(--accent); }
.sl-offer.alt b { color: #e3c26b; }
.sl-offer.none { color: var(--muted); }
.season-note { margin: 4px 0 18px; font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .seasons { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .season-head img { animation: none; } }
/* Acordeón: el encabezado es el <summary>; en PC no se cierra, en celular se toca para abrir */
.season > summary { list-style: none; cursor: pointer; }
.season > summary::-webkit-details-marker { display: none; }
.season-toggle { display: none; margin-top: 10px; padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(4px); }
.s-verano .season-toggle { border-color: #ffcf5a; color: #ffe39a; }
.s-frio .season-toggle { border-color: #9fd3ff; color: #cfeaff; }
.season[open] .st-open, .season:not([open]) .st-close { display: none; }
@media (min-width: 901px) { .season > summary { cursor: default; pointer-events: none; } }
@media (max-width: 900px) {
  .season-toggle { display: inline-block; }
  .season:not([open]) .season-head { min-height: 170px; }
  .season[open] .season-list { animation: seasonIn .25s ease-out; }
}
@keyframes seasonIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ================================================================ Botón Viktor (¿Qué uso?) */
.vk-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  margin: 16px 0; padding: 16px 22px 16px 16px; border-radius: 20px; text-decoration: none; color: #ecebe6;
  background: radial-gradient(ellipse at 15% 50%, #2a2112 0%, #0d0b08 55%, #070605 100%); border: 1px solid #6b5410;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5), 0 0 40px rgba(201, 164, 76, .08) inset; transition: transform .2s, box-shadow .2s; }
.vk-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 50px rgba(201, 164, 76, .16) inset; color: #fff; }
.vk-rain { position: absolute; inset: 0; pointer-events: none; opacity: .35; }
.vk-rain .vr { position: absolute; top: -40%; width: 1px; height: 60%; background: linear-gradient(180deg, transparent, rgba(227, 194, 107, .7));
  animation: vkRain 1.6s linear infinite; }
.vk-rain .r0 { left: 8%; } .vk-rain .r1 { left: 21%; animation-delay: .4s; } .vk-rain .r2 { left: 35%; animation-delay: .9s; }
.vk-rain .r3 { left: 48%; animation-delay: .2s; } .vk-rain .r4 { left: 62%; animation-delay: 1.1s; } .vk-rain .r5 { left: 74%; animation-delay: .6s; }
.vk-rain .r6 { left: 86%; animation-delay: 1.3s; } .vk-rain .r7 { left: 95%; animation-delay: .8s; }
@keyframes vkRain { to { transform: translateY(260%); } }
.vk-face { position: relative; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  box-shadow: 0 0 0 2px #c9a44c, 0 0 24px rgba(201, 164, 76, .45); }
.vk-glyph { display: grid; place-items: center; font-size: 2.6rem; background: #1a140a; }
.vk-text { position: relative; display: grid; gap: 4px; }
.vk-eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #e3c26b; }
.vk-text strong { font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.2; }
.vk-sub { color: #cfc8b8; font-size: .92rem; }
.vk-sub b { color: #f3ead2; }
.vk-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vk-steps i { font-style: normal; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: rgba(201, 164, 76, .12); border: 1px solid rgba(201, 164, 76, .35); }
.vk-go { position: relative; padding: 12px 18px; border-radius: 999px; font-weight: 800; white-space: nowrap; color: #1a1205;
  background: linear-gradient(90deg, #e3c26b, #ffdf8a, #e3c26b); background-size: 200% 100%; animation: shine 4s linear infinite;
  box-shadow: 0 0 0 0 rgba(227, 194, 107, .5); }
.vk-cta:hover .vk-go { animation: shine 4s linear infinite, vkPulse 1.4s ease-out infinite; }
@keyframes vkPulse { 0% { box-shadow: 0 0 0 0 rgba(227, 194, 107, .55); } 100% { box-shadow: 0 0 0 14px rgba(227, 194, 107, 0); } }
@media (max-width: 760px) {
  .vk-cta { grid-template-columns: auto 1fr; padding: 14px; gap: 12px; }
  .vk-face { width: 64px; height: 64px; }
  .vk-text strong { font-size: 1.1rem; }
  .vk-go { grid-column: 1 / -1; text-align: center; }
}

/* ================================================================ Portada: Interrogatorio + Hecho en Chile */
.promo-duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin: 8px 0 22px; }
.promo { position: relative; overflow: hidden; border-radius: 20px; min-height: 300px; display: flex; align-items: flex-end; }
.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: clZoom 30s ease-in-out infinite alternate; }
.promo::after { content: ""; position: absolute; inset: 0; }
.yk-promo { border: 1px solid #4a1414; }
.yk-promo::after { background: linear-gradient(180deg, rgba(8, 3, 3, .35) 0%, rgba(8, 3, 3, .82) 45%, rgba(8, 3, 3, .97) 100%); }
.cl-promo { border: 1px solid #1f3a6a; }
.cl-promo::after { background: linear-gradient(180deg, rgba(3, 6, 14, .2) 0%, rgba(3, 6, 14, .75) 50%, rgba(3, 6, 14, .96) 100%); }
.promo-in { position: relative; z-index: 1; padding: 22px; width: 100%; }
.promo-in .eyebrow { display: flex; align-items: center; gap: 8px; }
.yk-promo .eyebrow { color: #ff6b6b; } .cl-promo .eyebrow { color: #9fc2ff; }
.promo-in h2 { margin: 4px 0 6px; font-size: 1.45rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.promo-lead { margin: 0 0 12px; color: #ddd6d0; font-size: .9rem; }
.case-files { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case-files a { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: start; padding: 8px; border-radius: 12px; height: 100%;
  text-decoration: none; color: var(--text); background: rgba(20, 8, 8, .85); border: 1px solid #4a1a1a; transition: border-color .15s, transform .15s; }
.case-files a:hover { border-color: #e04848; transform: translateY(-2px); }
.cf-photo { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: #2a0c0c;
  font-weight: 800; color: #ffb3b3; filter: grayscale(.25) contrast(1.05); }
.cf-photo img { width: 100%; height: 100%; object-fit: cover; }
.cf-info { display: grid; gap: 1px; min-width: 0; font-size: .82rem; }
.cf-info b, .cf-info small, .cf-perf { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-info small { color: var(--muted); font-size: .72rem; }
.cf-stamp { justify-self: start; font-size: .6rem; font-weight: 900; letter-spacing: .12em; color: #e04848; border: 1px solid #e04848;
  padding: 0 5px; border-radius: 3px; transform: rotate(-4deg); margin-bottom: 2px; }
.cf-perf { color: #f3ead2; }
.cf-price { color: var(--accent); font-weight: 700; }
.promo-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; color: #04170b;
  background: var(--accent); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .15s; }
.promo-btn:hover { transform: translateY(-2px); color: #04170b; }
.promo-btn.red { background: linear-gradient(90deg, #c4122f, #e0304a); color: #fff; }
.promo-btn.red:hover { color: #fff; }
.cl-nums { list-style: none; padding: 0; margin: 0 0 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.cl-nums li { padding: 8px 12px; border-radius: 12px; background: rgba(8, 14, 30, .8); border: 1px solid #23406e; }
.cl-nums b { display: block; font-size: 1.25rem; color: #fff; }
.cl-nums span { font-size: .72rem; color: #9fc2ff; }
.cl-houses { margin: 0 0 14px; font-size: .78rem; color: #b9c6dc; }
.search-stores { margin: -6px 0 14px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .promo-duo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .case-files { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vk-rain .vr, .vk-go, .promo-bg { animation: none; } }

/* ================================================================ Banner del comparador (lleva al buscador) */
.cmp-cta { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; align-items: center; gap: 22px; margin: 0 0 16px; padding: 14px 22px 14px 14px;
  border-radius: 20px; text-decoration: none; color: #2b2416; background: #f6e9c4; border: 1px solid #e3cf95;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s, box-shadow .2s; }
.cmp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .55); color: #2b2416; }
.cmp-img { width: 100%; height: auto; border-radius: 14px; display: block; mix-blend-mode: multiply; }
.cmp-text { display: grid; gap: 6px; }
.cmp-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8a6a1c; }
.cmp-text strong { font-size: 1.35rem; line-height: 1.25; color: #1d180e; }
.cmp-sub { font-size: .93rem; color: #4a3f2a; }
.cmp-sub b { color: #1d180e; }
.cmp-go { justify-self: start; margin-top: 4px; padding: 10px 18px; border-radius: 999px; font-weight: 800; color: #f6e9c4; background: #1d180e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .2s; }
.cmp-cta:hover .cmp-go { transform: translateY(2px); }
.search.flash-find { animation: findGlow 1.6s ease-out; border-radius: 14px; }
@keyframes findGlow { 0%, 30% { box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgba(142, 240, 176, .45); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 760px) {
  .cmp-cta { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .cmp-img { max-height: 200px; object-fit: cover; }
  .cmp-text strong { font-size: 1.12rem; }
  .cmp-go { justify-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .search.flash-find { animation: none; } }

/* ================================================================ Barra superior: Instagram + contacto */
.topbar { background: linear-gradient(90deg, #120a14, #0a0c0b 50%, #0d0a06); border-bottom: 1px solid #1c211e; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #c9d3cc; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar svg { flex: none; }
.tb-ig svg { color: #e1306c; }
.tb-ig:hover span { background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-mail svg { color: var(--accent); }
.tb-label { font-weight: 700; color: #fff; }
@media (max-width: 560px) { .topbar { font-size: .74rem; } .tb-addr { display: none; } .tb-mail .tb-label::after { content: " por correo"; font-weight: 400; } }
@media print { .topbar { display: none; } }

/* ================================================================ Instagram en la portada */
.ig-card { margin: 0 0 22px; max-width: 520px; border-radius: 16px; overflow: hidden; background: #0d0f0e; border: 1px solid #2a2230;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.ig-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; color: var(--text); }
.ig-avatar { width: 34px; height: 34px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.ig-head span:not(.ig-follow) { display: grid; line-height: 1.2; }
.ig-head small { color: var(--muted); font-size: .72rem; }
.ig-follow { margin-left: auto; padding: 5px 12px; border-radius: 8px; font-size: .8rem; font-weight: 700; color: #fff;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.ig-post { display: block; background: #000; }
.ig-post img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .2s; }
.ig-post:hover img { opacity: .9; }
.ig-caption { margin: 0; padding: 10px 12px 0; font-size: .84rem; line-height: 1.45; color: #d7d4da; }
.ig-more { display: block; padding: 8px 12px 12px; font-size: .82rem; font-weight: 700; color: #e1306c; text-decoration: none; }
.ig-more:hover { color: #ff5c8a; }
.ig-admin-thumb { width: 120px; border-radius: 10px; }
/* pantallas muy anchas: el recuadro va fijo en el espacio vacío de la izquierda */
@media (min-width: 1680px) {
  .ig-card { position: fixed; z-index: 30; top: 190px; width: 270px; margin: 0;
    left: max(16px, calc((100vw - 1100px) / 2 - 300px)); }
  .ig-post img { aspect-ratio: 4 / 5; max-height: 46vh; }
}
