@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #f97316;
  --accent-2: #0ea5e9;
  --content-gutter: clamp(14px, 1.8vw, 28px);
  --card: #ffffff;
  --card-border: #e2e8f0;
  --control-bg: #f8fafc;
  --control-border: #d7dee8;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(148, 163, 184, 0.12);
  --glass-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  --glass-blur: 4px;
  --mono-font: "Space Mono", "Menlo", "Consolas", monospace;
}

body {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(219, 234, 254, 0.55), transparent 48%),
    radial-gradient(circle at 85% 12%, rgba(230, 239, 248, 0.58), transparent 45%),
    linear-gradient(120deg, #eef4fa 0%, #e6eff8 52%, #eef4fa 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

hr {
  border: none;
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

#CONTAINER {
  padding-bottom: 36px;
}

.ggg-container {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--content-gutter) !important;
  padding-right: var(--content-gutter) !important;
  position: relative;
  isolation: isolate;
}

.ggg-container::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/MI.watermark.webp");
  background-repeat: no-repeat;
  background-position: center 56%;
  background-size: min(1200px, 94vw) auto;
  opacity: 0.1;
  filter: grayscale(1) brightness(0.66) contrast(1.14);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

.ggg-global-loading-scrim {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(247, 243, 235, 0.82);
  backdrop-filter: blur(3px);
  pointer-events: auto;
  cursor: progress;
  z-index: 2000;
}

.ggg-global-loading-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(15, 23, 42, 0.12);
  border-top-color: rgba(15, 23, 42, 0.82);
  animation: ggg-global-loading-spin 0.85s linear infinite;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.ggg-container.ggg-container--language-refresh:has([data-dash-is-loading="true"]) > .ggg-global-loading-scrim {
  display: flex;
}

@keyframes ggg-global-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.ggg-shell-header {
  padding: 28px 0 18px;
}

.ggg-shell-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ggg-shell-logo {
  height: 82px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.12));
}

.ggg-toolbar-content {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.ggg-toolbar-logo {
  height: 44px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
  transform: translateY(2px);
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.12));
}

.ggg-shell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ggg-shell-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.ggg-shell-subtitle {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.ggg-hero {
  padding: 28px 0 10px;
}

.ggg-title-group {
  max-width: 820px;
}

.ggg-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.ggg-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.ggg-disclaimer-footer {
  margin: 22px 0 8px;
  padding: 8px 2px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.ggg-disclaimer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.ggg-disclaimer-label {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.92);
}

.ggg-disclaimer-text {
  flex: 1 1 320px;
  min-width: 220px;
}

.ggg-disclaimer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ggg-disclaimer-separator {
  color: rgba(148, 163, 184, 0.88);
}

.ggg-disclaimer-copy a {
  color: var(--accent-2);
  font-weight: 500;
  text-decoration: none;
}

.ggg-disclaimer-copy a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .ggg-disclaimer-footer {
    margin-top: 18px;
    padding-top: 7px;
  }

  .ggg-disclaimer-copy {
    gap: 6px 8px;
    font-size: 10px;
  }

  .ggg-disclaimer-links {
    gap: 5px;
  }
}

.ggg-section-header {
  margin: 6px 0 10px;
}

.ggg-section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ggg-section-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ggg-team-scope-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ggg-team-scope .form-check {
  margin-right: 10px;
}

.ggg-hidden-selection-controls {
  display: none;
}

.ggg-unified-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 14px;
  margin-bottom: 12px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 12px;
  z-index: 1100;
}

.ggg-toolbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: center;
}

.ggg-toolbar-row--primary {
  justify-content: center;
}

.ggg-toolbar-row--secondary {
  justify-content: center;
}

.ggg-toolbar-main {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ggg-unified-nav {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  position: relative;
  min-height: 44px;
}

.ggg-unified-nav[data-dash-is-loading="true"] > *,
.ggg-unified-nav.ggg-unified-nav--pending > * {
  opacity: 0.3;
}

.ggg-unified-nav[data-dash-is-loading="true"]::after,
.ggg-unified-nav.ggg-unified-nav--pending::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.16);
  border-top-color: rgba(15, 23, 42, 0.82);
  animation: ggg-global-loading-spin 0.85s linear infinite;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.ggg-language-switcher {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
  margin-left: 0;
}

.ggg-language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0 !important;
  border: 1px solid rgba(100, 116, 139, 0.32);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 18px !important;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.ggg-language-flag:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.52);
  background: rgba(255, 255, 255, 0.96);
}

.ggg-language-flag--active {
  border-color: rgba(14, 165, 233, 0.72);
  background: rgba(224, 242, 254, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 1px rgba(14, 165, 233, 0.18);
}

.ggg-page-nav-shell {
  min-width: 0;
}

.ggg-page-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: max-content;
}

.ggg-page-nav--desktop {
  width: max-content;
  margin: 0;
}

.ggg-page-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(100, 116, 139, 0.48) !important;
  background: rgba(248, 250, 252, 0.9) !important;
  color: var(--ink) !important;
  line-height: 1.1;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
  flex: 0 0 auto;
}

.ggg-page-nav-link:hover {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(14, 165, 233, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 6px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.ggg-page-nav-link.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(249, 115, 22, 0.14)) !important;
  border-color: rgba(14, 165, 233, 0.72) !important;
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 20px rgba(14, 165, 233, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.16);
}

.ggg-page-nav-link.disabled,
.ggg-page-nav-link.disabled:hover {
  background: rgba(241, 245, 249, 0.75) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.ggg-page-nav-link span {
  white-space: nowrap;
}

.ggg-page-nav-link > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ggg-competition-option,
.ggg-page-nav-competition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ggg-competition-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.16));
}

