/* ═══════════════════════════════════════════════════════════════════════════
   COMUNIDAD · «REVISTA DE LA COMUNIDAD»
   Una revista de videojuegos en español hecha con bloques: secciones de color
   fijo por categoría, reseñas con ficha técnica, láminas enmarcadas, biseles
   claro/oscuro sin radios y rótulos Silkscreen. Solo en mcbe
   (body.pgmpe-community-only); se carga después de main/community/home.
   El naranja de marca se reserva para la acción principal de cada pantalla.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Silkscreen'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/silkscreen/silkscreen-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Silkscreen'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/silkscreen/silkscreen-700-latin.woff2') format('woff2'); }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
body.pgmpe-community-only {
  --rv-ground: #17141f;
  --rv-paper: #201c2b;
  --rv-paper-2: #282335;
  --rv-paper-3: #30283f;
  --rv-ink: #f3eefa;
  --rv-ink-2: #c3bad1;
  --rv-ink-3: #a197b3;
  --rv-edge: #3a3249;
  --rv-line: #342d44;
  --rv-line-strong: #4b4262;
  --rv-card-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 8px 20px -12px rgba(0, 0, 0, .55);
  --rv-hi: rgba(255, 255, 255, .07);
  --rv-lo: rgba(0, 0, 0, .28);
  --rv-rule: rgba(243, 238, 250, .14);
  --rv-orange: #ffa600;
  --rv-orange-hi: #ffc04d;
  --rv-orange-ink: #1b1203;
  --rv-orange-fg: #ffb733;
  --rv-cat-ink: var(--rv-ink);
  --rv-tex: var(--rv-paper-3);
  --rv-add: var(--rv-paper-3);
  --rv-map: #3fa56f;
  --rv-ski: #d9667f;
  --rv-tex-fg: var(--rv-ink-2);
  --rv-add-fg: var(--rv-ink-2);
  --rv-map-fg: #6cc896;
  --rv-ski-fg: #ee8ba0;
  --rv-display: 'Outfit', var(--font-display, sans-serif);
  --rv-body: 'Inter', var(--font-body, system-ui), sans-serif;
  --rv-pixel: 'Silkscreen', 'Outfit', monospace;
  --rv-bevel: inset 0 1px 0 var(--rv-hi), inset 0 -2px 0 var(--rv-lo);
  --rv-bevel-in: inset 0 2px 0 var(--rv-lo);
  --rv-lift: 0 2px 4px rgba(0, 0, 0, .2), 0 14px 30px -16px rgba(0, 0, 0, .6);
  --px-k: #07060b;
  /* Tokens que ya leen la cabecera y la portada v2. */
  --cm-hdr-bg: var(--rv-paper);
  --cm-hdr-line: var(--rv-edge);
  --cm-hdr-ctl: var(--rv-rule);
  --cm-hdr-field: var(--rv-ground);
  --cm-hdr-tx: var(--rv-ink);
  --cm-hdr-tx2: var(--rv-ink-2);
  --cm-hdr-brand: var(--rv-orange-fg);
  --cm-tex: var(--rv-tex-fg);
  --cm-add: var(--rv-add-fg);
  --cm-map: var(--rv-map-fg);
  --cm-ski: var(--rv-ski-fg);
  --cm-rank: var(--rv-orange-fg);
  /* Tokens semánticos del tema (main.css) traducidos a la paleta de la revista, en los dos temas:
     cuenta, contacto, formularios y pie heredan contrastes AA sin reglas sueltas por componente. */
  --rv-danger: #dc2626;
  --rv-danger-fg: #ff8c82;
  --rv-rate: #ffc83d;
  --rv-map-ink: #08210f;
  --color-bg-base: var(--rv-ground);
  --color-bg-surface: var(--rv-paper);
  --color-bg-card: var(--rv-paper);
  --color-bg-elevated: var(--rv-paper-2);
  --color-text-primary: var(--rv-ink);
  --color-text-secondary: var(--rv-ink-2);
  --color-text-muted: var(--rv-ink-3);
  --color-text-soft: var(--rv-ink-3);
  --color-border-subtle: var(--rv-line);
  --color-border-default: var(--rv-line-strong);
  --color-danger: var(--rv-danger);
  background: var(--rv-ground);
  color: var(--rv-ink);
  scrollbar-color: var(--rv-ink-3) var(--rv-ground);
  caret-color: var(--rv-orange);
}

[data-theme="light"] body.pgmpe-community-only {
  --rv-ground: #f4f2f7;
  --rv-paper: #ffffff;
  --rv-paper-2: #f7f5fa;
  --rv-paper-3: #eeebf3;
  --rv-ink: #17131d;
  --rv-ink-2: #463e52;
  --rv-ink-3: #625a6f;
  --rv-edge: #d6d0e0;
  --rv-line: #e0dbe8;
  --rv-line-strong: #cbc3d8;
  --rv-card-shadow: 0 1px 2px rgba(40, 28, 60, .06), 0 8px 20px -12px rgba(40, 28, 60, .18);
  --rv-hi: rgba(255, 255, 255, .9);
  --rv-lo: rgba(23, 19, 29, .08);
  --rv-rule: rgba(23, 19, 29, .14);
  --rv-orange-fg: #9a4d00;
  --rv-tex-fg: var(--rv-ink-2);
  --rv-add-fg: var(--rv-ink-2);
  --rv-map-fg: #237a4a;
  --rv-ski-fg: #b8344f;
  --rv-lift: 0 2px 4px rgba(40, 28, 60, .06), 0 14px 30px -18px rgba(40, 28, 60, .28);
  --px-k: #3b3348;
  --rv-danger: #b42318;
  --rv-danger-fg: #b42318;
  --rv-rate: #8a5a00;
  /* En claro, el naranja de marca no llega a 4,5:1 como texto: enlaces y acentos usan el tostado. */
  --color-primary: var(--rv-orange-fg);
  --color-primary-hover: #7a3d00;
}

body.pgmpe-community-only ::placeholder { color: var(--rv-ink-3); opacity: 1; }

body.pgmpe-community-only .cmh {
  --cmh-bg: var(--rv-ground);
  --cmh-surface: var(--rv-paper);
  --cmh-card: var(--rv-paper);
  --cmh-elev: var(--rv-paper-2);
  --cmh-line: var(--rv-rule);
  --cmh-line2: var(--rv-rule);
  --cmh-ctl: var(--rv-ink-3);
  --cmh-tx: var(--rv-ink);
  --cmh-tx2: var(--rv-ink-2);
  --cmh-tx3: var(--rv-ink-3);
  --cmh-accent: var(--rv-orange);
  --cmh-accent-fg: var(--rv-orange-fg);
  --cmh-tex: var(--rv-tex);
  --cmh-add: var(--rv-add);
  --cmh-map: var(--rv-map);
  --cmh-ski: var(--rv-ski);
  --cmh-tex-fg: var(--rv-tex-fg);
  --cmh-add-fg: var(--rv-add-fg);
  --cmh-map-fg: var(--rv-map-fg);
  --cmh-ski-fg: var(--rv-ski-fg);
  --cmh-shadow: var(--rv-lift);
  font-family: var(--rv-body);
}

