/* Version D: the sales gallery at night, in GTA VI's own colours (Rockstar's VI site and key art): night indigo
   #1f1f38 to #0c0d1b, the sunset gradient #fec497 to #e9639b, cream #fff9eb, lilac #ccc2f5, mint #b8f0ea.
   Green, yellow and red are kept for one job: how an area's prices are moving.
   Big Shoulders Display (narrow capitals, like a tower's sign) for names and prices, Hanken Grotesk for reading.
   Pages run the full width of the window; sizes are in rem and the root size grows on very wide screens. */
:root {
  --night: #1f1f38; --deep: #0c0d1b; --ink: #14142a; --glass: rgba(18, 18, 38, .86);
  --cream: #fff9eb; --soft: rgba(255, 249, 235, .64); --faint: rgba(255, 249, 235, .4);
  --line: rgba(204, 194, 245, .16); --line2: rgba(204, 194, 245, .3);
  --peach: #fec497; --pink: #e9639b; --lilac: #ccc2f5; --mint: #b8f0ea; --sun: linear-gradient(100deg, #fec497, #e9639b);
  --up: #5fe6a0; --flat: #ffd76a; --down: #ff6b81;
  --gut: clamp(1rem, 3vw, 4rem); --panel-w: clamp(22rem, 28vw, 44rem); --top-h: 4.25rem;
  --display: "Big Shoulders Display", Impact, sans-serif; --body: "Hanken Grotesk", system-ui, sans-serif;
  --pp-bg: #1f1f38; --pp-ink: #fff9eb; --pp-soft: rgba(255, 249, 235, .64); --pp-line: rgba(204, 194, 245, .2); --pp-panel: rgba(18, 18, 38, .86);
  --pp-accent: #fec497; --pp-accent-ink: #1f1f38; --pp-band: #17172d; --pp-display: "Big Shoulders Display", Impact, sans-serif;
  --pp-stage: radial-gradient(70% 60% at 50% 66%, rgba(254, 196, 151, .42), rgba(233, 99, 155, .26) 40%, rgba(31, 31, 56, 0) 75%), linear-gradient(180deg, #0c0d1b, #2a1e4f 55%, #6e2f78);
}
html { background: var(--deep); font-size: clamp(16px, 0.36vw + 10.5px, 21px); }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--title, var(--display)); font-stretch: var(--tstretch, normal); font-weight: var(--tw, 800); line-height: var(--tlh, .95); margin: 0; text-transform: var(--tcase, uppercase); letter-spacing: var(--ttrack, .01em); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--line2); background: transparent; color: var(--cream); font: 700 .95rem/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--sun); border-color: transparent; color: var(--night); }
.up { color: var(--up); } .down { color: var(--down); }
.trend--up { --t: var(--up); } .trend--flat { --t: var(--flat); } .trend--down { --t: var(--down); }

/* header */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 2rem; padding: 0 var(--gut); background: rgba(12, 13, 27, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.word { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 900); font-size: calc(1.9rem * var(--ds, 1)); letter-spacing: .03em; text-transform: var(--dcase, uppercase); text-decoration: none; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top__nav { display: flex; gap: 1.6rem; margin-right: auto; }
.top__nav a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: .95rem; padding: .3rem 0; }
.top__nav a:hover { color: var(--cream); }
.top__nav a[aria-current] { color: var(--cream); box-shadow: 0 2px 0 var(--peach); }
.ca, .wallet { font: 700 .88rem/1 var(--body); padding: .7rem 1.05rem; border-radius: 999px; cursor: pointer; }
.ca { background: transparent; color: var(--cream); border: 1.5px solid var(--line2); font-variant-numeric: tabular-nums; }
.ca:hover { border-color: var(--peach); }
.wallet { border: 0; background: var(--sun); color: var(--night); }
.wallet.is-connected { background: var(--ink); color: var(--peach); box-shadow: inset 0 0 0 1.5px var(--line2); }
main { min-height: 70vh; }

