:root {
  --header-progress: 0;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  --paper: #fbfff8;
  --paper-2: #eef8f0;
  --paper-3: #e5f0ec;
  --ink: #151614;
  --muted: #52615a;
  --faint: #7b8172;
  --blue: #3ab8eb;
  --blue-soft: #e4f5fd;
  --green: #bfe8cf;
  --gold: #ffe47a;
  --rose: #ffddd8;
  --mint: #c9efd7;
  --lavender: #e8dcff;
  --line: rgba(0, 0, 0, 0.055);
  --line-strong: rgba(0, 0, 0, 0.095);
  --surface: rgba(255, 255, 255, 0.84);
  --shadow: 0 28px 84px rgba(43, 76, 62, 0.16), 0 8px 26px rgba(118, 103, 74, 0.10);
  --tight-shadow: 0 4px 14px rgba(106, 86, 60, 0.08);
  --gel-shadow: 0 7px 16px rgba(88, 197, 238, 0.22), 0 2px 7px rgba(106, 86, 60, 0.09);
  --gel-fill: radial-gradient(circle at 50% 52%, #58c5ee 0%, #78d4f5 34%, #a5e5fb 68%, #cbf0fd 100%);
  --pearl-chrome: rgba(255, 255, 255, 0.84);
  --pearl-border: rgba(88, 71, 51, 0.08);
  --pearl-tint: rgba(245, 244, 242, 0.55);
}

/* Deck 78: lighter dock controls, scan-first questions, and Paper Mario-ish accents. */
.dock-launcher {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  pointer-events: auto;
}

.rank-peek {
  flex: 0 0 150px;
  min-height: 70px;
  border: 1px solid rgba(88, 197, 238, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(247, 253, 255, 0.98), rgba(203, 240, 253, 0.74)),
    #fcfbf8;
  box-shadow:
    0 22px 58px rgba(88, 197, 238, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: #28566d;
  cursor: pointer;
  padding: 0 20px;
  font: inherit;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.rank-peek:hover {
  border-color: rgba(88, 197, 238, 0.42);
  background:
    linear-gradient(145deg, rgba(250, 254, 255, 0.99), rgba(181, 234, 252, 0.84)),
    #fcfbf8;
  box-shadow:
    0 26px 66px rgba(88, 197, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.dock-launcher .question-peek {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 70px;
  padding: 8px 8px 8px 24px;
}

.question-dock[data-open="true"] .dock-launcher {
  display: none;
}

.question-panel::before,
.question-panel[data-release="true"]::before {
  display: none;
}

.question-list {
  padding-top: 62px;
}

.question-peek-submit span {
  display: grid;
  min-width: 1.4em;
  place-items: center;
  transform: translateY(-1px);
}

.question-collapse-initial,
.question-person > span {
  background: var(--avatar-bg, var(--mint));
  color: var(--avatar-ink, #335547);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--avatar-ring, #78d99d) 38%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.question-bot > span {
  box-shadow:
    inset 0 0 0 1px rgba(116, 176, 210, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.question-collapse-pill i {
  position: relative;
  justify-self: end;
  color: rgba(20, 18, 16, 0.44);
  font-size: 0;
}

.question-collapse-pill i::before {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.rank-index {
  border-color: color-mix(in srgb, var(--rank-color, #78d99d) 60%, rgba(23, 23, 23, 0.07));
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.34) 46%, color-mix(in srgb, var(--rank-color, #78d99d) 30%, transparent)),
    color-mix(in srgb, var(--rank-color, #78d99d) 18%, rgba(255, 255, 255, 0.62));
  color: color-mix(in srgb, var(--rank-color, #78d99d) 70%, #40392f);
  box-shadow:
    0 4px 12px color-mix(in srgb, var(--rank-color, #78d99d) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.rank-actions {
  background: color-mix(in srgb, var(--rank-color, #78d99d) 9%, rgba(255, 255, 255, 0.46));
}

.rank-grip {
  color: color-mix(in srgb, var(--rank-color, #78d99d) 78%, rgba(23, 23, 23, 0.35));
}

.rank-fields button {
  min-height: 60px;
  border-color: rgba(23, 23, 23, 0.12);
  background: #fcfbf8;
  box-shadow:
    0 20px 56px rgba(23, 23, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  padding: 0 8px 0 18px;
}

.rank-fields button::after {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 2px solid #ffffff;
  background: #f4f2ef;
  box-shadow:
    0 10px 24px rgba(23, 23, 23, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (max-width: 680px) {
  .dock-launcher {
    gap: 8px;
    width: min(100%, calc(100vw - 14px));
  }

  .rank-peek {
    flex-basis: 116px;
    min-height: 64px;
    padding: 0 14px;
    font-size: 15px;
  }

  .dock-launcher .question-peek {
    min-height: 64px;
    padding: 7px 7px 7px 18px;
  }

  .dock-launcher #question-peek-input {
    height: 48px;
    font-size: clamp(16px, 4.35vw, 19px);
  }

  .dock-launcher .question-peek-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .question-list {
    padding-top: 58px;
  }

  .question-collapse-pill i {
    width: 24px;
    height: 24px;
  }
}

/* Deck 82 final mobile sheet bound: keep close + drag controls reachable on iOS. */
@media (max-width: 680px), (pointer: coarse) {
  .question-dock[data-open="true"] {
    top: max(8px, env(safe-area-inset-top));
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    display: grid;
    align-items: stretch;
  }

  .question-dock[data-open="true"] .question-panel {
    width: 100%;
    height: min(100%, calc(var(--visual-vh, 100dvh) - 16px));
    max-height: none;
    min-height: 0;
    margin: 0 auto;
    border-radius: 28px;
  }

  .question-dock[data-open="true"] .question-close {
    top: 12px;
    right: 12px;
    z-index: 8;
  }

  .question-dock[data-open="true"] .question-list {
    padding-top: 68px;
  }
}

/* Chateau RSVP final cascade */
.farayan-hero {
  margin-top: clamp(36px, 7vw, 70px);
}

.farayan-hero h1 {
  max-width: 900px;
  color: var(--quiet-ink);
  font-size: clamp(36px, 8vw, 86px);
  font-weight: 720;
  line-height: 0.94;
}

.farayan-hero p {
  margin-top: 12px;
  font-size: 14px;
}

.shader-stage.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, 0.72fr);
  grid-template-rows: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  width: min(820px, 100%);
  margin: clamp(34px, 7vw, 72px) auto clamp(44px, 8vw, 86px);
}

.hero-photo {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  cursor: zoom-in;
  padding: 0;
}

.hero-photo-main {
  grid-row: span 2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.selected-place {
  gap: 18px;
}

.place-card {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  border-bottom: 1px solid var(--quiet-line);
  padding: 28px 0;
}

.place-card .house-copy {
  gap: 12px;
}

.place-card .house-copy h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.place-card .house-copy > p:last-of-type {
  max-width: 520px;
  color: #413f3a;
  font-size: 15px;
  line-height: 1.5;
}

.place-card .photo-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.place-card .photo-thumb {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  padding: 0;
  aspect-ratio: 1.12;
}

.place-card .photo-thumb:first-child {
  grid-row: span 2;
}

.place-card .photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--quiet-line);
  border-bottom: 1px solid var(--quiet-line);
}

.trip-brief section {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px 18px 20px 0;
}

.trip-brief section + section {
  border-left: 1px solid var(--quiet-line);
  padding-left: 18px;
}

.trip-brief h2,
.rank-heading h2 {
  color: var(--quiet-ink);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.15;
}

.trip-brief p,
.rank-heading p {
  margin: 0;
  color: #55524d;
  font-size: 12px;
  line-height: 1.45;
}

.rsvp-panel {
  width: min(820px, 100%);
  margin-top: clamp(44px, 7vw, 74px);
}

.rsvp-panel .rank-form {
  gap: 16px;
}

.rsvp-panel .rank-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-panel #rank-comment,
.rsvp-panel #rank-submit {
  grid-column: 1 / -1;
}

.rank-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-result-meta span {
  width: fit-content;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(23, 23, 23, 0.58);
  padding: 3px 8px;
  font-size: 10px;
}

@media (max-width: 680px) {
  .farayan-hero {
    justify-items: start;
    text-align: left;
  }

  .shader-stage.hero-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.48fr);
    grid-template-rows: repeat(2, minmax(88px, 1fr));
    gap: 7px;
    width: 100%;
  }

  .place-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .place-card .photo-rail {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .place-card .photo-thumb:first-child {
    grid-row: auto;
  }

  .trip-brief {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-brief section {
    padding: 15px 0;
  }

  .trip-brief section + section {
    border-top: 1px solid var(--quiet-line);
    border-left: 0;
    padding-left: 0;
  }

  .rsvp-panel .rank-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Chateau RSVP final overrides */
.farayan-hero {
  margin-top: clamp(36px, 7vw, 70px);
}

.farayan-hero h1 {
  max-width: 900px;
  color: var(--quiet-ink);
  font-size: clamp(36px, 8vw, 86px);
  font-weight: 720;
  line-height: 0.94;
}

.farayan-hero p {
  margin-top: 12px;
  font-size: 14px;
}

.shader-stage.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, 0.72fr);
  grid-template-rows: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  width: min(820px, 100%);
  margin: clamp(34px, 7vw, 72px) auto clamp(44px, 8vw, 86px);
}

.hero-photo {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  cursor: zoom-in;
  padding: 0;
}

.hero-photo-main {
  grid-row: span 2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.selected-place {
  gap: 18px;
}

.place-card {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  border-bottom: 1px solid var(--quiet-line);
  padding: 28px 0;
}

.place-card .house-copy {
  gap: 12px;
}

.place-card .house-copy h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.place-card .house-copy > p:last-of-type {
  max-width: 520px;
  color: #413f3a;
  font-size: 15px;
  line-height: 1.5;
}

.place-card .photo-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.place-card .photo-thumb {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  padding: 0;
  aspect-ratio: 1.12;
}

.place-card .photo-thumb:first-child {
  grid-row: span 2;
}

.place-card .photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--quiet-line);
  border-bottom: 1px solid var(--quiet-line);
}

.trip-brief section {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px 18px 20px 0;
}

.trip-brief section + section {
  border-left: 1px solid var(--quiet-line);
  padding-left: 18px;
}

.trip-brief h2,
.rank-heading h2 {
  color: var(--quiet-ink);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.15;
}

.trip-brief p,
.rank-heading p {
  margin: 0;
  color: #55524d;
  font-size: 12px;
  line-height: 1.45;
}

.rsvp-panel {
  width: min(820px, 100%);
  margin-top: clamp(44px, 7vw, 74px);
}

.rsvp-panel .rank-form {
  gap: 16px;
}

.rsvp-panel .rank-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-panel #rank-comment,
.rsvp-panel #rank-submit {
  grid-column: 1 / -1;
}

.rank-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-result-meta span {
  width: fit-content;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(23, 23, 23, 0.58);
  padding: 3px 8px;
  font-size: 10px;
}

@media (max-width: 680px) {
  .farayan-hero {
    justify-items: start;
    text-align: left;
  }

  .shader-stage.hero-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.48fr);
    grid-template-rows: repeat(2, minmax(88px, 1fr));
    gap: 7px;
    width: 100%;
  }

  .place-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .place-card .photo-rail {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .place-card .photo-thumb:first-child {
    grid-row: auto;
  }

  .trip-brief {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-brief section {
    padding: 15px 0;
  }

  .trip-brief section + section {
    border-top: 1px solid var(--quiet-line);
    border-left: 0;
    padding-left: 0;
  }

  .rsvp-panel .rank-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Chateau RSVP version */
.farayan-hero h1 {
  font-size: clamp(28px, 7vw, 74px);
  font-weight: 720;
  line-height: 0.96;
}

.farayan-hero p {
  font-size: 14px;
}

.shader-stage {
  margin: clamp(34px, 7vw, 72px) auto clamp(44px, 8vw, 86px);
}

.selected-place {
  gap: 18px;
}

.place-card {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  border-bottom: 1px solid var(--quiet-line);
  padding: 28px 0;
}

.place-card .house-copy {
  gap: 12px;
}

.place-card .house-copy h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.place-card .house-copy > p:last-of-type {
  max-width: 520px;
  color: #413f3a;
  font-size: 15px;
  line-height: 1.5;
}

.place-card .photo-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.place-card .photo-thumb {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  padding: 0;
  aspect-ratio: 1.12;
}

.place-card .photo-thumb:first-child {
  grid-row: span 2;
}

.place-card .photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--quiet-line);
  border-bottom: 1px solid var(--quiet-line);
}

.trip-brief section {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px 18px 20px 0;
}

.trip-brief section + section {
  border-left: 1px solid var(--quiet-line);
  padding-left: 18px;
}

.trip-brief h2,
.rank-heading h2 {
  color: var(--quiet-ink);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.15;
}

.trip-brief p,
.rank-heading p {
  margin: 0;
  color: #55524d;
  font-size: 12px;
  line-height: 1.45;
}

.rsvp-panel {
  width: min(820px, 100%);
  margin-top: clamp(44px, 7vw, 74px);
}

.rsvp-panel .rank-form {
  gap: 16px;
}

.rsvp-panel .rank-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-panel #rank-comment,
.rsvp-panel #rank-submit {
  grid-column: 1 / -1;
}

.rank-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-result-meta span {
  width: fit-content;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(23, 23, 23, 0.58);
  padding: 3px 8px;
  font-size: 10px;
}

@media (max-width: 680px) {
  .farayan-hero {
    justify-items: start;
    text-align: left;
  }

  .place-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .place-card .photo-rail {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .place-card .photo-thumb:first-child {
    grid-row: auto;
  }

  .trip-brief {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-brief section {
    padding: 15px 0;
  }

  .trip-brief section + section {
    border-top: 1px solid var(--quiet-line);
    border-left: 0;
    padding-left: 0;
  }

  .rsvp-panel .rank-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Deck 82: keep the mobile questions sheet inside the visible viewport. */
@media (max-width: 680px), (pointer: coarse) {
  .question-dock[data-open="true"] {
    top: max(8px, env(safe-area-inset-top));
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    display: grid;
    align-items: stretch;
  }

  .question-dock[data-open="true"] .question-panel {
    width: 100%;
    height: min(100%, calc(var(--visual-vh, 100dvh) - 16px));
    max-height: none;
    min-height: 0;
    margin: 0 auto;
    border-radius: 28px;
  }

  .question-dock[data-open="true"] .question-close {
    top: 12px;
    right: 12px;
    z-index: 8;
  }

  .question-dock[data-open="true"] .question-list {
    padding-top: 68px;
  }
}

/* Deck 82 final mobile sheet bound: keep close + drag controls reachable on iOS. */
@media (max-width: 680px), (pointer: coarse) {
  .question-dock[data-open="true"] {
    top: max(8px, env(safe-area-inset-top));
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    display: grid;
    align-items: stretch;
  }

  .question-dock[data-open="true"] .question-panel {
    width: 100%;
    height: min(100%, calc(var(--visual-vh, 100dvh) - 16px));
    max-height: none;
    min-height: 0;
    margin: 0 auto;
    border-radius: 28px;
  }

  .question-dock[data-open="true"] .question-close {
    top: 12px;
    right: 12px;
    z-index: 8;
  }

  .question-dock[data-open="true"] .question-list {
    padding-top: 68px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #dce8bf;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  letter-spacing: 0;
  font-optical-sizing: auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 42, 28, 0.14), rgba(42, 83, 46, 0.03) 42%, rgba(244, 246, 217, 0.30)),
    radial-gradient(circle at 18% 30%, rgba(255, 255, 232, 0.30), transparent 34%),
    radial-gradient(circle at 78% 0%, rgba(37, 92, 58, 0.14), transparent 36%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(252, 252, 241, 0.96), rgba(252, 252, 241, 0.76) 42%, rgba(252, 252, 241, 0)) top / 100% clamp(10px, 1.5vw, 22px) no-repeat,
    linear-gradient(0deg, rgba(252, 252, 241, 0.96), rgba(252, 252, 241, 0.74) 44%, rgba(252, 252, 241, 0)) bottom / 100% clamp(10px, 1.5vw, 22px) no-repeat,
    linear-gradient(90deg, rgba(252, 252, 241, 0.96), rgba(252, 252, 241, 0.72) 45%, rgba(252, 252, 241, 0)) left / clamp(10px, 1.5vw, 22px) 100% no-repeat,
    linear-gradient(270deg, rgba(252, 252, 241, 0.96), rgba(252, 252, 241, 0.72) 45%, rgba(252, 252, 241, 0)) right / clamp(10px, 1.5vw, 22px) 100% no-repeat;
  filter: blur(0.4px);
}

.site-shader {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  background:
    radial-gradient(circle at 35% 24%, rgba(237, 245, 186, 0.86), transparent 26%),
    radial-gradient(circle at 55% 70%, rgba(86, 150, 101, 0.32), transparent 38%),
    #e7efcf;
  filter: saturate(0.9) contrast(1.01);
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:visited {
  color: #6c5b78;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) clamp(14px, 4vw, 58px) clamp(110px, 13vh, 150px);
  transition: padding-bottom 180ms ease;
}

body.dock-expanded .page-shell {
  padding-bottom: clamp(220px, 28vh, 310px);
}

.shared-object {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.object-top {
  position: sticky;
  top: max(10px, env(safe-area-inset-top));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, calc(var(--header-progress) * 0.52));
  border-radius: 999px;
  background: rgba(255, 255, 255, calc(var(--header-progress) * 0.15));
  box-shadow:
    0 18px 50px rgba(25, 55, 34, calc(var(--header-progress) * 0.16)),
    inset 0 1px 0 rgba(255, 255, 255, calc(var(--header-progress) * 0.30));
  backdrop-filter: blur(calc(var(--header-progress) * 24px)) saturate(calc(1 + var(--header-progress) * 0.2));
  margin: 0 clamp(2px, 1.1vw, 12px);
  padding: 6px;
  will-change: background, border-color, box-shadow, backdrop-filter;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(var(--header-progress) * 230px);
  min-height: 42px;
  overflow: hidden;
  border-radius: 999px;
  color: rgba(255, 255, 244, 0.90);
  opacity: var(--header-progress);
  padding: 0 calc(var(--header-progress) * 14px);
  pointer-events: none;
  text-decoration: none;
  text-shadow: 0 1px 14px rgba(25, 63, 39, 0.42);
  transform: translateX(calc((1 - var(--header-progress)) * -8px)) scale(calc(0.98 + var(--header-progress) * 0.02));
  background: rgba(255, 255, 255, calc(var(--header-progress) * 0.12));
  will-change: max-width, opacity, padding, transform;
}

.site-mark:visited {
  color: rgba(255, 255, 244, 0.90);
}

.site-mark span {
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
}

.site-mark b {
  color: rgba(255, 255, 244, 0.66);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.10em;
  line-height: 1;
}

body.is-scrolled .site-mark {
  pointer-events: auto;
}

.join-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 680;
  line-height: 1;
  padding: 0 17px;
  background: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 244, 0.92);
  box-shadow: 0 10px 24px rgba(25, 55, 34, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 14px rgba(25, 63, 39, 0.36);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: transform 150ms ease, opacity 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.join-button:hover {
  transform: translateY(-1px);
}

.object-hero {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  min-height: clamp(290px, 34vw, 430px);
  padding: clamp(38px, 5.4vw, 72px) clamp(12px, 3vw, 34px) clamp(34px, 5vw, 58px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  text-shadow: 0 2px 26px rgba(23, 64, 37, 0.48), 0 0 1px rgba(23, 64, 37, 0.56);
}

.eyebrow,
.house-kicker {
  margin: 0;
  color: rgba(31, 45, 33, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.house-kicker {
  color: rgba(37, 45, 37, 0.58);
  text-shadow: 0 1px 18px rgba(255, 255, 244, 0.22);
}

p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-ui);
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(255, 255, 244, 0.96);
  font-size: clamp(2.8rem, 6.1vw, 5.25rem);
  font-weight: 760;
  line-height: 0.96;
}

.hero-lede {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(31, 45, 33, 0.62);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 640;
  line-height: 1.38;
  text-shadow: 0 1px 18px rgba(255, 255, 244, 0.30);
}

.houses {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  min-width: 0;
  padding: 0 clamp(8px, 2.4vw, 24px) clamp(18px, 3vw, 30px);
}

.house-card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: rgba(19, 72, 44, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 44px rgba(25, 55, 34, 0.09);
  backdrop-filter: blur(8px) saturate(1.04);
  padding: 0;
}

.house-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: clamp(24px, 3.6vw, 34px) clamp(18px, 2.5vw, 28px);
}

.house-body {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.house-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 16px);
  align-items: start;
  min-width: 0;
  padding-right: 56px;
}

.house-heading .airbnb-link {
  position: absolute;
  top: clamp(24px, 3.6vw, 34px);
  right: clamp(18px, 2.5vw, 28px);
  z-index: 4;
}

.house-rank {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 244, 0.76);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.house-title-copy {
  min-width: 0;
}

.house-body h2 {
  margin-top: 5px;
  color: rgba(255, 255, 244, 0.96);
  font-size: clamp(2.15rem, 4.35vw, 3.38rem);
  font-weight: 780;
  line-height: 0.95;
  text-shadow: 0 2px 18px rgba(22, 60, 36, 0.38), 0 0 1px rgba(22, 60, 36, 0.48);
}

.proof-line {
  margin: 10px 0 0;
  color: rgba(34, 40, 33, 0.68);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
  text-shadow: 0 1px 18px rgba(255, 255, 244, 0.26);
}

.house-note {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(35, 42, 34, 0.60);
  font-size: 15px;
  font-weight: 610;
  line-height: 1.42;
  text-shadow: 0 1px 18px rgba(255, 255, 244, 0.22);
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  max-width: 610px;
  margin: 0 0 0 clamp(42px, 5.1vw, 54px);
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(35, 42, 34, 0.58);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0;
  white-space: nowrap;
}

.fact-list li::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(35, 42, 34, 0.24);
  content: "";
}

.house-detail {
  width: min(100%, 310px);
  min-width: 0;
  justify-self: end;
}

.photo-rail {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.photo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-content: end;
  min-width: 0;
}

.listing-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(176px, 18vw, 220px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  box-shadow:
    0 14px 34px rgba(42, 54, 34, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
  cursor: zoom-in;
  padding: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.listing-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-thumbnail::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(88, 71, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  content: "";
  pointer-events: none;
}

.listing-thumbnail::before {
  display: none;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.airbnb-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(23, 21, 20, 0.075);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(23, 21, 20, 0.52);
  box-shadow: 0 5px 13px rgba(106, 86, 60, 0.10);
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.airbnb-link:visited {
  color: rgba(23, 21, 20, 0.48);
}

.airbnb-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
}

button:hover,
.airbnb-link:hover {
  transform: translateY(-1px);
}

.airbnb-link:hover {
  background: rgba(255, 255, 255, 0.96);
  color: rgba(23, 21, 20, 0.62);
}

#comment-submit[disabled] {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.takes-list {
  display: grid;
  gap: 0;
  max-height: min(26vh, 190px);
  overflow: auto;
  padding: 1px 2px 0;
}

.takes-list:empty {
  display: none;
}

.thread-group {
  border-bottom: 1px solid rgba(88, 71, 51, 0.10);
}

.thread-group:last-child {
  border-bottom: 0;
}

.take {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 12px 4px;
  color: rgba(29, 27, 24, 0.78);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.take.is-reply {
  margin-left: 36px;
  padding-top: 4px;
}

.starburst {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #335547;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  overflow: hidden;
}

.take.is-reply .starburst {
  background: rgba(201, 223, 240, 0.52);
  transform: scale(0.86);
}

.starburst img,
.avatar-preview img,
.profile-avatar img,
.dock-peek-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.starburst.has-photo {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(88, 71, 51, 0.09);
}

.take-body {
  min-width: 0;
}

.take-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: 34px;
}

.take strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.take-meta span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.take-meta .own-dot {
  color: rgba(23, 21, 20, 0.34);
  font-weight: 700;
}

.take p {
  margin: 4px 0 0;
  color: rgba(29, 27, 24, 0.72);
}

.mention {
  color: rgba(25, 118, 164, 0.88);
  font-weight: 760;
}

.take-attachment {
  display: block;
  width: min(240px, 100%);
  min-height: 0;
  margin-top: 9px;
  border-radius: 17px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(88, 71, 51, 0.08);
}

.take-attachment img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
}

.message-more {
  position: absolute;
  top: 8px;
  right: 0;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 21, 20, 0.28);
  font-size: 13px;
  font-weight: 760;
  opacity: 0.62;
}

.take:focus-within .message-more,
.take:hover .message-more {
  background: rgba(23, 21, 20, 0.055);
  opacity: 1;
}

.reaction-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  padding: 0 9px;
  color: rgba(23, 21, 20, 0.62);
}

.reaction-chip.is-active {
  border-color: rgba(72, 112, 94, 0.16);
  background: rgba(207, 235, 221, 0.50);
}

.reaction-chip strong {
  color: rgba(23, 21, 20, 0.56);
  font-size: 12px;
  font-weight: 760;
}

.message-menu {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 7px;
  margin-top: 10px;
}

.message-reactions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  border: 1px solid rgba(88, 71, 51, 0.10);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.96);
  box-shadow: 0 8px 16px rgba(106, 86, 60, 0.12);
  padding: 3px 7px;
}

.message-actions {
  display: flex;
  gap: 7px;
}

.message-actions button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(23, 21, 20, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.message-actions .delete-action {
  color: #a75364;
}

.reaction-option {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.reaction-option.is-active {
  background: rgba(207, 235, 221, 0.48);
}

.thought-dock {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left));
  z-index: 30;
  width: min(430px, calc(100vw - 20px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.60);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 48px),
    linear-gradient(180deg, rgba(245, 244, 242, 0.86), rgba(248, 245, 237, 0.78)),
    var(--paper-2);
  box-shadow: 0 -4px 16px rgba(139, 115, 85, 0.15), 0 18px 52px rgba(35, 29, 20, 0.16);
  backdrop-filter: blur(24px);
  transform: translateY(0);
  transition:
    width 220ms cubic-bezier(.2, .8, .2, 1),
    border-radius 220ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 220ms cubic-bezier(.2, .8, .2, 1),
    transform 220ms cubic-bezier(.2, .8, .2, 1);
}

body.dock-expanded .thought-dock {
  width: min(840px, calc(100vw - 20px));
  border-radius: 36px;
  box-shadow: 0 -4px 18px rgba(139, 115, 85, 0.16), 0 18px 58px rgba(35, 29, 20, 0.18);
}

.dock-peek {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 9px 62px 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

body.dock-expanded .dock-peek {
  display: none;
}

.dock-peek-icon,
.avatar-preview,
.profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mint);
  color: #335547;
  font-weight: 760;
  line-height: 1;
}

.dock-peek-icon {
  width: 38px;
  height: 38px;
  font-size: 17px;
}

.dock-peek-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.dock-peek-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-peek-copy span {
  overflow: hidden;
  color: rgba(23, 21, 20, 0.46);
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-peek-count {
  position: absolute;
  top: 50%;
  right: 11px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(207, 235, 221, 0.92);
  color: #335547;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 6px 16px rgba(106, 86, 60, 0.10);
  transform: translateY(-50%);
  transition: transform 190ms cubic-bezier(.2, .8, .2, 1), background 190ms ease, color 190ms ease;
}

.dock-peek:hover .dock-peek-count {
  transform: translateY(-50%) scale(1.04);
}

.dock-join,
.dock-main {
  display: none;
  padding: 20px 18px 14px;
}

body.dock-expanded.is-joining .dock-join,
body.dock-expanded.has-dock:not(.is-joining) .dock-main {
  display: grid;
  gap: 12px;
}

.dock-grabber {
  justify-self: center;
  width: 72px;
  height: 6px;
  margin: -8px 0 3px;
  border-radius: 999px;
  background: rgba(23, 21, 20, 0.10);
  cursor: grab;
}

.dock-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
}

.dock-title,
.dock-context {
  margin: 0;
}

.dock-title {
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
}

.invite-status {
  margin: 0 0 3px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dock-context {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.dock-context:empty {
  display: none;
}

.join-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

.avatar-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(88, 71, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 8px 20px rgba(106, 86, 60, 0.11);
}

.avatar-preview {
  width: 100%;
  height: 100%;
  font-size: 19px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  text-align: left;
}

.profile-avatar {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  font-size: 12px;
}

.dock-collapse {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0 0 2px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  background: rgba(255, 255, 255, 0.58);
  color: rgba(23, 21, 20, 0.42);
  font-size: 22px;
  line-height: 1;
}

.join-form,
.comment-form {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 7px;
  border: 1px solid var(--pearl-border);
  border-radius: 26px;
  background: var(--pearl-chrome);
  box-shadow: 0 8px 22px rgba(106, 86, 60, 0.12);
}

.join-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.join-form input {
  width: 100%;
  height: 44px;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 0 13px;
  font-size: 16px;
  font-weight: 600;
}

.join-form input:focus,
textarea:focus {
  box-shadow: none;
}

textarea {
  width: 100%;
  min-height: 44px;
  max-height: 112px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 11px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

textarea::placeholder,
input::placeholder {
  color: rgba(29, 27, 24, 0.32);
}

.join-form button,
#comment-submit {
  min-width: 78px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: var(--gel-fill);
  color: #ffffff;
  box-shadow: var(--gel-shadow);
  text-shadow: 0 1px 1px rgba(0, 80, 120, 0.18);
}

.comment-form {
  grid-template-columns: 32px minmax(0, 1fr) auto;
}

.composer-plus {
  display: grid;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  background: rgba(23, 21, 20, 0.055);
  color: rgba(23, 21, 20, 0.38);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.composer-plus:disabled {
  opacity: 0.46;
}

.attachment-preview {
  padding: 0 6px;
}

.attachment-preview[hidden],
.mention-menu[hidden] {
  display: none;
}

.attachment-pill {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  padding: 5px 8px 5px 5px;
}

.attachment-pill img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
}

.attachment-pill span {
  overflow: hidden;
  color: rgba(23, 21, 20, 0.58);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-pill button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  background: rgba(23, 21, 20, 0.06);
  color: rgba(23, 21, 20, 0.46);
  font-size: 18px;
}

.mention-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 6px;
}

.mention-menu button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(23, 21, 20, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.reply-context {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(88, 71, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 10px 8px 12px;
}

.reply-context div {
  min-width: 0;
  flex: 1;
}

.reply-context strong,
.reply-context span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-context strong {
  color: rgba(23, 21, 20, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.reply-context span {
  margin-top: 2px;
  color: rgba(23, 21, 20, 0.46);
  font-size: 12px;
  font-weight: 700;
}

.reply-context button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  background: rgba(23, 21, 20, 0.06);
  color: rgba(23, 21, 20, 0.46);
  font-size: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  max-width: calc(100vw - 28px);
  transform: translate(-50%, 130%);
  border-radius: 999px;
  background: rgba(29, 27, 24, 0.92);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(29, 27, 24, 0.20);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

body.viewer-open {
  overflow: hidden;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 254, 251, 0.24), rgba(255, 254, 251, 0.08) 28%, transparent 54%),
    rgba(20, 18, 16, 0.78);
  backdrop-filter: blur(22px);
  touch-action: none;
  user-select: none;
}

.photo-viewer[hidden] {
  display: none;
}

.photo-viewer figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

.photo-viewer img {
  max-width: min(100%, 1080px);
  max-height: min(78vh, 780px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: clamp(18px, 3vw, 30px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  -webkit-user-drag: none;
  user-select: none;
}

.photo-viewer figcaption {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  max-width: min(100%, 760px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.16);
  color: rgba(255, 254, 251, 0.88);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(16px);
}

#viewer-count {
  color: rgba(255, 254, 251, 0.58);
}

.viewer-close,
.viewer-nav {
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 254, 251, 0.18);
  color: rgba(255, 254, 251, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.viewer-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 26px;
  font-weight: 500;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  width: clamp(44px, 7vw, 58px);
  min-width: clamp(44px, 7vw, 58px);
  height: clamp(52px, 8vw, 68px);
  min-height: clamp(52px, 8vw, 68px);
  padding: 0;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 260ms ease, transform 180ms ease;
}

.photo-viewer[data-controls="quiet"] .viewer-nav {
  opacity: 0;
  pointer-events: none;
}

.viewer-prev {
  left: max(14px, env(safe-area-inset-left));
}

.viewer-next {
  right: max(14px, env(safe-area-inset-right));
}

.viewer-nav:hover {
  transform: translateY(-50%) scale(1.02);
}

@media (max-width: 920px) {
  .object-hero {
    padding-top: clamp(30px, 6vw, 52px);
  }

  .house-shell {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
    gap: 22px;
  }

  .fact-list {
    max-width: 430px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 7px 7px 118px;
  }

  .shared-object {
    border-radius: 30px;
  }

  .object-top {
    align-items: stretch;
    min-height: 50px;
    margin: 0;
    padding: 5px;
  }

  .site-mark {
    min-height: 38px;
    max-width: calc(var(--header-progress) * 170px);
    padding-inline: calc(var(--header-progress) * 12px);
  }

  body.is-scrolled .site-mark {
    pointer-events: auto;
  }

  .site-mark span {
    font-size: 13px;
  }

  .site-mark b {
    display: none;
  }

  .join-button {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .object-hero {
    min-height: 255px;
    padding: 44px 12px 32px;
  }

  h1 {
    max-width: 300px;
    font-size: clamp(2.55rem, 13.5vw, 3.65rem);
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .houses {
    gap: 12px;
    padding: 0 0 18px;
  }

  .house-card {
    border-radius: 26px;
  }

  .house-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 14px 24px;
  }

  .house-heading {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding-right: 46px;
  }

  .house-rank {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .house-heading .airbnb-link {
    top: 22px;
    right: 14px;
  }

  .house-body h2 {
    font-size: clamp(2.08rem, 10.2vw, 3rem);
  }

  .proof-line {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.28;
  }

  .house-note {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.36;
  }

  .fact-list {
    gap: 5px 12px;
    margin-left: 40px;
  }

  .fact-list li {
    min-height: 0;
    font-size: 12px;
    padding: 0;
  }

  .airbnb-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .house-detail {
    width: 100%;
    justify-self: stretch;
  }

  .photo-rail {
    justify-content: flex-start;
  }

  .photo-strip {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    justify-content: stretch;
  }

  .listing-thumbnail {
    width: 100%;
    height: clamp(174px, 47vw, 210px);
    border-radius: 20px;
  }

  body.dock-expanded .page-shell {
    padding-bottom: 250px;
  }

  .thought-dock {
    width: calc(100vw - 14px);
    right: 7px;
    bottom: max(7px, env(safe-area-inset-bottom));
    left: 7px;
    border-radius: 26px;
  }

  body:not(.dock-expanded) .thought-dock {
    width: min(430px, calc(100vw - 14px));
    border-radius: 999px;
  }

  .takes-list {
    max-height: 170px;
  }

  .join-form,
  .comment-form {
    border-radius: 24px;
  }

  #comment-submit {
    min-width: 64px;
    padding: 0 14px;
  }

  .comment-form {
    grid-template-columns: 30px minmax(0, 1fr) minmax(64px, auto);
  }

  .photo-viewer {
    padding: max(58px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
  }

  .photo-viewer img {
    max-height: 70vh;
    border-radius: 22px;
  }

  .viewer-prev {
    left: 14px;
  }

  .viewer-next {
    right: 14px;
  }

}

.question-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(35, 27, 20, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.question-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.question-dock {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 50;
  pointer-events: none;
}

.question-peek {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: min(700px, 100%);
  min-height: 74px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background: rgba(255, 254, 246, 0.70);
  box-shadow:
    0 24px 70px rgba(25, 55, 34, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(28px) saturate(1.18);
  color: rgba(30, 37, 30, 0.78);
  padding: 9px 9px 9px 24px;
  pointer-events: auto;
  text-shadow: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.question-peek:hover {
  border-color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 254, 246, 0.80);
  box-shadow:
    0 26px 74px rgba(25, 55, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  transform: translateY(-2px);
}

.question-peek-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#question-peek-input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(28, 35, 28, 0.82);
  padding: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 760;
  line-height: 1;
}

#question-peek-input::placeholder {
  color: rgba(28, 35, 28, 0.42);
}

.question-peek-submit {
  display: grid;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 250, 0.72);
  color: rgba(28, 35, 28, 0.56);
  padding: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 22px rgba(48, 69, 41, 0.12);
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.question-peek-submit:hover {
  background: rgba(255, 255, 250, 0.90);
  color: rgba(28, 35, 28, 0.70);
  transform: translateY(-1px);
}

.question-peek-submit:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.question-peek strong {
  position: absolute;
  top: -5px;
  right: -5px;
  display: none;
  width: 22px;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 244, 0.86);
  color: rgba(25, 63, 39, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.question-peek:not([data-count="0"]) strong {
  display: grid;
}

.question-dock[data-open="true"] {
  pointer-events: auto;
}

.question-dock[data-open="true"] .question-peek {
  display: none;
}

.question-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(940px, 100%);
  max-height: 78svh;
  min-height: min(560px, 78svh);
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: rgba(255, 254, 251, 0.80);
  box-shadow: 0 30px 90px rgba(42, 32, 23, 0.28);
  backdrop-filter: blur(32px) saturate(1.18);
  pointer-events: auto;
  transform: translateZ(0);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.question-panel::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.13);
  content: "";
  transform: translateX(-50%);
  transition: background 160ms ease, width 160ms ease;
}

.question-panel[data-dragging="true"] {
  transition: none;
}

.question-panel[data-release="true"]::before {
  width: 58px;
  background: rgba(20, 18, 16, 0.24);
}

.question-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.08);
  color: rgba(20, 18, 16, 0.62);
  padding: 0 0 3px;
  font-size: 28px;
  font-weight: 520;
}

.question-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 76px 18px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.question-list::-webkit-scrollbar {
  display: none;
}

.question-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.60);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.62);
  padding: 18px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.question-card[data-collapsed="true"] {
  overflow: hidden;
  border-color: rgba(20, 18, 16, 0.08);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.56);
  min-height: 56px;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 24px rgba(30, 24, 18, 0.035);
}

.question-card[data-collapsed="true"]:hover {
  border-color: rgba(88, 197, 238, 0.16);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.question-collapse-pill {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 24px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  background: transparent;
  color: rgba(20, 18, 16, 0.62);
  cursor: pointer;
  padding: 10px 11px 10px 12px;
  text-align: left;
  font: inherit;
}

.question-collapse-initial {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #335547;
  font-weight: 850;
}

.question-collapse-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

.question-collapse-copy b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.question-collapse-copy span {
  min-width: 0;
  overflow: hidden;
  color: rgba(20, 18, 16, 0.48);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-collapse-pill em {
  color: rgba(20, 18, 16, 0.36);
  font-size: 11px;
  font-style: normal;
  font-weight: 680;
  white-space: nowrap;
}

.question-collapse-pill i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.05);
  color: rgba(20, 18, 16, 0.42);
  font-style: normal;
  line-height: 1;
}

.question-card[data-status="declined"] .question-bot > span {
  background: rgba(248, 220, 218, 0.78);
  color: #7e4650;
}

.question-person,
.question-bot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.question-person {
  width: 100%;
}

.question-person > span,
.question-bot > span {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #335547;
  font-weight: 850;
  line-height: 1;
}

.question-ask {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  padding-top: 5px;
}

.question-person b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.question-owner-menu {
  position: relative;
  margin-left: auto;
}

.question-collapse-button {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(20, 18, 16, 0.07);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.72);
  color: rgba(20, 18, 16, 0.40);
  cursor: pointer;
  padding: 0 0 2px;
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.question-owner-menu + .question-collapse-button {
  margin-left: 0;
}

.question-person > .question-collapse-button:first-of-type {
  margin-left: auto;
}

.question-collapse-button:hover {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(20, 18, 16, 0.66);
  transform: translateY(-1px);
}

.question-menu-button {
  display: grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(20, 18, 16, 0.07);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.72);
  color: rgba(20, 18, 16, 0.42);
  font-size: 18px;
  font-weight: 720;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateZ(0);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.question-menu-button:hover {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(20, 18, 16, 0.68);
  transform: translateY(-1px) translateZ(0);
}

.question-menu {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 4;
  min-width: 132px;
  border: 1px solid rgba(20, 18, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(30, 24, 18, 0.14);
  padding: 6px;
}

.question-menu button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(20, 18, 16, 0.72);
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 740;
}

.question-menu button:hover {
  background: rgba(20, 18, 16, 0.05);
}

.question-card h3 {
  margin: 0;
  color: rgba(20, 18, 16, 0.54);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
}

.question-bot > span {
  background: rgba(230, 238, 244, 0.92);
  color: #425b6b;
}

.question-bot p {
  margin: 0;
  color: #5f5a50;
  font-weight: 650;
  line-height: 1.4;
  animation: questionAnswerIn 220ms cubic-bezier(.2,.8,.2,1) both;
}

.answer-source-mention {
  color: rgba(20, 18, 16, 0.74);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: rgba(143, 205, 229, 0.38);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a.answer-source-mention {
  cursor: pointer;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a.answer-source-mention:hover {
  color: rgba(20, 18, 16, 0.92);
  text-decoration-color: rgba(101, 184, 218, 0.72);
}

.question-bot b {
  display: block;
  color: var(--ink);
  font-weight: 780;
}

.question-working {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.question-working b {
  flex-basis: 100%;
}

.question-working-copy {
  color: #5f5a50;
}

.question-working-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 1em;
  transform: translateY(-1px);
}

.question-working-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(163, 219, 189, 0.95), rgba(143, 205, 229, 0.88));
  box-shadow: 0 0 12px rgba(143, 205, 229, 0.30);
  animation: researchDot 920ms cubic-bezier(.2,.7,.2,1) infinite;
}

.question-working-dots i:nth-child(2) {
  animation-delay: 120ms;
}

.question-working-dots i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes researchDot {
  0%,
  72%,
  100% {
    opacity: 0.34;
    transform: translateY(0) scale(0.82);
  }
  34% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .question-working-dots i {
    animation: none;
    opacity: 0.72;
    transform: none;
  }
}

.question-reactions {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  gap: 7px;
}

.question-sources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-left: 44px;
}

.question-source-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(20, 18, 16, 0.07);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.72);
  color: rgba(20, 18, 16, 0.52);
  padding: 9px 14px 9px 9px;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 10px 30px rgba(30, 24, 18, 0.05);
  animation: questionSourceIn 260ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--source-delay, 0ms);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.question-source-card:hover {
  border-color: rgba(88, 197, 238, 0.18);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.question-source-thumb {
  display: grid;
  width: 112px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, rgba(229, 242, 249, 0.96), rgba(230, 244, 224, 0.86));
}

.question-source-thumb[data-has-image="true"] {
  background: rgba(20, 18, 16, 0.04);
}

.question-source-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.question-source-thumb:not([data-has-image="true"]) img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.question-source-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.question-source-card b,
.question-source-card small,
.question-source-card em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-source-card b {
  color: rgba(20, 18, 16, 0.66);
  font-size: 14px;
}

.question-source-card small {
  color: rgba(20, 18, 16, 0.40);
  font-size: 11px;
  font-weight: 680;
}

.question-source-card em {
  display: block;
  color: rgba(20, 18, 16, 0.42);
  font-size: 12px;
  font-style: normal;
  font-weight: 620;
  line-height: 1.26;
  white-space: normal;
}

.question-source-card em:empty {
  display: none;
}

@keyframes questionAnswerIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes questionSourceIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.question-reactions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  border: 1px solid rgba(20, 18, 16, 0.07);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  color: rgba(20, 18, 16, 0.64);
  padding: 0 11px;
  font-size: 15px;
  font-weight: 700;
}

.question-reactions .question-more-reactions {
  width: 36px;
  justify-content: center;
  padding: 0;
  color: rgba(20, 18, 16, 0.46);
  font-size: 18px;
}

.question-reaction-picker {
  display: grid;
  flex-basis: 100%;
  gap: 8px;
  max-width: 360px;
  border: 1px solid rgba(20, 18, 16, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  box-shadow: 0 14px 34px rgba(30, 24, 18, 0.08);
}

.question-reaction-picker input {
  width: 100%;
  height: 34px;
  border: 1px solid rgba(20, 18, 16, 0.08);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 253, 250, 0.86);
  color: rgba(20, 18, 16, 0.72);
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
}

.question-reaction-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.question-reactions button[data-on="true"] {
  border-color: rgba(72, 112, 94, 0.16);
  background: rgba(207, 235, 221, 0.56);
  color: rgba(20, 18, 16, 0.74);
}

.question-reactions b {
  font-size: 13px;
  font-weight: 780;
}

.question-composer {
  display: grid;
  grid-template-columns: minmax(112px, 0.26fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(20, 18, 16, 0.06);
  background: rgba(255, 253, 250, 0.72);
  padding: 16px;
}

.question-notice {
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(88, 197, 238, 0.18);
  border-radius: 999px;
  background: rgba(232, 247, 252, 0.82);
  color: rgba(20, 18, 16, 0.62);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 740;
}

.question-composer input {
  width: 100%;
  height: 64px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.60);
  color: rgba(20, 18, 16, 0.78);
  padding: 0 18px;
  font: inherit;
  font-size: 16px;
  font-weight: 720;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.question-composer textarea {
  width: 100%;
  height: 64px;
  min-height: 64px;
  max-height: 104px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 254, 251, 0.84);
  box-shadow: 0 14px 36px rgba(50, 40, 30, 0.10);
  backdrop-filter: blur(24px) saturate(1.12);
  color: var(--ink);
  overflow: hidden;
  padding: 18px 26px 16px;
  font: inherit;
  font-size: 24px;
  font-weight: 740;
  line-height: 1.16;
}

.question-composer input:focus,
.question-composer textarea:focus {
  border-color: rgba(88, 197, 238, 0.34);
  box-shadow: 0 18px 42px rgba(50, 40, 30, 0.12), 0 0 0 3px rgba(88, 197, 238, 0.12);
}

.question-composer input::placeholder,
.question-composer textarea::placeholder {
  color: rgba(20, 18, 16, 0.42);
}

.question-composer button {
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(225, 222, 215, 0.92);
  color: rgba(20, 18, 16, 0.65);
  padding: 0 0 4px;
  font-size: 22px;
  font-weight: 820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 8px 20px rgba(50, 40, 30, 0.10);
}

.question-composer button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

body.questions-open .page-shell {
  padding-bottom: clamp(190px, 26vh, 300px);
}

@media (max-width: 680px) {
  .question-dock {
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
  }

  .question-peek {
    position: relative;
    width: 100%;
    min-height: 68px;
    margin: 0 auto;
    padding: 8px 8px 8px 20px;
    border-radius: 30px;
    justify-content: flex-start;
  }

  #question-peek-input {
    height: 50px;
    font-size: clamp(18px, 5vw, 22px);
  }

  .question-peek-submit {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
  }

  .question-peek strong {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    margin-left: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    font-size: 11px;
  }

  .question-panel {
    max-height: calc(100svh - 14px);
    min-height: calc(100svh - 14px);
    border-radius: 28px;
  }

  .question-list {
    gap: 9px;
    padding: 74px 12px 12px;
  }

  .question-card {
    border-radius: 22px;
    padding: 15px;
  }

  .question-card[data-collapsed="true"] {
    border-radius: 26px;
    min-height: 56px;
  }

  .question-collapse-pill {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    min-height: 54px;
    padding: 10px 10px;
  }

  .question-collapse-initial {
    width: 32px;
    height: 32px;
  }

  .question-collapse-copy {
    display: grid;
    gap: 1px;
  }

  .question-collapse-copy b {
    font-size: 13px;
  }

  .question-collapse-copy span {
    font-size: 12px;
  }

  .question-collapse-pill em {
    display: none;
  }

  .question-card h3 {
    font-size: 15px;
  }

  .question-sources {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 4px;
    scroll-snap-type: x mandatory;
    padding: 0 18px 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 20px), transparent 100%);
  }

  .question-sources::-webkit-scrollbar {
    display: none;
  }

  .question-source-card {
    flex: 0 0 min(84vw, 330px);
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 11px;
    min-height: 82px;
    border-radius: 22px;
    padding: 8px 12px 8px 8px;
    scroll-snap-align: start;
  }

  .question-source-thumb {
    width: 88px;
    height: 62px;
    border-radius: 16px;
  }

  .question-source-card b {
    font-size: 13px;
  }

  .question-source-card em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .question-composer {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 8px;
    padding: 12px;
  }

  .question-composer input {
    grid-column: 1 / -1;
    height: 46px;
    padding: 0 18px;
    font-size: 15px;
  }

  .question-composer textarea {
    height: 56px;
    min-height: 56px;
    padding: 16px 20px 14px;
    font-size: 20px;
  }

  .question-composer button {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
  }

  body.questions-open .page-shell {
    padding-bottom: 238px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .house-card,
  .question-composer {
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  }

  .house-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(42, 55, 45, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .listing-thumbnail:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Deck 14: Farayan-style reset */
:root {
  --font-ui: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --page: #f2f0ee;
  --quiet-ink: #171717;
  --quiet-muted: #8a8782;
  --quiet-line: rgba(23, 23, 23, 0.13);
}

html {
  background: var(--page);
}

body {
  background: var(--page);
  color: var(--quiet-ink);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.35;
}

body::before,
body::after {
  content: none;
}

.page-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 70px clamp(20px, 4vw, 48px) 120px;
}

.quiet-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--quiet-muted);
  font-size: 12px;
  line-height: 1;
}

.quiet-nav a {
  color: var(--quiet-ink);
  text-decoration: none;
}

.quiet-nav a:hover {
  text-decoration: underline;
}

.farayan-hero {
  display: grid;
  justify-items: center;
  margin-top: 42px;
  text-align: center;
}

.farayan-hero p,
.house-copy p {
  margin: 0;
}

.farayan-hero p:first-child,
.house-copy p:first-child {
  color: var(--quiet-muted);
}

.farayan-hero h1 {
  margin: 0;
  color: var(--quiet-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.farayan-hero p {
  margin-top: 8px;
  color: var(--quiet-muted);
  font-size: 13px;
  line-height: 1.35;
}

.shader-stage {
  display: grid;
  justify-items: center;
  margin: clamp(90px, 14vw, 150px) auto clamp(90px, 13vw, 140px);
}

.site-shader {
  position: static;
  z-index: auto;
  display: block;
  width: min(600px, calc(100vw - 40px));
  height: min(350px, calc((100vw - 40px) * 0.583));
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 22px 60px rgba(80, 136, 174, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  filter: saturate(0.96) contrast(1.01);
  pointer-events: none;
}

.houses {
  display: grid;
  gap: 0;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0;
}

.house-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--quiet-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 22px 0;
}

.house-card:last-child {
  border-bottom: 1px solid var(--quiet-line);
}

.house-card:hover {
  transform: none;
  box-shadow: none;
}

.house-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.house-copy h2 {
  margin: 0;
  color: var(--quiet-ink);
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: none;
}

.house-copy p {
  color: #55524d;
  font-size: 12px;
}

.house-copy p:first-child {
  font-size: 11px;
}

.house-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.house-links a,
.house-links span {
  width: fit-content;
  color: var(--quiet-muted);
  font-size: 11px;
  text-decoration: none;
}

.house-links a:hover {
  color: var(--quiet-ink);
  text-decoration: underline;
}

.rank-panel {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  width: min(760px, 100%);
  margin: clamp(56px, 9vw, 88px) auto 0;
  border-bottom: 1px solid var(--quiet-line);
  padding: 22px 0;
}

.rank-heading {
  display: grid;
  align-content: start;
  gap: 6px;
}

.rank-heading h2 {
  margin: 0;
}

.rank-heading h2 {
  color: var(--quiet-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.rank-form {
  display: grid;
  gap: 14px;
}

.rank-list {
  display: grid;
  gap: 0;
}

.stay-planner {
  display: grid;
  gap: 11px;
  margin: 4px 0 2px;
  border: 1px solid rgba(23, 23, 23, 0.085);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.60), rgba(246, 244, 238, 0.34)),
    color-mix(in srgb, var(--blue-soft) 18%, transparent);
  padding: 14px 15px 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.stay-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.stay-head span {
  color: var(--quiet-ink);
  font-size: 12px;
  font-weight: 640;
}

.stay-head strong {
  color: var(--quiet-muted);
  font-size: 11px;
  font-weight: 520;
  text-align: right;
}

.stay-track {
  position: relative;
  height: 56px;
  margin: 0 8px;
  cursor: pointer;
  touch-action: none;
}

.stay-rail,
.stay-fill {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  transform-origin: center;
}

.stay-rail {
  background: rgba(23, 23, 23, 0.095);
}

.stay-fill {
  right: auto;
  width: 100%;
  background: linear-gradient(90deg, #8fcf8b, #73c6e4 52%, #f0c278);
  box-shadow: 0 7px 20px rgba(86, 169, 154, 0.20);
}

.stay-track[data-flexible="true"] .stay-fill {
  opacity: 0;
}

.stay-tick {
  position: absolute;
  left: var(--x);
  top: 12px;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(23, 23, 23, 0.38);
  font-size: 9px;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
}

.stay-tick i {
  width: 1px;
  height: 11px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.18);
}

.stay-tick b {
  font-weight: 520;
  white-space: nowrap;
}

.stay-handle {
  position: absolute;
  top: 16px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.42) 42%, rgba(105, 185, 147, 0.74)),
    #b9e5ba;
  box-shadow:
    0 8px 18px rgba(60, 118, 91, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  cursor: grab;
  padding: 0;
  transform: translateX(-50%);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.stay-handle-end {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.42) 42%, rgba(104, 177, 204, 0.78)),
    #bce7f0;
}

.stay-handle::after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.24);
  content: "";
}

.stay-handle:hover,
.stay-handle:focus-visible {
  outline: 0;
  box-shadow:
    0 10px 24px rgba(60, 118, 91, 0.24),
    0 0 0 4px rgba(119, 199, 221, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateX(-50%) scale(1.06);
}

.stay-planner[data-dragging="true"] .stay-handle {
  cursor: grabbing;
}

.stay-track[data-flexible="true"] .stay-handle {
  opacity: 0.38;
}

.stay-window-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
}

.stay-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--quiet-muted);
  cursor: pointer;
  padding: 0 9px;
  font-size: 10px;
}

.stay-chip[data-active="true"] {
  border-color: rgba(68, 145, 112, 0.28);
  background: rgba(219, 241, 214, 0.54);
  color: var(--quiet-ink);
}

.stay-chip i {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 999px;
  color: rgba(23, 23, 23, 0.42);
  font-style: normal;
  line-height: 1;
}

.stay-chip i:hover {
  background: rgba(23, 23, 23, 0.08);
}

.stay-chip-empty {
  cursor: default;
}

.stay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stay-actions button {
  min-height: 28px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(23, 23, 23, 0.55);
  cursor: pointer;
  padding: 0 10px;
  font-size: 10px;
}

.stay-actions button:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--quiet-ink);
}

