/* Shared play symbols and the Video Haberler viewer. */
body.asi101-video-route {
    --v145-section-gap: clamp(1.75rem, 3.4vw, 3rem);
}

.asi101-video-page [data-video-section][tabindex="-1"]:focus {
    outline: none;
}

.asi101-video-page .asi147-play-symbol::before {
    content: none;
}

.asi101-video-page :is(.asi147-play-symbol, .asi100-short-play) {
    display: grid;
    place-items: center;
    padding: 0;
}

.asi101-video-page :is(.asi147-play-symbol, .asi100-short-play) > svg {
    display: block;
    width: 21px;
    height: 21px;
    margin: 0;
    fill: currentColor;
    stroke: none;
}

.asi101-video-page [data-video-hub-hero] .asi99-play-circle.asi147-play-symbol > svg {
    width: clamp(25px, 3.7vw, 33px);
    height: clamp(25px, 3.7vw, 33px);
}

.asi101-video-page .asi101-playlist-index svg {
    fill: currentColor;
    stroke: none;
}

.asi101-video-page :is(.asi99-card-play.asi147-play-symbol, .asi100-short-play) {
    width: 44px;
    height: 44px;
    border: 1px solid #fffc;
    color: #b41b42;
    background: #fff8fbf2;
    box-shadow: 0 2px 12px #1810183d;
}

.asi101-video-page .asi100-short-play {
    bottom: auto;
    top: .625rem;
    right: .625rem;
}

.asi101-video-page .asi147-play-card:hover {
    transform: translateY(-1px);
}

.asi101-video-page .asi147-card-story {
    height: auto;
}

.asi101-video-page .asi147-card-story:hover .asi99-card-copy strong {
    color: var(--v101-accent);
}

.asi101-video-page .asi147-play-card a:focus-visible,
.asi101-video-page [data-asi100-short]:focus-visible {
    outline: 2px solid var(--v101-accent);
    outline-offset: -3px;
    z-index: 3;
    position: relative;
}

html:has(.asi147-watch[open]:not([data-asi219-mini="true"])) {
    overflow: hidden;
}

.asi147-watch:not([open]) {
    display: none;
}

.asi147-watch {
    width: min(54rem, calc(100% - 1.5rem));
    max-height: calc(100% - 1.5rem);
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--v101-line);
    border-radius: 1rem;
    color: var(--v101-ink);
    background: var(--v101-panel);
    box-shadow: 0 22px 70px #07071380;
}

.asi147-watch::backdrop {
    background: #0b0811cc;
    backdrop-filter: blur(4px);
}

.asi147-watch-header,
.asi147-watch-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem clamp(.75rem, 2vw, 1.25rem);
}

.asi147-watch-header {
    justify-content: space-between;
}

.asi147-watch-header h2 {
    margin: 0;
    color: var(--v101-ink);
    font-size: clamp(1rem, .9rem + .65vw, 1.375rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.asi147-watch-header form {
    flex: none;
    margin: 0;
}

.asi147-watch-header button,
.asi147-watch-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: 0 .75rem;
    border: 1px solid var(--v101-line);
    border-radius: .625rem;
    background: var(--v101-soft);
    color: var(--v101-ink);
    font: inherit;
    font-size: .8125rem;
    font-weight: 700;
    text-decoration: none;
}

.asi147-watch-header button {
    width: 44px;
    padding: 0;
    cursor: pointer;
}

.asi147-watch :is(button, a):hover {
    border-color: var(--v101-accent);
    color: var(--v101-accent);
}

.asi147-watch svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.asi147-watch-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b0b0f;
}

.asi147-watch-media[data-watch-kind="youtube"] {
    min-height: 200px;
}

.asi147-watch-media > :is(iframe, video) {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.asi147-watch-footer {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.asi147-watch-footer p {
    margin: 0 auto 0 0;
    font-size: .875rem;
    color: var(--v101-muted);
}

@media (max-width: 560px) {
    .asi101-video-page :is(.asi99-card-play.asi147-play-symbol, .asi100-short-play) {
        width: 38px;
        height: 38px;
    }

    .asi101-video-page :is(.asi99-card-play.asi147-play-symbol, .asi100-short-play) > svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asi101-video-page .asi147-play-card:hover {
        transform: none;
    }
}
