/* =====================================================================
   Unreal Roleplay · Sistema de diseño
   Paleta: fondo #111114 · magenta #FF1E56 · fucsia #E6004C
           blanco/resplandor #FFF0F5 · sombra #B30036
   Tipos:  Chakra Petch (títulos) · Manrope (texto)
   ===================================================================== */

/* ---------- Fuentes (alojadas en la propia web) ---------- */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/chakra-petch-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/chakra-petch-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --bg: #111114;
  --bg-deep: #0b0b0d;
  --surface: #18181c;
  --surface-2: #1e1e23;
  --surface-3: #25252b;
  --line: rgba(255, 240, 245, 0.08);
  --line-2: rgba(255, 240, 245, 0.14);
  --text: #fff0f5;
  --text-2: #cfc6cb;
  --muted: #8f878d;
  --faint: #6b646a;

  --brand: #ff1e56;
  --brand-2: #e6004c;
  --brand-deep: #b30036;
  --brand-soft: rgba(255, 30, 86, 0.12);
  --brand-line: rgba(255, 30, 86, 0.38);
  --glow: 0 0 0 1px rgba(255, 30, 86, 0.25), 0 10px 40px -8px rgba(255, 30, 86, 0.55);

  --ok: #2fd18b;
  --ok-soft: rgba(47, 209, 139, 0.12);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, 0.12);
  --err: #ff6363;
  --err-soft: rgba(255, 99, 99, 0.12);
  --info: #7cb3ff;
  --info-soft: rgba(124, 179, 255, 0.12);
  --discord: #5865f2;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --f-head: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; min-height: 100vh; background-color: var(--bg); color: var(--text-2);
  font-family: var(--f-body); font-size: 15.5px; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { /* fondo: ciudad en blanco y negro + resplandor magenta */
  content: ""; position: fixed; inset: -24px; z-index: -2; pointer-events: none;
  /* parallax: ur.js mueve --px / --py con el ratón */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .35s ease-out; will-change: transform;
  background:
    radial-gradient(1000px 520px at 50% -140px, rgba(255, 30, 86, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(17, 17, 20, 0.72) 0%, rgba(17, 17, 20, 0.9) 55%, var(--bg) 100%),
    url(../img/fondo-ciudad.jpg) center 30% / cover no-repeat;
  filter: saturate(0.9);
}
body::after { /* viñeta */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: #ff5a82; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
strong, b { color: var(--text); font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--text); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); text-transform: uppercase; }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 600;
  font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow--lined::before, .eyebrow--lined::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: 16.5px; color: var(--text-2); max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; } .mt-3 { margin-top: 24px !important; } .mt-4 { margin-top: 36px !important; } .mt-5 { margin-top: 56px !important; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--f-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 15px; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255, 30, 86, .55)); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 22px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--b); color: var(--text);
  font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s; text-align: center; line-height: 1.2;
}
.btn:hover { color: var(--text); border-color: var(--brand-line); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(180deg, #ff2d61, var(--brand) 55%, var(--brand-2)); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { color: #fff; box-shadow: 0 0 0 1px rgba(255, 30, 86, .4), 0 14px 46px -8px rgba(255, 30, 86, .75); }
.btn--ghost { background: rgba(255, 240, 245, 0.03); }
.btn--discord { background: var(--discord); border-color: transparent; color: #fff; }
.btn--discord:hover { color: #fff; background: #4752c4; }
.btn--ok { background: var(--ok-soft); border-color: rgba(47, 209, 139, .35); color: var(--ok); }
.btn--ok:hover { color: #fff; background: rgba(47, 209, 139, .25); }
.btn--danger { background: var(--err-soft); border-color: rgba(255, 99, 99, .35); color: var(--err); }
.btn--danger:hover { color: #fff; background: rgba(255, 99, 99, .25); }
.btn--warn { background: var(--warn-soft); border-color: rgba(255, 181, 71, .35); color: var(--warn); }
.btn--warn:hover { color: #fff; background: rgba(255, 181, 71, .22); }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 12.5px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row--center { justify-content: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 17px; transition: .2s; }
.icon-btn:hover { color: #fff; border-color: var(--brand-line); background: var(--brand-soft); }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pastillas / etiquetas ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap; }
.pill i { font-size: 10.5px; }
.pill--ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(47, 209, 139, .3); }
.pill--warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 181, 71, .3); }
.pill--err { background: var(--err-soft); color: var(--err); border-color: rgba(255, 99, 99, .3); }
.pill--brand { background: var(--brand-soft); color: #ff5a82; border-color: var(--brand-line); }
.pill--muted { background: rgba(255, 240, 245, .05); color: var(--muted); border-color: var(--line); }
.pill--info { background: var(--info-soft); color: var(--info); border-color: rgba(124, 179, 255, .3); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brand-line); background: rgba(255, 30, 86, .08); color: #ff5a82; font-family: var(--f-head); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot--off { background: var(--faint); box-shadow: none; }
.dot--pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(30, 30, 35, .88), rgba(22, 22, 26, .92));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card--glow::before { /* línea magenta superior con resplandor */
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent); box-shadow: 0 0 18px 2px rgba(255, 30, 86, .55);
}
.card--flat { background: var(--surface); box-shadow: none; backdrop-filter: none; }
.card--tight { padding: 18px 20px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.tile { background: rgba(30, 30, 36, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; transition: border-color .2s, transform .2s, background .2s; }
a.tile { display: block; color: inherit; }
a.tile:hover, .tile--hover:hover { border-color: var(--brand-line); transform: translateY(-2px); }
.tile h3 { font-family: var(--f-body); font-size: 15.5px; font-weight: 700; margin: 12px 0 6px; letter-spacing: 0; }
.tile p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ico {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: #ff4d78; font-size: 15px;
}
.ico--lg { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; }
.ico--ok { background: var(--ok-soft); border-color: rgba(47,209,139,.3); color: var(--ok); }
.ico--warn { background: var(--warn-soft); border-color: rgba(255,181,71,.3); color: var(--warn); }
.ico--err { background: var(--err-soft); border-color: rgba(255,99,99,.3); color: var(--err); }
.ico--muted { background: rgba(255,240,245,.05); border-color: var(--line); color: var(--muted); }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Avisos ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); margin: 0 0 18px; font-size: 14.5px; }
.alert > i { margin-top: 3px; }
.alert > div > :last-child { margin-bottom: 0; }
.alert--ok { background: var(--ok-soft); border-color: rgba(47,209,139,.3); } .alert--ok > i { color: var(--ok); }
.alert--err { background: var(--err-soft); border-color: rgba(255,99,99,.3); } .alert--err > i { color: var(--err); }
.alert--warn { background: var(--warn-soft); border-color: rgba(255,181,71,.3); } .alert--warn > i { color: var(--warn); }
.alert--info { background: var(--info-soft); border-color: rgba(124,179,255,.28); } .alert--info > i { color: var(--info); }
.alert--brand { background: var(--brand-soft); border-color: var(--brand-line); } .alert--brand > i { color: #ff4d78; }

/* ---------- Cabecera pública ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17, 17, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 240, 245, .05); }
.site-nav a.is-active { color: var(--text); }
.site-nav a.is-active::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: var(--r); background: rgba(24, 24, 28, .98); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 14px; font-size: 15px; }
  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { background: var(--brand-soft); }
  .site-nav .btn { margin: 6px 0 0; }
  .brand span { font-size: 13.5px; letter-spacing: .14em; }
}

/* ---------- Contenedores ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Portada ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; margin-bottom: 18px; }
.hero h1 .accent { color: var(--brand); text-shadow: 0 0 28px rgba(255, 30, 86, .55); }
.hero .lead { font-size: 17.5px; margin-bottom: 26px; }
.hero__logo { display: block; justify-self: center; width: min(400px, 85%); filter: drop-shadow(0 0 36px rgba(255, 30, 86, .4)); animation: float 6s ease-in-out infinite; }
.hero__logo img { width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(-10px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 240, 245, .04); color: var(--text-2); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.chip i { color: var(--brand); }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__logo { order: -1; width: 180px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .chips { justify-content: center; }
}

.status-widget { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(24, 24, 28, .85); margin-top: 28px; max-width: 560px; }
.status-widget__label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--f-head); }
.status-widget__value { color: var(--text); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.status-widget__players { font-family: var(--f-head); color: var(--text); font-size: 26px; font-weight: 700; line-height: 1; }
.status-widget__sep { width: 1px; align-self: stretch; background: var(--line-2); }
.status-widget .btn { margin-left: auto; }
@media (max-width: 860px) { .status-widget { margin-left: auto; margin-right: auto; justify-content: center; text-align: left; } .status-widget .btn { margin-left: 0; width: 100%; } }

.steps { counter-reset: paso; }
.step { position: relative; padding-top: 54px; }
.step::before { counter-increment: paso; content: "0" counter(paso); position: absolute; top: 14px; left: 18px; font-family: var(--f-head); font-weight: 700; font-size: 28px; color: var(--brand); text-shadow: 0 0 18px rgba(255,30,86,.5); }
.cta-band { text-align: center; padding: clamp(32px, 5vw, 56px); }
.cta-band .lead { margin: 0 auto 22px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); transition: transform .5s ease, filter .3s; }
.gallery figure:hover img { transform: scale(1.04); filter: none; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: var(--text); font-family: var(--f-head); font-weight: 600; letter-spacing: .16em; font-size: 13px; text-transform: uppercase; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(11, 11, 13, .7); }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 22px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 24px; align-items: start; }
.site-footer__brand p { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__links a { color: var(--text-2); font-size: 14px; }
.site-footer__links a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.site-footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--faint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-head); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } .site-footer__legal { justify-content: center; text-align: center; } }

/* ---------- Página centrada (errores, login) ---------- */
.page-center { display: flex; flex-direction: column; }
.center-card { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.center-card__box { max-width: 520px; width: 100%; text-align: center; }
.center-card__box .brand { margin-bottom: 22px; }
.center-card__box .lead { margin-left: auto; margin-right: auto; }

/* ---------- Panel (app) ---------- */
.app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.app-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--line); background: rgba(13, 13, 16, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 40; }
.app-side__top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 18px; border-bottom: 1px solid var(--line); }
.app-side__top .brand span { font-size: 13.5px; }
.app-side__panel { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-top: 18px; }
.user-chip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: rgba(255, 240, 245, .03); border: 1px solid var(--line); margin-bottom: 16px; }
.user-chip img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brand-line); box-shadow: 0 0 0 4px rgba(255, 30, 86, .08); object-fit: cover; }
.user-chip strong { display: block; color: var(--text); font-size: 14.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.user-chip span { color: var(--muted); font-size: 12.5px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.side-nav a i { width: 20px; text-align: center; color: var(--muted); transition: color .2s; }
.side-nav a:hover { background: rgba(255, 240, 245, .05); color: var(--text); }
.side-nav a:hover i { color: var(--text); }
.side-nav a.is-active { background: var(--brand-soft); color: var(--text); }
.side-nav a.is-active i { color: var(--brand); }
.side-nav a.is-active::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.side-nav__staff { margin-top: 10px; border: 1px dashed rgba(255, 181, 71, .35); }
.side-nav__staff i { color: var(--warn) !important; }
.side-logout { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.side-logout button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: 600 14.5px var(--f-body); cursor: pointer; }
.side-logout button:hover { background: var(--err-soft); color: var(--err); }
.side-logout button i { width: 20px; text-align: center; }
.app-main { padding: clamp(22px, 4vw, 48px) clamp(16px, 4vw, 52px) 64px; min-width: 0; }
.app-main > * { max-width: 1120px; }
.page-head { margin-bottom: 26px; }
.page-head h1 { margin-bottom: 8px; }
.nav-toggle--side { display: none; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app-side { position: sticky; top: 0; height: auto; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-side__top { border-bottom: 0; padding: 0; }
  .nav-toggle--side { display: inline-flex; align-items: center; justify-content: center; }
  .app-side__panel { display: none; padding-top: 12px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .app-side.is-open .app-side__panel { display: flex; }
  .side-nav a.is-active::before { display: none; }
  .side-logout { margin-top: 10px; }
}

/* ---------- Estadísticas del panel ---------- */
.stat { display: flex; align-items: center; gap: 14px; }
.stat__val { display: block; color: var(--text); font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.2; }
.stat__lab { display: block; color: var(--muted); font-size: 12.5px; }
.welcome { padding: clamp(24px, 4vw, 40px); overflow: hidden; }
.welcome h1 { font-size: clamp(28px, 4vw, 42px); }
.welcome h1 .accent { color: var(--brand); text-shadow: 0 0 24px rgba(255, 30, 86, .5); }
.welcome::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,30,86,.18), transparent 70%); pointer-events: none; }

.apply-card { display: flex; flex-direction: column; gap: 10px; }
.apply-card__head { display: flex; align-items: center; gap: 12px; }
.apply-card__head h3 { margin: 0; font-family: var(--f-head); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.apply-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.apply-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.apply-card__note { font-size: 12.5px; color: var(--muted); }
.apply-card--featured { border-color: var(--brand-line); }
.apply-card .badge-new { position: absolute; top: 16px; right: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check-list li i { color: var(--brand); margin-top: 5px; font-size: 12px; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 22px; }
.form-section { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); }
.form-section__title { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--f-head); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.form-section__title .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: #ff4d78; font-size: 14px; letter-spacing: 0; }
.form-section__desc { margin: -8px 0 0; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field__label { color: var(--text); font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.field__label .opt, .field > label .opt { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.field__q { display: flex; gap: 12px; align-items: flex-start; }
.field__q .qnum { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-3); color: var(--text); font-family: var(--f-head); font-weight: 700; font-size: 13px; margin-top: -2px; }
.hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="number"], input[type="url"], input[type="date"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11, 11, 13, .65);
  color: var(--text); font: 500 15px/1.5 var(--f-body); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface); color: var(--text); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 240, 245, .22); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 30, 86, .2); background: rgba(11, 11, 13, .85); }
