/* V2849b · Startseite: Platz für nachgeladene Bereiche von Anfang an reservieren (nur solange leer/unvollständig). */
#mtCommHome:empty{display:block;min-height:calc(100vh + 40px)}
#mtCommHome .mtch-live-card{min-height:320px!important}
/* V2855 · Keep existing introduction paragraphs in natural flow. */
html body #mtCommHome .mtch-hero-copy .mtch-sub{margin-bottom:24px!important}
html body #mtCommHome .mtch-hero-copy .mtch-intro{margin-top:0!important}
html body #mtCommHome .mtch-hl{justify-content:flex-start!important}
/* Endanordnung der Wertkarten von Anfang an (identisch mit der Anordnung nach dem Kartenausbau). */
#mtCommHome .mtch-live{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;gap:14px!important;align-items:start!important}

/* V2849 · Zweite Livestream-Karte (Spiegel der bestehenden Streamkarte) */
#mtCommHome .mtch-live2{margin:0;padding:14px;border-radius:12px;background:var(--mt-surface-card,#2b5b96);border:1px solid var(--mt-border,#7aa3d1);color:#e8f0fb;min-height:150px;box-sizing:border-box;--mt-live2-primary:#ffca28;--mt-live2-primary-hover:#ffd75a;--mt-live2-on-primary:#07141d}
#mtCommHome .mtch-live2-grid{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr);gap:14px;align-items:start}
#mtCommHome .mtch-live2-media{align-self:center}
#mtCommHome .mtch-live2-media .mtba-live-thumbwrap{margin:0}
#mtCommHome .mtch-live2-grid[aria-busy="true"]{min-height:190px}
#mtCommHome .mtch-live2-grid[aria-busy="true"] .mtch-live2-media{aspect-ratio:16/9}
#mtCommHome .mtch-live2-media a{display:block}
#mtCommHome .mtch-live2 .mtba-live-thumbwrap img.mtba-live-thumb{display:block!important;object-fit:cover}
#mtCommHome .mtch-live2 .mtba-live-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.06em}
#mtCommHome .mtch-live2 .mtba-live-next{color:#ffd54a}
#mtCommHome .mtch-live2 .mtba-live-badge{display:inline-flex;gap:5px;align-items:center;background:#d62828;color:#fff;border-radius:4px;padding:2px 6px}
#mtCommHome .mtch-live2 .mtba-live-badge i{width:6px;height:6px;border-radius:50%;background:#fff;display:inline-block}
#mtCommHome .mtch-live2 .mtba-live-title{margin:0 0 4px;font-size:16px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
#mtCommHome .mtch-live2 .mtba-live-title a{color:#fff;text-decoration:none}
#mtCommHome .mtch-live2 .mtba-live-tag{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--mt-surface-input,#235185);border:1px solid var(--mt-border,#7aa3d1);margin:0 0 6px}
#mtCommHome .mtch-live2 :is(.mtba-live-time,.mtba-live-desc,.mtba-live-countdown,.mtba-live-prep){margin:0 0 4px;font-size:13px;line-height:1.4;color:#d5e3f5;overflow-wrap:anywhere}
#mtCommHome .mtch-live2 .mtba-live-desc{display:block;-webkit-line-clamp:unset;overflow:visible}
#mtCommHome .mtch-live2 .mtba-live-countdown{color:#ffd54a;font-weight:700}
#mtCommHome .mtch-live2 .mtba-live-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:8px}
#mtCommHome .mtch-live2 .mtba-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:8px;font-weight:800;font-size:14px;cursor:pointer;text-decoration:none;border:1px solid #ffca28;background:#ffca28;color:#07141d}
#mtCommHome .mtch-live2 .mtba-btn.mtba-live-remon{background:#126b39;border-color:#126b39;color:#fff}
#mtCommHome .mtch-live2 .mtba-live-all{color:#ffd54a;font-weight:700;font-size:13px;text-decoration:none}
#mtCommHome .mtch-live2 .mtba-live-empty p{margin:0 0 8px}
@media (max-width:640px){#mtCommHome .mtch-live2-grid{grid-template-columns:1fr}#mtCommHome .mtch-live2 .mtba-btn{width:100%}}
@media (max-width:640px){#mtCommHome .mtch-live2-grid[aria-busy="true"]{min-height:370px}}

/* Scoped override of the global dark-button rules; saved-reminder styling is unchanged. */
html body #mtCommHome .mtch-hl:has(> #mtchLive2)>.mtch-grow{margin-bottom:0!important}
html body #mtCommHome #mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2 .mtba-live-actions button.mtba-btn.mtba-btn-follow[data-mtba-remind]{background:var(--mt-live2-primary)!important;border-color:var(--mt-live2-primary)!important;color:var(--mt-live2-on-primary)!important}
html body #mtCommHome #mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2#mtchLive2 .mtba-live-actions button.mtba-btn.mtba-btn-follow[data-mtba-remind]:hover{background:var(--mt-live2-primary-hover)!important}
/* V2849d: zweite Streamkarte – keine Rubrik-Pille, kein gelbes M&T LIVE, rotes LIVE-Badge rechts mit pulsierendem weißem Punkt */
#mtCommHome .mtch-live2 .mtba-live-tag,#mtCommHome .mtch-live2 .mtba-live-state{display:none!important}
#mtCommHome .mtch-live2 .mtba-live-top{display:flex;justify-content:flex-end}
#mtCommHome .mtch-live2 .mtba-live-badge i{animation:mtL2Pulse 1.2s ease-in-out infinite}
@keyframes mtL2Pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
@media(prefers-reduced-motion:reduce){#mtCommHome .mtch-live2 .mtba-live-badge i{animation:none}}
#mtCommHome .mtch-live2 .mtch-live2-hit{position:absolute;inset:0;z-index:2}
