
:root{
  --elt-bg:#0f1116;
  --elt-bg-2:#171b22;
  --elt-bg-3:#1c2330;
  --elt-surface:#141923;
  --elt-surface-2:#1b2230;
  --elt-border:rgba(219,184,126,.18);
  --elt-gold:#ddb277;
  --elt-gold-soft:#f0d7a9;
  --elt-text:#f7f4ef;
  --elt-muted:#b9c0c9;
  --elt-green:#12392f;
  --elt-burgundy:#5a1f2e;
  --elt-bronze:#9e7344;
  --elt-shadow:0 24px 70px rgba(0,0,0,.28);
}

#standings,
#standings > .container{
  width:100%!important;
  max-width:100%!important;
}
#standings .el-tour-dashboard,
#standings .el-tour-columns,
#standings .el-tour-card,
#standings .eltd-panel,
#standings .el-tour-existing-grid,
#standings .el-tour-group-grid,
#standings .eltd-knockout,
#standings .eltd-result-list,
#standings #standings-grid{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:none!important;
}
#standings .el-tour-dashboard{
  width:100%!important;
  margin:0 auto!important;
  padding:0!important;
}
#standings .el-tour-dashboard .el-tour-heading{display:none!important}
#standings .el-tour-dashboard .el-tour-columns{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
#standings .el-tour-dashboard .el-tour-card{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:clamp(22px,3vw,38px)!important;
  border-radius:30px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at top right, rgba(221,178,119,.10), transparent 26%),
    radial-gradient(circle at left bottom, rgba(90,31,46,.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    linear-gradient(135deg, #11161d 0%, #151b25 45%, #10151f 100%)!important;
  border:1px solid var(--elt-border)!important;
  box-shadow:var(--elt-shadow)!important;
}
#standings .el-tour-dashboard .el-tour-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(221,178,119,.08), transparent 22%, transparent 78%, rgba(90,31,46,.10));
}
#standings .el-tour-dashboard .el-tour-card.eltd-modern-hidden,
#standings .el-tour-dashboard .el-tour-card[data-elbrus-hidden="true"]{
  display:none!important;
}

#standings .eltd-modern-header{
  display:flex!important;
  justify-content:space-between!important;
  gap:22px!important;
  align-items:flex-end!important;
  flex-wrap:wrap!important;
  margin:0 0 18px!important;
  padding:22px 24px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at right top, rgba(221,178,119,.12), transparent 24%),
    linear-gradient(120deg, #102820 0%, #182028 48%, #40202a 100%)!important;
  border:1px solid rgba(221,178,119,.14)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}
#standings .eltd-modern-header__label,
#standings .eltd-modern-header .eltd-modern-header__label{
  margin:0 0 6px!important;
  color:var(--elt-gold)!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
#standings .eltd-modern-header__caption,
#standings .eltd-modern-header .eltd-modern-header__caption{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(20px,2.4vw,34px)!important;
  font-weight:800!important;
  line-height:1.2!important;
}
#standings .eltd-modern-tabs{
  display:flex!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.03)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
#standings .eltd-modern-tab{
  appearance:none!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:transparent!important;
  color:#f5efe6!important;
  cursor:pointer!important;
  padding:13px 20px!important;
  border-radius:999px!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  transition:all .22s ease!important;
  box-shadow:none!important;
}
#standings .eltd-modern-tab:hover{transform:translateY(-1px)!important;border-color:rgba(221,178,119,.32)!important}
#standings .eltd-modern-tab[aria-selected="true"],
#standings .eltd-modern-tab.is-active{
  background:linear-gradient(135deg, #dfb983, #c79358)!important;
  color:#18140f!important;
  border-color:transparent!important;
  box-shadow:0 10px 22px rgba(201,147,88,.32)!important;
}

