/* ==========================================================================
   DTKV Rangliste – Clean CSS
   - Desktop: App-inspiriertes Flat Design
   - Mobile: nach Inhalt (max-content) + horizontal scroll, T1–T4 per Toggle
   ========================================================================== */

/* ===== Wrapper ===== */
.dtkv-ranking{
  --dtkv-accent: #d35400;       /* später DTKV-Farbe */
  --dtkv-line: #ececec;
  --dtkv-head-bg: #f6f6f6;
  --dtkv-text: #111;
  --dtkv-muted: #666;

  border: 1px solid var(--dtkv-line);
  border-radius: 12px;
  background: #fff;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Table Base ===== */
.dtkv-ranking-table{
  width: 100%;
  
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  color: var(--dtkv-text);
}

.dtkv-ranking-table th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--dtkv-head-bg);
  color: var(--dtkv-muted);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 12px 12px;
  border-bottom: 1px solid var(--dtkv-line);
  white-space: nowrap;
}

.dtkv-ranking-table td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--dtkv-line);
  vertical-align: middle;
  white-space: nowrap;
}

.dtkv-ranking-table td:first-child{
  text-align: center;
}

/* Row hover */
.dtkv-ranking-table tbody tr:hover{
  background: #fafafa;
}

/* Right-aligned numbers */
.dtkv-is-right{
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Links */
.dtkv-ranking-table a{
  color: var(--dtkv-accent);
  font-weight: 700;
  text-decoration: none;
}
.dtkv-ranking-table a:hover{ text-decoration: underline; }

/* ===== Row accent stripe (Desktop) ===== */
.dtkv-ranking-table tbody tr{
  position: relative;
}
.dtkv-ranking-table tbody tr::after{
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 6px;
  background: transparent;
  border-radius: 6px;
}
.dtkv-ranking-table tbody tr:nth-child(-n+10)::after{
  background: color-mix(in srgb, var(--dtkv-accent) 80%, transparent);
  opacity: 0.35;
}

/* Emphasis: points column */
.dtkv-cell--points{
  font-weight: 800;
}

/* Dim: previous rank column cell text */
.dtkv-cell--prev{ color: var(--dtkv-muted); }

/* ===== Rank Badge ===== */
.dtkv-cell--rank{ width: 60px; }

.dtkv-rank-badge{
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #111;
}

/* Top 3 medal style */
.dtkv-row:nth-child(1) .dtkv-rank-badge,
.dtkv-row:nth-child(2) .dtkv-rank-badge,
.dtkv-row:nth-child(3) .dtkv-rank-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  padding: 0 8px;
  font-weight: 800;
  font-size: 13px;
  color: #3b3a36;
  line-height: 1;
}

