:root { --ink: #22180f; --ink2: #5b4630; --paper: #f5eedc; --gold: #c9a14e; --gold2: #e9cf8a; --green: #16301f; --room: #1b140f; --sign: "Cinzel", "Trajan Pro", Georgia, serif; --body: "Cormorant Garamond", Georgia, serif; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--room); color: var(--ink); font: 18px/1.4 var(--body); -webkit-font-smoothing: antialiased; }
body { opacity: 0; transition: opacity .6s; } body.ready { opacity: 1; }
#stage, #stage canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, select { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
a { color: #6b3f12; }
/* the bar: a strip of black-green with gilt letters, the store's own colours */
.bar { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 18px; padding: 8px 18px; padding-top: max(8px, env(safe-area-inset-top)); background: linear-gradient(#16301f, #10251a); border-bottom: 2px solid var(--gold); color: var(--gold2); box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform .5s; }
body:not(.inside) .bar, body:not(.inside) .ev, body:not(.inside) .plaque { transform: translateY(-140%); }
body:not(.inside) .ev { transform: translateX(160%); } body:not(.inside) .plaque { transform: translateY(160%); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 4px; border: 0; background: none; color: var(--gold2); font: 500 17px var(--body); }
.brand { display: flex; flex-direction: column; line-height: 1.05; margin: 0 auto 0 0; }
.brand b { font: 600 24px var(--sign); letter-spacing: .08em; background: linear-gradient(#fbe7a6, #d4a64a 55%, #a0782c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand span { font: italic 500 15px var(--body); color: #d9c79b; }
.dirbtn { min-height: 44px; padding: 0 16px; border: 1px solid var(--gold); background: rgba(201,161,78,.12); color: var(--gold2); font: 600 14px var(--sign); letter-spacing: .1em; text-transform: uppercase; }
.dirbtn:hover { background: rgba(201,161,78,.25); }
.yp select { min-height: 44px; max-width: 220px; padding: 0 30px 0 12px; border: 1px solid var(--gold); background: #0f2117 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23e9cf8a'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--gold2); appearance: none; font: 500 17px var(--body); }
/* the elevator panel: a brass plate with a button for every floor */
.ev { position: fixed; z-index: 8; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; background: linear-gradient(135deg, #e6c879, #b4893a 40%, #e9cf8a 60%, #9c722a); border-radius: 10px 10px 10px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .5s; }
.ev button { display: grid; grid-template-columns: 30px auto; align-items: center; gap: 8px; min-height: 30px; padding: 2px 10px 2px 4px; border: 0; background: none; text-align: left; font: 600 13px var(--sign); color: #2a1c0c; }
.ev button b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6dc, #d9b766 55%, #8e6728); box-shadow: 0 2px 3px rgba(0,0,0,.35), inset 0 -2px 3px rgba(0,0,0,.2); font: 600 13px var(--sign); }
.ev button[aria-current="true"] b { background: radial-gradient(circle at 35% 30%, #fff, #ffe08a 50%, #e0a32a); box-shadow: 0 0 10px 2px rgba(255,214,120,.8); }
.ev button span { white-space: nowrap; letter-spacing: .04em; }
.ev .arrow { justify-content: center; grid-template-columns: 1fr; min-height: 34px; font-size: 16px; color: #2a1c0c; background: rgba(255,255,255,.15); border-radius: 6px; }
.ev .arrow:disabled { opacity: .35; cursor: default; }
.ev #evDown { order: 99; }
/* the floor plaque: which floor, which decade, and its champions */
.plaque { position: fixed; z-index: 7; left: 18px; bottom: 18px; width: 300px; padding: 14px 16px 12px; background: linear-gradient(#173226, #0f2117); border: 2px solid var(--gold); box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 0 0 4px #0f2117, inset 0 0 0 5px rgba(201,161,78,.6); color: var(--gold2); transition: transform .5s; }
.plaque .pf { margin: 0; font: 600 14px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: #d9c79b; }
.plaque .pd { margin: 2px 0 8px; font: 600 34px/1 var(--sign); background: linear-gradient(#fbe7a6, #d4a64a 55%, #a0782c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plaque ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 10px; }
.plaque li button { display: block; width: 100%; min-height: 26px; padding: 1px 0; border: 0; background: none; text-align: left; color: #f1e3bd; font: 500 15px/1.2 var(--body); break-inside: avoid; }
.plaque li button b { font: 600 13px var(--sign); color: var(--gold2); margin-right: 4px; }
.plaque li button:hover span { text-decoration: underline; }
/* the record: a sales slip from the store */
.slip, .tag { position: fixed; z-index: 9; right: 150px; top: 84px; bottom: 18px; width: min(430px, calc(100% - 36px)); overflow: hidden; display: flex; flex-direction: column; padding: 0; background: var(--paper); box-shadow: 0 14px 40px rgba(0,0,0,.5); border-top: 6px solid var(--green); font-size: 17px; }
.slip::before, .tag::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 8px; background: radial-gradient(circle at 6px -1px, var(--green) 4px, transparent 4.5px) 0 0 / 12px 8px repeat-x; }
.slip .dept, .tag .dept { margin: 0; font: 600 12px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: #7a5a24; border-bottom: 1px dashed #b9a172; padding-bottom: 8px; }
.slip h2, .tag h2 { margin: 10px 0 2px; font: 600 40px/1 var(--sign); color: var(--ink); }
.slip h2 span { display: block; font: italic 500 18px var(--body); color: var(--ink2); margin-top: 4px; }
.slip .where { margin: 6px 0 12px; color: var(--ink2); font-size: 16px; }
.slip .res { margin: 8px 0; padding: 10px 12px; background: #ece2c8; border-left: 3px solid var(--gold); }
.slip .res p { margin: 0; } .slip .res .big { font: 600 22px/1.15 var(--body); } .slip .res .big i { font-weight: 400; }
.slip h3, .tag h3 { margin: 16px 0 6px; font: 600 13px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: #7a5a24; }
.slip dl, .tag dl { margin: 6px 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; }
.slip .kv, .tag .kv { display: contents; } .slip dt, .tag dt { color: var(--ink2); font-style: italic; } .slip dd, .tag dd { margin: 0; font-weight: 600; }
.slip .moments, .tag .moments { margin: 4px 0; padding-left: 20px; } .slip .moments li, .tag .moments li { margin: 4px 0; }
.slip details { margin: 10px 0; } .slip summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.slip h4 { margin: 8px 0 2px; font: 600 12px var(--sign); letter-spacing: .1em; color: #7a5a24; }
.slip .matches { margin: 0; padding: 0; list-style: none; font-size: 15px; } .slip .matches span { color: var(--ink2); font-style: italic; }
.slip .ru { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; } .slip .ru caption { text-align: left; font: 600 12px var(--sign); letter-spacing: .1em; color: #7a5a24; padding-bottom: 4px; } .slip .ru th { text-align: left; font-weight: 600; } .slip .ru td, .slip .ru th { padding: 3px 4px; border-top: 1px dotted #c8b48a; }
.slip .po { margin: 6px 0; }
.slip .np { font-size: 20px; }
.slip .src, .tag .by { font-size: 13px; color: var(--ink2); word-break: break-word; }
.tag .by { margin-top: -6px; font-style: italic; }
.eggbtn { display: block; width: 100%; margin-top: 10px; text-align: left; background: #f8e9b8; border-color: var(--gold); }
.eggbtn::before { content: "✦ "; color: #a8782a; }
.tag { right: auto; left: 50%; transform: translateX(-50%); top: 110px; bottom: auto; max-height: calc(100% - 140px); width: min(460px, calc(100% - 36px)); border-top-color: var(--gold); }
.tag::before { background-image: radial-gradient(circle at 6px -1px, var(--gold) 4px, transparent 4.5px); }
.tag p { margin: 8px 0; }
/* the store directory */
.dir { position: fixed; inset: 0; z-index: 12; display: grid; place-items: center; background: rgba(10,8,5,.55); }
.dirin { width: min(760px, calc(100% - 24px)); max-height: calc(100% - 100px); overflow: auto; padding: 24px 28px; background: linear-gradient(#173226, #0f2117); border: 3px double var(--gold); color: #f1e3bd; }
.dirin h2 { margin: 0; font: 600 34px var(--sign); text-align: center; background: linear-gradient(#fbe7a6, #d4a64a 55%, #a0782c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dirin > p { text-align: center; font-style: italic; color: #d9c79b; margin: 4px 0 16px; }
.dirin ul { list-style: none; margin: 0; padding: 0; } .dirin > ul > li { padding: 8px 0; border-top: 1px solid rgba(201,161,78,.35); }
.dirin .fl { display: flex; gap: 12px; align-items: baseline; width: 100%; min-height: 40px; border: 0; background: none; color: var(--gold2); text-align: left; font: 600 18px var(--sign); }
.dirin .fl span { font: italic 500 18px var(--body); color: #d9c79b; }
.dirin li ul { columns: 2; column-gap: 18px; padding-left: 4px; }
.dirin li ul button { display: block; width: 100%; min-height: 30px; border: 0; background: none; color: #f1e3bd; text-align: left; font: 500 16px/1.25 var(--body); break-inside: avoid; }
.dirin li ul button b { font: 600 13px var(--sign); color: var(--gold2); margin-right: 6px; } .dirin li ul button i { color: #bfae86; }
/* the ride: the car's dial, while the doors are shut */
.ride { position: fixed; inset: 0; z-index: 11; display: grid; place-content: center; justify-items: center; gap: 6px; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(ellipse at 50% 45%, rgba(60,30,14,.55), rgba(20,10,4,.88)); }
.ride.on { opacity: 1; }
.ride .dial { position: relative; width: 260px; height: 140px; overflow: hidden; }
.ride .face { position: absolute; left: 0; top: 0; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #f1e5c6 0 60%, #c9a14e 61% 66%, #8a6326 67% 70%, transparent 71%); }
.ride .needle { position: absolute; left: 128px; top: 30px; width: 4px; height: 100px; background: #2a1c0c; transform-origin: 50% 100%; border-radius: 2px; }
.ride p { margin: 0; font: 600 26px var(--sign); color: var(--gold2); letter-spacing: .1em; text-transform: uppercase; } .ride .rd { font: italic 500 22px var(--body); text-transform: none; color: #e7d6a9; letter-spacing: 0; }
.skip { position: fixed; z-index: 10; right: 22px; bottom: 22px; min-height: 48px; padding: 0 22px; border: 2px solid var(--gold); background: rgba(16,37,26,.85); color: var(--gold2); font: 600 15px var(--sign); letter-spacing: .1em; }
/* phone, 390 wide */
body.phone .bar { gap: 8px; padding: 6px 10px; padding-top: max(6px, env(safe-area-inset-top)); flex-wrap: wrap; }
body.phone .brand b { font-size: 19px; } body.phone .brand span { font-size: 13px; }
body.phone .dirbtn { padding: 0 10px; font-size: 12px; }
body.phone .yp { width: 100%; order: 5; } body.phone .yp select { width: 100%; max-width: none; min-height: 40px; }
body.phone .plaque .pd { font-size: 26px; margin-bottom: 4px; } body.phone .plaque ul { display: none; }
body.phone .slip h2 { font-size: 32px; }
body.phone .dirin li ul { columns: 1; }
/* ================================================================ v2: navigation */
/* the breadcrumb */
.crumbs { display: flex; align-items: center; gap: 2px; min-width: 0; flex-wrap: nowrap; }
.crumbs .cr { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--gold2); font: 500 17px var(--body); text-decoration: none; white-space: nowrap; border-radius: 4px; }
.crumbs .cr:hover { background: rgba(201,161,78,.16); }
.crumbs .cr[aria-current="page"] { color: #fff3d0; font-weight: 600; }
.crumbs .sep { color: #b99a58; font-size: 18px; }
.crumbs .home svg { flex: none; }
.bar .brand { margin-left: 10px; }
/* you are here */
.here { position: fixed; z-index: 9; top: 66px; left: 18px; margin: 0; padding: 4px 12px; background: rgba(16,37,26,.82); border: 1px solid rgba(201,161,78,.5); color: #f1e3bd; font: 500 15px/1.3 var(--body); pointer-events: none; transition: bottom .25s; }
.here b { font: 600 11px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); margin-right: 6px; }
body:not(.inside) .here, body:not(.inside) .strip, body:not(.inside) .evdial { visibility: hidden; }
/* the floor plaque, now just the floor, the decade and its curiosities */
.plaque { bottom: 96px; width: 270px; }
.plaque .pc { margin: 4px 0 0; color: #f1e3bd; font: italic 500 16px var(--body); } .plaque .pc::before { content: "✦ "; color: var(--gold2); font-style: normal; }
.plaque .again { margin-top: 8px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--gold2); font: italic 500 16px var(--body); text-decoration: underline; }
/* the department strip */
.strip { position: fixed; z-index: 8; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: calc(100% - 330px); overflow-x: auto; scrollbar-width: thin; padding: 6px; background: linear-gradient(#173226, #0f2117); border: 2px solid var(--gold); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.strip ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.strip .chip { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 92px; min-height: 52px; padding: 4px 12px; border: 1px solid rgba(201,161,78,.45); background: rgba(255,255,255,.04); color: #f1e3bd; text-align: left; font: 500 14px/1.15 var(--body); white-space: nowrap; }
.strip .chip b { font: 600 15px var(--sign); color: var(--gold2); }
.strip .chip:hover { background: rgba(201,161,78,.2); }
.strip .chip.on { background: linear-gradient(#f3dd9a, #c9a14e); color: #22180f; border-color: #fff0c0; } .strip .chip.on b { color: #3a2410; }
.strip .chip.np { opacity: .5; } .strip .chip.np span { font-style: italic; }
.strip .chip i { position: absolute; top: 3px; right: 5px; font-style: normal; color: #f2cd6a; font-size: 13px; }
.strip .chip.on i { color: #6b4210; }
body.slipping:not(.phone) .strip { left: 18px; transform: none; max-width: calc(100% - 640px); }
/* prompts and labels on the ground floor */
.prompt { position: fixed; z-index: 8; left: 50%; bottom: 88px; transform: translateX(-50%); margin: 0; padding: 8px 14px; background: rgba(245,238,220,.95); box-shadow: 0 6px 16px rgba(0,0,0,.35); font: 500 17px var(--body); white-space: nowrap; }
.prompt button { min-height: 40px; padding: 0 6px; border: 0; background: none; color: #6b3f12; font: 600 17px var(--body); text-decoration: underline; }
.hint { position: fixed; z-index: 8; left: 50%; top: 46%; transform: translate(-50%, -50%); margin: 0; padding: 10px 18px; background: rgba(16,12,8,.72); color: #f6ead0; font: italic 500 18px var(--body); pointer-events: none; animation: hintIn .5s both; }
@keyframes hintIn { from { opacity: 0; } to { opacity: 1; } }
.trolabel { position: fixed; z-index: 7; left: 0; top: 0; min-height: 40px; padding: 6px 14px; border: 1px solid var(--gold); background: rgba(16,37,26,.88); color: var(--gold2); font: 600 14px var(--sign); letter-spacing: .06em; white-space: nowrap; }
.trolabel::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: var(--gold); }
/* panels: a sticky head with Back and an X, a scrolling body, a sticky foot */
.scrim { position: fixed; inset: 0; z-index: 9; background: rgba(10,8,5,.45); }
.slip, .tag { z-index: 10; }
.phead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 8px 6px 14px; background: var(--paper); border-bottom: 1px dashed #b9a172; }
.phead .pback { min-height: 44px; padding: 0 10px; border: 1px solid #b9a172; background: #efe5cb; font: 600 13px var(--sign); letter-spacing: .05em; text-align: left; }
.phead .pyear { margin-left: auto; font: 600 18px var(--sign); color: #7a5a24; }
.x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: 4px; border: 1px solid #b9a172; background: #efe5cb; font: 400 30px/1 var(--body); color: var(--ink); }
.x:hover, .phead .pback:hover { background: #f8e9b8; }
.pbody { flex: 1; min-height: 0; overflow: auto; padding: 14px 24px 22px; overscroll-behavior: contain; }
.pstep { display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #ece2c8; border-top: 1px solid #b9a172; }
.pstep button { flex: 1; min-height: 44px; padding: 0 10px; border: 1px solid #b9a172; background: #f6efdc; font: 600 14px var(--sign); letter-spacing: .04em; white-space: nowrap; }
.pstep button:last-child { text-align: right; } .pstep button:first-child { text-align: left; }
.pstep button:disabled { opacity: .35; cursor: default; }
.pstep .sy { font: 600 16px var(--sign); color: #7a5a24; }
.grab { display: none; }
.tag .phead .pyear:empty { display: none; }
.tag .phead .x { margin-left: auto; } .tag .phead .pback + .pyear + .x { margin-left: auto; }
/* the Directory: a map with a search box; floors fold open */
.dirin { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dhead { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 16px 18px 12px; background: linear-gradient(#173226, #12291c); border-bottom: 1px solid rgba(201,161,78,.4); }
.dhead h2 { text-align: left !important; font-size: 28px !important; }
.dhead .x { background: rgba(201,161,78,.15); border-color: var(--gold); color: var(--gold2); }
.dhead .search { grid-column: 1 / -1; } .dhead input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--gold); background: #0b1a11; color: #f6ead0; font: 500 18px var(--body); }
.dbody { overflow: auto; padding: 8px 22px 22px; overscroll-behavior: contain; }
.dsub { text-align: center; font-style: italic; color: #d9c79b; margin: 4px 0 10px; }
.dfl { border-top: 1px solid rgba(201,161,78,.35); padding: 4px 0; }
.dfl summary { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 8px 4px; cursor: pointer; list-style: none; color: var(--gold2); font: 600 18px var(--sign); }
.dfl summary::-webkit-details-marker { display: none; }
.dfl summary::before { content: "▸"; color: var(--gold); font-size: 14px; transition: transform .2s; } .dfl[open] summary::before { transform: rotate(90deg); }
.dfl summary span { font: italic 500 18px var(--body); color: #d9c79b; }
.dfl summary em { margin-left: auto; padding: 2px 8px; background: var(--gold); color: #1b140f; font: 600 11px var(--sign); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.dfl ul, .curios ul { list-style: none; margin: 0; padding: 0 0 6px 4px; columns: 2; column-gap: 18px; }
.dfl li button, .curios li button { display: block; width: 100%; min-height: 40px; padding: 4px 4px; border: 0; background: none; color: #f1e3bd; text-align: left; font: 500 16px/1.25 var(--body); break-inside: avoid; }
.dfl li button:hover, .curios li button:hover { background: rgba(201,161,78,.14); }
.dfl li button b { font: 600 13px var(--sign); color: var(--gold2); } .dfl li button i { color: #bfae86; } .star { color: #f2cd6a; }
.gofl { min-height: 44px; margin: 2px 0 8px; padding: 0 14px; border: 1px solid var(--gold); background: rgba(201,161,78,.12); color: var(--gold2); font: 600 13px var(--sign); letter-spacing: .08em; }
.curios { margin-top: 12px; border-top: 3px double var(--gold); padding-top: 8px; }
.curios h3 { margin: 6px 0; font: 600 20px var(--sign); color: var(--gold2); }
.curios li button b { color: #fff0c6; }
.dir .none { text-align: center; font-style: italic; color: #d9c79b; }
/* the floor list */
.floors { position: fixed; inset: 0; z-index: 13; display: grid; place-items: center; background: rgba(10,8,5,.55); }
.flin { width: min(420px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow: auto; background: linear-gradient(135deg, #e6c879, #b4893a 40%, #e9cf8a 60%, #9c722a); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.flin .dhead { background: rgba(30,20,8,.12); border-bottom-color: rgba(60,40,10,.35); } .flin .dhead h2 { margin: 0; font: 600 24px var(--sign); color: #2a1c0c; }
.flin .dhead .x { background: rgba(255,255,255,.3); color: #2a1c0c; border-color: rgba(60,40,10,.4); }
.flin ul { list-style: none; margin: 0; padding: 8px 12px 14px; }
.flin button { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 2px 8px; border: 0; background: none; text-align: left; color: #2a1c0c; font: 600 15px var(--sign); }
.flin button b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6dc, #d9b766 55%, #8e6728); box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.flin button i { font: italic 500 16px var(--body); } .flin button em { font-style: normal; font-size: 13px; color: #5b3a10; }
.flin button.on b { background: radial-gradient(circle at 35% 30%, #fff, #ffe08a 50%, #e0a32a); box-shadow: 0 0 10px 2px rgba(255,214,120,.8); }
.flin button:hover { background: rgba(255,255,255,.2); }
/* the compact elevator: a dial button that opens the floor list (on a phone) */
.evdial { display: none; position: fixed; z-index: 8; right: 10px; bottom: calc(76px + var(--sheet, 0px)); align-items: center; gap: 8px; min-height: 48px; padding: 4px 12px 4px 6px; border: 0; border-radius: 24px; background: linear-gradient(135deg, #e6c879, #b4893a 40%, #e9cf8a 60%, #9c722a); box-shadow: 0 4px 12px rgba(0,0,0,.45); color: #2a1c0c; font: 600 13px var(--sign); transition: bottom .25s; }
.evdial .mini { position: relative; width: 38px; height: 22px; overflow: hidden; } .evdial .mini::before { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle, #f1e5c6 0 58%, #8a6326 60% 66%, transparent 67%); }
.evdial .mini i { position: absolute; left: 18px; top: 4px; width: 2px; height: 16px; background: #2a1c0c; transform-origin: 50% 100%; }
/* the ride */
.rideskip { position: fixed; z-index: 14; right: 22px; bottom: 22px; min-height: 48px; padding: 0 22px; border: 2px solid var(--gold); background: rgba(16,37,26,.9); color: var(--gold2); font: 600 15px var(--sign); letter-spacing: .1em; }
body.riding .plaque, body.riding .strip, body.riding .prompt, body.riding .here, body.riding .trolabel { opacity: 0; pointer-events: none; }
.fade { position: fixed; inset: 0; z-index: 12; background: #120c07; opacity: 0; pointer-events: none; transition: opacity .2s; } .fade.on { opacity: .85; }
.skip { z-index: 20; min-height: 56px; padding: 0 28px; font-size: 17px; }
/* ---------------------------------------------------------------- v2 phone (390×844) */
body.phone .bar { flex-wrap: nowrap; gap: 6px; padding: 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); }
body.phone .bar .brand { display: none; }
body.phone .crumbs { flex: 1; }
body.phone .crumbs .upstep { font-size: 17px; font-weight: 600; padding: 0 8px 0 4px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
body.phone .crumbs .home span { display: none; } body.phone .crumbs .home { min-width: 44px; justify-content: center; }
body.phone .dirbtn { min-height: 44px; }
body.phone .yp { width: auto; order: 0; } body.phone .yp select { width: 96px; min-height: 44px; max-width: 96px; padding-right: 22px; font-size: 15px; }
body.phone .here { top: auto; left: 10px; right: 140px; bottom: calc(80px + var(--sheet, 0px)); font-size: 14px; padding: 4px 8px; }
body.phone .ev { display: none; }
body.phone .evdial { display: flex; }
body.phone .plaque { display: none; }
body.phone .strip { left: 0; right: 0; transform: none; bottom: 0; max-width: none; border-width: 2px 0 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
body.phone .strip .chip { min-width: 88px; min-height: 52px; }
body.phone.slipping .strip { visibility: hidden; }
body.phone .prompt { bottom: 140px; font-size: 15px; white-space: normal; width: calc(100% - 24px); text-align: center; }
body.phone .slip { left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: 64vh; max-height: none; border-radius: 12px 12px 0 0; transition: height .25s; }
body.phone .slip.full { height: calc(100% - 8px); }
body.phone .slip .grab { display: grid; place-items: center; height: 22px; touch-action: none; cursor: grab; background: var(--paper); } body.phone .slip .grab i { width: 44px; height: 5px; border-radius: 3px; background: #b9a172; }
body.phone .slip::before { display: none; }
body.phone .phead { padding: 2px 6px 6px 8px; } body.phone .phead .pback { font-size: 11.5px; padding: 0 8px; max-width: 58vw; }
body.phone .pbody { padding: 12px 16px 18px; }
body.phone .slip h2 { font-size: 30px; }
body.phone .tag { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-height: 78vh; border-radius: 12px 12px 0 0; }
body.phone .dir { place-items: stretch; }
body.phone .dirin { width: 100%; max-height: none; height: 100%; border: 0; }
body.phone .dhead { padding: max(10px, env(safe-area-inset-top)) 12px 10px; }
body.phone .dbody { padding: 6px 12px calc(20px + env(safe-area-inset-bottom)); }
body.phone .dfl ul, body.phone .curios ul { columns: 1; }
body.phone .floors { place-items: end stretch; } body.phone .flin { width: 100%; max-height: 86vh; border-radius: 14px 14px 0 0; }
body.phone .rideskip { right: 12px; bottom: 12px; }
body.phone .hint { width: calc(100% - 40px); text-align: center; }
@media (prefers-reduced-motion: reduce) { .slip, .evdial, .here, .fade { transition: none !important; } }

/* v3: one aligned line per Directory row, the ✦ after the course; the floor list's X like the slip's */
.dfl ul { columns: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 5), auto); grid-auto-flow: column; column-gap: 18px; align-items: start; }
.dfl li button { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; min-height: 40px; }
.dfl li button b { flex: none; width: 40px; }
.dfl li button .dt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dfl li button .star { flex: none; }
body.phone .dfl ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
.flin .dhead .x, body.phone .flin .dhead .x { justify-self: end; width: 44px; height: 44px; padding: 0; border: 2px solid var(--gold); background: #f6efdc; color: var(--ink); font: 400 32px/1 var(--body); border-radius: 2px; }
.flin .dhead .x:hover { background: #fff6dc; }
/* ================================================================ v4 */
body:not(.inside) .plaque, body.outside .plaque, body.outside .strip, body.outside .prompt, body.outside .evdial, body.outside .ev, body.outside .trolabel { visibility: hidden; }
.buildline { position: fixed; z-index: 9; left: 50%; bottom: 13%; transform: translateX(-50%); width: min(720px, calc(100% - 40px)); margin: 0; padding: 14px 22px; text-align: center; background: rgba(16,12,8,.55); color: #f6ead0; font: italic 500 24px/1.35 var(--body); text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; transition: opacity .2s; }
body.inside .buildline { display: none; }
.snd { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(201,161,78,.6); background: rgba(201,161,78,.08); color: var(--gold2); }
.snd .w { display: none; } .snd.on .w { display: inline; } .snd.on .m { display: none; } .snd.on { background: rgba(201,161,78,.25); }
.outbtn, .inbtn { position: fixed; z-index: 8; min-height: 44px; padding: 0 18px; border: 2px solid var(--gold); background: rgba(16,37,26,.9); color: var(--gold2); font: 600 14px var(--sign); letter-spacing: .08em; }
.outbtn { left: 18px; bottom: 240px; }
.inbtn { left: 50%; bottom: 28px; transform: translateX(-50%); min-height: 52px; font-size: 16px; padding: 0 26px; }
.outhint { position: fixed; z-index: 8; left: 50%; top: 74px; transform: translateX(-50%); margin: 0; padding: 6px 14px; background: rgba(16,12,8,.6); color: #f6ead0; font: italic 500 17px var(--body); pointer-events: none; white-space: nowrap; }
.outlabel { position: fixed; z-index: 9; left: 0; top: 0; margin: 0; padding: 6px 12px; background: rgba(16,37,26,.92); border: 1px solid var(--gold); color: var(--gold2); font: 600 14px var(--sign); letter-spacing: .05em; pointer-events: none; white-space: nowrap; }
.dirout { justify-self: start; min-height: 40px; padding: 0 14px; border: 1px solid var(--gold); background: rgba(201,161,78,.12); color: var(--gold2); font: 600 12px var(--sign); letter-spacing: .08em; grid-column: 1 / -1; }
.say { position: fixed; z-index: 9; left: 50%; bottom: 96px; transform: translateX(-50%); max-width: min(560px, calc(100% - 40px)); margin: 0; padding: 10px 16px 12px; background: var(--paper); border-left: 4px solid var(--gold); box-shadow: 0 8px 22px rgba(0,0,0,.4); animation: hintIn .35s both; }
.say b { display: block; font: 600 11px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: #7a5a24; }
.say p { margin: 2px 0 0; font: italic 500 18px/1.3 var(--body); color: var(--ink); }
.phead .copy { min-height: 44px; padding: 0 10px; border: 1px solid #b9a172; background: #efe5cb; font: 600 12px var(--sign); letter-spacing: .04em; white-space: nowrap; }
.phead .copy:hover { background: #f8e9b8; }
.tag .phead .copy { margin-left: auto; } .tag .phead .copy + .x { margin-left: 4px; }
.watch { display: block; width: 100%; margin-top: 12px; min-height: 48px; padding: 6px 12px; border: 1px solid var(--gold); background: #173226; color: var(--gold2); text-align: left; font: 600 14px var(--sign); letter-spacing: .05em; }
.watch span { display: block; font: italic 500 15px var(--body); color: #e6d6a8; letter-spacing: 0; }
.board { list-style: none; margin: 8px 0; padding: 0; }
.board li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed #cdbd9a; }
.board .yl { min-height: 36px; padding: 0 6px; border: 1px solid #b9a172; background: #efe5cb; font: 600 14px var(--sign); }
.board span i { display: block; font-size: 15px; color: var(--ink2); }
.strip .chip.board { min-width: 150px; white-space: normal; }
/* the television department */
.tv { position: fixed; inset: 0; z-index: 13; display: grid; place-items: center; background: rgba(10,8,5,.6); }
.tvin { width: min(980px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow: auto; background: linear-gradient(#173226, #0f2117); border: 3px double var(--gold); color: #f1e3bd; }
.tvin .dhead h2 { margin: 0; font: 600 26px var(--sign); background: linear-gradient(#fbe7a6, #d4a64a 55%, #a0782c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tvcards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 16px 18px 20px; }
.vcard { margin: 0; } .vcard.pick .vframe { outline: 2px solid var(--gold2); outline-offset: 3px; }
.vcard figcaption { margin-top: 8px; font: 600 17px/1.3 var(--body); color: #f6ead0; }
.vframe { position: relative; aspect-ratio: 16 / 9; background: #0b0806; overflow: hidden; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplay { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #1a120c; }
.vplay img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplay .vfall { display: none; position: absolute; inset: 0; place-content: center; padding: 20px; text-align: center; font: 600 22px/1.25 var(--body); color: #f6ead0; background: radial-gradient(circle at 50% 40%, #3a2a1a, #120c07); }
.vplay .vfall b { display: block; font: 700 34px var(--sign); color: var(--gold2); margin-bottom: 8px; letter-spacing: .1em; }
.vplay.noimg .vfall { display: grid; } .vplay.noimg img { display: none; }
.vplay .vbadge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 10px 20px; background: rgba(16,12,8,.78); border: 2px solid var(--gold2); color: #fff3d0; font: 600 16px var(--sign); letter-spacing: .1em; }
.vplay:hover .vbadge { background: rgba(122,90,36,.9); }
body.phone .tvcards { grid-template-columns: 1fr; padding: 12px; }
body.phone .tv { place-items: end stretch; } body.phone .tvin { width: 100%; max-height: 92vh; }
body.phone .outbtn { left: 10px; bottom: auto; top: 112px; }
body.phone .inbtn { bottom: 20px; }
body.phone .outhint { top: auto; bottom: 128px; white-space: normal; width: calc(100% - 24px); text-align: center; }
body.phone .say { bottom: calc(132px + var(--sheet, 0px)); }
body.phone .buildline { font-size: 19px; bottom: 16%; }
body.phone .phead .copy { font-size: 11px; padding: 0 8px; }
body.phone .snd { width: 40px; }

/* ================================================================ v5: posters as covers, the television department's label */
.tvlabel { left: 0; top: 0; }
.tvlabel::after { left: 50%; }
.tvcards { grid-template-columns: repeat(2, auto); justify-content: center; gap: 26px; }
.vcard { display: flex; justify-content: center; }
.vframe { aspect-ratio: 1819 / 2576; height: min(66vh, 640px); width: auto; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
.vframe.playing { aspect-ratio: 16 / 9; height: auto; width: min(46vw, 640px); }
.vplay img { object-fit: contain; background: #0b0806; }
.vplay .vbadge { top: auto; bottom: 16%; left: 50%; transform: translateX(-50%); padding: 12px 26px; min-height: 48px; font-size: 18px; background: rgba(16,12,8,.86); border-width: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.vcard.pick .vframe { outline: 3px solid var(--gold2); outline-offset: 4px; }
body.phone .tvcards { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
body.phone .vframe { height: auto; width: min(100%, 340px); }
body.phone .vframe.playing { width: 100%; }
body.phone .vcard { width: 100%; }
body.phone .vframe { width: 100%; max-width: 340px; height: auto; margin: 0 auto; }

/* ================================================================ v6: calmer signage */
.hoverlabel { position: fixed; z-index: 9; left: 0; top: 0; margin: 0; padding: 4px 10px; background: rgba(16,37,26,.9); border: 1px solid rgba(201,161,78,.7); color: var(--gold2); font: 600 12px var(--sign); letter-spacing: .05em; white-space: nowrap; pointer-events: none; }
.marks { position: fixed; inset: 0; z-index: 7; pointer-events: none; }
.mark { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; font-size: 15px; line-height: 1; color: #ffe39a; text-shadow: 0 0 4px rgba(0,0,0,.8), 0 0 8px rgba(255,200,90,.6); }
.mark.pulse { animation: markPulse 1s ease-in-out 2; }
@keyframes markPulse { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.8; opacity: 1; } }
/* the first-visit prompt fades away */
.prompt, .outhint, .hint { transition: opacity .45s; } .prompt.going, .outhint.going, .hint.going { opacity: 0; }
/* step outside: a quiet link in the plaque */
.plaque .outlink { display: block; margin-top: 6px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--gold2); font: italic 500 16px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plaque .outlink:hover { color: #fff3d0; }
/* you are here: smaller on desktop */
.here { font-size: 13px; padding: 3px 9px; } .here b { font-size: 10px; }
/* outside: the hint sits just above Enter the store, in small italics */
.inwrap { position: fixed; z-index: 8; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.inwrap .inbtn { position: static; transform: none; }
.inwrap .outhint { position: static; transform: none; margin: 0; padding: 3px 10px; background: rgba(16,12,8,.5); font: italic 500 14px var(--body); white-space: nowrap; }
/* the TV cards: the poster whole, a slim play bar under it */
.vframe { aspect-ratio: auto; height: auto; width: auto; box-shadow: none; overflow: visible; background: none; }
.vplay { position: relative; inset: auto; display: flex; flex-direction: column; width: auto; height: auto; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
.vplay:hover, .vplay:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.6); }
.vposter { position: relative; display: block; height: min(60vh, 580px); aspect-ratio: 700 / 991; background: #0b0806; }
.vposter img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplay.noimg .vfall { display: grid; } .vplay.noimg img { display: none; }
.vbar { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: #0f2117; border-top: 2px solid var(--gold); color: var(--gold2); font: 600 15px var(--sign); letter-spacing: .1em; text-transform: uppercase; }
.vbar i { font-style: normal; font-size: 13px; }
.vplay:hover .vbar { background: #173226; color: #fff3d0; }
.vframe.playing { aspect-ratio: 16 / 9; width: min(46vw, 640px); height: auto; overflow: hidden; background: #0b0806; }
.vframe.playing iframe { position: absolute; inset: 0; }
.vframe { position: relative; }
body.phone .vposter { height: auto; width: min(100%, 320px); }
body.phone .vplay { width: min(100%, 320px); margin: 0 auto; }
body.phone .vframe { width: 100%; max-width: none; }
body.phone .vframe.playing { width: 100%; }
/* phone: the back control is short, and the place you're in is folded into it */
body.phone .crumbs .upstep { display: grid; justify-items: start; line-height: 1.05; padding: 2px 6px 2px 2px; min-height: 44px; max-width: 132px; }
body.phone .crumbs .upstep b { font: 600 16px var(--body); color: var(--gold2); }
body.phone .crumbs .upstep small { font: italic 500 11.5px var(--body); color: #d9c79b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 128px; }
body.phone .here { display: none !important; }
/* phone: a compact plaque bottom-left, above the strip, clear of the dial */
body.phone .plaque { display: block; left: 8px; right: auto; width: auto; max-width: calc(100% - 170px); bottom: calc(76px + var(--sheet, 0px)); padding: 6px 10px 6px; }
body.phone .plaque .pf { font-size: 10.5px; } body.phone .plaque .pd { font-size: 18px; margin: 1px 0 2px; }
body.phone .plaque .pc { font-size: 13px; margin-top: 2px; } body.phone .plaque .outlink { font-size: 14px; min-height: 30px; margin-top: 2px; }
body.phone .plaque .again { display: none !important; }
body.phone.slipping .plaque { display: none; }
body.phone .prompt { bottom: 196px; }
body.phone .inwrap { bottom: 20px; width: calc(100% - 24px); } body.phone .inwrap .outhint { white-space: normal; text-align: center; font-size: 13px; }
.vposter picture { display: contents; }
