@font-face{font-family:Limelight;src:url('/fonts/Limelight-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Josefin Sans';src:url('/fonts/JosefinSans-Variable.ttf') format('truetype');font-weight:100 700;font-style:normal;font-display:swap}

.entrance-contact{position:absolute;z-index:3;top:max(24px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));display:flex;align-items:center;gap:12px;min-height:44px;box-sizing:border-box;padding:12px 16px;border:1px solid #c7aa74;background:#17352eef;color:#f2dfb8;box-shadow:3px 3px 0 #102721;font:12px/1.4 var(--pixel);text-decoration:none}
.entrance-contact svg{width:20px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;shape-rendering:crispEdges}.entrance-contact i{font-style:normal;color:#d6b575}.entrance-contact:hover{background:#2b5143}.entrance-contact:focus-visible{outline:2px solid #f9e4b3;outline-offset:4px}
#world[data-scene=apartment] .entrance-contact,#world.is-entering .entrance-contact{display:none}
#world #story-copy .host-contact{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:46px;padding:10px 2px;margin:-6px 0 18px;border-bottom:1px solid #a38b5d80;text-decoration:none;color:#763e34;font:600 17px/1.4 var(--deco-type)}
.host-contact i{font-style:normal}.host-contact:hover span{text-decoration:underline;text-underline-offset:4px}.host-contact:focus-visible{outline:2px solid #763e34;outline-offset:4px}
@media(max-width:700px){.entrance-contact{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));padding:11px 13px;font-size:11px;gap:9px}}

/* Engraved brass, lacquer and book paper. These values stay legible at every hour. */
#world{--deco-ink:#183d36;--deco-lacquer:#15312e;--deco-paper:#eee5cf;--deco-brass:#ba965b;--deco-rust:#763e34;--deco-type:'Josefin Sans',Futura,sans-serif;--deco-display:Limelight,Georgia,serif}
#world #story-panel{
  inset:50% max(32px,env(safe-area-inset-right)) auto auto;transform:translateY(-50%);
  display:flex;flex-direction:column;width:440px;max-width:calc(100% - 64px);max-height:calc(100dvh - 104px);
  padding:7px;overflow:visible;border:1px solid var(--deco-brass);border-radius:0;
  background:var(--deco-lacquer);color:var(--deco-ink);
  box-shadow:0 0 0 4px #173530,0 0 0 5px #ba965b8c,9px 11px 0 #0a201c75,0 24px 64px #071a2040;
  backdrop-filter:none;animation:deco-arrive .28s ease-out;
}
#world #story-panel::before,#world #story-panel::after{content:'';position:absolute;z-index:2;pointer-events:none;width:25px;height:25px;border:1px solid var(--deco-brass)}
#world #story-panel::before{top:-7px;left:-7px;border-right:0;border-bottom:0;box-shadow:-3px -3px 0 1px #16352f}
#world #story-panel::after{bottom:-7px;right:-7px;border-left:0;border-top:0;box-shadow:3px 3px 0 1px #16352f}
.story-heading{position:relative;flex-shrink:0;padding:22px 30px 24px;min-height:140px;border:1px solid #ba965b70;border-bottom:0;background:var(--deco-lacquer);color:var(--deco-paper)}
.story-heading::after{content:'';position:absolute;bottom:8px;left:22px;right:22px;height:3px;border-block:1px solid #ba965b80}
.deco-fan{display:block;width:138px;height:44px;margin:0 0 12px;color:var(--deco-brass);stroke:currentColor;stroke-width:1;stroke-linejoin:miter}
#world #story-title{margin:0;padding:0 28px 0 0;font:400 35px/1.12 var(--deco-display);letter-spacing:.015em;color:var(--deco-paper);text-wrap:balance}
#world #close-story{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:9px;border:1px solid #ba965b80;background:transparent;color:#e7d5af;box-shadow:inset 0 0 0 3px var(--deco-lacquer),inset 0 0 0 4px #ba965b4d;border-radius:0;transition:background .15s,color .15s}
#close-story svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
#world #close-story:hover{background:#d2b57c;color:#183d36;box-shadow:inset 0 0 0 3px #d2b57c,inset 0 0 0 4px #183d3680}
#world #close-story:focus-visible{outline:2px solid #f9e4b3;outline-offset:3px}
#story-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ae8d56 #eee5cf;padding:24px 30px 28px;background-color:var(--deco-paper);background-image:repeating-linear-gradient(0deg,#644b2804 0 1px,transparent 1px 3px);border:1px solid #ba965b70;border-top:0}
#world #story-copy,#world .host-story,#world .texture-caption{font:15px/1.7 Georgia,'Times New Roman',serif;color:#34453c;letter-spacing:0}
#world #story-copy p{margin:0 0 16px}
#world #story-copy p:last-child{margin-bottom:0}
#world #story-copy strong,#world .host-story strong{color:#173c34;font-weight:700}
#world .host-journey{position:relative;display:flex;align-items:center;gap:9px;margin:22px -8px;padding:16px 8px 14px;border:0;border-block:1px solid #a38b5d80;color:#604b2d;font:600 12px/1.2 var(--deco-type);letter-spacing:.035em;text-transform:uppercase}
#world .host-journey::before,#world .host-journey::after{content:'';position:absolute;top:-3px;width:5px;height:5px;transform:rotate(45deg);background:#a38b5d}
#world .host-journey::before{left:0}#world .host-journey::after{right:0}
#world .host-journey i{position:relative;flex:1;min-width:12px;height:1px;background:#a38b5d80}
#world .host-journey i::after{content:'';position:absolute;right:0;top:-2px;width:5px;height:5px;border:1px solid #a38b5d;border-left:0;border-bottom:0;transform:rotate(45deg)}
#world .host-story{margin-top:20px;padding-left:16px;border-left:2px solid #ba965b}
#world .host-story:focus{outline:none}#world .host-story:focus-visible{outline:2px solid #946b39;outline-offset:4px}
#world #story-actions{gap:0;margin-top:22px;border-top:3px double #a38b5d80}
#world #story-actions button,#world #story-actions a,#world .music-links a{
  position:relative;min-height:49px;padding:14px 28px 12px 14px;text-decoration:none;border:0;border-bottom:1px solid #a38b5d80;border-radius:0;
  background:transparent;color:#233e33;box-shadow:none;font:500 15px/1.4 var(--deco-type);letter-spacing:.005em;text-align:left;transition:background .15s,color .15s;
}
#world #story-actions button::before{content:'';position:absolute;right:12px;top:50%;width:6px;height:6px;border:1px solid currentColor;border-left:0;border-bottom:0;transform:translateY(-50%) rotate(45deg)}
#world #story-actions button:hover,#world #story-actions a:hover,#world .music-links a:hover{background:var(--deco-rust);color:#f8ecd4}
#world #story-actions button:focus-visible,#world #story-actions a:focus-visible,#world .music-links a:focus-visible{outline:2px solid var(--deco-rust);outline-offset:-4px}
#world #story-actions .primary-action{background:#21493e;color:#f4e4bb;border:1px solid #21493e;margin-block:12px 4px;box-shadow:inset 0 0 0 3px #21493e,inset 0 0 0 4px #d5ba7c70}
#world #story-actions .primary-action::before{color:inherit}
#world #story-actions .primary-action:disabled{background:#e0d8c3;color:#6e7362;box-shadow:none;border-color:#b4aa90}
#world #story-media iframe{border:1px solid #a38b5d;height:176px}
#world .music-links{gap:8px}#world .music-links a{font-size:13px;border:1px solid #a38b5d;padding:12px;text-align:center}
#world #story-panel[data-story=wardrobe]{width:350px}
#world #story-panel[data-story=wardrobe] .story-heading{min-height:0;padding:25px 28px 30px;border-bottom:1px solid #ba965b70}
#world #story-panel[data-story=wardrobe] #story-title{font-size:30px;padding-right:35px}
#world #story-panel[data-story=wardrobe] #story-body{display:none}
#world .drink-order{border:1px solid #b19b73;background:#e5d9bd;box-shadow:inset 0 0 0 4px #eee5cf;margin-top:22px}
#world .drink-name{font:600 13px/1.5 var(--deco-type);text-transform:uppercase;letter-spacing:.05em;color:#294334}
#world #drink-status{font:13px/1.6 Georgia,serif;color:#59604c}
#world .drink-progress i{background:#c9bea1}#world .drink-progress i.filled{background:#54715b}
#world .recipe-book{background:#eee5cf;border:0;box-shadow:none;padding:0;color:#294334}
#world .recipe-book h2{font:24px/1.2 var(--deco-display);color:#254235}
#world .recipe-book button{font:500 13px/1.5 var(--deco-type);border:1px solid #a38b5d;box-shadow:none;min-height:44px;background:#e4d9be;color:#2b4537}
#world .recipe-book button:hover{background:#21493e;color:#f4e4bb}
#world .recipe-search-label,#world .recipe-count,#world .recipe-glass{font:600 11px/1.5 var(--deco-type);color:#5b624e;letter-spacing:.04em}
#world .recipe-search{font:15px/1.4 Georgia,serif;background:#faf2de;border:1px solid #9d8254;color:#294334}
#world .recipe-message,#world .recipe-method,#world .recipe-ingredients li{font:14px/1.7 Georgia,serif}

/* Brass plaques are shared by the room controls and its context prompts. */
#world[data-scene=apartment] .quiet-controls{gap:12px}
#world[data-scene=apartment] .quiet-controls>button{
  min-height:46px;border:1px solid #d4b277;border-radius:0;background:#173730f5;color:#f0e1bc;
  padding:12px 19px;font:500 12px/1.2 var(--deco-type);letter-spacing:.10em;text-transform:uppercase;
  box-shadow:inset 0 0 0 3px #173730,inset 0 0 0 4px #b594584a,4px 4px 0 #0c231f75;backdrop-filter:none;
  transition:background .15s,color .15s;
}
#world[data-scene=apartment] .quiet-controls>button:hover{background:#745039;color:#fff2d1;box-shadow:inset 0 0 0 3px #745039,inset 0 0 0 4px #d4b27770,4px 4px 0 #0c231f75}
#world[data-scene=apartment] .quiet-controls>button:focus-visible{outline:2px solid #ffe2a0;outline-offset:4px}
#world[data-scene=apartment] #explore-toggle{position:relative;gap:15px;padding:10px 25px 10px 20px;min-width:156px;height:50px;border-block-width:2px}
#world[data-scene=apartment] #explore-toggle::after{content:'';position:absolute;right:8px;top:8px;bottom:8px;width:3px;border-inline:1px solid #ba965b80}
#world[data-scene=apartment] #explore-toggle[aria-expanded=true]{background:#e5d4ae;color:#1c3d31;box-shadow:inset 0 0 0 3px #e5d4ae,inset 0 0 0 4px #1c3d3170,4px 4px 0 #0c231f75}
.explore-emblem{width:31px;height:24px;stroke:currentColor;stroke-width:1;fill:none}
#world[data-scene=apartment] #leave-apartment{top:max(25px,env(safe-area-inset-top));left:max(25px,env(safe-area-inset-left));font-size:11px}
#world[data-scene=apartment] #sound-toggle{top:max(25px,env(safe-area-inset-top));right:max(25px,env(safe-area-inset-right));width:46px;height:46px;padding:13px}
#world[data-scene=apartment] #sound-toggle svg{stroke-width:1.5;stroke-linecap:round;width:18px;height:18px}
#world[data-scene=apartment] #sound-toggle[aria-pressed=false]{color:#c1ae8c;border-color:#9f8762}
#world[data-scene=apartment] #control-hint{font:12px/1.5 var(--deco-type);letter-spacing:.02em;bottom:65px}
#world[data-scene=apartment] #room-nav{
  bottom:68px;width:min(620px,100%);padding:17px;gap:0;border:1px solid #c3a56c;border-radius:0;background:#173730f7;
  box-shadow:0 0 0 4px #173730,0 0 0 5px #ba965b80,6px 8px 0 #0c231f75,0 15px 45px #071a2030;backdrop-filter:none;
}
#world[data-scene=apartment] #room-nav::before{content:'';position:absolute;top:7px;left:7px;right:7px;bottom:7px;border:1px solid #ba965b50;pointer-events:none}
#world[data-scene=apartment] #room-nav button{
  position:relative;min-height:82px;padding:12px 4px;gap:9px;border:0;border-bottom:1px solid #ba965b32;border-radius:0;
  background:none;color:#ede0bc;font:500 11px/1.25 var(--deco-type);letter-spacing:.06em;text-transform:uppercase;
}
#world[data-scene=apartment] #room-nav button::after{content:'';position:absolute;right:0;top:20%;height:60%;width:1px;background:#ba965b32}
#world[data-scene=apartment] #room-nav button:last-child::after{display:none}
#world[data-scene=apartment] #room-nav button:hover,#world[data-scene=apartment] #room-nav button:focus-visible,#world[data-scene=apartment] #room-nav button[aria-pressed=true]{background:#e6d2a5;color:#173730;box-shadow:inset 0 0 0 3px #e6d2a5,inset 0 0 0 4px #183d3640}
#world[data-scene=apartment] #room-nav button:focus-visible{outline:2px solid #f8e7bc;outline-offset:-2px}
#world[data-scene=apartment] #room-nav svg{width:25px;height:28px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricPrecision}
#world[data-scene=apartment] .room-hotspot,#world[data-scene=apartment] .room-hotspot span,#world[data-scene=apartment] #look-target{border-radius:0}
#world[data-scene=apartment] .room-hotspot span,#world[data-scene=apartment] #look-target{background:#183d36f5;color:#f5e6c4;border:1px solid #c5a269;padding:12px 18px;font:500 13px/1.3 var(--deco-type);box-shadow:inset 0 0 0 3px #183d36,inset 0 0 0 4px #c5a26945,3px 4px 0 #10252080;backdrop-filter:none}
#world[data-scene=apartment] .room-hotspot span small{font:500 10px/1.3 var(--deco-type);color:#d4b277}
#world[data-scene=apartment] .room-hotspot span em{font:italic 19px/1.3 Georgia,serif}
#world[data-scene=apartment] .room-hotspot:hover span{background:#745039;box-shadow:inset 0 0 0 3px #745039,inset 0 0 0 4px #c5a26945,3px 4px 0 #10252080}
#world #touch-controls button{background:#173730f5!important;color:#f5e6c4!important;border:1px solid #c5a269!important;border-radius:0;box-shadow:inset 0 0 0 3px #173730,inset 0 0 0 4px #c5a26945!important;font:20px/1 Georgia,serif!important}
#world #touch-controls button:active{background:#e6d2a5!important;color:#173730!important}
@keyframes deco-arrive{from{opacity:0;translate:12px 0}to{opacity:1;translate:0 0}}