.dtkv-row:nth-child(1) .dtkv-rank-badge{ background: #f6e7a6; border-color: #ecd778; }
.dtkv-row:nth-child(2) .dtkv-rank-badge{ background: #ededed; border-color: #dcdcdc; }
.dtkv-row:nth-child(3) .dtkv-rank-badge{ background: #f2dbc7; border-color: #e7c5a7; }

/* ===== Trend Chip (Vor.) ===== */
.dtkv-cell--prev{ width: auto; }

.dtkv-move-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 1px solid #e6e6e6;
  background: #f7f7f7;
  line-height: 1;
}

.dtkv-move-chip__icon{
  width: 14px;
  display: inline-block;
  text-align: center;
  opacity: .9;
}

/* Chip colors */
.dtkv-move-up   .dtkv-move-chip{ background:#eaf6ee; border-color:#cfe9d8; color:#1a7f37; }
.dtkv-move-down .dtkv-move-chip{ background:#fdecec; border-color:#f4caca; color:#c62828; }
.dtkv-move-same .dtkv-move-chip{ background:#f3f3f3; border-color:#e3e3e3; color:#666; }
.dtkv-move-na   .dtkv-move-chip{ background:#f6f6f6; border-color:#e9e9e9; color:#888; }

/* ===== Club pill (Verein) ===== */
.dtkv-cell--club{ color: var(--dtkv-muted); }

.dtkv-pill--club{
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #f7f7f7;
  font-weight: 800;
  line-height: 1;
}


/* Toggle: micro-interactions */
.dtkv-toggle-icon{
  display: inline-block;
  transition: transform .18s ease, opacity .18s ease;
  transform-origin: 50% 50%;
  opacity: .95;
}

/* Wenn offen: Icon leicht drehen */
.dtkv-ranking.dtkv-ranking--tcols-open .dtkv-toggle-icon{
  transform: rotate(180deg) translateY(0); /* wirkt wie „zuklappen“ */
  opacity: 1;
}

/* ===== Toggle only on mobile ===== */
@media (min-width: 901px){
  .dtkv-toggle-tcols{ display: none; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 900px){

  /* Table: size by content, scroll in wrapper */
  .dtkv-ranking-table{
    width: max-content;
    min-width: 100%;
    table-layout: auto;
    min-width: 100%;
  }

  .dtkv-ranking-table th{
    font-size: 10.5px;
    padding: 8px 6px;
    text-align: left;
  }
  .dtkv-ranking-table td{
    font-size: 11px;
    padding: 8px 6px;
  }

  /* Column 1: slim */
  .dtkv-ranking-table th:nth-child(1),
  .dtkv-ranking-table td:nth-child(1){
    width: 30px;
  }

  /* Rank / points sizing */
  .dtkv-cell--rank{ width: 54px; }
  .dtkv-cell--points{ width: 60px; }

  .dtkv-rank-badge{
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  /* Top-3 medal smaller on mobile */
  .dtkv-row:nth-child(1) .dtkv-rank-badge,
  .dtkv-row:nth-child(2) .dtkv-rank-badge,
  .dtkv-row:nth-child(3) .dtkv-rank-badge{
    width: 20px;
    height: 20px;
    padding: 0;
  }

  /* Vor.: shrink-to-fit */
  .dtkv-ranking-table th:nth-child(2),
  .dtkv-ranking-table td:nth-child(2){
    width: 1% !important;
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
  }

  /* Vor.-chip smaller */
  .dtkv-cell--prev .dtkv-move-chip{
    padding: 4px 7px;
    gap: 0;
    font-size: 11px;
  }
  .dtkv-cell--prev .dtkv-move-chip__icon{ width: 12px; }

  /* Verein: pill truncation */
  .dtkv-cell--club{
    width: 120px;
    max-width: 120px;
    white-space: nowrap;
  }
  .dtkv-cell--club .dtkv-pill--club{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    font-size: 9px;
  }

  /* Spieler: 1 line + ellipsis */
  .dtkv-cell--player{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
  }
  .dtkv-cell--player .dtkv-link{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Toggle icon-only */
  .dtkv-toggle-tcols{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
  }
  .dtkv-toggle-tcols:hover{ background: rgba(233,84,42,.10); }
  .dtkv-toggle-icon{
    font-size: 18px;
    line-height: 1;
    color: #E9542A;
    transform: translateY(-1px);
  }

  /* T1–T4: soft-collapsed by default */
  .dtkv-ranking-table th:nth-child(6),
  .dtkv-ranking-table th:nth-child(7),
  .dtkv-ranking-table th:nth-child(8),
  .dtkv-ranking-table th:nth-child(9),
  .dtkv-ranking-table td:nth-child(6),
  .dtkv-ranking-table td:nth-child(7),
  .dtkv-ranking-table td:nth-child(8),
  .dtkv-ranking-table td:nth-child(9){
    width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity .18s ease;
  }

  /* open: visible */
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table th:nth-child(6),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table th:nth-child(7),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table th:nth-child(8),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table th:nth-child(9),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table td:nth-child(6),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table td:nth-child(7),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table td:nth-child(8),
  .dtkv-ranking.dtkv-ranking--tcols-open .dtkv-ranking-table td:nth-child(9){
    width: auto;
    padding-left: 6px;
    padding-right: 6px;
    opacity: 1;
    visibility: visible;
  }

  /* Mobile: disable right accent stripe */
  .dtkv-ranking-table tbody tr::after{ display: none; }

}



/* ==========================================================================
   
   PLAYER Abschnitt

   ========================================================================== */

  /* ==========================================================
   DTKV – Flat Dashboard Look (scoped)
   Applies to: [dtkv_spieler_artbot_section]
   ========================================================== */

/* ============================================================
   DTKV Artbot – Dashboard Flat Look (minimal/puristisch)
   ============================================================ */

.dtkv-artbot-section{
  --dtkv-accent: var(--ul2-primary, #E9542A);
  --dtkv-accent-soft: rgba(233,84,42,.10);

  --dtkv-text:#111827;
  --dtkv-muted:#6B7280;
  --dtkv-line:#E5E7EB;
  --dtkv-card:#FFFFFF;
  --dtkv-soft:#F9FAFB;

  --dtkv-radius:18px;
  --dtkv-shadow:0 12px 28px rgba(17,24,39,.06);

  color:var(--dtkv-text);
  margin-top:28px;
}

.dtkv-artbot-section__title{
  font-size:56px;
  line-height:1.05;
  letter-spacing:-.02em;
  margin:0 0 12px 0;
}

.dtkv-artbot-section__sub{
  color:var(--dtkv-muted);
  font-size:14px;
  margin:0 0 24px 0;
}

.dtkv-artbot-section__sub a{
  color:var(--dtkv-accent);
  text-decoration:none;
  font-weight:600;
}
.dtkv-artbot-section__sub a:hover{ text-decoration:underline; }

/* Subtitle */
.dtkv-artbot-section__subtitle{
  margin-top:64px;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-0.01em;
}

/* KPI cards */
.dtkv-artbot-kpis{
  display:flex;
  gap:16px;
  align-items:stretch;
  margin:18px 0 16px 0;
  flex-wrap:wrap;
}

/* Jahresübersicht: KPI-Container immer 1-spaltig (weil wir nur 1 Kachel wollen) */
.dtkv-year-grid .dtkv-artbot-kpis{
  display: block;
}

.dtkv-artbot-kpi{
  flex:0 0 auto;
  min-width:220px;
  background:var(--dtkv-card);
  border:1px solid var(--dtkv-line);
  border-radius:16px;
  padding:16px 18px;
  //* box-shadow:0 8px 22px rgba(17,24,39,.05); *//
  box-shadow: none;
  position:relative;
}

.dtkv-artbot-kpi::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:var(--dtkv-accent);
  opacity:.35;
}

.dtkv-artbot-kpi__label{
  color:var(--dtkv-muted);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.dtkv-artbot-kpi__value{
  font-size:40px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.02em;
}

/* Table card wrapper */
.dtkv-artbot-section__tablewrap{
  background:var(--dtkv-card);
  border:1px solid var(--dtkv-line);
  border-radius:var(--dtkv-radius);
  /* box-shadow:var(--dtkv-shadow); */
  box-shadow: 0 6px 18px rgba(17,24,39,.05);
  overflow:hidden;
  margin-top:14px;
}

/* table base */
.dtkv-player-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

/* ==========================================================================
   DTKV / Artbot – Jahresübersicht (scoped)
   Ziel:
   - keine Overlaps im Grid
   - Tabelle stabil, Jahr schmal, Werte gleich breit
   - Zahlen rechts + tabular-nums
   - ruhiger Shadow, mehr Luft
   - beeinflusst NICHT die Turnier-Tabelle darunter
   ========================================================================== */

/* Jahresübersicht Layout: links KPI-Kachel, rechts Tabelle */
.dtkv-year-grid{
  display: grid;
  grid-template-columns: var(--dtkv-year-left, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* Linke Spalte */
.dtkv-year-grid > .dtkv-artbot-kpis{
  grid-column: 1;
  min-width: 0;
}

/* Rechte Spalte */
.dtkv-year-grid > .dtkv-year-grid__table{
  grid-column: 2;
  min-width: 0; /* WICHTIG gegen Überlauf/Overlaps */
}

/* Zellen: keine wilden Umbrüche, sauberer Overflow */
.dtkv-year-grid .dtkv-player-table th,
.dtkv-year-grid .dtkv-player-table td{
  padding: 12px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;  /* Zahlen “gleich breit” */
}

/* Header: etwas ruhiger */
.dtkv-year-grid .dtkv-player-table thead th{
  font-weight: 700;
  opacity: .9;
}

/* 1. Spalte = Jahr: schmal + links */
.dtkv-year-grid .dtkv-player-table th:nth-child(1),
.dtkv-year-grid .dtkv-player-table td:nth-child(1){
  width: 90px;
  text-align: left;
}

/* Alle Zahlen-Spalten: rechts */
.dtkv-year-grid .dtkv-player-table th:nth-child(n+2),
.dtkv-year-grid .dtkv-player-table td:nth-child(n+2){
  text-align: right;
}

/* Alle “Wert”-Spalten gleich breit (robust ohne Zählen):
   -> wir geben jeder Wert-Spalte denselben Width-Wert.
   Wenn du 7 Spalten hast, funktioniert das weiterhin “gleichmäßig”,
   weil table-layout:fixed + gleiche width pro Spalte. */
.dtkv-year-grid .dtkv-player-table th:nth-child(n+2),
.dtkv-year-grid .dtkv-player-table td:nth-child(n+2){
  width: 90px;               /* Stellschraube: 96–140 je nach Wunsch */
}

/* Zebra sehr subtil */
.dtkv-year-grid .dtkv-player-table tbody tr:nth-child(odd){
  background: rgba(0,0,0,.015);
}

/* Hover subtil */
.dtkv-year-grid .dtkv-player-table tbody tr:hover{
  background: rgba(0,0,0,.03);
}

/* --- Mehr vertikaler Abstand zum nächsten Abschnitt (Turniere…) --- */
.dtkv-artbot-section__subtitle{
  margin-top: 64px;
}

@media (max-width: 900px){
  .dtkv-year-grid{
    grid-template-columns: 1fr;   /* KPI oben, Tabelle unten */
    gap: 16px;
  }

  .dtkv-year-grid .dtkv-player-table th:nth-child(n+2),
  .dtkv-year-grid .dtkv-player-table td:nth-child(n+2){
    width: 96px;                 /* mobile etwas kompakter */
  }
}

.dtkv-player-table tbody tr:last-child td{ border-bottom:none; }

/* zebra + hover */
.dtkv-player-table tbody tr:nth-child(odd) td{
  background:#fff;
}
.dtkv-player-table tbody tr:nth-child(even) td{
  background:rgba(249,250,251,.65);
}

.dtkv-player-table tbody tr:hover td{
  background:rgba(233,84,42,.05);
}

/* “Story” hierarchy for tournament table */
.dtkv-player-table tbody td:nth-child(4){
  font-weight:650;
  color:#0f172a;
}
.dtkv-player-table tbody td:nth-child(2){
  font-weight:650;
}
.dtkv-player-table tbody td:nth-child(8){
  font-weight:650;
}

/* align numbers right where it makes sense (optional) */
.dtkv-player-table thead th:nth-child(1),
.dtkv-player-table thead th:nth-child(2),
.dtkv-player-table tbody td:nth-child(1),
.dtkv-player-table tbody td:nth-child(2){
  text-align:right;
}

/* make “Platz” look like rank badge */
.dtkv-player-table tbody td:nth-child(1){
  color:var(--dtkv-accent);
  font-weight:800;
}

/* remove any weird right bars if they come from pseudo elements */
.dtkv-player-table tbody tr::after,
.dtkv-player-table tbody td::after{
  content:none !important;
}

/* mobile */
@media (max-width: 720px){
  .dtkv-artbot-section__title{ font-size:40px; }
  .dtkv-artbot-kpi{ min-width:unset; flex:1 1 160px; }
  .dtkv-player-table thead th,
  .dtkv-player-table tbody td{ padding:10px 10px; font-size:13px; }
}

/* Empty / error messages */
.dtkv-message{
  background: var(--dtkv-soft);
  border: 1px solid var(--dtkv-line);
  border-radius: var(--dtkv-radius);
  padding: 14px 16px;
  color: var(--dtkv-muted);
}

  /* =========================
   PLAYER: Tabellen-Alignment konsistent
   ========================= */
  .stkv-ul2-root.stkv-ul2--player .ul2-table-wrap table th,
  .stkv-ul2-root.stkv-ul2--player .ul2-table-wrap table td{
    text-align: left; /* default */
  }

  /* Player: Zahlen-Spalten rechts (ab Spalte 2) */
  .stkv-ul2-root.stkv-ul2--player .ul2-table-wrap table th:nth-child(n+2),
  .stkv-ul2-root.stkv-ul2--player .ul2-table-wrap table td:nth-child(n+2){
    text-align: right;
    font-variant-numeric: tabular-nums; /* macht Zahlen optisch “gerade” */
  }

/* --- Jahresübersicht Layout (KPI links, Tabelle rechts) --- */
.dtkv-year-grid{
  display:grid;
  grid-template-columns: 1fr 3fr;
  gap: 18px;
  align-items:start;
  margin-bottom: 24px;
}

.dtkv-year-grid > * {
  min-width: 0;
}

@media (max-width: 900px){
  .dtkv-year-grid{
    grid-template-columns: 1fr;
  }
}

/* KPI Cards kompakter & “Dashboard-like” */
.dtkv-artbot-kpis{
  display:block;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px){
  .dtkv-artbot-kpis{
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Top4 Markierung (Turnierliste) --- */
/* Wichtig: du hast Zebra-Hintergründe direkt auf td – deshalb MUSS die Markierung auch auf td passieren. */
/* ==========================================
   Top4 – nur Punkte-Zelle hervorheben
   (funktioniert direkt mit deinem PHP-Markup)
   ========================================== */

.dtkv-cell--points-top4{
  text-align: right;
  font-weight: 900;
  color: var(--dtkv-accent);
}

.dtkv-points-badge{
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(233,84,42,.12);
  border: 1px solid rgba(233,84,42,.28);
  color: var(--dtkv-accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}





/* --- Kat Badges --- */
.dtkv-kat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--dtkv-line);
  background: var(--dtkv-soft);
  color: var(--dtkv-text);
}

.dtkv-kat--A{
  border-color: rgba(233,84,42,0.35);
  background: rgba(233,84,42,0.10);
  color: var(--dtkv-primary, #E9542A);
}

.dtkv-kat--B{
  border-color: rgba(17,24,39,0.22);
  background: rgba(17,24,39,0.06);
  color: var(--dtkv-text);
}

.dtkv-kat.dtkv-kat--C { background: #ecfdf5; color: #0f766e; border: 1px solid #a7f3d0; }

/* =========================
   Jahresübersicht = EIN Card-Modul
   ========================= */

.dtkv-year-card{
  padding: 16px;
}

/* KPI Row oben in der Card */
.dtkv-year-kpis{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  min-width: 0; /* min-width:0 Fix (wichtig) */
}

/* KPI Cards in der Jahresübersicht etwas ruhiger */
.dtkv-year-card .dtkv-artbot-kpi{
  min-width: 220px;
  box-shadow: 0 6px 16px rgba(17,24,39,0.05);
}

/* Divider zwischen KPI und Tabelle */
.dtkv-year-divider{
  height: 1px;
  background: var(--dtkv-line);
  margin: 14px 0 12px 0;
}

/* Tablewrap innerhalb der Card */
.dtkv-year-tablewrap{
  overflow: hidden; /* kein „Überlappen“ */
  min-width: 0;
}

/* NUR Jahresübersicht-Tabelle: fixed Layout + gleichmässige Spalten */
.dtkv-year-table{
  table-layout: fixed;
  width: 100%;
}

.dtkv-year-table th,
.dtkv-year-table td{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Zahlen rechts + tabular nums (nur Jahresübersicht) */
.dtkv-year-table th:nth-child(n+2),
.dtkv-year-table td:nth-child(n+2){
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px){
  .dtkv-year-card{ padding: 14px; }
  .dtkv-year-card .dtkv-artbot-kpi{ min-width: 160px; }
}

.dtkv-hero-kpi{
  width:100%;
  background: var(--dtkv-card, #fff);
  border: 1px solid var(--dtkv-line, rgba(0,0,0,.08));
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(17,24,39,.06);
}

.dtkv-hero-label{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 8px;
}

.dtkv-hero-rank{
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.dtkv-hero-rank .dtkv-rank-circle {
  width: 42px;          /* größer als Tabellen-Version */
  height: 42px;
  border-radius: 50%;
}


.dtkv-hero-points{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  opacity: .85;
  font-variant-numeric: tabular-nums;
}

.dtkv-hero-points span{
  color: var(--dtkv-accent);
  font-weight: 800;
}

@media (max-width: 900px){
  .dtkv-hero-rank{ font-size: 54px; }
}

/* Rang + Medaillen */
.dtkv-cell--rank{
  white-space: nowrap;
}

.dtkv-medal{
  display:inline-block;
  margin-right: 8px;
  transform: translateY(1px); /* optische Baseline */
}

.dtkv-rankval{
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* =========================
   Rang-Kreise 1–3
   ========================= */

.dtkv-cell--rank{
  white-space: nowrap;
}

.dtkv-rank-circle{
  display:inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  transform: translateY(-1px);
}

.dtkv-rank-circle--gold{
  background: #d4af37;
}

.dtkv-rank-circle--silver{
  background: #bfc3c7;
}

.dtkv-rank-circle--bronze{
  background: #c07a3a;
}

.dtkv-rank-value{
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* optional: Rang 1–3 Zahl leicht betonen */
.dtkv-cell--rank-1 .dtkv-rankval,
.dtkv-cell--rank-2 .dtkv-rankval,
.dtkv-cell--rank-3 .dtkv-rankval{
  font-weight: 900;
}