/* World Championship mode (integrated, not a new site) */
.competition--world { --wc-accent: #D4AF37; }

/* Banner */
.wc-banner{
  margin: 14px 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;

  /* Works on both light & dark pages */
  background:
    radial-gradient(900px 220px at 15% 0%, color-mix(in srgb, var(--wc-accent) 22%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.wc-banner__inner{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
}

.wc-banner__left{
  min-width: 0;
}

.wc-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;

  color: rgba(0,0,0,.86);
  background: color-mix(in srgb, var(--wc-accent) 70%, white);
  border: 1px solid color-mix(in srgb, var(--wc-accent) 55%, black);
}

.wc-title{
  margin-top: 6px;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.wc-meta{
  margin-top: 4px;
  opacity: .85;
  font-size: 13px;
  line-height: 1.3;
}

.wc-link{
  text-decoration:none;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 12px;

  border: 1px solid color-mix(in srgb, var(--wc-accent) 45%, white);
  background: color-mix(in srgb, var(--wc-accent) 18%, rgba(255,255,255,.06));
  color: inherit;
  white-space: nowrap;
}

.wc-link:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Make it fit mobile nicely */
@media (max-width: 640px){
  .wc-banner__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .wc-link{
    width: 100%;
    text-align: center;
  }
}

/* Slight “premium” table header accent */
.competition--world table thead th{
  border-bottom: 2px solid color-mix(in srgb, var(--wc-accent) 55%, transparent);
}
