:root{--paper:#f6f5f1;--ink:#242823;--muted:#777b73;--line:#dcded6;--accent:#34473b;--surface:#fffefa;--radius:16px;color-scheme:light;font-family:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;word-break:keep-all}img,video{max-width:100%}[hidden]{display:none!important}button{border:0;background:none}em{font-style:normal}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #729b82;outline-offset:5px}.shell{width:min(1240px,100%);margin:0 auto;padding-left:48px;padding-right:48px}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;z-index:1000;top:-70px;left:20px;background:var(--ink);color:white;padding:12px 20px}.skip:focus{top:16px}.site-header{height:100px;padding:0 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(54,64,52,.07);gap:20px}.brand{display:flex;align-items:center;gap:13px}.brand-symbol{font-size:34px;letter-spacing:-3px;font-weight:600;line-height:1}.brand-symbol>span{color:#7b8f70}.brand-name{font-size:12px;line-height:1.4;letter-spacing:2px}.brand-name small{display:block;font-size:8px;letter-spacing:1.9px;margin-top:2px}.site-header nav{display:flex;align-items:center;gap:35px;font-size:12px}.site-header nav a{color:var(--muted);padding:8px 0}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--ink)}.site-header nav .nav-create{color:var(--ink);margin-left:18px;border-bottom:1px solid var(--ink)}.nav-create span{margin-left:15px}.eyebrow{font-size:10px;line-height:1.5;letter-spacing:2px;font-weight:500;color:var(--muted)}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#819c71;vertical-align:middle;margin-right:8px}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:35px;padding:13px 24px;border:1px solid transparent;border-radius:var(--radius);font-size:13px;font-weight:500;transition:background .2s,transform .2s}.button.primary{background:var(--ink);color:#fffefa}.button.primary:hover:not(:disabled){background:#3b4a3f;transform:translateY(-1px)}.button.subtle{border-color:var(--line);background:transparent}.button.subtle:hover{background:rgba(120,130,110,.08)}.button.full{width:100%}.text-link,.text-button{font-size:12px;letter-spacing:.1px}.text-link:hover,.text-button:hover{text-decoration:underline;text-underline-offset:4px}.text-button{padding:6px 0}.muted{color:var(--muted)}.small{font-size:11px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:28px}.section-heading h2{font-size:25px;font-weight:400;letter-spacing:-1px;margin-top:10px}.section-heading>h2{margin-top:0}.home-hero{text-align:center;position:relative;padding-top:96px;padding-bottom:96px}.home-hero .eyebrow{font-size:9px;letter-spacing:2.4px}.home-hero h1{font-size:clamp(36px,4.1vw,59px);line-height:1.4;letter-spacing:-2.8px;font-weight:350;margin:22px 0}.home-hero h1 em{color:#6e796b;font-weight:350}.home-hero>p{font-size:13px;color:var(--muted);margin:0 0 28px;word-break:keep-all}.hero-fineprint{display:block;color:#92958c;font-size:10px;margin-top:15px}.hero-axis{position:absolute;bottom:0;left:50%;height:30px;width:1px;background:var(--line)}.home-exhibition{padding-top:50px;padding-bottom:20px}.latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}.art-card{min-width:0}.art-surface{display:block;position:relative;aspect-ratio:1.35;background:#e9e8e0;overflow:hidden;padding:0;isolation:isolate}.art-surface video{height:100%;width:100%;object-fit:contain;background:#101210;display:block}.art-open{position:absolute;right:18px;bottom:18px;color:white;background:rgba(0,0,0,.45);padding:7px 13px;font-size:10px;border-radius:var(--radius);opacity:0;transform:translateY(4px);transition:.3s}.art-surface:hover .art-open,.art-surface:focus-visible .art-open{opacity:1;transform:none}.art-caption{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5}.art-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.art-number{font-size:10px;color:var(--muted)}.empty .art-surface{background:linear-gradient(125deg,#eeeee8,#e3e3da)}.empty-art-plane{position:absolute;width:42%;height:61%;top:15%;left:29%;background:linear-gradient(110deg,#fafaf6,#e4e5dc);box-shadow:14px 20px 16px -13px #6b705c65,inset 0 0 0 1px #fbfbf8;transform:perspective(800px) rotateY(-8deg);border:6px solid #eff0e8}.empty:nth-child(2) .empty-art-plane{transform:perspective(800px) rotateY(8deg);background:linear-gradient(135deg,#e2e7e0,#f6f5ef)}.empty-index{position:absolute;bottom:20px;left:24px;color:#8b8f80;font-family:Georgia,serif;font-size:22px;font-weight:400}.empty .art-caption{color:#94988c;font-size:11px}.exhibition-bottom{display:flex;justify-content:space-between;gap:20px;color:#868c80;font-size:10px;padding-top:21px}.home-closing{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:102px;padding-bottom:104px}.home-closing p{font-size:16px;line-height:2;letter-spacing:-.4px}.home-closing p span{font-size:13px;color:var(--muted)}#total-count{color:var(--muted);margin-left:15px}.site-footer{border-top:1px solid var(--line);min-height:102px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:9px;letter-spacing:.7px}.footer-brand{font-size:12px;letter-spacing:1px;color:var(--ink)}.site-footer>a:last-of-type{font-size:11px;letter-spacing:0}
/* 제작: 한 장 업로드 + 한 번의 접수 */
.make-main{display:grid;grid-template-columns:1fr 1.1fr;gap:60px 80px;max-width:1140px;padding-top:68px;padding-bottom:88px;align-items:start}.back-link{font-size:11px;color:var(--muted);display:inline-block;margin-bottom:46px}.make-intro h1{font-size:49px;line-height:1.4;letter-spacing:-2.8px;font-weight:350;margin:22px 0}.make-intro h1 em{color:#6e796b}.make-intro>p{font-size:13px;line-height:2.1;color:var(--muted)}.make-facts{display:flex;gap:24px;margin:34px 0 48px;font-size:10px;color:#5e6e5c}.make-intro .make-wait{font-size:11px;color:#5d6858;line-height:1.9}.make-wait span{font-size:10px;color:var(--muted)}.make-workspace{padding-top:5px;min-width:0}.make-form,.make-progress{padding:30px;background:var(--surface);border:1px solid #e7e7de;border-radius:var(--radius)}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.workspace-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.upload-zone{position:relative;display:flex;justify-content:center;align-items:center;aspect-ratio:1.15;background:#f4f4ef;border:1px dashed #c5cbbc;border-radius:var(--radius);cursor:pointer;overflow:hidden;transition:background .2s,border-color .2s}.upload-zone.dragging,.upload-zone:hover{background:#eff2e9;border-color:#87977c}.upload-zone.has-photo{border-style:solid;background:#e6e7df}.upload-empty{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;padding:20px}.upload-symbol{display:block;font-size:34px;color:#87927e;font-weight:200;line-height:1.6}.upload-empty strong{font-size:14px;font-weight:400}.upload-empty>span:last-child{font-size:10px;color:var(--muted)}#pet-preview{display:block;height:100%;width:100%;position:absolute;inset:0;object-fit:contain}.replace-hint{position:absolute;right:12px;bottom:12px;padding:5px 10px;color:white;background:#20272099;font-size:10px;border-radius:var(--radius)}.upload-description{display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:10px}.upload-description p{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-description button{font-size:10px;white-space:nowrap;color:#7d856f}.file-limit{font-size:9px;letter-spacing:.3px;color:#979c90;margin-top:7px}.form-error{color:#ab4b3c;font-size:12px;line-height:1.7;margin-top:15px}.form-error:empty{display:none}.make-form .button{margin-top:25px}.consent-note{font-size:10px;color:#888e81;line-height:1.8;margin-top:17px;word-break:keep-all}.auto-note{font-size:10px;color:#8a9183;line-height:1.8;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.service-notice{font-size:12px;background:#f4eddf;color:#82714f;padding:13px;margin-top:15px}.make-progress h2{font-size:26px;letter-spacing:-1px;margin-top:18px;margin-bottom:25px}.estimate{font-size:10px;color:#617556;letter-spacing:.3px}.progress-message{font-size:14px;line-height:1.9;margin:12px 0 22px}.progress-stage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.progress-stage{display:flex;flex-direction:column;gap:4px;padding:13px;border:1px solid var(--line);font-size:10px;color:#92988b;min-width:0}.progress-stage strong{font-weight:500}.progress-stage.current{border-color:#9aa98d;background:#f2f5ed;color:#52674a}.progress-stage.done{color:#52654b;background:#f6f7f2}.progress-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:20px}.progress-thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius)}.progress-detail{font-size:11px;color:var(--muted);margin-top:18px;line-height:1.9}.progress-actions{margin-top:23px}.make-progress>.text-button{margin-top:18px;font-size:11px}
/* 아트홀: Three.js 공간 + 전체 원본은 별도 네이티브 비디오 */
body[data-page=hall],body[data-page=screen]{--paper:#111310;--ink:#efeee7;--muted:#92998b;--line:#30372c;--surface:#191d16;color-scheme:dark}.hall-intro{display:flex;justify-content:space-between;align-items:end;gap:28px;padding-top:58px;padding-bottom:45px}.hall-intro h1{font-size:39px;font-weight:350;letter-spacing:-1.8px;margin-top:16px}.hall-intro h1 em{color:#b6c3a8}.hall-intro p{color:var(--muted);font-size:12px;margin-top:15px}.hall-tools{display:flex;flex-direction:column;align-items:flex-end;gap:19px}.screen-links{display:flex;gap:20px;font-size:11px;color:#b1baaa}.screen-links a:hover{color:white}.view-switch{display:flex;border:1px solid #3b4435;padding:4px;border-radius:var(--radius);flex-shrink:0}.view-switch button{font-size:11px;padding:9px 18px;border-radius:var(--radius);color:var(--muted)}.view-switch button.active{background:#313a2b;color:#f5f3ea}.hall-stage{position:relative;width:100%;height:min(66vw,710px);min-height:460px;overflow:hidden;background:#15161a;isolation:isolate}#hall-canvas{position:absolute;inset:0}#hall-canvas canvas{width:100%;height:100%;display:block}.stage-vignette{position:absolute;inset:0;background:linear-gradient(0deg,#0c100be6,transparent 28%,transparent 80%,#0c100b40);pointer-events:none;z-index:2}.hall-room-label{position:absolute;top:28px;left:5.5%;right:5.5%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.8px;color:#9da28e;z-index:3}.hall-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3;background:radial-gradient(ellipse at 50% 45%,#282a23,#111410);gap:12px;text-align:center;padding:28px}.gallery-outline{display:block;border:1px solid #59624d;width:80px;height:100px;margin-bottom:18px;box-shadow:12px 16px 20px #0004}.hall-empty h2{font-size:24px;font-weight:350;letter-spacing:-1px}.hall-empty p{font-size:12px;color:var(--muted);margin-bottom:8px}.hall-flat{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.hall-stage.is-flat .hall-flat{inset:60px 13% 135px;width:auto;height:auto;opacity:1}.hall-flat video{width:100%;height:100%;object-fit:contain;display:block}.hall-arrow{position:absolute;z-index:4;top:45%;width:44px;height:44px;border:1px solid #87927666;border-radius:var(--radius);background:#171a12aa;font-size:19px;color:#c0c9b6;display:flex;align-items:center;justify-content:center}.hall-arrow:hover{background:#425338}.hall-arrow.previous{left:5%}.hall-arrow.next{right:5%}.hall-work-caption{position:absolute;left:5.5%;right:5.5%;bottom:38px;z-index:4;display:flex;justify-content:space-between;align-items:end;gap:20px}.hall-work-caption>div:first-child{min-width:0}.hall-work-caption h2{font-size:26px;font-weight:400;letter-spacing:-.7px;margin:6px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hall-work-caption p{font-size:10px;color:var(--muted)}.hall-work-caption .eyebrow{font-size:8px}.playback-controls{display:flex;gap:8px;align-items:center;flex-shrink:0}.icon-button{min-width:38px;height:38px;font-size:17px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #59624d77;border-radius:var(--radius)}.control-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #5c66516b;font-size:11px;white-space:nowrap;border-radius:var(--radius);background:#20251c88}.control-button:hover,.icon-button:hover{background:#45513a88}.hall-floor-caption{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:2px;color:#717767;z-index:3}.archive{padding-top:65px;padding-bottom:70px}.archive .section-heading h2 span{font-size:14px;color:var(--muted);margin-left:12px}.filter-field select{background:transparent;border:1px solid var(--line);padding:10px 14px;color:var(--ink);font-size:11px;min-width:135px;border-radius:var(--radius)}.filter-field option{background:#1b2116}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.archive-card{text-align:left;min-width:0;padding:0}.archive-card .poster{position:relative;aspect-ratio:1.4;overflow:hidden;background:#1d2318}.archive-card img{height:100%;width:100%;object-fit:contain;transition:filter .3s}.archive-card:hover img{filter:brightness(1.1)}.archive-card.selected .poster{outline:1px solid #b6c5a7;outline-offset:4px}.archive-card .duration{position:absolute;right:10px;bottom:9px;padding:3px 6px;font-size:8px;background:#0b100acd;color:#c4cfbb}.archive-card h3{font-size:13px;font-weight:400;margin:15px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.archive-card p{font-size:9px;color:var(--muted)}.load-more{text-align:center;margin-top:38px}.archive-empty{padding:60px 0;text-align:center;color:var(--muted)}.archive-empty a{display:inline-block;margin-top:14px}#new-works{margin-bottom:25px}
/* 원본 전체화면: 최종 MP4 직접 재생, 화면비 유지 */
.viewing-original{overflow:hidden}.original-viewer{position:fixed;z-index:1000;inset:0;background:#050605;color:#f6f5f1;display:flex;flex-direction:column}.original-viewer:fullscreen{width:100vw;height:100dvh}.original-surface{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.original-surface video{width:100%;height:100%;object-fit:contain}.original-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 26px;background:#11150f;flex-shrink:0}.original-info{min-width:0}.original-info h2{font-size:15px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.original-info p{font-size:10px;color:#a8b39e;margin-top:4px}.original-buttons{display:flex;gap:8px;flex-shrink:0}.original-message{position:absolute;top:20px;left:50%;transform:translateX(-50%);font-size:11px;color:#d1d9ca;background:#151b12d9;max-width:90%;padding:7px 12px;text-align:center}.original-message:empty{display:none}
/* 스크린: UI 없는 시간에는 두 개의 원본 버퍼 중 활성 영상만 보입니다. */
body[data-page=screen]{background:#030403;overflow:hidden}.screen-room{height:100vh;height:100dvh;position:relative;overflow:hidden;background:#030403;isolation:isolate}.screen-room:fullscreen{height:100dvh;width:100vw}.screen-video-stage{position:absolute;inset:0;overflow:hidden}.screen-video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;opacity:0;transition:opacity .7s ease;background:#030403}.screen-video.visible{opacity:1;z-index:1}.screen-video.preparing{z-index:2;opacity:0}.screen-chrome{z-index:4;transition:opacity .45s,transform .45s}.screen-top{position:absolute;top:0;left:0;right:0;padding:25px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(#030403bd,transparent);font-size:11px}.screen-brand{font-size:22px;letter-spacing:-1px}.screen-brand span{font-size:8px;letter-spacing:2px;margin-left:8px;color:#b5bbaa}.screen-top nav{display:flex;gap:24px;color:#aaa}.screen-top nav a[aria-current]{color:#fff;border-bottom:1px solid #d1d9c6;padding-bottom:2px}.screen-live{font-size:8px;letter-spacing:1.5px;color:#a6b29b}.screen-bottom{position:absolute;bottom:0;left:0;right:0;padding:60px 34px 24px;display:flex;align-items:end;justify-content:space-between;gap:25px;background:linear-gradient(transparent,#030403c4)}.screen-work{min-width:0}.screen-work .eyebrow{font-size:8px;letter-spacing:2px;color:#adb99f}.screen-work h1{font-size:22px;font-weight:350;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px}.screen-work p{font-size:9px;color:#9ca68e;margin-top:5px;letter-spacing:.6px}.screen-controls{display:flex;gap:8px;flex-shrink:0}.screen-status{position:absolute;bottom:112px;left:34px;font-size:10px;color:#b0ba9f;max-width:75%;background:#0e140ca6;padding:5px 10px;border-radius:var(--radius)}.screen-status:empty{display:none}.screen-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;background:radial-gradient(ellipse at 50% 65%,#151b12,#050705);color:#d4deca}.screen-empty h1{font-size:42px;letter-spacing:-2px;line-height:1.6;font-weight:300;margin:25px 0}.screen-empty em{color:#8b9b7d}.screen-empty p{font-size:12px;color:#919e83;margin-bottom:28px;word-break:keep-all}.screen-control-hint{position:absolute;z-index:5;bottom:16px;right:22px;padding:4px 13px;color:#b6c3ac;background:#20271b77;border-radius:var(--radius);opacity:0;pointer-events:none}.screen-room.quiet .screen-chrome{opacity:0;pointer-events:none}.screen-room.quiet .screen-control-hint{opacity:.45;pointer-events:auto}.screen-room.quiet{cursor:none}.screen-room.quiet .screen-control-hint{cursor:pointer}
#toast{position:fixed;z-index:2000;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translate(-50%,10px);width:max-content;max-width:min(90vw,620px);padding:13px 19px;background:#25301f;color:#f9f8ef;border:1px solid #55614b;border-radius:var(--radius);box-shadow:0 6px 20px #0003;font-size:12px;text-align:center;opacity:0;pointer-events:none;transition:.25s}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.home-hero{padding-top:115px;padding-bottom:110px}.hall-stage{height:740px}.shell{max-width:1380px}.latest-grid{gap:45px}}
@media(max-width:1000px){.shell{padding-left:32px;padding-right:32px}.site-header{padding:0 32px}.make-main{gap:50px;grid-template-columns:.9fr 1.1fr}.make-intro h1{font-size:43px}.make-form,.make-progress{padding:24px}.hall-intro h1{font-size:33px}.hall-work-caption h2{font-size:22px}.hall-work-caption{align-items:center}.playback-controls{gap:6px}.playback-controls .control-button{font-size:10px;padding:8px 10px}.hall-work-caption>div:first-child{max-width:52%}.home-closing{padding-top:80px;padding-bottom:80px}}
@media(max-width:700px){.shell{padding-left:23px;padding-right:23px}.site-header{height:78px;padding:0 23px;gap:15px}.brand{gap:9px}.brand-symbol{font-size:29px}.brand-name{font-size:10px;letter-spacing:1px}.brand-name small{font-size:6px;letter-spacing:1.3px}.site-header nav{gap:22px;font-size:10px}.site-header nav .nav-create{margin-left:0}.nav-create span{margin-left:6px}.home-hero{padding-top:65px;padding-bottom:70px}.home-hero h1{font-size:44px;letter-spacing:-2.5px;margin:22px 0}.home-hero>p{font-size:11px;margin-bottom:25px}.home-hero .eyebrow{font-size:8px;letter-spacing:1.6px}.button{min-height:46px;font-size:12px;padding:12px 20px;gap:36px}.hero-fineprint{font-size:9px}.home-exhibition{padding-top:37px}.section-heading{margin-bottom:23px;gap:12px}.section-heading h2{font-size:23px}.section-heading .eyebrow{font-size:8px}.text-link{font-size:10px}.latest-grid{grid-template-columns:1fr;gap:28px}.art-surface{aspect-ratio:1.25}.art-caption{font-size:12px;padding:15px 0}.art-open{opacity:1;transform:none;font-size:9px;padding:5px 8px;bottom:13px;right:13px}.exhibition-bottom{font-size:9px;gap:12px;line-height:1.8;flex-wrap:wrap}.home-closing{padding-top:63px;padding-bottom:66px;align-items:start;flex-direction:column;gap:26px}.home-closing p{font-size:14px;line-height:2}.home-closing p span{font-size:11px}.site-footer{min-height:95px;flex-wrap:wrap;gap:9px 15px;padding-top:25px;padding-bottom:25px;font-size:7px}.footer-brand{font-size:11px}.site-footer>a:last-of-type{font-size:10px}.site-footer>span{order:3;width:100%;letter-spacing:1px}.make-main{display:flex;flex-direction:column;gap:32px;padding-top:30px;padding-bottom:50px}.make-intro{width:100%;position:relative}.back-link{font-size:10px;margin-bottom:28px}.make-intro .eyebrow{font-size:8px}.make-intro h1{font-size:38px;margin:15px 0;line-height:1.35}.make-intro h1 br{display:none}.make-intro>p{font-size:12px;line-height:1.9}.make-facts{margin:22px 0 0;font-size:9px}.make-intro .make-wait{font-size:10px;line-height:1.7;margin-top:20px}.make-wait span{font-size:9px}.make-workspace{padding-top:0;width:100%}.make-form,.make-progress{padding:22px}.workspace-heading{margin-bottom:18px}.upload-zone{aspect-ratio:1.17}.upload-description p{font-size:10px}.consent-note,.auto-note{font-size:9px;line-height:1.85}.make-progress h2{font-size:23px}.hall-intro{padding-top:35px;padding-bottom:28px;display:block}.hall-intro .eyebrow{font-size:8px}.hall-intro h1{font-size:30px;letter-spacing:-1.4px;margin-top:12px}.hall-intro p{font-size:11px;margin-top:10px}.hall-tools{flex-direction:row;align-items:center;justify-content:space-between;gap:13px;margin-top:25px}.screen-links{gap:13px;font-size:10px}.view-switch{padding:3px}.view-switch button{padding:7px 12px;font-size:10px}.hall-stage{height:65vh;height:65dvh;min-height:440px;max-height:650px}.hall-room-label{left:23px;right:23px;top:22px;font-size:7px;letter-spacing:1.5px}.hall-stage.is-flat .hall-flat{inset:55px 14% 150px}.hall-work-caption{left:23px;right:23px;bottom:30px;display:block}.hall-work-caption>div:first-child{max-width:100%}.hall-work-caption h2{font-size:20px;margin-top:6px}.hall-work-caption p{font-size:9px}.playback-controls{margin-top:15px}.control-button{font-size:10px;min-height:36px;padding:7px 10px}.icon-button{height:36px;min-width:36px;font-size:16px}.hall-arrow{width:34px;height:34px;font-size:16px;top:41%}.hall-arrow.previous{left:14px}.hall-arrow.next{right:14px}.hall-floor-caption{font-size:5px;letter-spacing:1.4px}.hall-empty h2{font-size:20px}.hall-empty p{font-size:11px}.archive{padding-top:40px;padding-bottom:45px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.archive-card h3{font-size:11px;margin-top:10px}.archive-card p{font-size:8px}.archive-card .duration{font-size:7px;bottom:6px;right:6px}.filter-field select{font-size:10px;padding:8px;min-width:110px}.archive .section-heading h2{font-size:22px}.original-bar{padding:14px 16px;display:block}.original-info h2{font-size:14px}.original-info p{font-size:9px}.original-buttons{margin-top:12px;justify-content:flex-end}.original-buttons .control-button{font-size:10px;padding:7px 12px}.original-message{font-size:10px;top:14px;width:max-content}.screen-top{padding:20px 18px;gap:12px}.screen-brand{font-size:20px}.screen-brand span{display:none}.screen-top nav{font-size:10px;gap:18px}.screen-live{font-size:7px;letter-spacing:1px}.screen-bottom{padding:50px 18px 22px;display:block}.screen-work h1{font-size:18px;margin-top:6px;max-width:100%}.screen-work p{font-size:8px}.screen-work .eyebrow{font-size:7px}.screen-controls{margin-top:15px;gap:8px;justify-content:flex-end}.screen-controls .control-button{font-size:10px}.screen-empty h1{font-size:34px}.screen-empty p{font-size:11px}.screen-status{left:18px;bottom:156px;font-size:9px}.screen-control-hint{bottom:13px;right:16px}}
@media(max-width:370px){.shell{padding-left:18px;padding-right:18px}.site-header{padding:0 18px}.brand-name{display:none}.site-header nav{gap:20px}.home-hero h1{font-size:39px}.make-intro h1{font-size:34px}.make-form,.make-progress{padding:18px}.hall-intro h1{font-size:27px}.hall-tools{gap:10px}.screen-links{font-size:9px;gap:10px}.view-switch button{font-size:9px;padding:7px 10px}.upload-description p{font-size:9px}.original-buttons .control-button{font-size:9px;padding:7px 10px}}
@media(max-height:500px) and (orientation:landscape){.screen-bottom{padding:40px 25px 12px;display:flex}.screen-top{padding:12px 25px}.screen-controls{margin:0}.screen-work h1{font-size:15px}.screen-status{bottom:83px}.original-bar{display:flex;padding:9px 15px}.original-buttons{margin-top:0}.original-info h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.screen-video{transition:none}}

/* My Pet Nebula — navy surfaces and tonal controls. */
:root {
  --paper: #0c1d34; --ink: #eef3ff; --muted: #bdc9dc; --line: #344962;
  --accent: #aecaff; --surface: #182e49; --radius: 16px;
  --primary: #afcbff; --on-primary: #082c57; color-scheme: dark;
}
.site-header { height: 78px; background: var(--paper); border-color: var(--line); }
.brand { gap: 9px; }
.nebula-mark { color: #eebfd3; font: 36px/1 Georgia, serif; }
.nebula-wordmark { font: small-caps 27px/.95 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.nebula-wordmark small { display: block; margin-top: 5px; font: 10px/1.25 system-ui, sans-serif; letter-spacing: .18em; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.site-header nav .nav-create, .site-header nav .nav-create[aria-current] {
  color: var(--on-primary); background: var(--primary); border: 0; border-radius: var(--radius);
  min-height: 46px; padding: 0 18px; font-weight: 700; white-space: nowrap;
}
.site-header nav .nav-create:hover { background: #c8dbff; color: var(--on-primary); }
.site-header nav a[aria-current] { color: var(--ink); font-weight: 650; }
.button.primary { background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 650; border-radius: var(--radius); }
.button.primary:hover:not(:disabled) { background: #c8dbff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline-color: #c885a2; }
.cover-art { position: relative; isolation: isolate; background: #103359; color: #fff5ee; }
.cover-art picture, .cover-art img { display: block; width: 100%; }
.cover-art img { height: clamp(370px, 40vw, 650px); object-fit: cover; object-position: 50% 47%; }
.cover-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#07172c70, transparent 20%, transparent 80%, #08182cbf); }
.cover-edition, .cover-credit { position: absolute; z-index: 1; left: 5.5%; right: 5.5%; display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .19em; }
.cover-edition { top: 24px; }
.cover-credit { bottom: 22px; }
.cover-credit span:first-child { letter-spacing: .09em; }
.invitation { background: #112840; color: #fff7f0; padding: 28px 5.5% 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.folio { font-size: 10px; letter-spacing: .17em; color: #efc4d2; }
.invitation h2 { margin: 6px 0 4px; font-size: clamp(27px, 3.1vw, 48px); font-weight: 450; line-height: 1.3; letter-spacing: -.065em; }
.invitation em { color: #edc8d3; }
.invitation h2 + p { color: #d8e1ea; font-size: 14px; word-break: keep-all; }
.invitation .button { flex: none; min-height: 52px; }
.invitation-actions { display: grid; gap: 4px; justify-items: stretch; }
.artist-instagram { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 6px; color: #d6e3f8; font-size: 13px; }
.artist-instagram:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .invitation-actions { width: min(100%, 440px); } }
.home-exhibition { padding-top: clamp(40px, 5vw, 72px); }
.section-heading h2 { font-size: clamp(25px, 3vw, 38px); letter-spacing: -.06em; }
.empty .art-surface { aspect-ratio: 1.95; background: #163954; }
.empty .art-surface img { width: 100%; height: 100%; display: block; object-fit: cover; }
.study-label { position: absolute; top: 14px; left: 14px; padding: 4px 10px; background: #10283fdb; color: white; font-size: 11px; }
.empty .art-caption { color: var(--muted); font-size: 12px; }
.empty .art-caption span:first-child { color: var(--ink); font-size: 16px; }
.exhibition-bottom { color: var(--muted); }
.make-intro h1 em { color: #925b73; }
.make-main { gap: 42px clamp(32px, 5vw, 76px); }
.studio-print { margin: 25px 0 16px; }
.studio-print img { display: block; width: 100%; aspect-ratio: 2.1; object-fit: cover; }
.studio-print figcaption { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); }
.studio-print figcaption span { letter-spacing: .15em; font-size: 9px; }
.make-intro .make-wait, .consent-note, .auto-note, .file-limit { color: var(--muted); }
.make-form { padding: 0; background: transparent; border: none; }
.make-intro h1 { font-weight: 650; line-height: 1.2; }
.upload-card {
  color-scheme: light; --ink: #172b46; --muted: #52647a;
  padding: clamp(18px, 3vw, 28px); background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 8px 24px #030c1a38;
}
.workspace-heading { align-items: center; margin-bottom: 16px; }
.workspace-heading h2 { font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.photo-count { padding: 4px 10px; border-radius: var(--radius); background: #e7efff; color: #345378; font-size: 12px; }
.upload-zone { aspect-ratio: 2; background: #f5f8ff; border: 1px dashed #90a7c5; border-radius: var(--radius); }
.upload-zone:hover, .upload-zone.dragging { background: #e9f1ff; border-color: #486da3; }
.upload-zone.has-photo { background: #e8eef8; border-style: solid; }
.upload-empty { gap: 5px; }
.upload-empty strong { color: #183e74; font-size: 17px; font-weight: 650; }
.upload-empty > span:last-child { font-size: 12px; }
.upload-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 5px; border-radius: var(--radius); background: #dce8ff; color: #254d85; }
.upload-description { min-height: 24px; }
.upload-description p, .upload-description button { color: var(--muted); font-size: 12px; }
.make-form .button { min-height: 54px; margin-top: 16px; }
.make-form .button:disabled { background: #2b405b; color: #b6c4d7; opacity: 1; }

.make-main:has(#make-progress:not([hidden])) { display: block; }
.make-main:has(#make-progress:not([hidden])) .make-intro { display: none; }
.make-main:has(#make-progress:not([hidden])) .make-workspace { max-width: 600px; margin-inline: auto; }
.progress-poster { display: none; }
.make-workspace:has(#make-progress:not([hidden])) .progress-poster {
  display: block; width: 100%; height: auto; margin-bottom: 12px; border-radius: var(--radius);
}
.make-progress {
  color-scheme: light; --ink: #172b46; --muted: #52647a; --line: #ccd6e3;
  padding: clamp(18px, 4vw, 32px); background: #fff; color: var(--ink);
  border: 0; border-radius: var(--radius);
}
.make-progress h2 { margin: 6px 0; overflow-wrap: anywhere; }
.make-progress .eyebrow, .make-progress .estimate { color: var(--muted); font-size: 12px; }
.progress-message { margin: 10px 0 16px; }
.progress-stage-list { gap: 10px; }
.progress-stage {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; color: var(--ink); gap: 3px;
}
.progress-stage.current, .progress-stage.done { background: white; color: var(--ink); }
.progress-stage.current { border-color: #4471ad; box-shadow: inset 0 0 0 1px #4471ad; }
.stage-number { font: 600 11px/1.6 system-ui, sans-serif; letter-spacing: .08em; color: var(--muted); }
.progress-stage strong { font-size: 16px; font-weight: 650; }
.stage-value { color: var(--muted); font-size: 12px; }
.current .stage-value, .done .stage-value { color: #285789; }
.scene-previews { margin-top: 16px; color: var(--muted); font-size: 13px; }
.scene-previews summary { cursor: pointer; }
.progress-actions:empty, .progress-detail:empty { display: none; }
.make-progress > .text-button { color: #305382; font-size: 13px; }

.form-error { color: #ffb9ae; }
.service-notice { background: #443347; color: #ffe1ee; border-radius: var(--radius); }
.art-surface, .archive-card .poster, .studio-print img { border-radius: var(--radius); }
.study-label, .control-button, .icon-button, .view-switch, .view-switch button, .filter-field select { border-radius: var(--radius); }
.skip { background: var(--primary); color: var(--on-primary); }
body[data-page=hall], body[data-page=screen] { --paper: #0c1d34; --ink: #eef3ff; --muted: #bdc9dc; --line: #344962; --surface: #182e49; }
.hall-intro h1 em, .screen-empty h1 em { color: #ebbbcd; }
.hall-empty { background: linear-gradient(#091b30a8,#08172ddc), url(/assets/nebula/flower-garden.webp) center/cover; }
.garden-spark { font: 46px/1 Georgia, serif; color: #efd0dd; }
.hall-stage:has(.hall-empty:not([hidden])) .hall-arrow { visibility: hidden; }
.screen-links a, .hall-room-label { color: #cad2dd; }
.view-switch, .control-button, .icon-button { border-color: #617388; }
.view-switch button.active, .control-button { background: #263e56; }
.screen-empty { background: linear-gradient(#0a172bd9,#101e35e8), url(/assets/nebula/companions.webp) center/cover; }
.screen-brand { font-family: Georgia, serif; letter-spacing: -.04em; }
body[data-page=hall] .nebula-mark { color: #efc5d3; }
.live-dot { background: #c589a3; }
@media (max-width: 700px) {
  .site-header { height: 68px; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); gap: 8px; }
  .nebula-wordmark { font-size: 22px; }
  .nebula-wordmark small { font-size: 9px; }
  .nebula-mark { font-size: 25px; }
  .brand { gap: 5px; }
  .site-header nav { gap: 12px; font-size: 12px; }
  .site-header nav .nav-create { margin: 0; padding: 0 13px; }
  .nav-create span { display: none; }
  .cover-art img { height: auto; aspect-ratio: 1.14; }
  .cover-edition, .cover-credit { left: 19px; right: 19px; font-size: 9px; letter-spacing: .1em; }
  .cover-edition { top: 14px; } .cover-credit { bottom: 14px; }
  .cover-edition span:last-child { display: none; }
  .invitation { display: grid; gap: 18px; padding: 23px 22px 26px; }
  .invitation h2 { margin: 7px 0; font-size: 32px; }
  .invitation h2 + p { font-size: 13px; }
  .invitation .button { justify-content: center; min-height: 52px; gap: 12px; }
  .home-exhibition .text-link, .site-footer a, .hall-tools a, .view-switch button, .control-button, .icon-button, .text-button, .screen-top nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .make-main { gap: 22px; }
  .make-intro h1 { margin: 8px 0; font-size: clamp(34px, 8vw, 44px); }
  .make-intro h1 br { display: initial; }
  .make-intro > p { font-size: 13px; }
  .studio-print { display: none; }
  .make-intro .make-wait { margin-top: 9px; font-size: 12px; }
  .upload-zone { aspect-ratio: 1.6; min-height: 158px; }
  .upload-description p, .file-limit, .consent-note, .auto-note, .upload-empty > span:last-child { font-size: 12px; }
  .screen-links { gap: 12px; } .hall-tools { flex-wrap: wrap; }
  .empty .art-caption { gap: 7px; }
}
@media (max-width: 360px) {
  .nebula-mark { display: none; }
}

/* The mobile landing reads as one cover, then an exhibition catalogue. */
@media (max-width: 700px) {
  body[data-page=home] { --landing-gutter: clamp(18px, 5vw, 32px); }
  [data-page=home] .shell {
    padding-inline: var(--landing-gutter);
  }
  .nebula-cover { background: var(--paper); }
  .cover-art img {
    height: min(84vw, 42svh); aspect-ratio: auto; object-position: center 45%;
  }
  .cover-art::after {
    background: linear-gradient(180deg, transparent 60%, var(--paper) 100%);
  }
  .cover-edition, .cover-credit, .invitation .folio { display: none; }
  .invitation {
    background: transparent; text-align: center; justify-items: center; grid-template-columns: minmax(0, 1fr);
    padding: 4px var(--landing-gutter) 30px; gap: 18px;
  }
  .invitation h2 { margin: 0 0 8px; font-size: clamp(28px, 7.7vw, 38px); font-weight: 600; }
  .invitation h2 + p {
    max-width: 30ch; margin-inline: auto; color: var(--muted); font-size: 14px;
    line-height: 1.65; text-wrap: balance;
  }
  .invitation .button { width: min(100%, 440px); }
  .home-exhibition {
    border-top: 1px solid var(--line); padding-block: 28px 0;
  }
  .home-exhibition .section-heading { align-items: end; margin-bottom: 16px; }
  .home-exhibition .section-heading h2 { font-size: clamp(22px, 5.9vw, 30px); margin-top: 5px; }
  .home-exhibition .section-heading .text-link { flex: none; font-size: 12px; }
  .home-exhibition .latest-grid { gap: 20px; }
  .home-exhibition .art-caption { align-items: center; padding-block: 12px; }
  .home-closing { align-items: center; text-align: center; padding-block: 40px; gap: 8px; }
  .home-closing .text-link { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Native popover supports keyboard focus, Escape and outside taps. */
.site-header {
  --menu-top: max(12px, env(safe-area-inset-top));
  --menu-right: max(16px, env(safe-area-inset-right));
}
.menu-toggle, .site-header #main-menu {
  position: fixed; right: var(--menu-right); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #253448; color: #eef2f6; border-color: #455367; box-shadow: none;
}
.menu-toggle {
  top: var(--menu-top); z-index: 32; width: 46px; height: 46px;
  display: grid; place-items: center;
}
.site-header #main-menu {
  inset: calc(var(--menu-top) + 54px) var(--menu-right) auto auto;
  margin: 0; padding: 6px; width: min(208px, 90vw);
  max-height: calc(100dvh - var(--menu-top) - 70px); overflow: auto;
  display: none;
}
.site-header #main-menu:popover-open { display: grid; gap: 2px; }
.site-header #main-menu a {
  display: flex; align-items: center; gap: 12px; margin: 0;
  min-height: 46px; padding: 8px 12px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink); font-size: 15px;
}
.site-header #main-menu .nav-create { color: var(--primary); font-weight: 650; }
.site-header #main-menu a:is(:hover, :focus-visible) { background: #294360; }
.site-header #main-menu a[aria-current] { color: #f6f8fc; background: #41536b; }
#main-menu .nav-create span { display: none; }
.nav-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.viewing-original .menu-toggle { display: none; }
@media (max-width: 700px), (max-width: 940px) and (max-height: 500px) and (pointer: coarse) {
  .site-header #main-menu { width: max-content; max-width: calc(100vw - 32px); }
}

/* The work fills the first viewport. Secondary gallery tools follow the reel. */
body[data-page=hall] .archive { width: 100%; max-width: none; padding: 0; }
#reels { position: relative; width: 100%; margin: 0 auto; background: #071324; }
.reel-track {
  position: relative; display: flex; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-card {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 100%; height: 100vh; height: 100dvh;
  scroll-snap-align: center; scroll-snap-stop: always; background: #071324;
}
.reel-media, .reel-media img, .reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-media img, .reel-media video { object-fit: cover; }
.reel-caption h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reel-full, .reel-nav, .reel-badge { position: absolute; z-index: 1; color: white; background: #07182bc9; border-radius: var(--radius); }
.pet-name-field { display: block; margin-top: 12px; font-size: 14px; font-weight: 650; }
.pet-name-field span { color: var(--muted); font-weight: 400; }
.pet-name-field input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; min-height: 44px; border: 1px solid #90a7c5; border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 16px; }
.reel-card.has-video { display: grid; grid-template-rows: minmax(0,1fr) auto; }
.has-video .reel-media { position: relative; }
.has-video .reel-caption { background: #0b1c30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px max(12px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); }
.reel-pet { min-width: 0; overflow-wrap: anywhere; color: #fff; font-size: 15px; font-weight: 600; }
.reel-full { position: static; flex: none; min-height: 44px; padding-inline: 14px; font-size: 12px; }
.reel-badge { bottom: max(20px,env(safe-area-inset-bottom)); left: max(16px,env(safe-area-inset-left)); padding: 5px 12px; font-size: 12px; }
.reel-nav { background: #253448; border: 1px solid #455367; top: max(12px,env(safe-area-inset-top)); left: max(16px,env(safe-area-inset-left)); display: flex; align-items: center; }
.reel-nav button { width: 44px; height: 46px; color: white; font-size: 18px; }
#reel-position { min-width: 4ch; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.gallery-options { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; padding: 20px; }
.gallery-options .hall-tools { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.archive-grid:not([hidden]), #new-works:not([hidden]) { width: min(1120px,92%); margin: 16px auto; }
.load-more:has([hidden]) { display: none; }
@media (min-aspect-ratio: 1/1) {
  .reel-media img, .reel-media video { object-fit: contain; }
}

/* A still print drifts left within the frame during its five-second turn. */
@media (prefers-reduced-motion: no-preference) {
  .reel-card:not(.has-video):not([inert]) .reel-media img {
    animation: reel-drift-left 5s ease-in-out both;
    animation-play-state: paused;
  }
  #reels.pan-running .reel-card:not(.has-video):not([inert]) .reel-media img { animation-play-state: running; }
  @keyframes reel-drift-left {
    from { transform: translateX(4%) scale(1.09); }
    to { transform: translateX(-4%) scale(1.09); }
  }
}

/* One shared entrance to the visitor experience. */
:root { --visitor-header: calc(62px + env(safe-area-inset-top)); }
.site-header {
  position: sticky; top: 0; z-index: 32; height: var(--visitor-header);
  padding-top: env(safe-area-inset-top); background: #17283c;
}
.site-header .brand { margin-right: auto; flex-shrink: 0; }
.site-header .menu-toggle { position: static; flex: none; }
.site-header #main-menu, #gallery-options {
  top: calc(var(--visitor-header) + 4px);
  max-height: calc(100dvh - var(--visitor-header) - 16px);
}
@media (min-width: 701px) {
  .site-header .menu-toggle { display: none; }
  .site-header #main-menu:not([popover]) {
    display: flex; position: static; width: auto; gap: 4px; padding: 0; border: 0;
    background: transparent; overflow: visible;
  }
}
.gallery-options-toggle {
  background: #253448; color: var(--ink); border: 1px solid #455367; border-radius: var(--radius);
  min-height: 44px; padding: 0 12px; font-size: 13px;
}
#gallery-options {
  position: fixed; inset-inline: auto max(16px,env(safe-area-inset-right)); margin: 0;
  width: min(320px, calc(100vw - 32px)); border: 1px solid #455367;
  border-radius: var(--radius); background: #253448; color: var(--ink); overflow: auto;
}
#gallery-options:not(:popover-open) { display: none; }
#gallery-options .hall-tools { flex-direction: column; }
.reel-card { height: calc(100dvh - var(--visitor-header)); }
#hall-stage { height: calc(100dvh - var(--visitor-header)); min-height: 0; max-height: none; }
.reel-nav { top: 8px; }
.make-main {
  display: grid; grid-template-columns: minmax(0, 1fr); max-width: 660px;
  padding-top: clamp(20px, 4vh, 44px); gap: 18px; text-align: center;
}
.make-intro h1 { margin: 6px 0; }
.make-intro > p { line-height: 1.4; }
.make-intro .make-wait { margin-top: 3px; line-height: 1.35; }
.make-workspace { width: 100%; min-width: 0; }
.make-main .workspace-heading, .make-main .upload-description { justify-content: center; gap: 8px; }
.make-main .pet-name-field input { text-align: center; }
.make-main :is(.consent-note,.auto-note,.progress-message) { text-wrap: pretty; word-break: keep-all; }
@media (max-width: 700px) and (max-height: 640px) {
  .make-main { padding-top: 8px; gap: 8px; }
  .make-intro .eyebrow { display: none; }
  .make-intro .make-wait { margin-top: 2px; }
  .upload-description { margin-top: 4px; }
  .pet-name-field { margin-top: 6px; }
  .make-intro h1 { font-size: 28px; }
  .upload-card { padding: 14px; }
  .workspace-heading { margin-bottom: 8px; }
  .upload-zone { aspect-ratio: auto; min-height: 110px; }
  .upload-symbol { width: 32px; height: 32px; }
  .make-form .button { margin-top: 8px; }
}

/* One live indicator for the four production stages. */
.progress-emblem {
  position: relative; display: grid; place-items: center; margin: 20px auto 14px;
  width: 46px; height: 46px; border-radius: 50%; background: #edf3ff;
  color: #315c96; font: 34px/1 Georgia, serif;
}
.is-working .progress-emblem::after {
  content: ""; position: absolute; inset: -2px; border: 2px solid #dce5f3;
  border-top-color: #4775b3; border-radius: 50%; animation: work-orbit 1.3s linear infinite;
}
.work-meter { max-width: 380px; margin-inline: auto; }
.work-steps { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 5px; }
.work-steps span { color: #64758a; font: 500 12px/1.5 system-ui,sans-serif; }
.work-steps .reached, .work-steps .current { color: #214f8c; }
.work-steps .current { font-weight: 800; }
.work-track { position: relative; overflow: hidden; border-radius: 4px; }
#work-progress {
  display: block; appearance: none; width: 100%; height: 6px; border: 0;
  border-radius: inherit; background: #e1e8f2; color: #4978b9;
}
#work-progress::-webkit-progress-bar { background: #e1e8f2; }
#work-progress::-webkit-progress-value { background: #4978b9; transition: width 600ms ease; }
#work-progress::-moz-progress-bar { background: #4978b9; }
.is-working .work-track::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 25%;
  background: linear-gradient(90deg,transparent,#789acc80,transparent);
  animation: work-sweep 2.8s ease-in-out infinite;
}
.work-status { margin: 9px 0 0; font-size: 13px; color: #52647a; }
@keyframes work-orbit { to { transform: rotate(360deg); } }
@keyframes work-sweep { from { transform: translateX(-100%); } to { transform: translateX(400%); } }
@media (prefers-reduced-motion: reduce) {
  .is-working .progress-emblem::after, .is-working .work-track::after { animation: none; }
  .is-working .work-track::after { display: none; }
}
