/* TryCasino v3 „Blockwerk“ – Bereich: tables. Jede Regel beginnt mit body.tc-redesign.tc-max.tc-v3 (Tokens/Bausteine: max-base.css).
   Live-Tische: Übersicht als Seite im Rahmen (#tablesPage, .tt-page), Tisch als Vollbild (#tableOverlay, .tt-sheet), Dialog „Tisch
   eröffnen“ (#ttCreate). Markup aus js/live-tables.js und js/live-cards.js – alles mit eigenen Klassen tt-*, damit die alten
   tb-*-Schichten (max-tables.css, max-finish-tables.css, Saison-Dateien) hier nicht mehr greifen.
   Bewegung nur über transform/opacity; nichts hängt an prefers-reduced-motion. */

/* ------------------------------------------------------------ Farben der Stufen und Topf-Anteile */
body.tc-redesign.tc-max.tc-v3 {
  --tt-lv-start: var(--mx-text-3);
  --tt-lv-kupfer: color-mix(in srgb, var(--mx-gold) 55%, var(--mx-redstone));
  --tt-lv-eisen: var(--mx-text-2);
  --tt-lv-gold: var(--mx-gold);
  --tt-lv-diamant: var(--mx-diamond);
  --tt-lv-smaragd: var(--mx-emerald);
  --tt-lv-netherit: color-mix(in srgb, var(--mx-amethyst) 45%, var(--mx-text-3));
  --tt-p0: var(--mx-gold);
  --tt-p1: var(--mx-emerald);
  --tt-p2: var(--mx-diamond);
  --tt-p3: var(--mx-amethyst);
  --tt-p4: var(--mx-redstone);
  --tt-p5: color-mix(in srgb, var(--mx-gold) 55%, var(--mx-redstone));
  --tt-p6: color-mix(in srgb, var(--mx-emerald) 50%, var(--mx-gold));
  --tt-p7: color-mix(in srgb, var(--mx-diamond) 50%, var(--mx-amethyst));
  --tt-p8: color-mix(in srgb, var(--mx-gold) 45%, var(--mx-text));
  --tt-p9: color-mix(in srgb, var(--mx-emerald) 55%, var(--mx-diamond));
  /* Tischrand mit Stufen-Ecken (Blockkante statt Rundung) */
  --tt-steps: polygon(0 24px, 8px 24px, 8px 16px, 16px 16px, 16px 8px, 24px 8px, 24px 0, calc(100% - 24px) 0, calc(100% - 24px) 8px, calc(100% - 16px) 8px, calc(100% - 16px) 16px, calc(100% - 8px) 16px, calc(100% - 8px) 24px, 100% 24px, 100% calc(100% - 24px), calc(100% - 8px) calc(100% - 24px), calc(100% - 8px) calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) calc(100% - 8px), calc(100% - 24px) calc(100% - 8px), calc(100% - 24px) 100%, 24px 100%, 24px calc(100% - 8px), 16px calc(100% - 8px), 16px calc(100% - 16px), 8px calc(100% - 16px), 8px calc(100% - 24px), 0 calc(100% - 24px));
  --tt-steps-sm: polygon(0 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px));
}
body.tc-redesign.tc-max.tc-v3 .tt-ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.tc-redesign.tc-max.tc-v3 .mx-btn .tt-ico { margin-right: 8px; }
body.tc-redesign.tc-max.tc-v3 .mx-btn--icon .tt-ico { margin: 0; }

/* ============================================================ Übersicht (Seite im Rahmen) */
body.tc-redesign.tc-max.tc-v3 .tt-page[hidden] { display: none !important; }
body.tc-redesign.tc-max.tc-v3 .tt-page.is-in { animation: mxFadeUp 180ms var(--mx-ease) both; }
body.tc-redesign.tc-max.tc-v3 .tt-page-in { max-width: 1240px; }
body.tc-redesign.tc-max.tc-v3 .tt-page-head { align-items: flex-start; flex-wrap: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-page-intro { display: grid; gap: 8px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-page-intro .mx-h2 { margin: 0; color: var(--mx-text); font-weight: 800; }
body.tc-redesign.tc-max.tc-v3 .tt-page-intro .mx-lead { margin: 0; color: var(--mx-text-2); }
body.tc-redesign.tc-max.tc-v3 .tt-page-tools { display: flex; align-items: center; gap: 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-page-tools .mx-btn { display: inline-flex; align-items: center; justify-content: center; color: var(--b-ink); }
body.tc-redesign.tc-max.tc-v3 .tt-tabs { margin: 0 0 28px; }
body.tc-redesign.tc-max.tc-v3 .tt-tab-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 2px;
  color: var(--mx-text-2);
  font: 700 12.5px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
}

/* Gruppen (Reiter „Alle“) */
body.tc-redesign.tc-max.tc-v3 .tt-group + .tt-group { margin-top: 40px; }
body.tc-redesign.tc-max.tc-v3 .tt-group-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 14px;
}
body.tc-redesign.tc-max.tc-v3 .tt-group-head .mx-h3 { margin: 0; color: var(--mx-text); font-weight: 800; }
body.tc-redesign.tc-max.tc-v3 .tt-group-head p { margin: 0; flex: 1 1 260px; color: var(--mx-text-2); font-size: 14px; line-height: 1.45; }
body.tc-redesign.tc-max.tc-v3 .tt-group-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mx-text-2);
  font: 600 13px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

/* Tischkarte */
body.tc-redesign.tc-max.tc-v3 .tt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: var(--mx-r-lg);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
  color: var(--mx-text);
  cursor: pointer;
  transition: transform var(--mx-mid) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-card:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--mx-raised) 50%, var(--mx-surface)); }
