/* Structure every version shares: how the map, the mini maps, the wallet window and the toast work.
   Colours, type and spacing belong to each version's own stylesheet. */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* a crop of the Leonida map centred on one point */
.minimap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.minimap img { position: absolute; max-width: none; height: auto; display: block; pointer-events: none; }
.minimap__pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }

/* the pannable map */
.mapview__stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; user-select: none; }
.mapview__stage.is-drag { cursor: grabbing; }
.mapview__layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mapview__layer > img { display: block; width: 100%; height: auto; pointer-events: none; }
.pin { position: absolute; width: 14px; height: 14px; transform: translate(-50%, -50%) scale(calc(1 / var(--s, 1))); border-radius: 50%; z-index: 2; }
.pin__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.pin:hover, .pin:focus-visible { z-index: 5; }
.pin:hover .pin__tip, .pin:focus-visible .pin__tip { opacity: 1; }
.pin__tip b { display: block; }
.maplabel { position: absolute; transform: translate(-50%, -50%) scale(calc(1 / var(--s, 1))); white-space: nowrap; z-index: 1; }
.mapview__zoom { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 6; }
.mapview__zoom button { width: 36px; height: 36px; font-size: 20px; line-height: 1; cursor: pointer; }

/* wallet window */
.vs-wallets { padding: 0; border: 0; width: min(380px, calc(100vw - 32px)); }
.vs-wallets::backdrop { background: rgba(0, 0, 0, .55); }
.vs-wallets__head { display: flex; justify-content: space-between; align-items: center; }
.vs-wallets__head h2 { margin: 0; }
.vs-wallets__close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; }
.vs-wallets__list { list-style: none; margin: 0; padding: 0; }
.vs-wallets__list button, .vs-wallets__list a { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left; text-decoration: none; color: inherit; cursor: pointer; font: inherit; background: none; }
.vs-wallets__list img { width: 32px; height: 32px; border-radius: 8px; }
.vs-account { position: absolute; z-index: 50; display: flex; flex-direction: column; min-width: 200px; }
.vs-account p, .vs-account b { margin: 0; }
.vs-account a, .vs-account button { text-align: left; cursor: pointer; font: inherit; text-decoration: none; }
.vs-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.vs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ===================================================================== a listing page (.pp), full width, in the
   order a buyer looks at a home. Each version sets the colours through these variables:
   --pp-bg --pp-ink --pp-soft --pp-line --pp-panel --pp-accent --pp-accent-ink --pp-stage --pp-display --pp-band */
.pp { --pp-gut: clamp(16px, 4vw, 64px); background: var(--pp-bg); color: var(--pp-ink); }
.pp h2 { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); }
.pp-hero { position: relative; min-height: max(620px, 92vh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.pp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, var(--pp-bg) 100%); }
.pp-hero__in { width: 100%; padding: 0 var(--pp-gut) 56px; display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: 40px; align-items: end; }
.pp-hero .crumbs { margin-bottom: 14px; opacity: .85; }
.pp-title { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); margin: 0; font-size: calc(clamp(48px, 7vw, 116px) * var(--pp-ds, 1)); line-height: .92; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.pp-where { margin: 14px 0 0; font-size: 18px; font-weight: 600; display: flex; gap: 16px; flex-wrap: wrap; }
.pp-where span { opacity: .7; font-weight: 500; }
.pp-stats { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 18px 0 0; font-size: 18px; }
.pp-stats span { padding: 0 20px; border-left: 1px solid var(--pp-line); white-space: nowrap; }
.pp-stats span:first-child { padding-left: 0; border-left: 0; }
.pp-stats b { font-size: 1.35em; font-variant-numeric: tabular-nums; }
.pp-stats--plain { margin: 6px 0 0; }
.pp-hero__src { position: absolute; right: var(--pp-gut); top: 96px; margin: 0; font-size: 12px; color: #fff; opacity: .7; }
.pp-hero__bid .auction { background: var(--pp-panel); backdrop-filter: blur(14px); }

.pp-head { padding: 0 var(--pp-gut); margin-bottom: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: end; }
.pp-head h2 { margin: 0; font-size: calc(clamp(40px, 5vw, 80px) * var(--ts, 1)); line-height: .95; }
.pp-head p { margin: 0; font-size: 18px; color: var(--pp-soft); max-width: 60ch; }
.pp-look { padding: 96px 0 0; }
.pp-look__row { display: grid; gap: 6px; }
.pp-look__row--2 { grid-template-columns: 1.15fr 1fr; }
.pp-look figure { margin: 0; position: relative; background: var(--pp-band); }
.pp-look img { width: 100%; height: min(72vh, 760px); object-fit: cover; display: block; }
.pp-look__row--1 img { object-fit: contain; }
.pp-look figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; padding: 6px 10px; background: var(--pp-panel); color: var(--pp-ink); }

.pp-loc { margin-top: 96px; display: grid; grid-template-columns: 1.55fr 1fr; background: var(--pp-band); }
.pp-loc__map .minimap { height: 100%; min-height: 560px; aspect-ratio: auto !important; }
.pp-loc__txt { padding: 64px var(--pp-gut); display: flex; flex-direction: column; justify-content: center; }
.pp-loc h2 { margin: 0 0 8px; font-size: calc(clamp(40px, 4.4vw, 72px) * var(--ts, 1)); line-height: .95; }
.pp-loc__lead { margin: 0 0 28px; font-size: 19px; font-weight: 600; }
.pp-loc__facts { margin: 0 0 28px; display: grid; gap: 0; }
.pp-loc__facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--pp-line); }
.pp-loc__facts dt { color: var(--pp-soft); }
.pp-loc__facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pp-link { align-self: flex-start; font-weight: 700; color: var(--pp-accent); }
.pin--self { width: 22px; height: 22px; z-index: 4; }
.pin__tip--on { opacity: 1 !important; }

