:root {
  color-scheme: dark;
  --ink: #f7f2e9;
  --muted: #b8c2c5;
  --soft: rgba(247, 242, 233, 0.72);
  --line: rgba(247, 242, 233, 0.16);
  --line-strong: rgba(247, 242, 233, 0.28);
  --bg: #0d1114;
  --panel: rgba(18, 24, 27, 0.86);
  --panel-solid: #151d20;
  --cyan: #56d8ec;
  --gold: #d6a13f;
  --brick: #b9583f;
  --green: #8fdf91;
  --blueprint: #12323d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.08), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(214, 161, 63, 0.12), transparent 30%),
    linear-gradient(180deg, #0d1114 0%, #101719 42%, #0d1114 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-rail {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 66px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(86, 216, 236, 0.7);
  background: linear-gradient(135deg, rgba(86, 216, 236, 0.22), rgba(214, 161, 63, 0.16));
  color: var(--cyan);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.rail-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.rail-nav a,
.rail-action,
.primary-btn,
.secondary-btn,
.price-stack a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
}

.rail-nav a {
  color: var(--muted);
  font-size: 13px;
}

.rail-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.rail-action,
.primary-btn,
.price-stack a {
  background: var(--cyan);
  color: #061114;
}

.wallet-widget {
  position: relative;
  justify-self: end;
}

.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(86, 216, 236, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.wallet-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(214, 161, 63, 0.75);
}

.wallet-widget.connected .wallet-dot {
  background: var(--green);
  box-shadow: 0 0 16px rgba(143, 223, 145, 0.78);
}

.decentralized-entry-window {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 19;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(86, 216, 236, 0.42);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(13, 17, 20, 0.96), rgba(18, 24, 27, 0.93));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  backdrop-filter: blur(18px);
}

.entry-window-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 6px 14px 6px 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.entry-window-toggle span,
.entry-kicker,
.entry-pathway span,
.entry-revenue-stream dt,
.entry-command-copy span,
.entry-command-grid span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.entry-window-toggle span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(86, 216, 236, 0.7);
  border-radius: 999px;
  background: rgba(86, 216, 236, 0.18);
  color: var(--cyan);
  font-size: 13px;
}

.entry-window-toggle strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.wallet-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(440px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(86, 216, 236, 0.32);
  background: rgba(8, 14, 17, 0.96);
  box-shadow: var(--shadow);
}

.wallet-panel-head {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.wallet-panel-head span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-panel-head strong {
  font-size: 24px;
}

.wallet-panel dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.wallet-panel dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.wallet-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.wallet-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 850;
}

.wallet-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 6px;
  background: var(--cyan);
  color: #061114;
  font-weight: 950;
  font-size: 16px;
}

.secondary-btn {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#blueprintCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 20, 0.92) 0%, rgba(13, 17, 20, 0.72) 44%, rgba(13, 17, 20, 0.36) 100%),
    linear-gradient(180deg, rgba(13, 17, 20, 0.22), rgba(13, 17, 20, 0.86));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 42px;
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
  padding: 84px 0 68px;
}

.hero-wallet-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(1220px, calc(100% - 44px));
  margin: -38px auto 54px;
  padding: 22px;
  border: 1px solid rgba(86, 216, 236, 0.32);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.16), transparent 38%),
    rgba(8, 14, 17, 0.88);
  box-shadow: var(--shadow);
}

.web3-proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  width: min(1220px, calc(100% - 44px));
  margin: -34px auto 64px;
  border: 1px solid rgba(86, 216, 236, 0.22);
  background: rgba(86, 216, 236, 0.22);
}

.web3-proof-strip span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 10px;
  background: rgba(8, 14, 17, 0.92);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.hero-wallet-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-wallet-card strong {
  display: block;
  margin: 5px 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
}

.hero-wallet-card p {
  max-width: 760px;
  margin: 0;
  color: var(--soft);
}

.hero-wallet-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 8px;
  margin: 0;
}

.hero-wallet-card dl div {
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.hero-wallet-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-wallet-card dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow,
.section-heading span,
.demo-copy span,
.api-section span,
.register-flow span,
.price-stack span,
.trust-strip span,
.site-footer span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.hero-lead,
.section-heading,
.demo-copy p,
.api-section p,
.register-flow p {
  color: var(--soft);
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.purchase-panel {
  align-self: stretch;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(86, 216, 236, 0.24);
  background: rgba(12, 18, 20, 0.86);
  box-shadow: var(--shadow);
}

.purchase-panel {
  min-height: 620px;
}

.preview-frame {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(86, 216, 236, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 216, 236, 0.11) 1px, transparent 1px),
    linear-gradient(135deg, rgba(18, 50, 61, 0.95), rgba(20, 29, 32, 0.92));
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

.preview-frame strong {
  position: relative;
  z-index: 2;
  font-size: 22px;
}

.preview-frame small {
  position: relative;
  z-index: 2;
  color: var(--muted);
}

.mini-home {
  position: absolute;
  inset: 22px 28px 46px;
}

.mini-home span {
  position: absolute;
  display: block;
}

.mini-home .roof {
  left: 9%;
  top: 12%;
  width: 74%;
  height: 54px;
  background: linear-gradient(135deg, transparent 49%, var(--brick) 50%) left,
    linear-gradient(225deg, transparent 49%, #d18858 50%) right;
  background-size: 50% 100%;
  background-repeat: no-repeat;
}

.mini-home .body {
  left: 18%;
  top: 38%;
  width: 58%;
  height: 100px;
  border: 2px solid rgba(247, 242, 233, 0.72);
  background: rgba(247, 242, 233, 0.1);
}

.mini-home .door {
  left: 43%;
  top: 62%;
  width: 13%;
  height: 46px;
  background: rgba(214, 161, 63, 0.76);
}

.mini-home .window {
  top: 54%;
  width: 34px;
  height: 26px;
  border: 2px solid var(--cyan);
}

.mini-home .window.one {
  left: 25%;
}

.mini-home .window.two {
  right: 28%;
}

.mini-home .pipe {
  height: 3px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(143, 223, 145, 0.65);
}

.mini-home .p1 {
  left: 23%;
  top: 78%;
  width: 52%;
}

.mini-home .p2 {
  left: 23%;
  top: 69%;
  width: 3px;
  height: 44px;
}

.mini-home .p3 {
  right: 25%;
  top: 69%;
  width: 3px;
  height: 44px;
}

.price-stack {
  display: grid;
  gap: 12px;
}

.price-stack article,
.learn-grid article,
.pathways article,
.credibility article,
.owner-card,
.faq-list details,
.curriculum details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.price-stack article {
  padding: 14px;
}

.price-stack strong {
  display: block;
  margin: 6px 0;
  font-size: 34px;
}

.price-stack p,
.panel-note,
.learn-grid p,
.pathways p,
.credibility p,
.faq-list p,
.curriculum li,
.owner-card dd {
  color: var(--muted);
}

.price-stack a {
  width: 100%;
}

.panel-note {
  margin: 0;
  font-size: 12px;
}

.trust-strip,
.section,
.demo-section,
.decentralized-entry-section,
.pathway-section,
.api-section,
.plugin-section,
.roadmap-section,
.commerce-route-section,
.asset-routes-section,
.ownership-section,
.faq-section {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 18px 0 0;
}

.trust-strip div {
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 19px;
}

.trust-strip span {
  color: var(--muted);
  text-transform: none;
  font-weight: 650;
}

.section,
.decentralized-entry-section,
.pathway-section,
.plugin-section,
.roadmap-section,
.commerce-route-section,
.asset-routes-section,
.faq-section {
  padding: 92px 0 0;
}

.entry-command-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(86, 216, 236, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.13), transparent 36%),
    linear-gradient(225deg, rgba(214, 161, 63, 0.12), transparent 42%),
    rgba(14, 20, 23, 0.9);
  box-shadow: var(--shadow);
}

.entry-command-copy {
  display: grid;
  align-content: center;
  gap: 15px;
}

.entry-command-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.96;
}

.entry-command-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}

.entry-command-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.entry-command-grid article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(0, 0, 0, 0.2);
}

.entry-command-grid strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.08;
}

.entry-command-grid p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: var(--ink);
}

.learn-grid,
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.learn-grid article,
.pathways article,
.credibility article {
  min-height: 190px;
  padding: 22px;
}

.learn-grid strong,
.pathways strong,
.credibility strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.demo-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 30px;
  padding: 108px 0 20px;
}

.demo-copy {
  max-width: 980px;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.layer-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.layer-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17100a;
}

.digital-twin {
  display: grid;
  grid-template-rows: minmax(720px, 78vh) auto;
  border: 1px solid rgba(86, 216, 236, 0.25);
  background: rgba(9, 14, 16, 0.72);
  box-shadow: var(--shadow);
}

.model-stage {
  position: relative;
  overflow: auto hidden;
  perspective: 1100px;
  background:
    radial-gradient(circle at 62% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #82c3ff 0 42%, #c7e5f7 42% 49%, #e8edf0 49% 60%, #2c6539 60% 100%);
  background-size: 100% 100%;
}

.real3d-primary-frame {
  position: absolute;
  inset: 18px;
  z-index: 12;
  overflow: hidden;
  border: 1px solid rgba(86, 216, 236, 0.3);
  border-radius: 12px;
  background: #202020;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.real3d-primary-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #202020;
}

.real3d-frame-launch {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: #43bff5;
  color: #071013;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.old-builder-shell {
  display: none;
}

.builder-app-shell {
  position: absolute;
  inset: 18px;
  z-index: 7;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  grid-template-rows: 64px minmax(0, 1fr) 148px;
  min-width: 1180px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.builder-app-shell::before {
  content: "";
  position: absolute;
  left: 280px;
  right: 300px;
  top: 64px;
  bottom: 148px;
  z-index: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 255, 255, 0.45), transparent 7%),
    linear-gradient(180deg, #79bdff 0 38%, #dceef9 38% 47%, #f1f0ec 47% 58%, #d9d5cc 58% 62%, #3c8b43 62% 100%);
}

.builder-app-shell::after {
  content: "";
  position: absolute;
  left: 280px;
  right: 300px;
  bottom: 148px;
  z-index: 1;
  height: 35%;
  background:
    linear-gradient(160deg, transparent 0 52%, rgba(255,255,255,0.58) 52% 61%, transparent 61%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.11) 0 4px, transparent 4px 18px),
    linear-gradient(90deg, #4d943f, #6fa556);
  opacity: 0.92;
}

.asset-loading-gate {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 48% 42%, rgba(86, 216, 236, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(5, 7, 9, 0.98), rgba(23, 26, 27, 0.92));
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.asset-loading-gate.done {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  display: grid;
  gap: 14px;
  width: min(460px, calc(100% - 44px));
  padding: 28px;
  border: 1px solid rgba(86, 216, 236, 0.36);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.1), rgba(143, 223, 145, 0.08)),
    rgba(10, 16, 18, 0.92);
  box-shadow: 0 30px 90px rgba(0,0,0,0.45), 0 0 40px rgba(86, 216, 236, 0.2);
  text-align: center;
}

.loader-core span,
.loader-core small {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.loader-core span {
  font-size: 12px;
}

.loader-core strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
}

.loader-core small {
  color: var(--green);
  font-size: 11px;
}

.fft-loader-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 8px;
  height: 78px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.26);
}

