@font-face {
  font-family: FallbackMono;
  src: local("Courier New");
  font-display: swap;
}
:root {
  --ink: #293b30;
  --muted: #697366;
  --paper: #f1ecdd;
  --cream: #fff9e9;
  --orange: #d9693c;
  --shell: #e28a57;
  --shell-light: #efa16a;
  --edge: #7a412c;
  --line: #d6d9c4;
  --green: #34684e;
  --lcd: #f3f5e6;
  --base: #0000ff;
  --eth: #8c8c8c;
  --ape: #0054fa;
  --rh: #c3f53c;
  --mono: FallbackMono, "Courier New", monospace;
}
#send-dialog{width:min(94vw,600px);max-height:90dvh;overflow:auto;border:3px solid var(--edge);border-radius:18px;background:var(--cream);color:var(--ink);padding:24px;font-family:inherit}
#send-dialog::backdrop{background:#182a28bb}
.send-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#send-dialog label{display:grid;gap:6px;margin:14px 0;font-weight:700}
#send-dialog input,#send-dialog select{width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;min-width:0}
#send-dialog [hidden]{display:none!important}
#send-dialog .send-warning{display:flex;align-items:flex-start;font-size:14px;font-weight:400}
#send-unknown{width:auto!important;margin-top:4px}
#send-details{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;font-size:14px}
#send-details dt{font-weight:700}#send-details dd{margin:0;overflow-wrap:anywhere}
#send-status{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
body.embedded #send-open,body.embedded #send-dialog{display:none!important}
#mint-setup-dialog{width:min(94vw,600px);max-height:90dvh;overflow:auto;border:3px solid var(--edge);border-radius:18px;background:var(--cream);color:var(--ink);padding:24px;font-family:inherit}
#mint-setup-dialog::backdrop{background:#182a28bb}
#mint-setup-dialog p{line-height:1.5;overflow-wrap:anywhere;font-size:15px}
#send-dialog .small-button,#mint-setup-dialog .small-button{padding:10px 14px;min-height:42px;border:1px solid var(--edge);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:700;font-size:13px;font-family:inherit;cursor:pointer}
#send-confirm,#mint-setup-confirm{background:#34684e!important;color:#fff9e9!important}
#send-details dd{font-weight:500;font-size:13px}
#send-status{font-weight:500}
body.embedded #mint-setup-open,body.embedded #mint-setup-dialog{display:none!important}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  background-image: radial-gradient(#a7ad963b 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button[hidden],
[hidden] {
  display: none !important;
}
.site-header {
  max-width: 1400px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -2px;
  text-decoration: none;
}
.brand-mark {
  background: var(--green);
  color: var(--cream);
  border-radius: 8px;
  font-size: 24px;
  width: 32px;
  height: 33px;
  text-align: center;
  letter-spacing: -2px;
}
.brand-dot {
  color: var(--orange);
  font-family: var(--mono);
  margin-left: -7px;
}
.edition,
.eyebrow,
.micro,
.serial,
.bezel-top,
.device-controls,
.screen-header,
#view-mode,
.scene-label,
.scene-bag,
.chain-pill,
.small-button,
.state-pill,
.screen-bottom,
.device-bottom,
.under-device,
.lookup label,
.small-note,
.site-footer,
.connect,
.toast {
  font-family: var(--mono);
}
.edition {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.connect {
  background: var(--cream);
  border: 1px solid #b8beaa;
  border-radius: 5px;
  padding: 12px 17px;
  font-size: 11px;
  box-shadow: 0 2px 0 #d4d7c7;
}
.connect span {
  margin-left: 13px;
}
.workbench {
  max-width: 1200px;
  margin: 30px auto 55px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 65px;
  padding: 0 6%;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-light {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #649264;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #6492641c;
}
h1 {
  font-size: clamp(44px, 5.2vw, 75px);
  line-height: 0.98;
  letter-spacing: -3px;
  font-weight: normal;
  margin: 25px 0;
}
h1 span {
  color: var(--orange);
  font-style: italic;
}
.intro-copy {
  font-size: 16px;
  line-height: 1.7;
  color: #596452;
}
.lookup {
  margin-top: 30px;
}
.lookup label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.lookup-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #acb49e;
  border-radius: 6px;
  background: var(--cream);
  padding: 7px 7px 7px 13px;
  width: min(100%, 340px);
}
.lookup input {
  width: 60px;
  min-width: 0;
  background: transparent;
  border: 0;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  -moz-appearance: textfield;
}
.lookup input::-webkit-inner-spin-button {
  display: none;
}
.lookup-input button {
  margin-left: auto;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: var(--cream);
  padding: 11px;
  font-size: 11px;
  font-family: var(--mono);
  white-space: nowrap;
}
.lookup-input button span {
  padding-left: 8px;
}
.small-note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
}
.note-symbol {
  font-size: 29px;
}
.device-stage {
  min-width: 0;
}
.device {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.12;
  display: flex;
  flex-direction: column;
  background: var(--shell);
  border: 3px solid var(--edge);
  border-radius: 35px;
  padding: 0 21px;
  box-shadow:
    inset 0 3px 0 #ffd5a4,
    inset 0 -6px 0 #b76640,
    0 9px 0 #8e5137,
    0 11px 0 #d3ba98,
    14px 24px 0 #454f3512;
  max-width: 560px;
  margin: auto;
}
.device:before,
.device:after {
  content: "+";
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 12px;
  width: 13px;
  height: 13px;
  text-align: center;
  border: 1px solid #a05536;
  border-radius: 50%;
  background: #cf794e;
  color: #7a412c;
  top: 15px;
}
.device:before {
  left: 13px;
}
.device:after {
  right: 13px;
}
.bezel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 9px 14px;
  font-weight: bold;
  font-size: 13px;
  color: #573623;
  letter-spacing: 2px;
}
.tiny-star {
  font-size: 10px;
  margin-left: 5px;
}
.serial {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: normal;
}
.device-lights {
  color: #6f4631;
  font-size: 12px;
}
.screen {
  flex: 1;
  min-height: 0;
  border: 3px solid #3e4d3d;
  border-radius: 14px;
  background: var(--lcd);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 0 #ffcf99,
    0 0 0 5px #b66d45,
    inset 0 2px 0 #94a48a;
}
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 8px;
  font-size: 11px;
  border-bottom: 1px solid #c4cdb5;
  gap: 5px;
}
.screen-header > div {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}
.screen-header strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-mode {
  font-size: 7px;
  letter-spacing: 0.6px;
  color: #697963;
  white-space: nowrap;
}
.scene {
  position: relative;
  overflow: hidden;
  background: #c5dcc3;
  flex-shrink: 0;
  border-bottom: 2px solid #758d63;
}
.scene canvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  aspect-ratio: 240/128;
  object-fit: cover;
  object-position: bottom;
}
.scene-label {
  position: absolute;
  top: 10px;
  left: 11px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #4d7053;
  background: #edf5daab;
  padding: 4px 5px;
}
.scene-bag {
  position: absolute;
  right: 11px;
  bottom: 10px;
  font-size: 9px;
  color: #fdf5db;
  background: #506d46;
  border: 1px solid #2d5035;
  border-radius: 4px;
  padding: 6px 8px;
  box-shadow: 0 2px 0 #344a31;
}
.scene-bag span {
  color: #ffe3a4;
  margin-right: 4px;
}
.screen-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a7b196 var(--lcd);
}
.view {
  padding: 10px 13px;
}
.identity {
  display: flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}
