[data-match-focus] {
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    transition: padding .72s cubic-bezier(.22, .61, .36, 1),
                box-shadow .72s ease, border-radius .72s ease;
}

[data-match-focus]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .5);
    outline-offset: -6px;
}

[data-match-focus]:not(.is-match-focus-expanded) [data-match-return-link] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    min-height: 3.5rem;
    border-radius: 999px;
}

[data-match-focus] [data-match-focus-content] {
    transform-origin: center top;
    transition: transform .72s cubic-bezier(.22, .61, .36, 1);
}

[data-match-focus].is-match-focus-expanded {
    position: relative !important;
    z-index: 1040;
    max-width: none;
    margin-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

[data-match-focus].is-match-focus-expanded::-webkit-scrollbar {
    width: 0;
    height: 0;
}

[data-match-focus].is-match-focus-closing {
    position: relative !important;
    z-index: 1040;
    max-width: none;
}

html.match-focus-page-active,
body.match-focus-page-active {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

@media (max-width: 768px) {
    html.match-focus-page-active,
    body.match-focus-page-active {
        /* 주소창이 보일 때 body의 기본 min-height:100vh가 잠금 영역을 늘리지 않게 한다. */
        height: 100vh;
        height: 100dvh;
        min-height: 0;
    }
}

.tb-ad-slot--match-rail,
.match-page-wings,
.report-fab {
    transition: opacity .38s ease, visibility 0s linear .38s;
}

body.match-focus-page-active:not(.match-focus-page-closing) .tb-ad-slot--match-rail,
body.match-focus-page-active:not(.match-focus-page-closing) .match-page-wings,
body.match-focus-page-active:not(.match-focus-page-closing) .report-fab {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body.match-focus-page-closing .tb-ad-slot--match-rail,
body.match-focus-page-closing .match-page-wings,
body.match-focus-page-closing .report-fab {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.timer-header.is-match-focus-expanded {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 4vw, 3rem);
    overflow: hidden !important;
}

.timer-header.is-match-focus-expanded [data-match-focus-content] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    transform: none;
}

.timer-header .timer-label,
.timer-header .timer-time,
.timer-header .match-badge {
    transition: font-size .72s cubic-bezier(.22, .61, .36, 1),
                margin .72s cubic-bezier(.22, .61, .36, 1),
                line-height .72s cubic-bezier(.22, .61, .36, 1);
}

.timer-header.is-match-focus-expanded .timer-label {
    margin-bottom: clamp(1rem, 2.5vh, 2rem);
    font-size: clamp(1.6rem, 3.2vw, 3.5rem);
}

.timer-header.is-match-focus-expanded .timer-time {
    font-size: clamp(5.5rem, 13vw, 12rem);
    line-height: .92;
}

.timer-header.is-match-focus-expanded .match-badge,
.timer-header.is-match-focus-expanded #syncStatus,
.timer-header.is-match-focus-expanded [data-match-return-link],
.live-hero.is-match-focus-expanded [data-match-return-link],
.live-hero.is-match-focus-expanded .btn-back-hero,
.live-hero.is-match-focus-expanded .hero-top-bar,
.live-hero.is-match-focus-expanded .match-semantic-heading {
    display: none !important;
}

.live-hero.is-match-focus-expanded {
    --match-focus-card-width: 70rem;
    --match-focus-scorecard-width: 78rem;
    padding: clamp(1.25rem, 3vh, 2.25rem) clamp(1rem, 3vw, 3rem);
}

.match-focus-discovery-dot {
    position: absolute;
    z-index: 18;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
}

.match-focus-discovery-dot::before {
    content: '';
    width: 1rem;
    height: 1rem;
    background: rgba(206, 212, 218, .88);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(206, 212, 218, .45);
    animation: match-focus-discovery-pulse 1.65s ease-in-out infinite;
}

.match-focus-discovery-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .72);
    outline-offset: -3px;
}

.timer-header .match-focus-discovery-dot {
    top: 3.25rem;
    right: max(1.5rem, calc(50% - 16rem));
}

.live-hero .match-focus-discovery-dot {
    top: 3.25rem;
    right: max(1.5rem, calc(50% - 16rem));
}

@keyframes match-focus-discovery-pulse {
    0%, 100% {
        opacity: .48;
        transform: scale(.86);
        box-shadow: 0 0 0 0 rgba(206, 212, 218, .42);
    }
    48% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 .7rem rgba(206, 212, 218, 0);
    }
}

.live-hero > .container {
    transition: max-width .72s cubic-bezier(.22, .61, .36, 1);
}

.live-hero.is-match-focus-expanded > .container {
    display: flex;
    flex-direction: column;
    width: min(100%, 84rem);
    max-width: 84rem;
    min-height: 100%;
}