.rank-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 30px;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  background: transparent;
  color: var(--quiet-ink);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
  will-change: transform;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.rank-item:first-child {
  border-top: 0;
}

.rank-item[data-dragging="true"] {
  border-color: color-mix(in srgb, var(--rank-color, #aebd92) 22%, rgba(23, 23, 23, 0.08));
  background: color-mix(in srgb, var(--rank-color, #aebd92) 13%, transparent);
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.08);
  color: var(--rank-color, var(--quiet-ink));
  cursor: grabbing;
  touch-action: none;
}

.rank-index {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--rank-color, #aebd92) 44%, rgba(23, 23, 23, 0.08));
  border-radius: 999px;
  color: var(--rank-color, var(--quiet-muted));
  font-size: 10px;
  font-weight: 700;
}

.rank-title {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.rank-actions {
  display: inline-flex;
  justify-self: end;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rank-color, #aebd92) 20%, rgba(23, 23, 23, 0.08));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  opacity: 0.64;
  transition: opacity 160ms ease;
}

.rank-item:hover .rank-actions,
.rank-item:focus-within .rank-actions,
.rank-item[data-dragging="true"] .rank-actions {
  opacity: 1;
}

.rank-nudge {
  display: grid;
  width: 25px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--rank-color, #aebd92) 54%, rgba(23, 23, 23, 0.52));
  cursor: pointer;
  padding: 0 0 1px;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  transform: translateZ(0);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    opacity 150ms ease,
    transform 150ms ease;
}

.rank-nudge + .rank-nudge {
  border-left: 1px solid color-mix(in srgb, var(--rank-color, #aebd92) 20%, rgba(23, 23, 23, 0.08));
}

.rank-nudge:hover {
  background: rgba(255, 255, 255, 0.56);
  color: color-mix(in srgb, var(--rank-color, #aebd92) 78%, var(--quiet-ink));
  transform: translateZ(0);
}

.rank-nudge:disabled {
  cursor: default;
  opacity: 0.22;
  transform: none;
}

.rank-grip {
  display: grid;
  width: 30px;
  height: 40px;
  place-items: center;
  justify-self: end;
  color: color-mix(in srgb, var(--rank-color, #aebd92) 55%, var(--quiet-muted));
  font-size: 16px;
  line-height: 1;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.rank-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: stretch;
}

.rank-fields input,
.rank-fields button {
  min-height: 48px;
  border: 1px solid rgba(23, 23, 23, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--quiet-ink);
  font: inherit;
  font-size: 12px;
}

.rank-fields input {
  min-width: 0;
  padding: 0 15px;
}

.rank-fields input::placeholder {
  color: var(--quiet-muted);
}

.rank-fields button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border-color: rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    0 16px 42px rgba(23, 23, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  cursor: pointer;
  padding: 0 8px 0 16px;
  font-weight: 720;
  backdrop-filter: blur(20px) saturate(1.12);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.rank-fields button::after {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 240, 238, 0.88);
  color: rgba(23, 23, 23, 0.56);
  content: "↑";
  font-size: 15px;
  font-weight: 820;
  line-height: 1;
}

.rank-fields button:hover {
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 18px 46px rgba(23, 23, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.rank-fields button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.rank-results {
  display: grid;
  grid-column: 2;
  gap: 10px;
}

.rank-empty,
.rank-result {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  padding-top: 12px;
}

.rank-empty {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(23, 23, 23, 0.42);
  padding: 0 18px;
  font-size: 11px;
}

.rank-result {
  display: grid;
  gap: 5px;
}

.rank-result strong {
  color: var(--quiet-ink);
  font-size: 12px;
  font-weight: 500;
}

.rank-result-window {
  width: fit-content;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(23, 23, 23, 0.48);
  padding: 3px 8px;
  font-size: 10px;
}

.rank-result ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-result li {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 999px;
  background: color-mix(in srgb, var(--rank-color, #d7ddcc) 22%, transparent);
  color: #55524d;
  padding: 3px 8px;
  font-size: 10px;
}

.rank-result p {
  margin: 0;
  color: #55524d;
  font-size: 12px;
}

.photo-rail,
.photo-strip {
  display: block;
  width: 100%;
}

.listing-thumbnail {
  width: 168px;
  height: 112px;
  overflow: hidden;
  border: 1px solid var(--quiet-line);
  border-radius: 0;
  background: #dedbd6;
  box-shadow: none;
  cursor: zoom-in;
  padding: 0;
}

.listing-thumbnail:hover {
  transform: none;
}

.listing-thumbnail::before,
.listing-thumbnail::after {
  display: none;
}

.listing-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#join-button {
  display: none !important;
}

/* Deck 16: restore the Refs-like question capture on the quiet page. */
.question-backdrop {
  background: rgba(23, 23, 23, 0.12);
}

.question-dock {
  bottom: max(18px, env(safe-area-inset-bottom));
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.question-peek {
  width: min(720px, calc(100vw - 32px));
  min-height: 78px;
  border-color: rgba(23, 23, 23, 0.12);
  overflow: hidden;
  isolation: isolate;
  background: #fcfbf8;
  box-shadow:
    0 24px 70px rgba(23, 23, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  contain: paint;
  transform: translateZ(0);
}

.question-peek:hover {
  border-color: rgba(23, 23, 23, 0.16);
  background: #fcfbf8;
  box-shadow:
    0 28px 78px rgba(23, 23, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-2px) translateZ(0);
}

#question-peek-input {
  position: relative;
  z-index: 1;
  color: var(--quiet-ink);
  font-size: 28px;
  font-weight: 720;
  height: 56px;
  letter-spacing: 0;
  line-height: 56px;
}

#question-peek-input::placeholder {
  color: rgba(23, 23, 23, 0.42);
}

.question-peek-submit,
.question-composer button {
  position: relative;
  z-index: 2;
  background: #f4f2ef;
  color: rgba(23, 23, 23, 0.62);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
}

.question-peek-submit {
  width: 54px;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  border: 2px solid #ffffff;
  background: #f4f2ef;
  box-shadow:
    0 12px 30px rgba(23, 23, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  padding: 0 0 3px;
}

.question-peek-submit:hover {
  transform: translateY(-1px) translateZ(0);
}

.question-peek strong {
  z-index: 3;
}

.question-panel {
  width: min(860px, calc(100vw - 32px));
  border-color: rgba(23, 23, 23, 0.12);
  background: rgba(250, 249, 247, 0.88);
  box-shadow: 0 30px 90px rgba(23, 23, 23, 0.18);
}

.question-card,
.question-composer textarea {
  border-color: rgba(23, 23, 23, 0.10);
  background: rgba(255, 255, 255, 0.62);
}

.question-empty {
  display: grid;
  min-height: 136px;
  place-items: center;
  border: 1px solid rgba(23, 23, 23, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.36);
  color: rgba(23, 23, 23, 0.42);
  padding: 24px;
  text-align: center;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 34px 20px 90px;
  }

  .question-peek {
    width: min(100%, calc(100vw - 18px));
    min-height: 70px;
  }

  #question-peek-input {
    font-size: 21px;
  }

  .question-panel {
    width: min(100%, calc(100vw - 14px));
  }

  .farayan-hero {
    margin-top: 34px;
  }

  .shader-stage {
    margin: 86px auto 86px;
  }

  .houses {
    width: 100%;
  }

  .house-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 18px;
    padding: 18px 0;
  }

  .house-copy h2 {
    font-size: 16px;
  }

  .house-links {
    flex-wrap: nowrap;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 2px;
    scroll-snap-type: x proximity;
    margin-top: 6px;
    padding: 2px 18px 5px 1px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%);
  }

  .house-links::-webkit-scrollbar {
    display: none;
  }

  .house-links a,
  .house-links span {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border: 1px solid rgba(23, 23, 23, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    padding: 5px 8px 5px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  }

  .rank-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .rank-results {
    grid-column: 1;
  }

  .rank-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .stay-head {
    display: grid;
    gap: 4px;
  }

  .stay-head strong {
    text-align: left;
  }

  .stay-track {
    margin: 0 4px;
  }

  .listing-thumbnail {
    width: 112px;
    height: 84px;
  }

}

/* Deck 78 final overrides: dock pair, scan-first sheet, and playful quiet color. */
.dock-launcher {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  pointer-events: auto;
}

.rank-peek {
  flex: 0 0 150px;
  min-height: 70px;
  border: 1px solid rgba(88, 197, 238, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(247, 253, 255, 0.98), rgba(203, 240, 253, 0.74)),
    #fcfbf8;
  box-shadow:
    0 22px 58px rgba(88, 197, 238, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: #28566d;
  cursor: pointer;
  padding: 0 20px;
  font: inherit;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.rank-peek:hover {
  border-color: rgba(88, 197, 238, 0.42);
  background:
    linear-gradient(145deg, rgba(250, 254, 255, 0.99), rgba(181, 234, 252, 0.84)),
    #fcfbf8;
  transform: translateY(-1px);
}

.dock-launcher .question-peek {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 70px;
  padding: 8px 8px 8px 24px;
}

.question-dock[data-open="true"] .dock-launcher {
  display: none;
}

.question-panel::before,
.question-panel[data-release="true"]::before {
  display: none;
}

.question-list {
  padding-top: 62px;
}

.question-peek-submit span {
  display: grid;
  min-width: 1.4em;
  place-items: center;
  transform: translateY(-1px);
}

.question-collapse-initial,
.question-person > span {
  background: var(--avatar-bg, var(--mint));
  color: var(--avatar-ink, #335547);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--avatar-ring, #78d99d) 38%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.question-bot > span {
  box-shadow:
    inset 0 0 0 1px rgba(116, 176, 210, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.question-collapse-pill i {
  position: relative;
  justify-self: end;
  color: rgba(20, 18, 16, 0.44);
  font-size: 0;
}

.question-collapse-pill i::before {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.rank-index {
  border-color: color-mix(in srgb, var(--rank-color, #78d99d) 60%, rgba(23, 23, 23, 0.07));
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.34) 46%, color-mix(in srgb, var(--rank-color, #78d99d) 30%, transparent)),
    color-mix(in srgb, var(--rank-color, #78d99d) 18%, rgba(255, 255, 255, 0.62));
  color: color-mix(in srgb, var(--rank-color, #78d99d) 70%, #40392f);
  box-shadow:
    0 4px 12px color-mix(in srgb, var(--rank-color, #78d99d) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.rank-actions {
  background: color-mix(in srgb, var(--rank-color, #78d99d) 9%, rgba(255, 255, 255, 0.46));
}

.rank-grip {
  color: color-mix(in srgb, var(--rank-color, #78d99d) 78%, rgba(23, 23, 23, 0.35));
}

.rank-fields button {
  min-height: 60px;
  border-color: rgba(23, 23, 23, 0.12);
  background: #fcfbf8;
  box-shadow:
    0 20px 56px rgba(23, 23, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  padding: 0 8px 0 18px;
}

.rank-fields button::after {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 2px solid #ffffff;
  background: #f4f2ef;
  box-shadow:
    0 10px 24px rgba(23, 23, 23, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (max-width: 680px) {
  .dock-launcher {
    gap: 8px;
    width: min(100%, calc(100vw - 14px));
  }

  .rank-peek {
    flex-basis: 116px;
    min-height: 64px;
    padding: 0 14px;
    font-size: 15px;
  }

  .dock-launcher .question-peek {
    min-height: 64px;
    padding: 7px 7px 7px 18px;
  }

  .dock-launcher #question-peek-input {
    height: 48px;
    font-size: clamp(16px, 4.35vw, 19px);
  }

  .dock-launcher .question-peek-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .question-list {
    padding-top: 58px;
  }

  .question-collapse-pill i {
    width: 24px;
    height: 24px;
  }
}

/* Deck 82 final mobile sheet bound: keep close + drag controls reachable on iOS. */
@media (max-width: 680px), (pointer: coarse) {
  .question-dock[data-open="true"] {
    top: max(8px, env(safe-area-inset-top));
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    display: grid;
    align-items: stretch;
  }

  .question-dock[data-open="true"] .question-panel {
    width: 100%;
    height: min(100%, calc(var(--visual-vh, 100dvh) - 16px));
    max-height: none;
    min-height: 0;
    margin: 0 auto;
    border-radius: 28px;
  }

  .question-dock[data-open="true"] .question-close {
    top: 12px;
    right: 12px;
    z-index: 8;
  }

  .question-dock[data-open="true"] .question-list {
    padding-top: 68px;
  }
}
