.home-live {
    margin-block: clamp(var(--ds-space-8), 4.5vw, var(--ds-space-16));
    padding-inline: 0;
}
.home-live-head, .home-live-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--ds-space-3); }
.home-live-head { margin-bottom: clamp(var(--ds-space-4), 2vw, var(--ds-space-6)); }
.home-live-head h2 { margin: 0; color: var(--ds-text-primary); font-size: clamp(2rem, 3.65vw, 3.25rem); font-weight: 660; letter-spacing: -.05em; line-height: 1.08; }
.home-live-all, .home-live-event-link {
    display: inline-flex; align-items: center; gap: var(--ds-space-2); min-height: 44px;
    width: fit-content; font-size: var(--ds-type-body-small); font-weight: 600; text-decoration: none;
}
.home-live-all { color: var(--ds-brand-strong); }
.home-live-all:is(:hover, :focus-visible), .home-live-event-link:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }
.home-live-all:focus-visible, .home-live-history summary:focus-visible { outline: 3px solid var(--ds-focus-ring); outline-offset: 3px; }
.home-live-connection { display: block; width: fit-content; margin: 0 0 var(--ds-space-3); padding: var(--ds-space-1) var(--ds-space-3); border-radius: var(--ds-radius-sm); color: var(--ds-warning); background: var(--ds-warning-surface); }
.home-live-group {
    display: grid; grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--ds-border-default); border-radius: var(--ds-radius-xl);
    background: var(--ds-surface-primary); overflow: hidden;
}
.home-live-group + .home-live-group { margin-top: var(--ds-space-4); }
.home-live-event {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
    gap: var(--ds-space-2); padding: clamp(var(--ds-space-4), 2.6vw, var(--ds-space-8));
    background: var(--ds-startup-court); color: var(--ds-startup-ink);
}
.home-live-event::after {
    content: ""; position: absolute; pointer-events: none; z-index: -1;
    width: 7.5rem; height: 11rem; right: -2.7rem; bottom: -3.8rem; transform: rotate(21deg);
    border: 1px solid currentColor; opacity: .14;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
                linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.home-live-event h3 { margin: 0; font-size: clamp(1.48rem, 2.2vw, 2rem); line-height: 1.13; letter-spacing: -.035em; color: var(--ds-startup-ink); overflow-wrap: anywhere; }
.home-live-count { color: var(--ds-startup-muted); font-size: var(--ds-type-body-small); }
.home-live-event-link, .home-live-event-link:hover { color: var(--ds-startup-ink); }
.home-live-event-link { margin-top: auto; }
.home-live-event-link:focus-visible { outline: 3px solid var(--ds-startup-ink); outline-offset: 2px; }
.home-live-games { min-width: 0; }
.home-live .live-match-card { min-width: 0; padding: clamp(var(--ds-space-4), 2.2vw, var(--ds-space-8)); }
.home-live .live-match-card + .live-match-card { border-top: 1px solid var(--ds-border-default); }
.home-live-meta { margin-bottom: var(--ds-space-3); font-size: var(--ds-type-body-small); }
.home-live-location { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25em .65em; color: var(--ds-text-secondary); }
.home-live-location strong { color: var(--ds-text-primary); font-weight: 650; }
.home-live .live-dot { animation: none; }
.home-live-scoreboard, .home-live-history table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.home-live-scoreboard th, .home-live-scoreboard td, .home-live-history th, .home-live-history td { text-align: end; font-variant-numeric: tabular-nums; }
.home-live-scoreboard th:first-child, .home-live-history th:first-child { text-align: start; }
.home-live-scoreboard thead th { padding: 0 0 var(--ds-space-2); font-size: var(--ds-type-label); line-height: 1.25; font-weight: 600; color: var(--ds-text-secondary); }
.home-live-scoreboard thead th:not(:first-child) { width: clamp(3.2rem, 12vw, 7rem); }
.home-live-scoreboard thead th:last-child { width: clamp(4rem, 14vw, 8rem); }
.home-live-scoreboard tbody tr { border-top: 1px solid var(--ds-border-default); }
.home-live-scoreboard tbody th { padding: var(--ds-space-2) var(--ds-space-2) var(--ds-space-2) 0; }
.home-live-side { display: flex; align-items: center; gap: var(--ds-space-3); font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.25; color: var(--ds-text-primary); overflow-wrap: anywhere; }
.home-live-avatar {
    position: relative; width: 2.15rem; height: 2.15rem; border-radius: 50%; overflow: hidden; flex: none;
    display: inline-grid; place-items: center; color: var(--ds-icon); background: var(--ds-icon-surface);
    font-weight: 650; font-size: var(--ds-type-label); letter-spacing: 0;
}
.home-live-scoreboard tr:nth-child(2) .home-live-avatar { color: var(--ds-info); background: var(--ds-info-surface); }
.home-live-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-live-scoreboard tbody td { padding: var(--ds-space-2) 0; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.2; font-weight: 550; color: var(--ds-text-primary); }
.home-live-scoreboard .home-live-points { color: var(--ds-brand-strong); font-weight: 700; }
.home-live-scoreboard .is-ahead { font-weight: 750; }
.home-live-history { margin-top: var(--ds-space-2); }
.home-live-history summary { display: list-item; width: fit-content; min-height: 44px; align-content: center; cursor: pointer; color: var(--ds-brand-strong); font-size: var(--ds-type-body-small); font-weight: 600; }
.home-live-history table { margin-bottom: var(--ds-space-2); }
.home-live-history :is(th, td) { overflow-wrap: anywhere; padding: .35em 0; border-top: 1px solid var(--ds-border-default); color: var(--ds-text-primary); font-size: var(--ds-type-body-small); }
.home-live-history thead th { color: var(--ds-text-secondary); }
@media (min-width: 46em) {
    .home-live-group { grid-template-columns: minmax(13rem, .78fr) minmax(0, 1.9fr); }
}
@media (max-width: 45.99em) {
    .home-live-event { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--ds-space-3); }
    .home-live-event h3 { grid-column: 1 / -1; }
    .home-live-event-link { margin: 0; }
}
@media (max-width: 25em) {
    .home-live-side { gap: var(--ds-space-2); }
    .home-live-avatar { width: 1.75rem; height: 1.75rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .home-live .pulse-update .home-live-points { animation: home-live-score-change var(--ds-motion-page) ease-out; }
    @keyframes home-live-score-change { from { background: var(--ds-icon-surface); } to { background: transparent; } }
}
@media (forced-colors: active) {
    .home-live-event::after { display: none; }
    .home-live-event-link:focus-visible { outline-color: Highlight; }
}