.is-invalid input, .is-invalid select, .is-invalid textarea, input.is-invalid, textarea.is-invalid, select.is-invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255, 99, 99, .15); }
.field__error { color: var(--err); font-size: 12.5px; font-weight: 600; }
.counter { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.counter__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; align-self: center; max-width: 220px; }
.counter__bar span { display: block; height: 100%; width: 0; background: var(--warn); transition: width .2s, background .2s; }
.counter.is-ok { color: var(--ok); } .counter.is-ok .counter__bar span { background: var(--ok); }
.counter.is-over { color: var(--err); } .counter.is-over .counter__bar span { background: var(--err); }

.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 240, 245, .025); cursor: pointer; transition: border-color .2s; }
.check:hover { border-color: var(--line-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.check span { font-size: 14px; color: var(--text-2); }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 16px 16px 48px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(11, 11, 13, .5); transition: border-color .2s, background .2s, box-shadow .2s; }
.choice__box::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: transparent; transition: .2s; }
.choice__title { color: var(--text); font-weight: 700; font-size: 15px; }
.choice__desc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.choice__meta { margin-top: 4px; }
.choice:hover .choice__box { border-color: rgba(255, 240, 245, .25); }
.choice input:checked + .choice__box { border-color: var(--brand); background: rgba(255, 30, 86, .07); box-shadow: 0 0 0 3px rgba(255, 30, 86, .14); }
.choice input:checked + .choice__box::before { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 45%, transparent 50%); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice input:disabled + .choice__box { opacity: .45; cursor: not-allowed; }
.choice--media .choice__box { padding: 0; overflow: hidden; }
.choice--media .choice__box::before { top: 12px; left: 12px; z-index: 2; background: rgba(0,0,0,.5); }
.choice__img { aspect-ratio: 16 / 9; background: var(--surface-3); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 30px; position: relative; overflow: hidden; }
.choice__img img { width: 100%; height: 100%; object-fit: cover; }
.choice__img .pill { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(12, 12, 15, .86); color: #FFC65C; border: 1px solid rgba(255, 198, 92, .55); font-size: 13px; font-weight: 800; padding: 5px 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .55); text-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.choice__img .pill i { color: #FFC65C; }
.choice__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }

