/* Sport */
:root {
  /* Surfaces */
  --tc-bg-primary: #fafafa;
  --tc-bg-secondary: #f1f2f4;
  --tc-bg-card: #ffffff;
  --tc-bg-elevated: #ffffff;
  --tc-bg-glass: rgba(255, 255, 255, 0.72);
  --tc-bg-dark: #111218;
  --tc-bg-dark-card: #1a1c25;

  /* Text */
  --tc-text-primary: #111218;
  --tc-text-secondary: #5a5e6b;
  --tc-text-muted: #8b8f9e;
  --tc-text-inverse: #ffffff;
  --tc-text-dark: #111218;

  /* Accent Palette — warm sunset gradient */
  --tc-primary: #e8553d;
  --tc-primary-soft: rgba(232, 85, 61, 0.10);
  --tc-primary-medium: rgba(232, 85, 61, 0.20);
  --tc-accent: #d9304a;
  --tc-gradient: linear-gradient(135deg, #e8553d 0%, #d9304a 100%);
  --tc-gradient-hover: linear-gradient(135deg, #d9304a 0%, #e8553d 100%);

  /* Semantic */
  --tc-success: #22c55e;
  --tc-warning: #f59e0b;
  --tc-danger: #ef4444;
  --tc-info: #3b82f6;
  --tc-special: #f59e0b;

  /* Borders & Shadows */
  --tc-border-color: rgba(0, 0, 0, 0.07);
  --tc-border-strong: rgba(0, 0, 0, 0.12);
  --tc-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --tc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --tc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --tc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --tc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.14);
  --tc-shadow-glow: 0 0 0 4px rgba(232, 85, 61, 0.15);

  /* Radii */
  --tc-radius-xs: 6px;
  --tc-radius-sm: 10px;
  --tc-radius-md: 16px;
  --tc-radius-lg: 24px;
  --tc-radius-xl: 32px;
  --tc-radius-full: 9999px;

  /* Spacing */
  --tc-gap: 1.5rem;
  --tc-padding: 1.25rem;
  --tc-padding-sm: 0.75rem;

  /* Transitions */
  --tc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tc-transition: 0.25s var(--tc-ease);
  --tc-transition-slow: 0.4s var(--tc-ease);
}


/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
}


/* ═══════════════════════════════════════════
   DEBUG PANEL
   ═══════════════════════════════════════════ */
.geo-debug {
  background: #1e2030;
  color: #c8cad8 !important;
  padding: 1rem 1.25rem;
  border-radius: var(--tc-radius-sm);
  margin-top: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.geo-debug summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e2e4f0;
}

.debug-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ═══════════════════════════════════════════
   MATCHES SECTION
   ═══════════════════════════════════════════ */
.matches h2,
.tc-brands-heading {
  text-align: center;
  padding: 1.5rem 1rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: inherit;
  border: none;
}

.matches-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--tc-gap);
  max-width: 100%;
  margin: 0 auto;
}

/* ── Match Card ── */
.match-card {
  width: 100%;
  background: var(--tc-bg-card);
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-lg);
  padding: var(--tc-padding);
  box-shadow: var(--tc-shadow-sm);
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition),
    border-color var(--tc-transition);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow-lg);
  border-color: var(--tc-border-strong);
}

.match-card p {
  margin: 0.4rem 0;
  font-size: 0.72rem;
  text-align: center;
  color: var(--tc-text-muted);
}

