/* ARTEFACT V11 — CHAIN TERMINAL
   One readable trading surface. One spatial grammar. One Bitcoin truth. */

:root {
  --header: 72px;
  --truth: 40px;
  --spine: 78px;
  --footer: 34px;
  --void: #020302;
  --void-soft: #070906;
  --graphite: #0d110d;
  --bone: #f2f3ec;
  --bone-soft: #c7ccc4;
  --muted: #929b92;
  --ghost: #626b63;
  --orange: #ff7a00;
  --orange-rgb: 255 122 0;
  --verify: #8bffc7;
  --verify-rgb: 139 255 199;
  --line: rgb(217 232 219 / 13%);
  --line-hot: rgb(255 122 0 / 55%);
}

html, body { min-height: 100%; background: var(--void); }
body { font-size: 15px; letter-spacing: .005em; }
button, input, select, a { font-size: inherit; }
.film-grain { opacity: .12; mix-blend-mode: screen; }
.space-field { opacity: 1; filter: contrast(1.2) brightness(1.15); }
.deep-field { opacity: .58; }
.cipher-field { opacity: .34; }
.atmosphere::before { background: radial-gradient(ellipse at 63% 44%, transparent 0 15%, rgb(0 0 0 / 20%) 57%, rgb(0 0 0 / 84%) 100%); }
.operative-mission, .block-breach { display: none !important; }

.cipher-stream {
  position: fixed;
  z-index: 4;
  overflow: hidden;
  color: rgb(139 255 199 / 24%);
  font: 650 9px/1 var(--mono);
  letter-spacing: .15em;
  pointer-events: none;
  mix-blend-mode: screen;
}
.cipher-stream span { position: absolute; display: block; white-space: nowrap; }
.cipher-stream-x { right: 0; bottom: calc(var(--spine) + var(--footer)); left: 0; height: 20px; border-top: 1px solid rgb(139 255 199 / 12%); background: rgb(0 0 0 / 55%); }
.cipher-stream-x span { top: 6px; width: max-content; animation: cipher-x-a 30s linear infinite; }
.cipher-stream-x span:nth-child(2) { animation-name: cipher-x-b; }
.cipher-stream-y { top: calc(var(--header) + var(--truth)); right: 0; bottom: calc(var(--spine) + var(--footer)); width: 20px; border-left: 1px solid rgb(139 255 199 / 11%); background: rgb(0 0 0 / 52%); writing-mode: vertical-rl; }
.cipher-stream-y span { right: 6px; height: max-content; animation: cipher-y-a 22s linear infinite; }
.cipher-stream-y span:nth-child(2) { animation-name: cipher-y-b; }

.kernel-header {
  grid-template-columns: 246px minmax(600px, 1fr) auto;
  background: rgb(2 3 2 / 84%);
  backdrop-filter: blur(22px) saturate(1.2);
}
.kernel-header::after { bottom: -18px; right: 24px; font-size: 8px; }
.kernel-brand { padding-inline: 22px; }
.kernel-brand strong { font: 820 16px/.9 var(--mono); letter-spacing: .18em; }
.kernel-brand small { margin-top: 7px; font-size: 9px; }
.kernel-nav { justify-content: flex-start; }
.kernel-nav a { min-width: 146px; padding-inline: 24px; }
.kernel-nav a::before { font-size: 9px; }
.kernel-nav span { font: 740 12px/1 var(--mono); letter-spacing: .07em; }
.kernel-nav small { font-size: 9px; }
.chain-status { min-width: 138px; }
.chain-status span { font-size: 10px; }
.chain-status b { font-size: 12px; }
.kernel-wallet { min-width: 220px; font-size: 11px; }

.kernel-truth { gap: 22px; padding-inline: 22px; font-size: 10px; background: rgb(2 3 2 / 88%); }
.kernel-truth p { color: var(--bone-soft); }
.kernel-main { padding-bottom: calc(var(--spine) + var(--footer)); }
.kernel-view { min-height: calc(100svh - var(--header) - var(--truth) - var(--spine) - var(--footer)); animation: terminal-view-enter 480ms steps(8) both; }

.route-aperture {
  height: 128px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) scaleY(0);
  grid-template-columns: auto auto;
  gap: 24px;
  border-block: 1px solid var(--orange);
  background: rgb(0 0 0 / 96%);
  box-shadow: 0 0 80px rgb(255 122 0 / 16%);
}
.route-aperture::before { background: repeating-linear-gradient(180deg, transparent 0 4px, rgb(139 255 199 / 7%) 5px); }
.route-aperture::after { inset: 0 auto 0 48%; width: 2px; height: auto; box-shadow: 0 0 38px 10px var(--orange); }
.route-aperture pre { top: 14px; right: 22px; font-size: 9px; line-height: 1.5; }
.route-aperture > span { font: 260 54px/.8 var(--mono); }
.route-aperture small { font-size: 9px; }
.route-aperture strong { font: 760 clamp(18px, 2vw, 28px)/1 var(--mono); letter-spacing: -.03em; text-shadow: 3px 0 var(--orange), -2px 0 rgb(139 255 199 / 40%); }
.route-aperture.is-routing { animation: terminal-route 640ms steps(8) both; }

.market-poster {
  min-height: calc(100svh - var(--header) - var(--truth) - var(--spine) - var(--footer));
  background: linear-gradient(90deg, rgb(0 0 0 / 84%) 0 352px, transparent 352px);
}
.market-poster::before { left: 352px; background: linear-gradient(transparent, rgb(139 255 199 / 18%) 18%, rgb(139 255 199 / 18%) 82%, transparent); }
.market-poster::after { right: 16%; width: 46vw; border-color: rgb(139 255 199 / 5%); box-shadow: 0 0 0 8vw rgb(139 255 199 / 1.5%), 0 0 0 19vw rgb(255 122 0 / 1.3%); }
.market-ghost { display: none; }
.market-cipher { display: none; }

