/* Priority 1 — track record strip, official picks, LIVE badge */

.home-quick-tab {
  position: relative;
}

.home-live-tab-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--ls-surface, #1b1e24);
}

.home-recent-results-panel {
  margin-top: 0.5rem;
}

.home-recent-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home-recent-results-head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.home-official-picks-panel {
  margin-top: 0.35rem;
}

.home-official-picks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home-official-picks-head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.home-official-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.home-official-pick-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.home-official-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-official-pick-match {
  font-size: 0.95rem;
  line-height: 1.25;
}

.home-official-pick-league {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.home-official-pick-tip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.home-official-pick-tip strong {
  font-size: 0.88rem;
  color: #f8fafc;
}

.home-official-pick-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
}

.home-official-pick-link {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.home-official-picks-footer {
  margin-top: 0.65rem;
}

/* Shared with results page */
.gg-recent-results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gg-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}

.gg-result-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.gg-result-pill.result-win {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.gg-result-pill.result-loss {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.gg-result-pill.result-void {
  border-color: rgba(148, 163, 184, 0.35);
}

.gg-result-icon {
  font-weight: 800;
  width: 1.1rem;
  text-align: center;
}

.gg-result-teams {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}

.gg-result-meta {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.gg-recent-empty {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.gg-recent-empty p {
  margin: 0 0 0.5rem;
}

.gg-roi-chart-wrap {
  margin-top: 0.5rem;
}

.gg-roi-chart-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.gg-roi-chart-meta strong {
  font-size: 1.35rem;
}

.gg-roi-chart-meta strong.is-up {
  color: #4ade80;
}

.gg-roi-chart-meta strong.is-down {
  color: #f87171;
}

.gg-roi-chart-meta span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.gg-roi-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 88px;
  padding: 0.35rem 0;
}

.gg-roi-bar {
  flex: 1;
  min-width: 6px;
  border-radius: 4px 4px 0 0;
  background: rgba(148, 163, 184, 0.35);
}

.gg-roi-bar.up {
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.gg-roi-bar.down {
  background: linear-gradient(180deg, #f87171, #dc2626);
}

.gg-roi-chart-labels {
  display: flex;
  gap: 4px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}

.gg-roi-chart-labels span {
  flex: 1;
  text-align: center;
  min-width: 6px;
}

.results-priority1-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 760px) {
  .results-priority1-row {
    grid-template-columns: 1fr;
  }

  .gg-result-teams {
    max-width: 6.5rem;
  }
}

/* Results page — line trend charts v4.2.8.27.270 */
.gg-trend-chart-wrap {
  margin-top: 0.25rem;
}

.gg-trend-chart-wrap--official .gg-trend-line {
  stroke: #35e0c2;
}

.gg-trend-chart-wrap--official .gg-trend-area {
  fill: rgba(53, 224, 194, 0.14);
}

.gg-trend-chart-wrap--safe .gg-trend-line {
  stroke: #e8b050;
}

.gg-trend-chart-wrap--safe .gg-trend-area {
  fill: rgba(232, 176, 80, 0.12);
}

.gg-trend-chart-wrap--down .gg-trend-line {
  stroke: #f87171;
}

.gg-trend-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  color: rgba(53, 224, 194, 0.95);
}

.gg-trend-chart-wrap--safe .gg-trend-chart {
  color: rgba(232, 176, 80, 0.95);
}

.gg-trend-chart-wrap--down .gg-trend-chart {
  color: rgba(248, 113, 113, 0.95);
}

.gg-trend-bg {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.gg-trend-grid {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.gg-trend-zero {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.gg-trend-line {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.gg-trend-area {
  stroke: none;
}

.gg-trend-dot {
  fill: #f4f8ff;
  stroke-width: 0;
  opacity: 0.92;
}

.gg-trend-dot.is-last {
  opacity: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.gg-trend-chart-wrap--rich {
  display: grid;
  grid-template-columns: 0.68rem minmax(0, 1fr);
  gap: 0.08rem 0.18rem;
  align-items: stretch;
}

.gg-trend-chart-wrap--rich .gg-trend-chart {
  min-height: 140px;
}

.gg-trend-yaxis-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0.5rem 0 1.15rem;
}

.gg-trend-yaxis-title {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  white-space: nowrap;
  user-select: none;
}

.gg-trend-chart-wrap--rich .gg-trend-axis {
  font-size: 9px;
  letter-spacing: 0.01em;
}

.gg-trend-point {
  cursor: pointer;
}

.gg-trend-point .gg-trend-hit {
  fill: transparent;
  stroke: none;
}

.gg-trend-point.is-win .gg-trend-dot {
  fill: #86efac;
}

.gg-trend-point.is-loss .gg-trend-dot {
  fill: #fca5a5;
}

.gg-trend-point.is-last .gg-trend-dot {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
}

.gg-trend-delta.is-up {
  fill: rgba(53, 224, 194, 0.75);
}

.gg-trend-delta.is-down {
  fill: rgba(248, 113, 113, 0.75);
}

.gg-trend-xlabel {
  fill: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 700;
}

.gg-trend-axis--zero {
  fill: rgba(255, 255, 255, 0.72);
}

.gg-trend-axis-title {
  fill: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gg-trend-axis-title--y {
  font-size: 8.5px;
}

.gg-trend-axis-title--x {
  font-size: 9px;
}

.gg-trend-axis {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
