:root {
  --bg: #0e0e10;
  --bg-2: #18181b;
  --bg-3: #1f1f23;
  --purple: #9146FF;
  --purple-2: #bf94ff;
  --text: #efeff1;
  --muted: #adadb8;
  --green: #00f593;
  --gold: #ffb31a;
  --red: #eb0400;
  --amenity-orange: #ff7a18;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button, input { font-family: inherit; }
a { color: var(--purple-2); }
header.hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(180deg, #0e0e10cc 0%, #0e0e10f0 100%),
    linear-gradient(120deg, #9146ff55, transparent 50%),
    url("/photos/hero-living.jpg") center/cover no-repeat;
  padding: 28px 40px 48px;
  overflow: hidden;
}
header.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(transparent, var(--bg));
}
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; position: relative; z-index: 2; }
.live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 12px;
  letter-spacing: .08em; padding: 4px 8px; border-radius: 4px;
}
.live i { width: 7px; height: 7px; background: #fff; border-radius: 50%; display: inline-block; }
.brand { font-family: Rajdhani, Inter, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.auth { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.auth .who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.auth img { width: 28px; height: 28px; border-radius: 50%; }
.hero-copy { max-width: 740px; position: relative; z-index: 1; }
.hero-copy h1 {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95; font-weight: 700;
  text-shadow: 0 0 24px #9146ff88;
}
.hero-copy h1 span { color: var(--purple-2); }
.host { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.host b { color: var(--text); }
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 4px; color: #0e0e10;
}
.badge.sub { background: var(--purple); color: #fff; }
.meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #18181be6; border: 1px solid #9146ff55;
  box-shadow: 0 0 16px #9146ff22;
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
}
.chip b { color: var(--purple-2); font-weight: 600; }
.includes { margin-top: 18px; color: var(--text); font-size: 14px; max-width: 640px; line-height: 1.5; }
.banner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
  background: #18181b;
  border: 1px solid #9146ff66;
  color: var(--purple-2);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.banner.err { border-color: #eb040066; color: #ff8a88; }
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  position: relative; z-index: 1;
}
h2.sec {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px; letter-spacing: .06em; margin: 8px 0 6px;
}
.unit { margin-bottom: 28px; }
.unit p.sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card {
  background: var(--bg-2);
  border: 1px solid #2a2a30;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card .photo { height: 132px; background: #000 center/cover no-repeat; position: relative; overflow: hidden; }
.card .gallery,
.card .gallery.photo {
  height: auto;
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;
  background: #000;
}
.card .body {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.card h3, .card .desc {
  overflow: visible;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  text-overflow: clip;
}
.card .photo .state {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
}
.state.open { background: #00f593; color: #0e0e10; }
.state.wait { background: var(--purple); color: #fff; box-shadow: 0 0 12px #9146ffaa; }
.state.approved { background: var(--gold); color: #0e0e10; }
.state.reserved { background: var(--red); color: #fff; }
.state.paid { background: #6a6a72; color: #fff; }
.state.taken { background: #3a3a40; color: #efeff1; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 17px; font-weight: 700; }
.card .desc { color: var(--muted); font-size: 13px; line-height: 1.4; }
.price { font-weight: 800; color: var(--purple-2); font-size: 18px; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.price-block { display: flex; flex-direction: column; gap: 4px; }
.price-block .price { font-size: 15px; line-height: 1.35; }
.price-split { font-size: 12px; font-weight: 500; color: var(--muted); }
.pay-note { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 0; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pay-actions .btn { margin-top: 0; }
.admin-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-btns .btn, .admin-btns .approve { margin-top: 0; }
.discount-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--text);
  margin: 6px 0 2px; cursor: pointer;
}
.discount-toggle input { accent-color: #00f593; width: 16px; height: 16px; }
.admin-totals { font-weight: 700 !important; color: var(--purple-2) !important; }
.btn {
  margin-top: auto; align-self: flex-start;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px;
  padding: 9px 14px; border-radius: 6px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn.waitlist { background: var(--purple); color: #fff; box-shadow: 0 0 16px #9146ff88; }
.btn.paypal { background: #ffc439; color: #111; font-weight: 800; }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid #3a3a40; }
.btn.danger { background: transparent; color: #ff8a88; border: 1px solid #5a2a2a; }
.btn:disabled { opacity: .55; cursor: default; }
.taken-note { font-size: 12px; color: var(--muted); }
.side {
  background: var(--bg-3);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  padding: 16px;
  position: sticky; top: 16px;
}
.admin {
  background: var(--bg-3);
  border: 1px solid #9146ff66;
  box-shadow: 0 0 32px #9146ff22;
  border-radius: 12px;
  padding: 16px;
  position: sticky; top: 16px;
}
.admin h3, .side h3 {
  font-family: Rajdhani, Inter, sans-serif;
  letter-spacing: .08em; font-size: 16px;
  color: var(--purple-2); margin-bottom: 4px;
}
.admin .hint, .side .hint { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.45; }
.req { background: #0e0e10; border: 1px solid #2a2a30; border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.req .who { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.req .who img { width: 20px; height: 20px; border-radius: 50%; }
.req .for { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.req .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.approve { background: var(--green); color: #0e0e10; border: 0; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 4px; cursor: pointer; }
footer { text-align: center; color: #5c5c66; font-size: 12px; padding: 24px; }
.modal {
  position: fixed; inset: 0; background: #0e0e10cc; z-index: 20;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--bg-2); border: 1px solid #9146ff66; border-radius: 12px;
  padding: 22px; width: min(440px, 100%); box-shadow: 0 0 40px #9146ff33;
}
.modal-card h3 { font-family: Rajdhani, Inter, sans-serif; font-size: 24px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; line-height: 1.45; }
.modal-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.picks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pick { font-weight: 500; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.roommate-wrap input {
  width: 100%; margin-top: 6px; background: #0e0e10; border: 1px solid #3a3a40;
  color: var(--text); padding: 8px 10px; border-radius: 6px;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
#paypalSlot { margin-top: 8px; min-height: 0; }
.swipe-hint { display: none; }
@media (max-width: 840px) {
  .page { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .grid { grid-template-columns: 1fr; }
  header.hero { padding: 22px 18px 36px; min-height: 0; }
  .topbar { margin-bottom: 28px; flex-wrap: wrap; }
  .auth { margin-left: 0; width: 100%; }
  .admin, .side { position: static; }
  .banner { width: calc(100% - 28px); }
}

/* —— Polish, floor plan, galleries —— */
:root {
  --pink: #ff5fa2;
  --line: #2a2a30;
}
html { scroll-behavior: smooth; }
.hero-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; }
.hero-nav a {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px;
  border: 1px solid #9146ff66; background: #18181be6; padding: 8px 12px; border-radius: 999px;
  box-shadow: 0 0 16px #9146ff22;
}
.hero-nav a:hover, .hero-nav a:focus-visible { border-color: var(--purple-2); box-shadow: 0 0 18px #9146ff66; }
.sticky-bar {
  position: sticky; top: var(--site-nav-h, 52px); z-index: 12;
  background: #0e0e10f2; backdrop-filter: blur(10px);
  border-bottom: 1px solid #9146ff44;
  box-shadow: 0 8px 30px #0008;
}
.sticky-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto; padding: 8px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 13px;
}
.sticky-inner a { color: var(--purple-2); font-weight: 700; text-decoration: none; margin-left: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 12px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pill i.open { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pill i.wait { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.pill i.approved { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.pill i.reserved { background: var(--red); box-shadow: 0 0 8px #eb0400; }
.pill i.paid { background: #6a6a72; box-shadow: 0 0 8px #8a8a94; }
.pill i.taken { background: #6a6a72; }

.how, .plans, .shared {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 36px;
}
.how-steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px;
}
.how-steps li {
  background: var(--bg-2); border: 1px solid #9146ff33; border-radius: 12px;
  padding: 16px; display: flex; gap: 12px; align-items: flex-start;
  box-shadow: 0 0 24px #9146ff14;
}
.how-n {
  flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 16px #9146ff88;
}
.how-steps b { display: block; margin-bottom: 4px; }
.how-steps p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.plans-head .sub, .shared .sub, .unit p.sub, p.sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; line-height: 1.45; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.plan-legend span { display: flex; align-items: center; gap: 6px; }
.plan-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid #fff3; }
.plan-legend i.open { background: #00f59399; box-shadow: 0 0 8px #00f59388; }
.plan-legend i.wait { background: #9146ff99; box-shadow: 0 0 8px #9146ff88; }
.plan-legend i.approved { background: #ffb31a99; box-shadow: 0 0 8px #ffb31a88; }
.plan-legend i.reserved { background: #eb040099; box-shadow: 0 0 8px #eb040088; }
.plan-legend i.paid { background: #6a6a72; box-shadow: 0 0 8px #8a8a9488; }
.plan-legend i.taken { background: #3a3a40; }
.plan-tabs { display: none; gap: 8px; margin-bottom: 10px; }
.plan-tab {
  flex: 1; border: 1px solid #9146ff55; background: var(--bg-2); color: var(--text);
  font: 700 13px Inter, sans-serif; padding: 10px 12px; border-radius: 8px; cursor: pointer;
}
.plan-tab.on { background: var(--purple); color: #fff; box-shadow: 0 0 16px #9146ff88; }
.plan-mount { display: grid; gap: 16px; }
.drawing {
  background:
    radial-gradient(800px 200px at 0% 0%, #9146ff22, transparent),
    var(--bg-2);
  border: 1px solid #9146ff44; border-radius: 14px; padding: 12px 12px 8px;
  box-shadow: 0 0 32px #9146ff22;
  overflow: hidden;
}
.drawing h3 {
  font-family: Rajdhani, Inter, sans-serif; letter-spacing: .08em; font-size: 18px;
  color: var(--purple-2); margin: 0 0 8px;
}
.drawing svg { display: none; width: 100%; height: auto; min-width: 0; max-width: 100%; }
.drawing svg.landscape { display: block; }
.drawing svg.portrait { display: none; }
.hotspot { cursor: pointer; outline: none; }
.hotspot .bed {
  stroke-width: 2; transition: filter .2s, stroke-width .2s, transform .2s;
  transform-box: fill-box; transform-origin: center;
}
.hotspot .bed.open { fill: #00f59355; stroke: #00f593; filter: drop-shadow(0 0 6px #00f593aa); }
.hotspot .bed.wait { fill: #9146ff66; stroke: #bf94ff; filter: drop-shadow(0 0 8px #9146ffcc); }
.hotspot .bed.approved { fill: #ffb31a66; stroke: #ffb31a; filter: drop-shadow(0 0 8px #ffb31acc); }
.hotspot .bed.reserved { fill: #eb040066; stroke: var(--red); filter: drop-shadow(0 0 8px #eb0400cc); }
.hotspot .bed.paid { fill: #6a6a7266; stroke: #8a8a94; filter: drop-shadow(0 0 8px #8a8a94aa); }
.hotspot .bed.taken { fill: #2a2a30; stroke: #6a6a72; filter: none; }
.hotspot:hover .bed, .hotspot:focus-visible .bed { filter: brightness(1.25) drop-shadow(0 0 12px #9146ff); stroke-width: 3; }
.hotspot:hover .bed:not(.taken), .hotspot:focus-visible .bed:not(.taken) { transform: scale(1.03); }
.hotspot.active .bed { stroke-width: 3.5; filter: brightness(1.3) drop-shadow(0 0 14px #fff8); }
.plan-door-gap { stroke: #121216; stroke-width: 7; stroke-linecap: butt; fill: none; }
.plan-door-mark { stroke: #00f593; stroke-width: 2.6; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 5px #00f593cc); }
.hotspot .bed-split { stroke-width: 1.7; fill: none; pointer-events: none; }
.hotspot .bed-split.open { stroke: #00f593cc; }
.hotspot .bed-split.wait { stroke: #bf94ffcc; }
.hotspot .bed-split.approved { stroke: #ffb31acc; }
.hotspot .bed-split.reserved { stroke: #eb0400cc; }
.hotspot .bed-split.paid { stroke: #8a8a94cc; }
.hotspot .bed-split.taken { stroke: #8a8a96cc; }
.plan-lbl { font-family: Rajdhani, Inter, sans-serif; fill: #f4efff; pointer-events: none; font-weight: 700; }

.plan-bath-lbl { font-family: Rajdhani, Inter, sans-serif; fill: #bf94ff; font-weight: 700; pointer-events: none; letter-spacing: .06em; }
.plan-hatch-lbl { font-family: Rajdhani, Inter, sans-serif; fill: #9a9aa6; font-weight: 700; pointer-events: none; letter-spacing: .04em; }

.plan-sub { font-family: Inter, sans-serif; fill: #d6d6de; pointer-events: none; }
.plan-room { font-family: Inter, sans-serif; fill: #9a9aa3; pointer-events: none; }
.plan-hatch { fill: url(#hatch); stroke: #4a4a55; }
.plan-loading, .empty { color: var(--muted); font-size: 14px; padding: 20px 8px; }
.skeleton { background: linear-gradient(90deg, #18181b, #2a2a30, #18181b); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 12px; }
.plan-skel { min-height: 280px; }
.card-skel { min-height: 260px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.card { scroll-margin-top: calc(var(--site-nav-h, 52px) + 20px); transition: box-shadow .25s, border-color .25s, transform .25s; }
.card.flash { border-color: var(--purple-2); box-shadow: 0 0 28px #9146ff88; transform: translateY(-2px); }
.gallery { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.g-slide {
  flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; background: #000;
  height: 168px; cursor: zoom-in;
}
.g-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #0e0e10cc; color: #fff; font-size: 18px; cursor: pointer;
}
.g-nav.prev { left: 8px; } .g-nav.next { right: 8px; }
.g-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.g-dots b { width: 6px; height: 6px; border-radius: 50%; background: #fff6; }
.g-dots b.on { background: #fff; box-shadow: 0 0 6px #fff; }
.card .photo .state { z-index: 1; }

.gallery-top {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 28px;
  background: linear-gradient(180deg, #0e0e10e6 0%, #0e0e10aa 45%, transparent 100%);
  pointer-events: none;
}
.gallery-top .state,
.card .photo .gallery-top .state {
  position: static;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 4px;
}
.card-name {
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: .95;
  color: #f4efff;
  text-shadow: 0 0 8px #bf94ff, 0 0 18px #9146ff, 0 0 36px #9146ffcc;
}
.gallery-top .card-name {
  margin: 0;
  font-size: clamp(22px, 6.4vw, 32px);
  flex: 1;
  min-width: 0;
  overflow: visible;
  white-space: normal;
}
.card .body > h3.card-name {
  font-size: clamp(26px, 7vw, 34px);
  margin: 0;
  overflow: visible;
  white-space: normal;
}

.card-group { grid-column: 1 / -1; }
.card-group .body > .desc { margin: 0 0 2px; }
.bed-rows { display: grid; gap: 0; }
.bed-row {
  border-top: 1px solid var(--line, #2a2a30);
  padding: 12px 0 8px;
  scroll-margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
}
.bed-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.bed-row-name {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(18px, 5.4vw, 22px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.15;
  margin: 0;
  color: #f4efff;
  text-shadow: 0 0 8px #bf94ff, 0 0 16px #9146ffaa;
  min-width: 0;
}
.bed-row .state {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 2px;
}
.bed-row .btn,
.bed-row .paypal-btn,
.bed-row .taken-note,
.bed-row .price {
  margin-top: 2px;
  align-self: flex-start;
}
.bed-row .paypal-btn { width: 100%; }
.bed-row.flash {
  box-shadow: 0 0 20px #9146ff88;
  outline: 1px solid var(--purple-2);
}
@media (min-width: 841px) {
  .card-group .bed-rows {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 6px;
  }
  .card-group .bed-row {
    border-top: 0;
    border: 1px solid var(--line, #2a2a30);
    padding: 12px;
  }
}


.shared-group { margin-bottom: 18px; }
.shared-group h3 { font-size: 15px; margin: 0 0 8px; color: var(--purple-2); }
.shared-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shared-row button {
  flex: 0 0 200px; scroll-snap-align: start; border: 0; padding: 0; background: var(--bg-2);
  border-radius: 10px; overflow: hidden; cursor: zoom-in; text-align: left; color: inherit;
  border: 1px solid var(--line);
}
.shared-row img { width: 100%; height: 132px; object-fit: cover; display: block; }
.shared-row span { display: block; font-size: 12px; color: var(--muted); padding: 8px 10px; }

.site-foot {
  text-align: center; color: #8a8a94; font-size: 13px; padding: 40px 20px 48px;
  border-top: 1px solid #9146ff22; margin-top: 12px;
  background: linear-gradient(180deg, transparent, #9146ff0a);
}
.foot-brand { font-family: Rajdhani, Inter, sans-serif; font-size: 20px; color: var(--text); letter-spacing: .06em; margin-bottom: 6px; }
.site-foot p { margin: 0; }
.site-foot p + p { margin-top: 6px; }
.site-foot b { color: var(--text); }
.site-foot a.foot-host { color: var(--text); text-decoration: none; }
.site-foot a.foot-host:hover, .site-foot a.foot-host:focus-visible { color: var(--purple-2); text-decoration: underline; }
.foot-links { margin-top: 10px; }
.foot-links a { margin: 0 8px; }

.sheet {
  position: fixed; inset: 0; z-index: 22; background: #0e0e10cc;
  display: grid; place-items: end center; padding: 0;
}
.sheet[hidden] { display: none; }
.sheet-card {
  background: var(--bg-2); border: 1px solid #9146ff66;
  border-radius: 16px 16px 0 0; width: min(480px, 100%);
  box-shadow: 0 0 40px #9146ff44;
  overflow: hidden; animation: sheet-up .25s ease;
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: #000; }
.sheet-body { padding: 14px 16px 20px; }
.sheet-unit { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-2); font-weight: 800; }
.sheet-card h3 { font-family: Rajdhani, Inter, sans-serif; font-size: 26px; margin: 2px 0 4px; }
.sheet-sub { color: var(--muted); font-size: 13px; line-height: 1.4; margin-bottom: 8px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sheet-close {
  position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: #0e0e10cc; color: #fff; font-size: 22px; cursor: pointer; z-index: 1;
}
.sheet-card { position: relative; }

.lightbox {
  position: fixed; inset: 0; z-index: 30; background: #0e0e10f2;
  display: grid; place-items: center; padding: 48px 56px 32px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 8px; box-shadow: 0 0 40px #9146ff33; }
.lightbox figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }
.lb-close, .lb-nav {
  position: absolute; border: 0; background: #18181bcc; color: #fff; cursor: pointer;
  border-radius: 50%; width: 40px; height: 40px; font-size: 24px;
}
.lb-close { top: 12px; right: 12px; }
.lb-nav.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 840px) {
  .how, .plans, .shared { width: calc(100% - 28px); }
  .how-steps { grid-template-columns: 1fr; }
  .plan-tabs { display: flex; }
  .plan-mount .drawing { display: none; }
  .plan-mount .drawing.on { display: block; }
  .drawing svg.landscape { display: none; }
  .drawing svg.portrait { display: block; }
  .skeleton-grid { grid-template-columns: 1fr; }
  .g-slide { height: 200px; }
  .sticky-inner { gap: 6px 8px; }
  .sticky-inner a { margin-left: auto; width: auto; }
  .swipe-hint { display: none; }
  #plans, #planMount, .card, #units, #sidebar, #how, #shared, #bedToolbar { scroll-margin-top: calc(var(--site-nav-h, 52px) + 56px); }
}
@media (min-width: 841px) {
  .sheet { place-items: center; padding: 20px; }
  .sheet-card { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hotspot:hover .bed, .hotspot:focus-visible .bed, .hotspot .bed { transform: none !important; }
  .card.flash { transform: none; }
}


/* Amenity icons, filters, booking status, guest avatars */
.bed-toolbar {
  margin: 0 0 16px;
  padding: 10px 12px 12px;
  background: var(--bg-2);
  border: 1px solid #2a2a30;
  border-radius: 10px;
}
.toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
}
.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.sort-wrap select {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid #3a3a44;
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
}
.toolbar-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.toolbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.bed-toolbar .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid #3a3a44;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.bed-toolbar .chip.size {
  min-width: 32px;
  padding-left: 8px;
  padding-right: 8px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
}
.bed-toolbar .chip.on {
  border-color: var(--purple-2);
  background: #9146ff33;
  color: #fff;
  box-shadow: 0 0 0 1px #9146ff66;
}
.bed-toolbar .chip.clear {
  border-color: var(--gold);
  color: var(--gold);
}
.amenity-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.size-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  border: 1px solid var(--purple-2);
  color: var(--purple-2);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  background: #9146ff22;
}
.amenity-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  padding: 3px;
  border: 1.5px solid var(--amenity-orange);
  border-radius: 6px;
  color: var(--amenity-orange);
  background: #ff7a1814;
  line-height: 1;
}
.amenity-box svg { width: 100%; height: 100%; display: block; flex: 0 0 auto; }
.amenity-box.bath-mark {
  width: auto;
  gap: 2px;
  padding: 3px 5px 3px 3px;
}
.amenity-box.bath-mark svg { width: 16px; height: 16px; }
.bath-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  color: inherit;
  line-height: 1;
}
.amenity-box.sleep-number-mark {
  width: 44px;
  height: 26px;
  padding: 3px 4px;
}
.amenity-box.sleep-number-mark svg { width: 36px; height: 20px; }
.bed-toolbar .chip .amenity-box {
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 5px;
}
.bed-toolbar .chip .amenity-box.bath-mark {
  width: auto;
  padding: 2px 4px 2px 2px;
}
.bed-toolbar .chip .amenity-box.bath-mark svg { width: 14px; height: 14px; }
.bed-toolbar .chip .bath-letter { font-size: 11px; }
.bed-toolbar .chip .amenity-box.sleep-number-mark {
  width: 38px;
  height: 22px;
  padding: 2px 3px;
}
.bed-toolbar .chip .amenity-box.sleep-number-mark svg { width: 32px; height: 16px; }

.amenity-legend,
.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.amenity-legend .legend-item,
.status-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.amenity-legend .size-badge,
.amenity-legend .amenity-box {
  flex: 0 0 auto;
}
.status-legend { border-top: 1px solid #2a2a30; padding-top: 8px; }
.status-legend .swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  flex: 0 0 auto;
}
.status-legend .swatch.approved {
  border: 2px solid var(--gold);
  background: #ffb31a33;
}
.status-legend .swatch.reserved {
  border: 2px solid var(--red);
  background: #eb040033;
}
.status-legend .swatch.paid {
  background: #6a6a72;
  border: 1px solid #8a8a94;
  filter: grayscale(1);
}

.card.status-approved,
.bed-row.status-approved {
  border: 2px solid var(--gold);
  box-shadow: 0 0 14px #ffb31a44;
}
.card.status-reserved,
.bed-row.status-reserved {
  border: 2px solid var(--red);
  box-shadow: 0 0 14px #eb040044;
}
.card.status-paid,
.bed-row.status-paid {
  border-color: #4a4a52;
}
.card.status-paid .gallery,
.card.status-paid .photo,
.card.status-paid .body > h3,
.card.status-paid .body > .desc,
.card.status-paid .body > .amenity-row,
.card.status-paid .body > .price,
.card.status-paid .body > .price-split,
.card.status-paid .body > .taken-note,
.card.status-paid .body > .btn,
.card.status-paid .body > .paypal-btn,
.card.status-paid .body > .paypal-hint,
.card.status-paid .state,
.bed-row.status-paid .bed-row-name,
.bed-row.status-paid .state,
.bed-row.status-paid .amenity-row,
.bed-row.status-paid .price,
.bed-row.status-paid .price-split,
.bed-row.status-paid .taken-note,
.bed-row.status-paid .btn,
.bed-row.status-paid .paypal-btn,
.bed-row.status-paid .paypal-hint {
  filter: grayscale(.7) saturate(.45);
  opacity: .92;
}

.card-visual { position: relative; }
.card-visual > .guest-avatars.lg {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
}
.guest-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #9146ff, 0 4px 14px #0008;
  background: var(--bg-3);
  line-height: 0;
}
.guest-avatar img,
.guest-avatar .guest-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guest-avatar .guest-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9146ff;
  color: #fff;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
}
.guest-avatar.lg { width: 88px; height: 88px; }
.guest-avatar.md { width: 56px; height: 56px; }
.guest-avatar .guest-fallback { font-size: 28px; }
.guest-avatar.md .guest-fallback { font-size: 22px; }
.bed-row-top .guest-avatar { margin-right: 2px; }

.guest-avatars {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  z-index: 5;
}
.guest-avatars .guest-avatar + .guest-avatar { margin-left: -14px; }
.guest-avatar,
.guest-avatars,
.guest-avatar img {
  filter: none;
  opacity: 1;
  -webkit-filter: none;
}
.bed-row-top .guest-avatars { margin-right: 2px; }

 .guest-avatar.guest-slot {
  box-shadow: none;
  border: 2px dashed #8b8b96;
  background: #1f1f23;
  color: #9a9aa3;
  pointer-events: none;
  overflow: hidden;
}
.guest-slot-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: #9a9aa3;
}
.guest-avatar.md.guest-slot .guest-slot-mark { font-size: 24px; }
.guest-avatar.guest-slot,
.guest-slot-mark {
  filter: none;
  opacity: 1;
  -webkit-filter: none;
}

@media (max-width: 420px) {
  .guest-avatar.lg { width: 72px; height: 72px; }
  .guest-avatar.md { width: 48px; height: 48px; }
  .guest-avatar.lg.guest-slot .guest-slot-mark { font-size: 32px; }
  .guest-avatar.md.guest-slot .guest-slot-mark { font-size: 20px; }
  .toolbar-count { margin-left: 0; width: 100%; }
  .amenity-legend, .status-legend { gap: 8px 12px; }
}


/* Guest list page */
.guest-page { background: var(--bg); min-height: 100vh; }
.guests-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a30;
  background: var(--bg-2);
  position: sticky;
  top: 0;
  z-index: 8;
}
.guests-top .brand {
  color: var(--text);
  text-decoration: none;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
}
.guests-top .auth { margin-left: auto; }
.guests-main { padding: 18px 16px 48px; max-width: 720px; }
.guests-back { margin-bottom: 10px; font-size: 13px; }
.guests-back a { color: var(--purple-2); text-decoration: none; }
.guests-loading, .guests-empty { color: var(--muted); font-size: 14px; }
.guests-locked {
  margin-top: 16px;
  padding: 18px 16px;
  background: var(--bg-2);
  border: 1px solid #2a2a30;
  border-radius: 10px;
  display: grid;
  gap: 12px;
}
.guests-locked p { color: var(--text); font-size: 15px; line-height: 1.45; }
.guest-room { margin: 22px 0 8px; }
.guest-room h2 {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 20px;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.guest-bed {
  background: var(--bg-2);
  border: 1px solid #2a2a30;
  border-radius: 10px;
  padding: 12px 12px 8px;
  margin-bottom: 10px;
}
.guest-bed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.guest-bed-head h3 { font-size: 16px; font-weight: 700; flex: 1; }
.guest-people { list-style: none; display: grid; gap: 10px; padding-bottom: 6px; }
.guest-person { display: flex; align-items: center; gap: 10px; }
.guest-person .guest-avatar { flex: 0 0 auto; }
.guest-name { font-weight: 650; font-size: 15px; }
.guest-name a { color: var(--text); text-decoration: none; }
.guest-name a:hover { color: var(--purple-2); }
.guest-role, .guest-plus { color: var(--muted); font-size: 13px; }
.guest-page .guest-avatar,
.guest-page .guest-avatar img {
  filter: none;
  opacity: 1;
  -webkit-filter: none;
}
.guest-avatar.guest-slot .guest-slot-mark { font-size: 16px; letter-spacing: .02em; }
@media (max-width: 420px) {
  .guests-top { padding: 12px 12px; }
  .guests-top .brand { font-size: 14px; }
  .guests-main { padding: 16px 12px 40px; }
  .guest-person .guest-avatar.md { width: 48px; height: 48px; }
}


/* Sticky site nav */
:root { --site-nav-h: 52px; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px 12px;
  min-height: var(--site-nav-h);
  padding: 8px 14px;
  background: #0e0e10f5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #9146ff44;
  box-shadow: 0 8px 24px #0007;
}
.site-nav-brand {
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
  flex: 0 1 auto;
  white-space: nowrap;
}
.site-nav-brand:hover { color: var(--purple-2); }
.nav-menu-btn {
  display: none;
  appearance: none;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid #9146ff66;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nav-menu-btn:hover, .nav-menu-btn[aria-expanded="true"] {
  border-color: var(--purple-2);
  box-shadow: 0 0 12px #9146ff55;
}
.site-nav-drawer { display: flex; align-items: center; flex: 1 1 auto; }
.site-nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #9146ff66;
  background: #18181be6;
  padding: 6px 11px;
  border-radius: 999px;
}
.site-nav-links a:hover, .site-nav-links a:focus-visible,
.site-nav-links a[aria-current="page"] {
  border-color: var(--purple-2);
  box-shadow: 0 0 16px #9146ff66;
}
.site-nav .auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-backdrop { display: none; }

@media (min-width: 721px) {
  .nav-menu-btn, .nav-backdrop { display: none !important; }
  .site-nav-drawer,
  .site-nav-drawer[hidden] {
    display: flex !important;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .nav-menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .site-nav .auth { margin-left: 0; }
  .site-nav-drawer {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #18181bf7;
    border-bottom: 1px solid #9146ff44;
    box-shadow: 0 16px 30px #000a;
    padding: 10px 14px 14px;
    z-index: 41;
  }
  .site-nav-drawer[hidden] { display: none !important; }
  .site-nav-links { flex-direction: column; align-items: stretch; gap: 8px; }
  .site-nav-links a { text-align: center; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--site-nav-h, 52px);
    background: #0008;
    z-index: 35;
  }
  .nav-backdrop[hidden] { display: none !important; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .site-nav { padding: 8px 10px; gap: 8px; }
  .site-nav-brand { font-size: 12px; letter-spacing: .03em; max-width: 46vw; white-space: normal; line-height: 1.15; }
  .nav-menu-btn { padding: 6px 10px; font-size: 12px; }
  .site-nav .auth .btn, .site-nav .auth .who { font-size: 12px; }
  .site-nav .auth img { width: 24px; height: 24px; }
}