.live-hero .score-display,
.live-hero .team-col,
.live-hero .team-col img,
.live-hero .team-name,
.live-hero .score-text,
.live-hero .score-text > span,
.live-hero .score-divider,
.live-hero .match-status-badge,
.live-hero .inning-text,
.live-hero .glass-panel,
.live-hero .live-canceled-panel {
    transition: all .72s cubic-bezier(.22, .61, .36, 1);
}

.live-hero .match-status-badge {
    max-height: 3rem;
    overflow: hidden;
}

.live-hero .score-display,
.live-hero .glass-panel,
.live-hero .live-canceled-panel,
.live-focus-stage {
    width: 100%;
}

.live-hero .pitcher-info,
.live-hero .inning-table,
.live-hero .inning-table th,
.live-hero .inning-table td,
.live-hero .rheb-stats,
.live-hero .rheb-label,
.live-hero .rheb-value,
.live-hero .rheb-vs {
    transition-property: font-size, line-height, padding, margin, gap;
    transition-duration: .72s;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.live-hero .team-col.is-batting {
    transform: translateY(-.2rem) scale(1.035);
}

.live-hero .team-col.is-batting img {
    filter: brightness(1.08) drop-shadow(0 0 1rem rgba(255, 212, 59, .28));
    transform: scale(1.055);
}

.live-hero .team-col.is-batting .team-name,
.live-hero .inning-table tr.is-batting-row .col-team-name {
    color: #ffd43b;
    font-weight: 900;
    text-shadow: 0 0 .85rem rgba(255, 212, 59, .26);
}

.live-hero .inning-text.is-live-inning {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffe066;
    letter-spacing: -.025em;
    text-shadow: 0 0 1rem rgba(255, 212, 59, .32);
}

.live-hero .inning-table [data-inning] {
    transition-property: color, background-color, font-size, font-weight, line-height, padding, margin, gap, text-shadow;
    transition-duration: .72s;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.live-hero .inning-table [data-inning].is-current-inning {
    color: #fff;
    background-color: rgba(255, 212, 59, .075);
    font-weight: 800;
}

.live-hero .inning-table th[data-inning].is-current-inning {
    color: #ffd43b;
    font-size: 1.1em;
    font-weight: 900;
    text-shadow: 0 0 .9rem rgba(255, 212, 59, .3);
}

.live-hero .team-name,
.live-hero .score-text,
.live-hero .score-text > span,
.live-hero .match-status-badge,
.live-hero .inning-text {
    transition-property: max-height, font-size, line-height, letter-spacing, gap, padding, margin, opacity, transform;
    transition-duration: .72s;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.live-hero.is-match-focus-expanded [data-match-focus-content] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: none;
}

.live-hero.is-match-focus-expanded .live-focus-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-hero.is-match-focus-expanded .score-display {
    width: min(100%, var(--match-focus-card-width));
    margin: 0 auto clamp(1.75rem, 4vh, 3rem);
    padding: 0 clamp(1rem, 4vw, 3.5rem);
}

.live-hero.is-match-focus-expanded .team-col img {
    width: clamp(7.25rem, 10vw, 9rem);
    height: clamp(7.25rem, 10vw, 9rem);
    margin-bottom: .85rem;
}

.live-hero.is-match-focus-expanded .team-name {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

.live-hero.is-match-focus-expanded .score-text {
    font-size: clamp(6rem, 7vw, 8rem);
    gap: clamp(1.25rem, 2vw, 2rem);
}

.live-hero.is-match-focus-expanded .match-status-badge {
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.35rem) scale(.92);
    pointer-events: none;
}

.live-hero.is-match-focus-expanded .inning-text {
    margin-top: .7rem;
    font-size: 1.35rem;
}

.live-hero.is-match-focus-expanded .inning-text.is-live-inning {
    font-size: clamp(1.65rem, 2.1vw, 1.9rem);
}

.live-hero.is-match-focus-expanded .team-col.is-batting {
    transform: translateY(-.35rem) scale(1.06);
}

.live-hero.is-match-focus-expanded .glass-panel,
.live-hero.is-match-focus-expanded .live-canceled-panel {
    width: min(100%, var(--match-focus-scorecard-width));
    margin: 0 auto;
    padding: clamp(2rem, 2.6vw, 2.5rem);
    border-radius: 1.4rem;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .34);
}

.live-hero.is-match-focus-expanded .pitcher-info {
    margin-bottom: 1.15rem;
    font-size: 1.08rem;
}

.live-hero.is-match-focus-expanded .inning-table {
    font-size: 1.08rem;
}

.live-hero.is-match-focus-expanded .inning-table th {
    padding-bottom: .9rem;
}

.live-hero.is-match-focus-expanded .inning-table td {
    padding: .9rem .4rem;
}

.live-hero.is-match-focus-expanded .rheb-stats {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
}

.live-hero.is-match-focus-expanded .rheb-label,
.live-hero.is-match-focus-expanded .rheb-vs {
    font-size: .9rem;
}

.live-hero.is-match-focus-expanded .rheb-value {
    font-size: 1.25rem;
}

.live-expanded-extension[hidden] {
    display: none !important;
}

.live-expanded-extension {
    width: min(100%, 48rem);
    min-height: 12rem;
    margin: .5rem auto 1.5rem;
    padding: 1.25rem;
    color: #fff;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
}

.live-expanded-state {
    display: none;
}

.live-hero.is-match-focus-expanded .live-expanded-state {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    width: min(100%, var(--match-focus-card-width));
    min-height: 10rem;
    margin: 0 auto clamp(1.5rem, 3vh, 2.5rem);
    padding: 1.5rem clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    animation: match-focus-state-in .62s .08s both cubic-bezier(.22, .61, .36, 1);
}

.live-expanded-state__bases,
.live-expanded-state__counts,
.live-count-lights {
    display: flex;
    align-items: center;
}

.live-expanded-state__bases {
    gap: 1.2rem;
}

.live-expanded-state__batter {
    position: relative;
    min-width: 0;
    margin: -.45rem -.65rem;
    padding: .45rem .65rem;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .8rem;
    cursor: default;
    appearance: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease,
                transform .2s ease;
}

.live-expanded-state__batter:disabled {
    opacity: 1;
}

.live-expanded-state__batter-line {
    display: flex;
    align-items: center;
    gap: .38rem;
    min-width: 0;
}

.live-expanded-state__batter-icon {
    display: inline-grid;
    place-items: center;
    width: 0;
    height: 1.35rem;
    overflow: hidden;
    color: #ffd43b;
    font-size: .92rem;
    opacity: 0;
    transform: scale(.72) rotate(-8deg);
    transition: width .2s ease, opacity .2s ease, transform .2s ease;
}

.live-expanded-state__batter.is-ready {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 .35rem 1.2rem rgba(0, 0, 0, .12);
    cursor: pointer;
}

.live-expanded-state__batter.is-ready .live-expanded-state__batter-icon {
    width: 1.1rem;
    opacity: 1;
    transform: scale(1) rotate(0);
}

.live-expanded-state__batter.is-ready:hover {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 212, 59, .45);
    transform: translateY(-1px);
}

