/* ======================================================================
   CRP · PÚBLICA · ESTÁNDAR LRP / PERSONAL / FEDEACYL
   29/09/2026
   Capa final exclusivamente visual para las páginas públicas del evento.
   La GENERAL /CRP/ queda fuera de esta capa y conserva el ajuste V5.
   ====================================================================== */

body.crp-public:not(.crp-portal-petanca-page){
  --crp-pub-bg:#dfe6ea;
  --crp-pub-surface:#ffffff;
  --crp-pub-surface-soft:#f6f8fa;
  --crp-pub-line:#cbd6e1;
  --crp-pub-line-soft:#dfe6ec;
  --crp-pub-text:#18263b;
  --crp-pub-muted:#64748b;
  --crp-pub-blue:#17365d;
  --crp-pub-blue-2:#0a66a9;
  --crp-pub-orange:#f0a11a;
  --crp-pub-radius:5px;
  margin:0!important;
  background:var(--crp-pub-bg)!important;
  color:var(--crp-pub-text)!important;
  font-family:"Segoe UI Variable Text","Segoe UI",Aptos,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.4!important;
  text-rendering:optimizeLegibility;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.crp-public:not(.crp-portal-petanca-page) *,
body.crp-public:not(.crp-portal-petanca-page) *::before,
body.crp-public:not(.crp-portal-petanca-page) *::after{box-sizing:border-box}
body.crp-public:not(.crp-portal-petanca-page) button,
body.crp-public:not(.crp-portal-petanca-page) input,
body.crp-public:not(.crp-portal-petanca-page) select,
body.crp-public:not(.crp-portal-petanca-page) textarea{
  font-family:"Segoe UI Variable Text","Segoe UI",Aptos,Arial,sans-serif!important;
}
body.crp-public:not(.crp-portal-petanca-page) h1,
body.crp-public:not(.crp-portal-petanca-page) h2,
body.crp-public:not(.crp-portal-petanca-page) h3,
body.crp-public:not(.crp-portal-petanca-page) h4,
body.crp-public:not(.crp-portal-petanca-page) h5,
body.crp-public:not(.crp-portal-petanca-page) h6,
body.crp-public:not(.crp-portal-petanca-page) strong,
body.crp-public:not(.crp-portal-petanca-page) b{font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) a{font-weight:600}

/* Mismo ancho útil que la pública actual de LRP. */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-wrap{
  width:calc(100% - 34px)!important;
  max-width:1580px!important;
  margin:0 auto 28px!important;
  padding:0!important;
}

/* Paneles base: planos, compactos y casi cuadrados. */
body.crp-public:not(.crp-portal-petanca-page) .crp-panel,
body.crp-public:not(.crp-portal-petanca-page) .crp-card,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card{
  border:1px solid var(--crp-pub-line)!important;
  border-radius:var(--crp-pub-radius)!important;
  background:var(--crp-pub-surface)!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-panel{
  margin:6px 0!important;
  padding:9px 10px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-card{padding:9px 10px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-empty-line,
body.crp-public:not(.crp-portal-petanca-page) .crp-empty-public{
  border-radius:4px!important;
  color:#566579!important;
}

/* ======================================================================
   CABECERO DEL EVENTO · traslación directa del patrón LRP
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-lrp,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-v49,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-v50{
  display:grid!important;
  grid-template-columns:155px minmax(0,1fr)!important;
  gap:15px!important;
  align-items:center!important;
  min-height:0!important;
  margin:7px 0!important;
  padding:10px 12px!important;
  border:1px solid var(--crp-pub-line)!important;
  border-top:5px solid var(--crp-pub-blue)!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-has-a1clic{padding-right:12px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster-wrap{
  width:155px!important;
  min-width:155px!important;
  max-width:155px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:155px!important;
  min-height:145px!important;
  height:145px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster img{
  display:block!important;
  width:155px!important;
  height:145px!important;
  max-width:155px!important;
  max-height:145px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:3px!important;
  border:1px solid #d8e0e8!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-poster-placeholder{
  width:155px!important;
  height:145px!important;
  min-height:145px!important;
  padding:8px!important;
  border:1px solid #d8e0e8!important;
  border-radius:3px!important;
  background:#f7f9fb!important;
  color:var(--crp-pub-blue)!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-poster-placeholder span{font-size:24px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-poster-placeholder small{font-size:11px!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-summary{
  min-width:0!important;
  width:auto!important;
  padding:0!important;
  margin:0!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-summary h1{
  margin:0 0 5px!important;
  padding:0!important;
  font-size:27px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  color:var(--crp-pub-text)!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-subtitle{
  margin:0 0 5px!important;
  color:#5f7084!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta{
  display:grid!important;
  grid-template-columns:100px minmax(0,1fr)!important;
  gap:3px 8px!important;
  margin:0 0 6px!important;
  padding:0!important;
  font-size:12.5px!important;
  line-height:1.3!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta dt,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta dd{margin:0!important;padding:0!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta dt{color:#435267!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta dd{color:#334155!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:29px!important;
  width:auto!important;
  padding:5px 8px!important;
  border:1px solid #c3ced8!important;
  border-radius:3px!important;
  background:#fff!important;
  color:var(--crp-pub-blue)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions a.is-dark{
  background:var(--crp-pub-blue)!important;
  border-color:var(--crp-pub-blue)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--crp-pub-orange)!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions .crp-event-doc-link{background:#fff!important;color:var(--crp-pub-blue)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-a1clic,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-a1clic-mobile{display:none!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-test .crp-event-summary>div[style]{
  margin:3px 0 5px!important;
  padding:3px 6px!important;
  border-radius:3px!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:600!important;
}

/* ======================================================================
   NAVEGACIÓN EVENTO Y SUBNAVEGACIÓN DEL NIVEL
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-subnav-card{
  margin:6px 0!important;
  padding:4px!important;
  border:2px solid #b8c6d4!important;
  border-radius:4px!important;
  background:#dfe7ee!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:3px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-subtab{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:1 1 115px!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:5px 9px!important;
  border:0!important;
  border-radius:3px!important;
  background:#fff!important;
  color:#27384d!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a.active,
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a.is-active,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-subtab.is-active{
  background:var(--crp-pub-blue)!important;
  color:#fff!important;
  box-shadow:inset 0 -4px 0 var(--crp-pub-orange)!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a.crp-tab-podium-v144.active{
  background:var(--crp-pub-blue)!important;
  border-color:var(--crp-pub-blue)!important;
  color:#fff!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-level-subtabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:3px!important;
}

/* Títulos de sección. */
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 6px!important;
  padding:0!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h1,
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h2,
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h3{
  margin:0!important;
  color:var(--crp-pub-text)!important;
  font-size:19px!important;
  line-height:1.1!important;
  letter-spacing:-.015em!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row>span,
body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row>a{
  color:#66768a!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:600!important;
}

/* ======================================================================
   GRUPOS / PARTICIPANTES
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-level-groups{
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-level-groups-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin:0 0 5px!important;
  padding:0 0 5px!important;
  border-bottom:1px solid #dce4eb!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-level-groups-head h3{
  margin:0!important;
  font-size:14px!important;
  color:var(--crp-pub-text)!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-level-groups-head span{font-size:11px!important;color:#66768a!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-groups-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:5px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-group-card,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-group-card-phaseb{
  padding:6px!important;
  border:1px solid #dfe6ec!important;
  border-left:4px solid var(--level-color,#0a66a9)!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-group-title,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-phaseb-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:7px!important;
  margin:0 0 4px!important;
  padding:0 0 4px!important;
  border-bottom:1px solid #e5eaf0!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-group-title strong,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-phaseb-title strong{font-size:13px!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-group-title span,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-phaseb-title span{font-size:10.5px!important;color:#66768a!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-list,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-slot-list{display:grid!important;gap:2px!important;margin:0!important;padding:0!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-item-v49,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-row{
  min-height:38px!important;
  padding:4px!important;
  border:1px solid #e0e6ec!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-logo,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-logo-phaseb{
  width:34px!important;
  height:25px!important;
  min-width:34px!important;
  padding:2px!important;
  border:1px solid #dce3ea!important;
  border-radius:3px!important;
  background:#fff!important;
  object-fit:contain!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-main strong{font-size:12px!important;line-height:1.15!important;color:var(--crp-pub-text)!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-team-main small{font-size:11px!important;line-height:1.15!important;color:#68788b!important;font-weight:500!important}

/* ======================================================================
   CLASIFICACIONES Y TABLAS
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-grid,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-grid-v54,
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-class-grid{
  display:grid!important;
  gap:5px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-card,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-card-v54,
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-class-card,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-class-stage{
  padding:7px!important;
  border:1px solid #d9e2ea!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-card h3,
body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-card-v54 h3,
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-class-card h3{margin:0 0 5px!important;font-size:13px!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-table-wrap,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-wrap-v54{
  overflow:auto!important;
  border:1px solid #cbd6e1!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-table,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table-v54{
  width:100%!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  font-size:12px!important;
  font-weight:500!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-table th,
body.crp-public:not(.crp-portal-petanca-page) .crp-table td,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table th,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table td,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table-v54 th,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table-v54 td{
  padding:6px 7px!important;
  border-color:#e1e7ed!important;
  line-height:1.2!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-table thead th,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table thead th,
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table-v54 thead th{
  background:#eef2f5!important;
  color:#42546a!important;
  font-size:11px!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-table tbody tr:nth-child(even),
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table tbody tr:nth-child(even),
body.crp-public:not(.crp-portal-petanca-page) .crp-classification-table-v54 tbody tr:nth-child(even){background:#f7f9fb!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-class-team,
body.crp-public:not(.crp-portal-petanca-page) .crp-class-team-main,
body.crp-public:not(.crp-portal-petanca-page) .crp-class-team-v54{font-size:12px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-class-club{font-size:11px!important;color:#68788b!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-class-points{font-size:13px!important;font-weight:600!important;color:var(--crp-pub-blue)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-rules-box,
body.crp-public:not(.crp-portal-petanca-page) .crp-rules-box-v48{
  margin-top:6px!important;
  padding:7px 8px!important;
  border:1px solid #d7e0e8!important;
  border-left:4px solid var(--crp-pub-blue-2)!important;
  border-radius:4px!important;
  background:#f7f9fb!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-rules-box strong{font-size:12px!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-rules-box span,
body.crp-public:not(.crp-portal-petanca-page) .crp-rules-box small{font-size:11px!important;line-height:1.3!important;color:#66768a!important;font-weight:500!important}

/* ======================================================================
   PARTIDOS · TARJETAS Y LISTAS
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-match-grid-public,
body.crp-public:not(.crp-portal-petanca-page) .crp-lrp-match-grid{
  gap:5px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-card-public,
body.crp-public:not(.crp-portal-petanca-page) .crp-lrp-match-card{
  gap:6px!important;
  padding:8px!important;
  border:1px solid #d9e2ea!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-lrp-match-card.is-result-pending,
body.crp-public:not(.crp-portal-petanca-page) .crp-lrp-match-card.is-result-complete{box-shadow:none!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-tags{gap:3px!important;margin-bottom:4px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-tags>*{
  min-height:22px!important;
  padding:3px 6px!important;
  border-radius:3px!important;
  box-shadow:none!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-team-score{
  min-height:0!important;
  padding:4px!important;
  border-radius:3px!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-logo,
body.crp-public:not(.crp-portal-petanca-page) .crp-team-score-logo{
  width:34px!important;
  height:25px!important;
  border-radius:3px!important;
  padding:2px!important;
  object-fit:contain!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-team-text,
body.crp-public:not(.crp-portal-petanca-page) .crp-match-name{font-size:12px!important;line-height:1.15!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-team-score small{font-size:11px!important;font-weight:500!important;color:#68788b!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-team-score b{font-size:15px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-card-footer-actions{padding-top:4px!important;border-top:1px solid #e6ebf0!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-match-card-footer-actions a{font-size:11.5px!important;font-weight:600!important}

/* Listado / cuadro de partidos. */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-lrp,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-day-grid,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-stage-grid,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-stage-grid-v68{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-subblock{
  padding:6px!important;
  border:1px solid #dce3ea!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp{
  gap:6px!important;
  min-height:0!important;
  padding:6px!important;
  border:1px solid #dfe6ec!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp.is-result-pending,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp.is-result-complete{box-shadow:none!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-meta,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-stage,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-state{font-size:11px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-list-team{gap:5px!important;padding:3px!important;border-radius:3px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-list-logo{width:34px!important;height:25px!important;border-radius:3px!important;padding:2px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-list-name,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-list-name span{font-size:12px!important;line-height:1.14!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-list-names small{font-size:10.5px!important;font-weight:500!important;color:#68788b!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp .is-winner .crp-public-list-name,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp .is-winner .crp-public-list-name span{font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp .is-loser .crp-public-list-name,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-row-lrp .is-loser .crp-public-list-name span{font-weight:500!important;color:#64748b!important}

/* Orden de juego por días: misma navegación plana que LRP. */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-order-day-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:3px!important;
  margin:0 0 6px!important;
  padding:4px!important;
  border:1px solid #cbd6e1!important;
  border-radius:4px!important;
  background:#eef2f5!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-order-day-tab{
  min-height:30px!important;
  padding:5px 8px!important;
  border:1px solid #c8d3dd!important;
  border-radius:3px!important;
  background:#fff!important;
  color:#42546a!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-order-day-tab.active,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-order-day-tab.is-active{
  background:var(--crp-pub-blue)!important;
  border-color:var(--crp-pub-blue)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--crp-pub-orange)!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-order-day{margin:0 0 7px!important}

/* ======================================================================
   CLASIFICACIÓN FINAL / FASE B
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-card{
  padding:7px!important;
  border:1px solid #d7e0e8!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-head{
  margin:0 0 5px!important;
  padding:0 0 5px!important;
  border-bottom:1px solid #e2e8ee!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-head strong{font-size:13px!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-head span{font-size:10.5px!important;color:#68788b!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-list,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-list-v127{display:grid!important;gap:3px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-row-v127{
  grid-template-columns:34px 40px minmax(0,1fr) auto!important;
  gap:6px!important;
  min-height:42px!important;
  padding:5px!important;
  border:1px solid #e0e6ec!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-pos{
  width:30px!important;
  height:30px!important;
  border-radius:3px!important;
  background:#eef3f7!important;
  border:1px solid #d6e0e8!important;
  color:var(--crp-pub-blue)!important;
  font-size:13px!important;
  font-weight:600!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-logo{width:40px!important;height:30px!important;padding:2px!important;border-radius:3px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-team strong,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-team .crp-name-lines{font-size:12px!important;line-height:1.12!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-team small{font-size:10.5px!important;font-weight:500!important;color:#68788b!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-row-v127 em{padding:3px 5px!important;border-radius:3px!important;font-size:10.5px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-pending{padding:7px!important;border-radius:3px!important;background:#f7f9fb!important;box-shadow:none!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-pending strong{font-size:12px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-pending span{font-size:11px!important;color:#68788b!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-phaseb-composition,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-phaseb-grid,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-class-stages,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-class-stages-v74{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-flow-note,
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-slot-preview{
  padding:6px!important;
  border-radius:3px!important;
  box-shadow:none!important;
  font-size:11px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-slot-chip{border-radius:3px!important;font-size:10.5px!important;font-weight:600!important}

/* ======================================================================
   PODIO
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-podios-public-page-v144,
body.crp-public:not(.crp-portal-petanca-page) .crp-podios-public-page-v166{gap:6px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-level-card-v144{
  padding:8px!important;
  border:1px solid #d5dee7!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-level-card-v144>header{
  margin:0 0 6px!important;
  padding:0 0 5px!important;
  border-bottom:1px solid #e2e8ee!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-level-card-v144>header strong{font-size:14px!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-level-card-v144>header span{padding:3px 5px!important;border-radius:3px!important;font-size:10.5px!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-medal-grid-v144{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-public-card-v144{
  grid-template-columns:48px 46px minmax(0,1fr)!important;
  gap:7px!important;
  min-height:68px!important;
  padding:7px!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-public-card-v144.is-place-1{border-color:#dcc778!important;border-top:4px solid #c99b17!important;background:#fff!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-public-card-v144.is-place-2{border-color:#cfd8e2!important;border-top:4px solid #8b98a8!important;background:#fff!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-public-card-v144.is-place-3{border-color:#ddbea0!important;border-top:4px solid #a96d38!important;background:#fff!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-medal-v144{min-height:46px!important;border-radius:3px!important;box-shadow:none!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-medal-v144 span{font-size:20px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-medal-v144 b{font-size:10.5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-logo-wrap-v144 .crp-public-final-logo{width:44px!important;height:34px!important;border-radius:3px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-team-v144 strong{font-size:12px!important;line-height:1.12!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-team-v144 small{font-size:10.5px!important;font-weight:500!important;color:#68788b!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-empty-medal-v144,
body.crp-public:not(.crp-portal-petanca-page) .crp-podio-pending-v144{min-height:58px!important;border-radius:4px!important;box-shadow:none!important}

/* ======================================================================
   DOCUMENTOS
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-documents-grid-v118{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-document-card-v118{
  min-height:0!important;
  padding:7px!important;
  border:1px solid #d9e2ea!important;
  border-left:4px solid var(--crp-pub-blue-2)!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-document-card-v118 strong{font-size:12.5px!important;line-height:1.15!important;font-weight:600!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-document-card-v118 span,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-document-card-v118 small{font-size:11px!important;line-height:1.2!important;color:#66768a!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-document-card-v118 a,
body.crp-public:not(.crp-portal-petanca-page) .crp-public-btn{
  min-height:29px!important;
  padding:5px 8px!important;
  border:1px solid var(--crp-pub-blue)!important;
  border-radius:3px!important;
  background:var(--crp-pub-blue)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--crp-pub-orange)!important;
  font-size:11.5px!important;
  font-weight:600!important;
}

/* ======================================================================
   HISTÓRICO Y OTRAS PÁGINAS PÚBLICAS AUXILIARES
   ====================================================================== */
body.crp-public:not(.crp-portal-petanca-page) .crp-hero{
  margin:7px 0!important;
  padding:10px 12px!important;
  border:1px solid var(--crp-pub-line)!important;
  border-top:5px solid var(--crp-pub-blue)!important;
  border-radius:5px!important;
  background:#fff!important;
  color:var(--crp-pub-text)!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-hero h1{margin:0!important;font-size:27px!important;line-height:1.08!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-hero p{margin:4px 0 0!important;font-size:12.5px!important;color:#66768a!important;font-weight:500!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-kicker{font-size:11px!important;color:var(--crp-pub-blue-2)!important;font-weight:600!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-list{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card{
  padding:7px!important;
  border-left:4px solid var(--crp-pub-blue-2)!important;
  border-radius:3px!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card h2,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card h3{font-size:15px!important;line-height:1.15!important;color:var(--crp-pub-text)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card p,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card span,
body.crp-public:not(.crp-portal-petanca-page) .crp-event-card small{font-size:11.5px!important;color:#66768a!important;font-weight:500!important}

/* Resumen / KPIs si alguna vista los utiliza. */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-summary-grid{gap:5px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-summary-grid>article{
  min-height:58px!important;
  padding:7px!important;
  border:1px solid #d9e2ea!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-summary-grid strong{font-size:18px!important;color:var(--crp-pub-blue)!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-summary-grid span{font-size:11px!important;color:#68788b!important;font-weight:500!important}

/* Pie público compacto. */
body.crp-public:not(.crp-portal-petanca-page) .crp-public-footer{
  margin-top:14px!important;
  padding:14px 8px 18px!important;
  border-top:1px solid #cbd6e1!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-public-footer-logos{gap:8px!important}
body.crp-public:not(.crp-portal-petanca-page) .crp-footer-logo-item{
  padding:4px!important;
  border:1px solid #dce3ea!important;
  border-radius:3px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crp-public:not(.crp-portal-petanca-page) .crp-footer-logo-item img{max-height:44px!important;object-fit:contain!important}

/* ======================================================================
   RESPONSIVE · mismas proporciones de LRP
   ====================================================================== */
@media(max-width:1100px){
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-groups-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important}
}
@media(max-width:760px){
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-wrap{
    width:calc(100% - 12px)!important;
    margin-bottom:20px!important;
    padding:0!important;
  }
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero,
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-lrp,
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-v49,
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-hero-v50{
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:8px!important;
    padding:7px!important;
    border-radius:4px!important;
  }
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster-wrap{width:78px!important;min-width:78px!important;max-width:78px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster,
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-poster img,
  body.crp-public:not(.crp-portal-petanca-page) .crp-poster-placeholder{
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:105px!important;
    min-height:105px!important;
    max-height:105px!important;
  }
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-summary h1{font-size:21px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-subtitle{font-size:11.5px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta{grid-template-columns:1fr!important;gap:2px!important;font-size:11.5px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-meta dt{display:none!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions{gap:3px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-actions a{min-height:27px!important;padding:4px 6px!important;font-size:11.5px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a,
  body.crp-public:not(.crp-portal-petanca-page) .crp-level-subtab{min-height:34px!important;padding:5px!important;font-size:12px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row{align-items:flex-start!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h1,
  body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h2,
  body.crp-public:not(.crp-portal-petanca-page) .crp-section-title-row h3{font-size:17px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-groups-grid,
  body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-grid,
  body.crp-public:not(.crp-portal-petanca-page) .crp-level-class-grid-v54,
  body.crp-public:not(.crp-portal-petanca-page) .crp-liguillas-class-grid,
  body.crp-public:not(.crp-portal-petanca-page) .crp-podio-medal-grid-v144,
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-day-grid,
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-stage-grid,
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-match-list-stage-grid-v68{grid-template-columns:1fr!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-panel{padding:7px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-podio-public-card-v144{grid-template-columns:42px 42px minmax(0,1fr)!important;gap:6px!important;padding:6px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-row-v127{grid-template-columns:30px 36px minmax(0,1fr) auto!important;gap:5px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-hero h1{font-size:21px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-footer-logo-item img{max-height:34px!important}
}
@media(max-width:430px){
  body.crp-public:not(.crp-portal-petanca-page) .crp-event-summary h1{font-size:19px!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-tabs-event-levels a{flex-basis:calc(50% - 3px)!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-level-subtab{flex-basis:calc(50% - 3px)!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-row-v127{grid-template-columns:28px 32px minmax(0,1fr)!important}
  body.crp-public:not(.crp-portal-petanca-page) .crp-public-final-row-v127 em{grid-column:3!important;justify-self:start!important}
}

/* Respeta el comportamiento JS que oculta secciones en móvil. */
@media(max-width:760px){body.crp-public:not(.crp-portal-petanca-page) .is-crp-hidden{display:none!important}}
