/* The town hero, laptops first. One full-screen world: the real streets around the listing at dusk.
   The box, the key and the pixels are the site's own; everything else floats on the town. */
@font-face { font-family: Geist; font-weight: 400; font-display: swap; src: url(assets/fonts/de26b60124bf9146-s.p.woff2) format('woff2'); }
@font-face { font-family: Geist; font-weight: 500; font-display: swap; src: url(assets/fonts/69a165be5192a2af-s.p.woff2) format('woff2'); }
@font-face { font-family: Geist; font-weight: 600; font-display: swap; src: url(assets/fonts/26376a5ca8b4b739-s.p.woff2) format('woff2'); }
@font-face { font-family: Geist; font-weight: 700; font-display: swap; src: url(assets/fonts/f1a49ec6fec5427a-s.p.woff2) format('woff2'); }

:root { --key1: #5aa9ff; --key2: #2f86ec; --ink: #152033; --muted: #4a566b; --nav-h: 56px; --strip: clamp(64px, 11vh, 92px);
  --spring: linear(0, .009 .9%, .035 1.9%, .141 4%, .723 12.6%, .938 16.7%, 1.017 18.7%, 1.077 20.8%, 1.121 22.9%, 1.149 25%, 1.163 27.1%, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991 47%, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1); }
* { box-sizing: border-box; margin: 0; }
html { background: #0b1538; color: #fff; font: 400 16px/1.4 Geist, Arial, sans-serif; -webkit-font-smoothing: antialiased; scroll-padding-top: 70px; }
body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }

#poster, #gl { position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; display: block; object-fit: cover; }
#gl { opacity: 0; transition: opacity .5s; }
.live #gl { opacity: 1; }
#hero { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 560px; }
#veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #070d2470 0, #070d2438 26%, #070d2400 48%, #070d2400 76%, #070d2433 100%); }

#photo { position: fixed; inset: 0; z-index: 4; overflow: hidden; background: #0b1538; }
#photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 56%; transform-origin: 52.25% 56%; }
#flash { position: fixed; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(circle at 50% 55%, #fff 0, #cfe2ff 34%, #6ea4ff 70%); opacity: 0; }

