/* Static skeletons (work before JS), load errors, cache banner, noscript */
@keyframes gg-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gg-static-skeleton-wrap {
  display: grid;
  gap: 10px;
}

.gg-static-skeleton {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(90deg, rgba(12, 21, 32, 0.98) 25%, rgba(36, 52, 68, 0.92) 50%, rgba(12, 21, 32, 0.98) 75%);
  background-size: 200% 100%;
  animation: gg-shimmer 1.35s infinite ease-in-out;
}

.gg-static-skeleton--card { height: 90px; }
.gg-static-skeleton--pick { height: 118px; }
.gg-static-skeleton--row { height: 52px; }
.gg-static-skeleton--panel { height: 140px; }

.gg-noscript-banner {
  margin: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, rgba(14, 116, 144, 0.35), rgba(6, 16, 25, 0.95));
  border-bottom: 1px solid rgba(53, 224, 194, 0.25);
  color: #e8eef7;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.gg-noscript-banner a {
  color: #7dd3fc;
  font-weight: 800;
}

.gg-load-error {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(252, 165, 165, 0.28);
  background: rgba(69, 10, 10, 0.22);
}

.gg-load-error-icon { font-size: 1.6rem; line-height: 1; }
.gg-load-error-text { margin: 0; color: #fecaca; font-size: 0.92rem; line-height: 1.5; max-width: 36ch; }

.gg-load-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.gg-load-error-btn {
  border: 0;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}

.gg-load-error-btn--primary { background: #35e0c2; color: #061019; }
.gg-load-error-btn--ghost {
  background: rgba(14, 116, 144, 0.2);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #bae6fd;
}

.gg-cache-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 176, 80, 0.35);
  background: rgba(232, 176, 80, 0.1);
  color: #fde68a;
  font-size: 0.82rem;
  font-weight: 700;
}

.gg-cache-banner-retry {
  border: 0;
  background: transparent;
  color: #7dd3fc;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

.gg-seo-snapshot {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 194, 0.18);
  background: rgba(6, 16, 25, 0.55);
}

.gg-seo-snapshot h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #e8eef7;
}

.gg-seo-snapshot ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #b6c5d9;
  font-size: 0.88rem;
  line-height: 1.55;
}

.gg-seo-snapshot li { margin: 0.25rem 0; }
.gg-seo-snapshot strong { color: #f8fafc; }
.gg-seo-snapshot-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Hide from sighted users after JS boots — keep in DOM for crawlers (not display:none). */
.js-ready .gg-seo-snapshot--static {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