.scale { display: flex; flex-wrap: wrap; gap: 6px; }
.scale label { flex: 1 1 40px; position: relative; }
.scale input { position: absolute; opacity: 0; }
.scale span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(11, 11, 13, .5); color: var(--text); font-weight: 700; cursor: pointer; transition: .15s; }
.scale label:hover span { border-color: rgba(255,240,245,.3); }
.scale input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 16px rgba(255, 30, 86, .45); }
.scale input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }

.submit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; }
.submit-bar .hint { max-width: 520px; }
.form-status { min-height: 1px; }
.draft-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.draft-note i { color: var(--ok); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.dropzone { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 26px; text-align: center; cursor: pointer; background: rgba(11, 11, 13, .45); transition: .2s; color: var(--muted); }
.dropzone i { font-size: 26px; color: var(--brand); margin-bottom: 8px; display: block; }
.dropzone strong { display: block; color: var(--text); }
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: rgba(255, 30, 86, .05); }
.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
.file-item i { color: var(--brand); }
.file-item .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.file-item .f-size { color: var(--muted); font-size: 12px; }
.file-item button { border: 0; background: transparent; color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; }
.file-item button:hover { color: var(--err); background: var(--err-soft); }

.rank-list { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) 44px; gap: 8px; }
.rank-row button { border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); border-radius: 12px; cursor: pointer; }
.rank-row button:hover { color: var(--err); border-color: rgba(255,99,99,.4); }
@media (max-width: 640px) { .rank-row { grid-template-columns: 1fr 44px; } .rank-row input:nth-child(2) { grid-column: 1 / 2; } .rank-row button { grid-row: 1 / 3; grid-column: 2; } }

