:root{
  --bg:#0b0d12;
  --text:#ffffff;
  --muted:rgba(255,255,255,.68);
  --card:#141828;
  --card2:#0f1322;
  --border:rgba(255,255,255,.10);

  --smashTickerSpeed: 55s;
  --smashTickerOpacity: 0.16;
  --smashTickerFontSize: 26px;
  --smashTickerIntensityLight: 0.55;
  --smashTickerIntensityDark: 0.85;
  --smashTickerIntensity: 0.85;

  --smashLightText: 18 18 18;
  --smashDarkText: 255 255 255;

  --smashSiteBgColor: ;
  --smashSiteBgImage: none;
}

:root[data-theme="light"]{
  --bg:#f6f7fb;
  --text:#121212;
  --muted:rgba(0,0,0,.62);
  --card:#ffffff;
  --card2:#f0f2f9;
  --border:rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--smashSiteBgColor, var(--bg));
  background-image: var(--smashSiteBgImage, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; }

.smash-container{ width:min(1120px, 92%); margin:0 auto; }
.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.smash-topbar{
  position: sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .smash-topbar{ background: rgba(255,255,255,.65); }

.smash-topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:12px;
}
.smash-brand{ display:flex; align-items:center; gap:10px; }
.smash-brand__logo{ width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background: rgba(255,255,255,.08); overflow:hidden; }
.smash-brand__logo img{ width:100%; height:100%; object-fit:cover; display:block; }
.smash-brand__name{ font-weight:900; letter-spacing:.6px; }

.smash-weatherbar{ display:flex; gap:10px; align-items:center; font-weight:700; }
.smash-weatherbar__city{ opacity:.9; }
.smash-weatherbar__temp{ padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.08); }

.smash-theme-toggle{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:8px 10px;
  border-radius: 12px;
  cursor:pointer;
}

.smash-main{ padding:18px 0 36px; }

.smash-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:16px;
}
.smash-grid--single{
  grid-template-columns: 1fr;
}
@media (max-width: 980px){
  .smash-grid{ grid-template-columns: 1fr; }
}

/* Player */
.smash-player{ position:relative; overflow:hidden; min-height: 480px; --smashCoverBg: none; --bgPosX: 0px; --bgPosY: 0px; }
/* Cover background (synced to now playing cover) */
.smash-player::before{
  content:"";
  position:absolute;
  inset:-34px;
  z-index:0;
  background-image: var(--smashCoverBg);
  background-size: cover;
  background-position: calc(50% + var(--bgPosX)) calc(50% + var(--bgPosY));
  filter: blur(26px);
  transform: scale(1.16);
  animation: smashCoverZoom 6s ease-in-out infinite alternate;
  opacity: .40;
  pointer-events:none;
}
.smash-player::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(1000px 260px at 30% 30%, rgba(var(--smashTintRgb, 255,255,255), .30), transparent 65%),
    radial-gradient(900px 260px at 75% 55%, rgba(var(--smashTintRgb, 255,255,255), .24), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.52));
  pointer-events:none;
}
.smash-player-ui{ padding-bottom: 100px;  position:relative; z-index:3; padding:22px; }

/* Background ticker centered */
.smash-bg-ticker{
  position:absolute; inset:0;
  z-index:1;
  pointer-events:none;
  opacity: var(--smashTickerOpacity);
  display:flex;
  align-items:center;
  justify-content:center;
}
.smash-bg-ticker__track{ width:100%; overflow:hidden; }
.smash-bg-ticker__content{
  display:inline-flex; align-items:center; gap:22px;
  white-space:nowrap;
  will-change:transform;
  transform: translateZ(0);
  animation: smashBgMarquee var(--smashTickerSpeed) linear infinite;
  padding-left: 100%;
}
.smash-bg-ticker__text{
  font-weight:900;
  font-size: var(--smashTickerFontSize);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1;
}
.smash-bg-ticker__sep{
  opacity:.55;
  font-size: calc(var(--smashTickerFontSize) - 4px);
}
@keyframes smashBgMarquee{ 0%{transform:translateX(0);} 100%{transform:translateX(-100%);} }
:root[data-smash-ticker-style="diagonal"] .smash-bg-ticker{ transform: rotate(-12deg) scale(1.05); }

:root[data-theme="light"] .smash-bg-ticker__text,
:root[data-theme="light"] .smash-bg-ticker__sep{
  color: rgba(var(--smashLightText) / var(--smashTickerIntensity));
}
:root:not([data-theme="light"]) .smash-bg-ticker__text,
:root:not([data-theme="light"]) .smash-bg-ticker__sep{
  color: rgba(var(--smashDarkText) / var(--smashTickerIntensity));
}

/* Spectrum layer */
.smash-spectrum{ position:absolute; left:0; right:0; bottom:0; top:auto; height:90px; z-index:2; pointer-events:none; }

.smash-spectrum canvas{ width:100%; height:100%; background: transparent; display:block; opacity:.9; }

.smash-player-top{ display:flex; gap:14px; align-items:center; }
.smash-cover{
  --coverX: 0px;
  --coverY: 0px;
  --coverR: 0deg;
  --coverS: 1;
  width:230px; height:230px;
  border-radius:24px;
  object-fit:cover;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  transform: translate3d(var(--coverX), var(--coverY), 0) rotate(var(--coverR)) scale(var(--coverS));
  transition: transform .24s ease, box-shadow .24s ease;
}
.smash-player:hover .smash-cover{
  --coverY: -8px;
  --coverR: -1.2deg;
  --coverS: 1.05;
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}
.smash-player.is-tilting .smash-cover{
  transition: transform .06s linear, box-shadow .24s ease;
}
.smash-np__label{ font-size:13px; opacity:.78; font-weight:900; letter-spacing:.5px; }
.smash-np__title{ font-size:40px; font-weight:950; margin-top:6px; line-height:1.05; }
.smash-np__artist{
  margin-top:6px;
  font-size: 22px;
  opacity: .86;
  font-weight: 750;
  letter-spacing: .25px;
}

@media (max-width: 640px){
  .smash-player-ui{ padding:18px; }
  .smash-cover{ width:112px; height:112px; border-radius:22px; }
  .smash-np__title{ font-size:22px; }
  .smash-np__artist{ font-size:15px; }
}

.smash-player-controls{
  margin-top:14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.smash-btn{
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(var(--smashTintRgb,255,255,255), .18), rgba(255,255,255,.06));
  color: var(--text);
  padding:12px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:900;
}
.smash-btn--primary{ min-width:140px; text-align:center; }

.smash-social{ display:flex; gap:8px; }
.smash-social__btn{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  transform: translateZ(0);
  transition: transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.smash-social__btn::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(120px 60px at 20% 20%, rgba(var(--smashTintRgb,255,255,255), .28), transparent 60%);
  opacity:.0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.smash-social__btn:hover{
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(var(--smashTintRgb,255,255,255), .40);
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}
.smash-social__btn:hover::before{ opacity:1; }
.smash-social__btn svg{ width:20px; height:20px; }


.smash-social__btn svg{ width:18px; height:18px; fill: currentColor; opacity:.92; }
.smash-social__btn:hover{ transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 44px rgba(0,0,0,.28); }

.smash-social__btn--facebook{ background: rgba(24,119,242,.14); border-color: rgba(24,119,242,.22); }
.smash-social__btn--instagram{ background: rgba(225,48,108,.14); border-color: rgba(225,48,108,.22); }
.smash-social__btn--tiktok{ background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.14); }
.smash-social__btn--youtube{ background: rgba(255,0,0,.14); border-color: rgba(255,0,0,.22); }
.smash-social__btn--whatsapp{ background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.22); }