.match-date {
  text-align: center;
  color: var(--tc-text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.match-league {
  text-align: center;
  font-style: normal;
  color: var(--tc-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 12px;
}

/* ── Teams Row ── */
.teams {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 14px 0;
}

.team {
  max-width: 110px;
  width: 100%;
  text-align: center;
}

.team img {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  background: transparent !important;
  transition: transform var(--tc-transition);
}

.match-card:hover .team img {
  transform: scale(1.06);
}

.team span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--tc-text-primary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
  line-height: 1.4;
}

.vs {
  font-size: 16px;
  font-weight: 800;
  color: var(--tc-text-muted);
  letter-spacing: 0.05em;
}

/* ── Match Result ── */
.match-result {
  background: var(--tc-bg-secondary);
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-sm);
  padding: 10px 14px;
  text-align: center;
  margin: 12px 0;
}

.match-result strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--tc-text-primary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* ── Odds ── */
.match-odds {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 6px 0;
}

.match-odds span {
  color: var(--tc-text-primary);
  padding: 8px 14px;
  border-radius: var(--tc-radius-xs);
  font-weight: 700;
  font-size: 14px;
  min-width: 52px;
  text-align: center;
  background: var(--tc-bg-secondary);
  border: 1px solid var(--tc-border-color);
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition),
    background var(--tc-transition);
  position: relative;
  overflow: hidden;
}

.match-odds span:hover {
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-md);
  background: var(--tc-bg-elevated);
}

.match-odds span::after {
  content: attr(data-type);
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--tc-text-muted);
}

.match-odds span:nth-child(1):hover {
  /* border-color: var(--tc-primary); */
  box-shadow: 0 2px 12px rgba(232, 85, 61, 0.15);
}

.match-odds span:nth-child(2):hover {
  border-color: var(--tc-text-muted);
}

.match-odds span:nth-child(3):hover {
  border-color: var(--tc-info);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.15);
}

/* ── Visit Button ── */
.visit-btn {
  display: block;
  background: var(--tc-gradient);
  color: var(--tc-text-inverse) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  text-align: center;
  border-radius: var(--tc-radius-full);
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition);
  margin-top: auto;
}

.visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 85, 61, 0.3);
  color: var(--tc-text-inverse) !important;
}


/* ═══════════════════════════════════════════
   BRAND LIST
   ═══════════════════════════════════════════ */
.tc-brand-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 2rem auto;
}

.tc-brands-wrap {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ── Brand Card ── */
.tc-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  background: var(--tc-bg-card) !important;
  padding: 1.25rem;
  border-radius: var(--tc-radius-lg);
  color: var(--tc-text-primary);
  border: 1px solid var(--tc-border-color);
  box-shadow: var(--tc-shadow-sm);
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition),
    border-color var(--tc-transition);
}

.tc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-md);
  border-color: var(--tc-border-strong);
}

