/* Garage Game Live theme for the Garage Game pages, layered over article.css.
   Colors sampled from the Garage Game Live YouTube banner and avatar (October 1, 2026):
   charcoal, garage red and warm off-white. Fonts match their logo lettering
   (Barlow Semi Condensed) and banner text (Fira Sans Condensed), self-hosted under
   /fonts with their SIL Open Font License files. */

@font-face { font-family: "GG Display"; src: url("/fonts/BarlowSemiCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GG Display"; src: url("/fonts/BarlowSemiCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GG Body"; src: url("/fonts/FiraSansCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GG Body"; src: url("/fonts/FiraSansCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root.garage-game {
  --gg-charcoal: #121312;
  --gg-card: #1b1916;
  --gg-line: #3b3530;
  --gg-red: #de2a2a;
  --gg-red-deep: #7b1a1a;
  --gg-text: #ece7e0;
  --gg-muted: #b9b1a7;
  --gg-link: #ff7a72;
  font-family: "GG Body", "Fira Sans Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  background: var(--gg-charcoal);
  color: var(--gg-text);
}

.garage-game body {
  background:
    radial-gradient(circle at 10% -10%, rgba(222, 42, 42, 0.18), transparent 32rem),
    radial-gradient(circle at 92% 6%, rgba(123, 26, 26, 0.22), transparent 30rem),
    linear-gradient(180deg, #161514 0%, #121312 50%, #0d0d0c 100%);
  background-attachment: fixed;
}

.garage-game body::before { background: linear-gradient(90deg, var(--gg-red-deep), var(--gg-red)); }

.garage-game nav { background: rgba(27, 25, 22, 0.86); border-color: var(--gg-line); }
.garage-game nav::before { background: var(--gg-red); box-shadow: 0 0 16px rgba(222, 42, 42, 0.55); border-radius: 3px; }
.garage-game nav a { color: var(--gg-muted); font-family: "GG Display", sans-serif; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.garage-game nav a:hover, .garage-game nav a:focus-visible { background: rgba(222, 42, 42, 0.16); color: var(--gg-text); }

.garage-game a { color: var(--gg-link); text-decoration-color: rgba(255, 122, 114, 0.45); }
.garage-game a:hover { color: #ffffff; }

.garage-game h1,
.garage-game h2,
.garage-game h3 {
  color: var(--gg-text);
  font-family: "GG Display", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.garage-game h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.98; }
.garage-game h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }

.garage-game p,
.garage-game li,
.garage-game dd,
.garage-game td { color: #d9d3cb; }

.garage-game .eyebrow,
.garage-game .page > .eyebrow:first-of-type {
  background: var(--gg-red);
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-family: "GG Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  text-transform: uppercase;
}
.garage-game .page > .eyebrow:first-of-type::before { display: none; }
.garage-game .dek { color: var(--gg-text); }
.garage-game .meta { color: var(--gg-muted); }

.garage-game .callout,
.garage-game .contact-card,
.garage-game .query-examples > div,
.garage-game .related a,
.garage-game .gg-card {
  background: var(--gg-card);
  border: 1px solid var(--gg-line);
  border-left: 4px solid var(--gg-red);
  border-radius: 10px;
}
.garage-game .query-examples dt { color: var(--gg-link); font-family: "GG Display", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
.garage-game .query-examples dd { color: var(--gg-muted); }
.garage-game .contact-footer { border-color: var(--gg-line); color: var(--gg-muted); }

.gg-cobrand { color: var(--gg-muted); font-family: "GG Display", sans-serif; font-weight: 700; letter-spacing: 0.06em; margin: -34px 0 28px; text-transform: uppercase; }
.gg-cobrand strong { color: var(--gg-red); }

.gg-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 28px 0; }
.gg-facts div { background: var(--gg-card); border: 1px solid var(--gg-line); border-radius: 10px; padding: 16px 18px; }
.gg-facts dt { color: var(--gg-muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gg-facts dd { color: var(--gg-text); font-family: "GG Display", sans-serif; font-size: 1.7rem; font-weight: 700; margin: 4px 0 0; }

.gg-hands { border-collapse: collapse; margin: 18px 0 8px; width: 100%; }
.gg-hands th { border-bottom: 2px solid var(--gg-red); color: var(--gg-muted); font-family: "GG Display", sans-serif; font-size: 0.9rem; letter-spacing: 0.06em; padding: 10px 8px; text-align: left; text-transform: uppercase; }
.gg-hands td { border-bottom: 1px solid var(--gg-line); padding: 12px 8px; vertical-align: top; }
.gg-hands .gg-rank { color: #fff; font-family: "GG Display", sans-serif; font-size: 1.3rem; font-weight: 700; }
.gg-hands .gg-pot { color: var(--gg-text); font-family: "GG Display", sans-serif; font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.gg-hands .gg-players { color: #ff8b84; font-weight: 700; text-transform: uppercase; }
.gg-hands small { color: var(--gg-muted); display: block; font-size: 0.85rem; margin-top: 2px; }

.gg-list { display: grid; gap: 10px; list-style: none; margin: 18px 0; padding: 0; }
.gg-list li a { align-items: baseline; background: var(--gg-card); border: 1px solid var(--gg-line); border-left: 4px solid var(--gg-red); border-radius: 10px; color: var(--gg-text); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; padding: 14px 16px; text-decoration: none; }
.gg-list li a:hover { border-color: var(--gg-red); }
.gg-list .gg-title { font-weight: 700; }
.gg-list .gg-sub { color: var(--gg-muted); font-size: 0.92rem; }

.gg-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.gg-buttons a { background: var(--gg-red); border-radius: 8px; color: #fff; font-family: "GG Display", sans-serif; font-weight: 700; letter-spacing: 0.04em; padding: 12px 18px; text-decoration: none; text-transform: uppercase; }
.gg-buttons a.gg-secondary { background: transparent; border: 2px solid var(--gg-line); color: var(--gg-text); }
.gg-buttons a:hover { filter: brightness(1.12); }

@media (max-width: 640px) {
  .gg-hands thead { display: none; }
  .gg-hands tr { border-bottom: 1px solid var(--gg-line); display: grid; gap: 4px; grid-template-columns: auto 1fr; padding: 10px 0; }
  .gg-hands td { border: 0; padding: 2px 8px; }
  .gg-hands td.gg-wide { grid-column: 1 / -1; }
}
