/* VHS effect page (Nijimi, 2026-12-03) */
.vhs-stage { position: relative; margin: 12px 0 8px; background: #000; border: 1px solid var(--rule-2); line-height: 0; }
.vhs-stage canvas { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.vhs-stage .vhs-orig { position: absolute; inset: 0; }
.vhs-busy { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 2px 8px; line-height: 1.5; background: rgba(0,0,0,.7); color: #fff; }
.vhs-scrub { margin-top: 4px; }
.vhs-more { margin-top: 16px; border: 1px solid var(--rule); padding: 8px 12px; }
.vhs-more summary { cursor: pointer; font-size: var(--small); }
.vhs-more[open] summary { margin-bottom: 8px; }
.vhs-secs { padding-left: 1.4rem; margin: 8px 0; display: grid; gap: 6px; }
.vhs-secs li { font-size: var(--small); }
.vhs-secs select { max-width: 100%; }
.vhs-sec-t { width: 6rem; }
.vhs-export { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 12px; }
#result video, #result img { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #000; margin-top: 12px; }
.vhs select { max-width: 100%; }
.vhs .field { min-width: 0; }
.vhs-credit { margin-top: 16px; }
@media (max-width: 480px) { .vhs .row > .field:not(.grow) { flex: 1 1 100%; } }