.identity-icon {
  font-size: 30px;
  color: var(--green);
}
.micro {
  font-size: 8px;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin: 0 0 3px;
}
.address {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
}
.chain-pill {
  font-size: 7px;
  white-space: nowrap;
  background: #e4eadc;
  border: 1px solid #c3ccbb;
  border-radius: 3px;
  padding: 4px 5px;
  margin-left: auto;
  color: var(--base);
}
.balance-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0 7px;
}
.balance-strip > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.balance-strip strong {
  font-size: 16px;
  font-weight: normal;
  font-family: var(--mono);
}
.strip-divider {
  height: 28px;
  border-left: 1px solid var(--line);
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 8px;
}
.balance-strip > .text-button {
  margin-left: auto;
  line-height: 1.7;
  text-align: right;
  color: var(--green);
}
.screen-note {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.screen-bottom {
  padding: 8px 12px;
  border-top: 1px solid #c3cdb7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  min-height: 29px;
  gap: 10px;
}
.screen-bottom .status-light {
  width: 4px;
  height: 4px;
  margin-right: 3px;
}
.screen-bottom a {
  display: none;
  text-decoration: none;
  font-size: 8px;
  font-weight: bold;
}
.screen-bottom #live-status {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 75%;
}
.device-controls {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  padding: 17px 5px 8px;
}
.physical-button {
  border: 0;
  background: none;
  font-size: 7px;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-direction: column;
  color: #643d2b;
  padding: 0;
  min-width: 40px;
}
.button-icon {
  font-size: 21px;
  width: 40px;
  height: 30px;
  border: 1px solid #773f2c;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffe0ab;
  box-shadow:
    0 3px 0 #81462f,
    inset 0 2px 0 #fff2d6;
  transition:
    transform 0.12s,
    box-shadow 0.12s;
}
.physical-button.selected .button-icon {
  background: #517854;
  color: #f8eac7;
  box-shadow:
    0 3px 0 #365238,
    inset 0 1px 0 #81a077;
}
.physical-button:active .button-icon {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #81462f;
}
.bag-icon {
  background: #f0c388;
}
.device-bottom {
  padding: 6px 5px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 6px;
  letter-spacing: 0.5px;
  color: #75452e;
}
.speaker {
  font-size: 13px;
  letter-spacing: -4px;
  opacity: 0.6;
  padding-right: 4px;
}
.under-device {
  margin: 25px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.view-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.view-title h2 {
  font-family: var(--mono);
  font-size: 11px;
  margin: 0;
  font-weight: bold;
}
.view-hint {
  font-size: 9px;
  font-family: var(--mono);
  color: var(--muted);
  line-height: 1.5;
  margin: 7px 0;
}
.nft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}
.nft-card {
  display: block;
  background: #e5ead9;
  border: 1px solid #bbc5ac;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  min-width: 0;
}
.nft-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
.nft-art {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 25px;
  aspect-ratio: 1;
  background: #d3dcc4;
  color: #728565;
}
.nft-card strong,
.nft-card small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 5px 0;
  font-family: var(--mono);
  font-size: 8px;
}
.nft-card small {
  color: var(--muted);
  font-size: 7px;
  padding: 2px 5px 6px;
}
.footnote {
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0;
  margin-top: 7px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8px;
}
.small-button {
  border: 1px solid #a8b69b;
  background: #f8faec;
  padding: 5px 7px;
  border-radius: 3px;
  font-size: 8px;
  white-space: nowrap;
}
.mint-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
}
.mint {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  display: flex;
  gap: 7px;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
}
.chain-marker {
  color: var(--chain);
  font-size: 13px;
}
.mint > div {
  min-width: 0;
  flex: 1;
}
.mint strong {
  font-size: 9px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mint small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  margin-top: 4px;
}
.mint-price {
  font-size: 8px;
  color: var(--green);
  text-align: right;
}
.view-title select {
  background: #e7eddd;
  border: 1px solid #b5c2a8;
  padding: 4px;
  font-family: var(--mono);
  font-size: 8px;
  max-width: 125px;
  color: var(--ink);
}
.empty {
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  padding: 17px 5px;
  color: var(--muted);
  line-height: 1.7;
  grid-column: 1/-1;
}
.control-row {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}
.control-row strong {
  display: block;
  font-size: 9px;
  font-weight: bold;
}
.control-row span:not(.state-pill):not(.chain-dots) {
  display: block;
  font-size: 7px;
  line-height: 1.6;
  margin-top: 4px;
  color: var(--muted);
}
.state-pill {
  font-size: 7px;
  background: #dfe5d6;
  padding: 4px 7px;
  border-radius: 4px;
}
.chain-dots {
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  color: #47765a;
}
.control-disclosure {
  font-size: 8px;
  font-family: var(--mono);
  line-height: 1.7;
  color: var(--muted);
}
.site-footer {
  max-width: 1400px;
  margin: auto;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-top: 1px solid #c9cebc;
}
.site-footer a {
  white-space: nowrap;
  text-decoration: none;
}
.toast {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  border: 1px solid #91a181;
  border-radius: 8px;
  padding: 13px 19px;
  font-size: 12px;
  max-width: min(92vw, 550px);
  width: max-content;
  line-height: 1.6;
  box-shadow: 0 5px 0 #182c2320;
}
.device.compact .scene {
  display: none;
}
.device.compact .view {
  padding-top: 13px;
}
.device.compact .screen-content {
  min-height: 240px;
}
body.embedded {
  background: none;
  overflow: hidden;
}
body.embedded .site-header,
body.embedded .intro,
body.embedded .site-footer,
body.embedded .under-device {
  display: none;
}
body.embedded .workbench {
  display: block;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
body.embedded .device-stage {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
}
body.embedded .device {
  max-width: none;
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
  aspect-ratio: 1;
  border-radius: 25px;
  padding: 0 4%;
  box-shadow:
    inset 0 3px 0 #ffd5a4,
    inset 0 -5px 0 #b76640;
}
body.embedded .screen-bottom a {
  display: block;
}
body.embedded #refresh {
  display: none;
}
body.embedded .scene canvas {
  aspect-ratio: 240/108;
}
body.embedded .bezel-top {
  padding-top: 18px;
  padding-bottom: 11px;
}
body.embedded .device-controls {
  padding-top: 12px;
}
body.embedded .device-bottom {
  padding-bottom: 9px;
}
body.embedded .device.compact .screen-content {
  min-height: 0;
}
.chain-dots i {
  font-style: normal;
}
.chain-base {
  color: var(--base);
}
.chain-eth {
  color: var(--eth);
}
.chain-ape {
  color: var(--ape);
}
.chain-rh {
  color: var(--rh);
  -webkit-text-stroke: 0.5px #72962e;
}
@media (min-width: 1500px) {
  .workbench {
    margin-top: 70px;
    margin-bottom: 85px;
    max-width: 1350px;
  }
  .device {
    max-width: 560px;
  }
}
@media (max-width: 900px) {
  .workbench {
    gap: 30px;
    padding: 0 5%;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .edition {
    display: none;
  }
  h1 {
    font-size: 54px;
  }
  .device {
    padding: 0 15px;
  }
  .serial {
    font-size: 7px;
  }
  .bezel-top {
    letter-spacing: 1px;
  }
  .device-controls {
    padding-top: 12px;
  }
  .screen-note {
    font-size: 7px;
  }
  .device-bottom {
    font-size: 5px;
  }
  .under-device {
    font-size: 6px;
  }
  .view {
    padding: 9px 10px;
  }
  .scene canvas {
    aspect-ratio: 240/140;
  }
  .screen-header {
    font-size: 10px;
  }
  #view-mode {
    font-size: 6px;
  }
}
@media (max-width: 650px) {
  .site-header {
    padding: 20px 6%;
  }
  .connect {
    font-size: 9px;
    padding: 10px;
  }
  .wordmark {
    font-size: 26px;
  }
  .workbench {
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding: 0 6%;
    margin: 15px auto 35px;
    max-width: 550px;
  }
  .intro {
    width: 100%;
  }
  .eyebrow {
    font-size: 8px;
    margin-top: 0;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2px;
    line-height: 1;
    margin: 15px 0;
  }
  h1 br {
    display: none;
  }
  h1 br:after {
    content: " ";
  }
  h1 span {
    display: block;
  }
  .intro-copy {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  .intro-copy br {
    display: none;
  }
  .lookup {
    margin-top: 14px;
  }
  .lookup-input {
    width: 100%;
  }
  .lookup label {
    font-size: 8px;
  }
  .small-note {
    margin-top: 10px;
    font-size: 8px;
  }
  .small-note br {
    display: none;
  }
  .note-symbol {
    font-size: 20px;
  }
  .device-stage {
    width: 100%;
  }
  .device {
    max-width: 460px;
    aspect-ratio: 1/1.18;
    padding: 0 18px;
  }
  .bezel-top {
    padding-top: 20px;
  }
  .device-controls {
    padding-top: 18px;
  }
  .device-bottom {
    font-size: 6px;
    padding-top: 9px;
  }
  .under-device {
    font-size: 6px;
  }
  .site-footer {
    font-size: 7px;
    flex-wrap: wrap;
    padding: 17px 6%;
    gap: 12px;
  }
  .site-footer > span:nth-child(2) {
    display: none;
  }
  .scene canvas {
    aspect-ratio: 240/130;
  }
  .screen-header {
    font-size: 11px;
  }
  #view-mode {
    font-size: 7px;
  }
  .screen-note {
    font-size: 8px;
  }
  .device.compact .screen-content {
    min-height: 260px;
  }
}
#portrait {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border: 1px solid #a8b69b;
  border-radius: 3px;
}
.screen-header {
  font-size: 13px;
}
#view-mode {
  font-size: 9px;
}
.scene-label {
  font-size: 9px;
}
.micro {
  font-size: 9px;
}
.address {
  font-size: 12px;
}
.chain-pill {
  font-size: 9px;
}
.screen-note {
  font-size: 10px;
}
.screen-bottom {
  font-size: 9px;
}
.screen-bottom a,
.screen-bottom .text-button {
  font-size: 10px;
}
.physical-button {
  font-size: 9px;
}
.view-title h2 {
  font-size: 13px;
}
.view-title select {
  font-size: 10px;
}
.view-hint {
  font-size: 10px;
}
.nft-card strong {
  font-size: 10px;
}
.nft-card small {
  font-size: 9px;
}
.footnote {
  font-size: 9px;
}
.small-button {
  font-size: 10px;
}
.mint strong {
  font-size: 11px;
}
.mint small {
  font-size: 9px;
}
.mint-price {
  font-size: 10px;
}
.control-row strong {
  font-size: 11px;
}
.control-row span:not(.state-pill):not(.chain-dots) {
  font-size: 9px;
}
.state-pill {
  font-size: 9px;
}
.control-disclosure {
  font-size: 10px;
}
.balance-strip > .text-button {
  font-size: 9px;
}
@media (max-width: 650px) {
  body:not(.embedded) .device {
    aspect-ratio: 1/1.55;
  }
  body:not(.embedded) .scene canvas {
    aspect-ratio: 240/115;
  }
  .screen-header {
    font-size: 11px;
  }
  #view-mode {
    font-size: 8px;
  }
  .screen-note {
    font-size: 9px;
  }
  .scene-label {
    font-size: 8px;
  }
  .screen-bottom,
  .screen-bottom a,
  .screen-bottom .text-button {
    font-size: 8px;
  }
  .chain-pill {
    font-size: 8px;
  }
  .screen-header {
    padding: 10px;
  }
  .address {
    font-size: 11px;
  }
  .balance-strip {
    gap: 12px;
  }
  .device-bottom {
    font-size: 6px;
  }
}
@media (max-width: 480px), (max-height: 480px) {
  body.embedded .bezel-top {
    padding-top: 15px;
    padding-bottom: 9px;
  }
  body.embedded .device {
    padding: 0 4%;
  }
  body.embedded .scene {
    height: 26vh;
    max-height: 150px;
  }
  body.embedded .scene canvas {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  body.embedded .screen-note {
    display: none;
  }
  body.embedded .device-controls {
    padding-top: 11px;
    padding-bottom: 4px;
  }
  body.embedded .device-bottom {
    font-size: 5px;
    padding-bottom: 7px;
  }
  body.embedded .screen-bottom {
    padding: 6px 8px;
    min-height: 25px;
  }
  body.embedded .balance-strip {
    padding: 8px 0;
  }
  body.embedded .view {
    padding: 8px 10px;
  }
  body.embedded .micro {
    font-size: 8px;
  }
  body.embedded .device.compact .scene {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.device:not(.compact) .scene {
  flex: 1 1 0;
  min-height: 85px;
  max-height: none;
  height: auto;
}
.device:not(.compact) .scene canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  aspect-ratio: auto;
}
.device:not(.compact) .screen-content {
  flex: 0 0 auto;
  overflow: visible;
}
.device.compact .screen-content {
  flex: 1;
  min-height: 0;
}
@media (max-width: 480px), (max-height: 480px) {
  body.embedded .device:not(.compact) .scene {
    min-height: 55px;
  }
}

/* Keep the two funding destinations distinct without hiding either address. */
.nft-funding-guide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:8px 0 12px; }
.nft-funding-card { display:grid; gap:5px; padding:9px; border:1px solid var(--ink,#12345a); border-radius:9px; background:#fff3ce; min-width:0; }
.nft-funding-card + .nft-funding-card { background:#e2f2ff; }
.nft-funding-card strong { font-size:.85rem; }
.nft-funding-card small { font-size:.78rem; line-height:1.3; }
.nft-funding-card .funding-address { font-size:.7rem; overflow-wrap:anywhere; user-select:all; }
body .device .nft-funding-card .funding-copy { justify-self:start; padding:3px 6px; min-height:28px; min-width:0; max-width:100%; margin:0; font-size:11px; white-space:normal; }
.nft-setup-warning { padding:10px; border:2px solid #bd402c; border-radius:8px; color:#802314; background:#fff0df; font-weight:700; }
body .device #nft-mint-toggle.setup-action { width:auto; min-width:110px; padding:9px 12px; background:#67e393; border:1px solid #26764d; border-radius:7px; }
.mint-switch.setup-action .mint-switch-track { display:none; }