/* Color de sección: el mismo significado en cabecera, rótulo, ficha y filtro. */
body.pgmpe-community-only .cmh-cat--texturas, body.pgmpe-community-only .rv-cat--texturas, body.pgmpe-community-only .cm-nav__link--texturas { --sec: var(--rv-paper-3); --sec-fg: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-cat--addons, body.pgmpe-community-only .rv-cat--addons, body.pgmpe-community-only .cm-nav__link--addons { --sec: var(--rv-paper-3); --sec-fg: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-cat--mundos, body.pgmpe-community-only .rv-cat--mundos, body.pgmpe-community-only .cm-nav__link--mundos { --sec: var(--rv-paper-3); --sec-fg: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-cat--skins, body.pgmpe-community-only .rv-cat--skins, body.pgmpe-community-only .cm-nav__link--skins { --sec: var(--rv-paper-3); --sec-fg: var(--rv-ink-2); }
body.pgmpe-community-only .rv-cat--other, body.pgmpe-community-only .cmh-cat--other { --sec: var(--rv-ink-3); --sec-fg: var(--rv-ink-2); }

/* ── Superficies del navegador ──────────────────────────────────────────── */
body.pgmpe-community-only ::selection { background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only :focus-visible { outline: 3px solid var(--rv-orange); outline-offset: 2px; }
body.pgmpe-community-only .cmh *, body.pgmpe-community-only .cmm-banner * { border-radius: 0; }
body.pgmpe-community-only .px-ico { display: inline-block; flex: none; image-rendering: pixelated; vertical-align: middle; }
/* [hidden] siempre oculta: los display de autor (p. ej. .cmh-btn) no deben ganarle (el pager SSR que el JS oculta). */
body.pgmpe-community-only [hidden] { display: none !important; }

/* ── Botones ────────────────────────────────────────────────────────────── */
body.pgmpe-community-only .cmh-btn { display: inline-flex; }
/* Sin display en los de la cabecera: main.css los oculta en móvil. */
body.pgmpe-community-only .cmh-btn,
body.pgmpe-community-only .cm-hdr-login,
body.pgmpe-community-only .cm-hdr-register,
body.pgmpe-community-only .cm-hdr-publish {
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
  font: 700 15px/1 var(--rv-display);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
body.pgmpe-community-only .cmh-btn--primary,
body.pgmpe-community-only .cm-hdr-register,
body.pgmpe-community-only .cm-hdr-publish {
  background: var(--rv-orange);
  color: var(--rv-orange-ink);
  --rv-hi: rgba(255, 255, 255, .4);
  --rv-lo: rgba(130, 65, 0, .3);
}
body.pgmpe-community-only .cmh-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .cmh-btn:hover,
  body.pgmpe-community-only .cm-hdr-login:hover { background: var(--rv-paper-3); }
  body.pgmpe-community-only .cmh-btn--primary:hover,
  body.pgmpe-community-only .cm-hdr-register:hover,
  body.pgmpe-community-only .cm-hdr-publish:hover { background: var(--rv-orange-hi); }
}
body.pgmpe-community-only .cmh-btn:active,
body.pgmpe-community-only .cm-hdr-login:active,
body.pgmpe-community-only .cm-hdr-register:active,
body.pgmpe-community-only .cm-hdr-publish:active { box-shadow: var(--rv-bevel-in); transform: translateY(1px); }

body.pgmpe-community-only .cmh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rv-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rv-orange);
}
body.pgmpe-community-only .cmh-link .px-ico { color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmh-link:hover { text-decoration-color: currentColor; }

/* ── Cabecera ───────────────────────────────────────────────────────────── */
body.pgmpe-community-only .site-navbar,
body.pgmpe-community-only .site-navbar.is-scrolled,
[data-theme="light"] body.pgmpe-community-only .site-navbar,
[data-theme="light"] body.pgmpe-community-only .site-navbar.is-scrolled.navbar--past-hero {
  border-bottom: 1px solid var(--rv-line);
  background: var(--rv-paper);
  box-shadow: none;
}
body.pgmpe-community-only .site-navbar.is-scrolled,
[data-theme="light"] body.pgmpe-community-only .site-navbar.is-scrolled.navbar--past-hero { box-shadow: var(--rv-lift); }
body.pgmpe-community-only .cm-brand__text b { font-family: var(--rv-display); font-weight: 800; color: var(--rv-ink); }
/* Logotipo completo (símbolo + nombre) cuando la instalación tiene marca propia */
body.pgmpe-community-only .cm-brand__wordmark { display: block; width: auto; height: 32px; max-width: 100%; }
/* Tinta del logotipo según el tema: clara sobre el oscuro (por defecto), oscura sobre el claro. */
body.pgmpe-community-only .cm-brand__wordmark--on-light,
[data-theme="light"] body.pgmpe-community-only .cm-brand__wordmark--on-dark { display: none; }
[data-theme="light"] body.pgmpe-community-only .cm-brand__wordmark--on-light { display: block; }
body.pgmpe-community-only .site-footer .cm-brand__wordmark { height: 30px; }
@media (max-width: 480px) { body.pgmpe-community-only .site-navbar .cm-brand__wordmark { height: 26px; } }
body.pgmpe-community-only .cm-brand__text small { font: 400 10px/12px var(--rv-pixel); letter-spacing: .08em; color: var(--rv-orange-fg); }

body.pgmpe-community-only .site-navbar__nav .cm-nav__link {
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  border: 2px solid transparent;
  border-radius: 0;
  color: var(--rv-ink);
  font: 700 15px/1 var(--rv-display);
}
body.pgmpe-community-only .cm-nav__link .px-cat { width: 20px; height: 20px; color: var(--sec); transition: transform .2s steps(2, end); }
body.pgmpe-community-only .cm-nav__link.is-current::after { display: none; }
body.pgmpe-community-only .site-navbar .site-navbar__nav .cm-nav__link.is-current {
  border-color: var(--rv-edge);
  background: var(--sec, var(--rv-orange));
  box-shadow: var(--rv-bevel);
  color: var(--rv-cat-ink);
  --rv-hi: rgba(255, 255, 255, .4);
  --rv-lo: rgba(0, 0, 0, .3);
}
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .site-navbar__nav .cm-nav__link:hover { background: color-mix(in srgb, var(--sec, var(--rv-orange)) 18%, transparent); border-color: color-mix(in srgb, var(--sec, var(--rv-orange)) 50%, transparent); }
  body.pgmpe-community-only .cm-nav__link:hover .px-cat { transform: translateY(-2px); }
}
body.pgmpe-community-only .cm-nav__sep { width: 2px; background: var(--rv-rule); }

body.pgmpe-community-only .cm-search__field {
  height: 40px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-ground);
  box-shadow: var(--rv-bevel-in);
}
body.pgmpe-community-only .cm-search__field:focus-within { border-color: var(--rv-orange); box-shadow: var(--rv-bevel-in), 0 0 0 1px var(--rv-orange); }
/* El foco lo marca la caja; el contorno global de :focus-visible pintaba un segundo anillo redondeado dentro */
body.pgmpe-community-only .cm-search__field input:focus-visible { outline: 0; border-radius: 0; }
body.pgmpe-community-only .cm-search__toggle,
body.pgmpe-community-only .cm-search__close { border-radius: 0; color: var(--rv-ink); }
body.pgmpe-community-only .cm-hdr-login, body.pgmpe-community-only .cm-hdr-register, body.pgmpe-community-only .cm-hdr-publish { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Barra superior de avisos (su fondo lo configura el dueño): botón y cierre en casilla. */
body.pgmpe-community-only .pgmpe-topbar { border-bottom: 1px solid var(--rv-line); }
body.pgmpe-community-only .pgmpe-topbar__cta,
body.pgmpe-community-only .pgmpe-topbar__close { border-radius: 0 !important; border: 1px solid var(--rv-line); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .5), inset -2px -2px 0 rgba(0, 0, 0, .25); }
/* Controles de la cabecera: casillas biseladas, sin círculos ni píldoras. */
body.pgmpe-community-only .site-navbar .theme-dial,
body.pgmpe-community-only .site-navbar .lang-switcher__toggle,
body.pgmpe-community-only .site-navbar .mobile-menu-toggle,
body.pgmpe-community-only .site-navbar .pgmpe-auth-avatar-btn,
body.pgmpe-community-only .site-navbar [class*="avatar-toggle"] {
  border-radius: 0 !important;
  border: 1px solid var(--rv-line) !important;
  background: var(--rv-paper-2) !important;
  box-shadow: var(--rv-bevel) !important;
}
/* Selector de idioma: casilla de papel biselada (sin vidrio difuminado ni radios). */
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown,
body.pgmpe-community-only .site-navbar.navbar--past-hero .lang-switcher__dropdown {
  min-width: 184px;
  padding: 4px;
  border: 2px solid var(--rv-line-strong) !important;
  border-radius: 0;
  background: var(--rv-paper) !important;
  box-shadow: var(--rv-bevel), var(--rv-lift) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(-6px);
  transform-origin: top right;
}
body.pgmpe-community-only .site-navbar .lang-switcher.is-open .lang-switcher__dropdown { transform: none; }
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown li + li { border-top: 1px solid var(--rv-line); }
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown a,
body.pgmpe-community-only .site-navbar.navbar--past-hero .lang-switcher__dropdown a {
  gap: 10px;
  padding: 10px 12px;
  border-radius: 0;
  color: var(--rv-ink) !important;
  font: 600 14px/1 var(--rv-display);
}
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown a:hover,
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown a:focus-visible { background: var(--rv-paper-3); color: var(--rv-ink) !important; outline-offset: -3px; }
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown a.is-active {
  background: var(--rv-paper-2);
  box-shadow: inset 3px 0 0 var(--rv-orange);
  font-weight: 700;
}
body.pgmpe-community-only .site-navbar .lang-switcher__dropdown a.is-active::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  background: var(--rv-orange);
  box-shadow: inset 0 -2px 0 rgba(130, 65, 0, .35);
  opacity: 1;
}
body.pgmpe-community-only .site-navbar .lang-switcher__toggle .px { display: block; }
body.pgmpe-community-only .site-navbar .lang-switcher__current { font: 400 12px/1 var(--rv-pixel); letter-spacing: .06em; }
body.pgmpe-community-only .site-navbar .theme-dial__wheel,
body.pgmpe-community-only .site-navbar .theme-dial__face { border-radius: 0 !important; }
body.pgmpe-community-only .proj-comment-form-title::before { display: none !important; }
body.pgmpe-community-only .proj-comment__emoji-text-btn { border-radius: 0 !important; border: 1px solid var(--rv-line) !important; background: var(--rv-paper-2) !important; box-shadow: var(--rv-bevel) !important; color: var(--rv-ink) !important; }
body.pgmpe-community-only .cmm-rate__avg.is-empty { display: none; }
body.pgmpe-community-only .cmm-rate__avg.is-empty + .cmm-rate__you { border-top: 2px solid var(--rv-rule); }

/* ── Primera pantalla: cabecera de la revista + portada del número ─────── */
body.pgmpe-community-only .cmh-hero.rv-cover {
  position: relative;
  padding: 40px 0 44px;
  background: var(--rv-ground);
  border-bottom: 0;
  overflow: visible;
}
body.pgmpe-community-only .cmh-hero.rv-cover::before { display: none; }
body.pgmpe-community-only .rv-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 40px;
}
body.pgmpe-community-only .rv-mast::after { content: ""; grid-column: 1 / -1; height: 4px; margin-top: 4px; background: var(--rv-edge); }
body.pgmpe-community-only .rv-cover .cmh-hero__text { max-width: 920px; }
body.pgmpe-community-only .rv-cover .cmh-hero__title {
  margin: 0;
  font: 800 clamp(30px, 3vw, 44px)/1.05 var(--rv-display);
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--rv-ink);
}
body.pgmpe-community-only .rv-cover .cmh-hero__lead {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--rv-ink-2);
}
body.pgmpe-community-only .rv-cover .cmh-hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  margin: 0;
}
body.pgmpe-community-only .cmh-beta {
  display: inline-block;
  margin-left: 6px;
  padding: 6px 8px 5px;
  border: 1px solid var(--rv-line);
  background: var(--rv-orange);
  box-shadow: var(--rv-bevel);
  color: var(--rv-orange-ink);
  font: 400 12px/1 var(--rv-pixel);
  vertical-align: middle;
  letter-spacing: 0;
}
body.pgmpe-community-only .rv-issue {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 28px;
  margin-top: 28px;
}
body.pgmpe-community-only .rv-issue--nocover { grid-template-columns: minmax(0, 1fr); }
body.pgmpe-community-only .rv-issue__cover { min-width: 0; }

/* Portada del número (carrusel de destacados) como lámina enmarcada. */
body.pgmpe-community-only .cmm-banner {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-edge);
  box-shadow: var(--rv-lift);
}
body.pgmpe-community-only .cmm-banner__viewport { border-radius: 0; aspect-ratio: 16 / 9; }
body.pgmpe-community-only .cmm-banner__img { border-radius: 0; width: 100%; height: 100%; object-fit: cover; }
body.pgmpe-community-only .cmm-banner__track, body.pgmpe-community-only .cmm-banner__slide { height: 100%; }
body.pgmpe-community-only .cmm-banner__shade { background: linear-gradient(to top, rgba(7, 6, 11, .92) 0%, rgba(7, 6, 11, .55) 38%, rgba(7, 6, 11, 0) 64%); }
body.pgmpe-community-only .cmm-banner__overlay { padding: 28px 32px; gap: 10px; }
body.pgmpe-community-only .cmm-banner__title {
  font: 800 clamp(28px, 3.2vw, 46px)/1 var(--rv-display);
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .6);
}
body.pgmpe-community-only .cmm-banner__meta { font-size: 14px; color: #e9e3f2; }
body.pgmpe-community-only .cmm-banner__sub {
  padding: 4px 7px 3px;
  border: 1px solid var(--rv-line);
  background: var(--sec, #fff);
  color: var(--rv-cat-ink);
  font: 400 11px/1 var(--rv-pixel);
  text-transform: uppercase;
}
body.pgmpe-community-only .cmm-banner__avatar { border-radius: 0; border: 1px solid var(--rv-line); }
body.pgmpe-community-only .cmm-banner__badge {
  top: 18px;
  left: 18px;
  padding: 7px 9px 6px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: #fff;
  color: #07060b;
  font: 700 12px/1 var(--rv-pixel);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .25);
  
}
body.pgmpe-community-only .cmm-banner__cta {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(130, 65, 0, .3);
  color: var(--rv-orange-ink);
  font: 700 15px/1 var(--rv-display);
}
body.pgmpe-community-only .cmm-banner__nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: rgba(29, 24, 40, .85);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .15), inset -2px -2px 0 rgba(0, 0, 0, .5);
  color: #fff;
}
body.pgmpe-community-only .cmm-banner__dots { gap: 6px; padding: 6px; border-radius: 0; background: rgba(7, 6, 11, .7); }
body.pgmpe-community-only .cmm-banner__dot { width: 12px; height: 12px; border-radius: 0; border: 2px solid #fff; background: transparent; }
body.pgmpe-community-only .cmm-banner__dot.is-active { width: 24px; background: var(--rv-orange); border-color: var(--rv-orange); }
body.pgmpe-community-only .cmm-banner__pause { border-radius: 0; color: #fff; }

/* Lista de éxitos. */
.rv-hits {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rv-line);
  background: var(--rv-paper);
  box-shadow: var(--rv-lift);
}
.rv-hits__title {
  margin: 0;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--rv-line);
  background: var(--rv-orange);
  color: var(--rv-orange-ink);
  font: 700 16px/1.25 var(--rv-display);
  letter-spacing: .02em;
}
.rv-hits__list { flex: 1; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.rv-hit { flex: 1; border-top: 2px solid var(--rv-rule); }
.rv-hit:first-child { border-top: 0; }
.rv-hit__link {
  display: grid;
  grid-template-columns: 40px 80px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 10px 14px;
  color: var(--rv-ink);
  text-decoration: none;
}
.rv-hit__n {
  font: 400 28px/1 var(--rv-pixel);
  color: var(--rv-ink-3);
  text-align: center;
}
.rv-hit:first-child .rv-hit__n { color: var(--rv-orange-fg); }
.rv-hit__img {
  width: 80px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rv-line);
  background: var(--sec, var(--rv-paper-3));
  overflow: hidden;
}
.rv-hit__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-hit__txt { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.rv-hit__name { font: 700 15px/1.2 var(--rv-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-hit__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--rv-ink-2); }
.rv-hit__cat { padding: 3px 5px 2px; background: var(--sec); color: var(--rv-cat-ink); font: 400 10px/1 var(--rv-pixel); text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .rv-hit__link:hover { background: var(--rv-paper-2); }
  .rv-hit__link:hover .rv-hit__name { text-decoration: underline; text-decoration-color: var(--sec-fg); text-decoration-thickness: 2px; text-underline-offset: 3px; }
}

/* ── Secciones (categorías) ─────────────────────────────────────────────── */
body.pgmpe-community-only .cmh-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 40px;
}
body.pgmpe-community-only .cmh-cat {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--sec);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .14);
  color: var(--rv-cat-ink);
  text-decoration: none;
  transition: transform .12s ease;
}
body.pgmpe-community-only .cmh-cat__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  color: var(--sec);
  --px-k: #07060b;
}
body.pgmpe-community-only .cmh-cat__name { display: block; font: 800 22px/1 var(--rv-display); letter-spacing: -.01em; color: var(--rv-cat-ink); }
body.pgmpe-community-only .cmh-cat__meta { display: block; margin-top: 6px; font: 400 12px/1.2 var(--rv-pixel); color: var(--rv-ink-2); text-transform: uppercase; }
body.pgmpe-community-only .cmh-cat__go { color: var(--rv-cat-ink); transition: transform .15s steps(2, end); }
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .cmh-cat:hover { transform: translateY(-3px); }
  body.pgmpe-community-only .cmh-cat:hover .cmh-cat__go { transform: translateX(3px); }
}