.success-panel { text-align: center; padding: clamp(28px, 5vw, 48px); }
.success-panel .ico { margin: 0 auto 16px; }

/* ---------- Pestañas ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(11, 11, 13, .6); border: 1px solid var(--line); margin-bottom: 20px; width: fit-content; max-width: 100%; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 700 13.5px var(--f-body); cursor: pointer; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs .is-active { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs .is-active i { color: var(--brand); }
.tabs .count { min-width: 20px; padding: 0 6px; height: 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.tab-panel[hidden] { display: none; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-family: var(--f-head); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255, 240, 245, .025); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 240, 245, .02); }
.inline-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form input { min-height: 38px; padding: 7px 10px; font-size: 13.5px; max-width: 180px; }

/* ---------- Acordeón (postulaciones en admin) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r); background: rgba(24, 24, 28, .85); margin-bottom: 10px; overflow: hidden; }
.acc > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: rgba(255, 240, 245, .025); }
.acc__title { flex: 1; min-width: 0; }
.acc__title strong { display: block; color: var(--text); }
.acc__title span { color: var(--muted); font-size: 13px; }
.acc__chev { color: var(--muted); transition: transform .2s; }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__body { padding: 4px 18px 18px; border-top: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 14px 0; }
.kv div { padding: 10px 12px; border-radius: 10px; background: rgba(11,11,13,.5); border: 1px solid var(--line); }
.kv span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kv b { color: var(--text); font-size: 14px; word-break: break-word; }
.answer { margin: 12px 0; }
.answer__q { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.answer__a { white-space: pre-wrap; word-break: break-word; padding: 12px 14px; border-radius: 10px; background: rgba(11,11,13,.55); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.answer__ref { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.answer__ref b { color: var(--ok); }

/* ---------- Normativa ---------- */
.rules { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.rules-nav { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 14px; }
.rules-search { margin-bottom: 12px; }
.rules-search input { min-height: 42px; padding-left: 38px; background-image: none; }
.rules-search { position: relative; }
.rules-search i { position: absolute; left: 14px; top: 13px; color: var(--muted); font-size: 14px; }
.rules-group + .rules-group { margin-top: 8px; }
.rules-group__title { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px; border: 0; background: transparent; color: var(--brand); font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; border-radius: 8px; }
.rules-group__title i { transition: transform .2s; }
.rules-group.is-collapsed .rules-group__title i { transform: rotate(-90deg); }
.rules-group.is-collapsed .rules-group__body { display: none; }
.rules-cat { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 700 14px var(--f-body); cursor: pointer; text-align: left; }
.rules-cat:hover { background: rgba(255,240,245,.04); }
.rules-cat > i { color: var(--muted); font-size: 11px; transition: transform .2s; }
.rules-cat.is-open > i { transform: rotate(180deg); }
.rules-cat span i { color: var(--brand); width: 18px; margin-right: 8px; }
.rules-sub { display: none; padding: 2px 0 8px 10px; }
.rules-sub.is-open { display: block; }
.rules-link { display: flex; gap: 10px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.rules-link span { color: var(--faint); font-variant-numeric: tabular-nums; min-width: 28px; font-family: var(--f-head); }
.rules-link:hover { color: var(--text); background: rgba(255,240,245,.04); }
.rules-link.is-active { color: #fff; background: var(--brand-soft); box-shadow: inset 2px 0 0 var(--brand); }
.rules-link.is-active span { color: var(--brand); }
.rules-link.is-hidden { display: none; }
.rules-body { min-height: 60vh; }
.norm-content { display: none; animation: fade .3s ease; }
.norm-content.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.norm-content h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.norm-content h2 { font-size: 21px; margin: 30px 0 12px; padding-top: 4px; color: var(--text); }
.norm-content h2::before { content: ""; display: inline-block; width: 4px; height: 18px; margin-right: 10px; vertical-align: -2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.norm-content h3 { font-size: 16.5px; margin: 22px 0 8px; font-family: var(--f-body); }
.norm-content p, .norm-content li { font-size: 15.5px; line-height: 1.75; }
.norm-content ul { padding-left: 20px; margin: 0 0 1em; }
.norm-content li { margin-bottom: 6px; }
.norm-content li::marker { color: var(--brand); }
.info-box, .alert-box, .success-box, .quote-box { padding: 16px 20px; border-radius: 14px; margin: 20px 0; border: 1px solid var(--line-2); }
.info-box { background: var(--brand-soft); border-color: var(--brand-line); border-left: 4px solid var(--brand); }
.alert-box { background: var(--warn-soft); border-color: rgba(255,181,71,.3); border-left: 4px solid var(--warn); color: var(--text-2); }
.success-box { background: var(--ok-soft); border-color: rgba(47,209,139,.3); border-left: 4px solid var(--ok); }
.quote-box { background: rgba(255,240,245,.03); font-family: var(--f-head); font-size: 19px; color: var(--text); text-align: center; letter-spacing: .02em; }
.info-box > :last-child, .alert-box > :last-child, .success-box > :last-child { margin-bottom: 0; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.example-item { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
@media (max-width: 640px) { .example-grid { grid-template-columns: 1fr; } }
.sanction-table { width: 100%; border-collapse: collapse; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.sanction-table th, .sanction-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.sanction-table th { font-family: var(--f-head); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); background: rgba(255,30,86,.05); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-temp { background: rgba(255,138,0,.13); color: #ff9a3c; }
.tag-perm { background: var(--err-soft); color: var(--err); }
.tag-blue { background: var(--brand-soft); color: #ff5a82; }
.step-list { counter-reset: step; list-style: none; padding: 0 !important; margin: 18px 0; display: grid; gap: 8px; }
.step-list li { counter-increment: step; position: relative; padding: 12px 14px 12px 52px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.step-list li::before { content: counter(step); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: #ff4d78; font-family: var(--f-head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.grid-zones { display: grid; gap: 12px; margin: 18px 0; }
.zone { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.empty-placeholder { padding: 40px; text-align: center; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); }
.rules-mobile-bar { display: none; }
@media (max-width: 960px) {
  .rules { grid-template-columns: 1fr; }
  .rules-nav { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; z-index: 70; border-radius: 0 var(--r-lg) var(--r-lg) 0; transform: translateX(-105%); transition: transform .25s ease; }
  .rules-nav.is-open { transform: none; }
  .rules-mobile-bar { display: flex; gap: 10px; align-items: center; position: sticky; top: 72px; z-index: 30; margin-bottom: 16px; }
  .rules-mobile-bar .btn { flex: none; }
  .rules-mobile-bar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; }
}

/* ---------- Mantenimiento ---------- */
.mnt { min-height: 100vh; display: flex; flex-direction: column; }
.mnt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.mnt-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 16px 30px; }
.mnt-card { width: 100%; max-width: 470px; text-align: center; padding: 34px 30px 26px; }
.mnt-logo { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 26px; filter: drop-shadow(0 0 26px rgba(255, 30, 86, .6)); animation: float 5s ease-in-out infinite; }
.mnt-card h1 { font-size: clamp(30px, 6vw, 40px); margin-bottom: 12px; }
.mnt-card .lead { font-size: 15.5px; margin: 0 auto 24px; }
.mnt-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: left; margin-bottom: 24px; }
.mnt-feats .tile { padding: 12px; }
.mnt-feats .ico { width: 26px; height: 26px; font-size: 11px; border-radius: 8px; }
.mnt-feats h3 { font-size: 13.5px; margin: 10px 0 2px; }
.mnt-feats p { font-size: 12px; }
.mnt-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.mnt-note { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; }
.mnt-foot { display: flex; justify-content: space-between; gap: 10px; padding: 18px var(--gutter) 24px; color: var(--faint); font-family: var(--f-head); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 560px) {
  .mnt-top .brand span { display: none; }
  .mnt-feats { grid-template-columns: 1fr; gap: 10px; }
  .mnt-feats .tile { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .mnt-feats .ico { grid-row: span 2; width: 34px; height: 34px; }
  .mnt-feats h3 { margin: 0; font-size: 15px; }
  .mnt-feats p { font-size: 13.5px; }
  .mnt-actions .btn--primary { width: 100%; }
  .mnt-foot { flex-direction: column; align-items: center; }
}

/* ---------- Toast ---------- */
.toast-host { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(30,30,35,.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--text); font-size: 14px; animation: fade .25s ease; }
.toast i { margin-top: 3px; }
.toast--ok i { color: var(--ok); } .toast--err i { color: var(--err); } .toast--info i { color: var(--info); }

/* ---------- Varios ---------- */
.divider-title { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; color: var(--muted); font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; }
.divider-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.list-plain { list-style: none; margin: 0; padding: 0; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
.price { text-align: center; padding: 14px 10px; }
.price__name { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--f-head); }
.price__amount { font-family: var(--f-head); color: var(--text); font-size: 22px; font-weight: 700; }
.price__eur { color: var(--brand); font-weight: 800; }
.taken { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.taken div { flex: 1; min-width: 0; }
.taken strong { display: block; font-size: 14px; }
.taken span { color: var(--muted); font-size: 12.5px; }

/* Test de la whitelist: respuestas en lista */
.choices--list { grid-template-columns: 1fr; gap: 10px; }
.choices--list .choice__box { padding-top: 14px; padding-bottom: 14px; }
.choice__desc--answer { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.choice input:checked + .choice__box .choice__desc--answer { color: var(--text); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 10px; color: var(--text); font-weight: 700; font-size: 14.5px; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) { body::before { transform: none !important; transition: none; } .hero__logo { animation: none; } }
/* ---------- Panel staff · catálogo de negocios ---------- */
.neg-thumb { width: 64px; height: 40px; flex: 0 0 64px; border-radius: 8px; overflow: hidden; background: var(--surface-3); display: flex; align-items: center; justify-content: center; color: var(--faint); border: 1px solid var(--line); }
.neg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acc--off { opacity: .55; }
.acc--off[open] { opacity: 1; }
.acc--new { border-style: dashed; border-color: var(--line-2); }
.neg-acciones { align-items: center; }
.neg-acciones__sep { flex: 1; }
.neg-form__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .neg-form__grid { grid-template-columns: 1fr; } }
.neg-form__img { display: flex; flex-direction: column; gap: 10px; }
.neg-prev { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 30px; }
.neg-prev img { width: 100%; height: 100%; object-fit: cover; }
.neg-form input[type=file] { font-size: 12.5px; max-width: 100%; }
.neg-form .field-row, .neg-form .field { margin-bottom: 12px; }

/* ---------- Tienda oficial (Tebex) en la página de negocios ---------- */
.price--link { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.price--link:hover { border-color: rgba(255, 30, 86, .45); transform: translateY(-2px); }
.price__bonus { font-size: 12px; font-weight: 800; color: var(--ok); margin: 2px 0; }
.price-vip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-color: rgba(255, 181, 71, .3); }
.price-vip > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.price-vip > div span { color: var(--muted); font-size: 13.5px; }
.price-vip .ico { color: var(--warn); }
.price-vip .price__eur { white-space: nowrap; font-size: 17px; }
.neg-mover { display: inline-flex; gap: 6px; }
.acc__title s { color: var(--faint); }
/* Unreal Roleplay · 04/11 · franja de creadores (inicio del panel y portada) */
.creator-strip { flex-direction: row; align-items: center; gap: 16px; text-decoration: none; color: inherit; border-color: var(--brand-line); }
.creator-strip:hover { border-color: var(--brand); }
.creator-strip__txt { flex: 1; min-width: 0; }
.creator-strip__txt h3 { margin: 0 0 4px; }
.creator-strip__txt p { margin: 0; }
@media (max-width: 640px) { .creator-strip { flex-direction: column; align-items: flex-start; } }