/* Event141 – öffentliche Kampf-Seiten (Fightcard, Turnierplan, Kampf, Zeitplan, Teilnehmer,
   Ergebnisse) als MudBlazor-Inseln. Nur, was MudBlazor nicht hergibt: Kampfkarten mit zwei
   Ecken, Turnierbaum-Linien, Zeitplan-Spalten, Podeste. Farben kommen aus dem Theme der
   Instanz (PublicTheme: --mud-palette-*), Eckenfarben/Gold je hell/dunkel aus .e141-bouts; Radius,
   Schriften und Überschriften-Stil aus der Design-Vorlage (--e141-radius/--e141-font-*, data-headings
   am Wurzel-Element .e141-root – siehe public.css, Abschnitt „Design-Vorlagen“). */

.e141-bouts {
    --e141-red: #d32f2f;
    --e141-blue: #1976d2;
    --e141-gold: #b8860b;
    --e141-gold-soft: rgba(201, 162, 39, .14);
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    font-family: var(--e141-font-body, var(--mud-typography-default-family, Roboto, "Segoe UI", sans-serif));
    line-height: 1.5;
}
.e141-bouts--dark {
    --e141-red: #ff7b85;
    --e141-blue: #7cb7ff;
    --e141-gold: #f2c14e;
    --e141-gold-soft: rgba(242, 193, 78, .14);
}
.e141-bouts a { color: inherit; }
.e141-bouts img { display: block; }
.e141-gold { color: var(--e141-gold) !important; }
.e141-chip-gold.mud-chip { color: var(--e141-gold); border-color: var(--e141-gold); }

/* Seitenkopf (statisch, vor der Insel) */
.e141-head { margin: 0 0 12px; font-family: var(--mud-typography-default-family, Roboto, "Segoe UI", sans-serif); color: var(--mud-palette-text-primary); }
.e141-head__event { margin: 0 0 2px; font-size: .9rem; color: var(--mud-palette-text-secondary); }
.e141-head__event a { color: var(--mud-palette-primary); text-decoration: none; }
.e141-head__event a:hover { text-decoration: underline; }
.e141-head__title { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; text-transform: none; }
.e141-head__title small { font-size: .55em; font-weight: 400; color: var(--mud-palette-text-secondary); margin-left: .3em; }

/* Abschnitte */
.e141-section { margin: 0 0 28px; }
.e141-section:last-child { margin-bottom: 8px; }
.e141-block.mud-typography { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--mud-palette-text-secondary); font-weight: 600; letter-spacing: .12em; }
.e141-block.mud-typography::after { content: ""; flex: 1; border-top: 1px solid var(--mud-palette-lines-default); }
.e141-h2.mud-typography { margin: 0 0 12px; font-weight: 600; }
.e141-h2 small { font-weight: 400; font-size: .7em; }
.e141-list { display: grid; gap: 12px; }
.e141-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.e141-time { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; }
.e141-time .mud-icon-root { font-size: 1.1em; }

/* LIVE: pulsierend */
.e141-live { animation: e141-pulse 1.4s ease-in-out infinite; }
@keyframes e141-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, .55); }
    50% { box-shadow: 0 0 0 6px rgba(229, 57, 53, 0); }
}
@media (prefers-reduced-motion: reduce) { .e141-live { animation: none; } }

/* Flaggen (PublicText.FlagHtml) */
.e141-bouts .flag, .e141-head .flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); vertical-align: -2px; object-fit: cover; display: inline-block; }
.e141-bouts .flag--xs { width: 14px; height: 10px; vertical-align: -1px; }
.e141-bouts span.flag { box-shadow: none; width: auto; height: auto; font-size: 1.1em; line-height: 1; }

/* ---------------------------------------------------------------- Kampfkarte */
.e141-fight.mud-paper { padding: 12px 14px 14px; border-radius: var(--e141-radius); border: 1px solid transparent; }
.e141-fight--laufend.mud-paper { border-color: var(--mud-palette-error); box-shadow: 0 0 0 1px var(--mud-palette-error), var(--mud-elevation-4); }
.e141-fight--abgesagt.mud-paper { opacity: .6; }
.e141-fight--main.mud-paper { padding: 18px 20px 20px; border-color: var(--e141-gold-soft); background: linear-gradient(170deg, var(--e141-gold-soft), var(--mud-palette-surface) 42%); }

