/* ==========================================================================
   max-finish-pages – Dialoge und Unterseiten (großes Design-Update 2026-11-09/10)
   Letzte Schicht von „Tiefenschiefer & Erz“ für: alle Spieler-Dialoge mit Blatt .mxo-sheet
   (Anmelden, Einzahlen, Auszahlen, Profil, Rangliste, Hilfe, Spenden, Freunde einladen,
   Creator Hub, Online-Spieler, Sound, Support, Events, Live-Tisch-Rahmen, Winter-Dialog),
   Tisch-Liste „Gemeinsam spielen“ (#liveSection), Meldungen (#toast), Akury-Block
   (#akuryPartner) und Seitenfuß (footer.casino-main-footer).
   Lädt nach max-finish.css. Datei weglassen = Stand davor.

   Nicht hier: Startseite über dem Fuß, #gameOverlay, Chat, Verwaltung, Bot-Zentrale.
   .mxo-sheet gibt es nur in Spieler-Dialogen; die Wurzelregeln (Abdunklung, Blatt) schließen
   #gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal ausdrücklich aus.

   Idee: Jeder Dialog ist eine Erzplatte. Kein Umriss – helle Oberkante, dunkler Ring, tiefer
   Schatten; die Bedeutung trägt die Erzfarbe --ov (Einzahlen Gold, Auszahlen Smaragd,
   Rangliste Gold, Profil Diamant, Hilfe ruhig, Spenden/Community Amethyst) als Ader unten,
   als Erzblock im Kopf und als Licht hinter dem Blatt. Felder sind eingelassen, der Hauptknopf
   ist ein Gold-Block, Kennzahlen sind Erz-Plaketten.

   Farben nur aus Tokens (var(--mx-…/--wt-…), color-mix mit white/black/transparent).
   Bewegung: transform-Teile (translate/scale/rotate) und opacity, als Antwort auf Öffnen,
   Zeiger und Zustand; Endlos nur kleine Lebenszeichen (Schimmer auf Balken und Hauptknopf).
   Nichts hängt an prefers-reduced-motion. Keyframes und eigene Variablen: Präfix fp.
   :not(#_) schließt nichts aus, es hebt die Regel nur über die ID-Ketten der älteren Schichten.
   ========================================================================== */

/* ------------------------------------------------------------ 0. Bewegung */
@keyframes fpVeil { from { opacity: 0; } to { opacity: 1; } }
@keyframes fpSheetIn {
  0% { opacity: 0; translate: 0 36px; scale: .9; }
  55% { opacity: 1; }
  72% { translate: 0 -5px; scale: 1.012; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes fpSheetUp {
  0% { translate: 0 100%; }
  72% { translate: 0 -7px; }
  100% { translate: 0 0; }
}
@keyframes fpVein { from { scale: 0 1; opacity: 0; } to { scale: 1 1; opacity: 1; } }
@keyframes fpBlockIn {
  0% { opacity: 0; translate: 0 -22px; rotate: -10deg; scale: .7; }
  60% { opacity: 1; translate: 0 3px; rotate: 2deg; scale: 1.06; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes fpRise { from { opacity: 0; translate: 0 14px; } }
@keyframes fpBar { 0%, 45% { translate: -100% 0; } 100% { translate: 100% 0; } }
@keyframes fpSweep { from { translate: -130% 0; } to { translate: 230% 0; } }
@keyframes fpSheen { 0%, 62% { translate: -140% 0; } 100% { translate: 260% 0; } }
@keyframes fpBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .25; } }
@keyframes fpPulse { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.35; opacity: .55; } }
@keyframes fpPop { 0% { scale: .6; opacity: 0; } 60% { scale: 1.08; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes fpGrow { from { scale: 1 .06; } to { scale: 1 1; } }
@keyframes fpDrop { 0% { opacity: 0; translate: 0 -26px; } 70% { opacity: 1; translate: 0 3px; } 100% { opacity: 1; translate: 0 0; } }
@keyframes fpBeam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes fpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes fpToastIn {
  0% { opacity: 0; translate: 0 26px; scale: .92; }
  70% { opacity: 1; translate: 0 -3px; scale: 1.015; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes fpToastBar { from { scale: 1 1; } to { scale: 0 1; } }

/* ------------------------------------------------------------ 1. Erzfarbe je Dialog
   --ov lesen auch die älteren Schichten (Zeichen im Kopf, Schrittzahlen, Hinweise). */
body.tc-redesign.tc-max:not(#_) #profileOverlay { --ov: var(--mx-diamond); }
body.tc-redesign.tc-max:not(#_) #helpOverlay { --ov: color-mix(in srgb, var(--mx-diamond) 46%, var(--mx-text-2)); }
body.tc-redesign.tc-max:not(#_) :is(#soundSettingsOverlay, #ticketOverlay) { --ov: var(--mx-diamond); }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet) {
  --fp-hi: color-mix(in srgb, white 15%, transparent);
  --fp-hi-soft: color-mix(in srgb, white 8%, transparent);
  --fp-ring: color-mix(in srgb, black 58%, transparent);
  --fp-well: color-mix(in srgb, var(--mx-bg) 82%, black);
  --fp-plate: color-mix(in srgb, var(--mx-raised) 62%, var(--mx-surface));
  --fp-ink: color-mix(in srgb, var(--ov, var(--mx-gold)) 20%, black);
}

/* ------------------------------------------------------------ 2. Abdunklung
   Tief abgedunkelt; von oben fällt das Licht des Erzes auf das Blatt. */
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet) {
  background:
    radial-gradient(1100px 560px at 50% -8%, color-mix(in srgb, var(--ov) 17%, transparent), transparent 66%),
    radial-gradient(900px 420px at 50% 108%, color-mix(in srgb, var(--ov) 9%, transparent), transparent 70%),
    radial-gradient(120% 100% at 50% 46%, transparent 38%, color-mix(in srgb, black 62%, transparent) 100%),
    color-mix(in srgb, color-mix(in srgb, var(--mx-bg) 46%, black) 93%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) {
  animation-name: fpVeil !important;
  animation-duration: 240ms !important;
  animation-timing-function: ease-out !important;
  animation-fill-mode: both !important;
}

/* ------------------------------------------------------------ 3. Blatt
   Hintergrund bleibt (die Winter-Schicht legt dort Raureif auf); neu sind Kanten, Ring und Licht. */
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet {
  isolation: isolate;
  border-color: transparent !important;
  box-shadow:
    inset 0 1px 0 var(--fp-hi),
    inset 0 0 0 1px color-mix(in srgb, white 4%, transparent),
    0 0 0 1px var(--fp-ring),
    0 0 0 5px color-mix(in srgb, black 26%, transparent),
    0 3px 0 5px color-mix(in srgb, black 30%, transparent),
    0 70px 130px -44px black,
    0 54px 110px -46px color-mix(in srgb, var(--ov) 58%, transparent) !important;
}
/* Oberkante: Licht in der Erzfarbe, fährt beim Öffnen aus der Mitte auf */
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet::before {
  inset: 0 0 auto !important;
  height: 3px !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent 3%, color-mix(in srgb, var(--ov) 70%, transparent) 20%, color-mix(in srgb, var(--ov) 50%, white) 50%, color-mix(in srgb, var(--ov) 70%, transparent) 80%, transparent 97%) !important;
  opacity: 1 !important;
  transform-origin: 50% 50%;
}
/* Erzader an der Unterkante */
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 3 !important;
  inset: auto 0 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ov) 26%, transparent), var(--ov) 30%, color-mix(in srgb, var(--ov) 70%, white) 50%, var(--ov) 70%, color-mix(in srgb, var(--ov) 26%, transparent)) !important;
  box-shadow: 0 -10px 26px -4px color-mix(in srgb, var(--ov) 40%, transparent);
  pointer-events: none !important;
}
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet {
  animation-name: fpSheetIn !important;
  animation-duration: 460ms !important;
  animation-timing-function: cubic-bezier(.2, .9, .25, 1) !important;
  animation-fill-mode: both !important;
  animation-delay: 0ms !important;
}
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet::before { animation: fpVein 620ms 140ms var(--mx-ease) both; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet::after { animation: fpVein 720ms 220ms var(--mx-ease) both; }

/* ------------------------------------------------------------ 4. Kopf: eigene Zone, großer Titel, Erzblock */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-head {
  z-index: 2;
  overflow: hidden;
  padding: 30px 80px 24px 30px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ov) 15%, transparent), color-mix(in srgb, var(--ov) 4%, transparent)) !important;
  box-shadow: inset 0 -1px 0 color-mix(in srgb, white 6%, transparent);
}
/* einmaliger Lichtstreif über den Kopf, wenn der Dialog aufgeht */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-head::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, white 9%, transparent) 45%, color-mix(in srgb, var(--ov) 14%, transparent) 55%, transparent);
  translate: -130% 0;
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-head::after { animation: fpSweep 900ms 260ms var(--mx-ease) both; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-head > * { position: relative; z-index: 1; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-title {
  font-size: 42px !important;
  font-weight: 900 !important;
  line-height: .94 !important;
  letter-spacing: .005em !important;
  text-shadow: 0 2px 0 color-mix(in srgb, black 55%, transparent), 0 0 34px color-mix(in srgb, var(--ov) 30%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-sub { margin-top: 10px !important; font-size: 15.5px !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  color: var(--fp-ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, white 34%, transparent) 0 14%, transparent 14% 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--ov) 72%, white), var(--ov) 48%, color-mix(in srgb, var(--ov) 74%, black));
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, white 50%, transparent),
    inset 0 -4px 0 color-mix(in srgb, black 26%, transparent),
    0 0 0 1px var(--fp-ring),
    0 4px 0 color-mix(in srgb, var(--ov) 34%, black),
    0 20px 34px -12px color-mix(in srgb, var(--ov) 80%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-icon svg.mxo-ico { width: 30px; height: 30px; stroke-width: 2.2; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-icon { animation: fpBlockIn 620ms 120ms var(--mx-ease-spring) both; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-live {
  padding: 7px 11px 7px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--mx-emerald) 14%, var(--fp-well));
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, var(--mx-emerald) 60%, transparent), 0 0 0 1px var(--fp-ring);
  text-shadow: none;
}

/* ------------------------------------------------------------ 5. Schließen: Steinblock, wird beim Zeigen zu Redstone */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close {
  inset: 20px 20px auto auto !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-raised) 82%, white), var(--mx-raised)) !important;
  color: var(--mx-text-2) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 16%, transparent),
    0 0 0 1px var(--fp-ring),
    0 4px 0 color-mix(in srgb, var(--mx-bg) 70%, black),
    0 14px 22px -10px black !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close svg.mxo-ico { transition: rotate var(--mx-mid) var(--mx-ease-spring); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close:hover {
  color: var(--mx-text) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-redstone) 78%, white), color-mix(in srgb, var(--mx-redstone) 82%, black)) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 30%, transparent),
    0 0 0 1px var(--fp-ring),
    0 4px 0 color-mix(in srgb, var(--mx-redstone) 40%, black),
    0 16px 26px -10px color-mix(in srgb, var(--mx-redstone) 70%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close:hover svg.mxo-ico { rotate: 90deg; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close:active {
  transform: translateY(3px) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 14%, transparent), 0 0 0 1px var(--fp-ring), 0 1px 0 color-mix(in srgb, var(--mx-bg) 70%, black) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close:focus-visible { outline: 2px solid var(--mx-gold) !important; outline-offset: 3px !important; }

/* ------------------------------------------------------------ 6. Reiter: keine Schiene, gewählter Reiter = angehobene Platte mit Gold-Unterkante */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tabs-wrap {
  position: relative;
  z-index: 2;
  padding: 2px 30px 18px !important;
  background: color-mix(in srgb, var(--ov) 4%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) > div.mxo-tabs-wrap > div:is(.mxo-tabs, .mxo-seg),
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs, .mxo-seg) {
  gap: 6px !important;
  padding: 0 0 4px !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs .admin-tab, .mxo-seg > .btn) {
  min-height: 46px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  transition: background var(--mx-fast) var(--mx-ease), color var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease), translate var(--mx-fast) var(--mx-ease) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs .admin-tab, .mxo-seg > .btn):hover { background: color-mix(in srgb, white 7%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs .admin-tab.active, .mxo-seg > .btn.active) {
  color: var(--mx-text) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-raised) 84%, white), var(--mx-raised)) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 15%, transparent),
    inset 0 -3px 0 var(--mx-gold),
    0 0 0 1px color-mix(in srgb, black 46%, transparent),
    0 3px 0 color-mix(in srgb, var(--mx-bg) 70%, black),
    0 14px 22px -12px color-mix(in srgb, var(--mx-gold) 60%, transparent) !important;
  translate: 0 -1px;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs .admin-tab, .mxo-seg > .btn):active { translate: 0 1px; }