.ggg-page-nav-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.ggg-graph-loading {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.ggg-graph-loading > div {
  width: 100%;
  height: 100%;
}

.ggg-graph-loading [data-dash-is-loading="true"] {
  opacity: 0;
}

.ggg-empty-card {
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.6);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.ggg-empty-card-inner {
  text-align: center;
}

.ggg-empty-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-empty-card-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.ggg-section-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.ggg-section-subtitle {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.ggg-toolbar-language {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ggg-overview-page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.ggg-overview-page-controls .ggg-radio--segmented,
.ggg-overview-page-controls .ggg-radio--segmented .mantine-ChipGroup-root {
  flex-wrap: nowrap;
}

.ggg-toolbar-inline-control {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.ggg-unified-divider {
  width: 1px;
  height: 30px;
  background: rgba(148, 163, 184, 0.35);
  flex: 0 0 auto;
}

.ggg-unified-divider--strong {
  width: 2px;
  height: 34px;
  background: rgba(100, 116, 139, 0.48);
}

.ggg-toolbar-inline-control .ggg-radio--segmented {
  width: auto;
}

.ggg-toolbar-competition-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.ggg-card {
  background: linear-gradient(135deg, var(--glass-bg-strong), var(--glass-bg)) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  animation: ggg-rise 0.6s ease both;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.ggg-graph-card {
  background: linear-gradient(
    135deg,
    rgba(241, 239, 232, 0.12),
    rgba(241, 239, 232, 0.04)
  ) !important;
  border-color: rgba(180, 178, 169, 0.12) !important;
}

.ggg-graph-card .card-body {
  padding: 12px;
}

.ggg-table-card .card-body {
  padding: 14px;
}

.ggg-control-card {
  box-shadow: none;
}

.ggg-table .dash-spreadsheet-container {
  position: relative;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.ggg-table .dash-spreadsheet-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/MI.logo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(88%, 320px);
  opacity: 0.2;
  filter: grayscale(1) brightness(0.66) contrast(1.14);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ggg-table .dash-spreadsheet-container .dash-spreadsheet-inner {
  position: relative;
  z-index: 1;
}

.ggg-table .dash-header {
  border-bottom: 0 !important;
}

.ggg-table .dash-header tr:first-child th {
  border-left: none !important;
}

.ggg-table .dash-header tr:nth-child(2) th[data-dash-column="P"],
.ggg-table .dash-header tr:nth-child(2) th[data-dash-column="T > 0"],
.ggg-table .dash-header tr:nth-child(2) th[data-dash-column="CF"],
.ggg-table .dash-header tr:nth-child(2) th[data-dash-column="YF"] {
  border-left: 2px solid #e2e8f0 !important;
}

.ggg-table .dash-spreadsheet td {
  transition: background-color 0.2s ease;
  line-height: 1.05;
}

.ggg-table .dash-spreadsheet th {
  line-height: 1.05;
}

.ggg-table .dash-spreadsheet td.dash-cell:hover {
  background-color: rgba(14, 165, 233, 0.08);
}

.ggg-table .dash-spreadsheet td[data-dash-column="T"] .dash-cell-value {
  display: flex;
  align-items: center;
  height: 100%;
}

.ggg-table .dash-spreadsheet td .dash-cell-value p {
  margin: 0;
}

.ggg-table-team {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  line-height: 1;
  position: static;
}

.ggg-table-team-name {
  display: inline-block;
  line-height: 1.05;
}

.ggg-table-team-logo {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 16px;
}

.ggg-tabs .nav-tabs {
  border-bottom: none;
  gap: 8px;
  padding: 12px 0 8px;
}

.ggg-tabs {
  position: relative;
  z-index: 1;
}

.ggg-unified-bar .Select-menu-outer,
.ggg-unified-bar .Select-menu {
  z-index: 1200;
}

.ggg-tabs .nav-item {
  display: inline-flex;
}

.ggg-tabs .nav-link {
  border-radius: 999px !important;
  border: 1px solid var(--card-border) !important;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ggg-tabs .nav-link:hover {
  color: var(--ink);
  border-color: rgba(14, 165, 233, 0.3) !important;
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.ggg-tabs .nav-link.active {
  color: white !important;
  background: linear-gradient(135deg, #0ea5e9, #f97316) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35) !important;
  transform: translateY(-1px);
}

.tab-content {
  background: transparent !important;
  border: none !important;
}

/* ============================================================
   Dropdowns
   ============================================================ */
.ggg-dropdown .Select-control {
  min-height: 44px;
  border-radius: 12px;
  border-color: var(--control-border) !important;
  box-shadow: none;
  background: var(--control-bg);
}

.ggg-dropdown .Select-placeholder,
.ggg-dropdown .Select-value-label {
  color: var(--ink);
  font-weight: 600;
}

.ggg-dropdown .Select-value,
.ggg-dropdown .Select-placeholder {
  line-height: 42px !important;
}

.ggg-dropdown .Select-input {
  height: 42px;
}

.ggg-dropdown.ggg-market-stat .Select-control {
  min-height: 32px;
  font-size: 11px;
}

.ggg-dropdown.ggg-market-stat .Select-placeholder,
.ggg-dropdown.ggg-market-stat .Select-value-label,
.ggg-dropdown.ggg-market-stat .Select-input {
  font-size: 11px;
}

/* Keep search functionality but hide the visible input box.
   The input still receives keystrokes so type-to-filter works,
   it just doesn't render as a visible search field. */
.ggg-dropdown .Select input {
  opacity: 0 !important;
  width: 1px !important;
  min-width: 0 !important;
  padding: 0 !important;
  position: absolute !important;
}

.ggg-dropdown .mantine-Input-input,
.ggg-dropdown .mantine-PillsInput-field,
.ggg-dropdown .mantine-PillsInput-input {
  background: var(--control-bg);
}

.ggg-dropdown .mantine-Select-input,
.ggg-dropdown .mantine-MultiSelect-input,
.ggg-dropdown .mantine-PillsInput-root {
  border-radius: 12px;
  border-color: var(--control-border);
  min-height: 44px;
}

.ggg-radio .form-check-label {
  font-weight: 600;
  color: var(--muted);
}

.ggg-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ggg-chip-group {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.ggg-radio .form-check {
  margin-bottom: 0;
}

.ggg-radio--compact {
  gap: 6px 10px;
}

.ggg-radio--compact .form-check {
  min-width: 0;
  margin-right: 0;
}

.ggg-radio--compact .form-check-label {
  font-size: 12px;
  white-space: nowrap;
}

.ggg-radio .form-check-input:checked {
  background-color: var(--accent-2);
  border-color: var(--accent-2);
}
/* ============================================================
   Segmented toggle — ggg-radio--segmented
   Converts dbc.RadioItems into a connected button-group bar.
   No Python changes needed; purely CSS.
   ============================================================ */

.ggg-radio--segmented {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  padding: 3px;
  border-radius: 12px;
  background: var(--control-bg);
  border: 1px solid var(--control-border);
}

.ggg-radio--segmented .mantine-ChipGroup-root {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 0;
}

.ggg-radio--segmented .mantine-Chip-root {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.ggg-radio--segmented .mantine-Chip-input {
  display: none !important;
}

.ggg-radio--segmented .mantine-Chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  min-height: 32px;
  min-width: 0;
  text-align: center;
  background: transparent;
  border: none;
}

.ggg-radio--segmented [class*="iconWrapper"] {
  display: none !important;
}

.ggg-radio--segmented .mantine-Chip-label:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.ggg-radio--segmented .mantine-Chip-input:checked + .mantine-Chip-label {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.ggg-radio--segmented .mantine-Chip-input:disabled + .mantine-Chip-label {
  opacity: 0.42;
  cursor: not-allowed;
}

/* Hide the actual radio input dot */
.ggg-radio--segmented .form-check-input {
  display: none !important;
}

.ggg-radio--segmented .form-check {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.ggg-radio--segmented .form-check-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  min-height: 32px;
  min-width: 0;
  text-align: center;
}

.ggg-radio--segmented .form-check-label:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

/* Active segment — mirrors the active nav link gradient */
.ggg-radio--segmented .form-check-input:checked + .form-check-label {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.ggg-unified-bar .ggg-radio--segmented .form-check-label {
  padding: 7px 10px;
  font-size: 11px;
}

.ggg-unified-bar .ggg-radio--segmented .mantine-Chip-label {
  padding: 7px 10px;
  font-size: 11px;
}

.ggg-chip-group--period .mantine-Chip-label {
  gap: 6px;
}

.ggg-unified-bar.ggg-unified-bar--compact {
  gap: 12px;
}

.ggg-unified-bar.ggg-unified-bar--compact .ggg-unified-nav {
  flex: 1 1 auto;
}

.ggg-unified-bar.ggg-unified-bar--compact .ggg-toolbar-row {
  flex-wrap: wrap;
}

.ggg-unified-bar.ggg-unified-bar--compact .ggg-toolbar-row--secondary {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .ggg-radio--segmented {
    width: 100%;
  }

  .ggg-radio--segmented .form-check-label {
    padding: 7px 10px;
    font-size: 12px;
  }

  .ggg-radio--segmented .mantine-Chip-label {
    padding: 7px 10px;
    font-size: 12px;
  }
}

.ggg-fixture-surface {
  padding: 10px 6px 18px;
}

.ggg-fixture-controls-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.ggg-fixture-window-card {
  margin: 6px 6px 10px;
  padding: 12px 14px 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top left, rgba(233, 213, 255, 0.92), transparent 48%),
    radial-gradient(circle at right center, rgba(216, 180, 254, 0.82), transparent 52%),
    linear-gradient(135deg, rgba(250, 245, 255, 0.96), rgba(243, 232, 255, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ggg-fixture-window-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.ggg-fixture-window-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.rc-slider-tooltip,
.rc-slider-tooltip-inner,
.rc-slider-tooltip-content,
.rc-slider-tooltip-placement-top,
.rc-slider-tooltip-placement-bottom,
.rc-slider-tooltip-placement-right,
.rc-slider-tooltip-placement-left {
  display: none !important;
}

.ggg-fixture-window-card input[type="number"],
.ggg-fixture-window-card output,
.ggg-fixture-window-card [class*="tooltip"],
.ggg-fixture-window-card [class*="Tooltip"] {
  display: none !important;
}

.ggg-fixture-search-input .mantine-Input-input,
.ggg-fixture-search-input .mantine-TextInput-input {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ggg-fixture-search-input .mantine-Input-input::placeholder,
.ggg-fixture-search-input .mantine-TextInput-input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.ggg-fixture-search-input .mantine-Input-input:focus,
.ggg-fixture-search-input .mantine-TextInput-input:focus {
  border-color: rgba(14, 165, 233, 0.48);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.ggg-fixture-window-slider {
  padding: 2px 12px 28px 8px;
}

.ggg-fixture-window-slider .mantine-Slider-root {
  padding-bottom: 24px;
}

.ggg-fixture-window-slider [class*="markLabel"] {
  font-family: var(--body-font);
  font-size: 10px;
  color: #c2410c;
  font-weight: 700;
  white-space: pre-line;
  margin-top: 8px;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 900px) {
  .ggg-fixture-controls-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ggg-fixture-window-slider [class*="markLabel"] {
    font-size: 9px;
  }
}

.ggg-fixture-window-slider [class*="track"] {
  background: rgba(249, 115, 22, 0.18);
  height: 6px;
}

.ggg-fixture-window-slider [class*="bar"] {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.82), rgba(14, 165, 233, 0.7));
  height: 6px;
}

.ggg-fixture-window-slider [class*="markWrapper"] > :not([class*="markLabel"]) {
  display: none !important;
}

.ggg-fixture-window-slider [class*="thumb"] {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(249, 115, 22, 0.95);
  background: #fff7ed;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.ggg-fixture-window-slider [class*="thumb"]:focus,
.ggg-fixture-window-slider [class*="thumb"]:hover,
.ggg-fixture-window-slider [class*="thumb"]:active {
  border-color: rgba(14, 165, 233, 0.95);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.ggg-fixture-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin: 8px 0 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.ggg-fixture-hint-label {
  font-weight: 700;
  color: var(--ink);
}

.ggg-fixture-hint-text {
  font-weight: 600;
}

.ggg-fixture-match-reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.ggg-fixture-match-reason {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.ggg-fixture-match-reason--home,
.ggg-fixture-match-reason--away {
  background: rgba(224, 242, 254, 0.92);
  border-color: rgba(56, 189, 248, 0.28);
}

.ggg-fixture-match-reason--competition {
  background: rgba(255, 247, 237, 0.94);
  border-color: rgba(249, 115, 22, 0.28);
}

.ggg-fixture-match-reason--country {
  background: rgba(241, 245, 249, 0.94);
  border-color: rgba(148, 163, 184, 0.28);
}

.ggg-league-fixtures-card .card-body {
  padding: 16px 16px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ggg-league-fixtures-loading {
  display: block;
  flex: 1;
  min-height: 0;
}

.ggg-league-fixtures-loading > div {
  display: block;
  height: 100%;
  min-height: 0;
}

.ggg-league-fixture-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0;
}

.ggg-fixture-team-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 50%;
}

.ggg-fixture-team-name {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ggg-overview-panel-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  gap: 12px;
}

.ggg-overview-panel-stack > .ggg-card {
  flex: 1;
}

.ggg-cup-stage-card .card-body {
  padding: 16px 16px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ggg-cup-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ggg-cup-stage-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.ggg-cup-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ggg-cup-results-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ggg-cup-results-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.ggg-cup-results-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ggg-cup-results-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ggg-cup-results-page {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ggg-cup-results-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ggg-cup-results-list {
  display: block;
}

.ggg-cup-results-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ggg-cup-result-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.55), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-cup-result-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.ggg-cup-result-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.ggg-cup-result-round-chip {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.ggg-cup-result-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.ggg-cup-result-score {
  padding: 4px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.04));
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ggg-cup-result-score-block {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ggg-cup-result-score-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ggg-cup-result-score-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ggg-cup-result-team-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ggg-cup-result-team-wrap--home {
  justify-content: flex-start;
}

.ggg-cup-result-team-wrap--away {
  justify-content: flex-end;
}

.ggg-cup-result-team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ggg-cup-result-team--home {
  text-align: left;
}

.ggg-cup-result-team--away {
  text-align: right;
}

.ggg-cup-result-logo {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.ggg-cup-result-stage {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.ggg-league-fixture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 4px 2px 8px;
}

.ggg-league-fixture-grid--overview {
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 1201px) {
  .ggg-league-fixture-table-wrap > .ggg-league-fixture-grid--overview {
    align-content: start;
    grid-auto-rows: max-content;
  }
}

.ggg-league-fixture-grid--compact {
  grid-template-columns: 1fr;
  gap: 8px;
}

.ggg-league-fixture-grid--extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.ggg-fixture-more {
  grid-column: 1 / -1;
  border-radius: 12px;
  padding: 6px 2px 2px;
}

.ggg-fixture-more-toggle {
  list-style: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 6px 8px;
}

.ggg-fixture-more-toggle::-webkit-details-marker {
  display: none;
}

.ggg-fixture-more[open] .ggg-fixture-more-toggle {
  color: var(--ink);
}

@media (max-width: 1200px) {
  .ggg-league-fixture-grid {
    grid-template-columns: 1fr;
  }
  .ggg-league-fixture-grid--overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ggg-league-fixture-grid {
    grid-template-columns: 1fr;
  }
  .ggg-league-fixture-grid--overview {
    grid-template-columns: 1fr;
  }
}

.ggg-league-fixture-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
  padding: 11px 13px 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-league-fixture-grid--compact .ggg-league-fixture-card {
  padding: 8px 10px;
  gap: 6px;
}

.ggg-league-fixture-grid--compact .ggg-fixture-main {
  font-size: 12px;
  gap: 6px;
}

.ggg-league-fixture-grid--compact .ggg-fixture-team {
  font-size: 12px;
}

.ggg-league-fixture-grid--compact .ggg-fixture-meta {
  font-size: 10px;
}

.ggg-league-fixture-grid--compact .ggg-fixture-day {
  font-size: 10px;
}

.ggg-league-fixture-grid--compact .ggg-league-fixture-select {
  gap: 6px;
}

.ggg-league-fixture-select {
  border: none;
  background: transparent;
  text-align: left;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-league-fixture-select:focus {
  outline: none;
}

.ggg-model-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.ggg-model-badge--high {
  color: #0f172a;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.ggg-model-badge--medium {
  color: #0f172a;
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
}

.ggg-model-badge--low {
  color: #0f172a;
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.5);
}

.ggg-league-fixture-card--selected {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.18);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.ggg-league-fixture-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-fixture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ggg-market-card .card-body {
  padding: 16px 16px 14px;
}

.ggg-market-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.ggg-market-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}

.ggg-market-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.ggg-market-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
}

.ggg-performance-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 0;
}

.ggg-performance-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 12px;
  align-items: start;
}

.ggg-performance-control {
  min-width: 0;
}

.ggg-performance-control--teams {
  position: relative;
}

.ggg-performance-chart {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 340px;
}

.ggg-performance-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}

.ggg-performance-stat {
  width: 100%;
  display: block;
}

.ggg-performance-stat,
.ggg-performance-stat .mantine-Select-input,
.ggg-performance-stat .mantine-Input-input,
.ggg-performance-stat .mantine-Input-section,
.ggg-performance-stat .mantine-Combobox-option,
.ggg-performance-stat .mantine-Combobox-dropdown {
  font-family: var(--body-font);
  font-size: 13px;
}

.ggg-performance-stat .mantine-Select-input,
.ggg-performance-stat .mantine-Input-input,
.ggg-performance-stat .mantine-Input-section,
.ggg-performance-team-select,
.ggg-performance-team-select .mantine-PillsInput-root,
.ggg-performance-team-select .mantine-PillsInput-field,
.ggg-performance-team-select .mantine-Input-input,
.ggg-performance-team-select .mantine-Input-section,
.ggg-performance-team-select .mantine-Combobox-option,
.ggg-performance-team-select .mantine-Combobox-dropdown,
.ggg-team-picker-option,
.ggg-opponent-option-label {
  font-family: var(--body-font);
  font-size: 13px;
}

.ggg-performance-team-select {
  width: 100%;
}

.ggg-performance-team-select .mantine-Pill-root {
  display: none;
}

.ggg-performance-team-select .mantine-PillsInput-root {
  min-height: 44px;
  height: 44px;
  border-radius: 12px;
  border-color: var(--control-border);
  background: var(--control-bg);
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.ggg-performance-team-select .mantine-PillsInput-field {
  min-width: 0;
  height: 42px;
  line-height: 42px;
  color: var(--ink);
  font-weight: 600;
}

.ggg-performance-team-select .mantine-PillsInput-input {
  height: 42px;
  line-height: 42px;
}

.ggg-performance-team-select .mantine-Input-input,
.ggg-performance-team-select .mantine-MultiSelect-input {
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
}

.ggg-performance-team-select .mantine-Input-section,
.ggg-performance-team-select .mantine-MultiSelect-section {
  height: 44px;
}

.ggg-performance-stat .mantine-Input-input,
.ggg-performance-team-select .mantine-PillsInput-root {
  box-shadow: none;
  min-height: 44px;
  height: 44px;
  border-radius: 12px;
  border-color: var(--control-border);
  background: var(--control-bg);
  box-sizing: border-box;
}

.ggg-performance-stat .mantine-Select-input,
.ggg-performance-stat .mantine-Input-input,
.ggg-performance-team-picker-label,
.ggg-performance-team-select .mantine-PillsInput-field {
  font-weight: 600;
  color: var(--ink);
}

.ggg-performance-stat .mantine-Select-input,
.ggg-performance-stat .mantine-Input-input,
.ggg-performance-stat .mantine-Input-section {
  height: 44px;
  line-height: 44px;
}

.ggg-performance-stat .mantine-Input-input {
  padding-top: 0;
  padding-bottom: 0;
}

.ggg-performance-stat .mantine-Input-section,
.ggg-performance-team-select .mantine-MultiSelect-chevron,
.ggg-performance-team-select .mantine-PillsInput-rightSection {
  color: var(--muted);
}

.ggg-performance-team-picker-label {
  position: absolute;
  left: 14px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.ggg-performance-control--teams:focus-within .ggg-performance-team-picker-label {
  opacity: 0;
}

.ggg-team-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ggg-team-picker-indicator {
  width: 14px;
  height: 14px;
  color: transparent;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.ggg-team-picker-indicator--checked {
  color: #111827;
}

.ggg-performance-team .Select {
  width: 100%;
  max-width: 100%;
}

.ggg-performance-team .Select-control {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.ggg-performance-team .Select-multi-value-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}

.ggg-performance-team .Select-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.ggg-performance-team .Select-input > input {
  max-width: 100%;
}

.ggg-performance-team .Select-value,
.ggg-performance-team .Select-value-label,
.ggg-performance-team .Select-value-icon,
.ggg-performance-team .Select__multi-value,
.ggg-performance-team .Select__multi-value__label,
.ggg-performance-team .Select__multi-value__remove {
  display: none !important;
  visibility: hidden !important;
  max-width: 0 !important;
}

.ggg-performance-team .Select-multi-value-wrapper {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  display: none;
}

.ggg-performance-team .Select-control,
.ggg-performance-team .Select-placeholder,
.ggg-performance-team .Select-input,
.ggg-performance-team .Select-input > input {
  height: 34px !important;
  line-height: 34px !important;
}

.ggg-performance-team .Select-control {
  min-height: 34px !important;
  width: 100%;
  overflow: hidden;
}

.ggg-performance-team .Select-input {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ggg-performance-team .Select-input > input {
  padding: 0 !important;
}

.ggg-performance-team .Select-clear-zone,
.ggg-performance-team .Select-arrow-zone {
  height: 34px !important;
}

.ggg-performance-team .Select-control,
.ggg-performance-team .Select-placeholder,
.ggg-performance-team .Select-input,
.ggg-performance-team .Select-input > input {
  height: 34px;
  line-height: 34px;
}

.ggg-performance-team .Select-control {
  min-height: 34px;
}

.ggg-performance-team .Select-menu-outer,
.ggg-performance-team .Select-menu {
  max-height: 85vh;
}

.ggg-dropdown-team-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ggg-dropdown-team-logo {
  width: 12px !important;
  height: 12px !important;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.ggg-performance-card {
  min-height: 540px;
}

.ggg-referee-card {
  min-height: 0;
}

.ggg-referee-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 16px;
}

.ggg-referee-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.ggg-referee-card-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ggg-referee-card-subtitle {
  max-width: 640px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.ggg-referee-card-toolbar {
  display: flex;
  justify-content: center;
}

.ggg-referee-card-toggle {
  max-width: 220px;
}

.ggg-referee-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ggg-referee-summary-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.ggg-referee-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ggg-referee-chip--strict {
  background: linear-gradient(180deg, rgba(239, 159, 39, 0.12), rgba(255, 255, 255, 0.9));
}

.ggg-referee-chip--home {
  background: linear-gradient(180deg, rgba(239, 159, 39, 0.14), rgba(255, 255, 255, 0.9));
}

.ggg-referee-chip--away {
  background: linear-gradient(180deg, rgba(91, 155, 213, 0.12), rgba(255, 255, 255, 0.9));
}

.ggg-referee-chip-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ggg-referee-chip-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ggg-referee-chip-value {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-referee-card-graph {
  min-height: 360px;
}

.ggg-referee-card-graph .js-plotly-plot,
.ggg-referee-card-graph .plot-container,
.ggg-referee-card-graph .svg-container {
  height: 100% !important;
}

.ggg-performance-card-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ggg-performance-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 16px 0;
}

.ggg-performance-card-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
}

.ggg-performance-card-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
}

.ggg-overview-drift-card {
  min-height: 0;
}

.ggg-overview-drift-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ggg-overview-drift-shell,
.ggg-overview-drift {
  height: auto;
}

.ggg-overview-drift {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ggg-overview-drift-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.ggg-overview-drift-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ggg-overview-drift-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ggg-overview-drift-section {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.82);
  padding: 12px;
}

.ggg-overview-drift-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ggg-overview-drift-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
}

.ggg-overview-drift-section-body {
  display: block;
}

.ggg-overview-drift-spectrum {
  position: relative;
  min-height: 248px;
  --ggg-drift-axis-inset: 8%;
  --ggg-drift-axis-width: 84%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
    rgba(241, 245, 249, 0.58);
  overflow: hidden;
}

.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet-origin-line,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-lollipop-line,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet-origin,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet-head,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet-label {
  opacity: 0.16;
  filter: saturate(0.7);
}

.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-comet-origin-line,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-lollipop-line,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-comet-origin,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-comet-head,
.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-comet-label {
  opacity: 1;
  filter: none;
}

.ggg-overview-drift-spectrum-axis {
  position: absolute;
  left: var(--ggg-drift-axis-inset);
  right: var(--ggg-drift-axis-inset);
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.36), rgba(100, 116, 139, 0.55), rgba(148, 163, 184, 0.36));
}

.ggg-overview-drift-spectrum-tick {
  position: absolute;
  top: calc(50% - 8px);
  width: 1px;
  height: 16px;
  background: rgba(148, 163, 184, 0.28);
}

.ggg-overview-drift-spectrum-tick--quarter {
  left: calc(var(--ggg-drift-axis-inset) + (var(--ggg-drift-axis-width) * 0.25));
}

.ggg-overview-drift-spectrum-tick--mid {
  left: calc(var(--ggg-drift-axis-inset) + (var(--ggg-drift-axis-width) * 0.5));
}

.ggg-overview-drift-spectrum-tick--three-quarter {
  left: calc(var(--ggg-drift-axis-inset) + (var(--ggg-drift-axis-width) * 0.75));
}

.ggg-overview-drift-comet {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ggg-overview-drift-comet-origin-line {
  position: absolute;
  top: 50%;
  width: 1px;
  background: rgba(148, 163, 184, 0.38);
  transition: opacity 140ms ease, filter 140ms ease;
}

.ggg-overview-drift-comet--slot-top-a .ggg-overview-drift-comet-origin-line {
  display: none;
}

.ggg-overview-drift-comet--slot-bottom-a .ggg-overview-drift-comet-origin-line {
  display: none;
}

.ggg-overview-drift-comet--slot-top-b .ggg-overview-drift-comet-origin-line {
  height: 70px;
  margin-top: -70px;
}

.ggg-overview-drift-comet--slot-bottom-b .ggg-overview-drift-comet-origin-line {
  height: 70px;
  margin-top: 0;
}

.ggg-overview-drift-comet--slot-top-c .ggg-overview-drift-comet-origin-line {
  height: 100px;
  margin-top: -100px;
}

.ggg-overview-drift-comet--slot-bottom-c .ggg-overview-drift-comet-origin-line {
  height: 100px;
  margin-top: 0;
}

.ggg-overview-drift-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-overview-drift-lollipop-line {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  opacity: 0.8;
  transition: opacity 140ms ease, filter 140ms ease;
}

.ggg-overview-drift-lollipop-line--up {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.4) 34%, rgba(20, 184, 166, 0.94));
}

.ggg-overview-drift-lollipop-line--down {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.94), rgba(148, 163, 184, 0.4) 66%, rgba(148, 163, 184, 0.12));
}

.ggg-overview-drift-lollipop-line--flat {
  background: rgba(100, 116, 139, 0.56);
}

.ggg-overview-drift-comet-origin,
.ggg-overview-drift-comet-head {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border-radius: 999px;
  pointer-events: auto;
  transition: transform 140ms ease, opacity 140ms ease, filter 140ms ease;
}

.ggg-overview-drift-comet-origin {
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -5px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(148, 163, 184, 0.75);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.ggg-overview-drift-comet-head {
  border: 2px solid rgba(248, 250, 252, 0.98);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.16);
}

.ggg-overview-drift-comet-head--up {
  background: #14b8a6;
}

.ggg-overview-drift-comet-head--down {
  background: #ef4444;
}

.ggg-overview-drift-comet-head--flat {
  background: #94a3b8;
}

.ggg-overview-drift-comet:hover .ggg-overview-drift-comet-origin,
.ggg-overview-drift-comet:hover .ggg-overview-drift-comet-head {
  transform: scale(1.16);
}

.ggg-overview-drift-comet-label {
  position: absolute;
  min-width: 60px;
  height: 30px;
  padding: 0 5px 0 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: auto;
  transition: opacity 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.ggg-overview-drift-comet-label--left {
  transform: translateX(10px);
}

.ggg-overview-drift-comet-label--center {
  transform: translateX(-50%);
}

.ggg-overview-drift-comet-label--right {
  transform: translateX(calc(-100% - 10px));
}

.ggg-overview-drift-comet--slot-top-a .ggg-overview-drift-comet-label {
  top: calc(50% - 55px);
}

.ggg-overview-drift-comet--slot-bottom-a .ggg-overview-drift-comet-label {
  top: calc(50% + 25px);
}

.ggg-overview-drift-comet--slot-top-b .ggg-overview-drift-comet-label {
  top: calc(50% - 85px);
}

.ggg-overview-drift-comet--slot-bottom-b .ggg-overview-drift-comet-label {
  top: calc(50% + 55px);
}

.ggg-overview-drift-comet--slot-top-c .ggg-overview-drift-comet-label {
  top: calc(50% - 115px);
}

.ggg-overview-drift-comet--slot-bottom-c .ggg-overview-drift-comet-label {
  top: calc(50% + 85px);
}

.ggg-overview-drift-logo--badge {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.ggg-overview-drift-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  background: rgba(148, 163, 184, 0.14);
}

.ggg-overview-drift-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.ggg-overview-drift-badge--up {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.16);
}

.ggg-overview-drift-badge--down {
  color: #b91c1c;
  background: rgba(248, 113, 113, 0.16);
}

.ggg-overview-drift-badge--flat {
  color: var(--ink);
  background: rgba(148, 163, 184, 0.18);
}

.ggg-overview-drift-hover-guide {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  transform: translateX(-50%);
  z-index: 3;
  overflow: visible;
}

.ggg-overview-drift-hover-guide::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.ggg-overview-drift-hover-value {
  position: absolute;
  left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.ggg-overview-drift-hover-value--recent {
  top: calc(50% - 28px);
}

.ggg-overview-drift-hover-value--previous {
  top: calc(50% + 10px);
}

.ggg-overview-drift-hover-value--flip {
  left: auto;
  right: 8px;
}

.ggg-overview-drift-spectrum:hover .ggg-overview-drift-comet:hover .ggg-overview-drift-hover-guide {
  opacity: 1;
}

.ggg-overview-drift-empty {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.ggg-overview-drift-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
}

@media (max-width: 860px) {
  .ggg-referee-card-summary {
    grid-template-columns: 1fr;
  }

  .ggg-overview-drift-sections {
    grid-template-columns: 1fr;
  }

  .ggg-overview-drift-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .ggg-overview-drift-spectrum {
    min-height: 248px;
  }

  .ggg-overview-drift-comet-label {
    min-width: 60px;
    height: 30px;
    gap: 4px;
    padding: 0 5px 0 4px;
  }

  .ggg-overview-drift-badge {
    min-width: 30px;
    font-size: 8px;
  }
}

.ggg-overview-goal-windows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.ggg-overview-goal-windows-toolbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-overview-goal-windows-select {
  width: 100%;
}

.ggg-overview-goal-windows-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.ggg-overview-goal-windows-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ggg-overview-goal-windows-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--muted);
}

.ggg-overview-goal-windows-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ggg-overview-goal-windows-subtitle {
  max-width: 460px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.ggg-overview-goal-windows-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.ggg-overview-goal-windows-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.ggg-overview-goal-windows-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.ggg-overview-goal-windows-legend-swatch--for {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.95), rgba(14, 116, 144, 0.95));
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.ggg-overview-goal-windows-legend-swatch--against {
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.95), rgba(220, 38, 38, 0.9));
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.ggg-overview-goal-windows-legend-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-overview-goal-windows-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 0;
}

.ggg-overview-goal-window {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 8px 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(90deg, rgba(254, 242, 242, 0.34) 0%, rgba(255, 255, 255, 0) 42%, rgba(239, 246, 255, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ggg-overview-goal-window-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.ggg-overview-goal-window-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 8px 0 14px;
}

.ggg-overview-goal-window-bar-labels {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.ggg-overview-goal-window-bar-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  transform: translateX(-50%);
}

.ggg-overview-goal-window-halo {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 62px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.1), rgba(248, 113, 113, 0.08));
  filter: blur(6px);
  opacity: 0.5;
  z-index: 1;
}

.ggg-overview-goal-window-track {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 44px;
  height: 176px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  z-index: 2;
}

.ggg-overview-goal-window-track--total {
  width: 26px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.ggg-overview-goal-window-rail,
.ggg-overview-goal-window-fill {
  grid-row: 1;
  align-self: end;
  width: 100%;
  border-radius: 999px;
}

.ggg-overview-goal-window-rail {
  display: none;
}

.ggg-overview-goal-window-rail--for {
  background: linear-gradient(180deg, rgba(186, 230, 253, 0.16), rgba(14, 116, 144, 0.08));
}

.ggg-overview-goal-window-rail--against {
  background: linear-gradient(180deg, rgba(254, 205, 211, 0.18), rgba(190, 24, 93, 0.08));
}

.ggg-overview-goal-window-fill {
  min-height: 0;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.ggg-overview-goal-window-fill--for {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.94), rgba(14, 116, 144, 0.95));
}

.ggg-overview-goal-window-fill--against {
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.96), rgba(220, 38, 38, 0.9));
}

.ggg-overview-goal-window-fill--total {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.94), rgba(3, 105, 161, 0.92));
}

.ggg-overview-goal-window-contributors {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.ggg-overview-goal-window-contributors--left {
  right: 50%;
  margin-right: 42px;
  align-items: flex-end;
}

.ggg-overview-goal-window-contributors--right {
  left: 50%;
  margin-left: 42px;
  align-items: flex-start;
}

.ggg-overview-goal-window-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.ggg-overview-goal-window-logo--rank-1 {
  width: 28px;
  height: 28px;
}

.ggg-overview-goal-window-logo--rank-2 {
  width: 28px;
  height: 28px;
}

.ggg-overview-goal-window-logo-image {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.ggg-overview-goal-window-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(226, 232, 240, 0.76);
}

.ggg-overview-goal-window-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 860px) {
  .ggg-overview-goal-windows-grid {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ggg-overview-goal-windows-grid::-webkit-scrollbar {
    height: 6px;
  }

  .ggg-overview-goal-window {
    min-width: 88px;
  }
}

.ggg-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ggg-market-tile {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.85);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-market-tile-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}

.ggg-market-tile-value {
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-market-tile-prev {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.ggg-market-delta {
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 700;
}

.ggg-market-delta--hot {
  color: #1d4ed8;
}

.ggg-market-delta--cold {
  color: #dc2626;
}

.ggg-h2h-card .card-body {
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ggg-h2h-page-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ggg-h2h-fixture-header {
  margin-bottom: 20px;
}

.ggg-h2h-page-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ggg-h2h-page-subtitle {
  max-width: 60ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.ggg-h2h-header-shell {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ggg-h2h-record-shell {
  height: 100%;
}

.ggg-h2h-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.ggg-h2h-record-title {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

.ggg-h2h-record-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.ggg-h2h-control-block {
  min-width: 0;
  width: 100%;
}

.ggg-h2h-simulate-btn {
  min-height: 42px;
  padding-inline: 18px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.94), rgba(59, 130, 246, 0.9));
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.22);
}

.ggg-h2h-simulate-btn:hover {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.98), rgba(37, 99, 235, 0.94));
}

.ggg-h2h-simulate-btn-icon {
  display: inline-block;
  margin-right: 6px;
  font-weight: 900;
  line-height: 1;
}

.ggg-h2h-simulate-btn-loader {
  margin-right: 8px;
}

.ggg-h2h-simulate-btn[data-disabled],
.ggg-h2h-simulate-btn:disabled {
  opacity: 0.68;
  filter: saturate(0.65);
  box-shadow: none;
}

.ggg-h2h-simulate-modal .mantine-Modal-content {
  border-radius: 20px;
  overflow: hidden;
  max-width: min(760px, calc(100vw - 32px));
}

.ggg-h2h-simulate-modal .mantine-Modal-header {
  min-height: 0;
  padding: 0;
}

.ggg-h2h-simulate-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 12px 2px;
}

.ggg-h2h-simulate-toolbar-meta {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.ggg-h2h-simulate-modal-content {
  padding: 0 20px 24px;
}

.ggg-h2h-simulate-modal-body {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.ggg-h2h-simulate-modal-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/MI.logo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(88%, 320px);
  opacity: 0.14;
  filter: grayscale(1) brightness(0.7) contrast(1.1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ggg-h2h-simulate-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.ggg-h2h-simulate-close:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.96));
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.ggg-h2h-simulate-close:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18), 0 10px 22px rgba(15, 23, 42, 0.12);
}

.ggg-h2h-simulate-loading {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.ggg-h2h-simulate-loading-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.ggg-h2h-simulate-loading-copy {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.ggg-h2h-simulate-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ggg-h2h-simulate-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ggg-h2h-simulate-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ggg-h2h-simulate-stat {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.ggg-h2h-simulate-stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}

.ggg-h2h-simulate-stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  line-height: 1.15;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.ggg-h2h-simulate-stat-detail {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ggg-h2h-simulate-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ggg-h2h-simulate-section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
}

.ggg-h2h-simulate-rings {
  gap: 10px;
}

.ggg-h2h-simulate-scorelines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ggg-h2h-simulate-scoreline {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}

.ggg-h2h-simulate-scoreline-score {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.ggg-h2h-simulate-scoreline-prob {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ggg-h2h-control-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ggg-h2h-page-select {
  min-width: 0;
}

.ggg-h2h-results-dropdown {
  min-width: 0;
  position: relative;
  width: 100%;
}

.ggg-h2h-results-disclosure {
  position: relative;
}

.ggg-h2h-results-disclosure > summary {
  list-style: none;
}

.ggg-h2h-results-disclosure > summary::-webkit-details-marker {
  display: none;
}

.ggg-h2h-results-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  cursor: pointer;
}

.ggg-h2h-results-disclosure[open] .ggg-h2h-results-summary {
  border-color: rgba(14, 116, 144, 0.42);
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.14);
}

.ggg-h2h-results-summary-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ggg-h2h-results-summary-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ggg-h2h-results-summary-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.ggg-h2h-results-summary-logo,
.ggg-h2h-results-summary-comp-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-results-summary-team,
.ggg-h2h-results-summary-comp {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.ggg-h2h-results-summary-score {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-results-summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.ggg-h2h-results-summary-caret {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ggg-h2h-results-disclosure[open] .ggg-h2h-results-summary-caret {
  transform: rotate(180deg);
}

.ggg-h2h-results-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-h2h-results-panel-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ggg-h2h-results-panel-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ggg-h2h-results-panel .ggg-h2h-recent {
  overflow: visible;
}

.ggg-h2h-results-panel .ggg-h2h-recent-row {
  max-height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.ggg-h2h-results-panel .ggg-h2h-recent-chips {
  padding-right: 4px;
}

.ggg-overview-disclosure {
  width: 100%;
}

.ggg-overview-disclosure .ggg-h2h-results-summary {
  min-height: 48px;
}

.ggg-overview-disclosure-panel {
  padding: 12px;
}

.ggg-overview-disclosure-panel .ggg-cup-results-nav {
  display: none;
}

.ggg-overview-disclosure-panel .ggg-cup-results-list {
  max-height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.ggg-overview-disclosure-panel .ggg-cup-results {
  overflow: visible;
}

.ggg-overview-disclosure-panel .ggg-league-fixtures-loading {
  max-height: 440px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.ggg-overview-disclosure-panel .ggg-league-fixtures-loading > div,
.ggg-overview-disclosure-panel .ggg-league-fixture-table-wrap {
  max-height: none;
  overflow: visible;
}

.ggg-h2h-competition-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.ggg-h2h-competition-card .ggg-h2h-goal-timing-title {
  margin: 0;
  flex: 0 0 auto;
}

.ggg-h2h-competition-filter {
  width: 100%;
  min-width: 0;
}

.ggg-h2h-competition-filter .mantine-PillsInput-root {
  min-height: 46px;
}

.ggg-h2h-competition-filter .mantine-Pill-root {
  margin-top: 3px;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ggg-h2h-selected-logo {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-competition-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: max-content;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ggg-h2h-competition-choice:has(.ggg-h2h-competition-check:checked) {
  border-color: rgba(14, 116, 144, 0.42);
  background: rgba(240, 249, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.14);
}

.ggg-h2h-competition-check {
  margin: 0;
  flex: 0 0 auto;
}

.ggg-h2h-competition-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ggg-h2h-competition-option-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-competition-option-text {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ggg-h2h-summary-panel {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 0;
  margin-bottom: 14px;
}

.ggg-h2h-summary-panel > .ggg-h2h-summary,
.ggg-h2h-summary-panel > .ggg-empty {
  width: 100%;
}

.ggg-h2h-model-full {
  margin: 0 0 14px;
}

.ggg-h2h-model-full--stack {
  width: 100%;
  margin-top: 0;
}

.ggg-h2h-model-full > .ggg-h2h-model-card {
  width: 100%;
}

.ggg-h2h-model-card {
  margin: 0;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-h2h-model-inner {
  display: flex;
  gap: 8px;
}

.ggg-h2h-model-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: stretch;
  width: 100%;
}

.ggg-h2h-model-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ggg-h2h-model-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ggg-h2h-model-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.ggg-h2h-model-chip {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(248, 250, 252, 0.9);
  width: 100%;
}

.ggg-h2h-model-chip--hot {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
}

.ggg-h2h-model-chip--cold {
  background: rgba(248, 113, 113, 0.16);
  border-color: rgba(248, 113, 113, 0.5);
}

.ggg-h2h-model-chip--neutral {
  background: rgba(148, 163, 184, 0.12);
}

.ggg-h2h-model-chip--empty {
  background: rgba(226, 232, 240, 0.5);
}

.ggg-h2h-model-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-model-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 768px) {
  .ggg-h2h-model-row {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 6px;
  }
}

.ggg-h2h-model-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ggg-h2h-model-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.ggg-h2h-model-sub--inline {
  margin-left: auto;
}

.ggg-h2h-model-accordion .accordion-button {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ggg-h2h-model-accordion .accordion-button::after {
  align-self: flex-end;
  margin-left: 0;
  margin-top: -18px;
}

.ggg-h2h-model-accordion .accordion-body {
  padding: 0;
}

.ggg-h2h-model-empty {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.ggg-h2h-timing-card {
  height: 100%;
  width: 100%;
}

.ggg-h2h-context-strip {
  margin-bottom: 20px;
}

.ggg-h2h-goal-timing-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  text-align: center;
}

.ggg-h2h-goal-timing-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-bottom: 10px;
  align-items: stretch;
  position: relative;
}

.ggg-h2h-goal-timing-controls::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(148, 163, 184, 0.24);
  transform: translateX(-50%);
  pointer-events: none;
}

.ggg-h2h-goal-timing-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.ggg-h2h-goal-timing-controls > .ggg-h2h-goal-timing-row:first-child {
  width: auto;
  justify-self: end;
}

.ggg-h2h-goal-timing-team {
  min-width: 0;
  justify-self: start;
}

.ggg-h2h-goal-timing-controls > .ggg-h2h-goal-timing-row:first-child .ggg-h2h-goal-timing-team {
  justify-self: end;
}

.ggg-h2h-goal-timing-team-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  justify-content: flex-start;
}

.ggg-h2h-goal-timing-controls > .ggg-h2h-goal-timing-row:first-child .ggg-h2h-goal-timing-team-label {
  justify-content: flex-end;
}

.ggg-h2h-goal-timing-toggle-pair {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  align-items: center;
  min-width: 0;
  justify-content: start;
}

.ggg-h2h-goal-timing-controls > .ggg-h2h-goal-timing-row:first-child .ggg-h2h-goal-timing-toggle-pair {
  justify-content: end;
}

.ggg-h2h-goal-timing-toggle .mantine-ChipGroup-root {
  display: flex;
  width: auto;
}

.ggg-h2h-goal-timing-toggle .mantine-Chip-root {
  width: auto;
}

.ggg-h2h-goal-timing-toggle .mantine-Chip-input {
  display: none !important;
}

.ggg-h2h-goal-timing-toggle .mantine-Chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 11px;
  color: var(--ink);
  cursor: pointer;
  width: auto;
  min-width: 38px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.82);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.ggg-h2h-goal-timing-toggle [class*="iconWrapper"] {
  display: none !important;
}

.ggg-h2h-goal-timing-toggle .mantine-Chip-input:checked + .mantine-Chip-label {
  border-color: rgba(14, 116, 144, 0.72);
  background: rgba(224, 242, 254, 0.98);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.2), 0 0 0 2px rgba(14, 116, 144, 0.12);
  transform: translateY(-1px);
}

.ggg-h2h-goal-timing-toggle-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-goal-timing-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.ggg-h2h-goal-timing-toggle-team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-goal-timing-toggle-scope {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 900px) {
  .ggg-h2h-goal-timing-controls {
    gap: 10px 12px;
  }
}

@media (max-width: 640px) {
  .ggg-h2h-goal-timing-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .ggg-h2h-goal-timing-controls::before {
    display: none;
  }

  .ggg-h2h-goal-timing-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ggg-h2h-goal-timing-team {
    justify-self: center;
  }

  .ggg-h2h-goal-timing-team-label {
    justify-content: center;
  }
}

.ggg-h2h-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ggg-h2h-hero-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ggg-h2h-hero-team--away {
  justify-content: flex-end;
}

.ggg-h2h-hero-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-hero-vs {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ggg-h2h-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ggg-h2h-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0;
}

.ggg-h2h-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
  align-items: stretch;
}

.ggg-h2h-overview-col {
  min-width: 0;
}

.ggg-h2h-overview-col--results,
.ggg-h2h-overview-col--summary {
  display: flex;
  min-height: 0;
}

.ggg-h2h-overview-col--results > .ggg-h2h-recent {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.ggg-h2h-overview-col--summary > div {
  width: 100%;
}

.ggg-h2h-recent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.78);
  margin: 0;
  height: 100%;
  min-height: 0;
}

.ggg-h2h-recent-row {
  display: flex;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.ggg-h2h-recent-prefix {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-recent-chips {
  display: flex;
  gap: 6px;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: flex-start;
}

.ggg-h2h-recent-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  text-transform: none;
  letter-spacing: 0.02em;
  display: grid;
  grid-template-columns: 180px 22px max-content max-content 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  flex: 0 0 auto;
  width: 100%;
}

.ggg-h2h-recent-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  justify-self: center;
}

.ggg-h2h-recent-score {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  min-width: 0;
  width: auto;
}

.ggg-h2h-recent-score--ht,
.ggg-h2h-recent-score--ft {
  justify-content: center;
}

.ggg-h2h-recent-score--trailing {
  width: auto;
  justify-content: flex-end;
}

.ggg-h2h-recent-score-placeholder {
  display: block;
  width: 0;
}

.ggg-h2h-recent-score-extra {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.ggg-h2h-recent-score-segment {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.ggg-h2h-recent-score-value {
  font-weight: 600;
}

.ggg-h2h-recent-score-value--winner {
  font-size: 1.08em;
  font-weight: 900;
  color: #0f172a;
}

.ggg-h2h-recent-score-separator,
.ggg-h2h-recent-score-bracket {
  color: #475569;
  font-weight: 600;
}

.ggg-h2h-recent-venue-at {
  font-weight: 800;
}

.ggg-h2h-recent-venue-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ggg-h2h-recent-comp-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-recent-comp-block {
  display: inline-grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  justify-content: start;
}

.ggg-h2h-recent-comp-name {
  font-weight: 800;
  color: #1f2937;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ggg-h2h-recent-tail {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.ggg-h2h-recent-winner {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

.ggg-h2h-recent-winner-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ggg-h2h-recent-winner-text {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-recent-winner-placeholder {
  display: block;
  width: 0;
  height: 22px;
}

.ggg-h2h-recent-score-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.ggg-h2h-recent-score-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}

.ggg-h2h-page-loading {
  min-height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ggg-h2h-page-content {
  width: 100%;
}

.ggg-grid-row--h2h-top,
.ggg-grid-row--h2h-form-halves {
  grid-template-columns: minmax(0, 1fr);
}

.ggg-grid-col--h2h-record,
.ggg-grid-col--h2h-insights {
  min-width: 0;
}

.ggg-h2h-insight-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

@media (min-width: 992px) {
  .ggg-grid-row--h2h-form-halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ggg-grid-row--h2h-top {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  }

  .ggg-grid-row--h2h-form-halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .ggg-grid-row--h2h-top {
    grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  }
}

.ggg-h2h-recent-chip--venue {
  border-color: rgba(15, 23, 42, 0.9);
  border-width: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18), 0 8px 18px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .ggg-h2h-record-controls {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .ggg-h2h-control-block--action {
    justify-content: stretch;
  }

  .ggg-h2h-simulate-btn {
    width: 100%;
  }

  .ggg-h2h-simulate-modal-content {
    padding: 0 16px 20px;
  }

  .ggg-h2h-simulate-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ggg-h2h-simulate-scorelines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ggg-h2h-results-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .ggg-h2h-results-summary-label {
    display: none;
  }

  .ggg-h2h-results-summary-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ggg-h2h-recent-chip {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .ggg-h2h-recent-spacer {
    display: none;
  }
}

.ggg-h2h-recent-chip--emph {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18), 0 12px 26px rgba(15, 23, 42, 0.18);
}

.ggg-h2h-recent-chip--mute {
  opacity: 0.7;
}

.ggg-h2h-recent-tally {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ggg-h2h-recent-tally-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-recent-empty {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 10px 0;
}

.ggg-h2h-page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.ggg-h2h-page-btn {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.ggg-h2h-page-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ggg-h2h-page-btn:disabled {
  opacity: 0.45;
}

.ggg-h2h-page-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.ggg-h2h-summary {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 0;
}

@media (min-width: 1201px) {
  .ggg-h2h-overview-col--results,
  .ggg-h2h-overview-col--results > .ggg-h2h-recent {
    height: 520px;
  }

  .ggg-h2h-overview-col--summary > div {
    min-height: 520px;
  }
}

.ggg-h2h-summary-card {
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  container-type: inline-size;
}

.ggg-h2h-summary-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 0;
  text-align: center;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.ggg-h2h-summary-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.ggg-h2h-summary-title-prefix {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.ggg-h2h-summary-title-logo {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-right: 4px;
}

.ggg-h2h-summary-title-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ggg-h2h-summary-title-entity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.ggg-h2h-summary-title-text {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.ggg-h2h-summary-title-suffix {
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
  margin-left: 6px;
}

.ggg-h2h-summary-title-amp {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}

.ggg-h2h-summary-body {
  display: block;
  min-width: 0;
}

.ggg-h2h-summary-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-h2h-summary-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  column-gap: 42px;
  row-gap: 14px;
  margin-top: 10px;
  min-width: 0;
}

.ggg-h2h-summary-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: end;
}

.ggg-h2h-summary-goal-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  justify-content: center;
}

.ggg-h2h-summary-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ggg-h2h-summary-goal-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-summary-games {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.ggg-h2h-summary-triangle {
  position: relative;
  height: 92px;
  margin-top: 0;
  width: 132px;
  min-width: 118px;
  flex: 0 1 132px;
  justify-self: start;
}

.ggg-h2h-summary-triangle-shape {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 122px;
  height: 68px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.04)),
    linear-gradient(180deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.04)),
    linear-gradient(225deg, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0.04));
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ggg-h2h-summary-triangle-shape::before,
.ggg-h2h-summary-triangle-shape::after {
  content: "";
  position: absolute;
  background: rgba(100, 116, 139, 0.28);
}

.ggg-h2h-summary-triangle-shape::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.ggg-h2h-summary-triangle-shape::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}

.ggg-h2h-summary-triangle-point {
  position: absolute;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  margin-top: -5.5px;
  border-radius: 999px;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.ggg-h2h-summary-triangle-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.ggg-h2h-summary-triangle-label--home {
  left: calc(50% - 66px);
  bottom: -18px;
}

.ggg-h2h-summary-triangle-label--draw {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.ggg-h2h-summary-triangle-label--away {
  right: calc(50% - 66px);
  bottom: -18px;
}

.ggg-h2h-summary-triangle-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.ggg-h2h-summary-triangle-text {
  font-weight: 800;
}

.ggg-h2h-summary-donut {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
}

.ggg-h2h-summary-donut-ring {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.ggg-h2h-summary-donut::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ggg-h2h-summary-donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ggg-h2h-summary-donut-total {
  font-family: var(--mono-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-summary-donut-caption {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ggg-h2h-summary-chips {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  flex-wrap: nowrap;
}

.ggg-h2h-summary-chips--matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 16px;
  justify-content: center;
  justify-items: center;
  align-content: center;
  min-width: 172px;
}

@container (max-width: 440px) {
  .ggg-h2h-summary-header {
    flex-direction: column;
    align-items: center;
  }

  .ggg-h2h-summary-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px 12px;
    justify-content: center;
    justify-self: center;
  }

  .ggg-h2h-summary-visuals {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 12px;
  }

  .ggg-h2h-summary-chips--matrix {
    min-width: 0;
  }

  .ggg-h2h-summary-detail {
    justify-content: center;
  }
}

.ggg-h2h-market-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 0 0 78px;
}

.ggg-h2h-market-ring-visual {
  --ggg-market-ring-angle: 0deg;
  --ggg-market-ring-color: rgba(100, 116, 139, 0.82);
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: conic-gradient(var(--ggg-market-ring-color) 0deg var(--ggg-market-ring-angle), rgba(226, 232, 240, 0.98) var(--ggg-market-ring-angle) 360deg);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.ggg-h2h-market-ring-visual::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ggg-h2h-market-ring-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ggg-h2h-market-ring-short {
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.ggg-h2h-market-ring-value {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
  text-align: center;
  max-width: 78px;
  text-wrap: balance;
}

.ggg-h2h-form-market-chips {
  margin-top: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin-left: 0;
  justify-content: center;
  justify-self: center;
  gap: 10px 16px;
}

.ggg-h2h-form-goal-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

.ggg-h2h-form-goal-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  justify-content: center;
}

.ggg-h2h-form-mini-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-h2h-form-goal-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.ggg-h2h-form-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  column-gap: 42px;
  row-gap: 14px;
  min-width: 0;
}

.ggg-h2h-form-goal-detail {
  justify-self: end;
}

.ggg-h2h-form-donut {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
}

.ggg-h2h-form-donut-ring {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.ggg-h2h-form-donut::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ggg-h2h-form-donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ggg-h2h-form-donut-total {
  font-family: var(--mono-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-form-donut-caption {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ggg-h2h-form-triangle {
  position: relative;
  height: 88px;
  width: 124px;
  min-width: 110px;
  flex: 0 1 124px;
}

.ggg-h2h-form-triangle-shape {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 114px;
  height: 64px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.05)),
    linear-gradient(180deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.05)),
    linear-gradient(225deg, rgba(248, 113, 113, 0.18), rgba(248, 113, 113, 0.05));
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ggg-h2h-form-triangle-shape::before,
.ggg-h2h-form-triangle-shape::after {
  content: "";
  position: absolute;
  background: rgba(100, 116, 139, 0.28);
}

.ggg-h2h-form-triangle-shape::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.ggg-h2h-form-triangle-shape::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
}

.ggg-h2h-form-triangle-point {
  position: absolute;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 999px;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.ggg-h2h-form-triangle-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.ggg-h2h-form-triangle-label--win {
  left: calc(50% - 60px);
  bottom: -15px;
}

.ggg-h2h-form-triangle-label--draw {
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
}

.ggg-h2h-form-triangle-label--loss {
  right: calc(50% - 50px);
  bottom: -15px;
}

.ggg-h2h-form-triangle-text {
  font-weight: 800;
}

.ggg-h2h-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.ggg-h2h-slider {
  margin: 4px 0 14px;
}

.ggg-h2h-slider--card {
  margin: 0;
  min-width: 180px;
  width: 100%;
  padding: 2px 4px 10px;
}

.ggg-h2h-slider .rc-slider {
  padding: 6px 0 18px;
}

.ggg-h2h-slider .rc-slider-rail {
  background: rgba(148, 163, 184, 0.28);
  height: 4px;
}

.ggg-h2h-slider .rc-slider-track {
  background: rgba(148, 163, 184, 0.28);
  height: 4px;
}

.ggg-h2h-slider .rc-slider-handle {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 2px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.22);
  cursor: grab;
  opacity: 1;
}

.ggg-h2h-slider .rc-slider-handle:active {
  cursor: grabbing;
}

.ggg-h2h-slider .rc-slider-mark {
  top: 18px;
}

.ggg-h2h-slider .rc-slider-mark-text {
  font-family: var(--body-font);
  font-size: 11px;
  color: var(--muted);
}

.ggg-h2h-form-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ggg-h2h-form-card {
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-h2h-form-card .card-body,
.ggg-h2h-timing-card .card-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.ggg-h2h-form-card .dash-spreadsheet td.dash-cell:hover {
  background-color: rgba(14, 165, 233, 0.08) !important;
}

.ggg-h2h-form-card .dash-tooltip,
.ggg-h2h-form-card .dash-table-tooltip {
  font-size: 10px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  max-width: none !important;
}

.ggg-h2h-form-detail .card-body {
  padding: 16px 16px 14px;
}

.ggg-h2h-form-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.ggg-h2h-form-header-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.ggg-h2h-form-controls-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.ggg-h2h-form-controls-row > * {
  min-width: 0;
}

.ggg-h2h-form-competition-filter {
  flex: 1.2 1 280px;
  justify-content: center;
  width: 100%;
  min-width: 220px;
  max-width: 100%;
  margin-top: 0;
  padding-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

.ggg-h2h-form-anomaly-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: max-content;
}

.ggg-h2h-form-controls-row > .ggg-h2h-slider--card {
  flex: 1 1 220px;
}

.ggg-h2h-form-anomaly-switch {
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.82);
  width: max-content;
}

.ggg-h2h-form-anomaly-switch .mantine-Switch-body {
  align-items: center;
}

.ggg-h2h-form-anomaly-switch .mantine-Switch-label {
  padding-left: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .ggg-h2h-form-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ggg-h2h-form-controls-row > .ggg-h2h-slider--card,
  .ggg-h2h-form-competition-filter {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.ggg-h2h-form-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ggg-h2h-form-detail-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  container-type: inline-size;
}

.ggg-h2h-form-stack .dash-table-container {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow-x: hidden;
  overflow-y: visible;
}

.ggg-h2h-form-card .dash-table-container,
.ggg-h2h-form-card .dash-spreadsheet-container,
.ggg-h2h-form-card .dash-spreadsheet-inner {
  overflow-y: visible !important;
}

.ggg-h2h-form-accordion .accordion-item {
  border: none;
  background: transparent;
}

.ggg-h2h-form-accordion .accordion-button {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.ggg-h2h-form-accordion .accordion-button::after {
  margin-left: auto;
}

.ggg-h2h-form-accordion .accordion-body {
  padding: 0;
}

.ggg-h2h-form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  justify-content: center;
  text-align: center;
}

.ggg-h2h-form-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ggg-h2h-form-team {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.ggg-h2h-form-team-context {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.01em;
}

.ggg-h2h-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ggg-h2h-form-block {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ggg-h2h-form-title {
  text-align: center;
  flex: 0 0 auto;
}

.ggg-h2h-form-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.ggg-h2h-form-summary-body {
  display: block;
  min-width: 0;
}

@container (max-width: 440px) {
  .ggg-h2h-form-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ggg-h2h-form-market-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px 12px;
    align-items: center;
    justify-content: center;
  }

  .ggg-h2h-form-visuals {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 8px;
  }

  .ggg-h2h-form-goal-detail {
    justify-content: center;
  }

  .ggg-h2h-form-triangle {
    width: 116px;
    min-width: 116px;
    height: 80px;
    flex: 0 0 116px;
  }

  .ggg-h2h-form-triangle-shape {
    top: 16px;
    width: 106px;
    height: 58px;
  }

  .ggg-h2h-form-triangle-label {
    font-size: 10px;
  }

  .ggg-h2h-form-triangle-label--win {
    left: 12px;
    bottom: 0;
  }

  .ggg-h2h-form-triangle-label--draw {
    top: 4px;
  }

  .ggg-h2h-form-triangle-label--loss {
    right: 12px;
    bottom: 0;
  }
}

.ggg-h2h-form-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ggg-h2h-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--ink);
}

.ggg-h2h-pill--w {
  background: rgba(14, 165, 233, 0.2);
  color: #0f172a;
}

.ggg-h2h-pill--d {
  background: rgba(148, 163, 184, 0.2);
}

.ggg-h2h-pill--l {
  background: rgba(248, 113, 113, 0.2);
}

.ggg-h2h-form-metrics {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: space-between;
  align-items: center;
}

.ggg-h2h-metric {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

.ggg-h2h-form-empty {
  font-size: 12px;
  color: var(--muted);
}

.ggg-h2h-table-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 14px 0 8px;
}

.ggg-h2h-table-card {
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  padding: 16px 16px 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ggg-h2h-table-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ggg-h2h-table-card .dash-table-container {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.ggg-h2h-form-stack .dash-table-container td[data-dash-column="competition"] .dash-cell-value {
  display: flex;
  align-items: center;
  height: 100%;
}

.ggg-h2h-form-stack .dash-table-container td[data-dash-column="competition"] .dash-cell-value p {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.ggg-h2h-form-stack .dash-table-container td[data-dash-column="opponent"] .dash-cell-value p {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.ggg-h2h-form-stack .dash-table-container td img.ggg-h2h-table-comp-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.ggg-h2h-form-stack .dash-table-container td img.ggg-h2h-table-opponent-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

@media (max-width: 1200px) {
  .ggg-h2h-summary {
    grid-template-columns: 1fr;
  }

  .ggg-h2h-form-grid {
    grid-template-columns: 1fr;
  }

  .ggg-h2h-form-detail-grid {
    grid-template-columns: 1fr;
  }

  .ggg-h2h-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ggg-h2h-form-summary-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ggg-h2h-form-market-chips {
    min-width: 0;
  }

  .ggg-h2h-form-visuals {
    justify-content: center;
  }

  .ggg-h2h-card .card-body {
    padding: 16px 16px 14px;
    gap: 12px;
  }

  .ggg-h2h-page-title {
    font-size: 20px;
  }

  .ggg-h2h-page-subtitle {
    font-size: 11px;
  }

  .ggg-h2h-header-shell,
  .ggg-h2h-model-card,
  .ggg-h2h-form-card,
  .ggg-h2h-table-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ggg-h2h-hero {
    gap: 10px;
  }

  .ggg-h2h-hero-name {
    font-size: 18px;
  }

  .ggg-h2h-logo {
    width: 32px;
    height: 32px;
  }

  .ggg-h2h-recent {
    padding: 8px 10px;
  }

  .ggg-h2h-recent-chip {
    min-width: 30px;
    min-height: 30px;
    padding: 5px 8px;
  }

  .ggg-h2h-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ggg-row-stretch {
  align-items: stretch;
}

.ggg-grid-row {
  display: grid;
  gap: 14px;
}

.ggg-grid-row--single {
  grid-template-columns: minmax(0, 1fr);
}

.ggg-row-stretch > [class*="col"] {
  display: flex;
  align-items: stretch;
}

.ggg-row-stretch > .ggg-grid-col {
  display: flex;
  align-items: stretch;
}

.ggg-row-stretch > [class*="col"] > .ggg-card {
  flex: 1;
  width: 100%;
  height: 100%;
}

.ggg-row-stretch > .ggg-grid-col > .ggg-card {
  flex: 1;
  width: 100%;
  height: 100%;
}

@media (min-width: 1200px) {
  .ggg-overview-fixtures-row {
    align-items: flex-start;
  }

  .ggg-overview-fixtures-row > [class*="col"] {
    align-items: flex-start;
  }

  .ggg-overview-fixtures-row > .ggg-grid-col {
    align-items: flex-start;
  }

  .ggg-overview-fixtures-row .ggg-overview-panel-stack,
  .ggg-overview-fixtures-row .ggg-overview-panel-stack > .ggg-card {
    flex: 0 0 auto;
    height: auto !important;
  }

  .ggg-overview-fixtures-row .ggg-league-fixtures-card {
    min-height: 0;
    overflow: hidden;
  }

.ggg-overview-fixtures-row .ggg-league-fixtures-card .card-body,
.ggg-overview-fixtures-row .ggg-league-fixtures-loading,
.ggg-overview-fixtures-row .ggg-league-fixture-table-wrap {
  min-height: 0;
}

.ggg-overview-fixtures-row .ggg-league-fixtures-card .card-body {
  overflow: hidden;
}

.ggg-overview-fixtures-row .ggg-league-fixture-table-wrap {
  overflow: visible;
}
}

.ggg-overview-layout {
  padding-bottom: 32px;
}

.ggg-overview-stage-wrap {
  display: flex;
  justify-content: center;
}

.ggg-overview-stage-control {
  width: min(100%, 360px);
}

.ggg-grid-row--overview-fixtures {
  grid-template-columns: minmax(0, 1fr);
}

.ggg-grid-row--overview-halves {
  grid-template-columns: minmax(0, 1fr);
}

.ggg-grid-row--overview-disclosures,
.ggg-grid-row--overview-disclosures > [class*="col"],
.ggg-grid-row--overview-disclosures > [class*="col"] > .ggg-card,
.ggg-grid-row--overview-disclosures > [class*="col"] > .ggg-card > .card-body {
  overflow: visible;
}

.ggg-grid-row--overview-disclosures {
  position: relative;
  z-index: 8;
}

.ggg-grid-row--overview-disclosures .ggg-overview-disclosure {
  position: relative;
  z-index: 9;
}

.ggg-grid-row--overview-disclosures .ggg-overview-disclosure[open] {
  z-index: 40;
}

.ggg-grid-row--overview-quarters {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .ggg-grid-row--overview-halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ggg-grid-row--overview-quarters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ggg-grid-row--overview-fixtures {
    grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr);
  }

  .ggg-grid-row--overview-quarters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ggg-overview-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.ggg-overview-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ggg-overview-subtitle {
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.ggg-overview-summary-card .card-body {
  padding: 14px 16px 12px;
}

.ggg-overview-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.ggg-overview-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ggg-overview-section-subtitle {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.ggg-equal-height {
  height: 100%;
  min-height: 380px;
}

.ggg-equal-height .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ggg-equal-height .card-body > div,
.ggg-equal-height .card-body > .dash-graph {
  flex: 1;
  min-height: 0;
}

.ggg-equal-height .js-plotly-plot,
.ggg-equal-height .plot-container,
.ggg-equal-height .svg-container {
  height: 100% !important;
}

.ggg-fixture-day {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ggg-fixture-slot-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1400px) {
  .ggg-fixture-slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ggg-fixture-slot-grid--extra {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .ggg-fixture-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ggg-fixture-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ggg-fixture-slot-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.ggg-fixture-slot-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-fixture-slot-toggle {
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  padding-top: 6px;
}

.ggg-fixture-slot-toggle:first-child {
  border-top: 0;
  padding-top: 0;
}

.ggg-fixture-slot-toggle:first-child > .ggg-fixture-slot-summary {
  display: none;
}

.ggg-fixture-slot-summary {
  list-style: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.9);
  margin: 0 auto 6px;
}

.ggg-fixture-slot-summary::-webkit-details-marker {
  display: none;
}

.ggg-fixture-slot-summary::after {
  content: "+";
  color: var(--accent-2);
  font-weight: 800;
}

.ggg-fixture-slot-toggle[open] .ggg-fixture-slot-summary::after {
  content: "−";
}

.ggg-fixture-league-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ggg-fixture-league-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ggg-fixture-league-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 2px 4px;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}

.ggg-fixture-league-link:hover,
.ggg-fixture-league-link:focus-visible {
  background: rgba(241, 245, 249, 0.85);
}

.ggg-fixture-league-link:focus-visible {
  outline: 2px solid rgba(14, 116, 144, 0.35);
  outline-offset: 1px;
}

.ggg-fixture-league-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
  justify-content: center;
}

.ggg-fixture-league-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ggg-fixture-match-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 4px 4px;
  font-size: 10px;
  color: var(--ink);
  text-align: left;
  transition: background 0.12s ease, transform 0.12s ease;
}

.ggg-fixture-match-button:hover {
  background: rgba(248, 250, 252, 0.92);
}

.ggg-fixture-match-button:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.45);
  outline-offset: 2px;
}

.ggg-fixture-match-button + .ggg-fixture-match-button {
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.ggg-fixture-match-button .ggg-fixture-vs {
  text-align: center;
  line-height: 1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.ggg-league-fixtures-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}

.ggg-league-fixtures-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.ggg-league-fixtures-subtitle {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.ggg-league-fixture-hint {
  margin: 8px 0 12px;
}

.ggg-fixture-row--league {
  background: rgba(255, 255, 255, 0.85);
}


.ggg-accordion .accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 10px;
}

.ggg-accordion .accordion-button {
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: var(--ink);
  padding: 10px 16px;
}

.ggg-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(249, 115, 22, 0.15));
}

.ggg-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.ggg-accordion .accordion-body {
  padding: 10px 6px 4px;
}

.ggg-accordion .accordion-button,
.ggg-accordion .accordion-button span {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ggg-accordion-title {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================================
   Mantine Accordion (fixtures tab)
   ============================================================ */
.mantine-Accordion-item {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.mantine-Accordion-control {
  background: transparent !important;
  color: var(--ink) !important;
  font-family: "Space Grotesk", "Manrope", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  transition: background 0.15s ease !important;
}

.mantine-Accordion-control:hover {
  background: rgba(14, 165, 233, 0.06) !important;
}

.mantine-Accordion-item[data-active] .mantine-Accordion-control {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(249, 115, 22, 0.1)) !important;
}

.mantine-Accordion-chevron {
  color: var(--muted) !important;
}

.mantine-Accordion-item[data-active] .mantine-Accordion-chevron {
  color: var(--accent-2) !important;
}

.mantine-Accordion-panel {
  background: transparent !important;
  padding: 0 !important;
}

.mantine-Accordion-content {
  padding: 0 !important;
}

/* Inner league accordions — subtler styling */
.mantine-Accordion-root .mantine-Accordion-root .mantine-Accordion-item {
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
  box-shadow: none !important;
}

.mantine-Accordion-root .mantine-Accordion-root .mantine-Accordion-item:last-child {
  border-bottom: none !important;
}

.mantine-Accordion-root .mantine-Accordion-root .mantine-Accordion-control {
  font-size: 13px !important;
  padding: 10px 20px !important;
}

/* ============================================================
   Fixture rows
   ============================================================ */
.ggg-fixture-list {
  display: grid;
  gap: 6px;
  padding: 8px 12px;
}

.ggg-fixture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ggg-fixture-row--overview-disclosure {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
}

.ggg-fixture-row--broadcast {
  gap: 10px;
  padding: 12px 16px 14px;
}

.ggg-fixture-row:hover {
  background: rgba(14, 165, 233, 0.05);
  border-color: rgba(14, 165, 233, 0.2);
}

.ggg-fixture-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggg-fixture-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}

.ggg-fixture-header {
  justify-content: space-between;
  gap: 12px;
}

.ggg-league-fixture-card .ggg-fixture-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ggg-league-fixture-card .ggg-fixture-team-logo {
  width: 16px;
  height: 16px;
}

.ggg-league-fixture-card .ggg-fixture-team-name {
  max-width: 140px;
}
.ggg-fixture-team {
  font-size: 14px;
  font-weight: 600;
}

.ggg-fixture-vs {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.ggg-fixture-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

.ggg-fixture-signals--header {
  margin-left: auto;
}

.ggg-fixture-signals--broadcast {
  justify-content: center;
  margin-left: 0;
  width: 100%;
}

.ggg-fixture-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.ggg-fixture-chip-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
  line-height: 1;
}

.ggg-fixture-chip-value {
  font-weight: 700;
  font-family: var(--mono-font);
  font-size: 11px;
  line-height: 1;
}

.ggg-fixture-chip-league {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 600;
  line-height: 1;
}

.ggg-fixture-chip--hot {
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.35);
}

.ggg-fixture-chip--cold {
  opacity: 0.7;
  filter: saturate(0.7);
}

.ggg-fixture-chip--fh {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1e3a8a;
}

.ggg-fixture-chip--sh {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.25);
  color: #0f766e;
}

.ggg-fixture-chip--ft {
  background: #163d73;
  border-color: #163d73;
  color: #ffffff;
}

.ggg-fixture-chip--btts {
  background: #163d73;
  border-color: #163d73;
  color: #ffffff;
}

.ggg-fixture-chip.ggg-fixture-chip--gold {
  background: linear-gradient(135deg, #f6d365, #d4a017);
  border-color: rgba(179, 128, 0, 0.42);
  color: #2c1d00;
  box-shadow:
    0 10px 22px rgba(212, 160, 23, 0.22),
    inset 0 1px 0 rgba(255, 245, 204, 0.55);
}

.ggg-fixture-chip.ggg-fixture-chip--gold .ggg-fixture-chip-label,
.ggg-fixture-chip.ggg-fixture-chip--gold .ggg-fixture-chip-value,
.ggg-fixture-chip.ggg-fixture-chip--gold .ggg-fixture-chip-league {
  color: #2c1d00;
}

.ggg-fixture-meta {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.ggg-fixture-meta--inline {
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.ggg-fixture-match {
  font-size: 12px;
  font-weight: 600;
}

.ggg-fixture-match--broadcast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.ggg-fixture-match--broadcast .ggg-cup-result-team-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.ggg-fixture-match--broadcast .ggg-cup-result-team-wrap--home {
  justify-content: flex-end;
}

.ggg-fixture-match--broadcast .ggg-cup-result-team-wrap--away {
  justify-content: flex-start;
}

.ggg-fixture-match--broadcast .ggg-cup-result-team {
  font-size: 15px;
}

.ggg-fixture-match .ggg-fixture-vs,
.ggg-fixture-match .ggg-cup-result-team {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.ggg-fixture-row--broadcast .ggg-fixture-match-reasons {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .ggg-fixture-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ggg-fixture-meta--inline {
    margin-left: 0;
    text-align: left;
  }

  .ggg-fixture-signals {
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
  }

  .ggg-fixture-row--broadcast {
    align-items: stretch;
  }

  .ggg-fixture-match--broadcast {
    gap: 10px;
  }

  .ggg-fixture-signals--broadcast {
    justify-content: center;
  }
}

.ggg-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.ggg-kpi-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ggg-team-page-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ggg-team-page-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ggg-team-page-subtitle {
  max-width: 58ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.ggg-team-overview-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}

.ggg-grid-row--team-halves,
.ggg-grid-row--team-thirds {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .ggg-grid-row--team-thirds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ggg-grid-row--team-halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ggg-grid-row--team-thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ggg-team-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 4px 2px 0;
}

.ggg-team-page-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 62ch;
}

.ggg-team-kpi-strip {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

.ggg-team-kpi-strip .ggg-kpi-card {
  min-width: 0;
  padding: 7px 8px;
}

.ggg-team-kpi-strip .ggg-kpi-title {
  font-size: 8.5px;
  letter-spacing: 0.05em;
  line-height: 1.15;
  min-height: 20px;
  margin-bottom: 3px;
}

.ggg-team-kpi-strip .ggg-kpi-value-wrap {
  gap: 4px;
}

.ggg-team-kpi-strip .ggg-kpi-value-text {
  font-size: 16px;
}

.ggg-team-kpi-strip .ggg-kpi-delta,
.ggg-team-kpi-strip .ggg-kpi-badge {
  font-size: 9px;
  padding: 2px 5px;
}

.ggg-team-graph-grid {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

@media (max-width: 1199px) {
  .ggg-team-kpi-strip {
    grid-template-columns: repeat(6, minmax(80px, 1fr));
  }
}

@media (max-width: 768px) {
  .ggg-team-kpi-strip {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
  }

  .ggg-team-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ggg-team-graph .card-body,
  .ggg-opponent-card .card-body {
    padding: 11px 12px;
  }

  .ggg-opponent-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ggg-opponent-row {
    min-height: 0;
    max-height: 220px;
  }

  .ggg-opponent-chart {
    min-height: 980px;
  }

  .ggg-opponent-chart-stack {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 280px 320px;
  }

  .ggg-opponent-chart-panel--radar {
    height: 340px;
  }

  .ggg-opponent-chart-panel--markets {
    height: 280px;
  }

  .ggg-opponent-chart-panel--edge {
    grid-column: auto;
    height: 320px;
  }
}

/* Keep rail styles for any legacy usage */
.ggg-team-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.78));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ggg-kpi-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.ggg-kpi-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 4px 4px 0;
}

.ggg-team-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.ggg-team-overview-row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 14px;
}

.ggg-team-rail-col {
  align-self: stretch;
}

.ggg-team-scope-panel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  padding: 12px;
}

.ggg-team-grid-row {
  --bs-gutter-y: 14px;
}

.ggg-team-graph {
  min-height: 360px;
}

.ggg-team-graph--tall {
  min-height: 410px;
}

@media (max-width: 768px) {
  .ggg-team-graph {
    min-height: 280px;
  }

  .ggg-team-graph--tall {
    min-height: 320px;
  }
}

.ggg-team-graph .card-body {
  height: 100%;
  padding: 11px 13px 8px;
}

.ggg-team-graph .js-plotly-plot,
.ggg-team-graph .plot-container,
.ggg-team-graph .svg-container {
  height: 100% !important;
}

.ggg-opponent-card {
  width: 100%;
  min-height: 540px;
}

.ggg-opponent-card-body {
  padding: 12px 13px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ggg-opponent-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.ggg-opponent-topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.ggg-opponent-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.ggg-opponent-mode {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.ggg-opponent-mode [class*="root"] {
  width: auto;
  display: inline-flex;
  max-width: 100%;
}

.ggg-opponent-mode [class*="control"] {
  display: inline-flex;
  border-radius: 12px;
  background: var(--control-bg);
  border: 1px solid var(--control-border);
  padding: 2px;
  width: auto;
  max-width: 100%;
}

.ggg-opponent-mode [class*="indicator"] {
  display: none;
}

.ggg-opponent-mode [class*="label"],
.ggg-opponent-mode button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-height: 30px;
  line-height: 1.1;
  white-space: nowrap;
  border-radius: 9px;
  border: none;
  box-shadow: none;
  background: transparent;
  text-align: center;
  vertical-align: middle;
}

.ggg-opponent-mode [class*="label"] {
  padding: 5px 10px;
}

.ggg-opponent-mode [class*="label"]:hover,
.ggg-opponent-mode button:hover {
  color: var(--ink);
}

.ggg-opponent-mode [data-active="true"],
.ggg-opponent-mode [data-checked="true"],
.ggg-opponent-mode button[data-active="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.ggg-opponent-select {
  flex: 1 1 800px;
  width: 800px;
  min-width: 0;
  max-width: 800px;
}

.ggg-opponent-select .mantine-PillsInput-root {
  min-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.ggg-opponent-select .mantine-Pill-root {
  margin-top: 3px;
  margin-bottom: 3px;
}

.ggg-opponent-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ggg-opponent-option-logo,
.ggg-opponent-option-reset-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.ggg-opponent-option-reset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.ggg-opponent-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ggg-opponent-option--reset .ggg-opponent-option-label {
  color: #2563eb;
  font-weight: 700;
}

.ggg-opponent-header {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 1180px) {
  .ggg-opponent-controls-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-width: none;
  }

  .ggg-opponent-select {
    flex-basis: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .ggg-opponent-mode {
    flex-basis: auto;
    width: 100%;
    min-width: 0;
  }
}

.ggg-opponent-chart {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.ggg-opponent-chart > * {
  width: 100%;
}

.ggg-opponent-chart-stack {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-content: center;
}

.ggg-opponent-chart-panel {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ggg-opponent-chart-panel--radar {
  height: 420px;
}

.ggg-opponent-chart-panel--markets {
  height: 420px;
}

.ggg-opponent-chart-panel--edge {
  height: 420px;
}

.ggg-opponent-radar-graph,
.ggg-opponent-radar-graph .js-plotly-plot,
.ggg-opponent-radar-graph .plot-container,
.ggg-opponent-radar-graph .svg-container,
.ggg-opponent-index-graph,
.ggg-opponent-index-graph .js-plotly-plot,
.ggg-opponent-index-graph .plot-container,
.ggg-opponent-index-graph .svg-container,
.ggg-opponent-market-edge-graph,
.ggg-opponent-market-edge-graph .js-plotly-plot,
.ggg-opponent-market-edge-graph .plot-container,
.ggg-opponent-market-edge-graph .svg-container {
  width: 100%;
  height: 100% !important;
}

.ggg-opponent-chart .ggg-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 18px;
  text-align: center;
}

.ggg-opponent-title {
  margin: 0;
}

.ggg-opponent-title:empty {
  display: none;
}

.ggg-opponent-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.ggg-opponent-reset {
  align-self: flex-start;
  border: 1px solid rgba(95, 94, 90, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ggg-opponent-reset:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(47, 111, 174, 0.28);
  color: var(--ink);
}

.ggg-opponent-row {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  gap: 4px;
  width: 100%;
  padding: 0 2px 0 0;
  overflow: hidden;
  min-height: 84px;
  max-height: 124px;
}

.ggg-opponent-row:empty {
  display: none;
  padding: 0;
}

.ggg-opponent-row-track {
  display: grid;
  grid-template-columns: repeat(var(--ggg-opponent-row-cols, 1), minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.ggg-opponent-btn {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 2px 0;
  width: auto;
  flex: 1 1 0;
  max-width: 100%;
  min-width: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  transition: opacity 0.2s ease;
  text-align: left;
  box-shadow: none;
}

.ggg-opponent-btn--muted {
  opacity: 0.95;
}

.ggg-opponent-btn--disabled {
  opacity: 0.72;
  filter: none;
  cursor: not-allowed;
}

.ggg-opponent-btn--selected {
  opacity: 1;
}

.ggg-opponent-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ggg-opponent-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 4px;
  background: #7c3aed;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.ggg-opponent-btn--muted .ggg-opponent-check {
  background: rgba(148, 163, 184, 0.35);
  color: transparent;
}

.ggg-opponent-name {
  font-size: 9px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  white-space: normal;
}

@media (max-width: 1500px) {
  .ggg-opponent-chart-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ggg-opponent-chart-panel--edge {
    grid-column: 1 / -1;
    height: 320px;
  }

  .ggg-opponent-row-track {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .ggg-opponent-row-track {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.ggg-opponent-chip {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ggg-opponent-chip-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ggg-opponent-chip-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-opponent-chip-value--pos {
  color: #2563eb;
}

.ggg-opponent-chip-value--neg {
  color: #dc2626;
}

.ggg-opponent-chip-sub {
  font-size: 11px;
  color: var(--muted);
}

.ggg-comeback-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.ggg-comeback-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ggg-comeback-seasons {
  font-size: 11px;
}

.ggg-table-scope-title {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.75));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ggg-table-scope-separator {
  color: rgba(100, 116, 139, 0.92);
}

.ggg-table-scope-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.ggg-table-scope-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ggg-kpi-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.ggg-kpi-card > * {
  position: relative;
  z-index: 1;
}

.ggg-kpi-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.ggg-kpi-value {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-kpi-value-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ggg-kpi-value-text {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.ggg-kpi-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.9);
  color: var(--muted);
}

.ggg-kpi-delta {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.9);
}

.ggg-kpi-delta--up {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(59, 130, 246, 0.12);
}

.ggg-kpi-delta--down {
  color: #dc2626;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.12);
}

.ggg-kpi-delta--flat {
  color: var(--muted);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.9);
}

.ggg-overview-range-control {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(120px, 160px);
  align-items: end;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  padding: 12px 14px 10px;
  margin-bottom: 14px;
}

.ggg-overview-season-control,
.ggg-overview-history-control,
.ggg-overview-top-control {
  min-width: 0;
}

.ggg-overview-history-control,
.ggg-overview-top-control {
  border-left: 1px solid rgba(148, 163, 184, 0.28);
  padding-left: 14px;
}

.ggg-overview-history-title,
.ggg-overview-top-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.ggg-overview-history-header,
.ggg-overview-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ggg-overview-top-switch {
  flex: 0 0 auto;
}

.ggg-overview-top-control .rc-slider-disabled {
  opacity: 0.45;
}

.ggg-overview-history-control .rc-slider {
  margin: 0 10px 8px;
}

.ggg-overview-top-control .rc-slider {
  margin: 0 10px 8px;
}

.ggg-overview-history-control .rc-slider-rail {
  height: 6px;
  background: #dbe5f3;
}

.ggg-overview-top-control .rc-slider-rail {
  height: 6px;
  background: #dbe5f3;
}

.ggg-overview-history-control .rc-slider-track {
  height: 6px;
  background: linear-gradient(90deg, #d13f2f 0%, #e0523d 100%);
}

.ggg-overview-top-control .rc-slider-track {
  height: 6px;
  background: linear-gradient(90deg, #d13f2f 0%, #e0523d 100%);
}

.ggg-overview-history-control .rc-slider-handle {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.2);
  cursor: grab;
  opacity: 1;
}

.ggg-overview-top-control .rc-slider-handle {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.2);
  cursor: grab;
  opacity: 1;
}

.ggg-overview-history-control .rc-slider-handle:active {
  cursor: grabbing;
}

.ggg-overview-top-control .rc-slider-handle:active {
  cursor: grabbing;
}

.ggg-overview-history-control .rc-slider-mark {
  top: 18px;
}

.ggg-overview-top-control .rc-slider-mark {
  top: 18px;
}

.ggg-overview-history-control .rc-slider-mark-text,
.ggg-overview-top-control .rc-slider-mark-text {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
}

.ggg-overview-history-control .rc-slider-dot {
  width: 1px;
  height: 6px;
  margin-left: -0.5px;
  margin-top: -1px;
  border: 0;
  border-radius: 999px;
  background: #9fb3c8;
}

.ggg-overview-top-control .rc-slider-dot {
  width: 1px;
  height: 6px;
  margin-left: -0.5px;
  margin-top: -1px;
  border: 0;
  border-radius: 999px;
  background: #9fb3c8;
}

.ggg-overview-history-control .rc-slider-dot-active {
  background: #9fb3c8;
}

.ggg-overview-history-control input[type="number"],
.ggg-overview-history-control .rc-slider-input,
.ggg-overview-history-control .rc-slider-input-min,
.ggg-overview-history-control .rc-slider-input-max,
.ggg-overview-history-control .rc-slider-input-wrap,
.ggg-overview-history-control .rc-slider-inputs {
  display: none !important;
}

.ggg-overview-top-control .rc-slider-dot-active {
  background: #9fb3c8;
}

.ggg-overview-control-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.ggg-overview-control-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ggg-overview-control-hint {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.ggg-overview-graph-stack .ggg-card {
  min-height: 0;
}

/* In the KPI+trends row, graphs need explicit height since the KPI card
   is much shorter and ggg-row-stretch can't resolve h-100 correctly */
.ggg-overview-graph-stack .ggg-equal-height {
  min-height: 220px;
  height: 220px;
}

.ggg-overview-graph-stack .ggg-equal-height .card-body {
  height: 220px;
}

.ggg-overview-graph-stack .ggg-equal-height .js-plotly-plot,
.ggg-overview-graph-stack .ggg-equal-height .plot-container,
.ggg-overview-graph-stack .ggg-equal-height .svg-container {
  height: 100% !important;
  min-height: 0 !important;
}

.ggg-empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes ggg-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .ggg-overview-range-control {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ggg-overview-history-control,
  .ggg-overview-top-control {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .ggg-team-page-title {
    font-size: 20px;
  }

  .ggg-team-page-subtitle {
    font-size: 11px;
  }

  .ggg-team-rail {
    padding: 14px;
  }

  .ggg-team-scope-panel {
    padding: 10px 11px;
  }

  .ggg-team-graph,
  .ggg-opponent-card {
    min-height: 320px;
  }

  .ggg-team-graph .card-body,
  .ggg-opponent-card .card-body {
    padding: 11px 12px;
  }

  .ggg-kpi-group {
    padding: 10px;
  }

  .ggg-overview-title {
    font-size: 20px;
  }

  .ggg-overview-subtitle,
  .ggg-overview-section-subtitle,
  .ggg-overview-control-hint,
  .ggg-league-fixtures-subtitle {
    font-size: 11px;
  }

  .ggg-overview-subtitle {
    white-space: normal;
  }

  .ggg-overview-summary-card .card-body,
  .ggg-league-fixtures-card .card-body,
  .ggg-market-card .card-body,
  .ggg-cup-stage-card .card-body {
    padding: 14px 14px 12px;
  }

  .ggg-performance-controls {
    grid-template-columns: 1fr;
  }

  .ggg-performance-chart {
    flex: 0 0 340px;
    min-height: 340px;
  }

  .ggg-performance-card {
    min-height: 0;
  }

  .ggg-equal-height {
    min-height: 260px;
  }

  .ggg-overview-graph-stack .ggg-equal-height {
    min-height: 220px;
  }

  .ggg-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ggg-kpi-card {
    padding: 12px 13px;
  }

  .ggg-kpi-value,
  .ggg-kpi-value-text {
    font-size: 20px;
  }

  .ggg-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ggg-shell-header {
    padding: 18px 0 14px;
  }

  .ggg-shell-logo {
    height: 62px;
  }

  .ggg-toolbar-logo {
    height: 52px;
  }

  .ggg-shell-kicker {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .ggg-shell-title {
    font-size: 30px;
  }

  .ggg-shell-subtitle {
    font-size: 14px;
  }

  .ggg-title {
    font-size: 26px;
  }

  .ggg-toolbar-label {
    font-size: 10px;
  }

  .ggg-page-nav {
    gap: 8px;
  }

  .ggg-page-nav-link {
    padding: 9px 12px !important;
    font-size: 11px;
  }

  .ggg-page-nav-logo {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

/* ============================================================
   Mid-breakpoint: 769px–1199px — graphs stacked but not mobile
   At xl (1200px) graphs sit beside table; below that they stack.
   Without this override, graphs have full 380px min-height but
   Plotly fails to render into them because the col is 100% wide
   and the height isn't resolving. Fix: explicit height + min-height.
   ============================================================ */

@media (max-width: 1199px) {
  .ggg-overview-graph-stack {
    width: 100%;
  }

  .ggg-overview-graph-stack .ggg-equal-height {
    min-height: 240px !important;
    height: 240px;
  }

  .ggg-overview-graph-stack .ggg-equal-height .card-body {
    height: 240px;
  }

  .ggg-overview-graph-stack .ggg-equal-height .js-plotly-plot,
  .ggg-overview-graph-stack .ggg-equal-height .plot-container,
  .ggg-overview-graph-stack .ggg-equal-height .svg-container {
    height: 100% !important;
    min-height: 0 !important;
  }
}

/* ============================================================
   Mobile nav — burger/drawer
   ============================================================ */

.ggg-page-nav--mobile {
  display: none;
}

.ggg-page-nav--desktop {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: max-content;
}

.ggg-mobile-nav-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.ggg-mobile-nav-summary::-webkit-details-marker {
  display: none;
}

.ggg-mobile-nav-current {
  flex: 1;
}

.ggg-mobile-nav-chevron {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.ggg-page-nav--mobile[open] .ggg-mobile-nav-chevron {
  transform: rotate(180deg);
}

.ggg-mobile-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 2px;
}

.ggg-mobile-nav-drawer .ggg-page-nav-link {
  width: 100%;
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 11px 14px !important;
  justify-content: flex-start;
}

@media (max-width: 1360px) {
  .ggg-toolbar-row--primary {
    flex-wrap: wrap;
  }

  .ggg-toolbar-main {
    width: 100%;
  }

  .ggg-toolbar-language {
    width: 100%;
    justify-content: flex-start;
  }

  .ggg-toolbar-row--secondary {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ggg-toolbar-row--secondary .ggg-radio--segmented {
    width: auto;
    flex-wrap: wrap;
  }

  .ggg-toolbar-row--secondary .ggg-radio--segmented .form-check {
    flex: 1 1 auto;
  }
}

@media (max-width: 1560px) and (min-width: 1361px) {
  .ggg-toolbar-row--primary {
    flex-wrap: wrap;
  }

  .ggg-toolbar-main {
    width: 100%;
  }

  .ggg-toolbar-language {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .ggg-h2h-summary-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ggg-h2h-summary-chips {
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ggg-unified-bar {
    gap: 10px;
  }

  .ggg-toolbar-row {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ggg-toolbar-main {
    width: 100%;
  }

  .ggg-unified-nav {
    flex: 1 1 auto;
    width: 100%;
  }

  .ggg-unified-divider {
    display: none;
  }

  .ggg-overview-page-controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .ggg-page-nav--desktop {
    display: none !important;
  }
  .ggg-page-nav--mobile {
    display: block;
  }

  .ggg-radio {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .ggg-toolbar-row--secondary {
    width: 100%;
  }

  .ggg-toolbar-inline-control .ggg-radio--segmented,
  .ggg-language-switcher {
    width: 100%;
    justify-content: flex-start;
  }
}

.ggg-assistant-shell {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: min(420px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.ggg-assistant-shell > * {
  pointer-events: auto;
}

.ggg-assistant-shell--dragging {
  user-select: none;
}

.ggg-assistant-fab {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 13px 17px;
  background: linear-gradient(145deg, rgba(23, 58, 94, 0.98), rgba(47, 111, 174, 0.96));
  color: #fff;
  box-shadow: 0 16px 38px rgba(23, 58, 94, 0.24);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ggg-assistant-fab-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ggg-assistant-fab-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ggg-assistant-panel {
  position: relative;
  order: 1;
  width: 100%;
  margin-bottom: 12px;
  z-index: 1199;
  border-radius: 18px;
  border: 1px solid rgba(183, 210, 243, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 254, 0.96)),
    linear-gradient(145deg, rgba(236, 244, 252, 0.36), rgba(255, 255, 255, 0));
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  display: none;
}

.ggg-assistant-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/MI.logo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(88%, 400px);
  opacity: 0.2;
  filter: grayscale(1) brightness(0.66) contrast(1.14);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ggg-assistant-panel--open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ggg-assistant-panel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 18px 16px;
  min-height: min(72vh, 760px);
}

.ggg-assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(183, 210, 243, 0.28);
}

@media (min-width: 769px) {
  .ggg-assistant-header {
    cursor: grab;
    touch-action: none;
  }

  .ggg-assistant-shell--dragging .ggg-assistant-header {
    cursor: grabbing;
  }
}

.ggg-assistant-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}

.ggg-assistant-title {
  flex: 1 1 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(47, 111, 174, 0.88);
  line-height: 1.25;
  padding-bottom: 1px;
  text-align: left;
}

.ggg-assistant-page-label {
  margin-top: -2px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.ggg-assistant-page-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ggg-assistant-page-label-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
}

.ggg-assistant-page-label-text {
  display: inline-block;
}

.ggg-assistant-close {
  border: 1px solid rgba(183, 210, 243, 0.42);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 8px 12px;
}

.ggg-assistant-clear {
  border: 1px solid rgba(183, 210, 243, 0.42);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 30px;
}

.ggg-assistant-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 4px;
  min-height: 120px;
  max-height: 360px;
  min-width: 0;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.ggg-assistant-message {
  padding: 13px 14px;
  border-radius: 18px;
}

.ggg-assistant-message--assistant {
  background: linear-gradient(180deg, rgba(236, 244, 252, 0.98), rgba(244, 249, 254, 0.94));
  border: 1px solid rgba(183, 210, 243, 0.52);
}

.ggg-assistant-message--user {
  background: rgba(248, 247, 243, 0.92);
  border: 1px solid rgba(180, 178, 169, 0.24);
}

.ggg-assistant-message-role {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ggg-assistant-message-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.ggg-assistant-message-text p,
.ggg-assistant-message-text ul,
.ggg-assistant-message-text ol {
  margin: 0;
}

.ggg-assistant-message-text p + p,
.ggg-assistant-message-text p + ul,
.ggg-assistant-message-text ul + p {
  margin-top: 8px;
}

.ggg-assistant-message-text ul,
.ggg-assistant-message-text ol {
  padding-left: 18px;
}

.ggg-assistant-question {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 0;
  height: auto;
  border: 1px solid rgba(47, 111, 174, 0.16);
  background: rgba(236, 244, 252, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  text-align: left;
  overflow: visible;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ggg-assistant-question .mantine-Button-inner,
.ggg-assistant-question .mantine-Button-label {
  min-height: 0;
  height: auto;
  overflow: visible;
  white-space: normal;
  line-height: 1.25;
}

.ggg-assistant-question:hover,
.ggg-assistant-follow-up:hover {
  transform: translateY(-1px);
  background: rgba(223, 237, 251, 0.94);
  border-color: rgba(47, 111, 174, 0.28);
}

.ggg-assistant-follow-ups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ggg-assistant-follow-up {
  border: 1px solid rgba(95, 94, 90, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .ggg-assistant-shell {
    width: min(456px, calc(100vw - 32px));
  }

  .ggg-assistant-panel {
    width: 100%;
  }

  .ggg-assistant-panel-body {
    min-height: min(76vh, 810px);
  }
}

@media (max-width: 640px) {
  .ggg-assistant-shell {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 12px;
  }

  .ggg-assistant-panel {
    width: 100%;
  }

  .ggg-assistant-panel-body {
    padding: 16px;
    min-height: auto;
  }

  .ggg-assistant-fab-label {
    display: none;
  }
}

#react-entry-point ._dash-loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(47, 111, 174, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(247, 244, 235, 0.98), rgba(255, 255, 255, 0.98));
  font-size: 0;
  color: transparent;
  z-index: 9999;
}

#react-entry-point ._dash-loading::before {
  content: "";
  width: clamp(220px, 31vw, 320px);
  height: clamp(220px, 31vw, 320px);
  border-radius: 42px;
  background-image:
    url("/assets/MI.logo.webp"),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 245, 238, 0.975));
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: clamp(176px, 24vw, 248px) auto, cover;
  border: 1px solid rgba(95, 94, 90, 0.14);
  box-shadow: 0 34px 72px rgba(48, 46, 42, 0.18);
  animation: gggBootPulse 1.8s ease-in-out infinite;
}

#react-entry-point ._dash-loading::after {
  content: "Preparing Match Intelligence";
  position: absolute;
  top: calc(50% + clamp(156px, 20vw, 214px));
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 29, 37, 0.94);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

@keyframes gggBootPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 24px 44px rgba(48, 46, 42, 0.12);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 32px 56px rgba(48, 46, 42, 0.18);
  }
}
