:root {
  --ink: #eaf3f0;
  --soft-ink: #9eaaa8;
  --muted: #6d7978;
  --line: rgba(220, 237, 232, 0.12);
  --panel: rgba(17, 27, 31, 0.9);
  --panel-light: rgba(24, 36, 39, 0.9);
  --accent: #b9f580;
  --accent-dark: #16220e;
  --background: #081014;
  --blue: #9bd8f3;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--background); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 5%, rgba(91, 147, 140, 0.13), transparent 32rem),
    linear-gradient(145deg, #091216 0%, #071015 55%, #0a1517 100%);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  min-height: 100vh;
}

button, input { font: inherit; }
button { cursor: pointer; }

.ambient { position: fixed; width: 20rem; height: 20rem; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: 0.12; }
.ambient-one { background: var(--accent); right: -12rem; top: 30%; }
.ambient-two { background: #55a6c1; left: -15rem; bottom: 8%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.brand-mark { width: 22px; height: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; transform: rotate(8deg); }
.brand-mark i { display: block; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(2) { opacity: 0.7; }.brand-mark i:nth-child(3) { opacity: 0.45; }.brand-mark i:nth-child(4) { opacity: 0.22; }
.header-right { display: flex; align-items: center; gap: 22px; }
.live-pill { color: var(--soft-ink); font: 11px "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.06em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(185, 245, 128, 0.08); }
.button { border: 0; border-radius: 4px; font-weight: 600; transition: transform 150ms ease, background 150ms ease, opacity 150ms ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }.button:disabled { opacity: 0.42; cursor: not-allowed; }
.button-quiet { color: var(--ink); background: rgba(235, 247, 240, 0.09); border: 1px solid rgba(235, 247, 240, 0.14); padding: 10px 15px; font-size: 12px; }
.button-primary { width: 100%; padding: 14px 18px; color: var(--accent-dark); background: var(--accent); font-size: 13px; }
.button-primary span { float: right; font-size: 17px; line-height: 14px; }

.hero { display: flex; justify-content: space-between; gap: 48px; align-items: end; padding: 84px 0 62px; }
.eyebrow, .section-label, .availability-label { margin: 0 0 17px; color: var(--accent); font: 10px "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(47px, 7vw, 82px); line-height: 0.96; letter-spacing: -0.07em; font-weight: 600; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 430px; margin: 26px 0 0; color: var(--soft-ink); font-size: 15px; line-height: 1.65; }
.availability-card { min-width: 205px; padding: 20px; border: 1px solid var(--line); border-radius: 5px; background: rgba(20, 32, 35, 0.54); }
.availability-card strong { display: block; margin-bottom: 4px; font-size: 35px; line-height: 1; letter-spacing: -0.06em; }.availability-card > span:last-of-type { color: var(--muted); font: 10px "IBM Plex Mono", monospace; }
.availability-bar { height: 3px; margin-top: 20px; overflow: hidden; background: rgba(255,255,255,0.09); }.availability-bar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--accent); transition: transform 300ms ease; }

.builder-layout { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(330px, 0.66fr); gap: 18px; align-items: start; }
.wall-card, .builder-card { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); box-shadow: 0 25px 80px rgba(0,0,0,0.16); }
.wall-card { padding: 18px; }.builder-card { overflow: hidden; }
.card-topline, .wall-footer, .price-row, .sol-row { display: flex; justify-content: space-between; align-items: center; }
.card-topline { height: 36px; }.section-label { margin: 0 10px 0 0; color: var(--ink); }.muted, .coordinate-hint, .wall-footer { color: var(--muted); font: 10px "IBM Plex Mono", monospace; }.coordinate-hint { color: #74817f; }
.canvas-board { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(181, 230, 215, 0.18); background-color: #0c181b; background-image: linear-gradient(rgba(177, 239, 211, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(177, 239, 211, 0.08) 1px, transparent 1px); background-size: 1% 1%; cursor: crosshair; }
.canvas-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(0,0,0,0.24) 100%); }
.placements-layer, .preview-layer { position: absolute; inset: 0; }.placements-layer, .preview-layer { z-index: 2; }.preview-layer { z-index: 4; pointer-events: none; }
.wall-image, .preview-image { position: absolute; display: block; object-fit: fill; image-rendering: auto; opacity: 1; filter: none; mix-blend-mode: normal; outline: none; }
.axis { position: absolute; z-index: 5; color: rgba(211, 231, 222, 0.43); font: 8px "IBM Plex Mono", monospace; pointer-events: none; }.axis span { margin: 0 44%; }.axis-x { left: 5px; right: 5px; bottom: 5px; display: flex; justify-content: space-between; }.axis-y { top: 5px; bottom: 5px; left: 5px; display: flex; flex-direction: column; justify-content: space-between; }.axis-y span { margin: 0; }
.wall-footer { padding: 13px 2px 0; }

.step-block { padding: 22px 22px 0; }.first-step { padding-top: 24px; }.step-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }.step-heading h2 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; }
.upload-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 116px; gap: 7px; padding: 18px; text-align: center; border: 1px dashed rgba(185, 245, 128, 0.33); border-radius: 4px; background: rgba(185, 245, 128, 0.035); cursor: pointer; transition: background 150ms ease, border-color 150ms ease; }.upload-dropzone:hover, .upload-dropzone.dragging { background: rgba(185, 245, 128, 0.09); border-color: var(--accent); }.upload-dropzone input { display: none; }.upload-icon { color: var(--accent); font-size: 25px; line-height: 20px; }.upload-title { font-size: 12px; font-weight: 600; }.upload-subtitle { color: var(--muted); font: 9px "IBM Plex Mono", monospace; }.inline-status { min-height: 18px; padding-top: 8px; color: var(--soft-ink); font: 10px "IBM Plex Mono", monospace; }
.dimension-row { display: flex; align-items: end; gap: 8px; }.dimension-row label { flex: 1; color: var(--muted); font: 9px "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; }.dimension-row input { display: block; width: 100%; margin-top: 6px; padding: 10px 9px; color: var(--ink); background: #0c171a; border: 1px solid var(--line); border-radius: 3px; outline: none; }.dimension-row input:focus { border-color: var(--accent); }.times { color: var(--muted); padding-bottom: 10px; }.pixels-label { padding-bottom: 10px; color: var(--muted); font: 9px "IBM Plex Mono", monospace; }
.preset-row { display: flex; gap: 5px; margin-top: 10px; }.preset-row button { flex: 1; padding: 7px 2px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; background: transparent; font: 9px "IBM Plex Mono", monospace; }.preset-row button:hover, .preset-row button.selected { color: var(--accent); border-color: rgba(185, 245, 128, 0.45); background: rgba(185, 245, 128, 0.07); }
.placement-step { padding-bottom: 22px; }.price-row { color: var(--muted); font: 11px "IBM Plex Mono", monospace; }.price-row strong { color: var(--ink); font: 23px "IBM Plex Sans", sans-serif; letter-spacing: -0.05em; }.sol-row { margin: 3px 0 18px; color: var(--muted); font: 9px "IBM Plex Mono", monospace; }.sol-row strong { color: var(--blue); font-weight: 400; }.form-status { min-height: 18px; margin: 11px 0 0; color: var(--soft-ink); font: 10px "IBM Plex Mono", monospace; line-height: 1.4; }.form-status.error { color: #ff9d90; }.form-status.success { color: var(--accent); }.mobile-wallet-link { display: block; margin-top: 7px; color: var(--muted); text-align: center; font: 9px "IBM Plex Mono", monospace; }.mobile-wallet-link:hover { color: var(--accent); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 27px 0; }.trust-strip > div { display: flex; gap: 11px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 4px; background: rgba(19, 30, 32, 0.5); }.trust-icon { color: var(--accent); font-size: 18px; }.trust-strip p { margin: 0; color: var(--muted); font: 9px "IBM Plex Mono", monospace; line-height: 1.6; }.trust-strip strong { color: var(--soft-ink); font: 11px "IBM Plex Sans", sans-serif; }
.site-footer { display: flex; justify-content: space-between; padding: 29px 0 40px; color: var(--muted); border-top: 1px solid var(--line); font: 9px "IBM Plex Mono", monospace; }.site-footer button { color: var(--muted); border: 0; background: none; font: inherit; }.site-footer button:hover { color: var(--accent); }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 620px); }.site-header { padding: 19px 0; }.live-pill { display: none; }.header-right { gap: 0; }.hero { display: block; padding: 57px 0 36px; }.hero-copy { max-width: 510px; }.availability-card { margin-top: 30px; }.builder-layout { display: flex; flex-direction: column; }.wall-card, .builder-card { width: 100%; }.builder-card { order: 2; }.wall-card { order: 1; }.trust-strip { grid-template-columns: 1fr; gap: 8px; }.trust-strip > div { padding: 13px 15px; }.site-footer { padding-bottom: 25px; }
}

