@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Space+Grotesk:wght@600;700;800&display=swap");

/**
 * Guess the Price — design tokens (Phase 3.3).
 * Canonical names + legacy aliases for existing pages.
 */
:root {
  --color-bg: #202c59;
  --color-accent: #ed6a5a;
  --color-price: #f0a202;
  --color-surface: #fff8f0;
  --color-teal: #3c91e6;

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.22);
  --shadow-inset-surface: inset 0 1px 0 rgba(255, 255, 255, 0.35);

  /* Legacy semantic aliases (used across player + host CSS) */
  --bg: var(--color-bg);
  --accent: var(--color-accent);
  --price: var(--color-price);
  --blue: var(--color-teal);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.55);
  --surface: rgba(255, 248, 240, 0.12);
  --card: rgba(255, 248, 240, 0.08);
  --border: rgba(255, 248, 240, 0.16);
  --radius: var(--radius-lg);
  --crimson: #581f18;
}

/* Shared site footer (Phase 4.6 — legal compliance) */
.gtp-footer {
  margin-top: 2.5rem;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.gtp-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gtp-footer a:hover {
  color: var(--text);
}
.gtp-footer .gtp-footer-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Listing attribution + report button */
.gtp-attribution {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.gtp-attribution a {
  color: var(--muted);
  text-decoration: underline;
}
.gtp-report-btn {
  background: transparent;
  border: 1px solid rgba(245, 247, 255, 0.25);
  color: var(--muted);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
}
.gtp-report-btn:hover { color: var(--text); border-color: rgba(245, 247, 255, 0.5); }
.gtp-report-btn[disabled] { opacity: 0.5; cursor: default; }
