@import url("./styles-v12.css");

:root {
  --simple-bg: #071321;
  --simple-surface: #0d2034;
  --simple-soft: #112a42;
  --simple-ink: #e5f4fc;
  --simple-muted: #a5bdcf;
  --simple-line: #203c56;
  --simple-violet: #64d8f3;
  --simple-blue: #81b9f4;
  --simple-cyan: #8ae4f7;
  --simple-green: #64d8f3;
  --simple-gold: #b5a6ed;
  --simple-shadow: 0 20px 60px rgba(17, 55, 43, .09);
}

html { background: var(--simple-bg); }
body {
  color: var(--simple-ink);
  background: var(--simple-bg);
  background-image:
    radial-gradient(circle at 82% 3%, rgba(159,139,224,.1), transparent 24%),
    radial-gradient(circle at 7% 20%, rgba(100,216,243,.08), transparent 20%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", sans-serif;
}
body::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(100,216,243,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,216,243,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.network-environment-badge {
  position: fixed;
  top: 78px;
  right: 18px;
  z-index: 120;
  padding: 8px 12px;
  border: 1px solid #f3a82d;
  border-radius: 999px;
  color: #c8baf6;
  background: #201f3b;
  box-shadow: 0 8px 24px rgba(112, 64, 0, .16);
  font: 800 11px/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
}
.network-environment-badge[hidden] { display: none; }
body::before,
.cursor-canvas,
.cursor-aura,
.cursor-ring,
.ambient,
.grid-plane,
.lumen-field,
.network-grid-canvas,
.page-telemetry,
.v12-flow-field,
.v12-corner-hud { display: none !important; }

.shell { width: min(1160px, calc(100% - 48px)); }
.topbar,
.topbar.is-scrolled {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(201, 215, 204, .9);
  background: rgba(13,32,52,.92);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.15);
}
.brand { min-width: 165px; gap: 10px; }
.brand-mark.vella-original-emblem {
  width: 48px;
  height: 38px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
.brand-mark.vella-original-emblem::after { display: none; }
.brand-mark.vella-original-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: none;
}
.brand-copy strong {
  color: var(--simple-ink);
  font-family: Georgia, serif;
  font-size: 21px;
  text-shadow: none;
}
.brand-copy small { color: var(--simple-muted); font-size: 7px; letter-spacing: .16em; }
.desktop-nav {
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  clip-path: none;
  background: #112a42;
}
.desktop-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #a5bdcf;
  font-size: 12px;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--simple-violet); background: #0d2034; box-shadow: inset 0 -2px 0 rgba(159,139,224,.65); }