/* ── #1 Rank Highlight ── */
.tc-card[data-rank="1"] {
  border: 2px solid var(--tc-special);
  background: linear-gradient(160deg, #fffdf5 0%, #fff8e1 40%, #ffffff 100%) !important;
  box-shadow:
    var(--tc-shadow-md),
    0 0 0 1px rgba(245, 158, 11, 0.12),
    0 8px 30px rgba(245, 158, 11, 0.10);
}

.tc-card[data-rank="1"] .tc-rank {
  background: var(--tc-gradient);
  width: 42px;
  height: 42px;
  font-size: 22px;
  top: -14px;
  left: -14px;
  box-shadow: 0 4px 14px rgba(232, 85, 61, 0.35);
}

.tc-card[data-rank="1"] .tc-info-bottom {
  display: flex;
}

.tc-card[data-rank="1"] .tc-btn.visit {
  background: var(--tc-gradient);
  color: var(--tc-text-inverse) !important;
  font-weight: 700;
  text-decoration: none;
}

/* ── Rank Badge ── */
.tc-rank {
  width: 34px;
  height: 34px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -10px;
  left: -12px;
  font-weight: 800;
  color: var(--tc-text-inverse);
  background: var(--tc-accent);
  font-size: 18px;
  border-radius: var(--tc-radius-full);
  line-height: 1;
  box-shadow: var(--tc-shadow-sm);
  transition: transform var(--tc-transition);
}

.tc-card:hover .tc-rank {
  transform: scale(1.08);
}

/* ── Logo ── */
.tc-logo {
  width: 140px;
  min-width: 150px;
  min-height: 80px;
  max-height: 100px;
  border-radius: var(--tc-radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--tc-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.tc-logo img {
  padding: 0.5rem;
  height: 100% !important;
  width: 100%;
  background: inherit;
  object-fit: contain;
  object-position: center;
  position: absolute;
  margin: auto !important;
  box-sizing: border-box;
}

/* ── Info Block ── */
.tc-info {
  /* display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0.5rem;
  column-gap: 2rem;
  flex: 1; */
  /* justify-content: space-between; */
}

@media(min-width: 1240px) {
  .tc-info {
    justify-content: space-between;
  }
}

.tc-info button {
  color: var(--tc-text-primary) !important;
  text-decoration: none;
  font-weight: 700 !important;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
  transition: opacity var(--tc-transition);
}

.tc-info button:hover {
  opacity: 0.7;
}

.tc-info .h3 {
  font-size: 1.4rem;
  text-align: left;
  margin-top: 0;
  padding: 0;
  color: var(--tc-text-dark);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tc-info p {
  position: relative;
  padding: 8px 14px;
  background: var(--tc-primary-soft);
  border-radius: var(--tc-radius-full);
  font-weight: 700;
  max-width: max-content;
  min-width: 330px;
  color: var(--tc-primary) !important;
  margin: 8px 0;
  font-size: 0.875rem;
  text-align: center;
  border: 1px solid var(--tc-primary-medium);
}

.tc-info p::before {
  content: '🎁';
  margin-right: 8px;
}

/* ── Rating ── */
.tc-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  text-align: left;
}

.tc-rating img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* ── CTA Buttons ── */
.tc-info-bottom {
  display: flex;
  gap: 0.75rem;
  /* margin-top: 0.5rem; */
  margin: 0 0 0 auto;
}

.tc-btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: var(--tc-radius-full);
  background: var(--tc-gradient);
  color: var(--tc-text-inverse) !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition);
  position: relative;
}

.tc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 85, 61, 0.25);
  color: var(--tc-text-inverse) !important;
}

.tc-btn.review {
  background: var(--tc-bg-secondary) !important;
  color: var(--tc-text-primary) !important;
  border: 1px solid var(--tc-border-color) !important;
  text-decoration: none;
}

.tc-btn.review:hover {
  background: var(--tc-bg-elevated) !important;
  border-color: var(--tc-border-strong) !important;
  box-shadow: var(--tc-shadow-sm);
  color: var(--tc-text-primary) !important;
}

/* ── Toggle / Details ── */
.tc-toggle-details {
  display: none;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  color: var(--tc-text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  transition: color var(--tc-transition);
}

.tc-toggle-details:hover {
  color: var(--tc-primary);
}

.tc-details {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.tc-details-info-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.tc-details-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--tc-border-color);
  transition: background var(--tc-transition);
}

.tc-details-info-item:hover {
  background: var(--tc-bg-secondary);
  border-radius: var(--tc-radius-xs);
}

.tc-details-info-name strong {
  color: var(--tc-text-dark) !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.tc-details-info-value {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
  font-size: 0.875rem;
  color: var(--tc-text-secondary) !important;
}

.tc-top-title {
  text-align: center;
}


/* ═══════════════════════════════════════════
   FLOATING BANNER
   ═══════════════════════════════════════════ */
/* .tc-floating-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--tc-bg-dark);
  color: var(--tc-text-inverse);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--tc-transition-slow),
    opacity var(--tc-transition-slow);
  pointer-events: none;
  will-change: transform, opacity;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tc-floating-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.banner-container {
  max-width: 900px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.tc-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tc-banner-content img {
  width: auto;
  max-width: 72px;
  border-radius: var(--tc-radius-xs);
  background: transparent !important;
  margin: auto;
  cursor: pointer;
  transition: transform var(--tc-transition);
  object-fit: contain;
}

.tc-banner-content img:hover {
  transform: scale(1.06);
}

.tc-banner-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tc-text-inverse);
  cursor: pointer;
  transition: opacity var(--tc-transition);
}

.tc-banner-info strong:hover {
  opacity: 0.8;
}

.tc-banner-info span {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--tc-radius-full);
  color: var(--tc-success);
  font-size: 0.85rem;
  font-weight: 500;
}

.tc-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tc-banner-actions .tc-btn.visit {
  background: var(--tc-gradient);
  border-radius: var(--tc-radius-full);
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tc-text-inverse);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.tc-banner-actions .tc-btn.visit:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(232, 85, 61, 0.35);
}

.tc-banner-close {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--tc-radius-full);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    transform var(--tc-transition),
    background var(--tc-transition),
    color var(--tc-transition);
}

.tc-banner-close:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.14);
  color: var(--tc-text-inverse);
} */
.tc-floating-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f0f0f;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 12px 16px;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: transform, opacity;
}

