/* SpainCat V231: controles de anuncios y colores coherentes con la causa. */
#sc-v133-menu .sc-v231-news-pause,
#sc-v133-menu .sc-v221-news-edit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 32px!important;min-width:32px!important;
  width:32px!important;height:32px!important;padding:4px!important;border-radius:7px!important;
  background:#0d3451!important;border:1px solid #3186ae!important;
  color:#40f59a!important;cursor:pointer;line-height:1!important;text-decoration:none!important;
}
#sc-v133-menu .sc-v231-news-pause svg,
#sc-v133-menu .sc-v221-news-edit svg{width:21px;height:21px;display:block;pointer-events:none;}
#sc-v133-menu .sc-v231-news-pause:hover,
#sc-v133-menu .sc-v221-news-edit:hover{background:#165577!important;color:#d2ffe5!important;}
#sc-v133-menu .sc-v231-news-pause:focus-visible,
#sc-v133-menu .sc-v221-news-edit:focus-visible{outline:2px solid #ffe68c;outline-offset:2px;}
#sc-v133-menu #sc-v221-news[data-news-paused="true"] .sc-v221-news-track,
#sc-v133-menu #sc-v221-news[data-news-paused="true"] .sc-v221-news-track.sc-v222-moving{
 animation-play-state:paused!important;
}
#sc-v133-menu #sc-v221-news[data-news-paused="true"] .sc-v231-news-pause{
 background:#1e493b!important;border-color:#42db8b!important;color:#e5ffe8!important;
}
/* Incidencias: el color refleja la causa; la afectación usa una etiqueta separada. */
#sc-trafico .sc-traffic-incident.works.impact-cut{
 border-color:#418fd7!important;border-left:5px solid #60b7ff!important;
 background:linear-gradient(115deg,#18486b,#102e4b)!important;
}
#sc-trafico .sc-traffic-incident.works.impact-cut .sc-traffic-tag{
 background:#174d73!important;color:#cceaff!important;border-color:#6ebcff!important;
}
#sc-trafico .sc-traffic-incident.works.impact-restricted,
#sc-trafico .sc-traffic-incident.other.impact-restricted{
 border-color:#2baf94!important;border-left:5px solid #43e3bb!important;
 background:linear-gradient(115deg,#164e47,#10382f)!important;
}
#sc-trafico .sc-traffic-incident.jams.impact-cut{
 border-color:#b77a3d!important;border-left:5px solid #ffa44f!important;
 background:linear-gradient(115deg,#4c3222,#312417)!important;
}
#sc-trafico .sc-traffic-incident.impact-cut:not(.works):not(.critical):not(.jams):not(.weather):not(.impact-restricted){
 border-color:#be9b3d!important;border-left:5px solid #ffe074!important;
 background:linear-gradient(115deg,#514422,#312b1b)!important;
}
@media(max-width:790px){
 #sc-v133-menu .sc-v231-news-pause,#sc-v133-menu .sc-v221-news-edit{
  min-width:32px!important;flex-basis:32px!important;
 }
}
/* El botón Reproducir debe vencer al antiguo auto-pausa por pasar el ratón. */
#sc-v133-menu #sc-v221-news[data-news-paused="false"]:hover .sc-v221-news-track.sc-v222-moving{
 animation-play-state:running!important;
}