/* ── Feed: índice con pestañas ──────────────────────────────────────────── */
body.pgmpe-community-only .cmh-feedhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 2px solid var(--rv-line-strong);
}
body.pgmpe-community-only .cmh-h2 {
  margin: 0 0 10px;
  font: 800 clamp(26px, 2.4vw, 34px)/1 var(--rv-display);
  letter-spacing: -.02em;
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmh-tabs { display: flex; flex-wrap: wrap; gap: 4px; border: 0; margin: 0; }
body.pgmpe-community-only .cmh-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rv-line);
  border-bottom: 0;
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: inset 2px 2px 0 var(--rv-hi);
  color: var(--rv-ink-2);
  font: 700 14px/1 var(--rv-display);
  text-decoration: none;
}
body.pgmpe-community-only .cmh-tab::after { display: none !important; }
body.pgmpe-community-only .cmh-tab[aria-current="page"] {
  border-color: var(--rv-edge);
  background: var(--rv-ink);
  color: var(--rv-ground);
  box-shadow: none;
}
body.pgmpe-community-only .cmh-tab[aria-current="page"] .px-ico { color: var(--rv-orange); }
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .cmh-tab:not([aria-current]):hover { background: var(--rv-paper-3); color: var(--rv-ink); }
}
body.pgmpe-community-only .cmh-tab__count { border-radius: 0; background: var(--rv-orange); color: var(--rv-orange-ink); font-family: var(--rv-pixel); }

/* ── Reseña (tarjeta de proyecto) ───────────────────────────────────────── */
body.pgmpe-community-only .cmh-grid { gap: 24px; }
body.pgmpe-community-only .cmh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: none;
  overflow: visible;
  transition: transform .14s ease, box-shadow .14s ease;
}
body.pgmpe-community-only .cmh-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-3);
  overflow: hidden;
}
body.pgmpe-community-only .cmh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
body.pgmpe-community-only .cmh-card__ph { color: var(--rv-ink-3); }
body.pgmpe-community-only .cmh-card__tl { top: 0; left: 0; gap: 0; }
body.pgmpe-community-only .cmh-chipcat {
  padding: 7px 9px 6px;
  border: 0;
  border-right: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--sec);
  color: var(--rv-cat-ink);
  font: 400 11px/1 var(--rv-pixel);
  text-transform: uppercase;
  letter-spacing: .02em;
}
body.pgmpe-community-only .cmh-flag {
  margin: 8px 0 0 8px;
  padding: 6px 8px 5px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: #fff;
  color: #07060b;
  font: 700 11px/1 var(--rv-pixel);
  text-transform: uppercase;
  
}
body.pgmpe-community-only .cmh-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 14px 16px 12px; }
body.pgmpe-community-only .cmh-card__title { margin: 0; font: 800 19px/1.15 var(--rv-display); letter-spacing: -.01em; }
body.pgmpe-community-only .cmh-card__link { color: var(--rv-ink); text-decoration: none; }
body.pgmpe-community-only .cmh-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body.pgmpe-community-only .cmh-card__by { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-card__by img { width: 20px; height: 20px; border: 1px solid var(--rv-line); border-radius: 0; image-rendering: pixelated; }
body.pgmpe-community-only .cmh-card__by a { color: var(--rv-ink); font-weight: 600; text-decoration: none; }
body.pgmpe-community-only .cmh-card__by a:hover { text-decoration: underline; }
body.pgmpe-community-only .cmh-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px dashed var(--rv-rule);
}
body.pgmpe-community-only .cmh-card__stats { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font: 600 13px/1 var(--rv-body); color: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-card__stats > span { display: inline-flex; align-items: center; gap: 5px; }
body.pgmpe-community-only .cmh-card__tech {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 6px 3px;
  border: 2px solid var(--rv-rule);
  font: 400 11px/1 var(--rv-pixel);
  color: var(--rv-ink-2);
}
body.pgmpe-community-only .cmh-card__rt .px-ico { color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmh-fav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink-2);
  font: 700 13px/1 var(--rv-display);
  cursor: pointer;
}
body.pgmpe-community-only .cmh-fav.is-fav { background: var(--rv-ski); color: var(--rv-cat-ink); }
body.pgmpe-community-only .cmh-fav:active { box-shadow: var(--rv-bevel-in); }
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .cmh-card:hover { transform: translateY(-4px); box-shadow: var(--rv-lift); }
  body.pgmpe-community-only .cmh-card:hover .cmh-card__media img { transform: scale(1.04); }
  body.pgmpe-community-only .cmh-card:hover .cmh-card__link { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--sec-fg, var(--rv-orange)); }
  body.pgmpe-community-only .cmh-fav:hover { color: var(--rv-ski-fg); }
}
body.pgmpe-community-only .cmh-card:has(.cmh-cat--texturas) { --sec-fg: var(--rv-tex-fg); }
body.pgmpe-community-only .cmh-card:has(.cmh-cat--addons) { --sec-fg: var(--rv-add-fg); }
body.pgmpe-community-only .cmh-card:has(.cmh-cat--mundos) { --sec-fg: var(--rv-map-fg); }
body.pgmpe-community-only .cmh-card:has(.cmh-cat--skins) { --sec-fg: var(--rv-ski-fg); }

/* Reseña grande (fase 0). */
/* Lámina arriba a todo el ancho con la proporción real de la imagen: se ve entera, sin recortes.
   Tope de alto para portadas verticales; lo que sobre queda en el papel de fondo. */
body.pgmpe-community-only .cmh-card--big { flex-direction: column; }
body.pgmpe-community-only .cmh-card--big .cmh-card__media { flex: none; aspect-ratio: auto; min-height: 0; }
body.pgmpe-community-only .cmh-card--big .cmh-card__media img { position: static; display: block; height: auto; max-height: 560px; object-fit: contain; }
/* Ficha debajo en dos columnas (texto | datos y acción) para que la tarjeta no crezca de más. */
body.pgmpe-community-only .cmh-card--big .cmh-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title row" "by row" "excerpt cta";
  align-content: start;
  column-gap: 32px;
  row-gap: 10px;
  padding: 22px 26px 24px;
}
body.pgmpe-community-only .cmh-card--big .cmh-card__by { grid-area: by; }
body.pgmpe-community-only .cmh-card--big .cmh-card__row { grid-area: row; align-self: start; padding-top: 0; border-top: 0; }
body.pgmpe-community-only .cmh-card--big .cmh-card__cta { grid-area: cta; align-self: end; justify-self: end; }
body.pgmpe-community-only .cmh-first__aside > .cmh-guide { flex: 1; }
@media (max-width: 760px) {
  body.pgmpe-community-only .cmh-card--big .cmh-card__body { display: flex; padding: 16px; }
  body.pgmpe-community-only .cmh-card--big .cmh-card__cta { align-self: flex-start; }
}
body.pgmpe-community-only .cmh-card--big .cmh-card__title { grid-area: title; font-size: clamp(26px, 2.6vw, 38px); }
body.pgmpe-community-only .cmh-card--big .cmh-card__excerpt { grid-area: excerpt; margin: 0; color: var(--rv-ink-2); font-size: 16px; line-height: 1.55; }
body.pgmpe-community-only .cmh-card__cta { position: relative; z-index: 2; align-self: flex-start; }

/* Banda «Únete» dentro del feed. */
body.pgmpe-community-only .cmh-join {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
}
body.pgmpe-community-only .cmh-ico { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); clip-path: none; }
body.pgmpe-community-only .cmh-iconbtn { border-radius: 0; color: var(--rv-ink-2); }

body.pgmpe-community-only .cmm-more { display: flex; justify-content: center; margin-top: 28px; }
body.pgmpe-community-only .cmm-more__btn {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
  font: 700 16px/1 var(--rv-display);
  cursor: pointer;
}
body.pgmpe-community-only .cmm-more__btn:hover:not(:disabled) { background: var(--rv-paper-3); }
body.pgmpe-community-only .cmm-more__btn:active { box-shadow: var(--rv-bevel-in); }
body.pgmpe-community-only .cmm-more__btn:disabled { cursor: default; color: var(--rv-ink-3); }
body.pgmpe-community-only .cmh-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
body.pgmpe-community-only .cmh-muted { color: var(--rv-ink-3); }
body.pgmpe-community-only .cmh-more .cmh-muted { font: 400 11px/1 var(--rv-pixel); text-transform: uppercase; }