.live-expanded-state__batter.is-ready:focus-visible {
    outline: 2px solid #ffd43b;
    outline-offset: 3px;
}

.live-expanded-state__batter.is-cueing {
    animation: live-batter-cheer-cue 1.25s ease-out;
}

.live-expanded-state__batter.is-cueing .live-expanded-state__batter-icon {
    animation: live-batter-cheer-note 1.25s ease-out;
}

@keyframes live-batter-cheer-cue {
    0%, 100% { box-shadow: 0 .35rem 1.2rem rgba(0, 0, 0, .12); }
    34% { box-shadow: 0 0 0 .28rem rgba(255, 212, 59, .17), 0 .35rem 1.2rem rgba(0, 0, 0, .12); }
}

@keyframes live-batter-cheer-note {
    0%, 100% { transform: scale(1) rotate(0); }
    28% { transform: scale(1.22) rotate(-12deg); }
    48% { transform: scale(1.1) rotate(9deg); }
}

.live-expanded-state__label {
    display: block;
    margin-bottom: .28rem;
    color: rgba(255, 255, 255, .55);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.live-expanded-state__value {
    color: rgba(255, 255, 255, .92);
    font-size: .96rem;
    font-weight: 750;
}

.live-base-diamond {
    position: relative;
    flex: 0 0 auto;
    width: 6.25rem;
    height: 5.3rem;
}

.live-base {
    position: absolute;
    width: 1.42rem;
    height: 1.42rem;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .34);
    border-radius: .24rem;
    transform: rotate(45deg);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.live-base.is-occupied {
    background: #ffd43b;
    border-color: #fff2a8;
    box-shadow: 0 0 1rem rgba(255, 212, 59, .56);
}

.live-base--second { top: .15rem; left: 50%; margin-left: -.71rem; }
.live-base--third { top: 2.45rem; left: .55rem; }
.live-base--first { top: 2.45rem; right: .55rem; }

.live-expanded-state__counts {
    justify-content: flex-end;
    gap: 1.2rem;
    min-width: 18rem;
}

.live-count-group {
    min-width: 3.4rem;
}

.live-count-lights {
    gap: .42rem;
}

.live-count-light {
    width: 1.05rem;
    height: 1.05rem;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.live-count-light--ball.is-active {
    background: #51cf66;
    border-color: #b2f2bb;
    box-shadow: 0 0 .85rem rgba(81, 207, 102, .5);
}

.live-count-light--strike.is-active {
    background: #ffd43b;
    border-color: #fff3bf;
    box-shadow: 0 0 .85rem rgba(255, 212, 59, .5);
}

.live-count-light--out.is-active {
    background: #ff6b6b;
    border-color: #ffc9c9;
    box-shadow: 0 0 .85rem rgba(255, 107, 107, .55);
}

@keyframes match-focus-state-in {
    from { opacity: 0; transform: translateY(.75rem); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .match-focus-discovery-dot {
        width: 2.75rem;
        height: 2.75rem;
    }

    .match-focus-discovery-dot::before {
        width: .9rem;
        height: .9rem;
    }

    .timer-header .match-focus-discovery-dot {
        top: 3.75rem;
        right: .5rem;
    }

    .live-hero .match-focus-discovery-dot {
        top: 3.75rem;
        right: .5rem;
    }

    [data-match-focus]:not(.is-match-focus-expanded) [data-match-return-link] {
        min-width: 3.25rem;
        min-height: 3.25rem;
    }

    .timer-header.is-match-focus-expanded {
        padding: 1.75rem .9rem;
    }

    .timer-header.is-match-focus-expanded [data-match-focus-content] {
        transform: none;
    }

    .timer-header.is-match-focus-expanded .timer-time {
        font-size: clamp(4rem, 17vw, 6.5rem);
    }

    .timer-header.is-match-focus-expanded .timer-label {
        font-size: clamp(1.25rem, 6vw, 2rem);
    }

    .live-hero.is-match-focus-expanded {
        padding: 1rem .8rem 1.25rem;
    }

    .live-hero.is-match-focus-expanded [data-match-focus-content] {
        transform: none;
    }

    .live-hero.is-match-focus-expanded .score-display {
        width: 100%;
        margin: 0 auto 1.25rem;
        padding: 0 .3rem;
    }

    .live-hero.is-match-focus-expanded .team-col img {
        width: 5.35rem;
        height: 5.35rem;
        margin-bottom: .5rem;
    }

    .live-hero.is-match-focus-expanded .team-name {
        font-size: 1rem;
    }

    .live-hero.is-match-focus-expanded .score-text {
        font-size: 4.15rem;
        gap: .8rem;
    }

    .live-hero.is-match-focus-expanded .match-status-badge {
        max-height: 0;
        margin-bottom: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-.35rem) scale(.92);
    }

    .live-hero.is-match-focus-expanded .inning-text {
        margin-top: .45rem;
        font-size: 1.05rem;
    }

    .live-hero.is-match-focus-expanded .glass-panel,
    .live-hero.is-match-focus-expanded .live-canceled-panel {
        width: 100%;
        padding: 1rem;
        border-radius: 1rem;
    }

    .live-hero.is-match-focus-expanded .pitcher-info {
        margin-bottom: .65rem;
        font-size: .85rem;
    }

    .live-hero.is-match-focus-expanded .inning-table {
        font-size: .85rem;
    }

    .live-hero.is-match-focus-expanded .inning-table th {
        padding-bottom: .5rem;
    }

    .live-hero.is-match-focus-expanded .inning-table td {
        padding: .5rem .25rem;
    }

    .live-hero.is-match-focus-expanded .rheb-stats {
        margin-top: .625rem;
        padding-top: .625rem;
    }

    .live-hero.is-match-focus-expanded .rheb-label,
    .live-hero.is-match-focus-expanded .rheb-vs {
        font-size: .7rem;
    }

    .live-hero.is-match-focus-expanded .rheb-value {
        font-size: .95rem;
    }

    .live-hero.is-match-focus-expanded .live-expanded-state {
        grid-template-columns: 1fr;
        min-height: 7.25rem;
        padding: .9rem 1rem;
        border-radius: 1rem;
    }

    .live-base-diamond {
        width: 5.25rem;
        height: 4.6rem;
    }

    .live-base--third { top: 2.15rem; left: .35rem; }
    .live-base--first { top: 2.15rem; right: .35rem; }

    .live-expanded-state__bases {
        gap: .65rem;
    }

    .live-expanded-state__counts {
        justify-content: space-between;
        gap: .7rem;
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .match-focus-discovery-dot::before {
        opacity: .78;
        animation: none;
    }

    [data-match-focus],
    [data-match-focus] [data-match-focus-content],
    .live-hero .score-display,
    .live-hero .team-col img,
    .live-hero .team-name,
    .live-hero .score-text,
    .live-hero .score-text > span,
    .live-hero .match-status-badge,
    .live-hero .inning-text,
    .live-hero .glass-panel {
        transition-duration: .01ms !important;
    }

    .live-expanded-state__batter.is-cueing,
    .live-expanded-state__batter.is-cueing .live-expanded-state__batter-icon {
        animation: none;
    }
}