.desktop-nav a.active::after { display: none; }
/* Compact labels keep a full touch target and native language selection. */
.language-select { width: 54px; min-width: 54px; flex: 0 0 54px; }
.language-select select {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 4px;
  transform: none;
  color: var(--simple-ink);
  font-size: 16px;
}
.language-select:focus-within {
  outline: 2px solid var(--simple-violet);
  outline-offset: 2px;
}
.network-pill,
.language-select,
.wallet-button {
  height: 42px;
  border: 1px solid var(--simple-line);
  border-radius: 13px;
  background: #0d2034;
  color: var(--simple-ink);
  box-shadow: none;
}
.wallet-button {
  border: 0;
  background: linear-gradient(110deg, #0d354d, var(--simple-violet) 62%, #6961a3 140%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(8, 90, 65, .2);
}
.live-dot { background: #19af7b; box-shadow: 0 0 0 4px rgba(25, 175, 123, .1); }

.command-deck { display: none; }
main { position: relative; z-index: 2; }
.mobile-portrait-hero { display: none; }
.hero {
  min-height: 680px;
  grid-template-columns: 1fr .92fr;
  gap: 64px;
  padding-block: 72px 76px;
}
.hero::before,
.hero::after { display: none; }
.eyebrow,
.section-index,
.protocol-intro > span,
.contract-console-head span {
  color: var(--simple-violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
}
.eyebrow::after { display: none; }
.eyebrow span { background: var(--simple-blue); box-shadow: none; }
.hero-copy h1 {
  margin-top: 24px;
  color: var(--simple-ink);
  font-size: clamp(52px, 4.7vw, 68px);
  line-height: 1.05;
  letter-spacing: -.055em;
  text-shadow: none;
}
.hero-copy h1 em {
  color: var(--simple-violet);
  background: linear-gradient(95deg, #0d354d, var(--simple-blue) 55%, var(--simple-gold));
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
  animation: none;
}
.hero-copy h1 em::before,
.hero-copy h1 em::after { display: none; }
.hero-lead {
  max-width: 590px;
  margin-top: 26px;
  color: var(--simple-muted);
  font-size: 16px;
  line-height: 1.85;
}
.hero-actions { margin-top: 34px; gap: 12px; }
.primary-action,
.mining-action,
.wide-action,
.claim-button {
  min-height: 58px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(105deg, #0d354d, var(--simple-violet) 62%, #6961a3 145%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(8, 90, 65, .18);
}
.secondary-action {
  min-height: 58px;
  border: 1px solid var(--simple-line);
  border-radius: 15px;
  background: #0d2034;
  color: var(--simple-ink);
  box-shadow: none;
}
.trust-row { margin-top: 34px; gap: 10px; }
.trust-row > div {
  min-height: 66px;
  border: 1px solid var(--simple-line);
  border-radius: 14px;
  background: rgba(13,32,52,.8);
  color: var(--simple-ink);
  box-shadow: none;
}
.trust-row small { color: var(--simple-muted); }
.trust-icon { color: var(--simple-violet); }
.chain-proof { display: none; }

.hero-stage {
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #203c56;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 38%, rgba(64,161,224,.15), transparent 34%),
    radial-gradient(circle at 88% 7%, rgba(159,139,224,.13), transparent 22%),
    linear-gradient(145deg, #0d2034, #112a42 62%, #112a42);
  box-shadow: var(--simple-shadow);
  clip-path: none;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% -15% auto;
  height: 55%;
  border: 1px solid rgba(100,216,243,.19);
  border-radius: 50%;
  transform: rotate(-11deg);
}
.hero-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(100,216,243,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,216,243,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(145deg, #000 0, transparent 68%);
}
.hero-stage > :not(.simple-hero-panel) { display: none !important; }
.simple-hero-panel {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 38px 28px;
}
.simple-kicker {
  align-self: flex-start;
  color: #64d8f3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.vella-brand-lockup {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.simple-hero-panel .vella-brand-lockup { width: 100%; }
.simple-hero-panel .vella-brand-lockup img {
  width: min(50%, 240px);
  height: auto;
  margin: 0 auto 2px;
  filter: drop-shadow(0 20px 34px rgba(22, 48, 47, .17));
}
.vella-brand-lockup strong {
  color: #b88b32;
  font: 500 clamp(42px, 5.4vw, 66px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-shadow: 0 8px 22px rgba(53, 71, 51, .12);
}
.simple-identity-field {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
}
.simple-identity-field .vella-brand-lockup { position: relative; z-index: 3; }
.simple-orbit-system {
  position: absolute;
  z-index: 1;
  inset: 26px 4px 20px;
}
.simple-orbit-system i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86%;
  height: 46%;
  border: 1px solid rgba(100,216,243,.23);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
}
.simple-orbit-system i:nth-child(2) { width: 69%; height: 64%; border-color: rgba(159,139,224,.28); transform: translate(-50%, -50%) rotate(21deg); }
.simple-orbit-system i:nth-child(3) { width: 48%; height: 78%; border-style: dashed; transform: translate(-50%, -50%) rotate(58deg); }
.simple-orbit-system b {
  position: absolute;
  top: 24%;
  right: 10%;
  width: 9px;
  height: 9px;
  border: 2px solid #0d2034;
  border-radius: 50%;
  background: var(--simple-gold);
  box-shadow: 0 0 0 5px rgba(159,139,224,.14);
}
.simple-axis {
  position: absolute;
  z-index: 4;
  color: #a5bdcf;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}
.axis-x { right: 4px; bottom: 16px; }
.axis-y { top: 42px; left: -20px; transform: rotate(-90deg); }
.simple-feature-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.simple-feature-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(100,216,243,.18);
  border-radius: 999px;
  background: rgba(13,32,52,.9);
  color: #b8d4e6;
  font-size: 12px;
  font-weight: 700;
}
.simple-proof-rail {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border-block: 1px solid rgba(100,216,243,.15);
}
.simple-proof-rail > span { display: grid; gap: 2px; padding: 11px 8px; border-right: 1px solid rgba(100,216,243,.13); }
.simple-proof-rail > span:last-child { border-right: 0; }
.simple-proof-rail small { color: #a5bdcf; font-size: 7px; letter-spacing: .08em; }
.simple-proof-rail b { color: #64d8f3; font-size: 11px; letter-spacing: .12em; }
.simple-hero-panel p { margin: 14px 0 0; color: var(--simple-muted); font-size: 11px; letter-spacing: .2em; }

.market-strip { border-block: 1px solid var(--simple-line); background: rgba(13,32,52,.78); }
.market-grid { grid-template-columns: repeat(5, 1fr); }
.market-grid article {
  min-height: 112px;
  border-right: 1px solid var(--simple-line);
  background: transparent;
}
.market-grid article:last-child { border-right: 0; }
.market-grid article::before { display: none; }
.market-grid span,
.market-grid small { color: var(--simple-muted); }
.market-grid strong { color: var(--simple-ink); }
.metric-icon {
  border: 0;
  border-radius: 12px;
  background: #112a42 !important;
  color: var(--simple-violet) !important;
  box-shadow: none !important;
}
.token-emblem {
  overflow: hidden;
  padding: 3px;
}
.token-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.node-core img {
  width: 42px;
  height: 31px;
  margin: 0 auto 3px;
  object-fit: contain;
}

.vella-manifesto {
  min-height: 0;
  margin-block: 82px;
  padding: 54px;
  overflow: hidden;
  border: 1px solid var(--simple-line);
  border-radius: 28px;
  background: var(--simple-surface);
  box-shadow: var(--simple-shadow);
}
.manifesto-grid,
.manifesto-index { display: none; }
.manifesto-copy h2 {
  color: var(--simple-ink);
  font-size: clamp(38px, 4vw, 60px);
  letter-spacing: -.04em;
}
.manifesto-copy h2 em { color: var(--simple-violet); }
.manifesto-copy p,
.manifesto-meaning p { color: var(--simple-muted); line-height: 1.8; }
.manifesto-en {
  border-left: 3px solid var(--simple-cyan);
  color: var(--simple-muted);
  background: #112a42;
}
.manifesto-system { align-self: stretch; }
.manifesto-orbit { display: none; }
.manifesto-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.manifesto-signals article {
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--simple-line);
  border-radius: 18px;
  background: #0d2034;
}
.manifesto-signals article i { color: var(--simple-violet); }
.manifesto-signals article span,
.manifesto-signals article em { color: var(--simple-muted); }
.manifesto-signals article b { color: var(--simple-ink); }
.manifesto-meaning {
  border-top: 1px solid var(--simple-line);
  background: transparent;
}
.manifesto-meaning > div { color: #b8d4e6; font-size: 11px; line-height: 1.6; white-space: normal; }
.manifesto-meaning > div i { background: #64d8f3; box-shadow: none; }
.manifesto-meaning > span,
.manifesto-meaning p b { color: #b8d4e6; }

.protocol-section {
  margin-top: 0;
  padding: 78px 54px;
  border-radius: 32px;
  background: #112a42;
  color: var(--simple-ink);
  box-shadow: none;
}
.protocol-section::before,
.protocol-section::after,
.mining-shader,
.mining-lens,
.engine-grid,
.engine-index { display: none !important; }
.protocol-intro h2,
.contract-console-head h2,
.section-heading h2 { color: var(--simple-ink); }
.protocol-intro p,
.contract-console-head p,
.section-heading p { color: var(--simple-muted); }
.engine-status {
  border: 1px solid var(--simple-line);
  border-radius: 12px;
  background: #112a42;
  color: var(--simple-muted);
  max-width: 100%;
  box-shadow: none;
}
.engine-status span { color: #b8d4e6; font-size: 12px; }
.engine-status b { color: #a5bdcf; font-size: 11px; line-height: 1.5; }
.engine-status i { background: #64d8f3; box-shadow: none; }
.protocol-intro { min-width: 0; }
.protocol-intro h2 { overflow-wrap: anywhere; text-shadow: none; }
.protocol-intro p { overflow-wrap: anywhere; }
.tax-scale { color: #a5bdcf; border-color: #203c56; font-size: 11px; }
.tax-scale i { background: #64d8f3; box-shadow: none; }
.protocol-card,
.mining-intelligence,
.mining-product {
  overflow: hidden;
  border: 1px solid var(--simple-line);
  border-radius: 22px;
  clip-path: none;
  background: var(--simple-surface);
  color: var(--simple-ink);
  box-shadow: 0 10px 32px rgba(17,55,43,.06);
  transform: none;
}
.protocol-card::before,
.protocol-card::after { display: none; }
.protocol-card-head,
.mining-intelligence-head { border-color: var(--simple-line); }
.protocol-card-head span,
.protocol-card-head em,
.tax-readout span,
.tax-readout small,
.mining-emission span,
.power-lanes span,
.snapshot-countdown span { color: var(--simple-muted); }
.tax-readout strong,
.mining-emission strong,
.power-lanes b,
.snapshot-countdown b { color: var(--simple-violet); }
.radar-rings { filter: hue-rotate(34deg) saturate(.85); }
.mining-intelligence { margin-top: 18px; }
.mining-kpis article,
.power-composition,
.emission-allocation,
.product-stats > div,
.nft-request-state,
.nft-live-grid > div {
  border-color: var(--simple-line);
  background: #0d2034;
}
.mining-intelligence-head > div:first-child b,
.mining-intelligence-head span,
.mining-intelligence-head small,
.mining-kpis em,
.mining-kpis small,
.power-composition-head,
.allocation-head { color: var(--simple-muted); }
.power-composition-head span,
.power-composition-head b,
.allocation-head span,
.allocation-head b { color: var(--simple-muted); }
.mining-kpis .claim-kpi {
  border-color: rgba(100,216,243,.14);
  background: #112a42;
}
.mining-kpis .claim-kpi strong { color: var(--simple-ink); }
.claim-kpi button {
  border-color: rgba(100,216,243,.2);
  border-radius: 10px;
  background: #112a42;
  color: var(--simple-violet);
}
.mining-kpis span,
.product-copy > span,
.product-stats span,
.composition-row span,
.allocation-head,
.nft-live-grid span { color: var(--simple-muted); }
.mining-kpis strong,
.product-copy h3,
.product-stats b,
.power-composition-head,
.nft-live-grid b { color: var(--simple-ink); }
.composition-row > div,
.allocation-track { background: #18334c; }
.composition-row > div b,
.miner-share { background: linear-gradient(90deg, var(--simple-violet), var(--simple-cyan)); }
.mining-product-matrix { gap: 16px; }
.product-orbit {
  border-color: rgba(100,216,243,.16);
  background: #112a42;
}
.product-orbit b { color: var(--simple-violet); }
.product-copy p { color: var(--simple-muted); }
.backend-request {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(105deg, var(--simple-violet), var(--simple-blue));
  color: #fff;
}
.backend-stop {
  border: 1px solid var(--simple-line);
  border-radius: 13px;
  background: #112a42;
  color: var(--simple-muted);
}
.kinetic-rail { display: none; }

.contract-console {
  margin-block: 82px;
  padding: 46px;
  border: 1px solid var(--simple-line);
  border-radius: 28px;
  background: var(--simple-surface);
  box-shadow: var(--simple-shadow);
}
.contract-action-grid { gap: 10px; }
.contract-cta {
  min-height: 100px;
  border: 1px solid var(--simple-line);
  border-radius: 17px;
  background: #0d2034;
  color: var(--simple-ink);
}
.contract-cta:hover {
  border-color: rgba(100,216,243,.34);
  background: #112a42;
  box-shadow: none;
}
.contract-cta > i,
.contract-cta em,
.contract-cta.danger > i,
.contract-cta.danger em { color: var(--simple-violet); }
.contract-cta small { color: var(--simple-muted); }

.dashboard { padding-block: 0 72px; }
.section-heading { margin-bottom: 28px; }
.dashboard-grid { gap: 16px; }
.panel {
  border: 1px solid var(--simple-line);
  border-radius: 22px;
  background: var(--simple-surface);
  color: var(--simple-ink);
  box-shadow: 0 12px 38px rgba(17,55,43,.055);
}
.panel::before,
.panel::after { display: none; }
.panel-title span,
.allocation-total strong,
.reward-total strong,
.lp-main b { color: var(--simple-ink); }
.panel-title small,
.allocation-list span,
.lp-main small,
.reward-total > span,
.reward-total small { color: var(--simple-muted); }
.lp-tabs,
.allocation-list > div,
.reward-list > div,
.lp-row,
.quick-redeem,
.direct-lp-card {
  border-color: var(--simple-line);
  background: #0d2034;
}
.lp-tabs button { color: var(--simple-muted); }
.lp-tabs button.active {
  border-radius: 10px;
  background: var(--simple-violet);
  color: #fff;
}
.allocation-ring { filter: hue-rotate(55deg) saturate(.8); }
.quick-redeem button,
.text-button { color: var(--simple-violet); border-color: rgba(100,216,243,.18); background: #112a42; }
.wide-action.contract-trigger,
.claim-button.contract-trigger {
  border: 0;
  border-radius: 15px;
  background: linear-gradient(105deg, var(--simple-violet), var(--simple-blue), var(--simple-cyan));
  color: #fff;
  box-shadow: 0 14px 32px rgba(8, 90, 65, .18);
}
.wide-action.contract-trigger > small,
.claim-button.contract-trigger > small { color: rgba(255, 255, 255, .76); }
.node-visual { filter: hue-rotate(45deg) saturate(.75); }
.node-rule,
.qualification-card {
  border-color: var(--simple-line);
  border-radius: 18px;
  background: #112a42;
  color: var(--simple-ink);
}
.qualification-section { padding-bottom: 72px; }
.qualification-copy p { color: var(--simple-muted); }

.footer {
  min-height: 130px;
  border-top: 1px solid var(--simple-line);
  color: var(--simple-muted);
}
.footer-brand b { color: var(--simple-ink); }
.footer-links { color: var(--simple-violet); }
.mobile-nav {
  border-color: var(--simple-line);
  background: rgba(13,32,52,.96);
  box-shadow: 0 -10px 30px rgba(17,55,43,.08);
}
.mobile-nav a { color: var(--simple-muted); }
.mobile-nav a.active { color: var(--simple-violet); }

.wallet-backdrop { background: rgba(10, 33, 26, .34); backdrop-filter: blur(8px); }
.wallet-sheet,
.operation-sheet {
  border: 1px solid var(--simple-line);
  border-radius: 24px 24px 0 0;
  background: #112a42;
  color: var(--simple-ink);
}
.wallet-sheet-head,
.operation-head,
.operation-quote,
.operation-risk,
.transaction-gates span,
.operation-field > div,
.operation-field select,
.wallet-provider-option,
.wallet-connect-option,
.wallet-app-links a {
  border-color: var(--simple-line);
  border-radius: 14px;
  background: #0d2034;
  color: var(--simple-ink);
}
.operation-submit {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(105deg, var(--simple-violet), var(--simple-blue));
  color: #fff;
}
.operation-field input,
.operation-head button,
.operation-readiness span,
.operation-quote b { color: var(--simple-ink); }
.operation-head span { color: var(--simple-violet); }
.operation-readiness { color: var(--simple-muted); }
.operation-readiness b { max-width: 28ch; overflow-wrap: anywhere; }
.operation-field input { -webkit-text-fill-color: var(--simple-ink); }
.operation-quote span,
.operation-field,
.operation-risk p { color: var(--simple-muted); }
.operation-field > div b,
.transaction-gates > span[data-state="pass"] em { color: var(--simple-violet); }
.transaction-gates > span[data-state="pass"] { color: var(--simple-ink); }
.operation-quote b { min-width: 0; overflow-wrap: anywhere; }
.operation-progress { color: var(--simple-violet); border-color: var(--simple-line); }
.wallet-button.connected,
.wallet-button:hover { color: var(--simple-ink); background: var(--simple-soft); }
.toast { border-radius: 12px; background: #081b2c; color: #fff; }

@media (max-width: 980px) {
  .topbar,
  .topbar.is-scrolled {
    height: 124px;
    padding: 0 24px 48px;
  }
  .desktop-nav {
    position: absolute;
    right: 24px;
    bottom: 7px;
    left: 24px;
    display: flex;
    justify-content: center;
    max-width: none;
    min-height: 42px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .desktop-nav::-webkit-scrollbar { display: none; }
  .desktop-nav a { flex: 0 0 auto; min-height: 34px; }
  #overview,
  #mining,
  #participate,
  #liquidity,
  #rewards,
  #node { scroll-margin-top: 132px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid article { border-bottom: 1px solid var(--simple-line); }
  .market-grid article:nth-child(2n) { border-right: 0; }
  .market-grid article:last-child { grid-column: 1 / -1; }
  .vella-manifesto { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .network-environment-badge { top: calc(116px + env(safe-area-inset-top)); right: 10px; }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
    background-image:
      radial-gradient(circle at 88% 5%, rgba(100,216,243,.11), transparent 24%),
      radial-gradient(circle at 6% 28%, rgba(159,139,224,.08), transparent 21%),
      linear-gradient(180deg, #071321 0, #112a42 34%, #071321 68%);
  }
  .shell { width: min(100% - 28px, 620px); }
  .topbar,
  .topbar.is-scrolled {
    height: calc(108px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 14px 48px;
  }
  .desktop-nav {
    right: 10px;
    bottom: 5px;
    left: 10px;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    scroll-snap-type: inline proximity;
  }
  .desktop-nav a {
    min-height: 44px;
    padding: 12px 13px;
    scroll-snap-align: start;
    font-size: 11px;
  }
  #overview,
  #mining,
  #participate,
  #liquidity,
  #rewards,
  #node { scroll-margin-top: calc(116px + env(safe-area-inset-top)); }
  .brand-copy small,
  .network-pill { display: none; }
  .brand { min-width: 0; gap: 7px; }
  .header-actions { flex-shrink: 0; gap: 6px; }
  .brand-mark.vella-original-emblem { width: 43px; height: 32px; }
  .language-select { display: block; width: 54px; min-height: 44px; height: 44px; }
  .wallet-button { min-height: 44px; height: 44px; padding-inline: 12px; }
  .referral-binding-console button { min-height: 44px; }
  .hero { display: none; }
  .mobile-portrait-hero {
    display: block;
    width: min(100% - 28px, 620px);
    margin-inline: auto;
    padding: 46px 0 54px;
  }
  .mobile-portrait-heading > span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--simple-violet);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .25em;
  }
  .mobile-portrait-heading > span::before {
    width: 30px;
    height: 2px;
    content: "";
    border-radius: 99px;
    background: linear-gradient(90deg, var(--simple-violet), var(--simple-cyan));
  }
  .mobile-portrait-heading h1 {
    margin: 24px 0 0;
    color: var(--simple-ink);
    font-size: clamp(42px, 12.1vw, 58px);
    line-height: 1.08;
    letter-spacing: -.06em;
  }
  .mobile-portrait-heading h1 em {
    color: transparent;
    font-style: normal;
    background: linear-gradient(100deg, #0d354d, var(--simple-blue) 58%, var(--simple-gold));
    -webkit-background-clip: text;
    background-clip: text;
  }
  .mobile-portrait-visual {
    position: relative;
    min-height: 520px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(100,216,243,.12);
    border-radius: 28px;
    background:
      radial-gradient(circle at 50% 43%, rgba(77,163,237,.16), transparent 32%),
      radial-gradient(circle at 92% 9%, rgba(159,139,224,.13), transparent 23%),
      radial-gradient(circle at 12% 10%, rgba(100,216,243,.12), transparent 30%),
      linear-gradient(155deg, #0d2034, #112a42 64%, #112a42);
    box-shadow: 0 22px 60px rgba(19, 76, 58, .11);
  }
  .mobile-portrait-visual::before,
  .mobile-portrait-visual::after {
    position: absolute;
    content: "";
    border: 1px dashed rgba(100,216,243,.2);
    border-radius: 50%;
  }
  .mobile-portrait-visual::before {
    inset: 72px -120px 96px 18px;
    transform: rotate(-14deg);
  }
  .mobile-portrait-visual::after {
    width: 190px;
    height: 190px;
    right: -58px;
    bottom: -72px;
  }
  .mobile-portrait-visual .vella-brand-lockup {
    position: absolute;
    z-index: 2;
    inset: 0;
  }
  .mobile-portrait-visual .vella-brand-lockup img {
    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    width: min(68%, 285px);
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 24px 32px rgba(20, 50, 43, .18));
  }
  .mobile-portrait-visual .vella-brand-lockup strong {
    position: absolute;
    z-index: 3;
    top: 61%;
    left: 50%;
    color: #b5a6ed;
    font-size: clamp(48px, 15vw, 72px);
    transform: translateX(-50%);
  }
  .mobile-portrait-visual p {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 19px 24px;
    color: #b8d4e6;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .25em;
    text-align: center;
  }
  .mobile-visual-label {
    position: absolute;
    z-index: 4;
    padding: 9px 12px;
    border: 1px solid rgba(100,216,243,.15);
    border-radius: 999px;
    background: rgba(13,32,52,.91);
    color: #b8d4e6;
    box-shadow: 0 10px 24px rgba(19, 76, 58, .1);
    font-size: 10px;
    font-weight: 750;
    backdrop-filter: blur(10px);
  }
  .mobile-visual-label::before { content: "•"; margin-right: 6px; color: var(--simple-blue); }
  .label-rules { top: 24px; left: 18px; }
  .label-liquidity { top: 94px; right: 15px; }
  .label-data { bottom: 144px; left: 18px; }
  .mobile-visual-code {
    position: absolute;
    z-index: 4;
    color: rgba(34, 79, 63, .52);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  .code-top { top: 27px; right: 20px; }
  .code-side { top: 207px; right: -49px; transform: rotate(90deg); }
  .mobile-orbit-system {
    position: absolute;
    z-index: 1;
    inset: 82px 20px 124px;
  }
  .mobile-orbit-system i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 105%;
    height: 45%;
    border: 1px solid rgba(100,216,243,.22);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
  }
  .mobile-orbit-system i:nth-child(2) { width: 82%; height: 70%; border-color: rgba(159,139,224,.27); transform: translate(-50%, -50%) rotate(24deg); }
  .mobile-orbit-system i:nth-child(3) { width: 58%; height: 92%; border-style: dashed; transform: translate(-50%, -50%) rotate(60deg); }
  .mobile-proof-rail {
    position: absolute;
    z-index: 4;
    right: 16px;
    bottom: 50px;
    left: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid rgba(100,216,243,.16);
    background: rgba(13,32,52,.42);
    backdrop-filter: blur(8px);
  }
  .mobile-proof-rail span { display: grid; gap: 2px; padding: 9px 7px; border-right: 1px solid rgba(100,216,243,.13); }
  .mobile-proof-rail span:last-child { border-right: 0; }
  .mobile-proof-rail small { color: #a5bdcf; font-size: 6px; letter-spacing: .05em; }
  .mobile-proof-rail b { color: #64d8f3; font-size: 9px; letter-spacing: .08em; }
  .mobile-portrait-lead {
    margin: 26px 3px 0;
    padding-left: 18px;
    border-left: 2px solid rgba(100,216,243,.22);
    color: var(--simple-muted);
    font-size: 15px;
    line-height: 1.85;
  }
  .mobile-portrait-actions {
    display: grid;
    grid-template-columns: 1fr 58px;
    gap: 10px;
    margin-top: 26px;
  }
  .mobile-portrait-actions .primary-action { width: 100%; min-width: 0; }
  .mobile-portrait-actions > a {
    display: grid;
    place-items: center;
    min-height: 58px;
    border: 1px solid var(--simple-line);
    border-radius: 17px;
    background: #0d2034;
    color: var(--simple-violet);
    font-size: 24px;
    text-decoration: none;
  }
  .mobile-capabilities { margin-top: 58px; }
  .mobile-capabilities h2 {
    margin: 10px 0 22px;
    color: var(--simple-ink);
    font-size: 34px;
    letter-spacing: -.04em;
  }
  .mobile-capabilities article {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 88px;
    border-top: 1px solid var(--simple-line);
  }
  .mobile-capabilities article:last-child { border-bottom: 1px solid var(--simple-line); }
  .mobile-capabilities article > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid rgba(100,216,243,.1);
    background: linear-gradient(145deg, #112a42, #112a42);
    color: var(--simple-violet);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
  }
  .mobile-capabilities article div { display: grid; gap: 5px; }
  .mobile-capabilities article b { color: var(--simple-ink); font-size: 16px; }
  .mobile-capabilities article small { color: var(--simple-muted); font-size: 12px; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-grid article { min-height: 98px; padding: 15px 12px; }
  .market-grid article:last-child { grid-column: 1 / -1; }
  .vella-manifesto { margin-block: 46px; padding: 28px 22px; border-radius: 22px; }
  .manifesto-copy h2 { font-size: 39px; }
  .manifesto-signals { grid-template-columns: 1fr; }
  .manifesto-signals article { min-height: 102px; }
  .protocol-section { width: 100%; padding: 48px 14px; border-radius: 0; }
  .protocol-intro h2 { font-size: 34px; }
  .protocol-card { border-radius: 18px; }
  .mining-intelligence { border-radius: 18px; }
  .mining-kpis { grid-template-columns: 1fr 1fr; }
  .mining-product-matrix { grid-template-columns: 1fr; }
  .contract-console { margin-block: 46px; padding: 26px 18px; border-radius: 22px; }
  .contract-action-grid { grid-template-columns: 1fr; }
  .contract-cta { min-height: 86px; }
  .dashboard { padding-bottom: 44px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .panel { border-radius: 18px; }
  .footer { padding-block: 24px; }
  .mobile-nav { display: grid; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 340px) {
  .mobile-portrait-heading h1 { font-size: 36px; }
  .mobile-portrait-visual { min-height: 430px; }
  .mobile-visual-label { padding: 8px 10px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

#claimBatchProgress { padding: 12px 14px; border: 1px solid #203c56; border-radius: 12px; background: #112a42; color: #b8d4e6; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }

/* Vella NFT v0.0002: golden-ratio card using the original emblem. */
.node-visual { height: auto; padding: 26px 0 22px; filter: none; }
.node-visual[hidden] { display: none !important; }
.node-core {
  position: relative; display: block; width: min(100%, 216px); height: auto;
  aspect-ratio: 1 / 1.618033989; padding: 0; overflow: hidden;
  clip-path: none; border: 1px solid #c7ae71; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 30%, #b8d4e6 0%, #081b2c 44%, #081b2c 100%);
  color: #eddbac; filter: none; box-shadow: 0 16px 28px #153e2426, inset 0 0 0 4px #081b2c;
  isolation: isolate;
}
.node-core::before { content: ""; position: absolute; inset: 8px; border: 1px solid #c7ae7147; border-radius: 7px; pointer-events: none; }
.node-core::after { content: ""; position: absolute; z-index: -1; width: 150%; height: 55%; left: -25%; top: 5%; border: 1px solid #c7ae7124; border-radius: 50%; transform: rotate(-32deg); box-shadow: 0 0 0 16px #c7ae7105, 0 0 0 34px #c7ae7105; }
.node-card-edition { position: absolute; top: 7%; left: 9%; right: 9%; display: flex; justify-content: space-between; gap: 6px; }
.node-core .node-card-edition span { font: 600 6px/1.3 Arial,sans-serif; letter-spacing: .12em; color: #c5cbb3; }
.node-card-emblem { position: absolute; top: 16%; left: 9%; right: 9%; height: 44%; display: grid; place-items: center; }
.node-core .node-card-emblem img { display: block; width: 100%; height: auto; max-height: 100%; margin: 0; object-fit: contain; filter: drop-shadow(0 10px 12px #0006); }
.node-card-brand { position: absolute; left: 9%; right: 9%; top: 63%; padding-top: 10px; border-top: 1px solid #bfa66455; text-align: center; }
.node-card-brand strong { display: block; font: 400 44px/1.1 Georgia,serif; letter-spacing: -.04em; color: #f2dfae; text-shadow: 0 2px 8px #0004; }
.node-core .node-card-brand span { display: block; margin-top: 9px; font: 500 7px/1.3 Arial,sans-serif; letter-spacing: .22em; color: #a5c4b3; }
.node-card-footer { position: absolute; bottom: 7%; left: 9%; right: 9%; display: flex; align-items: center; justify-content: space-between; }
.node-core .node-card-footer span { font: 500 5px/1.3 Arial,sans-serif; letter-spacing: .16em; color: #a5bba8; }
.node-card-footer i { width: 6px; height: 6px; border: 1px solid #c7ae71; transform: rotate(45deg); }
.node-card-count { display: flex; justify-content: space-between; padding: 12px 0; color: var(--simple-muted); font-size: 12px; }
.node-card-count b { color: var(--simple-ink); }

/* v0.0003 landscape golden ratio, same Vella palette and emblem. */
.node-visual { padding: 22px 0; }
.node-core { width: min(100%, 340px); aspect-ratio: 1.618033989 / 1; border-radius: 12px; }
.node-card-edition { top: 9%; left: 7%; right: 7%; }
.node-card-emblem { top: 17%; left: 30%; right: 30%; height: 49%; }
.node-card-brand { top: 66%; left: 19%; right: 19%; padding-top: 6px; }
.node-card-brand strong { font-size: 32px; line-height: 1; }
.node-core .node-card-brand span { margin-top: 5px; font-size: 6px; letter-spacing: .2em; }
.node-card-footer { left: 7%; right: 7%; bottom: 9%; }

/* Keep editing geometry stable and the test-network label inside the sheet. */
.operation-head .network-environment-badge {
  position: static;
  display: inline-block;
  margin-top: 10px;
  max-width: 100%;
  font-size: 10px;
  letter-spacing: .04em;
}
.operation-head .network-environment-badge[hidden] { display: none; }
.operation-head > div { min-width: 0; }
.operation-head button { flex-shrink: 0; }
.operation-sheet[data-editing="true"] .operation-quote,
.operation-sheet[data-editing="true"] .transaction-gates,
.operation-sheet[data-editing="true"] .operation-readiness {
  opacity: .45;
  pointer-events: none;
}
@media (max-width: 600px) {
  .operation-sheet { overscroll-behavior-y: contain; scroll-padding-block: 20px; }
  .operation-field input { font-size: 18px; scroll-margin-block: 24px; }
  .operation-quote > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 12px; }
  .operation-quote b { min-width: 0; overflow-wrap: anywhere; }
}

.operation-donation-explanation { white-space: pre-line; color: var(--simple-muted); font-size: 12px; line-height: 1.7; margin: 14px 0; }

/* Preserve row height while preventing previous amounts from appearing current. */
.operation-sheet[data-editing="true"] .operation-quote b,
.operation-sheet[data-editing="true"] .operation-donation-explanation {
  visibility: hidden;
}

/* Customer transaction flow: no diagnostic console or automatic log scrolling. */
#operationProgress { display: none !important; }
.operation-readiness b, .operation-submit small { display: none; }
.transaction-success { width: min(420px, calc(100vw - 32px)); padding: 24px; border: 1px solid #203c56; border-radius: 20px; background: #112a42; color: #e5f4fc; }
.transaction-success::backdrop { background: rgba(10,33,26,.55); }
.transaction-success h2 { margin: 0 0 18px; font-size: 24px; }
.transaction-success textarea { box-sizing: border-box; width: 100%; height: 88px; padding: 12px; border: 1px solid #203c56; border-radius: 10px; resize: none; font-size: 15px; color: #e5f4fc; background: #071321; overflow-wrap: anywhere; }
.transaction-success button { width: 100%; min-height: 44px; margin-top: 12px; border: 0; border-radius: 10px; color: #fff; background: #64d8f3; font-size: 16px; }
@media(max-width:600px) {
 .operation-sheet { top: 0; bottom: auto; height: 100dvh; max-height: 100dvh; border-radius: 0; clip-path: none; }
}

/* Compact donation dialog: amount and action stay in the initial viewport. */
.operation-sheet[data-operation="donate"] {
 top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%);
 width: min(440px, calc(100vw - 24px)); height: auto; max-height: 88dvh;
 padding: 18px; border-radius: 18px; clip-path: none; overscroll-behavior: contain;
}
.operation-sheet[data-operation="donate"] .operation-head { padding: 0 0 12px; gap: 8px; border-radius: 0; box-shadow: none; }
.operation-sheet[data-operation="donate"] .operation-head h2 { font-size: 22px; line-height: 1.3; margin-top: 0; }
.operation-sheet[data-operation="donate"] .operation-head > div > span { display: none; }
.operation-sheet[data-operation="donate"] .operation-head button { width: 36px; height: 36px; }
.operation-sheet[data-operation="donate"] .network-environment-badge { margin-top: 6px; padding: 4px 8px; font-size: 9px; }
.operation-sheet[data-operation="donate"] .transaction-gates,
.operation-sheet[data-operation="donate"] .operation-risk { display: none; }
.operation-sheet[data-operation="donate"] .operation-field { margin: 12px 0; gap: 6px; }
.operation-sheet[data-operation="donate"] .operation-readiness { margin: 8px 0; padding: 8px; font-size: 11px; letter-spacing: 0; border-radius: 8px; }
.operation-sheet[data-operation="donate"] .operation-readiness[data-state="ready"] { display: none; }
.operation-sheet[data-operation="donate"] .operation-quote { margin: 10px 0; }
.operation-sheet[data-operation="donate"] .operation-quote > div { padding: 10px; font-size: 12px; }
#operationDonationDetails { margin: 12px 0; }
#operationDonationDetails summary { cursor: pointer; color: #64d8f3; font-size: 13px; padding: 8px 0; }
.operation-sheet[data-operation="donate"] .operation-submit { min-height: 48px; }

/* Wallet chooser: explicit light-theme colors instead of inherited neon text. */
.wallet-sheet {
 --text: #e5f4fc; --faint: #a5bdcf; --v11-cyan: #64d8f3;
 top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%);
 width: min(440px, calc(100vw - 24px)); max-height: 88dvh; padding: 18px;
 border: 1px solid #203c56; border-radius: 22px; clip-path: none;
 background: #0d2034; color: #e5f4fc; box-shadow: 0 24px 80px rgba(9,38,29,.3);
 overscroll-behavior: contain;
}
.wallet-sheet::before { display: none; }
.wallet-sheet-head { padding: 16px; border: 0; border-radius: 14px; background: #0d354d; color: #e5f4fc; align-items: center; }
.wallet-sheet-head span { display: none; }
.wallet-sheet-head h2 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 700; }
.wallet-sheet-head button { flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #517666; border-radius: 10px; background: #0d354d; color: #e5f4fc; }
.wallet-status { margin: 12px 0; padding: 10px 12px; border: 1px solid #203c56; border-radius: 10px; background: #112a42; color: #b8d4e6; font-size: 12px; letter-spacing: 0; }
.wallet-status span { color: #b8d4e6; }
.wallet-status b { display: none; }
.wallet-status i { background: #64d8f3; box-shadow: none; border-radius: 50%; }
.wallet-status[data-state="error"] { border-color: #795166; background: #332435; color: #ffb7b0; }
.wallet-status[data-state="error"] span { color: #ffb7b0; }
.wallet-provider-list { gap: 8px; }
.wallet-provider-option, .wallet-connect-option { min-height: 56px; padding: 12px 14px; gap: 10px; border: 1px solid #203c56; border-radius: 12px; background: #112a42; color: #e5f4fc; }
.wallet-provider-option b, .wallet-connect-option b { font-size: 15px; font-weight: 700; letter-spacing: 0; color: #e5f4fc; }
.wallet-provider-option small { display: none; }
.wallet-connect-option small { color: #a5bdcf; font-size: 11px; line-height: 1.5; letter-spacing: 0; }
.wallet-provider-option strong, .wallet-connect-option strong { color: #64d8f3; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.wallet-provider-option:hover, .wallet-connect-option:hover { transform: none; border-color: #64d8f3; background: #112a42; }
.wallet-provider-option:focus-visible, .wallet-connect-option:focus-visible, .wallet-app-links a:focus-visible { outline: 2px solid #64d8f3; outline-offset: 2px; }
.wallet-provider-empty { border-radius: 10px; color: #a5bdcf; font-size: 12px; background: #112a42; }
.wallet-app-zone { margin-top: 18px; padding-top: 14px; border-top: 1px solid #203c56; }
.wallet-zone-label span { color: #b8d4e6; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.wallet-zone-label small { color: #a5bdcf; font-size: 11px; }
.wallet-app-links { gap: 8px; }
.wallet-app-links a { min-height: 56px; padding: 10px; border: 1px solid #203c56; border-radius: 10px; background: #112a42; }
.wallet-app-links b { color: #e5f4fc; font-size: 13px; }
.wallet-app-links small { color: #a5bdcf; font-size: 10px; letter-spacing: 0; }
.wallet-disconnect { min-height: 44px; margin-top: 14px; border: 1px solid #795166; border-radius: 10px; background: #332435; color: #ffb7b0; font-size: 13px; letter-spacing: 0; }
.wallet-security { margin: 12px 0 0; color: #a5bdcf; font-size: 11px; line-height: 1.6; }

/* Shared readable palette for every contract action, including LP and referral tabs. */
.operation-sheet { --text: #e5f4fc; --faint: #a5bdcf; --v11-cyan: #64d8f3; }
.operation-kind { border-color: #203c56; border-radius: 10px; overflow: hidden; }
.operation-kind button { color: #b8d4e6; background: #112a42; border-color: #203c56; font-size: 12px; letter-spacing: 0; }
.operation-kind button.active { color: #fff; background: #64d8f3; }
.operation-field select { color: #e5f4fc; font-size: 14px; }
.operation-risk p, .operation-quote span, .operation-field { color: #a5bdcf; }
.operation-risk i { color: #c8baf6; border-color: #625884; }
.transaction-gates > span { color: #a5bdcf; }
.transaction-gates em { color: #a5bdcf; }
.operation-readiness { color: #a5bdcf; }
.operation-kind button:focus-visible, .operation-sheet button:focus-visible { outline: 2px solid #64d8f3; outline-offset: 2px; }
.transaction-success { max-height: 88dvh; overflow-y: auto; }

/* Compact wallet selection, with secondary app links disclosed on demand. */
.wallet-sheet { width: min(380px, calc(100vw - 28px)); padding: 20px; background: #0d2034; border-radius: 22px; }
.wallet-sheet-head { padding: 0 0 14px; border-bottom: 1px solid #203c56; border-radius: 0; background: transparent; color: #e5f4fc; }
.wallet-sheet-head h2 { font-size: 21px; letter-spacing: -.02em; }
.wallet-sheet-head button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #112a42; color: #b8d4e6; font-size: 22px; }
.wallet-status { margin: 10px 0; padding: 4px 0; border: 0; background: transparent; font-size: 11px; }
.wallet-provider-list { gap: 6px; }
.wallet-provider-option { grid-template-columns: 34px minmax(0,1fr) auto; min-height: 54px; padding: 9px 11px; }
.wallet-provider-option .wallet-choice-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #112a42; color: #b8d4e6; font: 700 11px/1 sans-serif; }
.wallet-provider-option b, .wallet-connect-option b { font-size: 14px; }
.wallet-provider-option strong, .wallet-connect-option strong { font-size: 11px; }
.wallet-connect-option { min-height: 52px; margin-top: 6px; padding: 9px 12px; background: #112a42; }
.wallet-connect-option small { display: none; }
.wallet-app-zone { margin-top: 12px; padding-top: 10px; border-color: #203c56; }
.wallet-app-zone summary { cursor: pointer; padding: 7px 0; color: #b8d4e6; font-size: 13px; font-weight: 600; }
.wallet-app-links { margin-top: 8px; }
.wallet-app-links small { display: none; }
.wallet-app-links a { min-height: 44px; padding: 8px; }
.wallet-security { margin-top: 12px; text-align: center; font-size: 11px; color: #a5bdcf; }
.wallet-disconnect { min-height: 36px; margin-top: 10px; padding: 8px; font-size: 12px; }

/* Local wallet brand assets and consistent, readable transaction feedback. */
.wallet-choice-icon img, .wallet-brand-icon { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; display: block; }
.wallet-provider-option .wallet-choice-icon { background: transparent; }
.wallet-connect-option { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; }
.wallet-app-links a { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; }
.wallet-app-links img { object-fit: contain; border-radius: 6px; flex: 0 0 24px; }
.transaction-error h2 { color: #ffb7b0; }
.transaction-error p { font-size: 17px; line-height: 1.65; color: #e5f4fc; padding: 16px; background: #332435; border: 1px solid #795166; border-radius: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }

/* Match primary action alignment across product cards. */
.mining-action, .wide-action.contract-trigger {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px;
  grid-template-rows: auto; align-items: center; gap: 8px;
  width: 100%; padding: 14px 16px; min-height: 50px; text-align: center;
}
.mining-action > span, .wide-action.contract-trigger > span { grid-column: 2; grid-row: 1; justify-self: center; font-size: 15px; line-height: 1.4; }
.mining-action > b, .wide-action.contract-trigger > b { grid-column: 3; grid-row: 1; justify-self: center; align-self: center; }
.mining-action > small, .wide-action.contract-trigger > small, .contract-trigger::after { display: none; }
@media (max-width: 600px) {
  .protocol-card { padding: 20px; }
  .mining-intelligence { padding: 20px; }
  .mining-intelligence-head { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .mining-intelligence-head > div { min-width: 0; }
  .mining-intelligence-head > div:first-child span { letter-spacing: .04em; line-height: 1.5; overflow-wrap: anywhere; }
}

/* Quiet, consistent surfaces. Brand art retains its original colours. */
:root { --simple-bg: #071321; --simple-surface: #0d2034; --simple-soft: #112a42; --simple-line: #203c56; --simple-muted: #a5bdcf; --simple-shadow: 0 4px 16px rgba(20,45,32,.035); }
body { background: var(--simple-bg); }
body::after { display: none; }
.protocol-section, .contract-console { background: transparent; border: 0; border-radius: 0; box-shadow: none; clip-path: none; }
.contract-console::before, .contract-cta::before, .mining-intelligence::before { display: none; }
.protocol-card, .mining-intelligence, .panel, .contract-cta, .contract-cta.danger {
  background: var(--simple-surface); border: 1px solid var(--simple-line);
  border-radius: 16px; box-shadow: none; clip-path: none;
}
.contract-cta { grid-template-columns: 24px minmax(0,1fr) 20px; grid-template-rows: auto; align-items: center; min-height: 72px; padding: 18px; gap: 12px; }
.contract-cta > i { grid-column: 1; grid-row: 1; align-self: center; color: #a5bdcf; }
.contract-cta > span { grid-column: 2; grid-row: 1; }
.contract-cta > span > b { font-size: 15px; line-height: 1.5; }
.contract-cta > strong { grid-column: 3; grid-row: 1; align-self: center; color: #b8d4e6; }
.contract-cta > em, .contract-cta > span > small { display: none; }
.contract-cta:hover, .contract-cta.danger:hover { transform: none; background: var(--simple-soft); box-shadow: none; }
.primary-action, .mining-action, .wide-action.contract-trigger, .claim-button.contract-trigger, .operation-submit { background: #0b506e; box-shadow: none; }
.wallet-sheet, .operation-sheet, .transaction-success { background: var(--simple-surface); border-color: var(--simple-line); border-radius: 20px; box-shadow: 0 16px 48px rgba(20,45,32,.15); }
.wallet-sheet-head, .operation-head { background: transparent; box-shadow: none; }
.wallet-provider-option, .wallet-connect-option, .wallet-app-links a, .operation-field input, .operation-field select, .operation-quote { background: var(--simple-soft); border-color: var(--simple-line); box-shadow: none; }
.wallet-sheet-head button, .operation-head button { background: var(--simple-soft); color: #e5f4fc; }
.wallet-disconnect { background: transparent; }
.wallet-backdrop, .operation-backdrop, .transaction-success::backdrop { background: rgba(17,35,27,.42); backdrop-filter: blur(4px); }
.mining-kpis > article, .mining-product-card, .direct-lp-card, .quick-redeem, .allocation-list > div, .reward-list > div, .lp-row { background: transparent; box-shadow: none; border-color: var(--simple-line); }
@media (max-width: 600px) {
  .shell, .protocol-section.shell { width: calc(100% - 32px); margin-left: auto; margin-right: auto; }
  .protocol-section { padding: 36px 0; }
  .contract-console { padding: 0; margin-block: 32px; }
  .contract-console-head, .section-heading, .protocol-intro { padding-inline: 0; }
  .contract-console-head h2, .section-heading h2, .protocol-intro h2 { font-size: 28px; line-height: 1.35; letter-spacing: -.025em; }
  .contract-console-head, .section-heading { margin-bottom: 20px; }
  .contract-action-grid { gap: 8px; }
  .protocol-card, .panel, .mining-intelligence { padding: 20px; border-radius: 16px; }
  .dashboard-grid { gap: 12px; }
  .section-heading p, .protocol-intro p { font-size: 14px; line-height: 1.75; }
}
/* One action colour across sheets and all transaction outcomes. */
.transaction-success button, .operation-submit, .primary-action, .mining-action, .wide-action.contract-trigger, .claim-button.contract-trigger { background: #0b506e; color: #fff; border-radius: 12px; box-shadow: none; }
.transaction-error p { background: var(--simple-soft); border-color: var(--simple-line); }
.transaction-progress { text-align: center; padding: 32px 24px; }
.transaction-progress h2 { font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.transaction-progress p { font-size: 15px; color: #a5bdcf; line-height: 1.6; }
.transaction-spinner { margin: 0 auto 20px; width: 34px; height: 34px; border: 3px solid #203c56; border-top-color: #0b506e; border-radius: 50%; animation: transaction-spin 1s linear infinite; }
@keyframes transaction-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .transaction-spinner { animation-duration: 3s; } }

/* Keep environment context in flow, never floating over actions or values. */
.environment-dock { display: flex; justify-content: flex-end; padding-block: 10px; }
.environment-dock:has(.network-environment-badge[hidden]), .environment-dock:empty { display: none; }
.environment-dock .network-environment-badge { position: static; padding: 6px 10px; font-size: 10px; letter-spacing: .035em; box-shadow: none; border-color: #625884; background: #201f3b; color: #c8baf6; }
.section-heading::before, .section-heading::after { display: none; }
.power-lanes i, .tax-scale > i { background: #0b506e; box-shadow: none; }
.power-composition, .emission-allocation, .mining-kpis article, .mining-kpis .claim-kpi, .product-stats > div, .nft-request-state, .nft-live-grid > div { background: var(--simple-surface); box-shadow: none; border-color: var(--simple-line); }
.mining-intelligence-head > div:first-child b { color: var(--simple-ink); }
.contract-cta.danger > strong, .contract-cta.danger > i { color: #a5bdcf; }
.wallet-button { background: #0b506e; box-shadow: none; }
.primary-action:hover, .mining-action:hover, .wide-action:hover, .claim-button:hover { transform: none; box-shadow: none; }
@media (max-width: 600px) {
  .section-heading > div, .contract-console-head > div { min-width: 0; }
  .section-heading p { margin-top: 12px; }
  .protocol-card-head { gap: 12px; flex-wrap: wrap; }
  .protocol-card-head em { font-size: 11px; line-height: 1.5; }
  .operation-sheet input { font-size: 16px; }
}
.topbar, .topbar.is-scrolled { background: var(--simple-surface); backdrop-filter: none; }
/* Header geometry stays identical before and after scrolling. */
.topbar, .topbar.is-scrolled { margin: 0; transform: none; transition: none; }
.topbar .brand { flex-shrink: 0; transform: none; transition: none; }
.transaction-error h2, .transaction-error p { color: #e5f4fc; }
.transaction-error p { padding: 0; border: 0; background: transparent; margin: 0 0 24px; }
.transaction-error button { font-weight: 600; }
@media (max-width: 600px) {
  .topbar, .topbar.is-scrolled { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; justify-content: normal; }
  .topbar .brand { justify-self: start; margin: 0; }
  .topbar .header-actions { justify-self: end; }
}

/* 20260911 ocean: midnight blue, ice cyan and restrained cool violet.
   CSS-only reference interpretation; no reference lettering or character art. */
:root {
 color-scheme: dark;
 --text: #e5f4fc; --muted: #a5bdcf; --faint: #a5bdcf;
 --v11-cyan: #64d8f3; --simple-shadow: 0 12px 40px rgba(0,7,18,.18);
}
body {
 background-color: var(--simple-bg);
 background-image: radial-gradient(ellipse 75% 620px at 8% 0, rgba(37,112,179,.18), transparent 75%),
 radial-gradient(ellipse 60% 520px at 100% 16%, rgba(112,87,179,.13), transparent 75%);
}
.topbar, .topbar.is-scrolled { border-bottom-color: var(--simple-line); }
.desktop-nav { background: #091a2b; }
.desktop-nav a.active, .desktop-nav a:hover { color: #e0d7ff; box-shadow: inset 0 -2px #a595dd; background: #202941; }
.hero-stage, .mobile-portrait-visual {
 background: radial-gradient(ellipse at 28% 35%, rgba(41,146,204,.2), transparent 62%),
 radial-gradient(ellipse at 95% 85%, rgba(130,98,201,.18), transparent 62%), #0c1d32;
 border-color: #2b4260;
 box-shadow: inset 0 1px 0 rgba(153,211,255,.06);
}
.hero-stage::after { opacity: .35; }
.hero-copy h1 em, .mobile-portrait-heading h1 em {
 background-image: linear-gradient(105deg, #86e0f5, #aecaf8 62%, #baa8eb);
 color: transparent; -webkit-background-clip: text; background-clip: text;
}
.simple-kicker, .mobile-portrait-heading > span, .section-index { color: #b5a6ed; }
.simple-orbit-system i:nth-child(2) { border-color: rgba(181,166,237,.32); }
.simple-feature-tags span { background: #132b42; color: #c8dcec; }
.protocol-card, .panel, .mining-intelligence { box-shadow: inset 0 1px rgba(164,201,240,.035); }
.protocol-card-head em { color: #bcafec; }
.primary-action, .mining-action, .wide-action.contract-trigger, .claim-button.contract-trigger,
.operation-submit, .transaction-success button, .wallet-button, .backend-request {
 background: #0b506e; color: #f1fbff; border: 1px solid #337b96; box-shadow: none;
}
.primary-action:hover, .mining-action:hover, .wide-action.contract-trigger:hover,
.claim-button.contract-trigger:hover, .operation-submit:hover, .transaction-success button:hover,
.wallet-button:hover, .backend-request:hover { background: #126581; color: #fff; }
.lp-tabs button.active, .operation-kind button.active { background: #344065; color: #f4efff; }
.wallet-sheet, .operation-sheet { --text: #e5f4fc; --faint: #a5bdcf; --v11-cyan: #64d8f3; }
.wallet-backdrop, .operation-backdrop, .transaction-success::backdrop { background: rgba(2,8,20,.72); }
.wallet-sheet, .operation-sheet, .transaction-success { box-shadow: 0 24px 80px rgba(0,5,15,.5); }
.transaction-success h2, .transaction-success p, .transaction-success code { color: #e5f4fc; }
.transaction-success a { color: #8ae4f7; }
.transaction-spinner { border-color: #284059; border-top-color: #b5a6ed; }
.live-dot, .engine-status i, .wallet-status i { background: #64d8f3; box-shadow: none; }
.power-lanes i, .tax-scale > i { background: #6fbdd6; }
.allocation-ring, .node-visual, .radar-rings { filter: none; }
.environment-dock .network-environment-badge { color: #c8baf6; background: #201f3b; border-color: #514975; }
:focus-visible { outline: 2px solid #b7a6ef; outline-offset: 3px; }
::selection { background: #514975; color: #fff; }
@media (max-width:600px) { .mobile-portrait-hero { width: calc(100% - 32px); } }
/* Remove inherited chrome so blue/violet remains quiet and consistent. */
.primary-action, .vella-manifesto { clip-path: none; }
.desktop-nav { box-shadow: none; }
.desktop-nav::before, .desktop-nav::after { display: none; }
.operation-head button { border-radius: 10px; }
.operation-head .network-environment-badge { border-color: #514975; }
.operation-readiness, .operation-readiness[data-state="ready"] { background: #17273c; border-color: #3d405e; }
.operation-readiness i { background: #b5a6ed; box-shadow: none; }
.mobile-visual-code { color: #8aa3bd; }
.node-core { background: radial-gradient(ellipse at 50% 30%, #17364b, #081b2c 70%); }