.fft-loader-bars i {
  display: block;
  height: 18%;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #8fff91, #56d8ec);
  box-shadow: 0 0 18px rgba(86, 216, 236, 0.38);
  animation: fftFactoryLoad 360ms ease-in-out infinite;
}

.fft-loader-bars i:nth-child(2) { animation-delay: 80ms; }
.fft-loader-bars i:nth-child(3) { animation-delay: 160ms; }
.fft-loader-bars i:nth-child(4) { animation-delay: 240ms; }
.fft-loader-bars i:nth-child(5) { animation-delay: 320ms; }
.fft-loader-bars i:nth-child(6) { animation-delay: 400ms; }
.fft-loader-bars i:nth-child(7) { animation-delay: 480ms; }
.fft-loader-bars i:nth-child(8) { animation-delay: 560ms; }

@keyframes fftFactoryLoad {
  0%, 100% { height: 18%; opacity: 0.64; }
  35% { height: 94%; opacity: 1; }
  62% { height: 42%; opacity: 0.88; }
}

.asset-scene-canvas {
  position: absolute;
  left: 300px;
  right: 320px;
  top: 64px;
  bottom: 132px;
  z-index: 3;
  width: calc(100% - 620px);
  height: calc(100% - 196px);
  cursor: grab;
  touch-action: none;
}

.asset-scene-canvas.dragging {
  cursor: grabbing;
}

.scene-access-strip {
  position: absolute;
  z-index: 11;
  left: calc(300px + 18px);
  top: 78px;
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  width: min(670px, calc(100% - 660px));
  max-height: 78px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  pointer-events: auto;
  scrollbar-width: thin;
}

.scene-access-strip button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(86, 216, 236, 0.08)),
    rgba(12, 17, 19, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(9px);
}

.scene-access-strip button:hover,
.scene-access-strip button.active {
  border-color: rgba(143, 223, 145, 0.68);
  background: linear-gradient(135deg, #8fff91, #56d8ec);
  color: #071113;
  transform: translateY(-1px);
}

.asset-capture-effect {
  --capture-x: 50%;
  --capture-y: 50%;
  position: absolute;
  left: 300px;
  right: 320px;
  top: 64px;
  bottom: 132px;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transform: translateZ(0);
}

.asset-capture-effect.active {
  animation: captureField 760ms cubic-bezier(.18,.84,.22,1);
}

.asset-capture-effect::before {
  content: "";
  position: absolute;
  left: calc(var(--capture-x) - 120px);
  top: calc(var(--capture-y) - 120px);
  width: 240px;
  height: 240px;
  border: 4px solid rgba(86, 216, 236, 0.98);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4), transparent 18%),
    linear-gradient(135deg, rgba(86,216,236,0.18), rgba(143,223,145,0.12));
  box-shadow:
    0 0 0 999px rgba(7, 17, 19, 0.16),
    0 0 36px rgba(86, 216, 236, 0.52),
    inset 0 0 26px rgba(255,255,255,0.28);
  transform: scale(0.08);
  image-rendering: crisp-edges;
}

.capture-corner {
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: #8fff91;
  border-style: solid;
  filter: drop-shadow(0 0 12px rgba(143, 223, 145, 0.72));
}

.capture-corner.c1 {
  left: calc(var(--capture-x) - 142px);
  top: calc(var(--capture-y) - 142px);
  border-width: 5px 0 0 5px;
}

.capture-corner.c2 {
  left: calc(var(--capture-x) + 84px);
  top: calc(var(--capture-y) - 142px);
  border-width: 5px 5px 0 0;
}

.capture-corner.c3 {
  left: calc(var(--capture-x) - 142px);
  top: calc(var(--capture-y) + 84px);
  border-width: 0 0 5px 5px;
}

.capture-corner.c4 {
  left: calc(var(--capture-x) + 84px);
  top: calc(var(--capture-y) + 84px);
  border-width: 0 5px 5px 0;
}

.asset-capture-effect b,
.asset-capture-effect small {
  position: absolute;
  left: calc(var(--capture-x) - 132px);
  width: 264px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.68);
}

.asset-capture-effect b {
  top: calc(var(--capture-y) + 132px);
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.asset-capture-effect small {
  top: calc(var(--capture-y) + 155px);
  color: #d8fbff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes captureField {
  0% { opacity: 0; transform: scale(0.04); filter: none; }
  10% { opacity: 1; transform: scale(0.14); filter: none; }
  42% { opacity: 1; transform: scale(1.04); }
  72% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); filter: none; }
}

.marketplace-access {
  border: 0;
}

.marketplace-window {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 8, 10, 0.58);
  backdrop-filter: blur(10px);
}

.marketplace-window[hidden] {
  display: none;
}

.marketplace-window-card {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(86, 216, 236, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 0%, rgba(143, 223, 145, 0.15), transparent 36%),
    linear-gradient(135deg, rgba(22, 30, 33, 0.98), rgba(7, 12, 14, 0.96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), 0 0 42px rgba(86, 216, 236, 0.16);
}

.marketplace-window-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding: 18px 18px 0;
}

.marketplace-window-head span,
.marketplace-copyline {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-window-head strong {
  color: var(--ink);
  font-size: clamp(28px, 5vw, 52px);
  line-height: 0.94;
}

.marketplace-window-head button {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(86, 216, 236, 0.3);
  border-radius: 8px;
  background: rgba(86, 216, 236, 0.12);
  color: var(--ink);
  font: inherit;
  font-weight: 950;
}

.marketplace-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 18px;
}

.marketplace-tabs button {
  min-height: 46px;
  border: 1px solid rgba(86, 216, 236, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-weight: 950;
}

.marketplace-tabs button.active {
  background: var(--cyan);
  color: #071113;
}

.marketplace-copyline {
  padding: 0 18px;
  color: var(--green);
}

.marketplace-asset-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: auto;
  padding: 0 18px 18px;
}

.marketplace-asset-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 13px;
  border: 1px solid rgba(86, 216, 236, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.12), rgba(143, 223, 145, 0.06)),
    rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marketplace-asset-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 223, 145, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26), 0 0 28px rgba(86, 216, 236, 0.14);
}

.marketplace-asset-card span {
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-asset-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
}

.marketplace-asset-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.marketplace-asset-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--cyan);
  color: #071113;
  font-weight: 950;
}

.builder-topbar {
  position: relative;
  z-index: 10;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #252525;
}

.builder-project-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 7px;
  background: #1b1b1b;
  color: var(--ink);
}

.builder-project-tab span {
  width: 16px;
  height: 20px;
  border: 2px solid rgba(247, 242, 233, 0.76);
  border-radius: 2px;
  box-shadow: inset 0 5px 0 rgba(247, 242, 233, 0.2);
}

.builder-project-tab strong {
  font-size: 14px;
}

.builder-tabs,
.builder-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.builder-tabs .tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.builder-tabs .tab.active {
  background: var(--cyan);
  color: #071113;
}

.builder-tools button,
.builder-tools .real3d-launch {
  min-width: 48px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #45bff5;
  color: #071113;
  font: inherit;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.builder-tools button:hover,
.builder-tools button:focus-visible,
.builder-tools .real3d-launch:hover,
.builder-tools .real3d-launch:focus-visible {
  background: #6fdcff;
  box-shadow: 0 0 0 2px rgba(69, 191, 245, 0.24), 0 0 24px rgba(69, 191, 245, 0.22);
}

.builder-tools .real3d-launch {
  background: #8fff91;
}

.builder-tools .zoom-tool {
  width: 38px;
  min-width: 38px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.builder-left-panel,
.builder-right-panel {
  position: relative;
  z-index: 12;
  overflow: hidden auto;
  padding: 14px;
  background: rgba(36, 36, 36, 0.96);
}

.builder-side-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -2px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.builder-side-icons button,
.mini-tool {
  position: relative;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
}

.builder-side-icons button.active {
  background: rgba(69, 191, 245, 0.18);
  box-shadow: inset 0 -3px 0 #45bff5;
}

.builder-side-icons button::before,
.mini-tool::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(247, 242, 233, 0.82);
  border-radius: 4px;
  transform: translate(-50%, -50%);
}

.builder-side-icons button:nth-child(2)::before {
  border-radius: 0;
  transform: translate(-50%, -50%) skewX(-14deg);
}

.builder-side-icons button:nth-child(3)::before {
  width: 18px;
  height: 3px;
  border-width: 0;
  border-radius: 999px;
  background: rgba(247, 242, 233, 0.82);
  box-shadow: 0 -7px 0 rgba(247, 242, 233, 0.82), 0 7px 0 rgba(247, 242, 233, 0.82);
}

.inspector-icons {
  grid-template-columns: repeat(5, 1fr);
}

.builder-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 38px;
  gap: 7px;
  margin-bottom: 12px;
}

.category-select,
.inspector-category {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: #303030;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.category-select {
  padding: 0 12px;
  text-align: left;
}

.mini-tool::before {
  border-radius: 50%;
}

.mini-tool::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 23px;
  width: 9px;
  height: 2px;
  background: rgba(247, 242, 233, 0.82);
  transform: rotate(45deg);
}

.mini-tool.gear::before {
  border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(247, 242, 233, 0.07);
}

.mini-tool.gear::after {
  display: none;
}

.builder-library-slider {
  height: 8px;
  margin: 16px 2px 0;
  border-radius: 999px;
  background: #525252;
}

.builder-library-slider span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #45bff5;
}

.inspector-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 12px;
}

.unreal-api-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(86, 216, 236, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.13), rgba(143, 223, 145, 0.08)),
    #202528;
}

.unreal-api-panel span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.unreal-api-panel strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-align: right;
  text-transform: uppercase;
}

.control-room-panel {
  --visitor-pulse: 0.35;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(143, 223, 145, calc(0.22 + var(--visitor-pulse) * 0.38));
  border-radius: 7px;
  background:
    radial-gradient(circle at 88% 0%, rgba(143, 223, 145, calc(0.1 + var(--visitor-pulse) * 0.24)), transparent 40%),
    linear-gradient(135deg, rgba(86, 216, 236, 0.11), rgba(13, 18, 20, 0.9));
  box-shadow:
    0 0 calc(8px + var(--visitor-pulse) * 18px) rgba(86, 216, 236, calc(0.06 + var(--visitor-pulse) * 0.14)),
    inset 0 0 calc(8px + var(--visitor-pulse) * 14px) rgba(143, 223, 145, calc(0.04 + var(--visitor-pulse) * 0.08));
  transition:
    border-color 1.8s ease,
    box-shadow 2.8s ease,
    background 2.8s ease;
}

.control-room-panel span,
.control-room-panel small,
.control-room-panel code,
.control-room-panel i {
  font-size: 10px;
  font-weight: 950;
}

.control-room-panel span {
  color: var(--cyan);
  text-transform: uppercase;
}

.control-room-panel strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.05;
  text-transform: capitalize;
}

.control-room-panel small {
  color: var(--green);
  text-transform: uppercase;
}

.control-room-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.control-room-stats b {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 7px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
  transition:
    border-color 1.8s ease,
    background 2.2s ease,
    transform 1.2s ease;
}

