:root {
  color-scheme: dark;
  font-family: Inter,ui-sans-serif,system-ui,sans-serif;
  background: #020617;
  color: #e2e8f0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,input,select {
  font: inherit;
}
button,a {
  cursor: pointer;
}
a {
  color: #67e8f9;
  text-decoration: none;
}
.header {
  height: 64px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  font-size: .75rem;
  letter-spacing: .14em;
  color: #64748b;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 48px 5% 90px;
}
.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.intro p {
  max-width: 670px;
  color: #94a3b8;
  line-height: 1.6;
}
h1 {
  font-size: clamp(2.7rem,6vw,4.7rem);
  margin: .1em 0;
  letter-spacing: -.05em;
  color: white;
}
h1 span {
  color: #22d3ee;
}
.eyebrow {
  font-size: .7rem;
  letter-spacing: .2em;
  color: #67e8f9!important;
  font-weight: 700;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(290px,.8fr);
  gap: 28px;
}
.notice {
  border: 1px solid #164e63;
  background: #08334466;
  color: #a5f3fc;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: .85rem;
  line-height: 1.5;
}
.slot,.preview-panel {
  background: #0f172a;
  border: 1px solid #263449;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.slot-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.slot h2,.preview-panel h2 {
  color: #f8fafc;
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.muted {
  color: #94a3b8;
  font-size: .8rem;
  margin: 0 0 14px;
}
.slot-status {
  color: #67e8f9;
  font-size: .8rem;
  text-align: right;
}
.slot-status.error {
  color: #fda4af;
}
.drop {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px dashed #475569;
  border-radius: 10px;
  background: #02061788;
  color: #e2e8f0;
  text-align: center;
  padding: 15px;
  cursor: pointer;
}
.drop span {
  font-size: .78rem;
  color: #94a3b8;
}
.drop:hover,.drop.dragging,.drop:focus-visible {
  border-color: #22d3ee;
  background: #08334455;
}
.url-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.url-row input {
  min-width: 0;
  flex: 1;
}
.url-row input,.options input[type=number],select {
  background: #020617;
  border: 1px solid #334155;
  border-radius: 7px;
  color: #e2e8f0;
  padding: 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px 14px;
  background: #1e293b;
  color: #e2e8f0;
  font-weight: 600;
  font-size: .8rem;
  white-space: nowrap;
}
.button:hover {
  border-color: #22d3ee;
  color: white;
}
.button.primary {
  background: #22d3ee;
  color: #082f49;
  border-color: #22d3ee;
  padding: 14px 20px;
}
.button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.options {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 15px;
  color: #cbd5e1;
  font-size: .8rem;
}
.options label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.options input[type=number] {
  width: 60px;
  padding: 6px;
}
.options input[type=checkbox] {
  accent-color: #06b6d4;
}
.results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.results:empty {
  display: none;
}
.result {
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.checker {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background-color: #cbd5e1;
  background-image: linear-gradient(45deg,#94a3b8 25%,transparent 25%),linear-gradient(-45deg,#94a3b8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#94a3b8 75%),linear-gradient(-45deg,transparent 75%,#94a3b8 75%);
  background-size: 20px 20px;
  background-position: 0 0,0 10px,10px -10px,-10px 0;
}
.checker img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.result p {
  font-size: .72rem;
  color: #cbd5e1;
  overflow-wrap: anywhere;
}
.download {
  width: 100%;
}
aside {
  position: relative;
}
.preview-panel {
  position: sticky;
  top: 24px;
}
.wallet {
  --foreground: #fff;
  --label: #94a3b8;
  background: #26344b center/cover no-repeat;
  color: var(--foreground);
  border-radius: 20px;
  aspect-ratio: 1/1.28;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px #0007;
  overflow: hidden;
}
.wallet-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
}
.wallet-top img {
  max-height: 45px;
  max-width: 65%;
  object-fit: contain;
  object-position: left;
}
.wallet-top #mock-icon {
  margin-left: auto;
  max-width: 45px;
}
.wallet-top span {
  font-size: .7rem;
  letter-spacing: .15em;
}
.wallet-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wallet-body strong {
  font-size: 1.8rem;
}
.wallet-label {
  color: var(--label);
  font-size: .65rem;
  letter-spacing: .15em;
  margin-top: 12px;
}
.barcode {
  height: 55px;
  width: 75%;
  margin: 0 auto;
  background: repeating-linear-gradient(90deg,#0f172a 0 2px,#fff 2px 4px,#0f172a 4px 5px,#fff 5px 8px);
  border: 8px solid white;
}
.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.colors label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: .8rem;
}
.colors input {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
}
@media(max-width:850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    grid-row: 1;
  }
  .preview-panel {
    position: static;
  }
  .wallet {
    max-width: 330px;
    margin: auto;
  }
  .intro {
    align-items: start;
    flex-direction: column;
  }
}
@media(max-width:480px) {
  main {
    padding: 30px 16px;
  }
  .header {
    padding: 0 16px;
  }
  .header span {
    font-size: .6rem;
  }
  .url-row {
    flex-direction: column;
  }
  .results {
    grid-template-columns: 1fr;
  }
}
[hidden] {
  display: none!important;
}