.e141-fight__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 10px; }
.e141-fight__no { font-weight: 800; font-size: 1.1rem; color: var(--mud-palette-primary); text-decoration: none; font-variant-numeric: tabular-nums; }
.e141-fight__no:hover { text-decoration: underline; }
.e141-fight__title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.e141-fight__sub { color: var(--mud-palette-text-secondary); font-size: .9rem; }
.e141-fight__badge.mud-chip { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.e141-fight__state { margin-left: auto; display: flex; align-items: center; gap: 4px 10px; font-size: .9rem; }
.e141-fight__venue { color: var(--mud-palette-text-secondary); }

.e141-fight__body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 16px; align-items: start; }
.e141-fight__mid { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 48px; }
.e141-fight__vs { font-weight: 900; font-size: 1.4rem; color: var(--mud-palette-primary); letter-spacing: .04em; }
.e141-fight--main .e141-fight__vs { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.e141-fight__verdict { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; }
.e141-fight__verdict small { font-weight: 400; color: var(--mud-palette-text-secondary); white-space: nowrap; }
.e141-stars { color: var(--e141-gold); font-size: .72rem; letter-spacing: 4px; text-indent: 4px; }

.e141-fight__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.e141-fight__meta:empty { display: none; }
.e141-fight__result { margin: 10px 0 0; text-align: center; font-weight: 700; color: var(--e141-gold); }
.e141-fight__result .mud-icon-root { vertical-align: -3px; }

/* Ecke */
.e141-corner { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
.e141-corner--red { justify-self: end; }
.e141-corner--blue { justify-self: start; }
.e141-corner__photo { position: relative; display: block; width: 150px; max-width: 100%; aspect-ratio: 3 / 4; margin-bottom: 6px; border-radius: var(--e141-radius); overflow: hidden; border: 2px solid var(--e141-red); background: var(--mud-palette-background-gray); }
.e141-corner--blue .e141-corner__photo { border-color: var(--e141-blue); }
.e141-fight--main .e141-corner__photo { width: 250px; border-width: 3px; }
.e141-corner__photo img, .e141-big__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.e141-corner__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mud-palette-text-secondary); }
.e141-corner__name { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; text-decoration: none; color: var(--e141-red); overflow-wrap: anywhere; }
.e141-corner--blue .e141-corner__name { color: var(--e141-blue); }
.e141-corner__name:hover { text-decoration: underline; }
.e141-fight--main .e141-corner__name { font-size: clamp(1.1rem, .9rem + 1.2vw, 1.7rem); }
.e141-corner.is-open .e141-corner__name { font-weight: 500; text-transform: none; font-style: italic; color: var(--mud-palette-text-secondary); }
.e141-corner__nick { font-style: italic; color: var(--mud-palette-text-secondary); font-size: .9rem; }
.e141-corner__gym { font-size: .85rem; color: var(--mud-palette-text-secondary); }
.e141-corner__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 6px; }
.e141-corner__chips--lg { gap: 6px; margin-top: 10px; }
.e141-corner.is-winner .e141-corner__photo { border-color: var(--e141-gold); box-shadow: 0 0 0 1px var(--e141-gold), 0 0 18px var(--e141-gold-soft); }
.e141-corner.is-winner .e141-corner__name { color: var(--e141-gold); }

/* Schriftzug „Winner“ quer über dem unteren Bildrand */
.e141-ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .25em 0; text-align: center; font-weight: 800; font-size: .78rem; letter-spacing: .25em; text-indent: .25em; text-transform: uppercase; color: #15100a; background: linear-gradient(180deg, #f6e08e, #f2c14e 55%, #b88a2a); pointer-events: none; }
.e141-fight--main .e141-ribbon, .e141-big__photo .e141-ribbon { font-size: 1rem; letter-spacing: .32em; text-indent: .32em; }

/* Silhouette ohne Foto, Medien-Stapel (Foto/Video, js/media.js) */
.e141-silhouette { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--mud-palette-background-gray); color: var(--mud-palette-text-disabled); }
.e141-silhouette .mud-icon-root { width: 55%; height: 55%; }
.media-stack { position: relative; display: block; width: 100%; height: 100%; }
.media-stack img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.media-stack video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; transition: opacity .5s; pointer-events: none; }
.media-stack.is-playing video { opacity: 1; }

