/* Casa Cumba · Miembros
   Concepto: una casa privada de noche. Fondo negro tinta, oro kintsugi como único acento fuerte,
   y cada casa entra con su propio color solo donde la nombras. Barra lateral fija en escritorio,
   barra inferior en el celular. */
:root {
  --bg: #08070A;
  --panel: #121016;
  --panel-2: #1A1720;
  --line: rgba(244, 239, 230, .11);
  --line-2: rgba(244, 239, 230, .2);
  --ink: #F4EFE6;
  --body: #D9D3CB;
  --muted: #A9A2B0;
  --dim: #7E7789;
  --gold: #C9A24B;
  --gold-2: #E2C27A;
  --gold-soft: rgba(201, 162, 75, .14);
  --good: #35B26F;
  --bad: #FF8A78;
  --on-gold: #08070A;

  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
  --f-serif: 'Cinzel', Georgia, serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --side: 264px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
}
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: var(--gold-2); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.motto { font-family: var(--f-serif); color: var(--gold); letter-spacing: .06em; }
.muted { color: var(--muted); }
.venado { mix-blend-mode: lighten; display: block; }

/* ---------- Botones y campos ---------- */
.btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  transition: transform .15s, filter .15s, background .15s;
  text-align: center;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.small { padding: 9px 16px; font-size: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.input, .field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field select option { background: var(--panel-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field .hint { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.check input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.form-error { color: var(--bad); font-size: 14px; min-height: 1.4em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--body);
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.chip.static { cursor: default; background: rgba(255, 255, 255, .05); border-color: transparent; color: var(--ink); }
.chip.static:hover { border-color: transparent; }
.chip.house { --c: var(--gold); border-color: color-mix(in srgb, var(--c) 70%, transparent); color: var(--ink); }
.chip.house[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.pill.solid { background: var(--gold); color: var(--on-gold); }

/* ---------- Pantallas de acceso y vista previa ---------- */
.public { min-height: 100%; }
.pub-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.pub-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand b { font-family: var(--f-display); font-size: 14px; letter-spacing: .24em; display: block; }
.brand small { font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }

.pub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: center;
  padding-block: 36px 56px;
}
.pub-hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.02em; margin-top: 16px; }
.pub-hero h1 em { font-style: normal; color: var(--gold); }
.pub-hero p.lead { font-size: 18px; color: var(--body); max-width: 50ch; margin-top: 20px; }
.pub-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pub-hero .motto { margin-top: 26px; font-size: 17px; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; max-width: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .22), transparent 65%);
  z-index: -1;
  filter: blur(10px);
}

/* Vena de oro: el kintsugi de la marca como separador */
.vein { height: 22px; width: 100%; display: block; color: var(--gold); opacity: .8; }

.pub-section { padding-block: 40px; }
.pub-section h2 { font-size: clamp(26px, 3.6vw, 40px); margin-top: 10px; }
.pub-section .sub { color: var(--muted); max-width: 60ch; margin-top: 10px; }

.peek-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.peek {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.peek .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.peek .ico svg { width: 19px; height: 19px; }
.peek h3 { font-size: 16px; }
.peek p { font-size: 14px; color: var(--muted); }
.peek .lock { position: absolute; top: 16px; right: 16px; color: var(--dim); }
.peek .lock svg { width: 16px; height: 16px; }
.peek .blur { margin-top: auto; display: flex; flex-direction: column; gap: 6px; filter: blur(3px); opacity: .55; }
.peek .blur i { display: block; height: 8px; border-radius: 4px; background: var(--line-2); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.plan {
  border-radius: var(--r-l);
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan.featured { border-color: var(--gold); background: linear-gradient(160deg, rgba(201, 162, 75, .12), var(--panel) 55%); }
.plan h3 { font-size: 26px; }
.plan .price { font-family: var(--f-display); font-size: 15px; color: var(--gold); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--body); font-size: 15px; }
.plan li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan .pill, .panel .pill { align-self: flex-start; }

.houses-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.house-tile { --c: var(--gold); text-align: center; padding: 14px 6px; border-radius: var(--r-m); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.house-tile .em { width: 52px; height: 52px; margin: 0 auto; border-radius: 14px; background: var(--c); display: grid; place-items: center; }
.house-tile .em img { width: 30px; height: 30px; object-fit: contain; }
.house-tile b { display: block; font-family: var(--f-display); font-size: 13px; letter-spacing: .14em; margin-top: 10px; }
.house-tile small { display: block; font-size: 12px; color: var(--muted); }

.pub-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 26px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }

/* Tarjeta de acceso */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.auth-card {
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 40px 90px -40px rgba(201, 162, 75, .35);
}
.auth-card .top { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.auth-card .top img { width: 84px; height: 84px; }
.auth-card h1 { font-size: 24px; }
.auth-card .alt { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.linkbtn { all: unset; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.linkbtn:hover { color: var(--gold-2); }
.linkbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.demo-note { font-size: 13px; color: var(--body); background: var(--gold-soft); border: 1px solid rgba(201, 162, 75, .4); border-radius: var(--r-s); padding: 10px 12px; }

/* Puerta 21+ */
.gate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(8, 7, 10, .9); backdrop-filter: blur(8px); }

/* ---------- App interna ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100%; }
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201, 162, 75, .05), transparent 40%), var(--bg);
}
.side .brand { padding: 0 8px 18px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.nav button svg { width: 19px; height: 19px; flex: none; }
.nav button:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.nav button[aria-current="page"] { color: var(--ink); background: var(--gold-soft); box-shadow: inset 2px 0 0 var(--gold); }
.nav button[aria-current="page"] svg { color: var(--gold); }
.nav button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.nav .sep { height: 1px; background: var(--line); margin: 10px 8px; }
.nav .soon { margin-left: auto; font-size: 10px; letter-spacing: .12em; color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 7px; }
.side .me-mini { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.me-mini .who { min-width: 0; flex: 1; }
.me-mini b { display: block; font-family: var(--f-display); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-mini small { font-size: 12px; color: var(--gold); }
.icon-btn { all: unset; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); flex: none; position: relative; }
.icon-btn:hover { color: var(--ink); border-color: var(--gold); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--bg); }

.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--panel-2); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--gold); border: 1px solid rgba(201, 162, 75, .5); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: rgba(8, 7, 10, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar h2 { font-size: 16px; letter-spacing: .02em; flex: 1; min-width: 0; }
.topbar .brand { display: none; }
.view { padding-block: 28px 64px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); max-width: 1180px; width: 100%; display: flex; flex-direction: column; gap: 28px; }

.tabbar { display: none; }

/* Inicio */
.welcome { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.welcome h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.015em; margin-top: 10px; }
.welcome h1 em { font-style: normal; color: var(--gold); }
.welcome p { color: var(--body); margin-top: 12px; max-width: 58ch; }

.video {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-2);
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 126, 34, .28), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(138, 99, 242, .3), transparent 45%),
    radial-gradient(circle at 60% 10%, rgba(45, 212, 181, .18), transparent 40%),
    var(--panel);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; }
.video .poster img { width: clamp(90px, 16vw, 150px); }
.video .play { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(201, 162, 75, .18); }
.video .play svg { width: 28px; height: 28px; margin-left: 4px; }
.video .poster b { font-family: var(--f-display); font-size: clamp(16px, 2.2vw, 22px); }
.video .poster small { color: var(--muted); font-size: 14px; max-width: 44ch; }

.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.sec-head h2 { font-size: 22px; }
.sec-head p { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { padding: 20px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.step .n { font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.step h3 { font-size: 16px; }
.step p { font-size: 14px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  --c: var(--gold);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  min-width: 0;
}
.tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 16px 40px -22px var(--c); }
.tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.tile .ico svg { width: 20px; height: 20px; }
.tile h3 { font-size: 16px; }
.tile p { font-size: 14px; color: var(--muted); }
.tile .go { margin-top: auto; font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--c); text-transform: uppercase; }

.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel h3 { font-size: 18px; }
.ben-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ben-row:first-of-type { border-top: 0; }
.ben-row .pct { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--gold); min-width: 64px; font-variant-numeric: tabular-nums; }
.ben-row b { font-family: var(--f-display); font-size: 14px; display: block; }
.ben-row span { font-size: 14px; color: var(--muted); }

/* Carnet */
.card-id {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1.586;
  max-width: 100%;
  width: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 162, 75, .32), transparent 45%),
    linear-gradient(135deg, #17141A, #08070A 70%);
  border: 1px solid rgba(201, 162, 75, .6);
  box-shadow: 0 30px 70px -30px rgba(201, 162, 75, .5);
}
.card-id .vein-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .35; pointer-events: none; }
.card-id .row { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-id .logo { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 11px; letter-spacing: .26em; }
.card-id .logo img { width: 34px; height: 34px; }
.card-id .name { font-family: var(--f-display); font-size: clamp(16px, 2.4vw, 21px); font-weight: 700; line-height: 1.15; }
.card-id .code { font-family: var(--f-display); font-size: 12px; letter-spacing: .2em; color: var(--gold-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.card-id .qr { background: #fff; padding: 6px; border-radius: 10px; width: 92px; height: 92px; flex: none; }
.card-id .qr svg { width: 100%; height: 100%; display: block; }
.card-id .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--good); font-family: var(--f-display); font-weight: 600; letter-spacing: .08em; }
.card-id .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }

/* Perfil */
.profile-head {
  --c: var(--gold);
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.profile-head .cover { height: 150px; background: radial-gradient(circle at 15% 40%, color-mix(in srgb, var(--c) 70%, transparent), transparent 55%), radial-gradient(circle at 85% 20%, rgba(201, 162, 75, .45), transparent 50%), linear-gradient(135deg, #17141A, #08070A); position: relative; }
.profile-head .cover .vein-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .4; }
.profile-head .body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; padding: 0 24px 22px; margin-top: -54px; position: relative; }
.profile-head .ph { width: 116px; height: 116px; border-radius: 50%; border: 3px solid var(--gold); background: var(--panel-2); overflow: hidden; display: grid; place-items: center; font-family: var(--f-display); font-size: 38px; font-weight: 700; color: var(--gold); position: relative; flex: none; }
.profile-head .ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-edit { all: unset; cursor: pointer; position: absolute; inset: auto 0 0 0; height: 34px; display: grid; place-items: center; background: rgba(8, 7, 10, .7); color: var(--ink); }
.ph-edit svg { width: 16px; height: 16px; }
.ph-edit:focus-visible { outline: 2px solid var(--gold); }
.profile-head .who { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
.profile-head h1 { font-size: clamp(24px, 3vw, 32px); }
.profile-head .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }

.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qa .q { padding: 16px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qa .q .label { font-size: 10.5px; }
.qa .q p { color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.qa .q.empty p { color: var(--dim); font-size: 14px; }

.stamps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.stamp { --c: var(--gold); aspect-ratio: 1; max-width: 100%; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed var(--line-2); position: relative; }
.stamp img { width: 46%; height: 46%; object-fit: contain; opacity: .22; filter: grayscale(1); }
.stamp.on { background: var(--c); border: 2px solid color-mix(in srgb, var(--c) 60%, #fff); box-shadow: 0 0 22px -6px var(--c); }
.stamp.on img { opacity: 1; filter: none; }
.stamp-name { text-align: center; font-family: var(--f-display); font-size: 11px; letter-spacing: .12em; color: var(--muted); margin-top: 6px; }

.private { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.private div { padding: 14px 16px; border-radius: var(--r-s); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); min-width: 0; }
.private span { display: block; font-size: 12px; color: var(--muted); }
.private b { font-family: var(--f-display); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* Editor del perfil en panel lateral */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4, 3, 6, .7); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(580px, 100%);
  background: var(--panel);
  border-left: 1px solid var(--line-2);
  transform: translateX(102%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.drawer.on { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-top h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.drawer-foot { padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.drawer-foot .form-error { flex: 1; min-height: 0; }

/* Próximamente */
.soon-hero { border-radius: var(--r-l); border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.soon-hero h1 { font-size: clamp(26px, 4vw, 40px); margin-top: 10px; }
.soon-hero p { color: var(--body); margin-top: 12px; max-width: 56ch; }
.soon-hero .big { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.soon-hero .big svg { width: 48px; height: 48px; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-list div { padding: 18px; border-radius: var(--r-m); border: 1px dashed var(--line-2); color: var(--body); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.feature-list b { font-family: var(--f-display); color: var(--ink); font-size: 15px; }

/* Avisos */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-family: var(--f-display); font-size: 14px; font-weight: 600; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.bell-pop { position: absolute; top: 56px; right: 16px; z-index: 30; width: min(360px, calc(100vw - 32px)); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 8px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.bell-pop { max-height: min(70vh, 560px); overflow-y: auto; }
.bell-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.bell-head b { font-family: var(--f-display); font-size: 14px; }
.bell-head .linkbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.bell-head .linkbtn svg { width: 15px; height: 15px; }
.bell-empty { padding: 12px; font-size: 14px; }
.bell-pop .n { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.bell-pop .n:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.bell-pop .n i { visibility: hidden; }
.bell-pop .n.unread i { visibility: visible; }
.bell-pop .n small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.bell-pop .n:hover { background: rgba(255, 255, 255, .04); }
.bell-pop .n i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }
.bell-pop .n b { display: block; font-family: var(--f-display); font-size: 14px; }
.bell-pop .n span { font-size: 13px; color: var(--muted); }


[hidden] { display: none !important; }

/* Tamaños de avatar */
.avatar.xs { width: 22px; height: 22px; font-size: 10px; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.avatar.md { width: 56px; height: 56px; font-size: 18px; }
.avatar.lg { width: 76px; height: 76px; font-size: 24px; border-width: 2px; }
.avatar.xl { width: 96px; height: 96px; font-size: 30px; border-width: 2px; }

/* Selector segmentado */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); gap: 2px; }
.seg button { all: unset; cursor: pointer; padding: 7px 16px; border-radius: 999px; font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- Chat ---------- */
.view.is-chat { padding-top: 16px; padding-bottom: 16px; gap: 0; }
.chat { height: calc(100dvh - 67px - 32px); min-height: 420px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--panel); overflow: hidden; }
.chat-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(201, 162, 75, .07), transparent); }
.chat-title { font-family: var(--f-display); font-size: 16px; }
.mode-pill { font-size: 12px; font-family: var(--f-display); font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.mode-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.mode-pill.open { color: var(--good); border-color: rgba(53, 178, 111, .45); }
.mode-pill.open::before { background: var(--good); }
.mode-pill.admins { color: var(--gold-2); border-color: rgba(201, 162, 75, .5); }
.mode-pill.admins::before { background: var(--gold); }
.chat-head .btn { margin-left: auto; }
button.mode-pill { all: unset; box-sizing: border-box; cursor: pointer; font-size: 12px; font-family: var(--f-display); font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 6px; }
button.mode-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chat-empty img { width: 70px; opacity: .8; }
.day { display: flex; justify-content: center; margin: 14px 0 8px; }
.day span { font-size: 12px; font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; text-transform: capitalize; }

.msg { display: flex; align-items: flex-end; gap: 8px; max-width: min(640px, 86%); position: relative; margin-top: 8px; }
.msg.grouped { margin-top: 0; }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.av-btn { all: unset; cursor: pointer; border-radius: 50%; flex: none; }
.av-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.av-gap { width: 34px; flex: none; }
.bubble { background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 8px 12px 6px; min-width: 0; }
.msg.grouped .bubble { border-radius: 18px 18px 18px 6px; }
.msg.mine .bubble { background: rgba(201, 162, 75, .16); border-color: rgba(201, 162, 75, .35); border-radius: 18px 18px 6px 18px; }
.bubble .who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 2px; }
.bubble .who b { font-family: var(--f-display); font-size: 13px; }
.tag { --c: var(--muted); font-size: 10.5px; font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 999px; padding: 0 7px; line-height: 17px; }
.tag.gold { --c: var(--gold-2); }
.bubble .txt { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; line-height: 1.5; }
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--dim); margin-top: 2px; font-variant-numeric: tabular-nums; }
.msg-tools { display: flex; gap: 2px; opacity: 0; transition: opacity .15s; align-self: center; }
.msg:hover .msg-tools, .msg:focus-within .msg-tools, .msg-update:hover .msg-tools, .msg-update:focus-within .msg-tools { opacity: 1; }
@media (hover: none) { .msg-tools { opacity: .55; } }
.msg-tools button { all: unset; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.msg-tools button:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.msg-tools button:focus-visible { outline: 2px solid var(--gold); }
.msg-tools button.armed { color: var(--bad); background: rgba(255, 138, 120, .12); }
.msg-tools svg { width: 16px; height: 16px; }

.msg-update { position: relative; align-self: stretch; margin: 12px 0 6px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid rgba(201, 162, 75, .55); background: linear-gradient(150deg, rgba(201, 162, 75, .16), rgba(201, 162, 75, .04) 60%); display: flex; flex-direction: column; gap: 8px; }
.msg-update .eyebrow { display: flex; align-items: center; gap: 6px; }
.msg-update .eyebrow svg { width: 14px; height: 14px; }
.msg-update .txt { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.msg-update .by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.msg-update .msg-tools { position: absolute; top: 8px; right: 8px; }

.composer { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.composer.is-update { background: linear-gradient(180deg, rgba(201, 162, 75, .1), var(--panel)); }
.staff-opts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 4px; }
.staff-opts .check { font-size: 13px; align-items: center; }
.staff-opts .check input { margin-top: 0; }
.composer-row { display: flex; align-items: flex-end; gap: 8px; }
.composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 160px; padding: 11px 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel-2); line-height: 1.4; }
.composer textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.send { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; flex: none; }
.send:hover { filter: brightness(1.08); }
.send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.send svg { width: 19px; height: 19px; }
.composer-lock { text-align: center; font-size: 14px; color: var(--muted); padding: 8px; }

/* ---------- Comunidad ---------- */
.dir-filters { display: flex; flex-direction: column; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); max-width: 560px; }
.search:focus-within { outline: 2px solid var(--gold); border-color: transparent; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { all: unset; flex: 1; min-width: 0; padding: 12px 0; font-size: 15px; }
.dir-filters .seg { align-self: flex-start; }
.dir-count { font-size: 14px; color: var(--muted); margin-top: -12px; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: -12px; }
.mcard { all: unset; box-sizing: border-box; cursor: pointer; --c: var(--gold); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 18px 20px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.mcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 65%, transparent); box-shadow: 0 18px 40px -24px var(--c); }
.mcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mc-cover { align-self: stretch; height: 64px; margin: 0 -18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 50%, transparent), color-mix(in srgb, var(--c) 10%, transparent)); display: flex; justify-content: flex-end; padding: 8px 12px; }
.mc-cover img { width: 34px; height: 34px; object-fit: contain; opacity: .55; }
.mcard .avatar { margin-top: -38px; border-color: var(--c); box-shadow: 0 0 0 4px var(--panel); }
.mc-name { font-family: var(--f-display); font-size: 16px; margin-top: 4px; }
.mc-meta { font-size: 13px; color: var(--c); font-family: var(--f-display); font-weight: 600; }
.mc-bio { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .chips { justify-content: center; gap: 6px; margin-top: 4px; }
.mcard .chip { font-size: 12px; padding: 3px 10px; }

.bday { border-color: rgba(201, 162, 75, .45); background: linear-gradient(150deg, rgba(201, 162, 75, .1), var(--panel) 55%); }
.bday h3 { display: flex; align-items: center; gap: 8px; }
.bday h3 svg { width: 20px; height: 20px; color: var(--gold); }
.bday-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 4px; }
.bday-p { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; }
.bday-p:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.bday-p b { font-family: var(--f-display); font-size: 13px; }
.bday-p small { font-size: 12px; color: var(--muted); }
.bday-p small.today { color: var(--gold-2); font-weight: 600; }

.member-view .mv-head { display: flex; align-items: center; gap: 18px; }
.member-view .avatar { border-color: var(--c); }
.mv-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mv-who .pill { align-self: flex-start; }
.mv-who h2 { font-size: 22px; }
.mv-who a { font-size: 14px; }
.mv-bio { color: var(--body); }
.qa.one { grid-template-columns: 1fr; }


/* ---------- Comunes de la fase 3 ---------- */
.demo-switch { border-style: dashed; }
@media (max-width: 520px) {
  .demo-switch { padding: 7px 10px; font-size: 11px; }
  .topbar h2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .video .poster { gap: 10px; }
  .video .poster img { width: 56px; }
  .video .poster small { display: none; }
  .video .play { width: 56px; height: 56px; box-shadow: 0 0 0 7px rgba(201, 162, 75, .18); }
}
.video .play { flex: none; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.row-gap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.center { text-align: center; }
.sec-head h2 { display: flex; align-items: center; gap: 8px; }
.sec-head h2 svg { width: 22px; height: 22px; color: var(--gold); }
.btn.danger { color: var(--bad); border-color: rgba(255, 138, 120, .4); }
.btn.danger.armed { background: rgba(255, 138, 120, .15); }
.btn.wa { background: #25D366; color: #06210f; }
.edit-fab { all: unset; cursor: pointer; position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 7, 10, .75); border: 1px solid var(--gold); color: var(--gold); backdrop-filter: blur(6px); }
.edit-fab:hover { background: var(--gold); color: var(--on-gold); }
.edit-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.edit-fab svg { width: 15px; height: 15px; }
.ben-row.as-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); width: 100%; }
.ben-row.as-btn:first-child { border-top: 0; }
.ben-row.as-btn:hover b { color: var(--gold-2); }
.ben-row.as-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

/* Instalar como app */
.install { border-radius: var(--r-l); border: 1px solid rgba(201, 162, 75, .45); background: radial-gradient(circle at 90% 0%, rgba(201, 162, 75, .16), transparent 50%), var(--panel); padding: clamp(20px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.install-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; }
.install h2 { font-size: clamp(20px, 2.6vw, 26px); margin-top: 6px; }
.install-top p { color: var(--body); margin-top: 8px; max-width: 60ch; }
.install-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.install .seg { align-self: flex-start; }
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.install-steps li { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-m); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.install-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 13px; flex: none; }
.install-steps b { display: block; font-family: var(--f-display); font-size: 14px; }
.install-steps span { font-size: 13px; color: var(--muted); }
.install-note { font-size: 13px; }

/* ---------- Beneficios ---------- */
.ben-root { display: flex; flex-direction: column; gap: 32px; }
.ben-root > section { display: flex; flex-direction: column; gap: 14px; }
.coupon-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.coupon { --c: var(--gold); position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--panel); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); overflow: hidden; }
.coupon .c-art { position: relative; height: 130px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, #000), color-mix(in srgb, var(--c) 15%, #000)); display: grid; place-items: center; }
.coupon .c-art img { width: 100%; height: 100%; object-fit: cover; }
.coupon .c-ico svg { width: 46px; height: 46px; color: #fff; opacity: .9; }
.c-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 4px 10px; border-radius: 999px; }
.c-badge svg { width: 12px; height: 12px; }
.coupon .c-body { padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c-partner { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--c); text-transform: uppercase; }
.coupon h3 { font-size: 18px; line-height: 1.25; }
.coupon p { font-size: 14px; color: var(--muted); }
.c-meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.c-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--bad)); }
.c-left { font-size: 13px; font-weight: 600; color: var(--gold-2); }
.c-time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.c-time svg { width: 13px; height: 13px; }
.c-foot { padding: 12px 18px 18px; border-top: 2px dashed var(--line-2); margin-top: 10px; position: relative; }
.c-foot::before, .c-foot::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); }
.c-foot::before { left: -10px; }
.c-foot::after { right: -10px; }
.c-code { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); border: 1px dashed var(--gold); }
.c-code span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); font-family: var(--f-display); font-weight: 600; }
.c-code b { font-family: var(--f-display); font-size: 18px; letter-spacing: .06em; overflow-wrap: anywhere; }
.c-code small { font-size: 12px; color: var(--muted); }
.c-code.big { align-items: flex-start; gap: 6px; }
.coupon.out { opacity: .55; }

