/* The ink remains the artwork; the surrounding glass is only its exhibition frame. */
#voyageHud[hidden]{display:none}
#photoBooth{box-sizing:border-box;width:min(96vw,900px);max-width:100vw;max-height:96dvh;margin:auto;padding:0;background:#11263a;border:1px solid #63808d;border-radius:18px;color:#f1f7f6;box-shadow:0 24px 90px #051221b3;overflow:auto;overscroll-behavior:contain}
#photoBooth::backdrop{background:#091822db}
#photoBooth[open]{display:grid}
#photoBooth header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#152e43}
#photoBooth h2{font-size:20px;margin:0;letter-spacing:-.04em}
#photoBooth button,#boothSave{min-height:44px;line-height:1.2;padding:8px 14px;border-radius:12px}
#photoBooth button:not(.primary){background:#213d52;border:1px solid #597586;color:#e8f4fa}
.booth-view{position:relative;background:#0b1c28;display:grid;place-items:center;min-width:0;overflow:hidden}
#boothCanvas{display:block;width:100%;height:auto;max-height:57dvh;object-fit:contain}
#boothCount:not(:empty){position:absolute;inset:0;display:grid;place-items:center;color:white;font:750 clamp(54px,13vw,120px)/1 'Campus Sans',sans-serif;text-shadow:0 1px 20px #0b294a}
.booth-tools{padding:12px 16px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px}
.booth-tools>label{font-weight:650;font-size:14px}
#boothFriend{min-width:0;min-height:44px;border:1px solid #617c8e;border-radius:10px;background:#173349;color:#fff;padding:7px 10px;font-size:16px}
.booth-actions,.booth-shutter{grid-column:1/-1;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.booth-actions button,.booth-shutter{font-size:14px}
#boothStatus{grid-column:1/-1;margin:0;font-size:13px;color:#c9dbdf}
.booth-shutter{justify-content:flex-end;border-top:1px solid #365063;padding-top:8px}
.booth-shutter label{display:flex;align-items:center;min-height:44px;margin-right:auto;gap:6px}
#boothSave{display:inline-grid;place-items:center;background:#ffe0a5;color:#213449;font-weight:700}
#photoBooth [hidden]{display:none!important}
#photoBooth.clean{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;background:#071420}
#photoBooth.clean header,#photoBooth.clean .booth-tools{display:none}
#photoBooth.clean canvas{max-height:100dvh}
#boothTools{position:absolute;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));opacity:.85}
#photoBooth.clean #boothTools{animation:booth-hint 2.8s forwards}
@keyframes booth-hint{0%,72%{opacity:.85}100%{opacity:0}}
#photoBooth.clean #boothTools:focus-visible{animation:none;opacity:1}
@media(max-width:650px){
  #photoBooth{width:100%;max-height:100dvh;border-radius:12px}
  #photoBooth header,.booth-tools{padding:8px 12px}
  #boothCanvas{max-height:50dvh}
  .booth-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
#voyageHud{position:fixed;inset:0;z-index:50;pointer-events:none;color:#f4f7ff;background:linear-gradient(0deg,#070f2cbb,transparent 34%),radial-gradient(ellipse,transparent 52%,#080c233d);font-family:'Campus Sans',sans-serif}
#voyageHud[data-phase=loading]{pointer-events:auto;background:radial-gradient(ellipse at 35% 36%,#326c8499,transparent 55%),radial-gradient(ellipse at 78% 62%,#54438f99,transparent 50%),#08142b}
.voyage-copy{position:absolute;left:20px;right:20px;bottom:max(34px,env(safe-area-inset-bottom));text-align:center;text-shadow:0 2px 12px #041022}
.voyage-copy>p{font-size:10px;letter-spacing:.3em;color:#a5cfed;margin:0 0 12px}
.voyage-copy h2{font-size:clamp(22px,3vw,34px);letter-spacing:-.04em;font-weight:650;margin:0 0 9px}
.voyage-copy>span{font-size:13px;color:#bed6e9}
.voyage-progress{width:min(220px,52vw);height:2px;background:#bed6e92b;margin:20px auto 16px;overflow:hidden}
.voyage-progress i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#76e0ec,#c8b1ff,#fff0c6);transform:scaleX(0);transform-origin:left}
.voyage-actions{display:flex;justify-content:center;gap:8px;pointer-events:auto}
.voyage-actions button{border:1px solid #c4e1ff55;border-radius:24px;background:#0b2449a8;backdrop-filter:blur(10px);color:#dfecff;font-size:12px;min-height:42px;padding:9px 16px}
.voyage-actions button:hover{background:#213f66}.voyage-actions button:focus-visible{outline:2px solid #d6faff;outline-offset:4px}
.voyage-sight{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);display:flex;gap:18px;align-items:center;opacity:.7;color:#c3ebff}
.voyage-sight i{width:34px;height:1px;background:linear-gradient(90deg,transparent,#c3ebff)}
.voyage-sight i:last-child{transform:rotate(180deg)}
body.voyaging .topbar,body.voyaging .demo-strip{display:none!important}
body.voyaging #wall{height:100dvh!important;min-height:100dvh!important}
body.voyaging #wall .wall-head,body.voyaging #wall .camera-bar,body.voyaging #wall .world-picker,body.voyaging #wall .wall-bottom,body.voyaging #wall .scene-tools{visibility:hidden;pointer-events:none}
body.voyaging .pavilion-names{visibility:hidden}
@media(prefers-reduced-motion:reduce){.voyage-sight{display:none}}
#field .note{border:1px solid #b5edff;border-radius:13px;background:linear-gradient(135deg,#f5fffff5,#d9edf8ed);box-shadow:0 0 0 4px #183c58cc,0 0 0 5px #86ddef80,0 0 26px #8ce3ff3b;color:#102c43;padding:15px 19px}
#field .note::after{border:0!important;width:68%;height:33px;left:16%;bottom:-36px;background:linear-gradient(#8ceaff28,#8ceaff00);clip-path:polygon(0 0,100% 0,55% 100%,45% 100%);border-radius:0}
#field .note.flag{border-radius:3px 16px 3px 16px;border-left:1px solid #b5edff}
#field .note.cloud{border-radius:30px}
/* The 2D visitor sees the same winged stationery and unaltered ink. */
#wall[data-map^=future] #field .note{
  padding:0;border:0;border-radius:0;background:var(--folio-art,none) center/100% 100% no-repeat;
  width:var(--folio-width,81%);height:auto;aspect-ratio:var(--folio-aspect,2.35);top:auto;bottom:49%;
  left:min(19%,calc(100% - var(--folio-width,81%)));
  box-shadow:none;filter:drop-shadow(0 2px 2px #132e4c60);
}
#wall[data-map^=future] #field [data-facing=left] .note{left:0}
#wall[data-map^=future] #field .note img{position:absolute;left:12.5%;top:15%;width:75%;height:56%;object-fit:contain}
#wall[data-map^=future] #field .folio-window{position:absolute;left:50%;top:43.1%;transform:translate(-50%,-50%);overflow:hidden}
#wall[data-map^=future] #field .folio-window img{max-width:none;max-height:none;object-fit:fill}
#wall[data-map^=future] #field .cargo-art{display:none}
#wall[data-map^=future] #field .note::before{
  content:"";position:absolute;left:48.6%;top:78%;width:2.8%;height:8%;transform:none;border:0;
  background:#fff1c1;clip-path:polygon(50% 0,62% 39%,100% 50%,62% 60%,50% 100%,38% 60%,0 50%,38% 39%);
  animation:folio-seal 3.8s ease-in-out infinite;pointer-events:none;
}
#wall[data-map^=future] #field .note::after{
  left:16.5%;right:auto;top:90%;bottom:auto;width:34%;height:29%;transform:none;
  background:linear-gradient(#ffd687,#9bfffcbd);clip-path:polygon(97% 0,100% 0,3% 100%,0% 100%);pointer-events:none;
}
#wall[data-map^=future] #field [data-facing=left] .note::after{left:49.5%;transform:scaleX(-1)}
#wall[data-map^=future] #field .note-number,#wall[data-map^=future] .pavilion-name small{
  font-family:'Signal Pixel',monospace;font-weight:700;letter-spacing:.02em;
}
@keyframes folio-seal{0%,100%{opacity:.35}50%{opacity:.95}}
#wall:not([data-map^=future]) #field .note:is(.paper-orbit,.paper-prism,.paper-leaf){border:0;background:none;box-shadow:none}

/* One proof of the actual design replaces the two palettes and the duplicate character. */
.wish-fonts{margin:0 0 14px;padding:0;min-width:0;border:0}
.wish-fonts legend{margin:0 0 6px;padding:0;font-size:14px;font-weight:650;color:#e4eef5}
#fontChoices{display:flex;gap:6px}
#fontChoices label{flex:1;position:relative;cursor:pointer}
#fontChoices input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#fontChoices span{display:grid;place-items:center;min-height:44px;background:#172b41;border:1px solid #4c627b;border-radius:10px;color:#d6e5ee}
#fontChoices input:checked+span{background:#264743;border-color:#a5ebd3;color:#dcfff3;box-shadow:inset 0 0 0 1px #a5ebd3}
#fontChoices input:focus-visible+span{outline:3px solid #ffdc98;outline-offset:2px}
#capturePreview.design-proof{width:100%;min-width:0;margin:0 0 14px;overflow:hidden;border:1px solid #476278;border-radius:16px;background:#102535;color:#eef7fc}
.design-proof figcaption{display:flex;align-items:center;justify-content:space-between;gap:7px 12px;flex-wrap:wrap;padding:11px 14px;background:#193548}
.design-proof figcaption strong{font-size:14px}.design-proof .preview-label{margin:0;padding:0;color:#e0eef1;font-size:12px;letter-spacing:0}
#designLabel:not(:empty)::before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;background:var(--swatch);vertical-align:baseline}
.proof-stage{position:relative;display:grid;place-items:center;min-height:148px;padding:12px 10px;isolation:isolate;background:radial-gradient(ellipse at 50% 100%,#39617085,transparent 74%),radial-gradient(1px 1px at 15% 28%,#c4f3ef 70%,transparent) 0 0/83px 63px,linear-gradient(135deg,#142939,#1b2547)}
.proof-stage::after{content:"";position:absolute;inset:58% 0 0;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0 14px,#79a6bb16 14px 15px);pointer-events:none}
#proofEmpty{text-align:center}#proofEmpty p{margin:2px 0 0;font-size:13px;color:#dfebf0}
.paper-samples{display:flex;align-items:center;justify-content:center;height:52px}.paper-samples i{width:77px;height:46px;background-size:100% 100%;filter:drop-shadow(0 3px 2px #00132360)}.paper-samples i:first-child{transform:rotate(-11deg) translate(12px,3px)}.paper-samples i:last-child{transform:rotate(11deg) translate(-12px,3px)}.paper-samples i:nth-child(2){z-index:1}
#proofFrame{position:relative;width:min(94%,350px,calc(125px * var(--folio-aspect,2.35)));height:auto;aspect-ratio:var(--folio-aspect,2.35);border:0;border-radius:0;padding:0;box-shadow:none;background:var(--folio-art) center/100% 100% no-repeat;filter:drop-shadow(0 5px 5px #0b1829aa)}
#proofFrame::before,#proofFrame::after{content:none}
#proofFrame .folio-window{position:absolute;left:50%;top:43.1%;transform:translate(-50%,-50%);overflow:hidden}
#proofFrame img{position:absolute;max-width:none;max-height:none;object-fit:fill}
#proofFrame[hidden],#proofEmpty[hidden]{display:none}
#captureForm #wishOptions{padding-block:2px;border-block:1px solid #6681974d;margin:12px 0}
#captureForm #wishOptions>summary{display:list-item;font-size:14px;line-height:22px}
#captureForm #wishOptions>summary small{display:inline;margin-left:9px;color:#bcd4e1}
#captureForm #wishTopic{margin:5px 0 11px}#captureForm #wishTopic legend{font-size:14px}
#captureForm #wishTopic .wish-choice{min-height:44px;gap:5px;padding:7px}
#captureForm #wishTopic .hint{margin:8px 0 0;font-size:12px}
#captureForm #wishTopic .topic-grid{grid-template-columns:repeat(auto-fit,minmax(82px,1fr))}
#captureForm[data-step="type-review"] .design-proof{order:-3}
#sendPanel .privacy{font-size:11px;line-height:1.5}
@media(min-width:960px){
  #captureForm[data-step="draw"]{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:20px}
  #captureForm[data-step="draw"] #editPanel{position:sticky;top:18px}
  #captureForm[data-step="type-review"]{max-width:980px}
  #captureForm[data-step="type-review"] #sendPanel{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);column-gap:22px;align-items:start}
  #captureForm[data-step="type-review"] #sendPanel>*{grid-column:1/-1;order:0}
  #captureForm[data-step="type-review"] #sendPanel>.design-proof{grid-column:1;grid-row:2/4;margin:12px 0}
  #captureForm[data-step="type-review"] .proof-stage{min-height:185px}
  #captureForm[data-step="type-review"] #carrierDraw{grid-column:2;grid-row:2;margin:12px 0 0}
  #captureForm[data-step="type-review"] #wishOptions{grid-column:2;grid-row:3}
}
@media(max-width:620px){
  #captureForm #sendPanel{padding:14px}
  .proof-stage{min-height:120px}.design-proof figcaption{padding:9px 11px}
  #captureForm #wishTopic .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #captureForm #carrierDraw{margin:9px 0}.reel-window{height:80px}
}
@media(prefers-reduced-motion:reduce){#wall[data-map^=future] #field .note::before{animation:none}}
#worldChoice{flex-wrap:wrap}
#worldChoice button{white-space:nowrap}
#wall:not(.world-active) .scene-tools{display:none}
#wall[data-map^=future]{--mint:#a8edff;--muted:#a4bbd5;background:#0b1b31}
body:has(#wall[data-map^=future]):has(#page-wall.active) .topbar{background:#0c2035f5;border-color:#527b9155;color:#e9f4ff}
body:has(#wall[data-map^=future]):has(#page-wall.active) .brand small{color:#8fb3c8}
body:has(#wall[data-map^=future]):has(#page-wall.active) .brand-year{color:#8ee5fc}
body:has(#wall[data-map^=future]):has(#page-wall.active) .nav{background:#203c52}
body:has(#wall[data-map^=future]):has(#page-wall.active) .nav a{color:#b8cfe1}
body:has(#wall[data-map^=future]):has(#page-wall.active) .nav a.active{background:#bbeeff;color:#112f43}
body:has(#wall[data-map^=future]):has(#page-wall.active) .connection{background:#16344c;color:#b1e7e3;border-color:#67989c66}
#wall[data-map^=future].world-active::after{background:linear-gradient(150deg,#04142caf,transparent 46%),linear-gradient(0deg,#04152888,transparent 24%)}
#wall[data-map^=future] .world-title h1{color:#f2f7ff;text-shadow:0 2px 22px #091527}
#wall[data-map^=future] .world-title h1 span{color:#b9f1ff}
#wall[data-map^=future] .world-title .caption{color:#b9cee6}
#wall[data-map^=future] .wall-count,#wall[data-map^=future] .world-picker,#wall[data-map^=future] .wish-metrics,#wall[data-map^=future] .scene-tools button{background:#102b43dd;border:1px solid #8bcde74d;box-shadow:inset 0 1px #b4efff17,0 12px 32px #03132733;color:#cce4f2;backdrop-filter:blur(18px)}
#wall[data-map^=future] .wall-count b{color:#e8fbff}
#wall[data-map^=future] .wall-count span,#wall[data-map^=future] .wall-count small,#wall[data-map^=future] .current-count,#wall[data-map^=future] .count-kicker{color:#a9c4d6}
#wall[data-map^=future] #worldChoice button{background:#25465f;color:#b5d2e7}
#wall[data-map^=future] #worldChoice button[aria-pressed=true]{background:#b8edfc;color:#17394e;box-shadow:0 0 16px #8ee3ff25}
#wall[data-map^=future] .map-tools label,#wall[data-map^=future] #mapChoiceHint{color:#a5c4d8}
#wall[data-map^=future] .map-tools select,#wall[data-map^=future] .map-tools button{background:#17394f;color:#c5e6f7;border-color:#719dae66}
#wall[data-map^=future] .map-tools button[aria-pressed=true]{background:#275675;color:#dcf8ff}
#wall[data-map^=future] .scene-tools button span{color:#a1e4f5}
#wall[data-map^=future] .camera-bar{background:#112d46e6;border-color:#88bbd46b}
#wall[data-map^=future] .wall-controls button,#wall[data-map^=future] .sound-dock button{background:#173951;color:#d0e8f3;border-color:#699cb15c}
#wall[data-map^=future] .metrics-title a{color:#a6e0ea}
#wall[data-map^=future] #topicCounts span{color:#bdd2df}
#wall[data-map^=future] .send-button{background:#b9f3fb;color:#103344;box-shadow:0 0 24px #9ee8ff25}
@media(max-width:600px){
  #wall .world-picker{max-width:calc(100% - 110px)}
  #worldChoice{display:flex;flex-wrap:wrap;gap:4px}
  #worldChoice button{font-size:10px;padding:6px 8px;min-height:34px}
  #wall[data-map^=future] .world-title h1{font-size:23px;line-height:1.18}
  #wall[data-map^=future] .world-title h1 span{display:block}
}
@media(prefers-reduced-motion:reduce){#field .note::after{opacity:.5}}
/* Ivory enamel, deep jade and etched brass tie the exhibition HUD to the campus. */
#wall[data-map^=future].world-active::after{background:linear-gradient(110deg,#17394d65,transparent 42%),linear-gradient(0deg,#17393b38,transparent 17%)}
body:has(#wall[data-map^=future]):has(#page-wall.active) .topbar{background:#123b40f5;border-bottom:1px solid #d7b87b66}
body:has(#wall[data-map^=future]):has(#page-wall.active) .brand-year{color:#e9c786}
body:has(#wall[data-map^=future]):has(#page-wall.active) .nav{background:#0e3034}
body:has(#wall[data-map^=future]):has(#page-wall.active) .nav a.active{background:#fff2d5;color:#194547}
#wall[data-map^=future] .world-title .eyebrow{color:#fff1cf;text-shadow:0 1px 4px #143440}
#wall[data-map^=future] .world-title h1 span{color:#ffedcd}
#wall[data-map^=future] .world-title .caption{color:#fff8e7;text-shadow:0 2px 6px #18373f}
#wall[data-map^=future] .wall-count,#wall[data-map^=future] .world-picker,#wall[data-map^=future] .wish-metrics,#wall[data-map^=future] .scene-tools button{background:linear-gradient(140deg,#174546f0,#102f39e8);border-color:#dcc79477;box-shadow:inset 0 1px #fff4d327,0 6px 20px #18373235}
#wall[data-map^=future] .count-kicker,#wall[data-map^=future] .scene-tools button span{color:#f6d795}
#wall[data-map^=future] #worldChoice button[aria-pressed=true],#wall[data-map^=future] .send-button{background:linear-gradient(120deg,#fff3d6,#dfcfaa);color:#173c40}
#wall[data-map^=future] .camera-bar{background:#163f42eb;border-color:#e8cb8c88}
#wall[data-map^=future] .map-tools button[aria-pressed=true]{background:#365e5f;border-color:#cab991}
@media(max-width:650px) and (orientation:portrait){
  #wall[data-map^=future] .world-title h1{font-size:21px;letter-spacing:-.055em}
  #wall[data-map^=future] .world-title h1 span{display:inline}
  #wall[data-map^=future] .world-title .caption{display:none}
  #wall[data-map^=future] .camera-bar{top:60px;left:12px}
  #wall[data-map^=future] .world-picker{top:97px;left:12px;max-width:calc(100% - 105px);padding:5px}
  #wall[data-map^=future] #mapChoiceHint{display:none}
  #wall[data-map^=future] .scene-tools{top:130px;right:10px}
}

/* Pavilion names sit in the scene like cartographic lettering, with a small
   compass seal and a vertical locator. Their screen size stays readable. */
#gardenViewport .pavilion-names{display:none;position:absolute;inset:0;overflow:hidden;pointer-events:none}
#gardenViewport[data-map^=future] .pavilion-names{display:block}
.pavilion-name{position:absolute;left:0;top:0;display:flex;align-items:center;gap:8px;white-space:nowrap;color:#fffaf0;line-height:1.12;isolation:isolate;text-shadow:0 1px 2px #102c36,0 2px 5px #102c36,0 0 8px #102c36}
.pavilion-name[hidden]{display:none}
.pavilion-name:before{content:"";position:absolute;inset:-10px -17px;z-index:-1;background:radial-gradient(ellipse,#143f42ed 18%,#143f42b8 48%,transparent 74%)}
.pavilion-name:after{content:"";position:absolute;left:12px;top:100%;width:1px;height:13px;background:linear-gradient(var(--site-ink),transparent)}
.pavilion-name svg{width:26px;height:26px;padding:4px;border:1px solid var(--site-ink);border-radius:50%;background:#173e44;stroke:var(--site-ink);stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round}
.pavilion-name small,.pavilion-name b{display:block}
.pavilion-name small{font:650 10px/1.3 var(--font);color:#fff0cb;letter-spacing:.10em}
.pavilion-name b{font:700 22px/1.25 'Campus Display',var(--font);letter-spacing:-.04em}
#currentPlace{display:none}
#wall.world-active[data-map^=future] #currentPlace:not(:empty){display:inline-flex;align-items:center;gap:5px;color:#fff8dd;font:700 14px/1.35 var(--font);letter-spacing:0;text-shadow:0 1px 4px #193c43}
#currentPlace:before{content:"";width:6px;height:6px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#ffe3a2}
#wall.world-active[data-map^=future] .world-title h1{font-family:'Campus Display',var(--font);font-weight:700;letter-spacing:-.055em}
/* The scene has more depth now; keep the exhibition controls at the edges. */
@media(min-width:851px){
 #wall.world-active[data-map=future-plus] .world-title h1{font-family:'Campus Sans',var(--font);font-size:29px;font-weight:750;letter-spacing:-.045em;margin:7px 0}
 #wall.world-active[data-map=future-plus] .world-title .caption{font-size:11px;color:#bed9d9}
 #wall.world-active[data-map=future-plus] .camera-bar{top:106px}
 #wall.world-active[data-map=future-plus] .world-picker{top:151px}
 #wall.world-active[data-map=future-plus] .world-title .eyebrow{color:#e5d7ad;font-size:8px}
}
#wall[data-map=future-plus].world-active::after{background:linear-gradient(110deg,#052b3c55,transparent 35%),linear-gradient(0deg,#052b3c33,transparent 15%)}
#skyChoice[hidden]{display:none!important}
#wall #skyChoice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;color:inherit;font:650 11px var(--font)}
#wall #skyTheme{min-height:40px;padding:3px 9px;border:1px solid #a3d4d473;border-radius:10px;background:#193e49;color:#fff4d8;font:650 12px var(--font);cursor:pointer}
#wall[data-sky=paradise] #skyTheme{background:#faf1dc;color:#254654;border-color:#f1d899}
#wall[data-sky=paradise].world-active::after{background:linear-gradient(125deg,#18385673,transparent 39%),linear-gradient(0deg,#23425b36,transparent 16%)}
#wall[data-sky=paradise] .world-title .caption{color:#fff9e9;text-shadow:0 1px 3px #152d45,0 2px 7px #254457}
#wall[data-sky=paradise] .garden-drift{background-image:var(--paradise-sky);background-size:cover}
#wall[data-sky=paradise] .sky-stage::after{background:linear-gradient(125deg,#1732527d,transparent 48%),linear-gradient(0deg,#163d603d,transparent 24%)}
@media(min-height:541px){
  #wall.world-active[data-map=future-plus] .world-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
  #wall[data-map=future-plus] .world-picker :is(#worldChoice,.map-tools,#mapChoiceHint){grid-column:1/-1}
  #wall[data-map=future-plus] .world-picker :is(.scene-look-choice,#skyChoice){display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px;margin:0;border:0;padding:0}
  #wall[data-map=future-plus] .world-picker :is(#sceneLook,#skyTheme){width:100%;min-width:0;max-width:none;min-height:40px}
}
@media(max-width:700px) and (min-height:541px){
  #wall.world-active[data-map=future-plus] .world-picker{width:min(255px,calc(100% - 122px))}
  #wall[data-map=future-plus] #worldChoice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #wall[data-map=future-plus] #worldChoice button{padding:3px 5px;min-height:30px}
  #wall[data-map=future-plus] .world-picker :is(.scene-look-choice,#skyChoice){grid-template-columns:minmax(0,1fr)}
  #wall[data-map=future-plus] .world-picker :is(.scene-look-choice,#skyChoice)>span{font-size:10px}
}
@media(max-height:540px) and (orientation:landscape){
  #wall .world-picker #skyChoice{grid-column:2;grid-row:2}
  #wall .world-picker:has(#skyChoice:not([hidden])) .scene-look-choice{grid-column:2;grid-row:3}
}
#wall[data-map=future-plus] .pavilion-name b{font-family:'Campus Sans',var(--font);font-size:19px;font-weight:750}
@media(max-width:650px){
 .pavilion-name{gap:5px}.pavilion-name svg{width:21px;height:21px}.pavilion-name b{font-size:16px}.pavilion-name small{font-size:9px}
 #wall[data-map=future-plus] .pavilion-name b{font-size:14px}
 #wall.world-active[data-map=future-plus] #currentPlace:not(:empty){font-size:11px}
 #wall.world-active[data-map=future-plus] .world-title #worldSeries{display:none}
}
#voyageHud .voyage-sight{display:none}#voyageHud[data-phase=salute] .voyage-copy>span,#voyageHud[data-phase=delivery] .voyage-copy>span{display:inline-block;background:#18313de8;border:1px solid #ddbf7f;padding:7px 16px;border-radius:18px;color:#fff1cc}#voyageHud[data-phase=salute]:before{content:"✦　별편지 우체국　✦";position:absolute;top:max(22px,env(safe-area-inset-top));left:0;right:0;text-align:center;letter-spacing:.18em;color:#fff0c6;text-shadow:0 2px 8px #172a41}
.station-route,#deliveryMark{display:none}
#stationCut{position:absolute;inset:0;background:#142a41;opacity:0;z-index:2;pointer-events:none;visibility:hidden}
#wall.world-active #gardenViewport[data-camera=tour]+#stationCut{visibility:visible}
#wall .delivery-card[data-station]{--ink-height:clamp(70px,11vh,140px);isolation:isolate;width:min(470px,84vw);left:50%;margin-left:0;translate:-50% 0;padding:13px 18px 10px;border:1px solid color-mix(in srgb,var(--delivery-tone) 62%,transparent);border-radius:18px;background:linear-gradient(115deg,#10283a,#172340 72%,#263b50);color:#f1f7ff;box-shadow:0 7px 32px #06142670}
#wall .delivery-card[data-station] .delivery-label{color:var(--delivery-tone);font-size:clamp(11px,1.25vw,16px)}
#wall .delivery-card[data-station] .delivery-label span:before{content:none}
#wall .delivery-card[data-station] #deliveryInk{position:relative;z-index:1;height:var(--ink-height);width:100%;background:#fffcf4;border-radius:10px}
#wall .delivery-card[data-station] .station-route{position:absolute;inset:0 14%;display:flex;align-items:center;gap:10px;color:var(--delivery-tone);pointer-events:none}
.station-route>svg,.station-route>b,.station-route>b>*{display:block;width:clamp(40px,5vw,68px);height:auto;aspect-ratio:1;overflow:hidden}
.station-route>span{flex:1;position:relative;border-top:1px dashed currentColor}
.station-route i{position:absolute;top:-.8em;font:normal 24px/1 system-ui;text-shadow:0 0 10px var(--delivery-tone)}
#wall .delivery-card[data-station] #deliveryMark{display:block;position:absolute;top:11px;left:50%;color:var(--delivery-tone);text-shadow:0 0 8px currentColor}
#wall .delivery-card[data-station] small{color:#dae6ef}
#photoMyWish{padding:6px 10px;border-radius:16px;background:#fff0c9;color:#193248;font-size:12px}
#myWallTicket{flex-wrap:wrap}
.spire-meter{display:none}
#wall[data-map="future-plus"] .spire-meter{display:grid;gap:4px;margin:7px 0 4px}
#crownTracks{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
#crownTracks i{height:3px;border-radius:2px;background:linear-gradient(90deg,#ffd991 var(--lit,0%),#78949c55 var(--lit,0%))}
#wall .spire-meter small{display:block;margin:0;color:#e6dfbf;font-size:10px;line-height:1.3}
#visitSpire{display:none}
#wall.world-active #visitSpire{display:block;justify-self:start;pointer-events:auto;border:0;border-radius:6px;background:transparent;color:#b8f3e7;padding:4px 2px;font-size:12px;text-decoration:underline;text-underline-offset:3px}
/* Keep the tools below the live count even when the arrival delta wraps. */
body:not(.cinema) #wall.world-active[data-map="future-plus"] .scene-tools{position:relative;top:auto;right:auto;width:max-content;margin:8px clamp(12px,2vw,28px) 0 auto}
body.spire-view .delivery-card,body.spire-view .pavilion-names{visibility:hidden}
body.spire-view #demoStrip:not(.hidden){display:block!important;position:fixed;z-index:6;right:18px;bottom:16px;padding:0;border:0;background:transparent;font-size:0}
body.spire-view #demoStrip a{display:none}
body.spire-view #demoBurst{min-height:40px;padding:6px 14px;background:#123848e8;color:#ffdfa0;font:700 13px/1.3 var(--font)}
@media(max-width:700px){#wall .spire-meter small{font-size:9px}#wall.world-active #visitSpire{min-height:26px;font-size:11px}}
@media(max-width:700px){#wall .delivery-card[data-station]{bottom:clamp(142px,22vh,190px)}#photoMyWish{min-height:40px}}
@media(max-height:520px) and (orientation:landscape){#wall .delivery-card[data-station]{--ink-height:44px;bottom:47px;width:min(320px,52vw)}}

#openGroupPhoto[hidden],#groupPhoto:not([open]),#groupPortraits[hidden]{display:none!important}
#finaleShow:not([open]),#finalePreparation[hidden],#finaleWork[hidden],#finalePresent[hidden],#finalePause[hidden]{display:none!important}
#finalePreparation{padding:24px 0;border-bottom:1px solid #8cb7cd55;margin-bottom:24px}
#finalePreparation h2{font-size:26px;letter-spacing:-.04em;margin:0 0 10px}
#finaleSelections{display:grid;gap:18px;margin:22px 0}
#finaleSelections fieldset{min-width:0;border:0;padding:0;margin:0}
#finaleSelections legend{font-size:16px;font-weight:750;color:var(--finale-tone);margin-bottom:8px}
.finale-choices{display:flex;gap:10px;overflow:auto;padding:2px 2px 9px;scrollbar-width:thin}
.finale-choices label{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;flex:0 0 156px;min-height:110px;border:1px solid #7698ad77;border-radius:16px;padding:10px;background:#173144;color:#e6f2fb;cursor:pointer;font-size:13px}
.finale-choices label:has(input:checked){border-color:var(--finale-tone);box-shadow:0 0 0 2px var(--finale-tone)}
.finale-choices input{position:absolute;right:8px;top:8px;accent-color:var(--finale-tone)}
.finale-choices img{width:100%;height:66px;object-fit:contain;background:#fffaf0;border-radius:6px}
#finaleStart{min-height:48px;background:#b5eadf;color:#123848;border:0;border-radius:24px;padding:12px 22px;font-weight:750}
body.event-finale{overflow:hidden}
body.event-finale #wall{position:fixed!important;inset:0;z-index:80;width:100%;height:100dvh!important;min-height:0!important;margin:0;border:0;border-radius:0}
body.event-finale #wall>:not(#gardenViewport,#finaleShow,.sky-stage),body.event-finale .pavilion-names{visibility:hidden!important}
body.event-finale .planet-sigil{visibility:hidden}
#finaleShow[open]{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(16px,3vw,44px);border:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;color:#fffaf1;background:linear-gradient(90deg,#071d30e8,transparent 70%),linear-gradient(0deg,#071d30d9,transparent 28%);font-family:var(--font)}
#finaleShow::backdrop{background:transparent}
#finaleShow header{position:static;width:100%;display:flex;align-items:flex-start;justify-content:space-between;background:none;border:0;padding:0;gap:12px}
#finaleShow header small{color:var(--finale-tone);font-weight:650;letter-spacing:.06em;font-size:clamp(11px,1vw,17px)}
#finaleShow h2{font-size:clamp(27px,3.5vw,56px);letter-spacing:-.055em;line-height:1.12;color:#fffaf1;margin:8px 0}
#finaleShow button{min-height:44px;padding:9px 16px;border-radius:24px;background:#133547eb;color:#e8fbff;border:1px solid #a2d8da77;font-weight:650}
#finaleShow button:disabled{opacity:.35}
#finaleShow .finale-copy{margin-top:auto;margin-bottom:auto;width:clamp(240px,28vw,410px)}
#finaleTopic{font-size:clamp(17px,1.6vw,24px);color:var(--finale-tone);margin:0}
#finaleShow .finale-count{margin:4px 0 22px;display:flex;align-items:baseline;gap:12px}
#finaleCount{font-size:clamp(60px,6vw,100px);line-height:1;letter-spacing:-.06em;font-variant-numeric:tabular-nums;font-weight:750}
#finaleWork{margin:0 0 16px}
#finaleInk{display:block;width:100%;max-height:22vh;object-fit:contain;background:#fffaf1;padding:14px;box-sizing:border-box;border:1px solid #d5e8ed;border-radius:4px 20px 4px 20px;box-shadow:0 8px 35px #020e2544}
#finaleNumber{font-size:12px;margin-top:8px;color:#d2dce7}
#finaleSummary{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:17px;line-height:1.9;color:#e6f2fb}
#finaleSummary span{white-space:nowrap}
#finaleAsOf{font-size:11px;color:#b2c5d8}
#finaleShow footer{display:flex;align-items:center;gap:18px;width:100%;flex-wrap:wrap;font-size:13px;color:#d7e7f3}
#finaleShow footer>div{display:flex;gap:6px}
#finalePresent{margin-left:auto;background:#d3f0e0!important;color:#133547!important}
#finaleShow[data-stop=atrium] .finale-copy{width:clamp(280px,30vw,440px)}
@media(max-width:650px){
  #finaleShow[open]{background:linear-gradient(180deg,#071d30d9,transparent 38%,#071d30eb 68%);padding:16px}
  #finaleClose{max-width:96px;font-size:11px;padding:6px 9px!important}
  #finaleShow .finale-copy,#finaleShow[data-stop=atrium] .finale-copy{width:100%;margin:auto 0 20px}
  #finaleShow .finale-count{margin:4px 0 10px}
  #finaleInk{max-height:17vh;width:100%}
  #finaleCount{font-size:44px}
  #finaleSummary{font-size:12px;line-height:1.6}
  #finaleShow footer{gap:9px;font-size:11px}
  #finalePresent{width:100%;margin-left:0}
}
@media(max-height:550px){#finaleShow .finale-count{margin:4px 0}#finaleCount{font-size:42px}#finaleShow h2{font-size:25px}#finaleWork{margin:7px 0}#finaleShow .finale-copy{width:240px}#finaleSummary{font-size:12px}}
body.hall-photo{overflow:hidden}
body.hall-photo #wall{position:fixed!important;inset:0;z-index:80;width:100%;height:100dvh!important;min-height:0!important;margin:0;border:0;border-radius:0}
body.hall-photo #wall>:not(#gardenViewport,#groupPhoto,.sky-stage),body.hall-photo .pavilion-names{visibility:hidden!important}
body.hall-photo .planet-sigil{visibility:hidden}
body.hall-photo .sky-stage *{animation-play-state:paused!important}
#groupPhoto[open]{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(18px,3vw,50px);border:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;color:#fffaf1;background:linear-gradient(180deg,#082633b8,transparent 27%,transparent 72%,#051f2fc4);font-family:var(--font);text-shadow:0 1px 6px #062a42}
#groupPhoto::backdrop{background:transparent}
#groupPhoto header{position:static;display:flex;align-items:flex-start;justify-content:space-between;background:none;border:0;padding:0;gap:12px}
#groupPhoto header small{display:block;font-size:clamp(12px,1.1vw,18px);font-weight:650;letter-spacing:.08em;color:#c8f6ec}
#groupPhoto h2{font-size:clamp(26px,3vw,55px);line-height:1.12;letter-spacing:-.055em;margin:5px 0 0;color:#fffaf1}
#endGroupPhoto{background:#103141d9;color:#fff4dd;border:1px solid #e5f6ee66;border-radius:24px;padding:0 16px;min-height:44px;font:650 14px var(--font)}
#endGroupPhoto span{margin-left:5px}
#groupPhoto footer{align-self:center;display:flex;align-items:center;gap:12px;min-height:46px;padding:8px 20px;border:1px solid #a3e1d566;border-radius:32px;background:#0a3041ed;color:#effff9;font-weight:650;font-size:clamp(14px,1.5vw,22px);text-align:center}
#groupPhotoClock{font-variant-numeric:tabular-nums;color:#ffe2a4;min-width:2ch}
#groupPhotoClock:empty{display:none}
#groupPhoto[data-phase=countdown] #groupPhotoClock{font-size:1.5em;line-height:1}
#groupPortraits{align-self:center;display:flex;justify-content:center;flex-wrap:wrap;max-width:min(80vw,960px);gap:clamp(4px,1vw,14px);filter:drop-shadow(0 5px 8px #112c52aa)}
.group-portrait{width:min(16vw,16vh,144px);aspect-ratio:1}
.group-portrait :is(svg,img){width:100%;height:100%;object-fit:contain}
@media(max-width:650px){.group-portrait{width:min(22vw,13vh)}}
@media(prefers-reduced-motion:no-preference){#groupPhoto[data-phase=gather] .group-portrait{animation:group-arrive .9s ease-out both}@keyframes group-arrive{from{opacity:0;transform:translateY(20%) scale(.9)}to{opacity:1;transform:none}}}
/* 알쥐 직접 날리기: floating joystick, boost and deliver buttons, star score. */
#steerPad{position:absolute;inset:0;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}
#steerPad[hidden],#steerStick[hidden],#steerControls[hidden],#steerScore[hidden],#steerHint[hidden]{display:none}
#steerHint{position:absolute;left:50%;bottom:calc(max(34px,env(safe-area-inset-bottom)) + 74px);transform:translateX(-50%);padding:8px 16px;border-radius:20px;background:#0b2449b8;color:#dff3ff;font-size:13px;white-space:nowrap;animation:steerHint 1.6s ease-in-out infinite}
#steerStick{position:absolute;width:120px;height:120px;margin:-60px 0 0 -60px;border-radius:50%;border:2px solid #ffe08a88;background:radial-gradient(circle,#ffe08a1f,#0b244955 70%);box-shadow:0 0 24px #ffe08a33;pointer-events:none}
#steerStick i{position:absolute;left:34px;top:34px;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6d2,#ffc23d);box-shadow:0 3px 12px #0008}
#steerControls{position:absolute;inset:0;pointer-events:none}
#steerControls button{position:absolute;pointer-events:auto}
#steerControls #steerDash{right:18px;bottom:calc(max(28px,env(safe-area-inset-bottom)) + 8px);width:84px;height:84px;padding:0;border-radius:50%;font-size:16px}
#steerControls #steerDeliver{right:14px;top:calc(max(18px,env(safe-area-inset-top)) + 52px);min-height:42px;font-size:13px;padding:8px 14px}
body.voyaging,body.voyaging #voyageHud,body.voyaging #voyageHud *{touch-action:none}
#steerControls button{min-height:52px;padding:10px 20px;border-radius:26px;border:1px solid #ffe08aaa;background:#0b2449d9;color:#fff0c2;font-size:15px;font-weight:750;touch-action:manipulation}
#steerControls #steerDash{background:#5b3f06e6}#steerControls #steerDash:disabled{opacity:.45}
#steerScore{position:absolute;top:max(18px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);margin:0;padding:8px 18px;border-radius:22px;background:#122a48d9;border:1px solid #ffe08a99;color:#fff2c4;font-weight:750;font-size:15px;letter-spacing:.02em;white-space:nowrap;text-shadow:0 1px 6px #0a1a33;box-shadow:0 0 22px #ffe08a33}
#steerScore.pop{animation:steerPop .38s ease-out}#steerScore.hurry{border-color:#ff9d7a;color:#ffd9c9}
@keyframes steerPop{0%{transform:translateX(-50%) scale(1.22)}100%{transform:translateX(-50%) scale(1)}}
#steerVoyage{background:#3b2f0dcc!important;border-color:#ffe08aaa!important;color:#fff0c2!important;font-weight:750;animation:steerHint 1.6s ease-in-out infinite}
@keyframes steerHint{50%{box-shadow:0 0 0 6px #ffe08a22}}
#steerCombo{position:absolute;top:calc(max(18px,env(safe-area-inset-top)) + 46px);left:50%;transform:translateX(-50%);margin:0;font-size:22px;font-weight:900;color:#fff3b0;letter-spacing:.02em;white-space:nowrap;-webkit-text-stroke:1px #b8570f;text-shadow:0 3px 0 #b8570f,0 0 18px #ffcf4d}
#steerCombo[hidden]{display:none}#steerCombo.pop{animation:comboPop .9s ease-out forwards}
@keyframes comboPop{0%{transform:translateX(-50%) scale(.4) rotate(-8deg);opacity:0}18%{transform:translateX(-50%) scale(1.25) rotate(3deg);opacity:1}35%{transform:translateX(-50%) scale(1) rotate(0)}80%{opacity:1}100%{transform:translateX(-50%) translateY(-14px);opacity:0}}
#steerControls #steerSound{left:14px;top:calc(max(18px,env(safe-area-inset-top)) + 52px);width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;font-size:18px}
#steerControls #steerDash{background:conic-gradient(#0b2449e6 calc(var(--cool,0)*360deg),#ff9f1c 0)!important;border-width:3px}
#voyageHud[data-boost]::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 48%,#7fe0ff40 78%,#bff6ff80);animation:boostGlow .3s ease-out}
@keyframes boostGlow{from{opacity:0}to{opacity:1}}
#voyageHud[data-free]{background:none}#voyageHud[data-free] .voyage-copy{display:none}
@media (prefers-reduced-motion:reduce){#steerVoyage,#steerHint,#steerScore.pop{animation:none}}