.tc-floating-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.banner-container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tc-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tc-banner-content img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    /* background: #1c1a14 !important; */
    /* border: 0.5px solid var(--tc-primary); */
    flex-shrink: 0;
    cursor: pointer;
}

.tc-banner-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #dddddd;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-banner-info span {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    background: rgb(37 37 37 / 50%);
    padding: 4px 8px;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* .tc-banner-actions .tc-btn.visit {
    background: var(--tc-primary);
    color: #0f0f0f !important;
    border-radius: var(--tc-border-radius-pill);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
} */

/* .tc-banner-actions .tc-btn.visit:hover {
    background: var(--tc-accent);
    transform: scale(1.04);
} */

.tc-banner-actions .tc-btn.visit {
  background: var(--tc-gradient);
  border-radius: var(--tc-radius-full);
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tc-text-inverse);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.tc-banner-actions .tc-btn.visit:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(232, 85, 61, 0.35);
}

.tc-banner-close {
    background: rgba(255, 255, 255, 0.06) !important;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    width: 28px;
    height: 28px;
    border-radius: var(--tc-border-radius-pill);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.tc-banner-close:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.7);
}


/* ═══════════════════════════════════════════
   LAYOUT WRAPPER
   ═══════════════════════════════════════════ */
.brand-wrapper {
  display: flex;
  gap: 2rem;
}

.brand-wrapper .matches {
  max-width: 320px;
  width: 100%;
  order: 2;
}

.brand-wrapper .tc-brand-list {
  order: 1;
}


/* ═══════════════════════════════════════════
   STATES: Loading, Error, Empty
   ═══════════════════════════════════════════ */
.tc-loading {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--tc-text-muted);
}

.tc-loading .tc-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--tc-border-color);
  border-top-color: var(--tc-primary);
  border-radius: 50%;
  animation: tc-spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes tc-spin {
  to {
    transform: rotate(360deg);
  }
}

.tc-error {
  text-align: center;
  padding: 2rem;
  color: var(--tc-danger);
}

.tc-error-message {
  text-align: center;
  padding: 1.5rem 2rem;
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--tc-radius-md);
  color: var(--tc-danger);
  font-weight: 500;
}

.tc-retry-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: var(--tc-gradient);
  color: var(--tc-text-inverse);
  border: none;
  border-radius: var(--tc-radius-full);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.875rem;
  transition:
    transform var(--tc-transition),
    box-shadow var(--tc-transition);
}

.tc-retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 85, 61, 0.25);
}

.tc-no-data,
.tc-no-matches {
  text-align: center;
  padding: 2rem;
  color: var(--tc-text-muted);
  font-style: normal;
  font-weight: 500;
}

.tc-owner {
  font-size: 0.75rem;
  color: #373736;
}

.tc-header {
  max-width: 250px;
  width: 100%;
}