.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.bcard { --c: var(--gold); position: relative; display: grid; grid-template-columns: 112px 14px minmax(0, 1fr); min-height: 150px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.bcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 18px 40px -26px var(--c); }
.bcard.featured { border-color: rgba(201, 162, 75, .6); background: linear-gradient(120deg, rgba(201, 162, 75, .12), var(--panel) 55%); }
.bcard-hit { all: unset; position: absolute; inset: 0; z-index: 1; cursor: pointer; border-radius: inherit; }
.bcard-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bcard .stub { border-radius: var(--r-m) 0 0 var(--r-m); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 40%, #000), color-mix(in srgb, var(--c) 12%, #000)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px 8px; }
.bcard .logo { width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .95); display: grid; place-items: center; overflow: hidden; padding: 6px; }
.bcard .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.initials { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: #17141A; }
.bcard .val { font-family: var(--f-display); font-size: 22px; color: #fff; letter-spacing: -.01em; }
.bcard .perf { background: radial-gradient(circle at 50% 0, var(--bg) 9px, transparent 10px) top / 14px 100% no-repeat, radial-gradient(circle at 50% 100%, var(--bg) 9px, transparent 10px) bottom / 14px 100% no-repeat; position: relative; }
.bcard .perf::after { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line-2); }
.bcard .info { padding: 16px 16px 16px 4px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bcard h3 { font-size: 17px; }
.tag-line { font-size: 13px; color: var(--muted); }
.bcard .offer { color: var(--ink); font-size: 14px; font-weight: 600; margin-top: 2px; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding-top: 6px; font-size: 12px; font-family: var(--f-display); font-weight: 600; color: var(--c, var(--gold)); }
.cat-chip svg { width: 14px; height: 14px; }
.ribbon { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 11px; font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: 2px 8px; border-radius: 999px; }
.ribbon svg { width: 11px; height: 11px; fill: currentColor; }
.why { font-size: 12px; color: var(--gold-2); font-weight: 600; }
.bcard .edit-fab { z-index: 2; }

.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { all: unset; box-sizing: border-box; cursor: pointer; --c: var(--gold); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 10px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; min-width: 0; }
.cat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.cat:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cat .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.cat .ico svg { width: 26px; height: 26px; }
.cat b { font-family: var(--f-display); font-size: 13px; line-height: 1.25; }
.cat small { font-size: 12px; color: var(--muted); }
.cat.empty .ico { filter: grayscale(.6); opacity: .6; }
.cat.empty small { color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 8px; font-weight: 600; letter-spacing: .06em; }
.soon-cat { --c: var(--gold); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.soon-cat .pill { align-self: flex-start; }
.brands-cta { border-style: dashed; }
.brands-cta .pill, .brands-cta .btn { align-self: flex-start; }
.empty-hint .btn { align-self: flex-start; }

.ben-detail .bd-cover { position: relative; height: 150px; border-radius: var(--r-m); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 50%, #000), color-mix(in srgb, var(--c) 12%, #000)); margin-bottom: 26px; }
.ben-detail .bd-cover > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bd-logo { position: absolute; left: 18px; bottom: -26px; width: 76px; height: 76px; border-radius: 20px; background: #fff; display: grid; place-items: center; padding: 8px; box-shadow: 0 0 0 4px var(--panel-2); overflow: hidden; }
.bd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ben-detail h2 { font-size: 24px; margin-top: 6px; }
.bd-offer { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-m); background: var(--gold-soft); border: 1px solid rgba(201, 162, 75, .5); }
.bd-offer .val { font-family: var(--f-display); font-weight: 700; font-size: 30px; color: var(--gold); flex: none; }
.bd-offer b { font-family: var(--f-display); font-size: 16px; display: block; }
.bd-upsell { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--gold-2); }
.bd-upsell svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.bd-desc { color: var(--body); }
.bd-how ol { margin: 6px 0 0; padding-left: 20px; color: var(--body); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Referidos ---------- */
.ref-box { gap: 20px; }
.ref-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ref-head h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 6px; }
.ref-head h2 em { font-style: normal; color: var(--gold); }
.ref-head p { color: var(--body); margin-top: 8px; max-width: 60ch; }
.ref-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.ref-code { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-m); border: 1px dashed var(--gold); background: var(--gold-soft); }
.ref-code b { font-family: var(--f-display); font-size: clamp(24px, 3.4vw, 32px); letter-spacing: .06em; color: var(--ink); overflow-wrap: anywhere; }
.wallet { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 18px; border-radius: var(--r-m); background: radial-gradient(circle at 20% 20%, rgba(247, 197, 49, .2), transparent 60%), var(--panel-2); border: 1px solid var(--line); }
.coin-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #F7C531, #C9A24B); color: #3a2a00; box-shadow: 0 6px 24px -6px rgba(247, 197, 49, .6); flex: none; }
.coin-ico svg { width: 30px; height: 30px; }
.wallet b.coins { font-family: var(--f-display); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.wallet span { font-size: 13px; color: var(--muted); }
.wallet small { flex-basis: 100%; font-size: 13px; color: var(--body); }
.ref-bar .track { position: relative; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.ref-bar .fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #C9A24B, #F7C531, #F28C38); box-shadow: 0 0 18px rgba(247, 197, 49, .45); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.ref-bar .fill.go { width: var(--p); }
.ref-bar .mark { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ref-bar .mark i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-2); }
.ref-bar .mark.on i { background: var(--gold); border-color: var(--gold-2); }
.ref-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.rewards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rewards li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rewards li.on { border-color: rgba(201, 162, 75, .6); background: var(--gold-soft); }
.rw-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--muted); flex: none; }
.rewards li.on .rw-ico { background: var(--gold); color: var(--on-gold); }
.rw-ico svg { width: 15px; height: 15px; }
.rewards b { font-family: var(--f-display); font-size: 14px; display: block; }
.rewards small { font-size: 12px; color: var(--muted); }
.ref-next { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 15px; }
.ref-next svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.ref-foot { font-size: 13px; }

.game-hero { border-radius: var(--r-l); border: 1px solid rgba(201, 162, 75, .45); background: radial-gradient(circle at 85% 30%, rgba(138, 99, 242, .3), transparent 50%), radial-gradient(circle at 10% 90%, rgba(242, 140, 56, .2), transparent 45%), var(--panel); padding: clamp(24px, 5vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.game-hero h1 { font-size: clamp(28px, 4.4vw, 46px); margin-top: 10px; }
.game-hero p { color: var(--body); margin-top: 12px; max-width: 56ch; }
.game-hero .pill { align-self: flex-start; }
.game-hero .big { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.game-hero .big svg { width: 50px; height: 50px; }

/* ---------- Formularios del equipo ---------- */
.form-body { gap: 18px; }
.form-sec { font-family: var(--f-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.field select { appearance: auto; }
.img-field { display: flex; align-items: center; gap: 14px; }
.img-prev { width: 120px; height: 72px; border-radius: 12px; border: 1px dashed var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--dim); flex: none; background: rgba(255, 255, 255, .03); }
.img-field.logo .img-prev { width: 72px; background: #fff; }
.img-prev img { width: 100%; height: 100%; object-fit: cover; }
.img-field.logo .img-prev img { object-fit: contain; padding: 6px; }
.img-prev svg { width: 26px; height: 26px; }

/* ---------- Agenda ---------- */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-head h2 { font-size: 22px; flex: 1; text-align: center; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-family: var(--f-display); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; min-height: 420px; }
.day-cell { all: unset; box-sizing: border-box; cursor: pointer; min-height: 78px; border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; min-width: 0; }
.day-cell:hover { border-color: var(--line-2); }
.day-cell:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.day-cell.out { opacity: .38; }
.day-cell .dn { font-family: var(--f-display); font-size: 13px; font-weight: 600; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.day-cell.today .dn { background: var(--gold); color: var(--on-gold); }
.day-cell.sel { border-color: var(--gold); background: var(--gold-soft); }
.day-cell.has { background: rgba(255, 255, 255, .05); }
.day-cell .evs { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.day-cell .evs i { --c: var(--gold); display: block; font-style: normal; font-size: 11px; line-height: 1.3; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--c) 22%, transparent); border-left: 3px solid var(--c); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.day-cell .evs em { font-style: normal; }
.day-cell .evs small { font-size: 11px; color: var(--muted); }
.cal-list { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.cal-list .sec-head h3 { font-size: 17px; }
.cal-empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 8px 0; }
.ev-card { all: unset; box-sizing: border-box; cursor: pointer; --c: var(--gold); display: flex; gap: 14px; padding: 12px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .2s; }
.ev-card:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.ev-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ev-date { width: 52px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--c) 20%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 0; }
.ev-date b { font-family: var(--f-display); font-size: 20px; line-height: 1; }
.ev-date small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ev-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev-info > b { font-family: var(--f-display); font-size: 15px; }
.ev-info > span { font-size: 13px; color: var(--muted); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.st { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-family: var(--f-display); font-weight: 600; color: var(--muted); }
.st svg { width: 12px; height: 12px; }
.st.ok { color: var(--good); }
.st.out { color: var(--bad); }
.st.past { color: var(--dim); }
.ev-detail .ev-cover { height: 180px; border-radius: var(--r-m); overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), var(--panel); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.ev-detail .ev-cover > img { width: 100%; height: 100%; object-fit: cover; }
.ev-detail .ev-cover > img.emb { width: 90px; height: 90px; object-fit: contain; }
.ev-detail h2 { font-size: 24px; margin-top: 8px; }
.ev-facts { display: flex; flex-direction: column; gap: 10px; }
.ev-facts div { display: flex; align-items: center; gap: 10px; color: var(--body); }
.ev-facts svg { width: 18px; height: 18px; color: var(--c); flex: none; }
.ev-desc { display: flex; flex-direction: column; gap: 10px; color: var(--body); }
.ev-cta { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.ev-ok { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-m); background: rgba(53, 178, 111, .12); border: 1px solid rgba(53, 178, 111, .5); }
.ev-ok svg { width: 22px; height: 22px; color: var(--good); flex: none; }
.ev-ok b { display: block; font-family: var(--f-display); }
.ev-ok span { font-size: 13px; color: var(--muted); }
.ev-price { display: flex; flex-direction: column; padding: 14px; border-radius: var(--r-m); background: var(--gold-soft); border: 1px solid rgba(201, 162, 75, .5); }
.ev-price b { font-family: var(--f-display); font-size: 24px; color: var(--gold-2); }
.ev-upsell { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.ev-upsell svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* ---------- Newsletter ---------- */
#news-root { display: flex; flex-direction: column; gap: 24px; }
.topic-pick { display: flex; flex-direction: column; gap: 14px; }
.topic-pick h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.05; }
.topic-pick h1 em { font-style: normal; color: var(--gold); }
.topic-pick > p { color: var(--body); max-width: 56ch; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 8px; }
.topic { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); transition: transform .15s, border-color .15s, background .15s; }
.topic:hover { transform: translateY(-2px); border-color: var(--line-2); }
.topic:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.topic .emo { font-size: 30px; line-height: 1; }
.topic b { font-family: var(--f-display); font-size: 15px; }
.topic i { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.topic i svg { width: 14px; height: 14px; }
.topic[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(150deg, rgba(201, 162, 75, .18), var(--panel)); }
.topic[aria-pressed="true"] i { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.topic-foot { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 35%); }
.topic-foot .muted { margin-right: auto; }
.news-filters { margin-top: -8px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.post { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s; }
.post:hover { transform: translateY(-3px); border-color: var(--line-2); }
.post-hit { all: unset; position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.post-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: inherit; }
.post-img { aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 30%, rgba(201, 162, 75, .25), transparent 60%), var(--panel-2); display: grid; place-items: center; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-img span { font-size: 44px; }
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.post-meta { font-size: 12px; color: var(--muted); font-family: var(--f-display); letter-spacing: .04em; }
.post-meta b { color: var(--gold-2); }
.post h3 { font-size: 18px; line-height: 1.25; }
.post p { font-size: 14px; color: var(--muted); }
.post .chips { gap: 6px; }
.post .chip { font-size: 12px; padding: 3px 10px; }
.post .edit-fab { z-index: 2; }
.post.big { grid-column: span 2; flex-direction: row; }
.post.big .post-img { width: 55%; aspect-ratio: auto; min-height: 260px; }
.post.big .post-body { flex: 1; justify-content: center; padding: 24px; }
.post.big h3 { font-size: 26px; }
.reader h2 { font-size: 26px; }
.reader-img { width: 100%; border-radius: var(--r-m); }
.reader p { color: var(--body); }
.reader .lead-p { font-size: 18px; color: var(--ink); }
.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.faq p { color: var(--muted); font-size: 14px; margin-top: 8px; }

@media (max-width: 1080px) {
  .tiles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peek-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cal-wrap { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar .brand { display: flex; }
  .topbar .brand b, .topbar .brand small { display: none; }
  .topbar .brand img { width: 36px; height: 36px; }
  .topbar, .view { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .view { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(18, 16, 22, .94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  }
  .tabbar button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 10.5px; font-family: var(--f-display); font-weight: 600; color: var(--dim); }
  .tabbar button svg { width: 21px; height: 21px; }
  .tabbar button[aria-current="page"] { color: var(--gold); }
  .tabbar button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 10px; }
  .pub-hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-art { width: min(260px, 70%); order: -1; }
  .plans { grid-template-columns: 1fr; }
  .houses-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .welcome { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .soon-hero { grid-template-columns: 1fr; }
  .soon-hero .big { order: -1; width: 80px; height: 80px; }
  .feature-list { grid-template-columns: 1fr; }
  .view.is-chat { padding-top: 10px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .chat { height: calc(100dvh - 67px - 86px - env(safe-area-inset-bottom, 0px)); min-height: 360px; border-radius: var(--r-m); }
  .msg { max-width: 92%; }
  .chat-head { padding: 10px 12px; flex-wrap: nowrap; }
  .chat-head #mode-btn { display: none; }
  .chat-head .mode-pill { margin-left: auto; }
  .mode-pill .long { display: none; }
  .seg button { padding: 6px 13px; }
  .chat-scroll { padding: 12px 10px 6px; }
  .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcard { padding: 0 12px 16px; }
  .install-top { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-head { flex-direction: column; }
  .game-hero { grid-template-columns: 1fr; }
  .game-hero .big { order: -1; width: 80px; height: 80px; }
  .cal { padding: 12px; }
  .cal-grid { min-height: 0; gap: 3px; }
  .day-cell { min-height: 52px; padding: 4px 2px; align-items: center; }
  .day-cell .evs { flex-direction: row; justify-content: center; gap: 3px; }
  .day-cell .evs i { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--c); }
  .day-cell .evs em, .day-cell .evs small { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post.big { grid-column: auto; flex-direction: column; }
  .post.big .post-img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .post.big .post-body { padding: 16px 18px 18px; }
  .post.big h3 { font-size: 20px; }
  .mc-cover { margin: 0 -12px; }
}
@media (max-width: 520px) {
  .tiles, .steps, .peek-grid { grid-template-columns: 1fr; }
  .houses-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-id { padding: 16px; }
  .card-id .qr { width: 72px; height: 72px; }
  .profile-head .body { padding: 0 16px 18px; }
  .mcard .chips, .mc-bio { display: none; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 14px 6px; }
  .cat .ico { width: 44px; height: 44px; }
  .install-steps { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr; }
  .bcard { grid-template-columns: 96px 14px minmax(0, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-actions { justify-content: flex-start; }
  .member-view .mv-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Deers y juegos ---------- */
.deer-ico { width: 20px; height: 20px; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.deer-ico.big { width: 100%; height: 100%; }
.coin-ico:has(.deer-ico) { background: none; box-shadow: 0 8px 26px -8px rgba(247, 197, 49, .7); }
.deer-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 99px; background: rgba(201, 162, 75, .12); border: 1px solid rgba(201, 162, 75, .45); color: var(--gold-2, #E9C46A); font-size: 13px; text-decoration: none; white-space: nowrap; }
.deer-chip b { font-family: var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink, #F4EFE6); }
.lvl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--body); white-space: nowrap; }
.lvl-chip svg { width: 14px; height: 14px; color: var(--gold); }
.who-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.game-hero h1 em { font-style: normal; color: var(--gold); }
.game-hero .big.coin { width: 150px; height: 150px; border-radius: 50%; background: none; animation: coin-float 5s ease-in-out infinite; }
.game-hero .big.coin img { width: 100%; height: 100%; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6)); }
@keyframes coin-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .game-hero .big.coin { animation: none; } }
.wallet-big { display: flex; align-items: center; gap: 16px; margin: 10px 0 8px; }
.wallet-big .deer-ico.big { width: 72px; height: 72px; }
.wallet-big b.coins { font-family: var(--f-display); font-size: 44px; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.wallet-big span { color: var(--muted); font-size: 13px; }
.level-card .lvl-row { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px; }
.lvl-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFF1BF, #C9A24B 55%, #6E4A12); color: #3a2a00; flex: none; }
.lvl-badge svg { width: 26px; height: 26px; }
.level-card .ref-bar { margin-bottom: 10px; }
.deer-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; max-height: 480px; overflow: auto; }
.deer-list li { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.deer-list .dl-who { flex: 1; min-width: 0; }
.deer-list .dl-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deer-list .dl-who small { color: var(--muted); font-size: 12px; }
@media (max-width: 520px) { .game-hero .big.coin { width: 110px; height: 110px; } .deer-list .btn { padding-inline: 10px; } }
.lvl-chip svg { color: var(--lc, var(--gold)); }
.lvl-chip { border-color: color-mix(in srgb, var(--lc, #C9A24B) 55%, transparent); }
.level-card .lvl-badge { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--lc) 40%, #fff), var(--lc) 60%, color-mix(in srgb, var(--lc) 60%, #000)); }
.level-card .lvl-badge img { width: 34px; height: 34px; object-fit: contain; }
.level-card .fill { background: linear-gradient(90deg, #C9A24B, var(--lc)); }

/* ---------- DONE ---------- */
:root { --dc-coin: url('../img/deer-128.webp'); }
.game-hero h1 em.rainbow { background: linear-gradient(90deg, #F7C531, #F28C38 25%, #E5533F 45%, #B57BE0 70%, #2DD4B5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.done-hero .hero-card { width: 150px; transform: rotate(6deg); animation: coin-float 6s ease-in-out infinite; }
#done-box { display: flex; flex-direction: column; gap: 16px; }
.done-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.done-stats .stat { flex-direction: row; align-items: center; gap: 12px; padding: 16px 18px; position: relative; overflow: hidden; }
.done-stats .stat b { font-family: var(--f-display); font-size: 22px; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.done-stats .stat small { color: var(--muted); font-size: 12px; }
.flame { width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--panel-2); color: var(--dim); }
.flame svg { width: 22px; height: 22px; }
.flame .deer-ico { width: 26px; height: 26px; }
.streak.on .flame { background: linear-gradient(160deg, #F7C531, #E5533F); color: #fff; box-shadow: 0 6px 20px -6px rgba(229, 83, 63, .7); }
.stat .meter { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.stat.cats { flex-direction: column; align-items: flex-start; gap: 8px; }
.stat.cats .chips { gap: 6px; }
.chip .ci { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.stat.cats .linkbtn { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.stat.cats .linkbtn svg { width: 14px; height: 14px; }
.done-table { display: grid; gap: 16px; }
.done-slot { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: center; background: radial-gradient(120% 90% at 0% 50%, rgba(138, 99, 242, .14), transparent 60%), var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.done-card { width: 100%; }
.done-card.waiting { opacity: .9; filter: saturate(.85); }
.done-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.done-info h3 { font-size: 24px; }
.done-info blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--panel-2); border-radius: 0 12px 12px 0; color: var(--body); font-size: 14px; }
.done-info .note { color: var(--bad); font-size: 14px; }
.due { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.due svg { width: 16px; height: 16px; }
.done-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.done-badge svg { width: 14px; height: 14px; }
.done-badge.ok { background: rgba(53, 178, 111, .16); color: #5FD597; }
.done-badge.late, .done-badge.bad { background: rgba(255, 138, 120, .14); color: var(--bad); }
.done-badge.wait { background: var(--gold-soft); color: var(--gold-2); }
form.proof { width: 100%; display: flex; flex-direction: column; gap: 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
form.proof .field { margin: 0; }
form.proof .small { font-size: 13px; margin: -4px 0 0; }
form.proof .btn { align-self: flex-start; }
.proof-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.proof-photo .pp img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); display: block; }
.done-pick .muted { margin-top: -6px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cat-tile { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-m); color: var(--tc, #fff); background: linear-gradient(150deg, var(--hl), var(--hc) 50%, var(--hd)); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; min-height: 132px; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 85% 20%, rgba(255, 255, 255, .14) 0 .6deg, transparent .6deg 8deg); pointer-events: none; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px -12px var(--hc); }
.cat-tile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cat-tile.armed { outline: 3px solid #fff; outline-offset: 2px; }
.cat-tile .ct-ico { width: 40px; height: 40px; border-radius: 50%; background: #FFFDF8; color: var(--hd); display: grid; place-items: center; margin-bottom: 4px; }
.cat-tile .ct-ico svg { width: 22px; height: 22px; }
.cat-tile b { font-family: var(--f-display); font-size: 15px; line-height: 1.2; position: relative; }
.cat-tile small { font-size: 12.5px; opacity: .92; line-height: 1.35; position: relative; }
.cat-tile .ct-n { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin-top: auto; padding-top: 6px; position: relative; }
.done-history { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.hist { position: relative; }
.hist.st-late .dc, .hist.st-open .dc, .hist.st-rejected .dc { filter: grayscale(.85) brightness(.75); }
.hist .stamp:not(:empty) { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%) rotate(-6deg); display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-family: var(--f-display); font-weight: 800; font-size: 12px; white-space: nowrap; background: #fff; color: #17141A; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.hist .stamp svg { width: 12px; height: 12px; }
.hist.st-ok .stamp { background: #35B26F; color: #fff; }
.hist.st-late .stamp { background: #E5533F; color: #fff; }
.done-rules summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.done-rules summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
.done-rules[open] summary::after { content: '−'; }
.done-rules ol { margin: 0; padding-left: 20px; color: var(--body); display: grid; gap: 8px; font-size: 14.5px; }
.review-list, .mi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.review-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel-2); }
.rv-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.rv-body blockquote { margin: 0; color: var(--body); font-size: 14px; border-left: 3px solid var(--gold); padding-left: 10px; }
.rv-body a { color: var(--gold-2); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.rv-body a svg { width: 14px; height: 14px; }
.rv-photo img { max-width: 220px; max-height: 220px; border-radius: 12px; display: block; }
.mi-list { max-height: 420px; overflow: auto; gap: 0; }
.mi-list li { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.mi-list li.off { opacity: .5; }
.mi-d { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); font-family: var(--f-display); font-weight: 700; font-size: 13px; }
.mi-t { flex: 1; min-width: 0; font-size: 14px; color: var(--body); }
.mi-t small { display: block; color: var(--dim); font-size: 12px; }
@media (max-width: 860px) {
  .done-stats { grid-template-columns: 1fr 1fr; }
  .done-stats .stat.cats { grid-column: 1 / -1; }
  .done-slot { grid-template-columns: 1fr; justify-items: center; padding: 20px 16px; }
  .done-card { max-width: 260px; }
  .done-info { width: 100%; }
}
@media (max-width: 520px) {
  .done-stats { grid-template-columns: 1fr; }
  .done-hero .hero-card { width: 110px; }
  .review-list li { grid-template-columns: 1fr; }
  .rv-card { max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) { .done-hero .hero-card { animation: none; } }

/* Vitrina de DONE en la vista previa */
.done-show { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.done-show h2 em.rainbow { font-style: normal; background: linear-gradient(90deg, #F7C531, #F28C38 25%, #E5533F 45%, #B57BE0 70%, #2DD4B5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-facts { list-style: none; padding: 0; margin: 22px 0; display: flex; gap: 28px; }
.ds-facts b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--ink); }
.ds-facts span { color: var(--muted); font-size: 13px; }
.done-show .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-note { color: var(--dim); font-size: 13px; margin-top: 14px; }
.ds-fan { position: relative; height: 420px; }
.ds-fan > div { position: absolute; width: 210px; top: 40px; left: 50%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.ds-fan > div:nth-child(1) { transform: translateX(-118%) rotate(-14deg) translateY(36px); }
.ds-fan > div:nth-child(2) { transform: translateX(-50%) rotate(-2deg); z-index: 2; }
.ds-fan > div:nth-child(3) { transform: translateX(16%) rotate(12deg) translateY(30px); z-index: 1; }
.ds-fan > .ds-back { transform: translateX(-30%) rotate(4deg) translateY(-16px); z-index: 0; opacity: .9; }
.ds-fan:hover > div:nth-child(1) { transform: translateX(-128%) rotate(-18deg) translateY(30px); }
.ds-fan:hover > div:nth-child(3) { transform: translateX(26%) rotate(16deg) translateY(24px); }
@media (max-width: 860px) {
  .done-show { grid-template-columns: 1fr; }
  .ds-fan { height: 340px; order: -1; }
  .ds-fan > div { width: 160px; }
}
@media (max-width: 420px) { .ds-fan > div { width: 138px; } .ds-fan { height: 300px; } }

/* Canjes del miembro, aliados con acceso y borradores del newsletter */
.redeem-list, .pa-list { display: flex; flex-direction: column; }
.rd-row, .pa-row, .dr-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rd-row:first-child, .pa-row:first-child { border-top: 0; }
.rd-row > div, .pa-row > div:first-child, .dr-row > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rd-row span, .pa-row span:not(.tag), .dr-row span { color: var(--muted); font-size: 14px; }
.rd-row small { color: var(--muted); white-space: nowrap; }
.rd-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(201,162,75,.14); color: #E3C77E; }
.rd-ico svg { width: 18px; height: 18px; }
.rd-ico.k-cupon { background: rgba(45,212,181,.14); color: #2DD4B5; }
.rd-ico.k-deers { background: rgba(247,197,49,.14); color: #F7C531; }
.c-code.used b { display: inline-flex; align-items: center; gap: 6px; color: #35B26F; }
.c-code.used b svg { width: 16px; height: 16px; }
.pa-row .row-gap { flex: none; }
.drafts { border-color: rgba(201,162,75,.4); }
.dr-row a { font-size: 13px; margin-top: 2px; }
.dr-row .row-gap { flex: none; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .pa-row, .dr-row { flex-wrap: wrap; }
  .dr-row .row-gap { width: 100%; justify-content: flex-start; }
}
.sec-head h3 { display: inline-flex; align-items: center; gap: 8px; }
.sec-head h3 svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; }

/* DONE no es infinito: aviso en la vitrina, contador por mundo y mazo terminado */
.ds-limit { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px; background: rgba(241, 213, 140, .08); border: 1px solid rgba(241, 213, 140, .25); color: var(--muted); font-size: 14px; line-height: 1.45; }
.ds-limit svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold, #C9A24B); }
.ds-limit b { color: var(--ink); }
.done-stats .chip small { opacity: .75; font-weight: 600; margin-left: 2px; }
.done-end { border-color: rgba(241, 213, 140, .35); background: linear-gradient(160deg, rgba(201, 162, 75, .12), transparent 60%); }
.done-end h3 { margin: 6px 0 8px; }
.done-end .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Modo creador: probar DONE desde el panel del equipo */
.dt-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.dt-cats .chip { cursor: pointer; border: 0; font: inherit; }
.dt-cats .chip[aria-pressed="false"] { background: rgba(255, 255, 255, .06); color: var(--muted) !important; }
.dt-cats .chip { white-space: nowrap; flex: none; }
.dt-info .linkbtn { display: inline-flex; align-items: center; gap: 6px; }
.dt-info .linkbtn svg { width: 16px; height: 16px; }
.dt-cats .chip[aria-pressed="false"] svg { opacity: .6; }
.dt-stage { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; }
.dt-card { width: 260px; }
.dt-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.dt-info h3 { font-size: 22px; line-height: 1.25; }
.dt-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.dt-nav .btn[disabled] { opacity: .4; pointer-events: none; }
@media (max-width: 720px) { .dt-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 0 4px 6px; scrollbar-width: none; } .dt-nav { justify-content: center; } .dt-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; } .dt-info { align-items: center; } .dt-card { width: min(260px, 80vw); } }

/* DONE escalable: misiones de evento, bono de Instagram, revisión entre jugadores, catálogo de canjes y manual */
.ev-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); font-size: 14px; line-height: 1.45; }
.ev-note svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); margin-top: 1px; }
.ig-bonus { border: 1px dashed rgba(192, 132, 232, .45); border-radius: 12px; padding: 10px 12px; }
.ig-bonus summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C9A6EE; list-style: none; }
.ig-bonus summary::-webkit-details-marker { display: none; }
.ig-bonus summary svg { width: 16px; height: 16px; flex: none; }
.ig-bonus[open] summary { margin-bottom: 8px; }
.peer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.peer-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel-2); }
.peer-list .rv-body a, .review-list .rv-body a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.peer-list .rv-body a svg, .review-list .rv-body a svg { width: 15px; height: 15px; }
.peer-tally { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.btn.danger { color: var(--bad); border-color: rgba(255, 138, 120, .4); }
.deer-cat { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.deer-cat li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.deer-cat b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); }
.deer-cat b img { width: 18px; height: 18px; }
#deer-catalog { margin-top: 14px; width: 100%; }
.manual-view { max-width: 320px; margin: 0 auto; }
.done-rules .linkbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.done-rules .linkbtn svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .peer-list li { grid-template-columns: 1fr; } .peer-list .rv-card { max-width: 200px; } }

/* Conexión con El WOW (solo admin, en Comunidad) */
.wow-panel { margin-bottom: 18px; }
.wow-panel p { margin: 6px 0; }
.wow-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; }
.wow-nums span { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.wow-nums b { font: 700 22px var(--f-display, 'Sora'), sans-serif; color: var(--ink); }
.wow-list { border-top: 1px solid var(--line); padding: 8px 0; }
.wow-list summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 6px; }
.wow-list summary b { color: var(--gold-2, var(--gold)); }
.wow-list p { font-size: 14px; overflow-wrap: anywhere; }
.wow-panel .row-gap { margin-top: 12px; flex-wrap: wrap; align-items: center; }
