.eds-clima-local{
  width:100%;
  display:flex;
  justify-content:center;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:#fff;
  text-align:center;
  box-sizing:border-box;
}

.eds-clima-local *{box-sizing:border-box;}

.eds-clima-local__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.1;
  color:#fff;
  background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.72));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  backdrop-filter:blur(10px);
}

.eds-clima-local__box{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  min-height:62px;
  padding:10px 14px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(15,23,42,.88), rgba(15,23,42,.78));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
}

.eds-clima-local__weather{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:nowrap;
  width:100%;
}

.eds-clima-local__icon-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}

.eds-clima-local__icon{
  width:42px;
  height:42px;
  object-fit:contain;
}

.eds-clima-local__content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  min-width:0;
  text-align:left;
}

.eds-clima-local__place{
  font-size:14px;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.eds-clima-local__line{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  font-size:12px;
  color:rgba(255,255,255,.86);
}

.eds-clima-local__desc{
  font-weight:500;
}

.eds-clima-local__temp{
  font-size:20px;
  font-weight:800;
  line-height:1;
  color:#fff;
}

.eds-clima-local__chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.08);
  font-size:11px;
  font-weight:700;
}

.eds-clima-local-topbar{
  position:fixed;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:min(92vw, 560px);
  z-index:999999;
  border-radius:14px;
  background:rgba(15,23,42,.96);
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
}

.eds-clima-local-topbar.is-blocked{
  background:rgba(127,29,29,.96);
}

.eds-clima-local-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
}

.eds-clima-local-topbar__content{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.eds-clima-local-topbar__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  flex:0 0 8px;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
}

.eds-clima-local-topbar.is-blocked .eds-clima-local-topbar__dot{
  background:#fca5a5;
  box-shadow:0 0 0 4px rgba(252,165,165,.14);
}

.eds-clima-local-topbar__text{
  font-size:11px;
  line-height:1.25;
  color:#fff;
}

.eds-clima-local-topbar__actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}

.eds-clima-local-topbar__btn,
.eds-clima-local-topbar__close{
  appearance:none;
  border:0;
  cursor:pointer;
  border-radius:999px;
  color:#fff;
}

.eds-clima-local-topbar__btn{
  padding:6px 10px;
  font-size:10px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
}

.eds-clima-local-topbar__btn:hover,
.eds-clima-local-topbar__btn:focus-visible{
  background:rgba(255,255,255,.18);
  outline:none;
}

.eds-clima-local-topbar__close{
  width:28px;
  height:28px;
  font-size:17px;
  line-height:1;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
}

.eds-clima-local-topbar__close:hover,
.eds-clima-local-topbar__close:focus-visible{
  background:rgba(255,255,255,.16);
  outline:none;
}

@media (max-width: 768px){
  .eds-clima-local__box{
    min-height:60px;
    padding:9px 12px;
    border-radius:16px;
  }

  .eds-clima-local__weather{
    gap:10px;
    align-items:center;
  }

  .eds-clima-local__icon-wrap{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .eds-clima-local__icon{
    width:38px;
    height:38px;
  }

  .eds-clima-local__place{
    font-size:13px;
  }

  .eds-clima-local__line{
    font-size:11px;
    gap:6px;
  }

  .eds-clima-local__temp{
    font-size:18px;
  }

  .eds-clima-local-topbar{
    top:6px;
    width:min(96vw, 96vw);
    border-radius:13px;
  }

  .eds-clima-local-topbar__inner{
    padding:8px 9px;
    gap:7px;
  }

  .eds-clima-local-topbar__text{
    font-size:10px;
  }

  .eds-clima-local-topbar__btn{
    padding:6px 9px;
    font-size:10px;
  }

  .eds-clima-local-topbar__close{
    width:26px;
    height:26px;
    font-size:15px;
  }
}