.control-room-stats .visitor-live-cell {
  grid-column: 1 / -1;
  border: 1px solid rgba(143, 223, 145, calc(0.24 + var(--visitor-pulse) * 0.44));
  background:
    linear-gradient(90deg, rgba(143, 223, 145, calc(0.1 + var(--visitor-pulse) * 0.15)), rgba(86, 216, 236, calc(0.08 + var(--visitor-pulse) * 0.12))),
    rgba(0, 0, 0, 0.28);
}

.control-room-panel.visitor-surge .visitor-live-cell {
  transform: translateY(-1px);
}

.control-room-stats em {
  color: var(--ink);
  font-style: normal;
  font-size: 15px;
  line-height: 1;
}

.control-room-stats small {
  color: var(--muted);
  font-size: 8px;
}

.control-room-panel code,
.control-room-panel i {
  min-width: 0;
  overflow: hidden;
  color: #dffbff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-room-panel i {
  color: #ffd45b;
  font-style: normal;
}

.builder-left-panel {
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.builder-right-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.builder-left-panel,
.builder-right-panel {
  grid-row: 2 / 4;
}

.panel-title {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.panel-title span,
.builder-viewport-label span,
.builder-object-list span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-title strong {
  font-size: 20px;
}

.builder-search {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 6px;
  background: #303030;
  color: #aeb8bc;
  font-size: 13px;
  font-weight: 750;
}

.builder-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.builder-kit-grid article,
.builder-kit-grid button {
  min-height: 82px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(86, 216, 236, 0.18), transparent),
    #1d1f20;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.builder-kit-grid button:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 216, 236, 0.48);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.builder-kit-grid button.active {
  border-color: rgba(86, 216, 236, 0.72);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.28), transparent),
    linear-gradient(180deg, rgba(143, 223, 145, 0.12), transparent),
    #202628;
  box-shadow: 0 0 0 1px rgba(86, 216, 236, 0.12), 0 0 22px rgba(86, 216, 236, 0.18);
}

.phrase-mode .builder-kit-grid button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 76% 18%, rgba(143, 255, 145, 0.2), transparent 26%),
    radial-gradient(circle at 16% 82%, rgba(86, 216, 236, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(18, 27, 31, 0.96), rgba(8, 13, 16, 0.98));
}

.phrase-mode .builder-kit-grid button::before,
.phrase-mode .builder-kit-grid button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.phrase-mode .builder-kit-grid button::before {
  inset: 10px 8px auto;
  height: 42px;
  border: 1px solid rgba(86, 216, 236, 0.22);
  border-radius: 50%;
  transform: perspective(180px) rotateX(62deg) translateZ(-10px);
  box-shadow:
    0 0 0 1px rgba(143, 255, 145, 0.12),
    0 0 22px rgba(86, 216, 236, 0.14);
  animation: orbitPulse 2.8s linear infinite;
}

.phrase-mode .builder-kit-grid button::after {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 48%, transparent 54%),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(86, 216, 236, 0.06) 13px 14px);
  transform: translateX(-130%);
  animation: assetScan 3.8s ease-in-out infinite;
}

.phrase-mode .builder-kit-grid button:hover,
.phrase-mode .builder-kit-grid button.active {
  transform: translateY(-2px) rotateX(2deg);
  border-color: rgba(143, 255, 145, 0.68);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(86, 216, 236, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.builder-kit-grid b,
.builder-kit-grid small {
  display: block;
}

.builder-kit-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.kit-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(rgba(86, 216, 236, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 216, 236, 0.11) 1px, transparent 1px),
    #101719;
  background-size: 12px 12px, 12px 12px, 100% 100%;
}

.phrase-mode .kit-thumb {
  overflow: visible;
  background:
    radial-gradient(circle at 22% 25%, rgba(255,255,255,0.32), transparent 18%),
    linear-gradient(180deg, rgba(126, 198, 255, 0.28), transparent 42%),
    linear-gradient(0deg, rgba(86, 181, 76, 0.58), rgba(86, 181, 76, 0.16));
  transform: perspective(170px) rotateX(9deg) rotateY(-12deg);
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.3));
}

.phrase-mode .kit-thumb::marker {
  content: "";
}

.phrase-mode .kit-thumb::before,
.phrase-mode .kit-thumb::after,
.phrase-mode .kit-thumb i {
  transform-style: preserve-3d;
}

.phrase-mode .kit-thumb:hover {
  transform: perspective(170px) rotateX(5deg) rotateY(-18deg) scale(1.04);
}

.phrase-mode .kit-thumb i::before,
.phrase-mode .kit-thumb i::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.phrase-mode .kit-thumb i::before {
  left: -58px;
  top: -11px;
  width: 72px;
  height: 28px;
  border: 1px solid rgba(86, 216, 236, 0.46);
  transform: rotateX(62deg) rotateZ(-10deg);
  animation: thumbOrbit 2.4s linear infinite;
}

.phrase-mode .kit-thumb i::after {
  left: -22px;
  top: -2px;
  width: 8px;
  height: 8px;
  background: #8fff91;
  box-shadow: 0 0 14px rgba(143, 255, 145, 0.72);
  animation: hoverBeacon 1.8s ease-in-out infinite;
}

@keyframes orbitPulse {
  0% { transform: perspective(180px) rotateX(62deg) rotateZ(0deg) translateZ(-10px); opacity: 0.48; }
  50% { opacity: 0.88; }
  100% { transform: perspective(180px) rotateX(62deg) rotateZ(360deg) translateZ(-10px); opacity: 0.48; }
}

@keyframes assetScan {
  0%, 36% { transform: translateX(-130%); opacity: 0; }
  48% { opacity: 0.7; }
  64%, 100% { transform: translateX(130%); opacity: 0; }
}

@keyframes thumbOrbit {
  0% { transform: rotateX(62deg) rotateZ(-10deg); }
  100% { transform: rotateX(62deg) rotateZ(350deg); }
}

@keyframes hoverBeacon {
  0%, 100% { transform: translate3d(-10px, 3px, 0) scale(0.78); opacity: 0.42; }
  50% { transform: translate3d(6px, -5px, 0) scale(1.18); opacity: 1; }
}

