/* GoalGrid — kompaktní výsledky v4.2.8.27.272 (mobil first) */
body[data-page="performance"].results-page-compact .football-page-header.centered-header {
  padding: 0.65rem 0 0.5rem;
  text-align: left;
}

body[data-page="performance"].results-page-compact .football-page-header h1 {
  font-size: 1.25rem;
  margin: 0.2rem 0 0;
}

body[data-page="performance"].results-page-compact .football-page-header p {
  display: none;
}

body[data-page="performance"].results-page-compact .football-page-header .tag-clean {
  font-size: 0.62rem;
  padding: 0.12rem 0.4rem;
}

body[data-page="performance"].results-page-compact .performance-page-shell {
  padding: 0;
}

body[data-page="performance"].results-page-compact .site-shell.football-shell {
  padding-inline: 0.5rem !important;
  padding-bottom: 0;
}

body[data-page="performance"].results-page-compact .gg-results-compact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body[data-page="performance"] .gg-res-variant-banner {
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(53, 224, 194, 0.18);
  background: rgba(53, 224, 194, 0.06);
  color: #b8c9d9;
  font-size: 0.78rem;
  line-height: 1.35;
}

body[data-page="performance"] .gg-res-variant-banner strong {
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-filters-variant {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.22);
  background: rgba(53, 224, 194, 0.08);
  color: #9fe8d8;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

body[data-page="performance"] .gg-res-gg-brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

body[data-page="performance"] .gg-res-gg-brand-word {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f4f8ff;
  line-height: 1;
}

body[data-page="performance"] .gg-res-gg-brand-ai {
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-gg-brand-layer {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

body[data-page="performance"] .gg-res-gg-brand--official .gg-res-gg-brand-layer {
  color: #35e0c2;
  background: rgba(53, 224, 194, 0.12);
  border: 1px solid rgba(53, 224, 194, 0.28);
}

body[data-page="performance"] .gg-res-gg-brand--safe .gg-res-gg-brand-layer {
  color: #e8b050;
  background: rgba(232, 176, 80, 0.12);
  border: 1px solid rgba(232, 176, 80, 0.28);
}

body[data-page="performance"] .gg-res-gg-brand--blend .gg-res-gg-brand-layer {
  color: #b8c9d9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-page="performance"] .gg-res-gg-brand-suffix {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.02em;
}

body[data-page="performance"] .gg-res-gg-brand--compact .gg-res-gg-brand-word {
  font-size: 0.72rem;
}

body[data-page="performance"] .gg-res-gg-brand--compact .gg-res-gg-brand-layer {
  font-size: 0.52rem;
  padding: 0.1rem 0.38rem;
}

body[data-page="performance"] .gg-res-hero .gg-res-gg-brand {
  margin-bottom: 0.35rem;
}

body[data-page="performance"] .gg-res-hero .gg-res-gg-brand-word {
  font-size: 1rem;
}

body[data-page="performance"] .gg-res-wr-board-title .gg-res-gg-brand {
  margin-bottom: 0.15rem;
}

body[data-page="performance"] .gg-res-wr-board-title .gg-res-gg-brand-word {
  font-size: 0.82rem;
}

body[data-page="performance"] .gg-res-wr-section-head strong {
  color: #eef2f6;
  font-weight: 800;
}

body[data-page="performance"] .gg-res-kpi--official span,
body[data-page="performance"] .gg-res-kpi--safe span {
  font-size: 0.52rem;
  letter-spacing: 0.02em;
}

/* Hero – proof-first blok hned nahoře */
body[data-page="performance"].results-page-compact .gg-res-page-head {
  padding: 0.55rem 0 0.15rem;
}

body[data-page="performance"] .gg-res-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(53, 224, 194, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(53, 224, 194, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(212, 175, 55, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(8, 20, 32, 0.98), rgba(4, 12, 20, 0.98));
  box-shadow: none;
}

body[data-page="performance"] .gg-res-hero-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
}

body[data-page="performance"] .gg-res-hero-lead {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

body[data-page="performance"] .gg-res-hero-figure-sub {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

body[data-page="performance"] .gg-res-hero-line-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

body[data-page="performance"] .gg-res-ledger-export.is-footer {
  margin-top: 0.85rem;
  width: 100%;
}

body[data-page="performance"] .gg-res-download-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.35rem 0 0.15rem;
}

body[data-page="performance"] .gg-res-download-actions.is-footer {
  margin-top: 1.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body[data-page="performance"] .gg-res-download-btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

body[data-page="performance"] .gg-res-download-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.92;
}

body[data-page="performance"] .gg-res-page-footer {
  margin-top: 0.35rem;
}

body[data-page="performance"] .gg-res-explore-summary-hint {
  max-width: min(100%, 16rem);
}

body[data-page="performance"] .gg-res-hero-line-part--official {
  color: rgba(53, 224, 194, 0.88);
  font-weight: 700;
}

body[data-page="performance"] .gg-res-hero-line-part--safe {
  color: rgba(232, 176, 80, 0.9);
  font-weight: 700;
}

body[data-page="performance"] .gg-res-hero-sub-sep {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

body[data-page="performance"] .gg-res-hero-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af37;
}

body[data-page="performance"] .gg-res-hero-figure {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f4f8ff;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-res-hero-figure-sub b {
  color: #eef2f6;
  font-weight: 800;
}

@media (max-width: 560px) {
  body[data-page="performance"] .gg-res-hero-figure {
    font-size: 2.05rem;
  }
  body[data-page="performance"] .gg-res-hero-figure-sub {
    font-size: 0.66rem;
  }
  body[data-page="performance"] .gg-res-hero-form-dot {
    width: 0.7rem;
    height: 0.7rem;
  }
}

body[data-page="performance"] .gg-res-hero-form {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-hero-form-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

body[data-page="performance"] .gg-res-hero-form-dot.is-win {
  background: #35e0c2;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.35);
}

body[data-page="performance"] .gg-res-hero-form-dot.is-loss {
  background: #ff6b6b;
}

body[data-page="performance"] .gg-res-hero-form-dot.is-void {
  background: rgba(255, 255, 255, 0.32);
}

body[data-page="performance"] .gg-res-proof-zone {
  margin-bottom: 0.35rem;
}

body[data-page="performance"] .gg-res-explore-zone {
  margin-top: 0.35rem;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

body[data-page="performance"] .gg-res-explore-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.65rem;
  text-align: center;
}

body[data-page="performance"] .gg-res-explore-divider::before,
body[data-page="performance"] .gg-res-explore-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 194, 0.18), transparent);
}

body[data-page="performance"] .gg-res-explore-divider-label {
  padding: 0 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-wr-interact-hint {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="performance"] .gg-res-explore-details {
  margin: 0 0 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 26, 0.72);
  overflow: hidden;
}

body[data-page="performance"] .gg-res-explore-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-explore-summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-explore-summary-title {
  font-size: 0.88rem;
}

body[data-page="performance"] .gg-res-explore-summary-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

body[data-page="performance"] .gg-res-explore-body {
  padding: 0 0.55rem 0.65rem;
}

body[data-page="performance"] .gg-res-explore-body .gg-res-stats-panel,
body[data-page="performance"] .gg-res-explore-body .gg-perf-trend-panel--chart-only {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="performance"] .gg-res-explore-details--bankroll .gg-res-explore-summary-hint {
  color: rgba(53, 224, 194, 0.72);
}

body[data-page="performance"] .gg-res-explore-details--units-cal .gg-res-explore-summary-hint {
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-res-explore-details--units-cal .gg-res-explore-body {
  padding-top: 0;
}

body[data-page="performance"] .gg-res-explore-details--profit-cal {
  margin-top: 0.75rem;
  border-color: rgba(53, 224, 194, 0.16);
  background: linear-gradient(180deg, rgba(12, 22, 32, 0.94), rgba(8, 14, 24, 0.9));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-summary {
  padding: 0.82rem 0.95rem;
}

body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-summary-title::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 0.15rem;
  color: #35e0c2;
  transition: transform 0.15s ease;
}

body[data-page="performance"] .gg-res-explore-details--profit-cal[open] .gg-res-explore-summary-title::before {
  transform: rotate(90deg);
}

body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-summary-hint {
  font-variant-numeric: tabular-nums;
  color: rgba(53, 224, 194, 0.72);
  max-width: 52%;
}

body[data-page="performance"] .gg-res-explore-details--profit-cal[open] .gg-res-explore-summary-hint {
  color: #7fe8d4;
}

body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-body {
  padding: 0 0.85rem 0.9rem;
}

body[data-page="performance"] .gg-res-profit-cal-panel {
  margin: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="performance"] .gg-res-profit-cal-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "intro toggle"
    "legend legend";
  gap: 0.65rem 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="performance"] .gg-res-profit-cal-intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

body[data-page="performance"] .gg-res-profit-cal-scope-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.1);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7fe8d4;
}

body[data-page="performance"] .gg-res-wr-board--safe .gg-res-profit-cal-scope-badge {
  border-color: rgba(232, 176, 80, 0.28);
  background: rgba(232, 176, 80, 0.1);
  color: #e8b050;
}

body[data-page="performance"] .gg-res-wr-board--blend .gg-res-profit-cal-scope-badge {
  border-color: rgba(165, 180, 252, 0.28);
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
}

body[data-page="performance"] .gg-res-profit-cal-lead {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="performance"] .gg-res-profit-cal-layer-toggle {
  grid-area: toggle;
  justify-self: end;
}

body[data-page="performance"] .gg-res-profit-cal-legend {
  grid-area: legend;
}

body[data-page="performance"] .gg-res-profit-cal-body {
  padding: 0.85rem 0.9rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(53, 224, 194, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body[data-page="performance"] .gg-res-explore-details--clv-insights {
  margin-top: 0.75rem;
  border-color: rgba(129, 140, 248, 0.18);
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.94), rgba(8, 14, 24, 0.9));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

body[data-page="performance"] .gg-res-explore-details--recent {
  margin-top: 0.75rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.94), rgba(8, 14, 22, 0.9));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

body[data-page="performance"] .gg-res-explore-details--recent .gg-res-explore-summary {
  padding: 0.82rem 0.95rem;
}

body[data-page="performance"] .gg-res-explore-details--recent .gg-res-explore-summary-title::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 0.15rem;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease;
}

body[data-page="performance"] .gg-res-explore-details--recent[open] .gg-res-explore-summary-title::before {
  transform: rotate(90deg);
}

body[data-page="performance"] .gg-res-explore-details--recent .gg-res-explore-summary-hint {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="performance"] .gg-res-explore-details--recent[open] .gg-res-explore-summary-hint {
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="performance"] .gg-res-explore-details--recent .gg-res-explore-body {
  padding: 0 0.55rem 0.75rem;
}

