
:root{--paper:#f3f0e7;--ink:#354239;--muted:#7d8175;--gold:#bea77a;--navy:#102633;--border:#d9d9cb;--serif:Georgia,'Songti SC','Noto Serif SC',serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #ba8e4a;outline-offset:5px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{display:none}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--border);position:relative;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;font-family:var(--serif);font-size:22px;letter-spacing:4px}.brand small{font:8px sans-serif;letter-spacing:2px;display:block;margin-top:5px}.brand-mark{border:1px solid #7e877a;width:39px;height:43px;display:grid;place-items:center;font-size:25px;letter-spacing:0}.weather{font-size:11px;letter-spacing:1px;display:flex;align-items:center;gap:12px;color:#777f73}.rain-symbol{font-size:25px}.weather-line{height:11px;border-left:1px solid #bfc5b6;margin:0 8px}.text-button{display:flex;align-items:center;gap:9px;font-size:12px}.text-button>span{border:1px solid var(--border);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font:11px Georgia}.stage{height:calc(100svh - 168px);min-height:380px;position:relative;overflow:hidden;background:#bfc0ad;isolation:isolate}.world{position:absolute;inset:0;margin:auto;transform-origin:50% 60%;transition:opacity .45s,transform 1s ease;will-change:transform}.backdrop{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;pointer-events:none}.stage.changing .world{opacity:.2;transform:scale(1.04)}#rain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:15;opacity:.45}.scene-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -70px 90px -60px #222d23aa,inset 0 30px 80px -50px #eee9d2aa;z-index:16}.scene-intro{position:absolute;top:30px;left:38px;z-index:18;pointer-events:none;text-shadow:0 1px 15px #f5f1d9,0 1px 5px #f5f1d9}.eyebrow{font:9px sans-serif;letter-spacing:2.4px}.scene-intro h1{font:36px/1.6 var(--serif);letter-spacing:4px;margin:13px 0 9px;font-weight:400}.scene-intro p{font-size:11px;letter-spacing:1px;margin:0}.intro-rule{width:30px;border-top:1px solid #7f897c;margin:17px 0 10px}.scene-intro>span{font:italic 12px var(--serif);letter-spacing:2px}.place-pin{position:absolute;display:flex;flex-direction:column;align-items:center;z-index:24;transform:translate(-50%,-50%);padding:12px;filter:drop-shadow(0 3px 10px #0002)}.cafe-pin{left:88%;top:63%}.grocery-pin{left:8%;top:54%}.pin-dot{width:23px;height:23px;border:1px solid #fff8d3;border-radius:50%;background:#fff6db33;display:grid;place-items:center;box-shadow:0 0 0 7px #fff8d315;animation:pulse 3s infinite;margin-bottom:12px}.pin-dot:after{content:'';width:5px;height:5px;background:#fcf1d3;border-radius:50%}.place-pin>span:last-child{display:block;white-space:nowrap;padding:10px 14px;background:#f5f2e9ed;border:1px solid #e7e2d4;border-radius:3px;font-size:11px;text-align:left;letter-spacing:1px}.place-pin small{display:block;font:7px sans-serif;letter-spacing:1.4px;color:#8a8876;margin-bottom:5px}.place-pin b{font-size:14px;font-weight:400;margin-left:12px}.place-pin:hover>span:last-child{background:#fff9e9;transform:translateY(-3px)}.character{position:absolute;bottom:auto;left:0;padding:0;z-index:25;transform:translate(-50%,-100%);width:14%;max-width:none;will-change:left,top}.character-art{display:block;transform-origin:50% 90%;animation:walk 1s ease-in-out infinite;filter:drop-shadow(5px 9px 3px #26362c25);transition:filter .3s}.character img{width:100%;display:block;pointer-events:none}.character:hover .character-art,.character.stopped .character-art{filter:drop-shadow(0 0 8px #fff4cb85);animation-play-state:paused}.character.chestnut{width:8.5%}.chestnut .character-art{animation:float 3.2s ease-in-out infinite}.character:before{content:'';position:absolute;width:35%;height:6%;background:#3246383b;bottom:5%;left:33%;border-radius:50%;filter:blur(6px)}.name-tag{display:flex;position:absolute;align-items:center;gap:6px;bottom:0;left:50%;transform:translate(-50%,100%);padding:7px 12px;border:1px solid #cfcdbb;background:#f5f0e5ed;border-radius:40px;white-space:nowrap;font:12px var(--serif);box-shadow:0 2px 8px #27322a15}.name-tag i{width:5px;height:5px;border-radius:50%;background:#7b9271}.name-tag em{font:10px sans-serif;display:none}.character:hover .name-tag em,.character:focus-visible .name-tag em{display:block}.stopped .name-tag i{background:#ba9b6c}.light{position:absolute;pointer-events:none;border-radius:50%;background:#ffcd7136;filter:blur(30px);animation:glow 5s infinite}.cafe-light{left:77%;top:40%;width:20%;height:22%}.shop-light{left:0;top:40%;width:12%;height:19%}.scene-tools{position:absolute;right:28px;bottom:35px;z-index:24;display:flex;gap:10px}.round-button{width:36px;height:36px;display:grid;place-items:center;background:#f1ede2dd;border:1px solid #d6d4c5;border-radius:50%;font-size:12px}.round-button:hover{background:#fff8e6}.hint{position:absolute;left:50%;bottom:31px;transform:translateX(-50%);white-space:nowrap;font-size:10px;letter-spacing:.6px;background:#f4f0e6e8;border:1px solid #eeeadc88;border-radius:40px;padding:11px 20px;z-index:23;color:#69715f;box-shadow:0 2px 15px #2633260d}.hint i{margin:0 10px;color:#a6a78e}.cursor-icon{font-size:17px;margin-right:8px}.bottom-bar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px;border-top:1px solid #e4dfd0;position:relative;z-index:25}.location{display:flex;align-items:center;gap:12px;min-width:180px;font-size:12px;letter-spacing:2px}.location small{display:block;font:8px sans-serif;letter-spacing:1.4px;color:#989b8a;margin-top:7px}.compass{font-size:31px;color:#7b8975}.places{display:flex;padding:5px;border:1px solid #dadbce;border-radius:6px;gap:5px}.places button{display:flex;align-items:center;gap:8px;padding:11px 20px;font-size:11px;border-radius:3px;color:#7b8575}.places svg{width:16px;height:16px}.places button.active{background:#405344;color:#f7f4e8;box-shadow:0 2px 5px #1e302111}.places button:hover:not(.active){background:#e5e7db}.sound-button{display:flex;gap:10px;align-items:center;justify-content:flex-end;min-width:180px;font-size:11px;color:#7a8274}.sound-bars{display:flex;align-items:center;gap:2px;height:16px}.sound-bars b{width:2px;height:3px;background:#768c6c}.sound-button[aria-pressed=true] b{animation:bars 1s infinite alternate}.sound-bars b:nth-child(2){animation-delay:.3s!important}.sound-bars b:nth-child(3){animation-delay:.7s!important}.back-button{position:absolute;left:38px;top:25px;z-index:30;background:#f2ede0e8;padding:11px 18px;border:1px solid #e3decb;font-size:11px;border-radius:3px}.interior .scene-intro{top:90px;background:linear-gradient(90deg,#f4eee0db,#f4eee000);padding:20px 60px 25px 22px;left:16px}.interior .scene-intro h1{font-size:30px}.interior .place-pin,.interior .light{display:none}.interior #rain{opacity:.09}.footstep{position:absolute;border:1px solid #ffffe4;border-radius:50%;width:30px;height:12px;opacity:0;pointer-events:none}.footstep.show{animation:step .9s forwards}dialog{border:0;padding:0;color:#eadfc6;box-shadow:0 30px 100px #0005;max-height:90svh}dialog::backdrop{background:#09181355;backdrop-filter:blur(5px)}.profile-dialog{width:650px;border-radius:14px;border:1px solid #ad9e78;background:var(--navy);overflow:visible}.profile-dialog[open]{display:grid;grid-template-columns:44% 56%;animation:modal-in .3s ease}.close-button{position:absolute;right:14px;top:14px;border:1px solid #91a1a440;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;z-index:4;color:inherit}.close-button:hover{background:#ffffff15}.close-button svg{width:19px}.profile-art{position:relative;overflow:hidden;border-radius:13px 0 0 13px;min-height:450px;background:#aca48c var(--embedded-cafe) center/cover}.profile-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 65%,#0b1d2c66)}.profile-art img{position:absolute;height:115%;width:145%;object-fit:contain;bottom:-18%;left:-25%;filter:drop-shadow(0 5px 20px #0004)}.profile-art.ghost{background-image:var(--embedded-grocery)}.profile-art.ghost img{height:80%;width:100%;left:0;bottom:5%}.story-label{position:absolute;bottom:19px;left:19px;background:#102633d9;padding:9px 12px;z-index:2;letter-spacing:2px;font:8px sans-serif;border:1px solid #b09f6855}.profile-content{padding:38px 28px 24px}.profile-content .eyebrow{color:#b2cdbd;font-size:8px}.profile-content h2{font:33px var(--serif);margin:10px 0 8px}.profile-status{font-size:9px;color:#a8baa9}.profile-content h3{font:20px/1.6 var(--serif);margin:24px 0 12px;font-weight:400}.profile-content p{font-size:11px;line-height:1.9;color:#b8c7cb;margin:0 0 15px}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.tags span{border:1px solid #8fa9a230;padding:5px 8px;font-size:9px;color:#9cacaa}.primary-button,.outline-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 17px;border-radius:30px;margin-top:10px;font-size:11px}.primary-button{background:#c4b38c;color:#142b30}.outline-button{border:1px solid #b6a275;background:#e7d6b20d;color:#e0d6bd}.outline-button span,.primary-button span{margin-left:auto}.outline-button svg{width:16px;height:16px}.story-button{padding:15px 0 0;font-size:10px;color:#aebcc0;letter-spacing:.5px}.paper-dialog{background:#f4f0e5;color:var(--ink);width:580px;padding:45px 38px 30px;border:1px solid #c6bda5;border-radius:8px}.paper-dialog .eyebrow{font-size:8px;color:#93927b}.paper-dialog h2{font:30px var(--serif);letter-spacing:3px;margin:15px 0}.paper-subtitle{font-size:12px;color:#858675;line-height:1.8}.journal-person{display:flex;align-items:center;gap:18px;border-top:1px solid #ded9ca;padding:16px 0;text-align:left;width:100%}.journal-person img{width:50px;height:65px;object-fit:contain;background:#d8d9c7;border-radius:50%}.journal-person h3{font:18px var(--serif);margin:0 0 5px}.journal-person p{font-size:11px;color:#838b78;margin:0}.journal-person>span{margin-left:auto}.journal-empty{padding:30px 0;font-size:12px;color:#858675}.keepsakes{border-top:1px solid #ddd7c5;padding-top:18px;margin-top:10px;font-size:12px;line-height:2.3}.keepsakes small{font-size:10px;color:#87917e}.illustrated-map{position:relative;background:#e6e5d5;border:1px solid #d3d4bf;min-height:250px;display:flex;align-items:center;justify-content:space-around;gap:10px;margin:25px 0}.illustrated-map button{position:relative;z-index:1;font-size:40px;color:#6c7f60}.illustrated-map strong{font-size:12px;display:block;margin:10px 0;font-weight:400}.illustrated-map small{font-size:9px;display:block;color:#8b907a}.map-road{position:absolute;width:100%;height:40px;border-block:1px dashed #baad86;background:#d4cbb5;top:60%;transform:rotate(-8deg)}.toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%,10px);padding:13px 23px;border-radius:6px;background:#142d29ed;color:#f3ecd9;font-size:12px;opacity:0;transition:.25s;pointer-events:none;z-index:1000;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.call-dialog{width:800px;height:650px;max-height:94svh;background:#10242a;border:1px solid #798477;border-radius:16px;overflow:hidden}.call-top{position:absolute;inset:20px 22px auto;z-index:3;display:flex;align-items:center;gap:15px;font-size:11px}.demo-label{background:#172d2bd9;border:1px solid #b8b68b70;padding:7px 11px;border-radius:20px;color:#e8dfbd}.call-top .close-button{top:0;right:0}.remote-scene{height:100%;background:linear-gradient(#26392a22,#0b212be0),var(--embedded-cafe) center/cover;position:absolute;inset:0}.remote-scene>img{height:85%;width:75%;object-fit:contain;position:absolute;left:12%;top:0;animation:breathe 6s ease-in-out infinite;filter:drop-shadow(10px 0 20px #142c3b50)}.call-name{position:absolute;top:90px;left:30px;text-shadow:0 2px 10px #000}.call-name small{font-size:10px;letter-spacing:1px}.call-name h2{font:36px var(--serif);margin:9px 0}.local-video{position:absolute;right:24px;top:78px;width:135px;height:100px;border:1px solid #b7b99b55;border-radius:8px;background:#152a2fd9;overflow:hidden;z-index:2}.local-video video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}#cameraPlaceholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font:20px var(--serif);background:#1c3034}#cameraPlaceholder span{font:9px sans-serif;color:#93aaa9;margin-top:10px}.call-dialogue{position:absolute;bottom:143px;left:8%;right:8%;text-align:center;padding:15px;background:#11282bd9;border:1px solid #9ca88a44;border-radius:8px}.call-dialogue p{font:16px/1.7 var(--serif);margin:0 0 14px}.call-dialogue button{font-size:11px;border:1px solid #c2b58e66;padding:8px 14px;margin:3px;border-radius:20px}.call-dialogue button:hover{background:#d3c19722}.call-controls{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);display:flex;gap:25px}.call-controls button{background:#f5e8cc1c;border:1px solid #e6d6b640;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;position:relative}.call-controls button span{position:absolute;bottom:-20px;font-size:9px;white-space:nowrap}.call-controls button[aria-pressed=true]{background:#e1d3af;color:#1e3536}.call-controls button.hangup{background:#9e5651;border-color:#a9625c}.call-disclaimer{position:absolute;bottom:1px;width:100%;text-align:center;font-size:9px;color:#a7b4ad}.paused .character-art,.paused .light,.paused .pin-dot{animation-play-state:paused}@keyframes walk{0%,100%{transform:translateY(0) rotate(-.7deg)}50%{transform:translateY(-3px) rotate(.7deg)}}@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}@keyframes glow{50%{opacity:.5}}@keyframes pulse{50%{box-shadow:0 0 0 11px #fff8d308}}@keyframes bars{to{height:15px}}@keyframes modal-in{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes step{0%{opacity:1;transform:scale(.3)}100%{opacity:0;transform:scale(3)}}@keyframes breathe{50%{transform:translateY(-7px) rotate(.5deg)}}@media(max-width:760px){.topbar{height:65px;padding:0 18px}.brand{font-size:19px}.brand small{font-size:6px}.brand-mark{width:31px;height:36px;font-size:22px}.weather{display:none}.stage{height:calc(100svh - 146px);min-height:0}.scene-intro{left:22px;top:25px}.scene-intro h1{font-size:27px;letter-spacing:2px}.scene-intro .eyebrow{font-size:7px}.scene-intro p{max-width:230px;line-height:1.8;font-size:10px}.scene-intro>span,.intro-rule{display:none}.bottom-bar{height:81px;padding:0 15px;gap:7px}.location{display:none}.places{gap:0;padding:3px}.places button{padding:12px 10px;font-size:10px;gap:5px}.sound-button{min-width:0;font-size:10px;gap:5px}.sound-bars{display:none}.hint{bottom:26px;max-width:calc(100% - 28px);font-size:9px;padding:10px 12px;white-space:normal;line-height:1.8}.hint i{margin:0 4px}.scene-tools{right:20px;bottom:83px;gap:6px}.scene-tools button{width:31px;height:31px}.place-pin>span:last-child{padding:8px;font-size:10px}.place-pin small{font-size:6px}.place-pin b{margin-left:4px}.name-tag{font-size:11px;padding:6px 9px}.name-tag em{display:none!important}.profile-dialog{width:calc(100% - 28px);max-width:480px;overflow:auto}.profile-dialog[open]{grid-template-columns:40% 60%}.profile-content{padding:36px 18px 20px}.profile-content h2{font-size:28px}.profile-content h3{font-size:17px}.profile-content p{font-size:10px}.profile-art{min-height:420px}.profile-art img{width:210%;left:-55%;height:100%;bottom:-3%}.profile-art.ghost img{width:140%;left:-20%;height:70%;bottom:15%}.tags{gap:4px;margin-bottom:15px}.tags span{font-size:8px;padding:4px}.paper-dialog{width:calc(100% - 30px);padding:40px 22px 20px}.paper-dialog .eyebrow{font-size:6px}.call-dialog{width:calc(100% - 20px);height:700px;max-height:92svh}.call-name{top:78px;left:24px}.call-name h2{font-size:28px}.call-name small{font-size:8px}.local-video{width:95px;height:80px;right:18px;top:80px}.remote-scene>img{width:110%;left:-5%;top:20px}.call-dialogue{left:15px;right:15px;bottom:140px}.call-dialogue p{font-size:14px}.call-dialogue button{font-size:10px;padding:7px 10px}.call-disclaimer{font-size:8px}.back-button{left:22px}.interior .scene-intro{left:0;top:80px;padding:15px 30px 20px 22px}.interior .scene-intro h1{font-size:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
[hidden]{display:none!important}

.stage{overflow:clip}.world{margin:0}.profile-dialog,.paper-dialog{overscroll-behavior:contain}



/* The original palette, artwork, layout and profiles remain in style.css. */
@property --paint-edge{syntax:'<percentage>';inherits:false;initial-value:-10%}
.color-gate{position:fixed;inset:0;z-index:200;background:#555b51;overflow:hidden;color:#f3f0e7;transition:opacity .8s,visibility .8s}.gate-image{position:absolute;inset:0;background:var(--embedded-street) center 52%/cover}.gate-mono{filter:grayscale(1)}.gate-color{--paint-edge:-10%;clip-path:polygon(0 0,var(--paint-edge) 0,calc(var(--paint-edge) + 2%) 8%,calc(var(--paint-edge) - 1%) 18%,calc(var(--paint-edge) + 3%) 31%,var(--paint-edge) 45%,calc(var(--paint-edge) + 2%) 61%,calc(var(--paint-edge) - 1%) 74%,calc(var(--paint-edge) + 3%) 90%,var(--paint-edge) 100%,0 100%)}.gate-shade{position:absolute;inset:0;background:linear-gradient(90deg,#17221d70,#17221d08 80%);transition:opacity 1s}.gate-brand{position:absolute;left:5%;top:6%;display:flex;align-items:center;gap:14px;font:22px var(--serif);letter-spacing:5px}.gate-brand .brand-mark{border-color:#f3f0e799}.gate-brand small{display:block;font:7px sans-serif;letter-spacing:2px;margin-top:7px}.gate-copy{position:absolute;left:12%;top:50%;transform:translateY(-42%);transition:opacity .6s,filter .6s}.gate-copy>p{font:9px sans-serif;letter-spacing:3px}.gate-copy h1{font:56px/1.45 var(--serif);letter-spacing:7px;font-weight:400;margin:25px 0 18px;text-shadow:0 2px 20px #17221d33}.gate-copy h1 em{font-style:normal}.gate-copy>span{font-size:12px;letter-spacing:2px;opacity:.88}.gate-copy>small{display:block;font-size:10px;letter-spacing:1px;opacity:.8;margin-top:20px}#colorIt{display:flex;gap:25px;align-items:center;margin-top:38px;padding:14px 23px 14px 17px;background:#f3f0e7;color:#354239;border:1px solid #f3f0e7;border-radius:4px;box-shadow:0 8px 30px #17221d22;font:13px sans-serif;letter-spacing:4px;transition:transform .3s,box-shadow .3s}#colorIt:hover{transform:translateY(-4px);box-shadow:0 12px 40px #17221d55}#colorIt b{font:24px var(--serif);margin-left:30px}.paint-orbit{width:28px;height:28px;border:1px solid #a6ab96;border-radius:50%;display:grid;place-items:center;font-size:19px;animation:paint-orbit 12s linear infinite}.gate-bottom{position:absolute;bottom:6%;left:5%;right:5%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;align-items:center}.gate-bottom button{font-size:11px;color:inherit;border-bottom:1px solid #f3f0e766;padding:8px 0;letter-spacing:1px}.color-gate.painting .gate-color{animation:paint-wipe 2.1s cubic-bezier(.25,.1,.18,1) forwards}.color-gate.painting .gate-shade{opacity:0}.color-gate.painting .gate-copy{opacity:0;filter:blur(4px)}.color-gate.gone{opacity:0;visibility:hidden;pointer-events:none}.at-gate .stage,.at-gate .bottom-bar{pointer-events:none}.world{transform-origin:0 0;transition:opacity .45s;touch-action:none}.stage{touch-action:none;cursor:grab}.stage.dragging{cursor:grabbing}.stage.changing .world{transform:none}.character-art,.chestnut .character-art{animation:none!important}.character-art canvas{display:block;width:100%;height:auto;pointer-events:none}.character.rig-ready .character-art>img{display:none}.pedestrian{position:absolute;transform:translate(-50%,-100%);pointer-events:none;will-change:left,top}.pedestrian canvas{width:100%;height:auto;display:block;filter:drop-shadow(3px 5px 2px #26362c18)}.character,.place-pin{cursor:pointer}.scene-intro{transition:opacity .4s}.stage.exploring .scene-intro{opacity:.18}.stage.exploring .scene-intro:hover{opacity:1}.road-marker{position:absolute;z-index:12;width:55px;height:23px;border:1px solid #f3f0e7bb;border-radius:50%;background:#f3f0e722;pointer-events:none;opacity:0;transform:translate(-50%,-50%)}.road-marker.active{animation:destination 1.4s ease-out}.walk-cursor{position:absolute;width:22px;height:9px;border:1px solid #f3f0e799;border-radius:50%;pointer-events:none;z-index:99;display:none;transform:translate(-50%,-50%)}.stage:hover .walk-cursor{display:block}.delete-person{display:block;margin-top:5px;font-size:9px;opacity:.7}.scene-tools{gap:8px}.hint{font-size:9px}.at-gate .character-art{visibility:hidden}
@keyframes paint-wipe{from{--paint-edge:-10%}to{--paint-edge:110%}}@keyframes paint-orbit{to{transform:rotate(360deg)}}@keyframes destination{0%{opacity:.9;transform:translate(-50%,-50%) scale(.5)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.7)}}
@media(max-width:760px){.gate-copy{left:9%;right:8%}.gate-copy h1{font-size:42px}.gate-copy>span{font-size:10px;letter-spacing:1px}.gate-brand{left:8%;top:5%}.gate-bottom{left:8%;right:8%;bottom:5%}.gate-bottom>span{font-size:6px}.gate-image{background-position:51% center}#colorIt{padding:13px 18px;gap:16px}#colorIt b{margin-left:15px}.hint{font-size:8px;max-width:calc(100% - 30px)}}
@media(prefers-reduced-motion:reduce){.color-gate.painting .gate-color{animation:none;--paint-edge:110%}.gate-copy{transition:none}}
#waterReveal{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.route-layer{position:absolute;inset:0;pointer-events:none;z-index:14}.route-portal{position:absolute;transform:translate(-50%,-50%);padding:14px 18px;display:flex;align-items:center;flex-direction:column;gap:7px;pointer-events:auto;white-space:nowrap}.route-label{padding:5px 9px;background:#f3f0e7dd;border:1px solid #d9d9cb99;font-size:9px;letter-spacing:.3px;opacity:.85;transition:opacity .2s;border-radius:3px}.route-portal:hover .route-label,.route-portal:focus-visible .route-label{opacity:1;background:#f3f0e7}.journey-status{position:absolute;bottom:85px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:2px;padding:13px 22px;background:#f3f0e7e6;border:1px solid #d9d9cb;border-radius:4px;pointer-events:none;opacity:0;transition:opacity .3s;z-index:120}.travelling .journey-status{opacity:1}.travelling .route-layer,.travelling .scene-tools{pointer-events:none;opacity:0}.travelling .scene-intro{opacity:0}.travelling .world{filter:blur(.6px)}.outer-map{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.outer-map button{border:1px solid #d9d9cb;border-radius:4px;padding:16px 5px;background:#e6e5d55c}.outer-map strong{display:block;font-size:11px;font-weight:400;margin:7px 0}.outer-map small{font-size:9px;color:#7d8175}.outer-map button:hover{background:#e6e5d5}.paper-dialog{overflow:auto}.interior .route-layer{display:none}
@media(max-width:760px){.route-label{font-size:8px;padding:4px 6px}.route-portal{padding:12px 5px}.journey-status{bottom:135px;font-size:10px}.outer-map{gap:5px}}
.deep-street .scene-intro{top:85px}.deep-street .scene-intro h1{font-size:30px}.deep-street .scene-intro p{max-width:270px;line-height:1.8}.travelling .character .name-tag{opacity:0}
.route-layer{z-index:110}.travelling .world button{pointer-events:none}
@media(max-width:760px){.deep-street .scene-intro{top:83px}.deep-street .scene-intro h1{font-size:25px}.deep-street .scene-intro p{max-width:220px}}



.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.minimal-gate #colorIt{position:absolute;left:50%;top:72%;transform:translate(-50%,-50%);display:block;white-space:nowrap;margin:0;padding:15px 2px;background:none;border:0;border-bottom:1px solid #f3f0e7a8;border-radius:0;box-shadow:none;color:#f3f0e7;font:italic 42px/1.3 var(--serif);letter-spacing:1.7px;text-shadow:0 2px 15px #17221d7a;transition:opacity .5s,letter-spacing .5s,border-color .4s}
.minimal-gate #colorIt:hover{transform:translate(-50%,-50%);box-shadow:none;letter-spacing:2.8px;border-color:#f3f0e7}
.minimal-gate.painting #colorIt{opacity:0;pointer-events:none}
.stage{cursor:default}.stage.dragging{cursor:grabbing}.world{transform-origin:0 0;transition:opacity .45s;touch-action:none}.stage.changing .world{transform:none}.scene-tools{gap:10px}
.character.rosie:not(.scenic-character) .character-art{animation:breathe 6s ease-in-out infinite!important}.character.chestnut .character-art{animation:float 3.2s ease-in-out infinite!important}.paused .character-art,.character.stopped .character-art{animation-play-state:paused!important}
.shopfront-character:not(.scenic-character) .character-art{animation:door-breathe 8s ease-in-out infinite;transform-origin:50% 100%;filter:saturate(.83) contrast(.96) drop-shadow(2px 4px 3px #26362c2c)}
.shopfront-character:not(.scenic-character):is(:hover,:focus-visible) .character-art{animation-play-state:paused;filter:drop-shadow(0 0 7px #fff4cb78)}
.shopfront-character:not(.scenic-character):before{bottom:0;background:#32463842}
#evan.shopfront-character:not(.scenic-character) .name-tag{bottom:43px}
.paused .shopfront-character:not(.scenic-character) .character-art{animation-play-state:paused}
@media(max-width:760px){.shopfront-character:not(.scenic-character) .name-tag{bottom:48px}#evan.shopfront-character:not(.scenic-character) .name-tag{bottom:68px}#amy.shopfront-character:not(.scenic-character) .name-tag{left:36%}}
@media(prefers-reduced-motion:reduce){.shopfront-character:not(.scenic-character) .character-art{animation:none}}
.scenic-character .character-art,.scenic-character:before{display:none!important}.scenic-character .name-tag{bottom:0;z-index:2}.scenic-character:focus-visible{outline:1px solid #f3f0e7aa;outline-offset:3px;border-radius:40%}
.profile-art.scene-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none}.profile-art.scene-portrait:after{background:linear-gradient(transparent 80%,#0b1d2c66)}
.stage[data-scene=cafe] .scene-intro{left:auto;right:32px;top:80px;width:315px;padding:20px 24px 24px;background:linear-gradient(90deg,#f4eee0db,#f4eee025)}
.route-layer{z-index:110}.travelling .world button{pointer-events:none}.hint{font-size:9px}
.stage[data-scene=bookstreet] .scene-intro{left:auto;right:38px}
@media(max-width:760px){.minimal-gate #colorIt{top:74%;font-size:31px;letter-spacing:1px}.minimal-gate #colorIt:hover{letter-spacing:1.4px}.stage[data-scene=cafe] .scene-intro{left:auto;right:16px;top:70px;width:205px;padding:12px 16px;background:linear-gradient(90deg,#f4eee0dc,#f4eee04d)}.stage[data-scene=cafe] .scene-intro h1{font-size:22px}.stage[data-scene=cafe] .scene-intro p{font-size:9px}.profile-art.scene-portrait img{width:100%;height:100%;left:0;bottom:0}.hint{font-size:8px}}

.journey-status:empty{visibility:hidden}



/* Static PHILO AI masthead, matching the supplied reference. */
.topbar.philo-header{height:76px;padding:0 5vw 0 38px;background:#f8f7f3;border:0;gap:36px;color:#0c111a}
.philo-wordmark{display:flex;align-items:center;flex-shrink:0}
.philo-wordmark img{display:block;width:150px;height:auto}
.philo-nav{display:flex;align-items:center;gap:44px;white-space:nowrap;font:14px/1.4 Arial,Helvetica,sans-serif;color:#25262b}
.philo-nav :is(span,a){position:relative;padding:10px 0;cursor:default;user-select:none}
.philo-nav a{color:inherit;text-decoration:none;cursor:pointer}
.philo-nav .selected:after{content:'';position:absolute;left:0;right:0;bottom:3px;height:1px;background:#25262b}
.stage{height:calc(100svh - 76px);min-height:0}
.stage[data-scene=street] #rosie .character-art{animation:door-breathe 7s ease-in-out infinite!important}
.stage[data-scene=street] #chestnut .character-art,
.stage[data-scene=street] #chestnut::before {
  translate: var(--nuts-drift, none);
}
.stage[data-scene=street] .cafe-pin{left:78%;top:59%}
@keyframes door-breathe{50%{transform:translateY(-2px) rotate(.3deg)}}
@media(max-width:960px) and (min-width:761px){.topbar.philo-header{padding:0 30px}.philo-nav{gap:26px}.philo-wordmark img{width:132px}}
@media(max-width:760px){.topbar.philo-header{height:96px;padding:13px 16px 9px;flex-direction:column;justify-content:center;gap:12px}.philo-wordmark{align-self:flex-start}.philo-wordmark img{width:126px}.philo-nav{justify-content:space-between;width:100%;max-width:420px;gap:12px;font-size:11px}.philo-nav :is(span,a){padding:5px 0}.philo-nav .selected:after{bottom:0}.stage{height:calc(100svh - 96px)}}

.scene-actions{position:absolute;top:28px;right:36px;display:flex;align-items:center;gap:12px;z-index:125}
.scene-actions .sound-button{height:40px;padding:0 14px;min-width:0;background:#f5f1e7e6;border:1px solid #f5f1e760;border-radius:0;white-space:nowrap;font-size:10px;gap:9px}
.scene-actions .sound-button:hover{background:#f5f1e7}
.click-splash{position:fixed;left:var(--splash-x);top:var(--splash-y);width:1px;height:1px;pointer-events:none!important;z-index:9999;color:#edf2e8}
.click-splash .water-ring{position:absolute;left:0;top:1px;width:22px;height:8px;border:.7px solid currentColor;border-radius:50%;opacity:0;animation:water-spread 520ms cubic-bezier(.22,.55,.35,1) forwards}
@keyframes water-spread{0%{opacity:0;transform:translate(-50%,-50%) scale(.25)}16%{opacity:.48}55%{opacity:.28}100%{opacity:0;transform:translate(-50%,-50%) scale(1.2)}}
@media(max-width:760px){.scene-actions{top:auto;bottom:116px;left:16px;right:16px;justify-content:flex-end;gap:8px}.scene-actions .sound-button{height:35px;padding:0 11px;font-size:9px}.scene-tools{bottom:70px}.hint{bottom:20px}}
@media(prefers-reduced-motion:reduce){.click-splash .water-ring{animation:none;opacity:.3;transform:translate(-50%,-50%) scale(.55)}}



.call-dialog:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call){width:100vw;height:100svh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#1d241e;animation:gateway-open .6s ease both;color:#f2eadc}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .remote-scene{background-color:#4d4b3d!important}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .remote-scene>img{display:none!important}
.painting-gateway{position:absolute;inset:0;overflow:hidden;background:var(--embedded-grocery) 58% 70%/cover;--gateway-progress:0}
.painting-gateway-canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .3s}
.painting-gateway.ready .painting-gateway-canvas{opacity:1}
.gateway-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#111d1880,transparent 28%,transparent 78%,#111d1838);transition:background .8s}
.gateway-copy{position:absolute;left:20px;right:20px;bottom:8.5%;text-align:center;text-shadow:0 2px 20px #102018;transition:opacity .7s,transform .7s;pointer-events:none}
.gateway-eyebrow{font-size:9px;letter-spacing:3.2px;color:#e9d6b7}
.gateway-copy p{font:26px/1.6 var(--serif);letter-spacing:3px;margin:14px 0 19px}
.gateway-copy small{font-size:10px;letter-spacing:1.6px;color:#e8e0d1}
.gateway-progress{display:block;width:110px;height:1px;background:#fff4dc35;margin:0 auto 15px;overflow:hidden}
.gateway-progress i{display:block;width:100%;height:100%;background:#ead6ac;transform:scaleX(var(--gateway-progress));transform-origin:left}
.gateway-skip{position:absolute;top:27px;right:90px;z-index:6;font-size:11px;letter-spacing:1px;color:#eee8dc;padding:9px 5px;border-bottom:1px solid #eee8dc66;text-shadow:0 1px 10px #16271f}
.gateway-skip:hover{color:white;border-color:white}
.gateway-skip[hidden]{display:none}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-top{inset:28px 32px auto;z-index:5;text-shadow:0 1px 8px #14221d}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-top .close-button{position:absolute;right:0;top:-4px;background:#11231d7a;border-color:#f4eadc5c}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-top .demo-label,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) #callTime,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .local-video,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-controls,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-disclaimer{transition:opacity .8s ease;opacity:1}
:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .call-top .demo-label,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) #callTime,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .call-name,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .local-video,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .call-dialogue,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .call-controls,:is(.chestnut-connecting,.rosie-connecting,.evan-connecting,.flora-connecting,.vangogh-connecting,.amy-connecting,.noah-connecting) .call-disclaimer{opacity:0;pointer-events:none;visibility:hidden}
:is(.chestnut-connected,.rosie-connected,.evan-connected,.flora-connected,.vangogh-connected,.amy-connected,.noah-connected) .gateway-copy{opacity:0;transform:translateY(10px);visibility:hidden;transition:opacity .7s,transform .7s,visibility 0s .7s}
:is(.chestnut-connected,.rosie-connected,.evan-connected,.flora-connected,.vangogh-connected,.amy-connected,.noah-connected) .gateway-shade{background:linear-gradient(90deg,#10201864,transparent 38%),linear-gradient(0deg,#0b1b17b3,transparent 29%,transparent 78%,#111d184d)}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name{top:98px;left:32px}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name h2{font-size:38px;margin-top:8px}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .local-video{top:94px;right:32px;width:142px;height:104px;background:#16271f9c;border-color:#e5dbc333;backdrop-filter:blur(8px)}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) #cameraPlaceholder{background:#182b248c}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue{left:32px;right:auto;bottom:143px;width:min(360px,31vw);padding:20px;background:#172820c7;border-color:#d8c6a42b;backdrop-filter:blur(16px);text-align:left;border-radius:12px}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue p{font-size:16px;line-height:1.9}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue button{margin:4px 3px 0 0;font-size:10px;padding:8px 11px}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-controls{left:32px;transform:none;bottom:65px;gap:24px;z-index:2}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-controls button{backdrop-filter:blur(12px)}
:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-disclaimer{width:auto;left:32px;right:20px;bottom:10px;text-align:left;color:#d5dacbc7;font-size:9px}
@keyframes gateway-open{from{opacity:0}to{opacity:1}}
@media(max-width:760px){
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-top{inset:22px 18px auto;font-size:10px;gap:10px}
 .gateway-skip{top:21px;right:69px;font-size:10px}
 .gateway-copy{bottom:12%}.gateway-copy p{font-size:20px;letter-spacing:1px}.gateway-eyebrow{font-size:7px;letter-spacing:2px}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name{top:84px;left:20px}:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name h2{font-size:30px}:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-name small{font-size:9px}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .local-video{top:81px;right:18px;width:78px;height:96px}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue{left:16px;right:16px;bottom:128px;width:auto;padding:13px 15px;border-radius:10px;text-align:center}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue p{font-size:13px;line-height:1.6;margin-bottom:8px}:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-dialogue button{font-size:9px;padding:6px 9px}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-controls{bottom:61px;left:50%;transform:translateX(-50%);gap:26px}
 :is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .call-disclaimer{left:12px;right:12px;text-align:center;bottom:6px;font-size:8px}
 :is(.chestnut-connected,.rosie-connected,.evan-connected,.flora-connected,.vangogh-connected,.amy-connected,.noah-connected) .gateway-shade{background:linear-gradient(0deg,#0b1b17bd,transparent 46%,transparent 78%,#111d184d)}
}
@media(prefers-reduced-motion:reduce){.call-dialog:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call){animation:none}.painting-gateway-canvas,:is(.chestnut-call,.rosie-call,.evan-call,.flora-call,.vangogh-call,.amy-call,.noah-call) .gateway-copy{transition:none}}

.rosie-call .painting-gateway{background-image:var(--embedded-cafe-rosie);background-position:31% 45%}
.rosie-call .gateway-copy{bottom:5.5%}
.rosie-call.rosie-connected .gateway-shade{background:linear-gradient(90deg,#13231d66,transparent 37%),linear-gradient(0deg,#101d18a3,transparent 31%,transparent 82%,#111d1844)}
@media(max-width:760px){.rosie-call .gateway-copy{bottom:8%}.rosie-call.rosie-connected .gateway-shade{background:linear-gradient(0deg,#101d18c7,transparent 43%,transparent 81%,#111d1844)}}


.profile-dialog{max-height:90svh}.profile-content{max-height:88svh;overflow:auto;scrollbar-width:thin}.character-question{margin:14px 0 20px;border-top:1px solid #cbb99535;border-bottom:1px solid #cbb99535;padding:12px 0;color:#d5cfbf}.character-question summary{font-size:11px;letter-spacing:1px;cursor:pointer;color:#d3bd92}.character-question p{font-size:12px;line-height:1.9;margin:12px 0}.character-question small{font-size:9px;color:#a5b7b7;letter-spacing:1px}.character-question p:last-child{margin-bottom:0}
#mapDialog{width:min(780px,calc(100vw - 32px));max-height:90svh;padding:38px 32px 26px}#mapDialog h2{font-size:30px;margin:12px 0 18px}.map-street-link{font-size:11px;padding:9px 0;border-bottom:1px solid var(--border)}.outer-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.outer-map .cast-map-card{display:flex;align-items:center;text-align:left;gap:14px;padding:0;overflow:hidden;background:#efeadf}.cast-map-card>img{width:86px;height:102px;object-fit:cover;flex-shrink:0}.cast-map-card>span{padding:10px 10px 10px 0;min-width:0}.cast-map-card strong{font:20px var(--serif);margin:0 0 7px}.cast-map-card small{display:block;font-size:10px;line-height:1.8}.cast-map-card em{display:block;font:9px sans-serif;letter-spacing:1px;color:#657661;margin-top:8px}.cast-map-card:hover{box-shadow:0 3px 12px #35423912}.outer-map .cast-map-card:last-child{grid-column:1/-1}.outer-map .cast-map-card:last-child>img{width:86px}
.written-memories{border-top:1px solid var(--border);margin-top:22px;padding-top:12px}.written-memories h3{font:19px var(--serif)}.written-memories article{padding:12px 0;border-bottom:1px solid var(--border)}.written-memories strong{font-size:11px;font-weight:500}.written-memories p{font:13px/1.8 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere;color:#72796b}
.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro{left:32px;right:auto;top:83px;max-width:360px;padding:18px 22px;background:linear-gradient(90deg,#f3f0e7e5,#f3f0e7a3 80%,#f3f0e700);text-shadow:none}.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro h1{font-size:28px;letter-spacing:2px;line-height:1.55}.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro p{max-width:280px;line-height:1.9}.stage[data-scene=fountain] .name-tag,.stage[data-scene=flowers] .name-tag{bottom:12%}
@media(max-width:760px){.profile-dialog[open]{grid-template-columns:34% 66%}.profile-content{padding:36px 16px 20px}.profile-content h3{font-size:17px;line-height:1.6}.profile-content p{font-size:11px;line-height:1.8}.character-question p{font-size:11px}.profile-art{min-height:100%}#mapDialog{padding:34px 20px 20px}#mapDialog h2{font-size:24px}.outer-map{gap:8px}.outer-map .cast-map-card{gap:9px}.cast-map-card>img,.outer-map .cast-map-card:last-child>img{width:58px;height:102px}.cast-map-card strong{font-size:17px}.cast-map-card small{font-size:9px}.cast-map-card em{font-size:8px}.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro{left:16px;top:63px;padding:10px 13px;max-width:248px}.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro h1{font-size:22px;letter-spacing:1px}.stage:is([data-scene=fountain],[data-scene=flowers],[data-scene=tailor],[data-scene=bookshop]) .scene-intro p{font-size:9px;max-width:215px}}


/* Open the live framing under the fading masthead strip. */
.color-gate.street-handoff{
  clip-path:inset(0 0 calc(100% - var(--entry-masthead)) 0);
}
@keyframes street-emerge{from{opacity:0}}
.street-revealing :is(#rain,.scene-vignette,.light,.character,.name-tag,.place-pin,
                      .route-portal,.scene-intro,.scene-actions,.scene-tools,.hint){
  animation:street-emerge var(--entry-fade-duration,950ms) cubic-bezier(.32,0,.38,1)
             var(--entry-fade-delay,0ms) both;
}
.street-revealing .character{--entry-fade-delay:220ms;--entry-fade-duration:1240ms}
.street-revealing #chestnut{--entry-fade-delay:450ms}
.street-revealing .character .name-tag{--entry-fade-delay:960ms;--entry-fade-duration:790ms}
.street-revealing .place-pin{--entry-fade-delay:790ms}
.street-revealing .route-portal{--entry-fade-delay:860ms}
.street-revealing .route-portal:nth-child(2){--entry-fade-delay:980ms}
.street-revealing .route-portal:nth-child(3){--entry-fade-delay:1100ms}
.street-revealing :is(.scene-intro,.scene-actions,.scene-tools){--entry-fade-delay:1090ms}
.street-revealing .hint{--entry-fade-delay:1230ms}
@media(prefers-reduced-motion:reduce){.color-gate.gone{transition:none}}

.rainy-lane-language {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.rainy-lane-language > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rainy-lane-language-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 1;
  inline-size: 156px;
  padding: 5px;
  border: 1px solid #c7c2b1;
  border-radius: 14px;
  background: #f8f7f3;
  box-shadow: 0 6px 20px #09181326;
  color: #354239;
  font-size: 13px;
}
.rainy-lane-language-menu > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  inline-size: 100%;
  min-block-size: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.rainy-lane-language-menu > button[aria-checked="true"] {
  font-weight: 600;
}
.rainy-lane-language-menu > button[aria-checked="true"]::after {
  content: "";
  inline-size: 6px;
  block-size: 11px;
  margin-inline-end: 2px;
  border-inline-end: 2px solid #53664f;
  border-block-end: 2px solid #53664f;
  transform: translateY(-1px) rotate(45deg);
}
.rainy-lane-language-menu > button:is(:hover, :focus-visible, [aria-checked="true"]) {
  background: #e8eadf;
}
.rainy-lane-language-menu > button:focus-visible {
  outline: 2px solid #5776bd;
  outline-offset: -2px;
}
.topbar.philo-header {
  z-index: 201; /* Keep navigation above the opening painting (200). */
  padding-right: calc(clamp(16px, 3.6vw, 54px) + 120px);
}
html[lang="ja"] {
  --serif: Georgia, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}
.minimal-gate #colorIt {
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
}
html[lang="en"] .scene-intro h1 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: .02em;
  line-height: 1.3;
}
html[lang="en"] .scene-intro p {
  max-width: 390px;
  line-height: 1.6;
}
html:is([lang="en"], [lang="ja"]) .route-label {
  max-width: 148px;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}
@media (max-width: 960px) and (min-width: 761px) {
  .philo-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .topbar.philo-header { padding-right: 16px; }
  html[lang="en"] .scene-intro h1 { font-size: 25px; }
  html[lang="en"] .scene-intro p { max-width: 245px; }
  html:is([lang="en"], [lang="ja"]) .route-label { max-width: 108px; }
}


#mapDialog.painted-map-dialog {
  box-sizing: border-box;
  /* Reserve space around the 3:2 artwork for the title and location footer. */
  width: min(1200px, calc(100vw - 28px), max(360px, calc((96svh - 122px) * 1.5 + 42px)));
  max-width: none;
  max-height: 96svh;
  padding: 9px 20px 7px;
  background: #eee7d8;
  border-color: #ad9d7e;
  color: #354238;
  border-radius: 7px;
  --map-current-gold: #fbe4a5;
  --map-current-ink: #2f5043;
  --map-current-rim: #fff4d6;
}

#mapDialog .painted-map-figure { min-width: 0; }

#mapDialog #paintedMapTitle {
  margin: 1px 40px 7px;
  text-align: center;
  font: 400 clamp(20px, 3vw, 30px)/1.2 var(--serif);
  letter-spacing: .045em;
}

.painted-map-current-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 9px auto 0;
  padding-block: 5px;
  color: #314238;
  text-align: center;
  font: 500 clamp(11px, 1.2vw, 13px)/1.3 var(--font-body);
}
.painted-map-current-location[hidden] { display: none; }
.painted-map-current-symbol {
  flex: 0 0 9px;
  height: 9px;
  border: 1px solid var(--map-current-ink);
  border-radius: 50%;
  background: var(--map-current-gold);
  box-shadow: 0 0 0 1px var(--map-current-rim), 0 0 0 2px var(--map-current-ink);
}

#mapDialog .close-button {
  top: 8px;
  right: 17px;
  color: #354238;
  border-color: #5a64554a;
  background: #f5efdf;
}

.painted-map-figure {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  background: #68715e;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 8px #2f342342;
}

.painted-map-figure::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid #302f29ad;
  box-shadow: inset 0 0 0 2px #f0d8aa48;
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.painted-map-figure .painted-map-art,
.painted-map-figure .painted-map-routes,
.painted-map-figure .painted-map-living-cast,
.painted-map-figure .painted-map-destinations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.painted-map-art { object-fit: fill; }
.painted-map-routes, .painted-map-living-cast, .painted-map-destinations { pointer-events: none; }
.painted-map-living-cast { z-index: 1; }

.painted-map-character, .painted-map-pigeon {
  --sprite-height: calc(var(--figure-height) * 2cqw / 3);
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -100%);
}

.painted-map-character {
  --stroll-duration: 12.4s;
  --step-lift: clamp(.7px, .13cqw, 1.6px);
  width: max(24px, calc(var(--sprite-height) * var(--aspect) + 3px));
  height: max(24px, calc(var(--sprite-height) + 1px));
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.painted-map-character img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: var(--sprite-height);
  transform: translateX(-50%);
  transform-origin: center bottom;
  filter: drop-shadow(0 1px 1px #3b2a20a0);
  pointer-events: none;
}

.painted-map-character:hover img, .painted-map-character:focus-visible img {
  filter: drop-shadow(0 1px 1px #372a21) brightness(1.08);
}

/* Waypoint offsets are percentages of the painting relative to each starting point. */
.painted-map-character[data-map-character="rosie"] {
  --way-out-x: -3.4;
  --way-out-y: -1.6;
  --way-stop-x: -6.2;
  --way-stop-y: -2.4;
  --way-back-x: -3.8;
  --way-back-y: -.7;
  --stroll-duration: 14.2s;
}
.painted-map-character[data-map-character="chestnut"] {
  --way-out-x: 3.1;
  --way-out-y: -1.3;
  --way-stop-x: 6.6;
  --way-stop-y: -.5;
  --way-back-x: 3.5;
  --way-back-y: .4;
  --stroll-duration: 10.8s;
}
.painted-map-character[data-map-character="amy"] {
  --way-out-x: -.8;
  --way-out-y: 2.8;
  --way-stop-x: .4;
  --way-stop-y: 6.7;
  --way-back-x: 1.4;
  --way-back-y: 4.2;
  --stroll-duration: 11.8s;
}
.painted-map-character[data-map-character="evan"] {
  --way-out-x: -2.8;
  --way-out-y: .9;
  --way-stop-x: -5.3;
  --way-stop-y: .8;
  --way-back-x: -2.9;
  --way-back-y: .2;
}
.painted-map-character[data-map-character="flora"] {
  --way-out-x: -1.3;
  --way-out-y: 2.8;
  --way-stop-x: -.1;
  --way-stop-y: 7.1;
  --way-back-x: .9;
  --way-back-y: 4.7;
  --stroll-duration: 11.2s;
}
.painted-map-character[data-map-character="noah"] {
  --way-out-x: 2.6;
  --way-out-y: -.8;
  --way-stop-x: 6;
  --way-stop-y: -2.4;
  --way-back-x: 3.3;
  --way-back-y: -2;
  --stroll-duration: 15.2s;
}
.painted-map-character[data-map-character="vangogh"] {
  --way-out-x: 3.4;
  --way-out-y: .4;
  --way-stop-x: 6.6;
  --way-stop-y: -.3;
  --way-back-x: 3.2;
  --way-back-y: -.8;
  --stroll-duration: 13.7s;
}
.painted-map-character:is([data-map-character="noah"], [data-map-character="vangogh"]) {
  --step-lift: .55px;
}

.painted-map-pigeon {
  width: auto;
  max-width: none;
  height: var(--sprite-height);
  transform: translate(-50%, -100%) scaleX(var(--facing));
  transform-origin: center bottom;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.paused) #mapDialog[open] .painted-map-character {
    animation: map-figure-stroll var(--stroll-duration) ease-in-out var(--phase) infinite;
  }
  body:not(.paused) #mapDialog[open] .painted-map-character img {
    animation: map-figure-sway var(--stroll-duration) ease-in-out var(--phase) infinite;
  }
  #mapDialog[open] .painted-map-character:focus-visible,
  #mapDialog[open] .painted-map-character:focus-visible img { animation-play-state: paused; }
  body:not(.paused) #mapDialog[open] .painted-map-pigeon {
    animation: map-pigeon-step 5s ease-in-out var(--phase) infinite;
  }
}

@media (hover: hover) {
  #mapDialog[open] .painted-map-character:hover,
  #mapDialog[open] .painted-map-character:hover img { animation-play-state: paused; }
}

@keyframes map-figure-stroll {
  0%, 9%, 100% { transform: translate(-50%, -100%); }
  31% {
    transform: translate(calc(-50% + var(--way-out-x) * 1cqw), calc(-100% + var(--way-out-y) * 2cqw / 3));
  }
  53%, 63% {
    transform: translate(calc(-50% + var(--way-stop-x) * 1cqw), calc(-100% + var(--way-stop-y) * 2cqw / 3));
  }
  80% {
    transform: translate(calc(-50% + var(--way-back-x) * 1cqw), calc(-100% + var(--way-back-y) * 2cqw / 3));
  }
}

@keyframes map-figure-sway {
  0%, 9%, 23%, 34%, 45%, 53%, 63%, 75%, 88%, 100% { transform: translateX(-50%); }
  16%, 39%, 69%, 81% { transform: translate(-50%, calc(-1 * var(--step-lift))) rotate(.8deg); }
  28%, 49%, 94% { transform: translate(-50%, calc(-1 * var(--step-lift))) rotate(-.8deg); }
}

@keyframes map-pigeon-step {
  0%, 18%, 100% { transform: translate(-50%, -100%) scaleX(var(--facing)); }
  62%, 68% { transform: translate(calc(-50% + var(--facing) * .65cqw), -100%) scaleX(var(--facing)) rotate(4deg); }
}

.painted-map-road {
  fill: none;
  stroke: #f3e3c3;
  opacity: .78;
  stroke-width: 1.3px;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px #27302c);
}

.painted-map-road.one-way {
  stroke: #f0bf79;
  stroke-width: 1.5px;
  stroke-dasharray: 4 4;
  opacity: .96;
}

.painted-map-pin {
  --pin-size: 9px;
  --pin-offset: 7px;
  position: absolute;
  top: var(--y);
  left: var(--x);
  min-height: 28px;
  min-width: 28px;
  width: max-content;
  max-width: 29%;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 3px;
  padding: 3px 2px 2px;
  transform: translate(-50%, calc(-1 * var(--pin-offset)));
  pointer-events: none;
  cursor: pointer;
  color: #fcf5e4;
  font: 500 clamp(11px, 1.35vw, 15px)/1.2 var(--serif);
  text-align: center;
}

.painted-map-pin::before {
  width: var(--pin-size);
  height: var(--pin-size);
  box-sizing: border-box;
  border: 1.5px solid #fff0d5;
  background: var(--pin-fill, #ad8d5b);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #36423a99;
  pointer-events: auto;
  content: "";
}

.painted-map-pin-label {
  display: block;
  padding: 4px 8px;
  background: var(--plaque-fill, #263b31ee);
  border: 1px solid var(--plaque-frame, #d0b790b5);
  border-radius: 3px;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 4px #252a2290;
  pointer-events: auto;
}

.painted-map-pin.label-above {
  align-content: end;
  transform: translate(-50%, calc(-100% + var(--pin-offset)));
}
.painted-map-pin.label-above::before { grid-row: 2; }
.painted-map-pin.label-above .painted-map-pin-label { grid-row: 1; }

.painted-map-pin:is([data-map-location="street"], [data-map-location="courtyard"], [data-map-location="fountain"]) {
  --pin-size: 11px;
  --pin-offset: 8px;
  --pin-fill: #d5ac70;
  --plaque-fill: #233e33;
  --plaque-frame: #ead0a2;
  max-width: 34%;
  font-size: clamp(12px, 1.48vw, 17px);
  font-weight: 600;
}

.painted-map-pin:hover, .painted-map-pin:focus-visible { z-index: 1; }
.painted-map-pin[aria-current="location"] { z-index: 2; }
.painted-map-pin:hover .painted-map-pin-label { background: #455b4b; }

.painted-map-pin[aria-current="location"]::before {
  border-color: var(--map-current-ink);
  background: var(--map-current-gold);
  box-shadow: 0 0 0 2px var(--map-current-ink),
              0 0 0 4px var(--map-current-rim),
              0 0 0 6px var(--map-current-ink),
              0 2px 8px 6px #272f2977;
}

.painted-map-pin[aria-current="location"] .painted-map-pin-label {
  background: #f8eacb;
  color: #253a30;
  border-color: var(--map-current-ink);
  font-weight: 600;
}

.painted-map-pin:focus-visible, .painted-map-character:focus-visible, #mapDialog .close-button:focus-visible {
  outline: 2px solid #b17e3f;
  outline-offset: 2px;
}

@media (max-width: 580px) {
  #mapDialog.painted-map-dialog { width: calc(100vw - 10px); padding: 10px 7px 8px; }
  #mapDialog #paintedMapTitle { margin: 3px 27px 9px; }
  #mapDialog .close-button { right: 9px; top: 8px; }
  .painted-map-pin-label { padding: 2px 4px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  #mapDialog.painted-map-dialog {
    width: min(calc(100vw - 10px), max(310px, calc((96svh - 104px) * 1.5 + 16px)));
    padding: 7px 7px 5px;
  }
  #mapDialog #paintedMapTitle { margin: 0 30px 5px; font-size: clamp(17px, 3vw, 23px); }
  .painted-map-current-location { margin-top: 7px; }
}

@container (max-width: 490px) {
  .painted-map-pin[data-map-location="street"] {
    align-content: end;
    transform: translate(-50%, calc(-100% + var(--pin-offset)));
  }
  .painted-map-pin[data-map-location="street"]::before { grid-row: 2; }
  .painted-map-pin[data-map-location="street"] .painted-map-pin-label {
    grid-row: 1;
    transform: translateY(-9px);
  }
  .painted-map-pin[data-map-location="bookstreet"] {
    width: 28px;
    height: 28px;
    align-content: center;
    padding: 0;
    transform: translate(-50%, -50%);
  }
  .painted-map-pin[data-map-location="bookstreet"] .painted-map-pin-label {
    position: absolute;
    top: 50%;
    left: calc(50% + var(--pin-size) / 2 + 4px);
    width: max-content;
    transform: translateY(calc(-50% - 6px));
    white-space: nowrap;
  }
  .painted-map-pin[data-map-location="bedroom"] { max-width: 34%; }
  .painted-map-pin:is([data-map-location="bedroom"], [data-map-location="fountain"], [data-map-location="grocery"]) .painted-map-pin-label { white-space: nowrap; }
  .painted-map-pin[data-map-location="fountain"] .painted-map-pin-label { transform: translateX(-9px); }
  .painted-map-character { --sprite-height: calc(var(--figure-height) * .83cqw); }
  .painted-map-character[data-map-character="evan"] { top: 76.2%; }
  .painted-map-character[data-map-character="rosie"] {
    left: 70.7%;
    --way-out-x: -2.1;
    --way-out-y: -1.2;
    --way-stop-x: -4.6;
    --way-stop-y: -1.8;
    --way-back-x: -2.7;
    --way-back-y: .2;
  }
}

@media (max-width: 360px) {
  .painted-map-pin { font-size: 10px; }
  .painted-map-pin:is([data-map-location="street"], [data-map-location="courtyard"], [data-map-location="fountain"]) { font-size: 11px; }
  .painted-map-pin-label { padding-inline: 3px; }
}


.scene-tools > .map-preview {
  position: relative;
  display: block;
  flex: none;
  width: clamp(148px, 12.5vw, 180px);
  height: auto;
  min-height: 0;
  padding: 3px;
  border: 1px solid #ac9776;
  border-radius: 5px;
  background: #ede4d0;
  box-shadow: 0 2px 10px #2d251b47, inset 0 1px 0 #fff7e5;
}
.scene-tools > .map-preview:hover {
  background: #fff2d8;
  border-color: #dac397;
}
.map-preview-art {
  position: relative;
  display: block;
  border-radius: 2px;
  background: #7a6b55;
}
.map-preview-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  filter: saturate(.78) brightness(.8);
}
.map-preview-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  --map-road-width: .8px;
  --map-main-road-width: 1.5px;
}
.map-preview-road {
  fill: none;
  stroke: #e6d1a8;
  stroke-width: var(--map-road-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-preview-road-main {
  stroke: #fff1cf;
  stroke-width: var(--map-main-road-width);
}
.map-preview-routes circle {
  fill: #f5dfac;
  stroke: #574333;
  stroke-width: .75;
}
.map-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 3px 1px;
  color: var(--ink);
  font: 11px/1 var(--serif);
}
.map-preview-location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-preview-label::after {
  content: "↗";
  color: #755938;
}
.map-preview-position {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  width: 8px;
  height: 8px;
  translate: -50% -50%;
  border: 1px solid #fff5d7;
  border-radius: 50%;
  background: #f4be73;
  box-shadow: 0 0 0 2px #34291bd9, 0 0 7px #f9c47eaa;
}

@media (max-width: 760px) {
  .scene-tools > .map-preview { width: 108px; padding: 2px; }
  .map-preview-label { padding-top: 3px; font-size: 10px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .scene-tools > .map-preview { width: 50px; padding: 2px; }
  .map-preview-routes { --map-road-width: .5px; --map-main-road-width: .85px; }
  .map-preview-label { display: none; }
  .map-preview-position { width: 6px; height: 6px; box-shadow: 0 0 0 1px #34291bd9; }
}


@font-face {font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/experience/encounters/inline-c7f4ae748af7.woff2") format("woff2");}
@font-face {font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/experience/encounters/inline-d75afdbcd60c.woff2") format("woff2");}
@font-face {font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/experience/encounters/inline-b8f5e0a8bdd6.ttf") format("truetype");}


html[lang="en"] {
  --philo-ui-font: "Instrument Sans", "Noto Sans SC", Arial, sans-serif;
}
html[lang="en"] body,
html[lang="en"] :is(.philo-nav, .scene-actions, .scene-tools),
html[lang="en"] :is(.profile-content, .call-controls) button,
html[lang="en"] :is(.gateway-skip, .call-dialog button[class$="-video-resume"]) {
  font-family: var(--philo-ui-font);
}
html[lang="en"] :is(.scene-actions, .scene-tools, .profile-content, .call-controls) button,
html[lang="en"] :is(.gateway-skip, .call-dialog button[class$="-video-resume"]) {
  font-weight: 600;
}

.chestnut-connection-video,.chestnut-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:56% 50%}
.chestnut-video-still{opacity:0;pointer-events:none;transition:opacity .28s ease}
.chestnut-video-gateway.show-still .chestnut-video-still{opacity:1}
.chestnut-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.chestnut-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.chestnut-video-resume[hidden]{display:none}
@media(max-width:760px){.chestnut-connection-video,.chestnut-video-still{object-position:57% 50%}}
@media(prefers-reduced-motion:reduce){.chestnut-video-still{transition:none}}

.rosie-connection-video,.rosie-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:49% 30%}
.rosie-video-still{visibility:hidden}
.rosie-video-gateway.show-still .rosie-video-still{visibility:visible}
.rosie-video-gateway.show-still .rosie-connection-video{visibility:hidden}
.rosie-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.rosie-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.rosie-video-resume[hidden]{display:none}
@media(max-width:760px){.rosie-connection-video,.rosie-video-still{object-position:35% 30%}}

.evan-video-gateway{background:none}
.evan-connection-video,.evan-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 33%}
.evan-video-still{visibility:hidden}
.evan-video-gateway.show-still .evan-video-still{visibility:visible}
.evan-video-gateway.show-still .evan-connection-video{visibility:hidden}
.evan-video-gateway.video-playing .evan-video-still{opacity:0}
.evan-video-gateway.video-playing.show-still .evan-video-still{opacity:1}
.evan-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.evan-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.evan-video-resume[hidden]{display:none}


.flora-call .flora-video-gateway .gateway-shade{background:linear-gradient(0deg,#111d1880,transparent 28%,transparent 78%,#111d1838)}
.flora-video-gateway{background:none}
.flora-connection-video,.flora-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 49%}
.flora-video-still{visibility:hidden}
.flora-video-gateway.show-still .flora-video-still{visibility:visible}
.flora-video-gateway.show-still .flora-connection-video{visibility:hidden}
.flora-video-gateway.video-playing .flora-video-still{opacity:0}
.flora-video-gateway.video-playing.show-still .flora-video-still{opacity:1}
.flora-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.flora-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.flora-video-resume[hidden]{display:none}
@media (max-aspect-ratio:3/4){.flora-connection-video,.flora-video-still{object-position:86% 49%}}


.vangogh-call .vangogh-video-gateway .gateway-shade{background:linear-gradient(0deg,#111d1880,transparent 28%,transparent 78%,#111d1838)}
.vangogh-video-gateway{background:none}
.vangogh-connection-video,.vangogh-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:59% 48%}
.vangogh-video-still{visibility:hidden}
.vangogh-video-gateway.show-still .vangogh-video-still{visibility:visible}
.vangogh-video-gateway.show-still .vangogh-connection-video{visibility:hidden}
.vangogh-video-gateway.video-playing .vangogh-video-still{opacity:0}
.vangogh-video-gateway.video-playing.show-still .vangogh-video-still{opacity:1}
.vangogh-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.vangogh-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.vangogh-video-resume[hidden]{display:none}


.amy-call .amy-video-gateway .gateway-shade{background:linear-gradient(0deg,#111d1880,transparent 28%,transparent 78%,#111d1838)}
.amy-video-gateway{background:none}
.amy-connection-video,.amy-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 43%}
.amy-video-still{visibility:hidden}
.amy-video-gateway.show-still .amy-video-still{visibility:visible}
.amy-video-gateway.show-still .amy-connection-video{visibility:hidden}
.amy-video-gateway.video-playing .amy-video-still{opacity:0}
.amy-video-gateway.video-playing.show-still .amy-video-still{opacity:1}
.amy-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.amy-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.amy-video-resume[hidden]{display:none}
@media (max-aspect-ratio:3/4){.amy-connection-video,.amy-video-still{object-position:78% 43%}}


.noah-call .noah-video-gateway .gateway-shade{
  background:linear-gradient(0deg,#111d1880,transparent 28%,transparent 78%,#111d1838)
}
.noah-lyrics{
  position:absolute;left:clamp(20px,6vw,110px);bottom:8%;z-index:3;
  max-width:min(44vw,620px);margin:0;
  color:#f5e6cb;font:italic 500 clamp(18px,2.1vw,30px)/1.28 Georgia,serif;
  text-shadow:0 1px 3px #211a14,0 3px 12px #211a14;
  white-space:pre-line;overflow-wrap:anywhere;pointer-events:none;user-select:none
}
.noah-lyrics[hidden]{display:none}
@media(max-width:760px){
  .noah-lyrics{
    left:50%;bottom:max(10%,calc(env(safe-area-inset-bottom) + 20px));
    width:calc(100% - 40px);max-width:420px;transform:translateX(-50%);
    font-size:clamp(16px,4.7vw,23px);text-align:center
  }
}
.noah-video-gateway{background:none}
.noah-connection-video,.noah-video-still{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
.noah-video-still{visibility:hidden}
.noah-video-gateway.show-still .noah-video-still{visibility:visible}
.noah-video-gateway.show-still .noah-connection-video{visibility:hidden}
.noah-video-gateway.video-playing .noah-video-still{opacity:0}
.noah-video-gateway.video-playing.show-still .noah-video-still{opacity:1}
.noah-video-gateway.video-playing .gateway-copy{opacity:0;visibility:hidden}
.noah-video-resume{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;background:#20352fe6;border:1px solid #ddcba87a;border-radius:30px;padding:16px 25px;color:#f5eddf;font:inherit;cursor:pointer}
.noah-video-resume[hidden]{display:none}

/* The navigation belongs to the painting: one full-viewport scene, no paper band. */
html[data-website-experience] .topbar.philo-header {
  position: absolute;
  inset: 0 0 auto;
  height: var(--world-nav-height);
  background: transparent;
  isolation: isolate;
}
html[data-website-experience] .topbar.philo-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -64px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #f8f8f7e0, #f8f8f78a 52%, #f8f8f700);
}
html[data-website-experience] .stage { height: 100svh; }
html[data-website-experience] .scene-intro { margin-top: var(--world-nav-height); }
html[data-website-experience] .scene-actions { margin-top: var(--world-nav-height); }
html[data-website-experience] .philo-wordmark {
  min-height: 44px;
  text-decoration: none;
  border-radius: 2px;
}
html[data-website-experience] .website-tools :is(#rainy-lane-language, #website-user) {
  background: #f8f8f7a8;
  backdrop-filter: blur(4px);
}
@media (max-width: 760px) {
  html[data-website-experience] .scene-actions { margin-top: 0; }
  html[data-website-experience] .philo-wordmark { min-height: 32px; }
}

/* Match the shared masthead snapshot, so the paper header dissolves into the world. */
html[data-website-experience] .topbar.philo-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: no-preference) {
  html[data-website-experience]::view-transition { pointer-events: none; }
  html[data-website-experience]::view-transition-group(*) {
    animation-duration: 640ms;
    animation-timing-function: cubic-bezier(.22,1,.36,1);
  }
  html[data-website-experience]::view-transition-old(root) {
    animation: world-page-leave 420ms ease both;
  }
  html[data-website-experience]::view-transition-new(root) {
    animation: world-page-arrive 640ms cubic-bezier(.22,1,.36,1) both;
  }
  html[data-website-experience]::view-transition-old(site-header) {
    animation: world-page-leave 520ms ease both;
  }
  html[data-website-experience]::view-transition-new(site-header) {
    animation: world-header-arrive 640ms ease both;
  }
  @keyframes world-page-leave { to { opacity: 0; } }
  @keyframes world-page-arrive {
    from { opacity: 0; transform: scale(1.012); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes world-header-arrive { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html[data-website-experience]::view-transition-group(*),
  html[data-website-experience]::view-transition-old(*),
  html[data-website-experience]::view-transition-new(*) { animation: none !important; }
}

/* Keep the minimap in the lower-right corner of the scene. */
#stage > .scene-toolbar {
  position: absolute;
  inset: auto 24px 24px auto;
  width: max-content;
  z-index: 125;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}
.scene-toolbar > :is(.back-button, .scene-actions, .scene-tools) {
  position: static;
  pointer-events: auto;
}
.scene-toolbar .back-button { margin-right: auto; }
.scene-toolbar .scene-actions { margin-left: auto; }
.scene-toolbar :is(.scene-actions, .scene-tools) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.scene-toolbar button { min-height: 40px; }
#stage[data-scene="street"] > .scene-intro { display: none; }
#stage:not([data-scene="street"]) > .scene-intro {
  top: calc(var(--scene-toolbar-height, 40px) + 40px);
}
#stage > .scene-interactions {
  position: absolute;
  z-index: 120;
  left: 24px;
  right: 24px;
  bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
#stage > .hint { max-width: calc(100% - 32px); white-space: normal; text-align: center; }
.route-portal { padding: 0; }
/* Preserve a gap between the left sign and the grocery card on narrower layouts. */
#stage[data-scene="street"] .route-portal[data-destination="bookstreet"] {
  margin-left: max(0px, calc(166px - 10.16%));
}
.route-ring, .route-portal > .pin-dot {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  translate: -50% 0;
}
.route-portal > .pin-dot { margin-bottom: 0; }
.route-portal.place-pin > span:last-child {
  max-width: min(185px, 34vw);
  white-space: normal;
}
#stage[data-scene="bookstreet"] #amy .name-tag,
#stage[data-scene="courtyard"] #vangogh .name-tag {
  transform: translate(-50%, 0);
}
#stage[data-scene="bookstreet"] #amy .name-tag { bottom: 84px; }
#stage[data-scene="courtyard"] #vangogh .name-tag { bottom: 44px; }
#stage[data-scene="lanternlane"] #flora .name-tag { bottom: 20px; }
@media (max-width: 760px) {
  #stage[data-scene="lanternlane"] #flora .name-tag { bottom: 5px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  #stage[data-scene="courtyard"] .route-portal.place-pin > span:last-child { max-width: min(185px, 16vw); }
  #stage[data-scene="street"] #chestnut .name-tag { bottom: -28px; }
  #stage[data-scene="fountain"] #noah .name-tag { bottom: calc(12% + 40px); }
}
@media (min-width: 761px) and (max-height: 520px) and (orientation: landscape) {
  #stage[data-scene="lanternlane"] #flora .name-tag { bottom: 32px; }
}
@media (max-width: 760px) and (orientation: landscape) {
  #stage[data-scene="street"] .route-portal[data-destination="bookstreet"] {
    margin-left: max(0px, calc(128px - 10.16%));
  }
  #stage[data-scene="street"] .route-portal .route-label { max-width: 92px; }
  #stage[data-scene="street"] .cafe-pin { margin-top: 12px; }
  #stage[data-scene="street"] #rosie .name-tag { bottom: -28px; }
}
@media (max-width: 620px) and (orientation: landscape) {
  #stage[data-scene="bookstreet"] .route-portal.place-pin > span:last-child { max-width: 22vw; }
  #stage[data-scene="bookstreet"] #evan .name-tag { bottom: 80px; }
  #stage[data-scene="fountain"] .route-portal[data-destination="lanternlane"] { margin-top: 28px; }
  #stage[data-scene="flowers"] .route-portal[data-destination="courtyard"] { margin-top: 54px; }
  #stage[data-scene="flowers"] .route-portal .route-label {
    max-width: 15vw;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 620px) and (max-height: 360px) and (orientation: landscape) {
  #stage[data-scene="fountain"] .route-portal[data-destination="bookstreet"] { margin-top: 12px; }
  #stage[data-scene="fountain"] .route-portal[data-destination="lanternlane"] {
    margin-left: clamp(-44px, calc(70px - 20vw), -30px);
  }
}
@media (min-width: 550px) and (max-width: 620px) and (max-height: 360px) and (orientation: landscape) {
  #stage[data-scene="street"] #rosie .name-tag { left: calc(50% + 24px); }
}
@media (max-width: 520px) and (max-height: 360px) and (orientation: landscape) {
  #stage[data-scene="street"] .route-portal:is([data-destination="bookstreet"], [data-destination="fountain"]) .route-label {
    max-width: clamp(60px, 13vw, 68px);
    padding: 6px 5px;
    text-align: center;
    white-space: normal;
  }
  #stage[data-scene="street"] :is(#rosie, #chestnut) .name-tag { bottom: -37px; }
  #stage[data-scene="bookstreet"] .route-portal[data-destination="lanternlane"] .route-label {
    max-width: 90px;
    padding-inline: 5px;
  }
  #stage[data-scene="fountain"] .route-portal[data-destination="bookstreet"] .route-label {
    max-width: 96px;
    padding-inline: 5px;
  }
}
.route-ring {
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  color: #fffaf0dd;
  background: radial-gradient(ellipse, #fff8e421, transparent 72%);
}
.route-ring svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  rotate: var(--route-heading);
  filter: drop-shadow(0 1px 2px #51463650) drop-shadow(0 0 4px #fff7de50);
}
.route-portal:is(:hover, :focus-visible) .route-ring { color: #fffaf3; }
.route-portal .route-label {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 9px 12px;
  opacity: 1;
  background: #f3f0e7f2;
  border-color: #b6b8a8;
  box-shadow: 0 2px 8px #2633261a;
}
#profileDialog #callBtn {
  background: #c4b38c;
  color: #142b30;
  border: 1px solid #c4b38c;
  min-height: 44px;
}
#profileDialog #callBtn:hover { background: #d3c39e; }
#profileDialog #callBtn:disabled { cursor: default; opacity: .55; }
#profileDialog #callBtn svg { width: 18px; height: 18px; }
.scene-call-status {
  position: relative;
  flex-basis: 100%;
  z-index: 130;
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d0c6ad;
  border-radius: 8px;
  background: #f8f4eaf5;
  color: #354239;
  font-size: 12px;
  line-height: 1.5;
}
#stage:has(#scene-call-status:not([hidden])) > .hint { visibility: hidden; }
#stage > .scene-interactions:has(#scene-call-status:not([hidden])) { bottom: 20px; }
#scene-call-retry { padding: 8px 12px; border: 1px solid #7d8975; border-radius: 5px; }
@media (max-width: 760px) {
  #stage > .scene-toolbar { inset: auto 12px 16px auto; gap: 8px; }
  #stage > .hint { bottom: max(68px, calc(28px + var(--scene-toolbar-height, 36px))); }
  .scene-toolbar :is(.scene-actions, .scene-tools) { gap: 6px; }
  .scene-toolbar :is(.back-button, .scene-actions button) {
    height: auto;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 10px;
  }
  #stage:not([data-scene="street"]) > .scene-intro {
    top: calc(var(--scene-toolbar-height, 80px) + 28px);
  }
  #stage > .scene-interactions { left: 12px; right: 12px; bottom: 76px; }
  .scene-call-status { padding: 10px 12px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  #stage > .scene-toolbar { inset: auto 12px 16px auto; gap: 6px; }
  .scene-toolbar :is(.back-button, .scene-actions button) {
    min-height: 32px;
    height: 32px;
    padding: 6px 9px;
    font-size: 10px;
  }
  #stage:not([data-scene="street"]) > .scene-intro { display: none; }
  #stage > .scene-interactions { bottom: 16px; right: 12px; }
  #stage > .hint { display: none; }
  #stage[data-scene="street"] .character .name-tag { transform: translate(-50%, 0); }
}
@media (max-width: 620px) and (max-height: 360px) and (orientation: landscape) {
  #stage > .scene-toolbar { bottom: max(4px, env(safe-area-inset-bottom)); }
}

[data-product-access-paused="true"]{opacity:.5;cursor:not-allowed}