@media(max-width:700px),(pointer:coarse),(max-height:500px){
  #world[data-mobile=true] #story-panel{inset:auto 16px max(18px,env(safe-area-inset-bottom));width:auto;max-width:none;max-height:calc(100dvh - max(40px,env(safe-area-inset-top)) - max(30px,env(safe-area-inset-bottom)));transform:none;padding:5px;z-index:6}
  #world[data-mobile=true] .story-heading{padding:17px 22px 20px;min-height:124px}
  #world[data-mobile=true] .deco-fan{width:116px;height:34px;margin-bottom:11px}
  #world[data-mobile=true] #story-title{font-size:30px;padding-right:24px}
  #world[data-mobile=true] #close-story{top:8px;right:8px;width:44px;height:44px}
  #world[data-mobile=true] #story-body{padding:22px 22px 23px}
  #world[data-mobile=true] #story-copy,#world[data-mobile=true] .host-story,#world[data-mobile=true] .texture-caption{font-size:14px;line-height:1.7}
  #world[data-mobile=true] .host-journey{font-size:10px;gap:7px;margin-block:20px;padding-inline:3px}
  #world[data-mobile=true] #story-actions button{font-size:14px;min-height:49px}
  #world[data-mobile=true][data-scene=apartment] #room-nav{width:min(360px,calc(100% - 12px));grid-template-columns:repeat(3,minmax(0,1fr));bottom:67px;padding:14px;max-height:calc(100dvh - 154px);overflow:auto;overscroll-behavior:contain}
  #world[data-mobile=true][data-scene=apartment] #room-nav button{min-height:72px;font-size:10px;gap:7px}
  #world[data-mobile=true][data-scene=apartment] #room-nav svg{width:23px;height:26px}
  #world[data-mobile=true][data-scene=apartment] #leave-apartment{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));padding-inline:14px}
  #world[data-mobile=true][data-scene=apartment] #sound-toggle{top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:46px}
  #world[data-mobile=true][data-scene=apartment] .quiet-controls>button{font-size:11px;min-height:46px}
  #world[data-mobile=true][data-scene=apartment] #explore-toggle{min-width:146px}
  #world[data-mobile=true][data-scene=apartment] .room-hotspot span{font-size:12px;max-width:260px;white-space:normal}
}
@media(max-height:580px){
  #world #story-panel{top:16px;bottom:16px;max-height:calc(100dvh - 32px);transform:none}
  #world .story-heading{padding-top:15px;padding-bottom:19px;min-height:92px}
  #world .deco-fan{height:25px;width:100px;margin-bottom:8px}
  #world #story-title{font-size:28px}
  #world[data-mobile=true] #story-panel{inset:16px 18px 16px auto;width:min(440px,calc(100vw - 36px));max-height:calc(100dvh - 32px)}
  #world #story-panel[data-story=wardrobe],#world[data-mobile=true] #story-panel[data-story=wardrobe]{bottom:auto;width:min(350px,calc(100vw - 36px))}
  #world[data-mobile=true] .story-heading{padding:14px 22px 18px;min-height:92px}
  #world[data-mobile=true] .deco-fan{height:25px;width:100px;margin-bottom:8px}
  #world[data-mobile=true] #story-title{font-size:28px}
  #world[data-mobile=true][data-scene=apartment] #room-nav{grid-template-columns:repeat(6,minmax(0,1fr));width:min(640px,calc(100vw - 44px));max-height:calc(100dvh - 114px);bottom:60px}
}
@media(prefers-reduced-motion:reduce){#world #story-panel{animation:none}#world .quiet-controls>button,#world #story-actions button{transition:none}}

/* A small aiming mark and one deliberate invitation on the balcony table. */
#room-crosshair{display:none;position:absolute;left:50%;top:50%;width:15px;height:15px;transform:translate(-50%,-50%);pointer-events:none;z-index:2;color:#fff3d3;filter:drop-shadow(0 1px 1px #092621);opacity:.8}
#room-crosshair::before,#room-crosshair::after{content:'';position:absolute;background:currentColor;border-radius:1px}
#room-crosshair::before{width:13px;height:1px;left:1px;top:7px}
#room-crosshair::after{height:13px;width:1px;left:7px;top:1px}
#world[data-scene=apartment].is-looking #room-crosshair,#world[data-scene=apartment][data-mobile=true] #room-crosshair{display:block}
#world.has-look-target #room-crosshair{color:#ffd591;opacity:1}
#world.story-open #room-crosshair,#world.bar-session #room-crosshair,#world.is-exploring #room-crosshair,#world.is-travelling #room-crosshair,#world.is-going-out #room-crosshair,#world.is-smoking #room-crosshair{display:none}
#world[data-scene=apartment] .balcony-invitation{transform:translate(-50%,calc(-100% - 22px));z-index:2}
#world[data-scene=apartment] .balcony-invitation>span{padding:12px 16px;background:#203a32f5;border-color:#d2ae6c;text-align:left;min-width:164px}
#world[data-scene=apartment] .balcony-invitation::after{content:'';position:absolute;width:1px;height:21px;top:100%;left:50%;background:#d2ae6c;box-shadow:0 1px 2px #132c25}
#world[data-scene=apartment] .balcony-invitation::before{display:block;content:'';position:absolute;width:5px;height:5px;left:calc(50% - 2px);top:calc(100% + 19px);transform:rotate(45deg);border:1px solid #f3d7a2;background:#c3a16a;box-shadow:none}
#world[data-scene=apartment] .balcony-invitation .invitation-brand{font:500 10px/1.4 var(--deco-type);letter-spacing:.07em;margin-bottom:5px;color:#d6b47e}
#world[data-scene=apartment] .balcony-invitation .invitation-brand b{font-weight:500}
#world[data-scene=apartment] .balcony-invitation .invitation-action{font:500 14px/1.4 var(--deco-type);color:#f5e6c4}
#world[data-scene=apartment] .balcony-invitation .invitation-action i{font-style:normal;margin-left:8px;color:#d6b47e}
#world.is-going-out .world-footer,#world.is-going-out #room-hotspots{visibility:hidden;pointer-events:none}
#outing-status{position:absolute;z-index:6;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:13px 20px;max-width:calc(100% - 40px);width:max-content;background:#173730ef;border:1px solid #ba965b;color:#eee5cf;box-shadow:inset 0 0 0 3px #173730,inset 0 0 0 4px #ba965b40;text-align:center}
#outing-status p{margin:0;font:15px/1.5 Georgia,serif}
#outing-status button{border:0;background:none;color:#d9b987;font:12px/1.3 var(--deco-type);padding:12px 14px 2px;min-height:36px}
#world #story-panel[data-story=bund] #story-copy{font-size:17px;line-height:1.65}
@media(max-width:700px){#world[data-scene=apartment] .balcony-invitation>span{min-width:148px;padding:10px 13px}#outing-status p{font-size:14px}#world #story-panel[data-story=bund] #story-copy{font-size:16px}}
