/**
 * Страница конкурса contest-tiger — стили в палитре основной страницы (vars.css).
 * Подключение: reset.css, vars.css, contest-tiger.css. Шрифты: как в layout (Orbitron, Rajdhani / --main-font).
 */
.contest-tiger-page {
  font-family: var(--main-font, 'IBM Plex Sans', sans-serif);
  background: var(--binance-20, #0c0d10);
  color: var(--surface-200, #ecedee);
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.contest-tiger-page ::-webkit-scrollbar {
  display: none;
}

/* Логотип на contest: только логотипы и ×, без текста */
.contest-tiger-page .site-header__logo--contest {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header__contest-suffix {
  margin-left: -1.75rem;
  margin-right: 0.25rem;
  color: var(--ct-brand, #14b8a6);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.contest-tiger-page .site-header__logo .site-header__logo-img {
  height: 32px;
  flex-shrink: 0;
}
.site-header__contest-tiger-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 3px;
}
@media (min-width: 1024px) {
  .contest-tiger-page .site-header__logo--contest {
    gap: 0.75rem;
  }
  .contest-tiger-page .site-header__logo .site-header__logo-img {
    height: 40px;
  }
  .site-header__contest-tiger-logo {
    height: 24px;
  }
}

/* Переменные акцента (как на главной) */
.contest-tiger-page {
  --ct-brand: #14b8a6;
  --ct-brand-hover: #0d9488;
  --ct-card: var(--binance-100, #191a1f);
  --ct-border: var(--binance-200, #1f2024);
  --ct-muted: var(--binance-400, #505155);
  --ct-section-alt: #0d1117;
}

/* Header */
.ct-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 13, 16, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ct-border);
}
.ct-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .ct-header-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .ct-header-inner { padding: 0 2rem; }
}
.ct-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}
.ct-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.ct-logo-link:hover {
  opacity: 0.9;
  color: inherit;
}
.ct-logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--ct-brand) 0%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
}
.ct-logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}
.ct-logo-text .ct-accent {
  color: var(--ct-brand);
}
.ct-nav {
  display: none;
}
@media (min-width: 768px) {
  .ct-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.ct-nav a {
  font-size: 0.875rem;
  color: var(--ct-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.ct-nav a:hover {
  color: #fff;
}
.ct-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--ct-muted);
  font-size: 1.25rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .ct-burger { display: none; }
}

/* Main */
.ct-main {
  padding-top: var(--header-height, 80px);
}

/* Sections common */
.ct-section {
  padding: 4rem 1rem;
}
@media (min-width: 640px) {
  .ct-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ct-section { padding-left: 2rem; padding-right: 2rem; }
}
.ct-section-alt {
  background: var(--ct-section-alt);
}
.ct-container {
  max-width: 80rem;
  margin: 0 auto;
}
.ct-container-narrow {
  max-width: 64rem;
  margin: 0 auto;
}
.ct-container-hero {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .ct-container-hero { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .ct-container-hero { padding: 0 2rem; }
}
.ct-section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}
.ct-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .ct-section-title { font-size: 2.25rem; }
}
.ct-section-desc {
  color: var(--ct-muted);
  font-size: 1.125rem;
  margin: 0;
}

/* Hero */
.ct-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Скользящие линии: из центра в стороны, затем обратно в центр */
.ct-hero-slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  left: 50%;
  opacity: 0.08;
  animation: ct-hero-slide-center 4s ease-out 1 forwards;
}
.ct-hero-slide--1 {
  margin-left: -50%;
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, transparent 0%, var(--ct-brand) 70%, var(--ct-brand) 100%);
}
.ct-hero-slide--2 {
  margin-left: 0;
  transform-origin: 0% 50%;
  background: linear-gradient(90deg, var(--ct-brand) 0%, var(--ct-brand) 30%, transparent 100%);
}
.ct-hero-slide--1 {
  animation-delay: 0s;
}
@keyframes ct-hero-slide-center {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.ct-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}
.ct-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.ct-hero-badge__text {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 400;
}
.ct-hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.ct-hero-title__line {
  font-size: 0.5em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ct-muted);
  display: block;
}
.ct-hero-title__line::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.4rem auto 0;
  background: linear-gradient(to right, transparent, var(--ct-brand), transparent);
  border-radius: 1px;
}
.ct-hero-title__brand {
  display: block;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(to right, var(--ct-brand), #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 640px) {
  .ct-hero-title { font-size: 2.75rem; }
  .ct-hero-title__line::after { width: 4rem; }
}
@media (min-width: 1024px) {
  .ct-hero-title { font-size: 3.5rem; }
  .ct-hero-title__line { letter-spacing: 0.22em; }
  .ct-hero-title__line::after { width: 5rem; }
}
.ct-hero-desc {
  font-size: 1.125rem;
  color: var(--ct-muted);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .ct-hero-desc { font-size: 1.25rem; }
}
.ct-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .ct-countdown { gap: 1rem; }
}
.ct-countdown-item {
  background: #131720;
  border: 1px solid #2a3142;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 5.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ct-countdown-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ct-brand);
}
.ct-countdown-label {
  font-size: 0.75rem;
  color: var(--ct-muted);
  margin-top: 0.25rem;
}
.ct-countdown-sep {
  font-size: 1.5rem;
  color: var(--ct-muted);
}
.ct-hero-dates {
  font-size: 0.875rem;
  color: var(--ct-muted);
  margin-bottom: 2rem;
}
.ct-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .ct-hero-actions { flex-direction: row; justify-content: center; }
}
.ct-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #14b8a6, #0d9488);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.ct-btn-primary:hover {
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.25);
  opacity: 0.95;
  color: #fff;
}
.ct-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: #131720;
  border: 1px solid #1e2530;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.ct-btn-secondary:hover {
  border-color: var(--ct-brand);
  color: #fff;
}
.ct-hero-disclaimer {
  font-size: 0.75rem;
  color: var(--ct-muted);
  margin: 0;
}