.tc-card:nth-child(2n+1) {
  background-color: #f5f5f5 !important;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 800px) {
  .banner-container {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .tc-rating {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .tc-header {
    width: 100%;
    max-width: 100%;
  }

  .tc-details-info-items {
    display: block;
  }

  .tc-info .h3 {
    text-align: center;
  }

  .tc-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .tc-info {
    padding: 0;
    text-align: center;
    justify-content: center;
  }

  .tc-info p {
    margin: 8px auto;
    text-align: center;
  }

  .tc-rating {
    text-align: center;
    justify-content: center;
  }

  .matches-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tc-floating-banner {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .tc-info-bottom {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tc-info p {
    min-width: auto;
  }

  .tc-rank+button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1rem auto;
  }

  .tc-btn.visit {
    width: 100%;
    text-align: center;
    margin: 1rem auto;
  }

  .match-odds {
    gap: 6px;
  }

  .match-odds span {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 44px;
  }

  .teams {
    gap: 16px;
  }

  .team span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
    .tc-details-info-items {
        grid-template-columns: 1fr;
    }

    .brand-wrapper {
        flex-direction: column;
    }

    .brand-wrapper .matches {
        max-width: 100%;
        order: -1;
    }
}

@media (max-width: 600px) {
    .tc-card {
        flex-wrap: wrap;
    }

    .tc-info .h3 {
        text-align: center;
    }

    .tc-info {
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .tc-rating {
        justify-content: center;
    }

    .tc-info-bottom {
        width: 100%;
        justify-content: center;
    }

    .tc-btn.visit {
        width: 100%;
        text-align: center;
    }

    /* .banner-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    } */

    .tc-banner-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .match-odds {
        gap: 5px;
    }

    .match-odds span {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 40px;
    }

    .teams {
        gap: 14px;
    }
}

.tcw {
    font-family: inherit;
    width: 100%;
    overflow: auto
}

.tcw-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: inherit;
    margin-bottom: 10px
}

.tcw-table {
    width: 100%;
    border-collapse: collapse
}

.tcw-table thead th {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: inherit;
    text-align: center
}

.tcw-table thead th.tcw-th-visit {
    text-align: center
}

.tcw-table tbody tr {
    transition: background .12s
}

.tcw-table tbody tr:last-child {
    border-bottom: none
}

.tcw-table tbody tr:hover {
    background: inherit
}

.tcw-table td {
    padding: 10px;
    vertical-align: middle
}

.tcw-td-rank {
    width: 28px;
    font-size: 12px;
    font-weight: 700;
    color: inherit;
    text-align: center;
    padding-left: 4px !important
}

.tcw-td-logo {
    width: 44px;
    padding: 8px 6px !important
}

.tcw-logo-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.tcw-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.tcw-td-info {
    min-width: 0
}

.tcw-name {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer
}

.tcw-name:hover {
    color: inherit
}

.tcw-bonus {
    font-size: 11px;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px
}

.tcw-td-rating {
    width: 80px;
    white-space: nowrap
}

.tcw-stars {
    font-size: 12px;
    line-height: 1;
    text-align: center
}

.tcw-star-filled {
    color: inherit
}

.tcw-star-empty {
    color: inherit
}

.tcw-rating-num {
    font-size: 10px;
    color: inherit;
    text-align: center;
    margin-top: 2px
}

.tcw-td-visit {
    width: 72px;
    text-align: right
}

.tcw-btn {
    display: inline-block;
    padding: 6px 12px;
    background: inherit;
    color: inherit !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    text-decoration: none
}

.tcw-btn:hover {
    background: inherit;
    color: inherit !important
}

.tcw-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.tcw-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: tcwSpin .7s linear infinite
}

@keyframes tcwSpin {
    to {
        transform: rotate(360deg)
    }
}

.tcw-error {
    font-size: 12px;
    color: inherit;
    text-align: center;
    padding: 12px 0
}

.tcw-btn {
    background: #ff6a00 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(238, 9, 121, 0.3);
}

.tcw-btn:hover {
    background: #ff6a00 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 9, 121, 0.45);
}

.tcw-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .tcw {
        overflow: visible;
    }

    .tcw-table {
        table-layout: fixed;
    }

    .tcw-table thead {
        display: none;
    }

    .tcw-td-rating,
    .tcw-table thead th:nth-child(4) {
        display: none;
    }

    .tcw-table td {
        padding: 8px 4px;
    }

    .tcw-td-rank {
        width: 22px;
        font-size: 11px;
        padding-left: 2px !important;
    }

    .tcw-td-logo {
        width: 38px;
        padding: 6px 4px !important;
    }

    .tcw-logo-box {
        width: 34px;
        height: 34px;
        border-radius: 6px;
    }


    .tcw-td-info {
        width: auto;
        padding-right: 6px !important;
    }

    .tcw-name {
        font-size: 12px;
    }

    .tcw-bonus {
        font-size: 10px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.25;
    }

    .tcw-td-visit {
        width: 64px;
        padding: 6px 2px !important;
    }

    .tcw-btn {
        padding: 6px 8px;
        font-size: 10px;
        letter-spacing: .02em;
        width: 100%;
    }
}

@media (max-width: 360px) {
    .tcw-td-rank {
        display: none;
    }

    .tcw-btn {
        padding: 5px 6px;
        font-size: 9px;
    }
}

/* ============================================================
   AI PICK — favourite outcome highlight (predictions)
   ============================================================ */
.match-odds span.tc-ai-pick {
    border: 2px solid var(--tc-success);
    background: rgba(98, 196, 98, 0.08);
    color: var(--tc-text-dark);
    box-shadow: 0 0 0 3px rgba(98, 196, 98, 0.12), 0 2px 6px rgba(98, 196, 98, 0.25);
    overflow: visible;
}

.match-odds span.tc-ai-pick:hover {
    box-shadow: 0 0 0 3px rgba(98, 196, 98, 0.2), 0 4px 10px rgba(98, 196, 98, 0.35);
}

.match-odds span .tc-ai-badge {
    position: absolute;
    display: flex;
    align-items: center;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--tc-success);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(98, 196, 98, 0.4);
    z-index: 2;
}

