:root{
  --brand-1:#0A66A9;
  --brand-1b:#0f7ac6;
  --brand-2:#E3901E;
  --bg:#eef3f8;
  --panel:#fff;
  --text:#172334;
  --muted:#64748b;
  --line:#d8e2ee;
  --radius:24px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;background:#eef3f8;color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.app-wrap{max-width:480px;margin:0 auto;min-height:100dvh;background:linear-gradient(180deg,#fff,#f5f8fc);padding-bottom:92px}
.app-main{padding:10px 14px 22px}
.app-topbar{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 10px;background:rgba(255,255,255,.9);position:sticky;top:0;z-index:10}
.app-brand{display:flex;align-items:center;gap:12px}
.app-brand img{width:44px;height:44px;border-radius:14px}
.app-brand h1{font-size:20px;line-height:1;margin:0;font-weight:900;letter-spacing:.02em}
.app-brand p{margin:4px 0 0;color:var(--muted);font-size:12px}
.section-title{margin:14px 4px 9px}
.section-title h2{margin:0;font-size:19px;line-height:1.1}
.section-title p{margin:5px 0 0;color:var(--muted);font-size:13px}
.app-splash{position:fixed;inset:0;background:linear-gradient(135deg,#0A66A9,#E3901E);display:grid;place-items:center;z-index:9999;transition:opacity .22s ease,visibility .22s ease}
.app-splash.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.app-splash-card{background:rgba(255,255,255,.15);border-radius:30px;padding:22px;display:grid;gap:12px;justify-items:center}
.splash-logo{width:140px}.splash-fede{width:210px}
.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(480px,100%);height:72px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);z-index:20;box-shadow:0 -8px 24px rgba(15,23,42,.08)}
.bottom-nav-item{display:grid;place-items:center;font-size:11px;font-weight:800;color:#667085}
.bottom-nav-item.is-active{color:var(--brand-1)}
.featured-stack-compact{display:grid;gap:10px}
.featured-card{display:grid;grid-template-columns:96px 1fr;gap:12px;background:#fff;border:1px solid rgba(10,102,169,.10);border-radius:20px;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.07)}
.featured-card.is-main{grid-template-columns:1fr}
.featured-card img{width:100%;height:100%;min-height:88px;object-fit:cover}
.featured-card.is-main img{height:150px}
.featured-copy{padding:12px}
.eyebrow{display:inline-block;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-1)}
.featured-copy h2{margin:3px 0 0;font-size:16px;line-height:1.18}
.featured-card.is-main .featured-copy h2{font-size:20px}
.featured-copy p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.35}
.more-row{display:flex;margin:10px 0 18px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid var(--line);padding:9px 12px;background:#fff;font-weight:800;font-size:13px}
.btn-primary{background:linear-gradient(135deg,var(--brand-1),var(--brand-1b));color:#fff;border:0}
.btn-wide{width:100%}
.news-list{display:grid;gap:10px}
.news-item{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid rgba(10,102,169,.10);border-radius:18px;padding:9px;box-shadow:0 6px 16px rgba(15,23,42,.05)}
.news-item img{width:72px;height:72px;border-radius:13px;object-fit:cover}
.news-copy h3{font-size:14px;line-height:1.18;margin:3px 0 0}
.news-copy p{font-size:12px;color:var(--muted);margin:5px 0 0}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.quick-tile{display:grid;place-items:center;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px 6px;font-size:12px;font-weight:800}
.quick-tile img{width:48px;height:48px;object-fit:contain}
.empty-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;margin:10px 0}
.competition-list-compact{display:grid;gap:10px}
.competition-card-compact{display:grid;grid-template-columns:165px 1fr;background:#fff;border:1px solid rgba(10,102,169,.10);border-radius:20px;overflow:hidden;box-shadow:0 8px 20px rgba(15,23,42,.07)}
.competition-card-compact .competition-image{width:165px;height:100%;min-height:176px;object-fit:contain;background:#fff;padding:5px}
.competition-card-compact .competition-body{padding:11px 12px}
.competition-head{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:5px}
.status-pill,.sport-pill{display:inline-flex;align-items:center;min-height:20px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}
.status-pill{color:#fff;background:var(--brand-1)}
.sport-pill{color:#7a4100;background:#fff1d8}
.competition-card-compact h3{margin:0 0 7px;font-size:15px;line-height:1.16}
.compact-meta{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;margin:0 0 9px}
.compact-meta dt{font-size:9.5px;text-transform:uppercase;font-weight:800;color:#718096}
.compact-meta dd{margin:1px 0 0;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-actions{display:flex;gap:6px;flex-wrap:wrap}
.btn-small{min-height:30px;padding:7px 10px;font-size:12px}
.resultados-online-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.resultado-online-tile{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;min-height:108px!important;padding:8px 3px!important;border-radius:18px!important;background:#fff!important;border:1px solid rgba(10,102,169,.10)!important;box-shadow:0 8px 18px rgba(15,23,42,.06)!important}
.resultado-online-tile img{width:56px!important;height:56px!important;object-fit:contain!important}
.resultado-online-tile span{margin-top:5px!important;font-size:12px!important;line-height:1.05!important;font-weight:800!important}
.resultado-online-tile small{margin-top:3px;padding:2px 5px;border-radius:999px;background:#e8f4ff;color:#0A66A9;font-size:8px;font-weight:900}
.results-list{display:grid;gap:10px}
.result-row{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px}
.result-row img{width:56px;height:56px;object-fit:contain}
.result-row h3{margin:0;font-size:15px}.result-row p{margin:4px 0 0;color:var(--muted);font-size:12px}
@media(max-width:390px){.competition-card-compact{grid-template-columns:145px 1fr}.competition-card-compact .competition-image{width:145px}.compact-meta{grid-template-columns:1fr}}


/* =========================================================
   A1CLIC v21 - home limpia + menú inferior más fino y claro
   ========================================================= */

.app-wrap{
  padding-bottom:72px !important;
}

.app-main{
  padding-bottom:18px !important;
}

.simple-list{
  display:grid;
  gap:8px;
}

.simple-row{
  display:block;
  background:#ffffff;
  border:1px solid rgba(10,102,169,.12);
  border-radius:16px;
  padding:11px 12px;
  box-shadow:0 5px 14px rgba(15,23,42,.045);
}

.simple-row h3{
  margin:4px 0 0;
  color:#172334;
  font-size:15px;
  line-height:1.18;
  font-weight:900;
}

.simple-date{
  display:inline-flex;
  align-items:center;
  color:#0A66A9;
  background:#eaf5ff;
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.03em;
}

.more-row{
  display:flex;
  justify-content:center;
  margin:10px 0 18px;
}

.btn-wide{
  width:100%;
  justify-content:center;
  text-align:center;
}

.bottom-nav{
  position:fixed !important;
  left:50% !important;
  bottom:0 !important;
  transform:translateX(-50%) !important;
  width:min(480px,100%) !important;
  height:58px !important;
  z-index:9999 !important;
  display:grid !important;
  grid-template-columns:repeat(5,1fr) !important;
  background:#eaf5ff !important;
  border-top:1px solid #b8daf4 !important;
  box-shadow:0 -6px 18px rgba(10,102,169,.16) !important;
  padding-bottom:env(safe-area-inset-bottom) !important;
}

.bottom-nav-item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  color:#315c78 !important;
  font-weight:900 !important;
  font-size:10px !important;
  line-height:1 !important;
}

.bottom-nav-item.is-active{
  color:#0A66A9 !important;
  background:#d5ecff !important;
}

.nav-icon{
  display:block;
  font-size:15px;
  line-height:1;
}

.nav-label{
  display:block;
  white-space:nowrap;
  letter-spacing:-.02em;
}

.quick-grid-tight{
  gap:9px !important;
}

.quick-tile{
  min-height:92px;
}

.quick-tile img{
  width:46px;
  height:46px;
  object-fit:contain;
}

@media (max-width:370px){
  .bottom-nav-item{
    font-size:9px !important;
  }
  .nav-icon{
    font-size:14px;
  }
}


/* =========================================================
   A1CLIC v23 - imágenes restauradas + menos bold + texto menor
   ========================================================= */

.section-title h2{
  font-weight:650 !important;
  font-size:17px !important;
  letter-spacing:-.01em !important;
}

.section-title p{
  font-weight:400 !important;
  font-size:12.5px !important;
}

.media-list{
  display:grid;
  gap:8px;
}

.media-row{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:10px;
  align-items:center;
  background:#ffffff;
  border:1px solid rgba(10,102,169,.11);
  border-radius:16px;
  padding:8px;
  box-shadow:0 5px 13px rgba(15,23,42,.045);
}

.media-row img,
.media-placeholder{
  width:72px;
  height:62px;
  border-radius:12px;
  object-fit:cover;
  background:#eaf5ff;
}

.media-row h3{
  margin:4px 0 0;
  color:#172334;
  font-size:13.5px;
  line-height:1.18;
  font-weight:650;
}

.media-date{
  display:inline-flex;
  align-items:center;
  color:#0A66A9;
  background:#eaf5ff;
  border-radius:999px;
  padding:3px 7px;
  font-size:10.5px;
  line-height:1;
  font-weight:700;
  letter-spacing:.02em;
}

.simple-row h3{
  font-weight:650 !important;
  font-size:13.5px !important;
}

.simple-date{
  font-weight:700 !important;
  font-size:10.5px !important;
}

.more-row{
  display:flex;
  justify-content:center;
  margin:9px 0 16px;
}

.btn-wide{
  width:100%;
  justify-content:center;
  text-align:center;
}

.app-brand h1{
  font-weight:700 !important;
  font-size:18px !important;
}

.quick-tile span{
  font-weight:650 !important;
  font-size:12px !important;
}

.bottom-nav{
  height:56px !important;
  background:#eaf5ff !important;
  border-top:1px solid #b8daf4 !important;
  box-shadow:0 -6px 16px rgba(10,102,169,.14) !important;
}

.bottom-nav-item{
  font-weight:650 !important;
  font-size:9.5px !important;
  color:#315c78 !important;
}

.bottom-nav-item.is-active{
  color:#0A66A9 !important;
  background:#d5ecff !important;
}

.nav-icon{
  font-size:14px !important;
}

.nav-label{
  font-weight:650 !important;
}

@media(max-width:370px){
  .media-row{
    grid-template-columns:66px 1fr;
  }
  .media-row img,
  .media-placeholder{
    width:66px;
    height:58px;
  }
  .media-row h3{
    font-size:13px;
  }
}


/* A1CLIC v24 - imágenes, menos bold, texto menor */
.section-title h2{font-weight:650!important;font-size:17px!important;letter-spacing:-.01em!important}
.section-title p{font-weight:400!important;font-size:12.5px!important}
.media-list{display:grid;gap:8px}
.media-row{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid rgba(10,102,169,.11);border-radius:16px;padding:8px;box-shadow:0 5px 13px rgba(15,23,42,.045)}
.media-row img,.media-placeholder{width:72px;height:62px;border-radius:12px;object-fit:cover;background:#eaf5ff}
.media-row h3{margin:4px 0 0;color:#172334;font-size:13.5px;line-height:1.18;font-weight:650}
.media-date{display:inline-flex;align-items:center;color:#0A66A9;background:#eaf5ff;border-radius:999px;padding:3px 7px;font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.02em}
.more-row{display:flex;justify-content:center;margin:9px 0 16px}.btn-wide{width:100%;justify-content:center;text-align:center}
.app-brand h1{font-weight:700!important;font-size:18px!important}.quick-tile span{font-weight:650!important;font-size:12px!important}
.bottom-nav{height:56px!important;background:#eaf5ff!important;border-top:1px solid #b8daf4!important;box-shadow:0 -6px 16px rgba(10,102,169,.14)!important}
.bottom-nav-item{font-weight:650!important;font-size:9.5px!important;color:#315c78!important}.bottom-nav-item.is-active{color:#0A66A9!important;background:#d5ecff!important}
.nav-icon{font-size:14px!important}.nav-label{font-weight:650!important}
@media(max-width:370px){.media-row{grid-template-columns:66px 1fr}.media-row img,.media-placeholder{width:66px;height:58px}.media-row h3{font-size:13px}}


/* A1CLIC v25 - WP conectado, imágenes, texto más fino */
.section-title h2{font-weight:650!important;font-size:17px!important;letter-spacing:-.01em!important}
.section-title p{font-weight:400!important;font-size:12.5px!important}
.media-list{display:grid;gap:8px}
.media-row{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid rgba(10,102,169,.11);border-radius:16px;padding:8px;box-shadow:0 5px 13px rgba(15,23,42,.045)}
.media-row img,.media-placeholder{width:72px;height:62px;border-radius:12px;object-fit:cover;background:#eaf5ff}
.media-row h3{margin:4px 0 0;color:#172334;font-size:13.5px;line-height:1.18;font-weight:650}
.media-date{display:inline-flex;align-items:center;color:#0A66A9;background:#eaf5ff;border-radius:999px;padding:3px 7px;font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.02em}
.more-row{display:flex;justify-content:center;margin:9px 0 16px}.btn-wide{width:100%;justify-content:center;text-align:center}
.app-brand h1{font-weight:700!important;font-size:18px!important}.quick-tile span{font-weight:650!important;font-size:12px!important}
.bottom-nav{height:56px!important;background:#eaf5ff!important;border-top:1px solid #b8daf4!important;box-shadow:0 -6px 16px rgba(10,102,169,.14)!important}
.bottom-nav-item{font-weight:650!important;font-size:9.5px!important;color:#315c78!important}.bottom-nav-item.is-active{color:#0A66A9!important;background:#d5ecff!important}
.nav-icon{font-size:14px!important}.nav-label{font-weight:650!important}
@media(max-width:370px){.media-row{grid-template-columns:66px 1fr}.media-row img,.media-placeholder{width:66px;height:58px}.media-row h3{font-size:13px}}


/* =========================================================
   A1CLIC v26 - solo cabecera + secciones home + relieve
   ========================================================= */

.app-topbar{
  display:none !important;
}

.app-header-pro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px 10px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.header-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.header-app-icon{
  width:42px;
  height:42px;
  border-radius:13px;
  object-fit:contain;
  box-shadow:0 5px 14px rgba(10,102,169,.16);
  flex:0 0 auto;
}

.header-title-block{
  min-width:0;
}

.header-title-block h1{
  margin:0;
  font-size:16.5px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:.01em;
  color:#142033;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.header-title-block p{
  margin:4px 0 0;
  font-size:11px;
  line-height:1;
  font-weight:500;
  color:#6a7b8d;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.header-fede-logo{
  max-width:118px;
  max-height:36px;
  object-fit:contain;
  flex:0 0 auto;
}

.header-divider{
  height:1px;
  margin:0 14px 8px;
  background:linear-gradient(90deg,rgba(10,102,169,.08),rgba(10,102,169,.35),rgba(227,144,30,.28),rgba(10,102,169,.08));
}

.section-heading-pro{
  display:flex;
  align-items:center;
  gap:9px;
  margin:11px 3px 8px;
}

.section-heading-icon{
  width:32px;
  height:32px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#eaf5ff;
  border:1px solid rgba(10,102,169,.13);
  font-size:16px;
  box-shadow:0 5px 12px rgba(10,102,169,.08);
  flex:0 0 auto;
}

.section-heading-updates .section-heading-icon{
  background:#fff4e5;
  border-color:rgba(227,144,30,.20);
}

.section-heading-pro h2{
  margin:0;
  font-size:16.5px;
  line-height:1.1;
  font-weight:650;
  color:#142033;
  letter-spacing:-.01em;
}

.section-heading-pro p{
  margin:3px 0 0;
  color:#6a7b8d;
  font-size:12px;
  line-height:1.15;
  font-weight:400;
}

.media-list{
  gap:9px !important;
}

.media-row{
  border-radius:17px !important;
  border:1px solid rgba(10,102,169,.13) !important;
  background:#ffffff !important;
  box-shadow:0 8px 20px rgba(16,45,78,.075) !important;
  transition:transform .15s ease, box-shadow .15s ease;
}

.media-row:active{
  transform:scale(.99);
  box-shadow:0 4px 12px rgba(16,45,78,.08) !important;
}

.media-row img,
.media-placeholder{
  box-shadow:0 4px 10px rgba(15,23,42,.08);
}

.media-row h3{
  font-weight:650 !important;
  font-size:13.5px !important;
  line-height:1.18 !important;
}

.media-date{
  font-weight:700 !important;
  font-size:10.5px !important;
}

.more-row{
  margin:9px 0 14px !important;
}

@media(max-width:370px){
  .header-fede-logo{
    max-width:94px;
  }
  .header-title-block h1{
    font-size:15px;
  }
}


/* =========================================================
   A1CLIC v27 - loader profesional, sin tocar datos
   ========================================================= */

.app-splash-pro{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  display:grid !important;
  place-items:center !important;
  background:
    radial-gradient(circle at 25% 20%, rgba(227,144,30,.35), transparent 34%),
    radial-gradient(circle at 80% 75%, rgba(10,102,169,.48), transparent 38%),
    linear-gradient(145deg,#073f6d 0%, #0A66A9 48%, #08385f 100%) !important;
  opacity:1;
  visibility:visible;
  transition:opacity .36s ease, visibility .36s ease;
}

.app-splash-pro.is-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.app-splash-pro .app-splash-card{
  width:min(78vw, 290px) !important;
  min-height:300px !important;
  padding:26px 24px 24px !important;
  border-radius:34px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,255,255,.15) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.26) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.app-splash-pro .splash-logo{
  width:118px !important;
  height:118px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.24));
  animation:a1clicLogoPulse 1.75s ease-in-out infinite;
}

.splash-loader-ring{
  width:38px;
  height:38px;
  margin:16px 0 8px;
  border-radius:999px;
  border:3px solid rgba(255,255,255,.34);
  border-top-color:#ffffff;
  animation:a1clicSpin .85s linear infinite;
}

.splash-title{
  margin:4px 0 0;
  color:#ffffff;
  font-size:24px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
}

.splash-subtitle{
  margin:7px 0 0;
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-align:center;
}

.splash-progress{
  width:156px;
  height:5px;
  margin-top:20px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.splash-progress span{
  display:block;
  width:42%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#E3901E,#ffffff,#0A66A9);
  animation:a1clicProgress 1.25s ease-in-out infinite;
}

@keyframes a1clicSpin{
  to{ transform:rotate(360deg); }
}

@keyframes a1clicLogoPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.035); }
}

@keyframes a1clicProgress{
  0%{ transform:translateX(-120%); }
  100%{ transform:translateX(260%); }
}


/* =========================================================
   A1CLIC v32 - portada destacada + 4 accesos + instalar
   ========================================================= */

.media-list-home .media-row-featured{
  grid-template-columns:1fr !important;
  gap:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:20px !important;
  box-shadow:0 12px 26px rgba(16,45,78,.12) !important;
}

.media-list-home .media-row-featured img,
.media-list-home .media-row-featured .media-placeholder{
  width:100% !important;
  height:138px !important;
  border-radius:0 !important;
  object-fit:cover !important;
  box-shadow:none !important;
}

.media-list-home .media-row-featured > div{
  padding:11px 12px 13px !important;
}

.media-list-home .media-row-featured h3{
  font-size:16px !important;
  line-height:1.17 !important;
  font-weight:700 !important;
}

.quick-grid,
.quick-grid-tight{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
}

.quick-tile{
  min-height:84px !important;
  padding:8px 4px !important;
  border-radius:16px !important;
}

.quick-tile img{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
}

.quick-tile span{
  font-size:11px !important;
  line-height:1.08 !important;
  font-weight:650 !important;
}

.a1-install-card{
  position:fixed;
  left:50%;
  bottom:68px;
  transform:translateX(-50%);
  width:min(440px, calc(100% - 22px));
  z-index:99998;
  border-radius:22px;
  padding:12px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(10,102,169,.18);
  box-shadow:0 18px 46px rgba(15,23,42,.22);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  animation:a1InstallIn .24s ease-out both;
}

.a1-install-card.is-hiding{
  animation:a1InstallOut .20s ease-in both;
}

.a1-install-main{
  display:flex;
  align-items:center;
  gap:10px;
  padding-right:28px;
}

.a1-install-main img{
  width:42px;
  height:42px;
  border-radius:13px;
  object-fit:contain;
  box-shadow:0 5px 14px rgba(10,102,169,.15);
  flex:0 0 auto;
}

.a1-install-main strong{
  display:block;
  font-size:14px;
  line-height:1.1;
  font-weight:750;
  color:#142033;
}

.a1-install-main p{
  margin:4px 0 0;
  color:#667085;
  font-size:12px;
  line-height:1.2;
}

.a1-install-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
}

.a1-install-btn,
.a1-install-never,
.a1-install-close{
  border:0;
  cursor:pointer;
  font:inherit;
}

.a1-install-btn{
  min-height:34px;
  padding:0 12px;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#0A66A9,#0d7ac7);
  font-size:12px;
  font-weight:750;
}

.a1-install-never{
  min-height:34px;
  padding:0 10px;
  border-radius:12px;
  background:#eaf5ff;
  color:#315c78;
  font-size:12px;
  font-weight:650;
}

.a1-install-close{
  position:absolute;
  right:10px;
  top:8px;
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#f1f5f9;
  color:#334155;
  font-size:18px;
  line-height:1;
}

.a1-install-help{
  margin:10px 0 0;
  padding:9px 10px;
  border-radius:13px;
  background:#fff7e8;
  color:#704214;
  font-size:12px;
  line-height:1.3;
}

@keyframes a1InstallIn{
  from{ opacity:0; transform:translate(-50%, 16px); }
  to{ opacity:1; transform:translate(-50%, 0); }
}

@keyframes a1InstallOut{
  from{ opacity:1; transform:translate(-50%, 0); }
  to{ opacity:0; transform:translate(-50%, 16px); }
}

@media(max-width:390px){
  .quick-grid,
  .quick-grid-tight{
    gap:6px !important;
  }

  .quick-tile img{
    width:38px !important;
    height:38px !important;
  }

  .quick-tile span{
    font-size:10.2px !important;
  }

  .media-list-home .media-row-featured img,
  .media-list-home .media-row-featured .media-placeholder{
    height:126px !important;
  }
}


/* =========================================================
   A1CLIC v33 - overlay leve entre pestañas + destacada completa
   ========================================================= */

.media-list-home .media-row-featured img,
.media-list-home .media-row-featured .media-placeholder{
  height:168px !important;
  object-fit:contain !important;
  background:#f7fbff !important;
  padding:2px !important;
}

.media-list-home .media-row-featured{
  background:#ffffff !important;
}

.a1-tab-overlay{
  position:fixed;
  inset:0;
  z-index:99997;
  display:grid;
  place-items:center;
  background:rgba(238,246,252,.72);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  animation:a1TabFadeIn .16s ease-out both;
}

.a1-tab-loader{
  width:132px;
  min-height:118px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(10,102,169,.15);
  box-shadow:0 16px 40px rgba(15,23,42,.16);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.a1-tab-loader img{
  width:44px;
  height:44px;
  border-radius:14px;
  object-fit:contain;
  box-shadow:0 6px 14px rgba(10,102,169,.14);
}

.a1-tab-loader span{
  width:24px;
  height:24px;
  border-radius:999px;
  border:3px solid rgba(10,102,169,.18);
  border-top-color:#0A66A9;
  animation:a1TabSpin .8s linear infinite;
}

.a1-tab-loader p{
  margin:0;
  color:#315c78;
  font-size:12px;
  line-height:1;
  font-weight:650;
}

@keyframes a1TabFadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes a1TabSpin{
  to{ transform:rotate(360deg); }
}

@media(max-width:390px){
  .media-list-home .media-row-featured img,
  .media-list-home .media-row-featured .media-placeholder{
    height:156px !important;
  }
}


/* =========================================================
   A1CLIC v34 - imagen destacada llena + loader calendario
   ========================================================= */

.media-list-home .media-row-featured img{
  width:100% !important;
  height:176px !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:#f7fbff !important;
  padding:0 !important;
}

.media-list-home .media-row-featured .media-placeholder{
  width:100% !important;
  height:176px !important;
  object-fit:cover !important;
  background:#eaf5ff !important;
  padding:0 !important;
}

.calendar-app-shell{
  position:relative !important;
  background:#ffffff !important;
}

.calendar-loader{
  position:absolute;
  inset:0;
  z-index:5;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#f7fbff,#eef6fc);
  transition:opacity .22s ease, visibility .22s ease;
}

.calendar-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.calendar-loader-card{
  width:138px;
  min-height:124px;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(10,102,169,.14);
  box-shadow:0 16px 38px rgba(15,23,42,.14);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.calendar-loader-card img{
  width:46px;
  height:46px;
  border-radius:14px;
  object-fit:contain;
  box-shadow:0 6px 14px rgba(10,102,169,.13);
}

.calendar-loader-spinner{
  width:25px;
  height:25px;
  border-radius:999px;
  border:3px solid rgba(10,102,169,.18);
  border-top-color:#0A66A9;
  animation:a1TabSpin .8s linear infinite;
}

.calendar-loader-card p{
  margin:0;
  color:#315c78;
  font-size:12px;
  font-weight:650;
}

@media(max-width:390px){
  .media-list-home .media-row-featured img,
  .media-list-home .media-row-featured .media-placeholder{
    height:164px !important;
  }
}


/* =========================================================
   A1CLIC v35 - intro solo una vez por sesión
   ========================================================= */

html.a1clic-skip-intro #app-splash{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.calendar-app-shell iframe{
  opacity:0;
  transition:opacity .28s ease;
}

.calendar-app-shell iframe.is-loaded{
  opacity:1;
}


/* =========================================================
   A1CLIC v45 - accesos rápidos equilibrados + logos frescos
   ========================================================= */

/* Normalmente 4 por fila: 4, 7 -> 4+3, 8 -> 4+4 */
.quick-grid,
.quick-grid-tight{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

/* Si exactamente hay 6 accesos: 3 + 3 */
.quick-grid:has(> :nth-child(6):last-child),
.quick-grid-tight:has(> :nth-child(6):last-child){
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* Si exactamente hay 3 accesos: 3 en una fila */
.quick-grid:has(> :nth-child(3):last-child),
.quick-grid-tight:has(> :nth-child(3):last-child){
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* Si exactamente hay 2 accesos: 2 equilibrados */
.quick-grid:has(> :nth-child(2):last-child),
.quick-grid-tight:has(> :nth-child(2):last-child){
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

.quick-tile img{
  image-rendering:auto;
}

@media(max-width:360px){
  .quick-grid,
  .quick-grid-tight{
    gap:6px !important;
  }

  .quick-tile{
    min-height:80px !important;
  }
}


/* =========================================================
   A1CLIC v52 - logos overlay sin marco blanco ni fondo forzado
   ========================================================= */

/* Logo grande de entrada */
.app-splash-pro .splash-logo,
.splash-logo{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.18)) !important;
  object-fit:contain !important;
  image-rendering:auto !important;
}

/* Iconos pequeños que aparecen en overlays/cargadores */
.a1-tab-loader img,
.calendar-loader-card img,
.results-frame-loader-card img,
.a1-install-main img,
.header-app-icon{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  object-fit:contain !important;
  image-rendering:auto !important;
}

/* Evita que el logo se vea dentro de una caja blanca/redondeada */
.a1-tab-loader img,
.calendar-loader-card img,
.results-frame-loader-card img{
  width:52px !important;
  height:52px !important;
}

/* En la cabecera mantenemos tamaño, pero sin fondo ni recorte */
.header-app-icon{
  width:44px !important;
  height:44px !important;
}

/* En el aviso de instalación también sin fondo blanco propio */
.a1-install-main img{
  width:44px !important;
  height:44px !important;
}

/* Si el logo tiene transparencia, lo mostramos mejor sobre fondo neutro sin "cuadro" extra */
.app-splash-pro .app-splash-card{
  background:rgba(255,255,255,.12) !important;
}

/* Página de prueba de logos */
.logo-test-bg{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:
    linear-gradient(45deg,#111 25%,transparent 25%),
    linear-gradient(-45deg,#111 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#111 75%),
    linear-gradient(-45deg,transparent 75%,#111 75%);
  background-size:32px 32px;
  background-position:0 0,0 16px,16px -16px,-16px 0;
}


/* =========================================================
   A1CLIC v55 - loader inicial usando icono real sin marco
   ========================================================= */
.app-splash .splash-logo,
.app-splash-pro .splash-logo,
.splash-logo{
  width:160px !important;
  height:160px !important;
  max-width:64vw !important;
  max-height:64vw !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.22)) !important;
  image-rendering:auto !important;
}

.a1-tab-loader img,
.calendar-loader-card img,
.results-frame-loader-card img,
.a1-install-main img,
.header-app-icon{
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  image-rendering:auto !important;
}


/* =========================================================
   A1CLIC v58 - bienvenida + ayuda instalación/notificaciones
   ========================================================= */
.a1-welcome-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:18px;
  animation:a1WelcomeIn .18s ease-out both;
}

.a1-welcome-modal.is-closing{
  animation:a1WelcomeOut .2s ease-in both;
}

.a1-welcome-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.a1-welcome-card{
  position:relative;
  width:min(520px,100%);
  max-height:min(86dvh,720px);
  overflow:auto;
  border-radius:28px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(10,102,169,.16);
  box-shadow:0 24px 70px rgba(15,23,42,.28);
  padding:16px;
}

.a1-welcome-x{
  position:absolute;
  right:12px;
  top:12px;
  width:32px;
  height:32px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  color:#344054;
  font-size:21px;
  line-height:1;
  cursor:pointer;
}

.a1-welcome-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:4px 36px 13px 2px;
  border-bottom:1px solid #e5eef7;
  margin-bottom:12px;
}

.a1-welcome-head img{
  width:58px;
  height:58px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 8px 14px rgba(10,102,169,.18));
}

.a1-welcome-head strong{
  display:block;
  color:#142033;
  font-size:20px;
  line-height:1.05;
  font-weight:750;
}

.a1-welcome-head span{
  display:block;
  color:#667085;
  margin-top:5px;
  font-size:12px;
  line-height:1.25;
}

.a1-welcome-block{
  border:1px solid #e3edf7;
  background:#f8fbff;
  border-radius:18px;
  padding:12px;
  margin-bottom:10px;
}

.a1-welcome-block h3{
  margin:0 0 6px;
  color:#142033;
  font-size:15px;
  line-height:1.1;
  font-weight:750;
}

.a1-welcome-block p{
  margin:0;
  color:#475467;
  font-size:13px;
  line-height:1.38;
}

.a1-welcome-note{
  margin-top:7px !important;
  color:#0A66A9 !important;
  font-weight:650;
}

.a1-welcome-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
}

.a1-welcome-actions button{
  min-height:42px;
  border:0;
  border-radius:14px;
  padding:0 10px;
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}

.a1-welcome-primary{
  background:#0A66A9;
  color:#fff;
}

.a1-welcome-secondary{
  background:#eaf5ff;
  color:#0A66A9;
}

.a1-welcome-ghost{
  grid-column:1 / -1;
  background:#f1f5f9;
  color:#475467;
}

@keyframes a1WelcomeIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes a1WelcomeOut{
  from{opacity:1;transform:translateY(0)}
  to{opacity:0;transform:translateY(8px)}
}

.account-help-grid{
  display:grid;
  gap:12px;
}

.account-help-card{
  background:#fff;
  border:1px solid rgba(10,102,169,.13);
  border-radius:20px;
  padding:14px;
  box-shadow:0 8px 22px rgba(15,23,42,.055);
}

.account-help-card h3{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.1;
  font-weight:750;
  color:#142033;
}

.account-help-card p{
  margin:0 0 8px;
  color:#475467;
  font-size:13px;
  line-height:1.42;
}

.account-help-card ul{
  margin:0;
  padding-left:18px;
  color:#475467;
  font-size:13px;
  line-height:1.45;
}

.account-status-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#fff7e8;
  color:#704214;
  font-size:12px;
  font-weight:750;
  margin:2px 0 10px;
}

.account-help-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.account-help-actions button,
.account-help-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border:0;
  border-radius:13px;
  padding:0 12px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  cursor:pointer;
}

.account-help-actions .primary{
  background:#0A66A9;
  color:#fff;
}

@media(max-width:390px){
  .a1-welcome-card{padding:13px;border-radius:24px}
  .a1-welcome-head strong{font-size:18px}
  .a1-welcome-actions{grid-template-columns:1fr}
  .a1-welcome-ghost{grid-column:auto}
}


/* =========================================================
   A1CLIC v63 - avisos/notificaciones base
   ========================================================= */
.a1-notice-pop{
  position:fixed;
  left:50%;
  bottom:86px;
  transform:translateX(-50%);
  z-index:99990;
  width:min(92vw,440px);
  display:grid;
  grid-template-columns:46px 1fr;
  gap:10px;
  padding:12px;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(10,102,169,.18);
  box-shadow:0 18px 52px rgba(15,23,42,.25);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  animation:a1NoticeIn .22s ease-out both;
}

.a1-notice-pop.is-hiding{
  animation:a1NoticeOut .2s ease-in both;
}

.a1-notice-pop-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#eaf5ff;
  font-size:23px;
}

.a1-notice-pop-body strong{
  display:block;
  color:#142033;
  font-size:14px;
  line-height:1.15;
  font-weight:800;
}

.a1-notice-pop-body p{
  margin:5px 0 0;
  color:#475467;
  font-size:12px;
  line-height:1.35;
}

.a1-notice-pop-actions{
  display:flex;
  gap:8px;
  margin-top:9px;
}

.a1-notice-pop-actions a,
.a1-notice-pop-actions button{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:11px;
  padding:0 10px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  cursor:pointer;
}

.a1-notice-pop-actions a{
  background:#0A66A9;
  color:#fff;
}

.account-status-pill.is-on{
  background:#dcfae6;
  color:#087443;
}

.account-help-actions button:disabled{
  opacity:.52;
  cursor:not-allowed;
}

@keyframes a1NoticeIn{
  from{opacity:0;transform:translate(-50%,12px)}
  to{opacity:1;transform:translate(-50%,0)}
}

@keyframes a1NoticeOut{
  from{opacity:1;transform:translate(-50%,0)}
  to{opacity:0;transform:translate(-50%,12px)}
}


/* =========================================================
   A1CLIC v64 - campana y centro de notificaciones
   ========================================================= */
.app-header-pro{
  position:relative;
  padding-right:52px!important;
}

.a1-notice-bell{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:1px solid rgba(10,102,169,.16);
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 20px rgba(15,23,42,.09);
  display:grid;
  place-items:center;
  cursor:pointer;
  color:#0A66A9;
  z-index:4;
}

.a1-notice-bell-icon{
  font-size:20px;
  line-height:1;
  filter:drop-shadow(0 2px 4px rgba(10,102,169,.12));
}

.a1-notice-bell.has-unread{
  border-color:rgba(227,144,30,.35);
  background:#fff7e8;
  animation:a1BellPulse 1.8s ease-in-out infinite;
}

.a1-notice-bell.is-enabled{
  outline:2px solid rgba(8,116,67,.08);
}

.a1-notice-bell-count{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:#E3901E;
  color:#fff;
  border:2px solid #fff;
  font-size:10px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 5px 10px rgba(227,144,30,.25);
}

.a1-notice-pop{
  bottom:88px!important;
  width:min(94vw,460px)!important;
  grid-template-columns:54px 1fr!important;
  gap:12px!important;
  padding:14px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,251,255,.98))!important;
  border:1px solid rgba(10,102,169,.22)!important;
  box-shadow:0 22px 65px rgba(15,23,42,.32)!important;
}

.a1-notice-pop::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  border-radius:24px 0 0 24px;
  background:linear-gradient(180deg,#0A66A9,#E3901E);
}

.a1-notice-pop-icon{
  width:54px!important;
  height:54px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#eaf5ff,#fff7e8)!important;
  font-size:27px!important;
  box-shadow:inset 0 0 0 1px rgba(10,102,169,.12);
}

.a1-notice-pop-type{
  display:inline-flex;
  margin-bottom:4px;
  min-height:20px;
  align-items:center;
  padding:0 7px;
  border-radius:999px;
  background:#eaf5ff;
  color:#0A66A9;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.a1-notice-pop-body strong{
  font-size:15px!important;
}

.a1-notice-pop-body p{
  font-size:12.5px!important;
}

.a1-notice-pop-actions{
  flex-wrap:wrap;
}

.a1-notice-pop-actions a,
.a1-notice-pop-actions button{
  min-height:34px!important;
  border-radius:12px!important;
}

.a1-notice-center{
  position:fixed;
  inset:0;
  z-index:100020;
  display:grid;
  place-items:end center;
  padding:14px;
  animation:a1NoticeCenterIn .18s ease-out both;
}

.a1-notice-center.is-hiding{
  animation:a1NoticeCenterOut .18s ease-in both;
}

.a1-notice-center-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.50);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.a1-notice-center-panel{
  position:relative;
  width:min(560px,100%);
  max-height:min(84dvh,720px);
  overflow:auto;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(10,102,169,.16);
  box-shadow:0 24px 72px rgba(15,23,42,.32);
  padding:14px;
}

.a1-notice-center-close{
  position:absolute;
  right:12px;
  top:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  color:#344054;
  font-size:22px;
  cursor:pointer;
  z-index:2;
}

.a1-notice-center-head{
  padding:4px 42px 12px 2px;
  border-bottom:1px solid #e5eef7;
  margin-bottom:12px;
}

.a1-notice-center-head span{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:#eaf5ff;
  margin-right:10px;
  font-size:23px;
  vertical-align:middle;
}

.a1-notice-center-head strong{
  color:#142033;
  font-size:21px;
  font-weight:850;
  vertical-align:middle;
}

.a1-notice-center-head p{
  margin:7px 0 0;
  color:#667085;
  font-size:12px;
}

.a1-notice-center-status{
  border:1px solid #d9e5ef;
  background:#f8fbff;
  border-radius:18px;
  padding:12px;
  margin-bottom:12px;
}

.a1-notice-center-status strong{
  display:block;
  color:#142033;
  font-size:14px;
  margin-bottom:5px;
}

.a1-notice-center-status p{
  margin:0;
  color:#667085;
  font-size:12px;
  line-height:1.35;
}

.a1-notice-center-status div{
  display:flex;
  gap:8px;
  margin-top:10px;
}

.a1-notice-center-status button,
.a1-notice-center-foot button{
  min-height:34px;
  border:0;
  border-radius:12px;
  padding:0 10px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.a1-notice-center-status button:first-child{
  background:#0A66A9;
  color:#fff;
}

.a1-notice-center-list{
  display:grid;
  gap:9px;
}

.a1-notice-card{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:10px;
  padding:11px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid #d9e5ef;
}

.a1-notice-card.is-new{
  background:linear-gradient(180deg,#ffffff,#fff9ee);
  border-color:rgba(227,144,30,.35);
}

.a1-notice-card-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#eaf5ff;
  font-size:22px;
}

.a1-notice-card-top{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  margin-bottom:4px;
}

.a1-notice-card-top span,
.a1-notice-card-top em{
  display:inline-flex;
  min-height:20px;
  align-items:center;
  padding:0 7px;
  border-radius:999px;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-style:normal;
}

.a1-notice-card-top span{
  background:#eaf5ff;
  color:#0A66A9;
}

.a1-notice-card-top em{
  background:#fff0d5;
  color:#9a5b00;
}

.a1-notice-card-top em.read{
  background:#f1f5f9;
  color:#667085;
}

.a1-notice-card strong{
  display:block;
  color:#142033;
  font-size:14px;
  line-height:1.15;
  font-weight:850;
}

.a1-notice-card p{
  margin:5px 0 0;
  color:#475467;
  font-size:12px;
  line-height:1.35;
}

.a1-notice-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:9px;
}

.a1-notice-card-actions a,
.a1-notice-card-actions button{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:11px;
  padding:0 10px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}

.a1-notice-card-actions a{
  background:#0A66A9;
  color:#fff;
}

.a1-notice-empty{
  padding:18px;
  border-radius:18px;
  background:#f8fbff;
  border:1px dashed #d9e5ef;
  color:#667085;
  text-align:center;
  font-size:13px;
}

.a1-notice-center-foot{
  margin-top:12px;
  display:flex;
  justify-content:flex-end;
}

.account-help-actions .notice-center-button{
  background:#eaf5ff;
  color:#0A66A9;
}

@keyframes a1BellPulse{
  0%,100%{transform:translateY(-50%) scale(1)}
  50%{transform:translateY(-50%) scale(1.055)}
}

@keyframes a1NoticeCenterIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes a1NoticeCenterOut{
  from{opacity:1;transform:translateY(0)}
  to{opacity:0;transform:translateY(10px)}
}

@media(max-width:390px){
  .a1-notice-bell{
    width:38px;
    height:38px;
    border-radius:14px;
    right:6px;
  }
  .app-header-pro{
    padding-right:48px!important;
  }
  .a1-notice-center{
    padding:8px;
  }
  .a1-notice-center-panel{
    border-radius:24px;
    max-height:86dvh;
  }
}


/* =========================================================
   A1CLIC v65 - campana más fina + push base
   ========================================================= */
.a1-notice-bell{
  width:34px!important;
  height:34px!important;
  border-radius:13px!important;
  right:8px!important;
}

.a1-notice-bell-icon{
  font-size:16px!important;
}

.a1-notice-bell-count{
  min-width:17px!important;
  height:17px!important;
  font-size:9px!important;
  top:-5px!important;
  right:-5px!important;
  border-width:2px!important;
}

.app-header-pro{
  padding-right:44px!important;
}

.a1-notice-pop-body strong{
  font-size:13px!important;
  line-height:1.15!important;
}

.a1-notice-card strong{
  font-size:13px!important;
  line-height:1.16!important;
}

.a1-notice-center-head strong{
  font-size:18px!important;
}

.a1-notice-center-head span{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  font-size:19px!important;
}

.account-push-box{
  margin-top:12px;
  padding:12px;
  border:1px solid #d9e5ef;
  border-radius:16px;
  background:#f8fbff;
}

.account-push-box h4{
  margin:0 0 7px;
  font-size:14px;
  color:#142033;
  font-weight:800;
}

.account-push-box p{
  margin:0 0 8px;
  font-size:12px;
  color:#475467;
  line-height:1.38;
}

.account-push-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.account-push-actions button{
  min-height:36px;
  border:0;
  border-radius:12px;
  padding:0 11px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.account-push-actions button.primary{
  background:#0A66A9;
  color:#fff;
}


/* =========================================================
   A1CLIC v70B - instalar app / ayuda
   ========================================================= */
.account-install-box{
  margin-top:12px;
  padding:12px;
  border:1px solid #d9e5ef;
  border-radius:16px;
  background:#f8fbff;
}

.account-install-box h4{
  margin:0 0 7px;
  font-size:14px;
  color:#142033;
  font-weight:800;
}

.account-install-box p{
  margin:0 0 8px;
  font-size:12px;
  color:#475467;
  line-height:1.38;
}

.account-install-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.account-install-actions button{
  min-height:36px;
  border:0;
  border-radius:12px;
  padding:0 11px;
  background:#eaf5ff;
  color:#0A66A9;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.account-install-actions button.primary{
  background:#0A66A9;
  color:#fff;
}

.account-install-actions button:disabled{
  opacity:.58;
  cursor:not-allowed;
}

.a1-install-help-modal{
  position:fixed;
  inset:0;
  z-index:100050;
  display:grid;
  place-items:center;
  padding:16px;
  animation:a1InstallHelpIn .18s ease-out both;
}

.a1-install-help-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.a1-install-help-card{
  position:relative;
  width:min(520px,100%);
  max-height:min(86dvh,720px);
  overflow:auto;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(10,102,169,.16);
  box-shadow:0 24px 72px rgba(15,23,42,.32);
  padding:16px;
}

.a1-install-help-close{
  position:absolute;
  right:12px;
  top:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  color:#344054;
  font-size:22px;
  cursor:pointer;
}

.a1-install-help-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:2px 40px 13px 0;
  border-bottom:1px solid #e5eef7;
  margin-bottom:12px;
}

.a1-install-help-head img{
  width:54px;
  height:54px;
  object-fit:contain;
}

.a1-install-help-head strong{
  display:block;
  color:#142033;
  font-size:20px;
  line-height:1.05;
  font-weight:850;
}

.a1-install-help-head span{
  display:block;
  margin-top:5px;
  color:#667085;
  font-size:12px;
}

.a1-install-help-body{
  color:#475467;
  font-size:14px;
  line-height:1.5;
}

.a1-install-help-body ol{
  margin:0;
  padding-left:21px;
}

.a1-install-help-body li{
  margin-bottom:8px;
}

.a1-install-help-note{
  margin:12px 0 0;
  padding:10px;
  border-radius:14px;
  background:#fff7e8;
  color:#704214;
  border:1px solid #ffdba3;
  font-size:12px;
  line-height:1.35;
}

.a1-install-help-ok{
  margin:0 0 12px;
  padding:10px;
  border-radius:14px;
  background:#ecfdf3;
  color:#087443;
  border:1px solid #b7ebc7;
  font-size:12px;
  font-weight:750;
}

@keyframes a1InstallHelpIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}


/* =========================================================
   A1CLIC v70C - splash con colores exactos del icono A1CLIC
   ========================================================= */

/*
   Paleta tomada del icono:
   - Naranja superior: #F39200 / #FF9E00
   - Azul principal: #0055C8
   - Azul profundo: #001A68
   - Blanco brillo: rgba(255,255,255,.92)
*/

.app-splash,
.app-splash-pro,
#a1-splash,
.a1-splash,
.splash-screen{
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 166, 0, .98) 0%, rgba(243, 146, 0, .95) 24%, rgba(0, 85, 200, .88) 52%, rgba(0, 26, 104, .98) 100%) !important;
}

.app-splash::before,
.app-splash-pro::before,
#a1-splash::before,
.a1-splash::before,
.splash-screen::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 62% 20%, rgba(255,255,255,.36) 0%, rgba(255,255,255,.10) 18%, transparent 34%),
    linear-gradient(135deg, rgba(255,158,0,.55) 0%, rgba(255,158,0,.22) 28%, transparent 48%),
    linear-gradient(180deg, transparent 0%, rgba(0,26,104,.56) 76%, rgba(0,15,78,.86) 100%) !important;
}

.app-splash::after,
.app-splash-pro::after,
#a1-splash::after,
.a1-splash::after,
.splash-screen::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:min(78vw,390px);
  height:min(78vw,390px);
  transform:translate(-50%,-50%);
  border-radius:34%;
  pointer-events:none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.04) 34%, rgba(0,0,0,.10) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.24),
    inset 0 -18px 38px rgba(0, 26, 104, .42),
    0 24px 58px rgba(0, 14, 68, .34);
  opacity:.58;
}