@media (max-width: 767px) {
  .ct-hero .ct-countdown {
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }
  .ct-hero .ct-countdown-item {
    padding: 0.5rem 0.65rem;
    min-width: 3.5rem;
    border-radius: 0.5rem;
  }
  .ct-hero .ct-countdown-value {
    font-size: 1.25rem;
  }
  .ct-hero .ct-countdown-label {
    font-size: 0.625rem;
    margin-top: 0.15rem;
  }
  .ct-hero .ct-countdown-sep {
    font-size: 1rem;
  }
  .ct-hero .ct-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .ct-hero .ct-hero-actions .ct-btn-primary,
  .ct-hero .ct-hero-actions .ct-btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }
}

/* How it works — grid of cards */
.ct-steps {
  position: relative;
}
.ct-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .ct-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ct-steps-grid { grid-template-columns: repeat(5, 1fr); }
}
.ct-step-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #131720;
  border: 1px solid #2a3142;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ct-step-card:hover {
  border-color: var(--ct-brand);
}
.ct-step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--ct-brand), var(--ct-brand-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.ct-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.ct-step-desc {
  font-size: 0.875rem;
  color: var(--ct-muted);
  margin: 0;
}

/* Prizes */
.ct-prizes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .ct-prizes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ct-prizes-grid { grid-template-columns: repeat(4, 1fr); }
}
.ct-prizes-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 1rem;
}
.ct-prizes-block:last-child .ct-prizes-grid { margin-bottom: 0; }
.ct-prizes-blocks .ct-prizes-grid { margin-bottom: 0; }
.ct-prizes-block-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.ct-prize-card {
  background: #131720;
  border: 1px solid #2a3142;
  border-radius: 1rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ct-prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.ct-prize-card--1::before { background: linear-gradient(90deg, #ffd700, #e6c200); }
.ct-prize-card--2::before { background: linear-gradient(90deg, #c0c0c0, #a0a0a0); }
.ct-prize-card--3::before { background: linear-gradient(90deg, #cd7f32, #b87333); }
.ct-prize-card--4::before { background: linear-gradient(90deg, var(--ct-brand), var(--ct-brand-hover)); }
.ct-prize-card:hover {
  border-color: #3d4556;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.ct-prize-card--1:hover { border-color: rgba(255, 215, 0, 0.35); }
.ct-prize-card--2:hover { border-color: rgba(192, 192, 192, 0.4); }
.ct-prize-card--3:hover { border-color: rgba(205, 127, 50, 0.4); }
.ct-prize-card--4:hover { border-color: var(--ct-brand); }
.ct-prize-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0.75rem;
}
.ct-prize-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.ct-prize-card--1 .ct-prize-icon { background: rgba(255, 215, 0, 0.15); color: #ffd700; }
.ct-prize-card--2 .ct-prize-icon { background: rgba(192, 192, 192, 0.15); color: #b8b8b8; }
.ct-prize-card--3 .ct-prize-icon { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }
.ct-prize-card--4 .ct-prize-icon { background: rgba(20, 184, 166, 0.15); color: var(--ct-brand); }
.ct-prize-place {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
}
.ct-prize-card--1 .ct-prize-place { color: #0a0e14; background: #ffd700; }
.ct-prize-card--2 .ct-prize-place { color: #0a0e14; background: #c0c0c0; }
.ct-prize-card--3 .ct-prize-place { color: #fff; background: #b87333; }
.ct-prize-card--4 .ct-prize-place { color: #fff; background: var(--ct-brand); }
.ct-prize-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  padding: 0 1.5rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.ct-prize-card--1 .ct-prize-amount { color: #ffd700; }
.ct-prize-card--2 .ct-prize-amount { color: #e5e5e5; }
.ct-prize-card--3 .ct-prize-amount { color: #e5a04d; }
.ct-prize-card--4 .ct-prize-amount { color: var(--ct-brand); }
.ct-prize-desc {
  font-size: 0.8125rem;
  color: #ecedee;
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.5;
}
.ct-prize-desc--kit {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  padding-top: 0;
}
.ct-prize-desc--kit + .ct-prize-desc--kit {
  margin-top: 0;
}
.ct-prize-desc--kit:has(+ .ct-prize-desc--kit) {
  padding-bottom: 0;
}
.ct-prize-note {
  background: #131720;
  border: 1px solid #2a3142;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.ct-merch-gallery {
  margin-bottom: 2rem;
}
.ct-merch-gallery__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ecedee;
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.ct-merch-gallery__box {
  max-width: 61rem;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(145deg, #131720 0%, #0f1116 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.ct-merch-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.25rem;
}
.ct-merch-gallery__item {
  margin: 0;
  text-align: center;
}
.ct-merch-gallery__item img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  filter: brightness(0.78) saturate(0.92);
}
@media (max-width: 767px) {
  .ct-merch-gallery__box {
    padding: 1rem 1rem;
  }
  .ct-merch-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .ct-merch-gallery__item img {
    max-height: 180px;
  }
}
.ct-prize-note p {
  margin: 0;
  font-size: 0.875rem;
  color: #c0c0c0;
}
.ct-prize-note i {
  color: var(--ct-brand);
  margin-right: 0.5rem;
}

/* Prizes variant: minimal — no top bar, place as muted text */
.ct-prizes--minimal .ct-prize-card::before { display: none; }
.ct-prizes--minimal .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--minimal .ct-prize-card { border-color: #1e2530; }
.ct-prizes--minimal .ct-prize-card:hover { border-color: #2a3142; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }

/* Prizes variant: outline — border accent by place, no bar */
.ct-prizes--outline .ct-prize-card::before { display: none; }
.ct-prizes--outline .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--outline .ct-prize-card--1 { border-color: rgba(255, 215, 0, 0.5); }
.ct-prizes--outline .ct-prize-card--2 { border-color: rgba(192, 192, 192, 0.5); }
.ct-prizes--outline .ct-prize-card--3 { border-color: rgba(205, 127, 50, 0.5); }
.ct-prizes--outline .ct-prize-card--4 { border-color: rgba(20, 184, 166, 0.5); }
.ct-prizes--outline .ct-prize-card--1:hover { border-color: rgba(255, 215, 0, 0.8); }
.ct-prizes--outline .ct-prize-card--2:hover { border-color: rgba(192, 192, 192, 0.8); }
.ct-prizes--outline .ct-prize-card--3:hover { border-color: rgba(205, 127, 50, 0.8); }
.ct-prizes--outline .ct-prize-card--4:hover { border-color: var(--ct-brand); }

/* Prizes variant: glow — neon glow by place color */
.ct-prizes--glow .ct-prize-card::before { display: none; }
.ct-prizes--glow .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--glow .ct-prize-card { border-color: #2a3142; }
.ct-prizes--glow .ct-prize-card--1 { box-shadow: 0 0 20px rgba(255, 215, 0, 0.22), 0 2px 12px rgba(0, 0, 0, 0.2); }
.ct-prizes--glow .ct-prize-card--1:hover { box-shadow: 0 0 28px rgba(255, 215, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3); }
.ct-prizes--glow .ct-prize-card--2 { box-shadow: 0 0 20px rgba(192, 192, 192, 0.18), 0 2px 12px rgba(0, 0, 0, 0.2); }
.ct-prizes--glow .ct-prize-card--2:hover { box-shadow: 0 0 28px rgba(192, 192, 192, 0.28), 0 4px 16px rgba(0, 0, 0, 0.3); }
.ct-prizes--glow .ct-prize-card--3 { box-shadow: 0 0 20px rgba(205, 127, 50, 0.22), 0 2px 12px rgba(0, 0, 0, 0.2); }
.ct-prizes--glow .ct-prize-card--3:hover { box-shadow: 0 0 28px rgba(205, 127, 50, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3); }
.ct-prizes--glow .ct-prize-card--4 { box-shadow: 0 0 20px rgba(20, 184, 166, 0.25), 0 2px 12px rgba(0, 0, 0, 0.2); }
.ct-prizes--glow .ct-prize-card--4:hover { box-shadow: 0 0 28px rgba(20, 184, 166, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3); }

/* Prizes variant: stripe — left vertical accent, no top bar */
.ct-prizes--stripe .ct-prize-card::before {
  top: 0;
  left: 0;
  right: auto;
  width: 4px;
  height: 100%;
}
.ct-prizes--stripe .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--stripe .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--stripe .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--stripe .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--stripe .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }

/* Prizes variant: gradient — soft gradient background by place */
.ct-prizes--gradient .ct-prize-card::before { display: none; }
.ct-prizes--gradient .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--gradient .ct-prize-card--1 { background: linear-gradient(145deg, #131720 0%, rgba(255, 215, 0, 0.07) 100%); }
.ct-prizes--gradient .ct-prize-card--2 { background: linear-gradient(145deg, #131720 0%, rgba(192, 192, 192, 0.06) 100%); }
.ct-prizes--gradient .ct-prize-card--3 { background: linear-gradient(145deg, #131720 0%, rgba(205, 127, 50, 0.08) 100%); }
.ct-prizes--gradient .ct-prize-card--4 { background: linear-gradient(145deg, #131720 0%, rgba(20, 184, 166, 0.07) 100%); }
.ct-prizes--gradient .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--gradient .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--gradient .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--gradient .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }

/* Prizes variant: glass — frosted glass look */
.ct-prizes--glass .ct-prize-card::before { display: none; }
.ct-prizes--glass .ct-prize-card {
  background: rgba(19, 23, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.ct-prizes--glass .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--glass .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--glass .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--glass .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--glass .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }
.ct-prizes--glass .ct-prize-card:hover { background: rgba(19, 23, 32, 0.9); border-color: rgba(255, 255, 255, 0.1); }

/* Prizes variant: number — big place number as hero */
.ct-prizes--number .ct-prizes-grid { counter-reset: prize-place; }
.ct-prizes--number .ct-prize-card { counter-increment: prize-place; }
.ct-prizes--number .ct-prize-card::before { display: none; }
.ct-prizes--number .ct-prize-head {
  position: relative;
  padding-left: 4.5rem;
  min-height: 3.5rem;
}
.ct-prizes--number .ct-prize-head::before {
  content: counter(prize-place);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  font-family: Orbitron, sans-serif;
  opacity: 0.35;
}
.ct-prizes--number .ct-prize-card--1 .ct-prize-head::before { color: #ffd700; opacity: 0.5; }
.ct-prizes--number .ct-prize-card--2 .ct-prize-head::before { color: #c0c0c0; opacity: 0.45; }
.ct-prizes--number .ct-prize-card--3 .ct-prize-head::before { color: #cd7f32; opacity: 0.5; }
.ct-prizes--number .ct-prize-card--4 .ct-prize-head::before { color: var(--ct-brand); opacity: 0.5; }
.ct-prizes--number .ct-prize-icon { display: none; }
.ct-prizes--number .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.75rem;
}
.ct-prizes--number .ct-prize-amount { padding-left: 4.5rem; }
.ct-prizes--number .ct-prize-desc { padding-left: 4.5rem; }

/* Prizes variant: badge — place as large centered badge on top */
.ct-prizes--badge .ct-prize-card::before { display: none; }
.ct-prizes--badge .ct-prize-head {
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem 0.75rem;
  gap: 0.5rem;
}
.ct-prizes--badge .ct-prize-icon { order: 2; }
.ct-prizes--badge .ct-prize-place {
  order: 1;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
}
.ct-prizes--badge .ct-prize-amount { text-align: center; padding: 0 1rem 0.25rem; }
.ct-prizes--badge .ct-prize-desc { text-align: center; padding: 0 1rem 1.25rem; }

/* Prizes variant: compact — tighter padding, denser layout */
.ct-prizes--compact .ct-prize-card::before { height: 2px; }
.ct-prizes--compact .ct-prize-head { padding: 1rem 1.25rem 0.5rem; }
.ct-prizes--compact .ct-prize-icon { width: 2.25rem; height: 2.25rem; font-size: 0.9375rem; }
.ct-prizes--compact .ct-prize-place { font-size: 0.6875rem; padding: 0.25rem 0.5rem; }
.ct-prizes--compact .ct-prize-amount { font-size: 1.25rem; padding: 0 1.25rem; margin-bottom: 0.2rem; }
.ct-prizes--compact .ct-prize-desc { font-size: 0.75rem; padding: 0 1.25rem 1rem; }
.ct-prizes--compact .ct-prizes-grid { gap: 1rem; margin-bottom: 2rem; }

/* Prizes variant: bordered — full colored border (2px) */
.ct-prizes--bordered .ct-prize-card::before { display: none; }
.ct-prizes--bordered .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--bordered .ct-prize-card { border-width: 2px; }
.ct-prizes--bordered .ct-prize-card--1 { border-color: rgba(255, 215, 0, 0.6); }
.ct-prizes--bordered .ct-prize-card--2 { border-color: rgba(192, 192, 192, 0.6); }
.ct-prizes--bordered .ct-prize-card--3 { border-color: rgba(205, 127, 50, 0.6); }
.ct-prizes--bordered .ct-prize-card--4 { border-color: rgba(20, 184, 166, 0.6); }
.ct-prizes--bordered .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--bordered .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--bordered .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--bordered .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }
.ct-prizes--bordered .ct-prize-card--1:hover { border-color: #ffd700; }
.ct-prizes--bordered .ct-prize-card--2:hover { border-color: #c0c0c0; }
.ct-prizes--bordered .ct-prize-card--3:hover { border-color: #cd7f32; }
.ct-prizes--bordered .ct-prize-card--4:hover { border-color: var(--ct-brand); }

/* Prizes variant: split — left color column, right content */
.ct-prizes--split .ct-prize-card {
  display: grid;
  grid-template-columns: 5rem 1fr;
  padding: 0;
}
.ct-prizes--split .ct-prize-card::before { display: none; }
.ct-prizes--split .ct-prize-head {
  grid-column: 1;
  grid-row: 1 / -1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0.5rem;
  gap: 0.35rem;
  border-radius: 1rem 0 0 1rem;
}
.ct-prizes--split .ct-prize-card--1 .ct-prize-head { background: rgba(255, 215, 0, 0.12); }
.ct-prizes--split .ct-prize-card--2 .ct-prize-head { background: rgba(192, 192, 192, 0.1); }
.ct-prizes--split .ct-prize-card--3 .ct-prize-head { background: rgba(205, 127, 50, 0.12); }
.ct-prizes--split .ct-prize-card--4 .ct-prize-head { background: rgba(20, 184, 166, 0.1); }
.ct-prizes--split .ct-prize-amount { grid-column: 2; padding: 1rem 1.25rem 0.25rem; }
.ct-prizes--split .ct-prize-desc { grid-column: 2; padding: 0 1.25rem 1rem; }
.ct-prizes--split .ct-prize-icon { width: 2rem; height: 2rem; font-size: 0.875rem; }
.ct-prizes--split .ct-prize-place {
  font-size: 0.625rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: center;
}
.ct-prizes--split .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--split .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--split .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--split .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }

/* Prizes variant: flat — no shadow, thin border only */
.ct-prizes--flat .ct-prize-card::before { display: none; }
.ct-prizes--flat .ct-prize-card {
  box-shadow: none;
  border-color: #1e2530;
}
.ct-prizes--flat .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--flat .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--flat .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--flat .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--flat .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }
.ct-prizes--flat .ct-prize-card:hover { box-shadow: none; border-color: #2a3142; }

/* Prizes variant: trophy — icon centered on top, place below */
.ct-prizes--trophy .ct-prize-card::before { display: none; }
.ct-prizes--trophy .ct-prize-head {
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.5rem 0.5rem;
  gap: 0.5rem;
}
.ct-prizes--trophy .ct-prize-icon {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
}
.ct-prizes--trophy .ct-prize-place { padding: 0.25rem 0; }
.ct-prizes--trophy .ct-prize-amount { text-align: center; padding: 0 1rem 0.2rem; }
.ct-prizes--trophy .ct-prize-desc { text-align: center; padding: 0 1rem 1.25rem; }

/* Prizes variant: dot — colored dot before place text */
.ct-prizes--dot .ct-prize-card::before { display: none; }
.ct-prizes--dot .ct-prize-place {
  position: relative;
  background: transparent;
  padding-left: 1rem;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--dot .ct-prize-place::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.ct-prizes--dot .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--dot .ct-prize-card--1 .ct-prize-place::before { background: #ffd700; }
.ct-prizes--dot .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--dot .ct-prize-card--2 .ct-prize-place::before { background: #b8b8b8; }
.ct-prizes--dot .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--dot .ct-prize-card--3 .ct-prize-place::before { background: #cd7f32; }
.ct-prizes--dot .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }
.ct-prizes--dot .ct-prize-card--4 .ct-prize-place::before { background: var(--ct-brand); }

/* Prizes variant: rounded — large border radius */
.ct-prizes--rounded .ct-prize-card { border-radius: 1.5rem; }
.ct-prizes--rounded .ct-prize-card::before { border-radius: 1.5rem 1.5rem 0 0; }
.ct-prizes--rounded .ct-prize-icon { border-radius: 0.75rem; }
.ct-prizes--rounded .ct-prize-note { border-radius: 1rem; }

/* Prizes variant: elevated — strong shadow, lift on hover */
.ct-prizes--elevated .ct-prize-card::before { display: none; }
.ct-prizes--elevated .ct-prize-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ct-prizes--elevated .ct-prize-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.ct-prizes--elevated .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--elevated .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--elevated .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--elevated .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--elevated .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }

/* Prizes variant: muted — soft colors, no strong accents */
.ct-prizes--muted .ct-prize-card::before { display: none; }
.ct-prizes--muted .ct-prize-card {
  border-color: #1a1f2e;
  box-shadow: none;
}
.ct-prizes--muted .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--muted .ct-prize-card--1 .ct-prize-place { color: rgba(255, 215, 0, 0.9); }
.ct-prizes--muted .ct-prize-card--2 .ct-prize-place { color: rgba(192, 192, 192, 0.9); }
.ct-prizes--muted .ct-prize-card--3 .ct-prize-place { color: rgba(205, 127, 50, 0.9); }
.ct-prizes--muted .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }
.ct-prizes--muted .ct-prize-card:hover { border-color: #252b3d; }

/* Prizes variant: corner — colored corner triangle */
.ct-prizes--corner .ct-prize-card {
  position: relative;
  overflow: hidden;
}
.ct-prizes--corner .ct-prize-card::before {
  top: 0;
  left: 0;
  right: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 3rem 3rem;
  border-color: transparent transparent currentColor transparent;
}
.ct-prizes--corner .ct-prize-card--1::before { border-bottom-color: rgba(255, 215, 0, 0.4); }
.ct-prizes--corner .ct-prize-card--2::before { border-bottom-color: rgba(192, 192, 192, 0.35); }
.ct-prizes--corner .ct-prize-card--3::before { border-bottom-color: rgba(205, 127, 50, 0.4); }
.ct-prizes--corner .ct-prize-card--4::before { border-bottom-color: rgba(20, 184, 166, 0.35); }
.ct-prizes--corner .ct-prize-place {
  background: transparent;
  color: var(--ct-muted);
  padding: 0;
  border-radius: 0;
  font-size: 0.8125rem;
}
.ct-prizes--corner .ct-prize-card--1 .ct-prize-place { color: #ffd700; }
.ct-prizes--corner .ct-prize-card--2 .ct-prize-place { color: #b8b8b8; }
.ct-prizes--corner .ct-prize-card--3 .ct-prize-place { color: #cd7f32; }
.ct-prizes--corner .ct-prize-card--4 .ct-prize-place { color: var(--ct-brand); }

/* Leaderboard */
.ct-lead-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .ct-lead-tables { grid-template-columns: 1fr 1fr; }
}
.ct-lead-table-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.ct-lead-stats {
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.ct-lead-stats-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
}
.ct-lead-stats-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ct-lead-stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ct-lead-stats-inner { grid-template-columns: repeat(3, 1fr); }
}
.ct-lead-stats .ct-stat-block { margin-bottom: 0; }
.ct-lead-stats .ct-progress-wrap { grid-column: 1 / -1; }
.ct-lead-stats .ct-stat-row { grid-column: 1 / -1; }
.ct-lead-stats .ct-btn-primary { grid-column: 1 / -1; margin-top: 0.5rem; }
.ct-table-wrap {
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
  overflow: hidden;
}
.ct-table {
  width: 100%;
  border-collapse: collapse;
}
.ct-table thead {
  background: #0d1117;
  border-bottom: 1px solid #1e2530;
}
.ct-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ct-table th:nth-child(3),
.ct-table th:nth-child(4),
.ct-table th:nth-child(5),
.ct-table td:nth-child(3),
.ct-table td:nth-child(4),
.ct-table td:nth-child(5) { text-align: right; }
.ct-table tbody tr {
  transition: background 0.15s;
}
.ct-table tbody tr:hover {
  background: #0d1117;
}
.ct-table tbody tr.ct-row-me {
  background: rgba(20, 184, 166, 0.12);
  border-left: 3px solid var(--ct-brand);
}
.ct-table td {
  padding: 1rem 1.5rem;
  border-top: 1px solid #1e2530;
  font-size: 0.875rem;
}
.ct-place-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-right: 0.75rem;
}
.ct-place-1 .ct-place-badge { background: #ffd700; color: #0a0e14; }
.ct-place-2 .ct-place-badge { background: #c0c0c0; color: #0a0e14; }
.ct-place-3 .ct-place-badge { background: #cd7f32; color: #0a0e14; }
.ct-place-4 .ct-place-badge,
.ct-place-5 .ct-place-badge { background: #1e2530; color: #9ca3af; }
tr:not(.ct-place-1):not(.ct-place-2):not(.ct-place-3) .ct-place-badge { background: #1e2530; color: #9ca3af; }
.ct-user-cell {
  display: flex;
  align-items: center;
}
.ct-user-cell span {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.875rem;
}
.ct-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ct-brand), var(--ct-brand-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-size: 0.75rem;
  color: #fff;
}
.ct-volume {
  font-weight: 600;
  color: var(--ct-brand);
}
.ct-volume-usd {
  font-size: 0.75rem;
  color: #6b7280;
}
.ct-lead-note {
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
}
.ct-lead-note p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}
.ct-lead-note i {
  color: var(--ct-brand);
  margin-right: 0.5rem;
}
.ct-table-empty {
  text-align: center;
  color: var(--ct-muted);
  padding: 2rem 1rem !important;
}
.ct-lead-stats-when-me {
  display: block;
  width: 100%;
  grid-column: 1 / -1;
}
.ct-lead-stats-when-me #ct-stats-me-blocks {
  min-width: 0;
}
.ct-lead-stats-when-me .ct-progress-wrap { grid-column: 1 / -1; }
.ct-lead-stats-when-me .ct-btn-primary { grid-column: 1 / -1; margin-top: 0.5rem; }
.ct-lead-stats-me-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.ct-lead-stats-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ct-border, #1e2530);
}
.ct-lead-stats-block:last-child { border-bottom: none; }
.ct-lead-stats-block-title {
  grid-column: 1 / -1;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ct-brand, #14b8a6);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(20, 184, 166, 0.25);
}
.ct-lead-stats-block-title:first-child { margin-top: 0; }
@media (min-width: 640px) {
  .ct-lead-stats-block { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ct-lead-stats-block { grid-template-columns: repeat(3, 1fr); }
}
.ct-lead-stats-block .ct-progress-wrap { grid-column: 1 / -1; }
.ct-lead-stats-single-btn {
  width: 100%;
  margin-top: 1rem;
  grid-column: 1 / -1;
}
.ct-lead-stats-when-not-me { grid-column: 1 / -1; }
.ct-lead-stats-when-not-me .ct-btn-primary { width: 100%; }
.ct-stats-sidebar {
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .ct-stats-sidebar { position: sticky; top: 5rem; }
}
.ct-stats-sidebar h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.ct-stat-block {
  background: #0d1117;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.ct-stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}
.ct-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}
.ct-stat-positions {
  margin-top: 0.25rem;
}
.ct-stat-position-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.ct-stat-position-row:last-child {
  margin-bottom: 0;
}
.ct-stat-position-label {
  color: var(--ct-muted);
  font-size: 0.875rem;
}
.ct-stat-position-row .ct-stat-value {
  font-size: 1.25rem;
  font-weight: 600;
}
.ct-stat-sub {
  font-size: 0.875rem;
  color: var(--ct-brand);
}
.ct-progress-wrap {
  margin-bottom: 1.5rem;
}
.ct-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.ct-progress-bar {
  width: 100%;
  height: 0.5rem;
  background: #1e2530;
  border-radius: 9999px;
  overflow: hidden;
}
.ct-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--ct-brand), var(--ct-brand-hover));
  border-radius: 9999px;
}
.ct-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1e2530;
  font-size: 0.875rem;
}
.ct-stat-row:last-child { border-bottom: none; }
.ct-stats-sidebar .ct-btn-primary { width: 100%; margin-top: 1.5rem; }

@media (max-width: 767px) {
  /* По объёму: скрыть колонку «Сделок» (4) */
  .ct-table th:nth-child(4),
  .ct-table td:nth-child(4) { display: none; }
  /* По количеству сделок: показывать колонку «Сделок» (4), скрыть «Объём» (3) */
  .ct-table--by-deals th:nth-child(3),
  .ct-table--by-deals td:nth-child(3) { display: none; }
  .ct-table--by-deals th:nth-child(4),
  .ct-table--by-deals td:nth-child(4) { display: table-cell; }
  .ct-lead-tables .ct-table-wrap {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .ct-table th {
    padding: 0.5rem 0.6rem;
    font-size: 0.625rem;
  }
  .ct-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  .ct-table .ct-place-badge {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    margin-right: 0.5rem;
  }
  .ct-table .ct-user-avatar {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    font-size: 0.625rem;
  }
  .ct-table .ct-user-cell span {
    font-size: 0.75rem;
  }
  .ct-lead-table-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 1023px) {
  .ct-table th:nth-child(5),
  .ct-table td:nth-child(5) { display: none; }
}

/* Rules accordion — стиль как в tmp/contest-tmp.html, иконки остаются наши (зелёные) */
#rules.ct-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
#rules .ct-container-narrow {
  max-width: 56rem;
}
#rules .ct-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#rules .ct-accordion-item {
  margin-bottom: 0;
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
}
#rules .ct-accordion-btn:hover {
  background: #0d1117;
}
#rules .ct-accordion-btn {
  padding: 1.25rem 1.5rem;
}
#rules .ct-accordion-content {
  padding: 0 1.5rem 1.5rem;
}
#rules .ct-accordion-content-inner {
  padding-left: 3.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}
#rules .ct-accordion-content-inner p {
  margin: 0 0 0.5rem;
}
@media (max-width: 767px) {
  #rules .ct-accordion-content-inner {
    padding-left: 0;
    text-align: left;
  }
}
/* FAQ — стиль как у Правил конкурса */
#faq.ct-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--ct-section-alt);
}
#faq .ct-container-narrow {
  max-width: 60rem;
}
#faq .ct-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#faq .ct-faq-item {
  margin-bottom: 0;
  background: #131720;
  border: 1px solid #1e2530;
  border-radius: 1rem;
}
#faq .ct-faq-item:hover {
  border-color: #1e2530;
}
#faq .ct-faq-btn:hover {
  background: #0d1117;
}
#faq .ct-faq-btn {
  padding: 1.25rem 1.5rem;
}
#faq .ct-faq-content {
  padding: 0 1.5rem 1.5rem;
}
#faq .ct-faq-content p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}
.ct-accordion-item {
  background: var(--ct-card);
  border: 1px solid var(--ct-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.ct-accordion-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.ct-accordion-btn:hover {
  background: var(--ct-section-alt);
}
.ct-accordion-btn-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ct-accordion-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--ct-brand), var(--ct-brand-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
}
.ct-accordion-chevron {
  color: var(--ct-muted);
  transition: transform 0.2s;
}
.ct-accordion-item.is-open .ct-accordion-chevron {
  transform: rotate(180deg);
}
.ct-accordion-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
}
.ct-accordion-item.is-open .ct-accordion-content {
  display: block;
}
.ct-accordion-content-inner {
  padding-left: 3.5rem;
  color: var(--ct-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.ct-accordion-content-inner p { margin: 0 0 0.5rem; }

/* FAQ */
.ct-faq-item {
  background: var(--ct-card);
  border: 1px solid var(--ct-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.ct-faq-item:hover {
  border-color: var(--ct-brand);
}
.ct-faq-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.ct-faq-chevron {
  color: var(--ct-muted);
  transition: transform 0.2s;
}
.ct-faq-item.is-open .ct-faq-chevron {
  transform: rotate(180deg);
}
.ct-faq-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
}
.ct-faq-item.is-open .ct-faq-content {
  display: block;
}
.ct-faq-content p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.ct-faq-cta {
  margin-top: 3rem;
  background: linear-gradient(to right, rgba(20,184,166,0.1), rgba(13,148,136,0.1));
  border: 1px solid rgba(20,184,166,0.3);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.ct-faq-cta h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.ct-faq-cta p {
  color: var(--ct-muted);
  margin: 0 0 1.5rem;
}
.ct-faq-cta .ct-btn-primary i { margin-right: 0.5rem; }

/* CTA section */
.ct-cta-section {
  padding: 5rem 1rem;
}
@media (min-width: 640px) {
  .ct-cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ct-cta-section { padding-left: 2rem; padding-right: 2rem; }
}
.ct-cta-box {
  max-width: 64rem;
  margin: 0 auto;
  background: linear-gradient(to right, rgba(20,184,166,0.15), rgba(13,148,136,0.15));
  border: 1px solid rgba(20,184,166,0.4);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) {
  .ct-cta-box { padding: 3rem; }
}
.ct-cta-box h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .ct-cta-box h2 { font-size: 2.25rem; }
}
.ct-cta-box-desc {
  font-size: 1.125rem;
  color: var(--ct-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.ct-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .ct-cta-actions { flex-direction: row; justify-content: center; }
}
.ct-cta-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0 2rem;
  padding-top: 0.25rem;
}
.ct-cta-stat {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.ct-cta-stat:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 1.25rem;
  font-weight: 300;
  pointer-events: none;
}
.ct-cta-stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.15rem;
}
.ct-cta-stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.35;
  max-width: 9rem;
  margin: 0 auto;
}
.ct-cta-vsep {
  display: none;
}

/* Footer — как на главной (main.css) */
.footer {
  background: #0a0a0b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 1rem 2.5rem;
}
.footer__inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .footer__inner { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
  .footer__inner { padding-inline: 2rem; }
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 3rem 2rem; }
}
.footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer__logo-icon,
.footer__logo-img {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.footer__logo-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.35);
}
.footer__logo-img {
  object-fit: contain;
  display: block;
}
.footer__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #9ca3af;
  margin: 0 0 1.5rem;
  max-width: 20rem;
}
.footer__social {
  display: flex;
  gap: 0.75rem;
}
.footer__social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.footer__social-link:hover {
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.15);
  transform: translateY(-2px);
}
.footer__social-link i {
  font-size: 1rem;
}
.footer__column-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}
.footer__column--tools .footer__column-title {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(20, 184, 166, 0.4);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 0.65rem;
}
.footer__list li:last-child {
  margin-bottom: 0;
}
.footer__column--tools .footer__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.75rem;
}
.footer__link {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}
.footer__link:hover {
  color: #2dd4bf;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer__copy {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.75rem;
}
.footer__legal-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__legal-link:hover {
  color: #2dd4bf;
}
@media (max-width: 767px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  .footer__inner {
    padding-inline: 16px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .footer__grid .footer__column {
    display: none;
  }
  .footer__brand-head {
    margin-bottom: 1rem;
  }
  .footer__logo-text {
    font-size: 1.125rem;
  }
  .footer__tagline {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
  .footer__column-title {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  .footer__list li {
    margin-bottom: 0.5rem;
  }
  .footer__link {
    font-size: 0.8125rem;
  }
  .footer__bottom {
    padding-top: 1.5rem;
    gap: 0.75rem;
    text-align: center;
  }
  .footer__copy,
  .footer__legal-link {
    font-size: 0.6875rem;
  }
  .footer__legal {
    gap: 0.75rem 1rem;
  }
}

/* Плавающие кнопки: главная, школа, наверх */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: #14b8a6;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #0d9488;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}
.back-to-top:focus {
  outline: 2px solid rgba(20, 184, 166, 0.6);
  outline-offset: 2px;
}
.back-to-top i {
  font-size: 1rem;
}

.float-main {
  position: fixed;
  right: 1.5rem;
  bottom: 8.25rem;
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.float-main:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
  transform: scale(1.05);
  color: #fff;
}
.float-main:focus {
  outline: 2px solid rgba(20, 184, 166, 0.6);
  outline-offset: 2px;
  color: #fff;
}
.float-main i {
  font-size: 1.15rem;
}

.float-school {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.float-school:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: scale(1.05);
  color: #fff;
}
.float-school:focus {
  outline: 2px solid rgba(99, 102, 241, 0.6);
  outline-offset: 2px;
  color: #fff;
}
.float-school i {
  font-size: 1.15rem;
}

.float-main .float-tooltip,
.float-school .float-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 12px;
  padding: 10px 14px;
  max-width: 220px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
  border-radius: 10px;
  white-space: normal;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.float-school .float-tooltip {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.float-main .float-tooltip::after,
.float-school .float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #0f766e;
  border-radius: 0 2px 0 0;
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.15);
}
.float-school .float-tooltip::after {
  background: #4338ca;
}
.float-main:hover .float-tooltip,
.float-school:hover .float-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.float-main:hover .float-tooltip::after,
.float-school:hover .float-tooltip::after {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .float-main {
    right: 1rem;
    bottom: 7rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .float-main i {
    font-size: 1rem;
  }
  .float-school {
    right: 1rem;
    bottom: 4rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .float-school i {
    font-size: 1rem;
  }
  .float-main .float-tooltip,
  .float-school .float-tooltip {
    max-width: 180px;
    font-size: 0.8125rem;
    padding: 9px 12px;
    border-radius: 8px;
    margin-right: 10px;
  }
  .float-main .float-tooltip::after,
  .float-school .float-tooltip::after {
    width: 10px;
    height: 10px;
    right: -5px;
  }
}