body.tc-redesign.tc-max.tc-v3 .tt-card.is-maint { cursor: default; }
body.tc-redesign.tc-max.tc-v3 .tt-card.is-maint > :not(.tt-card-top) { opacity: .55; }
body.tc-redesign.tc-max.tc-v3 .tt-list.is-enter .tt-card,
body.tc-redesign.tc-max.tc-v3 .tt-list.is-enter .tt-invite { animation: mxPlace var(--mx-slow) var(--mx-ease) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }
body.tc-redesign.tc-max.tc-v3 .tt-card-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-card-art {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--mx-r-md);
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-card-art img { width: 28px; height: 28px; transition: transform var(--mx-slow) var(--mx-ease); }
body.tc-redesign.tc-max.tc-v3 .tt-card:hover .tt-card-art img { transform: scale(1.08) rotate(-4deg); }
body.tc-redesign.tc-max.tc-v3 .tt-card-kind { min-width: 0; color: var(--mx-text-2); font: 600 13.5px/1.2 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-card-live,
body.tc-redesign.tc-max.tc-v3 .tt-card-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 8px;
  border-radius: var(--mx-r-sm);
  background: color-mix(in srgb, var(--mx-redstone) 12%, var(--mx-surface));
  color: var(--mx-text);
  font: 600 12.5px/1 var(--mx-font-body);
  white-space: nowrap;
}
body.tc-redesign.tc-max.tc-v3 .tt-card-state { background: var(--mx-raised); color: var(--mx-text-2); }
body.tc-redesign.tc-max.tc-v3 .tt-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: var(--mx-text);
  font: 800 20px/1.1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-head);
}
body.tc-redesign.tc-max.tc-v3 .tt-card-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-card-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-card-facts > div { display: grid; gap: 3px; }
body.tc-redesign.tc-max.tc-v3 .tt-card-facts dt { color: var(--mx-text-3); font: 500 12.5px/1.2 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-card-facts dd { margin: 0; color: var(--mx-text); font: 700 15px/1.2 var(--mx-font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-card-seats { display: flex; flex-wrap: wrap; gap: 6px; }
body.tc-redesign.tc-max.tc-v3 .tt-box {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 2px 0 var(--mx-edge);
  color: var(--mx-text-2);
  font: 700 11px/1 var(--mx-font-body);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-box.is-free {
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-box.is-taken { background: color-mix(in srgb, var(--mx-emerald) 22%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-box.is-taken:empty::after { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-box img { width: 100%; height: 100%; border-radius: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-card-people { min-width: 0; color: var(--mx-text-2); font: 500 13px/1.3 var(--mx-font-body); font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-card-go { flex: none; min-height: 40px; color: var(--b-ink); }
body.tc-redesign.tc-max.tc-v3 .tt-card:hover .tt-card-go.mx-btn--stone { --b-bg: var(--mx-hover); }

/* Einladung „Tisch eröffnen“ und Leerzustand */
body.tc-redesign.tc-max.tc-v3 .tt-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: var(--mx-r-lg);
  background: color-mix(in srgb, var(--mx-gold) 7%, var(--mx-surface));
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-invite-text { display: grid; gap: 4px; min-width: 0; flex: 1 1 280px; }
body.tc-redesign.tc-max.tc-v3 .tt-invite strong { color: var(--mx-text); font: 700 17px/1.3 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-invite p { margin: 0; color: var(--mx-text-2); font-size: 14.5px; line-height: 1.5; }
body.tc-redesign.tc-max.tc-v3 :is(.tt-invite, .tt-empty) .mx-btn { color: var(--b-ink); }
body.tc-redesign.tc-max.tc-v3 .tt-empty { border-radius: var(--mx-r-lg); background: var(--mx-surface); box-shadow: inset 0 0 0 1px var(--mx-line-soft); }

/* Alter Startseiten-Bereich „Gemeinsam spielen“: dieselben Karten */
body.tc-redesign.tc-max.tc-v3 #tableLobby { display: block !important; }

/* ============================================================ Dialog „Tisch eröffnen“ */
body.tc-redesign.tc-max.tc-v3 .tt-create {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--mx-r-xl);
  background: var(--mx-surface);
  color: var(--mx-text);
  box-shadow: var(--mx-shadow-lift), inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-create[open] { animation: mxPlace 260ms var(--mx-ease) both; }
body.tc-redesign.tc-max.tc-v3 .tt-create::backdrop { background: rgba(0, 0, 0, .6); }
body.tc-redesign.tc-max.tc-v3 .tt-create-in { display: grid; gap: 20px; padding: 24px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-head .mx-h3 { margin: 0; color: var(--mx-text); font-weight: 800; }
body.tc-redesign.tc-max.tc-v3 .tt-create .mx-btn { display: inline-flex; align-items: center; justify-content: center; color: var(--b-ink); }
body.tc-redesign.tc-max.tc-v3 .tt-create-lead { margin: -8px 0 0; color: var(--mx-text-2); font-size: 14.5px; line-height: 1.5; }
body.tc-redesign.tc-max.tc-v3 .tt-create-step { display: grid; gap: 10px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-label { color: var(--mx-text-2); font: 600 13px/1.2 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-create-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-game {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 76px;
  padding: 12px 6px 10px;
  border: 0;
  border-radius: var(--mx-r-md);
  background: var(--mx-raised);
  color: var(--mx-text);
  font: 600 13px/1.2 var(--mx-font-body);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--mx-block-sm);
  cursor: pointer;
  transition: transform var(--mx-fast) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-create-game:hover { transform: translateY(-1px); background: var(--mx-hover); }
body.tc-redesign.tc-max.tc-v3 .tt-create-game:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-create-game[aria-pressed="true"] {
  background: color-mix(in srgb, var(--mx-gold) 14%, var(--mx-raised));
  box-shadow: inset 0 0 0 2px var(--mx-gold), 0 2px 0 var(--mx-gold-lo);
}
body.tc-redesign.tc-max.tc-v3 .tt-create-game img { width: 30px; height: 30px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-desc { margin: 0; color: var(--mx-text-2); font-size: 13.5px; line-height: 1.45; }
body.tc-redesign.tc-max.tc-v3 .tt-create-rows { display: grid; gap: 6px; }
body.tc-redesign.tc-max.tc-v3 .tt-create-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px;
  border-radius: var(--mx-r-md);
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
  cursor: pointer;
  transition: box-shadow var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-create-row:hover { box-shadow: inset 0 0 0 1px var(--mx-text-3); }
body.tc-redesign.tc-max.tc-v3 .tt-create-row:has(input:checked) { background: color-mix(in srgb, var(--mx-gold) 7%, var(--mx-sunken)); box-shadow: inset 0 0 0 2px var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-create-row.is-off { opacity: .5; cursor: not-allowed; }
body.tc-redesign.tc-max.tc-v3 .tt-create-row input { width: 16px; height: 16px; margin: 0; accent-color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-create-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14.5px/1.2 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-create-stake { color: var(--mx-text-2); font: 600 13.5px/1.2 var(--mx-font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-create-state { min-width: 74px; text-align: right; color: var(--mx-text-3); font: 500 12.5px/1.2 var(--mx-font-body); white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-create-state.is-on { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-create-foot { display: flex; justify-content: flex-end; gap: 8px; }

/* ============================================================ Am Tisch: Vollbild */
/* Höher als der Schleier aus max-v3-overlays.css (dort zählt :is(.overlay, #v3o) als ID) */
body.tc-redesign.tc-max.tc-v3:not(#_):not(#_):not(#_):not(#_) #tableOverlay.tt-overlay.overlay {
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  background: var(--mx-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
}
body.tc-redesign.tc-max.tc-v3 #tableOverlay.tt-overlay[hidden] { display: none !important; }
body.tc-redesign.tc-max.tc-v3 #tableOverlay .tt-sheet {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--mx-bg);
  color: var(--mx-text);
  outline: 0 !important;
  animation: ttSheetIn 240ms var(--mx-ease) both;
}
@keyframes ttSheetIn {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: none; }
}
body.tc-redesign.tc-max.tc-v3 .tt-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px var(--mx-gutter);
  background: var(--mx-bg-2);
  border-bottom: 1px solid var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-head .mx-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--b-ink); }
body.tc-redesign.tc-max.tc-v3 .tt-head-art {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--mx-r-md);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-head-art img { width: 28px; height: 28px; }
body.tc-redesign.tc-max.tc-v3 .tt-head-text { flex: 1; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-title {
  display: block;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mx-text);
  font: 800 22px/1.15 var(--mx-font-display);
  font-stretch: var(--mx-wdth-head);
  white-space: nowrap;
}
body.tc-redesign.tc-max.tc-v3 .tt-live {
  display: inline-flex;
  margin-left: 10px;
  vertical-align: 3px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--mx-r-sm);
  background: color-mix(in srgb, var(--mx-redstone) 14%, var(--mx-surface));
  color: var(--mx-text);
  font: 600 12.5px/1 var(--mx-font-body);
}
body.tc-redesign.tc-max.tc-v3 .tt-live[hidden] { display: none; }
body.tc-redesign.tc-max.tc-v3 .tt-sub { margin: 3px 0 0; overflow: hidden; color: var(--mx-text-2); font-size: 13.5px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
body.tc-redesign.tc-max.tc-v3 .tt-head-tools { display: flex; align-items: center; gap: 10px; flex: none; }
body.tc-redesign.tc-max.tc-v3 .tt-balance {
  display: grid;
  justify-items: end;
  gap: 3px;
  padding: 6px 12px;
  border-radius: var(--mx-r-md);
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-balance-label { color: var(--mx-text-3); font: 500 12px/1 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-balance b { color: var(--mx-gold); font: 700 15px/1 var(--mx-font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-body { min-height: 0; overflow: hidden; }
body.tc-redesign.tc-max.tc-v3 .tt-loading { margin: 0; padding: 64px 20px; text-align: center; color: var(--mx-text-2); }

/* Raum: Status, Tisch (+ Seite), Aktionen */
body.tc-redesign.tc-max.tc-v3 .tt-room { display: flex; flex-direction: column; height: 100%; min-height: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-status {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 8px var(--mx-gutter);
}
body.tc-redesign.tc-max.tc-v3 .tt-phase {
  min-width: 0;
  overflow: hidden;
  color: var(--mx-text);
  font: 600 14.5px/1.3 var(--mx-font-body);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-timer {
  flex: 1 1 120px;
  max-width: 320px;
  height: 6px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
  transition: opacity var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-timer i { display: block; height: 100%; background: var(--mx-gold); transform-origin: left center; }
body.tc-redesign.tc-max.tc-v3 .tt-timer.is-low i { background: var(--mx-redstone); }
body.tc-redesign.tc-max.tc-v3 .tt-timer.is-off { opacity: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-blocked {
  margin: 0 var(--mx-gutter) 8px;
  padding: 10px 14px;
  border-radius: var(--mx-r-md);
  background: color-mix(in srgb, var(--mx-redstone) 12%, var(--mx-surface));
  color: var(--mx-text);
  font-size: 13.5px;
}
body.tc-redesign.tc-max.tc-v3 .tt-blocked i { color: var(--mx-text-2); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-mtabs { display: none; align-self: flex-start; margin: 0 var(--mx-gutter) 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 0 var(--mx-gutter) 12px;
}
body.tc-redesign.tc-max.tc-v3 .tt-main.has-side { grid-template-columns: minmax(0, 1fr) 288px; }
body.tc-redesign.tc-max.tc-v3 .tt-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 8px 2px;
}
body.tc-redesign.tc-max.tc-v3 .tt-stage > :first-child { margin: auto; }
body.tc-redesign.tc-max.tc-v3 .tt-fx { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
body.tc-redesign.tc-max.tc-v3 .tt-side {
  min-height: 0;
  overflow: auto;
  padding: 16px;
  border-radius: var(--mx-r-lg);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-side-title { margin: 0 0 10px; color: var(--mx-text); font: 700 15px/1.3 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-people, .tt-log, .tt-pot-history) { display: grid; margin: 0; padding: 0; list-style: none; }
body.tc-redesign.tc-max.tc-v3 .tt-people li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--mx-line-soft);
  font-size: 14px;
}
body.tc-redesign.tc-max.tc-v3 .tt-people li:last-child { border-bottom: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-people b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
body.tc-redesign.tc-max.tc-v3 .tt-people li.is-me b { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-people i { color: var(--mx-text-2); font-style: normal; font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-people em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-people em.is-win { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-people em.is-lose { color: var(--mx-text-3); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-people, .tt-log) li.is-empty { color: var(--mx-text-3); font-size: 13.5px; }
body.tc-redesign.tc-max.tc-v3 .tt-log li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mx-line-soft);
  color: var(--mx-text-2);
  font-size: 13.5px;
  line-height: 1.4;
}
body.tc-redesign.tc-max.tc-v3 .tt-log li:first-child { color: var(--mx-text); }
body.tc-redesign.tc-max.tc-v3 .tt-log li:last-child { border-bottom: 0; }

/* Aktionen unten: immer sichtbar */
body.tc-redesign.tc-max.tc-v3 .tt-controls {
  display: grid;
  gap: 8px;
  flex: none;
  padding: 12px var(--mx-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--mx-bg-2);
  border-top: 1px solid var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-room.is-busy .tt-controls { opacity: .7; pointer-events: none; }
body.tc-redesign.tc-max.tc-v3 .tt-controls .mx-btn { display: inline-flex; align-items: center; justify-content: center; color: var(--b-ink); white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-row > :is(.tt-chips, .tt-info) { flex: 1 1 auto; }
body.tc-redesign.tc-max.tc-v3 .tt-row--play { flex-wrap: nowrap; justify-content: flex-end; }
body.tc-redesign.tc-max.tc-v3 .tt-row--play > .mx-btn,
body.tc-redesign.tc-max.tc-v3 .tt-row-main > .mx-btn { min-width: 150px; }
body.tc-redesign.tc-max.tc-v3 .tt-row-main { display: flex; gap: 12px; flex: none; }
body.tc-redesign.tc-max.tc-v3 .tt-row--meta { justify-content: flex-end; }
body.tc-redesign.tc-max.tc-v3 .tt-row--meta .tt-amount { height: 34px; }
body.tc-redesign.tc-max.tc-v3 .tt-info { min-width: 0; color: var(--mx-text-2); font-size: 14px; line-height: 1.4; }
body.tc-redesign.tc-max.tc-v3 .tt-info b { color: var(--mx-text); font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-info b.is-win { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-fine { margin: 0; color: var(--mx-text-3); font-size: 12.5px; line-height: 1.45; }
body.tc-redesign.tc-max.tc-v3 .tt-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-chip {
  min-width: 44px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text);
  font: 700 13.5px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 0 var(--mx-edge);
  cursor: pointer;
  transition: transform var(--mx-fast) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-chip:hover { transform: translateY(-1px); background: var(--mx-hover); }
body.tc-redesign.tc-max.tc-v3 .tt-chip:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-chip.is-active {
  background: var(--mx-gold);
  color: var(--mx-gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 0 var(--mx-gold-lo);
}
body.tc-redesign.tc-max.tc-v3 .tt-amount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--mx-r-md);
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
  transition: box-shadow var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-amount:focus-within { box-shadow: inset 0 0 0 2px var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-amount span { color: var(--mx-text-3); font: 500 12.5px/1 var(--mx-font-body); white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-amount input {
  width: 110px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0 !important;
  background: transparent;
  color: var(--mx-text);
  font: 700 15px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-amount input::placeholder { color: var(--mx-text-3); font-weight: 500; }
body.tc-redesign.tc-max.tc-v3 .tt-amount i { font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-raise { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-raise input[type="range"] { flex: 1 1 140px; min-width: 120px; accent-color: var(--mx-gold); }

/* ============================================================ Tischfläche und Karten */
body.tc-redesign.tc-max.tc-v3 .tt-felt {
  position: relative;
  padding: 12px;
  background: var(--mx-raised);
  clip-path: var(--tt-steps);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06), inset 0 -5px 0 var(--mx-edge);
}
body.tc-redesign.tc-max.tc-v3 .tt-felt::before {
  content: '';
  position: absolute;
  inset: 12px 12px 17px;
  background-color: var(--mx-sunken);
  background-image:
    linear-gradient(var(--mx-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--mx-line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  clip-path: var(--tt-steps-sm);
}
body.tc-redesign.tc-max.tc-v3 .tt-felt > * { position: relative; z-index: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-felt-print {
  margin: 0;
  color: var(--mx-text-3);
  font: 800 15px/1.2 var(--mx-font-display);
  font-stretch: var(--mx-wdth-head);
  opacity: .7;
}
/* Kartenstapel: Karten gleiten von hier an die Plätze */
body.tc-redesign.tc-max.tc-v3 .tt-deck { position: absolute !important; z-index: 2 !important; width: 34px; aspect-ratio: 5 / 7; }
body.tc-redesign.tc-max.tc-v3 .tt-deck i {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: var(--mx-hover);
  box-shadow: inset 0 0 0 3px var(--mx-raised), 0 2px 0 rgba(0, 0, 0, .45);
}
body.tc-redesign.tc-max.tc-v3 .tt-deck i:nth-child(2) { transform: translate(-2px, -2px); }
body.tc-redesign.tc-max.tc-v3 .tt-deck i:nth-child(3) { transform: translate(-4px, -4px); }
body.tc-redesign.tc-max.tc-v3 .tt-deck i:nth-child(3)::after {
  content: '';
  position: absolute;
  inset: 34% 30%;
  border-radius: 2px;
  background: var(--mx-gold);
  opacity: .8;
}

/* Spielkarte als Block */
body.tc-redesign.tc-max.tc-v3 .tt-pc {
  --cw: 46px;
  --suit: var(--mx-edge);
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--cw);
  aspect-ratio: 5 / 7;
  border-radius: 6px;
  background: var(--mx-text);
  color: var(--suit);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 3px 0 rgba(0, 0, 0, .5);
  vertical-align: bottom;
}
body.tc-redesign.tc-max.tc-v3 .tt-pc[data-suit="diamant"] { --suit: color-mix(in srgb, var(--mx-diamond) 50%, var(--mx-bg)); }
body.tc-redesign.tc-max.tc-v3 .tt-pc[data-suit="smaragd"] { --suit: var(--mx-emerald-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-pc[data-suit="redstone"] { --suit: color-mix(in srgb, var(--mx-redstone) 82%, var(--mx-bg)); }
body.tc-redesign.tc-max.tc-v3 .tt-pc[data-suit="kohle"] { --suit: var(--mx-amethyst-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-pc b {
  position: absolute;
  top: 5%;
  left: 11%;
  font: 800 calc(var(--cw) * .38)/1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-num);
}
body.tc-redesign.tc-max.tc-v3 .tt-pc svg {
  position: absolute;
  right: 9%;
  bottom: 7%;
  width: 52%;
  height: auto;
  fill: var(--suit);
}
/* Rückseite (auch als Deckel beim Umdrehen) */
body.tc-redesign.tc-max.tc-v3 .tt-pc > i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--mx-hover);
  box-shadow: inset 0 0 0 3px var(--mx-raised), inset 0 -3px 0 rgba(0, 0, 0, .25);
  opacity: 0;
}
body.tc-redesign.tc-max.tc-v3 .tt-pc > i::after {
  content: '';
  position: absolute;
  inset: 36% 32%;
  border-radius: 2px;
  background: var(--mx-gold);
  opacity: .75;
}
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-back { background: var(--mx-hover); }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-back > i { opacity: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-slot {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-deal { animation: ttDeal 460ms var(--mx-ease) var(--d, 0ms) both; }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-deal-flip { animation: ttDealFlip 760ms var(--mx-ease) var(--d, 0ms) both; }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-deal-flip > i { animation: ttBackOff 760ms linear var(--d, 0ms) both; }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-flip { animation: ttFlip 440ms ease-in-out var(--d, 0ms) both; }
body.tc-redesign.tc-max.tc-v3 .tt-pc.is-flip > i { animation: ttBackHalf 440ms linear var(--d, 0ms) both; }
@keyframes ttDeal {
  0% { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -60px)) rotate(-14deg) scale(.72); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes ttDealFlip {
  0% { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -60px)) rotate(-14deg) scale(.72); }
  16% { opacity: 1; }
  60% { transform: none; }
  80% { transform: scaleX(0); }
  100% { transform: none; }
}
@keyframes ttBackOff {
  0%, 79% { opacity: 1; }
  80%, 100% { opacity: 0; }
}
@keyframes ttFlip {
  0% { transform: none; }
  50% { transform: scaleX(0); }
  100% { transform: none; }
}
@keyframes ttBackHalf {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Hand: Karten fächern leicht überlappend */
body.tc-redesign.tc-max.tc-v3 .tt-hand { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: calc(var(--hand-cw, 46px) * 1.4); }
body.tc-redesign.tc-max.tc-v3 .tt-hand .tt-pc { --cw: var(--hand-cw, 46px); }
body.tc-redesign.tc-max.tc-v3 .tt-hand .tt-pc + .tt-pc { margin-left: calc(var(--cw) * -.42); }
body.tc-redesign.tc-max.tc-v3 .tt-hand-wait { align-self: center; color: var(--mx-text-3); font-size: 13px; }
body.tc-redesign.tc-max.tc-v3 .tt-value {
  position: absolute;
  top: -10px;
  right: -14px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border-radius: var(--mx-r-sm);
  background: var(--mx-edge);
  color: var(--mx-text);
  font: 800 15px/1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-num);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px var(--mx-line), 0 2px 0 rgba(0, 0, 0, .4);
}

/* Platz: Kopf, Name, Einsatz, Status */
body.tc-redesign.tc-max.tc-v3 .tt-seat {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mx-text);
  font: inherit;
  text-align: left;
}
body.tc-redesign.tc-max.tc-v3 .tt-seat-plate {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 6px 10px 6px 6px;
  border-radius: var(--mx-r-md);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft), 0 3px 0 var(--mx-edge);
  transition: box-shadow var(--mx-mid) var(--mx-ease), background-color var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-seat-head {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  overflow: hidden;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text-2);
}
body.tc-redesign.tc-max.tc-v3 .tt-seat-head img { width: 100%; height: 100%; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-head.is-empty { background: var(--mx-sunken); box-shadow: inset 0 0 0 1px var(--mx-line); }
body.tc-redesign.tc-max.tc-v3 .tt-seat-id { display: grid; gap: 2px; min-width: 0; flex: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-id b { overflow: hidden; color: var(--mx-text); font: 700 13.5px/1.2 var(--mx-font-body); white-space: nowrap; text-overflow: ellipsis; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-id i { overflow: hidden; color: var(--mx-text-2); font: 500 12.5px/1.2 var(--mx-font-body); font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-me .tt-seat-plate { background: var(--mx-raised); }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-me .tt-seat-id b { color: var(--mx-gold); }
/* Wer dran ist: Gold-Rahmen und eckiger Zeitbalken */
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-turn .tt-seat-plate { box-shadow: inset 0 0 0 2px var(--mx-gold), 0 3px 0 var(--mx-gold-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-clock {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-clock u { display: block; height: 100%; background: var(--mx-gold); transform-origin: left center; text-decoration: none; }
body.tc-redesign.tc-max.tc-v3 .tt-clock.is-low u { background: var(--mx-redstone); }
/* Gewinner: Smaragd-Rahmen, beim Wechsel kurzes Aufleuchten */
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-winner .tt-seat-plate { box-shadow: inset 0 0 0 2px var(--mx-emerald), 0 3px 0 var(--mx-emerald-lo); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-seat, .tt-pot-players li).is-flash::after {
  content: '';
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: var(--mx-r-lg);
  background: color-mix(in srgb, var(--mx-emerald) 34%, transparent);
  pointer-events: none;
  animation: ttFlash 1500ms var(--mx-ease) both;
}
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-flash .tt-seat-plate { animation: mxPop 520ms var(--mx-ease-spring) 300ms both; }
@keyframes ttFlash {
  0% { opacity: 0; transform: scale(.9); }
  18% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.08); }
}
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-folded > :not(.tt-seat-note),
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-out > * { opacity: .45; }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-lost .tt-hand { opacity: .55; }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-free .tt-seat-plate { background: transparent; box-shadow: inset 0 0 0 1px var(--mx-line); }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-free .tt-seat-id b { color: var(--mx-text-2); font-weight: 600; }
body.tc-redesign.tc-max.tc-v3 button.tt-seat.is-free { cursor: pointer; }
body.tc-redesign.tc-max.tc-v3 button.tt-seat.is-free .tt-seat-head { background: var(--mx-raised); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 0 var(--mx-edge); color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 button.tt-seat.is-free .tt-seat-id i { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 button.tt-seat.is-free:hover .tt-seat-plate { background: var(--mx-surface); box-shadow: inset 0 0 0 1px var(--mx-text-3), 0 3px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-seat.is-closed { opacity: .6; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-note {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--mx-sunken);
  color: var(--mx-text-2);
  font: 600 12px/1.2 var(--mx-font-body);
  white-space: nowrap;
}
body.tc-redesign.tc-max.tc-v3 p.tt-seat-note { margin: 0; max-width: 100%; white-space: normal; text-align: center; }
/* Einsatz als Block mit Münze */
body.tc-redesign.tc-max.tc-v3 .tt-seat-bet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 5px;
  border-radius: var(--mx-r-sm);
  background: var(--mx-edge);
  color: var(--mx-text);
  font: 700 13px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-coin {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--mx-gold);
  box-shadow: inset 0 -2px 0 var(--mx-gold-lo), inset 0 1px 0 rgba(255, 255, 255, .45);
}
body.tc-redesign.tc-max.tc-v3 .is-new { animation: mxPlace var(--mx-slow) var(--mx-ease-spring) both; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text-2);
  font: 700 13px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  animation: mxPlace var(--mx-slow) var(--mx-ease) both;
}
body.tc-redesign.tc-max.tc-v3 .tt-seat-result i { font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-result.is-win { background: color-mix(in srgb, var(--mx-emerald) 18%, var(--mx-surface)); color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-seat-result.is-lose { color: var(--mx-text-3); }

/* Fliegende Einsätze */
body.tc-redesign.tc-max.tc-v3 .tt-fly {
  position: absolute;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border-radius: 4px;
  background: var(--mx-gold);
  box-shadow: inset 0 -3px 0 var(--mx-gold-lo), inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 rgba(0, 0, 0, .35);
  animation: ttFly 640ms cubic-bezier(.45, 0, .25, 1) var(--d, 0ms) both;
}
body.tc-redesign.tc-max.tc-v3 .tt-fly.has-label {
  width: auto;
  height: auto;
  padding: 6px 10px;
  border-radius: var(--mx-r-sm);
  background: var(--mx-emerald);
  color: var(--mx-emerald-ink);
  font: 800 17px/1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-num);
  font-style: normal;
  white-space: nowrap;
  box-shadow: inset 0 -3px 0 var(--mx-emerald-lo), 0 2px 0 rgba(0, 0, 0, .35);
  animation: ttFlyLabel 1500ms var(--mx-ease) var(--d, 0ms) both;
}
@keyframes ttFly {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  14% { opacity: 1; transform: translate(calc(var(--dx) * .08), calc(var(--dy) * .08 - 16px)) scale(1); }
  86% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.8); }
}
@keyframes ttFlyLabel {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  12% { opacity: 1; transform: translate(0, -10px) scale(1); }
  50% { transform: translate(var(--dx), calc(var(--dy) - 26px)) scale(1.15); }
  80% { opacity: 1; transform: translate(var(--dx), calc(var(--dy) - 30px)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) - 48px)) scale(1); }
}
body.tc-redesign.tc-max.tc-v3 .is-bump { display: inline-block; animation: mxPop 420ms var(--mx-ease-spring); }

/* ============================================================ Poker (Texas Hold'em) */
body.tc-redesign.tc-max.tc-v3 .tt-pk {
  position: relative;
  width: min(100%, 1000px, calc((100dvh - 300px) * 2));
  min-width: 560px;
  aspect-ratio: 2 / 1;
  margin: auto;
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-felt { position: absolute !important; inset: 13% 9%; z-index: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-pk .tt-deck { top: 22%; right: 25%; }
body.tc-redesign.tc-max.tc-v3 .tt-felt-center {
  position: absolute !important;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-stage { color: var(--mx-text-3); font: 600 13px/1 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-pk-board { display: flex; gap: 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-board .tt-pc { --cw: clamp(40px, 5.2vw, 58px); }
body.tc-redesign.tc-max.tc-v3 .tt-pot { display: flex; align-items: baseline; gap: 10px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot span { color: var(--mx-text-2); font: 600 13px/1 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-pot b {
  color: var(--mx-gold);
  font: 800 clamp(26px, 3vw, 38px)/1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-num);
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-myhand { color: var(--mx-text-2); font-size: 13.5px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-myhand b { color: var(--mx-text); }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: 172px;
  translate: -50% -50%;
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="0"] { --x: 50%; --y: 90%; --bx: -96px; --by: -46px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="1"] { --x: 10%; --y: 76%; --bx: 112px; --by: -34px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="2"] { --x: 10%; --y: 26%; --bx: 112px; --by: 30px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="3"] { --x: 50%; --y: 10%; --bx: 0px; --by: 84px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="4"] { --x: 90%; --y: 26%; --bx: -112px; --by: 30px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="5"] { --x: 90%; --y: 76%; --bx: -112px; --by: -34px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="6"] { --x: 30%; --y: 90%; --bx: 30px; --by: -80px; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="7"] { --x: 70%; --y: 90%; --bx: -30px; --by: -80px; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-cards { display: flex; justify-content: center; min-height: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-cards .tt-pc { --cw: 38px; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-cards .tt-pc + .tt-pc { margin-left: -10px; rotate: 6deg; }
body.tc-redesign.tc-max.tc-v3 .tt-seat-cards .tt-pc:first-child:not(:only-child) { rotate: -4deg; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat.is-me .tt-seat-cards .tt-pc { --cw: 50px; }
/* obere Plätze: Karten unter dem Namensschild (zur Tischmitte) */
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat:is([data-pos="2"], [data-pos="3"], [data-pos="4"]) { align-content: start; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat:is([data-pos="2"], [data-pos="3"], [data-pos="4"]) .tt-seat-cards { order: 3; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat:is([data-pos="2"], [data-pos="3"], [data-pos="4"]) .tt-seat-note { order: 4; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-bet {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: calc(-50% + var(--bx)) calc(-50% + var(--by));
  z-index: 3;
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-tags { display: flex; gap: 3px; margin-left: auto; flex: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pk-tag {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--mx-sunken);
  color: var(--mx-text-2);
  font: 700 10.5px/1 var(--mx-font-body);
}
body.tc-redesign.tc-max.tc-v3 .tt-pk-tag.is-button { background: var(--mx-text); color: var(--mx-edge); box-shadow: 0 2px 0 rgba(0, 0, 0, .4); }

/* ============================================================ Blackjack */
body.tc-redesign.tc-max.tc-v3 .tt-bj { --hand-cw: 52px; position: relative; display: grid; width: min(100%, 1000px); margin: auto; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-felt {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  grid-area: 1 / 1;
  min-height: clamp(330px, 46dvh, 400px);
  padding: 26px 24px 24px;
}
body.tc-redesign.tc-max.tc-v3 .tt-bj .tt-deck { top: 30px; right: 48px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-dealer { display: grid; justify-items: center; gap: 10px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-dealer-name { color: var(--mx-text-2); font: 600 13px/1 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-bj-dealer .tt-hand { --hand-cw: 60px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-seats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  grid-area: 1 / 1;
  align-self: end;
  padding: 0 28px 34px;
}
body.tc-redesign.tc-max.tc-v3 .tt-bj-seat { width: 172px; flex: 0 1 172px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-seats[data-count="5"] .tt-bj-seat:is(:nth-child(1), :nth-child(5)) { translate: 0 -30px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-seats[data-count="5"] .tt-bj-seat:is(:nth-child(2), :nth-child(4)) { translate: 0 -8px; }
body.tc-redesign.tc-max.tc-v3 .tt-bj-seat .tt-hand { margin-bottom: 4px; }

/* ============================================================ Endertisch (Roulette) */
body.tc-redesign.tc-max.tc-v3 .tt-rl,
body.tc-redesign.tc-max.tc-v3 .tt-dc {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 1120px);
}
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-left, .tt-dc-left) { display: grid; justify-items: center; gap: 16px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-wheelbox { position: relative; width: min(100%, 280px); aspect-ratio: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-rotor { position: absolute; inset: 0; will-change: transform; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-rotor svg { display: block; width: 100%; height: 100%; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-rim { fill: var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-ring { fill: var(--mx-gold-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-seg { stroke: var(--mx-gold-lo); stroke-width: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-seg.is-rot { fill: color-mix(in srgb, var(--mx-redstone) 72%, var(--mx-bg)); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-seg.is-schwarz { fill: var(--mx-bg-2); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-seg.is-gruen { fill: var(--mx-emerald-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-core { fill: var(--mx-surface); stroke: var(--mx-gold-lo); stroke-width: 2; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-num { fill: var(--mx-text); font: 700 11px var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 2;
  width: 20px;
  height: 18px;
  translate: -50% 0;
  background: var(--mx-gold);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 100%, 0 40%);
}
body.tc-redesign.tc-max.tc-v3 .tt-rl-hub {
  position: absolute;
  inset: 31%;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
body.tc-redesign.tc-max.tc-v3 .tt-rl-hub b { color: var(--mx-text); font: 800 36px/1 var(--mx-font-display); font-stretch: var(--mx-wdth-num); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-hub i { color: var(--mx-text-2); font: 500 12px/1.2 var(--mx-font-body); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-hub.is-rot b { color: var(--mx-redstone); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-hub.is-gruen b { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-history, .tt-dc-history) { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-history, .tt-dc-history) li {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text);
  font: 700 13px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-rl-history li.is-rot { background: color-mix(in srgb, var(--mx-redstone) 50%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-history li.is-schwarz { background: var(--mx-sunken); box-shadow: inset 0 0 0 1px var(--mx-line); }
body.tc-redesign.tc-max.tc-v3 .tt-rl-history li.is-gruen { background: var(--mx-emerald-lo); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-history, .tt-dc-history) li.is-last { box-shadow: inset 0 0 0 2px var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-history, .tt-dc-history) li.is-empty { background: none; color: var(--mx-text-3); font-weight: 500; box-shadow: none; }
body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-board, .tt-dc-board) { display: grid; gap: 12px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-numbers { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-numbers .is-zero { grid-row: span 3; }
body.tc-redesign.tc-max.tc-v3 .tt-rl-outside { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }

/* Setzfelder (Endertisch und Würfeltisch) */
body.tc-redesign.tc-max.tc-v3 .tt-cell {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 46px;
  padding: 6px 4px;
  border: 0;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text);
  font: 700 15px/1.1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 0 var(--mx-edge);
  cursor: pointer;
  transition: transform var(--mx-fast) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease), opacity var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max.tc-v3 .tt-cell:not(:disabled):hover { transform: translateY(-1px); background: var(--mx-hover); }
body.tc-redesign.tc-max.tc-v3 .tt-cell:not(:disabled):active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-cell:disabled { cursor: default; }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-rot { background: color-mix(in srgb, var(--mx-redstone) 34%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-rot:not(:disabled):hover { background: color-mix(in srgb, var(--mx-redstone) 44%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-schwarz { background: var(--mx-sunken); box-shadow: inset 0 0 0 1px var(--mx-line), 0 2px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-gruen { background: color-mix(in srgb, var(--mx-emerald) 26%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-cell em { color: var(--mx-text-2); font: 600 11.5px/1 var(--mx-font-body); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-cell small { color: var(--mx-text-3); font: 500 11.5px/1 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.has-mine { box-shadow: inset 0 0 0 2px var(--mx-gold), 0 2px 0 var(--mx-edge); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-win { background: color-mix(in srgb, var(--mx-emerald) 26%, var(--mx-raised)); box-shadow: inset 0 0 0 2px var(--mx-emerald), 0 2px 0 var(--mx-emerald-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-win em { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-miss { opacity: .45; }
body.tc-redesign.tc-max.tc-v3 .tt-cell.is-flash { animation: mxPop 520ms var(--mx-ease-spring); }
body.tc-redesign.tc-max.tc-v3 .tt-stack {
  position: absolute;
  top: -7px;
  right: -5px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--mx-gold);
  color: var(--mx-gold-ink);
  font: 800 11px/1 var(--mx-font-body);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--mx-gold-lo);
}
body.tc-redesign.tc-max.tc-v3 .tt-others {
  position: absolute;
  bottom: 3px;
  left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--mx-text-3);
  font: 600 10.5px/1 var(--mx-font-body);
  font-style: normal;
}
body.tc-redesign.tc-max.tc-v3 .tt-others::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--mx-amethyst); }

/* ============================================================ Würfeltisch */
body.tc-redesign.tc-max.tc-v3 .tt-dc-tray {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  padding: 28px 16px 24px;
  border-radius: var(--mx-r-lg);
  background-color: var(--mx-sunken);
  background-image:
    linear-gradient(var(--mx-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--mx-line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-dc-dice { display: flex; gap: 14px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-sum { display: grid; justify-items: center; gap: 4px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-sum b { color: var(--mx-text); font: 800 40px/1 var(--mx-font-display); font-stretch: var(--mx-wdth-num); font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-sum i { color: var(--mx-text-2); font: 500 13px/1.2 var(--mx-font-body); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-tray.is-shown .tt-dc-sum { animation: mxPlace var(--mx-slow) var(--mx-ease-spring) both; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-tray[data-kind="drilling"] .tt-dc-sum b { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-die {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  padding: 9px;
  border-radius: 10px;
  background: var(--mx-text);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .16), 0 4px 0 rgba(0, 0, 0, .5);
  will-change: transform;
}
body.tc-redesign.tc-max.tc-v3 .tt-die i { width: 10px; height: 10px; border-radius: 2px; background: var(--mx-edge); opacity: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-die:is([data-face="1"], [data-face="3"], [data-face="5"]) i:nth-child(5),
body.tc-redesign.tc-max.tc-v3 .tt-die:is([data-face="2"], [data-face="3"], [data-face="4"], [data-face="5"], [data-face="6"]) i:is(:nth-child(1), :nth-child(9)),
body.tc-redesign.tc-max.tc-v3 .tt-die:is([data-face="4"], [data-face="5"], [data-face="6"]) i:is(:nth-child(3), :nth-child(7)),
body.tc-redesign.tc-max.tc-v3 .tt-die[data-face="6"] i:is(:nth-child(4), :nth-child(6)) { opacity: 1; }
body.tc-redesign.tc-max.tc-v3 .tt-die[data-face="1"] i:nth-child(5) { background: var(--mx-redstone); }
body.tc-redesign.tc-max.tc-v3 .tt-die.is-idle { opacity: .5; }
body.tc-redesign.tc-max.tc-v3 .tt-die.is-mini { width: 24px; height: 24px; padding: 4px; border-radius: 5px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16); will-change: auto; }
body.tc-redesign.tc-max.tc-v3 .tt-die.is-mini i { width: 4px; height: 4px; border-radius: 1px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-pair .tt-die.is-mini { width: 18px; height: 18px; padding: 3px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-pair .tt-die.is-mini i { width: 3px; height: 3px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-pair .tt-dc-label { display: flex; gap: 3px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-history li { display: grid; gap: 2px; height: auto; padding: 5px 7px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-history li b { font-size: 14px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-history li i { color: var(--mx-text-3); font: 500 10.5px/1 var(--mx-font-body); font-style: normal; letter-spacing: .5px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-history li.is-drilling b { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-dc-main { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-big { min-height: 66px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-big .tt-dc-label { font: 800 18px/1 var(--mx-font-display); font-stretch: var(--mx-wdth-head); }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-drilling { background: color-mix(in srgb, var(--mx-gold) 14%, var(--mx-raised)); }
body.tc-redesign.tc-max.tc-v3 .tt-dc-group { display: grid; gap: 8px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cap { color: var(--mx-text-2); font: 600 13px/1.2 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cap small { margin-left: 6px; color: var(--mx-text-3); font-weight: 500; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-sums { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-sum { min-height: 42px; font-size: 14px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-sum em { font-size: 10.5px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.tc-redesign.tc-max.tc-v3 :is(.tt-dc-faces, .tt-dc-pairs) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
body.tc-redesign.tc-max.tc-v3 .tt-dc-cell:is(.is-face, .is-pair) { min-height: 50px; }

/* ============================================================ Pot-Runde */
body.tc-redesign.tc-max.tc-v3 .tt-pot-wrap,
body.tc-redesign.tc-max.tc-v3 .tt-stage > .tt-pot { display: grid; gap: 16px; width: min(100%, 860px); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-num {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 20px 24px;
  overflow: hidden;
  background: var(--mx-raised);
  clip-path: var(--tt-steps);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06), inset 0 -5px 0 var(--mx-edge);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-num b {
  color: var(--mx-gold);
  font: 800 clamp(44px, 6vw, 64px)/1 var(--mx-font-display);
  font-stretch: var(--mx-wdth-num);
  font-variant-numeric: tabular-nums;
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-num i { color: var(--mx-text-2); font: 500 14px/1.2 var(--mx-font-body); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-track { position: relative; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-bar {
  display: flex;
  gap: 2px;
  height: 22px;
  overflow: hidden;
  border-radius: var(--mx-r-sm);
  background: var(--mx-sunken);
  box-shadow: inset 0 0 0 1px var(--mx-line);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-bar i { display: block; min-width: 4px; height: 100%; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-bar i.is-empty { background: transparent !important; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-marker {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 4px;
  translate: -50% 0;
  border-radius: 1px;
  background: var(--mx-text);
  box-shadow: 0 0 0 2px var(--mx-bg);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-marker[hidden] { display: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-marker.is-set { background: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prizebox { display: grid; gap: 8px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prizebox .tt-side-title { margin: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border-radius: var(--mx-r-md);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize.is-empty { color: var(--mx-text-3); font-size: 13.5px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-place {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--mx-r-sm);
  background: var(--mx-raised);
  color: var(--mx-text);
  font: 800 17px/1 var(--mx-font-display);
  box-shadow: 0 2px 0 var(--mx-edge);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize:first-child .tt-pot-place { background: var(--mx-gold); color: var(--mx-gold-ink); box-shadow: 0 2px 0 var(--mx-gold-lo); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize div { display: grid; gap: 3px; min-width: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize div i { color: var(--mx-text-2); font: 500 12.5px/1.2 var(--mx-font-body); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize div b { color: var(--mx-text); font: 700 16px/1.2 var(--mx-font-body); font-variant-numeric: tabular-nums; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize u { margin-left: auto; overflow: hidden; color: var(--mx-emerald); font: 600 13px/1.2 var(--mx-font-body); text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize.is-drawn { background: color-mix(in srgb, var(--mx-emerald) 9%, var(--mx-surface)); animation: mxPlace var(--mx-slow) var(--mx-ease-spring) both; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-prize.is-me u { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--mx-r-lg);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
  animation: mxPlace var(--mx-slow) var(--mx-ease-spring) both;
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-result div { display: grid; gap: 4px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-result b { color: var(--mx-text); font: 700 17px/1.3 var(--mx-font-body); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-result i { color: var(--mx-text-2); font-size: 13.5px; font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-result.is-me { background: color-mix(in srgb, var(--mx-emerald) 14%, var(--mx-surface)); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-result.is-me b { color: var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-note { margin: 0; color: var(--mx-text-2); font-size: 13.5px; transition: opacity var(--mx-slow) var(--mx-ease); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-note.is-late { color: var(--mx-gold); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-note.is-old { opacity: .55; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players li {
  position: relative;
  display: grid;
  grid-template-columns: 8px 28px minmax(0, 1fr) minmax(60px, 160px) 58px auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--mx-r-md);
  background: var(--mx-surface);
  box-shadow: inset 0 0 0 1px var(--mx-line-soft);
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-players li.is-empty { display: block; color: var(--mx-text-3); font-size: 13.5px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players li.is-me { background: var(--mx-raised); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players li.is-winner { box-shadow: inset 0 0 0 2px var(--mx-emerald); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-dot { width: 8px; height: 8px; border-radius: 2px; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-head { width: 28px; height: 28px; overflow: hidden; border-radius: var(--mx-r-sm); background: var(--mx-raised); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-head img { width: 100%; height: 100%; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players b { overflow: hidden; color: var(--mx-text); font: 600 14px/1.2 var(--mx-font-body); white-space: nowrap; text-overflow: ellipsis; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players b small { color: var(--mx-text-3); font-weight: 500; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-share { height: 6px; overflow: hidden; border-radius: 2px; background: var(--mx-sunken); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-share i { display: block; height: 100%; transform-origin: left center; transition: transform var(--mx-slow) var(--mx-ease); }
body.tc-redesign.tc-max.tc-v3 .tt-pot-pct { color: var(--mx-text-2); font: 600 13px/1 var(--mx-font-body); font-variant-numeric: tabular-nums; text-align: right; text-decoration: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-players em { color: var(--mx-text); font: 700 14px/1.2 var(--mx-font-body); font-style: normal; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-won { margin-left: 8px; color: var(--mx-emerald); text-decoration: none; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-history li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mx-line-soft);
  font-size: 13.5px;
}
body.tc-redesign.tc-max.tc-v3 .tt-pot-history li:last-child { border-bottom: 0; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-history b { color: var(--mx-text); font-weight: 600; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-history i { flex: 1; color: var(--mx-text-3); font-style: normal; }
body.tc-redesign.tc-max.tc-v3 .tt-pot-history em { color: var(--mx-text); font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============================================================ Breiten */
/* Bis 1180 px: Seitenleiste wird Reiter (Tisch | Verlauf), der Tisch bekommt die volle Breite */
@media (max-width: 1180px) {
  body.tc-redesign.tc-max.tc-v3 .tt-mtabs { display: inline-flex; }
  body.tc-redesign.tc-max.tc-v3 .tt-main.has-side { grid-template-columns: minmax(0, 1fr); }
  body.tc-redesign.tc-max.tc-v3 .tt-room[data-tab="table"] .tt-side { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-room[data-tab="side"] .tt-stage { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-room[data-tab="side"] .tt-side { animation: mxFadeUp 180ms var(--mx-ease) both; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk { width: min(100%, 1000px, calc((100dvh - 340px) * 2)); }
  body.tc-redesign.tc-max.tc-v3 .tt-rl,
  body.tc-redesign.tc-max.tc-v3 .tt-dc { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 960px) {
  body.tc-redesign.tc-max.tc-v3 .tt-rl,
  body.tc-redesign.tc-max.tc-v3 .tt-dc { grid-template-columns: minmax(0, 1fr); }
  body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-left, .tt-dc-left) { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; }
  body.tc-redesign.tc-max.tc-v3 .tt-rl-wheelbox { width: 200px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-tray { width: auto; min-width: 260px; }
  body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-history, .tt-dc-history) { justify-content: flex-start; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-sums { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.tc-redesign.tc-max.tc-v3 .tt-page-tools .mx-btn--stone { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-head { min-height: 56px; gap: 10px; padding: 8px 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-head-art { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-title { font-size: 18px; }
  body.tc-redesign.tc-max.tc-v3 .tt-sub { font-size: 12.5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-balance { padding: 5px 10px; }
  body.tc-redesign.tc-max.tc-v3 .tt-balance-label { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-status { min-height: 38px; padding: 6px 12px; gap: 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-phase { font-size: 13.5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-timer { max-width: 120px; }
  body.tc-redesign.tc-max.tc-v3 .tt-mtabs { margin: 0 12px 6px; }
  body.tc-redesign.tc-max.tc-v3 .tt-main { padding: 0 12px 8px; }
  body.tc-redesign.tc-max.tc-v3 .tt-controls { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  body.tc-redesign.tc-max.tc-v3 .tt-row--play { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  body.tc-redesign.tc-max.tc-v3 .tt-row--play > .mx-btn,
  body.tc-redesign.tc-max.tc-v3 .tt-row-main > .mx-btn { min-width: 0; padding: 0 10px !important; }
  body.tc-redesign.tc-max.tc-v3 .tt-row--play:has(.tt-raise) { grid-auto-flow: row; }
  body.tc-redesign.tc-max.tc-v3 .tt-row-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.tc-redesign.tc-max.tc-v3 .tt-raise > .mx-btn { flex: 1 1 100%; }
  body.tc-redesign.tc-max.tc-v3 .tt-row > .tt-amount { flex: 1 1 160px; }
  body.tc-redesign.tc-max.tc-v3 .tt-amount input { flex: 1 1 64px; width: 64px; min-width: 64px; }
  body.tc-redesign.tc-max.tc-v3 .tt-row > .mx-btn--gold.mx-btn--lg { flex: 1 1 100%; }
  body.tc-redesign.tc-max.tc-v3 .tt-row > .tt-info { flex-basis: 100%; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj { --hand-cw: 38px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seats { gap: 8px; padding: 0 4px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seat { width: 140px; flex-basis: 140px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-felt { padding: 22px 16px 24px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj .tt-deck { top: 22px; right: 28px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk { min-width: 0; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat { width: 152px; }
  body.tc-redesign.tc-max.tc-v3 .tt-seat-head { width: 30px; height: 30px; }
  body.tc-redesign.tc-max.tc-v3 .tt-seat-plate { gap: 7px; padding: 5px 8px 5px 5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-duo { grid-template-columns: minmax(0, 1fr); }
  body.tc-redesign.tc-max.tc-v3 .tt-pot-players li { grid-template-columns: 8px 28px minmax(0, 1fr) 52px auto; }
  body.tc-redesign.tc-max.tc-v3 .tt-pot-share { display: none; }
}
/* Handy hochkant: Pokertisch hochkant, Plätze kompakt */
@media (max-width: 600px) {
  body.tc-redesign.tc-max.tc-v3 .tt-page-head { margin-bottom: 18px; }
  body.tc-redesign.tc-max.tc-v3 .tt-tabs { display: flex; margin-bottom: 20px; }
  body.tc-redesign.tc-max.tc-v3 .tt-card { padding: 16px; }
  body.tc-redesign.tc-max.tc-v3 .tt-invite { padding: 16px; }
  body.tc-redesign.tc-max.tc-v3 .tt-invite .mx-btn { flex: 1 1 100%; }
  body.tc-redesign.tc-max.tc-v3 .tt-create-in { padding: 20px 16px; }
  body.tc-redesign.tc-max.tc-v3 .tt-create-row { grid-template-columns: auto auto minmax(0, 1fr); row-gap: 2px; }
  body.tc-redesign.tc-max.tc-v3 .tt-create-stake { grid-column: 3; }
  body.tc-redesign.tc-max.tc-v3 .tt-create-state { grid-column: 3; text-align: left; }
  body.tc-redesign.tc-max.tc-v3 .tt-head-tools .tt-chat-btn { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-sub { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-title .tt-live { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-row--meta { justify-content: stretch; }
  body.tc-redesign.tc-max.tc-v3 .tt-row--meta > .mx-btn { flex: 1 1 auto; }
  body.tc-redesign.tc-max.tc-v3 .tt-row--meta .tt-amount span { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-fine { font-size: 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-chip { min-height: 40px; min-width: 0; flex: 1 1 0; padding: 0 8px; }
  body.tc-redesign.tc-max.tc-v3 .tt-chips { flex-wrap: nowrap; }

  body.tc-redesign.tc-max.tc-v3 .tt-pk { width: min(100%, calc((100dvh - 380px) * .8)); min-width: 300px; aspect-ratio: 4 / 5; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-felt { inset: 12% 6% 14%; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk .tt-deck { top: 19%; right: 28%; width: 22px; }
  body.tc-redesign.tc-max.tc-v3 .tt-felt-center { gap: 6px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-board { gap: 4px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-board .tt-pc { --cw: 38px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pot b { font-size: 26px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-myhand { font-size: 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat { width: 104px; gap: 4px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-plate { padding: 4px 6px 4px 4px; gap: 6px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-head { width: 26px; height: 26px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-id b { font-size: 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-id i { font-size: 11.5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-tags { display: none; }
  body.tc-redesign.tc-max.tc-v3 .tt-seat-cards .tt-pc { --cw: 28px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat.is-me .tt-seat-cards .tt-pc { --cw: 40px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="0"] { --x: 50%; --y: 91%; --bx: -70px; --by: -36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="1"] { --x: 15%; --y: 70%; --bx: 58px; --by: -36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="2"] { --x: 15%; --y: 30%; --bx: 58px; --by: 36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="3"] { --x: 50%; --y: 8%; --bx: 0px; --by: 60px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="4"] { --x: 85%; --y: 30%; --bx: -58px; --by: 36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat[data-pos="5"] { --x: 85%; --y: 70%; --bx: -58px; --by: -36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pk-seat .tt-seat-note { font-size: 11px; padding: 2px 5px; }

  body.tc-redesign.tc-max.tc-v3 .tt-bj { --hand-cw: 32px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-felt { min-height: 170px; padding: 18px 12px 24px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-dealer .tt-hand { --hand-cw: 40px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj .tt-deck { top: 18px; right: 22px; width: 24px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-felt { grid-area: auto; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seats { grid-area: auto; flex-wrap: wrap; align-items: flex-start; gap: 14px 6px; margin-top: 14px; padding: 0; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seats[data-count] .tt-bj-seat.tt-bj-seat.tt-bj-seat { translate: none; width: calc(33.333% - 4px); flex: 0 0 calc(33.333% - 4px); }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seat .tt-seat-plate { padding: 4px 6px 4px 4px; gap: 6px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seat .tt-seat-head { width: 26px; height: 26px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seat .tt-seat-id b { font-size: 12px; }
  body.tc-redesign.tc-max.tc-v3 .tt-bj-seat .tt-seat-id i { font-size: 11px; }
  body.tc-redesign.tc-max.tc-v3 .tt-value { min-width: 26px; height: 22px; font-size: 13px; right: -8px; }

  body.tc-redesign.tc-max.tc-v3 :is(.tt-rl-left, .tt-dc-left) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  body.tc-redesign.tc-max.tc-v3 .tt-rl-wheelbox { width: 180px; }
  body.tc-redesign.tc-max.tc-v3 .tt-rl-numbers { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-rl-numbers .is-zero { grid-row: auto; grid-column: span 7; min-height: 36px; }
  body.tc-redesign.tc-max.tc-v3 .tt-rl-outside { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  body.tc-redesign.tc-max.tc-v3 .tt-cell { min-height: 40px; font-size: 14px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-tray { width: 100%; min-width: 0; padding: 18px 12px; gap: 10px; }
  body.tc-redesign.tc-max.tc-v3 .tt-die { width: 48px; height: 48px; padding: 7px; }
  body.tc-redesign.tc-max.tc-v3 .tt-die i { width: 8px; height: 8px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-sum b { font-size: 32px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-sums { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  body.tc-redesign.tc-max.tc-v3 :is(.tt-dc-faces, .tt-dc-pairs) { gap: 4px; }
  body.tc-redesign.tc-max.tc-v3 .tt-dc-cell.is-pair .tt-die.is-mini { width: 14px; height: 14px; padding: 2px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pot-num { padding: 20px 12px 18px; }
  body.tc-redesign.tc-max.tc-v3 .tt-pot-prizes { grid-template-columns: minmax(0, 1fr); }
}
