#shot-desk{grid-template-columns:minmax(200px,.85fr) minmax(0,1.15fr);align-items:stretch;gap:0;max-width:none;background:#1a1719;border:1px solid #3e3438;overflow:hidden}
#shot-desk .shot-visual{display:grid;place-items:center;min-height:0;height:clamp(180px,17vw,270px);background:#100e10}
.shot-visual .motion-player,.shot-visual .showcase-still{display:block;width:100%;height:100%;min-height:0}
.shot-visual .motion-player{object-fit:contain}.shot-visual .showcase-still{object-fit:cover}
#shot-desk .shot-info{align-self:center;min-width:0;margin:0;padding:clamp(16px,2.2vw,30px)}
#shot-desk .shot-info h2{font-size:clamp(1.4rem,2.1vw,2rem);line-height:1.18;margin:6px 0}
#shot-summary{max-width:55em}.shot-kind,#shot-meta{font-size:.82rem;color:#e1b89b}
#shot-detail{margin-top:10px}#shot-detail summary{cursor:pointer;color:#f0e2d9}
#shot-detail #shot-prompt{line-height:1.55;max-width:62em;white-space:pre-wrap;overflow-wrap:anywhere}
#shot-credit,#motion-dialog-credit{display:flex;gap:5px 12px;align-items:baseline;flex-wrap:wrap;margin-top:10px;font-size:.77rem;color:#c4b7b6}
#shot-credit a,#motion-dialog-credit a{color:#e3c9b6;text-underline-offset:3px}
#shot-credit small,#motion-dialog-credit small{flex-basis:100%;font-size:inherit}
body[data-mode="video"][data-page="generate"] #gallery{grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));align-items:stretch;gap:14px}
.motion-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#191719;border:1px solid #3c3439;border-radius:13px}
.motion-card.selected{border-color:#c59d81}.motion-card-image{position:relative;aspect-ratio:16 / 10;background:#0e0d10;isolation:isolate}
.motion-card-image img{width:100%;height:100%;position:absolute;object-fit:cover;display:block;z-index:-1}
.motion-kind{position:absolute;bottom:8px;left:8px;background:#17131ae6;color:#fff;padding:3px 7px;border-radius:4px;font-size:.75rem}
.motion-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff8c;border-radius:50%;background:#100e10b0;color:#fff;font-size:1.1rem;cursor:pointer}
.motion-inspect{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;cursor:zoom-in}
.motion-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:12px 14px 14px}
.motion-card-copy small{color:#c4b5ac;font-size:.78rem}.motion-card-copy h3{font-size:1.05rem;line-height:1.35;margin:4px 0}
.motion-card-copy p{margin:0 0 12px;line-height:1.5;font-size:.86rem;color:#d2c9ce}
.motion-use{margin-top:auto;border:1px solid #665046;border-radius:7px;background:#322824;color:#f4d5bd;font-size:.86rem;padding:6px 11px;cursor:pointer}
.motion-use:hover,.motion-use:focus-visible{background:#49372d}
#motion-dialog{width:min(720px,92vw);padding:16px;border-radius:14px}
#motion-dialog .motion-player,#motion-dialog .motion-still{display:block;width:100%;max-height:68dvh;object-fit:contain;border-radius:8px;background:#111}
@media(max-width:760px){#shot-desk{grid-template-columns:minmax(0,1fr)}#shot-desk .shot-visual{height:190px}#shot-desk .shot-info{padding:16px}body[data-mode="video"][data-page="generate"] #gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.motion-card-copy{padding:10px}.motion-card-copy h3{font-size:1rem}}
.template-specification{display:grid;gap:8px;margin:8px 0 14px}
.template-specification small{color:#d6c5b9;line-height:1.45}
.template-specification[hidden],.template-specification [hidden],#shot-credit[hidden],#motion-dialog-credit[hidden]{display:none}