.nav { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; transition: background .25s, box-shadow .25s; }
.nav.solid { background: #0a1438f0; box-shadow: 0 10px 30px #05091c66, inset 0 -1px 0 #ffffff1a; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: .22em; }
.brand img { width: 18px; height: 22px; }
.brand b { font-weight: 700; color: #9fcbff; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }

.copy { position: absolute; z-index: 10; top: calc(var(--nav-h) + clamp(4px, 3.2vh, 34px)); left: 50%; width: min(860px, 92vw); transform: translateX(-50%); text-align: center; transition: opacity .45s, transform .6s cubic-bezier(.4, 0, .2, 1); }
.copy.away { opacity: 0; transform: translate(-50%, -26px) scale(.98); pointer-events: none; }
h1 { font-size: clamp(38px, min(4.5vw, 8vh), 70px); font-weight: 700; line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 30px #070d2440; }
h1 span { background: linear-gradient(90deg, #7db8ff, #a9d3ff 55%, #d7ecff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.sub { max-width: 690px; margin: clamp(8px, 1.5vh, 14px) auto 0; font-size: clamp(15px, 2vh, 17.5px); line-height: 1.42; color: #e7eefb; text-wrap: balance; text-shadow: 0 1px 14px #070d2466; }

/* the homepage's own pill (new-home.css): one line, one key */
.pill { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; border: 1px solid #d3dae8; border-radius: 999px; background: #fff; text-align: left; box-shadow: 0 14px 40px #2676ff1f, 0 2px 6px #1b27400f, 0 22px 60px #070d2466; transition: box-shadow .2s; }
.pill:focus-within { box-shadow: 0 0 0 4px #2676ff2e, 0 14px 40px #2676ff1f, 0 22px 60px #070d2466; }
.pill input { flex: 1 1 0; width: 0; min-width: 0; height: 24px; padding: 0; border: 0; outline: 0; background: none; color: #1b2740; font-size: 16px; }
.pill input::placeholder { color: #7a869c; }
#box { width: min(560px, 100%); margin: clamp(14px, 2.6vh, 24px) auto 0; }
.key { flex: none; height: 48px; padding: 0 24px; border-radius: 999px; background: linear-gradient(180deg, var(--key1), var(--key2)); color: #fff; font-size: 15px; font-weight: 650; box-shadow: inset 0 1px 0 #ffffff73, 0 8px 18px -6px #2f86ec8c; transition: transform .2s, filter .2s; }
.key:hover { filter: brightness(1.08); transform: translateY(-1px); }
.key:active { transform: scale(.97); }
.key.press { animation: press .36s ease; }
@keyframes press { 40% { transform: scale(.93); filter: brightness(1.2); } }
.note { margin-top: 10px; font-size: 14px; color: #eef3fc; text-shadow: 0 1px 10px #070d2480; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 999px; pointer-events: none; }
.px { position: fixed; z-index: 30; left: 0; top: 0; width: 9px; height: 9px; margin: -4px; background: #2ee0fb; box-shadow: 0 0 12px #2ee0fb; pointer-events: none; }
.credit { transition: opacity .3s; }
.stars { color: #ffc14d; letter-spacing: 1px; }
.credit { position: absolute; z-index: 10; right: 12px; bottom: 6px; font-size: 10.5px; color: #ffffff8c; }

/* things standing on real homes */
#anchors { position: absolute; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; }
.at { position: absolute; left: 0; top: 0; will-change: transform; }
.pin { transform: translate(-50%, -100%); margin-top: -12px; padding: 8px 14px; border-radius: 99px; background: #fffffff2; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 26px #070d2466; animation: rise .5s var(--spring) both; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; background: #fffffff2; border-radius: 3px; transform: translateX(-50%) rotate(45deg); }
@keyframes rise { from { opacity: 0; translate: 0 14px; scale: .8; } to { opacity: 1; translate: 0 0; scale: 1; } }

.bub { width: 0; height: 0; pointer-events: auto; }
.bub .in { position: absolute; left: 0; bottom: 10px; width: 262px; transform: translateX(-50%); display: grid; grid-template-columns: 34px 1fr; gap: 1px 10px; align-items: center; padding: 10px 12px; border-radius: 17px; background: #fffffff5; color: var(--ink); box-shadow: 0 12px 34px #070d2473; transition: scale .35s var(--spring), opacity .25s; transform-origin: 50% 100%; animation: rise .55s var(--spring) backwards; }
.bub .in::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; background: #fffffff5; border-radius: 3px; transform: rotate(45deg); }
.bub .say { grid-column: 2; font-size: 13.5px; line-height: 1.28; }
.bub p { display: flex; align-items: center; gap: 6px; font-size: 13px; min-width: 0; }
.bub p i, .lead i { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: #e4efff; color: #1558c0; }
.bub p i.s, .lead i.s { background: #dff4e9; color: #0a7a44; }
.bub p em, .view-tag { margin-left: auto; font-style: normal; font-size: 10.5px; color: #66728a; }
.ico { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; }
.ico svg { width: 19px; height: 19px; }
.ico.ig { background: radial-gradient(circle at 30% 110%, #ffd776 0, #f9a03f 18%, #e1306c 52%, #a334b6 78%, #5b51d8 100%); }
.ico.fb { background: #1877f2; }
.bub .dot { position: absolute; left: -17px; bottom: 6px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #6ea4ff, 0 8px 22px #070d2480; opacity: 0; scale: .4; transition: scale .35s var(--spring), opacity .2s; }
.bub .dot .ico { width: 26px; height: 26px; border-radius: 50%; }
.bub .dot svg { width: 15px; height: 15px; }
.bub.mini .in { opacity: 0; scale: .7; pointer-events: none; }
.bub.mini .dot { opacity: 1; scale: 1; }
.bub.mini:hover, .bub.mini.open { z-index: 3; }
.bub.mini:hover .in, .bub.mini.open .in { opacity: 1; scale: 1; }
.bub.mini:hover .dot, .bub.mini.open .dot { opacity: 0; }

/* the month */
#burst { position: fixed; inset: 0; z-index: 14; pointer-events: none; }
.card { position: absolute; left: 0; top: 0; width: 150px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px #070d2480; will-change: transform; transform-origin: 0 0; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }

#strip { position: absolute; z-index: 16; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: clamp(3px, .34vw, 6px); padding: 6px 8px; border-radius: 16px; background: #0a1438c7; box-shadow: inset 0 0 0 1px #ffffff29, 0 16px 40px #070d2466; }
.day { position: relative; flex: none; width: calc(min(94vw, 1500px) / 30 - clamp(3px, .34vw, 6px) - .6px); aspect-ratio: 4 / 5; padding: 0; border-radius: 6px; overflow: visible; transform-origin: 50% 100%; transform: scale(var(--s, 1)); transition: transform .2s var(--spring), opacity .3s; opacity: .5; }
.day img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; box-shadow: 0 0 0 1px #ffffff40; background: #223; }
.day.posted { opacity: 1; }
.day.now { z-index: 3; --s: 2.7; opacity: 1; transition: transform .2s var(--spring); }
.day.now img { box-shadow: 0 0 0 2px #fff, 0 12px 30px #070d2499; }
.day small { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font-size: 9.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000; }
.day .play { position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #070d24b3; }
.day .play::after { content: ''; position: absolute; left: 4.5px; top: 3px; border-left: 5px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }

#count { position: absolute; z-index: 16; left: 50%; top: calc(var(--nav-h) + 12px); transform: translateX(-50%); display: flex; gap: 10px; align-items: center; white-space: nowrap; padding: 10px 18px; border-radius: 99px; background: #0a1438c7; box-shadow: inset 0 0 0 1px #ffffff29; font-size: 16px; }
.ended #count { top: auto; bottom: calc(var(--strip) + 28px); padding: 7px 14px; font-size: 14px; }
#count span { font-weight: 700; color: #bcd9ff; }
#count b { font-weight: 600; padding-left: 8px; border-left: 1px solid #ffffff33; font-variant-numeric: tabular-nums; }
#count em, #end em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: #ffffff24; color: #e4ecfa; }

.heart { position: fixed; z-index: 11; left: 0; top: 0; color: #ff7a9c; font-size: 15px; pointer-events: none; text-shadow: 0 0 10px #ff7a9c99; }

/* the end of the film */
#end { position: absolute; z-index: 15; top: calc(var(--nav-h) + clamp(0px, 1.2vh, 14px)); left: 50%; width: min(900px, 92vw); transform: translateX(-50%); text-align: center; animation: rise .7s var(--spring) both; }
#end h2 { font-size: clamp(38px, min(4.6vw, 8vh), 72px); font-weight: 700; line-height: 1.03; letter-spacing: -.045em; text-shadow: 0 2px 30px #070d2480; }
#end > p { margin-top: 6px; font-size: clamp(15px, 2vh, 17.5px); color: #eef3fc; text-shadow: 0 1px 12px #070d2499; }
.acts { display: flex; justify-content: center; gap: 10px; margin-top: clamp(8px, 1.6vh, 14px); }
.ghost { height: 56px; padding: 0 22px; border-radius: 999px; background: #2a3d6bd9; box-shadow: inset 0 0 0 1px #ffffff4d; font-weight: 600; transition: background .2s; }
.ghost:hover { background: #3a5088e6; }
#again { width: 370px; }
#again .key { height: 42px; padding: 0 20px; }

/* who reached out, on the map */
#sheet { position: fixed; z-index: 22; top: calc(var(--nav-h) + 6px); left: 16px; bottom: calc(var(--strip) + 28px); width: 372px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 22px; color: var(--ink); background: #f5f8fff2; box-shadow: 0 24px 70px #070d2499; animation: slide .45s var(--spring) both; }
@keyframes slide { from { opacity: 0; translate: -26px 0; } }
#sheet header { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 2px; }
#sheet h3 { font-size: 19px; letter-spacing: -.02em; }
#sheet header button { color: #1558c0; font-size: 14px; font-weight: 600; padding: 4px; }
.lst { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 7px; align-content: start; overscroll-behavior: contain; }
.lead { display: grid; grid-template-columns: 34px 1fr; gap: 1px 10px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #15203314; cursor: pointer; transition: box-shadow .2s; }
.lead:hover, .lead.on { box-shadow: inset 0 0 0 2px #2f86ec; }
.lead p { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.lead .say { grid-column: 2; font-size: 13.5px; line-height: 1.3; }
.lead .more { grid-column: 2; display: none; margin-top: 6px; }
.lead.on .more { display: block; }
.lead .rep { padding: 7px 10px; border-radius: 12px; background: #e9f2ff; font-size: 13px; }
.lead .use { margin-top: 6px; height: 36px; padding: 0 14px; border-radius: 11px; background: linear-gradient(180deg, var(--key1), var(--key2)); color: #fff; font-size: 14px; font-weight: 700; }

/* one post, big */
#view { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; background: #070d24a6; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.v-in { display: grid; grid-template-columns: auto 320px; gap: 22px; max-height: calc(100dvh - 90px); padding: 16px; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px #070d24cc; animation: rise .45s var(--spring) both; }
.v-m { position: relative; height: min(70vh, 640px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #0a1020; }
.v-m.tall { aspect-ratio: 9 / 16; }
.v-m img, .v-m video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-side { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; }
.v-side .k { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: #e4efff; color: #1558c0; font-size: 13px; font-weight: 600; }
.v-side h3 { font-size: 24px; line-height: 1.12; letter-spacing: -.03em; }
.v-side p { font-size: 15px; color: var(--muted); }
.v-side .v-x { margin-top: auto; height: 46px; border-radius: 14px; background: linear-gradient(180deg, var(--key1), var(--key2)); color: #fff; font-weight: 700; }
.v-arrows { position: absolute; left: 8px; right: 8px; top: 50%; display: flex; justify-content: space-between; pointer-events: none; }
.v-arrows button { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; background: #ffffffe6; color: var(--ink); font-weight: 700; box-shadow: 0 2px 10px #0004; }

@media (max-height: 640px) { .sub { display: none; } }
@media (max-height: 740px) { .note { margin-top: 6px; } #end > p { margin-top: 2px; } }