/* ============================================================ the model page */
.scene { position: fixed; inset: 0; z-index: 0; background: var(--deep); }
.scene canvas { display: block; width: 100%; height: 100%; cursor: grab; }
body.is-model { overflow: hidden; }
body.is-model .top { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(12, 13, 27, .9), rgba(12, 13, 27, 0)); border-bottom: 0; backdrop-filter: none; }
body.is-model .foot { display: none; }
body.is-model main { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.model { position: absolute; inset: 0; }
.model > * { pointer-events: auto; }
.model__title { position: absolute; left: var(--gut); top: calc(var(--top-h) + 1.2rem); font-size: clamp(1.8rem, 2.2vw, 3rem); max-width: 14ch; pointer-events: none; text-shadow: 0 2px 20px rgba(12, 13, 27, .8); transition: opacity .4s, transform .4s; }
.model__title.is-away { opacity: 0; transform: translateY(-.6rem); }
.model__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.model__labels > * { position: absolute; left: 0; top: 0; visibility: hidden; will-change: transform; }

/* an area with homes: its name, what homes there sell for, and a dot for how its prices are moving */
.tag { display: grid; grid-template-columns: auto 1fr; column-gap: .45rem; align-items: center; padding: .4rem .7rem .45rem; background: var(--glass); border: 1px solid var(--line2); border-radius: .5rem; color: var(--cream); font: inherit; text-align: left; cursor: pointer; pointer-events: auto; white-space: nowrap; backdrop-filter: blur(6px); }
.tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--t); box-shadow: 0 0 .5rem var(--t); }
.tag b { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(1.02rem * var(--ds, 1)); line-height: 1; text-transform: var(--dcase, uppercase); letter-spacing: .03em; }
.tag span { grid-column: 2; font-size: .74rem; color: var(--peach); font-variant-numeric: tabular-nums; }
.tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: .6rem; background: var(--line2); }
.tag:hover, .tag.is-sel { border-color: var(--t); box-shadow: 0 0 0 1px var(--t), 0 .5rem 1.5rem rgba(0, 0, 0, .4); }
/* a place with nothing listed: its name alone, white, standing over it */
.place { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 700); font-size: calc(.95rem * var(--ds, 1)); letter-spacing: .14em; text-transform: var(--dcase, uppercase); color: rgba(255, 255, 255, .86); text-shadow: 0 1px 10px rgba(12, 13, 27, .95), 0 0 2px rgba(12, 13, 27, .9); padding-bottom: .9rem; white-space: nowrap; }
.place::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: .7rem; background: rgba(255, 255, 255, .5); }
.place--nature { font-size: 1.15rem; letter-spacing: .2em; color: #fff; }
/* a home for sale: its photo and its price */
.badge { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; pointer-events: auto; padding-bottom: .35rem; }
.badge img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--peach); box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .5); transition: transform .2s; }
.badge--upcoming img { border-color: var(--lilac); }
.badge span { font: 700 .72rem/1 var(--body); color: var(--night); background: var(--peach); padding: .28rem .5rem; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge--upcoming span { background: var(--lilac); }
.badge:hover img, .badge.is-hot img { transform: scale(1.25); }
.badge.is-hot { z-index: 3; }

.tip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; background: var(--glass); border: 1px solid var(--line2); border-radius: .6rem; backdrop-filter: blur(10px); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .5); font-size: .85rem; }
.tip--area { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem; border-left: 3px solid var(--t); }
.tip--area b { font-family: var(--display); font-stretch: var(--dstretch, normal); font-size: calc(1.3rem * var(--ds, 1)); text-transform: var(--dcase, uppercase); letter-spacing: .02em; line-height: 1.1; }
.tip--area em { font-style: normal; color: var(--t); font-weight: 700; }
.tip--area span { color: var(--soft); }
.tip--home { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; padding: .5rem; width: 19rem; align-items: center; }
.tip--home img { width: 6.5rem; height: 5rem; object-fit: cover; border-radius: .4rem; display: block; }
.tip--home strong { font-family: var(--display); font-stretch: var(--dstretch, normal); font-size: calc(1.35rem * var(--ds, 1)); line-height: 1; color: var(--peach); }
.tip--home small { color: var(--soft); margin-left: .35rem; font-size: .72rem; }
.tip--home b { display: block; font-weight: 700; line-height: 1.2; }
.tip--home span { color: var(--soft); font-size: .78rem; }
.hc__stats { display: flex; gap: .7rem; margin: .2rem 0; font-size: .82rem; }
.hc__stats span + span { padding-left: .7rem; border-left: 1px solid var(--line2); }

