.gra-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0;
  width: 100%;
  max-width: 100%;
}

.gra-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--gra-color);
  border-radius: 12px;
  background: var(--gra-bg);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: transform 0.18s ease;
  animation: gra-glow 2.2s ease-in-out infinite;
}

.gra-card:active {
  transform: scale(0.99);
}

.gra-thumb {
  flex-shrink: 0;
}

.gra-thumb-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--gra-color);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.gra-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gra-thumb-fallback {
  font-size: 28px;
  font-weight: 800;
  font-family: Arial, sans-serif;
}

.gra-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gra-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--gra-color);
  line-height: 1.2;
}

.gra-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gra-card--gold {
  animation-name: gra-glow-gold;
}

.gra-card--green {
  animation-name: gra-glow-green;
}

.gra-card--red {
  animation-name: gra-glow-red;
}

.gra-card--cyan {
  animation-name: gra-glow-cyan;
}

.gra-card--blue {
  animation-name: gra-glow-blue;
}

@keyframes gra-glow-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.25); }
  50% { box-shadow: 0 0 14px 3px rgba(201, 162, 39, 0.45); }
}

@keyframes gra-glow-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.25); }
  50% { box-shadow: 0 0 14px 3px rgba(22, 163, 74, 0.45); }
}

@keyframes gra-glow-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.25); }
  50% { box-shadow: 0 0 14px 3px rgba(225, 29, 72, 0.45); }
}

@keyframes gra-glow-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.25); }
  50% { box-shadow: 0 0 14px 3px rgba(8, 145, 178, 0.45); }
}

@keyframes gra-glow-blue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.25); }
  50% { box-shadow: 0 0 14px 3px rgba(37, 99, 235, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .gra-card {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .gra-thumb-frame {
    width: 64px;
    height: 64px;
  }

  .gra-title {
    font-size: 13px;
  }
}
