:root {
  --paper: #f4f5f7;
  background: #f4f5f7;
}

html,
body {
  overflow-x: clip;
}

.page-block {
  color: #172b4d;
}

.page-block,
.page-block .site-shell {
  background: transparent;
  overflow-x: clip;
}

.page-block .site-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px 24px;
}

.page-block .site-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #8f78ff 0%, #f08d6c 45%, #7dbf7c 100%);
  content: "";
}

.page-block .topbar {
  justify-content: center;
  margin: 0;
  width: auto;
  max-width: none;
  padding: 0.875rem 1.25rem;
  border: 0;
  border-bottom: 1px solid rgba(240, 192, 64, 0.15);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-block .topbar-nav {
  display: none;
}

.page-block .topbar-brand {
  color: #0052cc;
  font-family: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.block-page {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 350px);
  margin: 8px auto 0;
}

.block-page__card,
.block-page__about-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d9e1ef;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(20, 47, 90, 0.08);
}

.block-page__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.block-page__header-wash {
  position: absolute;
  inset: 18px 18px auto;
  height: 312px;
  border: 1px solid rgba(209, 222, 239, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(115, 162, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(240, 245, 255, 0.98) 0%, rgba(242, 246, 255, 0.92) 100%);
  pointer-events: none;
}

.block-page__header,
.block-page__media,
.block-page__utility-row,
.block-page__details-card,
.block-page__about-card {
  position: relative;
  z-index: 1;
}

.block-page__header,
.block-page__header-main,
.block-page__header-status,
.block-page__media-copy,
.block-page__on-wall-copy,
.block-page__locator-header,
.block-page__share-group,
.block-page__detail,
.block-page__details-section,
.block-page__about-intro,
.block-page__about-copy-group {
  display: flex;
  flex-direction: column;
}

.block-page__header {
  position: relative;
  gap: 14px;
  padding: 12px;
}

.block-page__header-main,
.block-page__header-status,
.block-page__media-copy,
.block-page__on-wall-copy,
.block-page__share-group,
.block-page__detail,
.block-page__details-section,
.block-page__about-intro,
.block-page__about-copy-group {
  gap: 8px;
}

.block-page__eyebrow {
  margin: 0;
  color: #4b7db7;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.block-page__title,
.block-page__about-title {
  margin: 0;
  color: #172b4d;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.block-page__title {
  max-width: 100%;
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.block-page__summary,
.block-page__detail-value,
.block-page__destination-preview,
.block-page__destination-link,
.block-page__secondary-link,
.block-page__about-price,
.block-page__report-link,
.block-page__locator-range,
.block-page__media-title,
.block-page__media-context,
.block-page__locator-title,
.block-page__removed-note,
.block-page__destination-disabled {
  margin: 0;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
}

.block-page__summary,
.block-page__removed-note,
.block-page__destination-disabled {
  color: #5d6c84;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.block-page__header-status {
  align-items: flex-start;
}

.block-page__receipt-row {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 0;
  color: #0052cc;
  text-decoration: none;
}

.block-page__receipt-brand,
.block-page__status-badge {
  display: inline-flex;
  align-items: center;
}

.block-page__receipt-brand {
  gap: 8px;
  min-width: 0;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.block-page__receipt-value {
  min-width: 0;
  overflow: hidden;
  color: #3572b0;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-page__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.block-page__status-badge {
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff1d6;
  color: #8c5a00;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.block-page__header-side {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 2;
}

.block-page__block-chip {
  align-self: flex-end;
  padding: 10px 14px;
  border: 1px solid #d6dfed;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5f86b8;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.block-page__destination-card,
.block-page__details-card {
  border: 1px solid #dde5f1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
}

.block-page__destination-card {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 16px;
}

.block-page__destination-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-page__destination-preview {
  color: #2f3c4f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-page__destination-link,
.block-page__secondary-link,
.block-page__report-link {
  color: #3271b1;
  text-decoration: none;
}

.block-page__destination-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.block-page__destination-link-label {
  display: block;
  white-space: nowrap;
}

.block-page__destination-link--inline {
  order: 3;
}

.block-page__secondary-link {
  padding-top: 12px;
  border-top: 1px solid #e6ebf2;
}

.block-page__destination-divider {
  height: 1px;
  background: #e6ebf2;
}

.block-page__header-owner:empty {
  display: none;
}

.block-page__owned-by {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-page__owned-by-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: #172b4d;
  text-decoration: none;
}

.block-page__owned-by-identity {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.block-page__owned-by-avatar,
.block-page__owned-by-fallback {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.block-page__owned-by-avatar {
  display: block;
  object-fit: cover;
}

.block-page__owned-by-platform-badge {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(9, 30, 66, 0.18);
}

.block-page__owned-by-platform-badge .block-page__icon {
  width: 8px;
  height: 8px;
}

.block-page__owned-by-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
}

.block-page__owned-by-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.block-page__owned-by-name,
.block-page__owned-by-handle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-page__owned-by-name {
  color: #2c405b;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.block-page__owned-by-handle {
  color: #6a7f99;
  font-family: "IBM Plex Mono", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.block-page__header-details {
  display: none;
}

.block-page__media {
  display: flex;
}

.block-page__media-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid #d8e2ef;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(233, 239, 255, 0.82) 0%, rgba(238, 243, 255, 0.94) 100%);
}

.block-page__media-head,
.block-page__media-footer,
.block-page__on-wall-detail {
  display: flex;
}

.block-page__media-head,
.block-page__media-footer {
  justify-content: space-between;
  gap: 16px;
}

.block-page__media-context {
  color: #7a8291;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: none;
}

.block-page__media-title,
.block-page__locator-title {
  color: #3271b1;
  font-size: 16px;
  line-height: 1.35;
}

.block-page__image-stage,
.block-page__on-wall-stage,
.block-page__locator-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-page__image-stage {
  min-height: 318px;
  border: 1px solid rgba(204, 217, 238, 0.9);
  border-radius: 26px;
  background: rgba(224, 233, 252, 0.72);
}

.block-page__image,
.block-page__wall-image {
  display: block;
  object-fit: contain;
  background: transparent;
}

.block-page__image {
  width: min(100%, 250px);
  max-height: 250px;
  border: 0;
  border-radius: 0;
}

.block-page__image--actual-size,
.block-page__wall-image--actual-size {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.block-page__media-footer {
  align-items: stretch;
}

.block-page__on-wall-strip,
.block-page__locator-panel {
  border: 1px solid rgba(210, 220, 236, 0.92);
  border-radius: 22px;
  background: rgba(244, 248, 255, 0.9);
}

.block-page__on-wall-strip {
  display: flex;
  flex: 1 1 0;
  padding: 14px 16px;
}

.block-page__on-wall-detail {
  align-items: center;
  gap: 12px;
}

.block-page__on-wall-stage {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid #d1deef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.block-page__wall-image {
  width: min(100%, 20px);
  max-height: 20px;
  border: 0;
  border-radius: 0;
}

.block-page__on-wall-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.block-page__locator-panel {
  display: flex;
  flex: 0 0 104px;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.block-page__locator-title {
  display: none;
  color: #475467;
  font-size: 12px;
  line-height: 1.25;
}

.block-page__locator-canvas {
  position: relative;
  min-height: 76px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #d9e0eb;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
}

.block-page__locator-block {
  position: absolute;
  border: 1px solid rgba(0, 82, 204, 0.22);
  background: rgba(0, 82, 204, 0.08);
}

.block-page__locator-block--current {
  border-width: 2px;
  border-color: #0052cc;
  background: rgba(0, 82, 204, 0.18);
}

.block-page__locator-range,
.block-page__detail-value,
.block-page__destination-preview,
.block-page__destination-link,
.block-page__secondary-link,
.block-page__report-link,
.block-page__about-price {
  font-size: 14px;
  line-height: 1.45;
}

.block-page__detail-grid {
  display: grid;
  gap: 12px;
}

.block-page__detail-value {
  color: #2f4056;
}

.block-page__utility-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.block-page__share-group {
  align-items: flex-end;
  text-align: right;
}

.block-page__share-group .block-page__detail-value {
  color: #3271b1;
  font-size: 16px;
}

.block-page__details-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.block-page__details-card .block-page__detail-grid {
  padding-top: 14px;
  border-top: 1px solid #e6ebf2;
}

.block-page__details-section--destination {
  gap: 4px;
}

.block-page__about-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}

.block-page__about-title {
  font-size: 38px;
  line-height: 0.95;
}

.block-page__about-copy {
  margin: 0;
  color: #44546f;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.45;
}

.block-page__about-footer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #e3e8ef;
}

.block-page__about-footer-copy .block-page__secondary-link {
  padding-top: 0;
  border-top: 0;
}

.block-page__about-price {
  color: #9cab57;
  white-space: nowrap;
}

.page-block .site-legal-footer {
  width: min(100%, 350px);
  margin: 0 auto;
  padding: 16px 4px 0;
  border-top: 0;
}

@media (min-width: 900px) {
  .page-block .site-shell {
    padding: 0 32px 32px;
  }

  .page-block .topbar-brand {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .block-page {
    width: 1080px;
    margin-top: 32px;
    gap: 32px;
  }

  .block-page__card {
    gap: 26px;
    padding: 30px;
  }

  .block-page__header-wash {
    inset: 30px 30px auto;
    height: 420px;
  }

  .block-page__header {
    display: grid;
    gap: 18px 22px;
    padding: 18px 18px 14px;
    grid-template-columns: minmax(0, 1fr) 284px;
    grid-template-areas:
      "main side"
      "details owner";
  }

  .block-page__header-main {
    grid-area: main;
    gap: 12px;
  }

  .block-page__title {
    font-size: 68px;
    line-height: 0.92;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .block-page__summary {
    font-size: 16px;
    line-height: 1.45;
    white-space: normal;
  }

  .block-page__header-status {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
  }

  .block-page__receipt-row {
    flex-direction: row;
    align-items: center;
  }

  .block-page__header-side {
    position: static;
    grid-area: side;
    gap: 14px;
    z-index: auto;
  }

  .block-page__destination-card {
    display: flex;
    gap: 18px;
    width: 284px;
    padding: 20px;
    border-color: #d7dee8;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(9, 30, 66, 0.05);
  }

  .block-page__destination-card .block-page__eyebrow {
    color: #6b778c;
    font-size: 12px;
  }

  .block-page__destination-card .block-page__destination-preview {
    color: #172b4d;
    font-size: 19px;
    line-height: 26px;
  }

  .block-page__destination-link {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #a9c1f8;
    border-radius: 26px;
    background: #e8f0ff;
    color: #0052cc;
    font-size: 14px;
    line-height: 18px;
    white-space: nowrap;
  }

  .block-page__secondary-link {
    font-size: 16px;
    line-height: 21px;
  }

  .block-page__destination-card .block-page__secondary-link {
    padding-top: 0;
    border-top: 0;
  }

  .block-page__destination-divider {
    background: #d7dee8;
  }

  .block-page__header-details {
    display: block;
    grid-area: details;
    padding-top: 18px;
    border-top: 1px solid #dde5f1;
  }

  .block-page__header-details .block-page__detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .block-page__header-owner {
    display: flex;
    justify-content: flex-end;
    grid-area: owner;
    padding-top: 18px;
    padding-right: 20px;
    padding-bottom: 10px;
    border-top: 1px solid #dde5f1;
  }

  .block-page__header-owner .block-page__owned-by {
    align-items: flex-end;
  }

  .block-page__header-owner .block-page__eyebrow {
    text-align: right;
  }

  .block-page__details-card {
    display: none;
  }

  .block-page__media-stage {
    gap: 18px;
    padding: 20px 20px 0;
  }

  .block-page__image-stage {
    min-height: 486px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .block-page__image {
    width: min(100%, 460px);
    max-height: 460px;
  }

  .block-page__media-footer {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 -20px;
    padding: 18px 20px;
    border-top: 1px solid rgba(209, 222, 239, 0.88);
  }

  .block-page__media-footer::before {
    position: absolute;
    top: 18px;
    left: 50%;
    bottom: 18px;
    width: 1px;
    transform: translateX(-0.5px);
    background: rgba(210, 220, 236, 0.92);
    content: "";
  }

  .block-page__on-wall-strip {
    flex: 1 1 auto;
    border-radius: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
  }

  .block-page__locator-panel {
    flex: 1 1 auto;
    gap: 12px;
    min-width: 0;
    padding: 0 0 0 22px;
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: transparent;
  }

  .block-page__locator-title {
    display: none;
  }

  .block-page__locator-header {
    padding-top: 4px;
  }

  .block-page__locator-canvas {
    width: 112px;
    min-height: 112px;
    align-self: flex-start;
  }

  .block-page__utility-row {
    padding: 0 6px;
  }

  .block-page__about-card {
    display: grid;
    gap: 36px;
    padding: 28px;
    grid-template-columns: 316px minmax(0, 1fr);
    align-items: start;
  }

  .block-page__about-title {
    font-size: 62px;
  }

  .block-page__about-copy {
    font-size: 24px;
    line-height: 1.5;
  }

  .block-page__about-footer-copy {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
  }

  .page-block .site-legal-footer {
    width: 1080px;
    padding-top: 18px;
  }
}