/* ============================================================
   4th odds cell — top brand logo (predictions row)
   ============================================================ */
.match-odds span.tc-odds-brand {
    padding: 4px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--tc-border-color);
    overflow: hidden;
}

.match-odds span.tc-odds-brand::after {
    content: none;
}

.match-odds span.tc-odds-brand img {
    max-width: 90%;
    max-height: 90%;
    /* width: auto; */
    margin: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.match-odds span.tc-odds-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   Telegram funnel block — [tc_telegram]
   ============================================================ */
.tc-tg-funnel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--tc-bg-card, #fff);
    border-radius: 18px;
    padding: 20px 24px;
    margin: 18px 0;
    box-shadow: 0 2px 12px var(--tc-shadow, rgba(0, 0, 0, 0.08));
}

.tc-tg-funnel-text {
    flex: 1 1 240px;
    min-width: 0;
}

.tc-tg-funnel-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--tc-text-dark, #1A1E2E);
    margin-bottom: 4px;
}

.tc-tg-funnel-sub {
    font-size: 14px;
    color: var(--tc-text-secondary, #666);
}

.tc-tg-funnel-link {
    color: #2aabee;
    text-decoration: none;
    font-weight: 600;
}

.tc-tg-funnel-link:hover {
    text-decoration: underline;
}

.tc-tg-funnel-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2aabee;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 999px;
    transition: var(--tc-transition, all 0.2s ease);
    white-space: nowrap;
}

.tc-tg-funnel-btn:hover {
    background: #1c97d6;
    transform: translateY(-1px);
    color: #fff !important;
}

.tc-tg-funnel-btn .tc-tg-icon {
    display: block;
}