/* Titelgürtel */
.e141-belt { text-align: center; margin: 4px 0 12px; }
.e141-belt__label { display: block; color: var(--e141-gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }
.e141-belt img { width: min(440px, 80%); height: auto; margin: 6px auto 0; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.e141-belt--detail img { width: min(520px, 88%); }

/* Story-Aufklapper */
.e141-story.mud-expansion-panels { margin-top: 10px; }
.e141-story .mud-expand-panel { background: transparent; }
.e141-story .mud-expand-panel-header { justify-content: center; min-height: 36px; padding: 4px 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mud-palette-primary); }
.e141-story .mud-expand-panel-text { flex: none; }
.e141-story .mud-expand-panel-content { padding: 4px 8px 8px; }
.e141-prose { line-height: 1.7; }
.e141-prose p { margin: 0 0 .8em; }
.e141-prose p:last-child { margin-bottom: 0; }
.e141-prose h3 { margin: 1.2em 0 .4em; font-size: 1.05rem; font-weight: 600; }

/* Pause */
.e141-break { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px 14px; border: 1px dashed var(--mud-palette-lines-default); border-radius: var(--e141-radius); color: var(--mud-palette-text-secondary); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.e141-break--laufend { border-color: var(--mud-palette-error); color: var(--mud-palette-error); }

@media (max-width: 639.98px) {
    .e141-fight.mud-paper { padding: 10px 10px 12px; }
    .e141-fight--main.mud-paper { padding: 14px 12px 16px; }
    .e141-fight__body { gap: 6px 8px; }
    .e141-corner--red, .e141-corner--blue { justify-self: center; }
    .e141-corner__photo { width: 36vw; }
    .e141-fight--main .e141-corner__photo { width: 40vw; }
    .e141-fight__mid { min-width: 36px; }
    .e141-fight__vs { font-size: 1.1rem; }
    .e141-fight__verdict small { white-space: normal; }
    .e141-fight__state { font-size: .8rem; }
    .e141-corner__label { display: none; }
    .e141-fight--main .e141-corner__label { display: block; }
}

/* ---------------------------------------------------------------- Filterleiste */
.e141-filter__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 16px; }
.e141-filter__search { grid-column: 1 / -1; }
@media (min-width: 900px) { .e141-filter__search { grid-column: span 2; } }
.e141-filter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.e141-empty.mud-paper { text-align: center; }

/* ---------------------------------------------------------------- Kategorie / Turnierbaum */
.e141-cat.mud-paper { padding: 14px 16px 16px; border-radius: var(--e141-radius); scroll-margin-top: 16px; }
.e141-cat__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.e141-cat__text { min-width: 0; }
.e141-cat__name.mud-typography { font-weight: 600; line-height: 1.25; }
.e141-cat__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.e141-sp-scroll { overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }

.e141-sp {
    --sp-gap: 16px;
    --sp-line: var(--mud-palette-lines-default);
    display: flex; align-items: stretch;
    min-width: calc(var(--rounds, 2) * 190px);
    font-size: .85rem;
}
.e141-sp--dense { font-size: .78rem; --sp-gap: 12px; min-width: calc(var(--rounds, 2) * 170px); }
.e141-sp--dense .e141-sp__cell { min-height: 5rem; }
.e141-sp__round { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.e141-sp__round--winner { flex: .75 1 0; }
.e141-sp__label { padding-bottom: 6px; text-align: center; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mud-palette-text-secondary); }
.e141-sp__cells { flex: 1; display: flex; flex-direction: column; }
.e141-sp__cell { position: relative; flex: 1 1 0; display: flex; align-items: center; min-height: 5.6rem; padding: 4px var(--sp-gap); }
.e141-sp__round:first-child .e141-sp__cell { padding-left: 0; }
.e141-sp__match { position: relative; flex: 1; min-width: 0; border: 1px solid var(--sp-line); border-radius: 6px; background: var(--mud-palette-surface); overflow: hidden; }
.e141-sp__match--laufend { border-color: var(--mud-palette-error); box-shadow: 0 0 0 1px var(--mud-palette-error); }
.e141-sp__match--beendet { background: var(--mud-palette-background-gray); }
.e141-sp__slot { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 3px 8px; line-height: 1.35; border-left: 4px solid transparent; white-space: nowrap; }
.e141-sp__slot > span, .e141-sp__slot > em { overflow: hidden; text-overflow: ellipsis; }
.e141-sp__slot em { font-style: italic; color: var(--mud-palette-text-secondary); }
.e141-sp__slot small { flex: none; color: var(--mud-palette-text-secondary); font-size: .8em; }
.e141-sp__slot--red { border-left-color: var(--e141-red); border-bottom: 1px solid var(--sp-line); }
.e141-sp__slot--blue { border-left-color: var(--e141-blue); }
.e141-sp__slot.is-winner { font-weight: 700; background: var(--e141-gold-soft); }
.e141-sp__slot.is-winner > span::after { content: " ✓"; color: var(--e141-gold); }
.e141-sp__meta { display: flex; align-items: center; gap: 6px; padding: 1px 8px 2px; line-height: 1.4; border-top: 1px dashed var(--sp-line); font-size: .72rem; color: var(--mud-palette-text-secondary); white-space: nowrap; overflow: hidden; }
.e141-sp__meta a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.e141-sp__meta a:hover { text-decoration: underline; color: var(--mud-palette-primary); }
.e141-sp__live { padding: 0 6px; border-radius: 999px; background: var(--mud-palette-error); color: #fff; font-weight: 700; font-size: .66rem; letter-spacing: .06em; }
.e141-sp__winner { position: relative; flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-height: 2rem; padding: 6px 8px; border-bottom: 2px solid var(--sp-line); font-weight: 700; }
.e141-sp__winner.has-winner { border-bottom-color: var(--e141-gold); }
.e141-sp__winner small { font-weight: 400; color: var(--mud-palette-text-secondary); }
.e141-sp__winner .mud-icon-root { vertical-align: -4px; }

/* Linien: aus jedem Kampf nach rechts … */
.e141-sp__round:not(.e141-sp__round--winner) .e141-sp__cell::after { content: ""; position: absolute; right: 0; top: 50%; width: var(--sp-gap); border-top: 2px solid var(--sp-line); }
/* … je zwei Kämpfe senkrecht verbunden … */
.e141-sp__round:not(.e141-sp__round--winner):not(.e141-sp__round--final) .e141-sp__cell:nth-child(odd)::before { content: ""; position: absolute; right: -1px; top: 50%; bottom: 0; border-right: 2px solid var(--sp-line); }
.e141-sp__round:not(.e141-sp__round--winner):not(.e141-sp__round--final) .e141-sp__cell:nth-child(even)::before { content: ""; position: absolute; right: -1px; top: 0; bottom: 50%; border-right: 2px solid var(--sp-line); }
/* … und weiter in den Folgekampf bzw. zum Sieger. */
.e141-sp__round:not(:first-child) .e141-sp__match::before,
.e141-sp__winner::before { content: ""; position: absolute; left: calc(-1 * var(--sp-gap) - 1px); top: 50%; width: var(--sp-gap); border-top: 2px solid var(--sp-line); }
.e141-sp__winner::before { top: auto; bottom: -2px; }
.e141-sp__match::before { left: calc(-1 * var(--sp-gap) - 2px); }
/* Leere Plätze (kein Sportler, kein Kampf) bleiben frei. */
.e141-sp__cell.is-empty .e141-sp__match { visibility: hidden; }
.e141-sp__cell.is-empty::after, .e141-sp__cell.is-empty::before { display: none; }

/* Listenansicht je Runde */
.e141-cat__rounds { display: grid; gap: 14px; }
.e141-round__label.mud-typography { margin: 0 0 4px; color: var(--mud-palette-text-secondary); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }

/* ---------------------------------------------------------------- Kampfzeilen */
.e141-rows { list-style: none; margin: 0; padding: 0; }
.e141-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "no time names state" "no time cat state"; column-gap: 12px; row-gap: 0; align-items: center; padding: 7px 6px; border-bottom: 1px solid var(--mud-palette-lines-default); font-size: .92rem; }
.e141-row:last-child { border-bottom: 0; }
.e141-row--laufend { background: var(--e141-gold-soft); box-shadow: inset 3px 0 0 var(--mud-palette-error); }
.e141-row--abgesagt { opacity: .55; }
.e141-row--break { display: flex; justify-content: center; gap: 8px; color: var(--mud-palette-text-secondary); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.e141-row--break em { font-style: normal; }
.e141-row__no { grid-area: no; font-weight: 700; color: var(--mud-palette-primary); text-decoration: none; font-variant-numeric: tabular-nums; min-width: 2.4em; }
.e141-row__no:hover { text-decoration: underline; }
.e141-row__time { grid-area: time; min-width: 4.2em; font-size: .82rem; color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.e141-row__names { grid-area: names; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; text-decoration: none; }
.e141-row__corner { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; font-weight: 600; color: var(--e141-red); }
.e141-row__corner--blue { color: var(--e141-blue); }
.e141-row__corner small { font-weight: 400; color: var(--mud-palette-text-secondary); }
.e141-row__corner.is-open { font-weight: 400; font-style: italic; color: var(--mud-palette-text-secondary); }
.e141-row__corner.is-winner { color: var(--e141-gold); font-weight: 800; }
.e141-row__corner.is-winner > span::after { content: " ✓"; }
.e141-row__vs { font-size: .78rem; color: var(--mud-palette-text-secondary); }
.e141-row__cat { grid-area: cat; color: var(--mud-palette-text-secondary); font-size: .8rem; }
.e141-row__state { grid-area: state; justify-self: end; font-size: .82rem; color: var(--mud-palette-text-secondary); white-space: nowrap; }
@media (max-width: 639.98px) {
    .e141-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "no names state" "time cat state"; column-gap: 8px; }
    .e141-row__time { min-width: 0; }
}

/* ---------------------------------------------------------------- Zeitplan */
.e141-session { margin: 0 0 22px; padding: 2px 0 2px 12px; border-left: 3px solid transparent; }
.e141-session.is-current { border-left-color: var(--mud-palette-primary); }
.e141-session__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 6px; }
.e141-session__title.mud-typography { font-weight: 600; }
.e141-venues { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .e141-venues { grid-template-columns: repeat(var(--venues, 1), minmax(0, 1fr)); } }
.e141-venue { min-width: 0; background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default); border-radius: var(--e141-radius); padding: 8px 10px 4px; }
.e141-venue__title.mud-typography { margin: 0 0 6px; padding-bottom: 4px; border-bottom: 3px solid var(--venue-color, var(--mud-palette-primary)); font-weight: 600; }
.e141-days .mud-tabs-panels { background: var(--mud-palette-surface); }