/* ── Lateral: módulos como recuadros de revista ─────────────────────────── */
body.pgmpe-community-only .cmh-module {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
body.pgmpe-community-only .cmh-module__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--rv-line);
  background: var(--rv-paper-2);
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmh-module__head h2,
body.pgmpe-community-only .cmh-module__head h3,
body.pgmpe-community-only .cmh-module__head .cmh-h4 { margin: 0; color: var(--rv-ink); font: 700 16px/1.25 var(--rv-display); letter-spacing: -.005em; }
body.pgmpe-community-only .cmh-module__head .cmh-muted,
body.pgmpe-community-only .cmh-module__head small { color: var(--rv-orange-fg); font: 400 11px/1.2 var(--rv-pixel); }
body.pgmpe-community-only .cmh-module > :not(.cmh-module__head) { margin-inline: 16px; }
body.pgmpe-community-only .cmh-module > :last-child { margin-bottom: 16px; }
body.pgmpe-community-only .cmh-creators { margin-top: 8px; }
body.pgmpe-community-only .cmh-creator { gap: 10px; padding: 10px 0; border-bottom: 2px solid var(--rv-rule); }
body.pgmpe-community-only .cmh-creator:last-child { border-bottom: 0; }
body.pgmpe-community-only .cmh-creator__rk { font: 400 20px/1 var(--rv-pixel); color: var(--rv-ink-3); min-width: 24px; }
body.pgmpe-community-only .cmh-creator:first-child .cmh-creator__rk { color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmh-creator img { border-radius: 0; border: 1px solid var(--rv-line); image-rendering: pixelated; }
body.pgmpe-community-only .cmh-creator__name { font: 700 15px/1.2 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmh-creator__sub { font-size: 12.5px; color: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-lvl { border-radius: 0; background: var(--rv-orange); color: var(--rv-orange-ink); font: 400 10px/1 var(--rv-pixel); padding: 3px 5px 2px; }
body.pgmpe-community-only .cmh-follow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmh-follow.is-following,
body.pgmpe-community-only .cmh-follow[aria-pressed="true"] { background: var(--rv-map); color: var(--rv-cat-ink); }
body.pgmpe-community-only .cmh-tags { gap: 6px; margin-top: 12px; }
body.pgmpe-community-only .cmh-tag {
  padding: 7px 9px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  color: var(--rv-ink);
  font: 600 13px/1 var(--rv-body);
  text-decoration: none;
}
body.pgmpe-community-only .cmh-tag:hover { background: var(--rv-orange); color: var(--rv-orange-ink); }

/* ── Banda «Hazte creador» ──────────────────────────────────────────────── */
body.pgmpe-community-only .cmh-band {
  margin-top: 56px;
  padding: 56px 0;
  border-top: 2px solid var(--rv-line-strong);
  border-bottom: 2px solid var(--rv-line-strong);
  background: var(--rv-paper);
}
body.pgmpe-community-only .cmh-band .cmh-h2 { font-size: clamp(30px, 3vw, 44px); }
body.pgmpe-community-only .cmh-band .cmh-eyebrow { display: none; }
body.pgmpe-community-only .cmh-band .cmh-gain .px-ico { color: var(--rv-map-fg); }
body.pgmpe-community-only .cmh-flow { gap: 10px; }
body.pgmpe-community-only .cmh-flow > li {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmh-flow__n {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-edge);
  color: var(--rv-orange);
  font: 400 16px/1 var(--rv-pixel);
}

/* ── Pie ────────────────────────────────────────────────────────────────── */
body.pgmpe-community-only .site-footer--community {
  border-top: 2px solid var(--rv-line-strong);
  background: var(--rv-paper);
  color: var(--rv-ink-2);
}
body.pgmpe-community-only .site-footer--community::before { display: none; }
body.pgmpe-community-only .site-footer--community h3,
body.pgmpe-community-only .site-footer--community h4,
body.pgmpe-community-only .site-footer--community .site-footer__col-title { color: var(--rv-ink); font: 700 16px/1.25 var(--rv-display); letter-spacing: -.005em; }
body.pgmpe-community-only .site-footer--community a { color: var(--rv-ink-2); }
body.pgmpe-community-only .site-footer--community a:hover { color: var(--rv-ink); text-decoration: underline; text-decoration-color: var(--rv-orange); }
body.pgmpe-community-only .site-footer--community .site-footer__bottom { border-top: 2px solid var(--rv-rule); background: var(--rv-ground); }
body.pgmpe-community-only .site-footer--community .site-footer__social a { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-paper-2); box-shadow: var(--rv-bevel); }
body.pgmpe-community-only .cm-seg { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-paper-2); }
body.pgmpe-community-only .cm-seg__o { border-radius: 0; }
body.pgmpe-community-only .cm-seg__o[aria-pressed="true"],
body.pgmpe-community-only .cm-seg__o.is-active,
body.pgmpe-community-only .cm-seg__o[aria-current] { background: var(--rv-orange); color: var(--rv-orange-ink); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  body.pgmpe-community-only .rv-issue { grid-template-columns: minmax(0, 1fr); }
  body.pgmpe-community-only .rv-hits__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  body.pgmpe-community-only .rv-hit { border-top: 0; border-bottom: 2px solid var(--rv-rule); }
  body.pgmpe-community-only .cmh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.pgmpe-community-only .rv-mast { grid-template-columns: minmax(0, 1fr); }
  body.pgmpe-community-only .rv-cover .cmh-hero__links { justify-content: flex-start; }
  body.pgmpe-community-only .cmh-hero.rv-cover { padding: 24px 0 28px; }
  body.pgmpe-community-only .rv-cover .cmh-hero__lead { font-size: 16px; }
  body.pgmpe-community-only .rv-issue { gap: 20px; margin-top: 20px; }
  body.pgmpe-community-only .cmm-banner__viewport { aspect-ratio: 4 / 3; }
  body.pgmpe-community-only .cmm-banner__nav { display: none; }
  body.pgmpe-community-only .cmm-banner__overlay { padding: 16px 18px; }
  body.pgmpe-community-only .cmm-banner__title { font-size: 28px; }
  body.pgmpe-community-only .cmm-banner__cta { min-height: 40px; font-size: 14px; }
  body.pgmpe-community-only .cmh-cats { gap: 10px; margin-bottom: 28px; }
  body.pgmpe-community-only .cmh-cat { grid-template-columns: auto minmax(0, 1fr); min-height: 72px; padding: 10px 12px; gap: 10px; }
  body.pgmpe-community-only .cmh-cat__go { display: none; }
  body.pgmpe-community-only .cmh-cat__ico { width: 44px; height: 44px; }
  body.pgmpe-community-only .cmh-cat__name { font-size: 18px; }
  body.pgmpe-community-only .cmh-card--big { flex-direction: column; }
  body.pgmpe-community-only .cmh-card--big .cmh-card__media { flex: none; min-height: 0; aspect-ratio: auto; border-right: 0; border-bottom: 1px solid var(--rv-line); }
  body.pgmpe-community-only .cmh-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  body.pgmpe-community-only .cmh-tab { flex: none; }
  body.pgmpe-community-only .cmh-grid { gap: 16px; }
}
/* Móvil: la reseña pasa a ficha horizontal (lámina a la izquierda) para recorrer el índice sin una pantalla por proyecto. */
@media (max-width: 560px) {
  body.pgmpe-community-only .cmh-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__media { aspect-ratio: auto; height: 100%; min-height: 128px; border-bottom: 0; border-right: 1px solid var(--rv-line); }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__body { padding: 10px 12px; gap: 6px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__title { font-size: 16px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__by { font-size: 12px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__row { padding-top: 6px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-card__tech { display: none; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-flag { display: none; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-chipcat { padding: 5px 6px 4px; font-size: 9px; }
  body.pgmpe-community-only .cmh-grid .cmh-card:not(.cmh-card--big) .cmh-fav { min-height: 36px; min-width: 44px; }
}
@media (max-width: 420px) {
  body.pgmpe-community-only .cmh-cat__meta { display: none; }
  body.pgmpe-community-only .cmh-cat__ico { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  body.pgmpe-community-only .cmh-card,
  body.pgmpe-community-only .cmh-card__media img,
  body.pgmpe-community-only .cmh-cat,
  body.pgmpe-community-only .cmh-cat__go,
  body.pgmpe-community-only .cm-nav__link .px-cat { transition: none; }
  body.pgmpe-community-only .cmh-card:hover,
  body.pgmpe-community-only .cmh-cat:hover { transform: none; }
}

body.pgmpe-community-only .cmh-card__stats > .cmh-card__tech { display: inline-block; }

/* ═══ Apertura de sección (archivo de categoría, etiqueta, búsqueda) ═══ */
body.pgmpe-community-only .cmh-dest > header {
  border-bottom: 2px solid var(--rv-line-strong);
  background: var(--rv-paper);
}
body.pgmpe-community-only .cmh-dest:has(.cmh-dest__title[class*="cmh-cat--"]) > header {
  background: var(--sec);
  color: var(--rv-ink);
  --rv-ink: var(--rv-ink);
  --rv-ink-2: var(--rv-ink-2);
  --cmh-tx: var(--rv-ink);
  --cmh-tx2: var(--rv-ink-2);
}
body.pgmpe-community-only .cmh-dest > header::before, body.pgmpe-community-only .cmh-dest > header::after { display: none; }
body.pgmpe-community-only .cmh-dest__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 0;
  font: 800 clamp(34px, 4vw, 56px)/1 var(--rv-display);
  letter-spacing: -.03em;
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmh-dest__ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--rv-line);
  background: var(--rv-paper-3);
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .15);
  color: var(--sec);
  --px-k: #07060b;
}
body.pgmpe-community-only .cmh-dest__desc { max-width: 64ch; margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--rv-ink-2); }
body.pgmpe-community-only .cmh-dest__count {
  display: inline-block;
  width: fit-content;
  margin: 14px 0 0;
  padding: 6px 8px 5px;
  border: 1px solid var(--rv-line);
  background: var(--rv-paper);
  color: var(--rv-ink);
  font: 400 12px/1 var(--rv-pixel);
  text-transform: uppercase;
}
body.pgmpe-community-only .cmh-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font: 400 11px/1.4 var(--rv-pixel); text-transform: uppercase; }
body.pgmpe-community-only .cmh-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body.pgmpe-community-only .cmh-dest__body { padding-top: 32px; padding-bottom: 56px; }
body.pgmpe-community-only .cmh-dest__cat { border: 1px solid var(--rv-line); border-radius: 0; background: var(--sec); color: var(--rv-cat-ink); font-weight: 700; }
body.pgmpe-community-only .cmh-empty { padding: 24px; border: 3px dashed var(--rv-rule); color: var(--rv-ink-2); }

/* ═══ Ficha de proyecto: la reseña ═══════════════════════════════════════ */
body.pgmpe-community-only .pgmpe-community[data-community-page] { background: var(--rv-ground); }
body.pgmpe-community-only .cmm-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--rv-ink-2);
  font: 400 12px/1 var(--rv-pixel);
  text-transform: uppercase;
  text-decoration: none;
}
body.pgmpe-community-only .cmm-back:hover { color: var(--rv-ink); text-decoration: underline; }
body.pgmpe-community-only .cmm-single__layout { gap: 32px; }
body.pgmpe-community-only .cmm-single__hero,
body.pgmpe-community-only .cmm-single__video {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-edge);
  box-shadow: var(--rv-lift);
  overflow: hidden;
}
body.pgmpe-community-only .cmm-single__hero img, body.pgmpe-community-only .cmm-gallery__img { border-radius: 0; }
body.pgmpe-community-only .cmm-gallery { gap: 10px; }
body.pgmpe-community-only .cmm-gallery__img { border: 1px solid var(--rv-line); }
body.pgmpe-community-only .cmm-carousel__nav { border: 1px solid var(--rv-line); border-radius: 0; background: rgba(29, 24, 40, .85); color: #fff; }
body.pgmpe-community-only .cmm-single__title {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 6px solid var(--sec, var(--rv-orange));
  font: 800 clamp(34px, 4vw, 54px)/1.02 var(--rv-display);
  letter-spacing: -.03em;
  color: var(--rv-ink);
}
body.pgmpe-community-only .cmm-single__meta { margin: 10px 0 0; color: var(--rv-ink-2); font-size: 15px; }
body.pgmpe-community-only .cmm-author-link, body.pgmpe-community-only .cmm-single__meta a { color: var(--rv-ink); font-weight: 700; }

/* Acciones: favorito, seguir y valoración en una tira biselada. */
body.pgmpe-community-only .cmm-actions {
  margin-top: 20px;
  padding: 14px;
  gap: 14px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: none;
}
body.pgmpe-community-only .cmm-fav,
body.pgmpe-community-only .cmm-follow {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
  font: 700 14px/1 var(--rv-display);
}
body.pgmpe-community-only .cmm-fav.is-fav { background: var(--rv-ski); color: var(--rv-cat-ink); }
body.pgmpe-community-only .cmm-follow.is-following { background: var(--rv-map); color: var(--rv-cat-ink); }
body.pgmpe-community-only .cmm-fav:active, body.pgmpe-community-only .cmm-follow:active { box-shadow: var(--rv-bevel-in); }
body.pgmpe-community-only .cmm-follow__static { color: var(--rv-ink-2); font-weight: 600; }
body.pgmpe-community-only .cmm-rate { border: 0; border-radius: 0; background: transparent; gap: 0; }
body.pgmpe-community-only .cmm-rate__avg,
body.pgmpe-community-only .cmm-rate__you { border: 2px solid var(--rv-rule); border-radius: 0; background: var(--rv-paper-2); }
body.pgmpe-community-only .cmm-rate__you { border-top: 0; }
body.pgmpe-community-only .cmm-rate__eyebrow { font: 400 11px/1 var(--rv-pixel); color: var(--rv-ink-3); letter-spacing: 0; }
body.pgmpe-community-only .cmm-rate__avg-num strong { font-family: var(--rv-display); color: var(--rv-ink); }
/* Estrellas pixel (máscara SVG): el JS solo cambia --pct e .is-on. */
body.pgmpe-community-only .cmm-rate__avg-stars {
  width: 100px;
  height: 20px;
  color: transparent;
  font-size: 0;
  background: color-mix(in srgb, var(--rv-ink-3) 45%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='7' y='2' width='2' height='2'/%3E%3Crect x='6' y='4' width='4' height='1'/%3E%3Crect x='1' y='5' width='14' height='1'/%3E%3Crect x='2' y='6' width='12' height='1'/%3E%3Crect x='3' y='7' width='10' height='1'/%3E%3Crect x='4' y='8' width='8' height='2'/%3E%3Crect x='3' y='10' width='4' height='1'/%3E%3Crect x='9' y='10' width='4' height='1'/%3E%3Crect x='3' y='11' width='3' height='1'/%3E%3Crect x='10' y='11' width='3' height='1'/%3E%3Crect x='2' y='12' width='3' height='1'/%3E%3Crect x='11' y='12' width='3' height='1'/%3E%3C/svg%3E") 0 0 / 20px 20px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='7' y='2' width='2' height='2'/%3E%3Crect x='6' y='4' width='4' height='1'/%3E%3Crect x='1' y='5' width='14' height='1'/%3E%3Crect x='2' y='6' width='12' height='1'/%3E%3Crect x='3' y='7' width='10' height='1'/%3E%3Crect x='4' y='8' width='8' height='2'/%3E%3Crect x='3' y='10' width='4' height='1'/%3E%3Crect x='9' y='10' width='4' height='1'/%3E%3Crect x='3' y='11' width='3' height='1'/%3E%3Crect x='10' y='11' width='3' height='1'/%3E%3Crect x='2' y='12' width='3' height='1'/%3E%3Crect x='11' y='12' width='3' height='1'/%3E%3C/svg%3E") 0 0 / 20px 20px repeat-x;
}
body.pgmpe-community-only .cmm-rate__avg-stars::before { content: ""; height: 100%; background: var(--rv-orange); }
body.pgmpe-community-only .cmm-rate__star {
  width: 32px;
  height: 32px;
  padding: 0;
  color: transparent;
  font-size: 0;
  background: var(--rv-ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='7' y='2' width='2' height='2'/%3E%3Crect x='6' y='4' width='4' height='1'/%3E%3Crect x='1' y='5' width='14' height='1'/%3E%3Crect x='2' y='6' width='12' height='1'/%3E%3Crect x='3' y='7' width='10' height='1'/%3E%3Crect x='4' y='8' width='8' height='2'/%3E%3Crect x='3' y='10' width='4' height='1'/%3E%3Crect x='9' y='10' width='4' height='1'/%3E%3Crect x='3' y='11' width='3' height='1'/%3E%3Crect x='10' y='11' width='3' height='1'/%3E%3Crect x='2' y='12' width='3' height='1'/%3E%3Crect x='11' y='12' width='3' height='1'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='7' y='2' width='2' height='2'/%3E%3Crect x='6' y='4' width='4' height='1'/%3E%3Crect x='1' y='5' width='14' height='1'/%3E%3Crect x='2' y='6' width='12' height='1'/%3E%3Crect x='3' y='7' width='10' height='1'/%3E%3Crect x='4' y='8' width='8' height='2'/%3E%3Crect x='3' y='10' width='4' height='1'/%3E%3Crect x='9' y='10' width='4' height='1'/%3E%3Crect x='3' y='11' width='3' height='1'/%3E%3Crect x='10' y='11' width='3' height='1'/%3E%3Crect x='2' y='12' width='3' height='1'/%3E%3Crect x='11' y='12' width='3' height='1'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}
body.pgmpe-community-only .cmm-rate__star.is-on,
body.pgmpe-community-only .cmm-rate__star:hover,
body.pgmpe-community-only .cmm-rate__star:has(~ .cmm-rate__star:hover) { background: var(--rv-orange); transform: none; }
body.pgmpe-community-only .cmm-rate__star:focus-visible { outline: 3px solid var(--rv-orange); outline-offset: 0; }

body.pgmpe-community-only .cmm-single__desc { margin-top: 24px; font-size: 17px; line-height: 1.65; color: var(--rv-ink); max-width: 72ch; }

/* Ficha técnica (panel lateral). */
body.pgmpe-community-only .cmm-panel {
  padding: 0 0 16px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: var(--rv-lift);
  overflow: hidden;
}
body.pgmpe-community-only .cmm-panel h3 {
  margin: 0 0 6px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--rv-line);
  background: var(--sec, var(--rv-orange));
  color: var(--rv-cat-ink);
  font: 700 16px/1.25 var(--rv-display); letter-spacing: -.005em;
}
body.pgmpe-community-only .cmm-panel ul { margin: 0 0 14px; padding: 0 16px; }
body.pgmpe-community-only .cmm-panel li { padding: 9px 0; border-bottom: 2px dotted var(--rv-rule); font-size: 14px; }
body.pgmpe-community-only .cmm-panel li span { color: var(--rv-ink-2); }
body.pgmpe-community-only .cmm-panel li strong { color: var(--rv-ink); font-family: var(--rv-display); }
body.pgmpe-community-only .cmm-panel > :not(h3):not(ul) { margin-inline: 16px; }
body.pgmpe-community-only .cmm-chips span {
  padding: 6px 8px 5px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  color: var(--rv-ink);
  font: 400 11px/1 var(--rv-pixel);
  text-transform: uppercase;
}
body.pgmpe-community-only .cmm-chips--soft span { border-color: var(--rv-rule); background: transparent; color: var(--rv-ink-2); }
body.pgmpe-community-only .cmm-tag-chip { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); color: var(--rv-ink); font-weight: 600; }
body.pgmpe-community-only .cmm-tag-chip:hover { background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .cmm-dl-btn {
  min-height: 56px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 rgba(130, 65, 0, .3);
  color: var(--rv-orange-ink);
  font: 800 18px/1 var(--rv-display);
}
body.pgmpe-community-only .cmm-dl-btn:hover { background: var(--rv-orange-hi); filter: none; transform: none; }
body.pgmpe-community-only .cmm-dl-btn:active { box-shadow: inset 3px 3px 0 rgba(110, 55, 0, .45), inset -3px -3px 0 rgba(255, 255, 255, .45); }
body.pgmpe-community-only .cmm-dl-btn__ripple { display: none; }
body.pgmpe-community-only .cmm-ext-note { color: var(--rv-ink-3); font: 400 11px/1.3 var(--rv-pixel); text-transform: uppercase; }
body.pgmpe-community-only .cmm-dl-alt { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-sidebar-cta { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); box-shadow: var(--rv-bevel); }
body.pgmpe-community-only .cmm-sidebar-cta__icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .cmm-status-banner { border: 1px solid var(--rv-line); border-radius: 0; }

/* Compartir: botones cuadrados con bisel. */
body.pgmpe-community-only [class*="share"] a,
body.pgmpe-community-only [class*="share"] button { border-radius: 0 !important; }

/* Registro de cambios como columna de revista. */
body.pgmpe-community-only .cmm-changelog { margin-top: 36px; }
body.pgmpe-community-only .cmm-changelog__head { padding-bottom: 8px; border-bottom: 2px solid var(--rv-line-strong); }
body.pgmpe-community-only .cmm-changelog__title { font: 800 26px/1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-changelog__entry { padding-top: 14px; padding-bottom: 14px; border-bottom: 2px dotted var(--rv-rule); }
body.pgmpe-community-only .cmm-changelog__entry::before { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-paper-3); }
body.pgmpe-community-only .cmm-changelog__entry.is-latest::before { background: var(--rv-orange); }
body.pgmpe-community-only .cmm-changelog__ver { font: 800 17px/1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-changelog__badge { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); font: 400 10px/1 var(--rv-pixel); }
body.pgmpe-community-only .cmm-changelog__date { font: 400 11px/1 var(--rv-pixel); color: var(--rv-ink-3); }

/* Comentarios. */
body.pgmpe-community-only .proj-comments__title { font: 800 30px/1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .proj-comments__header { border-bottom: 2px solid var(--rv-line-strong) !important; }
body.pgmpe-community-only .proj-comments__form-wrap, body.pgmpe-community-only .proj-comments__form { border-radius: 0; }
body.pgmpe-community-only .proj-comment-form-title { border-left: 0 !important; padding-left: 0 !important; font: 600 16px/1.4 var(--rv-body); color: var(--rv-ink-2); }
body.pgmpe-community-only .proj-comments textarea,
body.pgmpe-community-only .proj-comments input[type="text"],
body.pgmpe-community-only .proj-comments input[type="email"],
body.pgmpe-community-only .cmm-input,
body.pgmpe-community-only .cmm-select {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-ground) !important;
  box-shadow: var(--rv-bevel-in) !important;
  color: var(--rv-ink) !important;
}
body.pgmpe-community-only .proj-comments textarea:focus,
body.pgmpe-community-only .proj-comments input:focus { border-color: var(--rv-orange) !important; outline: 0; }
body.pgmpe-community-only .proj-comments__submit,
body.pgmpe-community-only .proj-comments .form-submit input[type="submit"],
body.pgmpe-community-only .cmm-report__send {
  min-height: 44px;
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-orange) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(130, 65, 0, .3) !important;
  color: var(--rv-orange-ink) !important;
  font: 700 15px/1 var(--rv-display) !important;
}
body.pgmpe-community-only .cmm-fab-publish__inner { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); box-shadow: var(--rv-bevel); }