@media (max-width: 480px) {
    .tc-tg-funnel {
        padding: 16px 18px;
    }
    .tc-tg-funnel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   Floating action icons — gift + Telegram (bottom-right stack)
   ============================================================ */
.tc-float-icons {
    position: fixed;
    right: 30px;
    bottom: 90px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Lift above the showcase bottom banner when it's visible */
.tc-float-icons.tc-float-lifted {
    bottom: 86px;
}

.tc-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-float-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    color: #fff !important;
}

.tc-float-icon svg {
    display: block;
}

.tc-float-tg {
    background: #2aabee;
}

.tc-float-gift {
    background: linear-gradient(135deg, var(--tc-success, #62c462), #3ba84f);
    animation: tc-gift-pulse 2.2s ease-in-out infinite;
}

@keyframes tc-gift-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
    50%      { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(98, 196, 98, 0.18); }
}

@media (max-width: 480px) {
    .tc-float-icons {
        right: 18px;
        bottom: 75px;
        gap: 10px;
    }
    .tc-float-icon {
        width: 48px;
        height: 48px;
    }
    .tc-float-icons.tc-float-lifted {
        bottom: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-float-gift { animation: none; }
}

/* ============================================================
   Exit-intent popup — [tc_exit_popup]
   ============================================================ */
.tc-exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 12, 20, 0.62);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.tc-exit-overlay[hidden] {
    display: none;
}

.tc-exit-overlay.tc-exit-show {
    opacity: 1;
}

.tc-exit-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--tc-bg-card, #fff);
    border-radius: 20px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.tc-exit-show .tc-exit-modal {
    transform: translateY(0) scale(1);
}

.tc-exit-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--tc-text-secondary, #888);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--tc-transition, all 0.2s ease);
}

.tc-exit-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--tc-text-dark, #1A1E2E);
}

.tc-exit-heading {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
    color: var(--tc-text-dark, #1A1E2E);
    text-align: center;
}

/* --- Telegram CTA inside popup --- */
.tc-exit-tg {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2aabee;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    transition: var(--tc-transition, all 0.2s ease);
}

.tc-exit-tg:hover {
    background: #1c97d6;
    color: #fff !important;
}

.tc-exit-tg-icon {
    flex: 0 0 auto;
    display: flex;
}

.tc-exit-tg-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.tc-exit-tg-title {
    font-weight: 800;
    font-size: 15px;
}

.tc-exit-tg-sub {
    font-size: 12px;
    opacity: 0.92;
}

.tc-exit-tg-btn {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .tc-exit-tg {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* --- Brands list inside popup --- */
.tc-exit-brands-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--tc-text-secondary, #888);
    margin-bottom: 10px;
}

.tc-exit-brands {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-exit-loading {
    text-align: center;
    padding: 20px 0;
}

.tc-exit-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--tc-border-color, #e0e0e0);
    border-radius: 12px;
    transition: var(--tc-transition, all 0.2s ease);
}

.tc-exit-brand:hover {
    box-shadow: 0 3px 10px var(--tc-shadow, rgba(0, 0, 0, 0.08));
    transform: translateY(-1px);
}

.tc-exit-brand-rank {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tc-special, #FFD700);
    color: #1a1e2e;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-exit-brand-logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tc-exit-brand-logo img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.tc-exit-brand-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tc-exit-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--tc-text-dark, #1A1E2E);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-exit-brand-bonus {
    font-size: 12px;
    color: var(--tc-text-secondary, #888);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-exit-brand-btn {
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--tc-primary, #FF6B35), var(--tc-accent, #ff1f3d));
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 16px;
    border-radius: 999px;
    transition: var(--tc-transition, all 0.2s ease);
}

.tc-exit-brand-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .tc-exit-modal {
        padding: 24px 18px 20px;
    }
    .tc-exit-brand-bonus {
        display: none;
    }
}

/* ============================================================
   Trust header — freshness badge + trust row (above showcase)
   ============================================================ */
.tc-trust-header {
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 4px 0 18px;
}

.tc-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(98, 196, 98, 0.12);
    color: #2f7d35;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

.tc-trust-badge-icon {
    display: flex;
}

.tc-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}

.tc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-text-muted, #333);
}

.tc-trust-item-icon {
    display: flex;
    color: var(--tc-success, #62c462);
}

.tc-trust-item-label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .tc-trust-header {
      flex-direction: column; 
    }
    .tc-trust-row {
        gap: 8px 14px;
    }
    .tc-trust-item {
        font-size: 12px;
    }
}