.pp-plan { padding: 96px 0 0; }
.pp-plan .plan { display: block; margin: 0 var(--pp-gut); background: #fff; padding: clamp(16px, 3vw, 48px); }
.pp-plan .plan img { display: block; width: 100%; max-width: 1400px; margin: 0 auto; }
.pp-plan .plan__note { padding: 0 var(--pp-gut); margin-top: 10px; font-size: 13px; color: var(--pp-soft); }

.pp-3d { position: relative; margin-top: 96px; height: min(88vh, 900px); min-height: 520px; background: var(--pp-stage); overflow: hidden; }
.pp-3d .viewer { position: absolute; inset: 0; aspect-ratio: auto; background: none; }
.pp-3d__txt { position: absolute; left: var(--pp-gut); top: 48px; max-width: 420px; pointer-events: none; color: #fff; }
.pp-3d__txt h2 { margin: 0 0 10px; font-size: calc(clamp(40px, 5vw, 80px) * var(--ts, 1)); line-height: .95; }
.pp-3d__txt p { margin: 0; opacity: .78; }

.pp-ledger { padding: 96px var(--pp-gut) 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.pp-ledger h2 { margin: 0 0 18px; font-size: calc(clamp(32px, 3.4vw, 52px) * var(--ts, 1)); }
.pp .related { max-width: none; padding: 96px var(--pp-gut) 0; margin: 0; }
.pp .related h2 { font-size: calc(clamp(32px, 3.4vw, 52px) * var(--ts, 1)); margin: 0 0 24px; }

.pp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 28px; padding: 14px var(--pp-gut); background: var(--pp-panel); backdrop-filter: blur(14px); border-top: 1px solid var(--pp-line); transform: translateY(100%); transition: transform .25s; }
.pp-bar.is-on { transform: none; }
.pp-bar b { margin-right: auto; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(22px * var(--pp-ds, 1)); }
.pp-bar strong { font-variant-numeric: tabular-nums; }
.pp-bar__btn { padding: 12px 20px; background: var(--pp-accent); color: var(--pp-accent-ink); font-weight: 800; text-decoration: none; }

@media (max-width: 1040px) {
  .pp-hero__in, .pp-head, .pp-loc, .pp-ledger { grid-template-columns: 1fr; }
  .pp-look__row--2 { grid-template-columns: 1fr; }
  .pp-loc__map .minimap { min-height: 380px; }
}
@media (max-width: 640px) {
  .pp-hero { min-height: 0; display: block; }
  .pp-hero__img { position: relative; height: 56vh; z-index: 0; }
  .pp-hero::after { display: none; }
  .pp-hero__in { padding-top: 20px; }
  .pp-title { font-size: calc(44px * var(--ts, 1)); text-shadow: none; }
  .pp-bar span:not(:has(strong[data-countdown])) { display: none; }
  .pp-bar b { font-size: 16px; }
}

/* a listing page: the photo across the top, the story on the left, the auction kept in view on the right */
.property__hero { position: relative; margin: 0; height: min(70vh, 740px); min-height: 380px; }
.property__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property__hero figcaption { position: absolute; right: 16px; bottom: 10px; font-size: 12px; color: #fff; opacity: .75; }
.property__body { max-width: 1360px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 56px) 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.property__side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 36px; }
.property__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 40px; }
.property__map, .property__history { margin-bottom: 48px; }
.related { max-width: 1360px; margin: 88px auto 0; padding: 0 clamp(16px, 4vw, 56px); }
@media (max-width: 1040px) { .property__body { grid-template-columns: 1fr; } .property__side { position: static; } }
@media (max-width: 720px) { .property__facts { grid-template-columns: repeat(2, auto); } }

/* Zillow-style facts and the floor plan */
.property__stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 20px; font-size: 18px; }
.property__stats span { white-space: nowrap; }
.property__stats span + span { padding-left: 22px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); }
.property__stats b { font-size: 1.25em; font-variant-numeric: tabular-nums; }
.card__stats { margin: 6px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__stats i { display: inline-block; width: 1px; height: .9em; margin: 0 8px; vertical-align: -1px; background: currentColor; opacity: .3; }
.property__plan { margin-bottom: 48px; }
.plan { display: block; background: #fff; padding: 12px; cursor: zoom-in; }
.plan img { display: block; width: 100%; height: auto; }
.plan__note { font-size: 13px; opacity: .72; margin: 8px 0 0; max-width: 70ch; }

/* a home's 3D model on its listing page */
.property__model { margin-bottom: 48px; }
.viewer { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(80% 80% at 50% 45%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #e9e3f5, #f6e3dc); cursor: grab; overflow: hidden; }
.viewer canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.viewer.is-ready canvas { opacity: 1; }
.viewer__hint { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: 12px; color: rgba(0, 0, 0, .5); pointer-events: none; }
.viewer__note { font-size: 13px; opacity: .7; margin: 8px 0 0; }

/* details/summary resets */
.faq summary { cursor: pointer; }
input[type=number] { font: inherit; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===================================================================== a home's card on the 2D map, shown on hover */
.pin__card { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 17rem; display: grid; grid-template-columns: 6rem 1fr; gap: .7rem; padding: .5rem; align-items: center; border-radius: .6rem; background: var(--pp-panel); color: var(--pp-ink); border: 1px solid var(--pp-line); box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .45); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .12s; text-align: left; font-size: .8rem; line-height: 1.3; }
.pin:hover .pin__card, .pin:focus-visible .pin__card { opacity: 1; }
.pin.is-below .pin__card { bottom: auto; top: calc(100% + 10px); }
.pin__card img { width: 6rem; height: 4.6rem; object-fit: cover; border-radius: .4rem; display: block; }
.pin__card span { display: flex; flex-direction: column; min-width: 0; }
.pin__card em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--pp-accent); }
.pin__card strong { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(1.2rem * var(--pp-ds, 1)); line-height: 1.1; }
.pin__card b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin__card small { color: var(--pp-soft); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================================================================== the sales agent */
.agent { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; font-size: .92rem; }
body:has(.pp-bar.is-on) .agent { bottom: 5.4rem; }
.agent__launch { display: flex; align-items: center; gap: .6rem; padding: .35rem 1.1rem .35rem .35rem; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-panel); color: var(--pp-ink); font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .35); }
.agent__launch img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; display: block; }
.agent__launch:hover { border-color: var(--pp-accent); }
.agent.is-open .agent__launch span { display: none; }
.agent.is-open .agent__launch { padding: .35rem; }
.agent__teaser { position: relative; margin: 0; max-width: 17rem; padding: .8rem 2rem .8rem 1rem; border-radius: .9rem .9rem .2rem .9rem; background: var(--pp-panel); color: var(--pp-ink); border: 1px solid var(--pp-line); backdrop-filter: blur(12px); box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .35); cursor: pointer; line-height: 1.4; }
.agent__teaser button { position: absolute; right: .4rem; top: .3rem; border: 0; background: none; color: var(--pp-soft); font-size: 1.1rem; cursor: pointer; }
.agent__panel { order: -1; width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100vh - 8rem)); display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; background: var(--pp-bg); color: var(--pp-ink); border: 1px solid var(--pp-line); box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .5); }
.agent__panel[hidden] { display: none; }
.agent__panel header { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--pp-line); }
.agent__panel header img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.agent__panel header div { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.agent__panel header span { font-size: .76rem; color: var(--pp-soft); }
.agent__close { border: 0; background: none; color: var(--pp-soft); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.agent__log { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.agent__msg { max-width: 88%; display: flex; flex-direction: column; gap: .5rem; }
.agent__msg > div:not(.agent__homes) { padding: .65rem .85rem; border-radius: .9rem; line-height: 1.45; }
.agent__msg--agent { align-self: flex-start; }
.agent__msg--agent > div:not(.agent__homes) { background: var(--pp-band); border-top-left-radius: .2rem; }
.agent__msg--you { align-self: flex-end; }
.agent__msg--you > div { background: var(--pp-accent); color: var(--pp-accent-ink); border-top-right-radius: .2rem; font-weight: 600; }
.agent__msg a { color: var(--pp-accent); }
.agent__msg--wait > div { display: flex; gap: .3rem; align-items: center; min-height: 2.4rem; }
.agent__msg--wait i { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; opacity: .3; animation: agent-wait 1.1s infinite; }
.agent__msg--wait i:nth-of-type(2) { animation-delay: .18s; }
.agent__msg--wait i:nth-of-type(3) { animation-delay: .36s; }
@keyframes agent-wait { 0%, 60%, 100% { opacity: .3; } 30% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .agent__msg--wait i { animation: none; opacity: .6; } }
.agent__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.agent__panel form button:disabled { opacity: .5; cursor: default; }
.agent__homes { display: flex; flex-direction: column; gap: .4rem; }
.agent__home { display: grid; grid-template-columns: 5rem 1fr; gap: .65rem; align-items: center; padding: .35rem; border-radius: .6rem; border: 1px solid var(--pp-line); text-decoration: none; color: inherit !important; }
.agent__home:hover { border-color: var(--pp-accent); }
.agent__home img { width: 5rem; height: 3.8rem; object-fit: cover; border-radius: .4rem; display: block; }
.agent__home span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; font-size: .82rem; }
.agent__home strong { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(1.1rem * var(--pp-ds, 1)); }
.agent__home em { font-style: normal; font-size: .74rem; }
.agent__home b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent__home small { color: var(--pp-soft); font-size: .72rem; }
.agent__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .7rem; }
.agent__chips:empty { display: none; }
.agent__chips button { padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--pp-line); background: none; color: var(--pp-ink); font-family: inherit; font-weight: 600; font-size: .78rem; cursor: pointer; }
.agent__chips button:hover { border-color: var(--pp-accent); color: var(--pp-accent); }
.agent__panel form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--pp-line); }
.agent__panel input { flex: 1; min-width: 0; padding: .7rem .9rem; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-band); color: var(--pp-ink); font: inherit; }
.agent__panel form button { padding: .7rem 1.1rem; border-radius: 999px; border: 0; background: var(--pp-accent); color: var(--pp-accent-ink); font-family: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
@media (max-width: 640px) { .agent { right: .8rem; bottom: .8rem; } .agent__launch span { display: none; } .agent__launch { padding: .3rem; } }

/* ============================================================ auctions, deeds, docs, ledger (shared/market.js)
   Structure and a neutral look from each version's --pp-* tokens; a version's own stylesheet can restyle any of it. */
.auc, .mkt, .docs, .ledger { --up: var(--pp-up, #5fe6a0); --down: var(--pp-down, #ff6b81); color: var(--pp-ink); }
.tablewrap { overflow-x: auto; }
.n { text-align: right; font-variant-numeric: tabular-nums; }

/* small controls shared by the pages */
.chips { display: inline-flex; border: 1px solid var(--pp-line); border-radius: 999px; padding: .2rem; gap: .15rem; }
.chips button { border: 0; background: none; color: var(--pp-soft); font-family: inherit; font-weight: 600; font-size: .86rem; line-height: 1; padding: .5rem .85rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.chips button:hover { color: var(--pp-ink); }
.chips button[aria-pressed="true"] { background: var(--pp-ink); color: var(--pp-bg); }
.auc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 1.1rem 0 1.4rem; }
.auc-tools input[type="search"] { flex: 1 1 15rem; min-width: 12rem; max-width: 26rem; font-family: inherit; font-weight: 500; font-size: .95rem; padding: .68rem 1.1rem; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-band); color: var(--pp-ink); }
.auc-tools input::placeholder { color: var(--pp-soft); }
.auc-tools select, .led-sales select { font-family: inherit; font-weight: 600; font-size: .88rem; padding: .62rem 2rem .62rem 1rem; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-band); color: var(--pp-ink); }
.auc-tools input:focus-visible, .auc-tools select:focus-visible, .chips button:focus-visible, .lot__act button:focus-visible, .trade:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 2px; }
.auc-tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--pp-line); }
.auc-tabs button { border: 0; background: none; color: var(--pp-soft); font-family: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1; padding: .2rem 0 .95rem; margin-bottom: -1px; border-bottom: 2px solid transparent; cursor: pointer; }
.auc-tabs button span { margin-left: .45rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.auc-tabs button:hover { color: var(--pp-ink); }
.auc-tabs button[aria-pressed="true"] { color: var(--pp-ink); border-bottom-color: var(--pp-accent); }
.auc-count { margin: 0 0 1rem; color: var(--pp-soft); font-size: .92rem; }

/* the auction floor */
.auc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; margin-bottom: 2.2rem; }
.auc-head h1, .mkt-head h1, .docs-head h1 { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); margin: 0; }
.auc-head__txt p { margin: .9rem 0 0; max-width: 58ch; color: var(--pp-soft); font-size: 1.06rem; }
.auc-stats, .mkt-stats, .led-tiles { margin: 0; display: flex; }
.auc-stats > div, .mkt-stats > div { padding: .2rem 1.7rem; border-left: 1px solid var(--pp-line); }
.auc-stats > div:first-child, .mkt-stats > div:first-child { padding-left: 0; border-left: 0; }
.auc-stats dt, .mkt-stats dt, .led-tiles dt { color: var(--pp-soft); font-size: .84rem; white-space: nowrap; }
.auc-stats dd, .mkt-stats dd { margin: .25rem 0 0; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(clamp(1.5rem, 1.9vw, 2.4rem) * var(--pp-ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.auc-stats__clock dd { color: var(--pp-accent); }
.mkt-stats small { display: block; margin-top: .3rem; color: var(--pp-soft); font-size: .8rem; }
.auc-body { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.4rem; align-items: start; }
.auc-side { position: sticky; top: 5.4rem; display: grid; gap: 1.2rem; }
.auc-side section { border: 1px solid var(--pp-line); border-radius: .8rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--pp-band); }
.auc-side h2 { font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 .7rem; }
.auc-side p { margin: 0 0 .8rem; color: var(--pp-soft); font-size: .88rem; }
.auc-side section > p:last-child { margin-bottom: 0; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed li + li { border-top: 1px solid var(--pp-line); }
.feed a { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .6rem 0; text-decoration: none; color: inherit; }
.feed b { font-variant-numeric: tabular-nums; }
.feed small { color: var(--pp-soft); font-size: .78rem; white-space: nowrap; }
.feed span { grid-column: 1 / -1; color: var(--pp-soft); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed a:hover b { color: var(--pp-accent); }
.tiers { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tiers th { font-weight: 600; color: var(--pp-soft); font-size: .8rem; text-align: left; padding: .35rem 0; }
.tiers th.n { text-align: right; }
.tiers tbody th { color: var(--pp-ink); font-size: .9rem; }
.tiers td { padding: .55rem 0 .55rem .6rem; border-top: 1px solid var(--pp-line); vertical-align: top; }
.tiers td b { display: block; font-variant-numeric: tabular-nums; }
.tiers td small { display: block; color: var(--pp-soft); font-size: .72rem; white-space: nowrap; }
.tiers tbody th { border-top: 1px solid var(--pp-line); }

.lotgrid, .dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); gap: 1.2rem; }
.lot, .dcard { display: flex; flex-direction: column; background: var(--pp-band); border: 1px solid var(--pp-line); border-radius: .8rem; overflow: hidden; }
.lot__photo, .dcard__photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0d1b; }
.lot__photo img, .dcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot__no, .dcard__no { position: absolute; left: .7rem; top: .7rem; padding: .32rem .62rem; border-radius: .3rem; background: rgba(12, 13, 27, .78); color: #fff9eb; font-family: inherit; font-weight: 700; font-size: .74rem; line-height: 1; font-variant-numeric: tabular-nums; backdrop-filter: blur(4px); }
.lot__mine { position: absolute; right: .7rem; top: .7rem; padding: .32rem .62rem; border-radius: .3rem; font-family: inherit; font-weight: 700; font-size: .74rem; line-height: 1; color: #0c0d1b; }
.lot__mine--lead { background: var(--up); }
.lot__mine--out { background: var(--down); }
.lots .lot__mine { position: static; display: inline-block; margin-left: .5rem; }
.lot--sold .lot__photo img { filter: saturate(.75); }
.lot__body, .dcard__body { padding: .95rem 1.05rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.lot__tier { margin: 0 0 .3rem; color: var(--pp-accent); font-size: .8rem; font-weight: 700; }
.lot__title, .dcard h3 { margin: 0; font-family: inherit; font-weight: 700; font-size: 1.04rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.lot__title a, .dcard h3 a { color: inherit; text-decoration: none; }
.lot__title a:hover, .dcard h3 a:hover { text-decoration: underline; }
.lot__where, .dcard__where { margin: .15rem 0 0; color: var(--pp-soft); font-size: .88rem; }
.lot__facts, .dcard__facts { margin: .45rem 0 0; display: flex; flex-wrap: wrap; font-size: .86rem; }
.lot__facts span + span, .dcard__facts span + span { margin-left: .6rem; padding-left: .6rem; border-left: 1px solid var(--pp-line); }
.lot__nums { margin: .9rem 0 0; padding-top: .85rem; border-top: 1px solid var(--pp-line); display: grid; grid-template-columns: 1fr auto auto; gap: .2rem 1.2rem; align-items: end; }
.lot__nums dt { color: var(--pp-soft); font-size: .76rem; }
.lot__nums dd { margin: .1rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.lot__main dd { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(1.65rem * var(--pp-ds, 1)); line-height: 1; }
.lot--live .lot__main dd { color: var(--pp-ink); }
.lot__act, .dcard__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.lot__act span, .dcard__foot span { color: var(--pp-soft); font-size: .8rem; }
.lot__act span b { color: var(--pp-ink); font-variant-numeric: tabular-nums; }
.lot__act button, .lots__act button, .trade--go { border: 0; border-radius: 999px; padding: .62rem 1.3rem; background: var(--pp-accent); color: var(--pp-accent-ink); font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap; display: inline-flex; }
.lot__act a, .lots__act a, .trade { border: 1px solid var(--pp-line); border-radius: 999px; padding: .56rem 1.1rem; color: var(--pp-ink); background: none; font-family: inherit; font-weight: 700; font-size: .86rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; display: inline-flex; }
.trade--go { border: 0; }
.lot__act a:hover, .lots__act a:hover, .trade:hover { border-color: var(--pp-accent); color: var(--pp-accent); }
.trade--go:hover, .lot__act button:hover, .lots__act button:hover { color: var(--pp-accent-ink); filter: brightness(1.08); }

.lots { width: 100%; border-collapse: collapse; font-size: .93rem; }
.lots th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--pp-soft); padding: .55rem .8rem; border-bottom: 1px solid var(--pp-line); white-space: nowrap; position: sticky; top: 0; }
.lots th.n { text-align: right; }
.lots td { padding: .6rem .8rem; border-bottom: 1px solid var(--pp-line); vertical-align: middle; }
.lots tbody tr:hover { background: var(--pp-band); }
.lots__no { color: var(--pp-soft); font-variant-numeric: tabular-nums; width: 1%; }
.lots__home a { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; min-width: 15rem; }
.lots__home img { width: 4.2rem; height: 2.8rem; object-fit: cover; border-radius: .3rem; flex: none; background: #0c0d1b; }
.lots__home b { display: block; font-weight: 700; line-height: 1.25; }
.lots__home small { color: var(--pp-soft); font-size: .8rem; }
.lots__home a:hover b { text-decoration: underline; }
.lots__amt { font-weight: 700; }
.lots__amt i, .lots__amt small { font-style: normal; font-weight: 400; color: var(--pp-soft); }
.lots__amt small { display: block; font-size: .76rem; }
.lots__act { text-align: right; width: 1%; white-space: nowrap; }

/* the bid box */
.bidbox { border: 1px solid var(--pp-line); border-radius: 1rem; padding: 0; width: min(30rem, calc(100vw - 2rem)); background: var(--pp-bg); color: var(--pp-ink); }
.bidbox::backdrop { background: rgba(12, 13, 27, .72); backdrop-filter: blur(3px); }
.bidbox__in { padding: 1.3rem 1.4rem 1.4rem; display: grid; gap: 1.1rem; }
.bidbox header { display: grid; grid-template-columns: 5.4rem 1fr auto; gap: .9rem; align-items: start; }
.bidbox header img { width: 5.4rem; height: 4rem; object-fit: cover; border-radius: .4rem; }
.bidbox header p { margin: 0; color: var(--pp-soft); font-size: .82rem; }
.bidbox h2 { margin: .1rem 0; font-family: inherit; font-weight: 700; font-size: 1.1rem; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.bidbox__x { border: 0; background: none; color: var(--pp-soft); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.bidbox dl { margin: 0; display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 1rem; padding: .9rem 0; border-block: 1px solid var(--pp-line); }
.bidbox dt { color: var(--pp-soft); font-size: .78rem; }
.bidbox dd { margin: .2rem 0 0; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(1.45rem * var(--pp-ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.bidbox label span { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 600; }
.bidbox input { width: 100%; box-sizing: border-box; font-family: inherit; font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; padding: .7rem 1rem; border-radius: .5rem; border: 1px solid var(--pp-line); background: var(--pp-band); color: var(--pp-ink); }
.bidbox input:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 1px; }
.bidbox__note { margin: 0; color: var(--pp-soft); font-size: .86rem; line-height: 1.5; }
.bidbox footer { display: flex; justify-content: flex-end; gap: .6rem; }
.bidbox__no { border: 1px solid var(--pp-line); background: none; color: var(--pp-ink); border-radius: 999px; padding: .75rem 1.3rem; font-family: inherit; font-weight: 700; font-size: .92rem; line-height: 1; cursor: pointer; }
.bidbox__go { border: 0; background: var(--pp-accent); color: var(--pp-accent-ink); border-radius: 999px; padding: .8rem 1.5rem; font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer; }

/* the deed market */
.mkt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.8rem 3rem; align-items: end; margin-bottom: 2rem; }
.mkt-head__id { display: flex; gap: 1.2rem; align-items: center; }
.mkt-head__id img { width: 5.2rem; height: 5.2rem; border-radius: .9rem; flex: none; background: var(--pp-band); object-fit: cover; }
.mkt-head__id p { margin: .6rem 0 0; color: var(--pp-soft); max-width: 52ch; }
.mkt-head__act { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
.mkt-stats { grid-column: 1 / -1; padding: 1.2rem 0; border-block: 1px solid var(--pp-line); }
.mkt-cols { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2.2rem; align-items: start; margin-top: 1.4rem; }
.mkt-cols .auc-tools { margin-top: 0; }
.mkt-main--wide { margin-top: 1.4rem; }
.mkt-main--wide > .chips { margin-bottom: 1.2rem; }
.mkt-filters { position: sticky; top: 5.4rem; max-height: calc(100vh - 6.4rem); overflow-y: auto; display: grid; gap: 1.2rem; padding-right: .4rem; }
.mkt-filters fieldset { border: 0; border-top: 1px solid var(--pp-line); margin: 0; padding: .9rem 0 0; display: grid; gap: .1rem; }
.mkt-filters fieldset:first-child { border-top: 0; padding-top: 0; }
.mkt-filters legend { padding: 0; font-weight: 700; font-size: .92rem; float: left; width: 100%; margin-bottom: .5rem; }
.pick { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .32rem 0; cursor: pointer; font-size: .92rem; clear: both; }
.pick input { accent-color: var(--pp-accent); width: 1rem; height: 1rem; margin: 0; }
.pick small { color: var(--pp-soft); font-variant-numeric: tabular-nums; }
.pick:hover span { color: var(--pp-accent); }
.range { clear: both; display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; color: var(--pp-soft); font-size: .86rem; }
.range input { width: 100%; box-sizing: border-box; font-family: inherit; font-weight: 600; font-size: .9rem; padding: .5rem .7rem; border-radius: .4rem; border: 1px solid var(--pp-line); background: var(--pp-band); color: var(--pp-ink); }
.mkt-clear { justify-self: start; border: 0; background: none; color: var(--pp-soft); font-family: inherit; font-weight: 600; font-size: .86rem; text-decoration: underline; cursor: pointer; padding: 0; }
.dcard__facts span:first-child { color: var(--pp-accent); font-weight: 700; }
.dcard__price { margin: .9rem 0 0; padding-top: .85rem; border-top: 1px solid var(--pp-line); display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.dcard__price strong { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(1.65rem * var(--pp-ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.dcard__price strong.is-off { font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--pp-soft); }
.dcard__price small { color: var(--pp-soft); font-size: .8rem; text-align: right; }
.ev__type { display: inline-block; padding: .28rem .6rem; border-radius: .3rem; font-size: .78rem; font-weight: 700; background: var(--pp-band); border: 1px solid var(--pp-line); }
.ev--sale .ev__type { background: var(--up); color: #0c0d1b; border-color: transparent; }
.ev--mint .ev__type { background: var(--pp-accent); color: var(--pp-accent-ink); border-color: transparent; }
.mkt-mine { margin-bottom: 2rem; }
.mkt-mine h2, .led-nights h2, .led-sales h2 { font-family: inherit; font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 1rem; }
.mkt-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem; }
.mkt-about h2 { font-family: inherit; font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 .8rem; }
.mkt-about p { margin: 0 0 1rem; color: var(--pp-soft); max-width: 64ch; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; }
.plain li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--pp-line); }
.plain li span { color: var(--pp-soft); }
.plain--risks li { display: block; color: var(--pp-soft); max-width: 78ch; }
.mkt-empty { border: 1px solid var(--pp-line); border-radius: .9rem; background: var(--pp-band); padding: clamp(2rem, 5vw, 4.5rem); margin-top: 1rem; }
.mkt-empty h2 { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(clamp(2rem, 3.4vw, 3.6rem) * var(--pp-ds, 1)); margin: 0 0 1rem; }
.mkt-empty p { margin: 0 0 1.6rem; color: var(--pp-soft); max-width: 60ch; font-size: 1.06rem; }
.mkt-empty b { color: var(--pp-accent); font-variant-numeric: tabular-nums; }

/* docs */
.docs-head { margin-bottom: 2.4rem; }
.docs-head p { margin: .9rem 0 0; color: var(--pp-soft); font-size: 1.08rem; max-width: 66ch; }
.docs-cols { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2.6rem; align-items: start; }
.docs-nav { position: sticky; top: 5.4rem; display: grid; gap: .1rem; }
.docs-nav a { padding: .55rem .9rem; border-radius: .5rem; color: var(--pp-soft); text-decoration: none; font-weight: 600; font-size: .95rem; border-left: 2px solid transparent; }
.docs-nav a:hover { color: var(--pp-ink); }
.docs-nav a[aria-current] { color: var(--pp-ink); background: var(--pp-band); border-left-color: var(--pp-accent); border-radius: 0 .5rem .5rem 0; }
.docs-body { display: grid; gap: 1.2rem; min-width: 0; }
.docs-body > section { border: 1px solid var(--pp-line); border-radius: .9rem; background: var(--pp-band); padding: clamp(1.4rem, 2.4vw, 2.4rem); scroll-margin-top: 5.4rem; }
.docs-body h2 { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(clamp(1.7rem, 2.3vw, 2.6rem) * var(--pp-ds, 1)); margin: 0 0 1rem; }
.docs-body p { margin: 0 0 1rem; max-width: 74ch; color: var(--pp-soft); line-height: 1.65; }
.docs-body p:last-child { margin-bottom: 0; }
.docs-body a { color: var(--pp-accent); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 1.3rem 0; }
.tiles > div { border: 1px solid var(--pp-line); border-radius: .7rem; padding: 1rem 1.1rem; background: var(--pp-bg); }
.tiles b { display: block; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(clamp(1.5rem, 2.2vw, 2.4rem) * var(--pp-ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; }
.tiles span { display: block; margin-top: .45rem; color: var(--pp-soft); font-size: .88rem; }
.docs-body .tiers { max-width: 46rem; margin: 1.2rem 0; font-size: 1rem; }
.docs-body .tiers td b { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(1.5rem * var(--pp-ds, 1)); line-height: 1.1; }
.docs-body .tiers td small { font-size: .8rem; }
.docs-body .tiers td, .docs-body .tiers tbody th { padding-block: .8rem; }
.split { max-width: 46rem; margin: 1.2rem 0; }
.split__bar, .led-nights__bar { display: flex; height: .9rem; border-radius: 999px; overflow: hidden; gap: 2px; }
.split__bar i:first-child, .led-nights__bar i:first-child, .led-key__burn::before { background: var(--pp-accent); }
.split__bar i:last-child, .led-nights__bar i:last-child, .led-key__ops::before { background: var(--pp-soft); }
.split dl { margin: 1rem 0 0; display: grid; grid-template-columns: 4fr 1.6fr; gap: 1.5rem; }
.split dt { font-weight: 700; }
.split dd { margin: .2rem 0 0; color: var(--pp-soft); font-size: .92rem; }
.addrs { margin: 0; display: grid; }
.addrs > div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--pp-line); align-items: center; }
.addrs > div:first-child { border-top: 0; padding-top: 0; }
.addrs dt { color: var(--pp-soft); }
.addrs dd { margin: 0; display: flex; align-items: center; gap: .8rem; min-width: 0; }
.addrs code { font: 500 .92rem ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.copy { border: 1px solid var(--pp-line); background: none; color: var(--pp-ink); border-radius: 999px; padding: .35rem .8rem; font-family: inherit; font-weight: 600; font-size: .78rem; cursor: pointer; flex: none; }

/* the ledger */
.led-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--pp-line); margin-bottom: 2.6rem; }
.led-tiles > div { padding: 1.4rem 1.6rem; border-left: 1px solid var(--pp-line); min-width: 0; }
.led-tiles > div:first-child { padding-left: 0; border-left: 0; }
.led-tiles dd { margin: .35rem 0 0; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(clamp(1.7rem, 2.5vw, 3.2rem) * var(--pp-ds, 1)); line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.led-tiles > div:nth-child(2) dd { color: var(--pp-accent); }
.led-tiles small { display: block; margin-top: .45rem; color: var(--pp-soft); font-size: .86rem; }
.led-nights { margin-bottom: 2.8rem; }
.led-nights ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.led-nights li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 19rem; gap: 1.4rem; align-items: center; }
.led-nights__when b, .led-nights__nums b { display: block; font-variant-numeric: tabular-nums; }
.led-nights__when small, .led-nights__nums small { display: block; color: var(--pp-soft); font-size: .82rem; }
.led-nights__bar { width: var(--w); min-width: 2rem; height: 1.5rem; border-radius: .3rem; }
.led-nights__nums { color: var(--pp-soft); font-size: .9rem; }
.led-nights__nums b { display: inline; color: var(--pp-ink); font-size: 1rem; }
.led-key { margin: 1rem 0 0; display: flex; gap: 1.4rem; color: var(--pp-soft); font-size: .84rem; }
.led-key span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; margin-right: .45rem; }
.led-sales header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.led-sales h2 { margin: 0; }

/* additions to a home's page */
.auction__deed { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--pp-line); }
.auction__deed span { display: block; font-size: .8rem; color: var(--pp-soft); }
.auction__deed strong { font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-size: calc(1.6rem * var(--pp-ds, 1)); line-height: 1.1; font-variant-numeric: tabular-nums; }
.auction__meta span + span { margin-left: .8rem; padding-left: .8rem; border-left: 1px solid var(--pp-line); }
.pp-trades, .pp-units { padding: 0 var(--pp-gut); margin-top: 96px; }
.pp-loc__note { margin: 0 0 1.4rem; color: var(--pp-soft); font-size: .95rem; }

@media (max-width: 1100px) {
  .auc-head, .mkt-head { grid-template-columns: 1fr; align-items: start; }
  .mkt-head__act { grid-column: 1; grid-row: auto; justify-self: start; }
  .auc-body { grid-template-columns: 1fr; }
  .auc-side { position: static; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
  .led-nights li { grid-template-columns: 6rem minmax(0, 1fr); }
  .led-nights__nums { grid-column: 2; }
}
@media (max-width: 860px) {
  .auc-stats, .mkt-stats { flex-wrap: wrap; gap: 1rem 0; }
  .auc-stats > div, .mkt-stats > div { flex: 1 1 40%; padding: 0 1rem 0 0; border-left: 0; }
  .mkt-cols, .docs-cols { grid-template-columns: 1fr; }
  .mkt-filters { position: static; max-height: none; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 1.6rem; }
  .mkt-filters fieldset { border-top: 0; padding-top: 0; }
  .docs-nav { position: static; display: flex; overflow-x: auto; gap: .3rem; padding-bottom: .4rem; }
  .docs-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; }
  .docs-nav a[aria-current] { border-radius: 0; border-bottom-color: var(--pp-accent); background: none; }
  .tiles, .led-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .led-tiles > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .led-tiles > div:nth-child(n+3) { border-top: 1px solid var(--pp-line); }
  .mkt-about, .split dl { grid-template-columns: 1fr; }
  .plain li, .addrs > div { grid-template-columns: 1fr; gap: .2rem; }
  .lotgrid, .dgrid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
}

/* corrections after the first look at the pages */
.auc-head h1, .mkt-head h1, .docs-head h1 { font-size: calc(clamp(2.8rem, 4.8vw, 6rem) * var(--ts, 1)); line-height: .92; }
.auc-main, .auc-side, .auc-side section, .mkt-main { min-width: 0; }
.feed a { grid-template-columns: minmax(0, 1fr) auto; }
.feed span { min-width: 0; }
.trade { border: 1px solid var(--pp-line); border-radius: 999px; padding: .56rem 1.1rem; color: var(--pp-ink); background: none; font-family: inherit; font-weight: 700; font-size: .86rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; display: inline-flex; }
.trade.trade--go { border-color: transparent; background: var(--pp-accent); color: var(--pp-accent-ink); padding: .62rem 1.3rem; }
.trade.trade--go:hover { color: var(--pp-accent-ink); filter: brightness(1.08); }
.mkt-head__act .trade--go { padding: .85rem 1.6rem; font-size: .95rem; }
.auction__deed .trade { flex: none; }
.lot__nums { grid-template-columns: auto auto 1fr; }
.lot__main { grid-column: 1 / -1; margin-bottom: .5rem; }
.pp-trades .ev__type, .lots--events .ev__type { white-space: nowrap; }

/* ---- second pass (2026-11-19): deeds shown the way an NFT collection shows its items; the ledger opens with one
   figure and a statement; the docs read as a document, not a set of cards */
.dgrid { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: .9rem; }
.dcard { position: relative; border-radius: .7rem; }
.dcard__art { display: block; aspect-ratio: 1; overflow: hidden; background: #dcdbe0; }
.dcard__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.dcard:hover .dcard__art img { transform: scale(1.04); }
.dcard__body { display: block; padding: .8rem .9rem .95rem; }
.dcard h3 { font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1.3; letter-spacing: .01em; text-transform: none; font-variant-numeric: tabular-nums; margin: 0; }
.dcard__home { margin: .1rem 0 0; color: var(--pp-soft); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard__price { display: block; margin: .65rem 0 0; padding: 0; border: 0; }
.dcard__price strong { font-family: inherit; font-size: 1.08rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.dcard__price strong.is-off { font-size: .95rem; font-weight: 600; color: var(--pp-soft); }
.dcard__last { margin: .1rem 0 0; color: var(--pp-soft); font-size: .78rem; font-variant-numeric: tabular-nums; }
.dcard__act { position: absolute; left: 0; right: 0; bottom: 0; display: flex; padding: 2.2rem .7rem .7rem; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; background: linear-gradient(180deg, transparent, rgba(12, 13, 27, .94) 45%); }
.dcard__act .trade { flex: 1; justify-content: center; }
.dcard:hover .dcard__act, .dcard:focus-within .dcard__act { opacity: 1; transform: none; }
@media (hover: none) { .dcard__act { position: static; opacity: 1; transform: none; padding: 0 .9rem .9rem; background: none; } }
@media (prefers-reduced-motion: reduce) { .dcard__art img, .dcard__act { transition: none; } }
.lots__home img { background: #dcdbe0; }

.led-state { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.4rem 6vw; align-items: end; margin: 0 0 3.4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--pp-line); }
.led-state__burn p { margin: 0; color: var(--pp-soft); max-width: 46ch; }
.led-state__burn p:first-child { color: var(--pp-ink); font-weight: 600; }
.led-state__burn strong { display: block; margin: .2rem 0 1rem -.04em; font-family: var(--pp-display); font-stretch: var(--pp-dstretch, normal); font-weight: var(--pp-dw, 800); font-size: calc(clamp(3.6rem, 9.2vw, 11.5rem) * var(--pp-ds, 1)); line-height: .86; font-variant-numeric: tabular-nums; letter-spacing: -.005em; color: var(--pp-accent); }
.led-state__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.led-state__table caption { text-align: left; color: var(--pp-soft); font-size: .86rem; padding-bottom: .5rem; }
.led-state__table th { text-align: left; font-weight: 500; padding: .72rem 0; }
.led-state__table td { text-align: right; font-weight: 700; font-size: 1.12rem; padding: .72rem 0; }
.led-state__table tr { border-top: 1px solid var(--pp-line); }
.led-state__table tbody + tbody tr:first-child { border-top: 1px solid var(--pp-soft); }
.led-state__table tbody + tbody tr:first-child th, .led-state__table tbody + tbody tr:first-child td { padding-top: 1.5rem; }
.led-state__table tbody:first-child tr:last-child th, .led-state__table tbody:first-child tr:last-child td { padding-bottom: 1.5rem; }
.led-state__table tr.is-total { border-top: 2px solid var(--pp-ink); }
.led-state__table tr.is-total th { font-weight: 700; }
.led-state__table tr.is-total td { font-size: 1.5rem; }
.led-state__table tbody:first-child tr:not(:first-child) th { padding-left: 1.2rem; color: var(--pp-soft); }

.docs-cols { grid-template-columns: 13rem minmax(0, 46rem); gap: 5vw; }
.docs-body { display: block; }
.docs-body > section { border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; padding: 2.6rem 0 2.9rem; }
.docs-body > section:first-child { border-top: 0; padding-top: .3rem; }
.docs-body h2 { font-family: inherit; font-weight: 700; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.012em; text-transform: none; margin: 0 0 1.1rem; }
.docs-body p, .docs-body .plain--risks li { color: var(--pp-ink); opacity: .82; font-size: 1.04rem; line-height: 1.7; max-width: 68ch; }
.docs-body .plain--risks li { padding: .85rem 0; }
.docs-nav a { padding: .5rem 0 .5rem 1rem; border-radius: 0; border-left: 1px solid var(--pp-line); font-weight: 500; }
.docs-nav a[aria-current] { background: none; border-radius: 0; border-left: 2px solid var(--pp-accent); padding-left: calc(1rem - 1px); font-weight: 700; }
.keyfacts { margin: 1.6rem 0; border-block: 1px solid var(--pp-line); }
.keyfacts > div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 1rem; padding: .8rem 0; }
.keyfacts > div + div { border-top: 1px solid var(--pp-line); }
.keyfacts dt { color: var(--pp-soft); }
.keyfacts dd { margin: 0; font-weight: 600; }
.docs-body .tiers { max-width: none; }
.docs-body .tiers td b { font-family: inherit; font-weight: 700; font-size: 1.15rem; }
.docs-body .split { max-width: none; }
@media (max-width: 860px) { .led-state, .docs-cols { grid-template-columns: 1fr; } .keyfacts > div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---- a deed's picture can be a clip of its model turning; the holder page (My Properties) */
.dcard__art video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0e0e11; }
.dcard__art:has(video) { background: #0e0e11; }
.holder { color: inherit; text-decoration: none; }
.holder:hover { text-decoration: underline; }
.prof { color: var(--pp-ink); }
.prof-banner { height: clamp(9rem, 17vw, 17rem); overflow: hidden; background: var(--pp-band); }
.prof-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-cols { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); gap: 3rem; padding: 0 var(--pp-gut, 3vw) 4rem; align-items: start; }
.prof-side { position: sticky; top: 5.4rem; margin-top: -3.4rem; }
.prof-avatar { display: block; width: 6.6rem; height: 6.6rem; border-radius: 50%; border: 4px solid var(--pp-bg); }
.prof-side h1 { font-family: inherit; font-weight: 700; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.01em; text-transform: none; margin: 1rem 0 .3rem; }
.prof-addr { margin: 0 0 1.6rem; display: flex; align-items: center; gap: .7rem; color: var(--pp-soft); }
.prof-addr code { font: 500 .9rem ui-monospace, "Cascadia Mono", Consolas, monospace; }
.prof-value { margin: 0; padding: 1.3rem 0; border-block: 1px solid var(--pp-line); }
.prof-value dt { color: var(--pp-soft); font-size: .88rem; }
.prof-value dd { margin: .3rem 0 0; font-weight: 700; font-size: 1.7rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.prof-value dd.prof-value__sub { font-weight: 400; font-size: .86rem; color: var(--pp-soft); }
.prof-facts { list-style: none; margin: 0; padding: .6rem 0 0; }
.prof-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.prof-facts span { color: var(--pp-soft); }
.prof-facts b { font-variant-numeric: tabular-nums; text-align: right; }
.prof-connect { margin-top: 1.2rem; }
.prof-main { min-width: 0; padding-top: 1.1rem; }
.prof-tabs { display: flex; gap: 1.7rem; border-bottom: 1px solid var(--pp-line); margin-bottom: 1.8rem; }
.prof-tabs a { color: var(--pp-soft); text-decoration: none; font-weight: 700; padding: .3rem 0 .95rem; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.prof-tabs a span { margin-left: .45rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.prof-tabs a:hover { color: var(--pp-ink); }
.prof-tabs a[aria-current] { color: var(--pp-ink); border-bottom-color: var(--pp-accent); }
.prof-h { font-family: inherit; font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 1rem; }
.prof-h:not(:first-child) { margin-top: 2.6rem; }
.prof-more { margin: 1rem 0 0; }
.prof-more a { color: var(--pp-ink); }
.prof--out { padding: 4.5rem var(--pp-gut, 3vw) 2rem; }
@media (max-width: 860px) { .prof-cols { grid-template-columns: 1fr; gap: 1.6rem; } .prof-side { position: static; } }
.dcard__art { position: relative; }
.dcard__unit { position: absolute; left: .6rem; bottom: .6rem; padding: .3rem .6rem; border-radius: .3rem; background: rgba(12, 13, 27, .72); color: #fff; font-size: .76rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; backdrop-filter: blur(4px); }
.lots__wait { font-style: normal; color: var(--pp-soft); font-weight: 400; }
.prof-claim { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid var(--pp-line); border-radius: .6rem; font-size: .92rem; display: grid; gap: .7rem; }
[data-vault] .prof-value { border-top: 0; padding-top: 0; }
