@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--night:#06152b;--deep:#0a2140;--mist:#d8e8f7;--light:#fff8ea;--gold:#f0c478;--line:rgba(255,255,255,.22);color-scheme:dark}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--night);color:var(--light);font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,a{font:inherit}
button{cursor:pointer}
a{color:inherit}
button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.skip{position:fixed;left:8px;top:-80px;background:white;color:#111;z-index:1000;padding:10px}.skip:focus{top:8px}
.app{min-height:100vh;min-height:100dvh}
.appbar{position:sticky;top:0;z-index:30;height:calc(67px + env(safe-area-inset-top));padding:env(safe-area-inset-top) clamp(16px,4vw,32px) 0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(3,17,35,.92);backdrop-filter:blur(22px);border-bottom:1px solid var(--line)}
.brand{display:flex;gap:9px;align-items:center;border:0;background:none;padding:5px 0;color:var(--light);text-align:left}.brand img{border-radius:50%;object-fit:contain}.brand strong{display:block;font-family:Outfit,sans-serif;font-size:18px;letter-spacing:.11em}.brand small{display:block;font-size:9px;letter-spacing:.16em;color:var(--mist)}
.appbar-action{border:1px solid #ffffff66;border-radius:30px;background:#ffffff13;color:var(--light);font-size:12px;font-weight:700;padding:10px 14px}.appbar-action span{color:var(--gold)}
.hero{min-height:calc(78vh - 67px);min-height:calc(78dvh - 67px);position:relative;display:grid;place-items:center;overflow:hidden;text-align:center;padding:28px 18px 50px;background:radial-gradient(ellipse at 52% 40%,#20568e 0%,#10355e 32%,#071c38 65%,#06152b 100%)}
.starfield{pointer-events:none;position:absolute;inset:0;opacity:.5;background-image:radial-gradient(1px 1px at 11% 21%,white 99%,transparent),radial-gradient(1px 1px at 30% 69%,white 99%,transparent),radial-gradient(2px 2px at 73% 27%,#ffedc6 99%,transparent),radial-gradient(1px 1px at 86% 64%,white 99%,transparent),radial-gradient(1px 1px at 51% 12%,white 99%,transparent);background-size:360px 310px}
.hero-content{position:relative;max-width:740px;z-index:1}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.23em;color:var(--gold)}
.hero-globe{display:block;width:clamp(175px,46vw,340px);aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 0 36px #84c6ff65);margin:2px auto -2px;animation:levitate 8s ease-in-out infinite}
@keyframes levitate{50%{transform:translateY(-10px)}}
h1,h2,h3,p{margin-top:0}h1,h2{font-family:Outfit,system-ui,sans-serif}
h1{font-size:clamp(43px,9vw,85px);letter-spacing:-.06em;line-height:.97;margin:12px 0 17px}h1 em{color:var(--gold);font-style:normal}
.intro{font-size:clamp(14px,2.5vw,18px);color:var(--mist);line-height:1.6;max-width:460px;margin:0 auto 9px}
.enter-hint{display:inline-grid;place-items:center;width:46px;height:46px;margin:0 auto;color:var(--gold);text-decoration:none;font-size:31px;line-height:1;border-radius:50%;background:transparent;border:1px solid transparent;transition:transform .18s ease,color .18s ease}.enter-hint:hover{color:var(--light);transform:translateY(4px)}
.worlds{max-width:1160px;margin:0 auto;padding:65px clamp(16px,4vw,52px) 36px}
.section-head{text-align:center;margin-bottom:32px}.section-head h2{font-size:clamp(36px,6vw,59px);letter-spacing:-.05em;margin:3px 0}.section-head p:last-child{color:var(--mist);font-size:14px}
.world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.world-card{border:1px solid #ffffff38;position:relative;min-width:0;min-height:250px;border-radius:22px;overflow:hidden;background:#193756;color:#fff;text-align:left;padding:0;isolation:isolate;transition:transform .2s ease,border-color .2s ease}.world-card:hover{transform:translateY(-4px);border-color:var(--gold)}
.world-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.world-card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#09193004 15%,#03152bde 75%,#06152bf5)}
.world-card-copy{position:absolute;inset:auto 18px 18px;display:grid;gap:6px}.world-card-copy small{font-size:9px;font-weight:700;letter-spacing:.16em;color:#f2d3a2}.world-card-copy strong{font:700 clamp(20px,3vw,32px)/1.05 Outfit,sans-serif}.world-card-copy>span{font-size:12px;color:#d7e8fb}
.featured{grid-column:1/-1;min-height:320px}.featured .world-card-copy strong{font-size:clamp(28px,5vw,43px)}
.home-footer{padding:20px 24px 42px;text-align:center;color:#b7cde2;font-size:12px}.home-footer a{display:inline-block;margin-top:6px}
#experience{height:calc(100dvh - 67px - env(safe-area-inset-top));min-height:350px;display:flex;flex-direction:column}#experience[hidden]{display:none}
.world-toolbar{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px;background:#102946;border-bottom:1px solid var(--line)}
.up-button{flex:none;border:1px solid #ffffff45;background:#fdf4dd;color:#071c36;border-radius:50px;padding:10px 13px;font-weight:800;font-size:12px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.active-world{font-size:12px;font-weight:800;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;letter-spacing:.02em;text-align:center}
#open-alone{flex:none;font-size:12px;text-decoration:none;border-bottom:1px solid var(--gold);padding-bottom:2px}
#world-frame{flex:1;width:100%;border:0;background:#fdf8ee}
#frame-help{padding:5px 8px;margin:0;background:#102946;color:#d1e3f2;text-align:center;font-size:10px}
dialog{border:1px solid #ffffff44;padding:0;color:#fff;background:#0a2444;border-radius:20px;width:min(92vw,420px);max-height:90dvh;box-shadow:0 20px 90px #0009}
dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.install-panel{padding:30px 25px;position:relative;text-align:center}.install-panel h2{font-size:28px;margin:10px 0}.install-panel p{line-height:1.65;font-size:14px;color:#d7e6f5}.install-panel img{margin:auto}.install-panel .note{font-size:12px;color:#a6c2da}.close-install{position:absolute;right:12px;top:12px;background:none;color:#fff;border:0;font-size:28px}#native-install{background:#f2cc87;color:#102037;border:none;border-radius:30px;padding:12px 18px;font-weight:800}
@media (min-width:800px){.world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.world-card{min-height:300px}.featured{min-height:400px}}
@media (max-width:380px){.brand small{font-size:8px}.appbar-action{font-size:11px;padding:10px}.world-card{min-height:215px}.world-card-copy{inset:auto 12px 14px}.world-card-copy strong{font-size:19px}.worlds{padding-top:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Prototype 01 world-size revision: three art showcases, all other worlds equally sized. */
.world-card.illustration-only{background:radial-gradient(circle at 67% 17%,#638fd279 0%,transparent 45%),linear-gradient(145deg,#16375b,#0b1a38)}
.world-card.illustration-only.willpwr{background:radial-gradient(circle at 72% 20%,#d3a7578c,transparent 50%),linear-gradient(145deg,#293e52,#0b1b30)}
.world-card.illustration-only.offbrand{background:radial-gradient(circle at 30% 25%,#c76b9b9c,transparent 53%),linear-gradient(135deg,#502b72,#101b40)}
.world-emblem{position:absolute;inset:15% 0 auto;text-align:center;font:800 clamp(78px,20vw,160px)/1 Outfit,sans-serif;color:#f6d5a9;opacity:.56;transform:rotate(-10deg);pointer-events:none}

@media (max-width:380px){.world-card.featured{min-height:300px}}

/* In installed, standalone PWA mode do not advertise installing the app again. */
@media (display-mode: standalone){#install{display:none!important}}
html.is-installed #install{display:none!important}

/* App-only logo pass 04: exact published GDB University source crest,
   source-informed but provisional Willpwr and Offbrand type lockups.
   These cards are not changed on their independent world websites. */
.world-card.logo-portal.gdb-university{background:radial-gradient(circle at 50% 34%,#6b364a,#290e24 64%,#170816 100%)}
.world-card.logo-portal.gdb-university img{object-fit:contain;object-position:center 26%;padding:12px 15% 65px;filter:drop-shadow(0 13px 18px rgba(0,0,0,.42))}
.world-card.logo-portal.willpwr{background:#101e2b}
.world-card.logo-portal.offbrand{background:#f2e9d4}
.world-card.logo-portal.willpwr img,.world-card.logo-portal.offbrand img{object-fit:cover;object-position:center center}
.world-card.logo-portal .world-card-copy{z-index:2}

/* Polish pass 06: distinct, text-safe SVG arrow icons. No emoji glyph fallbacks. */
.ui-arrow{display:inline-block;vertical-align:-.12em;width:1em;height:1em;flex:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.appbar-action .ui-arrow{width:14px;height:14px;color:var(--gold);vertical-align:-.15em}
.enter-hint .ui-arrow{width:29px;height:29px;vertical-align:middle}
.world-card-copy .ui-arrow{width:13px;height:13px;vertical-align:-.13em;margin-left:2px}
.home-footer .ui-arrow,#open-alone .ui-arrow{width:13px;height:13px;vertical-align:-.14em}
.up-button{display:inline-flex;justify-content:center;align-items:center;gap:5px}
.up-button .ui-arrow{width:15px;height:15px}
.world-card.logo-portal.gdb-wave{background:#f1e6c8}
.world-card.logo-portal.gdb-wave img{object-fit:contain;object-position:center 27%;padding:14px 15% 64px;filter:drop-shadow(0 12px 12px rgba(73,22,35,.24))}
.world-card.logo-portal.gdb-wave:after{background:linear-gradient(180deg,transparent 5%,rgba(6,21,43,.04) 39%,rgba(6,21,43,.87) 81%,rgba(6,21,43,.96) 100%)}
.world-card.logo-portal.willpwr{background:#eff0e9}
.world-card.logo-portal.offbrand{background:#f0edde}

/* Subtle return from the installed app to the classic website. */
.home-footer .website-return{margin:9px 0 0;color:#9fb8cf;font-size:11px}.home-footer .website-return a{margin:0;color:#c9dbee;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* App-home jump target: tapping the hero globe or cue brings the first wave flush under the sticky app bar. */
.hero-globe-link{display:block;width:min(66vw,390px);margin:0 auto;text-decoration:none;border-radius:50%}.hero-globe-link .hero-globe{width:100%;height:auto}.hero-globe-link:focus-visible{outline-offset:8px}#world-la-ola{scroll-margin-top:calc(79px + env(safe-area-inset-top))}

/* The hero globe is interactive only in the installed PWA, never in a normal Safari/browser tab. */
.hero-globe-link{appearance:none;-webkit-appearance:none;border:0;padding:0;background:transparent;color:inherit}.hero-globe-link:disabled{cursor:default;pointer-events:none}.is-installed .hero-globe-link{cursor:pointer}

/* APP HOME V11 — small-world / spacious-first-screen treatment.
   The installed app globe is intentionally compact and isolated; manual scroll reveals the copy,
   while tapping the globe quickly skips straight to the first Wave. */
.hero{min-height:calc(100dvh - 67px);padding:clamp(42px,7vh,72px) 20px clamp(64px,10vh,108px)}
.hero-content{width:min(100%,720px);min-height:calc(100dvh - 67px - clamp(106px,17vh,180px));display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.hero-content>.eyebrow{margin:0 0 clamp(48px,8vh,82px)}
.hero-globe-link{display:grid;place-items:center;width:clamp(96px,24vw,132px);height:clamp(96px,24vw,132px);margin:0 auto clamp(62px,10vh,104px);border-radius:24px}
.hero-globe-link .hero-globe{width:100%;height:100%;margin:0;object-fit:contain;filter:drop-shadow(0 0 24px #84c6ff55)}
.hero-copy{margin-top:auto;text-align:center}
.hero-copy h1{font-size:clamp(34px,8vw,58px);line-height:.98;margin:0 0 16px}
.hero-copy .intro{font-size:clamp(14px,2.5vw,17px);margin-bottom:8px}
.hero-copy .enter-hint{margin-top:4px}
#world-la-ola{scroll-margin-top:calc(77px + env(safe-area-inset-top))}
@media (min-width:800px){
  .hero-globe-link{width:132px;height:132px}
  .hero-content>.eyebrow{margin-bottom:72px}
  .hero-globe-link{margin-bottom:92px}
}

/* APP VISUAL RECOVERY 2026-10-08
   Each below-the-fold Wave card uses its own source-grounded poster composition.
   Homepage/hero globe sizing, install state and Festival Guide are intentionally untouched. */
.world-card.gdb-poster,.world-card.editorial-poster{isolation:isolate}
.world-card.gdb-poster .world-card-copy,.world-card.editorial-poster .world-card-copy{z-index:3}
.world-card.gdb-poster:after{background:linear-gradient(180deg,rgba(6,16,28,.18) 3%,rgba(6,19,39,.36) 43%,rgba(5,17,34,.96) 81%,#06152b 100%)}
.world-card.gdb-poster img{object-fit:cover;object-position:center 29%;filter:saturate(.96) contrast(1.06)}
.poster-art{position:absolute;inset:12px 13px auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:63%;overflow:hidden;pointer-events:none;z-index:1;text-align:center}
.gdb-art{color:#fbe2b2;text-shadow:0 3px 12px #151021;justify-content:center;gap:8px}
.gdb-art .gdb-issuer{font-size:9px;font-weight:900;letter-spacing:.17em}
.gdb-art strong{font:800 clamp(23px,5vw,39px)/.95 Georgia,serif;letter-spacing:.06em}
.gdb-art .gdb-motto{font-size:8px;font-weight:800;letter-spacing:.13em}
.world-card.wu-wei-poster{background:radial-gradient(circle at 80% 3%,#d9c6a6,#f0e5cf 35%,#cdbf9e 100%);color:#fff}
.world-card.wu-wei-poster:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 22px,rgba(71,87,69,.075) 22px 23px);pointer-events:none}
.world-card.wu-wei-poster:after{background:linear-gradient(180deg,transparent 9%,rgba(14,37,38,.04) 36%,rgba(8,27,39,.88) 79%,#06152b 100%)}
.wu-wei-art{color:#344c46;inset:17px 18px auto;gap:13px}
.poster-eyebrow{font:800 clamp(8px,1.2vw,10px)/1.2 'DM Sans',sans-serif;letter-spacing:.17em}
.wu-title{font:700 clamp(29px,5.6vw,48px)/1.1 Georgia,serif;letter-spacing:-.035em;white-space:nowrap}
.wu-title i{font-style:normal;font-size:.45em;vertical-align:middle}
.wu-wei-art svg{width:100%;max-width:250px;height:auto}
.poster-small{font:800 clamp(8px,1.3vw,10px)/1.2 'DM Sans',sans-serif;letter-spacing:.14em}
.world-card.willpwr-poster{background:linear-gradient(140deg,#f4f3e9 0%,#e2e4d8 57%,#c6d0c3 100%)}
.world-card.willpwr-poster:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 17%,rgba(54,80,68,.1) 17% calc(17% + 1px))}
.world-card.willpwr-poster:after{background:linear-gradient(180deg,transparent 4%,rgba(15,35,33,.04) 39%,rgba(6,27,41,.88) 79%,#06152b 100%)}
.willpwr-art{color:#254b3d;align-items:stretch;text-align:left;gap:10px;inset:15px 16px auto}
.will-row{display:flex;align-items:center;gap:12px;border-top:2px solid #638172;border-bottom:2px solid #638172;padding:8px 0}
.will-number{font:900 clamp(48px,11vw,85px)/.85 'Outfit',sans-serif;letter-spacing:-.09em}
.will-steps{display:grid;gap:6px;font:800 clamp(8px,1.35vw,11px)/1 'DM Sans',sans-serif;letter-spacing:.06em}
.will-logotype{font:900 clamp(28px,6vw,48px)/.9 'Outfit',sans-serif;letter-spacing:-.045em;white-space:nowrap}
.will-logotype span{color:#a17a49}
.offbrand-poster{background:#351f35}
.offbrand-poster img{object-fit:cover;object-position:center center;filter:saturate(.75) contrast(1.08)}
.offbrand-poster:before{content:"";position:absolute;inset:0;background:linear-gradient(140deg,rgba(78,32,40,.64),rgba(37,23,45,.14) 48%,rgba(6,21,43,.38))}
.offbrand-poster:after{background:linear-gradient(180deg,rgba(10,17,29,.06) 4%,rgba(10,17,29,.06) 35%,rgba(7,20,39,.90) 79%,#06152b 100%)}
.offbrand-art{inset:14px 13px auto;align-items:stretch;color:#f9e9cf;overflow:visible}
.off-tape{align-self:flex-start;transform:rotate(-5deg);background:#f2ddbc;color:#5d2b27;padding:8px 12px;font:900 9px/1.1 'DM Sans',sans-serif;letter-spacing:.15em}
.off-word{text-align:left;transform:rotate(-5deg);font:900 clamp(34px,8vw,66px)/.76 'Outfit',sans-serif;letter-spacing:-.07em;text-shadow:4px 4px #522a38}
.off-word em{font-style:normal;background:#f2ddbc;color:#382a37;display:inline-block;padding:4px 7px 6px;text-shadow:none}
.off-sticker{position:absolute;right:5px;top:44%;transform:rotate(14deg);background:#b65c42;color:#fff5e8;border:2px solid #f6e0be;border-radius:50%;width:clamp(52px,11vw,75px);aspect-ratio:1;display:grid;place-content:center;font:900 clamp(8px,1.5vw,11px)/1 'DM Sans',sans-serif;text-align:center;letter-spacing:.05em}
@media (max-width:380px){
  .poster-art{height:56%}
  .gdb-art strong{font-size:25px}
  .wu-title{font-size:29px}
  .will-number{font-size:46px}
  .will-logotype{font-size:27px}
  .off-word{font-size:34px}
  .willpwr-art,.offbrand-art{inset:12px 10px auto}
}

/* APP HOME PASS 12 — three actual scenes: single-globe entry, typographic welcome, Wave selector.
   The website homepage's large globe remains unchanged and still enters /app/.
   This overrides the legacy combined-hero layout without touching world cards. */
#app-launch.hero {
  height:calc(100svh - 67px - env(safe-area-inset-top));
  min-height:calc(100svh - 67px - env(safe-area-inset-top));
  height:calc(100dvh - 67px - env(safe-area-inset-top));
  min-height:calc(100dvh - 67px - env(safe-area-inset-top));
  padding:24px;
  display:grid;
  place-items:center;
}
#app-launch .hero-content{
  min-height:0;
  height:100%;
  width:100%;
  max-width:none;
  display:grid;
  place-items:center;
}
#app-launch .hero-globe-link{
  display:grid;
  place-items:center;
  width:clamp(100px,23vw,138px);
  height:clamp(100px,23vw,138px);
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  text-decoration:none;
  background:transparent;
  cursor:pointer;
  position:relative;
}
#app-launch .hero-globe-link:focus-visible{outline:3px solid var(--gold);outline-offset:11px}
#app-launch .hero-globe-link .hero-globe{
  width:100%;
  height:100%;
  object-fit:contain;
  margin:0;
  filter:drop-shadow(0 0 28px rgba(132,198,255,.35));
}
.world-intro {
  position:relative;
  display:grid;
  place-items:center;
  min-height:calc(100svh - 67px - env(safe-area-inset-top));
  min-height:calc(100dvh - 67px - env(safe-area-inset-top));
  padding:clamp(36px,8vh,80px) clamp(22px,6vw,64px);
  text-align:center;
  background:radial-gradient(ellipse at 48% 58%,#143a65 0%,#0a2748 43%,#06152b 78%);
}
.world-intro-content{position:relative;max-width:740px;margin:auto}
.world-intro .eyebrow{margin-bottom:28px}
.world-intro h1{font-size:clamp(42px,10vw,82px);margin:0 0 22px;line-height:.98}
.world-intro .intro{margin:0 auto 18px}
.world-intro .enter-hint{margin:2px auto 0}
#worlds{scroll-margin-top:calc(77px + env(safe-area-inset-top))}
@media (prefers-reduced-motion:reduce){#app-launch .hero-globe{animation:none}}

/* APP HOME PASS 13 — precise viewport-centering repair.
   The previous nested auto-sized CSS grids could shrink to image width and
   leave the globe at the left edge on desktop Safari and installed WebKit.
   Center against the full launch viewport, not an intrinsic-width grid track. */
#app-launch.hero{display:block}
#app-launch.hero > .hero-content{
  position:absolute;
  inset:0;
  box-sizing:border-box;
  width:100%;
  max-width:none;
  height:100%;
  min-width:0;
  min-height:0;
  margin:0;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:center;
}
#app-launch.hero .hero-globe-link{
  flex:0 0 auto;
  margin:0;
}
/* Keep all three scroll scenes intact; this fix affects only globe alignment. */

/* APP HOME MOBILE V14 — installed-iPhone centering fall-through.
   Mirrored as critical inline CSS in app/index.html so the installed WebKit
   shell is not dependent on a cached prior external stylesheet. */
@media (max-width:767px) {
  #app-launch.hero {position:relative;width:100%}
  #app-launch.hero > .hero-content {
    position:absolute;inset:0;left:0;right:0;width:100%;max-width:100%;
    height:100%;margin:0;padding:24px;transform:none;
    display:flex;flex-direction:row;align-items:center;justify-content:center;
    text-align:center;
  }
  #app-launch.hero #hero-world-jump {
    display:flex;flex:0 0 auto;margin:0 auto;align-items:center;justify-content:center;
    position:relative;left:auto;right:auto;
  }
}

/* Mobile PWA launch anchor: independent of nested grid/intrinsic element widths. */
@media(max-width:767px){#app-launch.hero #hero-world-jump{position:absolute!important;left:50%!important;top:50%!important;right:auto!important;margin:0!important;transform:translate(-50%,-50%)!important}}
/* Community-wave entrance: intentionally a 13th, standard-size bottom card. */
.world-card.what-wave-card{background:radial-gradient(circle at 55% 28%,#337b83 0%,#14436b 50%,#07182f 100%)}
.what-wave-card:after{background:linear-gradient(180deg,transparent 5%,rgba(6,21,43,.05) 40%,rgba(6,21,43,.93) 87%,#06152b 100%)}
.what-wave-art{position:absolute;inset:8% 5% 28%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f7dfb5;text-align:center;transform:rotate(-5deg);gap:13px}
.what-wave-art>span:first-child{font:800 12px/1 'DM Sans',sans-serif;letter-spacing:.25em}
.what-wave-art strong{font:900 clamp(28px,6vw,48px)/.97 'Outfit',sans-serif;letter-spacing:-.05em}
.what-wave-ripples{font-size:38px;letter-spacing:.22em;color:#8bd2d0}

/* The small globe and wordmark return to the website from every app view. */
.appbar .brand-globe{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-width:44px;min-height:44px;padding:2px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer;text-decoration:none}
.appbar .brand-globe:hover strong{text-decoration:underline;text-underline-offset:4px}

/* Cinema has its own header; keep the embedded mobile bar focused on navigation. */
@media(max-width:600px){#world-label[data-world="blockbuster"]{display:none}}

/* Cinema's temporary card stage occupies the app viewport. All app navigation returns on exit. */
body.cinema-card-stage{overflow:hidden}
body.cinema-card-stage .appbar,body.cinema-card-stage .world-toolbar,body.cinema-card-stage #frame-help{display:none}
body.cinema-card-stage #experience{position:fixed;inset:0;z-index:100;height:100dvh;min-height:0}
body.cinema-card-stage #world-frame{height:100%;min-height:0}

/* Main Waves are full-width showcases; Deeper Waves retain the compact pair grid. */
#worlds .world-grid>.world-card[data-tier="main"]{grid-column:1/-1}
#worlds .world-grid>.world-card[data-tier="main"] .world-card-copy{padding:24px}
#worlds .world-grid>.world-card[data-tier="main"] .world-card-copy strong{font-size:clamp(26px,5vw,40px)}
.app-deeper-heading{grid-column:1/-1;padding:34px 0 4px}
.app-deeper-heading h3{margin:0;font:700 clamp(26px,5vw,36px)/1.2 Outfit,system-ui,sans-serif;letter-spacing:-.035em}
@media(max-width:650px){#worlds .world-grid>.world-card[data-tier="main"] .world-card-copy{padding:20px}}

/* Brand title images are foreground identity, separate from the first portal-art image. */
.world-card-copy>.launcher-brand-title{display:flex;align-items:center;min-width:0;min-height:44px}
.world-card-copy>.launcher-brand-title>img.launcher-brand-mark{display:block;position:static;inset:auto;z-index:auto;width:auto;max-width:100%;height:40px;object-fit:contain;object-position:left center;margin:0;flex:0 1 auto;transform:none;filter:none}
.world-card-copy>.launcher-brand-title>img.launcher-brand-mark--cinema{height:44px;padding:5px 8px;background:#F6EFE2;border-radius:5px}

/* The selected-world identity uses four existing approved marks; Up remains semantic navigation. */
#world-label.has-world-brand{min-width:0;max-width:140px;height:32px;line-height:0;flex:0 1 140px}
#world-label.has-world-brand>img.active-world-brand-mark{display:block;position:static;inset:auto;z-index:auto;width:auto;max-width:100%;height:32px;object-fit:contain;object-position:center;margin:0 auto;transform:none;filter:none}
#world-label.has-world-brand>img.active-world-brand-mark--blockbuster{padding:4px 6px;background:#F6EFE2;border-radius:4px}

.launcher-brand-title>.launcher-brand-name{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
