

/* =========================================================
   LCP — CSS GENERAL LIMPIO
   Reemplazo completo para Apariencia > CSS adicional
   ========================================================= */

/* =========================================================
   1) AJUSTES PUNTUALES DE CONTENIDO
   ========================================================= */

/* Ocultar fecha y autor solo en el Tablero (post 13285) */
body.postid-13285 .entry-meta,
body.postid-13285 .post-meta,
body.postid-13285 .wp-block-post-date,
body.postid-13285 .wp-block-post-author,
body.postid-13285 .wp-block-post-author-name,
body.postid-13285 .wp-block-post-terms {
  display: none !important;
}

/* =========================================================
   2) TABLERO LUNISOLAR — BASE
   ========================================================= */

.lcp-board {
  --bg: #0b0c10;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --accent: #7a5cff;
  --good: #35c28a;
  --warn: #f2c14e;
  --bad: #ff5a6a;

  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(122,92,255,.20), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(53,194,138,.12), transparent 55%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 55px rgba(0,0,0,.45);

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Topbar */
.lcp-board__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.05));
  backdrop-filter: blur(6px);
}

.lcp-board__topbar .wp-block-heading {
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.lcp-board__topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Grid principal */
.lcp-board__grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.lcp-board__left,
.lcp-board__right {
  min-width: 0;
}

/* Tarjetas */
.lcp-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.lcp-card + .lcp-card {
  margin-top: 12px;
}

.lcp-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lcp-card__title h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}

/* Chips */
.lcp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* Filas tipo formulario */
.lcp-field {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.lcp-field + .lcp-field {
  margin-top: 10px;
}

.lcp-field__label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .2px;
}

.lcp-field__value {
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Tabla compacta */
.lcp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.lcp-table th {
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  padding: 0 10px 4px 10px;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.lcp-table td {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-size: 13px;
}

.lcp-table tr td:first-child {
  border-left: 1px solid rgba(255,255,255,.10);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.lcp-table tr td:last-child {
  border-right: 1px solid rgba(255,255,255,.10);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Estados */
.lcp-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}

.lcp-dot--good { background: var(--good); }
.lcp-dot--warn { background: var(--warn); }
.lcp-dot--bad  { background: var(--bad); }

/* Ajustes columna derecha */
.lcp-board__right .lcp-card {
  padding: 14px;
}

.lcp-board__right .lcp-card__title h3 {
  font-size: 15px;
}

/* Sticky panel izquierdo */
@media (min-width: 1100px) {
  .lcp-board__left {
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .lcp-board__grid {
    grid-template-columns: 1fr;
  }

  .lcp-field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lcp-field__value {
    white-space: normal;
  }
}

/* Focus accesible */
.lcp-board :is(a, button, input, select, textarea):focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================================
   3) BARRA SUPERIOR DE ACCESO — SOLO ESTILOS
   Nota: el render sigue viviendo en tu snippet PHP
   ========================================================= */

.lcp-access-topbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #2c045d;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.lcp-access-topbar-inner {
  max-width: 1200px;
  margin: auto;
  padding: 8px 16px;
  text-align: center;
}

.lcp-access-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.lcp-access-links {
  font-size: 14px;
}

.lcp-access-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 2px;
}

.lcp-access-links a:hover {
  color: #f3d27a;
}

.lcp-user {
  color: #f3d27a;
  font-weight: 700;
}

/* =========================================================
   4) TARJETAS BLANCAS DE NIVELES / LANDINGS
   OJO: renombradas para no chocar con .lcp-card
   ========================================================= */

.lcp-niveles-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  text-align: center;
  transition: transform 0.2s ease;
}

.lcp-niveles-card:hover {
  transform: translateY(-5px);
}

.lcp-niveles-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.lcp-niveles-card p {
  font-size: 15px;
  line-height: 1.5;
}

/* =========================================================
   5) TABLERO JUEGO DE LA VIDA CONVENCIONAL — PÁGINA LIMPIA
   Página: page-id-15481
   ========================================================= */

/* Ocultar solo wrappers del tema en la página del tablero */
body.page-id-15481 .site-header,
body.page-id-15481 .main-navigation,
body.page-id-15481 .header-group,
body.page-id-15481 .wp-block-template-part.header,
body.page-id-15481 .wp-block-navigation,
body.page-id-15481 .wp-block-site-logo,
body.page-id-15481 .wp-block-site-title,
body.page-id-15481 .wp-block-search,
body.page-id-15481 .offcanvas-toggle,
body.page-id-15481 .menu-principal,
body.page-id-15481 .site-branding,
body.page-id-15481 footer,
body.page-id-15481 .site-footer,
body.page-id-15481 .wp-block-template-part.footer,
body.page-id-15481 .footer-widgets,
body.page-id-15481 .footer-wrapper,
body.page-id-15481 .colophon {
  display: none !important;
}

/* Barra promocional negra / elementos promocionales */
body.page-id-15481 .wpcom-marketing-bar,
body.page-id-15481 .wpcom-notification-banner,
body.page-id-15481 .masterbar__recommendations,
body.page-id-15481 .gift-a-plan,
body.page-id-15481 .a8c-global-header {
  display: none !important;
}

/* Título duplicado del tema */
body.page-id-15481 .entry-header,
body.page-id-15481 .page-header,
body.page-id-15481 .wp-block-post-title {
  display: none !important;
}

/* Lienzo limpio */
body.page-id-15481,
body.page-id-15481 .site-main,
body.page-id-15481 main,
body.page-id-15481 .entry-content,
body.page-id-15481 .wp-site-blocks {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Espacio útil del tablero */
body.page-id-15481 #jvc-game {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* =========================================================
   6) AJUSTES DE EMERGENCIA PARA EL TABLERO
   ========================================================= */

/* Evitar desbordes raros */
body.page-id-15481 #jvc-game,
body.page-id-15481 #jvc-game * {
  box-sizing: border-box;
}

/* Si por alguna razón el primer bloque del tema estorba */
body.page-id-15481 .wp-site-blocks > div:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================
   7) HELPERS GENERALES
   ========================================================= */

.lcp-hide {
  display: none !important;
}

.lcp-text-center {
  text-align: center;
}

.lcp-text-right {
  text-align: right;
}

.lcp-muted {
  color: rgba(255,255,255,.70);
}