/* ---------------------------------------------------------------- Kampf-Detail */
.e141-detail { padding-bottom: 12px; }
.e141-detail__versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: start; margin: 4px 0 20px; }
.e141-detail__vs { align-self: center; text-align: center; font-size: 2.2rem; font-weight: 900; color: var(--mud-palette-primary); }
.e141-big { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.e141-big__photo { position: relative; width: min(100%, 320px); aspect-ratio: 3 / 4; margin-bottom: 10px; border-radius: var(--e141-radius); overflow: hidden; border: 3px solid var(--e141-red); background: var(--mud-palette-background-gray); }
.e141-big--blue .e141-big__photo { border-color: var(--e141-blue); }
.e141-big__name.mud-typography { font-weight: 800; text-transform: uppercase; color: var(--e141-red); line-height: 1.1; overflow-wrap: anywhere; }
.e141-big--blue .e141-big__name.mud-typography { color: var(--e141-blue); }
.e141-big.is-winner .e141-big__photo { border-color: var(--e141-gold); box-shadow: 0 0 0 1px var(--e141-gold), 0 0 24px var(--e141-gold-soft); }
.e141-big.is-winner .e141-big__name.mud-typography { color: var(--e141-gold); }
.e141-big__win { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 800; color: var(--e141-gold); }
.e141-detail__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 0 0 16px; }
.e141-detail__tile.mud-paper { padding: 8px 12px; }
.e141-detail__tile dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mud-palette-text-secondary); }
.e141-detail__tile dd { margin: 0; font-weight: 600; }
.e141-detail__story { max-width: 70ch; margin: 20px auto; font-size: 1.05rem; }
.e141-detail__story > p:first-child { font-size: 1.2rem; font-weight: 600; }
.e141-detail__epilog { border-top: 1px solid var(--mud-palette-lines-default); padding-top: 16px; }
.e141-detail__epilog > p:first-child { font-size: 1.05rem; font-weight: 400; }
.e141-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.e141-images__item { display: block; border-radius: 6px; overflow: hidden; background: var(--mud-palette-background-gray); }
.e141-images__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .15s; }
.e141-images__item:hover img { transform: scale(1.03); }
.e141-detail__images { margin: 20px 0; }
.e141-detail__bios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 20px 0; }
.e141-bio.mud-paper { border-left: 4px solid var(--e141-red); }
.e141-bio--blue.mud-paper { border-left-color: var(--e141-blue); }
@media (max-width: 599.98px) {
    .e141-detail__versus { grid-template-columns: 1fr; gap: 10px; }
    .e141-detail__vs { font-size: 1.4rem; }
    .e141-big__photo { width: min(100%, 240px); }
}

