[hidden] { display: none !important; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
:root { --brand: #b70d58; --brand-l: #f07bab; --ink: #1d1f22; --glass: rgba(18, 19, 22, .62); --ease: cubic-bezier(.22, .8, .2, 1); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #16171a; color: #fff; font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; filter: contrast(1.05) saturate(1.06); }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 58%, rgba(0,0,0,.34) 100%); }
#c.dragging { cursor: grabbing; }
#c.floor { cursor: crosshair; }
button { font: inherit; color: inherit; }
a { color: var(--brand-l); }
kbd { font-family: inherit; font-size: 12px; font-weight: 800; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .15); margin-right: 3px; }

.top { position: fixed; left: 0; right: 0; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 16px 14px; pointer-events: none; }
.top > * { pointer-events: auto; }
.back { display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; text-decoration: none; }
.back svg { width: 20px; height: 20px; }
.back img { height: 26px; }
.tools { display: flex; gap: 8px; }
.tools button { height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 14px; transition: background .3s; }
.tools button:hover, .tools button[aria-pressed="true"]#b-tour { background: var(--brand); }
.tools svg { width: 19px; height: 19px; }

.map { position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 4; width: 250px; padding: 10px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity .4s, transform .4s var(--ease); }
.map.off { opacity: 0; transform: translateY(20px); pointer-events: none; }
.map svg { display: block; width: 100%; height: auto; cursor: pointer; }
.map span { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 6px; text-align: center; }

.hint { position: fixed; left: 50%; bottom: 40px; z-index: 4; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 700; opacity: 0; transition: opacity .4s, transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.hint.on { opacity: 1; transform: translate(-50%, 0); }

.spot { position: fixed; z-index: 3; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: transform .3s var(--ease), background .3s, opacity .3s; left: 0; top: 0; }
.spot::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.spot:hover, .spot.near { background: var(--brand); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.spot svg { width: 18px; height: 18px; }
.spot span { position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 700; background: rgba(15, 15, 17, .72); padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; color: #fff; }
.spot:hover span, .spot.near span { opacity: 1; }

.card { position: fixed; right: 16px; top: 76px; bottom: 16px; z-index: 6; width: min(400px, calc(100% - 32px)); border-radius: 20px; overflow: hidden; background: rgba(22, 23, 26, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: cardIn .6s var(--ease); max-height: 720px; }
@keyframes cardIn { from { opacity: 0; transform: translateX(30px); } }
.card-img { flex: 0 0 auto; height: 38%; min-height: 160px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; animation: kb 12s ease-out forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.card-body { padding: 20px 22px 22px; overflow-y: auto; flex: 1; }
.card small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--brand-l); }
.card h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.1; margin: 8px 0 12px; }
.card p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.card ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.card .close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); font-size: 22px; cursor: pointer; }
.card .close:hover { background: var(--brand); }
.card-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.card-nav button { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 0; background: var(--brand); font-weight: 800; cursor: pointer; }
.card-nav svg { width: 17px; height: 17px; }

.joy { position: fixed; left: 28px; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 4; width: 124px; height: 124px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); touch-action: none; }
.joy i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }

.overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 40%, rgba(22, 23, 26, .7), rgba(12, 12, 14, .96)); transition: opacity .8s var(--ease); }
.overlay.gone { opacity: 0; pointer-events: none; }
.intro-box { max-width: 620px; text-align: center; }
.intro-logo { height: 46px; margin: 0 auto 30px; }
.intro-box h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; }
.intro-box h1 em { color: var(--brand-l); font-style: italic; }
.intro-box p { color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.6; margin: 0 auto 22px; max-width: 52ch; }
.progress { position: relative; height: 44px; max-width: 360px; margin: 28px auto; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), #d9357a); transform-origin: left; transform: scaleX(0); transition: transform .3s; }
.progress span { position: relative; display: grid; place-items: center; height: 100%; font-weight: 700; font-size: 14px; }
.intro-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0; }
.btn { padding: 16px 26px; border-radius: 999px; border: 0; background: var(--brand); font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); background: #930a47; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 10px 0 24px; }
.fine { font-size: 13px !important; color: rgba(255, 255, 255, .5) !important; }

@media (max-width: 700px) {
  .tools button span { display: none; }
  .map { width: 170px; left: auto; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 64vh; }
  .card-img { height: 150px; min-height: 0; }
  .back img { height: 22px; }
  .hint { bottom: 170px; white-space: normal; text-align: center; max-width: 80vw; }
}