.phrase-mode .builder-kit-grid button b::after {
  content: " 360 access";
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(86, 216, 236, 0.32);
  border-radius: 999px;
  color: #8fff91;
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.phrase-mode .builder-kit-grid button small::after {
  content: " | tour + model + utility files";
  color: rgba(86, 216, 236, 0.92);
}

.kit-thumb::before,
.kit-thumb::after,
.kit-thumb i {
  content: "";
  position: absolute;
  display: block;
}

.phrase-mode .kit-thumb::before {
  left: 18%;
  bottom: 7px;
  width: 50%;
  height: 24px;
  border-width: 2px;
  border-color: rgba(230, 225, 213, 0.9);
  background:
    linear-gradient(90deg, transparent 0 16%, #45bff5 16% 30%, transparent 30% 58%, #45bff5 58% 72%, transparent 72%),
    linear-gradient(135deg, #f8f2e6, #cfc7b7);
  box-shadow:
    12px -12px 0 -2px #f8f2e6,
    13px -13px 0 0 rgba(36,36,36,0.75);
}

.phrase-mode .kit-thumb::after {
  left: 12%;
  bottom: 31px;
  width: 66%;
  height: 11px;
  border: 2px solid #8d4f0f;
  background: repeating-linear-gradient(90deg, #f39a14 0 7px, #a75b0d 7px 11px);
  transform: skewX(-18deg);
}

.phrase-mode .kit-thumb i {
  right: 12%;
  bottom: 9px;
  width: 18%;
  height: 24px;
  border-color: rgba(86, 216, 236, 0.95);
  background: rgba(86, 216, 236, 0.32);
  box-shadow: -30px 2px 0 -8px rgba(224, 126, 19, 0.9);
}

.phrase-mode .smart-thumb::before {
  width: 62%;
  height: 32px;
  background:
    linear-gradient(90deg, rgba(158, 231, 255, 0.64) 0 18%, transparent 18% 34%, rgba(158, 231, 255, 0.64) 34% 52%, transparent 52% 72%, rgba(158, 231, 255, 0.64) 72%),
    linear-gradient(135deg, #f6fbff, #dce8ea);
}

.phrase-mode .smart-thumb::after {
  width: 72%;
  background: repeating-linear-gradient(90deg, #f09a12 0 7px, #24384a 7px 11px);
}

.phrase-mode .nc-thumb::before {
  left: 10%;
  width: 68%;
  height: 22px;
  background: linear-gradient(135deg, #fff0dc, #d7bea2);
  box-shadow:
    0 -13px 0 -9px #b96b2d,
    22px -8px 0 -5px rgba(255, 240, 220, 0.95),
    -5px 12px 0 -7px #7b5433,
    34px 12px 0 -7px #7b5433;
}

.phrase-mode .nc-thumb::after {
  left: 5%;
  width: 82%;
  border-color: #6a4328;
  background: repeating-linear-gradient(90deg, #c97721 0 6px, #7b5433 6px 11px);
}

.phrase-mode .glass-thumb::before {
  left: 8%;
  width: 70%;
  height: 33px;
  border-color: rgba(183, 244, 255, 0.92);
  background:
    linear-gradient(90deg, rgba(183, 244, 255, 0.68) 0 26%, rgba(248, 248, 240, 0.9) 26% 40%, rgba(183, 244, 255, 0.68) 40% 72%, rgba(248, 248, 240, 0.85) 72%),
    linear-gradient(135deg, #f8f8f0, #cfd6d4);
}

.phrase-mode .glass-thumb::after {
  left: 6%;
  bottom: 39px;
  width: 78%;
  border-color: rgba(69, 191, 245, 0.8);
  background: repeating-linear-gradient(90deg, #263541 0 10px, #45bff5 10px 13px);
}

.phrase-mode .beach-thumb::before {
  width: 54%;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(165, 240, 255, 0.72) 16% 34%, transparent 34% 58%, rgba(165, 240, 255, 0.72) 58% 76%, transparent 76%),
    linear-gradient(135deg, #fff4df, #d9c9b0);
}

.phrase-mode .beach-thumb::after {
  background: repeating-linear-gradient(90deg, #f3b14c 0 7px, #d08a28 7px 11px);
}

.phrase-mode .beach-thumb i {
  right: 8%;
  bottom: 5px;
  width: 28%;
  height: 10px;
  border-radius: 999px;
  border-color: rgba(86, 216, 236, 0.84);
  background: rgba(86, 216, 236, 0.52);
}

.phrase-mode .cabin-thumb::before {
  width: 62%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 3px, transparent 3px 7px),
    linear-gradient(135deg, #9a6a36, #6f411e);
  border-color: #52321f;
}

.phrase-mode .cabin-thumb::after {
  border-color: #52321f;
  background: linear-gradient(90deg, #52321f, #8b572a);
}

.phrase-mode .villa-thumb::before {
  left: 13%;
  width: 58%;
  height: 30px;
  background:
    radial-gradient(ellipse at 27% 100%, transparent 0 18%, #f1eee3 19% 36%, transparent 37%),
    radial-gradient(ellipse at 70% 100%, transparent 0 17%, #f1eee3 18% 34%, transparent 35%),
    linear-gradient(135deg, #f1eee3, #ccc3b2);
}

.phrase-mode .villa-thumb::after {
  left: 15%;
  width: 56%;
  border-color: #8b572a;
  background: linear-gradient(90deg, #d98b21, #a96a35);
  transform: skewX(-8deg);
}

.phrase-mode .japan-thumb::before {
  left: 20%;
  width: 44%;
  height: 31px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(37, 93, 120, 0.58) 22% 42%, transparent 42% 58%, rgba(37, 93, 120, 0.58) 58% 76%, transparent 76%),
    linear-gradient(135deg, #f5f1e8, #d0ccc4);
}

.phrase-mode .japan-thumb::after {
  left: 12%;
  bottom: 40px;
  width: 62%;
  border-color: #111820;
  background: #2b3035;
  box-shadow: 0 4px 0 rgba(193, 111, 38, 0.9);
  transform: skewX(-14deg);
}

.phrase-mode .office-thumb::before {
  left: 25%;
  width: 32%;
  height: 38px;
  background:
    linear-gradient(90deg, rgba(86, 216, 236, 0.62) 0 26%, transparent 26% 38%, rgba(86, 216, 236, 0.62) 38% 64%, transparent 64%),
    linear-gradient(135deg, #d5e4ea, #67818b);
}

.phrase-mode .office-thumb::after {
  left: 18%;
  bottom: 19px;
  width: 54%;
  height: 8px;
  background: linear-gradient(90deg, #3f5964, #45bff5);
}

.phrase-mode .compute-thumb::before {
  left: 16%;
  width: 60%;
  height: 31px;
  border-color: rgba(143, 223, 145, 0.82);
  background:
    repeating-linear-gradient(90deg, rgba(143, 223, 145, 0.52) 0 3px, transparent 3px 9px),
    linear-gradient(135deg, #20282d, #0d1114);
}

.phrase-mode .compute-thumb::after {
  border-color: rgba(143, 223, 145, 0.58);
  background: linear-gradient(90deg, #101719, #8fff91);
}

.kit-thumb::before {
  left: 17%;
  bottom: 8px;
  width: 50%;
  height: 22px;
  border: 2px solid rgba(247, 242, 233, 0.74);
  background: linear-gradient(135deg, #f6efe1, #cfc7b7);
  transform: skewY(-12deg);
}

.kit-thumb::after {
  left: 13%;
  bottom: 28px;
  width: 58%;
  height: 11px;
  border: 2px solid #8d4f0f;
  background: repeating-linear-gradient(90deg, #f39a14 0 8px, #a75b0d 8px 12px);
  transform: skewX(-18deg);
}

.kit-thumb i {
  right: 12%;
  bottom: 7px;
  width: 20%;
  height: 20px;
  border: 2px solid rgba(86, 216, 236, 0.8);
  background: rgba(86, 216, 236, 0.22);
}

.smart-thumb::before {
  border-color: rgba(86, 216, 236, 0.75);
}

.smart-thumb::after {
  background: repeating-linear-gradient(90deg, #f39a14 0 7px, #1f3443 7px 11px);
}

.nc-thumb {
  background:
    linear-gradient(180deg, rgba(154, 217, 232, 0.34), transparent 42%),
    linear-gradient(0deg, #5f9d54 0 36%, #182120 36% 100%);
}

.nc-thumb::before {
  left: 12%;
  bottom: 8px;
  width: 62%;
  height: 20px;
  background: linear-gradient(135deg, #fff0dc, #cda982);
  box-shadow:
    0 -12px 0 -8px #b96b2d,
    18px -7px 0 -4px rgba(255, 240, 220, 0.9);
}

.nc-thumb::after {
  left: 6%;
  bottom: 24px;
  width: 78%;
  height: 9px;
  border-color: #6a4328;
  background: repeating-linear-gradient(90deg, #c97721 0 7px, #7b5433 7px 12px);
}

.glass-thumb {
  background:
    linear-gradient(180deg, rgba(148, 230, 255, 0.38), transparent 40%),
    linear-gradient(0deg, #4c8f62 0 34%, #14191b 34% 100%);
}

.glass-thumb::before {
  left: 8%;
  bottom: 8px;
  width: 68%;
  height: 28px;
  border-color: rgba(183, 244, 255, 0.9);
  background:
    linear-gradient(90deg, rgba(183, 244, 255, 0.62) 0 28%, rgba(248, 248, 240, 0.9) 28% 42%, rgba(183, 244, 255, 0.62) 42% 70%, rgba(248, 248, 240, 0.85) 70%),
    linear-gradient(135deg, #f8f8f0, #cfd6d4);
}

.glass-thumb::after {
  left: 6%;
  bottom: 36px;
  width: 74%;
  height: 8px;
  border-color: rgba(69, 191, 245, 0.76);
  background: repeating-linear-gradient(90deg, #263541 0 10px, #45bff5 10px 13px);
}

.beach-thumb {
  background:
    linear-gradient(180deg, rgba(86, 216, 236, 0.38), transparent 38%),
    linear-gradient(0deg, #d1b36b 0 32%, #267c6e 32% 100%);
}

.cabin-thumb::before {
  background: linear-gradient(135deg, #8a5b2a, #513018);
}

.villa-thumb {
  background:
    linear-gradient(180deg, rgba(146, 215, 234, 0.28), transparent 42%),
    linear-gradient(0deg, #7f9e5f 0 34%, #171e1f 34% 100%);
}

.villa-thumb::before {
  left: 14%;
  bottom: 8px;
  width: 56%;
  height: 28px;
  border-color: rgba(241, 238, 227, 0.86);
  background:
    radial-gradient(ellipse at 26% 100%, transparent 0 20%, #f1eee3 21% 37%, transparent 38%),
    radial-gradient(ellipse at 70% 100%, transparent 0 18%, #f1eee3 19% 35%, transparent 36%),
    linear-gradient(135deg, #f1eee3, #ccc3b2);
}

.villa-thumb::after {
  left: 16%;
  bottom: 36px;
  width: 50%;
  height: 9px;
  border-color: #8b572a;
  background: linear-gradient(90deg, #d98b21, #a96a35);
  transform: skewX(-8deg);
}

.japan-thumb {
  background:
    linear-gradient(180deg, rgba(179, 233, 255, 0.3), transparent 42%),
    linear-gradient(0deg, #6e8b5f 0 32%, #15191d 32% 100%);
}

.japan-thumb::before {
  left: 19%;
  bottom: 8px;
  width: 44%;
  height: 30px;
  border-color: rgba(245, 241, 232, 0.86);
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(37, 93, 120, 0.52) 24% 42%, transparent 42% 58%, rgba(37, 93, 120, 0.52) 58% 74%, transparent 74%),
    linear-gradient(135deg, #f5f1e8, #d0ccc4);
}

.japan-thumb::after {
  left: 13%;
  bottom: 38px;
  width: 58%;
  height: 8px;
  border-color: #111820;
  background: #2b3035;
  box-shadow: 0 4px 0 rgba(193, 111, 38, 0.9);
  transform: skewX(-14deg);
}

.office-thumb::before {
  width: 34%;
  height: 33px;
  background: linear-gradient(135deg, #d5e4ea, #67818b);
}

.compute-thumb::before {
  background: linear-gradient(135deg, #20282d, #0d1114);
  border-color: rgba(143, 223, 145, 0.75);
}

.patio-thumb::before {
  width: 60%;
  height: 18px;
  background: linear-gradient(135deg, #d2a064, #76563a);
}

.pergola-thumb::before {
  height: 28px;
  background: repeating-linear-gradient(90deg, #ef9612 0 6px, transparent 6px 12px);
}

.lounge-thumb::before {
  border-radius: 999px;
  background: linear-gradient(135deg, #cbb494, #5a4634);
}

.patio-thumb::before {
  width: 60%;
  height: 18px;
  background: linear-gradient(135deg, #d2a064, #76563a);
}

.pergola-thumb::before {
  height: 28px;
  background: repeating-linear-gradient(90deg, #ef9612 0 6px, transparent 6px 12px);
}

.lounge-thumb::before {
  border-radius: 999px;
  background: linear-gradient(135deg, #cbb494, #5a4634);
}

.builder-object-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.builder-object-list button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #303030;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  padding: 0 12px;
}

.builder-audience-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(143, 223, 145, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 223, 145, 0.12), transparent),
    rgba(0, 0, 0, 0.16);
}

.builder-audience-list span,
.inspector-audience span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.builder-audience-list p,
.inspector-audience p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.builder-access-pack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(86, 216, 236, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 255, 145, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(9, 17, 22, 0.96), rgba(5, 9, 12, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.builder-access-pack span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.builder-access-pack strong,
.builder-access-pack code {
  display: block;
}

.builder-access-pack strong {
  color: var(--ink);
  font-size: 14px;
}

.builder-access-pack code {
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid rgba(143, 255, 145, 0.32);
  border-radius: 999px;
  color: #8fff91;
  background: rgba(143, 255, 145, 0.08);
  font-size: 10px;
  font-weight: 950;
}

.builder-access-pack ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.builder-access-pack li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.builder-access-pack b {
  color: var(--cyan);
  font-size: 10px;
  text-transform: uppercase;
}

.builder-access-pack small {
  overflow: hidden;
  color: rgba(235, 243, 245, 0.74);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-viewport-label {
  position: absolute;
  z-index: 6;
  left: 312px;
  top: 92px;
  display: grid;
  gap: 3px;
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid rgba(86, 216, 236, 0.26);
  border-radius: 8px;
  background: rgba(8, 14, 17, 0.72);
  backdrop-filter: blur(12px);
}

.builder-viewport-label strong {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.02;
}

.builder-viewport-label small {
  color: var(--soft);
  font-weight: 750;
}

.nft-home-diorama {
  --drag-rot: 0deg;
  --drag-tilt: 0deg;
  --diorama-scale: 1.22;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 55%;
  width: min(520px, 38vw);
  height: 390px;
  transform: translate(-50%, -48%) rotateX(calc(58deg + var(--drag-tilt))) rotateZ(calc(-35deg + var(--drag-rot))) scale(var(--diorama-scale));
  transform-style: preserve-3d;
  filter: drop-shadow(0 38px 32px rgba(0, 0, 0, 0.42));
  animation: dioramaFloat 6s ease-in-out infinite;
  cursor: grab;
  user-select: none;
}

@keyframes dioramaFloat {
  0%, 100% { transform: translate(-50%, -48%) rotateX(calc(58deg + var(--drag-tilt))) rotateZ(calc(-35deg + var(--drag-rot))) scale(var(--diorama-scale)) translateZ(0); }
  50% { transform: translate(-50%, -50%) rotateX(calc(58deg + var(--drag-tilt))) rotateZ(calc(-32deg + var(--drag-rot))) scale(var(--diorama-scale)) translateZ(8px); }
}

.nft-home-diorama.dragging,
.nft-home-diorama.paused {
  animation-play-state: paused;
}

.nft-home-diorama > span {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.nft-home-diorama::before {
  content: attr(data-model);
  position: absolute;
  left: 54px;
  top: 56px;
  z-index: 10;
  padding: 8px 12px;
  border: 2px solid rgba(86, 216, 236, 0.7);
  background: rgba(7, 17, 19, 0.82);
  color: #d9fbff;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
  transform: translateZ(260px);
}

.diorama-base {
  inset: 70px 18px 22px 18px;
  border: 4px solid #b36b20;
  background: linear-gradient(135deg, #cf7a22, #9e5418);
  transform: translateZ(-18px);
}

.diorama-grass {
  left: 46px;
  right: 46px;
  top: 96px;
  bottom: 50px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.09) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, #5cbf56, #358e42);
  transform: translateZ(0);
}

.diorama-water {
  display: none !important;
  left: 46px;
  right: 46px;
  top: 95px;
  height: 74px;
  background: repeating-linear-gradient(0deg, #5ed4ec 0 9px, #2886a9 9px 18px);
  transform: translateZ(3px);
}

.diorama-path {
  left: 260px;
  top: 255px;
  width: 84px;
  height: 132px;
  background: repeating-linear-gradient(0deg, #e9d793 0 15px, #c8ad63 15px 21px);
  transform: translateZ(4px);
}

.diorama-drive {
  left: 112px;
  top: 276px;
  width: 170px;
  height: 86px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.22) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, #eee8df, #cfc8bc);
  transform: translateZ(5px);
}

.diorama-fence {
  background: #d88319;
  border: 3px solid #a9570f;
  transform: translateZ(28px);
}

.diorama-fence.front {
  left: 62px;
  right: 64px;
  bottom: 84px;
  height: 24px;
}

.diorama-fence.side {
  right: 72px;
  top: 122px;
  width: 24px;
  height: 220px;
}

.diorama-fence.back {
  left: 94px;
  right: 80px;
  top: 116px;
  height: 22px;
}

.diorama-steps {
  left: 228px;
  top: 278px;
  width: 132px;
  height: 62px;
  background: repeating-linear-gradient(0deg, #efede6 0 10px, #bbb7ac 10px 16px);
  border: 2px solid #a9a49a;
  transform: translateZ(48px);
}

.diorama-patio-frame {
  left: 92px;
  top: 250px;
  width: 176px;
  height: 100px;
  border: 7px solid #f6f2e8;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(246,242,232,0.82) 28% 32%, transparent 32% 68%, rgba(246,242,232,0.82) 68% 72%, transparent 72%),
    linear-gradient(180deg, transparent 0 48%, rgba(255,230,130,0.38) 48% 52%, transparent 52%);
  box-shadow: 0 0 14px rgba(255, 232, 130, 0.48);
  transform: translateZ(84px);
}

.diorama-lounge {
  left: 132px;
  top: 292px;
  width: 82px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #44352a, #d7c3a6);
  transform: translateZ(92px);
}

.diorama-house.lower {
  left: 170px;
  top: 155px;
  width: 245px;
  height: 150px;
  border: 4px solid #ded7c9;
  background: linear-gradient(135deg, #f7f4e8, #d7d2c4);
  transform: translateZ(56px);
}

.diorama-house.upper {
  left: 236px;
  top: 88px;
  width: 180px;
  height: 130px;
  border: 4px solid #e4dfd2;
  background: linear-gradient(135deg, #f9f7ef, #d6d1c2);
  transform: translateZ(148px);
}

.diorama-side-wing {
  left: 354px;
  top: 178px;
  width: 128px;
  height: 116px;
  border: 4px solid #1b262c;
  background:
    linear-gradient(90deg, rgba(80,160,220,0.62) 0 24%, transparent 24% 34%, rgba(80,160,220,0.62) 34% 58%, transparent 58% 70%, rgba(80,160,220,0.62) 70% 100%),
    linear-gradient(135deg, #eff1ec, #c5c1b5);
  transform: translateZ(112px);
}

.diorama-office-tower {
  display: none !important;
  left: 406px;
  top: 72px;
  width: 78px;
  height: 230px;
  border: 4px solid #27343a;
  background:
    repeating-linear-gradient(0deg, rgba(101, 184, 255, 0.9) 0 18px, rgba(24, 95, 154, 0.9) 18px 24px),
    linear-gradient(135deg, #d7e7ec, #75909b);
  transform: translateZ(92px);
}

.diorama-roof {
  background: repeating-linear-gradient(90deg, #f39813 0 10px, #a95b0d 10px 14px);
  border: 3px solid #8c4c0c;
}

.diorama-roof.lower {
  left: 154px;
  top: 138px;
  width: 280px;
  height: 38px;
  transform: translateZ(128px);
}

.diorama-roof.upper {
  left: 224px;
  top: 68px;
  width: 210px;
  height: 36px;
  transform: translateZ(218px);
}

.diorama-roof.pergola {
  left: 218px;
  top: 78px;
  width: 178px;
  height: 76px;
  background: repeating-linear-gradient(90deg, #f09a12 0 9px, transparent 9px 16px);
  border: 0;
  transform: translateZ(260px);
}

.diorama-window {
  width: 44px;
  height: 54px;
  border: 3px solid #202b35;
  background: linear-gradient(135deg, #65b8ff, #185f9a);
  transform: translateZ(170px);
}

.diorama-window.w1 { left: 194px; top: 190px; }
.diorama-window.w2 { left: 304px; top: 178px; }
.diorama-window.w3 { left: 304px; top: 108px; transform: translateZ(240px); }
.diorama-window.w4 { left: 370px; top: 194px; width: 70px; height: 62px; transform: translateZ(182px); }
.diorama-window.w5 { left: 238px; top: 118px; width: 48px; height: 58px; transform: translateZ(240px); }

.diorama-column {
  width: 14px;
  height: 96px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7f4ea, #aaa293);
  transform: translateZ(150px);
}

.diorama-column.c1 { left: 176px; top: 210px; }
.diorama-column.c2 { left: 346px; top: 202px; }
.diorama-column.c3 { left: 424px; top: 198px; }

.diorama-balcony {
  height: 28px;
  border: 4px solid #c27014;
  background: repeating-linear-gradient(90deg, #df7f13 0 9px, transparent 9px 18px);
}

.diorama-balcony.b1 {
  left: 160px;
  top: 236px;
  width: 265px;
  transform: translateZ(194px);
}

.diorama-balcony.b2 {
  left: 226px;
  top: 154px;
  width: 204px;
  transform: translateZ(260px);
}


.diorama-door {
  left: 252px;
  top: 222px;
  width: 38px;
  height: 72px;
  background: linear-gradient(135deg, #f4bc18, #956513);
  border: 3px solid #5a3510;
  transform: translateZ(172px);
}

.diorama-planter {
  left: 432px;
  top: 134px;
  width: 42px;
  height: 56px;
  border-radius: 50% 50% 10px 10px;
  background:
    radial-gradient(circle at 50% 0, #7bdc65 0 45%, transparent 46%),
    linear-gradient(#a95b0d, #6b3b16);
  transform: translateZ(214px);
}

.diorama-chimney {
  display: none !important;
  left: 394px;
  top: 90px;
  width: 34px;
  height: 88px;
  border: 3px solid #4d2b14;
  background: linear-gradient(135deg, #8d5228, #4d2b14);
  transform: translateZ(230px);
}

.diorama-rail {
  height: 16px;
  background: #df7f13;
  border: 3px solid #93500d;
}

.diorama-rail.r1 {
  left: 168px;
  top: 252px;
  width: 250px;
  transform: translateZ(186px);
}

.diorama-rail.r2 {
  left: 228px;
  top: 164px;
  width: 198px;
  transform: translateZ(252px);
}

.diorama-rail.r3 {
  left: 358px;
  top: 264px;
  width: 116px;
  transform: translateZ(188px);
}

.diorama-plumbing {
  height: 8px;
  border-radius: 999px;
  background: #55ee9a;
  box-shadow: 0 0 18px rgba(85, 238, 154, 0.78);
}

.diorama-plumbing.p1 {
  left: 168px;
  top: 314px;
  width: 250px;
  transform: translateZ(32px);
}

.diorama-plumbing.p2 {
  left: 410px;
  top: 175px;
  width: 8px;
  height: 142px;
  transform: translateZ(36px);
}

.diorama-compute-rack {
  display: none !important;
  left: 90px;
  top: 178px;
  width: 76px;
  height: 125px;
  border: 4px solid rgba(143, 223, 145, 0.8);
  background:
    repeating-linear-gradient(0deg, rgba(143, 223, 145, 0.45) 0 8px, rgba(13, 17, 20, 0.8) 8px 18px),
    #0b1113;
  box-shadow: 0 0 24px rgba(143, 223, 145, 0.62);
  transform: translateZ(105px);
}

.diorama-terminal {
  left: 226px;
  bottom: 22px;
  width: 72px;
  height: 52px;
  display: grid !important;
  place-items: center;
  border: 3px solid #295fd3;
  background: #3b8cff;
  color: white;
  font-weight: 950;
  transform: translateZ(52px);
}

.nft-home-diorama[data-model="smart"] .diorama-grass {
  background:
    repeating-linear-gradient(90deg, rgba(86, 216, 236, 0.16) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, #4ca45c, #216d61);
}

.nft-home-diorama[data-model="smart"] .diorama-house.lower,
.nft-home-diorama[data-model="smart"] .diorama-house.upper {
  border-color: #bdeeff;
  background: linear-gradient(135deg, #eefaff, #9ebbc2);
}

.nft-home-diorama[data-model="smart"] .diorama-terminal {
  background: #56d8ec;
  color: #071113;
}

.nft-home-diorama[data-model="beach"] .diorama-water {
  display: block !important;
}

.nft-home-diorama[data-model="beach"] .diorama-grass {
  background: linear-gradient(135deg, #d4bd72, #69ad64);
}

.nft-home-diorama[data-model="beach"] .diorama-house.lower,
.nft-home-diorama[data-model="beach"] .diorama-house.upper {
  background: linear-gradient(135deg, #fff7df, #d4be8a);
}

.nft-home-diorama[data-model="cabin"] .diorama-chimney {
  display: block !important;
}

.nft-home-diorama[data-model="cabin"] .diorama-house.lower,
.nft-home-diorama[data-model="cabin"] .diorama-house.upper {
  border-color: #6b3d1c;
  background: repeating-linear-gradient(0deg, #8f5b2e 0 14px, #5d371b 14px 20px);
}

.nft-home-diorama[data-model="cabin"] .diorama-roof {
  background: repeating-linear-gradient(90deg, #4e3627 0 10px, #251913 10px 14px);
}

.nft-home-diorama[data-model="office"] .diorama-office-tower {
  display: block !important;
}

.nft-home-diorama[data-model="office"] .diorama-house.lower {
  left: 146px;
  width: 330px;
  background: linear-gradient(135deg, #f1f5f6, #93a5aa);
}

.nft-home-diorama[data-model="office"] .diorama-house.upper {
  width: 230px;
  background: linear-gradient(135deg, #eff9fb, #708992);
}

.nft-home-diorama[data-model="compute"] .diorama-compute-rack {
  display: block !important;
}

.nft-home-diorama[data-model="compute"] .diorama-base {
  border-color: rgba(143, 223, 145, 0.8);
  background: linear-gradient(135deg, #101719, #23342c);
}

.nft-home-diorama[data-model="compute"] .diorama-plumbing {
  background: #56d8ec;
  box-shadow: 0 0 22px rgba(86, 216, 236, 0.82);
}

.business-diorama {
  position: absolute;
  z-index: 5;
  right: 23%;
  top: 52%;
  width: min(430px, 30vw);
  height: 320px;
  transform: translate(50%, -45%) rotateX(58deg) rotateZ(-34deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 32px 28px rgba(0, 0, 0, 0.38));
  animation: businessFloat 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes businessFloat {
  0%, 100% { transform: translate(50%, -45%) rotateX(58deg) rotateZ(-34deg) translateZ(0); }
  50% { transform: translate(50%, -47%) rotateX(58deg) rotateZ(-31deg) translateZ(8px); }
}

.business-diorama > span {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.biz-base {
  inset: 80px 24px 24px;
  border: 4px solid #2f3b42;
  background: linear-gradient(135deg, #515e65, #22282d);
  transform: translateZ(-16px);
}

.biz-floor {
  left: 88px;
  width: 210px;
  height: 88px;
  border: 4px solid #d8e6e8;
  background: linear-gradient(135deg, #dbe8e9, #72848c);
}

.biz-floor.lower {
  top: 172px;
  transform: translateZ(70px);
}

.biz-floor.upper {
  top: 96px;
  left: 126px;
  width: 180px;
  transform: translateZ(150px);
}

.biz-glass {
  width: 52px;
  height: 66px;
  border: 3px solid #193144;
  background: linear-gradient(135deg, #8ee5ff, #1d6caa);
  transform: translateZ(178px);
}

.biz-glass.g1 { left: 118px; top: 190px; }
.biz-glass.g2 { left: 218px; top: 118px; transform: translateZ(250px); }

.biz-screen {
  left: 50px;
  top: 148px;
  width: 118px;
  height: 62px;
  border: 4px solid #071113;
  background: linear-gradient(135deg, #56d8ec, #2433af);
  transform: translateZ(112px);
}

.biz-stair {
  left: 196px;
  top: 244px;
  width: 100px;
  height: 48px;
  background: repeating-linear-gradient(0deg, #d9c179 0 8px, #8a7141 8px 13px);
  transform: translateZ(76px);
}

.biz-pipes {
  left: 76px;
  top: 268px;
  width: 230px;
  height: 9px;
  border-radius: 999px;
  background: #55ee9a;
  box-shadow: 0 0 18px rgba(85, 238, 154, 0.76);
  transform: translateZ(42px);
}

.biz-label {
  right: 36px;
  bottom: 36px;
  padding: 8px 12px;
  border: 2px solid rgba(86, 216, 236, 0.7);
  background: rgba(7, 17, 19, 0.85);
  color: var(--cyan);
  font-weight: 950;
  transform: translateZ(190px);
}

.view-shot-strip {
  position: absolute;
  z-index: 9;
  left: 300px;
  right: 318px;
  bottom: 164px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.view-shot {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid rgba(86, 216, 236, 0.28);
  border-radius: 8px;
  background: #151d20;
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.asset-money-rail,
.creator-signal-rail {
  position: absolute;
  z-index: 10;
  display: grid;
  gap: 3px;
  width: min(310px, 28vw);
  padding: 12px 14px;
  border: 1px solid rgba(143, 223, 145, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 223, 145, 0.16), rgba(86, 216, 236, 0.08)),
    rgba(7, 17, 19, 0.86);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.asset-money-rail {
  right: 330px;
  bottom: 146px;
}

.creator-signal-rail {
  left: 314px;
  bottom: 146px;
  border-color: rgba(86, 216, 236, 0.34);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.15), rgba(218, 168, 60, 0.1)),
    rgba(7, 17, 19, 0.86);
}

.asset-money-rail span,
.creator-signal-rail span {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.creator-signal-rail span {
  color: var(--cyan);
}

.asset-money-rail strong,
.creator-signal-rail strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.08;
}

.asset-money-rail small,
.creator-signal-rail small {
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
}

.view-shot:hover,
.view-shot.active {
  z-index: 2;
  transform: scale(1.08);
  border-color: rgba(143, 223, 145, 0.7);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), 0 0 26px rgba(86, 216, 236, 0.2);
}

.view-shot span,
.view-shot b {
  position: relative;
  z-index: 2;
  display: block;
  text-align: left;
  padding-left: 12px;
}

.view-shot span {
  margin-top: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.view-shot b {
  margin-top: 48px;
  font-size: 16px;
}

.view-shot::before,
.view-shot::after {
  content: "";
  position: absolute;
  display: block;
}

.exterior-shot::before {
  left: 36%;
  top: 22px;
  width: 52px;
  height: 42px;
  background: #eee5d3;
  border: 3px solid #d4c8b8;
  transform: skewY(-12deg);
}

.exterior-shot::after {
  left: 30%;
  top: 13px;
  width: 72px;
  height: 18px;
  background: repeating-linear-gradient(90deg, #f59a14 0 9px, #9e5418 9px 13px);
  border: 2px solid #8c4c0c;
}

.interior-shot {
  background:
    linear-gradient(90deg, rgba(86, 216, 236, 0.22), transparent 48%),
    linear-gradient(180deg, #252f34, #15191c);
}

.interior-shot::before {
  left: 12px;
  right: 12px;
  top: 32px;
  height: 20px;
  background: repeating-linear-gradient(90deg, #d8aa6a 0 20px, #38474f 20px 26px);
}

.interior-shot::after {
  left: 42%;
  top: 52px;
  width: 48px;
  height: 25px;
  border-radius: 999px;
  background: #b8875b;
}

.plumbing-shot {
  background: linear-gradient(135deg, #2b2f2f, #151917);
}

.plumbing-shot::before {
  left: 16px;
  top: 36px;
  width: calc(100% - 32px);
  height: 44px;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, #c67d41 18px 24px),
    repeating-linear-gradient(0deg, transparent 0 14px, #d9995f 14px 19px);
}

.plumbing-shot::after {
  right: 18px;
  top: 24px;
  width: 50px;
  height: 62px;
  border: 3px solid #afb8b4;
  background: #676f6d;
}

.inspector-preview {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 158px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(69, 191, 245, 0.22), #1e1f20 70%);
}

.chair-cube {
  width: 74px;
  height: 74px;
  border: 4px solid #3f9bff;
  background: #65b8ff;
  transform: rotateX(58deg) rotateZ(-35deg);
  box-shadow: 18px 18px 0 #347ed0;
}

.inspector-audience {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(143, 223, 145, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 223, 145, 0.1), transparent),
    rgba(0, 0, 0, 0.2);
}

.builder-right-panel label {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.builder-right-panel input {
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: #303030;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  padding: 0 10px;
}

.inspector-check {
  min-height: 38px;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  background: #303030;
  color: var(--muted);
  font-weight: 850;
}

.inspector-check.active::before {
  content: "✓ ";
  color: var(--cyan);
}

.builder-right-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  border-radius: 6px;
  background: var(--cyan);
  color: #071113;
  font-weight: 950;
}

.math-console {
  position: relative;
  z-index: 8;
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-top: 1px solid rgba(86, 216, 236, 0.2);
  background:
    linear-gradient(90deg, rgba(86, 216, 236, 0.12), transparent),
    rgba(9, 14, 16, 0.88);
  backdrop-filter: blur(14px);
}

.math-console-head {
  display: grid;
  align-content: center;
  gap: 4px;
}

.math-console-head span,
.math-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.math-console-head strong {
  font-size: 24px;
  line-height: 1.05;
}

.math-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.math-grid article {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(86, 216, 236, 0.18);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
}

.math-grid code,
.math-grid b {
  display: block;
  overflow-wrap: anywhere;
}

.math-grid code {
  margin: 4px 0;
  color: #d4f6ff;
  font-size: 12px;
}

.math-grid b {
  color: var(--ink);
  font-size: 13px;
}

.model-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.model-house {
  --rot: -18deg;
  position: absolute;
  left: 50%;
  top: 53%;
  width: 350px;
  height: 260px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(var(--rot));
  transform-style: preserve-3d;
  transition: transform 420ms ease;
  opacity: 0.66;
  pointer-events: none;
}

.model-house > span {
  position: absolute;
  display: block;
}

.model-floor {
  inset: 42px 26px 34px 26px;
  border: 2px solid rgba(247, 242, 233, 0.75);
  background: rgba(247, 242, 233, 0.08);
}

.model-roof {
  left: 5px;
  top: 0;
  width: 310px;
  height: 70px;
  border: 2px solid rgba(185, 88, 63, 0.88);
  background: rgba(185, 88, 63, 0.24);
  transform: translateZ(82px);
}

.model-wall.front {
  left: 42px;
  bottom: 52px;
  width: 270px;
  height: 58px;
  border: 2px solid rgba(247, 242, 233, 0.52);
  background: rgba(214, 161, 63, 0.14);
  transform: rotateX(90deg) translateZ(30px);
}

.model-wall.side {
  right: 26px;
  top: 46px;
  width: 58px;
  height: 178px;
  border: 2px solid rgba(247, 242, 233, 0.46);
  background: rgba(86, 216, 236, 0.1);
  transform: rotateY(90deg) translateZ(28px);
}

.fixture {
  display: none;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(86, 216, 236, 0.7);
  background: rgba(10, 18, 20, 0.86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transform: translateZ(44px);
}

.fixture.kitchen {
  left: 64px;
  top: 82px;
}

.fixture.bath {
  right: 70px;
  top: 86px;
}

.fixture.laundry {
  left: 72px;
  bottom: 62px;
}

.fixture.heater {
  right: 54px;
  bottom: 58px;
}

.line {
  display: none;
  z-index: 4;
  height: 4px;
  border-radius: 999px;
  transform: translateZ(64px);
}

.line.supply {
  left: 64px;
  top: 132px;
  width: 220px;
  background: var(--green);
}

.line.drain {
  left: 92px;
  top: 162px;
  width: 170px;
  background: var(--brick);
}

.line.vent {
  right: 96px;
  top: 92px;
  width: 4px;
  height: 118px;
  background: var(--cyan);
}

.dimension {
  display: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  transform: translateZ(70px);
}

.dimension.width {
  left: 90px;
  bottom: 20px;
}

.dimension.depth {
  right: -18px;
  top: 116px;
  transform: translateZ(70px) rotateZ(90deg);
}

.digital-twin[data-active-layer="interior"] .fixture,
.digital-twin[data-active-layer="xray"] .fixture {
  display: block;
}

.digital-twin[data-active-layer="plumbing"] .line,
.digital-twin[data-active-layer="xray"] .line {
  display: block;
}

.digital-twin[data-active-layer="measurements"] .dimension,
.digital-twin[data-active-layer="xray"] .dimension {
  display: block;
}

.digital-twin[data-active-layer="xray"] .model-wall,
.digital-twin[data-active-layer="xray"] .model-roof {
  opacity: 0.38;
}

.model-readout {
  min-height: 118px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.calculation-readout {
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(86, 216, 236, 0.055);
}

.calculation-readout span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calculation-readout dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 10px 0 0;
}

.calculation-readout div {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.calculation-readout dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.calculation-readout dd {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 950;
}

.smart-view-lab {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(86, 216, 236, 0.24);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.08), transparent 42%),
    rgba(7, 13, 15, 0.86);
  box-shadow: var(--shadow);
}

.smart-view-head {
  display: grid;
  gap: 6px;
  max-width: 900px;
}

.smart-view-head span,
.room-access span,
.camera-status span,
.smart-summary span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.smart-view-head h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.smart-view-head p {
  margin: 0;
  color: var(--soft);
}

.smart-layer-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.smart-layer-tabs button,
.period-buttons button,
.room-access button,
.camera-nav {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.smart-layer-tabs button.active {
  border-color: var(--gold);
  background: rgba(214, 161, 63, 0.88);
  color: #160f08;
}

.period-shifter {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(300px, 1fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(214, 161, 63, 0.26);
  background: rgba(214, 161, 63, 0.055);
}

.period-shifter > div:first-child {
  display: grid;
  align-content: center;
  gap: 5px;
}

.period-shifter span,
.structure-option-strip span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.period-shifter strong {
  font-size: 24px;
}

.period-shifter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.period-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.period-buttons button.active {
  border-color: var(--green);
  background: rgba(143, 223, 145, 0.86);
  color: #07140c;
}

.structure-option-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.structure-option-strip article {
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.structure-option-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.15;
}

.smart-view-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 320px;
  gap: 14px;
}

.room-access,
.smart-summary,
.camera-console {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.room-access {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.room-access button {
  justify-content: flex-start;
  padding: 0 12px;
  text-align: left;
}

.room-access button.active {
  border-color: var(--cyan);
  background: rgba(86, 216, 236, 0.18);
  color: var(--cyan);
}

.camera-console {
  display: grid;
  grid-template-rows: auto minmax(320px, 44vh);
  overflow: hidden;
}

.camera-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.camera-status strong {
  font-size: 24px;
}

.camera-status small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 850;
}

.camera-viewport {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  min-height: 320px;
}

.camera-window {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background:
    linear-gradient(rgba(86, 216, 236, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 216, 236, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 34, 40, 0.98), rgba(9, 14, 16, 0.98));
  background-size: 26px 26px, 26px 26px, 100% 100%;
}

.camera-window::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(86, 216, 236, 0.25);
  pointer-events: none;
}

.camera-track {
  --camera-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 100%);
  height: 100%;
  transform: translateX(calc(var(--camera-index) * -100%));
  transition: transform 520ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.camera-frame {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: 22px;
  overflow: hidden;
}

.camera-frame::before,
.camera-frame::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(247, 242, 233, 0.44);
  transform: skew(-8deg);
}

.camera-frame::before {
  left: 16%;
  top: 16%;
  width: 48%;
  height: 46%;
  background: rgba(247, 242, 233, 0.055);
}

.camera-frame::after {
  right: 14%;
  top: 28%;
  width: 24%;
  height: 34%;
  border-color: rgba(86, 216, 236, 0.48);
}

.camera-frame span,
.camera-frame strong,
.camera-frame p {
  position: relative;
  z-index: 2;
}

.camera-frame span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.camera-frame strong {
  font-size: 30px;
}

.camera-frame p {
  max-width: 640px;
  margin: 6px 0 0;
  color: var(--soft);
}

.camera-nav {
  position: relative;
  z-index: 2;
  min-height: 100%;
  border-radius: 0;
  background: rgba(86, 216, 236, 0.09);
}

.camera-nav:hover {
  background: rgba(86, 216, 236, 0.18);
}

.smart-summary {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.smart-summary h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
}

.smart-summary p {
  margin: 0;
  color: var(--soft);
}

.smart-summary ul {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.smart-summary dl {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

.smart-summary dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.smart-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.smart-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.conversion-playground,
.sales-pitch-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(143, 223, 145, 0.25);
  background:
    linear-gradient(135deg, rgba(143, 223, 145, 0.11), transparent 42%),
    rgba(8, 14, 17, 0.88);
  box-shadow: var(--shadow);
}

.conversion-copy span,
.conversion-meter span,
.sales-pitch-card > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.conversion-copy h3,
.sales-pitch-card h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.conversion-copy p,
.sales-pitch-card p {
  max-width: 980px;
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}

.sound-pad-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sound-pad-board button {
  display: grid;
  align-content: end;
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(86, 216, 236, 0.26);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 28%, rgba(86, 216, 236, 0.28), transparent 34%),
    linear-gradient(180deg, #172225, #0b1114);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.sound-pad-board button:hover,
.sound-pad-board button.active {
  transform: translateY(-3px);
  border-color: var(--green);
}

.sound-pad-board span {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.sound-pad-board b {
  margin-top: 6px;
  font-size: 25px;
  line-height: 1.05;
}

.conversion-meter {
  display: grid;
  grid-template-columns: 180px 180px minmax(0, 1fr);
  gap: 12px;
}

.conversion-meter > div {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.conversion-meter strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.conversion-meter code {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.conversion-output {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(86, 216, 236, 0.24);
  background: rgba(86, 216, 236, 0.075);
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.sales-pitch-card {
  border-color: rgba(214, 161, 63, 0.28);
  background:
    linear-gradient(135deg, rgba(214, 161, 63, 0.13), transparent 42%),
    rgba(8, 14, 17, 0.9);
}

.sales-pitch-card > span {
  color: var(--gold);
}

.pitch-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pitch-points article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.pitch-points strong,
.pitch-points small {
  display: block;
}

.pitch-points strong {
  font-size: 22px;
}

.pitch-points small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.sales-pitch-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--gold);
  color: #160f08;
  font-weight: 950;
  font-size: 17px;
}

.model-readout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.model-readout p {
  margin-bottom: 0;
  color: var(--muted);
}

.curriculum {
  display: grid;
  gap: 12px;
}

.curriculum details {
  padding: 0;
}

.curriculum summary,
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.curriculum summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.curriculum summary strong,
.faq-list summary {
  font-size: 20px;
  font-weight: 900;
}

.curriculum summary span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.curriculum ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 20px 22px 42px;
}

.api-section,
.ownership-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 100px 0 0;
}

.api-section pre {
  overflow: auto;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(86, 216, 236, 0.32);
  background: #071113;
  color: #e5f7f7;
  font-size: 14px;
  line-height: 1.7;
}

.plugin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.plugin-toolbar button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: default;
}

.plugin-toolbar button.active {
  border-color: var(--cyan);
  background: rgba(86, 216, 236, 0.18);
  color: var(--cyan);
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plugin-grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.05);
}

.plugin-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plugin-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.plugin-grid p {
  color: var(--muted);
}

.plugin-grid small {
  color: var(--cyan);
  font-weight: 850;
  text-transform: uppercase;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.roadmap-grid article {
  position: relative;
  min-height: 260px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(86, 216, 236, 0.07), transparent),
    #101719;
}

.roadmap-grid article.active {
  background:
    linear-gradient(180deg, rgba(143, 223, 145, 0.16), transparent),
    #101719;
}

.roadmap-grid article::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.roadmap-grid span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-grid strong {
  display: block;
  margin: 38px 0 10px;
  font-size: 22px;
  line-height: 1.08;
}

.roadmap-grid p {
  color: var(--muted);
}

.commerce-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.commerce-route-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(143, 223, 145, 0.25);
  background:
    linear-gradient(135deg, rgba(143, 223, 145, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.commerce-route-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-route-grid strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.08;
}

.commerce-route-grid p {
  color: var(--muted);
}

.commerce-route-grid code {
  display: block;
  overflow-wrap: anywhere;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  color: var(--cyan);
  font-size: 13px;
}

.asset-route-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.asset-route-toolbar button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.asset-route-toolbar button.active {
  border-color: var(--cyan);
  background: rgba(86, 216, 236, 0.18);
  color: var(--cyan);
}

.asset-route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.asset-route-card {
  display: grid;
  gap: 10px;
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(86, 216, 236, 0.075), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.asset-route-card[data-type="office"] {
  border-color: rgba(214, 161, 63, 0.26);
  background:
    linear-gradient(135deg, rgba(214, 161, 63, 0.11), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.asset-route-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-route-card[data-type="office"] span {
  color: var(--gold);
}

.asset-route-card strong {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

.asset-route-card p {
  font-size: 16px;
  margin: 0;
  color: var(--muted);
}

.asset-route-card code {
  display: block;
  overflow-wrap: anywhere;
  padding: 9px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--soft);
  font-size: 12px;
}

.asset-route-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--cyan);
  color: #061114;
  font-weight: 950;
  font-size: 17px;
}

.asset-route-card[data-type="office"] a {
  background: var(--gold);
  color: #160f08;
}

.register-flow,
.owner-card {
  min-height: 360px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.flow-steps span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 900;
}

.flow-steps .active {
  color: #071113;
  background: var(--green);
}

.owner-card {
  padding: 24px;
}

.owner-card strong {
  display: block;
  font-size: 28px;
}

.owner-card small {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.owner-card dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.owner-card div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.owner-card dt {
  color: var(--soft);
  font-weight: 800;
}

.owner-card dd {
  margin: 0;
}

.credibility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, calc(100% - 44px));
  margin: 90px auto 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.site-footer span {
  max-width: 620px;
  color: var(--muted);
  text-align: right;
  text-transform: none;
}

.phrase-mode .intro-section,
.phrase-mode .decentralized-entry-section,
.phrase-mode #curriculum,
.phrase-mode .pathway-section,
.phrase-mode .api-section,
.phrase-mode .plugin-section,
.phrase-mode .roadmap-section,
.phrase-mode .commerce-route-section,
.phrase-mode .asset-routes-section,
.phrase-mode .ownership-section,
.phrase-mode .faq-section {
  display: none;
}

.phrase-mode .site-rail {
  min-height: 58px;
  position: static;
}

.phrase-mode .rail-nav a:not([href="#demo"]),
.phrase-mode .brand small {
  display: none;
}

.phrase-mode .hero {
  min-height: auto;
}

.phrase-mode .hero-grid {
  grid-template-columns: 1fr;
  padding: 42px 0 18px;
}

.phrase-mode .hero-copy {
  max-width: 820px;
}

.phrase-mode h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.88;
}

.phrase-mode .hero-lead {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 850;
}

.phrase-line {
  color: var(--ink);
  font-weight: 900;
}

.phrase-mode .hero-meta span,
.phrase-mode .web3-proof-strip span,
.phrase-mode .trust-strip div {
  border-color: rgba(86, 216, 236, 0.22);
  background: rgba(86, 216, 236, 0.06);
}

.phrase-mode .trust-strip {
  display: none;
}

.phrase-mode .hero-actions,
.phrase-mode .purchase-panel,
.phrase-mode .hero-wallet-card,
.phrase-mode .asset-route-card a {
  display: none;
}

.phrase-mode .web3-proof-strip {
  grid-template-columns: repeat(6, 1fr);
}

.phrase-mode .trust-strip strong,
.phrase-mode .web3-proof-strip span {
  font-size: 14px;
}

.phrase-mode .trust-strip span,
.phrase-mode .hero-wallet-card p,
.phrase-mode .panel-note,
.phrase-mode .price-stack p,
.phrase-mode .preview-frame small {
  display: none;
}

.phrase-mode .demo-section {
  width: min(100% - 28px, 1560px);
  padding-top: 8px;
}

.phrase-mode .demo-copy,
.phrase-mode .demo-controls {
  display: none;
}

.phrase-mode .builder-search,
.phrase-mode .builder-object-list,
.phrase-mode .builder-audience-list,
.phrase-mode .inspector-audience,
.phrase-mode .builder-right-panel a {
  display: none;
}

.phrase-mode .builder-access-pack {
  display: grid;
}

.phrase-mode .digital-twin {
  grid-template-rows: minmax(840px, calc(100vh - 82px)) auto;
  border-radius: 12px;
  overflow: hidden;
}

.phrase-mode .builder-app-shell {
  inset: 0;
  grid-template-columns: 300px minmax(0, 1fr) 320px;
  grid-template-rows: 64px minmax(0, 1fr) 132px;
  min-width: 1240px;
  border-radius: 12px;
  background: #242424;
}

.phrase-mode .builder-app-shell::before,
.phrase-mode .builder-app-shell::after {
  left: 300px;
  right: 320px;
}

.phrase-mode .builder-app-shell::after {
  bottom: 132px;
}

.phrase-mode .asset-scene-canvas {
  left: 300px;
  right: 320px;
  top: 64px;
  bottom: 132px;
  width: calc(100% - 620px);
  height: calc(100% - 196px);
}

.phrase-mode .builder-topbar {
  grid-template-columns: 166px minmax(0, 1fr) auto;
  background: #252525;
}

.phrase-mode .builder-tools button {
  min-width: 58px;
  font-size: 12px;
}

.phrase-mode .builder-kit-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.phrase-mode .builder-kit-grid button {
  min-height: 112px;
}

.phrase-mode .kit-thumb {
  height: 60px;
}

.phrase-mode .builder-viewport-label {
  display: none;
}

.phrase-mode .nft-home-diorama {
  display: none;
}

.phrase-mode .business-diorama {
  display: none;
}

.phrase-mode .smart-view-lab {
  display: none;
}

.phrase-mode .smart-view-head p,
.phrase-mode .camera-description,
.phrase-mode .smart-summary p,
.phrase-mode .conversion-copy p,
.phrase-mode .conversion-output {
  display: none;
}

.phrase-mode .sales-pitch-card {
  padding: 26px;
}

.phrase-mode .sales-pitch-card h3 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 82px);
}

.phrase-mode .sales-pitch-card p,
.phrase-mode .sales-pitch-card .phrase-line {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 850;
}

.phrase-mode .pitch-points {
  grid-template-columns: repeat(4, 1fr);
}

.phrase-mode .decentralized-entry-window {
  width: auto;
  max-width: calc(100vw - 28px);
}

.phrase-mode .asset-routes-section .section-heading p,
.phrase-mode .asset-route-card p,
.phrase-mode .asset-route-card code {
  display: none;
}

@media (max-width: 980px) {
  .site-rail {
    grid-template-columns: 1fr auto;
  }

  .rail-nav {
    display: none;
  }

  .hero-grid,
  .hero-wallet-card,
  .demo-section,
  .api-section,
  .plugin-section,
  .roadmap-section,
.commerce-route-section,
.asset-routes-section,
.ownership-section {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .learn-grid,
  .pathways,
  .roadmap-grid,
.commerce-route-grid,
.asset-route-grid,
  .plugin-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculation-readout dl {
    grid-template-columns: 1fr 1fr;
  }

  .period-shifter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-rail {
    min-height: 60px;
    padding: 8px 12px;
  }

  .brand small {
    display: none;
  }

  .rail-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-grid,
  .hero-wallet-card,
  .web3-proof-strip,
  .trust-strip,
  .section,
  .demo-section,
  .pathway-section,
  .api-section,
  .plugin-section,
  .roadmap-section,
.commerce-route-section,
.asset-routes-section,
  .ownership-section,
  .faq-section,
  .site-footer {
    width: min(100% - 24px, 1220px);
  }

  .hero-grid {
    padding: 48px 0 40px;
  }

  .hero-wallet-card,
  .hero-wallet-card dl,
  .web3-proof-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lead,
  .section-heading,
  .demo-copy p,
  .api-section p,
  .register-flow p {
    font-size: 16px;
  }

  .trust-strip,
  .learn-grid,
  .pathways,
  .plugin-grid,
  .roadmap-grid,
.commerce-route-grid,
.asset-route-grid,
  .credibility {
    grid-template-columns: 1fr;
  }

  .digital-twin {
    grid-template-rows: 380px auto;
  }

  .model-house {
    width: 280px;
    height: 220px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .calculation-readout dl {
    grid-template-columns: 1fr;
  }

  .smart-layer-tabs,
  .period-buttons,
  .structure-option-strip,
  .sound-pad-board,
  .conversion-meter,
  .pitch-points {
    grid-template-columns: 1fr;
  }

  .smart-view-grid {
    grid-template-columns: 1fr;
  }

  .camera-viewport {
    grid-template-columns: 1fr;
  }

  .camera-nav {
    min-height: 44px;
  }

  .owner-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer span {
    text-align: left;
  }
}

@media (max-width: 980px) {
  .phrase-mode .web3-proof-strip,
  .phrase-mode .hero-wallet-card {
    display: none;
  }

  .phrase-mode .hero-grid {
    grid-template-columns: 1fr;
  }

  .phrase-mode h1 {
    font-size: clamp(46px, 14vw, 82px);
  }

  .phrase-mode .digital-twin {
    grid-template-rows: minmax(820px, calc(100vh - 74px)) auto;
  }

  .phrase-mode .builder-app-shell {
    inset: 0;
    min-width: 0;
    grid-template-columns: 136px minmax(0, 1fr) 132px;
    grid-template-rows: 52px minmax(0, 1fr) 112px;
  }

  .phrase-mode .builder-app-shell::before {
    left: 136px;
    right: 132px;
    top: 52px;
    bottom: 112px;
  }

  .phrase-mode .builder-app-shell::after {
    left: 136px;
    right: 132px;
    bottom: 112px;
  }

  .phrase-mode .asset-scene-canvas {
    left: 136px;
    right: 132px;
    top: 52px;
    bottom: 112px;
    width: calc(100% - 268px);
    height: calc(100% - 164px);
  }

  .phrase-mode .asset-capture-effect {
    left: 136px;
    right: 132px;
    top: 52px;
    bottom: 112px;
  }

  .phrase-mode .scene-access-strip {
    left: 146px;
    top: 62px;
    width: calc(100% - 292px);
    gap: 4px;
  }

  .phrase-mode .scene-access-strip button {
    min-height: 25px;
    padding: 0 7px;
    font-size: 9px;
  }

  .phrase-mode .builder-topbar {
    grid-template-columns: 108px minmax(0, 1fr) 110px;
    gap: 6px;
    padding: 7px;
  }

  .phrase-mode .builder-project-tab {
    min-height: 36px;
    padding: 0 7px;
    gap: 7px;
  }

  .phrase-mode .builder-project-tab strong,
  .phrase-mode .builder-tabs .tab,
  .phrase-mode .builder-tools button,
  .phrase-mode .builder-tools .real3d-launch {
    font-size: 10px;
  }

  .phrase-mode .builder-project-tab span {
    width: 12px;
    height: 16px;
  }

  .phrase-mode .builder-tabs {
    gap: 5px;
    overflow: hidden;
  }

  .phrase-mode .builder-tabs .tab {
    min-height: 34px;
    padding: 0 8px;
  }

  .phrase-mode .builder-tabs .tab:nth-child(4) {
    display: none;
  }

  .phrase-mode .builder-tools {
    gap: 4px;
    justify-content: end;
  }

  .phrase-mode .builder-tools button,
  .phrase-mode .builder-tools .real3d-launch {
    min-width: 34px;
    min-height: 34px;
    padding: 0 4px;
  }

  .phrase-mode .builder-tools .zoom-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    font-size: 18px;
  }

  .phrase-mode .builder-right-panel {
    display: block;
    grid-column: 3;
    grid-row: 2 / 4;
    padding: 7px;
  }

  .phrase-mode .builder-left-panel {
    grid-column: 1;
    grid-row: 2 / 4;
    padding: 8px;
  }

  .phrase-mode .builder-kit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .phrase-mode .builder-kit-grid button {
    min-height: 82px;
    padding: 7px;
  }

  .phrase-mode .kit-thumb {
    height: 38px;
  }

  .phrase-mode .builder-kit-grid b {
    font-size: 12px;
  }

  .phrase-mode .builder-kit-grid small,
  .phrase-mode .panel-title span,
  .phrase-mode .builder-side-icons,
  .phrase-mode .inspector-category,
  .phrase-mode .unreal-api-panel span,
  .phrase-mode .builder-right-panel label,
  .phrase-mode .inspector-check,
  .phrase-mode .inspector-preview b {
    font-size: 10px;
  }

  .phrase-mode .panel-title strong {
    font-size: 16px;
  }

  .phrase-mode .builder-side-icons {
    gap: 5px;
    margin-bottom: 8px;
  }

  .phrase-mode .builder-category-row {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .phrase-mode .mini-tool.gear {
    display: none;
  }

  .phrase-mode .category-select,
  .phrase-mode .inspector-category,
  .phrase-mode .builder-side-icons button,
  .phrase-mode .mini-tool {
    min-height: 30px;
  }

  .phrase-mode .unreal-api-panel {
    grid-template-columns: 1fr;
    min-height: 36px;
    gap: 2px;
    padding: 7px;
  }

  .phrase-mode .unreal-api-panel strong {
    text-align: left;
    font-size: 10px;
  }

  .phrase-mode .control-room-panel {
    gap: 5px;
    padding: 7px;
  }

  .phrase-mode .control-room-panel strong,
  .phrase-mode .control-room-stats em {
    font-size: 11px;
  }

  .phrase-mode .control-room-panel code,
  .phrase-mode .control-room-panel i {
    display: none;
  }

  .phrase-mode .inspector-preview {
    min-height: 94px;
  }

  .phrase-mode .chair-cube {
    width: 44px;
    height: 44px;
  }

  .phrase-mode .builder-right-panel label {
    grid-template-columns: 42px 1fr;
    gap: 5px;
    margin-bottom: 6px;
  }

  .phrase-mode .builder-right-panel input {
    height: 30px;
    padding: 0 6px;
    font-size: 10px;
  }

  .phrase-mode .builder-object-list,
  .phrase-mode .builder-audience-list,
  .phrase-mode .builder-search {
    display: none;
  }

  .phrase-mode .builder-access-pack {
    display: grid;
    margin-top: 8px;
    padding: 8px;
  }

  .phrase-mode .builder-viewport-label {
    left: 168px;
    right: 12px;
    top: 78px;
    max-width: none;
  }

  .phrase-mode .nft-home-diorama {
    left: calc(44% + 68px);
    top: 52%;
    width: 360px;
    height: 285px;
  }

  .phrase-mode .business-diorama {
    right: 16%;
    top: 56%;
    width: 280px;
    height: 230px;
  }

  .phrase-mode .view-shot-strip {
    left: 144px;
    right: 140px;
    bottom: 120px;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phrase-mode .asset-money-rail,
  .phrase-mode .creator-signal-rail {
    display: none;
  }

  .phrase-mode .asset-money-rail {
    left: auto;
    right: 334px;
    bottom: 145px;
  }

  .phrase-mode .creator-signal-rail {
    left: 314px;
    right: auto;
    bottom: 145px;
  }

  .phrase-mode .view-shot {
    min-height: 64px;
  }

  .phrase-mode .view-shot b {
    margin-top: 16px;
    font-size: 10px;
  }

  .phrase-mode .view-shot span {
    margin-top: 8px;
    font-size: 10px;
  }

  .phrase-mode .math-console {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: 116px minmax(0, 1fr);
    overflow: hidden;
    padding: 8px;
    gap: 7px;
  }

  .phrase-mode .math-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .phrase-mode .math-grid article {
    padding: 6px;
  }

  .phrase-mode .math-grid article:nth-child(n+3) {
    display: none;
  }

  .phrase-mode .math-console-head strong {
    font-size: 16px;
  }

  .phrase-mode .math-grid code,
  .phrase-mode .math-grid b {
    font-size: 10px;
  }
}