@media (max-width: 480px) {
  h1 { font-size: 49px; }.hero-copy { font-size: 14px; }.wall-card { padding: 11px; }.card-topline { height: 31px; }.coordinate-hint { display: none; }.step-block { padding-left: 17px; padding-right: 17px; }.site-footer { display: block; line-height: 2.3; }.site-footer button { float: right; }.axis { display: none; }
}

/* Focused wall view: the canvas and purchase window are the whole experience. */
body { background: #081014; }
.ambient, .hero, .trust-strip, .site-footer { display: none; }
.site-header { border-bottom-color: rgba(220, 237, 232, 0.1); }
main.shell { padding: 38px 0 52px; }
.builder-layout { margin: 0; }
.wall-card, .builder-card { box-shadow: none; }
.builder-card { position: sticky; top: 22px; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; padding: 24px 22px 20px; border-bottom: 1px solid var(--line); }
.panel-heading .eyebrow { margin-bottom: 9px; }
.panel-heading h1 { margin: 0; color: var(--ink); font-size: 31px; line-height: 1; letter-spacing: -0.06em; font-weight: 600; }
.canvas-board { background-color: #0b1518; background-image: none; }
.axis { display: none; }
.availability-bar { height: 2px; margin: 0 22px; background: rgba(255,255,255,0.09); }
.step-block { padding-top: 20px; }
.first-step { padding-top: 22px; }

@media (max-width: 820px) {
  main.shell { padding-top: 24px; }
  .builder-card { position: static; }
}

@media (max-width: 480px) {
  .panel-heading { padding-left: 17px; padding-right: 17px; }
  .availability-bar { margin-left: 17px; margin-right: 17px; }
}

/* Viewport-fit layout: no page scroll on desktop, with the wall using all remaining space. */
html, body { height: 100%; overflow: hidden; }
body { min-height: 100%; }
.shell { width: min(100% - 32px, 1800px); }
.site-header { height: 64px; padding: 10px 0; }
main.shell { height: calc(100vh - 64px); padding: 10px 0; }
.builder-layout { height: 100%; align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(350px, 410px); gap: 14px; }
.wall-card { height: 100%; min-height: 0; display: flex; flex-direction: column; padding: 12px; }
.card-topline { height: 28px; flex: 0 0 auto; }
.canvas-board { flex: 1 1 auto; min-height: 0; width: 100%; aspect-ratio: auto; }
.grid-layer { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.wall-footer { flex: 0 0 auto; padding-top: 8px; }
.builder-card { min-height: 0; height: 100%; overflow: hidden; }
.panel-heading { padding: 16px 20px 13px; }
.panel-heading h1 { font-size: 29px; }
.availability-bar { margin-left: 20px; margin-right: 20px; }
.step-block { padding: 13px 20px 0; }
.first-step { padding-top: 15px; }
.step-heading { margin-bottom: 9px; }
.upload-dropzone { min-height: 72px; padding: 10px; }
.upload-icon { font-size: 21px; }
.inline-status { min-height: 14px; padding-top: 5px; }
.dimension-row input { padding: 7px 8px; }
.preset-row { margin-top: 6px; }
.preset-row button { padding: 5px 2px; }
.placement-step { padding-bottom: 14px; }
.price-row strong { font-size: 21px; }
.sol-row { margin-bottom: 11px; }
.button-primary { padding: 11px 15px; }
.form-status { min-height: 14px; margin-top: 7px; }
.mobile-wallet-link { margin-top: 5px; }

@media (max-width: 820px) {
  html, body { overflow: hidden; }
  main.shell { height: calc(100vh - 64px); }
  .builder-layout { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .wall-card { grid-row: 1; }
  .builder-card { grid-row: 2; height: 100%; }
  .panel-heading { padding-top: 11px; padding-bottom: 8px; }
  .step-block { padding-top: 8px; }
  .first-step { padding-top: 9px; }
  .upload-dropzone { min-height: 56px; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 20px); }
  .site-header { height: 56px; }
  main.shell { height: calc(100vh - 56px); padding-top: 6px; padding-bottom: 6px; }
  .builder-layout { gap: 7px; }
  .wall-card { padding: 8px; }
  .card-topline { height: 23px; }
  .wall-footer { padding-top: 5px; }
  .builder-card { overflow: hidden; }
  .step-block { padding-left: 14px; padding-right: 14px; }
  .panel-heading { padding-left: 14px; padding-right: 14px; }
  .availability-bar { margin-left: 14px; margin-right: 14px; }
}

/* Final viewport layout: no header, no page scroll, wide wall beside the buy window. */
html, body { height: 100%; overflow: hidden; }
body { min-height: 100%; }
main.shell { width: 100%; height: 100vh; padding: 12px 14px; }
.builder-layout { height: 100%; align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(350px, 410px); gap: 14px; }
.wall-card { height: 100%; min-height: 0; display: flex; flex-direction: column; padding: 10px; border-radius: 6px; }
.canvas-board { flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; align-self: stretch; border-radius: 3px; }
.canvas-board::after { display: none; }
.builder-card { position: static; height: 100%; min-height: 0; overflow: hidden; border-radius: 6px; }
.panel-heading { padding: 17px 18px 13px; align-items: center; }
.panel-heading h1 { font-size: 28px; }
.panel-connect { padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.panel-availability { padding: 8px 18px 0; color: var(--muted); font: 9px "IBM Plex Mono", monospace; }
.panel-availability > span { display: flex; justify-content: space-between; align-items: baseline; }
.panel-availability strong { color: var(--soft-ink); font: 15px "IBM Plex Sans", sans-serif; letter-spacing: -0.04em; }
.panel-availability .availability-bar { height: 2px; margin: 6px 0 0; }
.step-block { padding-top: 12px; }
.first-step { padding-top: 13px; }
.step-heading { margin-bottom: 8px; }
.upload-dropzone { min-height: 68px; padding: 9px; }
.inline-status { min-height: 13px; padding-top: 4px; }
.dimension-row input { padding: 7px 8px; }
.preset-row { margin-top: 5px; }
.preset-row button { padding: 5px 2px; }
.placement-step { padding-bottom: 12px; }
.sol-row { margin-bottom: 10px; }
.button-primary { padding: 10px 14px; }
.form-status { min-height: 13px; margin-top: 6px; }
.mobile-wallet-link { margin-top: 4px; }

@media (max-width: 820px) {
  html, body { overflow: hidden; }
  main.shell { height: 100vh; padding: 8px; }
  .builder-layout { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .wall-card { grid-row: 1; }
  .builder-card { grid-row: 2; }
  .canvas-board { width: 100%; height: auto; }
  .panel-heading { padding-top: 9px; padding-bottom: 7px; }
  .panel-availability { padding-top: 4px; }
  .step-block { padding-top: 7px; }
  .first-step { padding-top: 8px; }
  .upload-dropzone { min-height: 54px; }
}

@media (max-width: 480px) {
  main.shell { height: 100vh; padding: 6px; }
  .builder-layout { gap: 6px; }
  .wall-card { padding: 0; }
  .canvas-board { width: 100%; height: 100%; }
  .panel-heading { padding-left: 13px; padding-right: 13px; }
  .panel-availability { padding-left: 13px; padding-right: 13px; }
  .step-block { padding-left: 13px; padding-right: 13px; }
}

/* Keep every logical pixel square while leaving a contained frame above and below. */
.wall-card { padding: 10px; }
.canvas-board {
  flex: 0 1 auto;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1250 / 800;
  margin-block: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.canvas-board.is-dragging { cursor: grabbing; }
.preview-image { will-change: left, top, width, height; }

@media (max-width: 480px) {
  .wall-card { padding: 8px; }
  .builder-layout { grid-template-rows: minmax(0, 30fr) minmax(0, 70fr); }
}

/* Polished wall editor: calm gallery surfaces, clearer controls, and a
   naturally scrolling mobile layout so the full purchase flow stays usable. */
:root {
  --background: #070c10;
  --panel: #0e171c;
  --panel-light: #132127;
  --line: rgba(208, 236, 229, 0.14);
  --line-strong: rgba(208, 236, 229, 0.23);
  --ink: #f0f7f4;
  --soft-ink: #aebfba;
  --muted: #748580;
  --accent: #c4fb79;
  --accent-dark: #15220d;
  --blue: #a8dcff;
}

html, body { background: var(--background); }
body {
  background:
    radial-gradient(circle at 82% -14%, rgba(196, 251, 121, 0.08), transparent 34rem),
    radial-gradient(circle at -12% 110%, rgba(90, 154, 186, 0.09), transparent 30rem),
    var(--background);
}

.wall-card, .builder-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18, 31, 36, 0.98), rgba(10, 19, 24, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.wall-card { padding: 14px; }
.canvas-board {
  border: 1px solid rgba(196, 251, 121, 0.2);
  border-radius: 10px;
  background-color: #081215;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 12px 32px rgba(0, 0, 0, 0.15);
}
.canvas-board:hover { border-color: rgba(196, 251, 121, 0.38); }

.builder-card { overflow: hidden; }
.panel-heading {
  padding: 22px 22px 18px;
  border-bottom-color: var(--line);
}
.panel-heading .eyebrow { color: var(--accent); letter-spacing: 0.16em; }
.panel-heading h1 { font-size: 32px; letter-spacing: -0.065em; }
.panel-connect {
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-strong);
}
.panel-connect:hover:not(:disabled) {
  color: var(--accent-dark);
  background: var(--accent);
  border-color: var(--accent);
}
.panel-availability { padding: 11px 22px 0; }
.panel-availability strong { color: var(--ink); font-size: 17px; }
.panel-availability .availability-bar { background: rgba(255, 255, 255, 0.08); }
.panel-availability .availability-bar span { background: var(--accent); }

.step-block { padding-left: 22px; padding-right: 22px; }
.step-heading { gap: 9px; }
.step-heading h2 { font-size: 14px; font-weight: 600; }
.upload-dropzone {
  min-height: 104px;
  border-color: rgba(196, 251, 121, 0.34);
  border-radius: 10px;
  background: rgba(196, 251, 121, 0.035);
}
.upload-dropzone:hover, .upload-dropzone.dragging {
  background: rgba(196, 251, 121, 0.09);
  border-color: var(--accent);
}
.dimension-row input {
  border-color: var(--line);
  border-radius: 8px;
  background: #0a1418;
}
.dimension-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 251, 121, 0.08); }
.preset-row button { border-radius: 999px; }
.button-primary {
  border-radius: 9px;
  background: linear-gradient(135deg, #c4fb79, #9fdf61);
  box-shadow: 0 8px 22px rgba(196, 251, 121, 0.12);
}
.button-primary:hover:not(:disabled) { box-shadow: 0 11px 28px rgba(196, 251, 121, 0.2); }

@media (min-width: 821px) {
  html, body { overflow: hidden; }
  main.shell { height: 100vh; min-height: 0; padding: 16px; }
  .builder-layout { height: 100%; gap: 16px; }
  .wall-card { padding: 14px; }
  .canvas-board { margin-block: auto; }
}

@media (max-width: 820px) {
  html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body { min-height: 100svh; }
  main.shell {
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: 12px 10px 24px;
  }
  .builder-layout {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .wall-card {
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .canvas-board {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1250 / 800;
    margin: 0;
  }
  .builder-card {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .panel-heading { padding: 20px 20px 16px; }
  .panel-availability { padding-left: 20px; padding-right: 20px; }
  .step-block { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  main.shell { padding: 8px 7px 20px; }
  .builder-layout { gap: 10px; }
  .wall-card { padding: 8px; }
  .canvas-board { border-radius: 8px; }
  .panel-heading { padding: 18px 15px 14px; }
  .panel-heading h1 { font-size: 30px; }
  .panel-availability { padding-left: 15px; padding-right: 15px; }
  .step-block { padding-left: 15px; padding-right: 15px; }
}

/* Right-panel polish: a quiet purchase instrument with sharper hierarchy. */
.builder-card {
  --panel-pad: 22px;
  border-color: var(--line-strong);
  border-radius: 14px;
  background: #0e171c;
  box-shadow: none;
  scrollbar-color: rgba(196, 251, 121, 0.32) transparent;
  scrollbar-width: thin;
}
.builder-card::-webkit-scrollbar { width: 8px; }
.builder-card::-webkit-scrollbar-track { background: transparent; }
.builder-card::-webkit-scrollbar-thumb { background: rgba(196, 251, 121, 0.25); border: 2px solid #0e171c; border-radius: 999px; }
.panel-heading {
  align-items: center;
  gap: 16px;
  padding: 24px var(--panel-pad) 21px;
}
.panel-heading > div { min-width: 0; }
.panel-heading h1 {
  font-size: clamp(30px, 3vw, 36px);
  letter-spacing: -0.04em;
}
.panel-summary {
  max-width: 25ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.button-icon, .link-icon, .copy-icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.button-icon { width: 14px; height: 14px; flex: 0 0 auto; }
.panel-connect {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.panel-connect .button-icon { opacity: 0.75; }
.panel-availability { padding: 14px var(--panel-pad) 0; }
.availability-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.availability-label {
  margin: 0;
  color: var(--muted);
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
}
.availability-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  font: 9px "IBM Plex Mono", monospace;
  white-space: nowrap;
}
.availability-value strong {
  color: var(--ink);
  font: 600 16px "IBM Plex Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}
.panel-availability .availability-bar {
  height: 3px;
  margin: 9px 0 0;
  border-radius: 999px;
}
.panel-availability .availability-bar span { border-radius: inherit; }
.step-block { padding: 21px var(--panel-pad) 0; }
.first-step { padding-top: 23px; }
.step-heading { margin-bottom: 11px; }
.step-heading h2 { font-size: 13px; letter-spacing: -0.01em; }
.upload-dropzone {
  min-height: 92px;
  gap: 8px;
  padding: 16px;
  border-color: rgba(196, 251, 121, 0.32);
  border-radius: 9px;
  background: rgba(196, 251, 121, 0.025);
}
.upload-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.upload-title { letter-spacing: -0.01em; }
.dimension-row { gap: 10px; }
.dimension-row input {
  margin-top: 5px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.dimension-row input:hover { border-color: var(--line-strong); }
.dimension-row input:focus-visible { box-shadow: 0 0 0 3px rgba(196, 251, 121, 0.1); }
.times { padding-bottom: 11px; font-size: 12px; }
.preset-row { gap: 6px; margin-top: 9px; }
.preset-row button {
  min-height: 30px;
  padding: 6px 4px;
  border-color: var(--line);
  border-radius: 8px;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.preset-row button:hover { transform: translateY(-1px); }
.preset-row button.selected {
  color: var(--accent);
  border-color: rgba(196, 251, 121, 0.55);
  background: rgba(196, 251, 121, 0.1);
}
.placement-step { padding-bottom: 18px; }
.price-row strong {
  color: var(--ink);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.sol-row { margin: 4px 0 19px; }
.button-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 13px 14px 13px 16px;
  border-radius: 9px;
  background: var(--accent);
  box-shadow: none;
}
.button-primary:hover:not(:disabled) { box-shadow: 0 10px 22px rgba(196, 251, 121, 0.16); }
.button-primary:disabled {
  color: rgba(234, 243, 240, 0.55);
  background: #35442b;
  opacity: 1;
}
.button-icon-arrow { width: 16px; height: 16px; }
.form-status { margin-top: 8px; }
.mobile-wallet-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
  text-underline-offset: 3px;
}
.link-icon { width: 12px; height: 12px; }
@media (min-width: 821px) {
  .builder-card { overflow-y: auto; }
}

@media (max-width: 820px) {
  .builder-card { overflow: visible; }
  .panel-heading { padding: 20px var(--panel-pad) 17px; }
  .panel-availability { padding-top: 12px; }
}

@media (max-width: 480px) {
  .builder-card { --panel-pad: 15px; }
  .panel-heading { align-items: flex-start; padding-top: 18px; padding-bottom: 15px; }
  .panel-heading h1 { font-size: 30px; }
  .panel-summary { max-width: 21ch; }
  .panel-connect { padding-right: 10px; padding-left: 10px; }
  .panel-availability { padding-top: 11px; }
  .step-block { padding-top: 19px; }
  .first-step { padding-top: 21px; }
}

/* Rainbow pixel poster direction: saturated mosaic wall, paper-white buy card,
   and crisp ink borders inspired by the supplied references. */
:root {
  --poster-ink: #11121a;
  --poster-paper: #fffdf4;
  --poster-muted: #5b5962;
  --poster-line: rgba(17, 18, 26, 0.18);
  --poster-pink: #ff176e;
  --poster-orange: #ff6b00;
  --poster-lime: #c7f51e;
  --poster-cyan: #00d5dc;
}

html, body { background: #11121a; }
body {
  color: var(--poster-paper);
  background:
    linear-gradient(135deg, rgba(255, 23, 110, 0.22), transparent 32%),
    linear-gradient(315deg, rgba(0, 213, 220, 0.16), transparent 35%),
    #11121a;
}

html, body { background: #000; }

.wall-card,
.builder-card {
  border: 1px solid var(--poster-ink);
  border-radius: 5px;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.28);
}

.wall-card {
  border-color: var(--poster-ink);
  border-radius: 5px;
  color: var(--poster-ink);
  background: #20252b;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.28);
}

.wall-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 12px 11px;
  color: var(--poster-ink);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}
.wall-title-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  object-fit: cover;
}

.canvas-board {
  border: 1px solid #59616c;
  border-radius: 5px;
  background-color: #30383d;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #3a4246, #293135);
  background-size: 1% 1%, 1% 1%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.canvas-board:hover { border-color: #59616c; }

.builder-card {
  color: var(--poster-ink);
  background: #f6f0dc;
  scrollbar-color: rgba(17, 18, 26, 0.32) transparent;
}
.builder-card::-webkit-scrollbar-thumb {
  background: rgba(17, 18, 26, 0.30);
  border-color: var(--poster-paper);
}

.panel-heading {
  border-bottom: 2px solid var(--poster-ink);
}
.panel-heading h1,
.step-heading h2,
.upload-title,
.dimension-row input,
.price-row strong {
  color: var(--poster-ink);
}
.panel-summary,
.availability-label,
.availability-value,
.dimension-row label,
.times,
.pixels-label,
.price-row,
.sol-row,
.mobile-wallet-link {
  color: var(--poster-muted);
}
.panel-connect {
  color: var(--poster-paper);
  background: var(--poster-ink);
  border: 2px solid var(--poster-ink);
}
.panel-connect:hover:not(:disabled) {
  color: var(--poster-ink);
  background: var(--poster-lime);
  border-color: var(--poster-ink);
}
.panel-availability strong { color: var(--poster-ink); }
.panel-availability .availability-bar { background: rgba(17, 18, 26, 0.13); }
.panel-availability .availability-bar span { background: var(--poster-pink); }

.upload-dropzone {
  border: 2px dashed var(--poster-ink);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255, 23, 110, 0.10), transparent 48%),
    linear-gradient(315deg, rgba(0, 213, 220, 0.10), transparent 48%);
}
.upload-dropzone:hover,
.upload-dropzone.dragging {
  background:
    linear-gradient(135deg, rgba(255, 23, 110, 0.19), transparent 48%),
    linear-gradient(315deg, rgba(0, 213, 220, 0.18), transparent 48%);
  border-color: var(--poster-pink);
}
.upload-icon { color: var(--poster-pink); stroke: currentColor; }
.upload-subtitle,
.inline-status,
.form-status { color: var(--poster-muted); }

.dimension-row input {
  border: 2px solid var(--poster-line);
  border-radius: 3px;
  background: #ffffff;
}
.dimension-row input:hover,
.dimension-row input:focus,
.dimension-row input:focus-visible {
  border-color: var(--poster-pink);
}
.dimension-row input:focus-visible { box-shadow: 0 0 0 3px rgba(255, 23, 110, 0.17); }
.preset-row button {
  color: var(--poster-muted);
  border: 2px solid var(--poster-line);
  border-radius: 3px;
  background: transparent;
}
.preset-row button:hover,
.preset-row button.selected {
  color: var(--poster-ink);
  border-color: var(--poster-ink);
  background: var(--poster-lime);
}
.sol-row strong { color: #136f78; }
.button-primary {
  color: var(--poster-paper);
  border: 2px solid var(--poster-ink);
  border-radius: 3px;
  background: var(--poster-ink);
  box-shadow: 4px 4px 0 var(--poster-pink);
}
.button-primary:hover:not(:disabled) {
  color: var(--poster-ink);
  background: var(--poster-lime);
  box-shadow: 4px 4px 0 var(--poster-ink);
}
.button-primary:disabled {
  color: rgba(255, 253, 244, 0.72);
  border-color: #8b8990;
  background: #8b8990;
  box-shadow: none;
}
.form-status.error { color: #d61e4b; }
.form-status.success { color: #167342; }
.mobile-wallet-link:hover { color: var(--poster-pink); }
.wall-image,
.preview-image { outline: none; }
.button,
.preset-row button { border-radius: 3px; }
.panel-connect,
.button-primary { border-radius: 3px; }
::selection { color: var(--poster-paper); background: var(--poster-pink); }

.payment-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.payment-method button {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--poster-muted);
  border: 2px solid var(--poster-line);
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.payment-method button span {
  float: right;
  color: currentColor;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.payment-method button:hover,
.payment-method button:focus-visible {
  color: var(--poster-ink);
  border-color: var(--poster-ink);
}
.payment-method button.selected {
  color: var(--poster-ink);
  border-color: var(--poster-ink);
  background: var(--poster-lime);
}

/* Final title lockup: a compact wordmark with the favicon carrying the color. */
html,
body {
  background: #000;
}
.wall-title {
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 0 13px;
  color: var(--poster-ink);
  font-size: clamp(19px, 2.2vw, 30px);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.48);
}
.wall-title-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  padding: 3px;
  border: 2px solid var(--poster-ink);
  border-radius: 4px;
  background: var(--poster-paper);
  box-shadow: 2px 2px 0 rgba(17, 18, 26, 0.34);
}

@media (max-width: 480px) {
  .wall-title {
    gap: 10px;
    padding: 8px 0 10px;
    font-size: 18px;
  }
  .wall-title-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    padding: 2px;
  }
}

@media (max-width: 820px) {
  .wall-card,
  .builder-card { box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.26); }
}

@media (max-width: 480px) {
  .wall-title { gap: 10px; padding: 8px 0 10px; font-size: 18px; }
  .wall-title-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    padding: 2px;
  }
}

/* The logical wall is always 1250 × 800. Keeping this ratio locked makes
   one tile the same visual size in both directions, including on phones. */
.canvas-board {
  flex: 0 1 auto;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1250 / 800 !important;
}

/* Stable first-paint surfaces: empty wall space stays neutral while the buy
   panel keeps its color without waiting for a raster background to load. */
html,
body {
  background: #000;
}

.wall-card {
  color: #eef2f6;
  border-color: #333b45;
  background-color: #252b33;
  background-image:
    linear-gradient(0deg, transparent 0 50%, rgba(0, 213, 220, 0.13) 50% 100%),
    linear-gradient(90deg, rgba(255, 23, 110, 0.12) 0 50%, rgba(255, 107, 0, 0.11) 50% 100%),
    linear-gradient(135deg, #303841 0%, #1d2229 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.28);
}

.wall-title {
  color: #eef2f6;
  text-shadow: none;
}

.wall-title-icon {
  border-color: #eef2f6;
  background: #252b33;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.34);
}

.canvas-board {
  border-color: #525b67;
  background: #2a3037;
  background-image: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.canvas-board:hover {
  border-color: #525b67;
}

.canvas-board::after {
  display: none;
}

.builder-card {
  background-color: #f6f0dc;
  background-image:
    linear-gradient(0deg, transparent 0 50%, rgba(0, 213, 220, 0.20) 50% 100%),
    linear-gradient(90deg, rgba(255, 23, 110, 0.22) 0 50%, rgba(255, 107, 0, 0.18) 50% 100%),
    linear-gradient(135deg, #fffaf0 0%, #f6f0dc 52%, #e9f5e9 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
}