.smash-player-meta{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.smash-meta-pill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  font-size:12px;
  font-weight:800;
  opacity:.95;
}

.smash-side{ padding:16px; }
.smash-side__title{ margin:0 0 10px; }
.smash-mini-videos{ display:grid; gap:10px; }
.smash-mini-video{
  display:flex; gap:10px; align-items:center;
  padding:10px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.smash-mini-video img{ width:72px; height:44px; object-fit:cover; border-radius:10px; }

/* Sections */
.smash-section{ padding:16px; margin-top:16px; }
.smash-section__head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.smash-link{ opacity:.8; font-weight:800; }
.smash-muted{ color: var(--muted); }
.smash-note{ color: var(--muted); font-size:12px; margin-top:10px; }

/* News */
.smash-news-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .smash-news-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .smash-news-grid{ grid-template-columns: 1fr;} }

.smash-news-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
.smash-news-card img{ height:140px; object-fit:cover; width:100%; }
.smash-news-card__body{ padding:12px; }
.smash-news-card h3{ margin:0 0 8px; font-size:14px; }

/* Ads slider (auto-advance) */
.smash-ads{ margin-top:12px; overflow:hidden; }
.smash-ads__track{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
}
.smash-ads__track::-webkit-scrollbar{ display:none; }
.smash-ad{
  flex: 0 0 100%;
  min-width: 100%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  scroll-snap-align:start;
}
.smash-ad img{ width:100%; height:auto; display:block; }

/* Videos grid */
.smash-videos-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .smash-videos-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .smash-videos-grid{ grid-template-columns: 1fr;} }

.smash-video-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
.smash-video-card img{ width:100%; height:160px; object-fit:cover; }
.smash-video-card h3{ margin:0; padding:12px; font-size:14px; }

/* Locutores */
.smash-locutores-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:10px;
}
@media (max-width: 980px){ .smash-locutores-grid{ grid-template-columns: repeat(3, 1fr);} }
@media (max-width: 640px){ .smash-locutores-grid{ grid-template-columns: repeat(2, 1fr);} }

.smash-locutor{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius:16px;
  padding:10px;
  cursor:pointer;
  text-align:left;
}
.smash-locutor img{ width:100%; height:120px; object-fit:cover; border-radius:12px; }
.smash-locutor__name{ margin-top:8px; font-weight:900; font-size:13px; }

/* Modal locutor */
.smash-modal{
  position: fixed; inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  padding:18px;
}
.smash-modal.is-open{ display:flex; }
.smash-modal__card{
  width: min(860px, 96vw);
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--card2));
  position: relative;
}
.smash-modal__img{ width:100%; height:320px; object-fit:cover; display:block; cursor:pointer; }
.smash-modal__body{ padding:16px; }
.smash-modal__body h3{ margin:0 0 8px; }
.smash-modal__meta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; font-weight:800; }
.smash-modal__close{
  position:absolute; top:10px; right:10px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 12px;
  width:40px; height:40px;
  cursor:pointer;
}

/* Schedule */
.smash-schedule{ padding:16px; margin-top:16px; }

.smash-day-tabs{
  margin-top:12px;
  display:flex;
  gap:0;
  padding:10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  overflow:auto;
}
.smash-day{
  flex: 1 0 auto;
  border:0;
  background: transparent;
  color: var(--text);
  padding:10px 18px;
  border-radius:999px;
  cursor:pointer;
  font-weight:950;
  letter-spacing:.6px;
  font-size:12px;
  opacity:.74;
  white-space:nowrap;
}
.smash-day.is-active{
  opacity:1;
  background: rgba(255,255,255,.10);
  outline:2px solid rgba(135,92,255,.28);
}

.smash-schedule__grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 1100px){ .smash-schedule__grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 820px){ .smash-schedule__grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .smash-schedule__grid{ grid-template-columns: 1fr;} }

.smash-showcard{
  position:relative;
  min-height: 140px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 46px rgba(0,0,0,.18);
}
.smash-showcard{ --showBg: none; }
.smash-showcard__bg{
  position:absolute; inset:-10px;
  background-image: var(--showBg);
  background-size: cover;
  background-position:center;
  filter: blur(12px);
  transform: scale(1.15);
  opacity:.55;
}
.smash-showcard__shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.72));
}
.smash-showcard__badge{
  position:absolute;
  top:12px; left:12px;
  z-index:2;
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(135,92,255,.22);
  border:1px solid rgba(135,92,255,.35);
  font-weight:950;
}
.smash-showcard__title{
  position:relative;
  z-index:2;
  font-weight:950;
  font-size:18px;
  margin-top:22px;
  line-height:1.12;
}
.smash-showcard__time{
  position:relative;
  z-index:2;
  margin-top:8px;
  font-weight:850;
  opacity:.88;
}
.smash-showcard__desc{
  position:relative;
  z-index:2;
  margin-top:6px;
  font-size:12px;
  opacity:.78;
}
.smash-showcard.is-live{ outline:3px solid rgba(135,92,255,.30); }

/* Last songs */
.smash-last-songs{
  margin-top:12px;
  display:grid;
  gap:10px;
}
.last-song{
  padding:10px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:850;
  display:flex;
  align-items:center;
  gap:10px;
}

.last-song__cover{
  width:38px;
  height:38px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  flex: 0 0 38px;
  background: rgba(255,255,255,.06);
}
.last-song__cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.last-song__text{ line-height:1.1; }
.last-song__title{ font-size:13px; }

.smash-footer{ padding:18px 0 30px; color: var(--muted); }

@media (prefers-reduced-motion: reduce){
  .smash-bg-ticker__content{ animation:none; padding-left:0; }
}



/* ===== Player improvements ===== */
.smash-player{ border-radius: 22px; }
.smash-player .smash-cover{ transition: transform .55s ease, filter .55s ease; }
.smash-player.is-cover-changing .smash-cover{ transform: scale(1.04); filter: saturate(1.25) contrast(1.05); }

/* Floating app buttons inside player */
.smash-app-fab{
  position:absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.smash-app-fab__btn{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  text-decoration:none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.smash-app-fab__btn::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(180px 80px at 30% 30%, rgba(var(--smashTintRgb,255,255,255), .22), transparent 60%);
  opacity:.0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.smash-app-fab__btn:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--smashTintRgb,255,255,255), .38);
  box-shadow: 0 18px 44px rgba(0,0,0,.30);
  filter: saturate(1.15);
}
.smash-app-fab__btn:hover::before{ opacity:1; }
.smash-app-fab__icon svg{ width:18px; height:18px; display:block; }


.smash-app-fab__btn:hover{ transform: translateY(-1px); }
.smash-app-fab__icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.10);
  font-weight: 800;
}
.smash-app-fab__text small{ display:block; font-size: 11px; opacity:.85; line-height:1.1; }
.smash-app-fab__text strong{ display:block; font-size: 13px; line-height:1.1; }