/* Ficha en móvil: la ficha técnica y «Descargar» suben justo tras el título. */
@media (max-width: 768px) {
  body.pgmpe-community-only .cmm-single__layout { display: flex; flex-direction: column; }
  body.pgmpe-community-only .cmm-single__main { display: contents; }
  body.pgmpe-community-only .cmm-single__main > * { order: 5; }
  body.pgmpe-community-only .cmm-single__main > .cmm-single__media { order: 1; }
  body.pgmpe-community-only .cmm-single__main > .cmm-single__title { order: 2; }
  body.pgmpe-community-only .cmm-single__main > .cmm-single__meta { order: 3; }
  body.pgmpe-community-only .cmm-single__sidebar { order: 4; margin-top: 16px; }
  body.pgmpe-community-only .cmm-single__layout > *,
  body.pgmpe-community-only .cmm-single__main > * { width: 100%; max-width: 100%; align-self: stretch; }
}
@media (max-width: 760px) {
  body.pgmpe-community-only .cmh-dest__ico { width: 48px; height: 48px; }
  body.pgmpe-community-only .cmm-actions { flex-direction: column; align-items: stretch; }
}

/* ═══ Páginas interiores: cabecera común de página ═══════════════════════ */
body.pgmpe-community-only .cmm-hero,
body.pgmpe-community-only .cmm-support-hero,
body.pgmpe-community-only .legal-hero {
  border-bottom: 2px solid var(--rv-line-strong);
  background: var(--rv-paper);
  border-radius: 0;
}
body.pgmpe-community-only .legal-hero::before, body.pgmpe-community-only .legal-hero::after,
body.pgmpe-community-only .cmm-support-hero::before, body.pgmpe-community-only .cmm-support-hero::after { display: none; }
body.pgmpe-community-only .cmm-hero__title,
body.pgmpe-community-only .cmm-support-hero h1,
body.pgmpe-community-only .legal-hero__title,
body.pgmpe-community-only .cmm-ranking__head h1,
body.pgmpe-community-only .cmm-ranking h1 {
  font: 800 clamp(32px, 3.6vw, 50px)/1.04 var(--rv-display);
  letter-spacing: -.03em;
  color: var(--rv-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}
body.pgmpe-community-only .cmm-hero__subtitle,
body.pgmpe-community-only .cmm-support-hero p,
body.pgmpe-community-only .legal-hero__meta { color: var(--rv-ink-2); }
body.pgmpe-community-only .legal-hero__icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); }
body.pgmpe-community-only .cmm-support-hero [class*="badge"], body.pgmpe-community-only .legal-hero [class*="badge"], body.pgmpe-community-only .legal-hero__inner > span:first-child {
  border-radius: 0;
  border: 1px solid var(--rv-line);
  background: var(--rv-orange);
  color: var(--rv-orange-ink);
  font-family: var(--rv-pixel);
}