#standings .el-tour-card .eltd-modern-top,
#standings .el-tour-card .eltd-panel,
#standings .el-tour-card .el-tour-existing-grid,
#standings .el-tour-card .el-tour-group-grid,
#standings .el-tour-card #standings-grid{
  position:relative!important;
  z-index:1!important;
}
#standings .el-tour-card h2,
#standings .el-tour-card h3,
#standings .el-tour-card h4{
  color:#fff!important;
  letter-spacing:-.02em!important;
}
#standings .el-tour-card p,
#standings .el-tour-card span,
#standings .el-tour-card li,
#standings .el-tour-card small{
  color:var(--elt-muted)!important;
}
#standings .el-tour-card .eltd-badge,
#standings .el-tour-card .eltd-stage-badge,
#standings .el-tour-card .el-tour-pill,
#standings .el-tour-card .eltd-kicker,
#standings .el-tour-card .eltd-tag{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg, rgba(221,178,119,.20), rgba(90,31,46,.30))!important;
  border:1px solid rgba(221,178,119,.18)!important;
  color:var(--elt-gold-soft)!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

#standings .el-tour-card .eltd-modern-tabs,
#standings .el-tour-card .el-tour-subtabs{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:10px!important;
  margin:18px 0 20px!important;
  padding:8px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.03)!important;
  border:1px solid rgba(255,255,255,.06)!important;
}
#standings .el-tour-card .eltd-modern-tab-secondary,
#standings .el-tour-card .el-tour-subtab,
#standings .el-tour-card [data-stage-tab],
#standings .el-tour-card [data-view-tab]{
  appearance:none!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.02)!important;
  color:#f3efe8!important;
  cursor:pointer!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  font-size:15px!important;
  font-weight:800!important;
  transition:all .18s ease!important;
}
#standings .el-tour-card .eltd-modern-tab-secondary.is-active,
#standings .el-tour-card .el-tour-subtab.is-active,
#standings .el-tour-card [data-stage-tab].is-active,
#standings .el-tour-card [data-view-tab].is-active{
  background:linear-gradient(135deg, rgba(221,178,119,.24), rgba(90,31,46,.42))!important;
  border-color:rgba(221,178,119,.24)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;
}

/* Tables */
#standings .el-tour-card table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 10px!important;
  table-layout:auto!important;
  margin:0!important;
}
#standings .el-tour-card table thead th{
  padding:12px 14px!important;
  text-align:left!important;
  color:var(--elt-gold-soft)!important;
  font-size:12px!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  border:none!important;
  white-space:nowrap!important;
}
#standings .el-tour-card table tbody td{
  padding:17px 14px!important;
  border:none!important;
  background:rgba(255,255,255,.05)!important;
  color:#f7f3ec!important;
  font-size:15px!important;
  vertical-align:middle!important;
}
#standings .el-tour-card table tbody td:first-child{
  border-radius:18px 0 0 18px!important;
}
#standings .el-tour-card table tbody td:last-child{
  border-radius:0 18px 18px 0!important;
}
#standings .el-tour-card table tbody tr:hover td{
  background:rgba(255,255,255,.08)!important;
}
#standings .el-tour-card table tbody tr.elbrus-highlight-row td,
#standings .el-tour-card table tbody tr.elbrus td,
#standings .el-tour-card table tbody tr[data-team="Эльбрус"] td{
  background:linear-gradient(135deg, rgba(94,37,49,.95), rgba(32,67,57,.95))!important;
  color:#fff!important;
  font-weight:700!important;
  box-shadow:inset 0 0 0 1px rgba(221,178,119,.14)!important;
}
#standings .el-tour-card table tbody tr.elbrus-highlight-row td:last-child,
#standings .el-tour-card table tbody tr.elbrus td:last-child,
#standings .el-tour-card table tbody tr[data-team="Эльбрус"] td:last-child{
  color:#f2d7a6!important;
}
#standings .el-tour-card .eltd-empty-table td{
  background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03))!important;
  padding:24px 20px!important;
}
#standings .el-tour-card .eltd-empty-table strong,
#standings .el-tour-card .champion,
#standings .el-tour-card .is-champion{
  color:#f0d298!important;
}