/* the homes beside the model */
.panel { position: absolute; right: 0; top: var(--top-h); bottom: 0; width: var(--panel-w); display: flex; flex-direction: column; background: var(--glass); border-left: 1px solid var(--line); backdrop-filter: blur(14px); transition: transform .3s; }
.panel.is-closed { transform: translateX(100%); }
.panel__head { padding: 1.4rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: calc(2.1rem * var(--ts, 1)); }
.panel__head p { margin: .45rem 0 0; color: var(--soft); font-size: .9rem; }
.panel__head p b { color: var(--peach); font-variant-numeric: tabular-nums; }
.panel__back { background: none; border: 0; padding: 0; margin-bottom: .7rem; color: var(--soft); font: 600 .82rem var(--body); cursor: pointer; }
.panel__back::before { content: "‹ "; }
.panel__back:hover { color: var(--cream); }
.panel__avg { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: .9rem; }
.panel__avg span { display: block; font-size: .78rem; color: var(--soft); }
.panel__avg strong { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(2.4rem * var(--ds, 1)); line-height: 1; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.trend { text-align: right; padding: .45rem .7rem; border-radius: .5rem; background: color-mix(in srgb, var(--t) 14%, transparent); }
.trend b { display: block; color: var(--t); font: 800 .95rem/1.1 var(--body); }
.trend span { color: var(--t); font-size: .74rem; font-variant-numeric: tabular-nums; }
.panel__facts { display: flex; gap: 1.6rem; margin: 1rem 0 0; }
.panel__facts dt { font-size: .74rem; color: var(--soft); }
.panel__facts dd { margin: 0; font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 700); font-size: calc(1.5rem * var(--ds, 1)); line-height: 1.1; }
.panel__scroll { flex: 1; overflow-y: auto; padding: 1rem 1.1rem 6rem; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.panel__group { display: flex; align-items: baseline; gap: .5rem; font-size: 1.15rem; margin: 1.4rem .4rem .7rem; letter-spacing: .04em; }
.panel__group:first-child { margin-top: .2rem; }
.panel__group span { font: 600 .78rem var(--body); color: var(--soft); }
.panel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: .9rem; }
.panel__none { color: var(--soft); margin: .6rem .4rem; font-size: .92rem; }
.panel__all { display: block; margin: 1.4rem .4rem 0; font-weight: 700; color: var(--peach); }
.hc { position: relative; background: var(--ink); border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; transition: border-color .15s, transform .15s; }
.hc:hover { border-color: var(--peach); transform: translateY(-2px); }
.hc__link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.hc__photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.hc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc__flag { position: absolute; left: .6rem; top: .6rem; padding: .3rem .6rem; border-radius: 999px; font: 700 .7rem/1 var(--body); background: var(--peach); color: var(--night); }
.hc--upcoming .hc__flag { background: var(--lilac); }
.hc--sold .hc__flag { background: var(--deep); color: var(--cream); }
.hc--sold .hc__photo img { filter: saturate(.6) brightness(.8); }
.hc__body { display: flex; flex-direction: column; padding: .75rem .9rem .9rem; }
.hc__price strong { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(1.6rem * var(--ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.hc__price small { margin-left: .4rem; color: var(--soft); font-size: .74rem; }
.hc__title { font-weight: 700; line-height: 1.25; margin-top: .15rem; }
.hc__where { color: var(--soft); font-size: .84rem; }
.hc__when { color: var(--faint); font-size: .74rem; margin-top: .35rem; }
.hc__find { position: absolute; right: .6rem; top: .6rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(12, 13, 27, .7); color: var(--cream); cursor: pointer; backdrop-filter: blur(4px); }
.hc__find:hover { background: var(--peach); color: var(--night); }
.panel__toggle { position: absolute; right: calc(var(--panel-w) + .8rem); top: calc(var(--top-h) + .8rem); display: none; }

/* bottom-left: the clock, what the colours mean, how to move */
.hud { position: absolute; left: var(--gut); bottom: 1.4rem; display: flex; align-items: center; gap: 1.6rem; padding: .7rem 1.1rem; background: var(--glass); border: 1px solid var(--line); border-radius: .75rem; backdrop-filter: blur(10px); font-size: .8rem; }
.hud__clock span { display: block; color: var(--soft); font-size: .72rem; }
.hud__clock b { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(1.7rem * var(--ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.hud ul { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; }
.hud__trend li { display: flex; align-items: center; gap: .4rem; color: var(--soft); }
.hud__trend li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--t); }
.hud__keys li { display: flex; align-items: center; gap: .25rem; color: var(--soft); }
.hud__keys span { margin-left: .2rem; }
kbd { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: .3rem; border: 1px solid var(--line2); border-bottom-width: 2px; font: 700 .7rem/1 var(--body); color: var(--cream); background: rgba(255, 249, 235, .05); }
.hud__reset { background: none; border: 1px solid var(--line2); border-radius: 999px; color: var(--cream); padding: .45rem .85rem; font: 600 .78rem var(--body); cursor: pointer; }
.hud__reset:hover { border-color: var(--peach); color: var(--peach); }
.model__credit { position: absolute; left: var(--gut); bottom: .3rem; margin: 0; font-size: .62rem; color: var(--faint); }
.model__loading { position: absolute; inset: 0; display: grid; place-items: center; background: var(--deep); pointer-events: none; }
.model__loading span { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(2rem * var(--ds, 1)); text-transform: var(--dcase, uppercase); letter-spacing: .12em; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ============================================================ shared pages, full width */
.page { padding: 4.5rem var(--gut) 2rem; }
.page__head { margin-bottom: 2.2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: end; }
.page__head h1 { font-size: calc(clamp(3.4rem, 7vw, 9rem) * var(--ts, 1)); background: linear-gradient(180deg, #fff9eb 35%, #fec497 80%, #e9639b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page__head p { margin: 0; color: var(--soft); font-size: 1.08rem; max-width: 62ch; justify-self: end; }
.page__head b { color: var(--peach); font-variant-numeric: tabular-nums; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filters__status { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters__status a { text-decoration: none; padding: .6rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line2); color: var(--soft); font-weight: 700; font-size: .92rem; }
.filters__status a span { margin-left: .4rem; font-weight: 500; }
.filters__status a[aria-current] { background: var(--sun); color: var(--night); border-color: transparent; }
.filters select { font: 600 .92rem var(--body); padding: .65rem 1rem; border-radius: 999px; background: var(--ink); color: var(--cream); border: 1.5px solid var(--line2); }
.empty { color: var(--soft); padding: 1.5rem 0; }
.crumbs { display: flex; gap: .5rem; font-size: .88rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.4rem; }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--ink); border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--peach); transform: translateY(-3px); }
.card__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.card:hover .card__photo img { transform: scale(1.04); }
.card__rider { position: absolute; left: .8rem; top: .8rem; padding: .35rem .7rem; border-radius: 999px; font: 700 .74rem/1 var(--body); background: var(--peach); color: var(--night); }
.card--upcoming .card__rider { background: var(--lilac); }
.card--sold .card__rider { background: var(--deep); color: var(--cream); }
.card__body { padding: 1rem 1.15rem 1.2rem; }
.card__price { margin: 0; display: flex; align-items: baseline; gap: .5rem; }
.card__price strong { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(2rem * var(--ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.card__price span { color: var(--soft); font-size: .8rem; }
.card__stats { color: var(--cream); margin: .45rem 0 .35rem; }
.card__title { font-family: var(--body); font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.card__where { margin: .1rem 0 0; color: var(--soft); font-size: .9rem; }

/* listing page */
.auction { position: relative; padding: 1.6rem; border-radius: .9rem; border: 1px solid var(--line2); }
.auction__row { display: flex; justify-content: space-between; gap: 1rem; }
.auction__row span { display: block; font-size: .8rem; color: var(--soft); }
.auction__row strong { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(1.9rem * var(--ds, 1)); font-variant-numeric: tabular-nums; }
.auction__amount { font-size: 3.4rem !important; line-height: 1; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auction__meta { display: flex; gap: .9rem; margin: .8rem 0 0; font-size: .88rem; color: var(--soft); }
.auction__meta em { font-style: normal; color: var(--mint); font-weight: 700; }
.auction__form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; margin-top: 1.2rem; }
.auction__form label span { display: block; font-size: .8rem; color: var(--soft); margin-bottom: .35rem; }
.auction__form input { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line2); border-radius: 999px; background: rgba(12, 13, 27, .55); color: var(--cream); font-variant-numeric: tabular-nums; }
.auction__form button { padding: .95rem 1.3rem; border: 0; border-radius: 999px; background: var(--sun); color: var(--night); font: 800 .95rem/1 var(--body); cursor: pointer; }
.auction__note { margin: .9rem 0 0; font-size: .8rem; color: var(--soft); }
.pp-bar__btn { border-radius: 999px; background: var(--sun) !important; }
.pp-plan .plan { border-radius: .9rem; }
.bids { list-style: none; margin: 0; padding: 0; }
.bids li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bids__amt { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bids__when { color: var(--soft); font-size: .86rem; text-align: right; min-width: 5rem; }
.bids li.is-top .bids__amt { color: var(--peach); }
.minimap { background: #2c68a4; }
.minimap__pin, .pin { background: var(--pink); border: 3px solid #fff; box-shadow: 0 1px .5rem rgba(12, 13, 27, .5); }
.pin--upcoming { background: var(--lilac); }
.pin--sold { background: var(--night); }
.pin--self { background: var(--peach); box-shadow: 0 0 0 .4rem rgba(254, 196, 151, .35), 0 0 1.5rem rgba(233, 99, 155, .8); }
.pin__tip { background: var(--night); color: var(--cream); font-size: .82rem; padding: .5rem .8rem; border-radius: 999px; }

.deed { background: linear-gradient(160deg, #2a2a4d, #1a1a33); color: var(--cream); padding: 1.5rem; border-radius: .9rem; border: 1px solid rgba(254, 196, 151, .45); }
.deed__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .75rem; border-bottom: 1px solid var(--line2); font-size: .82rem; }
.deed__brand { font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 900); text-transform: var(--dcase, uppercase); font-size: calc(1.5rem * var(--ds, 1)); background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deed__kind { margin: .9rem 0 .25rem; color: var(--soft); font-size: .82rem; }
.deed__title { font-size: 1.9rem; }
.deed__where { margin: .35rem 0 .9rem; color: var(--soft); font-size: .88rem; }
.deed__map { border-radius: .6rem; }
.deed__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: 1rem 0 0; font-size: .88rem; }
.deed__facts dt { font-size: .74rem; color: var(--soft); }
.deed__facts dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.deed__foot { margin: 1rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--soft); }
.deeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.4rem; }
.deedlink { text-decoration: none; display: block; transition: transform .15s; }
.deedlink:hover { transform: translateY(-3px); }
.portfolio h2, .nft__h { font-size: calc(2.6rem * var(--ts, 1)); margin: 3rem 0 1.1rem; }
.nft__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 3rem; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.nft__stats div { padding: 1.4rem 1.4rem 1.4rem 0; }
.nft__stats div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.nft__stats dt { color: var(--soft); font-size: .86rem; }
.nft__stats dd { margin: .2rem 0 0; font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); font-size: calc(clamp(2rem, 3vw, 3.6rem) * var(--ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.nft__connect { font: 700 .9rem var(--body); padding: .6rem 1rem; border-radius: 999px; border: 0; background: var(--sun); color: var(--night); cursor: pointer; }
.nft__what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2rem; align-items: start; padding: 2.4rem; border-radius: .9rem; background: var(--pp-band); }
.nft__what h2 { font-size: calc(2.6rem * var(--ts, 1)); }
.nft__what ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.nft__what b { display: block; color: var(--peach); }
.nft__what span { color: var(--soft); }

.mapview { display: grid; grid-template-columns: 1fr clamp(22rem, 26vw, 34rem); padding: 0 !important; height: calc(100vh - var(--top-h)); }
.mapview__stage { background: #2c68a4; height: 100%; }
.mapview__side { padding: 2rem 1.8rem; overflow: auto; background: var(--night); border-left: 1px solid var(--line); }
.mapview__side h1 { font-size: calc(3.4rem * var(--ts, 1)); margin-bottom: .7rem; }
.mapview__side > p { color: var(--soft); margin: 0 0 1.1rem; }
.mapview__side h2 { font-size: calc(1.6rem * var(--ts, 1)); margin: 1.8rem 0 .6rem; }
.mapview__zoom button { background: var(--night); border: 0; border-radius: 50%; color: var(--cream); }
.maplabel { color: var(--night); background: var(--cream); padding: .22rem .6rem; border-radius: 999px; font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 800); text-transform: var(--dcase, uppercase); letter-spacing: .04em; font-size: calc(.86rem * var(--ds, 1)); text-decoration: none; }
.legend { list-style: none; display: flex; gap: 1.1rem; padding: 0; margin: 0; font-size: .88rem; }
.legend li::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .45rem; background: var(--pink); }
.legend--upcoming::before { background: var(--lilac) !important; }
.legend--sold::before { background: var(--cream) !important; }
.arealist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.arealist a { display: grid; grid-template-columns: 1fr auto; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.arealist span { font-weight: 600; }
.arealist b { font-variant-numeric: tabular-nums; color: var(--peach); }
.arealist small { color: var(--soft); font-size: .76rem; }

.how .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.how .steps li { padding: 1.8rem; border-radius: .9rem; background: var(--ink); border: 1px solid var(--line); counter-increment: s; display: flex; flex-direction: column; }
.how .steps li::before { content: counter(s); font-family: var(--display); font-stretch: var(--dstretch, normal); font-weight: var(--dw, 900); font-size: calc(4.6rem * var(--ds, 1)); line-height: .8; margin-bottom: 1rem; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how .steps h2 { font-size: calc(2.2rem * var(--ts, 1)); margin-bottom: .7rem; }
.how .steps p { color: var(--soft); margin: 0 0 1.2rem; }
.how .steps .btn { margin-top: auto; align-self: flex-start; }
.faq { margin-top: 4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 0 2rem; }
.faq h2 { font-size: calc(3rem * var(--ts, 1)); grid-row: 1 / span 9; }
.faq details { grid-column: 2; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-weight: 700; font-size: 1.12rem; }
.faq p { color: var(--soft); margin: .6rem 0 0; max-width: 68ch; }

.foot { margin-top: 6rem; padding: 3.5rem var(--gut) 2.4rem; background: var(--deep); border-top: 3px solid transparent; border-image: var(--sun) 1; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.foot .word { font-size: clamp(3rem, 7vw, 8rem); line-height: .9; }
.foot__row nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot__row nav a { text-decoration: none; color: var(--soft); font-weight: 600; }
.foot__credits { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--faint); max-width: 120ch; }

.vs-wallets { background: var(--night); color: var(--cream); padding: 1.6rem; border-radius: .9rem; border: 1px solid var(--line2); }
.vs-wallets__head { margin-bottom: 1rem; }
.vs-wallets__head h2 { font-size: calc(2.1rem * var(--ts, 1)); }
.vs-wallets__none { color: var(--soft); margin: 0 0 .75rem; font-size: .88rem; }
.vs-wallets__list li + li { border-top: 1px solid var(--line); }
.vs-wallets__list button, .vs-wallets__list a { padding: .8rem .25rem; border: 0; }
.vs-wallets__list small { color: var(--soft); }
.vs-account { background: var(--ink); border: 1px solid var(--line2); border-radius: .75rem; padding: .9rem; gap: .5rem; font-size: .88rem; box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .5); }
.vs-account p { color: var(--soft); font-size: .74rem; }
.vs-account a, .vs-account button { background: none; border: 0; padding: .35rem 0; color: var(--cream); }
.vs-toast { background: var(--sun); color: var(--night); padding: .8rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }

@media (max-width: 1100px) {
  .page__head, .nft__what, .faq { grid-template-columns: 1fr; }
  .page__head p { justify-self: start; }
  .faq details { grid-column: 1; }
  .how .steps { grid-template-columns: 1fr 1fr; }
  .nft__stats { grid-template-columns: 1fr 1fr; }
  .mapview { grid-template-columns: 1fr; height: auto; }
  .mapview__stage { height: 70vh; }
  .hud__keys { display: none !important; }
}
@media (max-width: 760px) {
  :root { --top-h: 6.2rem; --panel-w: 100vw; }
  .top { flex-wrap: wrap; gap: .4rem .8rem; padding-top: .6rem; padding-bottom: .5rem; height: auto; min-height: var(--top-h); }
  .top__nav { order: 3; width: 100%; overflow-x: auto; gap: 1.1rem; }
  .word { font-size: 1.5rem; margin-right: auto; }
  .ca, .wallet { padding: .5rem .7rem; font-size: .76rem; }
  .model__title { display: none; }
  .panel { top: auto; height: 52vh; border-left: 0; border-top: 1px solid var(--line2); border-radius: 1rem 1rem 0 0; }
  .panel.is-closed { transform: translateY(100%); }
  .panel__toggle { display: flex; gap: .4rem; right: .8rem; top: calc(var(--top-h) + .6rem); padding: .5rem .9rem; border-radius: 999px; border: 0; background: var(--sun); color: var(--night); font: 700 .82rem var(--body); }
  .hud { left: .6rem; right: .6rem; bottom: calc(52vh + .6rem); gap: .9rem; padding: .5rem .8rem; }
  .hud ul { padding-left: .9rem; gap: .6rem; }
  .hud__reset, .model__credit { display: none; }
  .how .steps, .nft__what ul, .nft__stats { grid-template-columns: 1fr; }
  .nft__stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* the agent sits at the foot of the model, clear of the list of homes */
body.is-model .agent { right: calc(var(--panel-w) + 1.4rem); }
@media (max-width: 760px) { body.is-model .agent { right: .8rem; bottom: calc(52vh + 4.4rem); } }

/* auctions, deeds, docs, ledger: the page title carries the same sunset as the other pages' titles */
.auc-head h1, .mkt-head h1, .docs-head h1 { background: linear-gradient(180deg, #fff9eb 35%, #fec497 80%, #e9639b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lot:hover, .dcard:hover { border-color: var(--line2); }
.lot__act button, .lots__act button, .trade.trade--go, .bidbox__go { background: var(--sun); color: var(--night); }
.chips button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.auc-tabs button[aria-pressed="true"] { border-bottom-color: var(--pink); }
.split__bar i:first-child, .led-nights__bar i:first-child, .led-key__burn::before { background: var(--sun); }
.led-tiles > div:nth-child(2) dd, .auc-stats__clock dd { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================ the look chosen on 2026-11-19: pure black, the GTA VI
   sky at the top of every page, and one modern grotesk (Mona Sans) for everything: sentence case, white type, no
   gradient type, pink kept to lines and states. The rules above set sizes and structure; these set the type and colour
   through the variables they read. */
:root {
  --page: #08080a; --night: #08080a; --deep: #040405; --ink: #111114; --glass: rgba(9, 9, 11, .92);
  --cream: #f4f4f5; --soft: rgba(244, 244, 245, .6); --faint: rgba(244, 244, 245, .38);
  --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .2);
  --peach: #f4f4f5; --pink: #ff5c9d; --sun: #f4f4f5;
  --display: "Mona Sans", system-ui, sans-serif; --title: "Mona Sans", system-ui, sans-serif; --body: "Mona Sans", system-ui, sans-serif;
  --dw: 600; --dstretch: 88%; --ds: .76; --dcase: none;                                   /* figures and other display type */
  --tw: 600; --tstretch: 100%; --ts: .6; --tcase: none; --ttrack: -.032em; --tlh: 1.04;   /* titles */
  --pp-bg: #0d0d10; --pp-ink: #f4f4f5; --pp-soft: rgba(244, 244, 245, .6); --pp-line: rgba(255, 255, 255, .11); --pp-panel: rgba(9, 9, 11, .92); --pp-band: #111114;
  --pp-accent: #ff5c9d; --pp-accent-ink: #08080a;
  --pp-display: var(--display); --pp-dw: var(--dw); --pp-dstretch: var(--dstretch); --pp-ds: var(--ds);
}
.word, .panel__avg strong, .model__loading span, .page__head h1, .auction__amount, .deed__brand, .how .steps li::before, .auc-head h1, .mkt-head h1, .docs-head h1, .auc-stats__clock dd, .led-state__burn strong, .led-tiles > div:nth-child(2) dd { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--cream); }
.lot__tier, .dcard__facts span:first-child { color: var(--soft); font-weight: 600; }
.dcard__art, .lots__home img { background: #d9d9dc; }
.word { font-size: 1.3rem; font-stretch: 100%; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.foot .word { font-size: clamp(2rem, 4vw, 4.4rem); }
/* Mona Sans draws its tabular figures in a typewriter style (slashed zero, wide digits), which clashes with the rest
   of the face; the site uses its ordinary figures everywhere. The two standalone clocks keep a fixed box instead, so
   the layout does not move as their digits change. */
body { font-feature-settings: "tnum" 0; }
.auc-stats__clock dd, .hud__clock b { display: inline-block; min-width: 6.4ch; }
/* page titles of the shared pages take the title face, not the face used for figures */
.auc-head h1, .mkt-head h1, .docs-head h1, .mkt-empty h2 { font-family: var(--title); font-stretch: var(--tstretch); font-weight: var(--tw); letter-spacing: var(--ttrack); text-transform: var(--tcase); }
.auc-head h1, .mkt-head h1, .docs-head h1, .page__head h1 { font-size: clamp(2.6rem, 3.8vw, 4.4rem); }
.hud__flat { color: var(--soft); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hud__flat:hover { color: var(--cream); }
.prof-banner img { filter: saturate(.9) brightness(.82); }

/* ---- the GTA VI sky at the top of every page: peach and pink on the left, purple on the right, falling to black
   before the content begins. The header is clear over it and turns to dark glass once the page is scrolled. */
body {
  background-color: var(--page);
  background-image:
    radial-gradient(46rem 15rem at 4% -3rem, rgba(254, 196, 151, .62), rgba(254, 196, 151, 0) 70%),
    radial-gradient(72rem 24rem at 26% -7rem, rgba(233, 99, 155, .92), rgba(233, 99, 155, 0) 72%),
    radial-gradient(86rem 28rem at 88% -9rem, rgba(154, 52, 190, .86), rgba(154, 52, 190, 0) 74%),
    linear-gradient(180deg, #5a1f78 0, #2a1247 9rem, #120a22 20rem, #08080a 34rem);
  background-repeat: no-repeat;
  background-size: 100% 34rem;
}
.top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .2s, border-color .2s; }
html.is-scrolled .top { background: rgba(8, 8, 10, .82); border-bottom-color: var(--line); backdrop-filter: blur(14px); }
.top__nav a { color: rgba(255, 255, 255, .78); }
.ca { border-color: rgba(255, 255, 255, .42); background: rgba(8, 8, 10, .22); }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }
.dcard__art:has(video), .dcard__art video { background: #2a1e4f; }
/* the bid box: the amount on one line, sized to the box; the time beside it, or under it when the amount is long */
.auction__row { flex-wrap: wrap; align-items: flex-end; gap: .8rem 1.4rem; }
.auction__row strong { display: block; white-space: nowrap; line-height: 1.1; }
.auction__amount { font-size: clamp(2rem, 2.2vw, 2.7rem) !important; }