body[data-page="performance"] .gg-res-recent-panel {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

body[data-page="performance"] .gg-res-recent-lead {
  margin: 0;
  padding: 0.55rem 0.65rem 0.45rem;
  font-size: 0.66rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-list {
  max-height: 22rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-row-main {
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  gap: 0.2rem 0.35rem;
  padding: 0.24rem 0.42rem;
  align-items: center;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-date b {
  font-size: 0.62rem;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-date small {
  font-size: 0.52rem;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-teams {
  font-size: 0.68rem;
  line-height: 1.15;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-league {
  margin-top: 0;
  font-size: 0.5rem;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-league .league-logo-badge {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-league .league-logo-badge > img {
  width: 100% !important;
  height: 100% !important;
  padding: 0.5px !important;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-pick {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.18rem;
  max-width: 7.5rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-tip-box {
  flex-direction: row;
  align-items: baseline;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.1rem 0.28rem;
  border-radius: 5px;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-tip {
  font-size: 0.62rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-odds {
  font-size: 0.56rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-layer-dot {
  width: 0.28rem;
  height: 0.28rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-res-row-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.result-win.is-compact .gg-res-row-status {
  color: #6ee7b7;
  background: rgba(74, 222, 128, 0.14);
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.result-loss.is-compact .gg-res-row-status {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.14);
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.result-void.is-compact .gg-res-row-status {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-odds-intel-row {
  width: 100%;
  justify-content: flex-end;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact .gg-clv-badge.is-compact {
  font-size: 0.5rem;
  padding: 0.04rem 0.22rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact.result-win {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.03)) !important;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact.result-loss {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.11), rgba(248, 113, 113, 0.03)) !important;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row.is-compact.result-void {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.08), rgba(250, 204, 21, 0.03)) !important;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row:first-child .gg-res-row-main {
  padding-top: 0.3rem;
}

body[data-page="performance"] .gg-res-recent-panel .gg-res-row:last-child .gg-res-row-main {
  padding-bottom: 0.3rem;
}

body[data-page="performance"] .gg-res-recent-empty {
  margin: 0;
  padding: 0.65rem 0.2rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-summary {
  padding: 0.82rem 0.95rem;
}

body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-summary-title::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 0.15rem;
  color: #a5b4fc;
  transition: transform 0.15s ease;
}

body[data-page="performance"] .gg-res-explore-details--clv-insights[open] .gg-res-explore-summary-title::before {
  transform: rotate(90deg);
}

body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-summary-hint {
  font-variant-numeric: tabular-nums;
  color: rgba(165, 180, 252, 0.78);
  max-width: 52%;
}

body[data-page="performance"] .gg-res-explore-details--clv-insights[open] .gg-res-explore-summary-hint {
  color: #c7d2fe;
}

body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-body {
  padding: 0 0.85rem 0.9rem;
}

body[data-page="performance"] .gg-res-clv-insights-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

body[data-page="performance"] .gg-res-clv-insights-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="performance"] .gg-res-clv-insights-intro {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 14rem;
  min-width: 0;
}

body[data-page="performance"] .gg-res-clv-scope-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.28);
  background: rgba(99, 102, 241, 0.12);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #c7d2fe;
}

body[data-page="performance"] .gg-res-clv-insights-lead {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="performance"] .gg-res-clv-layer-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

body[data-page="performance"] .gg-res-clv-layer {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.36rem 0.68rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-clv-layer.is-active {
  color: #f8fafc;
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(165, 180, 252, 0.38);
  box-shadow: 0 0 0 1px rgba(165, 180, 252, 0.14), 0 0 18px rgba(99, 102, 241, 0.14);
}

body[data-page="performance"] .gg-res-clv-insights-body {
  min-width: 0;
}

body[data-page="performance"] .gg-res-clv-insights-analytics.gg-analytics-panel {
  margin: 0;
  padding: 0.85rem 0.9rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-scope-note {
  display: none;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block--clv {
  margin: 0 0 0.75rem;
  padding-bottom: 0.15rem;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block-head {
  margin-bottom: 0.45rem;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-clv-help-btn {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 232, 212, 0.22);
  background: rgba(127, 232, 212, 0.06);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-clv-grid {
  gap: 0.55rem;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric {
  padding: 0.62rem 0.68rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-clv-grid .gg-analytics-metric:first-child {
  border-color: rgba(52, 211, 153, 0.22);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(0, 0, 0, 0.22));
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric span {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric strong {
  margin-top: 0.18rem;
  font-size: 1.12rem;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric em {
  margin-top: 0.14rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-cols {
  gap: 0.7rem;
  margin-top: 0.15rem;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block {
  margin-top: 0;
  padding: 0.62rem 0.68rem 0.68rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.16);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block h3 {
  margin-bottom: 0.45rem;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.5);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table {
  gap: 0.12rem;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row.is-head {
  padding: 0.3rem 0.42rem 0.38rem;
  margin-bottom: 0.08rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row:not(.is-head) {
  padding: 0.34rem 0.42rem;
  border-radius: 8px;
  transition: background 0.12s ease;
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row:not(.is-head):hover {
  background: rgba(255, 255, 255, 0.035);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row:not(.is-head):nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row:not(.is-head):nth-child(even):hover {
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-empty {
  padding: 0.35rem 0.1rem 0.1rem;
  font-size: 0.68rem;
}

body[data-page="performance"] .gg-res-units-cal-lead {
  margin: 0 0 0.55rem;
  padding: 0 0.3rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="performance"] .gg-res-hero .gg-res-last-updated {
  margin: 0.65rem 0 0;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="performance"] .gg-res-beta-line {
  margin: 0.65rem 0 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.7rem;
  line-height: 1.4;
  border-radius: 12px;
}

body[data-page="performance"] .gg-res-beta-line strong {
  color: #35e0c2;
  margin-right: 0.35rem;
}

@media (max-width: 560px) {
  body[data-page="performance"] .gg-res-hero-figure {
    font-size: 2.05rem;
  }
  body[data-page="performance"] .gg-res-hero-form-dot {
    width: 0.7rem;
    height: 0.7rem;
  }
}

/* Win rate over time – proof grafy (styl NerdyTips) */
body[data-page="performance"] .gg-res-wr-section {
  margin: 0.25rem 0 0.35rem;
}

body[data-page="performance"] .gg-res-wr-section-head {
  text-align: center;
  margin-bottom: 0.85rem;
}

body[data-page="performance"] .gg-res-wr-section-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(53, 224, 194, 0.8);
}

body[data-page="performance"] .gg-res-wr-section-head h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-wr-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-top: 0.4rem;
}

body[data-page="performance"] .gg-res-wr-legend-item {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 25, 0.42);
  font-size: 0.68rem;
  line-height: 1.2;
  color: rgba(203, 213, 225, 0.92);
}

body[data-page="performance"] .gg-res-wr-legend-item em {
  font-style: normal;
  font-weight: 700;
  color: rgba(53, 224, 194, 0.88);
  margin-right: 0.3rem;
}

body[data-page="performance"] .gg-res-wr-legend-item.is-muted {
  border-color: transparent;
  background: transparent;
  color: rgba(148, 163, 184, 0.82);
  padding-left: 0;
  padding-right: 0;
}

body[data-page="performance"] .gg-res-wr-section-head p {
  display: block !important;
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-wr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

body[data-page="performance"] .gg-results-compact--loading .gg-res-wr-section--loading {
  margin: 0.25rem 0 0.35rem;
}

body[data-page="performance"] .gg-res-loading-hint {
  color: rgba(53, 224, 194, 0.72) !important;
}

body[data-page="performance"] .gg-res-explore-zone--loading {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-results-compact--loading .gg-static-skeleton-wrap {
  display: block;
  min-height: 18.5rem;
}

body[data-page="performance"] .gg-results-compact--loading .gg-static-skeleton--chart-board {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-results-compact--loading .gg-static-skeleton--explore-block {
  width: 100%;
  border-radius: 14px;
}

body[data-page="performance"] .gg-res-wr-board {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  min-height: 18.5rem;
}

body[data-page="performance"] .gg-res-wr-board--safe {
  border-color: rgba(232, 176, 80, 0.18);
}

body[data-page="performance"] .gg-res-wr-board--blend {
  border-color: rgba(165, 180, 252, 0.18);
}

body[data-page="performance"] .gg-res-wr-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

body[data-page="performance"] .gg-res-wr-board-title h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-wr-board-title small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-res-wr-board-figure {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  color: #35e0c2;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-wr-board--safe .gg-res-wr-board-figure {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-wr-board-figure--muted {
  color: rgba(255, 255, 255, 0.35);
}

body[data-page="performance"] .gg-res-wrchart {
  position: relative;
  width: 100%;
}

body[data-page="performance"] .gg-res-wrchart--official {
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-wrchart--safe {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-wr-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 13.5rem;
}

body[data-page="performance"] .gg-res-wr-chart-bg {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

body[data-page="performance"] .gg-res-wr-gridline {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

body[data-page="performance"] .gg-res-wr-ytick,
body[data-page="performance"] .gg-res-wr-xtick {
  fill: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 600;
}

body[data-page="performance"] .gg-res-wr-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="performance"] .gg-res-wr-dot-halo {
  fill: currentColor;
  opacity: 0.18;
}

body[data-page="performance"] .gg-res-wr-dot {
  fill: #f4f8ff;
  stroke: currentColor;
  stroke-width: 2;
}

body[data-page="performance"] .gg-res-wr-point.is-last .gg-res-wr-dot {
  fill: currentColor;
  stroke: rgba(6, 14, 24, 0.85);
}

body[data-page="performance"] .gg-res-wr-point.is-last .gg-res-wr-dot-halo {
  opacity: 0.32;
}

body[data-page="performance"] .gg-res-wr-point-hit {
  fill: transparent;
  stroke: transparent;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-wr-point.is-active .gg-res-wr-dot {
  fill: currentColor;
  stroke: rgba(6, 14, 24, 0.85);
}

body[data-page="performance"] .gg-res-wr-point.is-active .gg-res-wr-dot-halo {
  opacity: 0.38;
}

body[data-page="performance"] .gg-res-wr-tip {
  position: absolute;
  z-index: 4;
  min-width: 5.5rem;
  padding: 0.42rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 18, 32, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  text-align: center;
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-wr-tip[hidden] {
  display: none !important;
}

body[data-page="performance"] .gg-res-wr-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: rgba(10, 18, 32, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transform: translateX(-50%) rotate(45deg);
}

body[data-page="performance"] .gg-res-wr-tip-date {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="performance"] .gg-res-wr-tip-meta {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-wrchart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 0.75rem;
  font-size: 0.72rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  body[data-page="performance"] .gg-res-wr-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 720px) {
  body[data-page="performance"] .gg-res-wr-grid {
    grid-template-columns: 1fr;
  }
}

/* KPI řada */
body[data-page="performance"] .gg-res-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

body[data-page="performance"] .gg-res-kpi {
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

body[data-page="performance"] .gg-res-kpi span {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="performance"] .gg-res-kpi strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-kpi-sub {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.58rem;
  font-weight: 700;
  font-style: normal;
  color: rgba(53, 224, 194, 0.75);
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-res-kpi--official .gg-res-kpi-sub {
  color: rgba(53, 224, 194, 0.85);
}

body[data-page="performance"] .gg-res-kpi--official {
  border-color: rgba(53, 224, 194, 0.2);
}

body[data-page="performance"] .gg-res-kpi--official strong {
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-kpi--safe strong {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-kpi-note {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.35;
}

body[data-page="performance"] .gg-res-kpi-sub--safe {
  color: rgba(232, 176, 80, 0.85);
}

/* Rozšířené statistiky */
body[data-page="performance"] .gg-res-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 24, 38, 0.95), rgba(8, 14, 24, 0.92));
}

body[data-page="performance"] .gg-res-stats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body[data-page="performance"] .gg-res-stats-head h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="performance"] .gg-res-stats-head small {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-res-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

body[data-page="performance"] .gg-res-stat-tile {
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

body[data-page="performance"] .gg-res-stat-tile span {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-res-stat-tile strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.92rem;
  line-height: 1.15;
  color: #f4f8ff;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-res-stat-tile em {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.56rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.25;
}

body[data-page="performance"] .gg-res-stat-tile--official {
  border-color: rgba(53, 224, 194, 0.18);
}

body[data-page="performance"] .gg-res-stat-tile--official strong {
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-stat-tile--safe {
  border-color: rgba(232, 176, 80, 0.2);
}

body[data-page="performance"] .gg-res-stat-tile--safe strong {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-wl-wrap {
  margin-top: 0.1rem;
}

body[data-page="performance"] .gg-res-wl-wrap .results-wl-breakdown {
  margin: 0;
}

body[data-page="performance"] .gg-res-stats-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

body[data-page="performance"] .gg-res-stats-col h3 {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="performance"] .gg-res-bar-row {
  display: grid;
  grid-template-columns: minmax(3.2rem, 4.2rem) minmax(0, 1fr) minmax(3.8rem, auto);
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.28rem;
}

body[data-page="performance"] .gg-res-bar-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="performance"] .gg-res-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body[data-page="performance"] .gg-res-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(53, 224, 194, 0.55), rgba(53, 224, 194, 0.9));
}

body[data-page="performance"] .gg-res-bar-meta {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-stats-empty {
  margin: 0;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.35;
}

@media (min-width: 640px) {
  body[data-page="performance"] .gg-res-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="performance"] .gg-res-stats-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Filtry — premium pills v4.2.8.27.274 */
body[data-page="performance"] .gg-res-filters-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

body[data-page="performance"] .gg-res-filters-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-filters-links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-filters-link {
  font-size: 0.72rem;
  font-weight: 800;
  color: #35e0c2;
  text-decoration: none;
}

body[data-page="performance"] .gg-res-filters-link:hover {
  text-decoration: underline;
}

body[data-page="performance"] .gg-res-filters {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.15rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 194, 0.12);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(53, 224, 194, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(16, 28, 42, 0.92), rgba(8, 16, 26, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="performance"] .gg-res-filter-block {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
}

body[data-page="performance"] .gg-res-filter-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* Segment — období */
body[data-page="performance"] .gg-res-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem;
  padding: 0.22rem;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-seg {
  padding: 0.42rem 0.35rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

body[data-page="performance"] .gg-res-seg:hover {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
}

body[data-page="performance"] .gg-res-seg.is-active {
  color: #061019;
  background: linear-gradient(135deg, #35e0c2, #49e5c7);
  box-shadow: 0 2px 12px rgba(53, 224, 194, 0.35);
}

/* Chips — vrstva + trh */
body[data-page="performance"] .gg-res-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body[data-page="performance"] .gg-res-chips-scroll {
  position: relative;
  margin: 0 -0.15rem;
  padding: 0 0.15rem;
}

body[data-page="performance"] .gg-res-chips-scroll::before,
body[data-page="performance"] .gg-res-chips-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.25rem;
  pointer-events: none;
  z-index: 1;
}

body[data-page="performance"] .gg-res-chips-scroll::before {
  left: 0;
  background: linear-gradient(90deg, rgba(12, 22, 34, 0.95), transparent);
}

body[data-page="performance"] .gg-res-chips-scroll::after {
  right: 0;
  background: linear-gradient(270deg, rgba(12, 22, 34, 0.95), transparent);
}

body[data-page="performance"] .gg-res-chips--market {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.1rem;
}

body[data-page="performance"] .gg-res-chips--market::-webkit-scrollbar {
  display: none;
}

body[data-page="performance"] .gg-res-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease, transform 0.1s ease;
}

body[data-page="performance"] .gg-res-chip--compact {
  padding: 0.34rem 0.62rem;
  font-size: 0.68rem;
}

body[data-page="performance"] .gg-res-chip:hover {
  color: #eef2f6;
  border-color: rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.06);
}

body[data-page="performance"] .gg-res-chip:active {
  transform: scale(0.98);
}

body[data-page="performance"] .gg-res-chip.is-active {
  color: #061019;
  border-color: rgba(53, 224, 194, 0.35);
  background: linear-gradient(135deg, #35e0c2, #2bc4aa);
  box-shadow: none;
}

body[data-page="performance"] .gg-res-chip.is-active.gg-res-chip--official {
  background: linear-gradient(135deg, #35e0c2, #2bc4aa);
  box-shadow: none;
}

body[data-page="performance"] .gg-res-chip.is-active.gg-res-chip--safe {
  color: #1a1408;
  background: linear-gradient(135deg, #e8b050, #f0c878);
  box-shadow: 0 4px 14px rgba(232, 176, 80, 0.32);
}

body[data-page="performance"] .gg-res-chip-text {
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
}

body[data-page="performance"] .gg-res-chip.is-active .gg-res-chip-count {
  background: rgba(6, 16, 25, 0.22);
}

body[data-page="performance"] .gg-res-chip--official:not(.is-active) {
  border-color: rgba(53, 224, 194, 0.18);
}

body[data-page="performance"] .gg-res-chip--official:not(.is-active) .gg-res-chip-text {
  color: rgba(53, 224, 194, 0.88);
}

body[data-page="performance"] .gg-res-chip--safe:not(.is-active) {
  border-color: rgba(232, 176, 80, 0.2);
}

body[data-page="performance"] .gg-res-chip--safe:not(.is-active) .gg-res-chip-text {
  color: rgba(232, 176, 80, 0.92);
}

body[data-page="performance"] .gg-res-load-more-wrap {
  padding: 0.5rem 0.55rem 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-load-more {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
  color: #35e0c2;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

body[data-page="performance"] .gg-res-load-more:hover {
  background: rgba(53, 224, 194, 0.14);
  border-color: rgba(53, 224, 194, 0.45);
}

body[data-page="performance"] .gg-res-empty a {
  color: #35e0c2;
}

/* Performance trend panel */
body[data-page="performance"] .gg-perf-trend-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(53, 224, 194, 0.2);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(53, 224, 194, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(14, 28, 42, 0.98), rgba(8, 14, 24, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

body[data-page="performance"] .gg-perf-trend-panel--safe {
  border-color: rgba(232, 176, 80, 0.24);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 176, 80, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(22, 20, 14, 0.98), rgba(10, 10, 14, 0.96));
}

body[data-page="performance"] .gg-perf-trend-panel--blend {
  border-color: rgba(129, 140, 248, 0.22);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(53, 224, 194, 0.08), transparent 50%),
    radial-gradient(90% 70% at 100% 0%, rgba(232, 176, 80, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(14, 24, 38, 0.98), rgba(8, 12, 22, 0.96));
}

body[data-page="performance"] .gg-perf-trend-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

body[data-page="performance"] .gg-perf-trend-eyebrow {
  display: block;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(53, 224, 194, 0.75);
  margin-bottom: 0.15rem;
}

body[data-page="performance"] .gg-perf-trend-panel--safe .gg-perf-trend-eyebrow {
  color: rgba(232, 176, 80, 0.8);
}

body[data-page="performance"] .gg-perf-trend-panel--blend .gg-perf-trend-eyebrow {
  color: rgba(165, 180, 252, 0.85);
}

body[data-page="performance"] .gg-perf-trend-title h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f8fbff;
}

body[data-page="performance"] .gg-perf-trend-title p {
  margin: 0.22rem 0 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

body[data-page="performance"] .gg-perf-trend-roi-card {
  flex-shrink: 0;
  min-width: 7.2rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: right;
}

body[data-page="performance"] .gg-perf-trend-roi-card strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-perf-trend-roi-card.is-up strong {
  color: #35e0c2;
  text-shadow: 0 0 24px rgba(53, 224, 194, 0.35);
}

body[data-page="performance"] .gg-perf-trend-panel--safe .gg-perf-trend-roi-card.is-up strong {
  color: #e8b050;
  text-shadow: 0 0 24px rgba(232, 176, 80, 0.3);
}

body[data-page="performance"] .gg-perf-trend-roi-card.is-down strong {
  color: #f87171;
}

body[data-page="performance"] .gg-perf-trend-roi-card span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="performance"] .gg-perf-trend-roi-card em {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-perf-trend-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}

body[data-page="performance"] .gg-perf-trend-layer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.35rem;
  border-radius: 10px;
  cursor: pointer;
  min-width: 0;
}

body[data-page="performance"] .gg-perf-trend-layer-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
}

body[data-page="performance"] .gg-perf-trend-layer--official .gg-perf-trend-layer-dot {
  background: #35e0c2;
  box-shadow: 0 0 10px rgba(53, 224, 194, 0.55);
}

body[data-page="performance"] .gg-perf-trend-layer--safe .gg-perf-trend-layer-dot {
  background: #e8b050;
  box-shadow: 0 0 10px rgba(232, 176, 80, 0.5);
}

body[data-page="performance"] .gg-perf-trend-layer--blend .gg-perf-trend-layer-dot {
  background: linear-gradient(135deg, #35e0c2, #e8b050);
}

body[data-page="performance"] .gg-perf-trend-layer--official.is-active {
  border-color: rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.12);
  color: #35e0c2;
}

body[data-page="performance"] .gg-perf-trend-layer--safe.is-active {
  border-color: rgba(232, 176, 80, 0.35);
  background: rgba(232, 176, 80, 0.12);
  color: #e8b050;
}

body[data-page="performance"] .gg-perf-trend-layer--blend.is-active {
  border-color: rgba(165, 180, 252, 0.35);
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
}

body[data-page="performance"] .gg-perf-trend-controls-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 720px) {
  body[data-page="performance"] .gg-perf-trend-controls-card {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

body[data-page="performance"] .gg-perf-trend-control-row {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

body[data-page="performance"] .gg-perf-trend-control-label {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="performance"] .gg-perf-trend-windows {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

body[data-page="performance"] .gg-perf-trend-window {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

body[data-page="performance"] .gg-perf-trend-panel--official .gg-perf-trend-window.is-active,
body[data-page="performance"] .gg-perf-trend-panel--blend .gg-perf-trend-window.is-active {
  border-color: rgba(53, 224, 194, 0.4);
  background: rgba(53, 224, 194, 0.14);
  color: #35e0c2;
}

body[data-page="performance"] .gg-perf-trend-panel--safe .gg-perf-trend-window.is-active {
  border-color: rgba(232, 176, 80, 0.4);
  background: rgba(232, 176, 80, 0.14);
  color: #e8b050;
}

body[data-page="performance"] .gg-perf-trend-modes {
  display: inline-flex;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

body[data-page="performance"] .gg-perf-trend-mode {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

body[data-page="performance"] .gg-perf-trend-panel--official .gg-perf-trend-mode.is-active,
body[data-page="performance"] .gg-perf-trend-panel--blend .gg-perf-trend-mode.is-active {
  background: rgba(53, 224, 194, 0.18);
  color: #35e0c2;
}

body[data-page="performance"] .gg-perf-trend-panel--safe .gg-perf-trend-mode.is-active {
  background: rgba(232, 176, 80, 0.18);
  color: #e8b050;
}

body[data-page="performance"] .gg-perf-trend-mode[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
}

body[data-page="performance"] .gg-perf-trend-windows {
  flex-wrap: wrap;
}

body[data-page="performance"] .gg-perf-trend-day-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  margin-left: 0.12rem;
  padding: 0.12rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  flex-wrap: wrap;
}

body[data-page="performance"] .gg-perf-trend-day-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  padding: 0.08rem 0.22rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

body[data-page="performance"] .gg-perf-trend-day-toggle:hover .gg-perf-trend-day-label,
body[data-page="performance"] .gg-perf-trend-day-toggle[aria-expanded="true"] .gg-perf-trend-day-label {
  opacity: 1;
}

body[data-page="performance"] .gg-perf-trend-day-cal {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(14.5rem, 84vw);
  padding: 0.55rem 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1520;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

body[data-page="performance"] .gg-perf-trend-day-cal[hidden] {
  display: none !important;
}

body[data-page="performance"] .gg-perf-trend-day-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

body[data-page="performance"] .gg-perf-trend-day-cal-title {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

body[data-page="performance"] .gg-perf-trend-day-cal-nav {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

body[data-page="performance"] .gg-perf-trend-day-cal-nav:hover:not(:disabled) {
  color: #35e0c2;
  background: rgba(53, 224, 194, 0.1);
}

body[data-page="performance"] .gg-perf-trend-day-picker--safe .gg-perf-trend-day-cal-nav:hover:not(:disabled) {
  color: #e8b050;
  background: rgba(232, 176, 80, 0.1);
}

body[data-page="performance"] .gg-perf-trend-day-cal-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

body[data-page="performance"] .gg-perf-trend-day-cal-weekdays,
body[data-page="performance"] .gg-perf-trend-day-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.18rem;
}

body[data-page="performance"] .gg-perf-trend-day-cal-weekdays {
  margin-bottom: 0.22rem;
}

body[data-page="performance"] .gg-perf-trend-day-cal-weekdays span {
  text-align: center;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

body[data-page="performance"] .gg-perf-trend-day-cal-cell,
body[data-page="performance"] .gg-perf-trend-day-cal-pad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 100%;
  aspect-ratio: auto;
  min-height: 2.15rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-perf-trend-day-cal-day {
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
}

body[data-page="performance"] .gg-perf-trend-day-cal-units {
  font-size: 0.48rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="performance"] .gg-perf-trend-day-cal-units.is-win {
  color: #5ce0a8;
}

body[data-page="performance"] .gg-perf-trend-day-cal-units.is-loss {
  color: #ff7b8a;
}

body[data-page="performance"] .gg-perf-trend-day-cal-units.is-void {
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="performance"] .gg-res-units-cal-section {
  margin: 0.85rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
}

body[data-page="performance"] .gg-res-units-cal-headline h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-units-cal-headline p {
  margin: 0 0 0.65rem;
  max-width: none;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-units-cal-panel.gg-res-wr-board {
  min-height: 0;
  padding: 0.85rem 0.95rem 0.9rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal.is-inline {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: 100%;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-weekdays,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-grid {
  gap: 0.28rem;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-pad {
  min-height: 2.65rem;
  border-radius: 10px;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.12rem 0.16rem;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win {
  background: rgba(53, 224, 194, 0.04);
  border-color: rgba(53, 224, 194, 0.1);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss {
  background: rgba(255, 107, 107, 0.035);
  border-color: rgba(255, 107, 107, 0.09);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-soft {
  background: rgba(53, 224, 194, 0.05);
  border-color: rgba(53, 224, 194, 0.12);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-mid {
  background: rgba(53, 224, 194, 0.1);
  border-color: rgba(53, 224, 194, 0.26);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-strong {
  background: rgba(53, 224, 194, 0.16);
  border-color: rgba(53, 224, 194, 0.42);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-soft {
  background: rgba(255, 107, 107, 0.04);
  border-color: rgba(255, 107, 107, 0.1);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-mid {
  background: rgba(255, 107, 107, 0.09);
  border-color: rgba(255, 107, 107, 0.22);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-strong {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.38);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-void {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-win {
  color: rgba(92, 224, 168, 0.78);
  font-weight: 700;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-loss {
  color: rgba(255, 140, 150, 0.72);
  font-weight: 700;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-win.is-heat-mid {
  color: #5ce0a8;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-win.is-heat-strong {
  color: #6ef0bc;
  font-weight: 800;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-loss.is-heat-mid {
  color: #ff8a96;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-loss.is-heat-strong {
  color: #ff6b7a;
  font-weight: 800;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units.is-void {
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-active {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.2);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-soft:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-soft.is-active {
  background: rgba(53, 224, 194, 0.1);
  border-color: rgba(53, 224, 194, 0.28);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-mid:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-mid.is-active {
  background: rgba(53, 224, 194, 0.16);
  border-color: rgba(53, 224, 194, 0.42);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-strong:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-win.is-heat-strong.is-active {
  background: rgba(53, 224, 194, 0.22);
  border-color: rgba(53, 224, 194, 0.55);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-active {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.2);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-soft:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-soft.is-active {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.2);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-mid:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-mid.is-active {
  background: rgba(255, 107, 107, 0.14);
  border-color: rgba(255, 107, 107, 0.34);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-strong:hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available.has-units.is-loss.is-heat-strong.is-active {
  background: rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.48);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available:not(.has-units):hover,
body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-cell.is-available:not(.has-units).is-active {
  background: rgba(53, 224, 194, 0.14);
  border-color: rgba(53, 224, 194, 0.35);
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-day {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="performance"] .gg-res-units-cal-panel .gg-perf-trend-day-cal-units {
  font-size: 0.52rem;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-units-cal-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.42rem;
}

body[data-page="performance"] .gg-res-units-cal-clear {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.56rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-profit-cal {
  margin-top: 0;
  min-height: 0;
  padding: 0;
}

body[data-page="performance"] .gg-res-profit-cal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "toggle legend";
  gap: 0.65rem 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

body[data-page="performance"] .gg-res-profit-cal-title-wrap {
  grid-area: title;
}

body[data-page="performance"] .gg-res-profit-cal-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-profit-cal-icon {
  display: inline-flex;
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-wr-board--safe .gg-res-profit-cal-icon {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-wr-board--blend .gg-res-profit-cal-icon {
  color: #a5b4fc;
}

body[data-page="performance"] .gg-res-profit-cal-sub {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-profit-cal-layer-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-self: center;
  justify-self: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-profit-cal-layer {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.36rem 0.68rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-profit-cal-layer.is-active {
  color: #f4f8ff;
  background: rgba(53, 224, 194, 0.12);
  border-color: rgba(53, 224, 194, 0.35);
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.12), 0 0 18px rgba(53, 224, 194, 0.12);
}

body[data-page="performance"] .gg-res-wr-board--safe .gg-res-profit-cal-layer.is-active {
  background: rgba(232, 176, 80, 0.12);
  border-color: rgba(232, 176, 80, 0.35);
  box-shadow: 0 0 0 1px rgba(232, 176, 80, 0.12), 0 0 18px rgba(232, 176, 80, 0.12);
}

body[data-page="performance"] .gg-res-wr-board--blend .gg-res-profit-cal-layer.is-active {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow: 0 0 0 1px rgba(165, 180, 252, 0.12), 0 0 18px rgba(99, 102, 241, 0.12);
}

body[data-page="performance"] .gg-res-profit-cal-legend {
  grid-area: legend;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 0.85rem;
}

body[data-page="performance"] .gg-res-profit-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-profit-cal-legend-item em {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-profit-cal-legend-item em.is-win {
  background: #22c55e;
}

body[data-page="performance"] .gg-res-profit-cal-legend-item em.is-loss {
  background: #ef4444;
}

body[data-page="performance"] .gg-res-profit-cal-legend-item em.is-neutral {
  background: rgba(255, 255, 255, 0.28);
}

body[data-page="performance"] .gg-res-profit-cal-month-nav {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

body[data-page="performance"] .gg-res-profit-cal-nav {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-profit-cal-nav:hover:not(:disabled) {
  color: #35e0c2;
  border-color: rgba(53, 224, 194, 0.28);
}

body[data-page="performance"] .gg-res-wr-board--safe .gg-res-profit-cal-nav:hover:not(:disabled) {
  color: #e8b050;
  border-color: rgba(232, 176, 80, 0.28);
}

body[data-page="performance"] .gg-res-wr-board--blend .gg-res-profit-cal-nav:hover:not(:disabled) {
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.28);
}

body[data-page="performance"] .gg-res-profit-cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

body[data-page="performance"] .gg-res-profit-cal-month {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-profit-cal-weekdays,
body[data-page="performance"] .gg-res-profit-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.32rem;
}

body[data-page="performance"] .gg-res-profit-cal-weekdays {
  margin-bottom: 0.32rem;
}

body[data-page="performance"] .gg-res-profit-cal-weekdays span {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="performance"] .gg-res-profit-cal-cell {
  position: relative;
  min-height: 4.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.42rem 0.45rem 0.38rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0.15rem 0.25rem;
}

body[data-page="performance"] .gg-res-profit-cal-cell.is-outside {
  background: transparent;
  border-color: transparent;
  min-height: 2.2rem;
  padding-top: 0.2rem;
}

body[data-page="performance"] .gg-res-profit-cal-cell.is-outside .gg-res-profit-cal-day {
  color: rgba(255, 255, 255, 0.18);
}

body[data-page="performance"] .gg-res-profit-cal-cell.is-neutral {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-profit-cal-cell.is-win {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.22);
}

body[data-page="performance"] .gg-res-profit-cal-cell.is-loss {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.22);
}

body[data-page="performance"] .gg-res-profit-cal-day {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-profit-cal-units {
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

body[data-page="performance"] .gg-res-profit-cal-units.is-win {
  color: #4ade80;
}

body[data-page="performance"] .gg-res-profit-cal-units.is-loss {
  color: #f87171;
}

body[data-page="performance"] .gg-res-profit-cal-record,
body[data-page="performance"] .gg-res-profit-cal-picks,
body[data-page="performance"] .gg-res-profit-cal-empty {
  align-self: end;
  font-size: 0.58rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="performance"] .gg-res-profit-cal-picks {
  justify-self: end;
  text-align: right;
}

body[data-page="performance"] .gg-res-profit-cal-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  body[data-page="performance"] .gg-res-profit-cal-toolbar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "toggle"
      "legend";
  }

  body[data-page="performance"] .gg-res-profit-cal-layer-toggle {
    justify-self: start;
  }

  body[data-page="performance"] .gg-res-profit-cal-legend {
    justify-content: flex-start;
  }

  body[data-page="performance"] .gg-res-profit-cal-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "toggle"
      "legend";
  }

  body[data-page="performance"] .gg-res-profit-cal-layer-toggle {
    justify-self: start;
  }

  body[data-page="performance"] .gg-res-profit-cal-legend {
    justify-content: flex-start;
  }

  body[data-page="performance"] .gg-res-clv-insights-toolbar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.48rem;
    padding: 0.58rem 0.62rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-intro {
    flex: 0 0 auto;
  }

  body[data-page="performance"] .gg-res-clv-layer-toggle {
    justify-content: flex-start;
    width: 100%;
  }

  body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-summary-hint,
  body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-summary-hint,
  body[data-page="performance"] .gg-res-explore-details--recent .gg-res-explore-summary-hint {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 720px) {
  body[data-page="performance"] .gg-res-explore-details--profit-cal .gg-res-explore-body {
    padding: 0 0.5rem 0.75rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-toolbar {
    padding: 0.62rem 0.65rem;
    gap: 0.55rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-lead {
    display: none;
  }

  body[data-page="performance"] .gg-res-profit-cal-layer-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.22rem;
    padding: 0.2rem;
    border-radius: 10px;
    justify-self: stretch;
  }

  body[data-page="performance"] .gg-res-profit-cal-layer {
    min-height: 2.55rem;
    padding: 0.42rem 0.28rem;
    font-size: 0.56rem;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body[data-page="performance"] .gg-res-profit-cal-legend {
    gap: 0.35rem 0.5rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-legend-item {
    font-size: 0.54rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-body {
    padding: 0.65rem 0.48rem 0.72rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-month-nav {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    margin-bottom: 0.42rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-nav {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
  }

  body[data-page="performance"] .gg-res-profit-cal-month {
    font-size: 0.84rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-weekdays,
  body[data-page="performance"] .gg-res-profit-cal-grid {
    gap: 0.16rem;
  }

  body[data-page="performance"] .gg-res-profit-cal-weekdays span {
    font-size: 0;
    line-height: 1;
  }

  body[data-page="performance"] .gg-res-profit-cal-weekdays span::after {
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.34);
  }

  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(1)::after { content: 'M'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(2)::after { content: 'T'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(3)::after { content: 'W'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(4)::after { content: 'T'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(5)::after { content: 'F'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(6)::after { content: 'S'; }
  body[data-page="performance"] .gg-res-profit-cal-weekdays span:nth-child(7)::after { content: 'S'; }

  body[data-page="performance"] .gg-res-profit-cal-cell {
    min-height: 0;
    aspect-ratio: 1;
    padding: 0.2rem 0.14rem 0.16rem;
    border-radius: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.06rem;
    align-content: start;
  }

  body[data-page="performance"] .gg-res-profit-cal-cell.is-outside {
    min-height: 0;
    aspect-ratio: 1;
    padding: 0.16rem 0.12rem;
    opacity: 0.42;
  }

  body[data-page="performance"] .gg-res-profit-cal-day {
    font-size: 0.66rem;
    justify-self: start;
    line-height: 1;
  }

  body[data-page="performance"] .gg-res-profit-cal-units {
    justify-self: stretch;
    align-self: end;
    text-align: center;
    font-size: 0.52rem;
    line-height: 1.05;
  }

  body[data-page="performance"] .gg-res-profit-cal-record,
  body[data-page="performance"] .gg-res-profit-cal-picks,
  body[data-page="performance"] .gg-res-profit-cal-empty {
    display: none !important;
  }

  body[data-page="performance"] .gg-res-explore-details--clv-insights .gg-res-explore-body {
    padding: 0 0.5rem 0.65rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-panel {
    gap: 0.35rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-toolbar {
    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
  }

  body[data-page="performance"] .gg-res-clv-insights-intro {
    display: none;
  }

  body[data-page="performance"] .gg-res-clv-insights-lead {
    display: none;
  }

  body[data-page="performance"] .gg-res-clv-layer-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.22rem;
    padding: 0.2rem;
    border-radius: 10px;
  }

  body[data-page="performance"] .gg-res-clv-layer {
    min-height: 2.45rem;
    padding: 0.4rem 0.25rem;
    font-size: 0.56rem;
    line-height: 1.12;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics.gg-analytics-panel {
    padding: 0.52rem 0.48rem 0.58rem;
    border-radius: 12px;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block--clv {
    margin-bottom: 0.45rem;
    padding-bottom: 0;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block-head {
    margin-bottom: 0.28rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-clv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric {
    padding: 0.4rem 0.34rem;
    border-radius: 9px;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric span {
    font-size: 0.5rem;
    letter-spacing: 0.02em;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric strong {
    margin-top: 0.08rem;
    font-size: 0.84rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-metric em {
    display: none;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-cols {
    gap: 0.45rem;
    margin-top: 0;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block {
    padding: 0.42rem 0.46rem 0.46rem;
    border-radius: 10px;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block h3 {
    margin-bottom: 0.28rem;
    font-size: 0.56rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table {
    gap: 0.08rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row {
    font-size: 0.6rem;
    gap: 0.22rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row.is-head {
    padding: 0.2rem 0.28rem 0.24rem;
    margin-bottom: 0.04rem;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row:not(.is-head) {
    padding: 0.22rem 0.28rem;
    border-radius: 6px;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-table-row > span:first-child {
    -webkit-line-clamp: 1;
    line-height: 1.15;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-block:last-child .gg-analytics-table {
    max-height: 8.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.08rem;
  }
}

body[data-page="performance"] .gg-perf-trend-day-cal.is-inline {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="performance"] .gg-perf-trend-day-cal.is-inline[hidden] {
  display: block !important;
}

body[data-page="performance"] .gg-perf-trend-day-cal-pad {
  visibility: hidden;
}

body[data-page="performance"] .gg-perf-trend-day-cal-cell.is-muted {
  color: rgba(255, 255, 255, 0.16);
}

body[data-page="performance"] .gg-perf-trend-day-cal-cell.is-available {
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

body[data-page="performance"] .gg-perf-trend-day-cal-cell.is-available:hover,
body[data-page="performance"] .gg-perf-trend-day-cal-cell.is-available.is-active {
  background: rgba(53, 224, 194, 0.14);
  color: #35e0c2;
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.35);
}

body[data-page="performance"] .gg-perf-trend-day-picker--safe .gg-perf-trend-day-cal-cell.is-available:hover,
body[data-page="performance"] .gg-perf-trend-day-picker--safe .gg-perf-trend-day-cal-cell.is-available.is-active {
  background: rgba(232, 176, 80, 0.14);
  color: #e8b050;
  box-shadow: inset 0 0 0 1px rgba(232, 176, 80, 0.35);
}

body[data-page="performance"] .gg-perf-trend-day-label {
  min-width: 2.4rem;
  padding: 0;
  font-size: 0.62rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  white-space: nowrap;
}

body[data-page="performance"] .gg-perf-trend-day-picker--official {
  border-color: rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.06);
}

body[data-page="performance"] .gg-perf-trend-day-picker--safe {
  border-color: rgba(232, 176, 80, 0.3);
  background: rgba(232, 176, 80, 0.06);
}

body[data-page="performance"] .gg-perf-trend-day-picker--blend {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(167, 139, 250, 0.06);
}

body[data-page="performance"] .gg-perf-trend-day-nav {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

body[data-page="performance"] .gg-perf-trend-day-nav:hover:not(:disabled) {
  color: #35e0c2;
  background: rgba(53, 224, 194, 0.1);
}

body[data-page="performance"] .gg-perf-trend-day-picker--safe .gg-perf-trend-day-nav:hover:not(:disabled) {
  color: #e8b050;
  background: rgba(232, 176, 80, 0.1);
}

body[data-page="performance"] .gg-perf-trend-day-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

body[data-page="performance"] .gg-perf-trend-day-picker--official .gg-perf-trend-day-label {
  color: #35e0c2;
}

body[data-page="performance"] .gg-perf-trend-day-picker--safe .gg-perf-trend-day-label {
  color: #e8b050;
}

body[data-page="performance"] .gg-perf-trend-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

body[data-page="performance"] .gg-perf-trend-stat {
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

body[data-page="performance"] .gg-perf-trend-stat span {
  display: block;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="performance"] .gg-perf-trend-stat strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.82rem;
  color: #f4f8ff;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-perf-trend-chart-shell {
  padding: 0.35rem 0.25rem 0.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-chart-wrap--rich {
  margin: 0;
  grid-template-columns: 0.55rem minmax(0, 1fr);
  gap: 0.06rem 0.14rem;
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-yaxis-rail {
  padding: 0.25rem 0 0.65rem;
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-yaxis-title {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-axis {
  font-size: 9.5px;
  fill: rgba(255, 255, 255, 0.5);
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-axis--zero {
  fill: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

body[data-page="performance"] .gg-perf-trend-panel .gg-trend-chart {
  min-height: 150px;
  max-height: none;
}

body[data-page="performance"] .gg-perf-trend-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.2rem;
}

body[data-page="performance"] .gg-perf-trend-form-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="performance"] .gg-perf-trend-panel--empty {
  border-style: dashed;
}

body[data-page="performance"] .gg-perf-trend-empty-msg {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

@media (max-width: 520px) {
  body[data-page="performance"] .gg-perf-trend-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="performance"] .gg-perf-trend-layer {
    font-size: 0.58rem;
    padding: 0.38rem 0.25rem;
  }
}

/* Mini graf (legacy collapsible) */
body[data-page="performance"] .gg-res-chart-box {
  padding: 0.45rem 0.55rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="performance"] .gg-res-chart-box summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  list-style: none;
}

body[data-page="performance"] .gg-res-chart-box summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-chart-box[open] summary {
  margin-bottom: 0.35rem;
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-chart-box .gg-trend-chart {
  min-height: 120px;
  max-height: none;
}

body[data-page="performance"] .gg-res-chart-box .gg-roi-chart-meta strong {
  font-size: 1rem;
}

/* Seznam zápasů */
body[data-page="performance"] .gg-res-board {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

body[data-page="performance"] .gg-res-board-head {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-board-head h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #f4f8ff;
}

body[data-page="performance"] .gg-res-board-head small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-res-list {
  display: flex;
  flex-direction: column;
}

body[data-page="performance"] .gg-res-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="performance"] .gg-res-row:last-child {
  border-bottom: none;
}

body[data-page="performance"] .gg-res-row-main {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.4rem 0.5rem;
  align-items: center;
  padding: 0.42rem 0.55rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

body[data-page="performance"] .gg-res-row.result-win {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.14), rgba(74, 222, 128, 0.05)) !important;
}

body[data-page="performance"] .gg-res-row.result-loss {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.16), rgba(248, 113, 113, 0.06)) !important;
}

body[data-page="performance"] .gg-res-row.result-void {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.12), rgba(250, 204, 21, 0.05)) !important;
}

body[data-page="performance"] .gg-res-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
}

body[data-page="performance"] .gg-res-date b {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-date small {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="performance"] .gg-res-match {
  min-width: 0;
  overflow: hidden;
}

body[data-page="performance"] .gg-res-teams {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f4f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="performance"] .gg-res-league {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="performance"] .gg-res-league .league-logo-badge {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: 0 0 auto;
  align-self: center;
}

/* Size the badge, never shrink the crest <img> to 10px (that clipped logos to a sliver). */
body[data-page="performance"] .gg-res-league .league-logo-badge > img {
  width: 100% !important;
  height: 100% !important;
  padding: 0.5px !important;
}

body[data-page="performance"] .gg-res-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-tip-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.35rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.1);
}

body[data-page="performance"] .gg-res-row.is-safe .gg-res-tip-box {
  border-color: rgba(232, 176, 80, 0.35);
  background: rgba(232, 176, 80, 0.1);
}

body[data-page="performance"] .gg-res-row.result-win .gg-res-tip-box {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.14);
}

body[data-page="performance"] .gg-res-row.result-loss .gg-res-tip-box {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.14);
}

body[data-page="performance"] .gg-res-row.result-void .gg-res-tip-box {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.1);
}

body[data-page="performance"] .gg-res-tip {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  color: #35e0c2;
  white-space: nowrap;
  text-align: center;
}

body[data-page="performance"] .gg-res-row.result-win .gg-res-tip {
  color: #6ee7b7;
}

body[data-page="performance"] .gg-res-row.result-loss .gg-res-tip {
  color: #fca5a5;
}

body[data-page="performance"] .gg-res-row.result-void .gg-res-tip {
  color: #fde68a;
}

body[data-page="performance"] .gg-res-row.is-safe .gg-res-tip {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-row.result-win.is-safe .gg-res-tip-box {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.14);
}

body[data-page="performance"] .gg-res-row.result-loss.is-safe .gg-res-tip-box {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.14);
}

body[data-page="performance"] .gg-res-row.result-void.is-safe .gg-res-tip-box {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.1);
}

body[data-page="performance"] .gg-res-row.result-win.is-safe .gg-res-tip {
  color: #6ee7b7;
}

body[data-page="performance"] .gg-res-row.result-loss.is-safe .gg-res-tip {
  color: #fca5a5;
}

body[data-page="performance"] .gg-res-row.result-void.is-safe .gg-res-tip {
  color: #fde68a;
}

body[data-page="performance"] .gg-res-odds {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="performance"] .gg-res-layer-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #35e0c2;
}

body[data-page="performance"] .gg-res-row.is-safe .gg-res-layer-dot {
  background: #e8b050;
}

body[data-page="performance"] .gg-res-row.result-win .gg-res-layer-dot {
  background: #4ade80;
}

body[data-page="performance"] .gg-res-row.result-loss .gg-res-layer-dot {
  background: #f87171;
}

body[data-page="performance"] .gg-res-row.result-void .gg-res-layer-dot {
  background: #fbbf24;
}

body[data-page="performance"] .gg-res-board--pending {
  border-color: rgba(232, 176, 80, 0.22);
}

body[data-page="performance"] .gg-res-board--pending .gg-res-board-head h2 {
  color: #e8b050;
}

body[data-page="performance"] .gg-res-row.is-pending .gg-res-tip-box {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="performance"] .gg-res-row.is-pending .gg-res-tip {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="performance"] .gg-res-pending-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  padding: 0.14rem 0.4rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232, 176, 80, 0.95);
  border: 1px solid rgba(232, 176, 80, 0.35);
  background: rgba(232, 176, 80, 0.1);
}

body[data-page="performance"] .gg-res-pending-pill.is-live {
  color: #ff8a8a;
  border-color: rgba(255, 120, 120, 0.45);
  background: rgba(255, 80, 80, 0.12);
}

body[data-page="performance"] .gg-res-empty {
  padding: 1rem 0.65rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

body[data-page="performance"] .gg-res-form-inline {
  display: flex;
  gap: 0.2rem;
  padding: 0.35rem 0.55rem 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="performance"] .gg-res-form-inline .results-form-dot {
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.55rem;
}

/* Skrýt staré těžké bloky */
body[data-page="performance"].results-page-compact .results-snapshot-hero,
body[data-page="performance"].results-page-compact .results-charts-hero,
body[data-page="performance"].results-page-compact .results-separation-visual,
body[data-page="performance"].results-page-compact .performance-control-card,
body[data-page="performance"].results-page-compact .performance-hero-card,
body[data-page="performance"].results-page-compact .performance-breakdown-grid {
  display: none !important;
}

@media (min-width: 768px) {
  body[data-page="performance"].results-page-compact .football-page-header p {
    display: block;
    font-size: 0.85rem;
    max-width: 36rem;
  }

  body[data-page="performance"] .gg-res-kpi strong {
    font-size: 1.2rem;
  }

  body[data-page="performance"] .gg-res-row-main {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    padding: 0.5rem 0.65rem;
  }

  body[data-page="performance"] .gg-res-teams {
    font-size: 0.86rem;
  }
}

@media (max-width: 380px) {
  body[data-page="performance"] .gg-res-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CLV strip above bankroll */
body[data-page="performance"] .gg-res-clv-panel {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="performance"] .gg-res-clv-head h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-clv-head p {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}

/* Insights drawer + analytics (CLV) */
body[data-page="performance"] .gg-res-insights-drawer {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="performance"] .gg-res-insights-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.55rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="performance"] .gg-res-insights-summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-insights-summary-label::before {
  content: "▸ ";
  color: #35e0c2;
  display: inline-block;
  transition: transform 0.15s ease;
}

body[data-page="performance"] .gg-res-insights-drawer[open] .gg-res-insights-summary-label::before {
  transform: rotate(90deg);
}

body[data-page="performance"] .gg-res-insights-summary-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

body[data-page="performance"] .gg-res-insights-summary-meta em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

body[data-page="performance"] .gg-res-insights-body.gg-analytics-panel {
  padding: 0.45rem 0.55rem 0.55rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
}

body[data-page="performance"] .gg-analytics-panel {
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

body[data-page="performance"] .gg-analytics-head h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1rem;
}

body[data-page="performance"] .gg-analytics-head p,
body[data-page="performance"] .gg-analytics-note {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

body[data-page="performance"] .gg-analytics-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fe8d4;
}

body[data-page="performance"] .gg-analytics-block {
  margin-top: 0.4rem;
}

body[data-page="performance"] .gg-analytics-block:first-child {
  margin-top: 0;
}

body[data-page="performance"] .gg-analytics-block h3 {
  margin: 0 0 0.28rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="performance"] .gg-analytics-block-head {
  margin-bottom: 0.28rem;
}

body[data-page="performance"] .gg-clv-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

body[data-page="performance"] .gg-clv-help-btn:hover {
  color: #7fe8d4;
}

body[data-page="performance"] .gg-clv-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 232, 212, 0.35);
  background: rgba(127, 232, 212, 0.1);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  color: #7fe8d4;
}

body[data-page="performance"] .gg-analytics-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

body[data-page="performance"] .gg-analytics-clv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

body[data-page="performance"] .gg-analytics-metric {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
  min-width: 0;
}

body[data-page="performance"] .gg-analytics-metric span {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
}

body[data-page="performance"] .gg-analytics-metric strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.95rem;
  color: #eef2f6;
}

body[data-page="performance"] .gg-analytics-metric strong.is-up { color: #6ee7b7; }
body[data-page="performance"] .gg-analytics-metric strong.is-down { color: #fca5a5; }

body[data-page="performance"] .gg-analytics-metric em {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.58rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="performance"] .gg-analytics-empty {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="performance"] .gg-analytics-table {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body[data-page="performance"] .gg-analytics-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 2.5rem 2.8rem 3.2rem;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="performance"] .gg-analytics-table-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="performance"] .gg-analytics-table-row > span:first-child {
  font-weight: 600;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}

body[data-page="performance"] .gg-analytics-table-row > span:not(:first-child) {
  text-align: right;
}

body[data-page="performance"] .gg-analytics-table--league .gg-analytics-table-row {
  grid-template-columns: minmax(0, 1.15fr) 0.42fr 0.62fr 0.68fr;
}

body[data-page="performance"] .gg-analytics-table-row.is-head > span:first-child {
  font-weight: 700;
  -webkit-line-clamp: unset;
  display: block;
  white-space: nowrap;
}

body[data-page="performance"] .gg-analytics-table-row.is-head {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="performance"] .gg-analytics-table-row .is-up { color: #6ee7b7; }
body[data-page="performance"] .gg-analytics-table-row .is-down { color: #fca5a5; }

body[data-page="performance"] .gg-odds-intel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
  justify-content: flex-end;
}

body[data-page="performance"] .gg-clv-badge,
body[data-page="performance"] .gg-line-move {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.08rem 0.28rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}

body[data-page="performance"] .gg-clv-badge--positive {
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.1);
}

body[data-page="performance"] .gg-clv-badge--negative {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.35);
  background: rgba(252, 165, 165, 0.08);
}

body[data-page="performance"] .gg-clv-badge--neutral {
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="performance"] .gg-clv-label {
  opacity: 0.75;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
}

body[data-page="performance"] .gg-line-move--down {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.3);
  background: rgba(252, 165, 165, 0.08);
}

body[data-page="performance"] .gg-line-move--up {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.3);
  background: rgba(147, 197, 253, 0.08);
}

@media (min-width: 768px) {
  body[data-page="performance"] .gg-analytics-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  body[data-page="performance"] .gg-analytics-clv-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="performance"] .gg-res-clv-insights-analytics .gg-analytics-clv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body[data-page="performance"] .gg-res-picks-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px dashed rgba(53, 224, 194, 0.28);
  background: rgba(8, 18, 28, 0.72);
}

body[data-page="performance"] .gg-res-picks-cta p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

body[data-page="performance"] .gg-res-picks-cta-link {
  font-size: 0.74rem;
  font-weight: 800;
  color: #35e0c2;
  text-decoration: none;
}

body[data-page="performance"] .gg-res-nav-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.1rem 0;
}

body[data-page="performance"] .gg-res-nav-link {
  font-size: 0.72rem;
  font-weight: 800;
  color: #35e0c2;
  text-decoration: none;
}

body[data-page="performance"] .gg-res-insights-embedded .gg-analytics-panel {
  margin-top: 0;
}

body[data-page="performance"] .gg-analytics-scope-note {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

body[data-page="performance"] .gg-perf-trend-control-row--market .gg-perf-trend-markets {
  flex-wrap: wrap;
}

body[data-page="performance"] .gg-res-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

body[data-page="performance"] .gg-res-filter-grid--bankroll {
  margin-top: 0.05rem;
}

body[data-page="performance"] .gg-res-filters-more .gg-res-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  body[data-page="performance"] .gg-res-filters-more .gg-res-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="performance"] .gg-res-filter-grid {
    grid-template-columns: 1fr;
  }
}

body[data-page="performance"] .gg-res-filter-select {
  width: 100%;
  padding: 0.48rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: #eef2f6;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}

body[data-page="performance"] .gg-res-filter-summary {
  margin: 0.55rem 0 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 194, 0.14);
  background: linear-gradient(180deg, rgba(14, 26, 40, 0.95), rgba(8, 16, 26, 0.9));
}

body[data-page="performance"] .gg-res-filter-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

body[data-page="performance"] .gg-res-filter-summary-head h2 {
  margin: 0;
  font-size: 0.92rem;
  color: #f8fafc;
}

body[data-page="performance"] .gg-res-filter-summary-head small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

body[data-page="performance"] .gg-res-filter-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (max-width: 720px) {
  body[data-page="performance"] .gg-res-filter-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="performance"] .gg-res-filter-summary-tile {
  padding: 0.55rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-filter-summary-tile span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.2rem;
}

body[data-page="performance"] .gg-res-filter-summary-tile strong {
  font-size: 1rem;
  color: #f8fafc;
}

body[data-page="performance"] .gg-res-filters {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

body[data-page="performance"] .gg-res-filter-divider {
  height: 1px;
  margin: 0.15rem 0 0.05rem;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 194, 0.22), transparent);
}

body[data-page="performance"] .gg-res-filter-block--bankroll .gg-res-filter-day-picker {
  margin-top: 0.45rem;
}

body[data-page="performance"] .gg-perf-trend-panel--chart-only {
  margin-top: 0.15rem;
}

body[data-page="performance"] .gg-res-clv-details {
  margin: 0.75rem 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 26, 0.72);
  overflow: hidden;
}

body[data-page="performance"] .gg-res-clv-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #eef2f6;
}

body[data-page="performance"] .gg-res-clv-summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-clv-summary-title {
  font-size: 0.88rem;
}

body[data-page="performance"] .gg-res-clv-summary-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="performance"] .gg-res-clv-details[open] .gg-res-clv-summary-hint {
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-clv-details .gg-res-insights-embedded {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* —— Mobile compact: filters + summary —— */
body[data-page="performance"] .gg-res-chips--scroll-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.32rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.08rem;
}

body[data-page="performance"] .gg-res-chips--scroll-row::-webkit-scrollbar {
  display: none;
}

body[data-page="performance"] .gg-res-chip-divider {
  flex-shrink: 0;
  width: 1px;
  height: 1.1rem;
  align-self: center;
  margin: 0 0.12rem;
  background: rgba(255, 255, 255, 0.14);
}

body[data-page="performance"] .gg-res-filters-wrap {
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 194, 0.12);
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.92), rgba(8, 16, 26, 0.88));
  overflow: hidden;
}

body[data-page="performance"] .gg-res-filters-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.62rem 0.72rem;
  cursor: pointer;
  list-style: none;
}

body[data-page="performance"] .gg-res-filters-summary-bar::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-filters-summary-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="performance"] .gg-res-filters-summary-active {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9fe8d8;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58%;
}

body[data-page="performance"] .gg-res-filters-wrap > .gg-res-filters {
  margin-top: 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  padding: 0.55rem 0.62rem 0.62rem;
  gap: 0.48rem;
}

body[data-page="performance"] .gg-res-filter-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

body[data-page="performance"] .gg-res-filter-block--compact .gg-res-filter-label {
  margin-bottom: -0.05rem;
}

body[data-page="performance"] .gg-res-filters-more {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

body[data-page="performance"] .gg-res-filters-more-summary {
  padding: 0.48rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  list-style: none;
}

body[data-page="performance"] .gg-res-filters-more-summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-filters-more-body {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 0 0.55rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="performance"] .gg-res-filter-summary-strip {
  display: none;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.05rem;
}

body[data-page="performance"] .gg-res-filter-summary-strip::-webkit-scrollbar {
  display: none;
}

body[data-page="performance"] .gg-res-summary-pill {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 4.1rem;
  padding: 0.38rem 0.48rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"] .gg-res-summary-pill em {
  font-size: 0.58rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="performance"] .gg-res-summary-pill strong {
  font-size: 0.86rem;
  color: #f8fafc;
  margin-top: 0.08rem;
}

@media (max-width: 767px) {
  body[data-page="performance"] .gg-res-filter-summary {
    padding: 0.55rem 0.62rem;
  }

  body[data-page="performance"] .gg-res-filter-summary-head {
    margin-bottom: 0.38rem;
  }

  body[data-page="performance"] .gg-res-filter-summary-head h2 {
    font-size: 0.82rem;
  }

  body[data-page="performance"] .gg-res-filter-summary-strip {
    display: flex;
  }

  body[data-page="performance"] .gg-res-filter-summary-grid {
    display: none;
  }

  body[data-page="performance"] .gg-res-filter-duo--result {
    grid-template-columns: 1fr;
  }

  body[data-page="performance"] .gg-res-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  body[data-page="performance"] .gg-res-filters-more .gg-res-filter-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="performance"] .gg-res-filter-select {
    padding: 0.38rem 0.48rem;
    font-size: 0.72rem;
  }

  body[data-page="performance"] .gg-res-chip.gg-res-chip--compact {
    padding: 0.32rem 0.56rem;
    font-size: 0.66rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-head {
    gap: 0.45rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-title h2 {
    font-size: 1rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-stat {
    padding: 0.35rem 0.3rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-stat span {
    font-size: 0.58rem;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-stat strong {
    font-size: 0.78rem;
  }
}

@media (min-width: 768px) {
  body[data-page="performance"] .gg-res-filters-wrap {
    border: none;
    background: transparent;
    overflow: visible;
  }

  body[data-page="performance"] .gg-res-filters-summary-bar {
    display: none;
  }

  body[data-page="performance"] .gg-res-filters-wrap > .gg-res-filters {
    border: 1px solid rgba(53, 224, 194, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    background:
      radial-gradient(ellipse 80% 60% at 0% 0%, rgba(53, 224, 194, 0.07), transparent 55%),
      linear-gradient(180deg, rgba(16, 28, 42, 0.92), rgba(8, 16, 26, 0.88));
    padding: 0.65rem 0.7rem;
    gap: 0.65rem;
  }

  body[data-page="performance"] .gg-res-filters-more {
    border: none;
    background: transparent;
  }

  body[data-page="performance"] .gg-res-filters-more-summary {
    display: none;
  }

  body[data-page="performance"] .gg-res-filters-more-body {
    padding: 0;
    border: none;
    gap: 0.65rem;
  }

  body[data-page="performance"] .gg-res-filters-more .gg-res-filter-grid {
    margin-top: 0;
  }

  body[data-page="performance"] .gg-res-filters-more .gg-res-filters-more-body {
    display: flex !important;
  }

  body[data-page="performance"] .gg-res-filter-summary-strip {
    display: none;
  }
}

body[data-page="performance"] .gg-res-row-actions {
  display: flex;
  align-items: center;
  padding: 0 0.45rem 0 0;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-share-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

body[data-page="performance"] .gg-res-share-btn:hover {
  border-color: rgba(53, 224, 194, 0.35);
  color: #35e0c2;
}

body[data-page="performance"] .gg-res-filter-summary--empty .gg-res-filter-summary-empty {
  padding: 0.85rem 0.95rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-filter-summary-empty p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="performance"] .gg-res-filter-summary-empty p + p {
  margin-top: 0.35rem;
}

body[data-page="performance"] .gg-res-filter-summary-hint {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.76rem !important;
}

body[data-page="performance"] .gg-res-filter-summary-reset {
  display: inline-flex;
  margin-top: 0.65rem;
  appearance: none;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
  color: #35e0c2;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-filter-summary-reset:hover {
  background: rgba(53, 224, 194, 0.14);
}

body[data-page="performance"] .gg-res-empty-reset {
  display: inline-flex;
  margin-top: 0.5rem;
  appearance: none;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
  color: #35e0c2;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-loss-spotlight {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 0.95rem 0.95rem;
  border: 1px solid rgba(248, 113, 113, 0.18);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(28, 12, 16, 0.55), rgba(8, 14, 22, 0.35));
}

body[data-page="performance"] .gg-res-loss-spotlight h2 {
  margin: 0;
  font-size: 0.95rem;
  color: #fecaca;
}

body[data-page="performance"] .gg-res-loss-spotlight .gg-res-board-head small {
  color: rgba(252, 165, 165, 0.72);
}

body[data-page="performance"] .gg-res-loss-spotlight-grid .gg-recent-results-grid {
  margin-top: 0.35rem;
}

/* ── Mobile Results (proof-first, single-column charts, compact footer) ── */
@media (max-width: 720px) {
  body[data-page="performance"].results-page-compact .site-shell.football-shell {
    width: min(100%, calc(100vw - 1.5rem)) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-inline: 0 !important;
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom, 0)) !important;
    box-sizing: border-box;
    overflow-x: clip;
  }

  body[data-page="performance"].gg-res-hub-page .gg-res-hub-inner,
  body[data-page="performance"].results-page-compact .performance-page-shell,
  body[data-page="performance"].results-page-compact .gg-results-compact {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: clip;
  }

  body[data-page="performance"].results-page-compact .football-page-header.centered-header,
  body[data-page="performance"].results-page-compact .gg-res-page-head {
    padding-inline: 0;
  }

  body[data-page="performance"] .gg-res-hero {
    padding: 0.72rem 0.78rem 0.62rem;
    border-radius: 16px;
  }

  body[data-page="performance"] .gg-res-hero-headline {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  body[data-page="performance"] .gg-res-hero-form {
    justify-content: flex-start;
  }

  body[data-page="performance"] .gg-res-hero-figure-sub,
  body[data-page="performance"] .gg-res-hero-line-row {
    font-size: 0.64rem;
  }

  body[data-page="performance"] .gg-res-wr-section {
    margin-bottom: 0.15rem;
  }

  body[data-page="performance"] .gg-res-wr-section-head {
    margin-bottom: 0.65rem;
    padding-inline: 0;
  }

  body[data-page="performance"] .gg-res-wr-section-head h2 {
    font-size: 1.02rem;
  }

  body[data-page="performance"] .gg-res-wr-section-head p {
    font-size: 0.66rem;
    line-height: 1.4;
  }

  body[data-page="performance"] .gg-res-wr-interact-hint {
    display: none;
  }

  body[data-page="performance"] .gg-res-wr-board {
    min-height: 0;
    padding: 0.62rem 0.68rem 0.52rem;
    border-radius: 14px;
  }

  body[data-page="performance"] .gg-res-wr-board-figure {
    font-size: 1.28rem;
  }

  body[data-page="performance"] .gg-res-wr-board-title small {
    font-size: 0.58rem;
  }

  body[data-page="performance"] .gg-res-wr-svg {
    min-height: 10.5rem;
  }

  body[data-page="performance"] .gg-res-explore-zone {
    margin-top: 0.2rem;
    padding: 0.45rem 0 0.15rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    background: transparent;
  }

  body[data-page="performance"] .gg-res-explore-divider {
    margin-bottom: 0.5rem;
  }

  body[data-page="performance"] .gg-res-explore-divider-label {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  body[data-page="performance"] .gg-res-explore-details,
  body[data-page="performance"] .gg-res-clv-details,
  body[data-page="performance"] .gg-res-filters-wrap {
    margin-bottom: 0.45rem;
    border-radius: 12px;
  }

  body[data-page="performance"] .gg-res-explore-summary,
  body[data-page="performance"] .gg-res-clv-summary,
  body[data-page="performance"] .gg-res-filters-summary-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    padding: 0.62rem 0.68rem;
  }

  body[data-page="performance"] .gg-res-explore-summary-hint,
  body[data-page="performance"] .gg-res-clv-summary-hint,
  body[data-page="performance"] .gg-res-filters-summary-active {
    max-width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    font-size: 0.64rem;
  }

  body[data-page="performance"] .gg-res-explore-body {
    padding: 0 0 0.55rem;
  }

  body[data-page="performance"] .gg-res-page-footer {
    margin-top: 0.25rem;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  body[data-page="performance"] .gg-res-picks-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.58rem 0.68rem;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }

  body[data-page="performance"] .gg-res-picks-cta p {
    flex: 1;
    min-width: 0;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  body[data-page="performance"] .gg-res-picks-cta-link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  body[data-page="performance"] .gg-res-nav-strip {
    display: none;
  }

  body[data-page="performance"] .gg-res-beta-line {
    margin: 0.45rem 0 0.35rem;
    padding: 0.45rem 0.62rem;
    font-size: 0.64rem;
    line-height: 1.35;
    border-radius: 12px;
  }

  body[data-page="performance"] .gg-newsletter--compact {
    margin-top: 0.35rem;
  }

  body[data-page="performance"] .gg-newsletter--compact .gg-newsletter-inner {
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
  }

  body[data-page="performance"] .gg-newsletter--compact .gg-newsletter-copy h2 {
    font-size: 0.95rem;
  }
}

/* ── GoalGrid Hub v2 (WC 2026 aligned) ── */
body[data-page="performance"].gg-res-hub-page {
  background: var(--gg-brand-secondary, #061019);
}

body[data-page="performance"].gg-res-hub-page .gg-res-hub-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

@media (min-width: 900px) {
  body[data-page="performance"].gg-res-hub-page .gg-res-hub-inner {
    padding: 1.25rem 1.5rem 2.5rem;
  }
}

body[data-page="performance"].gg-res-hub-page.results-page-compact .site-shell.football-shell {
  padding-inline: 0 !important;
  padding-bottom: 0;
}

body[data-page="performance"].gg-res-hub-page .gg-res-page-head {
  display: none;
}

body[data-page="performance"] .gg-res-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 194, 0.04), transparent);
}

body[data-page="performance"] .gg-res-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

body[data-page="performance"] .gg-res-hero-title-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body[data-page="performance"] .gg-res-hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

body[data-page="performance"] .gg-res-hero-sub {
  position: relative;
  z-index: 1;
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}

body[data-page="performance"] .gg-res-hero-hub-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.1);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

body[data-page="performance"] .gg-res-hero-headline {
  position: relative;
  z-index: 1;
}

body[data-page="performance"] .gg-res-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

body[data-page="performance"] .gg-res-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-section {
  margin-bottom: 1.25rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-section-head {
  text-align: left;
  margin-bottom: 0.75rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-section-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-legend {
  margin-top: 0.3rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-legend-item {
  font-size: 0.64rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-wr-board--official {
  border-color: rgba(53, 224, 194, 0.18);
}

body[data-page="performance"].gg-res-hub-page .gg-res-units-cal-section {
  margin-bottom: 1rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-units-cal-headline {
  text-align: left;
  margin-bottom: 0.35rem;
}

body[data-page="performance"].gg-res-hub-page .gg-res-units-cal-panel.gg-res-wr-board {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="performance"].gg-res-hub-page .performance-page-shell,
body[data-page="performance"].gg-res-hub-page .gg-results-compact,
body[data-page="performance"].gg-res-hub-page .gg-res-proof-zone {
  background: transparent;
}

body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="official"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units):hover,
body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="official"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units).is-active {
  background: rgba(53, 224, 194, 0.14);
  color: #35e0c2;
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.35);
}

body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="safe"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units):hover,
body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="safe"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units).is-active {
  background: rgba(232, 176, 80, 0.14);
  color: #e8b050;
  box-shadow: inset 0 0 0 1px rgba(232, 176, 80, 0.35);
}

body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="blend"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units):hover,
body[data-page="performance"] .gg-res-units-cal-panel[data-res-units-cal-tone="blend"] .gg-perf-trend-day-cal-cell.is-available:not(.has-units).is-active {
  background: rgba(53, 224, 194, 0.12);
  color: #35e0c2;
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.28);
}

body[data-page="performance"].gg-res-hub-page .gg-res-explore-details,
body[data-page="performance"].gg-res-hub-page .gg-res-filters-wrap {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="performance"].gg-res-hub-page .gg-res-beta-line {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="performance"].gg-res-hub-page .gg-res-filter-summary-tile {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 640px) {
  body[data-page="performance"] .gg-res-hero-top {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="performance"] .gg-res-hero-hub-label {
    align-self: flex-start;
  }
}

@media (max-width: 720px) {
  body[data-page="performance"].gg-res-hub-page .gg-res-hub-inner {
    padding: 0.75rem 0 2rem;
  }

  body[data-page="performance"] .gg-perf-trend-head {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="performance"] .gg-perf-trend-roi-card {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  body[data-page="performance"] .gg-perf-trend-panel--chart-only .gg-perf-trend-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="performance"] .gg-res-hero {
    padding: 0.85rem 0.9rem 0.8rem;
    border-radius: 16px;
  }
}

body[data-page="performance"] .gg-res-transparency-panel {
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(53, 224, 194, 0.14);
  background:
    radial-gradient(circle at top right, rgba(53, 224, 194, 0.06), transparent 42%),
    rgba(8, 16, 28, 0.82);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

body[data-page="performance"] .gg-res-transparency-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
}

body[data-page="performance"] .gg-res-transparency-summary::-webkit-details-marker {
  display: none;
}

body[data-page="performance"] .gg-res-transparency-summary-main {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

body[data-page="performance"] .gg-res-transparency-summary-title {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

body[data-page="performance"] .gg-res-transparency-summary-hint {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(201, 215, 232, 0.55);
  text-align: right;
  max-width: 12rem;
  line-height: 1.35;
}

body[data-page="performance"] .gg-res-transparency-details[open] .gg-res-transparency-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="performance"] .gg-res-transparency-details[open] .gg-res-transparency-summary-hint {
  color: rgba(53, 224, 194, 0.75);
}

body[data-page="performance"] .gg-res-transparency-inner {
  display: grid;
  gap: 0.9rem;
  padding: 0.85rem 1rem 1rem;
}

body[data-page="performance"] .gg-res-transparency-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body[data-page="performance"] .gg-res-transparency-head h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  color: #fff;
}

body[data-page="performance"] .gg-res-transparency-head .gg-landing-cta {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

body[data-page="performance"] .gg-res-transparency-note,
body[data-page="performance"] .gg-res-transparency-hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(201, 215, 232, 0.68);
}

body[data-page="performance"] .gg-res-transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body[data-page="performance"] .gg-res-transparency-grid .gg-analytics-block {
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="performance"] .gg-res-transparency-grid .gg-analytics-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(201, 215, 232, 0.82);
}

body[data-page="performance"] .gg-analytics-table--monthly .gg-analytics-table-row {
  grid-template-columns: 1.1fr 0.55fr 0.75fr 0.7fr 0.65fr;
}

@media (max-width: 1100px) {
  body[data-page="performance"] .gg-res-transparency-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="performance"] .gg-res-transparency-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="performance"] .gg-res-transparency-summary-hint {
    text-align: left;
    max-width: none;
  }
}

body[data-page="performance"] .gg-res-row-conf {
  display: inline-flex;
  align-items: center;
  margin-top: 0.12rem;
}

body[data-page="performance"] .gg-res-layer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

body[data-page="performance"] .gg-res-layer-card {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 25, 0.55);
}

body[data-page="performance"] .gg-res-layer-card--official {
  border-color: rgba(53, 224, 194, 0.22);
}

body[data-page="performance"] .gg-res-layer-card--signal {
  border-color: rgba(167, 139, 250, 0.22);
}

body[data-page="performance"] .gg-res-layer-card-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

body[data-page="performance"] .gg-res-layer-card-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #f8fafc;
}

body[data-page="performance"] .gg-res-layer-card-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.92);
}

body[data-page="performance"] .gg-res-hero-pill--official {
  border-color: rgba(53, 224, 194, 0.28);
  color: rgba(167, 243, 232, 0.95);
}

body[data-page="performance"] .gg-res-hero-pill--safe {
  border-color: rgba(167, 139, 250, 0.28);
  color: rgba(221, 214, 254, 0.95);
}

body[data-page="performance"] .gg-res-wr-board-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.92);
}

body[data-page="performance"] .gg-res-wr-board-stats strong {
  color: #e2e8f0;
  font-weight: 700;
}

body[data-page="performance"] .gg-res-wr-board-stats--empty {
  margin-bottom: 0.45rem;
  color: rgba(148, 163, 184, 0.72);
}

body[data-page="performance"] .gg-res-ledger-export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 25, 0.45);
}

body[data-page="performance"] .gg-res-ledger-export.is-compact {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  justify-content: flex-start;
}

body[data-page="performance"] .gg-res-ledger-export-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}

body[data-page="performance"] .gg-res-filters-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

body[data-page="performance"] .gg-res-export-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body[data-page="performance"] .gg-res-export-btn {
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 16, 25, 0.65);
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}

body[data-page="performance"] .gg-res-export-btn:hover {
  border-color: rgba(56, 189, 248, 0.35);
  color: #e2e8f0;
}

body[data-page="performance"] .gg-res-wr-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="performance"] .gg-res-wr-board-stats-scope {
  width: 100%;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

body[data-page="performance"] .gg-res-track-table-wrap {
  display: grid;
  gap: 0.75rem;
}

body[data-page="performance"] .gg-res-track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

body[data-page="performance"] .gg-res-track-table th,
body[data-page="performance"] .gg-res-track-table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

body[data-page="performance"] .gg-res-track-table thead th {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

body[data-page="performance"] .gg-res-track-row--official th {
  color: rgba(167, 243, 232, 0.95);
}

body[data-page="performance"] .gg-res-track-row--signal th {
  color: rgba(221, 214, 254, 0.95);
}

body[data-page="performance"] .gg-res-explore-details--proof .gg-res-explore-body > .gg-res-clv-panel,
body[data-page="performance"] .gg-res-explore-details--proof .gg-res-explore-body > .gg-res-buckets-panel,
body[data-page="performance"] .gg-res-explore-details--proof .gg-res-explore-body > .gg-res-transparency-panel {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-page="performance"] .gg-res-explore-details--proof .gg-res-clv-head,
body[data-page="performance"] .gg-res-explore-details--proof .gg-res-buckets-head,
body[data-page="performance"] .gg-res-explore-details--proof .gg-res-transparency-head {
  display: none;
}

@media (max-width: 640px) {
  body[data-page="performance"] .gg-res-layer-cards {
    grid-template-columns: 1fr;
  }

  body[data-page="performance"] .gg-res-wr-grid--pair {
    grid-template-columns: 1fr;
  }

  body[data-page="performance"] .gg-res-download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="performance"] .gg-res-download-btn {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }
}

body[data-page="performance"] .gg-res-buckets-panel,
body[data-page="performance"] .gg-res-clv-panel {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 25, 0.5);
}

body[data-page="performance"] .gg-res-buckets-head h2,
body[data-page="performance"] .gg-res-clv-head h2 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

body[data-page="performance"] .gg-res-buckets-head p,
body[data-page="performance"] .gg-res-clv-head p {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.9);
}

body[data-page="performance"] .gg-res-buckets-table {
  display: grid;
  gap: 0.35rem;
}

body[data-page="performance"] .gg-res-bucket-row {
  display: grid;
  grid-template-columns: 1.1fr 0.45fr 0.55fr 0.55fr;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.72rem;
  color: #cbd5e1;
}

body[data-page="performance"] .gg-res-bucket-row.is-head {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

body[data-page="performance"] .gg-res-bucket-row .is-up {
  color: #7ef0dc;
}

body[data-page="performance"] .gg-res-bucket-row .is-down {
  color: #fca5a5;
}

body[data-page="performance"] .gg-res-smart-ticket-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(6, 16, 25, 0.55);
}

body[data-page="performance"] .gg-res-smart-ticket-cta-copy strong {
  display: block;
  color: #e2e8f0;
}

body[data-page="performance"] .gg-res-smart-ticket-cta-copy p {
  margin: 0.25rem 0 0;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.92);
}

body[data-page="performance"] .gg-res-smart-ticket-cta-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: #c4b5fd;
  text-decoration: none;
}

body[data-page="performance"] .gg-res-row-conf .gg-confidence-hint {
  max-width: 9rem;
  line-height: 1.25;
}

/* —— My week accordion (personal saved tips) —— */
body[data-page="performance"] .gg-res-explore-details--my-week {
  border-color: rgba(53, 224, 194, 0.18);
}

body[data-page="performance"] .gg-res-explore-details--my-week .gg-res-explore-summary-title::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.45rem;
  border-style: solid;
  border-width: 0.28rem 0 0.28rem 0.42rem;
  border-color: transparent transparent transparent #35e0c2;
  transform: translateY(-0.05rem);
}

body[data-page="performance"] .gg-res-explore-details--my-week[open] .gg-res-explore-summary-title::before {
  transform: rotate(90deg) translateX(0.05rem);
}

body[data-page="performance"] .gg-res-explore-details--my-week .gg-res-explore-summary-hint {
  color: rgba(53, 224, 194, 0.85);
}

.gg-my-week-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.gg-my-week-stats > div {
  padding: 0.55rem 0.45rem;
  border-radius: 12px;
  background: rgba(15, 28, 40, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.gg-my-week-stats span {
  display: block;
  font-size: 0.62rem;
  color: rgba(148, 163, 184, 0.9);
}

.gg-my-week-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: #f8fafc;
}

.gg-my-week-stats.is-positive strong {
  color: #6ee7b7;
}

.gg-my-week-stats.is-negative strong {
  color: #fca5a5;
}

.gg-my-week-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.gg-my-week-card {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 18, 28, 0.88);
}

.gg-my-week-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.gg-my-week-card__head strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #e2e8f0;
}

.gg-my-week-card__head span {
  font-size: 0.66rem;
  color: rgba(148, 163, 184, 0.9);
}

.gg-my-week-card--official {
  border-color: rgba(53, 224, 194, 0.22);
}

.gg-my-week-card--official .gg-my-week-card__head strong {
  color: #35e0c2;
}

.gg-my-week-card--signal {
  border-color: rgba(147, 197, 253, 0.22);
}

.gg-my-week-card--signal .gg-my-week-card__head strong {
  color: #93c5fd;
}

.gg-my-week-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.55rem;
}

.gg-my-week-card__grid span {
  display: block;
  font-size: 0.6rem;
  color: rgba(148, 163, 184, 0.88);
}

.gg-my-week-card__grid strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #f1f5f9;
}

.gg-my-week-card.is-positive .gg-my-week-card__grid strong {
  color: #6ee7b7;
}

.gg-my-week-card.is-negative .gg-my-week-card__grid strong {
  color: #fca5a5;
}

.gg-my-week-card.is-empty {
  display: grid;
  gap: 0.2rem;
  align-content: center;
  min-height: 5.5rem;
}

.gg-my-week-card.is-empty span {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.9);
}

.gg-my-week-preview__label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.gg-res-list--my-week {
  max-height: none;
}

@media (max-width: 560px) {
  .gg-my-week-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gg-my-week-split {
    grid-template-columns: 1fr;
  }
}


