*{box-sizing:border-box}body{margin:0;background:#0f3ed5;font:600 14px "DejaVu Sans",Arial,sans-serif;color:#550c58}button,input,select{font:inherit}button,a{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #fea900;outline-offset:2px}.shell{max-width:1224px;margin:16px auto 27px;background:white;border-radius:20px;overflow:hidden}header,.row,#chips,.actions{display:flex;align-items:center}header{height:83px;padding:0 24px 0 64px;justify-content:space-between;gap:12px}.brand{width:224px;display:block}nav{display:flex;gap:4px}nav a{font-size:13px;font-weight:800;padding:16px 11px;color:#1c0f20;border-radius:12px}nav a.on{background:#ac00fa;color:white}#buscar{border-radius:50%;width:39px;height:39px;background:#f6f3f8;color:#3c005c;font-size:23px;transform:rotate(35deg)}h1,h2{font-size:24px;letter-spacing:-.8px;margin:0;line-height:1.3}h3{font-size:14px;letter-spacing:.5px;margin:0 0 18px}h3:after{content:'';display:block;background:#8e14e5;width:42px;height:3px;margin-top:7px}.countries{padding:23px 26px 25px;background:#0f3ed5;color:white}.row{justify-content:space-between;gap:10px}.more{color:white;background:#737373;font-size:12px;padding:3px 5px;font-weight:800}.countries #chips{margin-top:19px}#chips{gap:8px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:6px;background:white;color:#17111e;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:800;box-shadow:0 3px 6px #32005230}.flag{font-size:25px;line-height:24px}.catalog{padding:23px 21px 26px}#cards{margin-top:12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.card{overflow:hidden;border-radius:13px;box-shadow:0 4px 12px #0002;background:white;min-width:0}.art{position:relative;aspect-ratio:1;display:block}.art img{width:100%;height:100%;object-fit:cover;display:block}.play,.heart,.count{position:absolute;box-shadow:0 2px 8px #0003;border-radius:99px}.play,.heart{background:white;color:#111;width:36px;height:36px}.play{bottom:9px;right:9px}.heart{right:8px;top:8px;opacity:0;color:#7900c7}.card:hover .heart,.heart:focus,.heart.saved{opacity:1}.count{top:8px;left:8px;background:#27212c;color:white;font-size:10px;padding:4px 8px}.caption{display:flex;align-items:center;gap:3px;padding:7px 7px;height:44px;font-size:18px}.caption button{flex:1;color:white;border-radius:20px;padding:8px 2px;font:bold 11px Arial}.genres{margin-top:46px}.genres h2{font-size:22px;margin-bottom:14px}#genres,.choices{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.genre,.choice{background:#ededed;color:#750678;padding:14px 8px;text-align:center;border-radius:11px;font-size:13px}.foot{max-width:1182px;margin:auto;display:grid;grid-template-columns:1.5fr .85fr .95fr 1.3fr;padding:39px 0 25px}.foot>div+div{border-left:1px solid #ebdff0;padding:0 24px}.footbrand{width:min(95%,305px);display:block;margin:18px 0}.wave{width:125px;display:block}.foot small{font-size:12px}.foot a,.foot .socialbtn,.foot p{display:block;margin:0 0 7px;padding:4px 0;font-size:12px}.foot .socialbtn{width:100%;text-align:left;color:#fff;padding:5px 9px}.legal{border-top:1px solid #eee;display:flex;align-items:center;justify-content:center;gap:15px;padding:17px;font-size:10px}.legal span{width:min(65%,970px)}.legal button{background:none;color:inherit;font:inherit}footer{background:white}#register{position:fixed;right:17px;bottom:30px;width:min(12vw,218px);background:transparent;text-align:left;color:white;text-shadow:0 1px 3px #580874;padding:0}#register img{width:100%}#register span{display:block;font-size:12px;line-height:1.6;max-width:150px}dialog{width:min(94%,510px);max-height:86dvh;border:0;border-radius:18px;padding:30px;color:#4b1056;box-shadow:0 12px 60px #23002948}dialog::backdrop{background:#25002d88}#dismiss{float:right;border-radius:50%;width:32px;height:32px;font-size:20px}label{display:grid;gap:5px;margin:12px 0}input,select{padding:10px;border:1px solid #d8c6de;border-radius:8px;max-width:100%}.primary,.secondary{border-radius:8px;padding:10px 14px;background:#7906ce;color:white}.secondary{background:#f0e9f5;color:#5c156b}.item{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.choices{margin:12px 0}.empty{grid-column:1/-1;padding:25px;background:#faf6fc;border-radius:12px}#player{position:fixed;z-index:3;bottom:13px;left:50%;transform:translateX(-50%);width:min(1116px,95vw);display:flex;align-items:center;gap:15px;padding:10px 18px;border:1px solid white;border-radius:20px;background:#b79a76;color:white;box-shadow:0 8px 28px #341c2b42;overflow:hidden;isolation:isolate}#player:before{content:'';position:absolute;inset:20% 0 0;background:repeating-linear-gradient(90deg,#fff2 0 15px,transparent 15px 20px);clip-path:polygon(0 60%,7% 20%,16% 75%,23% 30%,32% 62%,40% 11%,49% 60%,60% 0,71% 65%,79% 18%,88% 70%,100% 40%,100% 100%,0 100%);z-index:-1}#cover{width:85px;height:85px;border-radius:11px;object-fit:cover}.song{flex:1}.song strong,.song small{display:block}.song strong{font-size:20px}.song small{margin-top:7px}.actions{gap:6px;flex-wrap:wrap}.actions button{color:white;background:transparent;font-size:22px}.actions #toggle{border:1px solid white;border-radius:50%;width:48px;height:48px}.actions input{width:88px}#player:fullscreen{width:100%;height:100%;left:0;transform:none;flex-direction:column;justify-content:center}#player:fullscreen .song{flex:0;text-align:center}#player:fullscreen #cover{width:min(48vw,380px);height:auto}[hidden]{display:none!important}body.listening{padding-bottom:100px}.admin{max-width:860px;margin:30px auto;background:white;padding:30px;border-radius:18px}.admin h2{margin-top:25px}.admin form{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}.admin button{margin:3px}input[type=checkbox]{justify-self:start}
@media(max-width:1450px){#register{width:130px;right:5px}#register span{display:none}}@media(max-width:1100px){header{padding:12px 15px}.brand{width:170px}.shell{margin:10px}.foot{padding:30px 16px}#cards{grid-template-columns:repeat(4,minmax(0,1fr))}#register{position:static;background:#0f3ed5;display:block;margin:6px auto}nav a{padding:13px 7px}}
@media(max-width:760px){header{height:auto;flex-wrap:wrap}.brand{width:155px}nav{order:3;width:100%;overflow:auto;padding:2px 0}nav a{white-space:nowrap}.shell{border-radius:16px}.countries,.catalog{padding:17px 13px}.row{align-items:start}h1,h2{font-size:20px}.more{font-size:10px}.countries #chips{margin-top:14px}#cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.heart{opacity:1;width:27px;height:27px}.genres{margin-top:28px}#genres,.choices{grid-template-columns:repeat(2,1fr)}.foot{grid-template-columns:1fr 1fr;gap:18px}.foot>div+div{padding:0 10px}.footbrand{margin-top:0}.legal{flex-wrap:wrap}.legal span{width:100%;text-align:center}#player{gap:8px;flex-wrap:wrap;padding:9px 12px}#cover{width:48px;height:48px}.song strong{font-size:16px}.actions{justify-content:center}.actions #toggle{width:35px;height:35px}.admin form{grid-template-columns:1fr}}@media(max-width:480px){#cards{grid-template-columns:repeat(2,minmax(0,1fr))}.actions{width:100%}.foot{font-size:12px}.foot>div{min-width:0;overflow-wrap:anywhere}}


/* Formulario de registro de emisoras: diseño adaptable para móvil y escritorio */
#modal {
  position: relative; box-sizing: border-box; width: min(92vw, 540px); max-width: 540px;
  max-height: min(90dvh, 820px); overflow-x: hidden; overflow-y: auto;
  padding: clamp(22px, 4vw, 32px); border: 1px solid #e5eaf7; border-radius: 20px;
  background: #fff; color: #241044; box-shadow: 0 24px 80px #071b5b45; overscroll-behavior: contain;
}
#modal #dismiss {
  position: sticky; float: right; top: 0; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; margin: -8px -8px 0 12px; border: 0; border-radius: 50%;
  background: #f0f3fb; color: #172b68; font-size: 23px; line-height: 1;
}
#modal #inside h2 { margin: 2px 44px 22px 0; color: #142b78; font-size: clamp(21px, 4vw, 25px); line-height: 1.25; letter-spacing: -.5px; }
#modal .registration-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; min-width: 0; }
#modal .registration-form label { display: grid; gap: 7px; min-width: 0; margin: 0; color: #252b45; font-size: 13px; font-weight: 800; }
#modal .registration-form input:not([type="file"]) {
  display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px;
  padding: 11px 13px; border: 1px solid #d6dff5; border-radius: 10px; background: #fbfcff;
  color: #17213e; font-size: 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#modal .registration-form input:not([type="file"]):focus { border-color: #0f3ed5; background: #fff; box-shadow: 0 0 0 3px #0f3ed51c; }
#modal .registration-form input[type="file"] {
  box-sizing: border-box; display: block; width: 100%; min-width: 0; padding: 10px;
  border: 1px dashed #aebde9; border-radius: 10px; background: #f7f9ff; color: #303b5c; font-size: 12px;
}
#modal .registration-form small { display: block; margin-top: 2px; color: #65708a; font-size: 11px; font-weight: 500; line-height: 1.5; }
#modal #registration-preview { box-sizing: border-box; width: 76px; height: 76px; padding: 5px; border: 1px solid #e1e7f5; border-radius: 12px; background: #fff; object-fit: contain; }
#modal .registration-form .primary {
  width: 100%; min-height: 48px; margin: 2px 0 0; border: 0; border-radius: 11px;
  background: #0f3ed5; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 6px 16px #0f3ed52b;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