/* Recuadro biselado común. */
body.pgmpe-community-only .cmm-cta,
body.pgmpe-community-only .cmm-form,
body.pgmpe-community-only .cmm-support-form-card,
body.pgmpe-community-only .cmm-support-channels,
body.pgmpe-community-only .cmm-support-dmca,
body.pgmpe-community-only .cmm-support-faq__item,
body.pgmpe-community-only .cmm-ranking__list,
body.pgmpe-community-only .cmm-seasons__card,
body.pgmpe-community-only .legal-toc__inner,
body.pgmpe-community-only .legal-highlight,
body.pgmpe-community-only .cmm-rules,
body.pgmpe-community-only .cmm-version-block {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper) !important;
  box-shadow: none !important;
}

/* Puerta de creador (publicar sin acceso, perfil). */
body.pgmpe-community-only .cmm-cta { padding: 24px; }
body.pgmpe-community-only .cmm-cta__text strong, body.pgmpe-community-only .cmm-cta h2, body.pgmpe-community-only .cmm-cta h3 { font: 800 22px/1.1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-cta__note { color: var(--rv-ink-3); }
body.pgmpe-community-only .cmm-cta .btn-primary,
body.pgmpe-community-only .cmm-cta__action .btn-primary,
body.pgmpe-community-only .cmm-form .btn-primary,
body.pgmpe-community-only .cmm-support-form .btn-primary,
body.pgmpe-community-only .cmm-support-form button[type="submit"],
body.pgmpe-community-only .legal-page .btn-primary {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-orange) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(130, 65, 0, .3) !important;
  color: var(--rv-orange-ink) !important;
  font: 700 15px/1 var(--rv-display) !important;
  text-shadow: none !important;
}
body.pgmpe-community-only .cmm-cta .btn-secondary,
body.pgmpe-community-only .cmm-cta__action .btn-secondary,
body.pgmpe-community-only .cmm-cta__auth a:not(.btn-primary),
body.pgmpe-community-only .cmm-form .btn-secondary {
  min-height: 48px;
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper-2) !important;
  box-shadow: var(--rv-bevel) !important;
  color: var(--rv-ink) !important;
  font: 700 15px/1 var(--rv-display) !important;
}

/* Formulario de publicar y de contacto. */
body.pgmpe-community-only .cmm-form { padding: 28px; }
body.pgmpe-community-only .cmm-field label,
body.pgmpe-community-only .cmm-support-form label { font: 700 14px/1.3 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-field__hint { color: var(--rv-ink-3); }
body.pgmpe-community-only .cmm-field__req { color: var(--rv-ski-fg); }
body.pgmpe-community-only .cmm-support-form input,
body.pgmpe-community-only .cmm-support-form select,
body.pgmpe-community-only .cmm-support-form textarea,
body.pgmpe-community-only .cmm-tags-input,
body.pgmpe-community-only .cmm-file,
body.pgmpe-community-only .wp-editor-container {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-ground) !important;
  box-shadow: var(--rv-bevel-in) !important;
  color: var(--rv-ink) !important;
}
body.pgmpe-community-only .cmm-support-form input:focus,
body.pgmpe-community-only .cmm-support-form textarea:focus,
body.pgmpe-community-only .cmm-support-form select:focus,
body.pgmpe-community-only .cmm-input:focus,
body.pgmpe-community-only .cmm-select:focus { border-color: var(--rv-orange) !important; outline: 0; }
body.pgmpe-community-only .cmm-check, body.pgmpe-community-only .cmm-checks label { border-radius: 0; }
body.pgmpe-community-only .cmm-check input[type="checkbox"],
body.pgmpe-community-only .cmm-checks input[type="checkbox"] { accent-color: var(--rv-orange); }
body.pgmpe-community-only .cmm-tags-presets button,
body.pgmpe-community-only .cmm-tags-input__chips > * { border-radius: 0 !important; border: 1px solid var(--rv-line) !important; }
body.pgmpe-community-only .cmm-form__msg { border-radius: 0; }