/* ===== Footer (professional) ===== */
.smash-footer{
  margin-top: 34px;
  padding: 26px 0;
  background: rgba(0,0,0,.40);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.10);
}
.smash-footer__wrap{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 18px;
}
.smash-footer__brand{ font-weight:800; letter-spacing:.3px; font-size: 14px; color: #fff; }
.smash-footer__tagline{ font-size: 12px; opacity:.75; margin-top: 6px; }
.smash-footer__right{ display:flex; flex-direction:column; align-items:flex-end; gap: 12px; }
.smash-footer__socials{ display:flex; flex-wrap:wrap; gap: 10px; justify-content:flex-end; }
.smash-footer__social{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  text-decoration:none;
  font-size: 12px;
}
.smash-footer__social:hover{ background: rgba(255,255,255,.10); }
.smash-footer__social-ico{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.25);
  font-weight: 800;
  font-size: 12px;
}
.smash-footer__copy, .smash-footer__copy a{
  color: rgba(255,255,255,.70);
  font-size: 12px;
  text-decoration:none;
}
.smash-footer__copy a:hover{ text-decoration: underline; }

@media (max-width: 720px){
  .smash-footer__wrap{ flex-direction:column; align-items:flex-start; }
  .smash-footer__right{ align-items:flex-start; }
  .smash-app-fab{ left: 16px; right: 16px; justify-content:space-between; }
  .smash-app-fab__btn{ flex:1; justify-content:center; }
}


/* Cover zoom stronger */
@keyframes smashCoverZoom{
  0%   { transform: scale(1.16); }
  50%  { transform: scale(1.26); }
  100% { transform: scale(1.34); }
}


/* Bigger cover & typography */
.smash-player .smash-cover{ width: 221px; height: 221px; border-radius: 20px; }
@media (max-width: 720px){
  .smash-player .smash-cover{ width: 182px; height: 182px; }
}
.smash-player .smash-now__title{ font-size: 32px; line-height: 1.05; letter-spacing: .2px; }
.smash-player .smash-now__artist{ font-size: 18px; opacity: .92; }


