#asun-radar {
  direction: rtl;
  width: 100%;
}

/* ================= Tabs ================= */

.asun-tabs-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.asun-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.asun-tab {
  padding: 8px 14px;
  background: #5f5f5f;
  border-radius: 0 7px 0 7px;
  cursor: pointer;
  font-size: 15px;
  transition: .25s ease;
  user-select: none;
}

.asun-tab:hover {
  opacity: .85;
}

.asun-tab.active {
  background: #a46497;
  color: #fff;
}

/* ================= Refresh ================= */

.asun-refresh {
  background: none;
  border: none;
  padding: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .5;
  transition: transform .4s ease, opacity .2s ease;
  font-size: 16px;
}

.asun-refresh:hover {
  opacity: 1;
  transform: rotate(180deg);
}

/* ================= Grid ================= */

.asun-grid-wrapper {
  position: relative;
  min-height: 260px;
}

/* Mobile First */
.asun-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.asun-grid.asun-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (min-width: 768px) {
  .asun-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .asun-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ================= Card ================= */

.asun-card {
  background: rgba(149, 148, 148, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 0 7px 0 7px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.asun-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.asun-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

/* Tablet image */
@media (min-width: 768px) {
  .asun-card img {
    height: 130px;
  }
}

/* Desktop image */
@media (min-width: 1024px) {
  .asun-card img {
    height: 150px;
  }
}

.asun-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.asun-translation {
  font-size: 15px;
  opacity: .8;
}

.asun-date {
  font-size: 11px;
  opacity: .6;
  margin-top: 4px;
}

.asun-title {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
}


/* ================= Spinner ================= */

.asun-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.asun-spinner.active {
  opacity: 1;
}

.asun-spinner::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #a46497;
  border-top-color: transparent;
  border-radius: 50%;
  animation: asun-spin .8s linear infinite;
}

@keyframes asun-spin {
  to {
    transform: rotate(360deg);
  }
}