/* Contacto: categorías como casillas de inventario. */
body.pgmpe-community-only .cmm-support-cat {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper) !important;
  box-shadow: var(--rv-bevel) !important;
  color: var(--rv-ink);
  transition: transform .12s ease;
}
body.pgmpe-community-only .cmm-support-cat:hover { transform: translateY(-3px); }
body.pgmpe-community-only .cmm-support-cat.is-active,
body.pgmpe-community-only .cmm-support-cat[aria-pressed="true"],
body.pgmpe-community-only .cmm-support-cat[aria-checked="true"] { background: var(--rv-orange) !important; color: var(--rv-orange-ink); }
body.pgmpe-community-only .cmm-support-cat__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  color: var(--rv-orange-fg);
  font-size: 0;
}
body.pgmpe-community-only .cmm-support-cat__body strong, body.pgmpe-community-only .cmm-support-cat__body b { font: 700 15px/1.2 var(--rv-display); color: inherit; }
body.pgmpe-community-only .cmm-support-faq__item summary { font: 700 16px/1.3 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-support-channel { border-radius: 0; border: 2px solid var(--rv-rule); background: var(--rv-paper-2); }

/* Ranking: lista de éxitos completa. */
body.pgmpe-community-only .cmm-ranking__list { padding: 0 !important; overflow: hidden; }
body.pgmpe-community-only .cmm-ranking__item { padding: 14px 18px; border-bottom: 2px solid var(--rv-rule); border-radius: 0; background: transparent; }
body.pgmpe-community-only .cmm-ranking__item:last-child { border-bottom: 0; }
body.pgmpe-community-only .cmm-ranking__item .cmm-ranking__pos { font: 400 24px/1 var(--rv-pixel); color: var(--rv-ink-3); }
body.pgmpe-community-only .cmm-ranking__item:first-child .cmm-ranking__pos { color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmm-ranking__name { font: 700 16px/1.2 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-ranking__creator img { border-radius: 0; border: 1px solid var(--rv-line); image-rendering: pixelated; }
body.pgmpe-community-only .cmm-ranking__lvl { color: var(--rv-ink-2); }
body.pgmpe-community-only .cmm-ranking__xp { font: 400 13px/1 var(--rv-pixel); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-ranking__featured { border-radius: 0; background: var(--rv-orange); color: var(--rv-orange-ink); font: 400 10px/1 var(--rv-pixel); padding: 3px 5px 2px; }
body.pgmpe-community-only .cmm-ranking__season { border-radius: 0 !important; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); font-family: var(--rv-pixel); }
body.pgmpe-community-only .cmm-seasons__id { font: 400 14px/1 var(--rv-pixel); color: var(--rv-orange-fg); }

/* Perfil del creador: portada de entrevista. */
body.pgmpe-community-only .cmm-profile__banner { border-radius: 0; border-bottom: 2px solid var(--rv-line-strong); }
body.pgmpe-community-only .cmm-profile__banner.is-empty { background: var(--rv-orange); }
body.pgmpe-community-only .cmm-profile__avatar { border-radius: 0 !important; border: 2px solid var(--rv-line-strong) !important; image-rendering: pixelated; box-shadow: var(--rv-lift); }
body.pgmpe-community-only .cmm-profile__name { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--rv-display); letter-spacing: -.03em; color: var(--rv-ink); }
body.pgmpe-community-only .cmm-profile__since { font: 400 11px/1.3 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-3); }
body.pgmpe-community-only .cmm-profile__level,
body.pgmpe-community-only .cmm-profile__rep { border-radius: 0 !important; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); font-family: var(--rv-pixel); }
body.pgmpe-community-only .cmm-profile__stat { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper); box-shadow: none; }
body.pgmpe-community-only .cmm-profile__stat-icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-paper-2); color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmm-profile__stat-value { font: 800 24px/1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-profile__stat-label { font: 400 11px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-3); }
body.pgmpe-community-only .cmm-profile__badge { border-radius: 0 !important; border: 1px solid var(--rv-line); background: var(--rv-paper-2); }
body.pgmpe-community-only .cmm-profile__social { border-radius: 0 !important; border: 1px solid var(--rv-line); background: var(--rv-paper-2); box-shadow: var(--rv-bevel); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-profile__action .btn-primary,
body.pgmpe-community-only .cmm-profile__action button { border-radius: 0 !important; border: 1px solid var(--rv-line) !important; box-shadow: var(--rv-bevel) !important; }

/* Bienvenida (diálogo): ventana biselada. */
body.pgmpe-community-only .cmm-welcome__backdrop { background: rgba(7, 6, 11, .72); backdrop-filter: none; }
body.pgmpe-community-only .cmm-welcome__dialog {
  border: 2px solid var(--rv-line-strong);
  border-top: 4px solid var(--rv-orange);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: var(--rv-bevel), 0 30px 60px -20px rgba(0, 0, 0, .8);
}
/* Cabecera neutra con la línea de marca; el número del paso va junto al icono, nunca encima. */
body.pgmpe-community-only .cmm-welcome__head { padding: 0 44px 0 0; border: 0; background: none; text-align: left; }
body.pgmpe-community-only .cmm-welcome__title { margin: 0 0 8px; font: 800 28px/1.1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-welcome__lead { max-width: 56ch; margin: 0; color: var(--rv-ink-2); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
body.pgmpe-community-only .cmm-welcome__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 6px 3px;
  border: 1px solid var(--rv-line-strong);
  border-radius: 0;
  background: var(--rv-paper-3);
  color: var(--rv-ink-2);
  font: 400 10px/1 var(--rv-pixel);
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
body.pgmpe-community-only .cmm-welcome__body { margin-top: 16px; color: var(--rv-ink-2); font-size: 15px; line-height: 1.6; }
body.pgmpe-community-only .cmm-welcome__stage { padding: 8px 10px; border-left: 3px solid var(--rv-orange); background: var(--rv-paper-2); color: var(--rv-ink-2); }
body.pgmpe-community-only .cmm-welcome__step { gap: 6px; padding: 14px; border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-welcome__step strong { font: 700 16px/1.25 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-welcome__step-desc { color: var(--rv-ink-2); font-size: 14px; line-height: 1.45; }
body.pgmpe-community-only .cmm-welcome__step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
body.pgmpe-community-only .cmm-welcome__step-icon { position: static; width: 36px; height: 36px; margin: 0; border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-3); color: var(--rv-orange-fg); }
body.pgmpe-community-only .cmm-welcome__step-n { position: static; width: auto; height: auto; border-radius: 0; background: none; color: var(--rv-ink-3); font: 400 12px/1 var(--rv-pixel); }
body.pgmpe-community-only .cmm-welcome__x { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-paper-2); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-welcome__x:hover { background: var(--rv-paper-3); }
@media (max-width: 640px) {
  body.pgmpe-community-only .cmm-welcome__step { display: flex; flex-direction: column; align-items: stretch; text-align: left; }
  body.pgmpe-community-only .cmm-welcome__title { font-size: 24px; }
}
body.pgmpe-community-only .cmm-welcome__actions .btn-primary { border-radius: 0 !important; border: 1px solid var(--rv-line) !important; background: var(--rv-orange) !important; color: var(--rv-orange-ink) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(130, 65, 0, .3) !important; }
body.pgmpe-community-only .cmm-welcome__actions .btn-secondary,
body.pgmpe-community-only .cmm-welcome__actions a:not(.btn-primary) { border-radius: 0 !important; border: 1px solid var(--rv-line) !important; background: var(--rv-paper-2) !important; color: var(--rv-ink) !important; }

/* Legales: índice lateral y secciones como columnas. */
body.pgmpe-community-only .legal-toc__label { font: 400 11px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-3); }
body.pgmpe-community-only .legal-toc__list a { color: var(--rv-ink-2); }
body.pgmpe-community-only .legal-toc__list a:hover, body.pgmpe-community-only .legal-toc__list a.is-active { color: var(--rv-ink); text-decoration: underline; text-decoration-color: var(--rv-orange); }
body.pgmpe-community-only .legal-section { border-top: 0; }
body.pgmpe-community-only .legal-section__title { padding-bottom: 8px; border-bottom: 1px solid var(--rv-line); font: 800 24px/1.15 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .legal-section__body { color: var(--rv-ink-2); font-size: 16px; line-height: 1.7; }
body.pgmpe-community-only .legal-section__body a { color: var(--rv-orange-fg); }
body.pgmpe-community-only .legal-highlight--allowed { border-color: var(--rv-map) !important; }
body.pgmpe-community-only .legal-highlight--forbidden { border-color: var(--rv-ski) !important; }

/* ── Modal de acceso (Entrar / Crear cuenta / recuperar) ──────────────────
   Ventana de revista: papel plano con bisel, franja naranja superior, sin anillo
   giratorio, sin brillos ni degradados, pestañas en bloque y botón naranja plano. */
body.pgmpe-community-only .pgmpe-auth-overlay { background: rgba(10, 8, 16, .72); }
body.pgmpe-community-only .pgmpe-auth-card-outer {
  border-radius: 0;
  padding: 0;
  background: none;
  overflow: visible;
  box-shadow: var(--rv-lift);
  transform: translateY(10px);
  transition: transform .2s ease;
}
body.pgmpe-community-only .pgmpe-auth-overlay.is-open .pgmpe-auth-card-outer { transform: none; }
body.pgmpe-community-only .pgmpe-auth-card-outer::before { content: none; }
body.pgmpe-community-only .pgmpe-auth-modal {
  border: 2px solid var(--rv-line-strong);
  border-top: 6px solid var(--rv-orange);
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: var(--rv-bevel);
}
body.pgmpe-community-only .pgmpe-auth-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
}
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .pgmpe-auth-modal__close:hover { background: var(--rv-paper-3); transform: none; }
}
body.pgmpe-community-only .pgmpe-auth-brand__glow { display: none; }
body.pgmpe-community-only .pgmpe-auth-brand__logo {
  width: auto;
  height: 46px;
  border-radius: 0;
  filter: none;
  animation: none;
}
body.pgmpe-community-only .pgmpe-auth-brand__tagline {
  font: 400 11px/1.4 var(--rv-pixel);
  letter-spacing: .08em;
  color: var(--rv-ink-3);
}
body.pgmpe-community-only .pgmpe-auth-tabs {
  padding: 3px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-3);
  box-shadow: var(--rv-bevel-in);
}
body.pgmpe-community-only .pgmpe-auth-tab {
  border-radius: 0;
  font: 700 14px/1 var(--rv-display);
  color: var(--rv-ink-2);
}
body.pgmpe-community-only .pgmpe-auth-tab.is-active {
  background: var(--rv-paper);
  box-shadow: var(--rv-bevel), inset 0 -3px 0 var(--rv-orange);
  color: var(--rv-ink);
}
body.pgmpe-community-only .pgmpe-auth-divider { font-family: var(--rv-pixel); letter-spacing: .08em; color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-auth-submit {
  border: 1px solid rgba(130, 65, 0, .35);
  border-radius: 0;
  background: var(--rv-orange);
  background-image: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 rgba(130, 65, 0, .3);
  color: var(--rv-orange-ink);
  font: 700 16px/1 var(--rv-display);
  text-shadow: none;
  animation: none;
}
@media (hover: hover) and (pointer: fine) {
  body.pgmpe-community-only .pgmpe-auth-submit:hover { background: var(--rv-orange-hi); background-image: none; transform: none; }
}
body.pgmpe-community-only .pgmpe-auth-submit:active { box-shadow: var(--rv-bevel-in); transform: translateY(1px); }
body.pgmpe-community-only .pgmpe-auth-submit::before { content: none; } /* brillo del sitio principal */
body.pgmpe-community-only .pgmpe-auth-social-btn {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
}
body.pgmpe-community-only .pgmpe-auth-link,
body.pgmpe-community-only .pgmpe-auth-modal a { color: var(--rv-orange-fg); }
body.pgmpe-community-only .pgmpe-auth-input {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-ground) !important;
  box-shadow: var(--rv-bevel-in) !important;
  color: var(--rv-ink) !important;
}
body.pgmpe-community-only .pgmpe-auth-input:focus { border-color: var(--rv-orange) !important; box-shadow: var(--rv-bevel-in), 0 0 0 1px var(--rv-orange) !important; }
/* Un solo indicador de foco (el borde), como en el resto de formularios; el contorno global se montaba sobre la etiqueta */
body.pgmpe-community-only .pgmpe-auth-input:focus-visible { outline: 0; }
body.pgmpe-community-only .pgmpe-auth-label { font: 700 13px/1.3 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-auth-social-btn,
body.pgmpe-community-only .pgmpe-auth-submit,
body.pgmpe-community-only [class*="pgmpe-auth-btn"] { border-radius: 0 !important; }

@media (max-width: 760px) {
  body.pgmpe-community-only .cmm-form { padding: 18px; }
  body.pgmpe-community-only .cmm-ranking__item { padding: 12px; }
}
/* El separador de «Cancelar respuesta» solo se ve cuando WordPress muestra el enlace (al responder). */
body.pgmpe-community-only .proj-comment-cancel-reply:has(a[style*="display:none"], a[style*="display: none"]) { display: none; }

/* ═══ Mi cuenta (paneles) y mensajes ═══════════════════════════════════════ */
body.pgmpe-community-only .pgmpe-account { background: var(--rv-ground); }
body.pgmpe-community-only .pgmpe-account__hero {
  border-bottom: 2px solid var(--rv-line-strong);
  background: var(--rv-paper);
  border-radius: 0;
}
body.pgmpe-community-only .pgmpe-account__hero::before,
body.pgmpe-community-only .pgmpe-account__hero::after { display: none; }
body.pgmpe-community-only .pgmpe-account__hero h1,
body.pgmpe-community-only .pgmpe-account__hero-info h1,
body.pgmpe-community-only .pgmpe-account__hero-info h2 { font: 800 clamp(26px, 2.6vw, 36px)/1.05 var(--rv-display); letter-spacing: -.02em; color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__hero-email { color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-account__hero-stats { color: var(--rv-ink-2); font-size: 13px; }
body.pgmpe-community-only .pgmpe-account__avatar,
body.pgmpe-community-only .pgmpe-account__avatar img { border-radius: 0 !important; border-color: var(--rv-edge) !important; image-rendering: pixelated; }
/* La etiqueta de verificación del encabezado comparte clase con las tarjetas de logros: aquí es un sello en línea. */
body.pgmpe-community-only .pgmpe-account__hero .pgmpe-account__badge {
  display: inline-block;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 7px 4px;
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-map);
  box-shadow: none;
  color: var(--rv-map-ink);
  font: 400 11px/1 var(--rv-pixel);
  text-transform: uppercase;
  vertical-align: middle;
}
body.pgmpe-community-only .pgmpe-account__hero .pgmpe-account__badge--warn { background: var(--rv-orange); color: var(--rv-orange-ink); }

body.pgmpe-community-only .pgmpe-account__sidebar,
body.pgmpe-community-only .pgmpe-account__panel,
body.pgmpe-community-only .pgmpe-verify {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper) !important;
  box-shadow: none !important;
}
body.pgmpe-community-only .pgmpe-account__nav-group-label { font: 400 10px/1.2 var(--rv-pixel); letter-spacing: .04em; color: var(--rv-ink-3); opacity: 1; }
body.pgmpe-community-only .pgmpe-account__nav-item {
  border: 2px solid transparent;
  border-radius: 0 !important;
  color: var(--rv-ink-2);
  font: 600 14px/1.2 var(--rv-body);
}
body.pgmpe-community-only .pgmpe-account__nav-item:hover { background: var(--rv-paper-2); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__nav-item.is-active,
body.pgmpe-community-only .pgmpe-account__nav-item[aria-current="page"],
body.pgmpe-community-only .pgmpe-account__nav-item[aria-selected="true"] {
  border-color: var(--rv-edge);
  background: var(--rv-ink) !important;
  color: var(--rv-ground) !important;
  box-shadow: none;
}
body.pgmpe-community-only .pgmpe-account__nav-item.is-active .px-ico,
body.pgmpe-community-only .pgmpe-account__nav-item[aria-selected="true"] .px-ico { color: var(--rv-orange); }
body.pgmpe-community-only .pgmpe-account__nav-item::before,
body.pgmpe-community-only .pgmpe-account__nav-item::after { display: none !important; }
body.pgmpe-community-only .pgmpe-account__nav-badge { border-radius: 0; background: var(--rv-orange); color: var(--rv-orange-ink); font: 400 10px/1 var(--rv-pixel); }
body.pgmpe-community-only .pgmpe-account__nav-sep { background: var(--rv-rule); }

body.pgmpe-community-only .pgmpe-account__panel-head { border-bottom: 1px solid var(--rv-line); padding-bottom: 10px; }
body.pgmpe-community-only .pgmpe-account__panel-title { font: 700 16px/1.25 var(--rv-display); color: var(--rv-ink); letter-spacing: .02em; }
body.pgmpe-community-only .pgmpe-account__subtitle { font: 400 12px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-2); }
body.pgmpe-community-only .pgmpe-account__hint, body.pgmpe-community-only .pgmpe-account__empty { color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-account__label { font: 700 14px/1.3 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__input,
body.pgmpe-community-only .pgmpe-account__textarea,
body.pgmpe-community-only .pgmpe-account select,
body.pgmpe-community-only .pgmpe-msg__input {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-ground) !important;
  box-shadow: var(--rv-bevel-in) !important;
  color: var(--rv-ink) !important;
}
body.pgmpe-community-only .pgmpe-account__input:focus,
body.pgmpe-community-only .pgmpe-account__textarea:focus,
body.pgmpe-community-only .pgmpe-msg__input:focus { border-color: var(--rv-orange) !important; outline: 0; }
body.pgmpe-community-only .pgmpe-account__save-btn,
body.pgmpe-community-only .pgmpe-account__panel-action,
body.pgmpe-community-only .pgmpe-msg__sendbtn,
body.pgmpe-community-only .pgmpe-verify__btn {
  min-height: 44px;
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-orange) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(130, 65, 0, .3) !important;
  color: var(--rv-orange-ink) !important;
  font: 700 14px/1 var(--rv-display) !important;
  text-shadow: none !important;
}
body.pgmpe-community-only .pgmpe-account__panel-action { min-height: 36px; background: var(--rv-paper-2) !important; color: var(--rv-ink) !important; box-shadow: var(--rv-bevel) !important; }
body.pgmpe-community-only .pgmpe-account__link-btn,
body.pgmpe-community-only .pgmpe-account__avatar-upload-btn,
body.pgmpe-community-only .pgmpe-msg__hbtn,
body.pgmpe-community-only .pgmpe-msg__block {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper-2) !important;
  box-shadow: var(--rv-bevel) !important;
  color: var(--rv-ink) !important;
}

/* Preferencias: opciones como casillas. */
body.pgmpe-community-only .pgmpe-account__prefs-option {
  border: 1px solid var(--rv-line) !important;
  border-radius: 0 !important;
  background: var(--rv-paper-2) !important;
  box-shadow: var(--rv-bevel) !important;
  color: var(--rv-ink);
}
body.pgmpe-community-only .pgmpe-account__prefs-option.is-active,
body.pgmpe-community-only .pgmpe-account__prefs-option:has(input:checked) { background: var(--rv-orange) !important; color: var(--rv-orange-ink); }
body.pgmpe-community-only .pgmpe-account__prefs-option.is-active *,
body.pgmpe-community-only .pgmpe-account__prefs-option:has(input:checked) * { color: inherit; }
body.pgmpe-community-only .pgmpe-account__prefs-label { font: 400 12px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__prefs-divider { background: var(--rv-rule); }
body.pgmpe-community-only .pgmpe-account__prefs-theme-icon { border-radius: 0; }

/* Estadísticas y logros. */
body.pgmpe-community-only .pgmpe-account__stat-card {
  border: 1px solid var(--rv-line);
  border-radius: 0;
  background: var(--rv-paper-2);
  box-shadow: none;
}
body.pgmpe-community-only .pgmpe-account__stat-icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .pgmpe-account__stat-value { font: 800 26px/1 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__stat-label { font: 400 11px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-2); }
body.pgmpe-community-only .pgmpe-account__stat-sub { color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-account__level-tag { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); font-family: var(--rv-pixel); }
body.pgmpe-community-only .pgmpe-account__level-bar { height: 14px; border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-ground); box-shadow: var(--rv-bevel-in); }
body.pgmpe-community-only .pgmpe-account__level-bar > * { border-radius: 0; background: var(--rv-map) !important; }
body.pgmpe-community-only .pgmpe-account__badges .pgmpe-account__badge { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); box-shadow: var(--rv-bevel); }
body.pgmpe-community-only .pgmpe-account__badge-icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .pgmpe-account__badge-name { font: 700 14px/1.2 var(--rv-display); color: var(--rv-ink); }