/* Result cards */
#standings .el-tour-card .eltd-result-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:14px!important;
  width:100%!important;
}
#standings .el-tour-card .eltd-result,
#standings .el-tour-card .eltd-match,
#standings .el-tour-card .match-card,
#standings .el-tour-card .playoff-match{
  width:100%!important;
  padding:18px 18px 16px!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    linear-gradient(135deg, rgba(19,26,36,.98), rgba(24,32,43,.96))!important;
  border:1px solid rgba(221,178,119,.12)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.20)!important;
}
#standings .el-tour-card .eltd-result-header,
#standings .el-tour-card .match-card__meta,
#standings .el-tour-card .playoff-match__meta{
  display:flex!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:14px!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:var(--elt-gold-soft)!important;
}
#standings .el-tour-card .eltd-result-row,
#standings .el-tour-card .match-team,
#standings .el-tour-card .playoff-team{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px 0!important;
  border-top:1px solid rgba(255,255,255,.05)!important;
}
#standings .el-tour-card .eltd-result-row:first-of-type,
#standings .el-tour-card .match-team:first-of-type,
#standings .el-tour-card .playoff-team:first-of-type{
  border-top:none!important;
}
#standings .el-tour-card .team-name,
#standings .el-tour-card .eltd-team-name{
  color:#fff!important;
  font-weight:700!important;
}
#standings .el-tour-card .team-score,
#standings .el-tour-card .eltd-score{
  color:#fff!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
}

/* Knockout brackets */
#standings .el-tour-card .eltd-knockout{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
#standings .el-tour-card .eltd-knockout-stage{
  min-width:0!important;
  display:grid!important;
  gap:14px!important;
  align-content:start!important;
}
#standings .el-tour-card .eltd-knockout-stage-title,
#standings .el-tour-card .bracket-stage-title{
  margin:0 0 4px!important;
  padding:11px 14px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg, rgba(221,178,119,.18), rgba(90,31,46,.30))!important;
  border:1px solid rgba(221,178,119,.16)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
#standings .el-tour-card .eltd-knockout-pair,
#standings .el-tour-card .bracket-match{
  position:relative!important;
  padding:16px 16px 14px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03))!important;
  border:1px solid rgba(221,178,119,.10)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16)!important;
}
#standings .el-tour-card .eltd-knockout-pair.is-final,
#standings .el-tour-card .bracket-match.is-final{
  background:linear-gradient(135deg, rgba(221,178,119,.18), rgba(90,31,46,.38))!important;
  border-color:rgba(221,178,119,.20)!important;
}
#standings .el-tour-card .eltd-knockout-flow,
#standings .el-tour-card .bracket-connector{display:none!important}

/* Generic text tightening */
#standings .el-tour-card .eltd-section-title,
#standings .el-tour-card .section-title{
  margin:0 0 10px!important;
  color:#fff!important;
  font-size:clamp(24px,2.5vw,38px)!important;
  line-height:1.08!important;
}
#standings .el-tour-card .eltd-section-subtitle,
#standings .el-tour-card .section-subtitle{
  margin:0 0 12px!important;
  color:var(--elt-muted)!important;
  font-size:15px!important;
  line-height:1.55!important;
}

/* Duplicates from previous patches */
#standings .elbrus-layout-tabs{display:none!important}

@media (max-width:1100px){
  #standings .el-tour-card .eltd-knockout{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  #standings .eltd-modern-header{padding:18px!important}
  #standings .eltd-modern-tabs{width:100%!important}
  #standings .eltd-modern-tab{flex:1 1 auto!important;text-align:center!important}
  #standings .el-tour-dashboard .el-tour-card{padding:18px!important;border-radius:24px!important}
  #standings .el-tour-card .eltd-result-list{grid-template-columns:1fr!important}
  #standings .el-tour-card .eltd-modern-tabs,
  #standings .el-tour-card .el-tour-subtabs{grid-template-columns:1fr!important}
}
@media (max-width:640px){
  #standings .el-tour-card .el-tour-existing-grid,
  #standings .el-tour-card .el-tour-group-grid,
  #standings .el-tour-card .eltd-panel:not([hidden]){overflow-x:auto!important}
  #standings .el-tour-card table{min-width:620px!important}
}
