@charset "UTF-8";
:root{color-scheme:dark;--ink:#f9f6ed;--muted:#c4c6ba;--gold:#ddc89d;--night:#121713;--line:rgba(239,234,214,.18);--film-height:146px;font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--night);color:var(--ink)}button,input{font:inherit}button{color:inherit;cursor:pointer}button,dialog,input{outline-offset:5px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--gold)}button:disabled{cursor:default;opacity:.4}button{touch-action:manipulation}button svg,svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg use{pointer-events:none}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.viewer{position:relative;width:100%;height:100%;height:100dvh;isolation:isolate;overflow:hidden}.viewport{position:absolute;inset:0 0 var(--film-height);overflow:hidden;background:#101410;touch-action:none;cursor:grab;outline-offset:-4px}.viewport.is-dragging{cursor:grabbing}.viewport:focus-visible{outline:1px solid rgba(221,200,157,.65)}.backdrop{position:absolute;inset:-25px;background-size:cover;background-position:center;filter:blur(22px) brightness(.4);transform:scale(1.07);transition:background-image .4s}.scene-image{position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:fill;user-select:none;-webkit-user-drag:none;will-change:transform,opacity;opacity:0;transition:opacity .45s ease;pointer-events:none}.scene-image.loaded{opacity:1}.panorama{position:absolute;inset:0}.vignette{position:absolute;inset:0 0 var(--film-height);pointer-events:none;background:linear-gradient(180deg,rgba(9,16,10,.73),rgba(9,16,10,.04) 25%,rgba(9,16,10,0) 48%,rgba(9,16,10,.24) 70%,rgba(9,16,10,.88));z-index:1}
.topbar{position:absolute;top:0;left:0;right:0;padding:28px 34px;display:flex;align-items:center;justify-content:space-between;z-index:4;gap:20px}.wordmark{display:flex;flex-direction:column;align-items:flex-start;border:0;background:none;padding:0;text-align:left;text-shadow:0 1px 12px #0003}.wordmark>span{font:400 34px/.95 Georgia,"Times New Roman",serif;letter-spacing:.1em}.wordmark-dot{color:var(--gold);letter-spacing:0}.wordmark small{font-size:8px;letter-spacing:.32em;margin-top:8px;color:#e7e5d9}.top-actions{display:flex;align-items:center;gap:10px}.top-divider{height:23px;width:1px;background:var(--line);margin:0 6px}.pill-button,.icon-button,.round-button,.text-button,.angle-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:rgba(20,28,20,.44);backdrop-filter:blur(16px);transition:background .2s,border-color .2s,transform .2s}.pill-button:hover,.icon-button:hover,.round-button:hover,.angle-button:hover{border-color:#e4d2ad99;background:rgba(40,47,35,.75)}.pill-button{border-radius:30px;padding:12px 19px;font-size:12px;letter-spacing:.02em;min-height:44px}.icon-button{width:42px;height:42px;border-radius:50%;padding:9px}.top-actions>.icon-button{border-color:transparent;background:none}.top-actions>.icon-button:hover{background:#17201499;border-color:var(--line)}.reference-mark{position:absolute;top:109px;left:35px;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:500;letter-spacing:.18em;color:#f1efe1;z-index:2;text-shadow:0 1px 5px #0009}.status-dot{width:5px;height:5px;background:var(--gold);border-radius:50%;box-shadow:0 0 0 4px #ddc89d16}.view-tools{position:absolute;right:29px;top:41%;transform:translateY(-50%);display:flex;flex-direction:column;padding:7px;gap:4px;background:#131b16a6;backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:30px;z-index:3}.view-tools .icon-button{border-color:transparent;background:none;width:34px;height:34px;padding:7px}.view-tools .icon-button:hover,.view-tools .icon-button[aria-pressed=true]{background:#d8c49a22;color:var(--gold)}.tool-divider{height:1px;background:var(--line);margin:2px 8px}.scene-caption{position:absolute;bottom:calc(var(--film-height) + 40px);left:35px;right:35px;display:flex;justify-content:space-between;gap:24px;align-items:flex-end;z-index:2;pointer-events:none}.scene-heading{max-width:min(780px,72%)}.eyebrow{font-size:9px;font-weight:500;letter-spacing:.22em;margin:0 0 12px;color:var(--gold);text-transform:uppercase}h1{font:400 clamp(30px,3.4vw,49px)/1.1 Georgia,"Times New Roman",serif;margin:0 0 11px;letter-spacing:-.025em;text-shadow:0 2px 20px #0005}.scene-subtitle{margin:0;color:#e0e1d7;font-size:12px;letter-spacing:.035em}.scene-navigation{display:flex;flex-direction:column;align-items:flex-end;gap:16px;flex:none;pointer-events:auto}.navigation-row{display:flex;align-items:center;gap:19px}.round-button{width:47px;height:47px;border-radius:50%;padding:12px}.round-button svg{width:21px;height:21px}.next-button{background:var(--gold);color:#23291e;border-color:var(--gold)}.next-button:hover{background:#eee0c4;color:#182014}.scene-counter{font-size:14px;font-variant-numeric:tabular-nums;letter-spacing:.06em;white-space:nowrap}.scene-counter span{color:#c4c8ba8c;font-size:11px;margin-left:2px}.angle-button{border:0;background:none;backdrop-filter:none;color:#e3dfd2;padding:3px 0;font-size:10px;letter-spacing:.04em}.angle-button svg{width:12px;height:12px}.gesture-hint{position:absolute;bottom:calc(var(--film-height) + 11px);left:50%;transform:translateX(-50%);z-index:2;font-size:9px;letter-spacing:.09em;white-space:nowrap;color:#dde0d2a8;pointer-events:none}.filmstrip{position:absolute;left:0;right:0;bottom:0;height:var(--film-height);z-index:5;background:#111713;border-top:1px solid #d2c19c22;padding:0 28px 13px}.filmstrip-top{display:flex;align-items:center;justify-content:space-between;gap:20px;height:48px}.category-nav{display:flex;align-items:center;gap:23px;overflow:auto;scrollbar-width:none;min-width:0}.category-nav::-webkit-scrollbar{display:none}.category-button{flex:none;display:flex;align-items:center;gap:5px;min-height:37px;border:0;background:none;color:#aaaF9f;padding:0;font-size:10px;white-space:nowrap}.category-button:hover{color:#f7f3e7}.category-button[aria-pressed=true]{color:var(--gold)}.category-button[aria-pressed=true]::before{content:"";height:3px;width:3px;background:var(--gold);border-radius:50%;margin-right:1px}.category-button small{font-size:8px;opacity:.45;align-self:center}.filmstrip-actions{display:flex;align-items:center;gap:14px;flex:none}.text-button{border:0;background:none;font-size:10px;padding:0;white-space:nowrap;color:#e5dec9;backdrop-filter:none}.text-button svg{width:12px;height:12px}.filmstrip-actions>.icon-button{width:28px;height:28px;padding:6px;border:0;background:none}.filmstrip-actions>.icon-button svg{width:16px;height:16px}.thumbnails{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;height:83px;align-items:center;scrollbar-width:thin;scrollbar-color:#61725755 transparent;scroll-padding-inline:4px;padding:3px}.thumb{width:118px;height:73px;position:relative;border:1px solid #d2c9ab28;border-radius:4px;background:#090e0a;overflow:hidden;flex:none;padding:0;opacity:.65;transition:opacity .2s,border-color .2s,transform .2s}.thumb:hover{opacity:1;border-color:#d2c9ab99;transform:translateY(-2px)}.thumb[aria-current=true]{opacity:1;border-color:var(--gold);outline:1px solid var(--gold);outline-offset:1px}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb::after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#081109d9)}.thumb span{position:absolute;left:7px;right:6px;bottom:6px;font-size:9px;line-height:1.2;text-align:left;z-index:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff5e3}.show-ui{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:20;font-size:11px;background:#121b14b5}.ui-hidden{--film-height:0px}.ui-hidden .chrome{opacity:0;pointer-events:none}.ui-hidden .viewport{inset:0}.chrome{transition:opacity .2s}.ui-hidden .vignette{opacity:0}.loading{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:15px;background:#111b138c;backdrop-filter:blur(10px);padding:24px 34px;border-radius:12px;font-size:11px;letter-spacing:.08em}.loader{width:25px;height:25px;border:1px solid #e8d6aa44;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.load-error{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);background:#182319ee;z-index:10;padding:25px;border:1px solid var(--line);border-radius:10px;text-align:center}.load-error p{margin:0 0 18px}.toast{position:absolute;left:50%;top:140px;transform:translateX(-50%);background:#19271cf2;border:1px solid #d6c29855;border-radius:7px;padding:12px 20px;z-index:30;font-size:12px;max-width:calc(100% - 32px);text-align:center}
dialog{color:var(--ink);background:#151e17;border:1px solid #566047;border-radius:14px;padding:28px;box-shadow:0 18px 100px #0009;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);scrollbar-width:thin;scrollbar-color:#66795b55 transparent}dialog::backdrop{background:#0a110aa6;backdrop-filter:blur(7px)}.spaces-dialog{width:490px;height:calc(100dvh - 32px);margin:16px 16px 16px auto}.info-dialog,.share-dialog{width:500px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dialog-heading h2{font:400 31px/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.02em;margin:0 0 22px}.dialog-heading .eyebrow{font-size:8px;margin:0 0 12px}.close-dialog{width:31px;height:31px;min-width:31px;background:none;padding:6px;margin-top:-5px}.close-dialog svg{width:16px;height:16px}.search-field{border:1px solid #6d775c77;display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:7px;background:#0d150f;margin:1px 0 25px}.search-field svg{width:17px;height:17px;stroke:var(--gold);stroke-width:1.5;fill:none;flex:none}.search-field input{width:100%;padding:3px 0;border:0;background:none;color:var(--ink);outline:none;font-size:12px}.space-results{min-height:160px}.space-group{margin-bottom:25px}.space-group h3{font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:var(--gold);margin:0 0 10px}.space-item{display:flex;align-items:center;gap:13px;width:100%;padding:9px 7px;border:0;border-bottom:1px solid #c0c6aa15;background:none;text-align:left;border-radius:5px}.space-item:hover,.space-item[aria-current=true]{background:#bac79c0d}.space-item img{width:78px;height:51px;object-fit:cover;border-radius:3px;flex:none}.space-item div{flex:1;min-width:0}.space-item strong{display:block;font-size:12px;font-weight:500;line-height:1.4}.space-item small{display:block;font-size:10px;color:#a6b29a;margin-top:4px;line-height:1.4}.space-item>svg{width:13px;height:13px;color:var(--gold)}.dialog-footnote{font-size:10px;color:#a7b299;line-height:1.7;margin:24px 0 0;padding-top:16px;border-top:1px solid var(--line)}.info-dialog>p,.share-dialog>p,.help p{font-size:12px;line-height:1.8;color:#c1cbbb}.info-dialog>.info-subtitle{color:var(--gold);margin-top:-9px;font-size:11px}.info-note{font-size:11px;line-height:1.8;padding:15px;background:#b6c0950a;border-left:2px solid #d2bb82;margin:22px 0;color:#bac6b1}.info-details{font-size:11px;display:grid;grid-template-columns:110px 1fr;gap:12px;margin:24px 0;line-height:1.6}.info-details dt{color:#95a88d}.info-details dd{margin:0;overflow-wrap:anywhere;color:#e1e3d7}.info-related{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.info-related .pill-button{font-size:10px;min-height:33px;padding:7px 12px}.help{border-top:1px solid var(--line);padding-top:19px;margin-top:24px}.help summary{font-size:12px;color:var(--gold);cursor:pointer}.help kbd{font:10px "Segoe UI",sans-serif;border:1px solid var(--line);padding:2px 5px;border-radius:3px;background:#ffffff05}.share-dialog input{width:100%;background:#0e160f;border:1px solid #626d5377;border-radius:6px;color:#dce3d1;padding:13px;font-size:11px;margin:10px 0 16px}.primary-button{background:var(--gold);color:#222a1d;border-color:var(--gold)}.primary-button:hover{background:#f1dfba;color:#222a1d}.noscript{position:absolute;top:35%;left:10%;right:10%;padding:20px;background:#17281b;z-index:99}
@media(min-width:1600px){.topbar{padding:36px 48px}.wordmark>span{font-size:39px}.wordmark small{font-size:9px}.reference-mark{left:49px;top:126px}.scene-caption{left:48px;right:48px;bottom:calc(var(--film-height) + 48px)}.filmstrip{padding-inline:42px}.category-nav{gap:31px}.category-button{font-size:11px}.view-tools{right:42px}.scene-subtitle{font-size:13px}}
@media(max-width:1000px){.topbar{padding:24px}.reference-mark{left:25px;top:102px}.top-actions{gap:6px}.category-nav{gap:18px}.category-button{font-size:9px}.scene-caption{left:26px;right:26px;gap:15px}.scene-heading{max-width:65%}.scene-navigation{gap:12px}.view-tools{right:20px}.navigation-row{gap:12px}.round-button{width:43px;height:43px}.filmstrip{padding-inline:20px}.filmstrip-actions{gap:12px}.filmstrip-top{gap:14px}}
@media(max-width:620px){:root{--film-height:153px}.topbar{padding:21px 18px;align-items:flex-start}.wordmark>span{font-size:27px}.wordmark small{font-size:6.5px;letter-spacing:.29em;margin-top:7px}.top-actions{gap:4px}.top-actions .pill-button{border:0;background:#12201677;padding:8px 11px;font-size:10px;min-height:35px;gap:6px}.top-actions .pill-button svg{width:13px;height:13px}.top-divider{display:none}.top-actions>.icon-button{width:31px;height:35px;padding:6px}.top-actions>.icon-button svg{width:17px;height:17px}.top-actions #share{display:none}.reference-mark{top:86px;left:19px;font-size:7px;letter-spacing:.13em}.view-tools{right:12px;top:38%;padding:5px;gap:3px}.view-tools .icon-button{width:29px;height:29px;padding:6px}.view-tools .icon-button svg{width:16px;height:16px}.scene-caption{left:19px;right:18px;bottom:calc(var(--film-height) + 33px);gap:10px}.scene-heading{max-width:calc(100% - 101px)}.scene-heading .eyebrow{font-size:7px;letter-spacing:.16em;margin-bottom:10px}h1{font-size:29px;line-height:1.08;margin-bottom:8px}.scene-subtitle{font-size:9px;line-height:1.6;letter-spacing:.01em;max-width:225px}.scene-navigation{gap:13px}.navigation-row{gap:8px}.round-button{width:34px;height:34px;padding:8px}.round-button svg{width:17px;height:17px}.scene-counter{font-size:10px}.scene-counter span{font-size:8px}.angle-button{font-size:8px;gap:4px}.gesture-hint{bottom:calc(var(--film-height) + 9px);font-size:7px;letter-spacing:.035em}.filmstrip{padding:0 13px 12px}.filmstrip-top{height:48px;gap:10px}.category-nav{gap:18px}.category-button{font-size:9px}.category-button small{display:none}.filmstrip-actions{gap:7px}.text-button{font-size:9px;gap:5px}.text-button svg{width:10px;height:10px}.filmstrip-actions>.icon-button{width:25px;height:25px;padding:5px}.thumbnails{height:89px;gap:8px}.thumb{width:105px;height:77px}.thumb span{font-size:8px}.spaces-dialog{width:calc(100% - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);margin:10px;padding:23px 20px}.info-dialog,.share-dialog{padding:25px 22px}.dialog-heading h2{font-size:28px}.dialog-heading .eyebrow{font-size:7px}.info-details{grid-template-columns:96px 1fr}.toast{top:116px;font-size:10px}.loading{font-size:10px;padding:20px 25px}}
@media(max-height:500px) and (min-width:621px){:root{--film-height:112px}.topbar{padding:15px 22px}.wordmark>span{font-size:26px}.wordmark small{font-size:6px;margin-top:5px}.reference-mark{top:76px;left:23px;font-size:7px}.filmstrip-top{height:37px}.thumbnails{height:66px}.thumb{height:55px;width:95px}.thumb span{font-size:8px}.scene-caption{bottom:calc(var(--film-height) + 25px)}h1{font-size:27px}.scene-subtitle{font-size:10px}.scene-heading .eyebrow{margin-bottom:6px}.gesture-hint{font-size:7px;bottom:calc(var(--film-height) + 5px)}.view-tools{top:42%;padding:3px;gap:0}.view-tools .icon-button{width:26px;height:26px;padding:5px}.round-button{width:34px;height:34px}.angle-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
.aureum-hotspot{position:absolute;width:1px;height:1px;z-index:2}.portal{position:absolute;left:0;top:0;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:9px;border:0;background:none;padding:12px;min-width:130px;max-width:210px;cursor:pointer;color:#fff8e7}.portal-ring{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid #f1dfb5;background:#14241be6;box-shadow:0 0 0 7px #e9cf9b23,0 6px 20px #0005;transition:transform .2s,background .2s}.portal-ring svg{width:22px;height:22px;transform:rotate(-90deg);stroke-width:1.7}.portal-label{padding:7px 12px;background:#132218ed;border:1px solid #e5cfa86b;border-radius:20px;font:500 11px/1.2 "Segoe UI",sans-serif;white-space:nowrap;box-shadow:0 4px 15px #0004}.portal:hover .portal-ring,.portal:focus-visible .portal-ring{background:#d9c294;color:#17251a;transform:scale(1.12)}.portal:focus-visible{outline:0}.portal:focus-visible .portal-label{outline:2px solid #f0d6a0;outline-offset:3px}.continue-button{display:flex;align-items:center;justify-content:space-between;gap:28px;min-width:210px;max-width:310px;padding:13px 18px;border:1px solid #e2cfa178;border-radius:8px;background:#17291ee8;backdrop-filter:blur(14px);text-align:left;box-shadow:0 8px 25px #0002}.continue-button small{display:block;font-size:7px;letter-spacing:.19em;color:var(--gold);margin-bottom:5px}.continue-button strong{display:block;font-size:12px;font-weight:500;color:#fff7e5}.continue-button:hover{background:#2e4030;border-color:var(--gold)}.continue-button svg{color:var(--gold);width:18px;height:18px}.concept-disclosure{position:absolute;top:132px;left:35px;z-index:3;max-width:75%;margin:0;color:#fff3d6bf;text-shadow:0 1px 6px #000;font-size:8px;letter-spacing:.02em;pointer-events:none}.ui-hidden .concept-disclosure{top:18px;left:18px}.scene-navigation{gap:12px}.scene-navigation .navigation-row{gap:14px}.view-tools #fit{display:none}.references-dialog{width:min(1100px,calc(100vw - 35px))}.reference-stage{width:100%;height:min(60dvh,650px);background:#080d09;display:flex;align-items:center;justify-content:center;border-radius:5px;overflow:hidden}.reference-stage img{width:100%;height:100%;object-fit:contain}.reference-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px}.reference-bottom p{font-size:12px;color:#d2d9c9;line-height:1.6}.reference-bottom .navigation-row{gap:12px}.reference-bottom span{white-space:nowrap;font-size:11px;color:var(--gold)}.support-link{display:block;color:var(--gold);font-size:12px;line-height:2.2}.vignette{background:linear-gradient(180deg,#09100abd,transparent 30%,transparent 50%,#09100a45 70%,#09100ae0)}
@media(min-width:1600px){.concept-disclosure{top:151px;left:49px}}
@media(max-width:1000px){.concept-disclosure{left:25px;top:124px}.continue-button{min-width:180px;gap:18px}}
@media(max-width:620px){.concept-disclosure{left:19px;top:104px;font-size:7px;max-width:87%;line-height:1.6}.reference-mark{font-size:7px;letter-spacing:.08em}.scene-caption{display:block;bottom:calc(var(--film-height) + 33px)}.scene-heading{max-width:100%;margin-bottom:17px}.scene-heading h1{font-size:30px;max-width:90%}.scene-heading .eyebrow{margin-bottom:8px}.scene-subtitle{max-width:90%}.scene-navigation{flex-direction:row;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap}.scene-navigation>.angle-button{order:3;width:100%;justify-content:flex-start;margin-top:3px}.continue-button{min-width:165px;max-width:calc(100% - 122px);padding:10px 12px;gap:12px;min-height:48px}.continue-button small{font-size:6px;margin-bottom:4px}.continue-button strong{font-size:10px}.scene-navigation .navigation-row{gap:7px}.portal{min-width:110px;padding:10px}.portal-ring{width:43px;height:43px}.portal-label{font-size:10px;padding:7px 10px}.references-dialog{padding:22px 17px}.reference-stage{height:53dvh}.reference-bottom{flex-wrap:wrap}.reference-bottom p{font-size:10px;flex-basis:100%;margin:0}.reference-bottom .round-button{width:40px;height:40px}.gesture-hint{font-size:7px;letter-spacing:0}.top-actions #open-info{display:none}.top-actions #share{display:inline-flex}.thumb{height:77px}.view-tools{top:33%}.scene-counter{font-size:9px}.round-button{width:36px;height:36px}.top-actions .pill-button{min-height:40px}}
@media(max-height:550px) and (min-width:621px){.concept-disclosure{top:95px;left:23px;font-size:7px}.scene-heading h1{font-size:25px}.continue-button{padding:8px 12px;min-width:180px}.scene-navigation{gap:8px}.scene-caption{bottom:calc(var(--film-height) + 27px)}}
@media(max-width:620px){.top-actions #open-info{display:inline-flex}.top-actions #share{display:none}}
.reference-versions{display:flex;gap:8px;margin:0 0 15px}.reference-versions .pill-button{font-size:11px;min-height:35px;padding:8px 15px}.reference-versions .pill-button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:#17251a}
/* Label + disclosure share one positioned block so they stack instead of colliding. */
.reference-block{position:absolute;top:109px;left:35px;z-index:3;display:grid;gap:8px;max-width:min(560px,calc(100% - 120px));pointer-events:none}
.reference-block .reference-mark,.reference-block .concept-disclosure{position:static;max-width:none}
.ui-hidden .reference-block{top:18px;left:18px}
@media(min-width:1600px){.reference-block{top:126px;left:49px}}
@media(max-width:1000px){.reference-block{top:102px;left:25px}}
@media(max-width:620px){.reference-block{top:86px;left:19px;max-width:calc(100% - 80px);gap:6px}}
@media(max-height:500px) and (min-width:621px){.reference-block{top:76px;left:23px}}

/* Legibility: no text below 9px. */
.reference-mark{font-size:10px;letter-spacing:.16em;flex-wrap:wrap}
.concept-disclosure{font-size:11px;line-height:1.5;letter-spacing:.01em;color:#fff3d6e0}
.eyebrow{font-size:10px}
.wordmark small{font-size:9px}
.scene-subtitle{font-size:13px}
.gesture-hint{font-size:10px}
.category-button{font-size:11px}
.thumb span{font-size:10px}
.continue-button small{font-size:9px}
.continue-button strong{font-size:13px}
.dialog-heading .eyebrow{font-size:9px}
.dialog-footnote{font-size:11px}
@media(max-width:1000px){.category-button{font-size:10px}}
@media(max-width:620px){
  .reference-mark{font-size:9px;letter-spacing:.1em}
  .concept-disclosure{font-size:10px}
  .wordmark small{font-size:7.5px}
  .scene-heading .eyebrow,.dialog-heading .eyebrow{font-size:9px}
  .scene-subtitle{font-size:11px}
  .gesture-hint{font-size:9px}
  .category-button{font-size:10px}
  .thumb span{font-size:9px}
  .continue-button small{font-size:8px}
  .continue-button strong{font-size:12px}
  .scene-counter{font-size:11px}
  .scene-counter span{font-size:9px}
}
@media(max-width:400px){.top-actions #open-spaces span{display:none}.top-actions #open-spaces{padding:8px 10px}}

/* Short screens (embedded boxes, landscape phones): drop the thumbnail strip and secondary controls
   so the title, arrows and markers don't pile on top of each other. */
@media(max-height:560px){
  :root{--film-height:46px}
  .thumbnails,.gesture-hint,.continue-button,.angle-button,.view-tools{display:none!important}
  .filmstrip{padding:0 14px}
  .filmstrip-top{height:46px}
  .topbar{padding:14px 16px;align-items:center}
  .wordmark>span{font-size:22px}
  .wordmark small{font-size:7px;margin-top:5px}
  .reference-block{top:62px;left:16px;gap:4px}
  .reference-mark{font-size:8.5px;letter-spacing:.1em}
  .concept-disclosure{font-size:9.5px}
  .scene-caption{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;left:16px;right:16px;bottom:calc(var(--film-height) + 14px);gap:12px}
  .scene-heading{max-width:calc(100% - 140px);margin-bottom:0}
  .scene-heading .eyebrow{font-size:8.5px;margin-bottom:5px}
  .scene-heading h1{font-size:24px;max-width:none;margin-bottom:4px}
  .scene-subtitle{font-size:10.5px;max-width:none}
  .scene-navigation{flex-direction:row;align-items:center;flex-wrap:nowrap}
  .scene-navigation .navigation-row{gap:8px}
  .round-button{width:34px;height:34px;padding:8px}
  .portal{min-width:100px;padding:8px;gap:6px}
  .portal-ring{width:38px;height:38px}
  .portal-label{font-size:10px;padding:6px 9px}
}
@media(max-height:560px) and (max-width:420px){
  .scene-heading{max-width:calc(100% - 128px)}
  .scene-heading h1{font-size:21px}
  .scene-subtitle{display:none}
  .top-actions #open-spaces span{display:none}
  .top-actions #open-spaces{padding:8px 10px;min-height:36px}
}

/* Render / 360° switch (app.js viewMode). */
/* Lives under the scene title, clear of the zoom tools and arrows on the right. */
.mode-button{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:18px;padding:11px 18px;border:1px solid var(--gold);border-radius:30px;background:var(--gold);color:#1d2519;font-size:12px;font-weight:600;letter-spacing:.02em;box-shadow:0 8px 25px #0004;transition:background .2s,transform .2s;pointer-events:auto}
.mode-button:hover{background:#f1dfba;transform:translateY(-1px)}
.mode-button svg{width:18px;height:18px;stroke-width:1.7}
.viewport[data-render-mode=flat] ~ .vignette{background:linear-gradient(180deg,#09100a99,transparent 26%,transparent 55%,#09100a40 72%,#09100ad9)}
@media(max-width:620px){
  .mode-button{margin-top:14px;min-height:40px;padding:9px 16px}
}
@media(max-height:560px){
  .mode-button{margin-top:8px;min-height:32px;padding:6px 12px;font-size:11px;gap:7px}
  .mode-button svg{width:15px;height:15px}
}
