/* Shared project screening room and editorial player */
.case-player, .case-slides, .case-interface { max-width: 940px; margin-inline: auto; min-width: 0; }
.case-player-stage { position: relative; isolation: isolate; background: #0b1214; border-radius: 12px; overflow: hidden; }
.case-player video, .case-player iframe, .case-player-cover {
    display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; margin: 0; background: #0b1214;
}
.case-player video { object-fit: contain; max-height: 72vh; }
.case-player video.portrait-reel { height: min(70vh, 740px); aspect-ratio: auto; }
.case-player-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-player .case-play {
    position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; background: #10262a; color: #abf1f6; border: 1px solid #8ae1ea;
    border-radius: 50%; width: clamp(54px, 7vw, 72px); height: clamp(54px, 7vw, 72px); padding: 0; cursor: pointer;
}
.case-player .case-play[hidden], .case-slides [hidden] { display: none !important; }
.case-player .case-play svg { width: 44%; height: 44%; fill: currentColor; stroke-width: 1.2; }
.case-player .case-play:hover, .case-player-cover:hover .case-play { background: #17434b; }
.case-player a:focus-visible .case-play, .case-player button:focus-visible,
.case-slide-open:focus-visible, .case-slide-bar button:focus-visible { outline: 3px solid var(--green); outline-offset: -4px; }
.case-player-source { margin-block-start: .6rem; }
.mag-feature-video { max-width: 900px; margin: 1.5rem auto; }
.mag-feature-video figcaption { margin-block-start: .65rem; color: var(--muted); font-size: .92rem; }
.case-slides figure, .case-interface figure { margin: 0; }
.case-slide-open { position: relative; display: grid; place-items: center; width: 100%; background: var(--soft); border-radius: 10px; overflow: hidden; touch-action: pan-y pinch-zoom; }
.case-slide-open img { display:block; width:100%; height:clamp(210px, 58vw, 480px); max-height:65vh; object-fit:contain; }
.case-zoom { position:absolute; bottom:.7rem; inset-inline-end:.7rem; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#142428; color:#d6f7fa; }
.case-zoom svg {width:19px;height:19px;}
.case-slides figcaption { line-height:1.75; font-size:.94rem; color:var(--muted); padding-block:.6rem; }
.case-slide-bar {display:flex; align-items:center; justify-content:space-between; gap:.5rem; border-block-start:1px solid var(--line); padding-block-start:.65rem;}
.case-slide-bar .button { min-height:44px; padding:.55rem .85rem; gap:.4rem; }
.case-slide-bar .case-slide-count { font-variant-numeric:tabular-nums; font-size:.95rem; color:var(--muted); }
html[dir=ltr] .case-slide-bar .case-prev-icon, html[dir=rtl] .case-slide-bar .case-next-icon {transform:rotate(180deg);}
html[dir=rtl] .case-slide-bar .case-prev-icon, html[dir=ltr] .case-slide-bar .case-next-icon {transform:none;}
.case-interface figure {margin-block-end:.6rem;}
.case-interface figure a {display:block; border:1px solid var(--line); border-radius:10px; background:var(--soft); overflow:hidden;max-height:min(64vh,560px); }
.case-interface figure img {display:block;width:100%;height:auto;}

.case-player-note:not([hidden]) { display:flex; flex-wrap:wrap; align-items:center; gap:.7rem; margin-block-start:.5rem; }
.case-player-note button { min-height:44px; padding-inline:.5rem; font:inherit; color:inherit; cursor:pointer; }