.app-splash-card,
.app-splash-pro .app-splash-card,
.splash-card{
  position:relative;
  z-index:2;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 22px 58px rgba(0, 15, 78, .34) !important;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}

.app-splash .splash-logo,
.app-splash-pro .splash-logo,
.splash-logo{
  position:relative;
  z-index:3;
  filter:
    drop-shadow(0 16px 24px rgba(0, 15, 78, .44))
    drop-shadow(0 0 14px rgba(255,255,255,.22)) !important;
}

.app-splash-title,
.app-splash-pro .app-splash-title,
.splash-title{
  color:#ffffff !important;
  text-shadow:0 3px 12px rgba(0, 15, 78, .48) !important;
}

.app-splash-subtitle,
.app-splash-pro .app-splash-subtitle,
.splash-subtitle{
  color:rgba(255,255,255,.88) !important;
  text-shadow:0 2px 10px rgba(0, 15, 78, .40) !important;
}

/* Barra de carga del splash inicial */
.app-splash-progress,
.app-splash-pro .app-splash-progress,
.splash-progress,
.splash-loader{
  position:relative;
  z-index:3;
  background:rgba(255,255,255,.18) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  box-shadow:inset 0 1px 4px rgba(0, 15, 78, .20) !important;
}

.app-splash-progress span,
.app-splash-pro .app-splash-progress span,
.splash-progress span,
.splash-loader span,
.splash-loader-bar{
  background:linear-gradient(90deg, #FF9E00 0%, #FFFFFF 44%, #0055C8 100%) !important;
  box-shadow:0 0 18px rgba(255,255,255,.45) !important;
}


/* =========================================================
   A1CLIC v84 · Cuenta, estados activos y staff seguro
   ========================================================= */

.account-page,
.account-help-card,
.account-help-card p,
.account-help-card li,
.account-help-card button,
.account-help-card a{
  font-size:14px;
}

.account-help-card h3{
  font-size:17px;
}

.account-status-pill.is-on{
  background:#ecfdf3!important;
  color:#087443!important;
  border:1px solid #b7ebc7!important;
}

.account-help-actions button.is-active,
.account-push-actions button.is-active,
.account-install-actions button.is-active{
  background:#087443!important;
  color:#fff!important;
  box-shadow:0 0 0 3px rgba(8,116,67,.12)!important;
}

.account-help-actions button:disabled.is-active,
.account-push-actions button:disabled.is-active{
  opacity:1!important;
  cursor:default!important;
}

.account-help-actions button:disabled:not(.is-active),
.account-push-actions button:disabled:not(.is-active){
  opacity:.55!important;
}

.staff-secure-card{
  border-color:rgba(10,102,169,.20)!important;
}

.staff-access-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:10px 0;
}