/* Mis proyectos: reseñas pequeñas. */
body.pgmpe-community-only .pgmpe-account__project-card { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); box-shadow: none; overflow: hidden; }
body.pgmpe-community-only .pgmpe-account__project-thumb { border-radius: 0; border-bottom: 1px solid var(--rv-line); }
body.pgmpe-community-only .pgmpe-account__project-title { font: 800 16px/1.2 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-account__project-status { border-radius: 0 !important; border: 1px solid var(--rv-line); font: 400 10px/1 var(--rv-pixel); text-transform: uppercase; }
body.pgmpe-community-only .pgmpe-account__project-foot { border-top: 2px dashed var(--rv-rule); }
body.pgmpe-community-only .pgmpe-account__project-edit,
body.pgmpe-community-only .pgmpe-account__project-del { border-radius: 0 !important; color: var(--rv-ink-2); }
body.pgmpe-community-only .pgmpe-account__project-edit:hover { color: var(--rv-ink); }

/* Avisos (lista de notificaciones). */
body.pgmpe-community-only .pgmpe-account__notif-item {
  border: 2px solid var(--rv-rule) !important;
  border-radius: 0 !important;
  background: var(--rv-paper-2) !important;
  color: var(--rv-ink);
}
body.pgmpe-community-only .pgmpe-account__notif-item.is-unread { border-color: var(--rv-edge) !important; background: var(--rv-paper) !important; box-shadow: inset 4px 0 0 var(--rv-orange) !important; }
body.pgmpe-community-only .pgmpe-account__notif-icon { border-radius: 0 !important; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .pgmpe-account__notif-time { font: 400 10px/1.2 var(--rv-pixel); text-transform: uppercase; color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-account__notif-dot { border-radius: 0; background: var(--rv-orange); }

/* Seguidores / seguidos. */
body.pgmpe-community-only .pgmpe-account__social-col { border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper-2); }
body.pgmpe-community-only .pgmpe-account__social-count { border-radius: 0; background: var(--rv-orange); color: var(--rv-orange-ink); font-family: var(--rv-pixel); }

/* Mensajes: bandeja + conversación. */
body.pgmpe-community-only .pgmpe-msg { grid-template-columns: 280px minmax(0, 1fr); border: 1px solid var(--rv-line); border-radius: 0; background: var(--rv-paper); overflow: hidden; }
body.pgmpe-community-only .pgmpe-msg__sidebar { border-right: 1px solid var(--rv-line); background: var(--rv-paper-2); }
body.pgmpe-community-only .pgmpe-msg__conv { border-radius: 0 !important; border-bottom: 2px solid var(--rv-rule); }
body.pgmpe-community-only .pgmpe-msg__conv:hover { background: var(--rv-paper-3); }
body.pgmpe-community-only .pgmpe-msg__conv.is-active,
body.pgmpe-community-only .pgmpe-msg__conv[aria-current="true"],
body.pgmpe-community-only .pgmpe-msg__conv[aria-selected="true"] { background: var(--rv-ink) !important; color: var(--rv-ground); }
body.pgmpe-community-only .pgmpe-msg__conv.is-active .pgmpe-msg__conv-name,
body.pgmpe-community-only .pgmpe-msg__conv.is-active .pgmpe-msg__conv-snippet { color: var(--rv-ground); }
body.pgmpe-community-only .pgmpe-msg__conv-name { font: 700 14px/1.2 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-msg__conv-snippet { color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-msg__conv-dot { border-radius: 0 !important; background: var(--rv-orange) !important; color: var(--rv-orange-ink) !important; font-family: var(--rv-pixel); }
body.pgmpe-community-only .pgmpe-msg__avatar { border-radius: 0 !important; border: 1px solid var(--rv-line); image-rendering: pixelated; }
body.pgmpe-community-only .pgmpe-msg__thread-head { flex-wrap: wrap; border-bottom: 1px solid var(--rv-line); background: var(--rv-paper); }
body.pgmpe-community-only .pgmpe-msg__thread-name { font: 800 17px/1.2 var(--rv-display); color: var(--rv-ink); }
body.pgmpe-community-only .pgmpe-msg__placeholder { color: var(--rv-ink-3); font: 400 12px/1.4 var(--rv-pixel); text-transform: uppercase; }
/* Globos: casillas de chat del juego, los míos en naranja. */
body.pgmpe-community-only .pgmpe-msg__bubble {
  border: 1px solid var(--rv-line);
  border-radius: 0 !important;
  background: var(--rv-paper-2);
  box-shadow: var(--rv-bevel);
  color: var(--rv-ink);
}
body.pgmpe-community-only .pgmpe-msg__bubble--me,
body.pgmpe-community-only .pgmpe-msg__bubble.is-mine,
body.pgmpe-community-only .pgmpe-msg__bubble--mine { background: var(--rv-orange); color: var(--rv-orange-ink); --rv-hi: rgba(255, 255, 255, .45); --rv-lo: rgba(110, 55, 0, .45); }
body.pgmpe-community-only .pgmpe-msg__time { font: 400 10px/1.2 var(--rv-pixel); color: var(--rv-ink-3); }
body.pgmpe-community-only .pgmpe-msg__bubble.is-mine .pgmpe-msg__time,
body.pgmpe-community-only .pgmpe-msg__bubble.is-mine .pgmpe-msg__text { color: #1b1203; }
/* La columna 1fr no encogía por debajo de la cabecera con botones y overflow:hidden cortaba el hilo en móvil. */
body.pgmpe-community-only .pgmpe-msg__thread { min-width: 0; }
body.pgmpe-community-only .pgmpe-msg__compose { border-top: 1px solid var(--rv-line); background: var(--rv-paper-2); }

/* Aviso de verificación de correo. */
body.pgmpe-community-only .pgmpe-verify__icon { border-radius: 0; border: 1px solid var(--rv-line); background: var(--rv-orange); color: var(--rv-orange-ink); }
body.pgmpe-community-only .pgmpe-verify__title { font: 800 18px/1.2 var(--rv-display); color: var(--rv-ink); }

@media (max-width: 720px) {
  body.pgmpe-community-only .pgmpe-msg { grid-template-columns: minmax(0, 1fr); }
  body.pgmpe-community-only .pgmpe-msg__sidebar { border-right: 0; border-bottom: 1px solid var(--rv-line); }
}

/* Profundidad suave en vez de contornos gruesos. */
body.pgmpe-community-only .cmh-card,
body.pgmpe-community-only .rv-hits,
body.pgmpe-community-only .cmh-module,
body.pgmpe-community-only .cmm-panel,
body.pgmpe-community-only .cmm-actions,
body.pgmpe-community-only .pgmpe-account__panel,
body.pgmpe-community-only .pgmpe-account__sidebar,
body.pgmpe-community-only .pgmpe-msg,
body.pgmpe-community-only .cmm-support-cat,
body.pgmpe-community-only .cmm-form { box-shadow: var(--rv-card-shadow) !important; }
body.pgmpe-community-only .cmh-cats .cmh-cat { border-color: transparent; box-shadow: var(--rv-card-shadow), inset 0 -3px 0 rgba(0, 0, 0, .12); }
body.pgmpe-community-only .cmh-cat__ico, body.pgmpe-community-only .cmh-dest__ico { border-color: rgba(0, 0, 0, .12); }

/* Base neutra: el naranja es el único acento de color. */
body.pgmpe-community-only .site-navbar .site-navbar__nav .cm-nav__link.is-current { background: var(--rv-paper-3); color: var(--rv-ink); box-shadow: inset 0 -2px 0 var(--rv-orange); }
body.pgmpe-community-only .cm-nav__link .px-cat,
body.pgmpe-community-only .cmh-cats .cmh-cat__ico,
body.pgmpe-community-only .cmh-dest__ico,
body.pgmpe-community-only .cmh-dest__cat .px-cat { color: var(--rv-orange); }
body.pgmpe-community-only .cmh-cats .cmh-cat { background: var(--rv-paper); color: var(--rv-ink); }
body.pgmpe-community-only .cmh-cats .cmh-cat__ico { background: var(--rv-paper-2); }
body.pgmpe-community-only .cmh-chipcat, body.pgmpe-community-only .rv-hit__cat, body.pgmpe-community-only .cmm-banner__sub { background: var(--rv-paper); color: var(--rv-ink); }
body.pgmpe-community-only .cmm-banner__sub { background: rgba(255, 255, 255, .92); color: #17131d; }
body.pgmpe-community-only .rv-hits__title { background: var(--rv-paper-2); color: var(--rv-ink); border-bottom: 1px solid var(--rv-line); box-shadow: inset 0 3px 0 var(--rv-orange); }
body.pgmpe-community-only .cmm-panel h3 { background: var(--rv-paper-2); color: var(--rv-ink); box-shadow: inset 0 3px 0 var(--rv-orange); }
body.pgmpe-community-only .cmm-single__title { border-top-color: var(--rv-orange); }
body.pgmpe-community-only .cmh-dest > header { background: var(--rv-paper); }

/* ── Contraste AA de estados sin regla propia (auditoría 2026-11-30) ─────────
   Cada valor sale de un token: no hay colores sueltos por componente. */
body.pgmpe-community-only .pgmpe-account__project-status.is-published { background: var(--rv-paper-3); color: var(--rv-map-fg); }
body.pgmpe-community-only .pgmpe-account__project-stats .is-rating { color: var(--rv-rate); }
/* El destacado va siempre sobre el velo oscuro de su imagen: ámbar claro en los dos temas. */
body.pgmpe-community-only .cmm-banner__rating { color: #ffc83d; }
body.pgmpe-community-only .pgmpe-account__badge.is-locked { opacity: 1; filter: none; }
body.pgmpe-community-only .pgmpe-account__badge.is-locked .pgmpe-account__badge-icon { opacity: .55; filter: grayscale(1); }
body.pgmpe-community-only .pgmpe-account__badge.is-locked .pgmpe-account__badge-name { color: var(--rv-ink-2); }
body.pgmpe-community-only .legal-highlight--forbidden strong { color: var(--rv-danger-fg); }
body.pgmpe-community-only .wp-switch-editor,
body.pgmpe-community-only .mce-container .mce-txt { color: var(--rv-ink-2); }
body.pgmpe-community-only .wp-core-ui .button.insert-media { border-color: var(--rv-line-strong); background: var(--rv-paper-2); color: var(--rv-ink); }

/* Formulario de publicar: más ancho para que respire en pantallas grandes */
body.pgmpe-community-only .cmm-form-wrap { max-width: 960px; }

/* Publicar / editar: cabecera con aire propio y reglas a todo el ancho del formulario */
body.pgmpe-community-only .cmm-form-wrap .cmm-hero { padding: 28px 32px !important; margin: 0 0 16px; }
body.pgmpe-community-only .cmm-form-wrap .cmm-hero__title { margin: 0 0 10px; }
body.pgmpe-community-only .cmm-form-wrap .cmm-hero__subtitle { margin: 0 !important; max-width: 62ch; }
body.pgmpe-community-only .cmm-form-wrap .cmm-rules { max-width: none; margin: 0 0 16px; padding: 4px 32px; }