/* ------------------------------------------------------------ 7. Inhalt (tiefer als der Kopf) und Fußleiste */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-body {
  position: relative;
  padding: 24px 30px 30px !important;
  border-top-color: transparent;
  background:
    linear-gradient(180deg, color-mix(in srgb, black 30%, transparent), transparent 18px),
    color-mix(in srgb, black 13%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, black 55%, transparent);
  scrollbar-color: color-mix(in srgb, var(--ov) 34%, var(--mx-raised)) transparent;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-foot {
  position: relative;
  z-index: 2;
  padding: 16px 30px 22px !important;
  border-top-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-raised) 55%, transparent), color-mix(in srgb, var(--mx-surface) 70%, transparent));
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), 0 -1px 0 color-mix(in srgb, black 55%, transparent), 0 -18px 24px -18px black;
}
/* Abschnitte kommen beim Öffnen und beim Reiterwechsel nacheinander herein (nicht im Winter-Dialog: der zeichnet sich neu) */
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-body:not(.wh-body, .tb-body) > * {
  animation: fpRise 420ms var(--mx-ease) backwards;
  animation-delay: 150ms;
}
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-body:not(.wh-body, .tb-body) > :nth-child(2) { animation-delay: 200ms; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-body:not(.wh-body, .tb-body) > :nth-child(3) { animation-delay: 250ms; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-body:not(.wh-body, .tb-body) > :nth-child(4) { animation-delay: 300ms; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-body:not(.wh-body, .tb-body) > :nth-child(n + 5) { animation-delay: 350ms; }

/* ------------------------------------------------------------ 8. Felder: eingelassen, Fokus mit Gold-Schein */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(input[type="text"], input:not([type]), input[type="number"], input[type="search"], select, textarea) {
  min-height: 50px !important;
  border-color: transparent !important;
  background-color: var(--fp-well) !important;
  font-weight: 600 !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 55%, transparent),
    inset 0 0 0 1px color-mix(in srgb, black 44%, transparent),
    0 1px 0 color-mix(in srgb, white 8%, transparent) !important;
  transition: box-shadow var(--mx-fast) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(input[type="text"], input:not([type]), input[type="number"], input[type="search"], select, textarea):hover {
  border-color: transparent !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 55%, transparent),
    inset 0 0 0 1px color-mix(in srgb, white 14%, transparent),
    0 1px 0 color-mix(in srgb, white 8%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(input[type="text"], input:not([type]), input[type="number"], input[type="search"], select, textarea):focus {
  border-color: transparent !important;
  background-color: color-mix(in srgb, var(--mx-gold) 4%, var(--fp-well)) !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 55%, transparent),
    inset 0 0 0 1.5px var(--mx-gold),
    0 0 0 4px color-mix(in srgb, var(--mx-gold) 22%, transparent),
    0 10px 30px -8px color-mix(in srgb, var(--mx-gold) 60%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) input[readonly] { background-color: color-mix(in srgb, var(--fp-well) 80%, var(--mx-surface)) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(input[type="text"], textarea)[aria-invalid="true"],
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(input[type="text"], textarea):user-invalid {
  border-color: transparent !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 55%, transparent),
    inset 0 0 0 1.5px var(--mx-redstone),
    0 0 0 4px color-mix(in srgb, var(--mx-redstone) 20%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-label { font-weight: 700 !important; color: var(--mx-text) !important; }

/* ------------------------------------------------------------ 9. Knöpfe: Hauptknopf als Erzblock mit Schimmer, Nebenknöpfe ruhig */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst) {
  --b-edge: 5px;
  overflow: hidden;
  font-weight: 800 !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, white 46%, transparent),
    inset 0 -2px 0 color-mix(in srgb, black 12%, transparent),
    0 0 0 1px color-mix(in srgb, black 50%, transparent),
    0 var(--b-edge) 0 var(--b-lo),
    0 calc(var(--b-edge) + 1px) 0 1px color-mix(in srgb, black 50%, transparent),
    0 calc(var(--b-edge) + 16px) 28px -12px var(--b-glow, color-mix(in srgb, var(--b-bg) 55%, transparent)) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst).mx-btn--sm { --b-edge: 3px; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, white 55%, transparent) 50%, transparent);
  translate: -140% 0;
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst):hover::after { animation: fpSweep 700ms var(--mx-ease) both; }
/* Lebenszeichen: nur der eine große Hauptknopf eines Dialogs schimmert von selbst */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn--gold.mx-btn--block:not(:disabled, [hidden])::after { animation: fpSheen 5.2s 1.2s var(--mx-ease) infinite; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst):hover {
  filter: brightness(1.06) saturate(1.06);
  transform: translateY(-2px) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst):active {
  transform: translateY(calc(var(--b-edge) - 1px)) !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, white 30%, transparent),
    0 0 0 1px color-mix(in srgb, black 50%, transparent),
    0 1px 0 var(--b-lo) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(.mx-btn--gold, .mx-btn--emerald, .mx-btn--amethyst):is(:disabled, [aria-disabled="true"])::after { animation: none; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:is(:not([class*="mx-btn--"]), .mx-btn--stone) {
  --b-hi: color-mix(in srgb, var(--mx-raised) 84%, white);
  --b-bg: var(--mx-raised);
  --b-lo: color-mix(in srgb, var(--mx-bg) 70%, black);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 16%, transparent),
    0 0 0 1px color-mix(in srgb, black 46%, transparent),
    0 var(--b-edge) 0 var(--b-lo),
    0 calc(var(--b-edge) + 10px) 20px -10px black !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn--ghost {
  background: color-mix(in srgb, white 4%, transparent) !important;
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 0 0 1px color-mix(in srgb, white 9%, transparent), 0 0 0 1px color-mix(in srgb, black 40%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn--ghost:hover {
  background: color-mix(in srgb, white 9%, transparent) !important;
  box-shadow: inset 0 1px 0 var(--fp-hi), inset 0 0 0 1px color-mix(in srgb, white 16%, transparent), 0 0 0 1px color-mix(in srgb, black 40%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn.mxo-danger:hover {
  background: color-mix(in srgb, var(--mx-redstone) 16%, transparent) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mx-redstone) 60%, transparent), 0 10px 20px -10px color-mix(in srgb, var(--mx-redstone) 60%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mx-btn:focus-visible { outline: 2px solid var(--mx-gold) !important; outline-offset: 3px !important; }

/* ------------------------------------------------------------ 10. Bausteine */
/* Betrags-Blöcke */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-presets .chip {
  min-height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-raised) 84%, white), var(--mx-raised)) !important;
  padding-inline: 6px !important;
  font-family: var(--mx-font-display) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 15%, transparent),
    0 0 0 1px color-mix(in srgb, black 46%, transparent),
    0 4px 0 color-mix(in srgb, var(--mx-bg) 70%, black) !important;
  transition: translate var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease), filter var(--mx-fast) var(--mx-ease), background var(--mx-fast) var(--mx-ease) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-presets .chip:hover:not(:disabled) { translate: 0 -2px; filter: brightness(1.12); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-presets .chip:active:not(:disabled) { translate: 0 3px; box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), 0 0 0 1px color-mix(in srgb, black 46%, transparent), 0 1px 0 color-mix(in srgb, var(--mx-bg) 70%, black) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-presets .chip.active {
  background: linear-gradient(180deg, var(--mx-gold-hi), var(--mx-gold) 55%, color-mix(in srgb, var(--mx-gold) 82%, var(--mx-gold-lo))) !important;
  color: var(--mx-gold-ink) !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, white 50%, transparent),
    0 0 0 1px color-mix(in srgb, black 50%, transparent),
    0 4px 0 var(--mx-gold-lo),
    0 18px 26px -12px color-mix(in srgb, var(--mx-gold) 75%, transparent) !important;
  translate: 0 -2px;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-presets .chip:disabled { filter: grayscale(.7) brightness(.7); }

/* Befehlszeile: eingelassenes Terminal mit Gold-Ader links */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-cmd {
  border-color: transparent !important;
  background: linear-gradient(180deg, black, color-mix(in srgb, var(--mx-bg) 60%, black)) !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 70%, transparent),
    inset 3px 0 0 var(--mx-gold),
    inset 0 0 0 1px color-mix(in srgb, var(--mx-gold) 20%, transparent),
    0 1px 0 color-mix(in srgb, white 8%, transparent) !important;
  text-shadow: 0 0 18px color-mix(in srgb, var(--mx-gold) 45%, transparent);
  transition: box-shadow var(--mx-fast) var(--mx-ease) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-cmd::before { color: var(--mx-gold); animation: fpBlink 1.2s steps(1, end) infinite; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-cmd:hover {
  border-color: transparent !important;
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, black 70%, transparent),
    inset 3px 0 0 var(--mx-gold),
    inset 0 0 0 1px color-mix(in srgb, var(--mx-gold) 55%, transparent),
    0 12px 28px -12px color-mix(in srgb, var(--mx-gold) 55%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-cmd-card {
  border-color: transparent !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-gold) 10%, var(--fp-plate)), var(--fp-plate)) !important;
  box-shadow:
    inset 0 1px 0 var(--fp-hi),
    inset 0 -2px 0 color-mix(in srgb, var(--mx-gold) 55%, transparent),
    0 0 0 1px var(--fp-ring),
    0 22px 40px -26px color-mix(in srgb, var(--mx-gold) 55%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-timer .num { font-family: var(--mx-font-display); font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--mx-gold-hi); }

/* Schrittzahlen: kleine Erzblöcke */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-step-num, .mxo-flow-num) {
  color: var(--fp-ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ov) 72%, white), var(--ov) 55%, color-mix(in srgb, var(--ov) 78%, black));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 50%, transparent),
    inset 0 -2px 0 color-mix(in srgb, black 24%, transparent),
    0 0 0 1px var(--fp-ring),
    0 8px 14px -6px color-mix(in srgb, var(--ov) 70%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-flow-step::before { width: 3px; border-radius: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ov) 60%, transparent), color-mix(in srgb, var(--ov) 8%, transparent)); }