.staff-access-btn{
  min-height:38px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:750;
  background:#0A66A9;
  color:#fff;
  padding:0 10px;
}

.staff-access-btn.muted{
  background:#eaf5ff;
  color:#0A66A9;
}

.staff-security-note{
  font-size:12px!important;
  color:#667085!important;
  line-height:1.35!important;
}

.staff-warning,
.staff-error{
  padding:10px;
  border-radius:14px;
  font-size:13px!important;
  line-height:1.35!important;
  margin-top:8px;
}

.staff-warning{
  background:#fff7e8;
  color:#704214!important;
  border:1px solid #ffdba3;
}

.staff-error{
  background:#fff1f1;
  color:#b42318!important;
  border:1px solid #ffd0d0;
}

.staff-gate-form{
  display:grid;
  gap:10px;
}

.staff-gate-form label{
  display:grid;
  gap:5px;
  font-size:13px;
  font-weight:750;
  color:#344054;
}

.staff-gate-form input{
  min-height:40px;
  border:1px solid #d9e5ef;
  border-radius:12px;
  padding:0 11px;
  font:inherit;
}

@media(max-width:520px){
  .staff-access-grid{
    grid-template-columns:1fr;
  }
}


/* A1CLIC v86 · Staff simple y estados visibles */
.account-status-pill.is-on{
  background:#ecfdf3!important;
  color:#087443!important;
  border:1px solid #b7ebc7!important;
}

