.film-sharing {margin:1.2rem 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem}
.film-sharing button,.shared-header a,.shared-header button {min-height:44px}
.film-sharing button {padding:0;background:none;border:0;border-bottom:1px solid #668b84;color:#b1e7dd;font:500 .86rem ui-monospace,monospace;cursor:pointer}
.film-sharing [role=status] {color:#b1c1b8;font:400 .8rem/1.4 ui-monospace,monospace}
.film-sharing input {color:#edefe8;background:#17221e;border:1px solid #668b84;padding:.6rem;max-width:100%}
.shared-film {margin:0;background:#0a0e0c;color:#f1f2e9;font:400 1rem ui-monospace,SFMono-Regular,Menlo,monospace;color-scheme:dark}
.shared-film * {box-sizing:border-box}
.shared-film a {color:inherit;text-decoration:none}
.shared-film a:focus-visible,.shared-film button:focus-visible,.shared-film input:focus-visible {outline:2px solid #a8ded8;outline-offset:4px}
.shared-header {display:flex;align-items:center;gap:1.5rem;justify-content:space-between;margin:0 auto;max-width:1500px;padding:9px clamp(16px,4vw,62px);border-bottom:1px solid #33433b}
.shared-header a,.shared-header button {display:inline-flex;align-items:center}
.shared-header .shared-brand {font-weight:700;font-size:clamp(1.1rem,2.2vw,1.65rem);letter-spacing:-.06em;gap:.35em;margin-right:auto}
.shared-brand span,.shared-header .work-link,.shared-head small {color:#a8ded8}
.shared-header .work-link {font-size:.82rem}
.shared-header .switch {display:flex;align-items:center;gap:.35rem}
.shared-header button {padding:0 .3rem;background:none;border:0;color:#a7b5ae;cursor:pointer;font:inherit;font-size:.75rem}
.shared-header button[aria-pressed=true]{color:#b8eee4;text-decoration:underline;text-underline-offset:5px}
.shared-content {width:min(1090px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:clamp(20px,6vw,90px);padding:clamp(26px,5vh,65px) clamp(18px,5vw,70px)}
.shared-head {grid-column:2;grid-row:1}
.shared-head small {font-size:.73rem;letter-spacing:.14em}
.shared-head h1 {margin:1rem 0 .7rem;font:700 clamp(2rem,4.8vw,4.8rem)/.99 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:-.075em}
.shared-head .kind {font-size:.95rem;color:#bbcbc2}
.shared-frame {grid-column:1;grid-row:1;position:relative;display:grid;place-items:stretch;aspect-ratio:9/16;max-height:76svh;min-width:0;justify-self:center;width:min(100%,42.75svh);background:#030605;outline:1px solid #35453e}
.shared-frame [hidden],.film-sharing [hidden]{display:none!important}
.shared-frame button {position:relative;cursor:pointer;overflow:hidden;border:0;padding:0;background:none;color:#fff;text-align:left;min-width:0}
.shared-frame img,.shared-frame iframe,.shared-frame video {display:block;width:100%;height:100%;position:absolute;inset:0;border:0;object-fit:contain}
.shared-frame button span {position:absolute;left:14px;bottom:14px;background:#06100cee;border:1px solid #9ab6ac;color:#c9f2e8;padding:.8rem 1rem;font:500 .8rem ui-monospace,monospace}
.shared-frame.wide {aspect-ratio:16/9;width:100%;max-height:none}
.shared-content:has(.wide) {grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.shared-film [data-play-status]:empty{display:none}
@media(max-width:670px) {
 .shared-header {gap:.7rem}.shared-header .work-link{font-size:.74rem}
 .shared-content,.shared-content:has(.wide) {display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:20px max(17px,4vw) 26px}
 .shared-head {display:flow-root}.shared-head h1{max-width:22ch;margin:.45rem 0 .38rem;font-size:clamp(2rem,8.5vw,3.4rem)}
 .shared-head .kind{margin:0}.shared-head small{font-size:.68rem}
 .shared-frame{width:min(100%,35.5svh);max-height:63svh;align-self:center}
 .shared-frame.wide {width:100%}.shared-content .film-sharing{margin:.3rem 0 0}.shared-film .film-sharing button{min-height:38px}
}