/* ---------------------------------------------------------------- Teilnehmer */
.e141-gyms { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.e141-gym.mud-paper { border-radius: var(--e141-radius); }
.e141-gym__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; font-size: .9rem; }
.e141-gym__name.mud-typography { font-weight: 600; line-height: 1.25; }
.e141-athletes { list-style: none; margin: 0; padding: 0; }
.e141-athletes li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 5px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.e141-athletes__name em { font-style: italic; color: var(--mud-palette-text-secondary); }

/* ---------------------------------------------------------------- Ergebnisse */
.e141-podiums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.e141-podium.mud-paper { border-radius: var(--e141-radius); }
.e141-podium__name.mud-typography { font-weight: 600; line-height: 1.25; }
.e141-podium__list { list-style: none; margin: 0; padding: 0; }
.e141-place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 5px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.e141-place__rank { display: inline-flex; align-items: center; gap: 2px; min-width: 2.6em; font-weight: 700; font-variant-numeric: tabular-nums; }
.e141-place--1 .e141-place__name { font-weight: 700; }
.e141-medal--1 { color: var(--e141-gold) !important; }
.e141-medal--2 { color: #9e9e9e !important; }
.e141-medal--3 { color: #cd7f32 !important; }
.e141-medals.mud-paper { overflow: hidden; border-radius: var(--e141-radius); }
.e141-medals th.e141-num, .e141-medals td.e141-num { text-align: center; font-variant-numeric: tabular-nums; width: 3.5em; }

/* ---------------------------------------------------------------- Design-Vorlagen */
.e141-root :is(.e141-head__title, .e141-h2, .e141-cat__name, .e141-corner__name, .e141-big__name, .e141-fight__vs, .e141-detail__vs,
               .e141-podium__name, .e141-gym__name, .e141-session__title, .e141-sp__winner, .e141-belt__label, .e141-fight__no, .e141-row__no) {
    font-family: var(--e141-font-head, inherit);
}
.e141-root[data-headings="upper"] :is(.e141-head__title, .e141-h2, .e141-cat__name, .e141-podium__name, .e141-session__title) { text-transform: uppercase; letter-spacing: .05em; }
.e141-root[data-headings="condensed"] .e141-head__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); text-transform: uppercase; letter-spacing: 0; line-height: 1.05; }
.e141-root[data-headings="condensed"] :is(.e141-corner__name, .e141-big__name.mud-typography) { letter-spacing: 0; }
.e141-root[data-headings="serif-elegant"] :is(.e141-head__title, .e141-h2, .e141-cat__name, .e141-podium__name) { font-weight: 500; }
.e141-root[data-headings="serif-elegant"] :is(.e141-corner__name, .e141-big__name.mud-typography) { text-transform: none; font-weight: 700; }
.e141-root[data-shape="square"] :is(.e141-sp__match, .e141-images__item, .e141-sp__live) { border-radius: 2px; }
.e141-root[data-shape="pill"] :is(.e141-sp__match, .e141-images__item) { border-radius: 12px; }