.account-help-actions button.is-active,
.account-push-actions button.is-active{
  background:#087443!important;
  color:#fff!important;
  box-shadow:0 0 0 3px rgba(8,116,67,.12)!important;
  opacity:1!important;
}

.staff-access-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}

.staff-access-btn{
  min-height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:750;
  background:#0A66A9;
  color:white;
  padding:0 10px;
}

.staff-access-btn.muted{
  background:#eaf5ff;
  color:#0A66A9;
}

.staff-warning,
.staff-error{
  padding:9px 10px;
  border-radius:13px;
  font-size:13px!important;
  line-height:1.3!important;
  margin-top:8px;
}

.staff-warning{
  background:#fff7e8;
  color:#704214!important;
  border:1px solid #ffdba3;
}

.staff-error{
  background:#fff1f1;
  color:#b42318!important;
  border:1px solid #ffd0d0;
}

.staff-gate-form{
  display:grid;
  gap:10px;
}

.staff-gate-form label{
  display:grid;
  gap:5px;
  font-size:13px;
  font-weight:750;
  color:#344054;
}

.staff-gate-form input{
  min-height:40px;
  border:1px solid #d9e5ef;
  border-radius:12px;
  padding:0 11px;
  font:inherit;
}

@media(max-width:520px){
  .staff-access-grid{grid-template-columns:1fr;}
}