.market-thesis { inset: 30px auto auto 30px; width: 292px; pointer-events: none; }
.market-thesis > p:first-child { position: static; transform: none; width: auto; display: grid; gap: 7px; color: var(--muted); font: 700 10px/1.2 var(--mono); letter-spacing: .1em; }
.market-thesis > p:first-child span { color: var(--verify); }
.market-thesis h1 { position: static; margin-top: 25px; font: 800 clamp(42px, 4.2vw, 66px)/.86 var(--mono); letter-spacing: -.075em; }
.market-thesis h1 span, .market-thesis h1 em { position: static; transform: none; white-space: normal; }
.market-thesis h1 span:first-child { color: var(--bone); animation: none; }
.market-thesis h1 span:nth-child(2) { margin-top: 4px; color: var(--orange); text-shadow: 0 0 32px rgb(255 122 0 / 24%); animation: market-word-glitch 5.4s steps(1) infinite; }
.market-thesis h1 em { margin-top: 14px; color: var(--muted); font: 700 11px/1.25 var(--mono); letter-spacing: .11em; -webkit-text-stroke: 0; animation: none; }
.market-intro { position: static; width: auto; margin-top: 28px; padding: 16px 0 0; border-top: 1px solid var(--line-hot); color: var(--bone-soft); font: 500 13px/1.6 var(--mono); }
.market-intro::before { top: -3px; width: 6px; height: 6px; }
.market-intro b { color: var(--verify); }
.market-proofline { position: static; display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 22px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.market-proofline i { display: none; }

.market-poster > .module-metrics { top: auto; right: auto; bottom: 24px; left: 30px; width: 292px; transform: none; grid-template-columns: 1fr 1fr; background: transparent; }
.market-poster > .module-metrics div { min-height: 55px; padding: 0 10px 0 0; }
.market-poster > .module-metrics div:nth-child(odd) { border-right: 1px solid var(--line); }
.market-poster > .module-metrics div:nth-child(even) { padding-left: 12px; }
.market-poster > .module-metrics dt { font-size: 9px; }
.market-poster > .module-metrics dd { font-size: 12px; }

.orbital-stage { inset: 0 0 0 352px; border-left: 1px solid rgb(139 255 199 / 8%); }
.stage-head { top: 18px; right: 28px; left: 28px; }
.stage-head > div:first-child { opacity: 1; color: var(--bone-soft); font-size: 10px; }
.stage-head span, .stage-head b { font-size: 10px; }
.projection-switch { border-radius: 0; background: rgb(0 0 0 / 64%); }
.projection-switch button { min-width: 78px; min-height: 32px; border-radius: 0; font-size: 10px; }
.projection-switch button[aria-pressed="true"] { background: var(--orange); color: #000; }
#market-orbit { background: radial-gradient(ellipse at 44% 48%, rgb(139 255 199 / 2.5%), transparent 56%); }
#market-orbit.is-cluster-expanding { animation: cluster-aperture 620ms cubic-bezier(.18,.78,.22,1); }
#market-orbit.is-cluster-collapsing { animation: cluster-return 460ms cubic-bezier(.2,.72,.2,1); }
#market-orbit[data-cluster-state="open"] { cursor: crosshair; }
.field-geometry { inset: 0; }
.field-axis { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .08em; }
.field-axis b { font-size: 9px; }
.field-axis i { color: var(--bone-soft); font-size: 10px; }
.field-axis-x { right: 24px; bottom: 18px; left: 24px; }
.field-axis-y { top: 80px; bottom: 126px; left: 21px; }
.field-depth, .field-mass { display: none; }
.field-guide { top: 66px; right: auto; bottom: auto; left: 28px; display: flex; gap: 18px; padding: 9px 12px; border: 1px solid var(--line); background: rgb(0 0 0 / 72%); color: var(--muted); font: 650 9px/1 var(--mono); letter-spacing: .07em; }
.field-guide span::before { color: var(--verify); }
.field-camera, .atlas-reticle, .target-lock, .machine-dossier, .atlas-legend, .blockspace-transmission { display: none !important; }
.orbit-axis { display: none; }

.market-quicklist { position: absolute; z-index: 14; top: 112px; right: 26px; width: min(35vw, 430px); max-height: min(360px, 44vh); overflow: auto; border: 1px solid rgb(139 255 199 / 22%); border-top-color: var(--verify); background: rgb(0 0 0 / 86%); box-shadow: 0 22px 70px rgb(0 0 0 / 42%); backdrop-filter: blur(16px); }
.market-quicklist > header { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .11em; }
.market-quicklist > header b { color: var(--verify); font-size: 11px; }
.market-quickrow { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) 72px; border-bottom: 1px solid var(--line); }
.market-quickrow:last-child { border-bottom: 0; }
.market-quickrow[data-selected="true"] { background: linear-gradient(90deg, rgb(255 122 0 / 15%), transparent); box-shadow: inset 3px 0 var(--orange); }
.market-quickselect, .market-quickbuy { border: 0; color: var(--bone); background: transparent; font-family: var(--mono); }
.market-quickselect { min-width: 0; display: grid; gap: 10px; padding: 12px 14px; text-align: left; }
.market-quickselect > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.market-quickselect strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.market-quickselect b { font-size: 11px; }
.market-quickselect small { color: var(--muted); font-size: 9px; }
.market-quickselect span:last-child small { color: var(--verify); }
.market-quickbuy { border-left: 1px solid var(--line); color: var(--orange); font-size: 12px; font-weight: 800; }
.market-quickbuy:hover { background: var(--orange); color: #000; }

.atlas-readout { right: auto; bottom: 30px; left: 28px; width: min(42vw, 490px); padding: 16px; border: 1px solid rgb(255 122 0 / 38%); background: rgb(0 0 0 / 88%); box-shadow: 0 20px 60px rgb(0 0 0 / 45%); }
.atlas-readout::before { content: "SELECTED UTXO / EXECUTABLE QUOTE"; top: -21px; color: var(--orange); font-size: 9px; }
.readout-kicker { font-size: 10px; }
.atlas-readout > p { color: var(--bone-soft); font-size: 11px; }
.atlas-exchange { margin-top: 13px; }
.atlas-exchange small { font-size: 10px; }
.atlas-exchange strong { margin-top: 5px; font-size: clamp(20px, 1.8vw, 28px); }
.atlas-path { margin-top: 13px; font-size: 10px; }
.atlas-edge { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding: 8px 0; border-block: 1px solid var(--line); color: var(--muted); font: 700 10px/1 var(--mono); }
.atlas-edge strong { color: var(--verify); font-size: 14px; }
.market-actions { display: grid; grid-template-columns: 1.25fr 1fr .72fr; margin-top: 11px; border: 1px solid var(--line-hot); }
.market-actions .enter-position { min-height: 48px; margin: 0; padding: 0 12px; border: 0; border-right: 1px solid rgb(255 122 0 / 30%); font-size: 10px; }
.market-actions .enter-position:last-child { border-right: 0; }
.market-buy { background: var(--orange); color: #000; }
.market-verify, .market-inspect { background: #000; color: var(--bone); }
.market-actions .enter-position:hover:not(:disabled) { transform: none; background: var(--bone); color: #000; }
.position-selector { right: 27px; bottom: 26px; left: auto; transform: none; }
.position-selector button { width: 40px; height: 40px; font-size: 16px; }
.position-selector span { min-width: 102px; }
.position-selector b { font-size: 10px; }
.position-selector small { font-size: 8px; }

.block-spine { grid-template-columns: 230px minmax(0, 1fr) 220px; background: rgb(1 2 1 / 94%); border-top-color: rgb(139 255 199 / 28%); }
.spine-label, .spine-fee { padding-inline: 20px; font-size: 10px; }
.spine-label span { display: grid; gap: 6px; }
.spine-label b { color: var(--bone); font: 750 11px/1 var(--mono); }
.spine-label small { color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: 0; }
.spine-track article { flex-basis: 118px; gap: 6px; padding-inline: 12px; }
.spine-track span, .spine-track small { font-size: 8px; }
.spine-track b { font-size: 11px; }
.spine-track article.is-tip { color: var(--bone); background: linear-gradient(180deg, rgb(255 122 0 / 16%), transparent); }
.spine-fee { display: grid; align-content: center; gap: 7px; }
.spine-fee span { font-size: 9px; }
.spine-fee b { font-size: 12px; }
.kernel-footer { padding-inline: 20px; font-size: 9px; }

.module-head { min-height: 170px; padding: 34px 34px 28px; }
.module-head > div:first-child > p { font-size: 10px; }
.module-head h1 { font: 790 clamp(42px, 5vw, 72px)/.85 var(--mono); }
.module-head > div:first-child > span { max-width: 760px; font-size: 14px; line-height: 1.5; }
.module-head .module-metrics { width: min(46vw, 650px); }
.module-metrics dt { font-size: 9px; }
.module-metrics dd { font-size: 13px; }

.positions-console { min-height: calc(100svh - 282px); grid-template-columns: 340px minmax(430px, 1fr) 420px; background: rgb(0 0 0 / 28%); }
.forge-console { min-height: calc(100svh - 282px); grid-template-columns: 330px minmax(430px, 1fr) 420px; background: rgb(0 0 0 / 28%); }
.position-ledger, .campaign-index, .control-inspector, .forge-inspector { background: rgb(2 3 2 / 86%); }
.position-ledger { min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
.campaign-index { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
#owned-list, #campaign-list { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: rgb(139 255 199 / 38%) transparent; }
.position-ledger > header, .campaign-index > header { min-height: 92px; padding: 20px; }
.position-ledger h2, .campaign-index h2 { font-size: 22px; }
.owner-filters button { min-height: 42px; font-size: 10px; }
.owned-kernel-row, .campaign-row { min-height: 94px; padding: 17px 18px; }
.owned-kernel-row strong, .campaign-row strong { font-size: 13px; }
.owned-kernel-row span, .campaign-row span, .campaign-economics span { font-size: 10px; }
.owned-kernel-row b, .campaign-row b, .campaign-economics b { font-size: 11px; }
.owned-kernel-row[aria-pressed="true"], .campaign-row[aria-pressed="true"] { background: linear-gradient(90deg, rgb(255 122 0 / 18%), transparent); box-shadow: inset 3px 0 var(--orange); }
.owner-orbit, .genesis-field { min-height: 540px; background: radial-gradient(circle at 50% 50%, rgb(139 255 199 / 4%), transparent 52%); }
.owner-ascii, .genesis-ascii { color: rgb(139 255 199 / 48%); font-size: 10px; line-height: 1.65; }
.owner-orbit-copy, .genesis-coordinate, .genesis-steps { font-size: 9px; }
.control-inspector, .forge-inspector { padding: 24px; }
.control-inspector > header span, .forge-inspector > header span { font-size: 10px; }
.control-inspector > header b, .forge-inspector > header b { font-size: 11px; }
.control-inspector > p, .forge-inspector > p { font-size: 11px; }
.control-inspector > h2, .forge-inspector > h2 { font: 760 26px/1 var(--mono); }
.proof-lines > div { min-height: 46px; }
.proof-lines dt { font-size: 10px; }
.proof-lines dd { font-size: 12px; }
.control-alert { margin: 14px 0; padding: 12px; border-left: 3px solid var(--reorg); background: rgb(255 77 94 / 9%); color: #ff9aa4; font: 650 11px/1.5 var(--mono); }
.control-actions { border-top-color: rgb(255 122 0 / 35%); }
.control-actions button { min-height: 68px; }
.control-actions button span { font-size: 12px; }
.control-actions button small { font-size: 9px; }
.kernel-primary, .kernel-ghost, .forge-mint-action { min-height: 54px; font-size: 11px; }
.forge-mint-action { background: var(--orange); color: #000; }
.mempool-link { min-height: 36px; color: var(--verify); font: 750 10px/1 var(--mono); }
.glitch-text { animation: terminal-text-glitch 5s steps(1) infinite; }

.market-ledger { inset: 28px; }
.market-ledger > header { min-height: 118px; }
.market-ledger header p, .kernel-search, .kernel-select { font-size: 10px; }
.ledger-head { font-size: 9px; }
.book-row { min-height: 94px; }
.book-copy strong { font-size: 13px; }
.book-copy small, .book-economics span { font-size: 9px; }
.book-economics b { font-size: 11px; }

.position-chamber { background: rgb(0 0 0 / 98%); }
.chamber-description, .chamber-facts dt, .chamber-facts dd { font-size: 11px; }
.chamber-identity h2 { font-family: var(--mono); }
.proof-xray, .execution-kernel { background: #000; }
.xray-proof span, .xray-proof small, .execution-kernel > header span, .execution-body aside span, .execution-proof span { font-size: 10px; }
.xray-proof strong, .execution-kernel > header b, .execution-body aside strong { font-size: 12px; }
.execution-body article > p { font-size: 11px; }
.execution-body article h2 { font-family: var(--mono); }
.execution-body article > span { font-size: 14px; line-height: 1.6; }
#execution-steps li b { font-size: 12px; }
#execution-steps li small { font-size: 10px; }
.execution-ascii { color: rgb(139 255 199 / 60%); font-size: 11px; line-height: 1.75; }
.execution-reactor { border-radius: 0; }
.execution-reactor::before, .execution-reactor::after { content: ""; position: absolute; inset: 18%; border: 1px dashed rgb(255 122 0 / 38%); transform: rotate(45deg); animation: protocol-orbit 5s linear infinite; }
.execution-reactor::after { inset: 29%; border-color: rgb(139 255 199 / 28%); animation-direction: reverse; animation-duration: 3.2s; }

.kernel-sheet { font-size: 13px; }
.kernel-sheet h2 { font-family: var(--mono); }
.sheet-field span, .sheet-quote dt, .sheet-status { font-size: 10px; }
.sheet-quote dd { font-size: 12px; }
.kernel-toast { font-size: 12px; }

@keyframes cipher-x-a { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes cipher-x-b { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes cipher-y-a { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes cipher-y-b { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes terminal-view-enter { from { opacity: 0; filter: brightness(3) blur(3px); clip-path: inset(48% 0); } to { opacity: 1; filter: none; clip-path: inset(0); } }
@keyframes terminal-route { 0% { visibility: visible; transform: translateY(-50%) scaleY(0); } 24%, 66% { visibility: visible; transform: translateY(-50%) scaleY(1); } 100% { visibility: hidden; transform: translateY(-50%) scaleY(0); } }
@keyframes market-word-glitch { 0%, 91%, 100% { transform: none; text-shadow: 0 0 32px rgb(255 122 0 / 24%); } 92% { transform: translateX(-4px); text-shadow: 7px 0 rgb(139 255 199 / 45%), -3px 0 var(--orange); } 94% { transform: translateX(3px); } }
@keyframes terminal-text-glitch { 0%, 92%, 100% { transform: none; text-shadow: 2px 0 rgb(255 122 0 / 45%); } 93% { transform: translateX(-3px); text-shadow: 6px 0 var(--orange), -3px 0 var(--verify); } 95% { transform: translateX(2px); } }
@keyframes cluster-aperture {
  0% { filter: brightness(.84) saturate(.72); transform: scale(.994); }
  38% { filter: brightness(1.24) saturate(1.12); }
  100% { filter: none; transform: none; }
}
@keyframes cluster-return {
  0% { filter: brightness(1.16) saturate(1.08); }
  100% { filter: none; }
}
@keyframes protocol-orbit { to { transform: rotate(405deg); } }

@media (max-width: 1240px) {
  .kernel-header { grid-template-columns: 210px 1fr auto; }
  .kernel-nav a { min-width: 118px; padding-inline: 16px; }
  .kernel-wallet { min-width: 180px; }
  .market-poster { background: linear-gradient(90deg, rgb(0 0 0 / 84%) 0 304px, transparent 304px); }
  .market-poster::before { left: 304px; }
  .market-thesis, .market-poster > .module-metrics { left: 24px; width: 255px; }
  .market-thesis h1 { font-size: 44px; }
  .orbital-stage { left: 304px; }
  .market-quicklist { width: 360px; }
  .positions-console, .forge-console { grid-template-columns: 300px minmax(380px, 1fr) 370px; }
}

@media (max-width: 940px) {
  :root { --header: 64px; --truth: 38px; --spine: 66px; }
  .kernel-header { grid-template-columns: 1fr auto; }
  .kernel-nav { justify-content: stretch; }
  .market-poster { min-height: 920px; background: transparent; }
  .market-poster::before { display: none; }
  .market-thesis { top: 28px; left: 22px; width: calc(100% - 44px); }
  .market-thesis h1 { font-size: clamp(42px, 10vw, 70px); }
  .market-thesis h1 em { font-size: 11px; }
  .market-intro { max-width: 620px; }
  .market-proofline { display: flex; flex-wrap: wrap; }
  .orbital-stage { inset: 340px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .market-poster > .module-metrics { display: none; }
  .market-quicklist { top: 92px; right: 16px; width: min(48vw, 390px); }
  .atlas-readout { right: 16px; bottom: 24px; left: 16px; width: auto; }
  .position-selector { display: none; }
  .block-spine { grid-template-columns: 170px 1fr; }
  .spine-fee { display: none; }
  .positions-console, .forge-console { display: flex; flex-direction: column; }
  .position-ledger, .campaign-index { max-height: 430px; }
  .owner-orbit, .genesis-field { min-height: 560px; }
}

@media (max-width: 660px) {
  :root { --spine: 58px; --footer: 32px; }
  .cipher-stream-y { display: none; }
  .kernel-truth { grid-template-columns: 1fr auto; }
  .kernel-truth p { display: none; }
  .market-poster { min-height: 1050px; }
  .market-thesis { top: 22px; }
  .market-thesis h1 { font-size: 12vw; }
  .market-proofline { font-size: 8px; }
  .orbital-stage { top: 330px; }
  .field-guide { right: 14px; left: 14px; justify-content: space-between; gap: 8px; font-size: 8px; }
  .market-quicklist { top: 110px; right: 12px; left: 12px; width: auto; max-height: 238px; }
  .market-quickrow { min-height: 68px; }
  .atlas-readout { bottom: 20px; padding: 13px; }
  .atlas-exchange strong { font-size: 19px; }
  .market-actions { grid-template-columns: 1.2fr .9fr; }
  .market-actions .market-inspect { display: none; }
  .field-axis-y { display: none; }
  .block-spine { grid-template-columns: 110px 1fr; }
  .spine-label { padding-inline: 12px; }
  .spine-label i, .spine-label small { display: none; }
  .spine-track article { flex-basis: 96px; }
  .kernel-footer > span, .kernel-footer p { display: none; }
  .kernel-footer { justify-content: flex-end; }
  .module-head { padding: 26px 20px; }
  .module-head h1 { font-size: 12vw; }
  .module-head .module-metrics { display: none; }
  .control-inspector, .forge-inspector { padding: 20px; }
  .route-aperture pre { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cipher-stream span, .market-thesis h1 span:nth-child(2), .glitch-text, .execution-reactor::before, .execution-reactor::after { animation: none; }
  .kernel-view { animation: none; }
  #market-orbit.is-cluster-expanding, #market-orbit.is-cluster-collapsing { animation: none; }
}

/* V11.3 / DENSITY-SAFE BLOCKSPACE + DETERMINISTIC COLLECTION FIELD */
:root {
  --mono: "Cascadia Code", "Cascadia Mono", "Lucida Console", monospace;
  --display: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --spine: 86px;
}

body { font-family: var(--mono); }
.kernel-brand strong, .module-head h1, .market-thesis h1, .market-ledger h2,
.position-ledger h2, .campaign-index h2, .control-inspector > h2,
.forge-inspector > h2, .chamber-identity h2, .execution-body article h2,
.kernel-sheet h2 { font-family: var(--display); }

.cipher-stream { color: rgb(139 255 199 / 28%); font-size: 10px; letter-spacing: .12em; }
.cipher-stream-x { height: 22px; }
.cipher-stream-y { width: 22px; }

.market-poster {
  min-height: max(480px, calc(100svh - var(--header) - var(--truth) - var(--spine) - var(--footer)));
  background:
    linear-gradient(90deg, rgb(0 0 0 / 98%) 0 340px, rgb(0 0 0 / 30%) 340px 52%, rgb(0 0 0 / 8%) 76%),
    radial-gradient(ellipse at 61% 50%, rgb(139 255 199 / 3.5%), transparent 48%),
    #010201;
}
.market-poster::before { display: block; left: 340px; background: linear-gradient(transparent 4%, rgb(139 255 199 / 8%) 20%, rgb(139 255 199 / 24%) 50%, rgb(139 255 199 / 8%) 80%, transparent 96%); }
.market-poster::after { right: 5%; width: 52vw; opacity: .78; border-color: rgb(139 255 199 / 4%); box-shadow: 0 0 0 9vw rgb(139 255 199 / 1.2%), 0 0 0 21vw rgb(255 122 0 / .8%); }

.market-thesis { inset: 32px auto auto 30px; width: 280px; min-width: 0; }
.market-thesis > p:first-child { display: grid; gap: 8px; font-size: 10px; line-height: 1.25; }
.market-thesis > p:first-child b, .market-intro, .market-proofline span { overflow-wrap: anywhere; }
.market-thesis h1 { margin-top: 28px; font: 790 clamp(46px, 4vw, 58px)/.84 var(--display); letter-spacing: -.055em; }
.market-thesis h1 span, .market-thesis h1 em { position: static; transform: none; white-space: normal; }
.market-thesis h1 span:nth-child(2) { margin-top: 5px; animation: market-word-glitch 7.8s steps(1) infinite; }
.market-thesis h1 em { margin-top: 15px; color: var(--verify); font: 680 11px/1.3 var(--mono); letter-spacing: .1em; -webkit-text-stroke: 0; }
.market-intro { margin-top: 22px; padding-top: 15px; font-size: 12px; line-height: 1.58; }
.market-proofline { display: grid; gap: 6px; margin-top: 17px; color: var(--bone-soft); font-size: 9px; line-height: 1.25; }
.market-proofline i { display: none; }
.market-principle { position: relative; display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 9px; margin-top: 20px; padding: 11px 0 10px; overflow: hidden; border-block: 1px solid var(--line); color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .08em; }
.market-principle span { color: var(--bone); }
.market-principle i { color: var(--orange); font-style: normal; }
.market-principle b { grid-column: 1 / -1; color: var(--verify); font-size: 8px; font-weight: 650; }
.market-principle::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent); transform: translateX(-110%); animation: block-scan 5.2s linear infinite; }

.market-poster > .module-metrics { top: auto; right: auto; bottom: 22px; left: 30px; width: 280px; transform: none; grid-template-columns: 1fr 1fr; background: transparent; }
.market-poster > .module-metrics div { min-height: 52px; padding-right: 10px; }
.market-poster > .module-metrics div:nth-child(odd) { border-right: 1px solid var(--line); }
.market-poster > .module-metrics div:nth-child(even) { padding-left: 10px; }
.market-poster > .module-metrics dt { font-size: 9px; }
.market-poster > .module-metrics dd { font-size: 12px; }

.orbital-stage { inset: 0 0 0 340px; border-left: 1px solid rgb(139 255 199 / 12%); }
.stage-head { top: 18px; right: 18px; left: 30px; min-width: 0; }
.stage-head > div:first-child { min-width: 0; overflow: hidden; }
.stage-head > div:first-child span, .stage-head > div:first-child b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-head > div:first-child { opacity: 1; color: var(--verify); font-size: 10px; }
.stage-head > div:first-child::before { background: var(--verify); box-shadow: 0 0 10px rgb(139 255 199 / 45%); }
.projection-switch { border-radius: 0; background: rgb(0 0 0 / 78%); }
.projection-switch button { min-width: 76px; min-height: 31px; border-radius: 0; font-size: 10px; }
.projection-switch button[aria-pressed="true"] { background: var(--verify); color: #000; }
#market-orbit { background: radial-gradient(ellipse at 38% 48%, rgb(139 255 199 / 4.5%), transparent 54%), linear-gradient(180deg, transparent 49.8%, rgb(139 255 199 / 3%) 50%, transparent 50.2%); }
#market-orbit[data-selection-state="selected"] { filter: contrast(1.045) saturate(1.04); }
#market-orbit[data-selection-state="cluster"] { filter: contrast(1.025) saturate(1.08); }
.field-geometry, .field-guide, .position-selector { display: none; }

.market-typefeed, .genesis-typefeed, .owner-typefeed {
  position: absolute; z-index: 15; display: flex; align-items: center; gap: 8px;
  margin: 0; color: var(--bone-soft); font: 650 10px/1 var(--mono); letter-spacing: .02em;
  pointer-events: none;
}
.market-typefeed { top: 64px; right: 396px; left: 30px; overflow: hidden; white-space: nowrap; }
.market-typefeed b { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.market-typefeed span, .genesis-typefeed span, .owner-typefeed span { flex: 0 0 auto; color: var(--verify); }
.market-typefeed b, .genesis-typefeed b, .owner-typefeed b { min-width: 0; font-weight: 600; }
.market-typefeed i, .genesis-typefeed i, .owner-typefeed i { flex: 0 0 auto; width: 7px; height: 13px; background: var(--orange); animation: terminal-caret .72s steps(1) infinite; }

.market-quicklist {
  position: absolute; z-index: 18; top: 100px; right: 18px; bottom: auto; width: 360px;
  height: clamp(330px, calc(100svh - var(--header) - var(--truth) - var(--spine) - var(--footer) - 104px), 640px);
  max-height: none; display: grid; grid-template-rows: 43px 44px minmax(0, 1fr) 34px;
  overflow: hidden; border: 0; border-top: 1px solid var(--verify); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(0 0 0 / 94%), rgb(2 4 3 / 88%));
  box-shadow: -26px 0 72px rgb(0 0 0 / 34%); backdrop-filter: blur(16px);
}
.market-quicklist > header { min-height: 0; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 10px; }
.market-quicklist > header b { color: var(--verify); font-size: 10px; }
.market-vault-search { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--verify); font: 650 10px/1 var(--mono); }
.market-vault-search input { min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--bone); font: 600 11px/1 var(--mono); }
.market-vault-search input::placeholder { color: var(--ghost); }
.market-quickrows { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: rgb(139 255 199 / 45%) transparent; }
.market-quicklist > footer { display: flex; align-items: center; padding: 0 12px; border-top: 1px solid var(--line); color: var(--ghost); font: 650 9px/1 var(--mono); letter-spacing: .06em; }
.market-quickrow { min-height: 78px; grid-template-columns: minmax(0, 1fr) 62px; border-bottom: 1px solid var(--line); }
.market-quickrow[data-selected="true"] { background: linear-gradient(90deg, rgb(139 255 199 / 10%), transparent); box-shadow: inset 2px 0 var(--verify); }
.market-quickrow.is-coordinate-locking { position: relative; overflow: hidden; }
.market-quickrow.is-coordinate-locking::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; pointer-events: none; background: var(--verify); box-shadow: 0 0 14px rgb(139 255 199 / 72%); animation: quick-coordinate-lock 680ms cubic-bezier(.18,.78,.22,1) both; }
.market-quickselect { gap: 8px; padding: 11px 12px; }
.market-quickselect > span { justify-content: flex-start; gap: 9px; }
.market-quickselect > span:first-child small { color: var(--verify); }
.market-quickselect strong { flex: 1; min-width: 0; font-size: 12px; }
.market-quickselect em { color: var(--ghost); font-size: 9px; font-style: normal; }
.market-quickselect b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.market-quickselect span:last-child { display: grid; gap: 5px; }
.market-quickselect span:last-child small { color: var(--muted); font-size: 9px; }
.market-quickbuy { border-left: 1px solid var(--line); color: var(--orange); font-size: 11px; }
.market-quickbuy:hover { background: var(--orange); color: #000; }
.market-quickempty { display: grid; place-content: center; gap: 8px; min-height: 180px; padding: 22px; color: var(--muted); text-align: center; }
.market-quickempty strong { color: var(--bone); font-size: 11px; }
.market-quickempty span { font-size: 10px; }

.atlas-readout { top: auto; right: auto; bottom: 28px; left: 368px; width: min(430px, calc(100vw - 820px)); min-width: 350px; overflow: hidden; padding: 16px 18px 14px; border: 0; border-top: 1px solid rgb(139 255 199 / 48%); border-bottom: 1px solid rgb(139 255 199 / 14%); background: linear-gradient(90deg, rgb(0 0 0 / 90%), rgb(0 0 0 / 54%) 78%, transparent); box-shadow: 0 24px 74px rgb(0 0 0 / 38%); backdrop-filter: blur(12px); transition: opacity 240ms ease, border-color 240ms ease; }
.atlas-readout::before { content: "EXECUTABLE QUOTE / LOCAL SIGNAL LOCK"; top: -18px; color: var(--verify); font-size: 8px; }
.atlas-readout[data-state="idle"] { opacity: .66; border-top-color: rgb(139 255 199 / 24%); }
.atlas-readout[data-state="locked"] { opacity: 1; border-top-color: var(--verify); }
.readout-kicker { font-size: 9px; }
.atlas-readout > p { font-size: 10px; }
.atlas-exchange { margin-top: 11px; }
.atlas-exchange small { font-size: 9px; }
.atlas-exchange strong { margin-top: 4px; font: 720 17px/1 var(--display); }
.atlas-path { margin-top: 11px; font-size: 9px; }
.atlas-edge { margin-top: 9px; padding: 7px 0; font-size: 9px; }
.atlas-edge strong { font-size: 12px; }
.market-actions { grid-template-columns: 1.25fr .95fr .7fr; margin-top: 9px; border: 0; border-top: 1px solid var(--line-hot); border-bottom: 1px solid var(--line-hot); }
.market-actions .enter-position { min-height: 43px; font-size: 9px; }

.block-spine { grid-template-columns: 220px minmax(0, 1fr) 190px; border-top-color: rgb(139 255 199 / 28%); background: rgb(1 3 2 / 95%); }
.spine-label, .spine-fee { padding-inline: 18px; font-size: 10px; }
.spine-label span { display: grid; gap: 6px; }
.spine-label b { font-size: 11px; }
.spine-label small { font-size: 9px; }
.spine-track { justify-content: flex-start; }
.spine-track article { flex-basis: 122px; gap: 5px; padding: 9px 12px 14px; overflow: hidden; }
.spine-track article::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; transform: translateX(-105%); background: linear-gradient(90deg, transparent, var(--verify), transparent); animation: block-scan 4.6s linear infinite; }
.spine-track article:nth-child(2n)::after { animation-delay: -1.6s; }
.spine-track article:nth-child(3n)::after { animation-delay: -3.1s; }
.spine-track article.is-tip { background: linear-gradient(180deg, rgb(139 255 199 / 10%), transparent); }
.spine-track article.is-tip::before { background: var(--verify); box-shadow: 0 0 16px var(--verify); }
.spine-track article.is-candidate { color: var(--orange); background: linear-gradient(180deg, rgb(255 122 0 / 13%), transparent); }
.spine-track article.is-candidate::before { width: 100%; background: var(--orange); animation: candidate-breathe 1.8s ease-in-out infinite; }
.spine-track span, .spine-track small { font-size: 8px; }
.spine-track b { font-size: 11px; }
.block-pulse { position: absolute; right: 10px; bottom: 7px; left: 10px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.block-pulse i { height: 2px; background: rgb(242 243 236 / 12%); }
.block-pulse i.is-hot { background: var(--verify); box-shadow: 0 0 6px rgb(139 255 199 / 40%); animation: cell-breathe 2.3s ease-in-out infinite; }
.is-candidate .block-pulse i.is-hot { background: var(--orange); box-shadow: 0 0 7px rgb(255 122 0 / 50%); }

.owner-orbit, .genesis-field { isolation: isolate; }
.owner-orbit { min-height: 520px; background: linear-gradient(180deg, rgb(139 255 199 / 1.5%), transparent 24% 76%, rgb(255 122 0 / 2%)), #030503; transition: background 380ms ease; }
.owner-orbit:hover { background: linear-gradient(180deg, rgb(139 255 199 / 2.8%), transparent 22% 72%, rgb(255 122 0 / 4%)), #030503; }
.genesis-field { min-height: 620px; background: radial-gradient(ellipse at 50% 48%, rgb(139 255 199 / 5%), transparent 52%); }
#owner-orbit, #genesis-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
#owner-orbit { filter: contrast(1.06) saturate(1.02); }
#genesis-canvas { filter: contrast(1.1) saturate(.92); }
.owner-orbit::before { content: ""; position: absolute; z-index: 2; top: 22%; right: 0; left: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent 8%, rgb(139 255 199 / 8%) 24%, rgb(139 255 199 / 48%) 50%, rgb(255 122 0 / 10%) 76%, transparent 92%); box-shadow: 0 0 18px rgb(139 255 199 / 8%); animation: vault-scan 5.8s ease-in-out infinite; }
.genesis-field::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(108deg, transparent 0 42%, rgb(139 255 199 / 7%) 49%, rgb(255 122 0 / 6%) 51%, transparent 58% 100%); transform: translateX(-75%); animation: machine-scan 8.8s linear infinite; mix-blend-mode: screen; }
.owner-orbit::after { content: "UTXO REACTOR / EXECUTABLE STATE"; position: absolute; z-index: 4; top: 22px; right: 22px; color: rgb(139 255 199 / 38%); font: 650 9px/1 var(--mono); letter-spacing: .1em; text-shadow: 0 0 14px rgb(139 255 199 / 22%); pointer-events: none; transition: color 220ms, text-shadow 220ms; }
.owner-orbit:hover::after { color: rgb(139 255 199 / 72%); text-shadow: 0 0 22px rgb(139 255 199 / 45%); }
.genesis-field::after { content: "CMR → HARMONICS → STATE GRAPH → UTXO"; position: absolute; top: 62px; right: 24px; color: rgb(139 255 199 / 35%); font: 650 9px/1 var(--mono); letter-spacing: .11em; pointer-events: none; }
.genesis-steps { position: absolute; z-index: 4; top: 22px; right: 24px; left: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 650 9px/1 var(--mono); letter-spacing: .06em; pointer-events: none; }
.genesis-steps i { flex: 1; height: 1px; background: linear-gradient(90deg, rgb(139 255 199 / 48%), rgb(255 122 0 / 18%)); }
.genesis-ascii { position: absolute; z-index: 4; top: 76px; left: 24px; max-width: calc(100% - 48px); overflow: hidden; margin: 0; color: rgb(139 255 199 / 52%); font: 600 10px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; }
.genesis-typefeed { bottom: 54px; left: 24px; }
.genesis-coordinate { z-index: 5; right: 24px; bottom: 20px; left: 24px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 9px; }
.owner-ascii { position: absolute; z-index: 4; top: 22px; left: 22px; max-width: calc(58% - 22px); overflow: hidden; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.owner-typefeed { right: 22px; bottom: 54px; left: 22px; overflow: hidden; white-space: nowrap; }
.owner-typefeed b { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.owner-orbit-copy { z-index: 5; right: 22px; bottom: 20px; left: 22px; gap: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.owner-orbit-copy span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.glitch-slice, .glitch-text { position: relative; isolation: isolate; animation: glitch-live 4.9s steps(1) infinite; }
.glitch-slice::before, .glitch-slice::after,
.glitch-text::before, .glitch-text::after { content: none; }
.kernel-brand strong { animation: signal-glitch 8.2s steps(1) infinite; }
.kernel-nav a[aria-current="page"] span { animation: signal-glitch 7.1s -2.4s steps(1) infinite; }
.truth-signal strong { animation: signal-glitch 9.4s -5.1s steps(1) infinite; }

@keyframes block-scan { 0%, 24% { transform: translateX(-105%); opacity: 0; } 35% { opacity: 1; } 64%, 100% { transform: translateX(105%); opacity: 0; } }
@keyframes candidate-breathe { 50% { opacity: .35; box-shadow: 0 0 28px var(--orange); } }
@keyframes cell-breathe { 50% { opacity: .25; } }
@keyframes machine-scan { 0%, 15% { transform: translateX(-82%); opacity: 0; } 24% { opacity: .7; } 68% { opacity: .28; } 82%, 100% { transform: translateX(82%); opacity: 0; } }
@keyframes vault-scan { 0%, 12% { transform: translateY(0); opacity: 0; } 22% { opacity: .65; } 76% { opacity: .24; } 88%, 100% { transform: translateY(285px); opacity: 0; } }
@keyframes glitch-upper { 0%, 86%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0); } 87% { opacity: .72; transform: translateX(-2px); clip-path: inset(12% 0 58%); } 88% { opacity: .38; transform: translateX(2px); clip-path: inset(38% 0 38%); } }
@keyframes glitch-lower { 0%, 89%, 94%, 100% { opacity: 0; transform: none; clip-path: inset(0); } 90% { opacity: .7; transform: translateX(2px); clip-path: inset(62% 0 12%); } 92% { opacity: .35; transform: translateX(-1px); clip-path: inset(44% 0 31%); } }
@keyframes glitch-live { 0%, 84%, 88%, 93%, 100% { transform: none; filter: none; text-shadow: none; } 85% { transform: translateX(-1px); filter: contrast(1.7); text-shadow: 3px 0 rgb(139 255 199 / 52%), -2px 0 rgb(255 122 0 / 68%); } 86% { transform: translateX(1px); filter: brightness(1.45); text-shadow: -3px 0 rgb(139 255 199 / 38%), 2px 0 rgb(255 122 0 / 54%); } 91% { transform: skewX(-1deg); text-shadow: 1px 0 var(--verify), -1px 0 var(--orange); } }
@keyframes signal-glitch { 0%, 91%, 94%, 100% { filter: none; text-shadow: none; } 92% { filter: contrast(1.55); text-shadow: -2px 0 rgb(139 255 199 / 52%), 2px 0 rgb(255 122 0 / 58%); } 93% { filter: brightness(1.5); text-shadow: 1px 0 var(--orange); } }

@media (max-width: 1240px) {
  .market-poster { background: linear-gradient(90deg, rgb(0 0 0 / 97%) 0 300px, rgb(0 0 0 / 24%) 300px); }
  .market-poster::before { left: 300px; }
  .market-thesis, .market-poster > .module-metrics { left: 24px; width: 250px; }
  .market-thesis h1 { font-size: 44px; }
  .orbital-stage { left: 300px; }
  .atlas-readout { left: 328px; width: min(390px, calc(100vw - 666px)); min-width: 300px; }
  .market-quicklist { width: 320px; }
  .stage-head, .market-typefeed { left: 28px; }
  .market-typefeed { right: 348px; }
  .positions-console, .forge-console { grid-template-columns: 290px minmax(360px, 1fr) 360px; }
}

@media (max-height: 780px) and (min-width: 941px) {
  .market-thesis { top: 20px; }
  .market-thesis h1 { margin-top: 20px; font-size: 44px; }
  .market-thesis h1 em { margin-top: 11px; }
  .market-intro { margin-top: 16px; padding-top: 11px; font-size: 11px; line-height: 1.45; }
  .market-proofline { margin-top: 11px; }
  .market-principle { margin-top: 12px; padding-block: 8px; }
  .market-poster > .module-metrics { display: none; }
  .atlas-readout { bottom: 18px; }
}

@media (max-width: 940px) {
  :root { --spine: 74px; }
  .market-poster { min-height: 1210px; background: radial-gradient(ellipse at 50% 62%, rgb(139 255 199 / 3%), transparent 44%), #010201; }
  .market-poster::before { display: none; }
  .market-thesis { top: 24px; left: 22px; width: calc(100% - 44px); }
  .market-thesis h1 { font-size: clamp(42px, 9vw, 66px); }
  .market-intro { max-width: 620px; }
  .market-proofline { display: flex; flex-wrap: wrap; }
  .market-principle { width: min(100%, 620px); }
  .orbital-stage { inset: 380px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .market-poster > .module-metrics { display: none; }
  .atlas-readout { top: auto; right: 350px; bottom: 24px; left: 18px; width: auto; padding: 13px; background: rgb(0 0 0 / 82%); backdrop-filter: blur(14px); }
  .market-quicklist { right: 14px; bottom: auto; width: 320px; }
  .market-typefeed { right: 350px; }
  .positions-console, .forge-console { display: flex; flex-direction: column; }
  .position-ledger, .campaign-index { max-height: 430px; }
  .owner-orbit { min-height: 500px; }
  .genesis-field { min-height: 590px; }
  .block-spine { grid-template-columns: 170px 1fr; }
  .spine-fee { display: none; }
}

@media (max-width: 760px) {
  :root { --spine: 66px; }
  .market-poster { min-height: 1300px; }
  .market-thesis h1 { font-size: 12vw; }
  .market-intro { font-size: 11px; }
  .market-proofline { gap: 7px 12px; }
  .market-principle { margin-top: 14px; }
  .orbital-stage { top: 410px; }
  .stage-head { right: 12px; left: 12px; }
  .stage-head > div:first-child { display: none; }
  .market-typefeed { display: none; }
  .market-quicklist { top: 66px; right: 12px; bottom: auto; left: 12px; width: auto; height: 222px; grid-template-rows: 38px 40px minmax(0, 1fr); }
  .market-quicklist > footer { display: none; }
  .market-quickrow { min-height: 68px; }
  .atlas-readout { right: 12px; bottom: 18px; left: 12px; min-width: 0; padding: 12px; }
  .atlas-exchange strong { font-size: 17px; }
  .market-actions { grid-template-columns: 1.2fr .9fr; }
  .market-actions .market-inspect { display: none; }
  .block-spine { grid-template-columns: 106px 1fr; }
  .spine-label { padding-inline: 11px; }
  .spine-label i, .spine-label small { display: none; }
  .spine-track article { flex-basis: 104px; }
  .genesis-steps span:nth-of-type(2), .genesis-steps span:nth-of-type(3), .genesis-steps i:nth-of-type(2), .genesis-steps i:nth-of-type(3) { display: none; }
  .genesis-field::after, .owner-orbit::after { display: none; }
  .genesis-ascii { top: 60px; font-size: 9px; }
  .owner-orbit { min-height: 460px; }
  .owner-ascii { top: 60px; max-width: calc(100% - 44px); font-size: 9px; }
  .owner-orbit-copy, .genesis-coordinate { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .glitch-slice, .glitch-text,
  .kernel-brand strong, .kernel-nav a[aria-current="page"] span, .truth-signal strong,
  .glitch-slice::before, .glitch-slice::after, .glitch-text::before, .glitch-text::after,
  .block-pulse i, .spine-track article::after, .market-typefeed i, .genesis-typefeed i, .owner-typefeed i,
  .owner-orbit::before, .genesis-field::before { animation: none; }
}

/* V12 / PROOF COCKPIT
   Compact autonomous objects, one-viewport workspaces and a continuous signing tunnel. */
body[data-route="positions"], body[data-route="forge"] { height: 100svh; overflow: hidden; }
body[data-route="positions"] .kernel-shell, body[data-route="forge"] .kernel-shell { height: 100svh; min-height: 0; overflow: hidden; }
body[data-route="positions"] .kernel-main, body[data-route="forge"] .kernel-main { height: 100svh; overflow: hidden; }
body[data-route="positions"] .kernel-view, body[data-route="forge"] .kernel-view {
  height: calc(100svh - var(--header) - var(--truth) - var(--spine) - var(--footer));
  min-height: 0;
  overflow: hidden;
}

.positions-view:not([hidden]), .forge-view:not([hidden]) { display: grid; grid-template-rows: 112px minmax(0, 1fr); }
.positions-view .module-head, .forge-view .module-head {
  min-height: 0;
  padding: 10px 24px;
  align-items: center;
  overflow: hidden;
  background: #020302;
}
.positions-view .module-head h1, .forge-view .module-head h1 { margin-top: 6px; font-size: clamp(31px, 3.4vw, 44px); }
.positions-view .module-head > div:first-child > span, .forge-view .module-head > div:first-child > span { max-width: 640px; margin-top: 6px; font-size: 11px; line-height: 1.3; }
.positions-view .module-metrics { width: min(48vw, 590px); }
.positions-view .module-metrics div { min-height: 54px; }
.positions-view .wallet-gate { min-height: 0; height: 100%; padding: 18px; }
.positions-view .wallet-gate::before { width: min(52vw, 430px); }
.positions-view .gate-reactor { width: 96px; margin-bottom: 12px; }
.positions-view .wallet-gate > h2 { margin: 8px 0; font-size: clamp(30px, 4vw, 48px); }
.positions-view .wallet-gate > span { font-size: 12px; }
.positions-view .wallet-gate .kernel-primary { min-height: 44px; margin-top: 14px; }

.positions-console, .forge-console {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-bottom: 0;
  background: #010201;
}
.positions-console { grid-template-columns: clamp(236px, 19vw, 286px) minmax(330px, 1fr) clamp(292px, 24vw, 354px); }
.forge-console { grid-template-columns: clamp(228px, 18vw, 278px) minmax(350px, 1fr) clamp(298px, 25vw, 366px); }
.positions-console > *, .forge-console > * { min-width: 0; min-height: 0; }
.position-ledger, .campaign-index { height: 100%; }
.position-ledger > header, .campaign-index > header { min-height: 74px; padding: 14px 16px; }
.position-ledger h2, .campaign-index h2 { margin-top: 6px; font-size: 19px; }
.position-ledger > header > span { font-size: 22px; }
.owner-filters button { min-height: 34px; font-size: 10px; }
.owned-kernel-row, .campaign-row { min-height: 80px; padding: 13px 15px; }

.owner-orbit, .genesis-field {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #020403;
}
.owner-orbit:hover { background: #020403; }
#owner-orbit, #genesis-canvas { filter: none; }
.owner-orbit::before, .genesis-field::before {
  top: 50%;
  height: 1px;
  background: rgb(139 255 199 / 12%);
  box-shadow: none;
  animation-duration: 9s;
}
.owner-orbit::after { content: "UTXO / THREE-LAYER PROOF CASSETTE"; top: 18px; right: 18px; font-size: 10px; }
.genesis-field::after { content: "CMR / GEOMETRIC SPECIES / AUTONOMOUS PROJECTION"; top: 52px; right: 18px; font-size: 10px; }
.owner-ascii, .genesis-ascii { top: 54px; left: 18px; max-width: 48%; color: rgb(139 255 199 / 58%); font-size: 11px; line-height: 1.55; }
.genesis-steps { top: 18px; right: 18px; left: 18px; font-size: 10px; }
.owner-typefeed, .genesis-typefeed { right: 18px; bottom: 49px; left: 18px; font-size: 11px; }
.owner-orbit-copy, .genesis-coordinate { right: 18px; bottom: 15px; left: 18px; font-size: 10px; }

.control-inspector, .forge-inspector { height: 100%; overflow: hidden; padding: 16px 18px; }
.control-inspector > header, .forge-inspector > header { padding-bottom: 11px; }
.control-inspector > p, .forge-inspector > p:first-of-type { margin-top: 14px; font-size: 10px; }
.control-inspector > h2, .forge-inspector > h2 { margin: 7px 0 13px; font: 720 23px/.95 var(--display); }
.forge-inspector > p:nth-of-type(2) { font-size: 11px; line-height: 1.35; }
.proof-lines { margin-bottom: 11px; }
.proof-lines > div { min-height: 38px; grid-template-columns: 104px minmax(0, 1fr); }
.proof-lines dt { font-size: 9px; }
.proof-lines dd { font-size: 11px; }
.control-actions { margin: 11px 0; }
.control-actions button { min-height: 54px; padding: 9px; }
.control-actions button span { font-size: 11px; }
.control-actions button small { font-size: 8px; }
.control-inspector .mempool-link, .forge-inspector .kernel-select { margin: 10px 0; }
.control-inspector .kernel-ghost, .forge-inspector .forge-mint-action { min-height: 45px; }
.forge-inspector .kernel-select select { min-height: 40px; }

.spine-window { mask-image: linear-gradient(90deg, #000 0 94%, transparent); }
.spine-track { justify-content: flex-start; perspective: 900px; }
.spine-track article:first-child { border-left: 1px solid rgb(255 122 0 / 42%); }
.spine-track article.is-tip { color: var(--verify); background: linear-gradient(180deg, rgb(139 255 199 / 11%), transparent 72%); }
.spine-track article.is-tip::before { width: 100%; background: var(--verify); box-shadow: 0 0 16px rgb(139 255 199 / 55%); }
.spine-track article.is-candidate { flex-basis: 142px; margin-left: 0; border-right: 1px solid rgb(255 122 0 / 46%); border-left: 1px solid rgb(255 122 0 / 42%); color: var(--orange); background: linear-gradient(180deg, rgb(255 122 0 / 18%), rgb(255 122 0 / 2%) 74%, transparent); }
.spine-track article.is-candidate::before { width: 100%; background: linear-gradient(90deg, transparent, var(--orange) 28% 72%, transparent); box-shadow: 0 0 22px rgb(255 122 0 / 52%); animation: candidate-work 1.8s ease-in-out infinite; }
.spine-track article.is-candidate b { color: var(--paper); }
.spine-track article.is-candidate small { color: rgb(255 176 92 / 78%); }
.spine-track article.is-refilling { animation: candidate-refill 720ms cubic-bezier(.18,.82,.22,1) both; }
.spine-track article.is-confirming { animation: block-confirm-slide 900ms cubic-bezier(.18,.78,.18,1) both; }
.spine-track[data-transition="accepted"] { filter: brightness(1.12); }
.is-candidate .block-pulse i.is-hot { animation: mempool-cell 1.4s ease-in-out infinite; }
.is-candidate .block-pulse i:nth-child(2) { animation-delay: -.18s; }
.is-candidate .block-pulse i:nth-child(3) { animation-delay: -.36s; }
.is-candidate .block-pulse i:nth-child(4) { animation-delay: -.54s; }
.is-candidate .block-pulse i:nth-child(5) { animation-delay: -.72s; }

@keyframes candidate-work { 0%, 100% { opacity: .25; transform: translateX(-16%); } 50% { opacity: 1; transform: translateX(16%); } }
@keyframes mempool-cell { 0%, 100% { opacity: .26; transform: scaleX(.65); } 45% { opacity: 1; transform: scaleX(1); } }
@keyframes candidate-refill { from { opacity: 0; transform: translateX(-82%) rotateY(-18deg); } to { opacity: 1; transform: none; } }
@keyframes block-confirm-slide {
  0% { color: var(--orange); opacity: .35; transform: translateX(-142px); background: rgb(255 122 0 / 22%); }
  52% { color: var(--paper); opacity: 1; transform: translateX(5px); box-shadow: inset 0 2px var(--orange); }
  100% { color: var(--verify); transform: none; background: linear-gradient(180deg, rgb(139 255 199 / 11%), transparent 72%); box-shadow: inset 0 1px var(--verify); }
}

.execution-kernel { background: #010201; }
.execution-kernel > header { height: 68px; padding-inline: 24px; }
.execution-kernel > header span { font-size: 11px; }
.execution-kernel > header b, .execution-kernel > header button, .execution-links .mempool-link { font-size: 11px; }
.execution-body {
  min-height: 100svh;
  grid-template-columns: 88px minmax(230px, .62fr) minmax(520px, 1.38fr);
  gap: clamp(24px, 4vw, 62px);
  padding: 82px clamp(22px, 4vw, 64px) 58px;
}
.execution-body > aside span { font-size: 10px; }
.execution-body > aside strong { font-size: 13px; }
.execution-reactor {
  width: min(27vw, 330px);
  aspect-ratio: 1;
  perspective: 780px;
  transform-style: preserve-3d;
}
.execution-reactor::before, .execution-reactor::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgb(255 122 0 / 28%);
  border-radius: 50%;
  transform: rotateX(68deg);
  animation: witness-breathe 2.8s ease-in-out infinite;
}
.execution-reactor::after { inset: 27%; border-color: rgb(139 255 199 / 24%); animation-delay: -1.4s; }
.execution-reactor i { inset: 12%; border-width: 1px 0; border-style: solid; border-color: rgb(255 122 0 / 62%); border-radius: 50%; }
.execution-reactor i:nth-child(1) { animation: witness-orbit-a 6.8s linear infinite; }
.execution-reactor i:nth-child(2) { inset: 18%; border-style: solid; animation: witness-orbit-b 8.2s linear infinite; }
.execution-reactor i:nth-child(3) { inset: 25%; border-color: rgb(139 255 199 / 52%); animation: witness-orbit-c 5.4s linear infinite; }
.execution-reactor i:nth-child(4) { inset: 34%; border-color: rgb(243 238 226 / 38%); animation: witness-orbit-d 4.2s linear infinite; }
.execution-reactor b {
  position: relative;
  z-index: 3;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: #030403;
  color: var(--orange);
  font-size: 30px;
  box-shadow: 0 0 34px rgb(255 122 0 / 24%);
}
.execution-reactor small { position: absolute; top: calc(50% + 50px); color: rgb(139 255 199 / 55%); font: 650 9px/1.55 var(--mono); letter-spacing: .16em; text-align: center; }
.execution-reactor[data-state="ready"] b { border-color: var(--verify); color: var(--verify); box-shadow: 0 0 34px rgb(139 255 199 / 24%); }
.execution-reactor[data-state="complete"] i { border-color: rgb(139 255 199 / 56%); }
.execution-body article { min-width: 0; max-width: 850px; }
.execution-body article > p { font-size: 11px; }
.execution-body article > h2 { margin: 10px 0; font: 720 clamp(30px, 3.6vw, 52px)/.92 var(--display); }
.execution-body article > span { font-size: 15px; line-height: 1.5; }
#execution-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 22px 0 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
#execution-steps li {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-content: center;
  gap: 8px 9px;
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
#execution-steps li::after { content: "WAIT"; position: absolute; right: 9px; top: 9px; color: var(--ghost); font: 650 8px/1 var(--mono); }
#execution-steps li[data-state="active"]::after { content: "RUN"; color: var(--orange); animation: trace-blink .85s steps(1) infinite; }
#execution-steps li[data-state="ready"] { color: var(--bone); box-shadow: inset 0 2px var(--verify); }
#execution-steps li[data-state="ready"]::after { content: "NEXT"; color: var(--verify); }
#execution-steps li[data-state="complete"]::after { content: "OK"; color: var(--verify); }
#execution-steps li > span { grid-row: 1 / 3; align-self: start; color: inherit; font-size: 11px; }
#execution-steps li b { align-self: end; overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; }
#execution-steps li small { align-self: start; color: var(--muted); font-size: 9px; }
.execution-console, .execution-proof { display: grid; gap: 6px; padding: 10px 12px; border-left: 1px solid rgb(139 255 199 / 30%); background: rgb(139 255 199 / 3%); }
.execution-console { margin-bottom: 8px; }
.execution-console span, .execution-proof span { color: var(--ghost); font: 650 9px/1 var(--mono); letter-spacing: .11em; }
.execution-console code { min-height: 42px; color: rgb(139 255 199 / 68%); font: 600 10px/1.45 var(--mono); white-space: pre-wrap; }
.execution-proof code { font-size: 11px; }
.execution-continue {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border: 1px solid var(--verify);
  background: var(--verify);
  color: #010201;
  font: 800 11px/1 var(--mono);
  letter-spacing: .08em;
}
.execution-continue:hover { background: var(--bone); border-color: var(--bone); }
.execution-kernel > footer { min-height: 46px; font-size: 9px; }
.execution-ascii { top: 86px; font-size: 11px; line-height: 1.65; }

@keyframes witness-orbit-a { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes witness-orbit-b { to { transform: rotateY(70deg) rotateZ(-360deg); } }
@keyframes witness-orbit-c { to { transform: rotateX(58deg) rotateY(34deg) rotateZ(360deg); } }
@keyframes witness-orbit-d { to { transform: rotateX(74deg) rotateY(-28deg) rotateZ(-360deg); } }
@keyframes witness-breathe { 50% { opacity: .28; transform: rotateX(68deg) scale(.92); } }
@keyframes trace-blink { 50% { opacity: .35; } }

@media (max-width: 1180px) and (min-width: 941px) {
  .positions-console { grid-template-columns: 238px minmax(300px, 1fr) 300px; }
  .forge-console { grid-template-columns: 230px minmax(310px, 1fr) 310px; }
  .positions-view .module-metrics { width: 48vw; }
  .execution-body { grid-template-columns: 70px 240px minmax(440px, 1fr); gap: 22px; padding-inline: 24px; }
  .execution-reactor { width: 240px; }
}

@media (max-height: 800px) and (min-width: 941px) {
  .control-inspector, .forge-inspector { padding: 12px 14px; }
  .control-inspector > p, .forge-inspector > p:first-of-type { margin-top: 8px; }
  .control-inspector > h2, .forge-inspector > h2 { margin: 5px 0 9px; font-size: 21px; }
  .forge-inspector > p:nth-of-type(2) { display: none; }
  .control-inspector .proof-lines, .forge-inspector .proof-lines { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
  .control-inspector .proof-lines > div, .forge-inspector .proof-lines > div {
    min-height: 36px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3px;
    padding: 5px 7px;
    border-right: 1px solid var(--line);
  }
  .control-inspector .proof-lines dd, .forge-inspector .proof-lines dd { text-align: left; }
  .control-actions { margin: 8px 0; }
  .control-actions button { min-height: 46px; }
  .forge-inspector .kernel-select { margin: 6px 0; }
  .forge-inspector .kernel-select select { min-height: 36px; }
  .control-inspector .kernel-ghost, .forge-inspector .forge-mint-action { min-height: 40px; }
}

@media (max-width: 940px) {
  .positions-view:not([hidden]), .forge-view:not([hidden]) { grid-template-rows: 104px minmax(0, 1fr); }
  .positions-view .module-head, .forge-view .module-head { padding: 13px 18px; }
  .positions-view .module-head h1, .forge-view .module-head h1 { font-size: clamp(28px, 7vw, 42px); }
  .positions-view .module-head > div:first-child > span, .forge-view .module-head > div:first-child > span { margin-top: 6px; font-size: 10px; }
  .positions-console, .forge-console { position: relative; display: grid; grid-template-columns: minmax(180px, 32vw) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .position-ledger, .campaign-index { grid-column: 1; grid-row: 1; max-height: none; }
  .owner-orbit, .genesis-field { grid-column: 2; grid-row: 1; min-height: 0; height: auto; align-self: stretch; }
  .control-inspector, .forge-inspector { position: absolute; z-index: 20; right: 0; bottom: 0; width: 68%; height: auto; max-height: 44%; overflow: auto; border-top: 1px solid var(--line-hot); background: rgb(2 3 2 / 96%); }
  .control-inspector *, .forge-inspector * { min-width: 0; }
  .owner-ascii, .genesis-ascii { max-width: 72%; font-size: 9px; }
  .owner-orbit-copy, .genesis-coordinate { display: none; }
  .execution-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; overflow: auto; padding: 82px 20px 70px; }
  .execution-body > aside { display: none; }
  .execution-reactor { width: 190px; margin: 0; }
  #execution-steps { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}

@media (max-width: 660px) {
  .positions-view:not([hidden]), .forge-view:not([hidden]) { grid-template-rows: 86px minmax(0, 1fr); }
  .positions-view .module-head > div:first-child > span, .forge-view .module-head > div:first-child > span { display: none; }
  .positions-console, .forge-console { grid-template-columns: 42% 58%; }
  .position-ledger > header, .campaign-index > header { min-height: 58px; padding: 10px; }
  .position-ledger h2, .campaign-index h2 { font-size: 15px; }
  .owned-kernel-row, .campaign-row { min-height: 70px; padding: 10px; }
  .control-inspector, .forge-inspector { width: 58%; max-height: 52%; padding: 12px; }
  .control-inspector > h2, .forge-inspector > h2 { font-size: 18px; }
  .forge-inspector > p:nth-of-type(2) { display: none; }
  .proof-lines > div { grid-template-columns: 1fr; gap: 3px; padding-block: 6px; }
  .proof-lines dd { overflow-wrap: anywhere; text-align: left; white-space: normal; }
  .forge-inspector .kernel-select select { width: 100%; }
  .execution-kernel > header { padding-inline: 14px; }
  .execution-kernel > header span, .execution-kernel > header b { display: none; }
  .execution-body { display: block; overflow: auto; padding: 76px 14px 66px; }
  .execution-reactor { width: 154px; margin: 0 auto 14px; }
  .execution-reactor small { display: none; }
  .execution-body article > h2 { font-size: 30px; }
  #execution-steps { grid-template-columns: 1fr 1fr; }
  #execution-steps li { min-height: 82px; padding: 10px; }
  .execution-ascii { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .execution-reactor i, .execution-reactor::before, .execution-reactor::after, #execution-steps li::after,
  .spine-track article.is-candidate::before, .is-candidate .block-pulse i.is-hot,
  .spine-track article.is-refilling, .spine-track article.is-confirming { animation: none; }
}

/* V13 / COORDINATE LOCK + PROOF DECODER
   Selection converges locally; verification resolves as four deterministic boundaries. */
.proof-xray > header b { color: var(--verify); }
.xray-body {
  grid-template-columns: minmax(330px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(42px, 6vw, 96px);
}
.xray-decoder {
  position: relative;
  width: min(35vw, 460px);
  justify-self: end;
  padding: 0 0 12px;
  color: var(--bone);
  font-family: var(--mono);
}
.xray-decoder::before {
  content: "";
  position: absolute;
  top: 54px;
  bottom: 64px;
  left: 17px;
  width: 1px;
  background: linear-gradient(180deg, rgb(242 243 236 / 8%), rgb(139 255 199 / 66%) 44% 78%, rgb(139 255 199 / 10%));
  transform: scaleY(.08);
  transform-origin: top;
}
.xray-decoder::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 55px;
  right: 0;
  left: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgb(242 243 236 / 88%) 30%, var(--verify) 72%, transparent);
  box-shadow: 0 0 12px rgb(139 255 199 / 42%);
}
.xray-decoder.is-decoding::before { animation: decoder-spine 920ms cubic-bezier(.18,.78,.22,1) both; }
.xray-decoder.is-decoding::after { animation: decoder-scan 1120ms cubic-bezier(.24,.7,.22,1) both; }
.xray-decoder > header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgb(242 243 236 / 18%);
  color: var(--ghost);
  font: 700 9px/1 var(--mono);
  letter-spacing: .1em;
}
.xray-decoder > header b { color: var(--bone); font-size: 9px; }
.xray-decoder[data-state="verified"] > header b { color: var(--verify); }
.xray-decoder ol { margin: 0; padding: 0; list-style: none; }
.xray-decoder li {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 13px;
  opacity: .2;
  clip-path: inset(0 100% 0 0);
}
.xray-decoder li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 35px;
  height: 1px;
  background: linear-gradient(90deg, rgb(139 255 199 / 38%), rgb(242 243 236 / 8%) 78%, transparent);
  transform: scaleX(0);
  transform-origin: left;
}
.xray-decoder li i {
  position: relative;
  z-index: 3;
  color: rgb(242 243 236 / 52%);
  font: 700 9px/1 var(--mono);
  font-style: normal;
  text-align: center;
}
.xray-decoder li span { min-width: 0; display: grid; gap: 8px; }
.xray-decoder li small { color: var(--ghost); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.xray-decoder li b { overflow: hidden; color: var(--bone); font: 650 12px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.xray-decoder li em {
  position: relative;
  z-index: 3;
  width: 6px;
  height: 6px;
  border: 1px solid rgb(242 243 236 / 42%);
  background: #000;
  transform: rotate(45deg) scale(.55);
}
.xray-decoder.is-decoding li { animation: decoder-row 420ms cubic-bezier(.18,.78,.22,1) both; }
.xray-decoder.is-decoding li::after { animation: decoder-write 440ms cubic-bezier(.18,.78,.22,1) both; }
.xray-decoder.is-decoding li em { animation: decoder-node 360ms ease-out both; }
.xray-decoder.is-decoding li:nth-child(1), .xray-decoder.is-decoding li:nth-child(1)::after, .xray-decoder.is-decoding li:nth-child(1) em { animation-delay: 90ms; }
.xray-decoder.is-decoding li:nth-child(2), .xray-decoder.is-decoding li:nth-child(2)::after, .xray-decoder.is-decoding li:nth-child(2) em { animation-delay: 300ms; }
.xray-decoder.is-decoding li:nth-child(3), .xray-decoder.is-decoding li:nth-child(3)::after, .xray-decoder.is-decoding li:nth-child(3) em { animation-delay: 510ms; }
.xray-decoder.is-decoding li:nth-child(4), .xray-decoder.is-decoding li:nth-child(4)::after, .xray-decoder.is-decoding li:nth-child(4) em { animation-delay: 720ms; }
.xray-decoder[data-state="verified"] li em { border-color: var(--verify); background: var(--verify); box-shadow: 0 0 9px rgb(139 255 199 / 52%); }
.xray-decode-stream { display: grid; gap: 9px; margin: 18px 0 0 35px; padding-left: 13px; border-left: 1px solid rgb(139 255 199 / 32%); }
.xray-decode-stream span { color: var(--ghost); font: 700 8px/1 var(--mono); letter-spacing: .11em; }
.xray-decode-stream code { overflow: hidden; color: rgb(139 255 199 / 72%); font: 600 9px/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.xray-body article > p { color: var(--verify); font-size: 10px; }

@keyframes quick-coordinate-lock {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  78% { opacity: .8; }
  100% { left: 100%; opacity: 0; }
}
@keyframes decoder-spine { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
@keyframes decoder-scan { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: .9; } 78% { opacity: .55; } 100% { opacity: 0; transform: translateY(312px); } }
@keyframes decoder-row { from { opacity: .15; clip-path: inset(0 100% 0 0); transform: translateX(-12px); } to { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes decoder-write { to { transform: scaleX(1); } }
@keyframes decoder-node { 0% { border-color: rgb(242 243 236 / 35%); transform: rotate(45deg) scale(.55); } 68% { border-color: var(--bone); background: var(--bone); transform: rotate(45deg) scale(1.35); } 100% { border-color: var(--verify); background: var(--verify); transform: rotate(45deg); } }

@media (max-width: 940px) {
  .xray-decoder { width: min(78vw, 440px); margin: 0 auto 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .xray-decoder::before, .xray-decoder::after, .xray-decoder li, .xray-decoder li::after, .xray-decoder li em,
  .market-quickrow.is-coordinate-locking::after { animation: none; }
  .xray-decoder::before { transform: scaleY(1); }
  .xray-decoder li { opacity: 1; clip-path: inset(0); }
  .xray-decoder li::after { transform: scaleX(1); }
}

/* V15 / ENTRY CEREMONY
   The protocol opens as a verification rite, then yields to the operating surface. */
.kernel-boot {
  --boot-gutter: clamp(24px, 4.2vw, 72px);
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(480px, 1.08fr);
  grid-template-rows: 72px minmax(0, 1fr) 104px 42px;
  place-content: stretch;
  justify-items: stretch;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  background:
    linear-gradient(90deg, #020302 0 46%, rgb(2 3 2 / 72%) 62%, rgb(2 3 2 / 22%) 100%),
    radial-gradient(circle at 73% 48%, rgb(255 122 0 / 8%), transparent 27%),
    #020302;
  transition: opacity 620ms cubic-bezier(.18,.78,.22,1), visibility 620ms;
}
.kernel-boot::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgb(139 255 199 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(139 255 199 / 3%) 1px, transparent 1px);
  background-size: 54px 54px;
  box-shadow: none;
  opacity: .52;
  animation: entry-grid 12s linear infinite;
  pointer-events: none;
}
.kernel-boot::after {
  content: "01000001 01010010 01010100 01000101 01000110 01000001 01000011 01010100";
  position: absolute;
  right: -2%;
  bottom: 144px;
  left: auto;
  width: 58%;
  transform: none;
  overflow: hidden;
  color: rgb(139 255 199 / 8%);
  -webkit-text-stroke: 0;
  font: 650 9px/1 var(--mono);
  letter-spacing: .22em;
  white-space: nowrap;
  pointer-events: none;
}
.kernel-boot.is-exiting { animation: entry-breach-out 760ms cubic-bezier(.7,0,.2,1) both; }
.kernel-boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.kernel-boot > .boot-header {
  position: relative;
  inset: auto;
  z-index: 8;
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--boot-gutter);
  border-bottom: 1px solid var(--line);
  color: var(--ghost);
  font: 700 10px/1 var(--mono);
  letter-spacing: .12em;
}
.boot-header a { display: flex; align-items: center; gap: 12px; color: var(--bone); }
.boot-header a span { color: var(--orange); font-size: 22px; text-shadow: 0 0 18px rgb(255 122 0 / 55%); }
.boot-header a strong { color: var(--bone); font-size: 13px; letter-spacing: .19em; }
.boot-header > p { justify-self: center; }
.boot-header > div { justify-self: end; display: flex; align-items: center; gap: 15px; }
.boot-header > div b { min-width: 30px; color: var(--orange); font-size: 13px; text-align: right; }
.boot-header > div b::after { content: "%"; margin-left: 2px; color: var(--ghost); font-size: 8px; }

.boot-entry-copy {
  position: relative;
  z-index: 6;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  min-width: 0;
  padding: 18px 4vw 14px var(--boot-gutter);
  animation: entry-copy-reveal 900ms 80ms cubic-bezier(.18,.78,.22,1) both;
}
.boot-kicker { display: flex; align-items: center; gap: 18px; color: var(--verify); font: 720 10px/1 var(--mono); letter-spacing: .13em; }
.boot-kicker::after { content: ""; width: min(9vw, 120px); height: 1px; background: linear-gradient(90deg, rgb(139 255 199 / 65%), transparent); }
.boot-kicker b { color: var(--ghost); font-weight: 650; }
.boot-entry-copy h1 {
  position: relative;
  width: max-content;
  margin: clamp(20px, 3.2vh, 38px) 0 0;
  color: var(--bone);
  font: 860 clamp(62px, 7.4vw, 118px)/.72 var(--mono);
  letter-spacing: -.1em;
}
.boot-entry-copy h1::after {
  content: attr(data-copy);
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--verify);
  clip-path: inset(43% 0 42% 0);
  transform: translateX(2px);
  opacity: .36;
  animation: entry-word-glitch 4.6s steps(1) infinite;
  pointer-events: none;
}
.boot-entry-copy h2 { margin: clamp(16px, 2.6vh, 30px) 0 0; font: 790 clamp(31px, 4vw, 62px)/.88 var(--sans); letter-spacing: -.07em; }
.boot-entry-copy h2 span, .boot-entry-copy h2 em { display: block; font-style: normal; }
.boot-entry-copy h2 span { color: var(--orange); }
.boot-entry-copy h2 em { color: transparent; -webkit-text-stroke: 1px rgb(242 243 236 / 55%); }
.boot-summary { max-width: 500px; margin-top: clamp(18px, 3vh, 34px); color: var(--bone-soft); font: 520 clamp(15px, 1.25vw, 19px)/1.5 var(--sans); }

.boot-equation { max-width: 590px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin-top: clamp(18px, 3.1vh, 32px); padding-block: 13px; border-block: 1px solid var(--line); }
.boot-equation span { min-width: 0; display: grid; gap: 7px; }
.boot-equation small { color: var(--ghost); font: 720 8px/1 var(--mono); letter-spacing: .12em; }
.boot-equation b { overflow: hidden; color: var(--bone); font: 720 11px/1 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.boot-equation i { color: var(--orange); font: 400 13px/1 var(--mono); font-style: normal; }

.boot-enter {
  position: relative;
  width: min(100%, 590px);
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 16px;
  margin-top: clamp(18px, 3vh, 30px);
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgb(139 255 199 / 25%);
  background: rgb(139 255 199 / 3%);
  color: var(--ghost);
  font: 760 11px/1 var(--mono);
  letter-spacing: .1em;
  text-align: left;
  transition: color 220ms, border-color 220ms, background 220ms, transform 220ms;
}
.boot-enter::before { content: ""; position: absolute; inset: 0; transform: translateX(-102%); background: var(--orange); transition: transform 380ms cubic-bezier(.18,.78,.22,1); }
.boot-enter::after { content: ""; position: absolute; top: 0; bottom: 0; left: -18%; width: 12%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgb(139 255 199 / 22%), transparent); animation: entry-read-scan 1.8s linear infinite; }
.boot-enter > * { position: relative; z-index: 1; }
.boot-enter b { color: var(--verify); font-size: 9px; }
.boot-enter i { color: var(--orange); font-size: 18px; font-style: normal; text-align: right; }
.boot-enter:disabled { cursor: wait; opacity: .72; }
.kernel-boot[data-state="ready"] .boot-enter { border-color: var(--orange); background: rgb(255 122 0 / 7%); color: var(--bone); cursor: pointer; animation: entry-ready-pulse 2.4s ease-in-out infinite; }
.kernel-boot[data-state="ready"] .boot-enter:hover { transform: translateY(-2px); color: #050400; }
.kernel-boot[data-state="ready"] .boot-enter:hover::before { transform: translateX(0); }
.kernel-boot[data-state="ready"] .boot-enter:hover b, .kernel-boot[data-state="ready"] .boot-enter:hover i { color: #050400; }
.kernel-boot[data-state="error"] .boot-enter { border-color: #ff4d31; color: var(--bone); }
.boot-observer { display: block; margin-top: 12px; color: var(--ghost); font: 650 8px/1.3 var(--mono); letter-spacing: .08em; }

.boot-machine {
  position: relative;
  z-index: 4;
  grid-column: 2;
  grid-row: 2;
  width: auto;
  min-width: 0;
  aspect-ratio: auto;
  display: block;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
  animation: entry-core-reveal 1.2s 140ms cubic-bezier(.18,.78,.22,1) both;
}
.boot-machine::before, .boot-machine::after { content: ""; position: absolute; z-index: 2; inset: 9% 8%; border: 1px solid rgb(139 255 199 / 10%); transform: none; animation: none; pointer-events: none; }
.boot-machine::before { clip-path: polygon(0 0, 17% 0, 17% 1px, 1px 1px, 1px 18%, 0 18%, 0 0, 100% 0, 100% 18%, calc(100% - 1px) 18%, calc(100% - 1px) 1px, 83% 1px, 83% 0, 100% 0, 100% 100%, 83% 100%, 83% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 82%, 100% 82%, 100% 100%, 0 100%, 0 82%, 1px 82%, 1px calc(100% - 1px), 17% calc(100% - 1px), 17% 100%, 0 100%); }
.boot-machine::after { inset: 50% 7% auto; height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgb(255 122 0 / 42%), rgb(139 255 199 / 42%), transparent); box-shadow: 0 0 15px rgb(139 255 199 / 22%); animation: entry-core-scan 4s ease-in-out infinite; }
#boot-core { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot-core-lock { position: absolute; z-index: 4; top: 50%; left: 50%; width: 180px; display: grid; gap: 7px; transform: translate(-50%, -50%); text-align: center; font-family: var(--mono); pointer-events: none; }
.boot-core-lock span { color: var(--ghost); font-size: 8px; letter-spacing: .18em; }
.boot-core-lock b { color: var(--bone); font-size: 10px; letter-spacing: .1em; text-shadow: 0 0 13px #000; }
.boot-core-lock small { margin-top: 42px; color: var(--verify); font: 650 8px/1.3 var(--mono); letter-spacing: .08em; }
.boot-coordinate { position: absolute; z-index: 4; color: rgb(139 255 199 / 46%); font: 700 8px/1.5 var(--mono); letter-spacing: .13em; }
.boot-coordinate::before { content: "+"; position: absolute; color: var(--orange); }
.boot-coordinate-a { top: 18%; left: 15%; }
.boot-coordinate-a::before { top: -16px; left: 0; }
.boot-coordinate-b { top: 19%; right: 13%; text-align: right; }
.boot-coordinate-b::before { top: -16px; right: 0; }
.boot-coordinate-c { right: 14%; bottom: 17%; text-align: right; }
.boot-coordinate-c::before { right: 0; bottom: -16px; }
.boot-coordinate-d { bottom: 16%; left: 16%; }
.boot-coordinate-d::before { bottom: -16px; left: 0; }
.kernel-boot[data-state="ready"] .boot-core-lock small { color: var(--orange); }

.boot-log {
  position: relative;
  z-index: 7;
  grid-column: 1 / -1;
  grid-row: 3;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0 var(--boot-gutter);
  border-top: 1px solid var(--line);
  color: var(--ghost);
  list-style: none;
  font-family: var(--mono);
}
.boot-log li { position: relative; min-width: 0; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 12px; padding: 0 16px; border-right: 1px solid var(--line); opacity: .35; transition: opacity 260ms, color 260ms, background 260ms; }
.boot-log li:first-child { border-left: 1px solid var(--line); }
.boot-log li::before { content: ""; position: absolute; top: -1px; right: 0; left: 0; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--verify); box-shadow: 0 0 9px rgb(139 255 199 / 48%); transition: transform 420ms cubic-bezier(.18,.78,.22,1); }
.boot-log li > b { color: var(--ghost); font-size: 9px; }
.boot-log li > span { min-width: 0; color: var(--bone); font-size: 10px; letter-spacing: .09em; }
.boot-log li small { display: block; margin-top: 8px; overflow: hidden; color: var(--ghost); font-size: 8px; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.boot-log li.is-current { opacity: 1; color: var(--orange); background: rgb(255 122 0 / 3%); }
.boot-log li.is-current > b { color: var(--orange); }
.boot-log li.is-complete { opacity: .9; }
.boot-log li.is-complete::before { transform: scaleX(1); }
.boot-log li.is-complete > b { color: var(--verify); }

.kernel-boot > .boot-footer {
  position: relative;
  inset: auto;
  z-index: 8;
  grid-column: 1 / -1;
  grid-row: 4;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--boot-gutter);
  border-top: 1px solid var(--line);
  color: var(--ghost);
  font: 650 8px/1 var(--mono);
  letter-spacing: .1em;
}
.boot-footer p { color: var(--verify); }
.kernel-boot[data-state="ready"] .boot-footer p { color: var(--orange); }

@keyframes entry-grid { to { background-position: 54px 54px; } }
@keyframes entry-copy-reveal { from { opacity: 0; transform: translateX(-34px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes entry-core-reveal { from { opacity: 0; transform: scale(.88); filter: blur(12px) brightness(2.4); } to { opacity: 1; transform: none; filter: none; } }
@keyframes entry-word-glitch { 0%, 91%, 100% { clip-path: inset(43% 0 42% 0); transform: translateX(2px); } 92% { clip-path: inset(12% 0 67% 0); transform: translateX(-8px); } 94% { clip-path: inset(68% 0 13% 0); transform: translateX(7px); } 96% { clip-path: inset(30% 0 54% 0); transform: translateX(-3px); } }
@keyframes entry-read-scan { to { left: 118%; } }
@keyframes entry-core-scan { 0%, 100% { top: 19%; opacity: 0; } 18%, 82% { opacity: .8; } 50% { top: 80%; opacity: .45; } }
@keyframes entry-ready-pulse { 50% { box-shadow: 0 0 28px rgb(255 122 0 / 12%); } }
@keyframes entry-breach-out { 0% { opacity: 1; clip-path: inset(0); filter: none; } 28% { filter: brightness(2.3); clip-path: inset(47% 0); } 52% { opacity: 1; clip-path: inset(49.7% 0); } 100% { opacity: 0; clip-path: inset(50% 0); } }

@media (max-width: 940px) {
  .kernel-boot { grid-template-columns: 1fr; grid-template-rows: 62px minmax(0, 1fr) 82px 38px; }
  .boot-header { grid-template-columns: 1fr auto; }
  .boot-header > p { display: none; }
  .boot-entry-copy { grid-column: 1; grid-row: 2; align-self: center; padding-right: var(--boot-gutter); }
  .boot-machine { position: absolute; z-index: 1; inset: 62px -18% 120px 24%; opacity: .38; }
  .boot-machine::before { inset: 7%; }
  .boot-entry-copy h1 { font-size: clamp(64px, 14vw, 104px); }
  .boot-entry-copy h2 { font-size: clamp(34px, 8vw, 56px); }
  .boot-summary { max-width: 460px; }
  .boot-equation, .boot-enter { max-width: 560px; }
  .boot-log { grid-row: 3; padding-inline: 0; }
  .boot-log li { grid-template-columns: 1fr; justify-items: center; gap: 5px; padding: 0 5px; text-align: center; }
  .boot-log li:first-child { border-left: 0; }
  .boot-log li:last-child { border-right: 0; }
  .boot-log li small { display: none; }
  .boot-footer { grid-row: 4; }
  .boot-footer > span { display: none; }
}

@media (max-width: 600px) {
  .kernel-boot { --boot-gutter: 18px; grid-template-rows: 58px minmax(0, 1fr) 68px 36px; }
  .boot-header { font-size: 8px; }
  .boot-header a strong { font-size: 11px; }
  .boot-header > div span { display: none; }
  .boot-entry-copy { align-self: center; padding-top: 8px; padding-bottom: 8px; }
  .boot-kicker { font-size: 8px; }
  .boot-kicker b, .boot-kicker::after { display: none; }
  .boot-entry-copy h1 { margin-top: 24px; font-size: 18vw; }
  .boot-entry-copy h2 { margin-top: 18px; font-size: 10vw; }
  .boot-summary { max-width: 310px; margin-top: 24px; font-size: 14px; }
  .boot-equation { grid-template-columns: 1fr auto 1fr; margin-top: 23px; }
  .boot-equation span:nth-of-type(3), .boot-equation i:nth-of-type(2) { display: none; }
  .boot-enter { min-height: 56px; margin-top: 22px; padding-inline: 14px; font-size: 10px; }
  .boot-enter b { font-size: 8px; }
  .boot-observer { max-width: 300px; font-size: 7px; }
  .boot-machine { inset: 58px -48% 104px 6%; opacity: .28; }
  .boot-coordinate { display: none; }
  .boot-log li > b { font-size: 8px; }
  .boot-log li > span { font-size: 7px; }
  .boot-footer { font-size: 7px; letter-spacing: .04em; }
}

@media (max-height: 700px) and (min-width: 941px) {
  .kernel-boot { grid-template-rows: 62px minmax(0, 1fr) 84px 36px; }
  .boot-entry-copy h1 { margin-top: 18px; font-size: clamp(54px, 6.3vw, 86px); }
  .boot-entry-copy h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 48px); }
  .boot-summary { margin-top: 16px; }
  .boot-equation { margin-top: 16px; padding-block: 10px; }
  .boot-enter { min-height: 50px; margin-top: 15px; }
  .boot-observer { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .kernel-boot::before, .boot-entry-copy, .boot-entry-copy h1::after, .boot-machine, .boot-machine::after, .boot-enter, .boot-enter::after { animation: none; }
  .kernel-boot.is-exiting { animation: none; opacity: 0; }
}
