.gmg-result-card {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,15,0.96);
  padding: 0.6rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.55);
  font-size: 0.9rem;
  position: relative;
}

[data-theme="light"] .gmg-result-card {
  background: rgba(255,255,255,0.96);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.gmg-result-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.gmg-result-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.gmg-result-icon {
  font-size: 1.3rem;
}

.gmg-result-meta {
  font-size: 0.75rem;
  opacity: 0.8;
}

.gmg-section {
  margin-top: 0.35rem;
}

.gmg-section h3 {
  margin: 0 0 0.15rem 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.gmg-section-body {
  font-size: 0.85rem;
  line-height: 1.35;
}

.gmg-result-footer {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.gmg-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 40;
  border-radius: 8px;
}

[data-theme="light"] .gmg-loading-overlay {
  background: rgba(255,255,255,0.85);
}

.gmg-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: rgba(255,255,255,0.9);
  animation: gmg-spin 0.8s linear infinite;
}

[data-theme="light"] .gmg-spinner {
  border: 3px solid rgba(0,0,0,0.2);
  border-top-color: rgba(0,0,0,0.9);
}

.gmg-loading-text {
  margin-top: 0.35rem;
  opacity: 0.85;
}

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