/* A1CLIC v88 · Staff sesión diaria */
.staff-access-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:8px;
}
.staff-access-btn{
  min-height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:750;
  background:#0A66A9;
  color:#fff;
  padding:0 12px;
}
.staff-access-btn.muted{
  background:#eaf5ff;
  color:#0A66A9;
}
.staff-warning,.staff-error,.staff-ok{
  padding:9px 10px;
  border-radius:13px;
  font-size:13px!important;
  line-height:1.3!important;
  margin:8px 0;
}
.staff-warning{background:#fff7e8;color:#704214!important;border:1px solid #ffdba3}
.staff-error{background:#fff1f1;color:#b42318!important;border:1px solid #ffd0d0}
.staff-ok{background:#ecfdf3;color:#087443!important;border:1px solid #b7ebc7}
.staff-gate-form{display:grid;gap:10px}
.staff-gate-form label{display:grid;gap:5px;font-size:13px;font-weight:750;color:#344054}
.staff-gate-form input{min-height:40px;border:1px solid #d9e5ef;border-radius:12px;padding:0 11px;font:inherit}
.staff-mini-note{font-size:12px!important;color:#667085!important;line-height:1.35!important}
.staff-topbar{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  align-items:center;
  padding:8px;
  background:#f8fbff;
  border:1px solid #dbe8f3;
  border-radius:14px;
  margin-bottom:10px;
}
.staff-topbar a{
  min-height:32px;
  padding:0 10px;
  border-radius:10px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  background:#eaf5ff;
  color:#0A66A9;
  font-weight:700;
  font-size:12px;
}
.staff-topbar a.danger{
  background:#fff1f1;
  color:#b42318;
  border:1px solid #ffd0d0;
}

/* A1CLIC_COMP_MOBILE_FIX_START */
/* Competición: evitar solapes en móviles pequeños */
.compact-meta{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:start !important;
}

.compact-meta > div{
  min-width:0 !important;
}

.compact-meta dd{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:break-word !important;
  line-height:1.22 !important;
}

.competition-card-compact{
  grid-template-columns:165px minmax(0,1fr) !important;
}

.competition-card-compact .competition-body{
  min-width:0 !important;
}

@media (max-width:560px){
  .competition-card-compact{
    grid-template-columns:118px minmax(0,1fr) !important;
  }

  .competition-card-compact .competition-image{
    width:118px !important;
    min-width:118px !important;
    max-width:118px !important;
    min-height:160px !important;
    height:100% !important;
  }

  .compact-meta{
    grid-template-columns:1fr !important;
    gap:5px !important;
  }

  .competition-card-compact h3{
    font-size:14px !important;
    line-height:1.15 !important;
  }

  .compact-actions{
    gap:5px !important;
  }

  .btn-small{
    min-height:28px !important;
    padding:6px 9px !important;
    font-size:11px !important;
  }
}

@media (max-width:380px){
  .competition-card-compact{
    grid-template-columns:104px minmax(0,1fr) !important;
  }

  .competition-card-compact .competition-image{
    width:104px !important;
    min-width:104px !important;
    max-width:104px !important;
    min-height:150px !important;
  }

  .compact-meta dt{
    font-size:9px !important;
  }

  .compact-meta dd{
    font-size:11px !important;
  }
}
/* A1CLIC_COMP_MOBILE_FIX_END */


/* A1CLIC_NAV_BOLD_OVERRIDE_START */
.bottom-nav{
  height:64px !important;
  border-top:1px solid #96c9ee !important;
  box-shadow:0 -8px 20px rgba(10,102,169,.18) !important;
}

.bottom-nav-item{
  gap:3px !important;
  padding:4px 2px 5px !important;
  color:#214b69 !important;
  font-size:10.5px !important;
  font-weight:800 !important;
}

.bottom-nav-item.is-active{
  color:#0A66A9 !important;
  background:#cfe9ff !important;
}

.nav-icon{
  font-size:19px !important;
  line-height:1 !important;
  font-weight:900 !important;
  transform:scale(1.08) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(10,102,169,.18) !important;
}

.nav-label{
  font-size:10.6px !important;
  line-height:1.04 !important;
  font-weight:850 !important;
  letter-spacing:-.01em !important;
  color:inherit !important;
}

@media (max-width:390px){
  .bottom-nav{
    height:62px !important;
  }

  .bottom-nav-item{
    font-size:10px !important;
  }

  .nav-icon{
    font-size:18px !important;
  }

  .nav-label{
    font-size:10px !important;
    font-weight:850 !important;
  }
}
/* A1CLIC_NAV_BOLD_OVERRIDE_END */

/* =========================================================
   A1CLIC v103 - franja redes FEDEACYL + compartir profesional
   ========================================================= */
.app-wrap{
  padding-bottom:calc(122px + env(safe-area-inset-bottom)) !important;
}

.app-main{
  padding-bottom:26px !important;
}

.footer-social-strip{
  position:fixed;
  left:50%;
  bottom:calc(56px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:25;
  width:min(480px,100%);
  min-height:48px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:7px 10px;
  background:rgba(255,255,255,.96);
  border-top:1px solid rgba(10,102,169,.16);
  box-shadow:0 -10px 24px rgba(10,102,169,.13);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.footer-social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:34px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  border:1px solid rgba(10,102,169,.16);
  color:#16324f;
  font-size:10.8px;
  line-height:1;
  font-weight:850;
  letter-spacing:-.01em;
  text-decoration:none !important;
  box-shadow:0 5px 13px rgba(15,23,42,.07);
  overflow:hidden;
}

.footer-social-link:active{
  transform:translateY(1px);
}

.footer-social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border-radius:999px;
  color:#fff;
  box-shadow:0 4px 10px rgba(15,23,42,.16);
}

.footer-social-icon svg{
  width:14px;
  height:14px;
  display:block;
}

.social-x .footer-social-icon{
  background:#111827;
}

.social-instagram .footer-social-icon{
  background:
    radial-gradient(circle at 30% 105%,#fdf497 0 17%,#fd5949 43%,#d6249f 66%,#285AEB 100%);
}

.social-youtube .footer-social-icon{
  background:#ff0033;
}

.social-youtube .footer-social-icon svg{
  width:17px;
  height:17px;
}

.footer-social-label{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.media-card-share{
  position:relative;
  min-width:0;
}

.media-card-share .media-row{
  padding-right:102px !important;
}

.media-card-share-featured .media-row,
.media-list-home .media-card-share-featured .media-row-featured{
  padding-right:0 !important;
  padding-bottom:42px !important;
}

.a1-share-btn{
  position:absolute;
  right:9px;
  bottom:8px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:30px;
  min-width:92px;
  max-width:104px;
  padding:0 10px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#0A66A9 0%,#003E7E 100%);
  color:#ffffff;
  box-shadow:0 8px 18px rgba(10,102,169,.22);
  font:inherit;
  font-size:10.8px;
  line-height:1;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
}

.a1-share-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 16px;
  width:16px;
  height:16px;
}

.a1-share-btn-icon svg{
  display:block;
  width:16px;
  height:16px;
}

.media-card-share-featured .a1-share-btn{
  right:11px;
  bottom:10px;
}

.a1-share-btn:active{
  transform:translateY(1px);
  box-shadow:0 5px 12px rgba(10,102,169,.18);
}

.a1-share-toast{
  position:fixed;
  left:50%;
  bottom:calc(116px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:100001;
  width:max-content;
  max-width:calc(100% - 32px);
  padding:10px 13px;
  border-radius:999px;
  background:rgba(20,32,51,.96);
  color:#ffffff;
  font-size:12px;
  line-height:1.2;
  font-weight:750;
  box-shadow:0 14px 34px rgba(15,23,42,.25);
  animation:a1ShareToastIn .16s ease-out both;
}

@keyframes a1ShareToastIn{
  from{ opacity:0; transform:translate(-50%, 8px); }
  to{ opacity:1; transform:translate(-50%, 0); }
}

.a1-install-card{
  bottom:calc(118px + env(safe-area-inset-bottom)) !important;
}

@media(max-width:370px){
  .footer-social-strip{
    gap:6px;
    padding-left:7px;
    padding-right:7px;
  }
  .footer-social-link{
    gap:4px;
    font-size:9.6px;
  }
  .footer-social-icon{
    flex-basis:20px;
    width:20px;
    height:20px;
  }
  .media-card-share .media-row{
    padding-right:92px !important;
  }
  .a1-share-btn{
    min-width:84px;
    max-width:92px;
    padding:0 8px;
    font-size:10px;
  }
  .a1-share-btn-icon,
  .a1-share-btn-icon svg{
    width:15px;
    height:15px;
  }
}


/* =========================================================
   A1CLIC v104 - redes pegadas al menú + logos estilo oficial
   ========================================================= */
:root{
  --a1-bottom-nav-height:64px;
  --a1-social-strip-height:46px;
}

.app-wrap{
  padding-bottom:calc(var(--a1-bottom-nav-height) + var(--a1-social-strip-height) + env(safe-area-inset-bottom) + 10px) !important;
}

.app-main{
  padding-bottom:20px !important;
}

.bottom-nav{
  height:calc(var(--a1-bottom-nav-height) + env(safe-area-inset-bottom)) !important;
  padding-bottom:env(safe-area-inset-bottom) !important;
  border-top:0 !important;
  box-shadow:0 -4px 14px rgba(10,102,169,.13) !important;
}

.footer-social-strip{
  bottom:calc(var(--a1-bottom-nav-height) + env(safe-area-inset-bottom)) !important;
  min-height:var(--a1-social-strip-height) !important;
  margin:0 !important;
  padding:5px 9px !important;
  gap:7px !important;
  background:#f7fbff !important;
  border-top:1px solid rgba(10,102,169,.14) !important;
  border-bottom:1px solid #b8daf4 !important;
  box-shadow:0 -4px 14px rgba(10,102,169,.10) !important;
  border-radius:0 !important;
}

.footer-social-link{
  min-height:34px !important;
  border-radius:13px !important;
  background:#ffffff !important;
  border:1px solid rgba(10,102,169,.13) !important;
  box-shadow:0 4px 11px rgba(15,23,42,.055) !important;
  font-size:10.8px !important;
  font-weight:850 !important;
  color:#17324d !important;
}

.footer-social-icon{
  flex:0 0 25px !important;
  width:25px !important;
  height:25px !important;
  border-radius:8px !important;
  box-shadow:none !important;
}

.footer-social-icon svg{
  width:18px !important;
  height:18px !important;
}

.social-x .footer-social-icon{
  background:#000000 !important;
  color:#ffffff !important;
}

.social-x .footer-social-icon svg{
  width:16px !important;
  height:16px !important;
}

.social-instagram .footer-social-icon{
  background:radial-gradient(circle at 28% 105%,#fdf497 0 16%,#fd5949 42%,#d6249f 66%,#285AEB 100%) !important;
  color:#ffffff !important;
}

.social-instagram .footer-social-icon svg{
  width:18px !important;
  height:18px !important;
}

.social-youtube .footer-social-icon{
  background:transparent !important;
  color:#ff0000 !important;
  border-radius:0 !important;
}

.social-youtube .footer-social-icon svg{
  width:27px !important;
  height:20px !important;
}

.a1-share-toast{
  bottom:calc(var(--a1-bottom-nav-height) + var(--a1-social-strip-height) + env(safe-area-inset-bottom) + 12px) !important;
}

.a1-install-card{
  bottom:calc(var(--a1-bottom-nav-height) + var(--a1-social-strip-height) + env(safe-area-inset-bottom) + 12px) !important;
}

@media(max-width:390px){
  :root{
    --a1-bottom-nav-height:62px;
    --a1-social-strip-height:44px;
  }

  .footer-social-strip{
    padding-left:7px !important;
    padding-right:7px !important;
    gap:6px !important;
  }

  .footer-social-link{
    gap:5px !important;
    font-size:9.7px !important;
  }

  .footer-social-icon{
    flex-basis:23px !important;
    width:23px !important;
    height:23px !important;
  }

  .social-youtube .footer-social-icon svg{
    width:25px !important;
    height:19px !important;
  }
}

/* =========================================================
   A1CLIC v105 - botón compartir compacto tipo app
   ========================================================= */
.media-card-share .media-row{
  padding-right:48px !important;
}

.media-card-share-featured .media-row,
.media-list-home .media-card-share-featured .media-row-featured{
  padding-right:0 !important;
  padding-bottom:30px !important;
}

.a1-share-btn{
  right:8px !important;
  bottom:8px !important;
  min-width:34px !important;
  max-width:34px !important;
  width:34px !important;
  min-height:34px !important;
  height:34px !important;
  padding:0 !important;
  gap:0 !important;
  border-radius:999px !important;
  box-shadow:0 5px 12px rgba(10,102,169,.20) !important;
}

.a1-share-btn-text{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.a1-share-btn-icon{
  flex:0 0 17px !important;
  width:17px !important;
  height:17px !important;
}

.a1-share-btn-icon svg{
  width:17px !important;
  height:17px !important;
}

.media-card-share-featured .a1-share-btn{
  right:9px !important;
  bottom:8px !important;
}

@media(max-width:390px){
  .media-card-share .media-row{
    padding-right:44px !important;
  }
  .a1-share-btn{
    min-width:31px !important;
    max-width:31px !important;
    width:31px !important;
    min-height:31px !important;
    height:31px !important;
  }
  .a1-share-btn-icon,
  .a1-share-btn-icon svg{
    width:16px !important;
    height:16px !important;
  }
}


/* =========================================================
   A1CLIC v106 - compartir también en Competición
   ========================================================= */
.compact-actions{
  align-items:center !important;
}

.a1-share-btn-inline{
  position:static !important;
  right:auto !important;
  bottom:auto !important;
  flex:0 0 31px !important;
  min-width:31px !important;
  max-width:31px !important;
  width:31px !important;
  min-height:31px !important;
  height:31px !important;
  margin:0 !important;
  padding:0 !important;
  align-self:center !important;
  vertical-align:middle !important;
}

.competition-card-compact .a1-share-btn-inline{
  box-shadow:0 4px 10px rgba(10,102,169,.18) !important;
}

@media(max-width:390px){
  .a1-share-btn-inline{
    flex-basis:29px !important;
    min-width:29px !important;
    max-width:29px !important;
    width:29px !important;
    min-height:29px !important;
    height:29px !important;
  }
}


/* =========================================================
   A1CLIC v108 - vista interna de noticia abierta desde push
   ========================================================= */
.news-detail-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 0 10px;
}
.news-back-link{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#eaf5ff;
  color:#0A66A9;
  text-decoration:none;
  font-size:12px;
  font-weight:850;
  border:1px solid #d7e9f9;
}
.news-detail-share{
  flex:0 0 auto;
}
.news-detail-card{
  background:#fff;
  border:1px solid #dbe8f3;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  margin-bottom:12px;
}
.news-detail-hero{
  display:block;
  width:100%;
  max-height:260px;
  object-fit:cover;
  background:#eef5fb;
}
.news-detail-head{
  padding:13px 13px 7px;
}
.news-detail-head h2{
  margin:5px 0 0;
  font-size:20px;
  line-height:1.14;
  letter-spacing:-.02em;
  color:#142033;
}
.news-detail-content{
  padding:4px 13px 14px;
  color:#26364d;
  font-size:14px;
  line-height:1.52;
}
.news-detail-content p{
  margin:0 0 12px;
}
.news-detail-content a{
  color:#0A66A9;
  font-weight:800;
  word-break:break-word;
}
.news-detail-content img,
.news-detail-content figure img{
  max-width:100%;
  height:auto;
  border-radius:14px;
}
.news-detail-content figure{
  margin:12px 0;
}
.news-detail-content figcaption{
  margin-top:6px;
  color:#667085;
  font-size:12px;
  line-height:1.35;
}
.news-detail-content iframe,
.news-detail-content video{
  max-width:100%;
  border:0;
  border-radius:14px;
}
.news-detail-content ul,
.news-detail-content ol{
  padding-left:20px;
  margin:0 0 12px;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4{
  line-height:1.18;
  margin:15px 0 8px;
  color:#142033;
}
.news-detail-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:0 13px 14px;
}
.news-detail-actions .btn{
  flex:1 1 130px;
  text-decoration:none;
}
.news-detail-actions .btn-light{
  background:#f5f9ff;
  color:#0A66A9;
  border-color:#d7e9f9;
}

@media (max-width:420px){
  .news-detail-head h2{font-size:18px}
  .news-detail-content{font-size:13.5px}
  .news-detail-hero{max-height:220px}
}


/* =========================================================
   A1CLIC v111 · Cuenta: ayuda clara para notificaciones push
   ========================================================= */
.account-push-card{
  position:relative;
  overflow:hidden;
  border-color:rgba(10,102,169,.18)!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)!important;
}

.account-card-title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:6px;
}

.account-card-title-row h3{
  margin-bottom:5px!important;
}

.account-card-icon{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#eaf5ff;
  border:1px solid rgba(10,102,169,.12);
  box-shadow:0 8px 20px rgba(10,102,169,.08);
  font-size:20px;
}

.account-push-state-grid{
  display:grid;
  gap:7px;
  margin:10px 0 12px;
}

.account-push-state-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(10,102,169,.10);
}

.account-push-state-row span{
  color:#667085;
  font-size:12px;
  line-height:1.25;
  font-weight:700;
}

.account-push-state-row strong{
  text-align:right;
  color:#344054;
  font-size:12px;
  line-height:1.25;
  font-weight:850;
}

.account-push-state-row strong.is-good{
  color:#087443;
}

.account-push-state-row strong.is-warn{
  color:#b54708;
}

.account-push-state-row strong.is-bad{
  color:#b42318;
}

.account-status-pill.is-warning{
  background:#fff7e8!important;
  color:#b54708!important;
  border:1px solid #fedf89!important;
}

.account-status-pill.is-error{
  background:#fff1f1!important;
  color:#b42318!important;
  border:1px solid #ffd0d0!important;
}

.account-push-actions{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:8px;
  margin-top:10px;
}

.account-push-actions button{
  min-height:40px;
  border:0;
  border-radius:14px;
  padding:0 12px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  background:#eaf5ff;
  color:#0A66A9;
}

.account-push-actions button.primary{
  background:#0A66A9;
  color:#fff;
  box-shadow:0 8px 18px rgba(10,102,169,.16);
}

.account-push-actions button.is-active{
  background:#087443!important;
  color:#fff!important;
  box-shadow:0 0 0 3px rgba(8,116,67,.12)!important;
}

.account-push-help{
  display:grid;
  gap:8px;
  margin-top:12px;
}

.account-push-help-alert{
  border-radius:15px;
  padding:10px 11px;
  background:#fff7e8;
  border:1px solid #fedf89;
  color:#704214;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
}

.account-push-help-alert.is-good{
  background:#ecfdf3;
  border-color:#b7ebc7;
  color:#087443;
}

.account-push-help-alert.is-bad{
  background:#fff1f1;
  border-color:#ffd0d0;
  color:#b42318;
}

.account-device-help{
  border:1px solid rgba(10,102,169,.12);
  border-radius:15px;
  background:#fff;
  overflow:hidden;
}

.account-device-help summary{
  cursor:pointer;
  list-style:none;
  padding:10px 12px;
  font-size:13px;
  line-height:1.2;
  font-weight:850;
  color:#142033;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.account-device-help summary::-webkit-details-marker{
  display:none;
}

.account-device-help summary::after{
  content:'+';
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eaf5ff;
  color:#0A66A9;
  font-weight:900;
}

.account-device-help[open] summary::after{
  content:'–';
}

.account-device-help ol{
  margin:0 12px 8px 28px!important;
  padding:0!important;
  color:#475467;
  font-size:12px!important;
  line-height:1.42!important;
}

.account-device-help li{
  margin:0 0 5px!important;
}

.account-device-help p{
  margin:0!important;
  padding:0 12px 11px;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.35!important;
}

@media(max-width:390px){
  .account-push-actions{
    grid-template-columns:1fr;
  }

  .account-push-state-row{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }

  .account-push-state-row strong{
    text-align:left;
  }
}


/* =========================================================
   A1CLIC v128 · Textos LOPD en Cuenta
   ========================================================= */
.account-inapp-card{
  border-color:rgba(255,184,28,.36)!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf0 100%)!important;
}

.account-lopd-note{
  display:block;
  margin:2px 0 10px!important;
  padding:10px 12px;
  border-radius:15px;
  font-size:12.5px!important;
  line-height:1.42!important;
  font-weight:750;
}

.account-lopd-note-inapp{
  background:#fff8e7;
  border:1px solid #fde1a5;
  color:#67410a!important;
}

.account-lopd-note-push{
  background:#eef7ff;
  border:1px solid #cfe8ff;
  color:#24435f!important;
}

.account-push-card .account-lopd-note-push{
  margin-bottom:0!important;
}

.account-privacy-legal-note{
  margin-top:8px!important;
  padding:10px 12px;
  border-radius:15px;
  background:#f7fbff;
  border:1px solid #dcecff;
  color:#344054!important;
  font-weight:750;
}

/* =========================================================
   A1CLIC v116 · LOPD / Cookies
   ========================================================= */
.pdcc-open-modal,
.a1-privacy-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 14px;
    background: #eef7ff;
    color: #0A66A9;
    border: 1px solid rgba(10,102,169,.16);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.15;
    box-shadow: 0 8px 18px rgba(10,102,169,.08);
}

.a1-privacy-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 13px;
}

.a1-privacy-actions a:first-child {
    background: linear-gradient(135deg, #FFB81C 0%, #F39200 100%);
    color: #2d250b;
    border-color: rgba(243,146,0,.35);
}

@media (min-width: 520px) {
    .a1-privacy-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mantiene el panel LOPD por encima del splash, bienvenida e instalación. */
body [id*="pdcc"],
body [class*="pdcc"] {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body [id*="pdcc"][role="dialog"],
body [class*="pdcc"][role="dialog"],
body [id*="pdcc"][aria-modal="true"],
body [class*="pdcc"][aria-modal="true"],
body .pdcc-modal,
body #pdcc-modal {
    z-index: 2147483600 !important;
}

body .pdcc-open-modal {
    cursor: pointer;
}

/* =========================================================
   A1CLIC v119 · Cuadro inicial LOPD / Cookies
   ========================================================= */
.a1clic-cookie-gate[hidden]{display:none!important;}
.a1clic-cookie-gate{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.a1clic-cookie-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,22,45,.56);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
.a1clic-cookie-card{
    position:relative;
    width:min(94vw,430px);
    max-height:min(86vh,720px);
    overflow:auto;
    border-radius:28px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    box-shadow:0 28px 80px rgba(0,25,70,.35);
    border:1px solid rgba(255,255,255,.78);
    padding:22px;
    color:#14213d;
}
.a1clic-cookie-top{
    display:flex;
    align-items:center;
    gap:13px;
    padding-bottom:13px;
    margin-bottom:12px;
    border-bottom:1px solid #e7edf5;
}
.a1clic-cookie-mark{
    width:58px;
    height:58px;
    flex:0 0 58px;
    border-radius:20px;
    display:grid;
    place-items:center;
    background:#ffffff;
    border:1px solid #e4edf6;
    box-shadow:0 14px 26px rgba(10,102,169,.18);
    overflow:hidden;
}
.a1clic-cookie-mark img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    border-radius:18px;
}
.a1clic-cookie-kicker{
    margin:0 0 2px;
    font-size:11px;
    font-weight:800;
    color:#0a66a9;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.a1clic-cookie-card h2{
    margin:0;
    color:#10213d;
    font-size:22px;
    line-height:1.08;
    letter-spacing:-.03em;
}
.a1clic-cookie-text{
    margin:0 0 10px;
    color:#374860;
    font-size:14px;
    line-height:1.55;
}
.a1clic-cookie-note{
    margin:0 0 16px;
    color:#56677c;
    font-size:13px;
    line-height:1.45;
    background:#f1f6fb;
    border:1px solid #e1ecf6;
    border-radius:18px;
    padding:10px 12px;
}
.a1clic-cookie-actions{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:9px;
    margin-top:14px;
}
.a1clic-cookie-btn{
    min-height:42px;
    border:0;
    border-radius:15px;
    padding:10px 12px;
    font-size:13px;
    font-weight:850;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.a1clic-cookie-btn:active{transform:translateY(1px) scale(.99);}
.a1clic-cookie-btn-primary{
    background:#ffb81c;
    color:#262626;
    box-shadow:0 12px 24px rgba(255,184,28,.27);
}
.a1clic-cookie-btn-ghost{
    background:#5d6673;
    color:#fff;
}
.a1clic-cookie-btn-soft{
    background:#eaf3ff;
    color:#0a66a9;
    border:1px solid #d5e7fb;
}
.a1clic-cookie-btn-link{
    background:transparent;
    color:#0a66a9;
    box-shadow:none;
    padding-left:0;
    text-align:left;
}
.a1clic-cookie-options{
    display:grid;
    gap:10px;
    margin:14px 0 10px;
}
.a1clic-cookie-option{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    border:1px solid #e1eaf4;
    background:#fff;
    border-radius:18px;
    padding:13px 14px;
}
.a1clic-cookie-option strong{
    display:block;
    color:#16233b;
    font-size:14px;
    margin-bottom:3px;
}
.a1clic-cookie-option span{
    display:block;
    color:#607086;
    font-size:12px;
    line-height:1.35;
}
.a1clic-cookie-option input{
    width:22px;
    height:22px;
    accent-color:#0a66a9;
    flex:0 0 auto;
}
.a1clic-cookie-status{
    white-space:nowrap;
    color:#0a66a9!important;
    font-size:11px!important;
    font-weight:900;
    background:#eaf5ff;
    padding:6px 9px;
    border-radius:999px;
}
.a1clic-cookie-actions-config{
    grid-template-columns:1fr;
}
.a1clic-cookie-current-panel{
    margin:10px 0 4px;
    border:1px solid #dbeafe;
    background:#f7fbff;
    color:#35465e;
    border-radius:16px;
    padding:10px 12px;
    font-size:12px;
    line-height:1.35;
}
.a1clic-cookie-current-panel strong{
    display:block;
    margin-top:3px;
    color:#0a66a9;
    font-size:13px;
}
.a1-cookie-current-box{
    margin:12px 0 13px;
    padding:12px 13px;
    border-radius:18px;
    background:#f5faff;
    border:1px solid #dcecff;
    color:#40536a;
    font-size:13px;
    line-height:1.4;
}
.a1-cookie-current-box strong{
    display:block;
    color:#0a66a9;
    margin-top:4px;
}
.a1-cookie-current-box small{
    display:block;
    color:#6b7b90;
    margin-top:3px;
}

.a1clic-cookie-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    margin-top:16px;
    padding-top:13px;
    border-top:1px solid #e7edf5;
    font-size:12px;
}
.a1clic-cookie-links a{
    color:#0a66a9;
    text-decoration:none;
    font-weight:750;
}
.a1clic-cookie-links a:hover{text-decoration:underline;}
html.a1clic-cookie-open,
body.a1clic-cookie-open{overflow:hidden!important;}
html.a1clic-cookie-open #app-splash{pointer-events:none;}
@media (max-width:430px){
    .a1clic-cookie-gate{align-items:flex-end;padding:12px;}
    .a1clic-cookie-card{width:100%;border-radius:24px;padding:18px;}
    .a1clic-cookie-actions{grid-template-columns:1fr;}
    .a1clic-cookie-card h2{font-size:20px;}
}


/* =========================================================
   A1CLIC v129 · Cuenta LOPD más limpio
   ========================================================= */
.account-service-card{
  position:relative;
  overflow:hidden;
}

.account-service-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  border-radius:999px;
  opacity:.95;
}

.account-service-card-inapp{
  border-color:rgba(10,102,169,.16)!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
}

.account-service-card-inapp::before{
  background:linear-gradient(180deg,#0A66A9,#23a2d6);
}

.account-service-card-push{
  border-color:rgba(255,184,28,.22)!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffdf7 100%)!important;
}

.account-service-card-push::before{
  background:linear-gradient(180deg,#FFB81C,#f97316);
}

.account-service-head{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}

.account-service-head h3,
.account-card-title-row.account-service-head h3{
  margin:0 0 3px!important;
  line-height:1.1!important;
}

.account-service-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:#eef7ff;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
  font-size:18px;
}

.account-service-icon-push{
  background:#fff3cf;
}

.account-legal-copy{
  margin:0!important;
  color:#526274!important;
  font-size:12.6px!important;
  line-height:1.38!important;
  font-weight:650!important;
}

.account-lopd-note{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#526274!important;
  font-size:12.6px!important;
  line-height:1.38!important;
  font-weight:650!important;
}

.account-privacy-legal-note{
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:8px 0 10px!important;
  padding:9px 10px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #e6eef6!important;
  color:#475569!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}

.account-push-card .account-card-title-row.account-service-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
}

.account-push-card .account-card-title-row.account-service-head > div{
  flex:1 1 auto;
  min-width:0;
}

@media(max-width:430px){
  .account-service-head{
    gap:8px;
  }
  .account-service-icon{
    width:30px;
    height:30px;
    flex-basis:30px;
    border-radius:11px;
    font-size:16px;
  }
  .account-legal-copy,
  .account-lopd-note,
  .account-privacy-legal-note{
    font-size:12px!important;
  }
}


/* =========================================================
   A1CLIC v140 · Recupera estilos LIVE v126
   ========================================================= */
/* =========================================================
   A1CLIC v121 - sección LIVE dinámica
   ========================================================= */
.bottom-nav.has-live{
  grid-template-columns:repeat(6,1fr) !important;
}

.bottom-nav-item.is-live-tab{
  position:relative !important;
  color:#ffffff !important;
  background:linear-gradient(160deg,#ff7a00 0%,#ef233c 58%,#a00018 100%) !important;
  border-radius:18px 18px 0 0 !important;
  margin:-11px 3px 0 !important;
  padding-top:7px !important;
  min-height:70px !important;
  box-shadow:0 -6px 20px rgba(239,35,60,.36), inset 0 0 0 1px rgba(255,255,255,.26) !important;
  animation:a1LiveNavPulse 1.18s ease-in-out infinite !important;
}

.bottom-nav-item.is-live-tab .nav-icon{
  display:grid !important;
  place-items:center !important;
  width:24px !important;
  height:24px !important;
  border-radius:999px !important;
  background:#ffffff !important;
  color:#ef233c !important;
  font-size:14px !important;
  line-height:1 !important;
  transform:none !important;
  text-shadow:none !important;
  box-shadow:0 0 0 5px rgba(255,255,255,.18), 0 0 16px rgba(255,255,255,.52) !important;
}

.bottom-nav-item.is-live-tab .nav-label{
  color:#ffffff !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
  font-weight:950 !important;
  text-shadow:0 1px 4px rgba(0,0,0,.24) !important;
}

.bottom-nav-item.is-live-tab.is-active{
  color:#ffffff !important;
  background:linear-gradient(160deg,#ef233c 0%,#b8001b 100%) !important;
}

@keyframes a1LiveNavPulse{
  0%,100%{ transform:translateY(0) scale(1); filter:saturate(1); }
  50%{ transform:translateY(-2px) scale(1.035); filter:saturate(1.22); }
}

.live-page{
  display:grid;
  gap:12px;
}

.live-hero{
  position:relative;
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px;
  border-radius:24px;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.36),transparent 34%),
    linear-gradient(135deg,#ff7a00 0%,#ef233c 56%,#1d1d3f 100%);
  color:#fff;
  overflow:hidden;
}

.live-hero h2{
  margin:1px 0 3px;
  font-size:28px;
  line-height:1;
  letter-spacing:.02em;
  color:#fff;
}

.live-hero p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.35;
}

.live-kicker{
  display:block;
  color:rgba(255,255,255,.86);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.live-pulse-dot{
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 0 0 8px rgba(255,255,255,.16), 0 0 28px rgba(255,255,255,.5);
  position:relative;
}

.live-pulse-dot:after{
  content:'';
  position:absolute;
  inset:14px;
  border-radius:999px;
  background:#ef233c;
  animation:a1LiveDot 1s ease-in-out infinite;
}

@keyframes a1LiveDot{
  0%,100%{ transform:scale(.88); opacity:.92; }
  50%{ transform:scale(1.2); opacity:1; }
}

.live-list{
  display:grid;
  gap:10px;
}

.live-card{
  padding:15px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(239,35,60,.18);
  box-shadow:0 10px 24px rgba(15,23,42,.07);
}

.live-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  margin-bottom:8px;
}

.live-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  background:#fff1f1;
  color:#b42318;
  font-size:10px;
  font-weight:950;
  letter-spacing:.06em;
}

.live-time{
  color:#667085;
  font-size:11px;
  font-weight:850;
}

.live-card h3{
  margin:0;
  color:#142033;
  font-size:18px;
  line-height:1.15;
}

.live-card p{
  margin:8px 0 0;
  color:#475467;
  font-size:13px;
  line-height:1.42;
}

.live-card-meta{
  margin-top:9px;
  color:#667085;
  font-size:11px;
  font-weight:750;
}

.live-open-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:43px;
  margin-top:12px;
  border-radius:15px;
  background:linear-gradient(135deg,#ef233c,#ff7a00);
  color:#fff !important;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 10px 22px rgba(239,35,60,.22);
}

.live-empty h3{
  margin:0 0 5px;
  font-size:17px;
}

@media(max-width:390px){
  .bottom-nav.has-live .bottom-nav-item{
    font-size:8.7px !important;
  }
  .bottom-nav-item.is-live-tab{
    margin-left:1px !important;
    margin-right:1px !important;
  }
  .bottom-nav-item.is-live-tab .nav-label{
    font-size:10px !important;
  }
}

/* =========================================================
   A1CLIC v123 - LIVE con eliminar definitivo
   ========================================================= */
.live-embed-box{
  margin-top:12px;
  border-radius:18px;
  overflow:hidden;
  background:#0f172a;
  border:1px solid rgba(239,35,60,.22);
  box-shadow:0 12px 26px rgba(15,23,42,.10);
}
.live-embed-box iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  min-height:190px;
  border:0;
  background:#0f172a;
}
.live-embed-blocked{
  min-height:190px;
  display:grid;
  align-content:center;
  gap:8px;
  padding:18px;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(circle at 22% 18%,rgba(239,35,60,.36),transparent 34%),
    linear-gradient(135deg,#111827,#1d1d3f 58%,#3a0d16);
}
.live-embed-blocked strong{
  font-size:15px;
  font-weight:950;
}
.live-embed-blocked span{
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.35;
}
.live-open-btn.live-cookie-btn{
  border:0;
  width:100%;
  margin-top:4px;
  cursor:pointer;
}
@media(max-width:390px){
  .live-embed-box iframe,
  .live-embed-blocked{min-height:172px;}
}

/* =========================================================
   A1CLIC v126 - LIVE incrustado a pantalla completa
   ========================================================= */
body.app-live-full .app-wrap{
  background:#ffffff !important;
  padding-bottom:calc(var(--a1-bottom-nav-height) + env(safe-area-inset-bottom)) !important;
  min-height:100dvh !important;
}
body.app-live-full .app-header-pro,
body.app-live-full .header-divider,
body.app-live-full .footer-social-strip{
  display:none !important;
}
body.app-live-full .app-main{
  padding:0 !important;
  margin:0 !important;
  height:calc(100dvh - var(--a1-bottom-nav-height) - env(safe-area-inset-bottom)) !important;
  min-height:calc(100dvh - var(--a1-bottom-nav-height) - env(safe-area-inset-bottom)) !important;
  overflow:hidden !important;
}
.live-fullscreen-page{
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:#ffffff !important;
  overflow:hidden !important;
}
.live-full-iframe{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  border:0 !important;
  background:#ffffff !important;
}
.live-full-blocked{
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  display:grid !important;
  align-content:center !important;
  gap:10px !important;
  padding:22px !important;
  text-align:center !important;
  color:#fff !important;
  background:radial-gradient(circle at 22% 18%,rgba(239,35,60,.36),transparent 34%),linear-gradient(135deg,#111827,#1d1d3f 58%,#3a0d16) !important;
}
.live-full-blocked strong{
  font-size:17px !important;
  font-weight:950 !important;
}
.live-full-blocked span{
  color:rgba(255,255,255,.84) !important;
  font-size:13px !important;
  line-height:1.4 !important;
}

/* =========================================================
   A1CLIC v151 · Corrección LIVE dentro de pestañas rápidas
   ========================================================= */
body.app-live-full .a1-fast-tab-panel.is-active,
body.app-live-full .a1-fast-tab-panel[data-a1-fast-tab="live"]{
  height:100% !important;
  min-height:100% !important;
  display:block !important;
}
body.app-live-full .a1-fast-tab-panel.is-active > .live-fullscreen-page,
body.app-live-full .a1-fast-tab-panel[data-a1-fast-tab="live"] > .live-fullscreen-page{
  height:100% !important;
  min-height:100% !important;
}


/* =========================================================
   A1CLIC v140 · Competición: etiquetas siempre en una línea
   ========================================================= */
.competition-card-compact .competition-head{
  display:flex!important;
  align-items:center!important;
  gap:3px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
  margin-bottom:5px!important;
}
.competition-card-compact .competition-head .status-pill,
.competition-card-compact .competition-head .sport-pill,
.competition-card-compact .competition-head .competition-jornada-badge{
  min-height:16px!important;
  height:16px!important;
  padding:1px 5px!important;
  border-radius:999px!important;
  font-size:8px!important;
  line-height:14px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.competition-card-compact .competition-head .status-pill{
  flex:0 0 auto!important;
  max-width:48px!important;
}
.competition-card-compact .competition-head .sport-pill{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.competition-card-compact .competition-head .competition-jornada-badge{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  max-width:72px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  background:#fff4d6!important;
  border:1px solid rgba(255,184,28,.55)!important;
  color:#8a4b00!important;
}
@media(max-width:390px){
  .competition-card-compact .competition-head{gap:2px!important;}
  .competition-card-compact .competition-head .status-pill,
  .competition-card-compact .competition-head .sport-pill,
  .competition-card-compact .competition-head .competition-jornada-badge{
    height:15px!important;
    min-height:15px!important;
    padding:1px 4px!important;
    font-size:7.4px!important;
    line-height:13px!important;
  }
  .competition-card-compact .competition-head .competition-jornada-badge{max-width:62px!important;}
}


/* A1CLIC v144 · aviso discreto de nueva competición */
.bottom-nav-item.a1clic-competition-new{
  position:relative !important;
}
.bottom-nav-item.a1clic-competition-new::after{
  content:"";
  position:absolute;
  top:8px;
  right:24%;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#f97316;
  border:2px solid #ffffff;
  box-shadow:0 0 0 2px rgba(249,115,22,.20),0 2px 7px rgba(15,23,42,.20);
  pointer-events:none;
}
.bottom-nav-item.a1clic-competition-new .nav-label::after{
  content:"Nuevo";
  display:block;
  margin-top:1px;
  font-size:7px;
  line-height:1;
  font-weight:900;
  letter-spacing:.02em;
  color:#c2410c;
  text-transform:uppercase;
}
@media (max-width:390px){
  .bottom-nav-item.a1clic-competition-new::after{
    top:7px;
    right:20%;
    width:8px;
    height:8px;
  }
  .bottom-nav-item.a1clic-competition-new .nav-label::after{
    font-size:6.4px;
  }
}

/* =========================================================
   A1CLIC v152 · LIVE: fallback para enlaces que rechazan iframe
   ========================================================= */
.live-embed-fallback{
  min-height:150px;
  display:grid;
  align-content:center;
  gap:7px;
  padding:18px;
  text-align:center;
  color:#fff;
  background:linear-gradient(135deg,#111827,#25304b 58%,#43111d);
}
.live-embed-fallback strong{
  font-size:15px;
  font-weight:950;
}
.live-embed-fallback span{
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.35;
}
.live-full-fallback{
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
  background:#eef5fb !important;
}
.live-full-fallback-card{
  width:min(92%,430px);
  border-radius:24px;
  padding:22px;
  text-align:center;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.14);
  border:1px solid rgba(16,24,40,.08);
}
.live-full-fallback-card h2{
  margin:12px 0 8px;
  color:#142033;
  font-size:22px;
  line-height:1.12;
  font-weight:950;
}
.live-full-fallback-card p{
  margin:0;
  color:#475467;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
}
.live-full-fallback-card .live-open-btn{
  margin-top:16px;
}


/* =========================================================
   A1CLIC v164 · recordatorio escritorio para instalar PWA móvil
   ========================================================= */
body.a1-desktop-reminder-open{
  overflow:hidden;
}
.a1-desktop-reminder{
  position:fixed;
  inset:0;
  z-index:99990;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  font-family:inherit;
}
.a1-desktop-reminder-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,18,36,.62);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.a1-desktop-reminder-card{
  position:relative;
  width:min(94vw,720px);
  max-height:min(88vh,760px);
  overflow:auto;
  border-radius:30px;
  padding:26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(243,146,0,.18), transparent 33%),
    radial-gradient(circle at 88% 12%, rgba(10,102,169,.16), transparent 34%),
    #ffffff;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 34px 90px rgba(5,13,32,.38);
  color:#142033;
  animation:a1DesktopReminderIn .22s ease-out both;
}
.a1-desktop-reminder.is-closing .a1-desktop-reminder-card{
  animation:a1DesktopReminderOut .18s ease-in both;
}
@keyframes a1DesktopReminderIn{
  from{opacity:0; transform:translateY(18px) scale(.985);}
  to{opacity:1; transform:translateY(0) scale(1);}
}
@keyframes a1DesktopReminderOut{
  from{opacity:1; transform:translateY(0) scale(1);}
  to{opacity:0; transform:translateY(12px) scale(.985);}
}
.a1-desktop-reminder-x{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:rgba(15,23,42,.07);
  color:#24324a;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.a1-desktop-reminder-x:hover{
  background:rgba(15,23,42,.12);
}
.a1-desktop-reminder-top{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:20px;
  align-items:center;
  padding-right:28px;
}
.a1-desktop-reminder-logo{
  width:96px;
  height:96px;
  object-fit:contain;
  border-radius:24px;
  filter:drop-shadow(0 14px 22px rgba(10,102,169,.22));
}
.a1-desktop-reminder-kicker{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  background:#eaf5ff;
  color:#0A66A9;
  font-size:11px;
  line-height:1;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.a1-desktop-reminder h2{
  margin:10px 0 8px;
  font-size:clamp(25px,3.1vw,37px);
  line-height:1.03;
  letter-spacing:-.035em;
  font-weight:950;
  color:#111827;
}
.a1-desktop-reminder p{
  margin:0;
  color:#475467;
  font-size:15px;
  line-height:1.48;
  font-weight:700;
}
.a1-desktop-reminder-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 16px;
}
.a1-desktop-reminder-pills span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#f3f7fb;
  color:#1f2a44;
  border:1px solid rgba(16,24,40,.08);
  font-size:13px;
  font-weight:900;
}
.a1-desktop-reminder-note{
  border-radius:20px;
  padding:14px 16px;
  background:linear-gradient(135deg,rgba(243,146,0,.12),rgba(10,102,169,.10));
  border:1px solid rgba(10,102,169,.16);
  color:#344054;
  font-size:14px;
  line-height:1.45;
  font-weight:750;
}
.a1-desktop-reminder-note strong{
  color:#0A66A9;
  font-weight:950;
}
.a1-desktop-reminder-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.a1-desktop-reminder-actions button,
.a1-desktop-reminder-never{
  appearance:none;
  border:0;
  cursor:pointer;
  font-family:inherit;
}
.a1-desktop-reminder-primary,
.a1-desktop-reminder-secondary,
.a1-desktop-reminder-light{
  min-height:44px;
  border-radius:999px;
  padding:0 18px;
  font-size:14px;
  font-weight:950;
}
.a1-desktop-reminder-primary{
  background:linear-gradient(135deg,#F39200,#0A66A9);
  color:#fff;
  box-shadow:0 12px 24px rgba(10,102,169,.20);
}
.a1-desktop-reminder-secondary{
  background:#111827;
  color:#fff;
}
.a1-desktop-reminder-light{
  background:#eef5fb;
  color:#0A66A9;
}
.a1-desktop-reminder-help{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}
.a1-desktop-reminder-help[hidden]{
  display:none !important;
}
.a1-desktop-reminder-help div{
  padding:13px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(16,24,40,.08);
  color:#475467;
  font-size:13px;
  line-height:1.42;
  font-weight:750;
}
.a1-desktop-reminder-help strong{
  display:block;
  margin-bottom:3px;
  color:#142033;
  font-size:13px;
  font-weight:950;
}
.a1-desktop-reminder-help code{
  display:inline-block;
  margin-top:3px;
  padding:4px 7px;
  border-radius:8px;
  background:#eaf5ff;
  color:#0A66A9;
  font-size:12px;
  font-weight:900;
}
.a1-desktop-reminder-never{
  margin-top:14px;
  padding:0;
  background:transparent;
  color:#667085;
  font-size:12px;
  font-weight:850;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media (max-width:720px){
  .a1-desktop-reminder{
    display:none !important;
  }
}

/* =========================================================
   A1CLIC v165 · navegación variable por secciones
   ========================================================= */
.bottom-nav,
.bottom-nav.has-live{
  grid-template-columns:repeat(var(--a1clic-nav-count,5),minmax(0,1fr)) !important;
}
.bottom-nav.nav-count-6 .bottom-nav-item{font-size:9.2px !important;}
.bottom-nav.nav-count-6 .nav-label{font-size:9.5px !important;}
.bottom-nav.nav-count-7 .bottom-nav-item{font-size:8.3px !important;}
.bottom-nav.nav-count-7 .nav-label{font-size:8.6px !important;}
.bottom-nav.nav-count-7 .nav-icon{font-size:17px !important;}
@media(max-width:390px){
  .bottom-nav.nav-count-6 .nav-label{font-size:8.7px !important;}
  .bottom-nav.nav-count-7 .nav-label{font-size:7.8px !important;}
  .bottom-nav.nav-count-7 .nav-icon{font-size:16px !important;}
}

/* =========================================================
   A1CLIC v167 · imágenes de WordPress adaptadas a la app
   - No se deforman ni desbordan la pantalla.
   - Las tarjetas conservan una composición homogénea.
   - Las imágenes dentro de la noticia se muestran completas.
   ========================================================= */
.app-main,
.news-detail-card,
.news-detail-content,
.news-detail-content figure,
.news-detail-content .wp-block-image,
.news-detail-content .wp-caption{
  min-width:0 !important;
  max-width:100% !important;
}

/* Miniaturas de portada y del listado: hueco estable, sin deformar la foto. */
.media-row img,
.media-list-home .media-row-featured img{
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  image-orientation:from-image;
}

/* Imagen principal de una noticia: se ve completa dentro de un marco proporcionado. */
.news-detail-hero{
  display:block !important;
  width:100% !important;
  height:clamp(180px,54vw,260px) !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  image-orientation:from-image;
  background:linear-gradient(180deg,#f8fbfe 0%,#eef5fa 100%) !important;
  padding:2px !important;
}

/* Fotos insertadas desde el contenido de WordPress. */
.news-detail-content img,
.news-detail-content figure img,
.news-detail-content .wp-block-image img,
.news-detail-content .wp-caption img{
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:min(64svh,520px) !important;
  margin:12px auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  image-orientation:from-image;
  border-radius:14px !important;
  background:#f3f7fa !important;
  box-shadow:0 5px 14px rgba(15,23,42,.06);
}

.news-detail-content figure,
.news-detail-content .wp-block-image,
.news-detail-content .wp-caption{
  display:block !important;
  float:none !important;
  clear:both !important;
  width:100% !important;
  margin:14px 0 !important;
  overflow:hidden !important;
}

.news-detail-content p > a > img{
  display:block !important;
}

/* Galerías de WordPress: dos columnas limpias y sin salirse del contenido. */
.news-detail-content .wp-block-gallery,
.news-detail-content .gallery{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  margin:14px 0 !important;
  padding:0 !important;
  list-style:none !important;
}

.news-detail-content .wp-block-gallery figure,
.news-detail-content .gallery figure,
.news-detail-content .gallery .gallery-item{
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
}

.news-detail-content .wp-block-gallery img,
.news-detail-content .gallery img{
  width:100% !important;
  height:132px !important;
  max-height:none !important;
  margin:0 !important;
  object-fit:cover !important;
  border-radius:12px !important;
}

@media(max-width:390px){
  .news-detail-hero{
    height:190px !important;
  }

  .news-detail-content img,
  .news-detail-content figure img,
  .news-detail-content .wp-block-image img,
  .news-detail-content .wp-caption img{
    max-height:min(58svh,430px) !important;
    border-radius:12px !important;
  }

  .news-detail-content .wp-block-gallery img,
  .news-detail-content .gallery img{
    height:118px !important;
  }
}


/* =========================================================
   A1CLIC v168 · noticia destacada sin recorte
   La portada deja de usar un hueco panorámico fijo: la foto
   conserva su encuadre original y se adapta al ancho de la app.
   ========================================================= */
.media-list-home .media-row-featured img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:320px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#f3f7fa !important;
  padding:0 !important;
  image-orientation:from-image;
}

@media(max-width:390px){
  .media-list-home .media-row-featured img{
    max-height:280px !important;
  }
}
