/* V2: a calm, readable commercial layer around the living 3D world. */
.film-canvas{display:none}
.film-ready{--film-ink:#173f4c;--film-paper:#fffaf0;--film-line:#284c5a24}
.film-ready body{background:#dce8e6;color:var(--film-ink)}
.film-ready main{height:100svh;min-height:0}
.film-ready .film-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y}
.film-ready .city-art,.film-ready .city-pin-layer,.film-ready footer{display:none!important}
.film-ready .header{position:absolute;inset:0 0 auto;max-width:none;height:82px;z-index:50;padding:10px clamp(22px,3vw,48px);border:0;background:linear-gradient(#f9f8f1ef,#f9f8f1aa 70%,#f9f8f100);color:#224755;gap:22px;flex-wrap:nowrap}
.film-ready .header .brand{width:116px;height:60px;mix-blend-mode:multiply}
.film-ready .header nav{font-size:12px;gap:25px;order:0;width:auto}
.film-ready .header>.button.small{background:#214c5c;color:#fff9ed;border-radius:30px;font-size:11px;padding:10px 18px;box-shadow:none}
.film-ready .header .app-menu-list{background:#fffaf3;border:1px solid var(--film-line);border-radius:15px;box-shadow:0 15px 45px #183a4620}
.film-ready .city-stage{background:#dce8e6}
.film-ready .city-stage-shade{z-index:1;pointer-events:none;background:linear-gradient(0deg,#f3f1eabf,transparent 23%),linear-gradient(90deg,transparent 58%,#f9f4e535 100%)}
.film-ready .city-panels{position:absolute;left:auto;right:clamp(24px,3.3vw,54px);top:auto;bottom:148px;width:min(355px,31vw);height:414px;max-height:calc(100svh - 275px);min-height:0;pointer-events:none}
.film-ready .city-panel,.film-ready .city-intro,.film-ready .city-sync{background:#fffaf2ed;border:1px solid #ffffffb3;box-shadow:0 16px 60px #173b4912;border-radius:22px;backdrop-filter:blur(18px);overflow:hidden;transform:translateY(10px);transition:opacity .35s,transform .45s,visibility .35s}
.film-ready .city-panel.is-current{transform:none}
.film-ready .city-product::before{display:none}
.film-ready .city-panel-scroll,.film-ready .city-intro .city-panel-scroll{padding:25px 26px;display:block;overflow:auto;height:100%;scrollbar-width:thin;scrollbar-color:#bdc9c5 transparent;overscroll-behavior:contain}
.film-ready .city-eyebrow{font-size:9px;letter-spacing:1.4px;line-height:1.6;font-weight:600;color:#607c80;margin:0 0 16px;padding:0}
.film-ready .city-product-heading{gap:10px;margin:0 0 18px;align-items:center}
.film-ready .city-product-heading img{width:37px;height:37px;object-fit:contain;border-radius:10px;box-shadow:none;background:#fff}
.film-ready .city-product-heading h2{font-size:19px;line-height:1.2;font-weight:600;letter-spacing:-.5px;color:#204955;margin:0}
.film-ready .city-product-heading h2 small{display:block;font-size:8px;letter-spacing:1.6px;text-transform:uppercase;font-weight:500;color:#718a8c;margin-bottom:3px}
.film-ready .city-promise{font-size:clamp(28px,2.8vw,39px);font-weight:500;line-height:1.07;letter-spacing:-1.8px;color:#204955;margin:0 0 16px}
.film-ready .city-story{font-size:13px;line-height:1.65;color:#526c71;margin:0 0 19px;max-width:none}
.film-ready .city-feature-links{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;list-style:none}
.film-ready .city-feature-links a{display:inline-flex;gap:6px;padding:6px 9px;border:1px solid #46636a26;border-radius:7px;font-size:11px;line-height:1.3;color:#355b65;background:#eff2e98c;min-height:29px}
.film-ready .city-feature-links a:hover{background:#dfebe5;border-color:#386d78}
.film-ready .city-feature-links a>span:last-child{font-size:11px}
.film-ready .city-primary{display:inline-flex;align-items:center;align-self:flex-start;justify-content:space-between;gap:27px;min-height:42px;padding:10px 15px;background:#234f5d;color:#fff9ee;border:0;border-radius:9px;box-shadow:none;font-size:12px;font-weight:600;transition:background .2s}
.film-ready .city-primary:hover{background:#126c7b;transform:none}
.film-ready .city-primary>span{font-size:18px}
.film-ready .city-product-actions{display:flex;justify-content:flex-start;gap:15px;font-size:11px;margin:13px 0 0;color:#42646c;flex-wrap:wrap;line-height:1.6}
.film-ready .city-product-actions a{text-decoration:underline;text-underline-offset:3px}
.film-ready .city-product-note{font-size:11px;line-height:1.6;color:#64797d;margin:0 0 17px}
.film-ready .city-room-links{display:none}
.film-ready .city-brand-emblem{position:static;width:100px;height:64px;margin:0 0 13px;pointer-events:none}
.film-ready .city-panel h1,.film-ready .city-panel h1 em{font-size:44px;letter-spacing:-2.3px;line-height:1.04;font-weight:500;color:#234f5d;max-width:100%;margin:0;font-style:normal}
.film-ready .city-panel h1 em{color:#208b99}
.film-ready .city-intro-text{font-size:13px;line-height:1.7;color:#526c71;margin:20px 0;max-width:300px}
.film-ready .city-intro-note{font-size:11px;margin:15px 0 0;color:#617b80}
.film-ready .city-intro-links{display:none}
.film-ready .city-brand h2,.film-ready .city-sync h2{font-size:34px;line-height:1.08;letter-spacing:-1.6px;font-weight:500;color:#234f5d;margin:0 0 17px}
.v2-mother-logo{width:100px;height:60px;object-fit:contain;mix-blend-mode:multiply;margin-bottom:14px}
.film-ready .city-sync-symbol{font-size:32px;color:#a18446;line-height:1;display:block;margin-bottom:12px}
.film-ready .city-secondary,.film-ready .city-install-link{display:block;font-size:12px;line-height:1.6;margin:16px 0;color:#3c6772;text-decoration:underline;text-underline-offset:3px}
.film-ready .city-topbar{left:auto;right:clamp(24px,3.3vw,54px);top:94px}
.film-ready .city-world-label{display:none}
.film-ready .city-motion{font-size:10px;color:#345560;background:#fffaf0e0;border:1px solid #ffffffaa;border-radius:20px;padding:6px 12px;min-height:32px}
.film-ready .city-view-tools{top:94px;left:clamp(22px,3vw,48px);gap:8px}
.film-ready .city-view-tools button{font-size:10px;min-height:33px;padding:6px 11px;border:1px solid #ffffffab;background:#fffaf0e0;color:#355a64;border-radius:20px;box-shadow:none;backdrop-filter:blur(10px);gap:6px}
.film-ready .city-view-tools svg{width:12px;height:12px}
.v2-dev-label{align-self:center;font-size:9px;color:#355a64;background:#fffaf0e0;border-radius:16px;padding:6px 10px}
.film-ready .city-travel-caption{display:none}
.film-ready .city-journey{position:absolute;left:clamp(22px,3vw,48px);right:clamp(22px,3vw,48px);bottom:20px;height:105px;padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;pointer-events:none;overflow:visible}
.film-ready .city-journey-heading{display:flex;height:45px;align-items:center;gap:20px;margin:0;color:#234f5d}
.film-ready .city-journey-heading>span:first-child{font-size:11px;font-weight:600;letter-spacing:1px;background:#fffaf0e6;border-radius:20px;padding:6px 11px}
.film-ready .city-input-hint{font-size:10px;color:#345560;background:#fffaf0ca;padding:5px 9px;border-radius:20px}
.film-ready .city-arrows{margin-left:auto;display:flex;gap:8px;pointer-events:auto}
.film-ready .city-arrows button{height:42px;min-height:42px;min-width:42px;width:42px;background:#fffaf1f5;border:1px solid #284c5a1f;color:#224f5d;border-radius:25px;box-shadow:0 5px 20px #1e3e4c0d;font-size:18px}
.film-ready .city-arrows button[data-city-next]{width:auto;padding:0 16px;gap:17px;font-size:12px;background:#234f5d;color:#fff9ed}
.film-ready .city-arrows button:disabled{opacity:.48;cursor:default}
.film-ready #film-next-label{font-size:12px;display:inline}
.film-ready .city-chapters{display:flex;position:absolute;bottom:5px;left:0;right:0;width:100%;transform:none;justify-content:center;gap:5px;padding:4px 0;overflow-x:auto;scrollbar-width:thin;pointer-events:auto;overscroll-behavior:contain}
.film-ready .city-chapters a{display:block;flex:0 0 auto;min-height:36px;padding:8px 15px;background:#fffaf1e8;border:1px solid transparent;border-radius:9px;white-space:nowrap;color:#56717a;width:auto}
.film-ready .city-chapters a>b{font-size:11px;font-weight:500;position:static;opacity:1;transform:none;color:inherit;letter-spacing:0}
.film-ready .city-chapters a::before{display:none}
.film-ready .city-chapters a[aria-current="location"]{background:#234f5d;color:#fff9ed;border-color:#234f5d}
.film-ready .city-chapters a:hover{background:#dbe9e4;color:#204955}
.film-ready .city-progress{position:absolute;bottom:0;height:2px;background:#54798222;width:100%}
.film-ready .city-progress span{background:#2a94a3}
.film-ready .city-experience.is-travelling .city-panel{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px)}
.v2-diagnostics{width:min(630px,calc(100vw - 32px));max-height:85svh;overflow:auto;padding:28px;border:1px solid #bdcdcb;border-radius:19px;background:#fffaf3;color:#244e5b;box-shadow:0 20px 70px #1e423647}
.v2-diagnostics::backdrop{background:#20382d77;backdrop-filter:blur(8px)}
.v2-diagnostics h2{font-size:24px;margin:0 0 18px}.v2-diagnostics pre{font-family:inherit;white-space:pre-wrap;font-size:13px;line-height:1.8}.v2-diagnostics form{float:right}.v2-close{border:0;background:none;font-size:27px;color:inherit;cursor:pointer}.v2-diagnostics summary{cursor:pointer;font-weight:600}.v2-diagnostics details{margin-top:25px;border-top:1px solid #ccd2c7;padding-top:18px}.v2-diagnostics p{font-size:13px;line-height:1.6}.v2-diagnostics label{display:block;margin:13px 0;font-size:13px}.v2-diagnostics select,.v2-diagnostics input{max-width:100%;font:inherit;padding:6px}.v2-diagnostics button{font:inherit;padding:7px 10px}.v2-file-label input{display:block}
html:not(.film-ready) .city-stage,html:not(.film-ready) .city-topbar,html:not(.film-ready) .city-view-tools,html:not(.film-ready) .city-journey,html:not(.film-ready) .city-travel-caption{display:none}
@media(max-width:1050px){.film-ready .header nav{gap:16px;font-size:11px}.film-ready .city-chapters{justify-content:flex-start}.film-ready .city-panels{width:320px;right:25px}.film-ready .city-panel-scroll{padding:23px}.film-ready .city-product-actions{font-size:10px}}
@media(max-width:760px){
 .film-ready .header{height:73px;padding:8px 18px;gap:12px;flex-wrap:nowrap}.film-ready .header .brand{width:93px;height:52px}.film-ready .header nav{gap:13px;justify-content:flex-end;width:auto;flex:1;font-size:10px;flex-wrap:nowrap}.film-ready .header nav>a{display:none}.film-ready .header nav>a[href='/syncrostore/']{display:block}.film-ready .header>.button.small{display:none}
 .film-ready .city-topbar{top:78px;right:17px}.film-ready .city-motion{font-size:9px;padding:5px 9px;min-height:30px}.film-ready .city-view-tools{top:78px;left:17px;gap:5px}.film-ready .city-view-tools button{padding:5px 8px;min-height:30px;font-size:9px}.v2-dev-label{display:none}
 .film-ready .city-panels{left:16px;right:16px;bottom:128px;width:auto;height:260px;max-height:34svh;min-height:0}
 .film-ready .city-panel{border-radius:18px}.film-ready .city-panel-scroll,.film-ready .city-intro .city-panel-scroll{padding:19px 21px}.film-ready .city-product .city-eyebrow{font-size:8px;margin-bottom:9px}.film-ready .city-product-heading{margin-bottom:12px}.film-ready .city-product-heading img{width:30px;height:30px}.film-ready .city-product-heading h2{font-size:17px}.film-ready .city-promise{font-size:29px;line-height:1.08;letter-spacing:-1.3px;margin-bottom:11px}.film-ready .city-story{font-size:12px;line-height:1.55;margin-bottom:14px}.film-ready .city-feature-links{gap:5px;margin-bottom:14px}.film-ready .city-feature-links a{font-size:10px;padding:6px 8px;min-height:28px}.film-ready .city-primary{font-size:12px;min-height:39px}.film-ready .city-product-actions{font-size:11px;gap:16px}.film-ready .city-product-note{font-size:10px}.film-ready .city-panel h1,.film-ready .city-panel h1 em{font-size:36px;letter-spacing:-1.8px}.film-ready .city-brand-emblem{display:none}.film-ready .city-intro-text{font-size:12px;margin:14px 0}.film-ready .city-intro-note{font-size:10px}.film-ready .city-brand h2,.film-ready .city-sync h2{font-size:30px}.v2-mother-logo{width:80px;height:45px;margin-bottom:8px}.film-ready .city-sync-symbol{display:none}
 .film-ready .city-journey{left:16px;right:16px;bottom:16px;height:96px}.film-ready .city-journey-heading{height:43px;gap:9px}.film-ready .city-input-hint{display:none}.film-ready .city-journey-heading>span:first-child{font-size:9px;padding:6px 8px}.film-ready .city-arrows button{width:38px;min-width:38px;height:38px;min-height:38px}.film-ready .city-arrows button[data-city-next]{padding:0 12px;gap:10px}.film-ready #film-next-label{font-size:11px}.film-ready .city-chapters{bottom:3px;gap:4px}.film-ready .city-chapters a{padding:8px 11px;min-height:36px}.film-ready .city-chapters a>b{font-size:10px}
}
@media(max-height:620px) and (min-width:761px){.film-ready .city-panels{height:270px;max-height:calc(100svh - 230px)}.film-ready .city-panel-scroll{padding:20px}.film-ready .city-promise{font-size:28px}.film-ready .city-journey{bottom:12px;height:92px}.film-ready .city-view-tools,.film-ready .city-topbar{top:82px}}
@media(prefers-reduced-motion:reduce){.film-ready *,.film-ready *::before{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Startup feedback must not depend on a successful WebGL initialization. */
.film-start-status{font-size:12px;line-height:1.5;padding:12px;border:1px solid #abc4c4;border-radius:10px;background:#edf6f2;color:#234f5d}.film-start-status[hidden],.film-start-error[hidden]{display:none}.film-start-error{font-size:11px;overflow-wrap:anywhere;color:#765039}

@media(min-width:1100px){.film-ready .city-panels{width:320px;right:30px}.film-ready .city-stage-shade{background:linear-gradient(0deg,#f3f1ea80,transparent 19%)}}


/* App stop cards: direct PWA access stays prominent and blends into the scene.
   The link opens the actual web app; installation instructions remain alongside. */
.film-ready .city-panel.city-product{
  background:linear-gradient(145deg,rgba(249,253,250,.84),rgba(228,242,239,.76));
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 10px 32px rgba(13,42,48,.13);
  backdrop-filter:blur(15px) saturate(1.14);
}
.film-ready .city-product .city-product-heading{margin-bottom:9px}
.film-ready .city-product .city-download-spotlight{
  position:sticky;top:0;z-index:3;display:grid;gap:6px;
  margin:0 -9px 14px;padding:7px 9px 10px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(241,249,247,.97),rgba(241,249,247,.91));
}
.film-ready .city-product .city-download-cta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;min-height:44px;padding:11px 15px;border-radius:12px;
  background:#174f5c;color:#fff;text-decoration:none;
  font-weight:700;font-size:13px;letter-spacing:.01em;
  box-shadow:0 6px 16px rgba(15,68,77,.18);
  transition:background .2s,box-shadow .2s;
}
.film-ready .city-product .city-download-cta:hover,
.film-ready .city-product .city-download-cta:focus-visible{background:#0f6b7b;box-shadow:0 8px 21px rgba(15,68,77,.22)}
.film-ready .city-product .city-download-help{
  justify-self:center;font-size:10px;line-height:1.4;font-weight:600;
  color:#375e64;text-decoration:underline;text-underline-offset:2px;
}
.film-ready .city-product .city-primary{
  background:rgba(36,80,91,.07);color:#24505b;border:1px solid rgba(36,80,91,.2);
}
.film-ready .city-product .city-primary:hover{background:rgba(36,80,91,.13);color:#174a55}
@media(max-width:760px){
  .film-ready .city-product .city-product-heading{margin-bottom:6px}
  .film-ready .city-product .city-download-spotlight{margin:0 -7px 9px;padding:5px 7px 8px;gap:3px}
  .film-ready .city-product .city-download-cta{min-height:40px;padding:9px 13px;font-size:12px}
  .film-ready .city-product .city-download-help{font-size:10px}
}
