.asmec-widget {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.asmec-map-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.asmec-map-el { width: 100%; height: 100%; }
.asmec-map-wrap .mapboxgl-canvas { filter: brightness(0.85) saturate(0.7) hue-rotate(5deg); }
.asmec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
@media (max-width: 768px) { .asmec-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .asmec-grid { grid-template-columns: 1fr 1fr; } }
.asmec-card {
  display: block;
  background: linear-gradient(to top right, #080f1a 0%, #122030 50%, #213a4f 100%);
  border: 1px solid rgba(0,180,255,0.2);
  border-radius: 10px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.asmec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0.6;
}
.asmec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,255,0.15);
  text-decoration: none;
  color: inherit;
}
.asmec-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #00e87a;
  box-shadow: 0 0 6px #00e87a;
  animation: asmec-pulse 2s infinite;
}
.asmec-dot.offline { background: #ff5500; box-shadow: 0 0 6px #ff5500; animation: none; }
@keyframes asmec-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.asmec-nome {
  font-size: 15px;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 1px;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.asmec-loc {
  font-size: 10px;
  color: #7aa5b8;
  font-family: 'Share Tech Mono', monospace;
  margin-bottom: 14px;
}
.asmec-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.asmec-main img { flex-shrink: 0; }
.asmec-temp {
  font-size: 40px;
  font-weight: 700;
  color: #ff6644;
  line-height: 1;
  font-family: 'Share Tech Mono', monospace;
}
.asmec-temp span { font-size: 20px; color: #7aa5b8; }
.asmec-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.asmec-item-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: #7aa5b8;
  letter-spacing: 1px;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.asmec-item-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #b8d8f0;
}
.asmec-btn {
  display: block;
  text-align: center;
  background: rgba(0,180,255,0.08);
  border: 1px solid rgba(0,180,255,0.25);
  border-radius: 4px;
  padding: 7px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #00d4ff !important;
  font-family: 'Share Tech Mono', monospace;
  transition: background 0.2s;
  text-decoration: none !important;
}
.asmec-btn:hover { background: rgba(0,180,255,0.18); }
.asmec-footer {
  text-align: center;
  font-size: 10px;
  color: #7aa5b8;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,180,255,0.1);
}
.asmec-footer a { color: #00d4ff; text-decoration: none; }
.asmec-time { margin-left: 8px; opacity: 0.6; }
.asmec-loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 30px;
  color: #7aa5b8;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
}
.asmec-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(0,180,255,0.2);
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: asmec-spin 0.8s linear infinite;
  margin: 0 auto 10px;
}
@keyframes asmec-spin { to { transform: rotate(360deg); } }
.asmec-offline-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 20px;
  color: #ff5500;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
}

.asmec-map-wrap .mapboxgl-ctrl { display: none !important; }