/* Hinweise: Ader links statt Umriss */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-note {
  border-color: transparent !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 13%, var(--fp-well)), color-mix(in srgb, var(--tone) 4%, var(--fp-well))) !important;
  box-shadow: inset 3px 0 0 var(--tone), inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 44%, transparent) !important;
}
/* Karten und leere Zustände: Platte bzw. Mulde ohne Umriss */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-card {
  border-color: transparent !important;
  background: linear-gradient(180deg, color-mix(in srgb, white 4%, transparent), transparent 60%), var(--fp-plate) !important;
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, black 30%, transparent), 0 0 0 1px var(--fp-ring), 0 18px 30px -24px black !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-empty {
  border-color: transparent !important;
  background:
    radial-gradient(420px 190px at 50% 0%, color-mix(in srgb, var(--ov) 14%, transparent), transparent 72%),
    var(--fp-well) !important;
  box-shadow: inset 0 2px 0 color-mix(in srgb, black 50%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 var(--fp-hi-soft) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-empty-title { font-size: 30px !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pill {
  border-color: transparent;
  border-radius: 8px;
  background: color-mix(in srgb, white 7%, transparent);
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 40%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pill--gold { background: color-mix(in srgb, var(--mx-gold) 16%, var(--fp-well)); box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, var(--mx-gold) 60%, transparent), 0 0 0 1px color-mix(in srgb, black 40%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pill--emerald { background: color-mix(in srgb, var(--mx-emerald) 16%, var(--fp-well)); box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, var(--mx-emerald) 60%, transparent), 0 0 0 1px color-mix(in srgb, black 40%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-h3 { font-size: 28px !important; font-weight: 900 !important; text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }

/* Kennzahlen: Erz-Plaketten – Platte, Ader in der Farbe der Zahl, Zahl in Zahlen-Schrift */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat {
  --fp-tone: color-mix(in srgb, var(--tone) 34%, transparent);
  position: relative;
  overflow: hidden;
  padding: 15px 16px 17px !important;
  border-color: transparent !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, color-mix(in srgb, white 5%, transparent), transparent 62%), var(--fp-plate) !important;
  box-shadow:
    inset 0 1px 0 var(--fp-hi),
    inset 0 -3px 0 var(--fp-tone),
    0 0 0 1px var(--fp-ring),
    0 16px 26px -20px black !important;
  transition: translate var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat:is(.mxo-stat--gold, .mxo-stat--emerald, .mxo-stat--amethyst) {
  --fp-tone: var(--tone);
  border-color: transparent !important;
  background:
    radial-gradient(150px 90px at 100% 0%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 12%, transparent), transparent 70%),
    var(--fp-plate) !important;
  box-shadow:
    inset 0 1px 0 var(--fp-hi),
    inset 0 -3px 0 var(--fp-tone),
    0 0 0 1px var(--fp-ring),
    0 20px 30px -20px color-mix(in srgb, var(--tone) 60%, transparent) !important;
}
@media (hover: hover) {
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat:hover { translate: 0 -2px; }
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat-label { font-weight: 700 !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat-value { font-size: 28px !important; font-weight: 900 !important; text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }

/* ------------------------------------------------------------ 11. Platten in den Dialogen
   Alle umrandeten Kästen der älteren Schicht werden Platten: Umriss weg, helle Oberkante,
   dunkler Ring, Schatten. --fp-v = Ader (Unterkante), --fp-g = Licht nach unten. */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :where(.mxo-ticket, .mxo-prize, .mxo-countdown, .mxo-event-cmd, .mxo-me-row, .mxo-summary, .mxo-perks > li, .mxo-invite, .mxo-tier, .mxo-creator-card, .mxo-mycode, .streamer-card, .mxo-online-row, .mxo-member, .mxo-qa, .mxo-game-note, .tc-sound-master, .tc-sound-category, .mxo-steps--row > li, .mxo-wait, #profileLevelCard, #tournamentHeroDetails, #profileOwnerBanner, #partAppStatusBox) {
  --fp-v: color-mix(in srgb, black 30%, transparent);
  --fp-g: black;
  border-color: transparent !important;
  box-shadow:
    inset 0 1px 0 var(--fp-hi-soft),
    inset 0 -2px 0 var(--fp-v),
    0 0 0 1px var(--fp-ring),
    0 20px 32px -24px var(--fp-g) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-invite, .mxo-creator-card) { --fp-v: color-mix(in srgb, var(--mx-amethyst) 62%, transparent); --fp-g: color-mix(in srgb, var(--mx-amethyst) 60%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tier, .mxo-prize, .mxo-countdown) { --fp-v: color-mix(in srgb, var(--mx-gold) 60%, transparent); --fp-g: color-mix(in srgb, var(--mx-gold) 50%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-summary, .mxo-mycode:not(.mxo-mycode--empty), .mxo-me-row.is-ranked, .streamer-card.active-bound, .mxo-online-row.is-me) { --fp-v: color-mix(in srgb, var(--mx-emerald) 62%, transparent); --fp-g: color-mix(in srgb, var(--mx-emerald) 50%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelCard { --fp-v: color-mix(in srgb, var(--lvl) 62%, transparent); --fp-g: color-mix(in srgb, var(--lvl) 46%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileOwnerBanner { --fp-v: color-mix(in srgb, var(--mx-gold) 60%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-qa[open] { --fp-v: color-mix(in srgb, var(--ov) 70%, transparent); --fp-g: color-mix(in srgb, var(--ov) 40%, transparent); }
/* Zustände mit eigener Ader links bleiben erkennbar */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.streamer-card.active-bound, .mxo-online-row.is-me) {
  box-shadow:
    inset 4px 0 0 var(--mx-emerald),
    inset 0 1px 0 var(--fp-hi-soft),
    inset 0 -2px 0 var(--fp-v),
    0 0 0 1px var(--fp-ring),
    0 20px 32px -22px var(--fp-g) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-mycode--empty:not([hidden]) { border-style: solid; box-shadow: inset 0 2px 0 color-mix(in srgb, black 50%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 var(--fp-hi-soft) !important; }
/* anklickbare Platten heben sich und zeigen ihre Ader */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-ticket, .mxo-invite, .streamer-card, .mxo-online-row, .mxo-qa) { transition: translate var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease), filter var(--mx-fast) var(--mx-ease) !important; }
@media (hover: hover) {
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-ticket, .mxo-invite, .streamer-card, .mxo-online-row):hover { translate: 0 -2px; filter: brightness(1.08); }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-ticket:hover { --fp-v: color-mix(in srgb, var(--mx-diamond) 70%, transparent); --fp-g: color-mix(in srgb, var(--mx-diamond) 46%, transparent); border-color: transparent !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-invite:hover { border-color: transparent !important; --fp-v: var(--mx-amethyst); }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-qa:not([open]):hover { --fp-v: color-mix(in srgb, var(--ov) 46%, transparent); }
}
/* Stufenkarten: Ader links in der Stufenfarbe bleibt, „aktuell“ Gold, „als Nächstes“ Smaragd */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tier-card {
  border-color: transparent !important;
  box-shadow: inset 3px 0 0 var(--tier), inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px var(--fp-ring) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tier-card.is-current {
  border-color: transparent !important;
  box-shadow: inset 3px 0 0 var(--tier), inset 0 1px 0 var(--fp-hi), inset 0 -2px 0 var(--mx-gold), 0 0 0 1px var(--fp-ring), 0 14px 24px -14px color-mix(in srgb, var(--mx-gold) 60%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tier-card.is-next {
  border-color: transparent !important;
  box-shadow: inset 3px 0 0 var(--tier), inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, var(--mx-emerald) 70%, transparent), 0 0 0 1px var(--fp-ring) !important;
}
/* Ereignis-Reiter wie die Reiter oben */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-event-tab { border-color: transparent; box-shadow: inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 40%, transparent); transition: translate var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-event-tab.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-raised) 84%, white), var(--mx-raised));
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 15%, transparent), inset 0 -3px 0 var(--mx-gold), 0 0 0 1px color-mix(in srgb, black 46%, transparent), 0 14px 22px -12px color-mix(in srgb, var(--mx-gold) 60%, transparent);
  translate: 0 -1px;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-thread { border-color: transparent !important; box-shadow: inset 0 2px 0 color-mix(in srgb, black 50%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 var(--fp-hi-soft) !important; }

/* ------------------------------------------------------------ 12. Spielerköpfe in Dialogen
   Pixelscharf, abgerundetes Quadrat, helle Oberkante, dunkler Ring; die Zeile hebt den Kopf an. */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-rank-head, .mxo-me-avatar, .mxo-td-player img, #creatorAvatarImg, .mxo-online-avatar img, .mxo-member-avatar, .wh-row-head, .streamer-avatar) {
  image-rendering: pixelated;
  border-radius: 22% !important;
  background-color: var(--mx-raised);
  box-shadow:
    0 -1px 0 color-mix(in srgb, white 30%, transparent),
    0 0 0 2px color-mix(in srgb, black 62%, transparent),
    0 0 0 3.5px var(--fp-head, transparent),
    0 8px 12px -5px black;
  transition: translate var(--mx-fast) var(--mx-ease), scale var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-rank-row, .mxo-online-row, .wh-row, .mxo-me-row, .streamer-card):hover :is(.mxo-rank-head, .mxo-me-avatar, .mxo-online-avatar img, .wh-row-head, .streamer-avatar) { translate: 0 -2px; scale: 1.06; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-rank-row.is-me, .mxo-online-row.is-me, .mxo-me-row.is-ranked) { --fp-head: var(--mx-emerald); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-row.is-me { --fp-head: var(--wt-ice); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-row.is-top { --fp-head: color-mix(in srgb, var(--mx-gold) 80%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #creatorAvatarImg { --fp-head: var(--mx-amethyst); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-mycode-head { border-radius: 22%; image-rendering: pixelated; box-shadow: 0 0 0 2px color-mix(in srgb, black 62%, transparent), 0 10px 16px -6px color-mix(in srgb, var(--mx-emerald) 60%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-online-dot { box-shadow: 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 0 10px var(--mx-emerald); }

/* ------------------------------------------------------------ 13. Profil: der Kopf groß in Szene, Bilanz als Erz-Plaketten */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-profile-head {
  gap: 22px;
  padding-top: 34px !important;
  padding-bottom: 28px !important;
  background:
    radial-gradient(360px 220px at 84px 50%, color-mix(in srgb, var(--ov) 28%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--ov) 15%, transparent), color-mix(in srgb, var(--ov) 4%, transparent)) !important;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-avatar {
  width: 112px;
  height: 112px;
  padding: 6px;
  border-radius: 22%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ov) 46%, var(--mx-raised)), var(--mx-raised) 70%);
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, white 34%, transparent),
    inset 0 -4px 0 color-mix(in srgb, black 40%, transparent),
    0 0 0 1px var(--fp-ring),
    0 0 0 4px color-mix(in srgb, var(--ov) 78%, transparent),
    0 0 0 5px var(--fp-ring),
    0 6px 0 5px color-mix(in srgb, var(--ov) 26%, black),
    0 30px 46px -12px color-mix(in srgb, var(--ov) 78%, transparent);
  transition: translate var(--mx-mid) var(--mx-ease-spring), rotate var(--mx-mid) var(--mx-ease-spring);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-avatar img { border-radius: 18%; image-rendering: pixelated; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-avatar:hover { translate: 0 -4px; rotate: -3deg; }
body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet .mxo-avatar { animation: fpBlockIn 680ms 120ms var(--mx-ease-spring) backwards; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profilePlayerName { font-size: 54px !important; line-height: .9 !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileRoleBadge { border-radius: 8px !important; padding: 7px 11px !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-icon-btn { border-radius: 8px; box-shadow: inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 40%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelIconWrap { box-shadow: inset 0 1px 0 color-mix(in srgb, white 16%, transparent), inset 0 -3px 0 color-mix(in srgb, black 40%, transparent), 0 0 0 1px var(--fp-ring), 0 12px 18px -8px color-mix(in srgb, var(--lvl) 60%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelBadge { font-size: 32px !important; text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-level-track { height: 16px; border-radius: 5px; background: var(--fp-well); box-shadow: inset 0 2px 0 color-mix(in srgb, black 60%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 var(--fp-hi-soft); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelProgressBar { position: relative; overflow: hidden; box-shadow: inset 0 2px 0 color-mix(in srgb, white 40%, transparent), inset 0 -3px 0 color-mix(in srgb, black 24%, transparent), 0 0 18px color-mix(in srgb, var(--lvl) 70%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelProgressBar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, color-mix(in srgb, white 62%, transparent) 50%, transparent 68%);
  animation: fpBar 2.8s var(--mx-ease) infinite;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-invite-icon,
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileSoundIcon,
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tier-icon { box-shadow: inset 0 1px 0 color-mix(in srgb, white 16%, transparent), inset 0 -3px 0 color-mix(in srgb, black 40%, transparent), 0 0 0 1px var(--fp-ring), 0 10px 16px -8px currentColor; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-invite-cta svg.mxo-ico { transition: translate var(--mx-fast) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-invite:hover .mxo-invite-cta svg.mxo-ico { translate: 4px 0; }

/* ------------------------------------------------------------ 14. Rangliste: Bühne mit Lichtkegel, Podest aus Gold-, Diamant- und Smaragdblock */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pillar--iron {
  --c-top: color-mix(in srgb, var(--mx-diamond) 56%, white);
  --c-bot: color-mix(in srgb, var(--mx-diamond) 84%, black);
  --px: color-mix(in srgb, white 30%, transparent);
  --ink: color-mix(in srgb, var(--mx-diamond) 30%, black);
  --glow: color-mix(in srgb, var(--mx-diamond) 46%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pillar--copper {
  --c-top: color-mix(in srgb, var(--mx-emerald) 58%, white);
  --c-bot: color-mix(in srgb, var(--mx-emerald) 80%, black);
  --px: color-mix(in srgb, white 26%, transparent);
  --ink: color-mix(in srgb, var(--mx-emerald) 28%, black);
  --glow: color-mix(in srgb, var(--mx-emerald) 46%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pillar { box-shadow: 0 24px 30px -18px black, 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 0 70px -8px var(--glow) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, white 46%, transparent) 50%, transparent 70%);
  translate: -100% 0;
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-slot--1 .mxo-pillar::after { animation: fpBar 4.6s 1.4s var(--mx-ease) infinite; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-slot:hover .mxo-pillar::after { animation: fpBar 900ms var(--mx-ease) 1; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-podium {
  padding-top: 40px !important;
  background:
    radial-gradient(44% 72% at 50% 100%, color-mix(in srgb, var(--mx-gold) 26%, transparent), transparent 72%),
    radial-gradient(28% 52% at 17% 100%, color-mix(in srgb, var(--mx-diamond) 16%, transparent), transparent 72%),
    radial-gradient(28% 52% at 83% 100%, color-mix(in srgb, var(--mx-emerald) 16%, transparent), transparent 72%);
}
/* Lichtkegel von oben auf Platz 1 */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-podium::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30px 0 22px;
  background: conic-gradient(from 146deg at 50% -22%, transparent 0deg, color-mix(in srgb, var(--mx-gold) 9%, transparent) 9deg, color-mix(in srgb, var(--mx-gold-hi) 30%, transparent) 34deg, color-mix(in srgb, var(--mx-gold) 9%, transparent) 59deg, transparent 68deg);
  -webkit-mask-image: linear-gradient(180deg, black 8%, transparent 92%);
  mask-image: linear-gradient(180deg, black 8%, transparent 92%);
  pointer-events: none;
  animation: fpBeam 5.5s ease-in-out infinite;
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot .podium-name { font-size: 16.5px !important; font-weight: 800 !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .podium-name { font-size: 20px !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .podium-won { font-size: 40px !important; text-shadow: 0 2px 0 color-mix(in srgb, black 55%, transparent), 0 0 30px color-mix(in srgb, var(--mx-gold) 55%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--2:not(.placeholder) .podium-won { color: color-mix(in srgb, var(--mx-diamond) 62%, white) !important; text-shadow: 0 2px 0 color-mix(in srgb, black 55%, transparent), 0 0 22px color-mix(in srgb, var(--mx-diamond) 40%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--3:not(.placeholder) .podium-won { color: color-mix(in srgb, var(--mx-emerald) 62%, white) !important; text-shadow: 0 2px 0 color-mix(in srgb, black 55%, transparent), 0 0 22px color-mix(in srgb, var(--mx-emerald) 40%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .mxo-slot-head { filter: drop-shadow(0 12px 10px color-mix(in srgb, black 55%, transparent)) drop-shadow(0 0 20px color-mix(in srgb, var(--mx-gold) 50%, transparent)); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--2 .mxo-slot-head { filter: drop-shadow(0 12px 10px color-mix(in srgb, black 55%, transparent)) drop-shadow(0 0 16px color-mix(in srgb, var(--mx-diamond) 40%, transparent)); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--3 .mxo-slot-head { filter: drop-shadow(0 12px 10px color-mix(in srgb, black 55%, transparent)) drop-shadow(0 0 16px color-mix(in srgb, var(--mx-emerald) 40%, transparent)); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .mxo-slot-head img { width: 108px !important; height: 108px !important; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot:hover .mxo-slot-head img { transform: translateY(-7px) scale(1.05); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-crown { animation: fpFloat 2.8s ease-in-out infinite; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot.is-me .podium-name { color: var(--mx-emerald) !important; }
/* Plätze 4–10: Platten ohne Umriss, eigene Zeile in Smaragd */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-ranks { gap: 8px; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row {
  grid-template-columns: 40px 42px minmax(0, 1fr) auto;
  min-height: 68px;
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, white 4%, transparent), transparent 60%), var(--fp-plate);
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 color-mix(in srgb, black 30%, transparent), 0 0 0 1px var(--fp-ring), 0 16px 24px -22px black;
  transition: translate var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-head { width: 42px; height: 42px; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-no { font-size: 27px; color: var(--mx-text-2); text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-amount { font-size: 26px; text-align: right; font-variant-numeric: tabular-nums; text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }
@media (hover: hover) {
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row:hover {
    translate: 0 -2px;
    box-shadow: inset 0 1px 0 var(--fp-hi), inset 0 -2px 0 color-mix(in srgb, var(--mx-gold) 70%, transparent), 0 0 0 1px var(--fp-ring), 0 18px 28px -18px color-mix(in srgb, var(--mx-gold) 50%, transparent);
  }
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row.is-me,
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row.is-me:hover {
  border-color: transparent;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--mx-emerald) 24%, transparent), color-mix(in srgb, var(--mx-emerald) 5%, transparent) 62%),
    var(--fp-plate);
  box-shadow:
    inset 4px 0 0 var(--mx-emerald),
    inset 0 1px 0 var(--fp-hi),
    inset 0 -2px 0 color-mix(in srgb, var(--mx-emerald) 70%, transparent),
    0 0 0 1px var(--fp-ring),
    0 20px 34px -18px color-mix(in srgb, var(--mx-emerald) 70%, transparent);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row.is-me .mxo-rank-no { color: var(--mx-emerald); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row.is-me .mxo-rank-amount { color: color-mix(in srgb, var(--mx-emerald) 55%, white); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .podium-you-tag { border-radius: 6px; box-shadow: inset 0 1px 0 color-mix(in srgb, white 40%, transparent), 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 6px 12px -4px color-mix(in srgb, var(--mx-emerald) 70%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-note { border-color: transparent; box-shadow: inset 3px 0 0 var(--mx-gold), inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 44%, transparent); }

/* ------------------------------------------------------------ 15. Winter-Dialog: gleiche Plattenlogik in Eis
   Türchen behalten ihre Zustände aus max-winter-hub.css; hier nur Platten, Balken und Zeilen. */
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.wh-stat, .wh-mission, .wh-advent-status, .wh-ach, .wh-row) {
  --fp-v: color-mix(in srgb, black 30%, transparent);
  --fp-g: black;
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wt-frost, white) 6%, transparent), transparent 62%), var(--fp-plate);
  box-shadow: inset 0 1px 0 var(--fp-hi-soft), inset 0 -2px 0 var(--fp-v), 0 0 0 1px var(--fp-ring), 0 18px 28px -22px var(--fp-g);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-stat { --fp-v: color-mix(in srgb, var(--wt-ice, var(--mx-diamond)) 55%, transparent); --fp-g: color-mix(in srgb, var(--wt-ice, var(--mx-diamond)) 40%, transparent); transition: translate var(--mx-fast) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-stat-value { font-size: 46px; text-shadow: 0 2px 0 color-mix(in srgb, black 50%, transparent), 0 0 26px color-mix(in srgb, var(--wt-ice, var(--mx-diamond)) 40%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-stat-value--title { font-size: 32px; line-height: 1; overflow-wrap: normal; }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.wh-mission.is-done, .wh-ach.is-unlocked) {
  --fp-v: color-mix(in srgb, var(--mx-emerald) 75%, transparent);
  --fp-g: color-mix(in srgb, var(--mx-emerald) 55%, transparent);
  border-color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mx-emerald) 17%, transparent), color-mix(in srgb, var(--mx-emerald) 3%, transparent) 72%), var(--fp-plate);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-ach.is-locked { background: var(--fp-well); box-shadow: inset 0 2px 0 color-mix(in srgb, black 45%, transparent), inset 0 0 0 1px color-mix(in srgb, black 36%, transparent), 0 1px 0 var(--fp-hi-soft); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-row.is-me {
  --fp-v: color-mix(in srgb, var(--wt-ice) 75%, transparent);
  --fp-g: color-mix(in srgb, var(--wt-ice) 55%, transparent);
  border-color: transparent;
  background: linear-gradient(90deg, color-mix(in srgb, var(--wt-ice) 22%, transparent), transparent 70%), var(--fp-plate);
  box-shadow: inset 4px 0 0 var(--wt-ice), inset 0 1px 0 var(--fp-hi), inset 0 -2px 0 var(--fp-v), 0 0 0 1px var(--fp-ring), 0 18px 28px -18px var(--fp-g);
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-row { min-height: 56px; transition: translate var(--mx-fast) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-row-head { width: 36px; height: 36px; }
@media (hover: hover) {
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.wh-stat, .wh-mission, .wh-row):hover { translate: 0 -2px; }
}
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-bar { height: 12px; border-radius: 4px; background: var(--fp-well); box-shadow: inset 0 2px 0 color-mix(in srgb, black 60%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 var(--fp-hi-soft); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-bar > span { border-radius: 3px; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 62%, white), var(--tone)); box-shadow: inset 0 -3px 0 color-mix(in srgb, black 22%, transparent), 0 0 16px color-mix(in srgb, var(--tone) 70%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-pill { border-color: transparent; border-radius: 8px; box-shadow: inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 40%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-section-head :is(h3, .mxo-h3) { text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }
body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-msg { border-color: transparent; box-shadow: inset 3px 0 0 var(--tone), inset 0 1px 0 var(--fp-hi-soft), 0 0 0 1px color-mix(in srgb, black 44%, transparent); }

/* ------------------------------------------------------------ 16. Meldungen (Toast): Block mit Erzader je Art */
body.tc-redesign.tc-max:not(#_) #toast {
  --fp-t: var(--mx-diamond);
  overflow: hidden;
  padding: 14px 20px 16px 14px !important;
  border-color: transparent !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--fp-t) 12%, var(--mx-raised)), var(--mx-surface)) !important;
  font-weight: 700 !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 16%, transparent),
    inset 0 -3px 0 var(--fp-t),
    0 0 0 1px color-mix(in srgb, black 60%, transparent),
    0 5px 0 color-mix(in srgb, var(--mx-bg) 60%, black),
    0 30px 56px -18px black,
    0 26px 50px -20px color-mix(in srgb, var(--fp-t) 70%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) #toast.good { --fp-t: var(--mx-emerald); border-color: transparent !important; }
body.tc-redesign.tc-max:not(#_) #toast.bad { --fp-t: var(--mx-redstone); border-color: transparent !important; }
body.tc-redesign.tc-max:not(#_) #toast.warn { --fp-t: var(--mx-gold); border-color: transparent !important; }
body.tc-redesign.tc-max:not(#_) #toast::before {
  width: 32px;
  height: 32px;
  font-size: 17px;
  color: color-mix(in srgb, var(--fp-t) 20%, black);
  background: linear-gradient(180deg, color-mix(in srgb, var(--fp-t) 70%, white), var(--fp-t) 55%, color-mix(in srgb, var(--fp-t) 78%, black));
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 50%, transparent), inset 0 -3px 0 color-mix(in srgb, black 24%, transparent), 0 0 0 1px color-mix(in srgb, black 55%, transparent), 0 8px 16px -6px var(--fp-t);
}
body.tc-redesign.tc-max:not(#_) #toast::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, white 14%, transparent) 50%, transparent);
  translate: -130% 0;
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) #toast:not([hidden]) {
  animation-name: fpToastIn !important;
  animation-duration: 420ms !important;
  animation-timing-function: var(--mx-ease) !important;
  animation-fill-mode: both !important;
}
body.tc-redesign.tc-max:not(#_) #toast:not([hidden])::before { animation: fpPop 460ms 120ms var(--mx-ease-spring) backwards; }
body.tc-redesign.tc-max:not(#_) #toast:not([hidden])::after { animation: fpSweep 900ms 240ms var(--mx-ease) both; }

/* ------------------------------------------------------------ 17. Tisch-Liste „Gemeinsam spielen“
   Gruppen sind Platten mit der Ader ihrer Familie, Tischkarten kleine Platten mit der Ader ihrer Stufe.
   Zustände bleiben: mein Tisch (kräftige Ader, Licht), besetzt (Smaragd-Punkt pulsiert), Wartung (gestrichelt, Redstone). */
body.tc-redesign.tc-max:not(#_) #liveSection .section-title { text-shadow: 0 3px 0 color-mix(in srgb, black 50%, transparent), 0 0 40px color-mix(in srgb, var(--mx-emerald) 22%, transparent); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 11%, transparent),
    inset 0 -3px 0 color-mix(in srgb, var(--fam) 58%, transparent),
    0 0 0 1px color-mix(in srgb, black 48%, transparent),
    var(--mx-shadow),
    0 34px 60px -38px color-mix(in srgb, var(--fam) 62%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam-art {
  background: linear-gradient(180deg, color-mix(in srgb, var(--fam) 30%, var(--mx-raised)), color-mix(in srgb, var(--fam) 10%, var(--mx-raised)));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 20%, transparent),
    inset 0 -3px 0 color-mix(in srgb, black 34%, transparent),
    0 0 0 1px color-mix(in srgb, black 55%, transparent),
    0 14px 22px -10px color-mix(in srgb, var(--fam) 70%, transparent);
  transition: translate var(--mx-mid) var(--mx-ease-spring), rotate var(--mx-mid) var(--mx-ease-spring);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam:hover .tb-fam-art { translate: 0 -3px; rotate: -4deg; }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam-title { font-size: 34px; font-weight: 900; text-shadow: 0 2px 0 color-mix(in srgb, black 50%, transparent); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam-badge {
  border-radius: 8px;
  background: color-mix(in srgb, var(--fam) 18%, var(--mx-bg));
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), inset 0 -2px 0 color-mix(in srgb, var(--fam) 60%, transparent), 0 0 0 1px color-mix(in srgb, black 44%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam-live.is-on .tb-dot,
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile[data-live="true"] .tb-dot { box-shadow: 0 0 10px var(--mx-emerald); animation: fpPulse 1.8s ease-in-out infinite; }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 13%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--lvl) 46%, transparent),
    0 0 0 1px color-mix(in srgb, black 52%, transparent),
    0 4px 0 color-mix(in srgb, var(--mx-bg) 60%, black),
    0 22px 30px -22px black;
  transition: transform var(--mx-mid) var(--mx-ease), box-shadow var(--mx-mid) var(--mx-ease), filter var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile::before { box-shadow: 0 0 16px color-mix(in srgb, var(--lvl) 70%, transparent); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile:hover {
  transform: translateY(-5px);
  border-color: transparent;
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 18%, transparent),
    inset 0 -2px 0 var(--lvl),
    0 0 0 1px color-mix(in srgb, black 52%, transparent),
    0 4px 0 color-mix(in srgb, var(--mx-bg) 60%, black),
    0 30px 40px -20px color-mix(in srgb, var(--lvl) 62%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile:active { transform: translateY(1px); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-mine,
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-mine:hover {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 18%, transparent),
    inset 0 -3px 0 var(--lvl),
    0 0 0 1px color-mix(in srgb, black 52%, transparent),
    0 0 0 3px color-mix(in srgb, var(--lvl) 55%, transparent),
    0 28px 40px -18px color-mix(in srgb, var(--lvl) 70%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile[data-live="true"]:not(.is-mine, .is-maint) {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 13%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--mx-emerald) 80%, transparent),
    0 0 0 1px color-mix(in srgb, black 52%, transparent),
    0 4px 0 color-mix(in srgb, var(--mx-bg) 60%, black),
    0 24px 34px -20px color-mix(in srgb, var(--mx-emerald) 50%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-maint,
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-maint:hover {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--mx-redstone) 46%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 6%, transparent), 0 14px 20px -18px black;
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-maint[aria-disabled="true"]:hover { transform: none; filter: none; }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile-art { transition: translate var(--mx-mid) var(--mx-ease-spring), rotate var(--mx-mid) var(--mx-ease-spring), scale var(--mx-mid) var(--mx-ease-spring); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile:not(.is-maint):hover .tb-tile-art { translate: 0 -2px; rotate: 6deg; scale: 1.14; }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile-stake b { text-shadow: 0 2px 0 color-mix(in srgb, black 45%, transparent); }
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile-cta {
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--lvl) 40%, transparent), 0 3px 0 color-mix(in srgb, black 40%, transparent);
  transition: background var(--mx-mid) var(--mx-ease), color var(--mx-mid) var(--mx-ease), box-shadow var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile:not(.is-maint):hover .tb-tile-cta,
body.tc-redesign.tc-max:not(#_) #liveSection .tb-tile.is-mine .tb-tile-cta {
  box-shadow: inset 0 2px 0 color-mix(in srgb, white 42%, transparent), 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 3px 0 color-mix(in srgb, var(--lvl) 46%, black), 0 14px 20px -10px color-mix(in srgb, var(--lvl) 70%, transparent);
}
body.tc-redesign.tc-max:not(#_) #liveSection .tb-lobby-empty { border-color: transparent; background: color-mix(in srgb, var(--mx-bg) 82%, black); box-shadow: inset 0 2px 0 color-mix(in srgb, black 50%, transparent), inset 0 0 0 1px color-mix(in srgb, black 40%, transparent), 0 1px 0 color-mix(in srgb, white 8%, transparent); }

/* ------------------------------------------------------------ 18. Akury-Block: Partnerfarben bleiben, dazu Tiefe und Plattenlogik */
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-card {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 12%, transparent),
    0 0 0 1px color-mix(in srgb, black 50%, transparent),
    0 5px 0 1px color-mix(in srgb, black 34%, transparent),
    var(--mx-shadow),
    0 50px 100px -44px color-mix(in srgb, var(--mx-amethyst) 70%, transparent);
}
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-badge { border-color: transparent; border-radius: 8px; box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), 0 0 0 1px color-mix(in srgb, black 46%, transparent), 0 3px 0 color-mix(in srgb, black 30%, transparent); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-title { text-shadow: 0 3px 0 color-mix(in srgb, black 45%, transparent); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-bonus {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 14%, transparent),
    inset 0 -3px 0 color-mix(in srgb, var(--mx-gold) 70%, transparent),
    0 0 0 1px color-mix(in srgb, black 54%, transparent),
    0 28px 46px -24px color-mix(in srgb, var(--mx-gold) 62%, transparent);
}
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-bonus-coin { box-shadow: inset 0 2px 0 color-mix(in srgb, white 50%, transparent), inset 0 -4px 0 color-mix(in srgb, black 22%, transparent), 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 4px 0 var(--mx-gold-lo), 0 18px 26px -10px color-mix(in srgb, var(--mx-gold) 80%, transparent); animation: fpFloat 3.2s ease-in-out infinite; }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-bonus-steps li { border-color: transparent; box-shadow: inset 0 1px 0 color-mix(in srgb, white 9%, transparent), inset 0 -2px 0 color-mix(in srgb, black 30%, transparent), 0 0 0 1px color-mix(in srgb, black 48%, transparent); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-bonus-status { box-shadow: inset 0 2px 0 color-mix(in srgb, black 40%, transparent), inset 0 0 0 1px color-mix(in srgb, black 34%, transparent), 0 1px 0 color-mix(in srgb, white 7%, transparent); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-trailer {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 14%, transparent),
    0 0 0 1px color-mix(in srgb, black 60%, transparent),
    0 6px 0 1px color-mix(in srgb, black 40%, transparent),
    0 40px 70px -30px black,
    0 30px 80px -30px color-mix(in srgb, var(--mx-amethyst) 70%, transparent);
  transition: translate var(--mx-mid) var(--mx-ease), box-shadow var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-trailer:hover { translate: 0 -3px; }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-feat { box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), 0 0 0 1px color-mix(in srgb, black 46%, transparent), 0 4px 0 color-mix(in srgb, black 32%, transparent), 0 22px 30px -22px black; transition: transform var(--mx-mid) var(--mx-ease), border-color var(--mx-fast) var(--mx-ease), filter var(--mx-mid) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-feat:hover { transform: translateY(-5px); filter: brightness(1.08); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-feat img { transition: scale var(--mx-slow) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) #akuryPartner .akp-feat:hover img { scale: 1.05; }

/* ------------------------------------------------------------ 19. Seitenfuß: ruhiger, klar gegliedert, feine Erzlinie oben
   Im Winter bleibt der Hintergrund der Winter-Schicht (Schneewehe darüber); die Erzlinie liegt dann unter dem Schnee. */
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer { position: relative; border-top-color: transparent !important; }
body.tc-redesign.tc-max:not(#_):not(.tc-winter) #siteMain .casino-main-footer {
  background:
    radial-gradient(900px 260px at 50% 0%, color-mix(in srgb, var(--mx-gold) 7%, transparent), transparent 72%),
    linear-gradient(180deg, var(--mx-bg-2), color-mix(in srgb, var(--mx-bg) 50%, black) 70%) !important;
}
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 2%, color-mix(in srgb, var(--mx-gold) 55%, transparent) 26%, var(--mx-gold-hi) 50%, color-mix(in srgb, var(--mx-gold) 55%, transparent) 74%, transparent 98%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--mx-gold) 45%, transparent);
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-cta-heading { text-shadow: 0 3px 0 color-mix(in srgb, black 50%, transparent); }
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn {
  border-color: transparent !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 13%, transparent),
    inset 0 -3px 0 color-mix(in srgb, var(--mx-emerald) 60%, transparent),
    0 0 0 1px color-mix(in srgb, black 56%, transparent),
    0 5px 0 color-mix(in srgb, var(--mx-bg) 50%, black),
    0 30px 44px -22px color-mix(in srgb, var(--mx-emerald) 46%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn:hover {
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 18%, transparent),
    inset 0 -3px 0 var(--mx-emerald),
    0 0 0 1px color-mix(in srgb, black 56%, transparent),
    0 5px 0 color-mix(in srgb, var(--mx-bg) 50%, black),
    0 36px 50px -20px color-mix(in srgb, var(--mx-emerald) 62%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn:active {
  transform: translateY(4px) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent), inset 0 -3px 0 var(--mx-emerald), 0 0 0 1px color-mix(in srgb, black 56%, transparent), 0 1px 0 color-mix(in srgb, var(--mx-bg) 50%, black) !important;
}
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn.is-copied { border-color: transparent !important; }
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn .server-status-dot { animation: fpPulse 1.8s ease-in-out infinite; }
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn .server-ip-domain { font-size: 36px !important; font-weight: 900 !important; text-shadow: 0 2px 0 color-mix(in srgb, black 50%, transparent); }
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn .server-copy-badge {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 0 color-mix(in srgb, white 46%, transparent), 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 4px 0 var(--mx-gold-lo), 0 16px 22px -10px color-mix(in srgb, var(--mx-gold) 70%, transparent) !important;
}
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn.is-copied .server-copy-badge { box-shadow: inset 0 2px 0 color-mix(in srgb, white 42%, transparent), 0 0 0 1px color-mix(in srgb, black 50%, transparent), 0 4px 0 var(--mx-emerald-lo), 0 16px 22px -10px color-mix(in srgb, var(--mx-emerald) 70%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn .server-copy-badge::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, white 55%, transparent) 50%, transparent);
  translate: -140% 0;
  pointer-events: none;
}
body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn:hover .server-copy-badge::after { animation: fpSweep 700ms var(--mx-ease) both; }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-feat-pill {
  --fp-v: var(--mx-gold);
  border-color: transparent !important;
  background: linear-gradient(180deg, color-mix(in srgb, white 4%, transparent), transparent 70%), color-mix(in srgb, var(--mx-surface) 80%, transparent) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 9%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--fp-v) 46%, transparent),
    0 0 0 1px color-mix(in srgb, black 48%, transparent),
    0 18px 26px -22px black !important;
  transition: translate var(--mx-mid) var(--mx-ease), box-shadow var(--mx-mid) var(--mx-ease);
}
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-feat-pill:nth-child(2) { --fp-v: var(--mx-emerald); }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-feat-pill:nth-child(3) { --fp-v: var(--mx-diamond); }
@media (hover: hover) {
  body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-feat-pill:hover { translate: 0 -3px; }
  body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-feat-pill:hover .feat-icon { rotate: -6deg; scale: 1.08; }
}
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .feat-icon {
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 16%, transparent), inset 0 -3px 0 color-mix(in srgb, black 34%, transparent), 0 0 0 1px color-mix(in srgb, black 52%, transparent), 0 10px 16px -8px color-mix(in srgb, var(--fi) 70%, transparent);
  transition: rotate var(--mx-mid) var(--mx-ease-spring), scale var(--mx-mid) var(--mx-ease-spring);
}
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-divider { background: linear-gradient(90deg, transparent, color-mix(in srgb, white 12%, transparent) 18%, color-mix(in srgb, white 12%, transparent) 82%, transparent) !important; }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-logo { box-shadow: 0 -1px 0 color-mix(in srgb, white 24%, transparent), 0 0 0 2px color-mix(in srgb, black 60%, transparent), 0 8px 14px -6px color-mix(in srgb, var(--mx-gold) 60%, transparent); }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-links button { position: relative; border-radius: 8px; transition: color var(--mx-fast) var(--mx-ease), background-color var(--mx-fast) var(--mx-ease), box-shadow var(--mx-fast) var(--mx-ease); }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-links button:hover { color: var(--mx-text); background: color-mix(in srgb, white 6%, transparent); box-shadow: inset 0 -2px 0 var(--mx-gold); }
body.tc-redesign.tc-max:not(#_) #siteMain .casino-main-footer .footer-links button:focus-visible { outline: 2px solid var(--mx-gold); outline-offset: 2px; }

/* ------------------------------------------------------------ 20. Schmale Bildschirme
   Das Blatt kommt wie bisher von unten und füllt die Breite; hier nur die Maße der neuen Schicht auf Handgröße. */
@media (max-width: 640px) {
  body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet {
    box-shadow:
      inset 0 1px 0 var(--fp-hi),
      0 0 0 1px var(--fp-ring),
      0 -30px 70px -30px black,
      0 -26px 80px -34px color-mix(in srgb, var(--ov) 70%, transparent) !important;
  }
  body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet::before { inset: 0 20px auto !important; }
  body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal) > .mxo-sheet::after { display: none !important; }
  body.tc-redesign.tc-max:not(#_) .overlay:not(#gameOverlay, #adminOverlay, #botsModal, #customBotCreateModal, #adminPinModal):has(> .mxo-sheet):not([hidden]) > .mxo-sheet {
    animation-name: fpSheetUp !important;
    animation-duration: 420ms !important;
  }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-close { inset: 14px 14px auto auto !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-head { gap: 12px; padding: 22px 70px 18px 18px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-icon { width: 48px; height: 48px; border-radius: 12px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-icon svg.mxo-ico { width: 24px; height: 24px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-title { font-size: 31px !important; line-height: .98 !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-sub { margin-top: 8px !important; font-size: 14.5px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-tabs-wrap { padding: 2px 18px 14px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.mxo-tabs .admin-tab, .mxo-seg > .btn) { min-height: 46px !important; padding: 6px 8px !important; font-size: 13.5px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-body { padding: 18px 18px calc(22px + env(safe-area-inset-bottom)) !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_):has(> .mxo-foot) .mxo-body { padding-bottom: 20px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat { padding: 12px 14px 14px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-stat-value { font-size: 23px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-h3 { font-size: 24px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-empty-title { font-size: 25px !important; }
  /* Profil */
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-profile-head { gap: 14px; padding-top: 24px !important; padding-bottom: 20px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-avatar { width: 78px; height: 78px; padding: 4px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profilePlayerName { font-size: 34px !important; line-height: .96 !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #profileLevelBadge { font-size: 26px !important; }
  /* Rangliste */
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-podium { padding-top: 26px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot .podium-name { font-size: 13px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .podium-name { font-size: 14.5px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .podium-won { font-size: 22px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-slot--1 .mxo-slot-head img { width: 70px !important; height: 70px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-row { grid-template-columns: 24px 34px minmax(0, 1fr) auto; min-height: 60px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-head { width: 34px; height: 34px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-no { font-size: 20px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) #boardList .mxo-rank-amount { font-size: 18px; }
  /* Ziele mindestens 44 px */
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) :is(.btn.sm, .btn.quiet, #creatorRevShareDisplay) { min-height: 44px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .tc-sound-preview { min-width: 44px !important; min-height: 44px !important; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .mxo-sub-link { padding-block: 11px; margin-block: -11px; }
  /* Winter */
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-stat-value { font-size: 36px; }
  body.tc-redesign.tc-max:not(#_) .mxo-sheet:not(#_) .wh-stat-value--title { font-size: 24px; }
  /* Tisch-Liste */
  body.tc-redesign.tc-max:not(#_) #liveSection .tb-fam-title { font-size: 26px; }
}
@media (max-width: 760px) {
  body.tc-redesign.tc-max:not(#_) #siteMain #footerServerCopyBtn .server-ip-domain { font-size: 28px !important; }
}