#modal .registration-form .primary:hover:not(:disabled) { background: #0b32b3; box-shadow: 0 8px 20px #0f3ed53b; transform: translateY(-1px); }
#modal .registration-form .primary:disabled { cursor: wait; opacity: .65; }
#modal .registration-form [role="status"] { min-height: 0; margin: 0; color: #b42318; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  #modal { width: calc(100vw - 20px); max-width: none; max-height: calc(100dvh - 20px); margin: auto; padding: 20px 16px 18px; border-radius: 16px; }
  #modal #dismiss { width: 34px; height: 34px; margin: -5px -4px 0 10px; }
  #modal #inside h2 { margin-bottom: 18px; font-size: 21px; }
  #modal .registration-form { gap: 12px; }
  #modal .registration-form input:not([type="file"]) { min-height: 44px; font-size: 16px; }
  #modal .registration-form input[type="file"] { font-size: 12px; }
}


/* ===== Footer profesional Mi Radio: identidad azul #0f3ed5 ===== */
footer {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(91,150,255,.30), transparent 34%),
    radial-gradient(ellipse at 88% 90%, rgba(65,113,255,.22), transparent 32%),
    linear-gradient(128deg, #0f3ed5 0%, #0b32b9 54%, #08268f 100%);
}
footer::before, footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
}
footer::before {
  width: 420px; height: 420px; right: -155px; top: -235px;
  box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.02);
}
footer::after {
  width: 280px; height: 280px; left: -155px; bottom: -190px;
  box-shadow: 0 0 0 22px rgba(255,255,255,.025), 0 0 0 46px rgba(255,255,255,.018);
}
footer .foot {
  position: relative; z-index: 1; max-width: 1182px;
  grid-template-columns: 1.45fr .72fr 1.08fr 1.15fr;
  gap: 0; padding: 48px 22px 38px;
}
footer .foot > div { min-width: 0; }
footer .foot > div + div {
  border-left: 1px solid rgba(255,255,255,.18); padding: 3px 24px 0;
}
footer .footbrand {
  width: min(95%,260px); max-height: 76px; object-fit: contain; object-position: left center;
  margin: 7px 0 15px; filter: brightness(0) invert(1) drop-shadow(0 5px 12px rgba(0,0,0,.12));
}
footer .wave {
  width: 112px; height: 25px; object-fit: contain; object-position: left center;
  margin: 0 0 14px; filter: brightness(0) invert(1); opacity: .82;
}
footer .foot small {
  display: block; max-width: 290px; color: rgba(255,255,255,.83);
  font-size: 12px; font-weight: 500; line-height: 1.8;
}
footer .foot h3 {
  margin: 4px 0 18px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: 1.1px;
}
footer .foot h3::after {
  width: 38px; height: 3px; margin-top: 10px; border-radius: 4px;
  background: linear-gradient(90deg,#fff,#79c7ff);
}
footer #footnav a {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  margin: 0 0 9px; padding: 4px 0; color: rgba(255,255,255,.88);
  font-size: 12px; font-weight: 600; transition: color .18s ease, transform .18s ease;
}
footer #footnav a::before { content: "›"; color: #9ed5ff; font-size: 17px; line-height: 12px; }
footer #footnav a:hover { color: #fff; text-decoration: none; transform: translateX(4px); }
footer #social { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
footer #social .socialbtn {
  display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; min-height: 42px;
  margin: 0; padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 11px;
  background: rgba(255,255,255,.12) !important; color: #fff; font-size: 11px; font-weight: 800;
  text-align: left; box-shadow: 0 5px 14px rgba(0,12,75,.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
footer #social .socialbtn::before {
  display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center;
  border-radius: 8px; background: #fff; color: #0f3ed5;
  font-family: Arial,sans-serif; font-size: 16px; font-weight: 900; line-height: 1;
}
footer #social .socialbtn:nth-child(1)::before { content: "f"; color: #1877f2; }
footer #social .socialbtn:nth-child(2)::before { content: "◎"; color: #d62976; font-size: 19px; }
footer #social .socialbtn:nth-child(3)::before { content: "▶"; color: #e62117; font-size: 12px; }
footer #social .socialbtn:nth-child(4)::before { content: "♪"; color: #111; font-size: 18px; }
footer #social .socialbtn:nth-child(5)::before { content: "◔"; color: #0ca454; font-size: 18px; }
footer #social .socialbtn:hover {
  transform: translateY(-2px); background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.55); text-decoration: none;
}
footer #contact p {
  display: flex; align-items: center; gap: 9px; min-height: 38px;
  margin: 0 0 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; background: rgba(255,255,255,.075); color: rgba(255,255,255,.9);
  font-size: 11px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere;
}
footer .legal {
  position: relative; z-index: 1; justify-content: space-between; gap: 12px;
  padding: 17px max(24px,calc((100% - 1138px)/2));
  border-top: 1px solid rgba(255,255,255,.18); background: rgba(3,20,83,.24);
  color: rgba(255,255,255,.82); font-size: 10px;
}
footer .legal span { width: auto; flex: 1; }
footer .legal a, footer .legal button {
  color: rgba(255,255,255,.9); font-weight: 700; white-space: nowrap; transition: color .18s ease;
}
footer .legal a:hover, footer .legal button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) {
  footer .foot { grid-template-columns: 1.2fr 1fr; gap: 28px 0; padding: 38px 24px 30px; }
  footer .foot > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  footer .foot { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 25px 14px; padding: 30px 18px 25px; }
  footer .foot > div:first-child {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(105px,150px) minmax(0,1fr);
    align-items: center; column-gap: 16px;
  }
  footer .footbrand { grid-column: 1; width: 100%; margin: 0; }
  footer .wave { display: none; }
  footer .foot small { grid-column: 2; grid-row: 1; max-width: none; font-size: 11px; }
  footer .foot > div + div { padding: 0 0 0 12px; }
  footer .foot > div:nth-child(2), footer .foot > div:nth-child(3) { border-left: 0; }
  footer .foot h3 { margin-bottom: 13px; font-size: 12px; }
  footer #social { grid-template-columns: 1fr; gap: 7px; }
  footer #social .socialbtn { min-height: 38px; padding: 6px 8px; font-size: 10px; }
  footer #social .socialbtn::before { flex-basis: 23px; width: 23px; height: 23px; }
  footer #contact p { padding: 7px 8px; font-size: 10px; }
  footer .legal { flex-wrap: wrap; justify-content: center; padding: 15px 16px; gap: 10px 14px; text-align: center; }
  footer .legal span { flex: 0 0 100%; text-align: center; margin-bottom: 3px; }
}
@media (max-width: 380px) {
  footer .foot { grid-template-columns: 1fr; }
  footer .foot > div:first-child { grid-column: 1; grid-template-columns: 112px minmax(0,1fr); }
  footer .foot > div + div { padding: 0; }
  footer #social { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