/* ===== Footer PRO ===== */
.smash-footer{
  padding: 26px 0 34px;
}
.smash-footer__wrap{
  display:flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.smash-footer__brand{ font-weight: 900; font-size: 16px; letter-spacing: .6px; text-transform: uppercase; color: #fff; }
.smash-footer__tagline{ margin-top: 4px; font-size: 13px; opacity: .75; }
.smash-footer__socials{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.smash-footer__social{
  width: 44px; height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  position:relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
  text-decoration:none;
  color:#fff;
  overflow:hidden;
}
.smash-footer__social::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(220px 110px at 30% 30%, rgba(var(--smashTintRgb,255,255,255), .26), transparent 60%);
  opacity: .35;
  transition: opacity .18s ease;
  pointer-events:none;
}
.smash-footer__social:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--smashTintRgb,255,255,255), .42);
  box-shadow: 0 18px 46px rgba(0,0,0,.30);
  filter: saturate(1.25);
}
.smash-footer__social:hover::before{ opacity: .95; }
.smash-footer__social svg{ width: 20px; height: 20px; display:block; }
.smash-footer__copy{
  margin-top: 10px;
  font-size: 12px;
  opacity: .75;
}
.smash-footer__copy a{ color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.smash-footer__copy a:hover{ border-bottom-color: rgba(var(--smashTintRgb,255,255,255), .55); }

@media (max-width: 720px){
  .smash-footer__wrap{ flex-direction: column; align-items: flex-start; }
  .smash-footer__socials{ justify-content: flex-start; }
}


/* ===== News Modal ===== */
.smash-news-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}
.smash-news-modal.is-open{ display:flex; }
.smash-news-modal__panel{
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 18px;
  background: rgba(12,12,12,.94);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.smash-news-modal__hero{
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
}
.smash-news-modal__hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.78));
}
.smash-news-modal__close{
  position:absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  color:#fff;
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
  z-index: 2;
}
.smash-news-modal__close:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--smashTintRgb,255,255,255), .45);
}
.smash-news-modal__body{ padding: 18px 18px 22px; }
.smash-news-modal__title{ font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.smash-news-modal__content{ font-size: 15px; line-height: 1.6; opacity: .92; }
.smash-news-modal__content img{ max-width: 100%; height: auto; border-radius: 14px; }

.smash-no-scroll{ overflow:hidden; }


/* App buttons inline next to socials */
.smash-social{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
.smash-app-inline{
  display:flex;
  gap: 10px;
  margin-left: 6px;
}
.smash-app-inline__btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  position: relative;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
  text-decoration:none;
}
.smash-app-inline__btn::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(220px 110px at 30% 30%, rgba(var(--smashTintRgb,255,255,255), .30), transparent 60%);
  opacity:.35;
  transition: opacity .18s ease;
  pointer-events:none;
}
.smash-app-inline__btn:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--smashTintRgb,255,255,255), .55);
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  filter: saturate(1.25);
}
.smash-app-inline__btn:hover::before{ opacity:.95; }
.smash-app-inline__icon svg{ width: 22px; height: 22px; fill: currentColor; }
.smash-app-inline__btn--android{ color:#fff; }
.smash-app-inline__btn--ios{ color:#fff; }



/* Last songs: compact 2x4 grid */
.last-songs-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 860px){
  .last-songs-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.last-song{
  min-width: 0;
}
.last-song__title{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Premium app badges (tipo tienda) */
.smash-app-badge{
  display:flex;
  align-items:center;
  gap:10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  color:#fff;
  text-decoration:none;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.smash-app-badge:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}
.smash-app-badge__icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.smash-app-badge__icon svg{ width: 18px; height: 18px; fill: currentColor; opacity:.95; }
.smash-app-badge__text{ display:flex; flex-direction:column; line-height:1.05; }
.smash-app-badge__text small{ font-size: 11px; opacity:.82; }
.smash-app-badge__text strong{ font-size: 14px; letter-spacing:.2px; }

/* Player social row with app badges */
.smash-social{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.smash-app-inline{ display:flex; gap:12px; }

.smash-footer__apps{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width:720px){
  .smash-footer__apps{ justify-content: flex-start; }
}

/* News modal: always legible (white background) */
.smash-news-modal__panel{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}
.smash-news-modal__body{ background:#fff; }
.smash-news-modal__title{ color:#111; }
.smash-news-modal__content{ color:#222; opacity:1; }
.smash-news-modal__close{
  background: rgba(255,255,255,.80) !important;
  color:#111 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}
.smash-news-modal__hero::after{
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)) !important;
}

.smash-app-fab{ display:none !important; }


/* Player: move socials/apps row near bottom */
.smash-player{ position: relative; }
.smash-player__socials{
  position: absolute;
  right: 18px;
  left: auto;
  bottom: 74px; /* justo encima del gráfico */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap; /* UNA SOLA FILA */
  width: auto;
  max-width: calc(100% - 36px);
  z-index: 5;
}
@media (max-width: 720px){
  .smash-player__socials{
  position: absolute;
  right: 18px;
  left: auto;
  bottom: 74px; /* justo encima del gráfico */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap; /* UNA SOLA FILA */
  width: auto;
  max-width: calc(100% - 36px);
  z-index: 5;
}
}

/* Align all icons/badges consistently */
.smash-socials{ display:flex; gap: 12px; align-items:center; flex-wrap: wrap; }
.smash-social__btn, .smash-footer__social{
  width: 44px;
  height: 44px;
}
.smash-app-inline{ display:flex; gap: 12px; align-items:center; flex-wrap: wrap; }
.smash-app-badge{
  height: 44px;
  padding: 0 14px;
}
.smash-app-badge__icon{ width: 34px; height: 34px; }
.smash-app-badge__text small{ font-size: 10.5px; }
.smash-app-badge__text strong{ font-size: 13px; }


/* Spectrum always flush at bottom of player */
.smash-spectrum{ position:absolute; left:0; right:0; bottom:0; top:auto; height:90px; z-index:2; pointer-events:none; }

.smash-player{
  padding-bottom: 120px; /* espacio para redes+apps y gráfico */
}

/* Last songs: marquee (scroll) for long names */
.last-song__title{
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.last-song__titleText{
  display: inline-block;
  padding-right: 20px;
  transform: translateX(0);
}
.last-song__title:hover .last-song__titleText{
  animation: smashMarquee 6s linear infinite;
}
@keyframes smashMarquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-55%); }
}

/* Footer: alignment fix */
.smash-footer__right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}
@media (max-width:720px){
  .smash-footer__right{ align-items:flex-start; }
}

/* Keep socials + app badges together, but with a little gap */
.smash-social{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end; width:100%; }
.smash-socials{ display:flex; gap:12px; align-items:center; }
.smash-app-inline{ display:flex; gap:12px; align-items:center; margin-left: 6px; }

/* Last songs: artist arriba, canción abajo, sin salirse */
.last-song__meta{ min-width:0; }
.last-song__artist, .last-song__track{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.last-song__artist{ font-size: 12px; opacity: .85; }
.last-song__track{ font-size: 13px; font-weight: 700; }

/* Align play button with cover */
.smash-player__controls{
  display:flex;
  justify-content:flex-start;
}
.smash-player__controls [data-player-play]{
  margin-left: 0;
}
.smash-player__left{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

/* Align play button with cover (same left as cover) */
.smash-player-top{ display:flex; align-items:flex-start; gap: 18px; }
.smash-player-controls{ display:flex; flex-direction:column; align-items:flex-start; }
.smash-player-controls [data-player-play]{ margin-left: 0; }

/* Player left column: cover + play aligned */
.smash-player-left{
  display:flex;
  flex-direction:column;
  gap: 12px;
  align-items:flex-start;
}
.smash-player-left [data-player-play]{
  width: 100%;
  justify-content:center;
}
.smash-player-top{
  align-items:flex-start;
}

/* Player bottom-right: socials + app badges in one line */
.smash-player__socials{
  position: absolute;
  right: 18px;
  left: auto;
  bottom: 74px; /* justo encima del gráfico */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap; /* UNA SOLA FILA */
  width: auto;
  max-width: calc(100% - 36px);
  z-index: 5;
}
.smash-social{
  width: auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
}
.smash-socials{ flex-wrap: nowrap; }
.smash-app-inline{ flex-wrap: nowrap; }

/* App badges must be identical everywhere (no rounding into circles) */
.smash-app-badge{
  border-radius: 16px !important;
  height: 46px !important;
  padding: 0 18px !important;
}
.smash-app-badge__icon{
  border-radius: 12px !important;
}

.smash-app-inline__btn{ display:none !important; }

@media (max-width: 720px){
  .smash-player__socials{
  position: absolute;
  right: 18px;
  left: auto;
  bottom: 74px; /* justo encima del gráfico */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap; /* UNA SOLA FILA */
  width: auto;
  max-width: calc(100% - 36px);
  z-index: 5;
}
}

/* Keep bottom-right group compact (no full-width stretching) */
.smash-player__socials .smash-social{ width:auto !important; }
.smash-player__socials .smash-social,
.smash-player__socials .smash-socials,
.smash-player__socials .smash-app-inline{
  justify-content:flex-end;
  flex-wrap: nowrap;
}

/* Bottom-left group compact */
.smash-player__socials .smash-social{ width:auto !important; }
.smash-player__socials .smash-social,
.smash-player__socials .smash-socials,
.smash-player__socials .smash-app-inline{
  justify-content:flex-start;
  flex-wrap: nowrap;
}

/* Bottom-right: socials + app badges inline (same row) */
.smash-player__socials .smash-social{
  width: auto !important;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}
.smash-player__socials .smash-socials,
.smash-player__socials .smash-app-inline{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Make badges slightly more compact so everything fits in one row */
.smash-player__socials .smash-app-badge{
  height: 44px !important;
  padding: 0 14px !important;
}
.smash-player__socials .smash-app-badge__text strong{ font-size: 13px; }
.smash-player__socials .smash-app-badge__text small{ font-size: 10.5px; }

/* Safety: if the panel gets too small, allow wrapping on mobile only */
@media (max-width: 720px){
  .smash-player__socials{
    right: 12px;
    bottom: 70px;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;
  }
  .smash-player__socials .smash-social{ flex-wrap: wrap; justify-content:flex-end; }
  .smash-player__socials .smash-socials,
  .smash-player__socials .smash-app-inline{ flex-wrap: wrap; }
}

.smash-app-fab{ display:none !important; }

/* Bottom-right bar (socials + store badges) */
.smash-player{ position: relative; }
@media (max-width:720px){
  }

/* Bottombar: keep socials + apps aligned in one row */
/* Player bottom-right: redes + apps (misma fila) */
.smash-player{ position: relative; }
@media (max-width:720px){
  }

/* === Definitivo: redes + apps abajo a la derecha (una fila) === */
.smash-player{ position: relative; }

.smash-player__bottombar{ position:absolute !important; right:18px !important; bottom:10px !important; z-index:80 !important; }


.smash-player__bottombar .smash-social{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  flex-wrap: nowrap !important; /* una sola fila */
}

.smash-player__bottombar .smash-socials,
.smash-player__bottombar .smash-app-inline{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

/* badges un poco compactos para que siempre quepan */
.smash-player__bottombar .smash-app-badge{
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 16px !important;
}

@media (max-width: 720px){
  .smash-player__bottombar{ position:absolute !important; right:18px !important; bottom:10px !important; z-index:80 !important; }

  .smash-player__bottombar .smash-social{
    flex-wrap: wrap !important;
  }
  .smash-player__bottombar .smash-socials,
  .smash-player__bottombar .smash-app-inline{
    flex-wrap: wrap !important;
  }
}

/* === FIX DEFINITIVO: barra redes+apps abajo derecha === */
.smash-player{ position: relative; }
.smash-player__bottombar{ position:absolute !important; right:18px !important; bottom:10px !important; z-index:80 !important; }

.smash-bottombar__row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
  flex-wrap: nowrap !important;
}
.smash-player__bottombar .smash-socials,
.smash-player__bottombar .smash-app-inline{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap: nowrap !important;
}
@media (max-width:720px){
  .smash-player__bottombar{ right:12px !important; bottom:8px !important; }
  .smash-spectrum{ height:78px; }
}
  .smash-player__bottombar .smash-socials,
  .smash-player__bottombar .smash-app-inline{ flex-wrap: wrap !important; }
}


/* === FINAL FIX (v1.0.34c): redes + badges juntos abajo derecha, siempre visibles === */
.smash-player{ position: relative !important; }
.smash-player__bottombar{ position:absolute !important; right:18px !important; bottom:10px !important; z-index:80 !important; }


.smash-player__bottombar .smash-social{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.smash-player__bottombar .smash-socials{
  display:flex !important;
  align-items:center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.smash-player__bottombar .smash-app-inline{
  display:flex !important;
  align-items:center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.smash-player__bottombar .smash-app-badge{
  border-radius: 16px !important;
  height: 44px !important;
}

@media (max-width: 720px){
  .smash-player__bottombar{ position:absolute !important; right:18px !important; bottom:10px !important; z-index:80 !important; }

  .smash-player__bottombar .smash-social{
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
}


/* ===== Programación: hover pro (zoom + imagen) ===== */
.smash-showcard{
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

.smash-showcard__bg{
  position:absolute;
  inset:0;
  background-image: var(--showBg);
  background-size: 112%;
  background-position: center;
  opacity: .08;
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.02);
  transition: opacity .25s ease, transform .45s ease, filter .25s ease, background-size .45s ease;
  pointer-events:none;
}

.smash-showcard__shade{
  transition: opacity .25s ease;
}

.smash-showcard:hover{
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.22);
}

.smash-showcard:hover .smash-showcard__bg{
  opacity: .22;
  transform: scale(1.18);
  filter: saturate(1.35) contrast(1.06);
  background-size: 128%;
}

.smash-showcard:hover .smash-showcard__shade{
  opacity: .55;
}

/* Letras con efecto */
.smash-showcard__title{
  transition: transform .25s ease, letter-spacing .25s ease;
  transform-origin: left top;
}
.smash-showcard__time,
.smash-showcard__desc{
  transition: transform .25s ease, opacity .25s ease;
}

.smash-showcard:hover .smash-showcard__title{
  transform: scale(1.05);
  letter-spacing: .2px;
}

.smash-showcard:hover .smash-showcard__time{
  transform: translateY(1px);
  opacity: .95;
}

.smash-showcard:hover .smash-showcard__desc{
  transform: translateY(2px);
  opacity: 1;
}

/* Accesibilidad: también al focus con teclado */
.smash-showcard:focus-within,
.smash-showcard:focus{
  outline: none;
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}


/* ===== Header Nav Pro ===== */
.smash-topbar__inner{
  gap: 14px;
}
.smash-nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content:center;
  overflow:auto;
  scrollbar-width: none;
}
.smash-nav::-webkit-scrollbar{ display:none; }

.smash-nav__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  letter-spacing:.2px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(10px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.smash-nav__btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}
.smash-nav__btn.is-active{
  border-color: rgba(255,255,255,.38);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
}

/* Responsive: nav debajo en móvil */
@media (max-width: 860px){
  .smash-topbar__inner{ flex-wrap: wrap; }
  .smash-nav{ order: 10; width: 100%; justify-content:flex-start; }
}


/* ===== Header fijo + separaciones nav ===== */
.smash-topbar{
  position: sticky;
  top: 0;
  z-index: 999;
}

.smash-topbar__inner{
  padding-top: 10px;
  padding-bottom: 10px;
}

.smash-nav{
  gap: 14px;           /* más separación */
  padding: 0 10px;
}

.smash-nav__btn{
  margin: 0 2px;       /* micro separación extra */
  height: 42px;
  padding: 0 16px;
}

/* Evitar que el header tape los anchors al navegar por hash */
html{
  scroll-padding-top: 92px;
}
@media (max-width:860px){
  html{ scroll-padding-top: 132px; }
}


/* ===== Header PRO compacto (día/noche) ===== */
:root{
  --navBtnBg: rgba(255,255,255,.10);
  --navBtnBorder: rgba(255,255,255,.16);
  --navBtnText: rgba(255,255,255,.92);
  --navBtnBgHover: rgba(255,255,255,.16);
  --navBtnBorderHover: rgba(255,255,255,.26);
}
:root[data-theme="light"]{
  --navBtnBg: rgba(0,0,0,.06);
  --navBtnBorder: rgba(0,0,0,.10);
  --navBtnText: rgba(0,0,0,.82);
  --navBtnBgHover: rgba(0,0,0,.10);
  --navBtnBorderHover: rgba(0,0,0,.16);
}

.smash-topbar{
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.smash-topbar__inner{
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 12px;
}

.smash-brand{ gap: 10px; }
.smash-brand__logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
}
.smash-brand__name{ font-size: 14px; line-height: 1.1; }

.smash-nav{
  justify-content: center;
  gap: 10px;
  padding: 0 6px;
  min-width: 0;
}

.smash-nav__btn{
  height: 34px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navBtnText);
  background: var(--navBtnBg);
  border: 1px solid var(--navBtnBorder);
  box-shadow: none;
}
.smash-nav__btn:hover{
  transform: translateY(-1px);
  background: var(--navBtnBgHover);
  border-color: var(--navBtnBorderHover);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}
.smash-nav__btn.is-active{
  background: var(--navBtnBgHover);
  border-color: var(--navBtnBorderHover);
}

.smash-topbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
}

.smash-weatherbar{
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--navBtnBg);
  color: var(--navBtnText);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.smash-theme-toggle{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--navBtnBg);
  color: var(--navBtnText);
}

@media (max-width: 980px){
  .smash-topbar__inner{
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }
  .smash-topbar__right{
    justify-content: space-between;
  }
  .smash-nav{
    justify-content: flex-start;
  }
}


/* ===== Header: tablet y móvil (mejor UX) ===== */
@media (max-width: 860px){
  .smash-topbar__inner{
    padding-left: 10px;
    padding-right: 10px;
  }
  .smash-brand__name{ font-size: 13px; }
  .smash-weatherbar{
    font-size: 12px;
    padding: 7px 9px;
    border-radius: 12px;
  }
  .smash-theme-toggle{
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .smash-nav{
    gap: 8px;
    padding: 0 4px 6px 4px;
  }
  .smash-nav__btn{
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 13px;
  }
}

/* Móvil: nav en scroll suave, evita saltos y mantiene usable */
@media (max-width: 640px){
  .smash-topbar{
    position: sticky;
    top: 0;
  }
  .smash-topbar__inner{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .smash-topbar__right{
    gap: 8px;
  }
  .smash-nav{
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .smash-nav__btn{
    scroll-snap-align: start;
  }
  .smash-brand__logo{
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }
}

/* Tablet horizontal: reduce y centra mejor */
@media (min-width: 641px) and (max-width: 1024px){
  .smash-nav{
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .smash-nav__btn{
    height: 34px;
    padding: 0 11px;
    font-size: 12.5px;
  }
}

/* Ajuste global para anchors con header sticky en pantallas chicas */
@media (max-width: 640px){
  html{ scroll-padding-top: 140px; }
}


/* ===== Toggle día/noche: icono limpio (sol/luna) ===== */
.smash-theme-toggle{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.smash-theme-toggle__icon{
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
  transition: transform .18s ease;
}
.smash-theme-toggle:hover .smash-theme-toggle__icon{
  transform: translateY(0) scale(1.05);
}
.smash-theme-toggle::after{
  content:'';
  position:absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .0;
  transition: opacity .18s ease;
  pointer-events:none;
}
:root[data-theme="light"] .smash-theme-toggle::after{
  opacity: .22;
  background: radial-gradient( circle at 30% 30%, rgba(255,210,64,.55), transparent 55% );
}
:root[data-theme="dark"] .smash-theme-toggle::after{
  opacity: .18;
  background: radial-gradient( circle at 30% 30%, rgba(170,200,255,.35), transparent 55% );
}


/* ===== Splash Screen (tipo IsmaPlay) ===== */
.smash-splash{
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.smash-splash__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}
.smash-splash__logo{
  width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.55));
  animation: smashSplashPulse 1.2s ease-in-out infinite;
}
.smash-splash__text{
  color: #fff;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(20px, 5vw, 40px);
}
@keyframes smashSplashPulse{
  0%,100%{ transform: scale(1); opacity: .92; }
  50%{ transform: scale(1.04); opacity: 1; }
}
.smash-splash.is-hide{
  opacity: 0;
  visibility: hidden;
}


/* ===== Hover PRO: Noticias / Top Videos / Locutores ===== */
.smash-news-card, .smash-video-card, .smash-locutor{
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

/* Noticias: imagen destacada más grande */
.smash-news-card a > img{
  width: 100%;
  height: 190px;              /* más protagonismo */
  object-fit: cover;
  border-radius: 16px;
  transform: scale(1.02);
  transition: transform .45s ease, filter .25s ease;
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width: 720px){
  .smash-news-card a > img{ height: 170px; }
}

/* Videos */
.smash-video-card a > img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  transform: scale(1.02);
  transition: transform .45s ease, filter .25s ease;
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width: 720px){
  .smash-video-card a > img{ height: 170px; }
}

/* Locutores: imagen con zoom */
.smash-locutor > img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  transform: scale(1.02);
  transition: transform .45s ease, filter .25s ease;
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width: 720px){
  .smash-locutor > img{ height: 180px; }
}

/* Efecto hover (lift + zoom imagen + letras) */
.smash-news-card:hover,
.smash-video-card:hover,
.smash-locutor:hover{
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}

.smash-news-card:hover a > img,
.smash-video-card:hover a > img,
.smash-locutor:hover > img{
  transform: scale(1.10);
  filter: saturate(1.25) contrast(1.05);
}

.smash-news-card h3,
.smash-video-card h3,
.smash-locutor__name{
  transition: transform .25s ease, letter-spacing .25s ease;
  transform-origin: left top;
}

.smash-news-card:hover h3,
.smash-video-card:hover h3,
.smash-locutor:hover .smash-locutor__name{
  transform: scale(1.04);
  letter-spacing: .2px;
}

/* Accesibilidad: focus */
.smash-news-card:focus-within,
.smash-video-card:focus-within,
.smash-locutor:focus-within{
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}

/* ===== PWA install button ===== */
.smash-pwa-install{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--navBtnBg);
  color: var(--navBtnText);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.smash-pwa-install:hover{
  transform: translateY(-1px);
  background: var(--navBtnBgHover);
  border-color: var(--navBtnBorderHover);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}


/* ===== Nav de secciones: móvil ultra compacto (no se sale) ===== */
@media (max-width: 520px){
  .smash-nav{
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 6px 8px 6px !important;
  }
  .smash-nav__btn{
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
  }
  .smash-topbar__right{
    gap: 8px !important;
  }
  .smash-weatherbar{
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .smash-theme-toggle,
  .smash-pwa-install{
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 520px){
  .smash-splash__logo{
    width: min(280px, 74vw);
  }
}


/* ===== Fix definitivo: Nav en móvil no se sale ===== */
@media (max-width: 640px){
  .smash-topbar__inner{
    padding-left: 10px;
    padding-right: 10px;
  }
  .smash-nav{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 6px 10px 6px !important;
    scroll-snap-type: x mandatory;
  }
  .smash-nav__btn{
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }
  .smash-topbar__right{
    width: 100%;
    justify-content: space-between;
  }
  .smash-weatherbar{
    max-width: calc(100% - 96px);
  }
}

@media (max-width: 380px){
  .smash-nav__btn{
    height: 29px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }
}


/* ===== Player: 30% menos ancho (desktop) ===== */
@media (min-width: 1024px){
  .smash-grid--single .smash-player{
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px){
  .smash-grid--single .smash-player{
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Header PRO: hover con brillo + underline ===== */
.smash-nav__btn{
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.smash-nav__btn::after{
  content:'';
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}
.smash-nav__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.28);
}
.smash-nav__btn:hover::after{
  opacity: .55;
  transform: scaleX(1);
}
/* Estado activo (si ya existe clase) */
.smash-nav__btn.is-active,
.smash-nav__btn[aria-current="page"]{
  box-shadow: 0 14px 26px rgba(0,0,0,.22);
}
.smash-nav__btn.is-active::after,
.smash-nav__btn[aria-current="page"]::after{
  opacity: .65;
  transform: scaleX(1);
}


/* ===== Volumen (solo PC) ===== */
.smash-volume{ display:none; margin-top: 12px; width: 100%; }
.smash-volume__range{
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.20);
  outline: none;
}
.smash-volume__range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(0,0,0,.25);
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  cursor: pointer;
}
.smash-volume__range::-moz-range-thumb{
  width: 18px; height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(0,0,0,.25);
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  cursor: pointer;
}

@media (min-width: 1024px){
  .smash-volume{ display:block; }
}

/* ===== Header móvil: reordenar para que no se salga ===== */
@media (max-width: 720px){
  .smash-topbar__inner{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .smash-brand{ order: 1; }
  .smash-topbar__right{
    order: 2;
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .smash-weatherbar{
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .smash-pwa-install{ order: 2; }
  .smash-theme-toggle{ order: 3; }
  .smash-nav{
    order: 4;
    width: 100%;
    margin-top: 2px;
  }
}


/* ===== Player: 30% menos alto (PC) ===== */
@media (min-width: 1024px){
  .smash-player{
    min-height: 336px !important; /* 480 * 0.7 */
    padding-bottom: 84px !important; /* 120 * 0.7 */
  }
  .smash-player .smash-cover{
    width: 155px !important;  /* 221 * 0.7 */
    height: 155px !important;
    border-radius: 16px !important;
  }
  .smash-player .smash-now__title{
    font-size: 24px !important;
    line-height: 1.05 !important;
  }
  .smash-player .smash-now__artist{
    font-size: 16px !important;
  }
  .smash-spectrum{
    height: 60px !important;
  }
  .smash-player-ui{
    padding: 18px !important;
    padding-bottom: 78px !important; /* deja espacio para bottom bar + espectro */
  }
  .smash-player__bottombar{
    bottom: 10px !important;
  }
}


/* ===== Player 21:9 (PC) — mismo ancho del contenedor, menos grosor ===== */
@media (min-width: 1024px){
  /* Asegura mismo ancho que el resto de secciones */
  .smash-grid--single .smash-player{
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    aspect-ratio: 21 / 9;
    min-height: auto !important;
  }
  /* Reduce grosor visual */
  .smash-spectrum{
    height: 72px !important;
  }
  .smash-player-ui{
    padding: 18px !important;
    padding-bottom: 82px !important; /* espacio para espectro + barra inferior */
  }
  .smash-player-top{
    gap: 12px !important;
  }
  .smash-cover{
    width: clamp(150px, 13vw, 210px) !important;
    height: clamp(150px, 13vw, 210px) !important;
  }
  .smash-now__title{
    font-size: clamp(26px, 3.0vw, 40px) !important;
    line-height: 1.03 !important;
  }
  .smash-now__artist{
    font-size: clamp(15px, 1.4vw, 18px) !important;
  }
  .smash-player__bottombar{
    bottom: 8px !important;
  }
}

/* Tablet: mantiene proporción cómoda */
@media (min-width: 768px) and (max-width: 1023px){
  .smash-grid--single .smash-player{
    max-width: 100% !important;
    aspect-ratio: 21 / 10;
    min-height: auto !important;
  }
}

/* ===== Cards de contenido (Quiénes/Contacto) ===== */
.smash-card--content{
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: #0f1222;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}
[data-theme="dark"] .smash-card--content{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.smash-card--content a{ font-weight: 700; }


/* ===== Player: 35% menos grosor (PC) ===== */
@media (min-width: 1024px){
  /* 21:9 -> ~32:9 para bajar altura ~35% manteniendo ancho */
  .smash-grid--single .smash-player{
    aspect-ratio: 32 / 9 !important;
  }
  .smash-player-ui{
    padding: 16px !important;
    padding-bottom: 72px !important;
  }
  .smash-spectrum{
    height: 58px !important;
  }
  .smash-player__bottombar{
    bottom: 6px !important;
  }
  .smash-volume{ margin-top: 10px !important; }
}

@media (min-width: 768px) and (max-width: 1023px){
  .smash-grid--single .smash-player{
    aspect-ratio: 26 / 9 !important;
  }
  .smash-spectrum{ height: 56px !important; }
}


/* =========================
   HEADER PRO (doble fila)
   ========================= */
.smash-topbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
[data-theme="light"] .smash-topbar{
  background: rgba(245,246,248,.86);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
[data-theme="dark"] .smash-topbar{
  background: rgba(10,12,16,.62);
}

.smash-topbar__inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.smash-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
  max-width: 320px;
}
.smash-brand__name{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smash-topbar__right{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.smash-topbar__row--top{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.smash-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Weather pill */
.smash-weatherbar{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  user-select:none;
}
[data-theme="light"] .smash-weatherbar{
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.74);
}
[data-theme="dark"] .smash-weatherbar{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}

/* Nav row */
.smash-nav{
  width: 100%;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* Botones PRO */
.smash-nav__btn{
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .smash-nav__btn{
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.82);
}
.smash-nav__btn::before{
  content:'';
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.30), rgba(255,255,255,0) 60%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events:none;
}
.smash-nav__btn:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.smash-nav__btn:hover::before{
  opacity: 1;
  transform: translateY(0);
}
.smash-nav__btn::after{
  content:'';
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
}
.smash-nav__btn:hover::after{
  opacity: .55;
  transform: scaleX(1);
}

/* Botones acciones */
.smash-theme-toggle,
.smash-pwa-install{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
[data-theme="light"] .smash-theme-toggle,
[data-theme="light"] .smash-pwa-install{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.06);
}
.smash-theme-toggle:hover,
.smash-pwa-install:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.20);
}

/* ===== Responsive: móvil/tablet ===== */
@media (max-width: 900px){
  .smash-topbar__inner{
    align-items: center;
  }
  .smash-brand{ max-width: 100%; }
  .smash-topbar__right{
    align-items: stretch;
  }
  .smash-topbar__row--top{
    justify-content: space-between;
    width: 100%;
  }
  .smash-weatherbar{
    max-width: calc(100% - 98px);
    overflow:hidden;
  }
  .smash-weatherbar__city{
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    max-width: 64vw;
    display:inline-block;
  }
  /* Nav abajo con scroll horizontal, sin salirse */
  .smash-nav{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 8px;
    scroll-snap-type: x mandatory;
  }
  .smash-nav__btn{
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 12px;
    padding: 7px 11px;
  }
}

@media (max-width: 520px){
  .smash-topbar__inner{
    flex-wrap: wrap;
  }
  .smash-topbar__right{
    width: 100%;
  }
}


/* Anchor para 'Inicio' */
.smash-anchor{ position: relative; top: -120px; height: 1px; width: 1px; }

/* Nav main y secondary */
.smash-nav--main{
  width: 100%;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.smash-nav--secondary{
  width: 100%;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}
.smash-nav__btn--ghost{
  background: transparent !important;
  border-style: dashed !important;
  opacity: .95;
}
.smash-nav__btn--ghost:hover{
  opacity: 1;
}

/* En móvil: main con scroll, secondary fija al final (solo 2 botones) */
@media (max-width: 900px){
  .smash-nav--main{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 8px;
    scroll-snap-type: x mandatory;
  }
  .smash-nav--secondary{
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
}


/* ===== Category badge (debajo de imagen destacada) ===== */
.smash-cat-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .25px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  width: fit-content;
}
.smash-cat-badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  filter: saturate(1.1);
}

/* Colores solicitados */
.smash-cat--novedades{
  background: #FFD400; /* amarillo */
  color: #101018;
  border-color: rgba(0,0,0,.14);
}
.smash-cat--entretenimiento{
  background: #FF7A00; /* naranja */
  color: #101018;
  border-color: rgba(0,0,0,.12);
}
.smash-cat--info{
  background: #FFFFFF; /* blanco */
  color: #101018;
  border-color: rgba(0,0,0,.14);
}
.smash-cat--espectaculos{
  background: #FFC107; /* ámbar */
  color: #101018;
  border-color: rgba(0,0,0,.14);
}
.smash-cat--default{
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.18);
}

/* En tema claro, default se ve oscuro */
[data-theme="light"] .smash-cat--default{
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.82);
  border-color: rgba(0,0,0,.10);
}

/* Ajuste debajo de imagen en cards */
.smash-news-card .smash-cat-badge,
.smash-video-card .smash-cat-badge{
  margin-left: 2px;
}


/* ===== Noticias: badge debajo de imagen (visible en home) ===== */
.smash-news-card a{
  display:flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.smash-news-card a .smash-cat-badge{
  margin: 10px 12px 0;
}


/* ===== Badge en cards (sin link) ===== */
.smash-news-card .smash-cat-badge{
  margin: 10px 12px 0;
  align-self: flex-start;
}


/* Noticias: badge dentro del body (visible) */
.smash-news-card__body .smash-cat-badge{ margin: 0 0 10px; }


/* Noticias: asegurar visibilidad texto/badge */
.smash-news-card__body{ color: var(--text); }

/* Modal: botones Inicio / Ver todas */
.smash-news-modal__nav{
  position:absolute;
  left:16px;
  bottom:16px;
  display:flex;
  gap:10px;
}
.smash-news-modal__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.smash-news-modal__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  background: rgba(0,0,0,.48);
}


/* ===== Páginas internas (Quiénes Somos / Contacto) ===== */
.smash-page{ padding: 10px 0 40px; }
.smash-page-section .smash-card{
  margin-top: 14px;
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
[data-theme="light"] .smash-page-section .smash-card{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.08);
}
.smash-prose{ color: var(--text); line-height: 1.65; font-size: 16px; }
.smash-prose h1,.smash-prose h2,.smash-prose h3{ margin: 0 0 10px; }
.smash-prose p{ margin: 0 0 12px; }
.smash-prose a{ font-weight: 800; }

/* ===== Quiénes Somos / Contacto ===== */
.smash-page{ padding: 10px 0 40px; }
.smash-page-section .smash-card{
  margin-top: 14px;
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
[data-theme="light"] .smash-page-section .smash-card{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.08);
}
.smash-prose{ color: var(--text); line-height: 1.65; font-size: 16px; }
.smash-prose p{ margin: 0 0 12px; }
.smash-prose a{ font-weight: 800; }

.smash-contact-list{ margin: 12px 0 14px; padding-left: 18px; }
.smash-contact-list li{ margin: 8px 0; }

.smash-map{
  width:100%;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.20);
}
[data-theme="light"] .smash-map{ border-color: rgba(0,0,0,.10); }
.smash-map iframe{ width:100%; height: 360px; border:0; display:block; }
@media (max-width: 520px){ .smash-map iframe{ height: 280px; } }
.smash-small{ font-size: 12px; }

/* ===== News readability ===== */
.smash-news-card__body{
  background: rgba(0,0,0,.52);
  border-top: 1px solid rgba(255,255,255,.10);
}
.smash-news-card__body h3{ color: #fff; }
.smash-news-card__body .smash-muted{ color: rgba(255,255,255,.82); }

[data-theme="light"] .smash-news-card__body{
  background: rgba(255,255,255,.96);
  border-top-color: rgba(0,0,0,.08);
}
[data-theme="light"] .smash-news-card__body h3{ color: #111; }
[data-theme="light"] .smash-news-card__body .smash-muted{ color: rgba(0,0,0,.62); }

/* Modal body readability */
.smash-news-modal__body{
  background: rgba(8,10,14,.78);
}
[data-theme="light"] .smash-news-modal__body{
  background: rgba(255,255,255,.98);
}
[data-theme="light"] .smash-news-modal__title{ color:#111; }
[data-theme="light"] .smash-news-modal__content{ color: rgba(0,0,0,.72); }

/* ===== PWA Install button (pro) ===== */
.smash-pwa-install{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.smash-pwa-install:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.40);
  box-shadow: 0 14px 26px rgba(0,0,0,.26);
}
.smash-pwa-install__icon{
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}
[data-theme="light"] .smash-pwa-install{
  background: rgba(255,255,255,.88);
  color: #111;
  border-color: rgba(0,0,0,.10);
}
[data-theme="light"] .smash-pwa-install__icon{
  background: rgba(0,0,0,.06);
}
@media (max-width: 520px){
  .smash-pwa-install__text{ display:none; }
  .smash-pwa-install{ padding: 10px; }
}


/* --- Fixes: legibilidad en modo día (quienes somos / contacto) + panel de texto en noticias --- */
.smash-news-card__body{
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 18px 18px;
}
[data-theme="light"] .smash-news-card__body{
  background: rgba(255,255,255,.92);
}
[data-theme="light"] .smash-page-card .smash-prose,
[data-theme="light"] .smash-page-card .smash-prose *{
  color: var(--text) !important;
}
[data-theme="light"] .smash-page-card .smash-prose a{
  color: var(--link) !important;
}




/* === Pro Install Button === */
.smash-pwa-install--pro{
  position:relative;
  width:auto;
  min-height:40px;
  height:40px;
  padding:8px 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: linear-gradient(135deg, rgba(255,184,0,.95), rgba(255,115,0,.95));
  border:1px solid rgba(255,255,255,.18);
  color:#161616;
  font-weight:900;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  user-select:none;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  overflow:hidden;
}
.smash-pwa-install--pro:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%);
  opacity:.6;
  pointer-events:none;
  transition: opacity .18s ease;
}
.smash-pwa-install--pro .smash-pwa-install__icon{
  width:28px;
  height:28px;
  border-radius:10px;
  background: rgba(0,0,0,.14);
  display:grid;
  place-items:center;
}
.smash-pwa-install--pro .smash-pwa-install__text{
  font-weight:900;
  letter-spacing:.2px;
}
.smash-pwa-install--pro:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow:0 14px 34px rgba(0,0,0,.32);
  filter:saturate(1.08);
}
.smash-pwa-install--pro:hover:before{ opacity:.9; }
.smash-pwa-install--pro:active{
  transform: translateY(0) scale(.99);
}

/* Keep news excerpt readable in Day mode */
body.theme-day .smash-news-card__body{
  background: rgba(255,255,255,.92) !important;
  color: #0b1220 !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.theme-day .smash-news-card__body .smash-muted{
  color: rgba(11,18,32,.78) !important;
}
body.theme-day .smash-news-card__body .smash-title{
  color: #0b1220 !important;
}
body.theme-day .smash-news-card__body .smash-news-badge{
  border-color: rgba(0,0,0,.10);
}

/* News modal: bigger featured image */
.smash-news-modal__hero{
  height: 320px;
  overflow:hidden;
}
@media (max-width: 820px){
  .smash-news-modal__hero{ height: 240px; }
}
.smash-news-modal__hero-img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}
.smash-news-modal__hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65));
}
.smash-news-modal__badge{
  display:none;
  margin-bottom: 10px;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .3px;
  width: fit-content;
  color: #0b0f18;
}
.smash-news-modal__badge[data-category*="novedades"]{ background:#ffd400; }
.smash-news-modal__badge[data-category*="entretenimiento"]{ background:#ff8c2a; }
.smash-news-modal__badge[data-category*="política"],
.smash-news-modal__badge[data-category*="politica"],
.smash-news-modal__badge[data-category*="nacional"],
.smash-news-modal__badge[data-category*="internacional"]{ background:#ffffff; }
.smash-news-modal__badge[data-category*="espectáculos"],
.smash-news-modal__badge[data-category*="espectaculos"]{ background:#ffb000; }

/* Video modal */
.smash-video-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.smash-video-modal.is-open{ display:block; }
.smash-video-modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.smash-video-modal__panel{
  position: relative;
  max-width: 980px;
  width: calc(100% - 32px);
  margin: 64px auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,16,26,.92);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
@media (max-width: 820px){
  .smash-video-modal__panel{ margin: 24px auto; }
}
.smash-video-modal__frame-wrap{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.smash-video-modal__frame-wrap iframe{
  position:absolute; inset:0;
  width:100%;
  height:100%;
}

/* Locutores modal: allow full image + scroll description */
.smash-locutor-modal__img{
  max-height: 360px;
  object-fit: cover;
}
@media (max-width: 820px){
  .smash-locutor-modal__img{ max-height: 260px; }
}
.smash-locutor-modal__body{
  max-height: calc(85vh - 360px);
  overflow: auto;
}


/* --- EN VIVO (botón con pulso rojo) --- */
.smash-btn--live{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.92) !important;
  border-color: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.smash-btn--live::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.65);
  animation: smashLivePulse 1.15s ease-out infinite;
  flex: 0 0 auto;
}
.smash-btn--live:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.smash-btn--live:active{
  transform: translateY(0);
}
@keyframes smashLivePulse{
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.70); background: #fff; }
  65%  { box-shadow: 0 0 0 14px rgba(255, 59, 59, 0.00); background: #fff; }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.00); background: #fff; }
}
/* Reduce animación si el usuario lo solicita */
@media (prefers-reduced-motion: reduce){
  .smash-btn--live::before{ animation: none; box-shadow: none; }
  .smash-btn--live:hover, .smash-btn--live:active{ transform: none; }
}

