@font-face { font-family: Newsreader; src: url(../vendor/fonts/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Newsreader; src: url(../vendor/fonts/newsreader-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Newsreader; src: url(../vendor/fonts/newsreader-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(../vendor/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(../vendor/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../vendor/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root { --ink: #cfe6fb; --paper: #0a1c30; --gold: #f0b34a; --glass: #0a1c30cc; --line: #cfe6fb33; --serif: Newsreader, Georgia, serif; --sans: "IBM Plex Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink); font: 16px/1.45 var(--sans); overflow: hidden; overscroll-behavior: none; }
#stage { position: fixed; inset: 0; touch-action: none; }
#stage canvas { display: block; }
#hud { position: fixed; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 16px 0; pointer-events: none; }
#hud[hidden] { display: none; }
#hud::before { content: ''; position: absolute; inset: 0 0 -26px; background: linear-gradient(#071525e6, #07152500); pointer-events: none; z-index: -1; }
#where { text-shadow: 0 1px 8px #000a; min-width: 0; }
#whereArea { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 6px; align-items: center; font: 11.5px/1.4 var(--mono); letter-spacing: .04em; pointer-events: auto; }
#whereArea a { color: var(--ink); opacity: .78; text-decoration: none; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
#whereArea a:hover, #whereArea a:focus-visible { opacity: 1; border-color: var(--ink); }
#whereArea i { font-style: normal; opacity: .45; }
#whereArea span { opacity: .78; }
#where b { display: block; margin-top: 2px; font: 500 23px/1.2 var(--serif); }
#tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; pointer-events: auto; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#tools button, #lenses button { font: inherit; font-size: 13.5px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; backdrop-filter: blur(8px); }
#tools button:hover, #tools button.on, #lenses button:hover, #lenses button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#lenses { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #0a1c3099; }
#lenses[hidden], #legend[hidden], #film[hidden], #find[hidden], #mini[hidden], #progress[hidden] { display: none; }
#zoomer { position: fixed; right: 14px; bottom: 172px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
#zoomer[hidden], #dir[hidden] { display: none; }
#zoomer button { width: 40px; height: 40px; font: 500 19px var(--sans); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s, color .15s; }
#zoomer button:last-child { border-bottom: 0; }
#zoomer button:hover { background: var(--ink); color: var(--paper); }
#btnNorth i { display: inline-block; font-style: normal; font-size: 13px; color: var(--gold); }
#btnNorth.off i { opacity: .45; }
#dir { position: fixed; left: 16px; top: 84px; bottom: 120px; width: 232px; display: flex; flex-direction: column; pointer-events: none; }
#dirToggle { display: none; align-self: flex-start; font: inherit; font-size: 13.5px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; pointer-events: auto; }
#dirBody { overflow: auto; padding: 8px 10px 10px; border-radius: 12px; background: #0a1c30b0; border: 1px solid var(--line); backdrop-filter: blur(8px); pointer-events: auto; scrollbar-width: thin; }
#dirBody h3 { font: 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .68; margin: 10px 0 3px; }
#dirBody h3:first-child { margin-top: 2px; }
#dirBody button { display: grid; grid-template-columns: 12px 1fr; column-gap: 7px; align-items: baseline; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; border-radius: 6px; padding: 3px 5px; cursor: pointer; transition: background .15s; }
#dirBody button:hover, #dirBody button:focus-visible { background: #cfe6fb1f; }
#dirBody i { width: 8px; height: 8px; border-radius: 2px; }
#dirBody b { font: 500 14.5px/1.2 var(--serif); color: #fff; }
#dirBody small { grid-column: 2; font: 10.5px var(--mono); opacity: .66; }
@media (max-width: 760px) { #dir { top: 96px; bottom: auto; width: min(260px, calc(100vw - 32px)); } #dirToggle { display: block; } #dirBody { display: none; margin-top: 6px; max-height: 60vh; } #dir.open #dirBody { display: block; } }
#legend { position: fixed; left: 16px; bottom: 36px; max-width: 232px; font-size: 13px; line-height: 1.45; color: #d7e6f3; text-shadow: 0 1px 6px #000; pointer-events: none; }
#legend b { display: block; font: 500 16px var(--serif); margin-bottom: 1px; color: #fff; }
#legend i { display: inline-block; width: 10px; height: 10px; margin-right: 3px; border-radius: 2px; }
#progress { position: fixed; left: 16px; bottom: 14px; font: 11.5px var(--mono); opacity: .7; pointer-events: none; text-shadow: 0 1px 6px #000; }
#mini { position: fixed; right: 14px; bottom: 14px; width: 148px; height: 148px; cursor: pointer; filter: drop-shadow(0 4px 14px #0008); }
#film { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: min(460px, calc(100vw - 210px)); min-width: 240px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
#film button { font: 12px var(--mono); color: var(--ink); background: none; border: 0; cursor: pointer; min-width: 26px; min-height: 26px; opacity: .55; }
#film button:first-child, #film button.on { opacity: 1; }
#film input { flex: 1; min-width: 0; accent-color: var(--gold); }
#fTime { font: 11.5px var(--mono); opacity: .75; white-space: nowrap; }
#find { position: fixed; left: 50%; top: 12vh; transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); padding: 10px; border-radius: 14px; background: #0a1c30f2; border: 1px solid var(--line); box-shadow: 0 18px 60px #000a; }
#findQ { width: 100%; font: 400 21px var(--serif); color: #fff; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 8px 10px; outline: none; }
#findR button { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; border-radius: 8px; padding: 7px 9px; margin-top: 2px; cursor: pointer; }
#findR button.on, #findR button:hover { background: #cfe6fb1f; }
#findR b { display: block; font: 500 16px var(--serif); color: #fff; }
#findR small { font: 11.5px var(--mono); opacity: .72; }
#findR p { margin: 12px 9px; opacity: .75; }
.conn { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line); padding: 7px 0; cursor: pointer; }
.conn:hover b { color: var(--gold); }
.conn i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.conn b { font: 500 15.5px var(--serif); color: #fff; transition: color .2s; }
.conn small { display: block; margin: 1px 0 0 15px; font-size: 12.5px; opacity: .78; line-height: 1.35; }
@media (max-width: 980px) { #legend { display: none; } #btnLib { display: none; } #whereArea span, #whereArea span + i { display: none; } }
@media (max-width: 620px) { #zoomer { bottom: 190px; right: 10px; } #mini { width: 112px; height: 112px; right: 10px; bottom: 74px; } #legend { display: none; } #film { width: calc(100vw - 32px); } #progress { display: none; } #tools button { padding: 6px 11px; font-size: 12.5px; } #btnLib { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
#btnLib { font-size: 13.5px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; backdrop-filter: blur(8px); }
#btnLib:hover { background: var(--ink); color: var(--paper); }
#card { position: fixed; right: 66px; top: 84px; width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 110px); scrollbar-width: thin; scrollbar-color: #cfe6fb55 transparent; overflow: auto; padding: 16px 18px; border-radius: 12px; background: #0a1c30ee; border: 1px solid #cfe6fb33; }
#card[hidden] { display: none; }
#card h2 { font: 500 24px/1.15 var(--serif); margin: 2px 0 6px; color: #fff; }
#card p { font-size: 14px; line-height: 1.42; }
#card p { margin: 0 0 10px; font-size: 15px; }
#card .go { font: inherit; display: block; width: 100%; margin-top: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: #1b1204; cursor: pointer; text-align: center; text-decoration: none; }
#cardX { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }
#btnXR { border-color: var(--gold); color: var(--gold); }
#tip { position: fixed; left: 50%; bottom: max(74px, calc(env(safe-area-inset-bottom) + 60px)); transform: translateX(-50%); max-width: min(560px, 90vw); padding: 7px 14px; border-radius: 8px; background: #0a1c30e0; font-size: 15px; text-align: center; pointer-events: none; }
#help { position: fixed; left: 50%; top: 92px; transform: translateX(-50%); max-width: min(560px, calc(100vw - 32px)); padding: 7px 14px; border-radius: 8px; background: #0a1c30b8; font-size: 14px; text-align: center; pointer-events: none; }
#help[hidden] { display: none; }
#intro { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at 50% 60%, #0a1c3099, #05101ced); transition: opacity 1.2s; }
#intro.gone { opacity: 0; pointer-events: none; }
#intro[hidden] { display: none; }
#intro > div { max-width: 520px; text-align: center; }
#intro h1 { font: 400 clamp(38px, 8vw, 66px)/1.05 var(--serif); margin: 8px 0 14px; color: #fff; }
#intro p { margin: 0 0 22px; font-size: 18px; }
#intro .small { font-size: 14px; opacity: .75; margin: 18px 0 0; }
.eyebrow { font: 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
#intro button { font: inherit; font-size: 17px; display: block; width: 100%; max-width: 320px; margin: 8px auto; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: #1b1204; cursor: pointer; }
#intro button:disabled { opacity: .6; }
#intro button[hidden] { display: none; }
#goXR { background: transparent !important; color: var(--gold) !important; }
@media (max-width: 900px) { #card { left: 12px; right: 12px; top: auto; bottom: 72px; width: auto; max-height: 38vh; padding: 12px 14px; } #card h2 { font-size: 21px; } }
.conn { display: flex; gap: 9px; align-items: flex-start; }
.conn span { min-width: 0; }
.conn b { display: block; line-height: 1.2; }
.conn em { display: block; font: 10.5px var(--mono); font-style: normal; }
.conn small { margin: 1px 0 0; }
.who { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.who img { width: 96px; height: 96px; flex: none; border-radius: 10px; object-fit: cover; }
.who h2 { margin: 2px 0 3px; }
.who .role { margin: 0; font-size: 13px; opacity: .85; }
.hero { display: block; width: calc(100% + 36px); margin: -16px -18px 10px; height: 150px; object-fit: cover; border-radius: 12px 12px 0 0; }
#voice blockquote { margin: 0 0 4px; font: 400 italic 17px/1.32 var(--serif); color: #fff; }
#voice .q { font-size: 12px; opacity: .72; margin-bottom: 7px; }
#voice video { display: block; width: 100%; border-radius: 8px; margin-bottom: 10px; }
.listen { font: 12px var(--mono); color: var(--gold); background: none; border: 1px solid #f0b34a66; border-radius: 999px; padding: 5px 11px; margin-bottom: 10px; cursor: pointer; }
#card .dim { opacity: .75; font-size: 13px; }
#card .credit { font: 10.5px var(--mono); opacity: .6; }
#askForm { pointer-events: auto; margin-bottom: 6px; }
#askQ { width: 100%; font: 400 italic 15.5px var(--serif); color: #fff; background: #0a1c30d8; border: 1px solid #f0b34a88; border-radius: 10px; padding: 8px 10px; outline: none; }
#askQ:focus { border-color: var(--gold); }
#askBox { font: 11px var(--mono); margin-top: 3px; opacity: .8; text-shadow: 0 1px 4px #000; }
.conn .said { font: italic 13.5px/1.32 var(--serif); }
@media (max-width: 760px) { #askForm { display: none; } #dir.open #askForm { display: block; margin-top: 6px; } }
.ava { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; background: #17456e; border: 1px solid var(--line); }
#findR button { display: flex; gap: 9px; align-items: center; }
#tip .ava { width: 26px; height: 26px; margin: -3px 8px -3px -4px; vertical-align: middle; }
#navbar { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 4px; width: max-content; max-width: min(820px, calc(100vw - 340px)); flex-wrap: wrap; justify-content: center; padding: 4px; border-radius: 18px; background: #0a1c30d9; border: 1px solid var(--line); backdrop-filter: blur(8px); }
#navbar[hidden], #pad[hidden], #nLeave[hidden], #nPrev[hidden], #nNext[hidden], #nMain[hidden] { display: none; }
#nSpots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
#nSpots:empty { display: none; }
#navbar button { flex: none; font: inherit; font-size: 13px; color: var(--ink); background: none; border: 0; border-radius: 999px; padding: 6px 11px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
#navbar button:hover { background: var(--ink); color: var(--paper); }
#nBack { font-weight: 500 !important; }
#nMain { background: var(--gold) !important; color: #1b1204 !important; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
#pad { position: fixed; left: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(3, 40px); grid-auto-rows: 40px; gap: 3px; touch-action: none; }
#pad button { font: 15px var(--sans); color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; backdrop-filter: blur(8px); user-select: none; -webkit-user-select: none; }
#pad button:hover, #pad button:active { background: var(--ink); color: var(--paper); }
#film { bottom: max(66px, calc(env(safe-area-inset-bottom) + 52px)); }
#tip { bottom: max(118px, calc(env(safe-area-inset-bottom) + 104px)); }
@media (max-width: 900px) { #navbar { max-width: none; left: 10px; right: 10px; transform: none; bottom: 10px; flex-wrap: wrap; justify-content: center; border-radius: 18px; overflow: visible; } #nSpots button:not(.gate) { display: none; } #navbar { width: auto; } #navbar button { padding: 4px 8px; font-size: 12px; } #pad { bottom: 104px; left: 10px; grid-template-columns: repeat(3, 42px); grid-auto-rows: 42px; } #mini { bottom: 104px !important; right: 10px; width: 112px; height: 112px; } #film { bottom: 104px; left: 158px; right: 130px; width: auto; min-width: 0; transform: none; } #fTime { display: none; } #tip { bottom: 156px; } }
#btnQs { pointer-events: auto; font: 500 14.5px var(--serif); color: #fff; text-align: left; background: #0a1c30d8; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; margin-bottom: 6px; cursor: pointer; transition: background .15s, color .15s; }
#btnQs:hover { background: var(--ink); color: var(--paper); }
#qFind { width: 100%; font: 14px var(--sans); color: #fff; background: #0d2740; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; margin: 4px 0 6px; outline: none; }
.qrow[hidden] { display: none; }
.qrow b { font-size: 14.5px; font-weight: 400; }
.thr.on b { color: var(--gold); }
#card .lead { margin: 10px 0 3px; font: italic 16px/1.34 var(--serif); color: #fff; }
#card .q { font-size: 12px; opacity: .75; margin-bottom: 7px; }
#card video { display: block; width: 100%; border-radius: 8px; margin: 4px 0 10px; }
@media (max-width: 760px) { #btnQs { display: none; } #dir.open #btnQs { display: block; margin-top: 6px; } }
@media (max-width: 620px) { #hud { flex-direction: column; gap: 6px; } #tools { justify-content: flex-start; } #tools button { padding: 5px 9px; font-size: 12px; } #where b { font-size: 20px; } #whereArea { overflow: hidden; } #dir { top: 156px; } #help { top: 200px; } }
#navbar .gate { color: #ffd98c; border: 1px solid #f0b34a88; }
#navbar .gate:hover { background: var(--gold); color: #1b1204; }
#tour { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 24px); padding: 4px 6px 4px 14px; border-radius: 999px; background: #1b1204e6; border: 1px solid var(--gold); backdrop-filter: blur(8px); }
#tour[hidden] { display: none; }
#tourAt { font: 12px var(--mono); color: #ffd98c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin-right: 6px; }
#tour button { flex: none; font: inherit; font-size: 12.5px; color: #fff; background: none; border: 0; border-radius: 999px; padding: 4px 9px; cursor: pointer; }
#tour button:hover { background: var(--gold); color: #1b1204; }
#card .gatesay { color: #ffd98c; font: 12px var(--mono); }
.tourgo { margin-top: 6px; }
#goTour { background: transparent !important; color: var(--gold) !important; }
@media (max-width: 620px) { #tour { top: auto; bottom: 214px; left: 10px; right: 10px; transform: none; } #tourAt { flex: 1; } }
#lifeBtn { position: fixed; left: 16px; bottom: 124px; font: 500 14px var(--sans); color: #1b1204; background: var(--gold); border: 0; border-radius: 999px; padding: 8px 15px; cursor: pointer; }
#lifeBtn[hidden], #year[hidden] { display: none; }
#year { position: fixed; left: 50%; top: 96px; transform: translateX(-50%); text-align: center; font: 500 clamp(26px, 4vw, 40px)/1.1 var(--serif); color: #fff; text-shadow: 0 2px 16px #000; pointer-events: none; }
#year small { display: block; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #ffd98c; margin-bottom: 4px; }
@media (max-width: 980px) { #lifeBtn { bottom: 74px; } }
@media (max-width: 900px) { #zoomer { bottom: 226px; } }
