#page-animation .animation-section{margin:46px 0}
#page-animation .animation-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:0 0 20px;padding-top:25px;border-top:1px solid var(--studio-rule)}
#page-animation .animation-section-head h2{margin:0;font:36px/1.15 var(--display);color:var(--studio-text)}
#page-animation .animation-section-head p{margin:0;font:10px/1.8 var(--mono);color:var(--studio-muted)}
#page-animation .animation-project.clip-card{overflow:visible}
#page-animation .animation-project .clip-media-wrap{aspect-ratio:16/9!important;overflow:hidden}
#page-animation .animation-project .clip-media-wrap video{object-fit:contain!important;background:#080d12}
#page-animation .animation-project .clip-media-wrap video:focus-visible{outline:2px solid #c5d9e6;outline-offset:-3px}
#page-animation .animation-feature{grid-column:1/-1}
#page-animation .animation-feature .clip-media-wrap{max-height:540px}
#page-animation .animation-caption{padding:20px 22px 22px}
#page-animation .animation-caption h3{margin:0 0 7px;font:30px/1.2 var(--display);color:var(--studio-text)}
#page-animation .animation-caption p{margin:0 0 18px;font:13px/1.7 Arial,sans-serif;color:var(--studio-muted)}
#page-animation .animation-shot-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}
#page-animation .animation-shot-row label{font:10px/1.6 var(--mono);color:var(--studio-text)}
#page-animation .animation-shot-row select{max-width:100%;margin-left:9px;padding:8px 26px 8px 10px;background:#19242f;border:1px solid var(--studio-rule);border-radius:2px;color:#dce2e7;font:10px/1.4 var(--mono);cursor:pointer}
#page-animation [data-shot-meta]{font:9px/1.7 var(--mono);color:var(--studio-muted)}
#page-animation .animation-archive-title{font:28px/1.3 var(--display);color:var(--studio-text);margin:0 0 20px}
#page-animation .xebeth-stage{position:relative;min-height:300px;aspect-ratio:3/1;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#24303b,#111820 72%);border:1px solid var(--studio-rule);border-radius:3px}
#page-animation .xebeth-stage :is(canvas,#xebethPoster){width:100%;height:100%;position:absolute;inset:0;object-fit:contain}
#page-animation .xebeth-stage.is-interactive canvas{cursor:grab;touch-action:none}
#page-animation .xebeth-stage.is-interactive canvas:active{cursor:grabbing}
#page-animation .xebeth-stage canvas:focus-visible{outline:2px solid #a9bfce;outline-offset:-4px}
#page-animation .xebeth-explore{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 22px;color:#e4ebef;background:#22303b;border:1px solid #9caebc;border-radius:2px;font:11px var(--mono);cursor:pointer}
#page-animation .xebeth-explore:disabled{cursor:wait;opacity:.7}
#page-animation .xebeth-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;color:var(--studio-muted);font:10px/1.8 var(--mono)}
#page-animation #xebethViewTitle{color:var(--studio-text)}
#page-animation #xebethReset{background:none;border:0;color:var(--studio-text);font:10px var(--mono);text-decoration:underline;text-underline-offset:5px;cursor:pointer}
#page-animation .xebeth-variants{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:10px}
#page-animation .xebeth-variant{padding:0;background:#131e27;border:1px solid var(--studio-rule);border-radius:2px;color:var(--studio-muted);cursor:pointer;transition:border-color .15s}
#page-animation .xebeth-variant[aria-pressed=true]{border-color:#b5cbdc;color:#e1ebf2;background:#24323d}
#page-animation .xebeth-variant img{width:100%;aspect-ratio:1;object-fit:contain;display:block}
#page-animation .xebeth-variant span{display:block;padding:11px 5px;font:10px/1.4 var(--mono)}
#page-animation .xebeth-variant:focus-visible,#page-animation .animation-shot-row select:focus-visible,#page-animation .xebeth-explore:focus-visible{outline:2px solid #c5d9e6;outline-offset:3px}
#page-animation .animation-wip-note{font:12px/1.8 Arial,sans-serif;color:var(--studio-muted);max-width:670px}
#page-animation [hidden]{display:none!important}
@media(max-width:700px){
 #page-animation .animation-section-head{align-items:flex-start;flex-direction:column;gap:10px}
 #page-animation .xebeth-stage{aspect-ratio:1.5;min-height:240px}
 #page-animation .xebeth-variants{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #page-animation .animation-caption{padding:17px}
 #page-animation .animation-feature{grid-column:auto}
 #page-animation .animation-shot-row{align-items:flex-start;flex-direction:column}
}

/* Media-led layout: accessible labels stay available without visible captions. */
#page-animation .animation-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#page-animation .animation-caption{padding:12px 16px}
#page-animation .animation-shot-row select{margin-left:0}
#page-animation .xebeth-bar{justify-content:flex-end}
#page-animation .studio-callout{justify-content:flex-end}
